@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.
Files changed (44) hide show
  1. package/build/cjs/index.js +152 -27
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.js +141 -24
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +34 -1
  6. package/build/cjs/meta.js +64 -4
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.d.ts +972 -0
  9. package/build/cjs/schemas.js +1597 -0
  10. package/build/cjs/schemas.js.map +1 -0
  11. package/build/es/index.mjs +152 -27
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.mjs +141 -24
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +34 -1
  16. package/build/es/meta.mjs +64 -4
  17. package/build/es/meta.mjs.map +1 -1
  18. package/build/es/schemas.d.mts +972 -0
  19. package/build/es/schemas.mjs +1539 -0
  20. package/build/es/schemas.mjs.map +1 -0
  21. package/build/internal/cjs/index.js +152 -27
  22. package/build/internal/cjs/index.js.map +1 -1
  23. package/build/internal/cjs/index.typings.d.ts +5 -0
  24. package/build/internal/cjs/index.typings.js +141 -24
  25. package/build/internal/cjs/index.typings.js.map +1 -1
  26. package/build/internal/cjs/meta.d.ts +34 -1
  27. package/build/internal/cjs/meta.js +64 -4
  28. package/build/internal/cjs/meta.js.map +1 -1
  29. package/build/internal/cjs/schemas.d.ts +972 -0
  30. package/build/internal/cjs/schemas.js +1597 -0
  31. package/build/internal/cjs/schemas.js.map +1 -0
  32. package/build/internal/es/index.mjs +152 -27
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +5 -0
  35. package/build/internal/es/index.typings.mjs +141 -24
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +34 -1
  38. package/build/internal/es/meta.mjs +64 -4
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/schemas.d.mts +972 -0
  41. package/build/internal/es/schemas.mjs +1539 -0
  42. package/build/internal/es/schemas.mjs.map +1 -0
  43. package/package.json +11 -4
  44. package/schemas/package.json +3 -0
@@ -130,6 +130,9 @@ function createCustomization(payload) {
130
130
  { path: "customization.updatedDate" },
131
131
  {
132
132
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
133
+ },
134
+ {
135
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
133
136
  }
134
137
  ]
135
138
  },
@@ -163,6 +166,9 @@ function createCustomization(payload) {
163
166
  { path: "customization.updatedDate" },
164
167
  {
165
168
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
169
+ },
170
+ {
171
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
166
172
  }
167
173
  ]
168
174
  },
@@ -207,6 +213,9 @@ function getCustomization(payload) {
207
213
  { path: "customization.updatedDate" },
208
214
  {
209
215
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
216
+ },
217
+ {
218
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
210
219
  }
211
220
  ]
212
221
  },
@@ -241,6 +250,9 @@ function updateCustomization(payload) {
241
250
  { path: "customization.updatedDate" },
242
251
  {
243
252
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
253
+ },
254
+ {
255
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
244
256
  }
245
257
  ]
246
258
  },
@@ -274,6 +286,9 @@ function updateCustomization(payload) {
274
286
  { path: "customization.updatedDate" },
275
287
  {
276
288
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
289
+ },
290
+ {
291
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
277
292
  }
278
293
  ]
279
294
  },
@@ -339,6 +354,9 @@ function queryCustomizations(payload) {
339
354
  { path: "customizations.updatedDate" },
340
355
  {
341
356
  path: "customizations.choicesSettings.choices.image.urlExpirationDate"
357
+ },
358
+ {
359
+ path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
342
360
  }
343
361
  ]
344
362
  },
@@ -380,6 +398,9 @@ function bulkCreateCustomizations(payload) {
380
398
  { path: "customizations.updatedDate" },
381
399
  {
382
400
  path: "customizations.choicesSettings.choices.image.urlExpirationDate"
401
+ },
402
+ {
403
+ path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
383
404
  }
384
405
  ]
385
406
  },
@@ -413,6 +434,9 @@ function bulkCreateCustomizations(payload) {
413
434
  { path: "results.customization.updatedDate" },
414
435
  {
415
436
  path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
437
+ },
438
+ {
439
+ path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
416
440
  }
417
441
  ]
418
442
  },
