@ikas/storefront 2.0.51 → 2.0.52-alpha.2

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 (28) hide show
  1. package/build/_virtual/index.js_commonjs-proxy2.js +1 -1
  2. package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
  3. package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
  4. package/build/api/blog/__generated__/getBlog.d.ts +5 -1
  5. package/build/api/blog/__generated__/listBlog.d.ts +5 -1
  6. package/build/api/blog/__generated__/listBlogCategory.d.ts +5 -1
  7. package/build/api/blog/__generated__/listBlogMetaData.d.ts +5 -1
  8. package/build/api/cart/__generated__/getCart.d.ts +4 -2
  9. package/build/api/cart/__generated__/saveItemToCart.d.ts +27 -2
  10. package/build/api/cart/index.js +1 -1
  11. package/build/api/checkout/__generated__/getCheckoutById.d.ts +4 -2
  12. package/build/api/checkout/__generated__/getOrder.d.ts +11 -5
  13. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +11 -5
  14. package/build/api/customer/__generated__/customerLogin.d.ts +2 -1
  15. package/build/api/customer/__generated__/customerSocialLogin.d.ts +2 -1
  16. package/build/api/customer/__generated__/getCustomerOrders.d.ts +11 -5
  17. package/build/api/customer/__generated__/getMyCustomer.d.ts +7 -2
  18. package/build/api/customer/__generated__/getOrderByEmail.d.ts +11 -5
  19. package/build/api/customer/__generated__/registerCustomer.d.ts +2 -1
  20. package/build/api/customer/__generated__/saveMyCustomer.d.ts +2 -1
  21. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +5 -1
  22. package/build/api/customer-review-summary/__generated__/listCustomerReviewSummary.d.ts +5 -1
  23. package/build/api/raffle/__generated__/listRaffle.d.ts +5 -1
  24. package/build/api/variant-type/__generated__/listVariantType.d.ts +6 -2
  25. package/build/ikas.js +1 -1
  26. package/build/models/data/order/line-item/variant/index.d.ts +7 -0
  27. package/build/models/data/order/line-item/variant/index.js +1 -1
  28. package/package.json +1 -1
