@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.
Files changed (48) hide show
  1. package/CHANGELOG.md +75 -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 +30 -1
  20. package/dist/cjs/generated/operations/machineCreate.js +30 -1
  21. package/dist/cjs/generated/operations/machineUpsert.js +30 -1
  22. package/dist/cjs/generated/operations/machines.js +30 -1
  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/esm/generated/operations/category.js +30 -1
  28. package/dist/esm/generated/operations/categoryAddProductsClusters.js +30 -1
  29. package/dist/esm/generated/operations/categoryBySlug.js +30 -1
  30. package/dist/esm/generated/operations/categoryBySource.js +30 -1
  31. package/dist/esm/generated/operations/categoryChildren.js +30 -1
  32. package/dist/esm/generated/operations/categoryCreate.js +30 -1
  33. package/dist/esm/generated/operations/categoryHierarchy.js +30 -1
  34. package/dist/esm/generated/operations/categoryMoveAbove.js +30 -1
  35. package/dist/esm/generated/operations/categoryMoveBelow.js +30 -1
  36. package/dist/esm/generated/operations/categoryRemoveProductsClusters.js +30 -1
  37. package/dist/esm/generated/operations/categoryUpdate.js +30 -1
  38. package/dist/esm/generated/operations/crossupsell.js +30 -1
  39. package/dist/esm/generated/operations/crossupsellCreate.js +30 -1
  40. package/dist/esm/generated/operations/crossupsellUpdate.js +30 -1
  41. package/dist/esm/generated/operations/crossupsells.js +30 -1
  42. package/dist/esm/generated/operations/favoriteList.js +30 -1
  43. package/dist/esm/generated/operations/machine.js +30 -1
  44. package/dist/esm/generated/operations/machineCreate.js +30 -1
  45. package/dist/esm/generated/operations/machineUpsert.js +30 -1
  46. package/dist/esm/generated/operations/machines.js +30 -1
  47. package/dist/esm/generated/operations/products.js +30 -1
  48. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { AttributeResultSearchInput } from '../type/AttributeResultSearchInput';
1
2
  import { Crossupsell } from '../type/Crossupsell';
2
3
  import { CrossupsellsResponse } from '../type/CrossupsellsResponse';
3
4
  import { CrossupsellSearchInput } from '../type/CrossupsellSearchInput';
@@ -16,6 +17,8 @@ export interface CrossupsellsQueryVariables {
16
17
  imageVariantFilters?: TransformationsInput;
17
18
  /** Price calculate product input */
18
19
  priceCalculateProductInput?: PriceCalculateProductInput;
20
+ /** Attribute search input — controls the attributes returned on grid products */
21
+ attributeResultSearchInput?: AttributeResultSearchInput;
19
22
  }
20
23
  import { GraphQLClient } from '../client/GraphQLClient';
21
24
  import type { CrossupsellCreateVariables, CrossupsellUpdateVariables, CrossupsellVariables } from '../generated/operationVariables';
