@propeller-commerce/propeller-sdk-v2 0.15.0 → 0.16.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/CHANGELOG.md +75 -4
- package/dist/cjs/generated/operationVariables.d.ts +21 -0
- package/dist/cjs/generated/operations/category.js +30 -1
- package/dist/cjs/generated/operations/categoryAddProductsClusters.js +30 -1
- package/dist/cjs/generated/operations/categoryBySlug.js +30 -1
- package/dist/cjs/generated/operations/categoryBySource.js +30 -1
- package/dist/cjs/generated/operations/categoryChildren.js +30 -1
- package/dist/cjs/generated/operations/categoryCreate.js +30 -1
- package/dist/cjs/generated/operations/categoryHierarchy.js +30 -1
- package/dist/cjs/generated/operations/categoryMoveAbove.js +30 -1
- package/dist/cjs/generated/operations/categoryMoveBelow.js +30 -1
- package/dist/cjs/generated/operations/categoryRemoveProductsClusters.js +30 -1
- package/dist/cjs/generated/operations/categoryUpdate.js +30 -1
- package/dist/cjs/generated/operations/crossupsell.js +30 -1
- package/dist/cjs/generated/operations/crossupsellCreate.js +30 -1
- package/dist/cjs/generated/operations/crossupsellUpdate.js +30 -1
- package/dist/cjs/generated/operations/crossupsells.js +30 -1
- package/dist/cjs/generated/operations/favoriteList.js +30 -1
- package/dist/cjs/generated/operations/machine.js +30 -1
- package/dist/cjs/generated/operations/machineCreate.js +30 -1
- package/dist/cjs/generated/operations/machineUpsert.js +30 -1
- package/dist/cjs/generated/operations/machines.js +30 -1
- package/dist/cjs/generated/operations/products.js +30 -1
- package/dist/cjs/service/CategoryService.d.ts +2 -0
- package/dist/cjs/service/CrossupsellService.d.ts +3 -0
- package/dist/cjs/service/ProductService.d.ts +2 -0
- package/dist/esm/generated/operations/category.js +30 -1
- package/dist/esm/generated/operations/categoryAddProductsClusters.js +30 -1
- package/dist/esm/generated/operations/categoryBySlug.js +30 -1
- package/dist/esm/generated/operations/categoryBySource.js +30 -1
- package/dist/esm/generated/operations/categoryChildren.js +30 -1
- package/dist/esm/generated/operations/categoryCreate.js +30 -1
- package/dist/esm/generated/operations/categoryHierarchy.js +30 -1
- package/dist/esm/generated/operations/categoryMoveAbove.js +30 -1
- package/dist/esm/generated/operations/categoryMoveBelow.js +30 -1
- package/dist/esm/generated/operations/categoryRemoveProductsClusters.js +30 -1
- package/dist/esm/generated/operations/categoryUpdate.js +30 -1
- package/dist/esm/generated/operations/crossupsell.js +30 -1
- package/dist/esm/generated/operations/crossupsellCreate.js +30 -1
- package/dist/esm/generated/operations/crossupsellUpdate.js +30 -1
- package/dist/esm/generated/operations/crossupsells.js +30 -1
- package/dist/esm/generated/operations/favoriteList.js +30 -1
- package/dist/esm/generated/operations/machine.js +30 -1
- package/dist/esm/generated/operations/machineCreate.js +30 -1
- package/dist/esm/generated/operations/machineUpsert.js +30 -1
- package/dist/esm/generated/operations/machines.js +30 -1
- package/dist/esm/generated/operations/products.js +30 -1
- package/package.json +1 -1
|
@@ -96,6 +96,11 @@ fragment ProductGridFields on Product {
|
|
|
96
96
|
...IBaseProductFields
|
|
97
97
|
productId
|
|
98
98
|
categoryId
|
|
99
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
100
|
+
items {
|
|
101
|
+
...AttributeResultGridFields
|
|
102
|
+
}
|
|
103
|
+
}
|
|
99
104
|
inventory {
|
|
100
105
|
...ProductInventoryFields
|
|
101
106
|
}
|
|
@@ -144,6 +149,30 @@ fragment ProductGridFields on Product {
|
|
|
144
149
|
containerClass
|
|
145
150
|
}
|
|
146
151
|
|
|
152
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
153
|
+
attributeDescription {
|
|
154
|
+
name
|
|
155
|
+
}
|
|
156
|
+
value {
|
|
157
|
+
__typename
|
|
158
|
+
... on AttributeTextValue {
|
|
159
|
+
textValues {
|
|
160
|
+
language
|
|
161
|
+
values
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
... on AttributeEnumValue {
|
|
165
|
+
enumValues
|
|
166
|
+
}
|
|
167
|
+
... on AttributeIntValue {
|
|
168
|
+
intValue
|
|
169
|
+
}
|
|
170
|
+
... on AttributeDecimalValue {
|
|
171
|
+
decimalValue
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
147
176
|
fragment ProductInventoryFields on ProductInventory {
|
|
148
177
|
productId
|
|
149
178
|
totalQuantity
|
|
@@ -311,7 +340,7 @@ fragment ProductClusterOptionsFields on Product {
|
|
|
311
340
|
orderableTo
|
|
312
341
|
}
|
|
313
342
|
|
|
314
|
-
mutation crossupsellCreate(\$input: CrossupsellCreateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput
|
|
343
|
+
mutation crossupsellCreate(\$input: CrossupsellCreateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
315
344
|
crossupsellCreate(input: \$input) {
|
|
316
345
|
...CrossupsellFields
|
|
317
346
|
}
|
|
@@ -96,6 +96,11 @@ fragment ProductGridFields on Product {
|
|
|
96
96
|
...IBaseProductFields
|
|
97
97
|
productId
|
|
98
98
|
categoryId
|
|
99
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
100
|
+
items {
|
|
101
|
+
...AttributeResultGridFields
|
|
102
|
+
}
|
|
103
|
+
}
|
|
99
104
|
inventory {
|
|
100
105
|
...ProductInventoryFields
|
|
101
106
|
}
|
|
@@ -144,6 +149,30 @@ fragment ProductGridFields on Product {
|
|
|
144
149
|
containerClass
|
|
145
150
|
}
|
|
146
151
|
|
|
152
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
153
|
+
attributeDescription {
|
|
154
|
+
name
|
|
155
|
+
}
|
|
156
|
+
value {
|
|
157
|
+
__typename
|
|
158
|
+
... on AttributeTextValue {
|
|
159
|
+
textValues {
|
|
160
|
+
language
|
|
161
|
+
values
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
... on AttributeEnumValue {
|
|
165
|
+
enumValues
|
|
166
|
+
}
|
|
167
|
+
... on AttributeIntValue {
|
|
168
|
+
intValue
|
|
169
|
+
}
|
|
170
|
+
... on AttributeDecimalValue {
|
|
171
|
+
decimalValue
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
147
176
|
fragment ProductInventoryFields on ProductInventory {
|
|
148
177
|
productId
|
|
149
178
|
totalQuantity
|
|
@@ -311,7 +340,7 @@ fragment ProductClusterOptionsFields on Product {
|
|
|
311
340
|
orderableTo
|
|
312
341
|
}
|
|
313
342
|
|
|
314
|
-
mutation crossupsellUpdate(\$id: String!, \$input: CrossupsellUpdateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput
|
|
343
|
+
mutation crossupsellUpdate(\$id: String!, \$input: CrossupsellUpdateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
315
344
|
crossupsellUpdate(id: \$id, input: \$input) {
|
|
316
345
|
...CrossupsellFields
|
|
317
346
|
}
|
|
@@ -108,6 +108,11 @@ fragment ProductGridFields on Product {
|
|
|
108
108
|
...IBaseProductFields
|
|
109
109
|
productId
|
|
110
110
|
categoryId
|
|
111
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
112
|
+
items {
|
|
113
|
+
...AttributeResultGridFields
|
|
114
|
+
}
|
|
115
|
+
}
|
|
111
116
|
inventory {
|
|
112
117
|
...ProductInventoryFields
|
|
113
118
|
}
|
|
@@ -156,6 +161,30 @@ fragment ProductGridFields on Product {
|
|
|
156
161
|
containerClass
|
|
157
162
|
}
|
|
158
163
|
|
|
164
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
165
|
+
attributeDescription {
|
|
166
|
+
name
|
|
167
|
+
}
|
|
168
|
+
value {
|
|
169
|
+
__typename
|
|
170
|
+
... on AttributeTextValue {
|
|
171
|
+
textValues {
|
|
172
|
+
language
|
|
173
|
+
values
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
... on AttributeEnumValue {
|
|
177
|
+
enumValues
|
|
178
|
+
}
|
|
179
|
+
... on AttributeIntValue {
|
|
180
|
+
intValue
|
|
181
|
+
}
|
|
182
|
+
... on AttributeDecimalValue {
|
|
183
|
+
decimalValue
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
159
188
|
fragment ProductInventoryFields on ProductInventory {
|
|
160
189
|
productId
|
|
161
190
|
totalQuantity
|
|
@@ -323,7 +352,7 @@ fragment ProductClusterOptionsFields on Product {
|
|
|
323
352
|
orderableTo
|
|
324
353
|
}
|
|
325
354
|
|
|
326
|
-
query crossupsells(\$input: CrossupsellSearchInput, \$language: String, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput
|
|
355
|
+
query crossupsells(\$input: CrossupsellSearchInput, \$language: String, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
327
356
|
crossupsells(input: \$input) {
|
|
328
357
|
...CrossupsellsResponseFields
|
|
329
358
|
}
|
|
@@ -99,6 +99,11 @@ fragment ProductGridFields on Product {
|
|
|
99
99
|
...IBaseProductFields
|
|
100
100
|
productId
|
|
101
101
|
categoryId
|
|
102
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
103
|
+
items {
|
|
104
|
+
...AttributeResultGridFields
|
|
105
|
+
}
|
|
106
|
+
}
|
|
102
107
|
inventory {
|
|
103
108
|
...ProductInventoryFields
|
|
104
109
|
}
|
|
@@ -147,6 +152,30 @@ fragment ProductGridFields on Product {
|
|
|
147
152
|
containerClass
|
|
148
153
|
}
|
|
149
154
|
|
|
155
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
156
|
+
attributeDescription {
|
|
157
|
+
name
|
|
158
|
+
}
|
|
159
|
+
value {
|
|
160
|
+
__typename
|
|
161
|
+
... on AttributeTextValue {
|
|
162
|
+
textValues {
|
|
163
|
+
language
|
|
164
|
+
values
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
... on AttributeEnumValue {
|
|
168
|
+
enumValues
|
|
169
|
+
}
|
|
170
|
+
... on AttributeIntValue {
|
|
171
|
+
intValue
|
|
172
|
+
}
|
|
173
|
+
... on AttributeDecimalValue {
|
|
174
|
+
decimalValue
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
150
179
|
fragment ProductInventoryFields on ProductInventory {
|
|
151
180
|
productId
|
|
152
181
|
totalQuantity
|
|
@@ -314,7 +343,7 @@ fragment ProductClusterOptionsFields on Product {
|
|
|
314
343
|
orderableTo
|
|
315
344
|
}
|
|
316
345
|
|
|
317
|
-
query favoriteList(\$id: String!, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput
|
|
346
|
+
query favoriteList(\$id: String!, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
318
347
|
favoriteList(id: \$id) {
|
|
319
348
|
...FavoriteListFields
|
|
320
349
|
}
|
|
@@ -167,6 +167,11 @@ fragment ProductGridFields on Product {
|
|
|
167
167
|
...IBaseProductFields
|
|
168
168
|
productId
|
|
169
169
|
categoryId
|
|
170
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
171
|
+
items {
|
|
172
|
+
...AttributeResultGridFields
|
|
173
|
+
}
|
|
174
|
+
}
|
|
170
175
|
inventory {
|
|
171
176
|
...ProductInventoryFields
|
|
172
177
|
}
|
|
@@ -215,6 +220,30 @@ fragment ProductGridFields on Product {
|
|
|
215
220
|
containerClass
|
|
216
221
|
}
|
|
217
222
|
|
|
223
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
224
|
+
attributeDescription {
|
|
225
|
+
name
|
|
226
|
+
}
|
|
227
|
+
value {
|
|
228
|
+
__typename
|
|
229
|
+
... on AttributeTextValue {
|
|
230
|
+
textValues {
|
|
231
|
+
language
|
|
232
|
+
values
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
... on AttributeEnumValue {
|
|
236
|
+
enumValues
|
|
237
|
+
}
|
|
238
|
+
... on AttributeIntValue {
|
|
239
|
+
intValue
|
|
240
|
+
}
|
|
241
|
+
... on AttributeDecimalValue {
|
|
242
|
+
decimalValue
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
218
247
|
fragment ProductInventoryFields on ProductInventory {
|
|
219
248
|
productId
|
|
220
249
|
totalQuantity
|
|
@@ -378,7 +407,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
378
407
|
}
|
|
379
408
|
}
|
|
380
409
|
|
|
381
|
-
query machine(\$id: String, \$slug: String, \$language: String, \$source: String, \$sourceId: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
|
|
410
|
+
query machine(\$id: String, \$slug: String, \$language: String, \$source: String, \$sourceId: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
382
411
|
machine(
|
|
383
412
|
id: \$id
|
|
384
413
|
slug: \$slug
|
|
@@ -167,6 +167,11 @@ fragment ProductGridFields on Product {
|
|
|
167
167
|
...IBaseProductFields
|
|
168
168
|
productId
|
|
169
169
|
categoryId
|
|
170
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
171
|
+
items {
|
|
172
|
+
...AttributeResultGridFields
|
|
173
|
+
}
|
|
174
|
+
}
|
|
170
175
|
inventory {
|
|
171
176
|
...ProductInventoryFields
|
|
172
177
|
}
|
|
@@ -215,6 +220,30 @@ fragment ProductGridFields on Product {
|
|
|
215
220
|
containerClass
|
|
216
221
|
}
|
|
217
222
|
|
|
223
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
224
|
+
attributeDescription {
|
|
225
|
+
name
|
|
226
|
+
}
|
|
227
|
+
value {
|
|
228
|
+
__typename
|
|
229
|
+
... on AttributeTextValue {
|
|
230
|
+
textValues {
|
|
231
|
+
language
|
|
232
|
+
values
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
... on AttributeEnumValue {
|
|
236
|
+
enumValues
|
|
237
|
+
}
|
|
238
|
+
... on AttributeIntValue {
|
|
239
|
+
intValue
|
|
240
|
+
}
|
|
241
|
+
... on AttributeDecimalValue {
|
|
242
|
+
decimalValue
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
218
247
|
fragment ProductInventoryFields on ProductInventory {
|
|
219
248
|
productId
|
|
220
249
|
totalQuantity
|
|
@@ -378,7 +407,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
378
407
|
}
|
|
379
408
|
}
|
|
380
409
|
|
|
381
|
-
mutation machineCreate(\$input: CreateSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
|
|
410
|
+
mutation machineCreate(\$input: CreateSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
382
411
|
machineCreate(input: \$input) {
|
|
383
412
|
...SparePartsMachineFields
|
|
384
413
|
}
|
|
@@ -167,6 +167,11 @@ fragment ProductGridFields on Product {
|
|
|
167
167
|
...IBaseProductFields
|
|
168
168
|
productId
|
|
169
169
|
categoryId
|
|
170
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
171
|
+
items {
|
|
172
|
+
...AttributeResultGridFields
|
|
173
|
+
}
|
|
174
|
+
}
|
|
170
175
|
inventory {
|
|
171
176
|
...ProductInventoryFields
|
|
172
177
|
}
|
|
@@ -215,6 +220,30 @@ fragment ProductGridFields on Product {
|
|
|
215
220
|
containerClass
|
|
216
221
|
}
|
|
217
222
|
|
|
223
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
224
|
+
attributeDescription {
|
|
225
|
+
name
|
|
226
|
+
}
|
|
227
|
+
value {
|
|
228
|
+
__typename
|
|
229
|
+
... on AttributeTextValue {
|
|
230
|
+
textValues {
|
|
231
|
+
language
|
|
232
|
+
values
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
... on AttributeEnumValue {
|
|
236
|
+
enumValues
|
|
237
|
+
}
|
|
238
|
+
... on AttributeIntValue {
|
|
239
|
+
intValue
|
|
240
|
+
}
|
|
241
|
+
... on AttributeDecimalValue {
|
|
242
|
+
decimalValue
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
218
247
|
fragment ProductInventoryFields on ProductInventory {
|
|
219
248
|
productId
|
|
220
249
|
totalQuantity
|
|
@@ -378,7 +407,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
378
407
|
}
|
|
379
408
|
}
|
|
380
409
|
|
|
381
|
-
mutation machineUpsert(\$input: UpsertSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
|
|
410
|
+
mutation machineUpsert(\$input: UpsertSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
382
411
|
machineUpsert(input: \$input) {
|
|
383
412
|
...SparePartsMachineFields
|
|
384
413
|
}
|
|
@@ -179,6 +179,11 @@ fragment ProductGridFields on Product {
|
|
|
179
179
|
...IBaseProductFields
|
|
180
180
|
productId
|
|
181
181
|
categoryId
|
|
182
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
183
|
+
items {
|
|
184
|
+
...AttributeResultGridFields
|
|
185
|
+
}
|
|
186
|
+
}
|
|
182
187
|
inventory {
|
|
183
188
|
...ProductInventoryFields
|
|
184
189
|
}
|
|
@@ -227,6 +232,30 @@ fragment ProductGridFields on Product {
|
|
|
227
232
|
containerClass
|
|
228
233
|
}
|
|
229
234
|
|
|
235
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
236
|
+
attributeDescription {
|
|
237
|
+
name
|
|
238
|
+
}
|
|
239
|
+
value {
|
|
240
|
+
__typename
|
|
241
|
+
... on AttributeTextValue {
|
|
242
|
+
textValues {
|
|
243
|
+
language
|
|
244
|
+
values
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
... on AttributeEnumValue {
|
|
248
|
+
enumValues
|
|
249
|
+
}
|
|
250
|
+
... on AttributeIntValue {
|
|
251
|
+
intValue
|
|
252
|
+
}
|
|
253
|
+
... on AttributeDecimalValue {
|
|
254
|
+
decimalValue
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
230
259
|
fragment ProductInventoryFields on ProductInventory {
|
|
231
260
|
productId
|
|
232
261
|
totalQuantity
|
|
@@ -390,7 +419,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
390
419
|
}
|
|
391
420
|
}
|
|
392
421
|
|
|
393
|
-
query machines(\$input: SearchSparePartsMachineInput, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
|
|
422
|
+
query machines(\$input: SearchSparePartsMachineInput, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
394
423
|
machines(input: \$input) {
|
|
395
424
|
...SparePartsMachineResponseFields
|
|
396
425
|
}
|
|
@@ -78,6 +78,11 @@ fragment ProductGridFields on Product {
|
|
|
78
78
|
...IBaseProductFields
|
|
79
79
|
productId
|
|
80
80
|
categoryId
|
|
81
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
82
|
+
items {
|
|
83
|
+
...AttributeResultGridFields
|
|
84
|
+
}
|
|
85
|
+
}
|
|
81
86
|
inventory {
|
|
82
87
|
...ProductInventoryFields
|
|
83
88
|
}
|
|
@@ -126,6 +131,30 @@ fragment ProductGridFields on Product {
|
|
|
126
131
|
containerClass
|
|
127
132
|
}
|
|
128
133
|
|
|
134
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
135
|
+
attributeDescription {
|
|
136
|
+
name
|
|
137
|
+
}
|
|
138
|
+
value {
|
|
139
|
+
__typename
|
|
140
|
+
... on AttributeTextValue {
|
|
141
|
+
textValues {
|
|
142
|
+
language
|
|
143
|
+
values
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
... on AttributeEnumValue {
|
|
147
|
+
enumValues
|
|
148
|
+
}
|
|
149
|
+
... on AttributeIntValue {
|
|
150
|
+
intValue
|
|
151
|
+
}
|
|
152
|
+
... on AttributeDecimalValue {
|
|
153
|
+
decimalValue
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
129
158
|
fragment ProductInventoryFields on ProductInventory {
|
|
130
159
|
productId
|
|
131
160
|
totalQuantity
|
|
@@ -326,7 +355,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
326
355
|
}
|
|
327
356
|
}
|
|
328
357
|
|
|
329
|
-
query products(\$input: ProductSearchInput, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$filterAvailableAttributeInput: FilterAvailableAttributeInput) {
|
|
358
|
+
query products(\$input: ProductSearchInput, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
330
359
|
products(input: \$input) {
|
|
331
360
|
...ProductsResponseFields
|
|
332
361
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propeller-commerce/propeller-sdk-v2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "TypeScript GraphQL client for Propeller eCommerce V2 Platform - works with React, Vue, Angular and all JavaScript frameworks",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|