@wix/auto_sdk_stores_customizations-v-3 1.0.75 → 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.
@@ -84,6 +84,9 @@ function createCustomization(payload) {
84
84
  { path: "customization.updatedDate" },
85
85
  {
86
86
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
87
+ },
88
+ {
89
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
87
90
  }
88
91
  ]
89
92
  },
@@ -117,6 +120,9 @@ function createCustomization(payload) {
117
120
  { path: "customization.updatedDate" },
118
121
  {
119
122
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
123
+ },
124
+ {
125
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
120
126
  }
121
127
  ]
122
128
  },
@@ -161,6 +167,9 @@ function getCustomization(payload) {
161
167
  { path: "customization.updatedDate" },
162
168
  {
163
169
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
170
+ },
171
+ {
172
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
164
173
  }
165
174
  ]
166
175
  },
@@ -195,6 +204,9 @@ function updateCustomization(payload) {
195
204
  { path: "customization.updatedDate" },
196
205
  {
197
206
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
207
+ },
208
+ {
209
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
198
210
  }
199
211
  ]
200
212
  },
@@ -228,6 +240,9 @@ function updateCustomization(payload) {
228
240
  { path: "customization.updatedDate" },
229
241
  {
230
242
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
243
+ },
244
+ {
245
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
231
246
  }
232
247
  ]
233
248
  },
@@ -293,6 +308,9 @@ function queryCustomizations(payload) {
293
308
  { path: "customizations.updatedDate" },
294
309
  {
295
310
  path: "customizations.choicesSettings.choices.image.urlExpirationDate"
311
+ },
312
+ {
313
+ path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
296
314
  }
297
315
  ]
298
316
  },
@@ -334,6 +352,9 @@ function bulkCreateCustomizations(payload) {
334
352
  { path: "customizations.updatedDate" },
335
353
  {
336
354
  path: "customizations.choicesSettings.choices.image.urlExpirationDate"
355
+ },
356
+ {
357
+ path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
337
358
  }
338
359
  ]
339
360
  },
@@ -367,6 +388,9 @@ function bulkCreateCustomizations(payload) {
367
388
  { path: "results.customization.updatedDate" },
368
389
  {
369
390
  path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
391
+ },
392
+ {
393
+ path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
370
394
  }
371
395
  ]
372
396
  },
