@ikas/storefront-api 4.5.13 → 4.6.0

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 (103) hide show
  1. package/build/__api/models/AvailableShippingMethod.d.ts +2 -0
  2. package/build/__api/models/CartV2.d.ts +2 -0
  3. package/build/__api/models/CategoryCondition.d.ts +2 -1
  4. package/build/__api/models/CustomerAddress.d.ts +2 -0
  5. package/build/__api/models/CustomerAddressRegion.d.ts +10 -0
  6. package/build/__api/models/CustomerAddressRegionInput.d.ts +10 -0
  7. package/build/__api/models/CustomerAddressRegionInput.js +1 -0
  8. package/build/__api/models/CustomerReview.d.ts +1 -0
  9. package/build/__api/models/LocalDeliverySettingsDayEstimatedDeliveryTime.d.ts +11 -0
  10. package/build/__api/models/OrderAddress.d.ts +2 -2
  11. package/build/__api/models/OrderAddressInput.d.ts +2 -2
  12. package/build/__api/models/OrderAddressInput.js +1 -1
  13. package/build/__api/models/OrderAddressRegion.d.ts +10 -0
  14. package/build/__api/models/OrderAddressRegionInput.d.ts +10 -0
  15. package/build/__api/models/OrderAddressRegionInput.js +1 -0
  16. package/build/__api/models/OrderAttributeValue.d.ts +11 -0
  17. package/build/__api/models/OrderAttributeValueInput.d.ts +11 -0
  18. package/build/__api/models/OrderAttributeValueInput.js +1 -0
  19. package/build/__api/models/OrderLineBundleVariant.d.ts +1 -0
  20. package/build/__api/models/OrderLineVariant.d.ts +1 -0
  21. package/build/__api/models/SaveCartInput.d.ts +2 -0
  22. package/build/__api/models/SaveCartInput.js +1 -1
  23. package/build/__api/models/SaveMyCustomerAddressInput.d.ts +2 -0
  24. package/build/__api/models/SaveMyCustomerAddressInput.js +1 -1
  25. package/build/__api/models/SocialLoginSettings.d.ts +2 -0
  26. package/build/__api/models/StorefrontFormCheckboxSettings.d.ts +12 -0
  27. package/build/__api/models/StorefrontFormCheckoutFooterPolicy.d.ts +10 -0
  28. package/build/__api/models/StorefrontFormCheckoutFooterSettings.d.ts +10 -0
  29. package/build/__api/models/StorefrontFormCheckoutSettings.d.ts +13 -0
  30. package/build/__api/models/StorefrontFormMailSettings.d.ts +12 -0
  31. package/build/__api/models/StorefrontFormSettings.d.ts +8 -6
  32. package/build/__api/models/StorefrontFormSettingsRouting.d.ts +0 -1
  33. package/build/__api/models/StorefrontPolicy.d.ts +1 -0
  34. package/build/__api/models/StorefrontPolicyRouting.d.ts +0 -1
  35. package/build/__api/models/StorefrontShippingZone.d.ts +13 -0
  36. package/build/__api/models/StorefrontShippingZoneCity.d.ts +12 -0
  37. package/build/__api/models/StorefrontShippingZoneDistrict.d.ts +11 -0
  38. package/build/__api/models/StorefrontShippingZoneRegion.d.ts +10 -0
  39. package/build/__api/models/StorefrontShippingZoneState.d.ts +13 -0
  40. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +4 -0
  41. package/build/__api/mutations/addItemToCart.d.ts +7 -0
  42. package/build/__api/mutations/addItemToCart.js +1 -1
  43. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +5 -0
  44. package/build/__api/mutations/createCustomerReview.d.ts +1 -0
  45. package/build/__api/mutations/createCustomerReview.js +1 -1
  46. package/build/__api/mutations/createOrderRefundRequest.d.ts +2 -0
  47. package/build/__api/mutations/createOrderRefundRequest.js +1 -1
  48. package/build/__api/mutations/customerLogin.d.ts +5 -0
  49. package/build/__api/mutations/customerLogin.js +1 -1
  50. package/build/__api/mutations/registerCustomer.d.ts +5 -0
  51. package/build/__api/mutations/registerCustomer.js +1 -1
  52. package/build/__api/mutations/saveCart.d.ts +7 -0
  53. package/build/__api/mutations/saveCart.js +1 -1
  54. package/build/__api/mutations/saveCartCouponCode.d.ts +7 -0
  55. package/build/__api/mutations/saveCartCouponCode.js +1 -1
  56. package/build/__api/mutations/saveCheckout.d.ts +4 -0
  57. package/build/__api/mutations/saveItemToCart.d.ts +2 -0
  58. package/build/__api/mutations/saveMyCustomer.d.ts +5 -0
  59. package/build/__api/mutations/saveMyCustomer.js +1 -1
  60. package/build/__api/mutations/updateCartCampaignOffer.d.ts +7 -0
  61. package/build/__api/mutations/updateCartCampaignOffer.js +1 -1
  62. package/build/__api/queries/customerSocialLogin.d.ts +5 -0
  63. package/build/__api/queries/customerSocialLogin.js +1 -1
  64. package/build/__api/queries/getAvailableShippingZones.d.ts +23 -0
  65. package/build/__api/queries/getAvailableShippingZones.js +1 -0
  66. package/build/__api/queries/getCart.d.ts +2 -0
  67. package/build/__api/queries/getCartById.d.ts +7 -0
  68. package/build/__api/queries/getCartById.js +1 -1
  69. package/build/__api/queries/getCheckoutByCartId.d.ts +4 -0
  70. package/build/__api/queries/getCheckoutById.d.ts +4 -0
  71. package/build/__api/queries/getCustomerOrders.d.ts +2 -0
  72. package/build/__api/queries/getCustomerOrders.js +1 -1
  73. package/build/__api/queries/getDigitalProductFileDownloadUrl.d.ts +6 -0
  74. package/build/__api/queries/getMyCustomer.d.ts +5 -0
  75. package/build/__api/queries/getMyCustomer.js +1 -1
  76. package/build/__api/queries/getOrder.d.ts +2 -0
  77. package/build/__api/queries/getOrderByEmail.d.ts +2 -0
  78. package/build/__api/queries/getOrderByEmail.js +1 -1
  79. package/build/__api/queries/getProductFilterData.d.ts +2 -0
  80. package/build/__api/queries/getProductFilterData.js +1 -1
  81. package/build/__api/queries/getStorefront.d.ts +2 -0
  82. package/build/__api/queries/listCategory.d.ts +1 -0
  83. package/build/__api/queries/listCategory.js +1 -1
  84. package/build/__api/queries/listCustomerReviews.d.ts +1 -0
  85. package/build/__api/queries/listCustomerReviews.js +1 -1
  86. package/build/__api/queries/listStorefrontFormSettings.d.ts +10 -5
  87. package/build/__api/queries/listStorefrontPolicy.d.ts +1 -1
  88. package/build/__api/types/index.d.ts +121 -43
  89. package/build/__api/types/index.js +1 -1
  90. package/build/api/cart/index.js +1 -1
  91. package/build/api/customer/index.js +1 -1
  92. package/build/api/location/index.d.ts +4 -2
  93. package/build/api/location/index.js +1 -1
  94. package/build/index.js +1 -1
  95. package/package.json +5 -5
  96. package/build/__api/models/ShippingZoneRegion.d.ts +0 -10
  97. package/build/__api/models/ShippingZoneRegionInput.d.ts +0 -10
  98. package/build/__api/models/ShippingZoneRegionInput.js +0 -1
  99. package/build/__api/models/StorefrontCheckboxSettings.d.ts +0 -12
  100. package/build/__api/models/StorefrontCheckoutFooterSettings.d.ts +0 -9
  101. package/build/__api/models/StorefrontCheckoutMarketingSettings.d.ts +0 -10
  102. package/build/__api/models/StorefrontCheckoutSettings.d.ts +0 -14
  103. package/build/__api/models/StorefrontMailSettings.d.ts +0 -12
