@ikas/storefront-api 6.1.0-beta.302 → 6.1.0-beta.304

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.
@@ -2,5 +2,5 @@ import { ConfigType, APIResponse } from "@ikas/fe-api-client";
2
2
  declare const customerDeactivate: (variables: QueryParams, config?: ConfigType) => Promise<APIResponse<boolean> | APIResponse<undefined>>;
3
3
  export default customerDeactivate;
4
4
  export declare type QueryParams = {
5
- password: string;
5
+ password?: string | null;
6
6
  };
@@ -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=function(s,o){return t(void 0,void 0,void 0,(function(){var t,i,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,a({operationName:"customerDeactivate",config:o,variables:s,query:"\n\t\t\t\tmutation customerDeactivate (\n\t\t\t\t\t$password: String!,\n\t\t\t\t) {\n\t\t\t\t\tcustomerDeactivate (\n\t\t\t\t\t\tpassword: $password,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),i=t.data,u=t.errors,[2,new n(null==i?void 0:i.customerDeactivate,u)];case 2:return c=e.sent(),[2,r(c)];case 3:return[2]}}))}))};export{s as default};
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=function(s,o){return t(void 0,void 0,void 0,(function(){var t,i,u,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,a({operationName:"customerDeactivate",config:o,variables:s,query:"\n\t\t\t\tmutation customerDeactivate (\n\t\t\t\t\t$password: String,\n\t\t\t\t) {\n\t\t\t\t\tcustomerDeactivate (\n\t\t\t\t\t\tpassword: $password,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t"})];case 1:return t=e.sent(),i=t.data,u=t.errors,[2,new n(null==i?void 0:i.customerDeactivate,u)];case 2:return c=e.sent(),[2,r(c)];case 3:return[2]}}))}))};export{s as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-api",
3
- "version": "6.1.0-beta.302",
3
+ "version": "6.1.0-beta.304",
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": "^6.1.0-beta.302",
21
- "@ikas/storefront-models": "^6.1.0-beta.302",
20
+ "@ikas/storefront-config": "^6.1.0-beta.304",
21
+ "@ikas/storefront-models": "^6.1.0-beta.304",
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.30"
35
35
  },
36
36
  "peerDependencies": {
37
- "@ikas/storefront-config": "^6.1.0-beta.302",
38
- "@ikas/storefront-models": "^6.1.0-beta.302",
37
+ "@ikas/storefront-config": "^6.1.0-beta.304",
38
+ "@ikas/storefront-models": "^6.1.0-beta.304",
39
39
  "@ikas/fe-api-client": "1.0.30",
40
40
  "axios": "^0.26.0",
41
41
  "ts-essentials": "^7.0.1"