@@ -392,7 +416,10 @@ function addCustomizationChoices(payload) {
392
416
  const serializedData = transformPaths(payload, [
393
417
  {
394
418
  transformFn: transformSDKTimestampToRESTTimestamp,
395
- paths: [{ path: "choices.image.urlExpirationDate" }]
419
+ paths: [
420
+ { path: "choices.image.urlExpirationDate" },
421
+ { path: "choices.displayImage.urlExpirationDate" }
422
+ ]
396
423
  },
397
424
  {
398
425
  transformFn: transformSDKFloatToRESTFloat,
@@ -424,6 +451,9 @@ function addCustomizationChoices(payload) {
424
451
  { path: "customization.updatedDate" },
425
452
  {
426
453
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
454
+ },
455
+ {
456
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
427
457
  }
428
458
  ]
429
459
  },
@@ -449,7 +479,10 @@ function setCustomizationChoices(payload) {
449
479
  const serializedData = transformPaths(payload, [
450
480
  {
451
481
  transformFn: transformSDKTimestampToRESTTimestamp,
452
- paths: [{ path: "choices.image.urlExpirationDate" }]
482
+ paths: [
483
+ { path: "choices.image.urlExpirationDate" },
484
+ { path: "choices.displayImage.urlExpirationDate" }
485
+ ]
453
486
  },
454
487
  {
455
488
  transformFn: transformSDKFloatToRESTFloat,
@@ -481,6 +514,9 @@ function setCustomizationChoices(payload) {
481
514
  { path: "customization.updatedDate" },
482
515
  {
483
516
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
517
+ },
518
+ {
519
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
484
520
  }
485
521
  ]
486
522
  },
@@ -525,6 +561,9 @@ function removeCustomizationChoices(payload) {
525
561
  { path: "customization.updatedDate" },
526
562
  {
527
563
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
564
+ },
565
+ {
566
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
528
567
  }
529
568
  ]
530
569
  },
@@ -554,7 +593,10 @@ function updateCustomizationChoices(payload) {
554
593
  },
555
594
  {
556
595
  transformFn: transformSDKTimestampToRESTTimestamp,
557
- paths: [{ path: "choices.choice.image.urlExpirationDate" }]
596
+ paths: [
597
+ { path: "choices.choice.image.urlExpirationDate" },
598
+ { path: "choices.choice.displayImage.urlExpirationDate" }
599
+ ]
558
600
  },
559
601
  {
560
602
  transformFn: transformSDKFloatToRESTFloat,
@@ -586,6 +628,9 @@ function updateCustomizationChoices(payload) {
586
628
  { path: "customization.updatedDate" },
587
629
  {
588
630
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
631
+ },
632
+ {
633
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
589
634
  }
590
635
  ]
591
636
  },
@@ -630,6 +675,9 @@ function reorderCustomizationChoices(payload) {
630
675
  { path: "customization.updatedDate" },
631
676
  {
632
677
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
678
+ },
679
+ {
680
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
633
681
  }
634
682
  ]
635
683
  },
@@ -656,7 +704,10 @@ function bulkAddCustomizationChoices(payload) {
656
704
  {
657
705
  transformFn: transformSDKTimestampToRESTTimestamp,
658
706
  paths: [
659
- { path: "customizationsChoices.choices.image.urlExpirationDate" }
707
+ { path: "customizationsChoices.choices.image.urlExpirationDate" },
708
+ {
709
+ path: "customizationsChoices.choices.displayImage.urlExpirationDate"
710
+ }
660
711
  ]
661
712
  },
662
713
  {
@@ -689,6 +740,9 @@ function bulkAddCustomizationChoices(payload) {
689
740
  { path: "results.customization.updatedDate" },
690
741
  {
691
742
  path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
743
+ },
744
+ {
745
+ path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
692
746
  }
693
747
  ]
694
748
  },
@@ -723,6 +777,9 @@ function bulkUpdateCustomizations(payload) {
723
777
  { path: "customizations.customization.updatedDate" },
724
778
  {
725
779
  path: "customizations.customization.choicesSettings.choices.image.urlExpirationDate"
780
+ },
781
+ {
782
+ path: "customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate"
726
783
  }
727
784
  ]
728
785
  },
@@ -760,6 +817,9 @@ function bulkUpdateCustomizations(payload) {
760
817
  { path: "results.customization.updatedDate" },
761
818
  {
762
819
  path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
820
+ },
821
+ {
822
+ path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
763
823
  }
764
824
  ]
765
825
  },
@@ -833,7 +893,10 @@ async function createCustomization2(customization) {
833
893
  [
834
894
  {
835
895
  transformFn: transformSDKImageToRESTImage,
836
- paths: [{ path: "customization.choicesSettings.choices.image" }]
896
+ paths: [
897
+ { path: "customization.choicesSettings.choices.image" },
898
+ { path: "customization.choicesSettings.choices.displayImage" }
899
+ ]
837
900
  }
838
901
  ]
839
902
  );
@@ -846,7 +909,10 @@ async function createCustomization2(customization) {
846
909
  transformPaths2(result.data, [
847
910
  {
848
911
  transformFn: transformRESTImageToSDKImage,
849
- paths: [{ path: "customization.choicesSettings.choices.image" }]
912
+ paths: [
913
+ { path: "customization.choicesSettings.choices.image" },
914
+ { path: "customization.choicesSettings.choices.displayImage" }
915
+ ]
850
916
  }
851
917
  ])
852
918
  )?.customization;
@@ -879,7 +945,10 @@ async function getCustomization2(customizationId, options) {
879
945
  transformPaths2(result.data, [
880
946
  {
881
947
  transformFn: transformRESTImageToSDKImage,
882
- paths: [{ path: "customization.choicesSettings.choices.image" }]
948
+ paths: [
949
+ { path: "customization.choicesSettings.choices.image" },
950
+ { path: "customization.choicesSettings.choices.displayImage" }
951
+ ]
883
952
  }
884
953
  ])
885
954
  )?.customization;
@@ -910,7 +979,10 @@ async function updateCustomization2(_id, customization, options) {
910
979
  [
911
980
  {
912
981
  transformFn: transformSDKImageToRESTImage,
913
- paths: [{ path: "customization.choicesSettings.choices.image" }]
982
+ paths: [
983
+ { path: "customization.choicesSettings.choices.image" },
984
+ { path: "customization.choicesSettings.choices.displayImage" }
985
+ ]
914
986
  }
915
987
  ]
916
988
  );
@@ -923,7 +995,10 @@ async function updateCustomization2(_id, customization, options) {
923
995
  transformPaths2(result.data, [
924
996
  {
925
997
  transformFn: transformRESTImageToSDKImage,
926
- paths: [{ path: "customization.choicesSettings.choices.image" }]
998
+ paths: [
999
+ { path: "customization.choicesSettings.choices.image" },
1000
+ { path: "customization.choicesSettings.choices.displayImage" }
1001
+ ]
927
1002
  }
928
1003
  ])
929
1004
  )?.customization;
@@ -1001,7 +1076,10 @@ function queryCustomizations2(options) {
1001
1076
  transformPaths2(data, [
1002
1077
  {
1003
1078
  transformFn: transformRESTImageToSDKImage,
1004
- paths: [{ path: "customizations.choicesSettings.choices.image" }]
1079
+ paths: [
1080
+ { path: "customizations.choicesSettings.choices.image" },
1081
+ { path: "customizations.choicesSettings.choices.displayImage" }
1082
+ ]
1005
1083
  }
1006
1084
  ])
1007
1085
  );
@@ -1037,7 +1115,10 @@ async function typedQueryCustomizations(query, options) {
1037
1115
  transformPaths2(result.data, [
1038
1116
  {
1039
1117
  transformFn: transformRESTImageToSDKImage,
1040
- paths: [{ path: "customizations.choicesSettings.choices.image" }]
1118
+ paths: [
1119
+ { path: "customizations.choicesSettings.choices.image" },
1120
+ { path: "customizations.choicesSettings.choices.displayImage" }
1121
+ ]
1041
1122
  }
1042
1123
  ])
1043
1124
  );
@@ -1070,7 +1151,10 @@ async function bulkCreateCustomizations2(customizations, options) {
1070
1151
  [
1071
1152
  {
1072
1153
  transformFn: transformSDKImageToRESTImage,
1073
- paths: [{ path: "customizations.choicesSettings.choices.image" }]
1154
+ paths: [
1155
+ { path: "customizations.choicesSettings.choices.image" },
1156
+ { path: "customizations.choicesSettings.choices.displayImage" }
1157
+ ]
1074
1158
  }
1075
1159
  ]
1076
1160
  );
@@ -1084,7 +1168,10 @@ async function bulkCreateCustomizations2(customizations, options) {
1084
1168
  {
1085
1169
  transformFn: transformRESTImageToSDKImage,
1086
1170
  paths: [
1087
- { path: "results.customization.choicesSettings.choices.image" }
1171
+ { path: "results.customization.choicesSettings.choices.image" },
1172
+ {
1173
+ path: "results.customization.choicesSettings.choices.displayImage"
1174
+ }
1088
1175
  ]
1089
1176
  }
1090
1177
  ])
@@ -1117,7 +1204,7 @@ async function addCustomizationChoices2(customizationId, choices, options) {
1117
1204
  [
1118
1205
  {
1119
1206
  transformFn: transformSDKImageToRESTImage,
1120
- paths: [{ path: "choices.image" }]
1207
+ paths: [{ path: "choices.image" }, { path: "choices.displayImage" }]
1121
1208
  }
1122
1209
  ]
1123
1210
  );
@@ -1130,7 +1217,10 @@ async function addCustomizationChoices2(customizationId, choices, options) {
1130
1217
  transformPaths2(result.data, [
1131
1218
  {
1132
1219
  transformFn: transformRESTImageToSDKImage,
1133
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1220
+ paths: [
1221
+ { path: "customization.choicesSettings.choices.image" },
1222
+ { path: "customization.choicesSettings.choices.displayImage" }
1223
+ ]
1134
1224
  }
1135
1225
  ])
1136
1226
  );
@@ -1163,7 +1253,7 @@ async function setCustomizationChoices2(customizationId, choices, options) {
1163
1253
  [
1164
1254
  {
1165
1255
  transformFn: transformSDKImageToRESTImage,
1166
- paths: [{ path: "choices.image" }]
1256
+ paths: [{ path: "choices.image" }, { path: "choices.displayImage" }]
1167
1257
  }
1168
1258
  ]
1169
1259
  );
@@ -1176,7 +1266,10 @@ async function setCustomizationChoices2(customizationId, choices, options) {
1176
1266
  transformPaths2(result.data, [
1177
1267
  {
1178
1268
  transformFn: transformRESTImageToSDKImage,
1179
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1269
+ paths: [
1270
+ { path: "customization.choicesSettings.choices.image" },
1271
+ { path: "customization.choicesSettings.choices.displayImage" }
1272
+ ]
1180
1273
  }
1181
1274
  ])
1182
1275
  );
@@ -1217,7 +1310,10 @@ async function removeCustomizationChoices2(customizationId, choiceIds, options)
1217
1310
  transformPaths2(result.data, [
1218
1311
  {
1219
1312
  transformFn: transformRESTImageToSDKImage,
1220
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1313
+ paths: [
1314
+ { path: "customization.choicesSettings.choices.image" },
1315
+ { path: "customization.choicesSettings.choices.displayImage" }
1316
+ ]
1221
1317
  }
1222
1318
  ])
1223
1319
  );
@@ -1252,7 +1348,10 @@ async function updateCustomizationChoices2(customizationId, revision, options) {
1252
1348
  [
1253
1349
  {
1254
1350
  transformFn: transformSDKImageToRESTImage,
1255
- paths: [{ path: "choices.choice.image" }]
1351
+ paths: [
1352
+ { path: "choices.choice.image" },
1353
+ { path: "choices.choice.displayImage" }
1354
+ ]
1256
1355
  }
1257
1356
  ]
1258
1357
  );
@@ -1267,7 +1366,10 @@ async function updateCustomizationChoices2(customizationId, revision, options) {
1267
1366
  transformPaths2(result.data, [
1268
1367
  {
1269
1368
  transformFn: transformRESTImageToSDKImage,
1270
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1369
+ paths: [
1370
+ { path: "customization.choicesSettings.choices.image" },
1371
+ { path: "customization.choicesSettings.choices.displayImage" }
1372
+ ]
1271
1373
  }
1272
1374
  ])
1273
1375
  );
@@ -1309,7 +1411,10 @@ async function reorderCustomizationChoices2(customizationId, revision, options)
1309
1411
  transformPaths2(result.data, [
1310
1412
  {
1311
1413
  transformFn: transformRESTImageToSDKImage,
1312
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1414
+ paths: [
1415
+ { path: "customization.choicesSettings.choices.image" },
1416
+ { path: "customization.choicesSettings.choices.displayImage" }
1417
+ ]
1313
1418
  }
1314
1419
  ])
1315
1420
  );