@@ -1 +1 @@
1
- import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
1
+ import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
@@ -1 +1 @@
1
- import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
1
+ import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";
@@ -1 +1 @@
1
- import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";
1
+ import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
@@ -75,7 +75,11 @@ export interface getBlog_listBlog {
75
75
  count: number;
76
76
  data: getBlog_listBlog_data[];
77
77
  /**
78
- * 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.**
78
+ * In the records returned as Response, it shows whether there are any more
79
+ * records or not. For example, let's say our page field is three and our limit
80
+ * field is thirty. Records between 60 and 90 will be returned. If hasNext is
81
+ * `true` despite these records, **it means there are more records.** If hasNext
82
+ * is `false`, it means there are a total of **90 records.**
79
83
  */
80
84
  hasNext: boolean;
81
85
  /**
@@ -75,7 +75,11 @@ export interface listBlog_listBlog {
75
75
  count: number;
76
76
  data: listBlog_listBlog_data[];
77
77
  /**
78
- * 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.**
78
+ * In the records returned as Response, it shows whether there are any more
79
+ * records or not. For example, let's say our page field is three and our limit
80
+ * field is thirty. Records between 60 and 90 will be returned. If hasNext is
81
+ * `true` despite these records, **it means there are more records.** If hasNext
82
+ * is `false`, it means there are a total of **90 records.**
79
83
  */
80
84
  hasNext: boolean;
81
85
  /**
@@ -31,7 +31,11 @@ export interface listBlogCategory_listBlogCategory {
31
31
  count: number;
32
32
  data: listBlogCategory_listBlogCategory_data[];
33
33
  /**
34
- * 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.**
34
+ * In the records returned as Response, it shows whether there are any more
35
+ * records or not. For example, let's say our page field is three and our limit
36
+ * field is thirty. Records between 60 and 90 will be returned. If hasNext is
37
+ * `true` despite these records, **it means there are more records.** If hasNext
38
+ * is `false`, it means there are a total of **90 records.**
35
39
  */
36
40
  hasNext: boolean;
37
41
  /**
@@ -21,7 +21,11 @@ export interface listBlogMetaData_listBlogMetadata {
21
21
  count: number;
22
22
  data: listBlogMetaData_listBlogMetadata_data[];
23
23
  /**
24
- * 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.**
24
+ * In the records returned as Response, it shows whether there are any more
25
+ * records or not. For example, let's say our page field is three and our limit
26
+ * field is thirty. Records between 60 and 90 will be returned. If hasNext is
27
+ * `true` despite these records, **it means there are more records.** If hasNext
28
+ * is `false`, it means there are a total of **90 records.**
25
29
  */
26
30
  hasNext: boolean;
27
31
  /**
@@ -105,7 +105,8 @@ export interface getCart_getCart_items {
105
105
  */
106
106
  discountPrice: number | null;
107
107
  /**
108
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
108
+ * It is the final price of the order line item. If the discount price is less
109
+ * than the sell price, the final price is equal to the discount price.
109
110
  */
110
111
  finalPrice: number | null;
111
112
  id: string;
@@ -114,7 +115,8 @@ export interface getCart_getCart_items {
114
115
  */
115
116
  options: getCart_getCart_items_options[] | null;
116
117
  /**
117
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
118
+ * It is the original order line item id of the line item. If the line item is
119
+ * derived from another line item, this field is filled.
118
120
  */
119
121
  originalOrderLineItemId: string | null;
120
122
  /**
@@ -42,6 +42,25 @@ export interface saveItemToCart_saveItemToCart_items_options {
42
42
  type: ProductOptionTypeEnum;
43
43
  values: saveItemToCart_saveItemToCart_items_options_values[];
44
44
  }
45
+ export interface saveItemToCart_saveItemToCart_items_variant_prices {
46
+ __typename: "OrderLineVariantPrice";
47
+ /**
48
+ * It is the buy price of variant.
49
+ */
50
+ buyPrice: number | null;
51
+ /**
52
+ * It is the currency code of variant.
53
+ */
54
+ currency: string | null;
55
+ /**
56
+ * It is the discount price of variant.
57
+ */
58
+ discountPrice: number | null;
59
+ /**
60
+ * It is the sell price of variant.
61
+ */
62
+ sellPrice: number;
63
+ }
45
64
  export interface saveItemToCart_saveItemToCart_items_variant_variantValues {
46
65
  __typename: "OrderLineVariantVariantValues";
47
66
  /**
@@ -95,6 +114,10 @@ export interface saveItemToCart_saveItemToCart_items_variant {
95
114
  * It is the product id of the variant.
96
115
  */
97
116
  productId: string | null;
117
+ /**
118
+ * It is the price list of the variant. Different price lists may have different pricing.
119
+ */
120
+ prices: saveItemToCart_saveItemToCart_items_variant_prices[] | null;
98
121
  /**
99
122
  * It is the variant values of the variant.
100
123
  */
@@ -117,7 +140,8 @@ export interface saveItemToCart_saveItemToCart_items {
117
140
  */
118
141
  discountPrice: number | null;
119
142
  /**
120
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
143
+ * It is the final price of the order line item. If the discount price is less
144
+ * than the sell price, the final price is equal to the discount price.
121
145
  */
122
146
  finalPrice: number | null;
123
147
  id: string;
@@ -126,7 +150,8 @@ export interface saveItemToCart_saveItemToCart_items {
126
150
  */
127
151
  options: saveItemToCart_saveItemToCart_items_options[] | null;
128
152
  /**
129
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
153
+ * It is the original order line item id of the line item. If the line item is
154
+ * derived from another line item, this field is filled.
130
155
  */
131
156
  originalOrderLineItemId: string | null;
132
157
  /**
@@ -1 +1 @@
1
- import{__awaiter as n,__generator as t,__makeTemplateObject as e}from'../../ext/tslib/tslib.es6.js';import{IkasCart as a}from"../../models/data/cart/index.js";import r from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import{IkasStorefrontConfig as d}from"../../storefront/index.js";var i,u,s=function(){function s(){}return s.saveItemToCart=function(d){return n(this,void 0,void 0,(function(){var n,u,s,c,I;return t(this,(function(t){switch(t.label){case 0:n=r(i||(i=e(["\n mutation saveItemToCart($input: SaveItemToCartInput!) {\n saveItemToCart(input: $input) {\n id\n createdAt\n updatedAt\n dueDate\n currencyCode\n customerId\n merchantId\n itemCount\n totalPrice\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n taxLines {\n price\n rate\n }\n items {\n createdAt\n currencyCode\n deleted\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionsSetId\n productOptionId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n id\n name\n sku\n slug\n barcodeList\n mainImageId\n productId\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n }\n }\n "],["\n mutation saveItemToCart($input: SaveItemToCartInput!) {\n saveItemToCart(input: $input) {\n id\n createdAt\n updatedAt\n dueDate\n currencyCode\n customerId\n merchantId\n itemCount\n totalPrice\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n taxLines {\n price\n rate\n }\n items {\n createdAt\n currencyCode\n deleted\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionsSetId\n productOptionId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n id\n name\n sku\n slug\n barcodeList\n mainImageId\n productId\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o.getClient().mutate({mutation:n,variables:{input:d}})];case 2:return u=t.sent(),s=u.data,(c=u.errors)&&c.length&&console.log(c),s?[2,new a(s.saveItemToCart)]:[3,4];case 3:return I=t.sent(),console.log(I),[3,4];case 4:return[2]}}))}))},s.getCart=function(i,s){return n(this,void 0,void 0,(function(){var n,c,I,m,l;return t(this,(function(t){switch(t.label){case 0:n=r(u||(u=e(["\n query getCart(\n $cartId: String\n $customerId: String\n $storefrontRoutingId: String\n ) {\n getCart(\n id: $cartId\n customerId: $customerId\n storefrontRoutingId: $storefrontRoutingId\n ) {\n createdAt\n currencyCode\n customerId\n dueDate\n id\n itemCount\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n items {\n createdAt\n currencyCode\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n deleted\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n slug\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n merchantId\n status\n totalPrice\n updatedAt\n }\n }\n "],["\n query getCart(\n $cartId: String\n $customerId: String\n $storefrontRoutingId: String\n ) {\n getCart(\n id: $cartId\n customerId: $customerId\n storefrontRoutingId: $storefrontRoutingId\n ) {\n createdAt\n currencyCode\n customerId\n dueDate\n id\n itemCount\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n items {\n createdAt\n currencyCode\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n deleted\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n slug\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n merchantId\n status\n totalPrice\n updatedAt\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o.getClient().query({query:n,variables:{cartId:i,customerId:s,storefrontRoutingId:d.storefrontRoutingId}})];case 2:return c=t.sent(),I=c.data,(m=c.errors)&&m.length&&console.log(m),I&&I.getCart?[2,new a(I.getCart)]:[3,4];case 3:return l=t.sent(),console.log(l),[3,4];case 4:return[2]}}))}))},s}();export{s as IkasCartAPI};
1
+ import{__awaiter as n,__generator as t,__makeTemplateObject as e}from'../../ext/tslib/tslib.es6.js';import{IkasCart as r}from"../../models/data/cart/index.js";import a from'../../ext/graphql-tag/src/index.js';import{apollo as o}from"../apollo.js";import{IkasStorefrontConfig as i}from"../../storefront/index.js";var d,u,s=function(){function s(){}return s.saveItemToCart=function(i){return n(this,void 0,void 0,(function(){var n,u,s,c,I;return t(this,(function(t){switch(t.label){case 0:n=a(d||(d=e(["\n mutation saveItemToCart($input: SaveItemToCartInput!) {\n saveItemToCart(input: $input) {\n id\n createdAt\n updatedAt\n dueDate\n currencyCode\n customerId\n merchantId\n itemCount\n totalPrice\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n taxLines {\n price\n rate\n }\n items {\n createdAt\n currencyCode\n deleted\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionsSetId\n productOptionId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n id\n name\n sku\n slug\n barcodeList\n mainImageId\n productId\n prices {\n buyPrice\n currency\n discountPrice\n sellPrice\n }\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n }\n }\n "],["\n mutation saveItemToCart($input: SaveItemToCartInput!) {\n saveItemToCart(input: $input) {\n id\n createdAt\n updatedAt\n dueDate\n currencyCode\n customerId\n merchantId\n itemCount\n totalPrice\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n taxLines {\n price\n rate\n }\n items {\n createdAt\n currencyCode\n deleted\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionsSetId\n productOptionId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n id\n name\n sku\n slug\n barcodeList\n mainImageId\n productId\n prices {\n buyPrice\n currency\n discountPrice\n sellPrice\n }\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o.getClient().mutate({mutation:n,variables:{input:i}})];case 2:return u=t.sent(),s=u.data,(c=u.errors)&&c.length&&console.log(c),s?[2,new r(s.saveItemToCart)]:[3,4];case 3:return I=t.sent(),console.log(I),[3,4];case 4:return[2]}}))}))},s.getCart=function(d,s){return n(this,void 0,void 0,(function(){var n,c,I,m,l;return t(this,(function(t){switch(t.label){case 0:n=a(u||(u=e(["\n query getCart(\n $cartId: String\n $customerId: String\n $storefrontRoutingId: String\n ) {\n getCart(\n id: $cartId\n customerId: $customerId\n storefrontRoutingId: $storefrontRoutingId\n ) {\n createdAt\n currencyCode\n customerId\n dueDate\n id\n itemCount\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n items {\n createdAt\n currencyCode\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n deleted\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n slug\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n merchantId\n status\n totalPrice\n updatedAt\n }\n }\n "],["\n query getCart(\n $cartId: String\n $customerId: String\n $storefrontRoutingId: String\n ) {\n getCart(\n id: $cartId\n customerId: $customerId\n storefrontRoutingId: $storefrontRoutingId\n ) {\n createdAt\n currencyCode\n customerId\n dueDate\n id\n itemCount\n salesChannelId\n storefrontId\n storefrontRoutingId\n storefrontThemeId\n items {\n createdAt\n currencyCode\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n options {\n name\n productOptionId\n productOptionsSetId\n type\n values {\n name\n price\n value\n }\n }\n originalOrderLineItemId\n price\n quantity\n status\n deleted\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n slug\n barcodeList\n id\n mainImageId\n name\n productId\n sku\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n merchantId\n status\n totalPrice\n updatedAt\n }\n }\n "]))),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o.getClient().query({query:n,variables:{cartId:d,customerId:s,storefrontRoutingId:i.storefrontRoutingId}})];case 2:return c=t.sent(),I=c.data,(m=c.errors)&&m.length&&console.log(m),I&&I.getCart?[2,new r(I.getCart)]:[3,4];case 3:return l=t.sent(),console.log(l),[3,4];case 4:return[2]}}))}))},s}();export{s as IkasCartAPI};
@@ -425,12 +425,14 @@ export interface getCheckoutById_getCheckoutById_cart_items {
425
425
  */
426
426
  discountPrice: number | null;
427
427
  /**
428
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
428
+ * It is the final price of the order line item. If the discount price is less
429
+ * than the sell price, the final price is equal to the discount price.
429
430
  */
430
431
  finalPrice: number | null;
431
432
  id: string;
432
433
  /**
433
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
434
+ * It is the original order line item id of the line item. If the line item is
435
+ * derived from another line item, this field is filled.
434
436
  */
435
437
  originalOrderLineItemId: string | null;
436
438
  /**
@@ -276,12 +276,14 @@ export interface getOrder_getOrder_orderLineItems {
276
276
  */
277
277
  discountPrice: number | null;
278
278
  /**
279
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
279
+ * It is the final price of the order line item. If the discount price is less
280
+ * than the sell price, the final price is equal to the discount price.
280
281
  */
281
282
  finalPrice: number | null;
282
283
  id: string;
283
284
  /**
284
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
285
+ * It is the original order line item id of the line item. If the line item is
286
+ * derived from another line item, this field is filled.
285
287
  */
286
288
  originalOrderLineItemId: string | null;
287
289
  /**
@@ -329,7 +331,8 @@ export interface getOrder_getOrder_orderPackages_trackingInfo {
329
331
  */
330
332
  trackingLink: string | null;
331
333
  /**
332
- * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
334
+ * Indicates whether the notification is sent to the customer after the cargo is
335
+ * delivered. **isSendNotification** returns true if the notification is sent.
333
336
  */
334
337
  isSendNotification: boolean | null;
335
338
  /**
@@ -534,7 +537,8 @@ export interface getOrder_getOrder {
534
537
  */
535
538
  currencyRates: getOrder_getOrder_currencyRates[];
536
539
  /**
537
- * Information about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null.
540
+ * Information about the customer. The order does not have to be a customer
541
+ * information. If the order was created by ikasPOS, the customer information may be null.
538
542
  */
539
543
  customer: getOrder_getOrder_customer | null;
540
544
  deleted: boolean | null;
@@ -597,7 +601,9 @@ export interface getOrder_getOrder {
597
601
  */
598
602
  taxLines: getOrder_getOrder_taxLines[] | null;
599
603
  /**
600
- * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
604
+ * The total final price of the order resulting from the apply of
605
+ * `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the
606
+ * order total price.
601
607
  */
602
608
  totalFinalPrice: number;
603
609
  /**
@@ -250,12 +250,14 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItem
250
250
  */
251
251
  discountPrice: number | null;
252
252
  /**
253
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
253
+ * It is the final price of the order line item. If the discount price is less
254
+ * than the sell price, the final price is equal to the discount price.
254
255
  */
255
256
  finalPrice: number | null;
256
257
  id: string;
257
258
  /**
258
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
259
+ * It is the original order line item id of the line item. If the line item is
260
+ * derived from another line item, this field is filled.
259
261
  */
260
262
  originalOrderLineItemId: string | null;
261
263
  /**
@@ -299,7 +301,8 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderPackages
299
301
  */
300
302
  trackingLink: string | null;
301
303
  /**
302
- * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
304
+ * Indicates whether the notification is sent to the customer after the cargo is
305
+ * delivered. **isSendNotification** returns true if the notification is sent.
303
306
  */
304
307
  isSendNotification: boolean | null;
305
308
  /**
@@ -504,7 +507,8 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
504
507
  */
505
508
  currencyRates: createOrderRefundRequest_createOrderRefundRequest_currencyRates[];
506
509
  /**
507
- * Information about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null.
510
+ * Information about the customer. The order does not have to be a customer
511
+ * information. If the order was created by ikasPOS, the customer information may be null.
508
512
  */
509
513
  customer: createOrderRefundRequest_createOrderRefundRequest_customer | null;
510
514
  deleted: boolean | null;
@@ -567,7 +571,9 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
567
571
  */
568
572
  taxLines: createOrderRefundRequest_createOrderRefundRequest_taxLines[] | null;
569
573
  /**
570
- * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
574
+ * The total final price of the order resulting from the apply of
575
+ * `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the
576
+ * order total price.
571
577
  */
572
578
  totalFinalPrice: number;
573
579
  /**
@@ -141,7 +141,8 @@ export interface customerLogin_customerLogin_customer {
141
141
  */
142
142
  accountStatus: CustomerAccountStatusEnum | null;
143
143
  /**
144
- * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
144
+ * The unique email address of the customer. Attempting to assign the same email
145
+ * address to multiple customers returns an error.
145
146
  */
146
147
  email: string | null;
147
148
  /**
@@ -141,7 +141,8 @@ export interface customerSocialLogin_customerSocialLogin_customer {
141
141
  */
142
142
  accountStatus: CustomerAccountStatusEnum | null;
143
143
  /**
144
- * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
144
+ * The unique email address of the customer. Attempting to assign the same email
145
+ * address to multiple customers returns an error.
145
146
  */
146
147
  email: string | null;
147
148
  /**
@@ -276,12 +276,14 @@ export interface getCustomerOrders_getCustomerOrders_orderLineItems {
276
276
  */
277
277
  discountPrice: number | null;
278
278
  /**
279
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
279
+ * It is the final price of the order line item. If the discount price is less
280
+ * than the sell price, the final price is equal to the discount price.
280
281
  */
281
282
  finalPrice: number | null;
282
283
  id: string;
283
284
  /**
284
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
285
+ * It is the original order line item id of the line item. If the line item is
286
+ * derived from another line item, this field is filled.
285
287
  */
286
288
  originalOrderLineItemId: string | null;
287
289
  /**
@@ -329,7 +331,8 @@ export interface getCustomerOrders_getCustomerOrders_orderPackages_trackingInfo
329
331
  */
330
332
  trackingLink: string | null;
331
333
  /**
332
- * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
334
+ * Indicates whether the notification is sent to the customer after the cargo is
335
+ * delivered. **isSendNotification** returns true if the notification is sent.
333
336
  */
334
337
  isSendNotification: boolean | null;
335
338
  /**
@@ -534,7 +537,8 @@ export interface getCustomerOrders_getCustomerOrders {
534
537
  */
535
538
  currencyRates: getCustomerOrders_getCustomerOrders_currencyRates[];
536
539
  /**
537
- * Information about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null.
540
+ * Information about the customer. The order does not have to be a customer
541
+ * information. If the order was created by ikasPOS, the customer information may be null.
538
542
  */
539
543
  customer: getCustomerOrders_getCustomerOrders_customer | null;
540
544
  deleted: boolean | null;
@@ -597,7 +601,9 @@ export interface getCustomerOrders_getCustomerOrders {
597
601
  */
598
602
  taxLines: getCustomerOrders_getCustomerOrders_taxLines[] | null;
599
603
  /**
600
- * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
604
+ * The total final price of the order resulting from the apply of
605
+ * `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the
606
+ * order total price.
601
607
  */
602
608
  totalFinalPrice: number;
603
609
  /**
@@ -1,4 +1,4 @@
1
- import { CustomerAccountStatusEnum } from "./../../../__generated__/global-types";
1
+ import { CustomerAccountStatusEnum, CustomerEmailSubscriptionStatusesEnum } from "./../../../__generated__/global-types";
2
2
  export interface getMyCustomer_getMyCustomer_addresses_city {
3
3
  __typename: "CustomerAddressCity";
4
4
  /**
@@ -133,7 +133,8 @@ export interface getMyCustomer_getMyCustomer {
133
133
  */
134
134
  accountStatus: CustomerAccountStatusEnum | null;
135
135
  /**
136
- * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
136
+ * The unique email address of the customer. Attempting to assign the same email
137
+ * address to multiple customers returns an error.
137
138
  */
138
139
  email: string | null;
139
140
  /**
@@ -144,6 +145,10 @@ export interface getMyCustomer_getMyCustomer {
144
145
  * Groups that the store owner attaches to the customer.
145
146
  */
146
147
  customerGroupIds: string[] | null;
148
+ /**
149
+ * CustomerEmailSubscriptionStatusesEnum
150
+ */
151
+ subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
147
152
  attributes: getMyCustomer_getMyCustomer_attributes[] | null;
148
153
  }
149
154
  export interface getMyCustomer {
@@ -276,12 +276,14 @@ export interface getOrderByEmail_getOrderByEmail_orderLineItems {
276
276
  */
277
277
  discountPrice: number | null;
278
278
  /**
279
- * It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price.
279
+ * It is the final price of the order line item. If the discount price is less
280
+ * than the sell price, the final price is equal to the discount price.
280
281
  */
281
282
  finalPrice: number | null;
282
283
  id: string;
283
284
  /**
284
- * It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled.
285
+ * It is the original order line item id of the line item. If the line item is
286
+ * derived from another line item, this field is filled.
285
287
  */
286
288
  originalOrderLineItemId: string | null;
287
289
  /**
@@ -329,7 +331,8 @@ export interface getOrderByEmail_getOrderByEmail_orderPackages_trackingInfo {
329
331
  */
330
332
  trackingLink: string | null;
331
333
  /**
332
- * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
334
+ * Indicates whether the notification is sent to the customer after the cargo is
335
+ * delivered. **isSendNotification** returns true if the notification is sent.
333
336
  */
334
337
  isSendNotification: boolean | null;
335
338
  /**
@@ -534,7 +537,8 @@ export interface getOrderByEmail_getOrderByEmail {
534
537
  */
535
538
  currencyRates: getOrderByEmail_getOrderByEmail_currencyRates[];
536
539
  /**
537
- * Information about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null.
540
+ * Information about the customer. The order does not have to be a customer
541
+ * information. If the order was created by ikasPOS, the customer information may be null.
538
542
  */
539
543
  customer: getOrderByEmail_getOrderByEmail_customer | null;
540
544
  deleted: boolean | null;
@@ -597,7 +601,9 @@ export interface getOrderByEmail_getOrderByEmail {
597
601
  */
598
602
  taxLines: getOrderByEmail_getOrderByEmail_taxLines[] | null;
599
603
  /**
600
- * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
604
+ * The total final price of the order resulting from the apply of
605
+ * `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the
606
+ * order total price.
601
607
  */
602
608
  totalFinalPrice: number;
603
609
  /**
@@ -137,7 +137,8 @@ export interface registerCustomer_registerCustomer_customer {
137
137
  */
138
138
  accountStatus: CustomerAccountStatusEnum | null;
139
139
  /**
140
- * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
140
+ * The unique email address of the customer. Attempting to assign the same email
141
+ * address to multiple customers returns an error.
141
142
  */
142
143
  email: string | null;
143
144
  /**
@@ -149,7 +149,8 @@ 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 address to multiple customers returns an error.
152
+ * The unique email address of the customer. Attempting to assign the same email
153
+ * address to multiple customers returns an error.
153
154
  */
154
155
  email: string | null;
155
156
  /**
@@ -18,7 +18,11 @@ 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 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.**
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.**
22
26
  */
23
27
  hasNext: boolean;
24
28
  /**
@@ -25,7 +25,11 @@ 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 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.**
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.**
29
33
  */
30
34
  hasNext: boolean;
31
35
  /**
@@ -45,7 +45,11 @@ 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 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.**
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.**
49
53
  */
50
54
  hasNext: boolean;
51
55
  /**
@@ -6,7 +6,9 @@ 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 information of Variant type is unique according to name.It can be a maximum of 100 characters.
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.
10
12
  */
11
13
  name: string;
12
14
  /**
@@ -56,7 +58,9 @@ export interface listVariantType_listVariantType {
56
58
  */
57
59
  selectionType: VariantSelectionTypeEnum;
58
60
  /**
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.
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.
60
64
  */
61
65
  values: listVariantType_listVariantType_values[];
62
66
  /**