@wix/auto_sdk_stores_customizations-v-3 1.0.74 → 1.0.76
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.js +152 -27
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +141 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +34 -1
- package/build/cjs/meta.js +64 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +972 -0
- package/build/cjs/schemas.js +1597 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.mjs +152 -27
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +141 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +34 -1
- package/build/es/meta.mjs +64 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +972 -0
- package/build/es/schemas.mjs +1539 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.js +152 -27
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -0
- package/build/internal/cjs/index.typings.js +141 -24
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +34 -1
- package/build/internal/cjs/meta.js +64 -4
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +972 -0
- package/build/internal/cjs/schemas.js +1597 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.mjs +152 -27
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -0
- package/build/internal/es/index.typings.mjs +141 -24
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +34 -1
- package/build/internal/es/meta.mjs +64 -4
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +972 -0
- package/build/internal/es/schemas.mjs +1539 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +11 -4
- package/schemas/package.json +3 -0
|
@@ -201,6 +201,11 @@ interface Choice extends ChoiceValueOneOf {
|
|
|
201
201
|
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
202
202
|
*/
|
|
203
203
|
defaultAddedPrice?: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* Image to display alongside the choice.
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
displayImage?: string;
|
|
204
209
|
/**
|
|
205
210
|
* IDs of primary choices that this choice is grouped under for storefront filtering.
|
|
206
211
|
* A choice with `primaryChoiceIds` is considered a "linked" choice.
|
|
@@ -77,6 +77,9 @@ function createCustomization(payload) {
|
|
|
77
77
|
{ path: "customization.updatedDate" },
|
|
78
78
|
{
|
|
79
79
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
80
83
|
}
|
|
81
84
|
]
|
|
82
85
|
},
|
|
@@ -110,6 +113,9 @@ function createCustomization(payload) {
|
|
|
110
113
|
{ path: "customization.updatedDate" },
|
|
111
114
|
{
|
|
112
115
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
113
119
|
}
|
|
114
120
|
]
|
|
115
121
|
},
|
|
@@ -154,6 +160,9 @@ function getCustomization(payload) {
|
|
|
154
160
|
{ path: "customization.updatedDate" },
|
|
155
161
|
{
|
|
156
162
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
157
166
|
}
|
|
158
167
|
]
|
|
159
168
|
},
|
|
@@ -188,6 +197,9 @@ function updateCustomization(payload) {
|
|
|
188
197
|
{ path: "customization.updatedDate" },
|
|
189
198
|
{
|
|
190
199
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
191
203
|
}
|
|
192
204
|
]
|
|
193
205
|
},
|
|
@@ -221,6 +233,9 @@ function updateCustomization(payload) {
|
|
|
221
233
|
{ path: "customization.updatedDate" },
|
|
222
234
|
{
|
|
223
235
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
224
239
|
}
|
|
225
240
|
]
|
|
226
241
|
},
|
|
@@ -286,6 +301,9 @@ function queryCustomizations(payload) {
|
|
|
286
301
|
{ path: "customizations.updatedDate" },
|
|
287
302
|
{
|
|
288
303
|
path: "customizations.choicesSettings.choices.image.urlExpirationDate"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
289
307
|
}
|
|
290
308
|
]
|
|
291
309
|
},
|
|
@@ -327,6 +345,9 @@ function bulkCreateCustomizations(payload) {
|
|
|
327
345
|
{ path: "customizations.updatedDate" },
|
|
328
346
|
{
|
|
329
347
|
path: "customizations.choicesSettings.choices.image.urlExpirationDate"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
330
351
|
}
|
|
331
352
|
]
|
|
332
353
|
},
|
|
@@ -360,6 +381,9 @@ function bulkCreateCustomizations(payload) {
|
|
|
360
381
|
{ path: "results.customization.updatedDate" },
|
|
361
382
|
{
|
|
362
383
|
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
363
387
|
}
|
|
364
388
|
]
|
|
365
389
|
},
|
|
@@ -385,7 +409,10 @@ function addCustomizationChoices(payload) {
|
|
|
385
409
|
const serializedData = transformPaths(payload, [
|
|
386
410
|
{
|
|
387
411
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
388
|
-
paths: [
|
|
412
|
+
paths: [
|
|
413
|
+
{ path: "choices.image.urlExpirationDate" },
|
|
414
|
+
{ path: "choices.displayImage.urlExpirationDate" }
|
|
415
|
+
]
|
|
389
416
|
},
|
|
390
417
|
{
|
|
391
418
|
transformFn: transformSDKFloatToRESTFloat,
|
|
@@ -417,6 +444,9 @@ function addCustomizationChoices(payload) {
|
|
|
417
444
|
{ path: "customization.updatedDate" },
|
|
418
445
|
{
|
|
419
446
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
420
450
|
}
|
|
421
451
|
]
|
|
422
452
|
},
|
|
@@ -442,7 +472,10 @@ function setCustomizationChoices(payload) {
|
|
|
442
472
|
const serializedData = transformPaths(payload, [
|
|
443
473
|
{
|
|
444
474
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
445
|
-
paths: [
|
|
475
|
+
paths: [
|
|
476
|
+
{ path: "choices.image.urlExpirationDate" },
|
|
477
|
+
{ path: "choices.displayImage.urlExpirationDate" }
|
|
478
|
+
]
|
|
446
479
|
},
|
|
447
480
|
{
|
|
448
481
|
transformFn: transformSDKFloatToRESTFloat,
|
|
@@ -474,6 +507,9 @@ function setCustomizationChoices(payload) {
|
|
|
474
507
|
{ path: "customization.updatedDate" },
|
|
475
508
|
{
|
|
476
509
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
477
513
|
}
|
|
478
514
|
]
|
|
479
515
|
},
|
|
@@ -518,6 +554,9 @@ function removeCustomizationChoices(payload) {
|
|
|
518
554
|
{ path: "customization.updatedDate" },
|
|
519
555
|
{
|
|
520
556
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
521
560
|
}
|
|
522
561
|
]
|
|
523
562
|
},
|
|
@@ -547,7 +586,10 @@ function updateCustomizationChoices(payload) {
|
|
|
547
586
|
},
|
|
548
587
|
{
|
|
549
588
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
550
|
-
paths: [
|
|
589
|
+
paths: [
|
|
590
|
+
{ path: "choices.choice.image.urlExpirationDate" },
|
|
591
|
+
{ path: "choices.choice.displayImage.urlExpirationDate" }
|
|
592
|
+
]
|
|
551
593
|
},
|
|
552
594
|
{
|
|
553
595
|
transformFn: transformSDKFloatToRESTFloat,
|
|
@@ -579,6 +621,9 @@ function updateCustomizationChoices(payload) {
|
|
|
579
621
|
{ path: "customization.updatedDate" },
|
|
580
622
|
{
|
|
581
623
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
582
627
|
}
|
|
583
628
|
]
|
|
584
629
|
},
|
|
@@ -623,6 +668,9 @@ function reorderCustomizationChoices(payload) {
|
|
|
623
668
|
{ path: "customization.updatedDate" },
|
|
624
669
|
{
|
|
625
670
|
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
626
674
|
}
|
|
627
675
|
]
|
|
628
676
|
},
|
|
@@ -649,7 +697,10 @@ function bulkAddCustomizationChoices(payload) {
|
|
|
649
697
|
{
|
|
650
698
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
651
699
|
paths: [
|
|
652
|
-
{ path: "customizationsChoices.choices.image.urlExpirationDate" }
|
|
700
|
+
{ path: "customizationsChoices.choices.image.urlExpirationDate" },
|
|
701
|
+
{
|
|
702
|
+
path: "customizationsChoices.choices.displayImage.urlExpirationDate"
|
|
703
|
+
}
|
|
653
704
|
]
|
|
654
705
|
},
|
|
655
706
|
{
|
|
@@ -682,6 +733,9 @@ function bulkAddCustomizationChoices(payload) {
|
|
|
682
733
|
{ path: "results.customization.updatedDate" },
|
|
683
734
|
{
|
|
684
735
|
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
685
739
|
}
|
|
686
740
|
]
|
|
687
741
|
},
|
|
@@ -716,6 +770,9 @@ function bulkUpdateCustomizations(payload) {
|
|
|
716
770
|
{ path: "customizations.customization.updatedDate" },
|
|
717
771
|
{
|
|
718
772
|
path: "customizations.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
path: "customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
719
776
|
}
|
|
720
777
|
]
|
|
721
778
|
},
|
|
@@ -753,6 +810,9 @@ function bulkUpdateCustomizations(payload) {
|
|
|
753
810
|
{ path: "results.customization.updatedDate" },
|
|
754
811
|
{
|
|
755
812
|
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
756
816
|
}
|
|
757
817
|
]
|
|
758
818
|
},
|
|
@@ -826,7 +886,10 @@ async function createCustomization2(customization) {
|
|
|
826
886
|
[
|
|
827
887
|
{
|
|
828
888
|
transformFn: transformSDKImageToRESTImage,
|
|
829
|
-
paths: [
|
|
889
|
+
paths: [
|
|
890
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
891
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
892
|
+
]
|
|
830
893
|
}
|
|
831
894
|
]
|
|
832
895
|
);
|
|
@@ -839,7 +902,10 @@ async function createCustomization2(customization) {
|
|
|
839
902
|
transformPaths2(result.data, [
|
|
840
903
|
{
|
|
841
904
|
transformFn: transformRESTImageToSDKImage,
|
|
842
|
-
paths: [
|
|
905
|
+
paths: [
|
|
906
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
907
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
908
|
+
]
|
|
843
909
|
}
|
|
844
910
|
])
|
|
845
911
|
)?.customization;
|
|
@@ -872,7 +938,10 @@ async function getCustomization2(customizationId, options) {
|
|
|
872
938
|
transformPaths2(result.data, [
|
|
873
939
|
{
|
|
874
940
|
transformFn: transformRESTImageToSDKImage,
|
|
875
|
-
paths: [
|
|
941
|
+
paths: [
|
|
942
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
943
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
944
|
+
]
|
|
876
945
|
}
|
|
877
946
|
])
|
|
878
947
|
)?.customization;
|
|
@@ -903,7 +972,10 @@ async function updateCustomization2(_id, customization, options) {
|
|
|
903
972
|
[
|
|
904
973
|
{
|
|
905
974
|
transformFn: transformSDKImageToRESTImage,
|
|
906
|
-
paths: [
|
|
975
|
+
paths: [
|
|
976
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
977
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
978
|
+
]
|
|
907
979
|
}
|
|
908
980
|
]
|
|
909
981
|
);
|
|
@@ -916,7 +988,10 @@ async function updateCustomization2(_id, customization, options) {
|
|
|
916
988
|
transformPaths2(result.data, [
|
|
917
989
|
{
|
|
918
990
|
transformFn: transformRESTImageToSDKImage,
|
|
919
|
-
paths: [
|
|
991
|
+
paths: [
|
|
992
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
993
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
994
|
+
]
|
|
920
995
|
}
|
|
921
996
|
])
|
|
922
997
|
)?.customization;
|
|
@@ -994,7 +1069,10 @@ function queryCustomizations2(options) {
|
|
|
994
1069
|
transformPaths2(data, [
|
|
995
1070
|
{
|
|
996
1071
|
transformFn: transformRESTImageToSDKImage,
|
|
997
|
-
paths: [
|
|
1072
|
+
paths: [
|
|
1073
|
+
{ path: "customizations.choicesSettings.choices.image" },
|
|
1074
|
+
{ path: "customizations.choicesSettings.choices.displayImage" }
|
|
1075
|
+
]
|
|
998
1076
|
}
|
|
999
1077
|
])
|
|
1000
1078
|
);
|
|
@@ -1030,7 +1108,10 @@ async function typedQueryCustomizations(query, options) {
|
|
|
1030
1108
|
transformPaths2(result.data, [
|
|
1031
1109
|
{
|
|
1032
1110
|
transformFn: transformRESTImageToSDKImage,
|
|
1033
|
-
paths: [
|
|
1111
|
+
paths: [
|
|
1112
|
+
{ path: "customizations.choicesSettings.choices.image" },
|
|
1113
|
+
{ path: "customizations.choicesSettings.choices.displayImage" }
|
|
1114
|
+
]
|
|
1034
1115
|
}
|
|
1035
1116
|
])
|
|
1036
1117
|
);
|
|
@@ -1063,7 +1144,10 @@ async function bulkCreateCustomizations2(customizations, options) {
|
|
|
1063
1144
|
[
|
|
1064
1145
|
{
|
|
1065
1146
|
transformFn: transformSDKImageToRESTImage,
|
|
1066
|
-
paths: [
|
|
1147
|
+
paths: [
|
|
1148
|
+
{ path: "customizations.choicesSettings.choices.image" },
|
|
1149
|
+
{ path: "customizations.choicesSettings.choices.displayImage" }
|
|
1150
|
+
]
|
|
1067
1151
|
}
|
|
1068
1152
|
]
|
|
1069
1153
|
);
|
|
@@ -1077,7 +1161,10 @@ async function bulkCreateCustomizations2(customizations, options) {
|
|
|
1077
1161
|
{
|
|
1078
1162
|
transformFn: transformRESTImageToSDKImage,
|
|
1079
1163
|
paths: [
|
|
1080
|
-
{ path: "results.customization.choicesSettings.choices.image" }
|
|
1164
|
+
{ path: "results.customization.choicesSettings.choices.image" },
|
|
1165
|
+
{
|
|
1166
|
+
path: "results.customization.choicesSettings.choices.displayImage"
|
|
1167
|
+
}
|
|
1081
1168
|
]
|
|
1082
1169
|
}
|
|
1083
1170
|
])
|
|
@@ -1110,7 +1197,7 @@ async function addCustomizationChoices2(customizationId, choices, options) {
|
|
|
1110
1197
|
[
|
|
1111
1198
|
{
|
|
1112
1199
|
transformFn: transformSDKImageToRESTImage,
|
|
1113
|
-
paths: [{ path: "choices.image" }]
|
|
1200
|
+
paths: [{ path: "choices.image" }, { path: "choices.displayImage" }]
|
|
1114
1201
|
}
|
|
1115
1202
|
]
|
|
1116
1203
|
);
|
|
@@ -1123,7 +1210,10 @@ async function addCustomizationChoices2(customizationId, choices, options) {
|
|
|
1123
1210
|
transformPaths2(result.data, [
|
|
1124
1211
|
{
|
|
1125
1212
|
transformFn: transformRESTImageToSDKImage,
|
|
1126
|
-
paths: [
|
|
1213
|
+
paths: [
|
|
1214
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
1215
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
1216
|
+
]
|
|
1127
1217
|
}
|
|
1128
1218
|
])
|
|
1129
1219
|
);
|
|
@@ -1156,7 +1246,7 @@ async function setCustomizationChoices2(customizationId, choices, options) {
|
|
|
1156
1246
|
[
|
|
1157
1247
|
{
|
|
1158
1248
|
transformFn: transformSDKImageToRESTImage,
|
|
1159
|
-
paths: [{ path: "choices.image" }]
|
|
1249
|
+
paths: [{ path: "choices.image" }, { path: "choices.displayImage" }]
|
|
1160
1250
|
}
|
|
1161
1251
|
]
|
|
1162
1252
|
);
|
|
@@ -1169,7 +1259,10 @@ async function setCustomizationChoices2(customizationId, choices, options) {
|
|
|
1169
1259
|
transformPaths2(result.data, [
|
|
1170
1260
|
{
|
|
1171
1261
|
transformFn: transformRESTImageToSDKImage,
|
|
1172
|
-
paths: [
|
|
1262
|
+
paths: [
|
|
1263
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
1264
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
1265
|
+
]
|
|
1173
1266
|
}
|
|
1174
1267
|
])
|
|
1175
1268
|
);
|
|
@@ -1210,7 +1303,10 @@ async function removeCustomizationChoices2(customizationId, choiceIds, options)
|
|
|
1210
1303
|
transformPaths2(result.data, [
|
|
1211
1304
|
{
|
|
1212
1305
|
transformFn: transformRESTImageToSDKImage,
|
|
1213
|
-
paths: [
|
|
1306
|
+
paths: [
|
|
1307
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
1308
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
1309
|
+
]
|
|
1214
1310
|
}
|
|
1215
1311
|
])
|
|
1216
1312
|
);
|
|
@@ -1245,7 +1341,10 @@ async function updateCustomizationChoices2(customizationId, revision, options) {
|
|
|
1245
1341
|
[
|
|
1246
1342
|
{
|
|
1247
1343
|
transformFn: transformSDKImageToRESTImage,
|
|
1248
|
-
paths: [
|
|
1344
|
+
paths: [
|
|
1345
|
+
{ path: "choices.choice.image" },
|
|
1346
|
+
{ path: "choices.choice.displayImage" }
|
|
1347
|
+
]
|
|
1249
1348
|
}
|
|
1250
1349
|
]
|
|
1251
1350
|
);
|
|
@@ -1260,7 +1359,10 @@ async function updateCustomizationChoices2(customizationId, revision, options) {
|
|
|
1260
1359
|
transformPaths2(result.data, [
|
|
1261
1360
|
{
|
|
1262
1361
|
transformFn: transformRESTImageToSDKImage,
|
|
1263
|
-
paths: [
|
|
1362
|
+
paths: [
|
|
1363
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
1364
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
1365
|
+
]
|
|
1264
1366
|
}
|
|
1265
1367
|
])
|
|
1266
1368
|
);
|
|
@@ -1302,7 +1404,10 @@ async function reorderCustomizationChoices2(customizationId, revision, options)
|
|
|
1302
1404
|
transformPaths2(result.data, [
|
|
1303
1405
|
{
|
|
1304
1406
|
transformFn: transformRESTImageToSDKImage,
|
|
1305
|
-
paths: [
|
|
1407
|
+
paths: [
|
|
1408
|
+
{ path: "customization.choicesSettings.choices.image" },
|
|
1409
|
+
{ path: "customization.choicesSettings.choices.displayImage" }
|
|
1410
|
+
]
|
|
1306
1411
|
}
|
|
1307
1412
|
])
|
|
1308
1413
|
);
|
|
@@ -1336,7 +1441,10 @@ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
|
|
|
1336
1441
|
[
|
|
1337
1442
|
{
|
|
1338
1443
|
transformFn: transformSDKImageToRESTImage,
|
|
1339
|
-
paths: [
|
|
1444
|
+
paths: [
|
|
1445
|
+
{ path: "customizationsChoices.choices.image" },
|
|
1446
|
+
{ path: "customizationsChoices.choices.displayImage" }
|
|
1447
|
+
]
|
|
1340
1448
|
}
|
|
1341
1449
|
]
|
|
1342
1450
|
);
|
|
@@ -1352,7 +1460,10 @@ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
|
|
|
1352
1460
|
{
|
|
1353
1461
|
transformFn: transformRESTImageToSDKImage,
|
|
1354
1462
|
paths: [
|
|
1355
|
-
{ path: "results.customization.choicesSettings.choices.image" }
|
|
1463
|
+
{ path: "results.customization.choicesSettings.choices.image" },
|
|
1464
|
+
{
|
|
1465
|
+
path: "results.customization.choicesSettings.choices.displayImage"
|
|
1466
|
+
}
|
|
1356
1467
|
]
|
|
1357
1468
|
}
|
|
1358
1469
|
])
|
|
@@ -1389,6 +1500,9 @@ async function bulkUpdateCustomizations2(customizations, options) {
|
|
|
1389
1500
|
paths: [
|
|
1390
1501
|
{
|
|
1391
1502
|
path: "customizations.customization.choicesSettings.choices.image"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
path: "customizations.customization.choicesSettings.choices.displayImage"
|
|
1392
1506
|
}
|
|
1393
1507
|
]
|
|
1394
1508
|
}
|
|
@@ -1404,7 +1518,10 @@ async function bulkUpdateCustomizations2(customizations, options) {
|
|
|
1404
1518
|
{
|
|
1405
1519
|
transformFn: transformRESTImageToSDKImage,
|
|
1406
1520
|
paths: [
|
|
1407
|
-
{ path: "results.customization.choicesSettings.choices.image" }
|
|
1521
|
+
{ path: "results.customization.choicesSettings.choices.image" },
|
|
1522
|
+
{
|
|
1523
|
+
path: "results.customization.choicesSettings.choices.displayImage"
|
|
1524
|
+
}
|
|
1408
1525
|
]
|
|
1409
1526
|
}
|
|
1410
1527
|
])
|