@ikas/storefront 2.0.63-alpha.5 → 2.0.63-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) 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-proxy4.js +1 -1
  5. package/build/analytics/analytics.js +1 -1
  6. package/build/analytics/head/index.js +1 -1
  7. package/build/analytics/tiktokPixel.d.ts +13 -0
  8. package/build/analytics/tiktokPixel.js +1 -0
  9. package/build/api/blog/__generated__/getBlog.d.ts +1 -5
  10. package/build/api/blog/__generated__/listBlog.d.ts +1 -5
  11. package/build/api/blog/__generated__/listBlogCategory.d.ts +1 -5
  12. package/build/api/blog/__generated__/listBlogMetaData.d.ts +1 -5
  13. package/build/api/cart/__generated__/getCart.d.ts +2 -4
  14. package/build/api/cart/__generated__/saveItemToCart.d.ts +2 -4
  15. package/build/api/checkout/__generated__/getCheckoutById.d.ts +2 -4
  16. package/build/api/checkout/__generated__/getOrder.d.ts +5 -11
  17. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +5 -11
  18. package/build/api/customer/__generated__/customerLogin.d.ts +1 -2
  19. package/build/api/customer/__generated__/customerSocialLogin.d.ts +1 -2
  20. package/build/api/customer/__generated__/getCustomerOrders.d.ts +5 -11
  21. package/build/api/customer/__generated__/getMyCustomer.d.ts +1 -2
  22. package/build/api/customer/__generated__/getOrderByEmail.d.ts +5 -11
  23. package/build/api/customer/__generated__/registerCustomer.d.ts +1 -2
  24. package/build/api/customer/__generated__/saveMyCustomer.d.ts +1 -2
  25. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +1 -5
  26. package/build/api/customer-review-summary/__generated__/listCustomerReviewSummary.d.ts +1 -5
  27. package/build/api/merchant/__generated__/listMerchantSettings.d.ts +11 -0
  28. package/build/api/raffle/__generated__/listRaffle.d.ts +1 -5
  29. package/build/api/storefront/__generated__/getStorefront.d.ts +1 -0
  30. package/build/api/storefront/index.js +1 -1
  31. package/build/api/variant-type/__generated__/listVariantType.d.ts +2 -6
  32. package/build/ikas.js +2 -2
  33. package/build/models/data/storefront/index.d.ts +1 -0
  34. package/build/models/data/storefront/index.js +1 -1
  35. package/build/providers/page-data-get.d.ts +1 -0
  36. package/build/providers/page-data-next.d.ts +6 -0
  37. package/build/providers/page-data-next.js +1 -1
  38. package/build/storefront/index.d.ts +2 -0
  39. package/build/storefront/index.js +1 -1
  40. package/package.json +1 -1
@@ -114,6 +114,10 @@ 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
+ }
117
121
  /**
118
122
  * Customer Account Statuses
119
123
  */
@@ -489,8 +493,13 @@ export interface CreateCustomerReviewInput {
489
493
  title?: string | null;
490
494
  updatedAt?: any | null;
491
495
  }
496
+ export interface CreateSaleTransactionMasterPassPaymentMethodDetail {
497
+ phoneNumber?: string | null;
498
+ savedCardName?: string | null;
499
+ }
492
500
  export interface CreateSaleTransactionWithCheckoutInput {
493
501
  checkoutId: string;
502
+ masterPassDetail?: CreateSaleTransactionMasterPassPaymentMethodDetail | null;
494
503
  paymentGatewayId: string;
495
504
  paymentMethodDetail?: PaymentMethodDetailInput | null;
496
505
  }