@@ -438,7 +462,10 @@ function addCustomizationChoices(payload) {
438
462
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
439
463
  {
440
464
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
441
- paths: [{ path: "choices.image.urlExpirationDate" }]
465
+ paths: [
466
+ { path: "choices.image.urlExpirationDate" },
467
+ { path: "choices.displayImage.urlExpirationDate" }
468
+ ]
442
469
  },
443
470
  {
444
471
  transformFn: import_float.transformSDKFloatToRESTFloat,
@@ -470,6 +497,9 @@ function addCustomizationChoices(payload) {
470
497
  { path: "customization.updatedDate" },
471
498
  {
472
499
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
500
+ },
501
+ {
502
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
473
503
  }
474
504
  ]
475
505
  },
@@ -495,7 +525,10 @@ function setCustomizationChoices(payload) {
495
525
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
496
526
  {
497
527
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
498
- paths: [{ path: "choices.image.urlExpirationDate" }]
528
+ paths: [
529
+ { path: "choices.image.urlExpirationDate" },
530
+ { path: "choices.displayImage.urlExpirationDate" }
531
+ ]
499
532
  },
500
533
  {
501
534
  transformFn: import_float.transformSDKFloatToRESTFloat,
@@ -527,6 +560,9 @@ function setCustomizationChoices(payload) {
527
560
  { path: "customization.updatedDate" },
528
561
  {
529
562
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
563
+ },
564
+ {
565
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
530
566
  }
531
567
  ]
532
568
  },
@@ -571,6 +607,9 @@ function removeCustomizationChoices(payload) {
571
607
  { path: "customization.updatedDate" },
572
608
  {
573
609
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
610
+ },
611
+ {
612
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
574
613
  }
575
614
  ]
576
615
  },
@@ -600,7 +639,10 @@ function updateCustomizationChoices(payload) {
600
639
  },
601
640
  {
602
641
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
603
- paths: [{ path: "choices.choice.image.urlExpirationDate" }]
642
+ paths: [
643
+ { path: "choices.choice.image.urlExpirationDate" },
644
+ { path: "choices.choice.displayImage.urlExpirationDate" }
645
+ ]
604
646
  },
605
647
  {
606
648
  transformFn: import_float.transformSDKFloatToRESTFloat,
@@ -632,6 +674,9 @@ function updateCustomizationChoices(payload) {
632
674
  { path: "customization.updatedDate" },
633
675
  {
634
676
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
677
+ },
678
+ {
679
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
635
680
  }
636
681
  ]
637
682
  },
@@ -676,6 +721,9 @@ function reorderCustomizationChoices(payload) {
676
721
  { path: "customization.updatedDate" },
677
722
  {
678
723
  path: "customization.choicesSettings.choices.image.urlExpirationDate"
724
+ },
725
+ {
726
+ path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
679
727
  }
680
728
  ]
681
729
  },
@@ -702,7 +750,10 @@ function bulkAddCustomizationChoices(payload) {
702
750
  {
703
751
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
704
752
  paths: [
705
- { path: "customizationsChoices.choices.image.urlExpirationDate" }
753
+ { path: "customizationsChoices.choices.image.urlExpirationDate" },
754
+ {
755
+ path: "customizationsChoices.choices.displayImage.urlExpirationDate"
756
+ }
706
757
  ]
707
758
  },
708
759
  {
@@ -735,6 +786,9 @@ function bulkAddCustomizationChoices(payload) {
735
786
  { path: "results.customization.updatedDate" },
736
787
  {
737
788
  path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
789
+ },
790
+ {
791
+ path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
738
792
  }
739
793
  ]
740
794
  },
@@ -769,6 +823,9 @@ function bulkUpdateCustomizations(payload) {
769
823
  { path: "customizations.customization.updatedDate" },
770
824
  {
771
825
  path: "customizations.customization.choicesSettings.choices.image.urlExpirationDate"
826
+ },
827
+ {
828
+ path: "customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate"
772
829
  }
773
830
  ]
774
831
  },
@@ -806,6 +863,9 @@ function bulkUpdateCustomizations(payload) {
806
863
  { path: "results.customization.updatedDate" },
807
864
  {
808
865
  path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
866
+ },
867
+ {
868
+ path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
809
869
  }
810
870
  ]
811
871
  },
