@ikas/storefront-api 5.0.9 → 5.0.11
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as r,APIResponse as
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as r,APIResponse as a,fetchQuery as n}from"@ikas/fe-api-client";var s,o=function(s,o,d){return t(void 0,void 0,void 0,(function(){var t,u,l,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n({operationName:"createCustomerReview",config:d,variables:s,allReturnFields:i,fields:o,query:function(t){return"\n\t\t\t\tmutation createCustomerReview (\n\t\t\t\t\t$input: CreateCustomerReviewInput!,\n\t\t\t\t) {\n\t\t\t\t\tcreateCustomerReview (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),u=t.data,l=t.errors,[2,new a(null==u?void 0:u.createCustomerReview,l)];case 2:return c=e.sent(),[2,r(c)];case 3:return[2]}}))}))},i="{comment createdAt customerId deleted email firstName id imageIds lastName locale orderId orderNumber productId reply salesChannelId star status storefrontId title updatedAt }";!function(t){t.COMMENT="comment",t.CREATED_AT="createdAt",t.CUSTOMER_ID="customerId",t.DELETED="deleted",t.EMAIL="email",t.FIRST_NAME="firstName",t.ID="id",t.IMAGE_IDS="imageIds",t.LAST_NAME="lastName",t.LOCALE="locale",t.ORDER_ID="orderId",t.ORDER_NUMBER="orderNumber",t.PRODUCT_ID="productId",t.REPLY="reply",t.SALES_CHANNEL_ID="salesChannelId",t.STAR="star",t.STATUS="status",t.STOREFRONT_ID="storefrontId",t.TITLE="title",t.UPDATED_AT="updatedAt"}(s||(s={}));export{s as ResponseField,o as default};
|
|
@@ -2966,6 +2966,7 @@ export interface CreateCustomerReviewInput {
|
|
|
2966
2966
|
firstName?: string | null;
|
|
2967
2967
|
id?: string | null;
|
|
2968
2968
|
lastName?: string | null;
|
|
2969
|
+
locale?: string | null;
|
|
2969
2970
|
orderId?: string | null;
|
|
2970
2971
|
orderNumber?: string | null;
|
|
2971
2972
|
productId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-api",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.11",
|
|
4
4
|
"author": "ikas",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "API functions that returns models from the ikas-storefront-models package.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
20
|
-
"@ikas/storefront-config": "^5.0.
|
|
21
|
-
"@ikas/storefront-models": "^5.0.
|
|
20
|
+
"@ikas/storefront-config": "^5.0.11",
|
|
21
|
+
"@ikas/storefront-models": "^5.0.11",
|
|
22
22
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
23
23
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
24
24
|
"prettier": "^2.2.1",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@ikas/fe-api-client": "^1.0.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@ikas/storefront-config": "^5.0.
|
|
38
|
-
"@ikas/storefront-models": "^5.0.
|
|
37
|
+
"@ikas/storefront-config": "^5.0.11",
|
|
38
|
+
"@ikas/storefront-models": "^5.0.11",
|
|
39
39
|
"@ikas/fe-api-client": "^1.0.18",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|