@ikas/storefront-api 6.1.0-beta.32 → 6.1.0-beta.320

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 (151) hide show
  1. package/build/__api/models/AddItemToCartInput.d.ts +2 -0
  2. package/build/__api/models/AddLoyaltyToCartInput.d.ts +12 -0
  3. package/build/__api/models/AddressFieldRestrictions.d.ts +14 -0
  4. package/build/__api/models/CartLoyaltyLine.d.ts +15 -0
  5. package/build/__api/models/CartV2.d.ts +3 -0
  6. package/build/__api/models/CheckoutSettings.d.ts +3 -0
  7. package/build/__api/models/CreateIyzicoCheckoutFormResponse.d.ts +10 -0
  8. package/build/__api/models/CreatePayWithIkasSessionUrlResponse.d.ts +10 -0
  9. package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +2 -0
  10. package/build/__api/models/CreateStripeExpressCheckoutSessionResponse.d.ts +15 -0
  11. package/build/__api/models/CustomerReview.d.ts +6 -0
  12. package/build/__api/models/CustomerReviewProductModel.d.ts +15 -0
  13. package/build/__api/models/CustomerReviewReplyInfo.d.ts +10 -0
  14. package/build/__api/models/GetCustomerReviewImageUploadUrlResponse.d.ts +11 -0
  15. package/build/__api/models/HepsipayFrameInitResponse.d.ts +11 -0
  16. package/build/__api/models/ListOrderTransactionWithPricesResponse.d.ts +1 -0
  17. package/build/__api/models/LoyaltyCustomerInfo.d.ts +16 -0
  18. package/build/__api/models/LoyaltyProgram.d.ts +26 -0
  19. package/build/__api/models/LoyaltyProgramDiscountSettings.d.ts +12 -0
  20. package/build/__api/models/LoyaltyProgramEarningMethod.d.ts +31 -0
  21. package/build/__api/models/LoyaltyProgramEarningMethodOrderSettings.d.ts +12 -0
  22. package/build/__api/models/LoyaltyProgramEarningMethodProductSettings.d.ts +12 -0
  23. package/build/__api/models/LoyaltyProgramFilter.d.ts +11 -0
  24. package/build/__api/models/LoyaltyProgramMethodTranslation.d.ts +10 -0
  25. package/build/__api/models/LoyaltyProgramPeriod.d.ts +11 -0
  26. package/build/__api/models/LoyaltyProgramPointHistory.d.ts +21 -0
  27. package/build/__api/models/LoyaltyProgramPointHistoryTypeEnumFilterInput.d.ts +13 -0
  28. package/build/__api/models/LoyaltyProgramPointLimit.d.ts +10 -0
  29. package/build/__api/models/LoyaltyProgramSaleChannel.d.ts +11 -0
  30. package/build/__api/models/LoyaltyProgramSpendingMethod.d.ts +24 -0
  31. package/build/__api/models/LoyaltyProgramTier.d.ts +19 -0
  32. package/build/__api/models/LoyaltyProgramTierTranslation.d.ts +10 -0
  33. package/build/__api/models/MilesSmilesDetailsResponse.d.ts +12 -0
  34. package/build/__api/models/OrderAdjustment.d.ts +3 -1
  35. package/build/__api/models/OrderLineItem.d.ts +5 -0
  36. package/build/__api/models/OrderLineItemCustomerSubscriptionPlan.d.ts +9 -0
  37. package/build/__api/models/OrderLineItemSubscriptionPlan.d.ts +12 -0
  38. package/build/__api/models/OrderLineItemSubscriptionPlanPeriod.d.ts +19 -0
  39. package/build/__api/models/OrderLoyaltyLine.d.ts +14 -0
  40. package/build/__api/models/ProductSearchResponse.d.ts +2 -0
  41. package/build/__api/models/RewardInput.d.ts +11 -0
  42. package/build/__api/models/SearchInput.d.ts +2 -0
  43. package/build/__api/models/SearchSuggestion.d.ts +12 -0
  44. package/build/__api/models/StorefrontPopup.d.ts +1 -0
  45. package/build/__api/models/StorefrontPopupDisplayFilter.d.ts +3 -3
  46. package/build/__api/models/StorefrontWidgetSettings.d.ts +14 -0
  47. package/build/__api/models/StorefrontWidgetSettingsRouting.d.ts +10 -0
  48. package/build/__api/models/StripeExpressCheckoutAddressInput.d.ts +12 -0
  49. package/build/__api/models/StripeExpressCheckoutCustomerInput.d.ts +12 -0
  50. package/build/__api/models/StripeExpressCheckoutSessionContextResponse.d.ts +15 -0
  51. package/build/__api/models/SubscriptionPlanDiscount.d.ts +11 -0
  52. package/build/__api/models/UpdatePaypalOrderAddressInput.d.ts +12 -0
  53. package/build/__api/models/UpdatePaypalOrderCustomerInput.d.ts +12 -0
  54. package/build/__api/models/UpdatePaypalOrderInput.d.ts +16 -0
  55. package/build/__api/models/UpdateStripeExpressCheckoutSessionInput.d.ts +17 -0
  56. package/build/__api/mutations/addItemToCart.d.ts +13 -0
  57. package/build/__api/mutations/addItemToCart.js +1 -1
  58. package/build/__api/mutations/createIyzicoCheckoutForm.d.ts +11 -0
  59. package/build/__api/mutations/createIyzicoCheckoutForm.js +1 -0
  60. package/build/__api/mutations/createPayWithIkasSessionUrl.d.ts +11 -0
  61. package/build/__api/mutations/createPayWithIkasSessionUrl.js +1 -0
  62. package/build/__api/mutations/createPaypalOrder.d.ts +2 -0
  63. package/build/__api/mutations/createPaypalOrder.js +1 -1
  64. package/build/__api/mutations/createStripeExpressCheckoutSession.d.ts +16 -0
  65. package/build/__api/mutations/createStripeExpressCheckoutSession.js +1 -0
  66. package/build/__api/mutations/customerDeactivate.d.ts +1 -1
  67. package/build/__api/mutations/customerDeactivate.js +1 -1
  68. package/build/__api/mutations/customerLogin.d.ts +6 -2
  69. package/build/__api/mutations/customerLogin.js +1 -1
  70. package/build/__api/mutations/getCustomerReviewImageUploadUrl.d.ts +13 -0
  71. package/build/__api/mutations/getPaypalClientId.d.ts +1 -1
  72. package/build/__api/mutations/getPaypalClientId.js +1 -1
  73. package/build/__api/mutations/hepsipayFrameInit.d.ts +13 -0
  74. package/build/__api/mutations/hepsipayFrameInit.js +1 -0
  75. package/build/__api/mutations/registerCustomer.d.ts +8 -4
  76. package/build/__api/mutations/registerCustomer.js +1 -1
  77. package/build/__api/mutations/removeLoyaltyPointsFromCart.d.ts +535 -0
  78. package/build/__api/mutations/removeLoyaltyPointsFromCart.js +1 -0
  79. package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +2 -5
  80. package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -1
  81. package/build/__api/mutations/updatePaypalOrder.d.ts +8 -0
  82. package/build/__api/mutations/updatePaypalOrder.js +1 -0
  83. package/build/__api/mutations/updateStripeExpressCheckoutSession.d.ts +16 -0
  84. package/build/__api/mutations/updateStripeExpressCheckoutSession.js +1 -0
  85. package/build/__api/mutations/useLoyaltyPoints.d.ts +534 -0
  86. package/build/__api/mutations/useLoyaltyPoints.js +1 -0
  87. package/build/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +1 -0
  88. package/build/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -1
  89. package/build/__api/mutations/validateOTPCode.d.ts +97 -0
  90. package/build/__api/mutations/validateOTPCode.js +1 -0
  91. package/build/__api/queries/getAvailableStockLocations.d.ts +1 -0
  92. package/build/__api/queries/getAvailableStockLocations.js +1 -1
  93. package/build/__api/queries/getCart.d.ts +13 -0
  94. package/build/__api/queries/getCartById.d.ts +23 -0
  95. package/build/__api/queries/getCartById.js +1 -1
  96. package/build/__api/queries/getCheckoutByCartId.d.ts +13 -0
  97. package/build/__api/queries/getCheckoutById.d.ts +13 -0
  98. package/build/__api/queries/getCustomerOrders.d.ts +19 -0
  99. package/build/__api/queries/getCustomerOrders.js +1 -1
  100. package/build/__api/queries/getLoyaltyCustomerInfo.d.ts +33 -0
  101. package/build/__api/queries/getLoyaltyCustomerInfo.js +1 -0
  102. package/build/__api/queries/getLoyaltyProgram.d.ts +84 -0
  103. package/build/__api/queries/getLoyaltyProgram.js +1 -0
  104. package/build/__api/queries/getMilesSmilesDetails.d.ts +10 -0
  105. package/build/__api/queries/getMilesSmilesDetails.js +1 -0
  106. package/build/__api/queries/getOrder.d.ts +19 -0
  107. package/build/__api/queries/getOrderInvoicePdfUrl.d.ts +7 -0
  108. package/build/__api/queries/getOrderInvoicePdfUrl.js +1 -0
  109. package/build/__api/queries/getStoreCreditBalance.d.ts +25 -0
  110. package/build/__api/queries/getStoreCreditBalance.js +1 -0
  111. package/build/__api/queries/getStorefrontWidgetSettings.d.ts +14 -0
  112. package/build/__api/queries/getStorefrontWidgetSettings.js +1 -0
  113. package/build/__api/queries/listCheckoutSettings.d.ts +7 -0
  114. package/build/__api/queries/listCheckoutSettings.js +1 -1
  115. package/build/__api/queries/listCustomerReviewSummary.d.ts +1 -0
  116. package/build/__api/queries/listCustomerReviews.d.ts +12 -0
  117. package/build/__api/queries/listCustomerReviews.js +1 -1
  118. package/build/__api/queries/listEarningMethods.d.ts +35 -0
  119. package/build/__api/queries/listEarningMethods.js +1 -0
  120. package/build/__api/queries/listLoyaltyProgramPointHistory.d.ts +25 -0
  121. package/build/__api/queries/listLoyaltyProgramPointHistory.js +1 -0
  122. package/build/__api/queries/listLoyaltyProgramTiers.d.ts +20 -0
  123. package/build/__api/queries/listLoyaltyProgramTiers.js +1 -0
  124. package/build/__api/queries/listOrderTransactionsWithPrices.d.ts +1 -0
  125. package/build/__api/queries/listOrderTransactionsWithPrices.js +1 -1
  126. package/build/__api/queries/listSpendingMethodsByCartId.d.ts +29 -0
  127. package/build/__api/queries/listSpendingMethodsByCartId.js +1 -0
  128. package/build/__api/queries/listStorefrontPopup.d.ts +3 -0
  129. package/build/__api/queries/listStorefrontPopup.js +1 -1
  130. package/build/__api/queries/searchProducts.d.ts +21 -0
  131. package/build/__api/queries/searchProducts.js +1 -1
  132. package/build/__api/types/index.d.ts +514 -15
  133. package/build/__api/types/index.js +1 -1
  134. package/build/api/cart/index.d.ts +7 -1
  135. package/build/api/cart/index.js +1 -1
  136. package/build/api/checkout/index.d.ts +15 -2
  137. package/build/api/checkout/index.js +1 -1
  138. package/build/api/customer/index.d.ts +37 -6
  139. package/build/api/customer/index.js +1 -1
  140. package/build/api/loyalty/index.d.ts +14 -0
  141. package/build/api/loyalty/index.js +1 -0
  142. package/build/api/miles-smiles/index.d.ts +3 -0
  143. package/build/api/miles-smiles/index.js +1 -0
  144. package/build/api/product/index.d.ts +2 -1
  145. package/build/api/product/index.js +1 -1
  146. package/build/api/storefront/index.d.ts +7 -1
  147. package/build/index.d.ts +5 -2
  148. package/build/index.js +1 -1
  149. package/build/index2.js +1 -1
  150. package/package.json +7 -7
  151. package/build/__api/queries/checkOrderStocks.d.ts +0 -13