@@ -879,7 +939,10 @@ async function createCustomization2(customization) {
879
939
  [
880
940
  {
881
941
  transformFn: import_image.transformSDKImageToRESTImage,
882
- paths: [{ path: "customization.choicesSettings.choices.image" }]
942
+ paths: [
943
+ { path: "customization.choicesSettings.choices.image" },
944
+ { path: "customization.choicesSettings.choices.displayImage" }
945
+ ]
883
946
  }
884
947
  ]
885
948
  );
@@ -892,7 +955,10 @@ async function createCustomization2(customization) {
892
955
  (0, import_transform_paths2.transformPaths)(result.data, [
893
956
  {
894
957
  transformFn: import_image2.transformRESTImageToSDKImage,
895
- paths: [{ path: "customization.choicesSettings.choices.image" }]
958
+ paths: [
959
+ { path: "customization.choicesSettings.choices.image" },
960
+ { path: "customization.choicesSettings.choices.displayImage" }
961
+ ]
896
962
  }
897
963
  ])
898
964
  )?.customization;
@@ -925,7 +991,10 @@ async function getCustomization2(customizationId, options) {
925
991
  (0, import_transform_paths2.transformPaths)(result.data, [
926
992
  {
927
993
  transformFn: import_image2.transformRESTImageToSDKImage,
928
- paths: [{ path: "customization.choicesSettings.choices.image" }]
994
+ paths: [
995
+ { path: "customization.choicesSettings.choices.image" },
996
+ { path: "customization.choicesSettings.choices.displayImage" }
997
+ ]
929
998
  }
930
999
  ])
931
1000
  )?.customization;
@@ -956,7 +1025,10 @@ async function updateCustomization2(_id, customization, options) {
956
1025
  [
957
1026
  {
958
1027
  transformFn: import_image.transformSDKImageToRESTImage,
959
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1028
+ paths: [
1029
+ { path: "customization.choicesSettings.choices.image" },
1030
+ { path: "customization.choicesSettings.choices.displayImage" }
1031
+ ]
960
1032
  }
961
1033
  ]
962
1034
  );
@@ -969,7 +1041,10 @@ async function updateCustomization2(_id, customization, options) {
969
1041
  (0, import_transform_paths2.transformPaths)(result.data, [
970
1042
  {
971
1043
  transformFn: import_image2.transformRESTImageToSDKImage,
972
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1044
+ paths: [
1045
+ { path: "customization.choicesSettings.choices.image" },
1046
+ { path: "customization.choicesSettings.choices.displayImage" }
1047
+ ]
973
1048
  }
974
1049
  ])
975
1050
  )?.customization;
@@ -1047,7 +1122,10 @@ function queryCustomizations2(options) {
1047
1122
  (0, import_transform_paths2.transformPaths)(data, [
1048
1123
  {
1049
1124
  transformFn: import_image2.transformRESTImageToSDKImage,
1050
- paths: [{ path: "customizations.choicesSettings.choices.image" }]
1125
+ paths: [
1126
+ { path: "customizations.choicesSettings.choices.image" },
1127
+ { path: "customizations.choicesSettings.choices.displayImage" }
1128
+ ]
1051
1129
  }
1052
1130
  ])
1053
1131
  );
@@ -1083,7 +1161,10 @@ async function typedQueryCustomizations(query, options) {
1083
1161
  (0, import_transform_paths2.transformPaths)(result.data, [
1084
1162
  {
1085
1163
  transformFn: import_image2.transformRESTImageToSDKImage,
1086
- paths: [{ path: "customizations.choicesSettings.choices.image" }]
1164
+ paths: [
1165
+ { path: "customizations.choicesSettings.choices.image" },
1166
+ { path: "customizations.choicesSettings.choices.displayImage" }
1167
+ ]
1087
1168
  }
1088
1169
  ])
1089
1170
  );
@@ -1116,7 +1197,10 @@ async function bulkCreateCustomizations2(customizations, options) {
1116
1197
  [
1117
1198
  {
1118
1199
  transformFn: import_image.transformSDKImageToRESTImage,
1119
- paths: [{ path: "customizations.choicesSettings.choices.image" }]
1200
+ paths: [
1201
+ { path: "customizations.choicesSettings.choices.image" },
1202
+ { path: "customizations.choicesSettings.choices.displayImage" }
1203
+ ]
1120
1204
  }
1121
1205
  ]
1122
1206
  );
