@ikas/storefront 2.0.64-alpha.1 → 2.0.65

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.
Files changed (43) hide show
  1. package/build/__generated__/global-types.d.ts +9 -0
  2. package/build/__generated__/global-types.js +1 -1
  3. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  4. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  5. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  6. package/build/analytics/analytics.js +1 -1
  7. package/build/analytics/googleUniversal.d.ts +1 -0
  8. package/build/analytics/googleUniversal.js +1 -1
  9. package/build/analytics/head/index.js +1 -1
  10. package/build/analytics/tiktokPixel.d.ts +13 -0
  11. package/build/analytics/tiktokPixel.js +1 -0
  12. package/build/api/blog/__generated__/getBlog.d.ts +1 -5
  13. package/build/api/blog/__generated__/listBlog.d.ts +1 -5
  14. package/build/api/blog/__generated__/listBlogCategory.d.ts +1 -5
  15. package/build/api/blog/__generated__/listBlogMetaData.d.ts +1 -5
  16. package/build/api/cart/__generated__/getCart.d.ts +2 -4
  17. package/build/api/cart/__generated__/saveItemToCart.d.ts +2 -4
  18. package/build/api/checkout/__generated__/getCheckoutById.d.ts +2 -4
  19. package/build/api/checkout/__generated__/getOrder.d.ts +5 -11
  20. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +5 -11
  21. package/build/api/customer/__generated__/customerLogin.d.ts +1 -2
  22. package/build/api/customer/__generated__/customerSocialLogin.d.ts +1 -2
  23. package/build/api/customer/__generated__/getCustomerOrders.d.ts +5 -11
  24. package/build/api/customer/__generated__/getMyCustomer.d.ts +1 -2
  25. package/build/api/customer/__generated__/getOrderByEmail.d.ts +5 -11
  26. package/build/api/customer/__generated__/registerCustomer.d.ts +1 -2
  27. package/build/api/customer/__generated__/saveMyCustomer.d.ts +1 -2
  28. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +1 -5
  29. package/build/api/customer-review-summary/__generated__/listCustomerReviewSummary.d.ts +1 -5
  30. package/build/api/merchant/__generated__/listMerchantSettings.d.ts +11 -0
  31. package/build/api/raffle/__generated__/listRaffle.d.ts +1 -5
  32. package/build/api/storefront/__generated__/getStorefront.d.ts +1 -0
  33. package/build/api/storefront/index.js +1 -1
  34. package/build/api/variant-type/__generated__/listVariantType.d.ts +2 -6
  35. package/build/ikas.js +2 -2
  36. package/build/models/data/storefront/index.d.ts +1 -0
  37. package/build/models/data/storefront/index.js +1 -1
  38. package/build/providers/page-data-get.d.ts +1 -0
  39. package/build/providers/page-data-next.d.ts +6 -0
  40. package/build/providers/page-data-next.js +1 -1
  41. package/build/storefront/index.d.ts +2 -0
  42. package/build/storefront/index.js +1 -1
  43. package/package.json +1 -1