@@ -1,6 +1,8 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
2
  import { OrderShippingMethodEnum } from "../types";
3
+ import { LocalDeliverySettingsDayEstimatedDeliveryTimeData } from "./LocalDeliverySettingsDayEstimatedDeliveryTime";
3
4
  export declare class AvailableShippingMethodData {
5
+ estimatedDeliveryTime: LocalDeliverySettingsDayEstimatedDeliveryTimeData | null;
4
6
  price: number;
5
7
  rateName: string;
6
8
  shippingMethod: OrderShippingMethodEnum;
@@ -2,6 +2,7 @@ import { DeepReadonly } from "ts-essentials";
2
2
  import BaseModelData from "./_base";
3
3
  import { CartV2StatusEnum, CartCreatedByEnum, OrderPackageStatusEnum, CheckoutRecoveryEmailStatusEnum, CheckoutRecoveryStatusEnum, OrderShippingMethodEnum } from "../types";
4
4
  import { AbandonedCartFlowData } from "./AbandonedCartFlow";
5
+ import { OrderAttributeValueData } from "./OrderAttributeValue";
5
6
  import { AvailableShippingMethodData } from "./AvailableShippingMethod";
6
7
  import { OrderAddressData } from "./OrderAddress";
7
8
  import { CartV2CampaignOfferData } from "./CartV2CampaignOffer";
@@ -16,6 +17,7 @@ import { OrderStorefrontRoutingData } from "./OrderStorefrontRouting";
16
17
  import { OrderTaxLineData } from "./OrderTaxLine";
17
18
  export declare class CartV2Data extends BaseModelData {
18
19
  abandonedCartFlows: AbandonedCartFlowData[] | null;
20
+ attributes: OrderAttributeValueData[] | null;
19
21
  availableShippingMethods: AvailableShippingMethodData[] | null;
20
22
  billingAddress: OrderAddressData | null;
21
23
  campaignOffers: CartV2CampaignOfferData[] | null;
@@ -1,7 +1,8 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
- import { CategoryConditionTypeEnum } from "../types";
2
+ import { CategoryConditionTypeEnum, CategoryConditionMethodEnum } from "../types";
3
3
  export declare class CategoryConditionData {
4
4
  conditionType: CategoryConditionTypeEnum;
5
+ method: CategoryConditionMethodEnum | null;
5
6
  valueList: string[];
6
7
  constructor(data?: Partial<CategoryConditionData>);
7
8
  }
@@ -4,6 +4,7 @@ import { CustomerAttributeValueData } from "./CustomerAttributeValue";
4
4
  import { CustomerAddressCityData } from "./CustomerAddressCity";
5
5
  import { CustomerAddressCountryData } from "./CustomerAddressCountry";
6
6
  import { CustomerAddressDistrictData } from "./CustomerAddressDistrict";
7
+ import { CustomerAddressRegionData } from "./CustomerAddressRegion";
7
8
  import { CustomerAddressStateData } from "./CustomerAddressState";
8
9
  export declare class CustomerAddressData extends BaseModelData {
9
10
  addressLine1: string;
@@ -19,6 +20,7 @@ export declare class CustomerAddressData extends BaseModelData {
19
20
  lastName: string;
20
21
  phone: string | null;
21
22
  postalCode: string | null;
23
+ region: CustomerAddressRegionData | null;
22
24
  state: CustomerAddressStateData | null;
23
25
  taxNumber: string | null;
24
26
  taxOffice: string | null;
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import BaseModelData from "./_base";
3
+ export declare class CustomerAddressRegionData extends BaseModelData {
4
+ name: string;
5
+ constructor(data?: Partial<CustomerAddressRegionData>);
6
+ }
7
+ export declare class CustomerAddressRegion extends CustomerAddressRegionData {
8
+ }
9
+ export declare type PartialCustomerAddressRegion = Partial<CustomerAddressRegion>;
10
+ export declare type ReadOnlyCustomerAddressRegion = DeepReadonly<CustomerAddressRegion>;
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class CustomerAddressRegionInputData {
3
+ id: string;
4
+ name: string;
5
+ constructor(data?: Partial<CustomerAddressRegionInputData>);
6
+ }
7
+ export declare class CustomerAddressRegionInput extends CustomerAddressRegionInputData {
8
+ }
9
+ export declare type PartialCustomerAddressRegionInput = Partial<CustomerAddressRegionInput>;
10
+ export declare type ReadOnlyCustomerAddressRegionInput = DeepReadonly<CustomerAddressRegionInput>;
@@ -0,0 +1 @@
1
+ import{__extends as i}from'./../../ext/tslib/tslib.es6.js';var t=function(i){void 0===i&&(i={}),this.id=i.id||"",this.name=i.name||""};!function(t){function n(){return null!==t&&t.apply(this,arguments)||this}i(n,t)}(t);export{t as CustomerAddressRegionInputData};
@@ -11,6 +11,7 @@ export declare class CustomerReviewData extends BaseModelData {
11
11
  orderId: string | null;
12
12
  orderNumber: string | null;
13
13
  productId: string;
14
+ reply: string | null;
14
15
  salesChannelId: string | null;
15
16
  star: number;
16
17
  status: CustomerReviewStatusEnum | null;
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { LocalDeliverySettingsDeliveryTimeType } from "../types";
3
+ export declare class LocalDeliverySettingsDayEstimatedDeliveryTimeData {
4
+ type: LocalDeliverySettingsDeliveryTimeType;
5
+ value: number;
6
+ constructor(data?: Partial<LocalDeliverySettingsDayEstimatedDeliveryTimeData>);
7
+ }
8
+ export declare class LocalDeliverySettingsDayEstimatedDeliveryTime extends LocalDeliverySettingsDayEstimatedDeliveryTimeData {
9
+ }
10
+ export declare type PartialLocalDeliverySettingsDayEstimatedDeliveryTime = Partial<LocalDeliverySettingsDayEstimatedDeliveryTime>;
11
+ export declare type ReadOnlyLocalDeliverySettingsDayEstimatedDeliveryTime = DeepReadonly<LocalDeliverySettingsDayEstimatedDeliveryTime>;
@@ -2,7 +2,7 @@ import { DeepReadonly } from "ts-essentials";
2
2
  import { OrderAddressCityData } from "./OrderAddressCity";
3
3
  import { OrderAddressCountryData } from "./OrderAddressCountry";
4
4
  import { OrderAddressDistrictData } from "./OrderAddressDistrict";
5
- import { ShippingZoneRegionData } from "./ShippingZoneRegion";
5
+ import { OrderAddressRegionData } from "./OrderAddressRegion";
6
6
  import { OrderAddressStateData } from "./OrderAddressState";
7
7
  export declare class OrderAddressData {
8
8
  addressLine1: string;
@@ -18,7 +18,7 @@ export declare class OrderAddressData {
18
18
  lastName: string;
19
19
  phone: string | null;
20
20
  postalCode: string | null;
21
- region: ShippingZoneRegionData | null;
21
+ region: OrderAddressRegionData | null;
22
22
  state: OrderAddressStateData | null;
23
23
  taxNumber: string | null;
24
24
  taxOffice: string | null;
@@ -2,7 +2,7 @@ import { DeepReadonly } from "ts-essentials";
2
2
  import { OrderAddressCityInputData } from "./OrderAddressCityInput";
3
3
  import { OrderAddressCountryInputData } from "./OrderAddressCountryInput";
4
4
  import { OrderAddressDistrictInputData } from "./OrderAddressDistrictInput";
5
- import { ShippingZoneRegionInputData } from "./ShippingZoneRegionInput";
5
+ import { OrderAddressRegionInputData } from "./OrderAddressRegionInput";
6
6
  import { OrderAddressStateInputData } from "./OrderAddressStateInput";
7
7
  export declare class OrderAddressInputData {
8
8
  addressLine1: string;
@@ -18,7 +18,7 @@ export declare class OrderAddressInputData {
18
18
  lastName: string;
19
19
  phone: string | null;
20
20
  postalCode: string | null;
21
- region: ShippingZoneRegionInputData | null;
21
+ region: OrderAddressRegionInputData | null;
22
22
  state: OrderAddressStateInputData | null;
23
23
  taxNumber: string | null;
24
24
  taxOffice: string | null;
@@ -1 +1 @@
1
- import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import{OrderAddressCityInputData as i}from"./OrderAddressCityInput.js";import{OrderAddressCountryInputData as s}from"./OrderAddressCountryInput.js";import{OrderAddressDistrictInputData as e}from"./OrderAddressDistrictInput.js";import{ShippingZoneRegionInputData as n}from"./ShippingZoneRegionInput.js";import{OrderAddressStateInputData as r}from"./OrderAddressStateInput.js";var o=function(t){void 0===t&&(t={}),this.addressLine1=t.addressLine1||"",this.addressLine2=t.addressLine2||null,this.city=t.city?new i(t.city):new i,this.company=t.company||null,this.country=t.country?new s(t.country):new s,this.district=t.district?new e(t.district):null,this.firstName=t.firstName||"",this.id=t.id||null,this.identityNumber=t.identityNumber||null,this.isDefault=t.isDefault||!1,this.lastName=t.lastName||"",this.phone=t.phone||null,this.postalCode=t.postalCode||null,this.region=t.region?new n(t.region):null,this.state=t.state?new r(t.state):null,this.taxNumber=t.taxNumber||null,this.taxOffice=t.taxOffice||null};!function(i){function s(){return null!==i&&i.apply(this,arguments)||this}t(s,i)}(o);export{o as OrderAddressInputData};
1
+ import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import{OrderAddressCityInputData as i}from"./OrderAddressCityInput.js";import{OrderAddressCountryInputData as s}from"./OrderAddressCountryInput.js";import{OrderAddressDistrictInputData as e}from"./OrderAddressDistrictInput.js";import{OrderAddressRegionInputData as r}from"./OrderAddressRegionInput.js";import{OrderAddressStateInputData as n}from"./OrderAddressStateInput.js";var d=function(t){void 0===t&&(t={}),this.addressLine1=t.addressLine1||"",this.addressLine2=t.addressLine2||null,this.city=t.city?new i(t.city):new i,this.company=t.company||null,this.country=t.country?new s(t.country):new s,this.district=t.district?new e(t.district):null,this.firstName=t.firstName||"",this.id=t.id||null,this.identityNumber=t.identityNumber||null,this.isDefault=t.isDefault||!1,this.lastName=t.lastName||"",this.phone=t.phone||null,this.postalCode=t.postalCode||null,this.region=t.region?new r(t.region):null,this.state=t.state?new n(t.state):null,this.taxNumber=t.taxNumber||null,this.taxOffice=t.taxOffice||null};!function(i){function s(){return null!==i&&i.apply(this,arguments)||this}t(s,i)}(d);export{d as OrderAddressInputData};
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import BaseModelData from "./_base";
3
+ export declare class OrderAddressRegionData extends BaseModelData {
4
+ name: string;
5
+ constructor(data?: Partial<OrderAddressRegionData>);
6
+ }
7
+ export declare class OrderAddressRegion extends OrderAddressRegionData {
8
+ }
9
+ export declare type PartialOrderAddressRegion = Partial<OrderAddressRegion>;
10
+ export declare type ReadOnlyOrderAddressRegion = DeepReadonly<OrderAddressRegion>;
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class OrderAddressRegionInputData {
3
+ id: string;
4
+ name: string;
5
+ constructor(data?: Partial<OrderAddressRegionInputData>);
6
+ }
7
+ export declare class OrderAddressRegionInput extends OrderAddressRegionInputData {
8
+ }
9
+ export declare type PartialOrderAddressRegionInput = Partial<OrderAddressRegionInput>;
10
+ export declare type ReadOnlyOrderAddressRegionInput = DeepReadonly<OrderAddressRegionInput>;
@@ -0,0 +1 @@
1
+ import{__extends as i}from'./../../ext/tslib/tslib.es6.js';var t=function(i){void 0===i&&(i={}),this.id=i.id||"",this.name=i.name||""};!function(t){function n(){return null!==t&&t.apply(this,arguments)||this}i(n,t)}(t);export{t as OrderAddressRegionInputData};
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class OrderAttributeValueData {
3
+ orderAttributeId: string | null;
4
+ orderAttributeOptionId: string | null;
5
+ value: string | null;
6
+ constructor(data?: Partial<OrderAttributeValueData>);
7
+ }
8
+ export declare class OrderAttributeValue extends OrderAttributeValueData {
9
+ }
10
+ export declare type PartialOrderAttributeValue = Partial<OrderAttributeValue>;
11
+ export declare type ReadOnlyOrderAttributeValue = DeepReadonly<OrderAttributeValue>;
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class OrderAttributeValueInputData {
3
+ orderAttributeId: string | null;
4
+ orderAttributeOptionId: string | null;
5
+ value: string | null;
6
+ constructor(data?: Partial<OrderAttributeValueInputData>);
7
+ }
8
+ export declare class OrderAttributeValueInput extends OrderAttributeValueInputData {
9
+ }
10
+ export declare type PartialOrderAttributeValueInput = Partial<OrderAttributeValueInput>;
11
+ export declare type ReadOnlyOrderAttributeValueInput = DeepReadonly<OrderAttributeValueInput>;
@@ -0,0 +1 @@
1
+ import{__extends as t}from'./../../ext/tslib/tslib.es6.js';var i=function(t){void 0===t&&(t={}),this.orderAttributeId=t.orderAttributeId||null,this.orderAttributeOptionId=t.orderAttributeOptionId||null,this.value=t.value||null};!function(i){function r(){return null!==i&&i.apply(this,arguments)||this}t(r,i)}(i);export{i as OrderAttributeValueInputData};
@@ -11,6 +11,7 @@ export declare class OrderLineBundleVariantData {
11
11
  baseUnit: OrderLineBaseUnitData | null;
12
12
  brand: OrderLineVariantBrandData | null;
13
13
  categories: OrderLineVariantCategoryData[] | null;
14
+ fileId: string | null;
14
15
  hsCode: string | null;
15
16
  id: string | null;
16
17
  mainImageId: string | null;
@@ -13,6 +13,7 @@ export declare class OrderLineVariantData {
13
13
  brand: OrderLineVariantBrandData | null;
14
14
  bundleProducts: OrderLineVariantBundleProductModelData[] | null;
15
15
  categories: OrderLineVariantCategoryData[] | null;
16
+ fileId: string | null;
16
17
  hsCode: string | null;
17
18
  id: string | null;
18
19
  mainImageId: string | null;
@@ -1,8 +1,10 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
2
  import BaseModelData from "./_base";
3
+ import { OrderAttributeValueInputData } from "./OrderAttributeValueInput";
3
4
  import { OrderAddressInputData } from "./OrderAddressInput";
4
5
  import { CheckoutCustomerInputData } from "./CheckoutCustomerInput";
5
6
  export declare class SaveCartInputData extends BaseModelData {
7
+ attributes: OrderAttributeValueInputData[] | null;
6
8
  billingAddress: OrderAddressInputData | null;
7
9
  couponCode: string | null;
8
10
  customer: CheckoutCustomerInputData | null;
@@ -1 +1 @@
1
- import{__extends as i}from'./../../ext/tslib/tslib.es6.js';import n from"./_base.js";import{OrderAddressInputData as s}from"./OrderAddressInput.js";import{CheckoutCustomerInputData as t}from"./CheckoutCustomerInput.js";var e=function(n){function e(i){void 0===i&&(i={});var e=n.call(this,i)||this;return e.billingAddress=i.billingAddress?new s(i.billingAddress):null,e.couponCode=i.couponCode||null,e.customer=i.customer?new t(i.customer):null,e.giftPackageNote=i.giftPackageNote||null,e.isGiftPackage=void 0!==i.isGiftPackage&&null!==i.isGiftPackage?i.isGiftPackage:null,e.note=i.note||null,e.shippingAddress=i.shippingAddress?new s(i.shippingAddress):null,e.shippingSettingsId=i.shippingSettingsId||null,e.shippingZoneRateId=i.shippingZoneRateId||null,e.stockLocationId=i.stockLocationId||null,e}return i(e,n),e}(n),o=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return i(s,n),s}(e);export{o as SaveCartInput,e as SaveCartInputData};
1
+ import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import i from"./_base.js";import{OrderAttributeValueInputData as n}from"./OrderAttributeValueInput.js";import{OrderAddressInputData as e}from"./OrderAddressInput.js";import{CheckoutCustomerInputData as s}from"./CheckoutCustomerInput.js";var o=function(i){function o(t){void 0===t&&(t={});var o=i.call(this,t)||this;return o.attributes=t.attributes?t.attributes.map((function(t){return new n(t)})):null,o.billingAddress=t.billingAddress?new e(t.billingAddress):null,o.couponCode=t.couponCode||null,o.customer=t.customer?new s(t.customer):null,o.giftPackageNote=t.giftPackageNote||null,o.isGiftPackage=void 0!==t.isGiftPackage&&null!==t.isGiftPackage?t.isGiftPackage:null,o.note=t.note||null,o.shippingAddress=t.shippingAddress?new e(t.shippingAddress):null,o.shippingSettingsId=t.shippingSettingsId||null,o.shippingZoneRateId=t.shippingZoneRateId||null,o.stockLocationId=t.stockLocationId||null,o}return t(o,i),o}(i),r=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return t(n,i),n}(o);export{r as SaveCartInput,o as SaveCartInputData};
@@ -3,6 +3,7 @@ import BaseModelData from "./_base";
3
3
  import { CustomerAddressCityInputData } from "./CustomerAddressCityInput";
4
4
  import { CustomerAddressCountryInputData } from "./CustomerAddressCountryInput";
5
5
  import { CustomerAddressDistrictInputData } from "./CustomerAddressDistrictInput";
6
+ import { CustomerAddressRegionInputData } from "./CustomerAddressRegionInput";
6
7
  import { CustomerAddressStateInputData } from "./CustomerAddressStateInput";
7
8
  export declare class SaveMyCustomerAddressInputData extends BaseModelData {
8
9
  addressLine1: string;
@@ -17,6 +18,7 @@ export declare class SaveMyCustomerAddressInputData extends BaseModelData {
17
18
  lastName: string;
18
19
  phone: string | null;
19
20
  postalCode: string | null;
21
+ region: CustomerAddressRegionInputData | null;
20
22
  state: CustomerAddressStateInputData | null;
21
23
  taxNumber: string | null;
22
24
  taxOffice: string | null;
@@ -1 +1 @@
1
- import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import e from"./_base.js";import{CustomerAddressCityInputData as s}from"./CustomerAddressCityInput.js";import{CustomerAddressCountryInputData as i}from"./CustomerAddressCountryInput.js";import{CustomerAddressDistrictInputData as n}from"./CustomerAddressDistrictInput.js";import{CustomerAddressStateInputData as r}from"./CustomerAddressStateInput.js";var l=function(e){function l(t){void 0===t&&(t={});var l=e.call(this,t)||this;return l.addressLine1=t.addressLine1||"",l.addressLine2=t.addressLine2||null,l.city=t.city?new s(t.city):new s,l.company=t.company||null,l.country=t.country?new i(t.country):new i,l.district=t.district?new n(t.district):null,l.firstName=t.firstName||"",l.identityNumber=t.identityNumber||null,l.isDefault=void 0!==t.isDefault&&null!==t.isDefault?t.isDefault:null,l.lastName=t.lastName||"",l.phone=t.phone||null,l.postalCode=t.postalCode||null,l.state=t.state?new r(t.state):null,l.taxNumber=t.taxNumber||null,l.taxOffice=t.taxOffice||null,l.title=t.title||"",l}return t(l,e),l}(e);!function(e){function s(){return null!==e&&e.apply(this,arguments)||this}t(s,e)}(l);export{l as SaveMyCustomerAddressInputData};
1
+ import{__extends as t}from'./../../ext/tslib/tslib.es6.js';import e from"./_base.js";import{CustomerAddressCityInputData as s}from"./CustomerAddressCityInput.js";import{CustomerAddressCountryInputData as n}from"./CustomerAddressCountryInput.js";import{CustomerAddressDistrictInputData as r}from"./CustomerAddressDistrictInput.js";import{CustomerAddressRegionInputData as i}from"./CustomerAddressRegionInput.js";import{CustomerAddressStateInputData as o}from"./CustomerAddressStateInput.js";var u=function(e){function u(t){void 0===t&&(t={});var u=e.call(this,t)||this;return u.addressLine1=t.addressLine1||"",u.addressLine2=t.addressLine2||null,u.city=t.city?new s(t.city):new s,u.company=t.company||null,u.country=t.country?new n(t.country):new n,u.district=t.district?new r(t.district):null,u.firstName=t.firstName||"",u.identityNumber=t.identityNumber||null,u.isDefault=void 0!==t.isDefault&&null!==t.isDefault?t.isDefault:null,u.lastName=t.lastName||"",u.phone=t.phone||null,u.postalCode=t.postalCode||null,u.region=t.region?new i(t.region):null,u.state=t.state?new o(t.state):null,u.taxNumber=t.taxNumber||null,u.taxOffice=t.taxOffice||null,u.title=t.title||"",u}return t(u,e),u}(e);!function(e){function s(){return null!==e&&e.apply(this,arguments)||this}t(s,e)}(u);export{u as SaveMyCustomerAddressInputData};
@@ -3,7 +3,9 @@ import { CustomerSocialLoginProviderEnum } from "../types";
3
3
  export declare class SocialLoginSettingsData {
4
4
  apiKey: string | null;
5
5
  apiSecret: string | null;
6
+ keyId: string | null;
6
7
  provider: CustomerSocialLoginProviderEnum;
8
+ teamId: string | null;
7
9
  constructor(data?: Partial<SocialLoginSettingsData>);
8
10
  }
9
11
  export declare class SocialLoginSettings extends SocialLoginSettingsData {
@@ -0,0 +1,12 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontRegisterSettingsCheckboxType } from "../types";
3
+ export declare class StorefrontFormCheckboxSettingsData {
4
+ checkboxTypes: StorefrontRegisterSettingsCheckboxType[] | null;
5
+ content: string;
6
+ order: number | null;
7
+ constructor(data?: Partial<StorefrontFormCheckboxSettingsData>);
8
+ }
9
+ export declare class StorefrontFormCheckboxSettings extends StorefrontFormCheckboxSettingsData {
10
+ }
11
+ export declare type PartialStorefrontFormCheckboxSettings = Partial<StorefrontFormCheckboxSettings>;
12
+ export declare type ReadOnlyStorefrontFormCheckboxSettings = DeepReadonly<StorefrontFormCheckboxSettings>;
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ export declare class StorefrontFormCheckoutFooterPolicyData {
3
+ order: number | null;
4
+ storefrontPolicyId: string;
5
+ constructor(data?: Partial<StorefrontFormCheckoutFooterPolicyData>);
6
+ }
7
+ export declare class StorefrontFormCheckoutFooterPolicy extends StorefrontFormCheckoutFooterPolicyData {
8
+ }
9
+ export declare type PartialStorefrontFormCheckoutFooterPolicy = Partial<StorefrontFormCheckoutFooterPolicy>;
10
+ export declare type ReadOnlyStorefrontFormCheckoutFooterPolicy = DeepReadonly<StorefrontFormCheckoutFooterPolicy>;
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontFormCheckoutFooterPolicyData } from "./StorefrontFormCheckoutFooterPolicy";
3
+ export declare class StorefrontFormCheckoutFooterSettingsData {
4
+ storefrontPolicies: StorefrontFormCheckoutFooterPolicyData[];
5
+ constructor(data?: Partial<StorefrontFormCheckoutFooterSettingsData>);
6
+ }
7
+ export declare class StorefrontFormCheckoutFooterSettings extends StorefrontFormCheckoutFooterSettingsData {
8
+ }
9
+ export declare type PartialStorefrontFormCheckoutFooterSettings = Partial<StorefrontFormCheckoutFooterSettings>;
10
+ export declare type ReadOnlyStorefrontFormCheckoutFooterSettings = DeepReadonly<StorefrontFormCheckoutFooterSettings>;
@@ -0,0 +1,13 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontFormCheckboxSettingsData } from "./StorefrontFormCheckboxSettings";
3
+ import { StorefrontFormCheckoutFooterSettingsData } from "./StorefrontFormCheckoutFooterSettings";
4
+ export declare class StorefrontFormCheckoutSettingsData {
5
+ checkoutCheckboxSettings: StorefrontFormCheckboxSettingsData[] | null;
6
+ checkoutFooterSettings: StorefrontFormCheckoutFooterSettingsData | null;
7
+ checkoutMarketingSettings: StorefrontFormCheckboxSettingsData | null;
8
+ constructor(data?: Partial<StorefrontFormCheckoutSettingsData>);
9
+ }
10
+ export declare class StorefrontFormCheckoutSettings extends StorefrontFormCheckoutSettingsData {
11
+ }
12
+ export declare type PartialStorefrontFormCheckoutSettings = Partial<StorefrontFormCheckoutSettings>;
13
+ export declare type ReadOnlyStorefrontFormCheckoutSettings = DeepReadonly<StorefrontFormCheckoutSettings>;
@@ -0,0 +1,12 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { TemplateEnum } from "../types";
3
+ export declare class StorefrontFormMailSettingsData {
4
+ countryIds: string[] | null;
5
+ emailTemplates: TemplateEnum[] | null;
6
+ storefrontPolicyId: string;
7
+ constructor(data?: Partial<StorefrontFormMailSettingsData>);
8
+ }
9
+ export declare class StorefrontFormMailSettings extends StorefrontFormMailSettingsData {
10
+ }
11
+ export declare type PartialStorefrontFormMailSettings = Partial<StorefrontFormMailSettings>;
12
+ export declare type ReadOnlyStorefrontFormMailSettings = DeepReadonly<StorefrontFormMailSettings>;
@@ -1,15 +1,17 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
2
  import BaseModelData from "./_base";
3
- import { StorefrontCheckoutSettingsData } from "./StorefrontCheckoutSettings";
4
- import { StorefrontMailSettingsData } from "./StorefrontMailSettings";
5
- import { StorefrontCheckboxSettingsData } from "./StorefrontCheckboxSettings";
3
+ import { StorefrontFormCheckoutSettingsData } from "./StorefrontFormCheckoutSettings";
4
+ import { StorefrontFormMailSettingsData } from "./StorefrontFormMailSettings";
5
+ import { StorefrontFormCheckboxSettingsData } from "./StorefrontFormCheckboxSettings";
6
6
  import { StorefrontFormSettingsRoutingData } from "./StorefrontFormSettingsRouting";
7
7
  export declare class StorefrontFormSettingsData extends BaseModelData {
8
- checkoutSettings: StorefrontCheckoutSettingsData | null;
8
+ checkoutSettings: StorefrontFormCheckoutSettingsData | null;
9
9
  locale: string;
10
- mailSettingsList: StorefrontMailSettingsData[] | null;
10
+ mailSettingsList: StorefrontFormMailSettingsData[] | null;
11
11
  name: string;
12
- registerSettingsList: StorefrontCheckboxSettingsData[] | null;
12
+ newsletterSettings: StorefrontFormCheckboxSettingsData | null;
13
+ registerSettingsList: StorefrontFormCheckboxSettingsData[] | null;
14
+ storefrontId: string;
13
15
  storefrontRoutings: StorefrontFormSettingsRoutingData[];
14
16
  constructor(data?: Partial<StorefrontFormSettingsData>);
15
17
  }
@@ -1,7 +1,6 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
2
  export declare class StorefrontFormSettingsRoutingData {
3
3
  assignedRoutings: string[] | null;
4
- storefrontId: string;
5
4
  constructor(data?: Partial<StorefrontFormSettingsRoutingData>);
6
5
  }
7
6
  export declare class StorefrontFormSettingsRouting extends StorefrontFormSettingsRoutingData {
@@ -6,6 +6,7 @@ export declare class StorefrontPolicyData extends BaseModelData {
6
6
  locale: string;
7
7
  name: string;
8
8
  slug: string;
9
+ storefrontId: string;
9
10
  storefrontRoutings: StorefrontPolicyRoutingData[];
10
11
  constructor(data?: Partial<StorefrontPolicyData>);
11
12
  }
@@ -1,7 +1,6 @@
1
1
  import { DeepReadonly } from "ts-essentials";
2
2
  export declare class StorefrontPolicyRoutingData {
3
3
  assignedRoutings: string[] | null;
4
- storefrontId: string;
5
4
  constructor(data?: Partial<StorefrontPolicyRoutingData>);
6
5
  }
7
6
  export declare class StorefrontPolicyRouting extends StorefrontPolicyRoutingData {
@@ -0,0 +1,13 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontShippingZoneStateData } from "./StorefrontShippingZoneState";
3
+ export declare class StorefrontShippingZoneData {
4
+ countryId: string;
5
+ postalCodes: string[] | null;
6
+ showAllStates: boolean;
7
+ states: StorefrontShippingZoneStateData[] | null;
8
+ constructor(data?: Partial<StorefrontShippingZoneData>);
9
+ }
10
+ export declare class StorefrontShippingZone extends StorefrontShippingZoneData {
11
+ }
12
+ export declare type PartialStorefrontShippingZone = Partial<StorefrontShippingZone>;
13
+ export declare type ReadOnlyStorefrontShippingZone = DeepReadonly<StorefrontShippingZone>;
@@ -0,0 +1,12 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontShippingZoneDistrictData } from "./StorefrontShippingZoneDistrict";
3
+ export declare class StorefrontShippingZoneCityData {
4
+ districts: StorefrontShippingZoneDistrictData[] | null;
5
+ id: string;
6
+ showAllDistricts: boolean;
7
+ constructor(data?: Partial<StorefrontShippingZoneCityData>);
8
+ }
9
+ export declare class StorefrontShippingZoneCity extends StorefrontShippingZoneCityData {
10
+ }
11
+ export declare type PartialStorefrontShippingZoneCity = Partial<StorefrontShippingZoneCity>;
12
+ export declare type ReadOnlyStorefrontShippingZoneCity = DeepReadonly<StorefrontShippingZoneCity>;
@@ -0,0 +1,11 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontShippingZoneRegionData } from "./StorefrontShippingZoneRegion";
3
+ export declare class StorefrontShippingZoneDistrictData {
4
+ id: string;
5
+ regions: StorefrontShippingZoneRegionData[];
6
+ constructor(data?: Partial<StorefrontShippingZoneDistrictData>);
7
+ }
8
+ export declare class StorefrontShippingZoneDistrict extends StorefrontShippingZoneDistrictData {
9
+ }
10
+ export declare type PartialStorefrontShippingZoneDistrict = Partial<StorefrontShippingZoneDistrict>;
11
+ export declare type ReadOnlyStorefrontShippingZoneDistrict = DeepReadonly<StorefrontShippingZoneDistrict>;
@@ -0,0 +1,10 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import BaseModelData from "./_base";
3
+ export declare class StorefrontShippingZoneRegionData extends BaseModelData {
4
+ name: string;
5
+ constructor(data?: Partial<StorefrontShippingZoneRegionData>);
6
+ }
7
+ export declare class StorefrontShippingZoneRegion extends StorefrontShippingZoneRegionData {
8
+ }
9
+ export declare type PartialStorefrontShippingZoneRegion = Partial<StorefrontShippingZoneRegion>;
10
+ export declare type ReadOnlyStorefrontShippingZoneRegion = DeepReadonly<StorefrontShippingZoneRegion>;
@@ -0,0 +1,13 @@
1
+ import { DeepReadonly } from "ts-essentials";
2
+ import { StorefrontShippingZoneCityData } from "./StorefrontShippingZoneCity";
3
+ export declare class StorefrontShippingZoneStateData {
4
+ cities: StorefrontShippingZoneCityData[] | null;
5
+ id: string;
6
+ postalCodes: string[] | null;
7
+ showAllCities: boolean;
8
+ constructor(data?: Partial<StorefrontShippingZoneStateData>);
9
+ }
10
+ export declare class StorefrontShippingZoneState extends StorefrontShippingZoneStateData {
11
+ }
12
+ export declare type PartialStorefrontShippingZoneState = Partial<StorefrontShippingZoneState>;
13
+ export declare type ReadOnlyStorefrontShippingZoneState = DeepReadonly<StorefrontShippingZoneState>;
@@ -32,6 +32,8 @@ export declare enum ResponseField {
32
32
  ADJUSTMENTS__NAME = "adjustments.name",
33
33
  ADJUSTMENTS__ORDER = "adjustments.order",
34
34
  ADJUSTMENTS__TYPE = "adjustments.type",
35
+ AVAILABLE_SHIPPING_METHODS__ESTIMATED_DELIVERY_TIME__TYPE = "availableShippingMethods.estimatedDeliveryTime.type",
36
+ AVAILABLE_SHIPPING_METHODS__ESTIMATED_DELIVERY_TIME__VALUE = "availableShippingMethods.estimatedDeliveryTime.value",
35
37
  AVAILABLE_SHIPPING_METHODS__PRICE = "availableShippingMethods.price",
36
38
  AVAILABLE_SHIPPING_METHODS__RATE_NAME = "availableShippingMethods.rateName",
37
39
  AVAILABLE_SHIPPING_METHODS__SHIPPING_METHOD = "availableShippingMethods.shippingMethod",
@@ -141,6 +143,7 @@ export declare enum ResponseField {
141
143
  CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__CATEGORIES__CATEGORY_PATH__NAME = "cart.items.variant.bundleProducts.variant.categories.categoryPath.name",
142
144
  CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__CATEGORIES__ID = "cart.items.variant.bundleProducts.variant.categories.id",
143
145
  CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__CATEGORIES__NAME = "cart.items.variant.bundleProducts.variant.categories.name",
146
+ CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__FILE_ID = "cart.items.variant.bundleProducts.variant.fileId",
144
147
  CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__HS_CODE = "cart.items.variant.bundleProducts.variant.hsCode",
145
148
  CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__ID = "cart.items.variant.bundleProducts.variant.id",
146
149
  CART__ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__MAIN_IMAGE_ID = "cart.items.variant.bundleProducts.variant.mainImageId",
@@ -172,6 +175,7 @@ export declare enum ResponseField {
172
175
  CART__ITEMS__VARIANT__CATEGORIES__CATEGORY_PATH__NAME = "cart.items.variant.categories.categoryPath.name",
173
176
  CART__ITEMS__VARIANT__CATEGORIES__ID = "cart.items.variant.categories.id",
174
177
  CART__ITEMS__VARIANT__CATEGORIES__NAME = "cart.items.variant.categories.name",
178
+ CART__ITEMS__VARIANT__FILE_ID = "cart.items.variant.fileId",
175
179
  CART__ITEMS__VARIANT__HS_CODE = "cart.items.variant.hsCode",
176
180
  CART__ITEMS__VARIANT__ID = "cart.items.variant.id",
177
181
  CART__ITEMS__VARIANT__MAIN_IMAGE_ID = "cart.items.variant.mainImageId",
@@ -19,6 +19,11 @@ export declare enum ResponseField {
19
19
  ABANDONED_CART_FLOWS__RECOVER_EMAIL_STATUS = "abandonedCartFlows.recoverEmailStatus",
20
20
  ABANDONED_CART_FLOWS__SEND_AFTER = "abandonedCartFlows.sendAfter",
21
21
  ABANDONED_CART_FLOWS__SMS_TRANSLATION_ID = "abandonedCartFlows.smsTranslationId",
22
+ ATTRIBUTES__ORDER_ATTRIBUTE_ID = "attributes.orderAttributeId",
23
+ ATTRIBUTES__ORDER_ATTRIBUTE_OPTION_ID = "attributes.orderAttributeOptionId",
24
+ ATTRIBUTES__VALUE = "attributes.value",
25
+ AVAILABLE_SHIPPING_METHODS__ESTIMATED_DELIVERY_TIME__TYPE = "availableShippingMethods.estimatedDeliveryTime.type",
26
+ AVAILABLE_SHIPPING_METHODS__ESTIMATED_DELIVERY_TIME__VALUE = "availableShippingMethods.estimatedDeliveryTime.value",
22
27
  AVAILABLE_SHIPPING_METHODS__PRICE = "availableShippingMethods.price",
23
28
  AVAILABLE_SHIPPING_METHODS__RATE_NAME = "availableShippingMethods.rateName",
24
29
  AVAILABLE_SHIPPING_METHODS__SHIPPING_METHOD = "availableShippingMethods.shippingMethod",
@@ -193,6 +198,7 @@ export declare enum ResponseField {
193
198
  ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__CATEGORIES__CATEGORY_PATH__NAME = "orderLineItems.variant.bundleProducts.variant.categories.categoryPath.name",
194
199
  ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__CATEGORIES__ID = "orderLineItems.variant.bundleProducts.variant.categories.id",
195
200
  ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__CATEGORIES__NAME = "orderLineItems.variant.bundleProducts.variant.categories.name",
201
+ ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__FILE_ID = "orderLineItems.variant.bundleProducts.variant.fileId",
196
202
  ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__HS_CODE = "orderLineItems.variant.bundleProducts.variant.hsCode",
197
203
  ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__ID = "orderLineItems.variant.bundleProducts.variant.id",
198
204
  ORDER_LINE_ITEMS__VARIANT__BUNDLE_PRODUCTS__VARIANT__MAIN_IMAGE_ID = "orderLineItems.variant.bundleProducts.variant.mainImageId",
@@ -224,6 +230,7 @@ export declare enum ResponseField {
224
230
  ORDER_LINE_ITEMS__VARIANT__CATEGORIES__CATEGORY_PATH__NAME = "orderLineItems.variant.categories.categoryPath.name",
225
231
  ORDER_LINE_ITEMS__VARIANT__CATEGORIES__ID = "orderLineItems.variant.categories.id",
226
232
  ORDER_LINE_ITEMS__VARIANT__CATEGORIES__NAME = "orderLineItems.variant.categories.name",
233
+ ORDER_LINE_ITEMS__VARIANT__FILE_ID = "orderLineItems.variant.fileId",
227
234
  ORDER_LINE_ITEMS__VARIANT__HS_CODE = "orderLineItems.variant.hsCode",
228
235
  ORDER_LINE_ITEMS__VARIANT__ID = "orderLineItems.variant.id",
229
236
  ORDER_LINE_ITEMS__VARIANT__MAIN_IMAGE_ID = "orderLineItems.variant.mainImageId",