@propeller-commerce/propeller-sdk-v2 0.15.0 → 0.17.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +115 -4
  2. package/dist/cjs/generated/operationVariables.d.ts +21 -0
  3. package/dist/cjs/generated/operations/category.js +30 -1
  4. package/dist/cjs/generated/operations/categoryAddProductsClusters.js +30 -1
  5. package/dist/cjs/generated/operations/categoryBySlug.js +30 -1
  6. package/dist/cjs/generated/operations/categoryBySource.js +30 -1
  7. package/dist/cjs/generated/operations/categoryChildren.js +30 -1
  8. package/dist/cjs/generated/operations/categoryCreate.js +30 -1
  9. package/dist/cjs/generated/operations/categoryHierarchy.js +30 -1
  10. package/dist/cjs/generated/operations/categoryMoveAbove.js +30 -1
  11. package/dist/cjs/generated/operations/categoryMoveBelow.js +30 -1
  12. package/dist/cjs/generated/operations/categoryRemoveProductsClusters.js +30 -1
  13. package/dist/cjs/generated/operations/categoryUpdate.js +30 -1
  14. package/dist/cjs/generated/operations/crossupsell.js +30 -1
  15. package/dist/cjs/generated/operations/crossupsellCreate.js +30 -1
  16. package/dist/cjs/generated/operations/crossupsellUpdate.js +30 -1
  17. package/dist/cjs/generated/operations/crossupsells.js +30 -1
  18. package/dist/cjs/generated/operations/favoriteList.js +30 -1
  19. package/dist/cjs/generated/operations/machine.js +33 -4
  20. package/dist/cjs/generated/operations/machineCreate.js +33 -4
  21. package/dist/cjs/generated/operations/machineUpsert.js +33 -4
  22. package/dist/cjs/generated/operations/machines.js +33 -4
  23. package/dist/cjs/generated/operations/products.js +30 -1
  24. package/dist/cjs/service/CategoryService.d.ts +2 -0
  25. package/dist/cjs/service/CrossupsellService.d.ts +3 -0
  26. package/dist/cjs/service/ProductService.d.ts +2 -0
  27. package/dist/cjs/type/CartBaseItem.d.ts +13 -2
  28. package/dist/cjs/type/CartMainItem.d.ts +13 -2
  29. package/dist/cjs/type/TenderMainItem.d.ts +13 -2
  30. package/dist/esm/generated/operations/category.js +30 -1
  31. package/dist/esm/generated/operations/categoryAddProductsClusters.js +30 -1
  32. package/dist/esm/generated/operations/categoryBySlug.js +30 -1
  33. package/dist/esm/generated/operations/categoryBySource.js +30 -1
  34. package/dist/esm/generated/operations/categoryChildren.js +30 -1
  35. package/dist/esm/generated/operations/categoryCreate.js +30 -1
  36. package/dist/esm/generated/operations/categoryHierarchy.js +30 -1
  37. package/dist/esm/generated/operations/categoryMoveAbove.js +30 -1
  38. package/dist/esm/generated/operations/categoryMoveBelow.js +30 -1
  39. package/dist/esm/generated/operations/categoryRemoveProductsClusters.js +30 -1
  40. package/dist/esm/generated/operations/categoryUpdate.js +30 -1
  41. package/dist/esm/generated/operations/crossupsell.js +30 -1
  42. package/dist/esm/generated/operations/crossupsellCreate.js +30 -1
  43. package/dist/esm/generated/operations/crossupsellUpdate.js +30 -1
  44. package/dist/esm/generated/operations/crossupsells.js +30 -1
  45. package/dist/esm/generated/operations/favoriteList.js +30 -1
  46. package/dist/esm/generated/operations/machine.js +33 -4
  47. package/dist/esm/generated/operations/machineCreate.js +33 -4
  48. package/dist/esm/generated/operations/machineUpsert.js +33 -4
  49. package/dist/esm/generated/operations/machines.js +33 -4
  50. package/dist/esm/generated/operations/products.js +30 -1
  51. package/package.json +1 -1
