@wix/stores 1.0.316 → 1.0.317
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.317",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@wix/stores_inventory": "1.0.68",
|
|
30
30
|
"@wix/stores_inventory-items-v-3": "1.0.37",
|
|
31
31
|
"@wix/stores_products": "1.0.93",
|
|
32
|
-
"@wix/stores_products-v-3": "1.0.
|
|
32
|
+
"@wix/stores_products-v-3": "1.0.82",
|
|
33
33
|
"@wix/stores_ribbons-v-3": "1.0.26",
|
|
34
34
|
"@wix/stores_stores-locations-v-3": "1.0.32",
|
|
35
35
|
"@wix/stores_subscription-options": "1.0.50",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"fqdn": ""
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"falconPackageHash": "
|
|
61
|
+
"falconPackageHash": "7ea49d204527ef31e94edf61abfb92eb6912ce3f88ea6e9c24d3db9e"
|
|
62
62
|
}
|
|
@@ -10473,11 +10473,17 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
10473
10473
|
/**
|
|
10474
10474
|
* Product base price range - minimum and maximum prices of all product variants.
|
|
10475
10475
|
* @readonly
|
|
10476
|
+
* @deprecated Product base price range - minimum and maximum prices of all product variants.
|
|
10477
|
+
* @replacedBy compare_at_price_range
|
|
10478
|
+
* @targetRemovalDate 2024-12-31
|
|
10476
10479
|
*/
|
|
10477
10480
|
basePriceRange?: PriceRange;
|
|
10478
10481
|
/**
|
|
10479
10482
|
* Product sale price range - minimum and maximum sale prices of all product variants.
|
|
10480
10483
|
* @readonly
|
|
10484
|
+
* @deprecated Product sale price range - minimum and maximum sale prices of all product variants.
|
|
10485
|
+
* @replacedBy actual_price_range
|
|
10486
|
+
* @targetRemovalDate 2024-12-31
|
|
10481
10487
|
*/
|
|
10482
10488
|
salePriceRange?: PriceRange;
|
|
10483
10489
|
/**
|
|
@@ -10520,6 +10526,16 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
10520
10526
|
* @readonly
|
|
10521
10527
|
*/
|
|
10522
10528
|
breadcrumbsInfo?: BreadcrumbsInfo;
|
|
10529
|
+
/**
|
|
10530
|
+
* Product actual price range - minimum and maximum prices of all product variants.
|
|
10531
|
+
* @readonly
|
|
10532
|
+
*/
|
|
10533
|
+
actualPriceRange?: PriceRange;
|
|
10534
|
+
/**
|
|
10535
|
+
* Product compare at price range - minimum and maximum compare at price prices of all product variants.
|
|
10536
|
+
* @readonly
|
|
10537
|
+
*/
|
|
10538
|
+
compareAtPriceRange?: PriceRange;
|
|
10523
10539
|
/** Product variants. */
|
|
10524
10540
|
variantsInfo?: VariantsInfo;
|
|
10525
10541
|
/**
|
|
@@ -12374,7 +12390,7 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
12374
12390
|
*/
|
|
12375
12391
|
media?: ProductMedia;
|
|
12376
12392
|
/**
|
|
12377
|
-
* Subscription prices calculated by applying subscription discount to the variant `price.
|
|
12393
|
+
* Subscription prices calculated by applying subscription discount to the variant `price.actual_price`.
|
|
12378
12394
|
* > **Note:** Returned only when you pass `"SUBSCRIPTION_PRICES_INFO"` to the `fields` array in Products API requests.
|
|
12379
12395
|
* @readonly
|
|
12380
12396
|
*/
|
|
@@ -12416,10 +12432,24 @@ interface OptionChoiceNames {
|
|
|
12416
12432
|
renderType?: ProductOptionRenderType;
|
|
12417
12433
|
}
|
|
12418
12434
|
interface PriceInfo {
|
|
12419
|
-
/**
|
|
12435
|
+
/**
|
|
12436
|
+
* Variant price. Must be greater or equal to 0.
|
|
12437
|
+
* @deprecated Variant price. Must be greater or equal to 0.
|
|
12438
|
+
* @replacedBy compare_at_price
|
|
12439
|
+
* @targetRemovalDate 2024-12-31
|
|
12440
|
+
*/
|
|
12420
12441
|
basePrice?: FixedMonetaryAmount;
|
|
12421
|
-
/**
|
|
12442
|
+
/**
|
|
12443
|
+
* Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12444
|
+
* @deprecated Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12445
|
+
* @replacedBy actual_price
|
|
12446
|
+
* @targetRemovalDate 2024-12-31
|
|
12447
|
+
*/
|
|
12422
12448
|
salePrice?: FixedMonetaryAmount;
|
|
12449
|
+
/** Variant price. Must be greater or equal to 0. */
|
|
12450
|
+
actualPrice?: FixedMonetaryAmount;
|
|
12451
|
+
/** The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings. */
|
|
12452
|
+
compareAtPrice?: FixedMonetaryAmount;
|
|
12423
12453
|
}
|
|
12424
12454
|
interface RevenueDetails {
|
|
12425
12455
|
/** Item cost. */
|
|
@@ -12513,7 +12543,7 @@ interface SubscriptionPrice {
|
|
|
12513
12543
|
*/
|
|
12514
12544
|
subscriptionId?: string;
|
|
12515
12545
|
/**
|
|
12516
|
-
* Subscription price calculated by applying subscription discount to the variant `price.
|
|
12546
|
+
* Subscription price calculated by applying subscription discount to the variant `price.actual_price`
|
|
12517
12547
|
* @readonly
|
|
12518
12548
|
*/
|
|
12519
12549
|
price?: FixedMonetaryAmount;
|
|
@@ -12641,15 +12671,21 @@ interface MinVariantPriceInfo {
|
|
|
12641
12671
|
/**
|
|
12642
12672
|
* Variant price. Must be greater or equal to 0.
|
|
12643
12673
|
* @readonly
|
|
12674
|
+
* @deprecated Variant price. Must be greater or equal to 0.
|
|
12675
|
+
* @replacedBy compare_at_price
|
|
12676
|
+
* @targetRemovalDate 2024-12-31
|
|
12644
12677
|
*/
|
|
12645
12678
|
basePrice?: FixedMonetaryAmount;
|
|
12646
12679
|
/**
|
|
12647
12680
|
* Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12648
12681
|
* @readonly
|
|
12682
|
+
* @deprecated Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12683
|
+
* @replacedBy actual_price
|
|
12684
|
+
* @targetRemovalDate 2024-12-31
|
|
12649
12685
|
*/
|
|
12650
12686
|
salePrice?: FixedMonetaryAmount;
|
|
12651
12687
|
/**
|
|
12652
|
-
* Subscription price calculated by applying subscription discount to the variant `price.
|
|
12688
|
+
* Subscription price calculated by applying subscription discount to the variant `price.actualPrice`
|
|
12653
12689
|
* @readonly
|
|
12654
12690
|
*/
|
|
12655
12691
|
minSubscriptionPrice?: FixedMonetaryAmount;
|
|
@@ -12683,6 +12719,10 @@ interface MinVariantPriceInfo {
|
|
|
12683
12719
|
* @readonly
|
|
12684
12720
|
*/
|
|
12685
12721
|
revenueDetails?: RevenueDetails;
|
|
12722
|
+
/** Variant price. Must be greater or equal to 0. */
|
|
12723
|
+
actualPrice?: FixedMonetaryAmount;
|
|
12724
|
+
/** The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings. */
|
|
12725
|
+
compareAtPrice?: FixedMonetaryAmount;
|
|
12686
12726
|
}
|
|
12687
12727
|
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
|
12688
12728
|
/** insert/update documents */
|
|
@@ -15465,7 +15505,7 @@ interface BulkDeleteProductsByFilterRequest {
|
|
|
15465
15505
|
/**
|
|
15466
15506
|
* Filter object in the following format:
|
|
15467
15507
|
* `"filter" : {
|
|
15468
|
-
* "
|
|
15508
|
+
* "actualPriceRange.minValue": {"$lte": 5.99}
|
|
15469
15509
|
* }`
|
|
15470
15510
|
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
15471
15511
|
*/
|
|
@@ -15499,7 +15539,7 @@ interface BulkAddInfoSectionsToProductsByFilterRequest {
|
|
|
15499
15539
|
/**
|
|
15500
15540
|
* Filter object in the following format:
|
|
15501
15541
|
* `"filter" : {
|
|
15502
|
-
* "
|
|
15542
|
+
* "actualPriceRange.minValue": {"$lte": 5.99}
|
|
15503
15543
|
* }`
|
|
15504
15544
|
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
15505
15545
|
*/
|
|
@@ -16094,6 +16134,8 @@ interface OptionChoiceNonNullableFields {
|
|
|
16094
16134
|
interface PriceInfoNonNullableFields {
|
|
16095
16135
|
basePrice?: FixedMonetaryAmountNonNullableFields;
|
|
16096
16136
|
salePrice?: FixedMonetaryAmountNonNullableFields;
|
|
16137
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16138
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16097
16139
|
}
|
|
16098
16140
|
interface RevenueDetailsNonNullableFields {
|
|
16099
16141
|
cost?: FixedMonetaryAmountNonNullableFields;
|
|
@@ -16152,6 +16194,8 @@ interface MinVariantPriceInfoNonNullableFields {
|
|
|
16152
16194
|
minSubscriptionPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16153
16195
|
pricePerUnitData?: PricePerUnitNonNullableFields;
|
|
16154
16196
|
revenueDetails?: RevenueDetailsNonNullableFields;
|
|
16197
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16198
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16155
16199
|
}
|
|
16156
16200
|
interface V3ProductNonNullableFields {
|
|
16157
16201
|
physicalProperties?: PhysicalPropertiesNonNullableFields;
|
|
@@ -16172,6 +16216,8 @@ interface V3ProductNonNullableFields {
|
|
|
16172
16216
|
inventory?: InventoryNonNullableFields;
|
|
16173
16217
|
productType: ProductType;
|
|
16174
16218
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields;
|
|
16219
|
+
actualPriceRange?: PriceRangeNonNullableFields;
|
|
16220
|
+
compareAtPriceRange?: PriceRangeNonNullableFields;
|
|
16175
16221
|
variantsInfo?: VariantsInfoNonNullableFields;
|
|
16176
16222
|
subscriptionDetails?: SubscriptionDetailsNonNullableFields;
|
|
16177
16223
|
flattenOptions: string[];
|
|
@@ -16574,11 +16620,17 @@ interface UpdateProduct {
|
|
|
16574
16620
|
/**
|
|
16575
16621
|
* Product base price range - minimum and maximum prices of all product variants.
|
|
16576
16622
|
* @readonly
|
|
16623
|
+
* @deprecated Product base price range - minimum and maximum prices of all product variants.
|
|
16624
|
+
* @replacedBy compare_at_price_range
|
|
16625
|
+
* @targetRemovalDate 2024-12-31
|
|
16577
16626
|
*/
|
|
16578
16627
|
basePriceRange?: PriceRange;
|
|
16579
16628
|
/**
|
|
16580
16629
|
* Product sale price range - minimum and maximum sale prices of all product variants.
|
|
16581
16630
|
* @readonly
|
|
16631
|
+
* @deprecated Product sale price range - minimum and maximum sale prices of all product variants.
|
|
16632
|
+
* @replacedBy actual_price_range
|
|
16633
|
+
* @targetRemovalDate 2024-12-31
|
|
16582
16634
|
*/
|
|
16583
16635
|
salePriceRange?: PriceRange;
|
|
16584
16636
|
/**
|
|
@@ -16621,6 +16673,16 @@ interface UpdateProduct {
|
|
|
16621
16673
|
* @readonly
|
|
16622
16674
|
*/
|
|
16623
16675
|
breadcrumbsInfo?: BreadcrumbsInfo;
|
|
16676
|
+
/**
|
|
16677
|
+
* Product actual price range - minimum and maximum prices of all product variants.
|
|
16678
|
+
* @readonly
|
|
16679
|
+
*/
|
|
16680
|
+
actualPriceRange?: PriceRange;
|
|
16681
|
+
/**
|
|
16682
|
+
* Product compare at price range - minimum and maximum compare at price prices of all product variants.
|
|
16683
|
+
* @readonly
|
|
16684
|
+
*/
|
|
16685
|
+
compareAtPriceRange?: PriceRange;
|
|
16624
16686
|
/** Product variants. */
|
|
16625
16687
|
variantsInfo?: VariantsInfo;
|
|
16626
16688
|
/**
|
|
@@ -10473,11 +10473,17 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
10473
10473
|
/**
|
|
10474
10474
|
* Product base price range - minimum and maximum prices of all product variants.
|
|
10475
10475
|
* @readonly
|
|
10476
|
+
* @deprecated Product base price range - minimum and maximum prices of all product variants.
|
|
10477
|
+
* @replacedBy compare_at_price_range
|
|
10478
|
+
* @targetRemovalDate 2024-12-31
|
|
10476
10479
|
*/
|
|
10477
10480
|
basePriceRange?: PriceRange;
|
|
10478
10481
|
/**
|
|
10479
10482
|
* Product sale price range - minimum and maximum sale prices of all product variants.
|
|
10480
10483
|
* @readonly
|
|
10484
|
+
* @deprecated Product sale price range - minimum and maximum sale prices of all product variants.
|
|
10485
|
+
* @replacedBy actual_price_range
|
|
10486
|
+
* @targetRemovalDate 2024-12-31
|
|
10481
10487
|
*/
|
|
10482
10488
|
salePriceRange?: PriceRange;
|
|
10483
10489
|
/**
|
|
@@ -10520,6 +10526,16 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
10520
10526
|
* @readonly
|
|
10521
10527
|
*/
|
|
10522
10528
|
breadcrumbsInfo?: BreadcrumbsInfo;
|
|
10529
|
+
/**
|
|
10530
|
+
* Product actual price range - minimum and maximum prices of all product variants.
|
|
10531
|
+
* @readonly
|
|
10532
|
+
*/
|
|
10533
|
+
actualPriceRange?: PriceRange;
|
|
10534
|
+
/**
|
|
10535
|
+
* Product compare at price range - minimum and maximum compare at price prices of all product variants.
|
|
10536
|
+
* @readonly
|
|
10537
|
+
*/
|
|
10538
|
+
compareAtPriceRange?: PriceRange;
|
|
10523
10539
|
/** Product variants. */
|
|
10524
10540
|
variantsInfo?: VariantsInfo;
|
|
10525
10541
|
/**
|
|
@@ -12374,7 +12390,7 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
12374
12390
|
*/
|
|
12375
12391
|
media?: ProductMedia;
|
|
12376
12392
|
/**
|
|
12377
|
-
* Subscription prices calculated by applying subscription discount to the variant `price.
|
|
12393
|
+
* Subscription prices calculated by applying subscription discount to the variant `price.actual_price`.
|
|
12378
12394
|
* > **Note:** Returned only when you pass `"SUBSCRIPTION_PRICES_INFO"` to the `fields` array in Products API requests.
|
|
12379
12395
|
* @readonly
|
|
12380
12396
|
*/
|
|
@@ -12416,10 +12432,24 @@ interface OptionChoiceNames {
|
|
|
12416
12432
|
renderType?: ProductOptionRenderType;
|
|
12417
12433
|
}
|
|
12418
12434
|
interface PriceInfo {
|
|
12419
|
-
/**
|
|
12435
|
+
/**
|
|
12436
|
+
* Variant price. Must be greater or equal to 0.
|
|
12437
|
+
* @deprecated Variant price. Must be greater or equal to 0.
|
|
12438
|
+
* @replacedBy compare_at_price
|
|
12439
|
+
* @targetRemovalDate 2024-12-31
|
|
12440
|
+
*/
|
|
12420
12441
|
basePrice?: FixedMonetaryAmount;
|
|
12421
|
-
/**
|
|
12442
|
+
/**
|
|
12443
|
+
* Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12444
|
+
* @deprecated Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12445
|
+
* @replacedBy actual_price
|
|
12446
|
+
* @targetRemovalDate 2024-12-31
|
|
12447
|
+
*/
|
|
12422
12448
|
salePrice?: FixedMonetaryAmount;
|
|
12449
|
+
/** Variant price. Must be greater or equal to 0. */
|
|
12450
|
+
actualPrice?: FixedMonetaryAmount;
|
|
12451
|
+
/** The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings. */
|
|
12452
|
+
compareAtPrice?: FixedMonetaryAmount;
|
|
12423
12453
|
}
|
|
12424
12454
|
interface RevenueDetails {
|
|
12425
12455
|
/** Item cost. */
|
|
@@ -12513,7 +12543,7 @@ interface SubscriptionPrice {
|
|
|
12513
12543
|
*/
|
|
12514
12544
|
subscriptionId?: string;
|
|
12515
12545
|
/**
|
|
12516
|
-
* Subscription price calculated by applying subscription discount to the variant `price.
|
|
12546
|
+
* Subscription price calculated by applying subscription discount to the variant `price.actual_price`
|
|
12517
12547
|
* @readonly
|
|
12518
12548
|
*/
|
|
12519
12549
|
price?: FixedMonetaryAmount;
|
|
@@ -12641,15 +12671,21 @@ interface MinVariantPriceInfo {
|
|
|
12641
12671
|
/**
|
|
12642
12672
|
* Variant price. Must be greater or equal to 0.
|
|
12643
12673
|
* @readonly
|
|
12674
|
+
* @deprecated Variant price. Must be greater or equal to 0.
|
|
12675
|
+
* @replacedBy compare_at_price
|
|
12676
|
+
* @targetRemovalDate 2024-12-31
|
|
12644
12677
|
*/
|
|
12645
12678
|
basePrice?: FixedMonetaryAmount;
|
|
12646
12679
|
/**
|
|
12647
12680
|
* Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12648
12681
|
* @readonly
|
|
12682
|
+
* @deprecated Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
12683
|
+
* @replacedBy actual_price
|
|
12684
|
+
* @targetRemovalDate 2024-12-31
|
|
12649
12685
|
*/
|
|
12650
12686
|
salePrice?: FixedMonetaryAmount;
|
|
12651
12687
|
/**
|
|
12652
|
-
* Subscription price calculated by applying subscription discount to the variant `price.
|
|
12688
|
+
* Subscription price calculated by applying subscription discount to the variant `price.actualPrice`
|
|
12653
12689
|
* @readonly
|
|
12654
12690
|
*/
|
|
12655
12691
|
minSubscriptionPrice?: FixedMonetaryAmount;
|
|
@@ -12683,6 +12719,10 @@ interface MinVariantPriceInfo {
|
|
|
12683
12719
|
* @readonly
|
|
12684
12720
|
*/
|
|
12685
12721
|
revenueDetails?: RevenueDetails;
|
|
12722
|
+
/** Variant price. Must be greater or equal to 0. */
|
|
12723
|
+
actualPrice?: FixedMonetaryAmount;
|
|
12724
|
+
/** The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings. */
|
|
12725
|
+
compareAtPrice?: FixedMonetaryAmount;
|
|
12686
12726
|
}
|
|
12687
12727
|
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
|
12688
12728
|
/** insert/update documents */
|
|
@@ -15465,7 +15505,7 @@ interface BulkDeleteProductsByFilterRequest {
|
|
|
15465
15505
|
/**
|
|
15466
15506
|
* Filter object in the following format:
|
|
15467
15507
|
* `"filter" : {
|
|
15468
|
-
* "
|
|
15508
|
+
* "actualPriceRange.minValue": {"$lte": 5.99}
|
|
15469
15509
|
* }`
|
|
15470
15510
|
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
15471
15511
|
*/
|
|
@@ -15499,7 +15539,7 @@ interface BulkAddInfoSectionsToProductsByFilterRequest {
|
|
|
15499
15539
|
/**
|
|
15500
15540
|
* Filter object in the following format:
|
|
15501
15541
|
* `"filter" : {
|
|
15502
|
-
* "
|
|
15542
|
+
* "actualPriceRange.minValue": {"$lte": 5.99}
|
|
15503
15543
|
* }`
|
|
15504
15544
|
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
15505
15545
|
*/
|
|
@@ -16094,6 +16134,8 @@ interface OptionChoiceNonNullableFields {
|
|
|
16094
16134
|
interface PriceInfoNonNullableFields {
|
|
16095
16135
|
basePrice?: FixedMonetaryAmountNonNullableFields;
|
|
16096
16136
|
salePrice?: FixedMonetaryAmountNonNullableFields;
|
|
16137
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16138
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16097
16139
|
}
|
|
16098
16140
|
interface RevenueDetailsNonNullableFields {
|
|
16099
16141
|
cost?: FixedMonetaryAmountNonNullableFields;
|
|
@@ -16152,6 +16194,8 @@ interface MinVariantPriceInfoNonNullableFields {
|
|
|
16152
16194
|
minSubscriptionPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16153
16195
|
pricePerUnitData?: PricePerUnitNonNullableFields;
|
|
16154
16196
|
revenueDetails?: RevenueDetailsNonNullableFields;
|
|
16197
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16198
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields;
|
|
16155
16199
|
}
|
|
16156
16200
|
interface V3ProductNonNullableFields {
|
|
16157
16201
|
physicalProperties?: PhysicalPropertiesNonNullableFields;
|
|
@@ -16172,6 +16216,8 @@ interface V3ProductNonNullableFields {
|
|
|
16172
16216
|
inventory?: InventoryNonNullableFields;
|
|
16173
16217
|
productType: ProductType;
|
|
16174
16218
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields;
|
|
16219
|
+
actualPriceRange?: PriceRangeNonNullableFields;
|
|
16220
|
+
compareAtPriceRange?: PriceRangeNonNullableFields;
|
|
16175
16221
|
variantsInfo?: VariantsInfoNonNullableFields;
|
|
16176
16222
|
subscriptionDetails?: SubscriptionDetailsNonNullableFields;
|
|
16177
16223
|
flattenOptions: string[];
|
|
@@ -16574,11 +16620,17 @@ interface UpdateProduct {
|
|
|
16574
16620
|
/**
|
|
16575
16621
|
* Product base price range - minimum and maximum prices of all product variants.
|
|
16576
16622
|
* @readonly
|
|
16623
|
+
* @deprecated Product base price range - minimum and maximum prices of all product variants.
|
|
16624
|
+
* @replacedBy compare_at_price_range
|
|
16625
|
+
* @targetRemovalDate 2024-12-31
|
|
16577
16626
|
*/
|
|
16578
16627
|
basePriceRange?: PriceRange;
|
|
16579
16628
|
/**
|
|
16580
16629
|
* Product sale price range - minimum and maximum sale prices of all product variants.
|
|
16581
16630
|
* @readonly
|
|
16631
|
+
* @deprecated Product sale price range - minimum and maximum sale prices of all product variants.
|
|
16632
|
+
* @replacedBy actual_price_range
|
|
16633
|
+
* @targetRemovalDate 2024-12-31
|
|
16582
16634
|
*/
|
|
16583
16635
|
salePriceRange?: PriceRange;
|
|
16584
16636
|
/**
|
|
@@ -16621,6 +16673,16 @@ interface UpdateProduct {
|
|
|
16621
16673
|
* @readonly
|
|
16622
16674
|
*/
|
|
16623
16675
|
breadcrumbsInfo?: BreadcrumbsInfo;
|
|
16676
|
+
/**
|
|
16677
|
+
* Product actual price range - minimum and maximum prices of all product variants.
|
|
16678
|
+
* @readonly
|
|
16679
|
+
*/
|
|
16680
|
+
actualPriceRange?: PriceRange;
|
|
16681
|
+
/**
|
|
16682
|
+
* Product compare at price range - minimum and maximum compare at price prices of all product variants.
|
|
16683
|
+
* @readonly
|
|
16684
|
+
*/
|
|
16685
|
+
compareAtPriceRange?: PriceRange;
|
|
16624
16686
|
/** Product variants. */
|
|
16625
16687
|
variantsInfo?: VariantsInfo;
|
|
16626
16688
|
/**
|
|
@@ -11380,11 +11380,17 @@ interface V3Product$1 extends V3ProductTypedPropertiesOneOf$1 {
|
|
|
11380
11380
|
/**
|
|
11381
11381
|
* Product base price range - minimum and maximum prices of all product variants.
|
|
11382
11382
|
* @readonly
|
|
11383
|
+
* @deprecated Product base price range - minimum and maximum prices of all product variants.
|
|
11384
|
+
* @replacedBy compare_at_price_range
|
|
11385
|
+
* @targetRemovalDate 2024-12-31
|
|
11383
11386
|
*/
|
|
11384
11387
|
basePriceRange?: PriceRange$1;
|
|
11385
11388
|
/**
|
|
11386
11389
|
* Product sale price range - minimum and maximum sale prices of all product variants.
|
|
11387
11390
|
* @readonly
|
|
11391
|
+
* @deprecated Product sale price range - minimum and maximum sale prices of all product variants.
|
|
11392
|
+
* @replacedBy actual_price_range
|
|
11393
|
+
* @targetRemovalDate 2024-12-31
|
|
11388
11394
|
*/
|
|
11389
11395
|
salePriceRange?: PriceRange$1;
|
|
11390
11396
|
/**
|
|
@@ -11427,6 +11433,16 @@ interface V3Product$1 extends V3ProductTypedPropertiesOneOf$1 {
|
|
|
11427
11433
|
* @readonly
|
|
11428
11434
|
*/
|
|
11429
11435
|
breadcrumbsInfo?: BreadcrumbsInfo$1;
|
|
11436
|
+
/**
|
|
11437
|
+
* Product actual price range - minimum and maximum prices of all product variants.
|
|
11438
|
+
* @readonly
|
|
11439
|
+
*/
|
|
11440
|
+
actualPriceRange?: PriceRange$1;
|
|
11441
|
+
/**
|
|
11442
|
+
* Product compare at price range - minimum and maximum compare at price prices of all product variants.
|
|
11443
|
+
* @readonly
|
|
11444
|
+
*/
|
|
11445
|
+
compareAtPriceRange?: PriceRange$1;
|
|
11430
11446
|
/** Product variants. */
|
|
11431
11447
|
variantsInfo?: VariantsInfo$1;
|
|
11432
11448
|
/**
|
|
@@ -13294,7 +13310,7 @@ interface Variant$1 extends VariantTypedPropertiesOneOf$1 {
|
|
|
13294
13310
|
*/
|
|
13295
13311
|
media?: ProductMedia$1;
|
|
13296
13312
|
/**
|
|
13297
|
-
* Subscription prices calculated by applying subscription discount to the variant `price.
|
|
13313
|
+
* Subscription prices calculated by applying subscription discount to the variant `price.actual_price`.
|
|
13298
13314
|
* > **Note:** Returned only when you pass `"SUBSCRIPTION_PRICES_INFO"` to the `fields` array in Products API requests.
|
|
13299
13315
|
* @readonly
|
|
13300
13316
|
*/
|
|
@@ -13336,10 +13352,24 @@ interface OptionChoiceNames$1 {
|
|
|
13336
13352
|
renderType?: ProductOptionRenderType$1;
|
|
13337
13353
|
}
|
|
13338
13354
|
interface PriceInfo$1 {
|
|
13339
|
-
/**
|
|
13355
|
+
/**
|
|
13356
|
+
* Variant price. Must be greater or equal to 0.
|
|
13357
|
+
* @deprecated Variant price. Must be greater or equal to 0.
|
|
13358
|
+
* @replacedBy compare_at_price
|
|
13359
|
+
* @targetRemovalDate 2024-12-31
|
|
13360
|
+
*/
|
|
13340
13361
|
basePrice?: FixedMonetaryAmount$1;
|
|
13341
|
-
/**
|
|
13362
|
+
/**
|
|
13363
|
+
* Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
13364
|
+
* @deprecated Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
13365
|
+
* @replacedBy actual_price
|
|
13366
|
+
* @targetRemovalDate 2024-12-31
|
|
13367
|
+
*/
|
|
13342
13368
|
salePrice?: FixedMonetaryAmount$1;
|
|
13369
|
+
/** Variant price. Must be greater or equal to 0. */
|
|
13370
|
+
actualPrice?: FixedMonetaryAmount$1;
|
|
13371
|
+
/** The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings. */
|
|
13372
|
+
compareAtPrice?: FixedMonetaryAmount$1;
|
|
13343
13373
|
}
|
|
13344
13374
|
interface RevenueDetails$1 {
|
|
13345
13375
|
/** Item cost. */
|
|
@@ -13433,7 +13463,7 @@ interface SubscriptionPrice$1 {
|
|
|
13433
13463
|
*/
|
|
13434
13464
|
subscriptionId?: string;
|
|
13435
13465
|
/**
|
|
13436
|
-
* Subscription price calculated by applying subscription discount to the variant `price.
|
|
13466
|
+
* Subscription price calculated by applying subscription discount to the variant `price.actual_price`
|
|
13437
13467
|
* @readonly
|
|
13438
13468
|
*/
|
|
13439
13469
|
price?: FixedMonetaryAmount$1;
|
|
@@ -15452,6 +15482,8 @@ interface OptionChoiceNonNullableFields$1 {
|
|
|
15452
15482
|
interface PriceInfoNonNullableFields$1 {
|
|
15453
15483
|
basePrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15454
15484
|
salePrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15485
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15486
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15455
15487
|
}
|
|
15456
15488
|
interface RevenueDetailsNonNullableFields$1 {
|
|
15457
15489
|
cost?: FixedMonetaryAmountNonNullableFields$1;
|
|
@@ -15510,6 +15542,8 @@ interface MinVariantPriceInfoNonNullableFields$1 {
|
|
|
15510
15542
|
minSubscriptionPrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15511
15543
|
pricePerUnitData?: PricePerUnitNonNullableFields$1;
|
|
15512
15544
|
revenueDetails?: RevenueDetailsNonNullableFields$1;
|
|
15545
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15546
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields$1;
|
|
15513
15547
|
}
|
|
15514
15548
|
interface V3ProductNonNullableFields$1 {
|
|
15515
15549
|
physicalProperties?: PhysicalPropertiesNonNullableFields$1;
|
|
@@ -15530,6 +15564,8 @@ interface V3ProductNonNullableFields$1 {
|
|
|
15530
15564
|
inventory?: InventoryNonNullableFields$1;
|
|
15531
15565
|
productType: ProductType$1;
|
|
15532
15566
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields$1;
|
|
15567
|
+
actualPriceRange?: PriceRangeNonNullableFields$1;
|
|
15568
|
+
compareAtPriceRange?: PriceRangeNonNullableFields$1;
|
|
15533
15569
|
variantsInfo?: VariantsInfoNonNullableFields$1;
|
|
15534
15570
|
subscriptionDetails?: SubscriptionDetailsNonNullableFields$1;
|
|
15535
15571
|
flattenOptions: string[];
|
|
@@ -15861,11 +15897,17 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
15861
15897
|
/**
|
|
15862
15898
|
* Product base price range - minimum and maximum prices of all product variants.
|
|
15863
15899
|
* @readonly
|
|
15900
|
+
* @deprecated Product base price range - minimum and maximum prices of all product variants.
|
|
15901
|
+
* @replacedBy compare_at_price_range
|
|
15902
|
+
* @targetRemovalDate 2024-12-31
|
|
15864
15903
|
*/
|
|
15865
15904
|
basePriceRange?: PriceRange;
|
|
15866
15905
|
/**
|
|
15867
15906
|
* Product sale price range - minimum and maximum sale prices of all product variants.
|
|
15868
15907
|
* @readonly
|
|
15908
|
+
* @deprecated Product sale price range - minimum and maximum sale prices of all product variants.
|
|
15909
|
+
* @replacedBy actual_price_range
|
|
15910
|
+
* @targetRemovalDate 2024-12-31
|
|
15869
15911
|
*/
|
|
15870
15912
|
salePriceRange?: PriceRange;
|
|
15871
15913
|
/**
|
|
@@ -15908,6 +15950,16 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
|
|
|
15908
15950
|
* @readonly
|
|
15909
15951
|
*/
|
|
15910
15952
|
breadcrumbsInfo?: BreadcrumbsInfo;
|
|
15953
|
+
/**
|
|
15954
|
+
* Product actual price range - minimum and maximum prices of all product variants.
|
|
15955
|
+
* @readonly
|
|
15956
|
+
*/
|
|
15957
|
+
actualPriceRange?: PriceRange;
|
|
15958
|
+
/**
|
|
15959
|
+
* Product compare at price range - minimum and maximum compare at price prices of all product variants.
|
|
15960
|
+
* @readonly
|
|
15961
|
+
*/
|
|
15962
|
+
compareAtPriceRange?: PriceRange;
|
|
15911
15963
|
/** Product variants. */
|
|
15912
15964
|
variantsInfo?: VariantsInfo;
|
|
15913
15965
|
/**
|
|
@@ -17722,7 +17774,7 @@ interface Variant extends VariantTypedPropertiesOneOf {
|
|
|
17722
17774
|
*/
|
|
17723
17775
|
media?: ProductMedia;
|
|
17724
17776
|
/**
|
|
17725
|
-
* Subscription prices calculated by applying subscription discount to the variant `price.
|
|
17777
|
+
* Subscription prices calculated by applying subscription discount to the variant `price.actual_price`.
|
|
17726
17778
|
* > **Note:** Returned only when you pass `"SUBSCRIPTION_PRICES_INFO"` to the `fields` array in Products API requests.
|
|
17727
17779
|
* @readonly
|
|
17728
17780
|
*/
|
|
@@ -17764,10 +17816,24 @@ interface OptionChoiceNames {
|
|
|
17764
17816
|
renderType?: ProductOptionRenderType;
|
|
17765
17817
|
}
|
|
17766
17818
|
interface PriceInfo {
|
|
17767
|
-
/**
|
|
17819
|
+
/**
|
|
17820
|
+
* Variant price. Must be greater or equal to 0.
|
|
17821
|
+
* @deprecated Variant price. Must be greater or equal to 0.
|
|
17822
|
+
* @replacedBy compare_at_price
|
|
17823
|
+
* @targetRemovalDate 2024-12-31
|
|
17824
|
+
*/
|
|
17768
17825
|
basePrice?: FixedMonetaryAmount;
|
|
17769
|
-
/**
|
|
17826
|
+
/**
|
|
17827
|
+
* Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
17828
|
+
* @deprecated Variant sale price. If not provided, sale price will be equal to `basePrice`. When provided, value must be greater or equal to 0, and less than or equal to `basePrice`.
|
|
17829
|
+
* @replacedBy actual_price
|
|
17830
|
+
* @targetRemovalDate 2024-12-31
|
|
17831
|
+
*/
|
|
17770
17832
|
salePrice?: FixedMonetaryAmount;
|
|
17833
|
+
/** Variant price. Must be greater or equal to 0. */
|
|
17834
|
+
actualPrice?: FixedMonetaryAmount;
|
|
17835
|
+
/** The compare-at-price represents the original price of a product before any discount. It is optional and should only be set if a discount applies. When set, it must be higher than the current price to reflect accurate savings. */
|
|
17836
|
+
compareAtPrice?: FixedMonetaryAmount;
|
|
17771
17837
|
}
|
|
17772
17838
|
interface RevenueDetails {
|
|
17773
17839
|
/** Item cost. */
|
|
@@ -17861,7 +17927,7 @@ interface SubscriptionPrice {
|
|
|
17861
17927
|
*/
|
|
17862
17928
|
subscriptionId?: string;
|
|
17863
17929
|
/**
|
|
17864
|
-
* Subscription price calculated by applying subscription discount to the variant `price.
|
|
17930
|
+
* Subscription price calculated by applying subscription discount to the variant `price.actual_price`
|
|
17865
17931
|
* @readonly
|
|
17866
17932
|
*/
|
|
17867
17933
|
price?: FixedMonetaryAmount;
|
|
@@ -19858,6 +19924,8 @@ interface OptionChoiceNonNullableFields {
|
|
|
19858
19924
|
interface PriceInfoNonNullableFields {
|
|
19859
19925
|
basePrice?: FixedMonetaryAmountNonNullableFields;
|
|
19860
19926
|
salePrice?: FixedMonetaryAmountNonNullableFields;
|
|
19927
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields;
|
|
19928
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields;
|
|
19861
19929
|
}
|
|
19862
19930
|
interface RevenueDetailsNonNullableFields {
|
|
19863
19931
|
cost?: FixedMonetaryAmountNonNullableFields;
|
|
@@ -19916,6 +19984,8 @@ interface MinVariantPriceInfoNonNullableFields {
|
|
|
19916
19984
|
minSubscriptionPrice?: FixedMonetaryAmountNonNullableFields;
|
|
19917
19985
|
pricePerUnitData?: PricePerUnitNonNullableFields;
|
|
19918
19986
|
revenueDetails?: RevenueDetailsNonNullableFields;
|
|
19987
|
+
actualPrice?: FixedMonetaryAmountNonNullableFields;
|
|
19988
|
+
compareAtPrice?: FixedMonetaryAmountNonNullableFields;
|
|
19919
19989
|
}
|
|
19920
19990
|
interface V3ProductNonNullableFields {
|
|
19921
19991
|
physicalProperties?: PhysicalPropertiesNonNullableFields;
|
|
@@ -19936,6 +20006,8 @@ interface V3ProductNonNullableFields {
|
|
|
19936
20006
|
inventory?: InventoryNonNullableFields;
|
|
19937
20007
|
productType: ProductType;
|
|
19938
20008
|
breadcrumbsInfo?: BreadcrumbsInfoNonNullableFields;
|
|
20009
|
+
actualPriceRange?: PriceRangeNonNullableFields;
|
|
20010
|
+
compareAtPriceRange?: PriceRangeNonNullableFields;
|
|
19939
20011
|
variantsInfo?: VariantsInfoNonNullableFields;
|
|
19940
20012
|
subscriptionDetails?: SubscriptionDetailsNonNullableFields;
|
|
19941
20013
|
flattenOptions: string[];
|