@@ -1343,7 +1448,10 @@ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
1343
1448
  [
1344
1449
  {
1345
1450
  transformFn: transformSDKImageToRESTImage,
1346
- paths: [{ path: "customizationsChoices.choices.image" }]
1451
+ paths: [
1452
+ { path: "customizationsChoices.choices.image" },
1453
+ { path: "customizationsChoices.choices.displayImage" }
1454
+ ]
1347
1455
  }
1348
1456
  ]
1349
1457
  );
@@ -1359,7 +1467,10 @@ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
1359
1467
  {
1360
1468
  transformFn: transformRESTImageToSDKImage,
1361
1469
  paths: [
1362
- { path: "results.customization.choicesSettings.choices.image" }
1470
+ { path: "results.customization.choicesSettings.choices.image" },
1471
+ {
1472
+ path: "results.customization.choicesSettings.choices.displayImage"
1473
+ }
1363
1474
  ]
1364
1475
  }
1365
1476
  ])
@@ -1396,6 +1507,9 @@ async function bulkUpdateCustomizations2(customizations, options) {
1396
1507
  paths: [
1397
1508
  {
1398
1509
  path: "customizations.customization.choicesSettings.choices.image"
1510
+ },
1511
+ {
1512
+ path: "customizations.customization.choicesSettings.choices.displayImage"
1399
1513
  }
1400
1514
  ]
1401
1515
  }
