@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.
- package/CHANGELOG.md +115 -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 +33 -4
- package/dist/cjs/generated/operations/machineCreate.js +33 -4
- package/dist/cjs/generated/operations/machineUpsert.js +33 -4
- package/dist/cjs/generated/operations/machines.js +33 -4
- 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/cjs/type/CartBaseItem.d.ts +13 -2
- package/dist/cjs/type/CartMainItem.d.ts +13 -2
- package/dist/cjs/type/TenderMainItem.d.ts +13 -2
- 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 +33 -4
- package/dist/esm/generated/operations/machineCreate.js +33 -4
- package/dist/esm/generated/operations/machineUpsert.js +33 -4
- package/dist/esm/generated/operations/machines.js +33 -4
- package/dist/esm/generated/operations/products.js +30 -1
- package/package.json +1 -1
|
@@ -29,13 +29,13 @@ fragment SparePartsMachineMinimalFields on SparePartsMachine {
|
|
|
29
29
|
media {
|
|
30
30
|
...SparePartsMachineMediaImagesOnlyFields
|
|
31
31
|
}
|
|
32
|
-
name
|
|
32
|
+
name {
|
|
33
33
|
...LocalizedStringFields
|
|
34
34
|
}
|
|
35
|
-
description
|
|
35
|
+
description {
|
|
36
36
|
...LocalizedStringFields
|
|
37
37
|
}
|
|
38
|
-
slug
|
|
38
|
+
slug {
|
|
39
39
|
...LocalizedStringFields
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -182,6 +182,11 @@ fragment ProductGridFields on Product {
|
|
|
182
182
|
...IBaseProductFields
|
|
183
183
|
productId
|
|
184
184
|
categoryId
|
|
185
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
186
|
+
items {
|
|
187
|
+
...AttributeResultGridFields
|
|
188
|
+
}
|
|
189
|
+
}
|
|
185
190
|
inventory {
|
|
186
191
|
...ProductInventoryFields
|
|
187
192
|
}
|
|
@@ -230,6 +235,30 @@ fragment ProductGridFields on Product {
|
|
|
230
235
|
containerClass
|
|
231
236
|
}
|
|
232
237
|
|
|
238
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
239
|
+
attributeDescription {
|
|
240
|
+
name
|
|
241
|
+
}
|
|
242
|
+
value {
|
|
243
|
+
__typename
|
|
244
|
+
... on AttributeTextValue {
|
|
245
|
+
textValues {
|
|
246
|
+
language
|
|
247
|
+
values
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
... on AttributeEnumValue {
|
|
251
|
+
enumValues
|
|
252
|
+
}
|
|
253
|
+
... on AttributeIntValue {
|
|
254
|
+
intValue
|
|
255
|
+
}
|
|
256
|
+
... on AttributeDecimalValue {
|
|
257
|
+
decimalValue
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
233
262
|
fragment ProductInventoryFields on ProductInventory {
|
|
234
263
|
productId
|
|
235
264
|
totalQuantity
|
|
@@ -393,7 +422,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
393
422
|
}
|
|
394
423
|
}
|
|
395
424
|
|
|
396
|
-
query machines(\$input: SearchSparePartsMachineInput, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput) {
|
|
425
|
+
query machines(\$input: SearchSparePartsMachineInput, \$language: String, \$sparePartsMachineProductSearchInput: SparePartsMachineProductSearchInput, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$imageVariantFilters: TransformationsInput!, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
397
426
|
machines(input: \$input) {
|
|
398
427
|
...SparePartsMachineResponseFields
|
|
399
428
|
}
|
|
@@ -81,6 +81,11 @@ fragment ProductGridFields on Product {
|
|
|
81
81
|
...IBaseProductFields
|
|
82
82
|
productId
|
|
83
83
|
categoryId
|
|
84
|
+
attributes(input: \$attributeResultSearchInput) {
|
|
85
|
+
items {
|
|
86
|
+
...AttributeResultGridFields
|
|
87
|
+
}
|
|
88
|
+
}
|
|
84
89
|
inventory {
|
|
85
90
|
...ProductInventoryFields
|
|
86
91
|
}
|
|
@@ -129,6 +134,30 @@ fragment ProductGridFields on Product {
|
|
|
129
134
|
containerClass
|
|
130
135
|
}
|
|
131
136
|
|
|
137
|
+
fragment AttributeResultGridFields on AttributeResult {
|
|
138
|
+
attributeDescription {
|
|
139
|
+
name
|
|
140
|
+
}
|
|
141
|
+
value {
|
|
142
|
+
__typename
|
|
143
|
+
... on AttributeTextValue {
|
|
144
|
+
textValues {
|
|
145
|
+
language
|
|
146
|
+
values
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
... on AttributeEnumValue {
|
|
150
|
+
enumValues
|
|
151
|
+
}
|
|
152
|
+
... on AttributeIntValue {
|
|
153
|
+
intValue
|
|
154
|
+
}
|
|
155
|
+
... on AttributeDecimalValue {
|
|
156
|
+
decimalValue
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
132
161
|
fragment ProductInventoryFields on ProductInventory {
|
|
133
162
|
productId
|
|
134
163
|
totalQuantity
|
|
@@ -329,7 +358,7 @@ fragment AttributeFilterFields on AttributeFilter {
|
|
|
329
358
|
}
|
|
330
359
|
}
|
|
331
360
|
|
|
332
|
-
query products(\$input: ProductSearchInput, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$filterAvailableAttributeInput: FilterAvailableAttributeInput) {
|
|
361
|
+
query products(\$input: ProductSearchInput, \$language: String, \$priceCalculateProductInput: PriceCalculateProductInput, \$imageSearchFilters: MediaImageProductSearchInput, \$imageVariantFilters: TransformationsInput!, \$filterAvailableAttributeInput: FilterAvailableAttributeInput, \$attributeResultSearchInput: AttributeResultSearchInput) {
|
|
333
362
|
products(input: \$input) {
|
|
334
363
|
...ProductsResponseFields
|
|
335
364
|
}
|
|
@@ -29,6 +29,8 @@ export interface CategoryQueryVariables {
|
|
|
29
29
|
priceCalculateProductInput?: PriceCalculateProductInput;
|
|
30
30
|
/** Category product search input */
|
|
31
31
|
categoryProductSearchInput?: CategoryProductSearchInput;
|
|
32
|
+
/** Attribute search input — controls the attributes returned on grid products */
|
|
33
|
+
attributeResultSearchInput?: AttributeResultSearchInput;
|
|
32
34
|
/** Image search filters */
|
|
33
35
|
imageSearchFilters?: MediaImageProductSearchInput;
|
|
34
36
|
/** Image transformation filters */
|
|
@@ -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
|
|
@@ -24,9 +24,20 @@ export interface CartBaseItem extends ICartBaseItem {
|
|
|
24
24
|
totalPrice: number;
|
|
25
25
|
/** Total net price for this cart item, including item specific discounts. */
|
|
26
26
|
totalPriceNet: number;
|
|
27
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* PER UOM, *not* the line total — despite the name. Gross sum of the main
|
|
29
|
+
* price and the prices of its child items, for ONE unit, with no item
|
|
30
|
+
* specific discounts applied.
|
|
31
|
+
*
|
|
32
|
+
* For the line total use {@link totalSum}. Summing `sum` across a cart
|
|
33
|
+
* under-reports every line by a factor of its quantity, and does it silently:
|
|
34
|
+
* the result is a plausible number and the types are green.
|
|
35
|
+
*/
|
|
28
36
|
sum: number;
|
|
29
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* PER UOM, *not* the line total — see {@link sum}. For the line total use
|
|
39
|
+
* {@link totalSumNet}.
|
|
40
|
+
*/
|
|
30
41
|
sumNet: number;
|
|
31
42
|
/** Total gross sum of the main cart price and the prices of its child items. Including item specific discounts. */
|
|
32
43
|
totalSum: number;
|
|
@@ -32,9 +32,20 @@ export interface CartMainItem extends ICartBaseItem {
|
|
|
32
32
|
totalPrice: number;
|
|
33
33
|
/** Total net price for this cart item, including item specific discounts. */
|
|
34
34
|
totalPriceNet: number;
|
|
35
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* PER UOM, *not* the line total — despite the name. Gross sum of the main
|
|
37
|
+
* price and the prices of its child items, for ONE unit, with no item
|
|
38
|
+
* specific discounts applied.
|
|
39
|
+
*
|
|
40
|
+
* For the line total use {@link totalSum}. Summing `sum` across a cart
|
|
41
|
+
* under-reports every line by a factor of its quantity, and does it silently:
|
|
42
|
+
* the result is a plausible number and the types are green.
|
|
43
|
+
*/
|
|
36
44
|
sum: number;
|
|
37
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* PER UOM, *not* the line total — see {@link sum}. For the line total use
|
|
47
|
+
* {@link totalSumNet}.
|
|
48
|
+
*/
|
|
38
49
|
sumNet: number;
|
|
39
50
|
/** Total gross sum of the main cart price and the prices of its child items. Including item specific discounts. */
|
|
40
51
|
totalSum: number;
|
|
@@ -75,9 +75,20 @@ export interface TenderMainItem extends ITenderBaseItem {
|
|
|
75
75
|
surcharges?: TenderItemSurcharge[];
|
|
76
76
|
/** The tender/order item's child items. E.g. surcharges, incentives, etc. */
|
|
77
77
|
childItems?: ITenderBaseItem[];
|
|
78
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* PER UOM, *not* the line total — despite the name. The gross price for ONE
|
|
80
|
+
* unit of this tender/order item, with item specific incentives and extra
|
|
81
|
+
* costs applied. VAT EXCLUDING (this API labels the ex-VAT figure "gross").
|
|
82
|
+
*
|
|
83
|
+
* For the line total use {@link totalSum}. Summing `sum` across the items
|
|
84
|
+
* under-reports every line by a factor of its quantity, and does it silently:
|
|
85
|
+
* the result is a plausible number and the types are green (PWP-1006).
|
|
86
|
+
*/
|
|
79
87
|
sum: number;
|
|
80
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* PER UOM, *not* the line total — see {@link sum}. VAT INCLUDING. For the
|
|
90
|
+
* line total use {@link totalSumNet}.
|
|
91
|
+
*/
|
|
81
92
|
sumNet: number;
|
|
82
93
|
/** The total gross price of this tender/order item, with item specific incentives and extra costs applied to this price. VAT excluding */
|
|
83
94
|
totalSum: number;
|
|
@@ -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
|