@@ -376,6 +376,11 @@ fragment ProductGridFields on Product {
376
376
  ...IBaseProductFields
377
377
  productId
378
378
  categoryId
379
+ attributes(input: \$attributeResultSearchInput) {
380
+ items {
381
+ ...AttributeResultGridFields
382
+ }
383
+ }
379
384
  inventory {
380
385
  ...ProductInventoryFields
381
386
  }
@@ -424,6 +429,30 @@ fragment ProductGridFields on Product {
424
429
  containerClass
425
430
  }
426
431
 
432
+ fragment AttributeResultGridFields on AttributeResult {
433
+ attributeDescription {
434
+ name
435
+ }
436
+ value {
437
+ __typename
438
+ ... on AttributeTextValue {
439
+ textValues {
440
+ language
441
+ values
442
+ }
443
+ }
444
+ ... on AttributeEnumValue {
445
+ enumValues
446
+ }
447
+ ... on AttributeIntValue {
448
+ intValue
449
+ }
450
+ ... on AttributeDecimalValue {
451
+ decimalValue
452
+ }
453
+ }
454
+ }
455
+
427
456
  fragment ProductInventoryFields on ProductInventory {
428
457
  productId
429
458
  totalQuantity
@@ -624,7 +653,7 @@ fragment AttributeFilterFields on AttributeFilter {
624
653
  }
625
654
  }
626
655
 
627
- mutation categoryMoveAbove(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
656
+ mutation categoryMoveAbove(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
628
657
  categoryMoveAbove(
629
658
  categoryUuid: \$categoryUuid
630
659
  targetCategoryUuid: \$targetCategoryUuid
@@ -376,6 +376,11 @@ fragment ProductGridFields on Product {
376
376
  ...IBaseProductFields
377
377
  productId
378
378
  categoryId
379
+ attributes(input: \$attributeResultSearchInput) {
380
+ items {
381
+ ...AttributeResultGridFields
382
+ }
383
+ }
379
384
  inventory {
380
385
  ...ProductInventoryFields
381
386
  }
@@ -424,6 +429,30 @@ fragment ProductGridFields on Product {
424
429
  containerClass
425
430
  }
426
431
 
432
+ fragment AttributeResultGridFields on AttributeResult {
433
+ attributeDescription {
434
+ name
435
+ }
436
+ value {
437
+ __typename
438
+ ... on AttributeTextValue {
439
+ textValues {
440
+ language
441
+ values
442
+ }
443
+ }
444
+ ... on AttributeEnumValue {
445
+ enumValues
446
+ }
447
+ ... on AttributeIntValue {
448
+ intValue
449
+ }
450
+ ... on AttributeDecimalValue {
451
+ decimalValue
452
+ }
453
+ }
454
+ }
455
+
427
456
  fragment ProductInventoryFields on ProductInventory {
428
457
  productId
429
458
  totalQuantity
@@ -624,7 +653,7 @@ fragment AttributeFilterFields on AttributeFilter {
624
653
  }
625
654
  }
626
655
 
627
- mutation categoryMoveBelow(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
656
+ mutation categoryMoveBelow(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
628
657
  categoryMoveBelow(
629
658
  categoryUuid: \$categoryUuid
630
659
  targetCategoryUuid: \$targetCategoryUuid
@@ -385,6 +385,11 @@ fragment ProductGridFields on Product {
385
385
  ...IBaseProductFields
386
386
  productId
387
387
  categoryId
388
+ attributes(input: \$attributeResultSearchInput) {
389
+ items {
390
+ ...AttributeResultGridFields
391
+ }
392
+ }
388
393
  inventory {
389
394
  ...ProductInventoryFields
390
395
  }
@@ -433,6 +438,30 @@ fragment ProductGridFields on Product {
433
438
  containerClass
434
439
  }
435
440
 
441
+ fragment AttributeResultGridFields on AttributeResult {
442
+ attributeDescription {
443
+ name
444
+ }
445
+ value {
446
+ __typename
447
+ ... on AttributeTextValue {
448
+ textValues {
449
+ language
450
+ values
451
+ }
452
+ }
453
+ ... on AttributeEnumValue {
454
+ enumValues
455
+ }
456
+ ... on AttributeIntValue {
457
+ intValue
458
+ }
459
+ ... on AttributeDecimalValue {
460
+ decimalValue
461
+ }
462
+ }
463
+ }
464
+
436
465
  fragment ProductInventoryFields on ProductInventory {
437
466
  productId
438
467
  totalQuantity
@@ -633,7 +662,7 @@ fragment AttributeFilterFields on AttributeFilter {
633
662
  }
634
663
  }
635
664
 
636
- mutation categoryRemoveProductsClusters(\$id: Int!, \$input: CategoryRemoveProductsClustersInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
665
+ mutation categoryRemoveProductsClusters(\$id: Int!, \$input: CategoryRemoveProductsClustersInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
637
666
  categoryRemoveProductsClusters(id: \$id, input: \$input) {
638
667
  ...CategoryRemoveProductsClustersResponseFields
639
668
  }
@@ -376,6 +376,11 @@ fragment ProductGridFields on Product {
376
376
  ...IBaseProductFields
377
377
  productId
378
378
  categoryId
379
+ attributes(input: \$attributeResultSearchInput) {
380
+ items {
381
+ ...AttributeResultGridFields
382
+ }
383
+ }
379
384
  inventory {
380
385
  ...ProductInventoryFields
381
386
  }
@@ -424,6 +429,30 @@ fragment ProductGridFields on Product {
424
429
  containerClass
425
430
  }
426
431
 
432
+ fragment AttributeResultGridFields on AttributeResult {
433
+ attributeDescription {
434
+ name
435
+ }
436
+ value {
437
+ __typename
438
+ ... on AttributeTextValue {
439
+ textValues {
440
+ language
441
+ values
442
+ }
443
+ }
444
+ ... on AttributeEnumValue {
445
+ enumValues
446
+ }
447
+ ... on AttributeIntValue {
448
+ intValue
449
+ }
450
+ ... on AttributeDecimalValue {
451
+ decimalValue
452
+ }
453
+ }
454
+ }
455
+
427
456
  fragment ProductInventoryFields on ProductInventory {
428
457
  productId
429
458
  totalQuantity
@@ -624,7 +653,7 @@ fragment AttributeFilterFields on AttributeFilter {
624
653
  }
625
654
  }
626
655
 
627
- mutation categoryUpdate(\$categoryId: Float!, \$input: UpdateCategoryInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
656
+ mutation categoryUpdate(\$categoryId: Float!, \$input: UpdateCategoryInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
628
657
  categoryUpdate(categoryId: \$categoryId, input: \$input) {
629
658
  ...CategoryFields
630
659
  }
@@ -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 crossupsell(\$id: String!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!) {
346
+ query crossupsell(\$id: String!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
318
347
  crossupsell(id: \$id) {
319
348
  ...CrossupsellFields
320
349
  }
@@ -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
- mutation crossupsellCreate(\$input: CrossupsellCreateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!) {
346
+ mutation crossupsellCreate(\$input: CrossupsellCreateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
318
347
  crossupsellCreate(input: \$input) {
319
348
  ...CrossupsellFields
320
349
  }
@@ -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
- mutation crossupsellUpdate(\$id: String!, \$input: CrossupsellUpdateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!) {
346
+ mutation crossupsellUpdate(\$id: String!, \$input: CrossupsellUpdateInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
318
347
  crossupsellUpdate(id: \$id, input: \$input) {
319
348
  ...CrossupsellFields
320
349
  }
@@ -111,6 +111,11 @@ fragment ProductGridFields on Product {
111
111
  ...IBaseProductFields
112
112
  productId
113
113
  categoryId
114
+ attributes(input: \$attributeResultSearchInput) {
115
+ items {
116
+ ...AttributeResultGridFields
117
+ }
118
+ }
114
119
  inventory {
115
120
  ...ProductInventoryFields
116
121
  }
@@ -159,6 +164,30 @@ fragment ProductGridFields on Product {
159
164
  containerClass
160
165
  }
161
166
 
167
+ fragment AttributeResultGridFields on AttributeResult {
168
+ attributeDescription {
169
+ name
170
+ }
171
+ value {
172
+ __typename
173
+ ... on AttributeTextValue {
174
+ textValues {
175
+ language
176
+ values
177
+ }
178
+ }
179
+ ... on AttributeEnumValue {
180
+ enumValues
181
+ }
182
+ ... on AttributeIntValue {
183
+ intValue
184
+ }
185
+ ... on AttributeDecimalValue {
186
+ decimalValue
187
+ }
188
+ }
189
+ }
190
+
162
191
  fragment ProductInventoryFields on ProductInventory {
163
192
  productId
164
193
  totalQuantity
@@ -326,7 +355,7 @@ fragment ProductClusterOptionsFields on Product {
326
355
  orderableTo
327
356
  }
328
357
 
329
- query crossupsells(\$input: CrossupsellSearchInput, \$language: String, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput!) {
358
+ query crossupsells(\$input: CrossupsellSearchInput, \$language: String, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
330
359
  crossupsells(input: \$input) {
331
360
  ...CrossupsellsResponseFields
332
361
  }
@@ -102,6 +102,11 @@ fragment ProductGridFields on Product {
102
102
  ...IBaseProductFields
103
103
  productId
104
104
  categoryId
105
+ attributes(input: \$attributeResultSearchInput) {
106
+ items {
107
+ ...AttributeResultGridFields
108
+ }
109
+ }
105
110
  inventory {
106
111
  ...ProductInventoryFields
107
112
  }
@@ -150,6 +155,30 @@ fragment ProductGridFields on Product {
150
155
  containerClass
151
156
  }
152
157
 
158
+ fragment AttributeResultGridFields on AttributeResult {
159
+ attributeDescription {
160
+ name
161
+ }
162
+ value {
163
+ __typename
164
+ ... on AttributeTextValue {
165
+ textValues {
166
+ language
167
+ values
168
+ }
169
+ }
170
+ ... on AttributeEnumValue {
171
+ enumValues
172
+ }
173
+ ... on AttributeIntValue {
174
+ intValue
175
+ }
176
+ ... on AttributeDecimalValue {
177
+ decimalValue
178
+ }
179
+ }
180
+ }
181
+
153
182
  fragment ProductInventoryFields on ProductInventory {
154
183
  productId
155
184
  totalQuantity
@@ -317,7 +346,7 @@ fragment ProductClusterOptionsFields on Product {
317
346
  orderableTo
318
347
  }
319
348
 
320
- query favoriteList(\$id: String!, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
349
+ query favoriteList(\$id: String!, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
321
350
  favoriteList(id: \$id) {
322
351
  ...FavoriteListFields
323
352
  }
@@ -17,13 +17,13 @@ fragment SparePartsMachineMinimalFields on SparePartsMachine {
17
17
  media {
18
18
  ...SparePartsMachineMediaImagesOnlyFields
19
19
  }
20
- name(language: \$language) {
20
+ name {
21
21
  ...LocalizedStringFields
22
22
  }
23
- description(language: \$language) {
23
+ description {
24
24
  ...LocalizedStringFields
25
25
  }
26
- slug(language: \$language) {
26
+ slug {
27
27
  ...LocalizedStringFields
28
28
  }
29
29
  }
@@ -170,6 +170,11 @@ fragment ProductGridFields on Product {
170
170
  ...IBaseProductFields
171
171
  productId
172
172
  categoryId
173
+ attributes(input: \$attributeResultSearchInput) {
174
+ items {
175
+ ...AttributeResultGridFields
176
+ }
177
+ }
173
178
  inventory {
174
179
  ...ProductInventoryFields
175
180
  }
@@ -218,6 +223,30 @@ fragment ProductGridFields on Product {
218
223
  containerClass
219
224
  }
220
225
 
226
+ fragment AttributeResultGridFields on AttributeResult {
227
+ attributeDescription {
228
+ name
229
+ }
230
+ value {
231
+ __typename
232
+ ... on AttributeTextValue {
233
+ textValues {
234
+ language
235
+ values
236
+ }
237
+ }
238
+ ... on AttributeEnumValue {
239
+ enumValues
240
+ }
241
+ ... on AttributeIntValue {
242
+ intValue
243
+ }
244
+ ... on AttributeDecimalValue {
245
+ decimalValue
246
+ }
247
+ }
248
+ }
249
+
221
250
  fragment ProductInventoryFields on ProductInventory {
222
251
  productId
223
252
  totalQuantity
@@ -381,7 +410,7 @@ fragment AttributeFilterFields on AttributeFilter {
381
410
  }
382
411
  }
383
412
 
384
- query machine(\$id: String, \$slug: String, \$language: String, \$source: String, \$sourceId: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
413
+ query machine(\$id: String, \$slug: String, \$language: String, \$source: String, \$sourceId: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
385
414
  machine(
386
415
  id: \$id
387
416
  slug: \$slug
@@ -17,13 +17,13 @@ fragment SparePartsMachineMinimalFields on SparePartsMachine {
17
17
  media {
18
18
  ...SparePartsMachineMediaImagesOnlyFields
19
19
  }
20
- name(language: \$language) {
20
+ name {
21
21
  ...LocalizedStringFields
22
22
  }
23
- description(language: \$language) {
23
+ description {
24
24
  ...LocalizedStringFields
25
25
  }
26
- slug(language: \$language) {
26
+ slug {
27
27
  ...LocalizedStringFields
28
28
  }
29
29
  }
@@ -170,6 +170,11 @@ fragment ProductGridFields on Product {
170
170
  ...IBaseProductFields
171
171
  productId
172
172
  categoryId
173
+ attributes(input: \$attributeResultSearchInput) {
174
+ items {
175
+ ...AttributeResultGridFields
176
+ }
177
+ }
173
178
  inventory {
174
179
  ...ProductInventoryFields
175
180
  }
@@ -218,6 +223,30 @@ fragment ProductGridFields on Product {
218
223
  containerClass
219
224
  }
220
225
 
226
+ fragment AttributeResultGridFields on AttributeResult {
227
+ attributeDescription {
228
+ name
229
+ }
230
+ value {
231
+ __typename
232
+ ... on AttributeTextValue {
233
+ textValues {
234
+ language
235
+ values
236
+ }
237
+ }
238
+ ... on AttributeEnumValue {
239
+ enumValues
240
+ }
241
+ ... on AttributeIntValue {
242
+ intValue
243
+ }
244
+ ... on AttributeDecimalValue {
245
+ decimalValue
246
+ }
247
+ }
248
+ }
249
+
221
250
  fragment ProductInventoryFields on ProductInventory {
222
251
  productId
223
252
  totalQuantity
@@ -381,7 +410,7 @@ fragment AttributeFilterFields on AttributeFilter {
381
410
  }
382
411
  }
383
412
 
384
- mutation machineCreate(\$input: CreateSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
413
+ mutation machineCreate(\$input: CreateSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
385
414
  machineCreate(input: \$input) {
386
415
  ...SparePartsMachineFields
387
416
  }
@@ -17,13 +17,13 @@ fragment SparePartsMachineMinimalFields on SparePartsMachine {
17
17
  media {
18
18
  ...SparePartsMachineMediaImagesOnlyFields
19
19
  }
20
- name(language: \$language) {
20
+ name {
21
21
  ...LocalizedStringFields
22
22
  }
23
- description(language: \$language) {
23
+ description {
24
24
  ...LocalizedStringFields
25
25
  }
26
- slug(language: \$language) {
26
+ slug {
27
27
  ...LocalizedStringFields
28
28
  }
29
29
  }
@@ -170,6 +170,11 @@ fragment ProductGridFields on Product {
170
170
  ...IBaseProductFields
171
171
  productId
172
172
  categoryId
173
+ attributes(input: \$attributeResultSearchInput) {
174
+ items {
175
+ ...AttributeResultGridFields
176
+ }
177
+ }
173
178
  inventory {
174
179
  ...ProductInventoryFields
175
180
  }
@@ -218,6 +223,30 @@ fragment ProductGridFields on Product {
218
223
  containerClass
219
224
  }
220
225
 
226
+ fragment AttributeResultGridFields on AttributeResult {
227
+ attributeDescription {
228
+ name
229
+ }
230
+ value {
231
+ __typename
232
+ ... on AttributeTextValue {
233
+ textValues {
234
+ language
235
+ values
236
+ }
237
+ }
238
+ ... on AttributeEnumValue {
239
+ enumValues
240
+ }
241
+ ... on AttributeIntValue {
242
+ intValue
243
+ }
244
+ ... on AttributeDecimalValue {
245
+ decimalValue
246
+ }
247
+ }
248
+ }
249
+
221
250
  fragment ProductInventoryFields on ProductInventory {
222
251
  productId
223
252
  totalQuantity
@@ -381,7 +410,7 @@ fragment AttributeFilterFields on AttributeFilter {
381
410
  }
382
411
  }
383
412
 
384
- mutation machineUpsert(\$input: UpsertSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
413
+ mutation machineUpsert(\$input: UpsertSparePartsMachineInput!, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
385
414
  machineUpsert(input: \$input) {
386
415
  ...SparePartsMachineFields
387
416
  }