@@ -1130,7 +1214,10 @@ async function bulkCreateCustomizations2(customizations, options) {
1130
1214
  {
1131
1215
  transformFn: import_image2.transformRESTImageToSDKImage,
1132
1216
  paths: [
1133
- { path: "results.customization.choicesSettings.choices.image" }
1217
+ { path: "results.customization.choicesSettings.choices.image" },
1218
+ {
1219
+ path: "results.customization.choicesSettings.choices.displayImage"
1220
+ }
1134
1221
  ]
1135
1222
  }
1136
1223
  ])
@@ -1163,7 +1250,7 @@ async function addCustomizationChoices2(customizationId, choices, options) {
1163
1250
  [
1164
1251
  {
1165
1252
  transformFn: import_image.transformSDKImageToRESTImage,
1166
- paths: [{ path: "choices.image" }]
1253
+ paths: [{ path: "choices.image" }, { path: "choices.displayImage" }]
1167
1254
  }
1168
1255
  ]
1169
1256
  );
@@ -1176,7 +1263,10 @@ async function addCustomizationChoices2(customizationId, choices, options) {
1176
1263
  (0, import_transform_paths2.transformPaths)(result.data, [
1177
1264
  {
1178
1265
  transformFn: import_image2.transformRESTImageToSDKImage,
1179
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1266
+ paths: [
1267
+ { path: "customization.choicesSettings.choices.image" },
1268
+ { path: "customization.choicesSettings.choices.displayImage" }
1269
+ ]
1180
1270
  }
1181
1271
  ])
1182
1272
  );
@@ -1209,7 +1299,7 @@ async function setCustomizationChoices2(customizationId, choices, options) {
1209
1299
  [
1210
1300
  {
1211
1301
  transformFn: import_image.transformSDKImageToRESTImage,
1212
- paths: [{ path: "choices.image" }]
1302
+ paths: [{ path: "choices.image" }, { path: "choices.displayImage" }]
1213
1303
  }
1214
1304
  ]
1215
1305
  );
@@ -1222,7 +1312,10 @@ async function setCustomizationChoices2(customizationId, choices, options) {
1222
1312
  (0, import_transform_paths2.transformPaths)(result.data, [
1223
1313
  {
1224
1314
  transformFn: import_image2.transformRESTImageToSDKImage,
1225
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1315
+ paths: [
1316
+ { path: "customization.choicesSettings.choices.image" },
1317
+ { path: "customization.choicesSettings.choices.displayImage" }
1318
+ ]
1226
1319
  }
1227
1320
  ])
1228
1321
  );
@@ -1263,7 +1356,10 @@ async function removeCustomizationChoices2(customizationId, choiceIds, options)
1263
1356
  (0, import_transform_paths2.transformPaths)(result.data, [
1264
1357
  {
1265
1358
  transformFn: import_image2.transformRESTImageToSDKImage,
1266
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1359
+ paths: [
1360
+ { path: "customization.choicesSettings.choices.image" },
1361
+ { path: "customization.choicesSettings.choices.displayImage" }
1362
+ ]
1267
1363
  }
1268
1364
  ])
1269
1365
  );
@@ -1298,7 +1394,10 @@ async function updateCustomizationChoices2(customizationId, revision, options) {
1298
1394
  [
1299
1395
  {
1300
1396
  transformFn: import_image.transformSDKImageToRESTImage,
1301
- paths: [{ path: "choices.choice.image" }]
1397
+ paths: [
1398
+ { path: "choices.choice.image" },
1399
+ { path: "choices.choice.displayImage" }
1400
+ ]
1302
1401
  }
1303
1402
  ]
1304
1403
  );
@@ -1313,7 +1412,10 @@ async function updateCustomizationChoices2(customizationId, revision, options) {
1313
1412
  (0, import_transform_paths2.transformPaths)(result.data, [
1314
1413
  {
1315
1414
  transformFn: import_image2.transformRESTImageToSDKImage,
1316
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1415
+ paths: [
1416
+ { path: "customization.choicesSettings.choices.image" },
1417
+ { path: "customization.choicesSettings.choices.displayImage" }
1418
+ ]
1317
1419
  }
1318
1420
  ])
1319
1421
  );
