@ikas/storefront 0.1.24-alpha.6 → 0.1.24-alpha.7

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.
@@ -18,6 +18,8 @@ export interface getCheckoutById_getCheckoutById_billingAddress_country {
18
18
  code: string | null;
19
19
  id: string | null;
20
20
  name: string;
21
+ iso2: string | null;
22
+ iso3: string | null;
21
23
  }
22
24
  export interface getCheckoutById_getCheckoutById_billingAddress_district {
23
25
  __typename: "OrderAddressDistrict";
@@ -69,6 +71,8 @@ export interface getCheckoutById_getCheckoutById_shippingAddress_country {
69
71
  id: string | null;
70
72
  code: string | null;
71
73
  name: string;
74
+ iso2: string | null;
75
+ iso3: string | null;
72
76
  }
73
77
  export interface getCheckoutById_getCheckoutById_shippingAddress_district {
74
78
  __typename: "OrderAddressDistrict";
@@ -14,7 +14,7 @@ export interface listPaymentGateway_listPaymentGateway_additionalPrices {
14
14
  export interface listPaymentGateway_listPaymentGateway_translations {
15
15
  __typename: "PaymentGatewayTranslation";
16
16
  description: string | null;
17
- locale: string;
17
+ locale: string | null;
18
18
  name: string | null;
19
19
  }
20
20
  export interface listPaymentGateway_listPaymentGateway {
@@ -30,6 +30,8 @@ export interface listPaymentGateway_listPaymentGateway {
30
30
  logoUrl: string | null;
31
31
  additionalPrices: listPaymentGateway_listPaymentGateway_additionalPrices[] | null;
32
32
  translations: listPaymentGateway_listPaymentGateway_translations[] | null;
33
+ supportedCurrencies: string[] | null;
34
+ availableCountries: string[] | null;
33
35
  }
34
36
  export interface listPaymentGateway {
35
37
  listPaymentGateway: listPaymentGateway_listPaymentGateway[];
@@ -3,4 +3,5 @@ export interface customerForgotPassword {
3
3
  }
4
4
  export interface customerForgotPasswordVariables {
5
5
  email: string;
6
+ locale: string;
6
7
  }
@@ -68,4 +68,5 @@ export interface registerCustomerVariables {
68
68
  firstName: string;
69
69
  lastName: string;
70
70
  isAcceptMarketing?: boolean | null;
71
+ locale?: string | null;
71
72
  }
package/build/index.es.js CHANGED
@@ -40959,7 +40959,7 @@ var IkasCustomerAPI = /** @class */ (function () {
40959
40959
  return __generator(this, function (_b) {
40960
40960
  switch (_b.label) {
40961
40961
  case 0:
40962
- MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
40962
+ MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
40963
40963
  _b.label = 1;
40964
40964
  case 1:
40965
40965
  _b.trys.push([1, 3, , 4]);
@@ -40973,6 +40973,7 @@ var IkasCustomerAPI = /** @class */ (function () {
40973
40973
  firstName: firstName,
40974
40974
  lastName: lastName,
40975
40975
  isAcceptMarketing: isAcceptMarketing,
40976
+ locale: IkasStorefrontConfig.getCurrentLocale(),
40976
40977
  },
40977
40978
  })];
40978
40979
  case 2:
@@ -41033,7 +41034,7 @@ var IkasCustomerAPI = /** @class */ (function () {
41033
41034
  return __generator(this, function (_b) {
41034
41035
  switch (_b.label) {
41035
41036
  case 0:
41036
- MUTATION = src(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n mutation customerForgotPassword($email: String!) {\n customerForgotPassword(email: $email)\n }\n "], ["\n mutation customerForgotPassword($email: String!) {\n customerForgotPassword(email: $email)\n }\n "])));
41037
+ MUTATION = src(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "], ["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "])));
41037
41038
  _b.label = 1;
41038
41039
  case 1:
41039
41040
  _b.trys.push([1, 3, , 4]);
@@ -41043,6 +41044,7 @@ var IkasCustomerAPI = /** @class */ (function () {
41043
41044
  mutation: MUTATION,
41044
41045
  variables: {
41045
41046
  email: email,
41047
+ locale: IkasStorefrontConfig.getCurrentLocale(),
41046
41048
  },
41047
41049
  })];
41048
41050
  case 2:
package/build/index.js CHANGED
@@ -40938,7 +40938,7 @@ var IkasCustomerAPI = /** @class */ (function () {
40938
40938
  return __generator(this, function (_b) {
40939
40939
  switch (_b.label) {
40940
40940
  case 0:
40941
- MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
40941
+ MUTATION = src(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation registerCustomer(\n $email: String!\n $password: String!\n $firstName: String!\n $lastName: String!\n $isAcceptMarketing: Boolean\n $locale: String\n ) {\n registerCustomer(\n email: $email\n password: $password\n firstName: $firstName\n lastName: $lastName\n isAcceptMarketing: $isAcceptMarketing\n locale: $locale\n ) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
40942
40942
  _b.label = 1;
40943
40943
  case 1:
40944
40944
  _b.trys.push([1, 3, , 4]);
@@ -40952,6 +40952,7 @@ var IkasCustomerAPI = /** @class */ (function () {
40952
40952
  firstName: firstName,
40953
40953
  lastName: lastName,
40954
40954
  isAcceptMarketing: isAcceptMarketing,
40955
+ locale: IkasStorefrontConfig.getCurrentLocale(),
40955
40956
  },
40956
40957
  })];
40957
40958
  case 2:
@@ -41012,7 +41013,7 @@ var IkasCustomerAPI = /** @class */ (function () {
41012
41013
  return __generator(this, function (_b) {
41013
41014
  switch (_b.label) {
41014
41015
  case 0:
41015
- MUTATION = src(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n mutation customerForgotPassword($email: String!) {\n customerForgotPassword(email: $email)\n }\n "], ["\n mutation customerForgotPassword($email: String!) {\n customerForgotPassword(email: $email)\n }\n "])));
41016
+ MUTATION = src(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "], ["\n mutation customerForgotPassword($email: String!, $locale: String!) {\n customerForgotPassword(email: $email, locale: $locale)\n }\n "])));
41016
41017
  _b.label = 1;
41017
41018
  case 1:
41018
41019
  _b.trys.push([1, 3, , 4]);
@@ -41022,6 +41023,7 @@ var IkasCustomerAPI = /** @class */ (function () {
41022
41023
  mutation: MUTATION,
41023
41024
  variables: {
41024
41025
  email: email,
41026
+ locale: IkasStorefrontConfig.getCurrentLocale(),
41025
41027
  },
41026
41028
  })];
41027
41029
  case 2:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.1.24-alpha.6",
3
+ "version": "0.1.24-alpha.7",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",