@spiffcommerce/core 12.11.3 → 12.12.0

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/dist/module.js CHANGED
@@ -209,6 +209,10 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
209
209
  }
210
210
  mandatory
211
211
  }
212
+ productTags {
213
+ id
214
+ name
215
+ }
212
216
  }
213
217
  integrationProduct {
214
218
  id
@@ -285,6 +289,10 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
285
289
  }
286
290
  mandatory
287
291
  }
292
+ productTags {
293
+ id
294
+ name
295
+ }
288
296
  }
289
297
  integrationProduct {
290
298
  id
@@ -368,6 +376,10 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
368
376
  }
369
377
  mandatory
370
378
  }
379
+ productTags {
380
+ id
381
+ name
382
+ }
371
383
  }
372
384
  integrationProduct {
373
385
  id
@@ -431,6 +443,10 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
431
443
  }
432
444
  mandatory
433
445
  }
446
+ productTags {
447
+ id
448
+ name
449
+ }
434
450
  }
435
451
  priceModifierTotal
436
452
  variationsCount
@@ -533,6 +549,10 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
533
549
  workflowName
534
550
  imageUrl
535
551
  }
552
+ productTags {
553
+ id
554
+ name
555
+ }
536
556
  }
537
557
  `}
538
558
  fragment ProductCollectionFields on ProductCollection {
@@ -796,6 +816,14 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
796
816
  weight
797
817
  }
798
818
  }
819
+ `}
820
+ ${ft`
821
+ fragment ModelAnimationFields on ModelAnimation {
822
+ from
823
+ to
824
+ loop
825
+ name
826
+ }
799
827
  `}
800
828
  query GetWorkflow($id: String!) {
801
829
  workflow(id: $id) {
@@ -807,9 +835,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
807
835
  ...LookAtAnimationFields
808
836
  }
809
837
  modelAnimation {
810
- from
811
- to
812
- loop
838
+ ...ModelAnimationFields
813
839
  }
814
840
  }
815
841
  globalPreviewConfig {
@@ -907,9 +933,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
907
933
  ...LookAtAnimationFields
908
934
  }
909
935
  modelAnimation {
910
- from
911
- to
912
- loop
936
+ ...ModelAnimationFields
913
937
  }
914
938
  regions {
915
939
  ...RegionFields
@@ -936,9 +960,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
936
960
  ...LookAtAnimationFields
937
961
  }
938
962
  modelAnimation {
939
- from
940
- to
941
- loop
963
+ ...ModelAnimationFields
942
964
  }
943
965
  overlayImageKey
944
966
  overlayImageUrl
@@ -969,9 +991,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
969
991
  ...LookAtAnimationFields
970
992
  }
971
993
  modelAnimation {
972
- from
973
- to
974
- loop
994
+ ...ModelAnimationFields
975
995
  }
976
996
  regions {
977
997
  ...RegionFields
@@ -992,9 +1012,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
992
1012
  ...LookAtAnimationFields
993
1013
  }
994
1014
  modelAnimation {
995
- from
996
- to
997
- loop
1015
+ ...ModelAnimationFields
998
1016
  }
999
1017
  targetMaterials
1000
1018
  varySelection
@@ -1012,9 +1030,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1012
1030
  ...LookAtAnimationFields
1013
1031
  }
1014
1032
  modelAnimation {
1015
- from
1016
- to
1017
- loop
1033
+ ...ModelAnimationFields
1018
1034
  }
1019
1035
  replaceProductModel
1020
1036
  varySelection
@@ -1033,9 +1049,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1033
1049
  }
1034
1050
  maxLength
1035
1051
  modelAnimation {
1036
- from
1037
- to
1038
- loop
1052
+ ...ModelAnimationFields
1039
1053
  }
1040
1054
  module
1041
1055
  regions {
@@ -1056,9 +1070,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1056
1070
  ...LookAtAnimationFields
1057
1071
  }
1058
1072
  modelAnimation {
1059
- from
1060
- to
1061
- loop
1073
+ ...ModelAnimationFields
1062
1074
  }
1063
1075
  regions {
1064
1076
  ...RegionFields
@@ -1085,9 +1097,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1085
1097
  ...LookAtAnimationFields
1086
1098
  }
1087
1099
  modelAnimation {
1088
- from
1089
- to
1090
- loop
1100
+ ...ModelAnimationFields
1091
1101
  }
1092
1102
  varySelections
1093
1103
  }
@@ -1105,9 +1115,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1105
1115
  ...LookAtAnimationFields
1106
1116
  }
1107
1117
  modelAnimation {
1108
- from
1109
- to
1110
- loop
1118
+ ...ModelAnimationFields
1111
1119
  }
1112
1120
  regions {
1113
1121
  ...RegionFields
@@ -1129,9 +1137,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1129
1137
  ...LookAtAnimationFields
1130
1138
  }
1131
1139
  modelAnimation {
1132
- from
1133
- to
1134
- loop
1140
+ ...ModelAnimationFields
1135
1141
  }
1136
1142
  regions {
1137
1143
  ...RegionFields
@@ -1171,9 +1177,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1171
1177
  maxSize
1172
1178
  minSize
1173
1179
  modelAnimation {
1174
- from
1175
- to
1176
- loop
1180
+ ...ModelAnimationFields
1177
1181
  }
1178
1182
  paths
1179
1183
  regions {
package/dist/types.d.ts CHANGED
@@ -856,6 +856,11 @@ interface Product {
856
856
  */
857
857
  conversionConfiguration?: ConversionConfiguration;
858
858
  integrationProducts?: IntegrationProduct[];
859
+ productTags?: ProductTag[];
860
+ }
861
+ interface ProductTag {
862
+ id: string;
863
+ name: string;
859
864
  }
860
865
  export interface ColorOption {
861
866
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "12.11.3",
3
+ "version": "12.12.0",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -45,7 +45,7 @@
45
45
  "@parcel/transformer-typescript-tsc": "^2.8.0",
46
46
  "@parcel/transformer-typescript-types": "2.8.0",
47
47
  "@parcel/validator-typescript": "^2.8.0",
48
- "@spiffcommerce/preview": "^3.2.0",
48
+ "@spiffcommerce/preview": "^3.3.0",
49
49
  "@types/enzyme": "^3.10.12",
50
50
  "@types/jest": "^29.0.3",
51
51
  "@types/lodash.clonedeep": "^4.5.7",
@@ -87,7 +87,7 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.0",
90
- "@spiffcommerce/papyrus": "^2.0.11",
90
+ "@spiffcommerce/papyrus": "^2.0.12",
91
91
  "cross-fetch": "^3.1.5",
92
92
  "graphql": "^16.6.0",
93
93
  "lodash.clonedeep": "^4.5.0",