@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
|
@@ -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.17.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",
|