@@ -1 +1 @@
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
+ var E,T,R,A,D,C,I,_,N,L,O,U,S,P,F,n,M,H,Y,B,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,q;!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.LEFT="LEFT",E.RIGHT="RIGHT"}(F||(F={})),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"}(n||(n={})),function(E){E.INVISIBLE="INVISIBLE",E.READ="READ",E.WRITE="WRITE"}(M||(M={})),function(E){E.INVISIBLE="INVISIBLE",E.MANDATORY="MANDATORY",E.OPTIONAL="OPTIONAL"}(H||(H={})),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"}(V||(V={})),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"}(o||(o={})),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"}(t||(t={})),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"}(c||(c={})),function(E){E.PAID="PAID",E.PARTIALLY_PAID="PARTIALLY_PAID",E.WAITING="WAITING"}(f||(f={})),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"}(i||(i={})),function(E){E.DECREMENT="DECREMENT",E.INCREMENT="INCREMENT"}(u||(u={})),function(E){E.AMOUNT="AMOUNT",E.RATIO="RATIO"}(G||(G={})),function(E){E.EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY"}(W||(W={})),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"}(K||(K={})),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"}(X||(X={})),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"}(Q||(Q={})),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"}(J||(J={})),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"}(Z||(Z={})),function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(r||(r={})),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"}(a||(a={})),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"}(e||(e={})),function(E){E.RAFFLE="RAFFLE"}(p||(p={})),function(E){E.CLICK_AND_COLLECT="CLICK_AND_COLLECT",E.NO_SHIPMENT="NO_SHIPMENT",E.SHIPMENT="SHIPMENT"}(v||(v={})),function(E){E.ASC="ASC",E.DESC="DESC"}(x||(x={})),function(E){E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE"}(b||(b={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(d||(d={})),function(E){E.FAILED="FAILED",E.NOT_DEPLOYED="NOT_DEPLOYED",E.READY="READY",E.WAITING="WAITING"}(g||(g={})),function(E){E.AMERICAN_EXPRESS="AMERICAN_EXPRESS",E.MASTER_CARD="MASTER_CARD",E.TROY="TROY",E.VISA="VISA"}(h||(h={})),function(E){E.CREDIT="CREDIT",E.DEBIT="DEBIT",E.PREPAID="PREPAID"}(j||(j={})),function(E){E.AUTHORIZED="AUTHORIZED",E.FAILED="FAILED",E.PENDING="PENDING",E.SUCCESS="SUCCESS"}(k||(k={})),function(E){E.REFUND="REFUND",E.SALE="SALE",E.VOID="VOID"}(l||(l={})),function(E){E.CHOICE="CHOICE",E.COLOR="COLOR"}(m||(m={})),function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}(q||(q={}));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 CurrencyFormatSymbolPosition,n as CustomerAccountStatusEnum,M as CustomerAttributePermissionEnum,H as CustomerAttributeRegisterPageRequirementEnum,Y as CustomerAttributeTypeEnum,B as CustomerEmailSubscriptionStatusesEnum,V as HTMLMetaDataTargetTypeEnum,o as OrderLineItemStatusEnum,t as OrderPackageFulfillStatusEnum,c as OrderPackageStatusEnum,f as OrderPaymentStatusEnum,i as OrderStatusEnum,u as PaymentGatewayAdditionalPriceTypeEnum,G as PaymentGatewayTransactionFeeTypeEnum,W as PaymentGatewayTypeEnum,K as PaymentMethodEnum,X as ProductAttributeTypeEnum,Q as ProductFilterDisplayTypeEnum,J as ProductFilterSortTypeEnum,Z as ProductFilterTypeEnum,r as ProductOptionSelectTypeEnum,a as ProductOptionTypeEnum,e as ProductSearchShowStockOptionEnum,p as RaffleMetadataTargetTypeEnum,v as ShippingMethodEnum,x as SortByDirectionEnum,b as SortByTypeEnum,d as StorefrontStatusTypes,g as StorefrontThemeStatus,h as TransactionCardAssociationEnum,j as TransactionCardTypeEnum,k as TransactionStatusEnum,l as TransactionTypeEnum,m as VariantSelectionTypeEnum,q as VerificationTypeEnum};
@@ -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 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 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
+ 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 i}from"../models/data/brand/index.js";import{IkasCategory as s}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";import{TiktokPixel as v}from"./tiktokPixel.js";var j=function(){function j(){o(this)}return j.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]}}))}))},j.pageView=function(r){return t(this,void 0,void 0,(function(){var t,o,i;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=window.location.href,[4,j.getCustomerInfo()];case 1:return o=e.sent(),u.pageView(t),f.pageView(r),b(j.subscribers,(function(e){e.callback({type:m.PAGE_VIEW,data:{url:t,pageType:r,customer:o}})})),[3,3];case 2:return i=e.sent(),console.error(i),[3,3];case 3:return[2]}}))}))},j.productView=function(t){try{if(n.productView(t),u.productView(t),f.productView(t),h.productView(t),g.productView(t),v.productView(t),j.subscribers.length){var e=p(t),r=new c(e.product,e.selectedVariantValues);b(j.subscribers,(function(t){t.callback({type:m.PRODUCT_VIEW,data:{productDetail:r}})}))}}catch(t){console.error(t)}},j.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.addToCart(t,e),j.subscribers.length){var i=p(t),s=new d(p(o));b(j.subscribers,(function(t){t.callback({type:m.ADD_TO_CART,data:{item:i,quantity:e,cart:s}})}))}}catch(t){console.error(t)}},j.removeFromCart=function(t,e,r){try{if(u.removeFromCart(t,e),h.removeFromCart(t,e),g.removeFromCart(t,e),j.subscribers.length){var o=p(t),i=new d(p(r));b(j.subscribers,(function(t){t.callback({type:m.REMOVE_FROM_CART,data:{item:o,quantity:e,cart:i}})}))}}catch(t){console.error(t)}},j.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.beginCheckout(),j.subscribers.length){var r=new a(p(t));b(j.subscribers,(function(t){t.callback({type:m.BEGIN_CHECKOUT,data:{checkout:r}})}))}}catch(t){console.error(t)}},j.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.purchase(t),j.subscribers.length){var r=new a(p(t)),o=p(e);b(j.subscribers,(function(t){t.callback({type:m.COMPLETE_CHECKOUT,data:{checkout:r,transaction:o}})}))}}catch(t){console.error(t)}},j.checkoutStep=function(t,e){try{if(u.checkoutStep(t,e),f.checkoutStep(t,e),h.checkoutStep(t,e),j.subscribers.length){var r=new a(p(t));b(j.subscribers,(function(t){t.callback({type:m.CHECKOUT_STEP,data:{checkout:r,step:e}})}))}}catch(t){console.error(t)}},j.disableHTML=function(){try{u.disableHTML()}catch(t){console.error(t)}},j.addToWishlist=function(t){try{n.addToWishlist(t),v.addToWishlist(t),j.subscribers.length&&b(j.subscribers,(function(e){e.callback({type:m.ADD_TO_WISHLIST,data:{productId:t}})}))}catch(t){console.error(t)}},j.search=function(t){try{n.search(t),u.search(t),v.search(t),j.subscribers.length&&b(j.subscribers,(function(e){e.callback({type:m.SEARCH,data:{searchKeyword:t}})}))}catch(t){console.error(t)}},j.completeRegistration=function(t){try{n.completeRegistration(),u.completeRegistration(),v.completeRegistration(),f.customerRegister(),j.subscribers.length&&b(j.subscribers,(function(e){e.callback({type:m.CUSTOMER_REGISTER,data:{email:t.email,firstName:t.firstName,lastName:t.lastName}})}))}catch(t){console.error(t)}},j.createEmailSubscripition=function(t){try{j.subscribers.length&&b(j.subscribers,(function(e){e.callback({type:m.EMAIL_SUBSCRIPTION,data:{email:t}})}))}catch(t){console.error(t)}},j.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,j.getCustomerInfo()];case 1:return(t=e.sent())&&t.email?(u.customerLogin(t.email),f.customerLogin(),j.subscribers.length&&b(j.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]}}))}))},j.customerLogout=function(){return t(this,void 0,void 0,(function(){return e(this,(function(t){try{j.subscribers.length&&b(j.subscribers,(function(t){t.callback({type:m.CUSTOMER_LOGOUT,data:{}})}))}catch(t){console.error(t)}return[2]}))}))},j.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,j.getCustomerInfo()];case 1:return(t=e.sent())&&t.email?(u.customerVisit(t.email),f.customerVisit(),j.subscribers.length&&b(j.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]}}))}))},j.viewCart=function(t){try{if(t&&(n.viewCart(t),f.viewCart(t),h.viewCart(t),j.subscribers.length)){var e=new d(p(t));b(j.subscribers,(function(t){t.callback({type:m.VIEW_CART,data:{cart:e}})}))}}catch(t){console.error(t)}},j.viewCategory=function(t,e){try{if(n.viewCategory(t),u.viewCategory(e,t),f.viewCategory(e),v.viewCategory(e),j.subscribers.length){var r=new s(p(e));b(j.subscribers,(function(e){e.callback({type:m.VIEW_CATEGORY,data:{categoryPath:t,category:r}})}))}}catch(t){console.error(t)}},j.viewBrand=function(t){try{if(f.viewBrand(t),j.subscribers.length){var e=new i(p(t));b(j.subscribers,(function(t){t.callback({type:m.VIEW_BRAND,data:{brand:e}})}))}}catch(t){console.error(t)}},j.viewSearchResults=function(t,e){try{if(j.subscribers.length){var r=p(e).map((function(t){return new c(t.product,t.selectedVariantValues)}));b(j.subscribers,(function(e){e.callback({type:m.VIEW_SEARCH_RESULTS,data:{searchKeyword:t,productDetails:r}})}))}}catch(t){console.error(t)}},j.viewListing=function(t){try{if(j.subscribers.length){var e=p(t).map((function(t){return new c(t.product,t.selectedVariantValues)}));b(j.subscribers,(function(t){t.callback({type:m.VIEW_LISTING,data:{productDetails:e}})}))}}catch(t){console.error(t)}},j.contactForm=function(t){try{if(n.contactForm(),v.contactForm(),j.subscribers.length){var e=p(t);b(j.subscribers,(function(t){t.callback({type:m.CONTACT_FORM,data:{form:e}})}))}}catch(t){console.error(t)}},j.subscribers=[],j}();export{j as Analytics};
@@ -1 +1 @@
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};
1
+ import*as t from"react";import{IkasStorefrontConfig as e}from"../../storefront/index.js";import n from'../../ext/html-react-parser/index.js';import{getIkasEventsScript as a}from"../events.js";import{observer as r}from"mobx-react-lite";var o=r((function(r){var o=r.blockHTML,i=e.gtmId,s=e.fbpId,c=e.storefrontJSScripts,l=e.analytics4Id,d=e.universalAnalyticsId,m=e.tiktokPixelId;return t.createElement(t.Fragment,null,o&&!e.isEditor&&t.createElement("script",{dangerouslySetInnerHTML:{__html:"dataLayer = [{'gtm.blocklist': ['html']}];"}}),i&&!e.isEditor&&t.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(i,"');")}}),s&&!e.isEditor&&t.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(s,"');\n fbq('track', 'PageView');")}}),l&&!e.isEditor&&t.createElement(t.Fragment,null,t.createElement("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(l)}),t.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,"');")}})),d&&!e.isEditor&&t.createElement(t.Fragment,null,t.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(d,"', 'auto');\n ga('require', 'ec');\n ga('send', 'pageview');")}}),t.createElement("script",{async:!0,src:"https://www.google-analytics.com/analytics.js"})),m&&!e.isEditor&&t.createElement("script",{defer:!0,dangerouslySetInnerHTML:{__html:'!function (w, d, t) {\n w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)};\n ttq.load(\''.concat(m,"');\n ttq.page();\n }(window, document, 'ttq');")}}),n(a()),c.map((function(t){return n(t)})))})),i=function(){var n=e.gtmId,a=e.fbpId;return t.createElement(t.Fragment,null,n&&!e.isEditor&&t.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>')}}),a&&!e.isEditor&&t.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<img height="1" width="1" style="display:none" \n src="https://www.facebook.com/tr?id='.concat(a,'&ev=PageView&noscript=1"/>')}}))};export{i as AnalyticsBody,o as AnalyticsHead};
@@ -0,0 +1,13 @@
1
+ import { IkasProductDetail, IkasOrderLineItem, IkasCheckout, IkasCategory } from "../models";
2
+ export declare class TiktokPixel {
3
+ constructor();
4
+ static productView(productDetail: IkasProductDetail): void;
5
+ static addToCart(item: IkasOrderLineItem, quantity: number): void;
6
+ static beginCheckout(): void;
7
+ static purchase(checkout: IkasCheckout): void;
8
+ static addToWishlist(id: string): void;
9
+ static search(searchKeyword: string): void;
10
+ static completeRegistration(): void;
11
+ static viewCategory(category: IkasCategory): void;
12
+ static contactForm(): void;
13
+ }
@@ -0,0 +1 @@
1
+ import{makeAutoObservable as t}from"mobx";import{IkasStorefrontConfig as n}from"../storefront/index.js";var r="undefined"==typeof window,o=function(){function n(){t(this)}return n.productView=function(t){try{return e(),void(!r&&window.ttq&&window.ttq.track("ViewContent",function(t,n){void 0===n&&(n=1);return{content_type:"product",quantity:n,content_id:t.selectedVariant.id,value:t.selectedVariant.price.finalPrice,currency:""===t.selectedVariant.price.currency?"TRY":t.selectedVariant.price.currency}}(t)))}catch(t){console.error(t)}},n.addToCart=function(t,n){try{return e(),void(!r&&window.ttq&&window.ttq.track("AddToCart",function(t,n){void 0===n&&(n=1);return{content_id:t.variant.id,content_type:"product",content_name:t.variant.name,quantity:n,value:t.finalPrice,currency:t.currencyCode}}(t,n)))}catch(t){console.error(t)}},n.beginCheckout=function(){try{return e(),void(!r&&window.ttq&&window.ttq.track("InitiateCheckout"))}catch(t){console.error(t)}},n.purchase=function(t){try{return e(),void(!r&&window.ttq&&window.ttq.track("CompletePayment",function(t){var n,r,o,e=[];return null===(n=t.cart)||void 0===n||n.items.map((function(t){e.push({content_id:t.variant.id,content_type:"product",content_name:t.variant.name,price:t.finalPrice,quantity:t.quantity})})),{contents:e,content_type:"product_group",currency:null===(r=t.cart)||void 0===r?void 0:r.items[0].currencyCode,value:null===(o=t.cart)||void 0===o?void 0:o.totalPrice}}(t)))}catch(t){console.error(t)}},n.addToWishlist=function(t){try{return e(),void(!r&&window.ttq&&window.ttq.track("AddToWishlist",{content_id:t}))}catch(t){console.error(t)}},n.search=function(t){try{return e(),void(!r&&window.ttq&&window.ttq.track("Search",{query:t,content_id:"Search"}))}catch(t){console.error(t)}},n.completeRegistration=function(){try{return e(),void(!r&&window.ttq&&window.ttq.track("CompleteRegistration"))}catch(t){console.error(t)}},n.viewCategory=function(t){try{return e(),void(!r&&window.ttq&&window.ttq.track("ViewContent",{content_id:t.id,content_type:"product_group",content_category:t.name}))}catch(t){console.error(t)}},n.contactForm=function(){try{return e(),void(!r&&window.ttq&&window.ttq.track("Contact"))}catch(t){console.error(t)}},n}();function e(){try{var t=n.store.customerStore.customer;if(!t)return;return void(!r&&window.ttq&&window.ttq.identify({external_id:t.id,email:t.email,phone_number:t.phone||""}))}catch(t){console.error(t)}}export{o as TiktokPixel};
@@ -75,11 +75,7 @@ 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
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.**
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.**
83
79
  */
84
80
  hasNext: boolean;
85
81
  /**
@@ -75,11 +75,7 @@ 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
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.**
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.**
83
79
  */
84
80
  hasNext: boolean;
85
81
  /**
@@ -31,11 +31,7 @@ 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
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.**
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.**
39
35
  */
40
36
  hasNext: boolean;
41
37
  /**
@@ -23,11 +23,7 @@ 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
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.**
26
+ * 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.**
31
27
  */
32
28
  hasNext: boolean;
33
29
  /**
@@ -105,8 +105,7 @@ 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
109
- * 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 than the sell price, the final price is equal to the discount price.
110
109
  */
111
110
  finalPrice: number | null;
112
111
  id: string;
@@ -115,8 +114,7 @@ export interface getCart_getCart_items {
115
114
  */
116
115
  options: getCart_getCart_items_options[] | null;
117
116
  /**
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.
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.
120
118
  */
121
119
  originalOrderLineItemId: string | null;
122
120
  /**
@@ -140,8 +140,7 @@ 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
144
- * 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 than the sell price, the final price is equal to the discount price.
145
144
  */
146
145
  finalPrice: number | null;
147
146
  id: string;
@@ -150,8 +149,7 @@ export interface saveItemToCart_saveItemToCart_items {
150
149
  */
151
150
  options: saveItemToCart_saveItemToCart_items_options[] | null;
152
151
  /**
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.
152
+ * 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.
155
153
  */
156
154
  originalOrderLineItemId: string | null;
157
155
  /**
@@ -425,14 +425,12 @@ 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
429
- * 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 than the sell price, the final price is equal to the discount price.
430
429
  */
431
430
  finalPrice: number | null;
432
431
  id: string;
433
432
  /**
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.
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.
436
434
  */
437
435
  originalOrderLineItemId: string | null;
438
436
  /**
@@ -276,14 +276,12 @@ 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
280
- * 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 than the sell price, the final price is equal to the discount price.
281
280
  */
282
281
  finalPrice: number | null;
283
282
  id: string;
284
283
  /**
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.
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.
287
285
  */
288
286
  originalOrderLineItemId: string | null;
289
287
  /**
@@ -331,8 +329,7 @@ export interface getOrder_getOrder_orderPackages_trackingInfo {
331
329
  */
332
330
  trackingLink: string | null;
333
331
  /**
334
- * Indicates whether the notification is sent to the customer after the cargo is
335
- * delivered. **isSendNotification** returns true if the notification is sent.
332
+ * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
336
333
  */
337
334
  isSendNotification: boolean | null;
338
335
  /**
@@ -537,8 +534,7 @@ export interface getOrder_getOrder {
537
534
  */
538
535
  currencyRates: getOrder_getOrder_currencyRates[];
539
536
  /**
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.
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.
542
538
  */
543
539
  customer: getOrder_getOrder_customer | null;
544
540
  deleted: boolean | null;
@@ -601,9 +597,7 @@ export interface getOrder_getOrder {
601
597
  */
602
598
  taxLines: getOrder_getOrder_taxLines[] | null;
603
599
  /**
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.
600
+ * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
607
601
  */
608
602
  totalFinalPrice: number;
609
603
  /**
@@ -250,14 +250,12 @@ 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
254
- * 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 than the sell price, the final price is equal to the discount price.
255
254
  */
256
255
  finalPrice: number | null;
257
256
  id: string;
258
257
  /**
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.
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.
261
259
  */
262
260
  originalOrderLineItemId: string | null;
263
261
  /**
@@ -301,8 +299,7 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderPackages
301
299
  */
302
300
  trackingLink: string | null;
303
301
  /**
304
- * Indicates whether the notification is sent to the customer after the cargo is
305
- * delivered. **isSendNotification** returns true if the notification is sent.
302
+ * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
306
303
  */
307
304
  isSendNotification: boolean | null;
308
305
  /**
@@ -507,8 +504,7 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
507
504
  */
508
505
  currencyRates: createOrderRefundRequest_createOrderRefundRequest_currencyRates[];
509
506
  /**
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.
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.
512
508
  */
513
509
  customer: createOrderRefundRequest_createOrderRefundRequest_customer | null;
514
510
  deleted: boolean | null;
@@ -571,9 +567,7 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
571
567
  */
572
568
  taxLines: createOrderRefundRequest_createOrderRefundRequest_taxLines[] | null;
573
569
  /**
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.
570
+ * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
577
571
  */
578
572
  totalFinalPrice: number;
579
573
  /**
@@ -141,8 +141,7 @@ 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
145
- * address to multiple customers returns an error.
144
+ * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
146
145
  */
147
146
  email: string | null;
148
147
  /**
@@ -141,8 +141,7 @@ 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
145
- * address to multiple customers returns an error.
144
+ * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
146
145
  */
147
146
  email: string | null;
148
147
  /**
@@ -276,14 +276,12 @@ 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
280
- * 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 than the sell price, the final price is equal to the discount price.
281
280
  */
282
281
  finalPrice: number | null;
283
282
  id: string;
284
283
  /**
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.
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.
287
285
  */
288
286
  originalOrderLineItemId: string | null;
289
287
  /**
@@ -331,8 +329,7 @@ export interface getCustomerOrders_getCustomerOrders_orderPackages_trackingInfo
331
329
  */
332
330
  trackingLink: string | null;
333
331
  /**
334
- * Indicates whether the notification is sent to the customer after the cargo is
335
- * delivered. **isSendNotification** returns true if the notification is sent.
332
+ * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
336
333
  */
337
334
  isSendNotification: boolean | null;
338
335
  /**
@@ -537,8 +534,7 @@ export interface getCustomerOrders_getCustomerOrders {
537
534
  */
538
535
  currencyRates: getCustomerOrders_getCustomerOrders_currencyRates[];
539
536
  /**
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.
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.
542
538
  */
543
539
  customer: getCustomerOrders_getCustomerOrders_customer | null;
544
540
  deleted: boolean | null;
@@ -601,9 +597,7 @@ export interface getCustomerOrders_getCustomerOrders {
601
597
  */
602
598
  taxLines: getCustomerOrders_getCustomerOrders_taxLines[] | null;
603
599
  /**
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.
600
+ * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
607
601
  */
608
602
  totalFinalPrice: number;
609
603
  /**
@@ -133,8 +133,7 @@ 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
137
- * address to multiple customers returns an error.
136
+ * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
138
137
  */
139
138
  email: string | null;
140
139
  /**
@@ -276,14 +276,12 @@ 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
280
- * 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 than the sell price, the final price is equal to the discount price.
281
280
  */
282
281
  finalPrice: number | null;
283
282
  id: string;
284
283
  /**
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.
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.
287
285
  */
288
286
  originalOrderLineItemId: string | null;
289
287
  /**
@@ -331,8 +329,7 @@ export interface getOrderByEmail_getOrderByEmail_orderPackages_trackingInfo {
331
329
  */
332
330
  trackingLink: string | null;
333
331
  /**
334
- * Indicates whether the notification is sent to the customer after the cargo is
335
- * delivered. **isSendNotification** returns true if the notification is sent.
332
+ * Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent.
336
333
  */
337
334
  isSendNotification: boolean | null;
338
335
  /**
@@ -537,8 +534,7 @@ export interface getOrderByEmail_getOrderByEmail {
537
534
  */
538
535
  currencyRates: getOrderByEmail_getOrderByEmail_currencyRates[];
539
536
  /**
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.
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.
542
538
  */
543
539
  customer: getOrderByEmail_getOrderByEmail_customer | null;
544
540
  deleted: boolean | null;
@@ -601,9 +597,7 @@ export interface getOrderByEmail_getOrderByEmail {
601
597
  */
602
598
  taxLines: getOrderByEmail_getOrderByEmail_taxLines[] | null;
603
599
  /**
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.
600
+ * The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price.
607
601
  */
608
602
  totalFinalPrice: number;
609
603
  /**
@@ -137,8 +137,7 @@ 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
141
- * address to multiple customers returns an error.
140
+ * The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error.
142
141
  */
143
142
  email: string | null;
144
143
  /**
@@ -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[];