@@ -1355,7 +1457,10 @@ async function reorderCustomizationChoices2(customizationId, revision, options)
1355
1457
  (0, import_transform_paths2.transformPaths)(result.data, [
1356
1458
  {
1357
1459
  transformFn: import_image2.transformRESTImageToSDKImage,
1358
- paths: [{ path: "customization.choicesSettings.choices.image" }]
1460
+ paths: [
1461
+ { path: "customization.choicesSettings.choices.image" },
1462
+ { path: "customization.choicesSettings.choices.displayImage" }
1463
+ ]
1359
1464
  }
1360
1465
  ])
1361
1466
  );
@@ -1389,7 +1494,10 @@ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
1389
1494
  [
1390
1495
  {
1391
1496
  transformFn: import_image.transformSDKImageToRESTImage,
1392
- paths: [{ path: "customizationsChoices.choices.image" }]
1497
+ paths: [
1498
+ { path: "customizationsChoices.choices.image" },
1499
+ { path: "customizationsChoices.choices.displayImage" }
1500
+ ]
1393
1501
  }
1394
1502
  ]
1395
1503
  );
@@ -1405,7 +1513,10 @@ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
1405
1513
  {
1406
1514
  transformFn: import_image2.transformRESTImageToSDKImage,
1407
1515
  paths: [
1408
- { path: "results.customization.choicesSettings.choices.image" }
1516
+ { path: "results.customization.choicesSettings.choices.image" },
1517
+ {
1518
+ path: "results.customization.choicesSettings.choices.displayImage"
1519
+ }
1409
1520
  ]
1410
1521
  }
1411
1522
  ])
@@ -1442,6 +1553,9 @@ async function bulkUpdateCustomizations2(customizations, options) {
1442
1553
  paths: [
1443
1554
  {
1444
1555
  path: "customizations.customization.choicesSettings.choices.image"
1556
+ },
1557
+ {
1558
+ path: "customizations.customization.choicesSettings.choices.displayImage"
1445
1559
  }
1446
1560
  ]
1447
1561
  }
@@ -1457,7 +1571,10 @@ async function bulkUpdateCustomizations2(customizations, options) {
1457
1571
  {
1458
1572
  transformFn: import_image2.transformRESTImageToSDKImage,
1459
1573
  paths: [
1460
- { path: "results.customization.choicesSettings.choices.image" }
1574
+ { path: "results.customization.choicesSettings.choices.image" },
1575
+ {
1576
+ path: "results.customization.choicesSettings.choices.displayImage"
1577
+ }
1461
1578
  ]
1462
1579
  }
1463
1580
  ])
@@ -1612,7 +1729,10 @@ var onCustomizationCreated = (0, import_sdk_types.EventDefinition)(
1612
1729
  },
1613
1730
  {
1614
1731
  transformFn: import_image3.transformRESTImageToSDKImage,
1615
- paths: [{ path: "entity.choicesSettings.choices.image" }]
1732
+ paths: [
1733
+ { path: "entity.choicesSettings.choices.image" },
1734
+ { path: "entity.choicesSettings.choices.displayImage" }
1735
+ ]
1616
1736
  }
1617
1737
  ])
1618
1738
  )
@@ -1632,7 +1752,10 @@ var onCustomizationDeleted = (0, import_sdk_types.EventDefinition)(
1632
1752
  },
1633
1753
  {
1634
1754
  transformFn: import_image3.transformRESTImageToSDKImage,
1635
- paths: [{ path: "entity.choicesSettings.choices.image" }]
1755
+ paths: [
1756
+ { path: "entity.choicesSettings.choices.image" },
1757
+ { path: "entity.choicesSettings.choices.displayImage" }
1758
+ ]
1636
1759
  }
1637
1760
  ])
1638
1761
  )
@@ -1656,7 +1779,9 @@ var onCustomizationUpdated = (0, import_sdk_types.EventDefinition)(
1656
1779
  transformFn: import_image3.transformRESTImageToSDKImage,
1657
1780
  paths: [
1658
1781
  { path: "entity.choicesSettings.choices.image" },
1659
- { path: "modifiedFields.choicesSettings.choices.image" }
1782
+ { path: "entity.choicesSettings.choices.displayImage" },
1783
+ { path: "modifiedFields.choicesSettings.choices.image" },
1784
+ { path: "modifiedFields.choicesSettings.choices.displayImage" }
1660
1785
  ]
1661
1786
  }
1662
1787
  ])