@@ -81,6 +81,8 @@ export interface ProductsQueryVariables {
81
81
  language?: string;
82
82
  /** Price calculation input */
83
83
  priceCalculateProductInput?: PriceCalculateProductInput;
84
+ /** Attribute search input — controls the attributes returned on grid products */
85
+ attributeResultSearchInput?: AttributeResultSearchInput;
84
86
  /** Image search filters */
85
87
  imageSearchFilters?: MediaImageProductSearchInput;
86
88
  /** Image transformation filters. Optional — the SDK defaults this to
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- query category(\$categoryId: Float, \$slug: String, \$hidden: YesNo, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$categoryProductSearchInput: CategoryProductSearchInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$filterAvailableAttributeInput: FilterAvailableAttributeInput) {
653
+ query category(\$categoryId: Float, \$slug: String, \$hidden: YesNo, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$categoryProductSearchInput: CategoryProductSearchInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  category(categoryId: \$categoryId, slug: \$slug, hidden: \$hidden) {
626
655
  ...CategoryFields
627
656
  }
@@ -382,6 +382,11 @@ fragment ProductGridFields on Product {
382
382
  ...IBaseProductFields
383
383
  productId
384
384
  categoryId
385
+ attributes(input: \$attributeResultSearchInput) {
386
+ items {
387
+ ...AttributeResultGridFields
388
+ }
389
+ }
385
390
  inventory {
386
391
  ...ProductInventoryFields
387
392
  }
@@ -430,6 +435,30 @@ fragment ProductGridFields on Product {
430
435
  containerClass
431
436
  }
432
437
 
438
+ fragment AttributeResultGridFields on AttributeResult {
439
+ attributeDescription {
440
+ name
441
+ }
442
+ value {
443
+ __typename
444
+ ... on AttributeTextValue {
445
+ textValues {
446
+ language
447
+ values
448
+ }
449
+ }
450
+ ... on AttributeEnumValue {
451
+ enumValues
452
+ }
453
+ ... on AttributeIntValue {
454
+ intValue
455
+ }
456
+ ... on AttributeDecimalValue {
457
+ decimalValue
458
+ }
459
+ }
460
+ }
461
+
433
462
  fragment ProductInventoryFields on ProductInventory {
434
463
  productId
435
464
  totalQuantity
@@ -630,7 +659,7 @@ fragment AttributeFilterFields on AttributeFilter {
630
659
  }
631
660
  }
632
661
 
633
- mutation categoryAddProductsClusters(\$id: Int!, \$input: CategoryAddProductsClustersInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
662
+ mutation categoryAddProductsClusters(\$id: Int!, \$input: CategoryAddProductsClustersInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
634
663
  categoryAddProductsClusters(id: \$id, input: \$input) {
635
664
  ...CategoryAddProductsClustersResponseFields
636
665
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- query categoryBySlug(\$slug: String!, \$language: String!, \$hidden: YesNo, \$categoryProductSearchInput: CategoryProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ query categoryBySlug(\$slug: String!, \$language: String!, \$hidden: YesNo, \$categoryProductSearchInput: CategoryProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryBySlug(slug: \$slug, language: \$language, hidden: \$hidden) {
626
655
  ...CategoryFields
627
656
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- query categoryBySource(\$source: SourceInput!, \$hidden: YesNo, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ query categoryBySource(\$source: SourceInput!, \$hidden: YesNo, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryBySource(source: \$source, hidden: \$hidden) {
626
655
  ...CategoryFields
627
656
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- query categoryChildren(\$categoryId: Int!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ query categoryChildren(\$categoryId: Int!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryChildren(categoryId: \$categoryId) {
626
655
  ...CategoryFields
627
656
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- mutation categoryCreate(\$input: CreateCategoryInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ mutation categoryCreate(\$input: CreateCategoryInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryCreate(input: \$input) {
626
655
  ...CategoryFields
627
656
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- query categoryHierarchy(\$categoryId: Int!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ query categoryHierarchy(\$categoryId: Int!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryHierarchy(categoryId: \$categoryId) {
626
655
  ...CategoryFields
627
656
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- mutation categoryMoveAbove(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ mutation categoryMoveAbove(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryMoveAbove(
626
655
  categoryUuid: \$categoryUuid
627
656
  targetCategoryUuid: \$targetCategoryUuid
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- mutation categoryMoveBelow(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ mutation categoryMoveBelow(\$categoryUuid: String!, \$targetCategoryUuid: String!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryMoveBelow(
626
655
  categoryUuid: \$categoryUuid
627
656
  targetCategoryUuid: \$targetCategoryUuid
@@ -382,6 +382,11 @@ fragment ProductGridFields on Product {
382
382
  ...IBaseProductFields
383
383
  productId
384
384
  categoryId
385
+ attributes(input: \$attributeResultSearchInput) {
386
+ items {
387
+ ...AttributeResultGridFields
388
+ }
389
+ }
385
390
  inventory {
386
391
  ...ProductInventoryFields
387
392
  }
@@ -430,6 +435,30 @@ fragment ProductGridFields on Product {
430
435
  containerClass
431
436
  }
432
437
 
438
+ fragment AttributeResultGridFields on AttributeResult {
439
+ attributeDescription {
440
+ name
441
+ }
442
+ value {
443
+ __typename
444
+ ... on AttributeTextValue {
445
+ textValues {
446
+ language
447
+ values
448
+ }
449
+ }
450
+ ... on AttributeEnumValue {
451
+ enumValues
452
+ }
453
+ ... on AttributeIntValue {
454
+ intValue
455
+ }
456
+ ... on AttributeDecimalValue {
457
+ decimalValue
458
+ }
459
+ }
460
+ }
461
+
433
462
  fragment ProductInventoryFields on ProductInventory {
434
463
  productId
435
464
  totalQuantity
@@ -630,7 +659,7 @@ fragment AttributeFilterFields on AttributeFilter {
630
659
  }
631
660
  }
632
661
 
633
- mutation categoryRemoveProductsClusters(\$id: Int!, \$input: CategoryRemoveProductsClustersInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
662
+ mutation categoryRemoveProductsClusters(\$id: Int!, \$input: CategoryRemoveProductsClustersInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
634
663
  categoryRemoveProductsClusters(id: \$id, input: \$input) {
635
664
  ...CategoryRemoveProductsClustersResponseFields
636
665
  }
@@ -373,6 +373,11 @@ fragment ProductGridFields on Product {
373
373
  ...IBaseProductFields
374
374
  productId
375
375
  categoryId
376
+ attributes(input: \$attributeResultSearchInput) {
377
+ items {
378
+ ...AttributeResultGridFields
379
+ }
380
+ }
376
381
  inventory {
377
382
  ...ProductInventoryFields
378
383
  }
@@ -421,6 +426,30 @@ fragment ProductGridFields on Product {
421
426
  containerClass
422
427
  }
423
428
 
429
+ fragment AttributeResultGridFields on AttributeResult {
430
+ attributeDescription {
431
+ name
432
+ }
433
+ value {
434
+ __typename
435
+ ... on AttributeTextValue {
436
+ textValues {
437
+ language
438
+ values
439
+ }
440
+ }
441
+ ... on AttributeEnumValue {
442
+ enumValues
443
+ }
444
+ ... on AttributeIntValue {
445
+ intValue
446
+ }
447
+ ... on AttributeDecimalValue {
448
+ decimalValue
449
+ }
450
+ }
451
+ }
452
+
424
453
  fragment ProductInventoryFields on ProductInventory {
425
454
  productId
426
455
  totalQuantity
@@ -621,7 +650,7 @@ fragment AttributeFilterFields on AttributeFilter {
621
650
  }
622
651
  }
623
652
 
624
- mutation categoryUpdate(\$categoryId: Float!, \$input: UpdateCategoryInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!) {
653
+ mutation categoryUpdate(\$categoryId: Float!, \$input: UpdateCategoryInput!, \$categoryProductSearchInput: CategoryProductSearchInput, \$language: String, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
625
654
  categoryUpdate(categoryId: \$categoryId, input: \$input) {
626
655
  ...CategoryFields
627
656
  }
@@ -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
- query crossupsell(\$id: String!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!) {
343
+ query crossupsell(\$id: String!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$language: String, \$imageVariantFilters: TransformationsInput!, \$attributeResultSearchInput: AttributeResultSearchInput) {
315
344
  crossupsell(id: \$id) {
316
345
  ...CrossupsellFields
317
346
  }