@ikas/storefront 2.0.63-alpha.8 → 2.0.63
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.
- package/build/__generated__/global-types.d.ts +0 -9
- package/build/__generated__/global-types.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
- package/build/analytics/analytics.js +1 -1
- package/build/analytics/head/index.js +1 -1
- package/build/api/blog/__generated__/getBlog.d.ts +5 -1
- package/build/api/blog/__generated__/listBlog.d.ts +5 -1
- package/build/api/blog/__generated__/listBlogCategory.d.ts +5 -1
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +5 -1
- package/build/api/cart/__generated__/getCart.d.ts +4 -2
- package/build/api/cart/__generated__/saveItemToCart.d.ts +4 -2
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +4 -2
- package/build/api/checkout/__generated__/getOrder.d.ts +11 -5
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +11 -5
- package/build/api/customer/__generated__/customerLogin.d.ts +2 -1
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +2 -1
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +11 -5
- package/build/api/customer/__generated__/getMyCustomer.d.ts +2 -1
- package/build/api/customer/__generated__/getOrderByEmail.d.ts +11 -5
- package/build/api/customer/__generated__/registerCustomer.d.ts +2 -1
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +2 -1
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +5 -1
- package/build/api/customer-review-summary/__generated__/listCustomerReviewSummary.d.ts +5 -1
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +0 -11
- package/build/api/raffle/__generated__/listRaffle.d.ts +5 -1
- package/build/api/storefront/__generated__/getStorefront.d.ts +0 -1
- package/build/api/storefront/index.js +1 -1
- package/build/api/variant-type/__generated__/listVariantType.d.ts +6 -2
- package/build/components/checkout/components/address-form/index.js +1 -1
- package/build/components/checkout/components/form-item/model.js +1 -1
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -1
- package/build/components/index.d.ts +0 -1
- package/build/ikas.js +2 -2
- package/build/index.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/models/data/storefront/index.d.ts +0 -1
- package/build/models/data/storefront/index.js +1 -1
- package/build/pages/404.js +1 -1
- package/build/pages/_slug_/index.js +1 -1
- package/build/pages/account/addresses.js +1 -1
- package/build/pages/account/favorite-products.js +1 -1
- package/build/pages/account/forgot-password.js +1 -1
- package/build/pages/account/index.js +1 -1
- package/build/pages/account/login.js +1 -1
- package/build/pages/account/orders/_id_.js +1 -1
- package/build/pages/account/orders/index.js +1 -1
- package/build/pages/account/raffles.js +1 -1
- package/build/pages/account/recover-password.js +1 -1
- package/build/pages/account/register.js +1 -1
- package/build/pages/blog/_slug_.js +1 -1
- package/build/pages/blog/index.js +1 -1
- package/build/pages/cart.js +1 -1
- package/build/pages/home.js +1 -1
- package/build/pages/pages/_slug_.js +1 -1
- package/build/pages/raffle/_slug_.js +1 -1
- package/build/pages/raffle/index.js +1 -1
- package/build/pages/search.js +1 -1
- package/build/providers/page-data-get.d.ts +0 -1
- package/build/providers/page-data-next.d.ts +0 -6
- package/build/providers/page-data-next.js +1 -1
- package/build/scripts/generators/config/content.js +1 -1
- package/build/store/base.d.ts +0 -1
- package/build/store/base.js +1 -1
- package/build/storefront/index.d.ts +0 -2
- package/build/storefront/index.js +1 -1
- package/package.json +1 -1
- package/build/analytics/tiktokPixel.d.ts +0 -13
- package/build/analytics/tiktokPixel.js +0 -1
- package/build/components/link/index.d.ts +0 -4
- package/build/components/link/index.js +0 -1
|
@@ -114,10 +114,6 @@ export declare enum CheckoutStatusEnum {
|
|
|
114
114
|
KILLED = "KILLED",
|
|
115
115
|
OPEN = "OPEN"
|
|
116
116
|
}
|
|
117
|
-
export declare enum CurrencyFormatSymbolPosition {
|
|
118
|
-
LEFT = "LEFT",
|
|
119
|
-
RIGHT = "RIGHT"
|
|
120
|
-
}
|
|
121
117
|
/**
|
|
122
118
|
* Customer Account Statuses
|
|
123
119
|
*/
|
|
@@ -493,13 +489,8 @@ export interface CreateCustomerReviewInput {
|
|
|
493
489
|
title?: string | null;
|
|
494
490
|
updatedAt?: any | null;
|
|
495
491
|
}
|
|
496
|
-
export interface CreateSaleTransactionMasterPassPaymentMethodDetail {
|
|
497
|
-
phoneNumber?: string | null;
|
|
498
|
-
savedCardName?: string | null;
|
|
499
|
-
}
|
|
500
492
|
export interface CreateSaleTransactionWithCheckoutInput {
|
|
501
493
|
checkoutId: string;
|
|
502
|
-
masterPassDetail?: CreateSaleTransactionMasterPassPaymentMethodDetail | null;
|
|
503
494
|
paymentGatewayId: string;
|
|
504
495
|
paymentMethodDetail?: PaymentMethodDetailInput | null;
|
|
505
496
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var E,T,R,A,D,C,I,_,N,L,O,U,S,P,F,n,M,
|
|
1
|
+
var E,T,R,A,D,C,I,_,N,L,O,U,S,P,F,n,M,Y,B,H,V,o,t,c,f,i,u,G,W,K,X,Q,J,Z,r,a,e,p,v,x,b,d,g,h,j,k,l,m;!function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(E||(E={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(T||(T={})),function(E){E.BLOG="BLOG",E.BLOG_CATEGORY="BLOG_CATEGORY"}(R||(R={})),function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(A||(A={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(D||(D={})),function(E){E.CATEGORY="CATEGORY",E.PRODUCT="PRODUCT",E.PRODUCT_BRAND="PRODUCT_BRAND",E.PRODUCT_TAG="PRODUCT_TAG",E.VARIANT="VARIANT"}(C||(C={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="RATIO"}(I||(I={})),function(E){E.CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER"}(_||(_={})),function(E){E.ACTIVE="ACTIVE",E.FREEZE="FREEZE",E.PASSIVE="PASSIVE"}(N||(N={})),function(E){E.BEST_SELLER="BEST_SELLER",E.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",E.HIGHEST_PRICE="HIGHEST_PRICE",E.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",E.LOWEST_PRICE="LOWEST_PRICE",E.MANUALLY="MANUALLY",E.NEWEST="NEWEST",E.OLDEST="OLDEST"}(L||(L={})),function(E){E.NOT_SENT="NOT_SENT",E.SENT="SENT"}(O||(O={})),function(E){E.NOT_RECOVERED="NOT_RECOVERED",E.RECOVERED="RECOVERED"}(U||(U={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(S||(S={})),function(E){E.COMPLETED="COMPLETED",E.FREEZE="FREEZE",E.KILLED="KILLED",E.OPEN="OPEN"}(P||(P={})),function(E){E.ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",E.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",E.DISABLED_ACCOUNT="DISABLED_ACCOUNT",E.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT"}(F||(F={})),function(E){E.INVISIBLE="INVISIBLE",E.READ="READ",E.WRITE="WRITE"}(n||(n={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(M||(M={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATETIME="DATETIME",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.TEXT="TEXT"}(Y||(Y={})),function(E){E.NOT_SUBSCRIBED="NOT_SUBSCRIBED",E.PENDING_CONFIRMATION="PENDING_CONFIRMATION",E.SUBSCRIBED="SUBSCRIBED"}(B||(B={})),function(E){E.BRAND="BRAND",E.CATEGORY="CATEGORY",E.PAGE="PAGE",E.PRODUCT="PRODUCT"}(H||(H={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED"}(V||(V={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER"}(o||(o={})),function(E){E.CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",E.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",E.UNFULFILLED="UNFULFILLED"}(t||(t={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(c||(c={})),function(E){E.CANCELLED="CANCELLED",E.CREATED="CREATED",E.DRAFT="DRAFT",E.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",E.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED"}(f||(f={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(i||(i={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(u||(u={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(G||(G={})),function(E){E.APP_PAYMENT="APP_PAYMENT",E.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",E.CASH="CASH",E.CASH_ON_DELIVERY="CASH_ON_DELIVERY",E.CREDIT_CARD="CREDIT_CARD",E.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",E.GIFT_CARD="GIFT_CARD",E.MONEY_ORDER="MONEY_ORDER",E.OTHER="OTHER",E.WALLET="WALLET"}(W||(W={})),function(E){E.BOOLEAN="BOOLEAN",E.CHOICE="CHOICE",E.DATETIME="DATETIME",E.HTML="HTML",E.IMAGE="IMAGE",E.MULTIPLE_CHOICE="MULTIPLE_CHOICE",E.NUMERIC="NUMERIC",E.PRODUCT="PRODUCT",E.TABLE="TABLE",E.TEXT="TEXT"}(K||(K={})),function(E){E.BOX="BOX",E.DATE_RANGE="DATE_RANGE",E.LIST="LIST",E.NUMBER_RANGE="NUMBER_RANGE",E.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",E.SWATCH="SWATCH"}(X||(X={})),function(E){E.ALPHABETICAL_ASC="ALPHABETICAL_ASC",E.ALPHABETICAL_DESC="ALPHABETICAL_DESC",E.CUSTOM_SORT="CUSTOM_SORT",E.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",E.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC"}(Q||(Q={})),function(E){E.ATTRIBUTE="ATTRIBUTE",E.AVAILABLE_VARIANT_VALUE="AVAILABLE_VARIANT_VALUE",E.BRAND="BRAND",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.PRICE="PRICE",E.STOCK_STATUS="STOCK_STATUS",E.TAG="TAG",E.VARIANT_TYPE="VARIANT_TYPE"}(J||(J={})),function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(Z||(Z={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(r||(r={})),function(E){E.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",E.SHOW_ALL="SHOW_ALL",E.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(a||(a={})),function(E){E.RAFFLE="RAFFLE"}(e||(e={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT"}(p||(p={})),function(E){E.ASC="ASC",E.DESC="DESC"}(v||(v={})),function(E){E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE"}(x||(x={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(b||(b={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(d||(d={})),function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(g||(g={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(h||(h={})),function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(j||(j={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(k||(k={})),function(E){E.CHOICE="CHOICE",E.COLOR="COLOR"}(l||(l={})),function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}(m||(m={}));export{E as AdjustmentEnum,T as AmountTypeEnum,R as BlogMetadataTargetTypeEnum,A as CampaignApplicablePriceEnum,D as CampaignCreatedForEnum,C as CampaignFilterTypeEnum,I as CampaignTypeEnum,_ as CancelledReasonEnum,N as CartStatusEnum,L as CategoryProductsOrderTypeEnum,O as CheckoutRecoveryEmailStatusEnum,U as CheckoutRecoveryStatusEnum,S as CheckoutRequirementEnum,P as CheckoutStatusEnum,F as CustomerAccountStatusEnum,n as CustomerAttributePermissionEnum,M as CustomerAttributeRegisterPageRequirementEnum,Y as CustomerAttributeTypeEnum,B as CustomerEmailSubscriptionStatusesEnum,H as HTMLMetaDataTargetTypeEnum,V as OrderLineItemStatusEnum,o as OrderPackageFulfillStatusEnum,t as OrderPackageStatusEnum,c as OrderPaymentStatusEnum,f as OrderStatusEnum,i as PaymentGatewayAdditionalPriceTypeEnum,u as PaymentGatewayTransactionFeeTypeEnum,G as PaymentGatewayTypeEnum,W as PaymentMethodEnum,K as ProductAttributeTypeEnum,X as ProductFilterDisplayTypeEnum,Q as ProductFilterSortTypeEnum,J as ProductFilterTypeEnum,Z as ProductOptionSelectTypeEnum,r as ProductOptionTypeEnum,a as ProductSearchShowStockOptionEnum,e as RaffleMetadataTargetTypeEnum,p as ShippingMethodEnum,v as SortByDirectionEnum,x as SortByTypeEnum,b as StorefrontStatusTypes,d as StorefrontThemeStatus,g as TransactionCardAssociationEnum,h as TransactionCardTypeEnum,j as TransactionStatusEnum,k as TransactionTypeEnum,l as VariantSelectionTypeEnum,m as VerificationTypeEnum};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from'../ext/strict-uri-encode/index.js';export{default}from"../node_modules/strict-uri-encode/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as e,__assign as r}from'../ext/tslib/tslib.es6.js';import{makeAutoObservable as o}from"mobx";import"../models/data/blog/index.js";import{IkasBrand as
|
|
1
|
+
import{__awaiter as t,__generator as e,__assign as r}from'../ext/tslib/tslib.es6.js';import{makeAutoObservable as o}from"mobx";import"../models/data/blog/index.js";import{IkasBrand as s}from"../models/data/brand/index.js";import{IkasCategory as i}from"../models/data/category/index.js";import{IkasCheckout as a}from"../models/data/checkout/index.js";import"../models/data/customer/address/index.js";import"../models/data/customer/index.js";import"../models/data/customer-review/index.js";import"../models/data/html-meta-data/index.js";import"../models/data/image/index.js";import"../models/data/installment-info/index.js";import"../models/data/merchant-settings/index.js";import"../models/data/order/index.js";import"../models/data/order/line-item/index.js";import"../api/product-option-file/index.js";import"../models/data/product/index.js";import"../models/data/variant-type/index.js";import"../models/data/product/variant/index.js";import"../models/data/product/variant/price/index.js";import"../models/data/product-attribute/index.js";import"../models/data/product/attribute-value/index.js";import"../models/data/product-filter/index.js";import"../models/data/variant-type/variant-value/index.js";import"../models/data/order-transaction/index.js";import"../models/data/product-option-set/index.js";import"../models/data/raffle/index.js";import"../models/data/product-campaing/campaign/index.js";import"../models/data/customer-attribute/index.js";import"../models/data/customer-attribute/customer-attribute-sales-channel/index.js";import"../models/theme/theme.js";import"../models/theme/page/index.js";import"../models/theme/component/prop/index.js";import"../models/theme/page/component/prop-value/link.js";import"../models/ui/brand-list/index.js";import"../models/ui/blog-list/index.js";import"../models/ui/blog-category-list/index.js";import"../models/ui/category-list/index.js";import{IkasProductDetail as c}from"../models/ui/product-detail/index.js";import"../models/ui/product-list/index.js";import"../models/ui/product-attribute-detail/index.js";import"../models/ui/product-attribute-list/index.js";import"../models/ui/customer-review-list/index.js";import"../models/ui/customer-review-summary-list/index.js";import"../models/ui/validator/index.js";import"../models/ui/validator/rules/index.js";import"../models/ui/validator/form/login.js";import"../models/ui/validator/form/address.js";import"../models/ui/validator/form/register.js";import"../models/ui/validator/form/contact-form.js";import"../models/ui/validator/form/forgot-password.js";import"../models/ui/validator/form/recover-password.js";import"../models/ui/validator/form/account-info.js";import"../models/ui/validator/form/raffle-form.js";import"../models/ui/validator/form/customer-review.js";import"../models/ui/raffle-list/index.js";import"../models/theme/settings/index.js";import"../models/theme/custom-data/index.js";import{FacebookPixel as n}from"./facebookPixel.js";import{GoogleTagManager as u}from"./googleTagManager.js";import{IkasCart as d}from"../models/data/cart/index.js";import{IkasEventType as m}from"./events.js";import{IkasStorefrontConfig as l}from"../storefront/index.js";import p from'../ext/lodash/cloneDeep.js';import{tryForEach as b}from"../utils/helper.js";import"../utils/i18n.js";import f from"./ikas.js";import{GoogleAnalytics as h}from"./googleAnalytics.js";import{GoogleUniversal as g}from"./googleUniversal.js";var v=function(){function v(){o(this)}return v.getCustomerInfo=function(){return t(this,void 0,void 0,(function(){var t,o;return e(this,(function(e){switch(e.label){case 0:return[4,(t=l.store).customerStore.waitUntilInitialized()];case 1:return e.sent(),(o=t.customerStore.customer)?[2,r(r({},o.basicInfo),{consentGranted:t.customerStore.customerConsentGranted})]:[2,null]}}))}))},v.pageView=function(r){return t(this,void 0,void 0,(function(){var t,o,s;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=window.location.href,[4,v.getCustomerInfo()];case 1:return o=e.sent(),u.pageView(t),f.pageView(r),b(v.subscribers,(function(e){e.callback({type:m.PAGE_VIEW,data:{url:t,pageType:r,customer:o}})})),[3,3];case 2:return s=e.sent(),console.error(s),[3,3];case 3:return[2]}}))}))},v.productView=function(t){try{if(n.productView(t),u.productView(t),f.productView(t),h.productView(t),g.productView(t),v.subscribers.length){var e=p(t),r=new c(e.product,e.selectedVariantValues);b(v.subscribers,(function(t){t.callback({type:m.PRODUCT_VIEW,data:{productDetail:r}})}))}}catch(t){console.error(t)}},v.addToCart=function(t,e,r,o){try{if(n.addToCart(t,e,r),u.addToCart(t,e),f.addToCart(t,e,o),h.addToCart(t,e),g.addToCart(t,e),v.subscribers.length){var s=p(t),i=new d(p(o));b(v.subscribers,(function(t){t.callback({type:m.ADD_TO_CART,data:{item:s,quantity:e,cart:i}})}))}}catch(t){console.error(t)}},v.removeFromCart=function(t,e,r){try{if(u.removeFromCart(t,e),h.removeFromCart(t,e),g.removeFromCart(t,e),v.subscribers.length){var o=p(t),s=new d(p(r));b(v.subscribers,(function(t){t.callback({type:m.REMOVE_FROM_CART,data:{item:o,quantity:e,cart:s}})}))}}catch(t){console.error(t)}},v.beginCheckout=function(t){try{var e=localStorage.getItem("gtmBeginCheckout");if(e&&t.id===e)return;if(localStorage.setItem("gtmBeginCheckout",t.id),n.beginCheckout(t),u.beginCheckout(t),f.beginCheckout(t),h.beginCheckout(t),v.subscribers.length){var r=new a(p(t));b(v.subscribers,(function(t){t.callback({type:m.BEGIN_CHECKOUT,data:{checkout:r}})}))}}catch(t){console.error(t)}},v.purchase=function(t,e){try{if(localStorage.removeItem("gtmBeginCheckout"),n.purchase(t,t.orderNumber||""),u.purchase(t,t.orderNumber||""),f.orderSuccess(t),h.purchase(t,t.orderNumber||""),g.purchase(t,t.orderNumber||""),v.subscribers.length){var r=new a(p(t)),o=p(e);b(v.subscribers,(function(t){t.callback({type:m.COMPLETE_CHECKOUT,data:{checkout:r,transaction:o}})}))}}catch(t){console.error(t)}},v.checkoutStep=function(t,e){try{if(u.checkoutStep(t,e),f.checkoutStep(t,e),h.checkoutStep(t,e),v.subscribers.length){var r=new a(p(t));b(v.subscribers,(function(t){t.callback({type:m.CHECKOUT_STEP,data:{checkout:r,step:e}})}))}}catch(t){console.error(t)}},v.disableHTML=function(){try{u.disableHTML()}catch(t){console.error(t)}},v.addToWishlist=function(t){try{n.addToWishlist(t),v.subscribers.length&&b(v.subscribers,(function(e){e.callback({type:m.ADD_TO_WISHLIST,data:{productId:t}})}))}catch(t){console.error(t)}},v.search=function(t){try{n.search(t),u.search(t),v.subscribers.length&&b(v.subscribers,(function(e){e.callback({type:m.SEARCH,data:{searchKeyword:t}})}))}catch(t){console.error(t)}},v.completeRegistration=function(t){try{n.completeRegistration(),u.completeRegistration(),f.customerRegister(),v.subscribers.length&&b(v.subscribers,(function(e){e.callback({type:m.CUSTOMER_REGISTER,data:{email:t.email,firstName:t.firstName,lastName:t.lastName}})}))}catch(t){console.error(t)}},v.createEmailSubscripition=function(t){try{v.subscribers.length&&b(v.subscribers,(function(e){e.callback({type:m.EMAIL_SUBSCRIPTION,data:{email:t}})}))}catch(t){console.error(t)}},v.customerLogin=function(){return t(this,void 0,void 0,(function(){var t,r;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,v.getCustomerInfo()];case 1:return(t=e.sent())&&t.email?(u.customerLogin(t.email),f.customerLogin(),v.subscribers.length&&b(v.subscribers,(function(e){e.callback({type:m.CUSTOMER_LOGIN,data:{customer:t}})})),[3,3]):[2];case 2:return r=e.sent(),console.error(r),[3,3];case 3:return[2]}}))}))},v.customerLogout=function(){return t(this,void 0,void 0,(function(){return e(this,(function(t){try{v.subscribers.length&&b(v.subscribers,(function(t){t.callback({type:m.CUSTOMER_LOGOUT,data:{}})}))}catch(t){console.error(t)}return[2]}))}))},v.customerVisit=function(){return t(this,void 0,void 0,(function(){var t,r;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,v.getCustomerInfo()];case 1:return(t=e.sent())&&t.email?(u.customerVisit(t.email),f.customerVisit(),v.subscribers.length&&b(v.subscribers,(function(e){e.callback({type:m.CUSTOMER_VISIT,data:{customer:t}})})),[3,3]):[2];case 2:return r=e.sent(),console.error(r),[3,3];case 3:return[2]}}))}))},v.viewCart=function(t){try{if(t&&(n.viewCart(t),f.viewCart(t),h.viewCart(t),v.subscribers.length)){var e=new d(p(t));b(v.subscribers,(function(t){t.callback({type:m.VIEW_CART,data:{cart:e}})}))}}catch(t){console.error(t)}},v.viewCategory=function(t,e){try{if(n.viewCategory(t),u.viewCategory(e,t),f.viewCategory(e),v.subscribers.length){var r=new i(p(e));b(v.subscribers,(function(e){e.callback({type:m.VIEW_CATEGORY,data:{categoryPath:t,category:r}})}))}}catch(t){console.error(t)}},v.viewBrand=function(t){try{if(f.viewBrand(t),v.subscribers.length){var e=new s(p(t));b(v.subscribers,(function(t){t.callback({type:m.VIEW_BRAND,data:{brand:e}})}))}}catch(t){console.error(t)}},v.viewSearchResults=function(t,e){try{if(v.subscribers.length){var r=p(e).map((function(t){return new c(t.product,t.selectedVariantValues)}));b(v.subscribers,(function(e){e.callback({type:m.VIEW_SEARCH_RESULTS,data:{searchKeyword:t,productDetails:r}})}))}}catch(t){console.error(t)}},v.viewListing=function(t){try{if(v.subscribers.length){var e=p(t).map((function(t){return new c(t.product,t.selectedVariantValues)}));b(v.subscribers,(function(t){t.callback({type:m.VIEW_LISTING,data:{productDetails:e}})}))}}catch(t){console.error(t)}},v.contactForm=function(t){try{if(n.contactForm(),v.subscribers.length){var e=p(t);b(v.subscribers,(function(t){t.callback({type:m.CONTACT_FORM,data:{form:e}})}))}}catch(t){console.error(t)}},v.subscribers=[],v}();export{v as Analytics};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as e from"react";import{IkasStorefrontConfig as t}from"../../storefront/index.js";import n from'../../ext/html-react-parser/index.js';import{getIkasEventsScript as r}from"../events.js";import{observer as a}from"mobx-react-lite";var s=a((function(a){var s=a.blockHTML,o=t.gtmId,i=t.fbpId,c=t.storefrontJSScripts,l=t.analytics4Id,m=t.universalAnalyticsId;return e.createElement(e.Fragment,null,s&&!t.isEditor&&e.createElement("script",{dangerouslySetInnerHTML:{__html:"dataLayer = [{'gtm.blocklist': ['html']}];"}}),o&&!t.isEditor&&e.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(o,"');")}}),i&&!t.isEditor&&e.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"!function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', '".concat(i,"');\n fbq('track', 'PageView');")}}),l&&!t.isEditor&&e.createElement(e.Fragment,null,e.createElement("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(l)}),e.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat(l,"');")}})),m&&!t.isEditor&&e.createElement(e.Fragment,null,e.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:"window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;\n ga('create', '".concat(m,"', 'auto');\n ga('require', 'ec');\n ga('send', 'pageview');")}}),e.createElement("script",{async:!0,src:"https://www.google-analytics.com/analytics.js"})),n(r()),c.map((function(e){return n(e)})))})),o=function(){var n=t.gtmId,r=t.fbpId;return e.createElement(e.Fragment,null,n&&!t.isEditor&&e.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(n,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>')}}),r&&!t.isEditor&&e.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<img height="1" width="1" style="display:none" \n src="https://www.facebook.com/tr?id='.concat(r,'&ev=PageView&noscript=1"/>')}}))};export{o as AnalyticsBody,s as AnalyticsHead};
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
/**
|
|
@@ -23,7 +23,11 @@ export interface listBlogMetaData_listBlogMetadata {
|
|
|
23
23
|
count: number;
|
|
24
24
|
data: listBlogMetaData_listBlogMetadata_data[];
|
|
25
25
|
/**
|
|
26
|
-
* In the records returned as Response, it shows whether there are any more
|
|
26
|
+
* In the records returned as Response, it shows whether there are any more
|
|
27
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
28
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
29
|
+
* `true` despite these records, **it means there are more records.** If hasNext
|
|
30
|
+
* is `false`, it means there are a total of **90 records.**
|
|
27
31
|
*/
|
|
28
32
|
hasNext: boolean;
|
|
29
33
|
/**
|
|
@@ -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
|
|
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
|
|
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
|
/**
|
|
@@ -140,7 +140,8 @@ export interface saveItemToCart_saveItemToCart_items {
|
|
|
140
140
|
*/
|
|
141
141
|
discountPrice: number | null;
|
|
142
142
|
/**
|
|
143
|
-
* It is the final price of the order line item. If the discount price is less
|
|
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.
|
|
144
145
|
*/
|
|
145
146
|
finalPrice: number | null;
|
|
146
147
|
id: string;
|
|
@@ -149,7 +150,8 @@ export interface saveItemToCart_saveItemToCart_items {
|
|
|
149
150
|
*/
|
|
150
151
|
options: saveItemToCart_saveItemToCart_items_options[] | null;
|
|
151
152
|
/**
|
|
152
|
-
* It is the original order line item id of the line item. If the line item is
|
|
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.
|
|
153
155
|
*/
|
|
154
156
|
originalOrderLineItemId: string | null;
|
|
155
157
|
/**
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
/**
|
|
@@ -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
|
|
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
|
/**
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
/**
|
|
@@ -1,19 +1,8 @@
|
|
|
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
|
-
}
|
|
11
1
|
export interface listMerchantSettings_listMerchantSettings {
|
|
12
2
|
__typename: "MerchantSettings";
|
|
13
3
|
id: string;
|
|
14
4
|
logoId: string | null;
|
|
15
5
|
merchantName: string;
|
|
16
|
-
currencyFormats: listMerchantSettings_listMerchantSettings_currencyFormats[] | null;
|
|
17
6
|
}
|
|
18
7
|
export interface listMerchantSettings {
|
|
19
8
|
listMerchantSettings: listMerchantSettings_listMerchantSettings[];
|
|
@@ -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
|
|
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
|
/**
|
|
@@ -46,7 +46,6 @@ export interface getStorefront_getStorefront {
|
|
|
46
46
|
gtmId: string | null;
|
|
47
47
|
analytics4Id: string | null;
|
|
48
48
|
universalAnalyticsId: string | null;
|
|
49
|
-
tiktokPixelId: string | null;
|
|
50
49
|
id: string;
|
|
51
50
|
localizations: getStorefront_getStorefront_localizations[];
|
|
52
51
|
mainStorefrontThemeId: string | null;
|