@@ -1411,7 +1525,10 @@ async function bulkUpdateCustomizations2(customizations, options) {
1411
1525
  {
1412
1526
  transformFn: transformRESTImageToSDKImage,
1413
1527
  paths: [
1414
- { path: "results.customization.choicesSettings.choices.image" }
1528
+ { path: "results.customization.choicesSettings.choices.image" },
1529
+ {
1530
+ path: "results.customization.choicesSettings.choices.displayImage"
1531
+ }
1415
1532
  ]
1416
1533
  }
1417
1534
  ])
@@ -1566,7 +1683,10 @@ var onCustomizationCreated = EventDefinition(
1566
1683
  },
1567
1684
  {
1568
1685
  transformFn: transformRESTImageToSDKImage2,
1569
- paths: [{ path: "entity.choicesSettings.choices.image" }]
1686
+ paths: [
1687
+ { path: "entity.choicesSettings.choices.image" },
1688
+ { path: "entity.choicesSettings.choices.displayImage" }
1689
+ ]
1570
1690
  }
1571
1691
  ])
1572
1692
  )
@@ -1586,7 +1706,10 @@ var onCustomizationDeleted = EventDefinition(
1586
1706
  },
1587
1707
  {
1588
1708
  transformFn: transformRESTImageToSDKImage2,
1589
- paths: [{ path: "entity.choicesSettings.choices.image" }]
1709
+ paths: [
1710
+ { path: "entity.choicesSettings.choices.image" },
1711
+ { path: "entity.choicesSettings.choices.displayImage" }
1712
+ ]
1590
1713
  }
1591
1714
  ])
1592
1715
  )
@@ -1610,7 +1733,9 @@ var onCustomizationUpdated = EventDefinition(
1610
1733
  transformFn: transformRESTImageToSDKImage2,
1611
1734
  paths: [
1612
1735
  { path: "entity.choicesSettings.choices.image" },
1613
- { path: "modifiedFields.choicesSettings.choices.image" }
1736
+ { path: "entity.choicesSettings.choices.displayImage" },
1737
+ { path: "modifiedFields.choicesSettings.choices.image" },
1738
+ { path: "modifiedFields.choicesSettings.choices.displayImage" }
1614
1739
  ]
1615
1740
  }
1616
1741
  ])