@@ -13,7 +13,9 @@ export declare enum CampaignApplicablePriceEnum {
13
13
  export declare enum CampaignCreatedForEnum {
14
14
  ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
15
15
  CART = "CART",
16
- CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
16
+ CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
17
+ LOYALTY_SPEND = "LOYALTY_SPEND",
18
+ MARKETING_CAMPAIGN = "MARKETING_CAMPAIGN"
17
19
  }
18
20
  export declare enum CampaignFilterTypeEnum {
19
21
  CATEGORY = "CATEGORY",
@@ -167,6 +169,11 @@ export declare enum CustomerEmailSubscriptionStatusesEnum {
167
169
  PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
168
170
  SUBSCRIBED = "SUBSCRIBED"
169
171
  }
172
+ export declare enum CustomerGenderTypeEnum {
173
+ FEMALE = "FEMALE",
174
+ MALE = "MALE",
175
+ OTHER = "OTHER"
176
+ }
170
177
  export declare enum CustomerPriceListRuleFilterTypeEnum {
171
178
  CATEGORY = "CATEGORY",
172
179
  PRODUCT = "PRODUCT",
@@ -198,6 +205,10 @@ export declare enum GetSuggestedProductsMethodEnum {
198
205
  SAMPLING = "SAMPLING",
199
206
  VIEWED_TOGETHER = "VIEWED_TOGETHER"
200
207
  }
208
+ export declare enum GiftCardTypeEnum {
209
+ GIFT_CARD = "GIFT_CARD",
210
+ STORE_CREDIT = "STORE_CREDIT"
211
+ }
201
212
  export declare enum HTMLMetaDataTargetTypeEnum {
202
213
  BRAND = "BRAND",
203
214
  CATEGORY = "CATEGORY",
@@ -406,6 +417,13 @@ export declare enum ProductSearchShowStockOptionEnum {
406
417
  SHOW_ALL = "SHOW_ALL",
407
418
  SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
408
419
  }
420
+ export declare enum ProductTypeEnum {
421
+ BUNDLE = "BUNDLE",
422
+ DIGITAL = "DIGITAL",
423
+ MEMBERSHIP = "MEMBERSHIP",
424
+ PHYSICAL = "PHYSICAL",
425
+ SUBSCRIPTION = "SUBSCRIPTION"
426
+ }
409
427
  export declare enum ProductUnitTypeEnum {
410
428
  CENTILITER = "CENTILITER",
411
429
  CENTIMETER = "CENTIMETER",
@@ -429,6 +447,9 @@ export declare enum RaffleParticipantStatusEnum {
429
447
  LOSER = "LOSER",
430
448
  WINNER = "WINNER"
431
449
  }
450
+ export declare enum RewardSourceEnum {
451
+ MILES_SMILES = "MILES_SMILES"
452
+ }
432
453
  export declare enum SalesChannelStatusEnum {
433
454
  HIDDEN = "HIDDEN",
434
455
  PASSIVE = "PASSIVE",
@@ -515,6 +536,20 @@ export declare enum StorefrontTypeEnum {
515
536
  B2B_STOREFRONT = "B2B_STOREFRONT",
516
537
  STOREFRONT = "STOREFRONT"
517
538
  }
539
+ export declare enum SubscriptionPlanDurationUnitTypeEnum {
540
+ DAY = "DAY",
541
+ MONTH = "MONTH",
542
+ WEEK = "WEEK",
543
+ YEAR = "YEAR"
544
+ }
545
+ export declare enum SubscriptionPlanPaymentTypeEnum {
546
+ POST_PAID = "POST_PAID",
547
+ PRE_PAID = "PRE_PAID"
548
+ }
549
+ export declare enum SubscriptionPlanStatusEnum {
550
+ ACTIVE = "ACTIVE",
551
+ PASSIVE = "PASSIVE"
552
+ }
518
553
  export declare enum TemplateEnum {
519
554
  ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
520
555
  CONTACT_FORM_MERCHANT = "CONTACT_FORM_MERCHANT",
@@ -634,6 +669,14 @@ export interface AdditionalPrice {
634
669
  name: string;
635
670
  type: PaymentGatewayAdditionalPriceTypeEnum;
636
671
  }
672
+ export interface AddressFieldRestrictions {
673
+ addressLine1: string | null;
674
+ addressLine2: string | null;
675
+ companyName: string | null;
676
+ firstName: string | null;
677
+ lastName: string | null;
678
+ taxOffice: string | null;
679
+ }
637
680
  export interface ApplicableProductFilterValue {
638
681
  colorCode: string | null;
639
682
  id: string;
@@ -764,6 +807,11 @@ export interface BuyXThenGetY {
764
807
  getY: GetY;
765
808
  maxUsagePerOrder: number | null;
766
809
  }
810
+ export interface HepsipayFrameInitResponse {
811
+ frameToken: string | null;
812
+ frameUrl: string | null;
813
+ transactionId: string;
814
+ }
767
815
  export interface Campaign {
768
816
  applicableCustomerGroupIds: string[] | null;
769
817
  applicableCustomerIds: string[] | null;
@@ -928,6 +976,7 @@ export interface CartV2 {
928
976
  customerId: string | null;
929
977
  deleted: boolean | null;
930
978
  dueDate: any | null;
979
+ edited: boolean | null;
931
980
  giftCardLines: OrderGiftCardLine[] | null;
932
981
  giftPackageLines: OrderGiftPackageLine[] | null;
933
982
  giftPackageNote: string | null;
@@ -935,6 +984,7 @@ export interface CartV2 {
935
984
  id: string;
936
985
  isGiftPackage: boolean | null;
937
986
  itemCount: number | null;
987
+ loyaltyLines: OrderLoyaltyLine[] | null;
938
988
  merchantId: string;
939
989
  note: string | null;
940
990
  orderAdjustments: OrderAdjustment[] | null;
@@ -1073,6 +1123,7 @@ export interface CheckoutOption {
1073
1123
  required: boolean;
1074
1124
  }
1075
1125
  export interface CheckoutSettings {
1126
+ addressFieldRestrictions: AddressFieldRestrictions | null;
1076
1127
  corporateInvoiceRequirement: CorporateInvoiceRequirementEnum | null;
1077
1128
  couponCodeRequirement: CouponCodeRequirementEnum | null;
1078
1129
  createdAt: any | null;
@@ -1088,6 +1139,7 @@ export interface CheckoutSettings {
1088
1139
  options: CheckoutOption[] | null;
1089
1140
  phoneRequirement: CheckoutRequirementEnum;
1090
1141
  postalCodeRequirement: CheckoutRequirementEnum | null;
1142
+ showBillingAddressOnShippingStep: boolean | null;
1091
1143
  showCheckoutNote: boolean | null;
1092
1144
  showCompanyInfoInShippingAddress: boolean | null;
1093
1145
  showTermsAndConditionsCheckbox: boolean;
@@ -1154,6 +1206,10 @@ export interface CreateAdyenSessionResponse {
1154
1206
  sessionData: string | null;
1155
1207
  sessionId: string;
1156
1208
  }
1209
+ export interface CreateIyzicoCheckoutFormResponse {
1210
+ checkoutFormContent: string;
1211
+ paymentPageUrl: string;
1212
+ }
1157
1213
  export interface CreateKlarnaTokenResponse {
1158
1214
  authorizeUrl: string | null;
1159
1215
  clientToken: string | null;
@@ -1167,6 +1223,19 @@ export interface CreatePaypalOrderResponse {
1167
1223
  sessionToken: string;
1168
1224
  transactionId: string;
1169
1225
  }
1226
+ export interface CreatePayWithIkasSessionUrlResponse {
1227
+ expiresAt: number;
1228
+ payUrl: string;
1229
+ }
1230
+ export interface CreateStripeExpressCheckoutSessionResponse {
1231
+ accountId: string;
1232
+ apiKey: string;
1233
+ callbackUrl: string;
1234
+ clientSecret: string;
1235
+ failUrl: string;
1236
+ sessionId: string;
1237
+ transactionId: string;
1238
+ }
1170
1239
  export interface CreateStripePaymentIntentResponse {
1171
1240
  accountId: string;
1172
1241
  apiKey: string;
@@ -1335,6 +1404,13 @@ export interface CustomerFavoriteProduct {
1335
1404
  productId: string;
1336
1405
  updatedAt: any | null;
1337
1406
  }
1407
+ export interface CustomerLoginResponse {
1408
+ customer: Customer | null;
1409
+ flowId: string | null;
1410
+ otpSend: boolean | null;
1411
+ token: string;
1412
+ tokenExpiry: number;
1413
+ }
1338
1414
  export interface CustomerPriceListRule {
1339
1415
  filters: CustomerPriceListRuleFilter[] | null;
1340
1416
  shouldMatchAllFilters: boolean | null;
@@ -1345,11 +1421,6 @@ export interface CustomerPriceListRuleFilter {
1345
1421
  type: CustomerPriceListRuleFilterTypeEnum;
1346
1422
  valueList: string[];
1347
1423
  }
1348
- export interface CustomerLoginResponse {
1349
- customer: Customer | null;
1350
- token: string;
1351
- tokenExpiry: number;
1352
- }
1353
1424
  export interface CustomerRefreshTokenResponse {
1354
1425
  token: string;
1355
1426
  tokenExpiry: number;
@@ -1358,16 +1429,20 @@ export interface CustomerReview {
1358
1429
  comment: string | null;
1359
1430
  createdAt: any | null;
1360
1431
  customerId: string | null;
1361
- deleted: boolean | null;
1432
+ deleted: boolean;
1362
1433
  email: string | null;
1363
1434
  firstName: string | null;
1364
1435
  id: string;
1365
1436
  imageIds: string[] | null;
1437
+ isPrivateReply: boolean | null;
1366
1438
  lastName: string | null;
1439
+ locale: string | null;
1367
1440
  orderId: string | null;
1368
1441
  orderNumber: string | null;
1442
+ product: CustomerReviewProductModel | null;
1369
1443
  productId: string;
1370
1444
  reply: string | null;
1445
+ replyInfo: CustomerReviewReplyInfo | null;
1371
1446
  salesChannelId: string | null;
1372
1447
  star: number;
1373
1448
  status: CustomerReviewStatusEnum | null;
@@ -1375,6 +1450,18 @@ export interface CustomerReview {
1375
1450
  title: string | null;
1376
1451
  updatedAt: any | null;
1377
1452
  }
1453
+ export interface CustomerReviewProductModel {
1454
+ brandId: string | null;
1455
+ categoryIds: string[] | null;
1456
+ id: string | null;
1457
+ tagIds: string | null;
1458
+ type: ProductTypeEnum | null;
1459
+ vendorId: string | null;
1460
+ }
1461
+ export interface CustomerReviewReplyInfo {
1462
+ createdAt: any | null;
1463
+ staffId: string | null;
1464
+ }
1378
1465
  export interface CustomerReviewSFPaginationResponse {
1379
1466
  count: number;
1380
1467
  data: CustomerReview[];
@@ -1385,7 +1472,7 @@ export interface CustomerReviewSFPaginationResponse {
1385
1472
  export interface CustomerReviewSummary {
1386
1473
  averageStar: number;
1387
1474
  createdAt: any | null;
1388
- deleted: boolean | null;
1475
+ deleted: boolean;
1389
1476
  id: string;
1390
1477
  productId: string;
1391
1478
  stars: CustomerReviewSummaryStar[];
@@ -1468,6 +1555,11 @@ export interface GetAvailableStockLocationAddressCountry {
1468
1555
  export interface GetAvailableStockLocationsResponse {
1469
1556
  stockLocations: GetAvailableStockLocation[];
1470
1557
  }
1558
+ export interface GetCustomerReviewImageUploadUrlResponse {
1559
+ fields: any;
1560
+ imageId: string;
1561
+ uploadUrl: string;
1562
+ }
1471
1563
  export interface GetPaypalClientIdResponse {
1472
1564
  clientId: string;
1473
1565
  merchantClientId: string | null;
@@ -1496,6 +1588,28 @@ export interface GetY {
1496
1588
  discountRatio: number;
1497
1589
  filter: CampaignFilter;
1498
1590
  }
1591
+ export interface GiftCard {
1592
+ active: boolean;
1593
+ amount: number;
1594
+ code: string;
1595
+ createdAt: any | null;
1596
+ customerId: string | null;
1597
+ deleted: boolean;
1598
+ endDate: any | null;
1599
+ id: string;
1600
+ minimumRequiredCartAmount: number | null;
1601
+ salesChannels: GiftCardSalesChannel[] | null;
1602
+ startDate: any | null;
1603
+ type: GiftCardTypeEnum;
1604
+ updatedAt: any | null;
1605
+ usedAllAmount: boolean | null;
1606
+ usedAmount: number;
1607
+ }
1608
+ export interface GiftCardSalesChannel {
1609
+ salesChannelId: string;
1610
+ storefrontId: string | null;
1611
+ storefrontRoutingId: string | null;
1612
+ }
1499
1613
  export interface HTMLMetaData {
1500
1614
  canonicals: string[] | null;
1501
1615
  createdAt: any | null;
@@ -1556,6 +1670,7 @@ export interface ListOrderTransactionWithPricesRefundableTransaction {
1556
1670
  export interface ListOrderTransactionWithPricesResponse {
1557
1671
  chargedAmount: number;
1558
1672
  orderFinalPrice: number;
1673
+ pendingAmount: number;
1559
1674
  refundableTransactions: ListOrderTransactionWithPricesRefundableTransaction[];
1560
1675
  refundedAmount: number;
1561
1676
  remainingBalance: number;
@@ -1636,6 +1751,12 @@ export interface MerchantSettingsCurrencyFormat {
1636
1751
  symbolPosition: CurrencyFormatSymbolPosition;
1637
1752
  thousandSeparator: string;
1638
1753
  }
1754
+ export interface MilesSmilesDetailsResponse {
1755
+ availableMiles: number;
1756
+ firstName: string | null;
1757
+ lastName: string | null;
1758
+ memberId: string;
1759
+ }
1639
1760
  export interface OrderAddress {
1640
1761
  addressLine1: string;
1641
1762
  addressLine2: string | null;
@@ -1691,9 +1812,11 @@ export interface OrderAdjustment {
1691
1812
  campaignId: string | null;
1692
1813
  campaignType: CampaignTypeEnum | null;
1693
1814
  couponId: string | null;
1815
+ createdFor: CampaignCreatedForEnum | null;
1694
1816
  name: string;
1695
1817
  order: number;
1696
1818
  type: OrderAdjustmentEnum;
1819
+ usedLoyaltyPoints: number | null;
1697
1820
  }
1698
1821
  export interface OrderAdjustmentAppliedOrderLine {
1699
1822
  amount: number;
@@ -1726,6 +1849,7 @@ export interface OrderGiftCardLine {
1726
1849
  code: string;
1727
1850
  giftCardId: string;
1728
1851
  id: string;
1852
+ type: GiftCardTypeEnum | null;
1729
1853
  }
1730
1854
  export interface OrderGiftPackageLine {
1731
1855
  price: number;
@@ -1783,11 +1907,31 @@ export interface OrderLineItem {
1783
1907
  status: OrderLineItemStatusEnum;
1784
1908
  statusUpdatedAt: any | null;
1785
1909
  stockLocationId: string | null;
1910
+ subscriptionPlan: OrderLineItemSubscriptionPlan | null;
1786
1911
  taxValue: number | null;
1787
1912
  unitPrice: number | null;
1788
1913
  updatedAt: any | null;
1789
1914
  variant: OrderLineVariant;
1790
1915
  }
1916
+ export interface OrderLineItemCustomerSubscriptionPlan {
1917
+ id: string;
1918
+ }
1919
+ export interface OrderLineItemSubscriptionPlan {
1920
+ id: string;
1921
+ name: string;
1922
+ period: OrderLineItemSubscriptionPlanPeriod;
1923
+ }
1924
+ export interface OrderLineItemSubscriptionPlanPeriod {
1925
+ cutOffDay: number | null;
1926
+ discount: SubscriptionPlanDiscount | null;
1927
+ durationUnit: SubscriptionPlanDurationUnitTypeEnum;
1928
+ durationValue: number;
1929
+ id: string;
1930
+ maxOrders: number | null;
1931
+ paymentType: SubscriptionPlanPaymentTypeEnum;
1932
+ scheduledOrderDay: number | null;
1933
+ title: string;
1934
+ }
1791
1935
  export interface OrderLineOption {
1792
1936
  name: string;
1793
1937
  productOptionId: string;
@@ -2233,6 +2377,7 @@ export interface ProductSearchResponse {
2233
2377
  limit: number;
2234
2378
  page: number;
2235
2379
  results: SearchProduct[];
2380
+ suggestions: SearchSuggestion[] | null;
2236
2381
  totalCount: number;
2237
2382
  }
2238
2383
  export interface ProductTagTranslation {
@@ -2544,6 +2689,29 @@ export interface SearchProductStockLocation {
2544
2689
  stockCount: number;
2545
2690
  stockLocationId: string;
2546
2691
  }
2692
+ export interface SearchProductSubscriptionPlan {
2693
+ name: string;
2694
+ periods: SearchProductSubscriptionPlanPeriod[];
2695
+ status: SubscriptionPlanStatusEnum;
2696
+ subscriptionPlanId: string;
2697
+ translations: SubscriptionPlanTranslation[] | null;
2698
+ }
2699
+ export interface SearchProductSubscriptionPlanDiscount {
2700
+ amount: number;
2701
+ type: OrderAmountTypeEnum;
2702
+ }
2703
+ export interface SearchProductSubscriptionPlanPeriod {
2704
+ cutOffDay: number | null;
2705
+ discount: SearchProductSubscriptionPlanDiscount | null;
2706
+ durationUnit: SubscriptionPlanDurationUnitTypeEnum;
2707
+ durationValue: number;
2708
+ id: string;
2709
+ maxOrders: number | null;
2710
+ paymentType: SubscriptionPlanPaymentTypeEnum;
2711
+ scheduledOrderDay: number | null;
2712
+ status: SubscriptionPlanStatusEnum;
2713
+ title: string;
2714
+ }
2547
2715
  export interface SearchProductTag {
2548
2716
  id: string;
2549
2717
  name: string;
@@ -2554,6 +2722,12 @@ export interface SearchProductVariantType {
2554
2722
  variantType: SearchVariantType;
2555
2723
  variantValueIds: string[];
2556
2724
  }
2725
+ export interface SearchSuggestion {
2726
+ brandId: string | null;
2727
+ categoryId: string | null;
2728
+ id: string;
2729
+ term: string;
2730
+ }
2557
2731
  export interface SearchVariant {
2558
2732
  attributes: SearchProductAttributeValue[] | null;
2559
2733
  barcodeList: string[] | null;
@@ -2567,6 +2741,7 @@ export interface SearchVariant {
2567
2741
  sellIfOutOfStock: boolean | null;
2568
2742
  sku: string | null;
2569
2743
  stocks: SearchProductStockLocation[] | null;
2744
+ subscriptionPlan: SearchProductSubscriptionPlan | null;
2570
2745
  unit: VariantUnitModel | null;
2571
2746
  variantValues: SearchVariationValueRelation[] | null;
2572
2747
  weight: number | null;
@@ -2650,6 +2825,10 @@ export interface StockLocationAddressState {
2650
2825
  id: string | null;
2651
2826
  name: string | null;
2652
2827
  }
2828
+ export interface StoreCreditBalanceResponse {
2829
+ amount: number;
2830
+ storeCredits: GiftCard[];
2831
+ }
2653
2832
  export interface Storefront {
2654
2833
  analytics4Id: string | null;
2655
2834
  createdAt: any | null;
@@ -2890,6 +3069,15 @@ export interface StorefrontTransaction {
2890
3069
  type: TransactionTypeEnum;
2891
3070
  updatedAt: any | null;
2892
3071
  }
3072
+ export interface SubscriptionPlanDiscount {
3073
+ amount: number;
3074
+ type: OrderAmountTypeEnum;
3075
+ }
3076
+ export interface SubscriptionPlanTranslation {
3077
+ description: string | null;
3078
+ locale: string;
3079
+ title: string;
3080
+ }
2893
3081
  export interface Town {
2894
3082
  createdAt: any | null;
2895
3083
  deleted: boolean | null;
@@ -3066,6 +3254,8 @@ export interface AddItemToCartInput {
3066
3254
  priceListId?: string | null;
3067
3255
  salesChannelId: string;
3068
3256
  storefrontThemeId: string;
3257
+ subscriptionPlanId?: string | null;
3258
+ subscriptionPlanPeriodId?: string | null;
3069
3259
  }
3070
3260
  export interface AppliedProductInput {
3071
3261
  productId?: string | null;
@@ -3177,6 +3367,7 @@ export interface CreateSaleTransactionWithCartInput {
3177
3367
  metadata?: any | null;
3178
3368
  paymentGatewayId: string;
3179
3369
  paymentMethodDetail?: PaymentMethodDetailInput | null;
3370
+ reward?: RewardInput | null;
3180
3371
  }
3181
3372
  export interface CreateSaleTransactionWithCheckoutInput {
3182
3373
  checkoutId: string;
@@ -3184,6 +3375,7 @@ export interface CreateSaleTransactionWithCheckoutInput {
3184
3375
  metadata?: any | null;
3185
3376
  paymentGatewayId: string;
3186
3377
  paymentMethodDetail?: PaymentMethodDetailInput | null;
3378
+ reward?: RewardInput | null;
3187
3379
  }
3188
3380
  export interface CustomerAddressCityInput {
3189
3381
  code?: string | null;
@@ -3216,6 +3408,16 @@ export interface CustomerAttributeValueInput {
3216
3408
  customerAttributeOptionId?: string | null;
3217
3409
  value?: string | null;
3218
3410
  }
3411
+ export interface CustomerRegisterSubscriptionInput {
3412
+ email: boolean;
3413
+ phone: boolean;
3414
+ sms: boolean;
3415
+ }
3416
+ export interface CustomerAttributeValueInput {
3417
+ customerAttributeId?: string | null;
3418
+ customerAttributeOptionId?: string | null;
3419
+ value?: string | null;
3420
+ }
3219
3421
  export interface DateFilterInput {
3220
3422
  eq?: any | null;
3221
3423
  gt?: any | null;
@@ -3229,6 +3431,10 @@ export interface DateFilterInput {
3229
3431
  export interface GetOrderLineFile {
3230
3432
  url: string;
3231
3433
  }
3434
+ export interface GetOrderInvoicePdfUrlInput {
3435
+ invoiceId: string;
3436
+ orderId: string;
3437
+ }
3232
3438
  export interface GetProductCampaignsInput {
3233
3439
  customerGroupIds?: string[] | null;
3234
3440
  salesChannelId: string;
@@ -3371,6 +3577,10 @@ export interface RetrieveInstallmentInfoInput {
3371
3577
  paymentGatewayId: string;
3372
3578
  price: number;
3373
3579
  }
3580
+ export interface RewardInput {
3581
+ point: number;
3582
+ source: RewardSourceEnum;
3583
+ }
3374
3584
  export interface SaveCartInput {
3375
3585
  attributes?: OrderAttributeValueInput[] | null;
3376
3586
  billingAddress?: OrderAddressInput | null;
@@ -3460,10 +3670,12 @@ export interface SearchDynamicCurrencySettings {
3460
3670
  }
3461
3671
  export interface SearchInput {
3462
3672
  barcodeList?: string[] | null;
3673
+ baseCategoryIdList?: string[] | null;
3463
3674
  brandId?: string | null;
3464
3675
  brandIdList?: string[] | null;
3465
3676
  categoryIdList?: string[] | null;
3466
3677
  dynamicCurrencySettings?: SearchDynamicCurrencySettings | null;
3678
+ enableSuggestions?: boolean | null;
3467
3679
  facetList?: SearchInputFacetListInput[] | null;
3468
3680
  filterList?: SearchInputFilterListInput[] | null;
3469
3681
  locale?: string | null;
@@ -3505,6 +3717,18 @@ export interface StringFilterInput {
3505
3717
  ne?: string | null;
3506
3718
  nin?: string[] | null;
3507
3719
  }
3720
+ export interface StripeExpressCheckoutAddressInput {
3721
+ city?: string | null;
3722
+ country?: string | null;
3723
+ postalCode?: string | null;
3724
+ state?: string | null;
3725
+ }
3726
+ export interface StripeExpressCheckoutCustomerInput {
3727
+ email?: string | null;
3728
+ firstName?: string | null;
3729
+ id?: string | null;
3730
+ lastName?: string | null;
3731
+ }
3508
3732
  export interface SubscribeToMarketingNotificationsInput {
3509
3733
  captchaToken?: string | null;
3510
3734
  email: string;
@@ -3521,14 +3745,62 @@ export interface UpdateCartCampaignOfferInput {
3521
3745
  quantity?: number | null;
3522
3746
  variantId: string;
3523
3747
  }
3748
+ export interface UpdatePaypalOrderAddressInput {
3749
+ city?: string | null;
3750
+ country?: string | null;
3751
+ postalCode?: string | null;
3752
+ state?: string | null;
3753
+ }
3754
+ export interface UpdatePaypalOrderCustomerInput {
3755
+ email?: string | null;
3756
+ firstName?: string | null;
3757
+ id?: string | null;
3758
+ lastName?: string | null;
3759
+ }
3760
+ export interface UpdatePaypalOrderInput {
3761
+ address?: UpdatePaypalOrderAddressInput | null;
3762
+ cartId: string;
3763
+ customer?: UpdatePaypalOrderCustomerInput | null;
3764
+ shippingSettingsId?: string | null;
3765
+ shippingZoneRateId?: string | null;
3766
+ transactionId: string;
3767
+ }
3768
+ export interface UpdateStripeExpressCheckoutSessionInput {
3769
+ address?: StripeExpressCheckoutAddressInput | null;
3770
+ cartId: string;
3771
+ customer?: StripeExpressCheckoutCustomerInput | null;
3772
+ sessionId: string;
3773
+ shippingSettingsId?: string | null;
3774
+ shippingZoneRateId?: string | null;
3775
+ transactionId: string;
3776
+ }
3524
3777
  export declare enum StorefrontPopupDeviceTypeEnum {
3525
3778
  ALL = "ALL",
3526
3779
  DESKTOP = "DESKTOP",
3527
3780
  MOBILE = "MOBILE"
3528
3781
  }
3529
3782
  export declare enum StorefrontPopupDisplayFilterTypeEnum {
3783
+ APPLIED_CAMPAIGN = "APPLIED_CAMPAIGN",
3784
+ BRAND_IN_CART = "BRAND_IN_CART",
3785
+ CART_ITEM_COUNT = "CART_ITEM_COUNT",
3530
3786
  CART_TOTAL = "CART_TOTAL",
3531
- CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT"
3787
+ CATEGORY_IN_CART = "CATEGORY_IN_CART",
3788
+ CUSTOMER_AUTH_STATUS = "CUSTOMER_AUTH_STATUS",
3789
+ CUSTOMER_GROUP = "CUSTOMER_GROUP",
3790
+ CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT",
3791
+ CUSTOMER_SUBSCRIPTION = "CUSTOMER_SUBSCRIPTION",
3792
+ PRODUCT_IN_CART = "PRODUCT_IN_CART"
3793
+ }
3794
+ export declare enum StorefrontPopupDisplayFilterOperatorEnum {
3795
+ ANY_OF = "ANY_OF",
3796
+ BETWEEN = "BETWEEN",
3797
+ EQUALS = "EQUALS",
3798
+ GREATER_THAN = "GREATER_THAN",
3799
+ GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
3800
+ LESS_THAN = "LESS_THAN",
3801
+ LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
3802
+ NONE_OF = "NONE_OF",
3803
+ NOT_EQUALS = "NOT_EQUALS"
3532
3804
  }
3533
3805
  export declare enum StorefrontPopupDisplayFrequencyEnum {
3534
3806
  EVERY_TIME = "EVERY_TIME",
@@ -3576,6 +3848,7 @@ export interface StorefrontPopup {
3576
3848
  deleted: boolean;
3577
3849
  displayFilters: StorefrontPopupDisplayFilter[] | null;
3578
3850
  displaySettings: StorefrontPopupDisplaySettings;
3851
+ hideFilters: StorefrontPopupDisplayFilter[] | null;
3579
3852
  id: string;
3580
3853
  name: string;
3581
3854
  pageFilters: StorefrontPopupPageFilter[] | null;
@@ -3595,9 +3868,9 @@ export interface StorefrontPopupDateFilter {
3595
3868
  startDate: any | null;
3596
3869
  }
3597
3870
  export interface StorefrontPopupDisplayFilter {
3598
- operator: string;
3871
+ operator: StorefrontPopupDisplayFilterOperatorEnum;
3599
3872
  type: StorefrontPopupDisplayFilterTypeEnum;
3600
- value: string;
3873
+ value: string[];
3601
3874
  }
3602
3875
  export interface StorefrontPopupDisplaySettings {
3603
3876
  frequency: StorefrontPopupDisplayFrequencyEnum;
@@ -3632,8 +3905,234 @@ export interface SaveCustomerFormDataInput {
3632
3905
  storefrontPopupId?: string | null;
3633
3906
  subscriptions?: CustomerRegisterSubscriptionInput | null;
3634
3907
  }
3635
- export declare enum CustomerGenderTypeEnum {
3636
- FEMALE = "FEMALE",
3637
- MALE = "MALE",
3638
- OTHER = "OTHER"
3908
+ export interface AddLoyaltyToCartInput {
3909
+ amount?: number | null;
3910
+ cartId: string;
3911
+ loyaltyProgramId: string;
3912
+ loyaltySpendingMethodId: string;
3913
+ }
3914
+ export interface CartLoyaltyLine {
3915
+ campaignType: CampaignTypeEnum | null;
3916
+ discountAmount: number;
3917
+ discountAmountType: OrderAmountTypeEnum;
3918
+ discountPercentage: number | null;
3919
+ loyaltySpendingMethodId: string;
3920
+ pointUsed: number;
3921
+ }
3922
+ export interface LoyaltyCustomerInfo {
3923
+ cartLoyaltyLines: CartLoyaltyLine[] | null;
3924
+ customerTier: LoyaltyProgramTier | null;
3925
+ loyaltyProgramCustomerId: string;
3926
+ loyaltyProgramId: string;
3927
+ nextTierRequiredPoint: number | null;
3928
+ totalPoint: number;
3929
+ }
3930
+ export interface LoyaltyProgram {
3931
+ createdAt: any | null;
3932
+ deleted: boolean;
3933
+ earningMethods: LoyaltyProgramEarningMethod[] | null;
3934
+ id: string;
3935
+ isPassive: boolean | null;
3936
+ name: string;
3937
+ orderStatusToWinPoints: LoyaltyProgramOrderStatusToWinPointsEnum;
3938
+ previousOrderStartDate: any | null;
3939
+ refillPointsOnRefund: boolean;
3940
+ salesChannels: LoyaltyProgramSaleChannel[] | null;
3941
+ spendingMethods: LoyaltyProgramSpendingMethod[] | null;
3942
+ tiers: LoyaltyProgramTier[] | null;
3943
+ tokenName: string | null;
3944
+ updatedAt: any | null;
3945
+ validityPeriod: LoyaltyProgramPeriod | null;
3946
+ }
3947
+ export interface LoyaltyProgramDiscountSettings {
3948
+ discountAmount: number | null;
3949
+ freeProductId: string | null;
3950
+ freeProductVariantId: string | null;
3951
+ point: number;
3952
+ }
3953
+ export interface LoyaltyProgramEarningMethod {
3954
+ amountPerPointsEarned: number | null;
3955
+ createdAt: any | null;
3956
+ deleted: boolean;
3957
+ description: string | null;
3958
+ earnedPointLimit: LoyaltyProgramPointLimit | null;
3959
+ id: string;
3960
+ isActive: boolean;
3961
+ lastValidityDate: any | null;
3962
+ loyaltyProgramId: string;
3963
+ methodType: EarningMethodTypeEnum;
3964
+ orderSettings: LoyaltyProgramEarningMethodOrderSettings | null;
3965
+ pointEarningType: LoyaltyProgramPointEarningTypeEnum;
3966
+ pointsEarned: number;
3967
+ productSettings: LoyaltyProgramEarningMethodProductSettings | null;
3968
+ quantityPerPointsEarned: number | null;
3969
+ segmentId: string | null;
3970
+ tierIds: string[] | null;
3971
+ translations: LoyaltyProgramMethodTranslation[] | null;
3972
+ updatedAt: any | null;
3973
+ validityPeriod: LoyaltyProgramPeriod | null;
3974
+ }
3975
+ export interface LoyaltyProgramEarningMethodOrderSettings {
3976
+ maxOrderAmount: number | null;
3977
+ minOrderAmount: number;
3978
+ productFilters: LoyaltyProgramFilter[] | null;
3979
+ }
3980
+ export interface LoyaltyProgramEarningMethodProductSettings {
3981
+ maxProductQuantity: number | null;
3982
+ minProductQuantity: number | null;
3983
+ productFilters: LoyaltyProgramFilter[] | null;
3984
+ }
3985
+ export interface LoyaltyProgramFilter {
3986
+ idList: string[];
3987
+ type: LoyaltyProgramFilterTypeEnum;
3988
+ }
3989
+ export interface LoyaltyProgramMethodTranslation {
3990
+ description: string;
3991
+ locale: string;
3992
+ }
3993
+ export interface LoyaltyProgramPeriod {
3994
+ period: string | null;
3995
+ periodType: PeriodTypeEnum | null;
3996
+ }
3997
+ export interface LoyaltyProgramPointHistory {
3998
+ amount: number;
3999
+ createdAt: any | null;
4000
+ customerId: string;
4001
+ customerReviewId: string | null;
4002
+ deleted: boolean;
4003
+ expireDate: any | null;
4004
+ id: string;
4005
+ loyaltyProgramCustomerId: string;
4006
+ loyaltyProgramEarningMethodId: string | null;
4007
+ loyaltyProgramId: string;
4008
+ loyaltyProgramSpendingMethodId: string | null;
4009
+ orderId: string | null;
4010
+ productVariantId: string | null;
4011
+ type: LoyaltyProgramPointHistoryTypeEnum;
4012
+ updatedAt: any | null;
4013
+ }
4014
+ export interface LoyaltyProgramPointLimit {
4015
+ maxPointLimit: number | null;
4016
+ minPointLimit: number | null;
4017
+ }
4018
+ export interface LoyaltyProgramSaleChannel {
4019
+ routingIds: string[] | null;
4020
+ salesChannelId: string;
4021
+ storefrontId: string | null;
4022
+ }
4023
+ export interface LoyaltyProgramSpendingMethod {
4024
+ createdAt: any | null;
4025
+ deleted: boolean;
4026
+ description: string | null;
4027
+ discountSettings: LoyaltyProgramDiscountSettings | null;
4028
+ id: string;
4029
+ isActive: boolean;
4030
+ isAvailable: boolean | null;
4031
+ isDynamic: boolean;
4032
+ loyaltyProgramId: string;
4033
+ pointUsageLimit: LoyaltyProgramPointLimit | null;
4034
+ productFilters: LoyaltyProgramFilter[] | null;
4035
+ translations: LoyaltyProgramMethodTranslation[] | null;
4036
+ type: LoyaltyProgramMethodSpendingTypeEnum;
4037
+ updatedAt: any | null;
4038
+ }
4039
+ export interface LoyaltyProgramTier {
4040
+ createdAt: any | null;
4041
+ customerSegmentId: string | null;
4042
+ deleted: boolean;
4043
+ id: string;
4044
+ isActive: boolean;
4045
+ loyaltyProgramId: string;
4046
+ name: string;
4047
+ period: LoyaltyProgramPeriod | null;
4048
+ pointsRequired: number | null;
4049
+ tierPointMultiplier: number | null;
4050
+ translations: LoyaltyProgramTierTranslation[] | null;
4051
+ updatedAt: any | null;
4052
+ }
4053
+ export interface LoyaltyProgramTierTranslation {
4054
+ locale: string;
4055
+ name: string;
4056
+ }
4057
+ export declare enum LoyaltyProgramFilterTypeEnum {
4058
+ CATEGORY = "CATEGORY",
4059
+ DYNAMIC_CATEGORY = "DYNAMIC_CATEGORY",
4060
+ PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
4061
+ PRODUCT_BRAND = "PRODUCT_BRAND",
4062
+ PRODUCT_TAG = "PRODUCT_TAG"
4063
+ }
4064
+ export declare enum LoyaltyProgramMethodSpendingTypeEnum {
4065
+ FIXED_AMOUNT = "FIXED_AMOUNT",
4066
+ FREE_PRODUCT = "FREE_PRODUCT",
4067
+ FREE_SHIPPING = "FREE_SHIPPING",
4068
+ RATIO = "RATIO"
4069
+ }
4070
+ export declare enum LoyaltyProgramOrderStatusToWinPointsEnum {
4071
+ ORDER_CREATED = "ORDER_CREATED",
4072
+ ORDER_DELIVERED = "ORDER_DELIVERED",
4073
+ PAYMENT_COMPLETED = "PAYMENT_COMPLETED"
4074
+ }
4075
+ export declare enum LoyaltyProgramPointEarningTypeEnum {
4076
+ DYNAMIC_ORDER_AMOUNT = "DYNAMIC_ORDER_AMOUNT",
4077
+ DYNAMIC_ORDER_QUANTITY = "DYNAMIC_ORDER_QUANTITY",
4078
+ STATIC = "STATIC"
4079
+ }
4080
+ export declare enum LoyaltyProgramPointHistoryTypeEnum {
4081
+ EARN = "EARN",
4082
+ SPEND = "SPEND",
4083
+ REFUND = "REFUND",
4084
+ REFILL = "REFILL"
4085
+ }
4086
+ export interface OrderLoyaltyLine {
4087
+ amount: number;
4088
+ id: string;
4089
+ loyaltyProgramCustomerId: string;
4090
+ loyaltyProgramId: string;
4091
+ loyaltyProgramSpendingMethodType: string | null;
4092
+ loyaltySpendingMethodId: string;
4093
+ }
4094
+ export declare enum EarningMethodTypeEnum {
4095
+ BUY_PRODUCT = "BUY_PRODUCT",
4096
+ CUSTOMER_REGISTER = "CUSTOMER_REGISTER",
4097
+ CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
4098
+ CUSTOMER_SEGMENT = "CUSTOMER_SEGMENT",
4099
+ ENABLE_SUBSCRIPTION = "ENABLE_SUBSCRIPTION",
4100
+ ORDER_CREATE = "ORDER_CREATE"
4101
+ }
4102
+ export declare enum PeriodTypeEnum {
4103
+ MONTH = "MONTH",
4104
+ WEEK = "WEEK",
4105
+ YEAR = "YEAR"
4106
+ }
4107
+ export interface LoyaltyProgramPointHistoryTypeEnumFilterInput {
4108
+ eq?: LoyaltyProgramPointHistoryTypeEnum | null;
4109
+ in?: LoyaltyProgramPointHistoryTypeEnum[] | null;
4110
+ ne?: LoyaltyProgramPointHistoryTypeEnum | null;
4111
+ nin?: LoyaltyProgramPointHistoryTypeEnum[] | null;
4112
+ }
4113
+ export declare enum StorefrontWidgetSettingsStatusEnum {
4114
+ ACTIVE = "ACTIVE",
4115
+ PASSIVE = "PASSIVE"
4116
+ }
4117
+ export interface StorefrontWidgetSettings {
4118
+ createdAt: any | null;
4119
+ deleted: boolean;
4120
+ id: string;
4121
+ status: StorefrontWidgetSettingsStatusEnum;
4122
+ storefrontRoutings: StorefrontWidgetSettingsRouting[];
4123
+ themeSettingsJson: any | null;
4124
+ updatedAt: any | null;
4125
+ }
4126
+ export interface StorefrontWidgetSettingsRouting {
4127
+ storefrontId: string;
4128
+ storefrontRoutingId: string;
4129
+ }
4130
+ export interface StripeExpressCheckoutSessionContextResponse {
4131
+ amountTotal: number | null;
4132
+ currency: string | null;
4133
+ lineItemsJson: string | null;
4134
+ paymentStatus: string | null;
4135
+ sessionId: string;
4136
+ shippingOptionsJson: string | null;
4137
+ transactionId: string;
3639
4138
  }