@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.
@@ -6,6 +6,7 @@ export declare class CreateCustomerReviewInputData extends BaseModelData {
6
6
  email: string | null;
7
7
  firstName: string | null;
8
8
  lastName: string | null;
9
+ locale: string | null;
9
10
  orderId: string | null;
10
11
  orderNumber: string | null;
11
12
  productId: string;
@@ -15,6 +15,7 @@ export declare enum ResponseField {
15
15
  ID = "id",
16
16
  IMAGE_IDS = "imageIds",
17
17
  LAST_NAME = "lastName",
18
+ LOCALE = "locale",
18
19
  ORDER_ID = "orderId",
19
20
  ORDER_NUMBER = "orderNumber",
20
21
  PRODUCT_ID = "productId",
@@ -1 +1 @@
1
- import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as r,APIResponse as n,fetchQuery as a}from"@ikas/fe-api-client";var s,i=function(s,i,d){return t(void 0,void 0,void 0,(function(){var t,u,l,m;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,a({operationName:"createCustomerReview",config:d,variables:s,allReturnFields:o,fields:i,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 n(null==u?void 0:u.createCustomerReview,l)];case 2:return m=e.sent(),[2,r(m)];case 3:return[2]}}))}))},o="{comment createdAt customerId deleted email firstName id imageIds lastName 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.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,i as default};
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.9",
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.9",
21
- "@ikas/storefront-models": "^5.0.9",
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.9",
38
- "@ikas/storefront-models": "^5.0.9",
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"