@@ -149,8 +149,7 @@ export interface saveMyCustomer_saveMyCustomer {
149
149
  */
150
150
  accountStatus: CustomerAccountStatusEnum | null;
151
151
  /**
152
- * The unique email address of the customer. Attempting to assign the same email
153
- * address to multiple customers returns an error.
152
+ * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
154
153
  */
155
154
  email: string | null;
156
155
  /**
@@ -18,11 +18,7 @@ export interface listCustomerReviews_listCustomerReviews {
18
18
  count: number;
19
19
  data: listCustomerReviews_listCustomerReviews_data[];
20
20
  /**
21
- * In the records returned as Response, it shows whether there are any more
22
- * records or not. For example, let's say our page field is three and our limit
23
- * field is thirty. Records between 60 and 90 will be returned. If hasNext is
24
- * `true` despite these records, **it means there are more records.** If hasNext
25
- * is `false`, it means there are a total of **90 records.**
21
+ * In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.**
26
22
  */
27
23
  hasNext: boolean;
28
24
  /**
@@ -25,11 +25,7 @@ export interface listCustomerReviewSummary_listCustomerReviewSummary {
25
25
  count: number;
26
26
  data: listCustomerReviewSummary_listCustomerReviewSummary_data[];
27
27
  /**
28
- * In the records returned as Response, it shows whether there are any more
29
- * records or not. For example, let's say our page field is three and our limit
30
- * field is thirty. Records between 60 and 90 will be returned. If hasNext is
31
- * `true` despite these records, **it means there are more records.** If hasNext
32
- * is `false`, it means there are a total of **90 records.**
28
+ * In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.**
33
29
  */
34
30
  hasNext: boolean;
35
31
  /**
@@ -1,8 +1,19 @@
1
+ import { CurrencyFormatSymbolPosition } from "./../../../__generated__/global-types";
2
+ export interface listMerchantSettings_listMerchantSettings_currencyFormats {
3
+ __typename: "MerchantSettingsCurrencyFormat";
4
+ currencyCode: string;
5
+ omitZeroDecimal: boolean;
6
+ decimalSeparator: string;
7
+ symbol: string;
8
+ symbolPosition: CurrencyFormatSymbolPosition;
9
+ thousandSeparator: string;
10
+ }
1
11
  export interface listMerchantSettings_listMerchantSettings {
2
12
  __typename: "MerchantSettings";
3
13
  id: string;
4
14
  logoId: string | null;
5
15
  merchantName: string;
16
+ currencyFormats: listMerchantSettings_listMerchantSettings_currencyFormats[] | null;
6
17
  }
7
18
  export interface listMerchantSettings {
8
19
  listMerchantSettings: listMerchantSettings_listMerchantSettings[];
@@ -45,11 +45,7 @@ export interface listRaffle_listRaffle {
45
45
  */
46
46
  count: number;
47
47
  /**
48
- * In the records returned as Response, it shows whether there are any more
49
- * records or not. For example, let's say our page field is three and our limit
50
- * field is thirty. Records between 60 and 90 will be returned. If hasNext is
51
- * `true` despite these records, **it means there are more records.** If hasNext
52
- * is `false`, it means there are a total of **90 records.**
48
+ * In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.**
53
49
  */
54
50
  hasNext: boolean;
55
51
  /**
@@ -46,6 +46,7 @@ export interface getStorefront_getStorefront {
46
46
  gtmId: string | null;
47
47
  analytics4Id: string | null;
48
48
  universalAnalyticsId: string | null;
49
+ tiktokPixelId: string | null;
49
50
  id: string;
50
51
  localizations: getStorefront_getStorefront_localizations[];
51
52
  mainStorefrontThemeId: string | null;
@@ -1 +1 @@
1
- import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import{apollo as r}from"../apollo.js";import a from'../../ext/graphql-tag/src/index.js';import{IkasStorefront as i}from"../../models/data/storefront/index.js";var d,o=function(){function o(){}return o.getStorefront=function(o){return n(this,void 0,void 0,(function(){var n,s,l,c,u;return e(this,(function(e){switch(e.label){case 0:n=a(d||(d=t(["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n analytics4Id\n universalAnalyticsId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n dynamicCurrencySettings {\n roundingFormat\n targetCurrencyCode\n }\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "],["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n analytics4Id\n universalAnalyticsId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n dynamicCurrencySettings {\n roundingFormat\n targetCurrencyCode\n }\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{id:o}})];case 2:return s=e.sent(),l=s.data,(c=s.errors)&&c.length&&console.log(c),l?[2,new i(l.getStorefront)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},o}();export{o as IkasStorefrontAPI};
1
+ import{__awaiter as n,__generator as e,__makeTemplateObject as t}from'../../ext/tslib/tslib.es6.js';import{apollo as r}from"../apollo.js";import i from'../../ext/graphql-tag/src/index.js';import{IkasStorefront as a}from"../../models/data/storefront/index.js";var d,o=function(){function o(){}return o.getStorefront=function(o){return n(this,void 0,void 0,(function(){var n,s,l,c,u;return e(this,(function(e){switch(e.label){case 0:n=i(d||(d=t(["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n analytics4Id\n universalAnalyticsId\n tiktokPixelId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n dynamicCurrencySettings {\n roundingFormat\n targetCurrencyCode\n }\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "],["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n analytics4Id\n universalAnalyticsId\n tiktokPixelId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n dynamicCurrencySettings {\n roundingFormat\n targetCurrencyCode\n }\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.getClient().query({query:n,variables:{id:o}})];case 2:return s=e.sent(),l=s.data,(c=s.errors)&&c.length&&console.log(c),l?[2,new a(l.getStorefront)]:[3,4];case 3:return u=e.sent(),console.log(u),[3,4];case 4:return[2]}}))}))},o}();export{o as IkasStorefrontAPI};
@@ -6,9 +6,7 @@ export interface listVariantType_listVariantType_values {
6
6
  updatedAt: any | null;
7
7
  deleted: boolean | null;
8
8
  /**
9
- * It is the name information of the values used in the Variant type. Value
10
- * information of Variant type is unique according to name.It can be a maximum of
11
- * 100 characters.
9
+ * It is the name information of the values used in the Variant type. Value information of Variant type is unique according to name.It can be a maximum of 100 characters.
12
10
  */
13
11
  name: string;
14
12
  /**
@@ -58,9 +56,7 @@ export interface listVariantType_listVariantType {
58
56
  */
59
57
  selectionType: VariantSelectionTypeEnum;
60
58
  /**
61
- * Variant values used in Variant type. ** For example, variant type: Size.
62
- * Variant values can be thought of as S, M, L, XL. **It is unique according to
63
- * the value name.Values array size must have at least one element.
59
+ * Variant values used in Variant type. ** For example, variant type: Size. Variant values can be thought of as S, M, L, XL. **It is unique according to the value name.Values array size must have at least one element.
64
60
  */
65
61
  values: listVariantType_listVariantType_values[];
66
62
  /**