@wix/stores 1.0.311 → 1.0.312

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.311",
3
+ "version": "1.0.312",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,17 +21,17 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/stores_brands-v-3": "1.0.29",
24
+ "@wix/stores_brands-v-3": "1.0.30",
25
25
  "@wix/stores_catalog-versioning": "1.0.14",
26
26
  "@wix/stores_collections": "1.0.49",
27
- "@wix/stores_customizations-v-3": "1.0.31",
27
+ "@wix/stores_customizations-v-3": "1.0.32",
28
28
  "@wix/stores_info-sections-v-3": "1.0.31",
29
- "@wix/stores_inventory": "1.0.67",
30
- "@wix/stores_inventory-items-v-3": "1.0.36",
29
+ "@wix/stores_inventory": "1.0.68",
30
+ "@wix/stores_inventory-items-v-3": "1.0.37",
31
31
  "@wix/stores_products": "1.0.92",
32
- "@wix/stores_products-v-3": "1.0.79",
33
- "@wix/stores_ribbons-v-3": "1.0.25",
34
- "@wix/stores_stores-locations-v-3": "1.0.31",
32
+ "@wix/stores_products-v-3": "1.0.80",
33
+ "@wix/stores_ribbons-v-3": "1.0.26",
34
+ "@wix/stores_stores-locations-v-3": "1.0.32",
35
35
  "@wix/stores_subscription-options": "1.0.50",
36
36
  "@wix/stores_wishlist": "1.0.43"
37
37
  },
@@ -58,5 +58,5 @@
58
58
  "fqdn": ""
59
59
  }
60
60
  },
61
- "falconPackageHash": "8f67a5137b01d205ea2056f99853e642b3d47c5152e75928baf0d28e"
61
+ "falconPackageHash": "d9a805b3a8074420cda8506e763e64069baeea42d853ee6dc8f03be3"
62
62
  }
@@ -3799,7 +3799,9 @@ interface Sorting$6 {
3799
3799
  order?: SortOrder$6;
3800
3800
  }
3801
3801
  declare enum SortOrder$6 {
3802
+ /** Ascending order. */
3802
3803
  ASC = "ASC",
3804
+ /** Descending order. */
3803
3805
  DESC = "DESC"
3804
3806
  }
3805
3807
  interface CursorPaging$6 {
@@ -4708,9 +4710,13 @@ interface ChoiceValueOneOf {
4708
4710
  }
4709
4711
  declare enum ChoiceType$1 {
4710
4712
  UNKNOWN_CHOICE_TYPE = "UNKNOWN_CHOICE_TYPE",
4713
+ /** For a `customizationRenderType` of `TEXT_CHOICES` and `FREE_TEXT`. */
4711
4714
  CHOICE_TEXT = "CHOICE_TEXT",
4715
+ /** For `customizationRenderType: SWATCH_CHOICES`. */
4712
4716
  ONE_COLOR = "ONE_COLOR",
4717
+ /** For `customizationRenderType: SWATCH_CHOICES`. */
4713
4718
  MULTIPLE_COLORS = "MULTIPLE_COLORS",
4719
+ /** For `customizationRenderType: SWATCH_CHOICES`. */
4714
4720
  IMAGE = "IMAGE"
4715
4721
  }
4716
4722
  interface MultipleColors$1 {
@@ -4804,7 +4810,9 @@ interface GetCustomizationRequest {
4804
4810
  fields?: RequestedFields$3[];
4805
4811
  }
4806
4812
  declare enum RequestedFields$3 {
4813
+ /** Unknown requested field. */
4807
4814
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
4815
+ /** Assigned products count. */
4808
4816
  ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT"
4809
4817
  }
4810
4818
  interface GetCustomizationResponse {
@@ -4871,7 +4879,9 @@ interface Sorting$5 {
4871
4879
  order?: SortOrder$5;
4872
4880
  }
4873
4881
  declare enum SortOrder$5 {
4882
+ /** Ascending order. */
4874
4883
  ASC = "ASC",
4884
+ /** Descending order. */
4875
4885
  DESC = "DESC"
4876
4886
  }
4877
4887
  interface CursorPaging$5 {
@@ -8392,14 +8402,11 @@ interface InventoryItemTrackingMethodOneOf$1 {
8392
8402
  }
8393
8403
  declare enum AvailabilityStatus$1 {
8394
8404
  UNKNOWN_AVAILABILITY_STATUS = "UNKNOWN_AVAILABILITY_STATUS",
8405
+ /** Product is out of stock. */
8395
8406
  OUT_OF_STOCK = "OUT_OF_STOCK",
8407
+ /** Product is in stock. See `quantity` field for exact amount in stock. */
8396
8408
  IN_STOCK = "IN_STOCK",
8397
- /**
8398
- * Whether the variant is available for preorder. InventoryItem will be available only when all below conditions are met:
8399
- * 1. the variant is out of stock
8400
- * 2. preorder is enabled on inventory item level (preorder_setting.enabled is true)
8401
- * 3. preorder limit wasn't reached (preorder_setting.limit)
8402
- */
8409
+ /** Product is only available for preorder. See `preorderInfo` field for more info. */
8403
8410
  PREORDER = "PREORDER"
8404
8411
  }
8405
8412
  interface PreorderInfo$2 {
@@ -11842,7 +11849,9 @@ interface VideoResolution {
11842
11849
  }
11843
11850
  declare enum MediaType {
11844
11851
  UNKNOWN_MEDIA_TYPE = "UNKNOWN_MEDIA_TYPE",
11852
+ /** Image media type. */
11845
11853
  IMAGE = "IMAGE",
11854
+ /** Video media type. */
11846
11855
  VIDEO = "VIDEO"
11847
11856
  }
11848
11857
  interface Thumbnail {
@@ -11927,8 +11936,11 @@ interface ConnectedOptionOptionSettingsOneOf {
11927
11936
  choicesSettings?: ChoicesSettings;
11928
11937
  }
11929
11938
  declare enum ProductOptionRenderType {
11939
+ /** Not implemented. */
11930
11940
  UNKNOWN_OPTION_RENDER_TYPE = "UNKNOWN_OPTION_RENDER_TYPE",
11941
+ /** Text choices. */
11931
11942
  TEXT_CHOICES = "TEXT_CHOICES",
11943
+ /** Swatch choices. */
11932
11944
  SWATCH_CHOICES = "SWATCH_CHOICES"
11933
11945
  }
11934
11946
  interface ChoicesSettings {
@@ -11971,9 +11983,13 @@ interface ConnectedOptionChoiceValueOneOf {
11971
11983
  }
11972
11984
  declare enum ChoiceType {
11973
11985
  UNKNOWN_CHOICE_TYPE = "UNKNOWN_CHOICE_TYPE",
11986
+ /** Text choice. */
11974
11987
  CHOICE_TEXT = "CHOICE_TEXT",
11988
+ /** Single color choice. */
11975
11989
  ONE_COLOR = "ONE_COLOR",
11990
+ /** Multiple colors choice. */
11976
11991
  MULTIPLE_COLORS = "MULTIPLE_COLORS",
11992
+ /** Image choice. */
11977
11993
  IMAGE = "IMAGE"
11978
11994
  }
11979
11995
  interface MultipleColors {
@@ -12002,9 +12018,13 @@ interface ConnectedModifierModifierSettingsOneOf {
12002
12018
  choicesSettings?: ModifierChoicesSettings;
12003
12019
  }
12004
12020
  declare enum ModifierRenderType {
12021
+ /** Not implemented. */
12005
12022
  UNKNOWN_MODIFIER_RENDER_TYPE = "UNKNOWN_MODIFIER_RENDER_TYPE",
12023
+ /** Free text. */
12006
12024
  FREE_TEXT = "FREE_TEXT",
12025
+ /** Text choices. */
12007
12026
  TEXT_CHOICES = "TEXT_CHOICES",
12027
+ /** Swatch choices. */
12008
12028
  SWATCH_CHOICES = "SWATCH_CHOICES"
12009
12029
  }
12010
12030
  interface FreeTextSettings {
@@ -12129,52 +12149,53 @@ interface FixedMonetaryAmount {
12129
12149
  interface Inventory {
12130
12150
  /**
12131
12151
  * Current availability status.
12132
- *
12133
- * + `IN_STOCK`: All variants are in stock and available for purchase
12134
- * + `OUT_OF_STOCK`: All variants are out of stock
12135
- * + `PARTIALLY_OUT_OF_STOCK`: Some variants are out of stock and some are in stock and available for purchase
12136
12152
  * @readonly
12137
12153
  */
12138
12154
  availabilityStatus?: InventoryAvailabilityStatus;
12139
12155
  /**
12140
- * Current preorder status/
12141
- *
12142
- * + `ENABLED`: All variants are enabled for preorder
12143
- * + `DISABLED`: All variants are disabled for preorder
12144
- * + `PARTIALLY_ENABLED`: Some variants are disabled and some are enabled for preorder
12156
+ * Current preorder status.
12145
12157
  * @readonly
12146
12158
  */
12147
12159
  preorderStatus?: PreorderStatus;
12148
12160
  /**
12149
- * Supported values:
12150
- * + `ALL_VARIANTS`: All the product variants are available for preorder.
12151
- * + `NO_VARIANTS`: None of the product variants are available for preorder.
12152
- * + `SOME_VARIANTS`: Some of the product variants are available for preorder.
12161
+ * Preorder availability status.
12153
12162
  * @readonly
12154
12163
  */
12155
12164
  preorderAvailability?: ProductPreorderAvailability;
12156
12165
  }
12157
12166
  declare enum InventoryAvailabilityStatus {
12158
12167
  UNKNOWN_AVAILABILITY_STATUS = "UNKNOWN_AVAILABILITY_STATUS",
12168
+ /** All variants are in stock and available for purchase. */
12159
12169
  IN_STOCK = "IN_STOCK",
12170
+ /** All variants are out of stock. */
12160
12171
  OUT_OF_STOCK = "OUT_OF_STOCK",
12172
+ /** Some variants are out of stock and some are in stock and available for purchase. */
12161
12173
  PARTIALLY_OUT_OF_STOCK = "PARTIALLY_OUT_OF_STOCK"
12162
12174
  }
12163
12175
  declare enum PreorderStatus {
12164
12176
  UNKNOWN_PREORDER_STATUS = "UNKNOWN_PREORDER_STATUS",
12177
+ /** All variants are enabled for preorder. */
12165
12178
  ENABLED = "ENABLED",
12179
+ /** All variants are disabled for preorder. */
12166
12180
  DISABLED = "DISABLED",
12181
+ /** Some variants are disabled and some are enabled for preorder. */
12167
12182
  PARTIALLY_ENABLED = "PARTIALLY_ENABLED"
12168
12183
  }
12169
12184
  declare enum ProductPreorderAvailability {
12170
12185
  UNKNOWN_PREORDER_AVAILABILITY_STATUS = "UNKNOWN_PREORDER_AVAILABILITY_STATUS",
12186
+ /** All the product variants are available for preorder. */
12171
12187
  ALL_VARIANTS = "ALL_VARIANTS",
12188
+ /** None of the product variants are available for preorder. */
12172
12189
  NO_VARIANTS = "NO_VARIANTS",
12190
+ /** Some of the product variants are available for preorder. */
12173
12191
  SOME_VARIANTS = "SOME_VARIANTS"
12174
12192
  }
12175
12193
  declare enum ProductType {
12194
+ /** Not implemented. */
12176
12195
  UNKNOWN_PRODUCT_TYPE = "UNKNOWN_PRODUCT_TYPE",
12196
+ /** Physical product. */
12177
12197
  PHYSICAL = "PHYSICAL",
12198
+ /** Digital product. */
12178
12199
  DIGITAL = "DIGITAL"
12179
12200
  }
12180
12201
  interface PhysicalProperties {
@@ -12448,11 +12469,17 @@ interface SecuredMedia {
12448
12469
  fileType?: FileType;
12449
12470
  }
12450
12471
  declare enum FileType {
12472
+ /** Unspecified file type. */
12451
12473
  UNSPECIFIED = "UNSPECIFIED",
12474
+ /** Secure picture file. */
12452
12475
  SECURE_PICTURE = "SECURE_PICTURE",
12476
+ /** Secure video file. */
12453
12477
  SECURE_VIDEO = "SECURE_VIDEO",
12478
+ /** Secure document file. */
12454
12479
  SECURE_DOCUMENT = "SECURE_DOCUMENT",
12480
+ /** Secure music file. */
12455
12481
  SECURE_MUSIC = "SECURE_MUSIC",
12482
+ /** Secure archive file. */
12456
12483
  SECURE_ARCHIVE = "SECURE_ARCHIVE"
12457
12484
  }
12458
12485
  interface SubscriptionPricesInfo {
@@ -12578,7 +12605,9 @@ interface SubscriptionDiscountDiscountOneOf {
12578
12605
  }
12579
12606
  declare enum DiscountType$1 {
12580
12607
  UNKNOWN_DISCOUNT = "UNKNOWN_DISCOUNT",
12608
+ /** Discount by a specific amount. */
12581
12609
  AMOUNT = "AMOUNT",
12610
+ /** Discount by a percentage. */
12582
12611
  PERCENT = "PERCENT"
12583
12612
  }
12584
12613
  interface VariantSummary {
@@ -12874,11 +12903,12 @@ interface CreateProductRequest {
12874
12903
  fields?: SingleEntityOpsRequestedFields[];
12875
12904
  }
12876
12905
  declare enum SingleEntityOpsRequestedFields {
12906
+ /** Not implemented. */
12877
12907
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
12878
12908
  URL = "URL",
12879
12909
  CURRENCY = "CURRENCY",
12880
12910
  INFO_SECTION = "INFO_SECTION",
12881
- /** You can request merchant data only if you have `WIX_STORES.PRODUCT_MERCHANT_DATA_READ` permission. */
12911
+ /** You can request merchant data only if you have the `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope. */
12882
12912
  MERCHANT_DATA = "MERCHANT_DATA",
12883
12913
  PLAIN_DESCRIPTION = "PLAIN_DESCRIPTION",
12884
12914
  INFO_SECTION_PLAIN_DESCRIPTION = "INFO_SECTION_PLAIN_DESCRIPTION",
@@ -13325,14 +13355,11 @@ interface InventoryItemTrackingMethodOneOf {
13325
13355
  }
13326
13356
  declare enum AvailabilityStatus {
13327
13357
  UNKNOWN_AVAILABILITY_STATUS = "UNKNOWN_AVAILABILITY_STATUS",
13358
+ /** Product is out of stock. */
13328
13359
  OUT_OF_STOCK = "OUT_OF_STOCK",
13360
+ /** Product is in stock. See `quantity` field for exact amount in stock. */
13329
13361
  IN_STOCK = "IN_STOCK",
13330
- /**
13331
- * Whether the variant is available for preorder. InventoryItem will be available only when all below conditions are met:
13332
- * 1. the variant is out of stock
13333
- * 2. preorder is enabled on inventory item level (preorder_setting.enabled is true)
13334
- * 3. preorder limit wasn't reached (preorder_setting.limit)
13335
- */
13362
+ /** Product is only available for preorder. See `preorderInfo` field for more info. */
13336
13363
  PREORDER = "PREORDER"
13337
13364
  }
13338
13365
  interface Product {
@@ -13400,11 +13427,12 @@ interface BulkCreateProductsRequest {
13400
13427
  fields?: RequestedFields$1[];
13401
13428
  }
13402
13429
  declare enum RequestedFields$1 {
13430
+ /** Not implemented. */
13403
13431
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
13404
13432
  URL = "URL",
13405
13433
  CURRENCY = "CURRENCY",
13406
13434
  INFO_SECTION = "INFO_SECTION",
13407
- /** You can request merchant data only if you have `WIX_STORES.PRODUCT_MERCHANT_DATA_READ` permission. */
13435
+ /** You can request merchant data only if you have the `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope. */
13408
13436
  MERCHANT_DATA = "MERCHANT_DATA",
13409
13437
  PLAIN_DESCRIPTION = "PLAIN_DESCRIPTION",
13410
13438
  INFO_SECTION_PLAIN_DESCRIPTION = "INFO_SECTION_PLAIN_DESCRIPTION",
@@ -14478,7 +14506,9 @@ interface Sorting$2 {
14478
14506
  order?: SortOrder$2;
14479
14507
  }
14480
14508
  declare enum SortOrder$2 {
14509
+ /** Ascending order. */
14481
14510
  ASC = "ASC",
14511
+ /** Descending order. */
14482
14512
  DESC = "DESC"
14483
14513
  }
14484
14514
  interface Aggregation extends AggregationKindOneOf {
@@ -14519,21 +14549,21 @@ interface RangeBucket {
14519
14549
  to?: number | null;
14520
14550
  }
14521
14551
  declare enum SortType {
14522
- /** Should sort by number of matches */
14552
+ /** Should sort by number of matches. */
14523
14553
  COUNT = "COUNT",
14524
- /** Should sort by value of the field alphabetically */
14554
+ /** Should sort by value of the field alphabetically. */
14525
14555
  VALUE = "VALUE"
14526
14556
  }
14527
14557
  declare enum SortDirection {
14528
- /** Should sort in descending order */
14558
+ /** Should sort by descending order. */
14529
14559
  DESC = "DESC",
14530
- /** Should sort in ascending order */
14560
+ /** Should sort by ascending order. */
14531
14561
  ASC = "ASC"
14532
14562
  }
14533
14563
  declare enum MissingValues {
14534
- /** Should missing values be excluded from the aggregation results */
14564
+ /** Exclude missing values from the aggregation results. */
14535
14565
  EXCLUDE = "EXCLUDE",
14536
- /** Should missing values be included in the aggregation results */
14566
+ /** Include missing values from the aggregation results. */
14537
14567
  INCLUDE = "INCLUDE"
14538
14568
  }
14539
14569
  interface IncludeMissingValuesOptions {
@@ -14541,16 +14571,17 @@ interface IncludeMissingValuesOptions {
14541
14571
  addToBucket?: string;
14542
14572
  }
14543
14573
  declare enum ScalarType {
14574
+ /** Undefined scalar type. */
14544
14575
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
14545
- /** Count of distinct values */
14576
+ /** Count of distinct values. */
14546
14577
  COUNT_DISTINCT = "COUNT_DISTINCT",
14547
- /** Minimum value */
14578
+ /** Minimum value. */
14548
14579
  MIN = "MIN",
14549
- /** Maximum value */
14580
+ /** Maximum value. */
14550
14581
  MAX = "MAX",
14551
- /** Sum of values */
14582
+ /** Sum of values. */
14552
14583
  SUM = "SUM",
14553
- /** Average of values */
14584
+ /** Average of values. */
14554
14585
  AVG = "AVG"
14555
14586
  }
14556
14587
  interface ValueAggregation extends ValueAggregationOptionsOneOf {
@@ -14571,14 +14602,15 @@ interface ValueAggregationOptionsOneOf {
14571
14602
  includeOptions?: IncludeMissingValuesOptions;
14572
14603
  }
14573
14604
  declare enum NestedAggregationType {
14605
+ /** Undefined nested aggregation type. */
14574
14606
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
14575
- /** An aggregation where result buckets are dynamically built - one per unique value */
14607
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
14576
14608
  VALUE = "VALUE",
14577
- /** An aggregation, where user can define set of ranges - each representing a bucket */
14609
+ /** An aggregation where user can define set of ranges - each representing a bucket. */
14578
14610
  RANGE = "RANGE",
14579
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
14611
+ /** A single-value metric aggregation. For example: min, max, sum, avg. */
14580
14612
  SCALAR = "SCALAR",
14581
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
14613
+ /** An aggregation where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
14582
14614
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
14583
14615
  }
14584
14616
  interface RangeAggregation {
@@ -14594,20 +14626,21 @@ interface DateHistogramAggregation {
14594
14626
  interval?: Interval;
14595
14627
  }
14596
14628
  declare enum Interval {
14629
+ /** Undefined interval type. */
14597
14630
  UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
14598
- /** Yearly interval */
14631
+ /** Yearly interval. */
14599
14632
  YEAR = "YEAR",
14600
- /** Monthly interval */
14633
+ /** Monthly interval. */
14601
14634
  MONTH = "MONTH",
14602
- /** Weekly interval */
14635
+ /** Weekly interval. */
14603
14636
  WEEK = "WEEK",
14604
- /** Daily interval */
14637
+ /** Daily interval. */
14605
14638
  DAY = "DAY",
14606
- /** Hourly interval */
14639
+ /** Hourly interval. */
14607
14640
  HOUR = "HOUR",
14608
- /** Minute interval */
14641
+ /** Minute interval. */
14609
14642
  MINUTE = "MINUTE",
14610
- /** Second interval */
14643
+ /** Second interval. */
14611
14644
  SECOND = "SECOND"
14612
14645
  }
14613
14646
  interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
@@ -14638,16 +14671,17 @@ interface NestedAggregationItemKindOneOf {
14638
14671
  dateHistogram?: DateHistogramAggregation;
14639
14672
  }
14640
14673
  declare enum AggregationType {
14674
+ /** Undefined aggregation type. */
14641
14675
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
14642
- /** An aggregation where result buckets are dynamically built - one per unique value */
14676
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
14643
14677
  VALUE = "VALUE",
14644
- /** An aggregation, where user can define set of ranges - each representing a bucket */
14678
+ /** An aggregation where a user can define set of ranges - each representing a bucket. */
14645
14679
  RANGE = "RANGE",
14646
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
14680
+ /** A single-value metric aggregation. For example: min, max, sum, avg. */
14647
14681
  SCALAR = "SCALAR",
14648
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
14682
+ /** An aggregation where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
14649
14683
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
14650
- /** Multi-level aggregation, where each next aggregation is nested within previous one */
14684
+ /** A Multi-level aggregation where each next aggregation is nested within previous one. */
14651
14685
  NESTED = "NESTED"
14652
14686
  }
14653
14687
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
@@ -14656,7 +14690,7 @@ interface NestedAggregation {
14656
14690
  nestedAggregations?: NestedAggregationItem[];
14657
14691
  }
14658
14692
  interface SearchDetails {
14659
- /** Defines how separate search terms in `expression` are combined */
14693
+ /** Defines how separate search terms in `expression` are combined. */
14660
14694
  mode?: Mode;
14661
14695
  /** Search term or expression */
14662
14696
  expression?: string | null;
@@ -14666,9 +14700,9 @@ interface SearchDetails {
14666
14700
  fuzzy?: boolean;
14667
14701
  }
14668
14702
  declare enum Mode {
14669
- /** Any of the search terms must be present */
14703
+ /** Any of the search terms must be present. */
14670
14704
  OR = "OR",
14671
- /** All search terms must be present */
14705
+ /** All search terms must be present. */
14672
14706
  AND = "AND"
14673
14707
  }
14674
14708
  interface CursorPaging$2 {
@@ -15252,9 +15286,10 @@ interface VariantsCursorPaging {
15252
15286
  cursor?: string | null;
15253
15287
  }
15254
15288
  declare enum VariantsOpsRequestedFields {
15289
+ /** Not implemented. */
15255
15290
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
15256
15291
  CURRENCY = "CURRENCY",
15257
- /** You can request merchant data only if you have `WIX_STORES.PRODUCT_MERCHANT_DATA_READ` permission. */
15292
+ /** You can request merchant data only if you have the `SCOPE.STORES.PRODUCT_READ_ADMIN` permission scope. */
15258
15293
  MERCHANT_DATA = "MERCHANT_DATA",
15259
15294
  SUBSCRIPTION_PRICES_INFO = "SUBSCRIPTION_PRICES_INFO",
15260
15295
  VARIANT_OPTION_CHOICE_NAMES = "VARIANT_OPTION_CHOICE_NAMES",
@@ -15567,20 +15602,21 @@ interface UnsignedAdjustValueAdjustValueOneOf {
15567
15602
  percentage?: number;
15568
15603
  }
15569
15604
  declare enum RoundingStrategy {
15605
+ /** Undefined rounding strategy. */
15570
15606
  UNKNOWN_ROUNDING_STRATEGY = "UNKNOWN_ROUNDING_STRATEGY",
15571
15607
  /**
15572
- * Calculated prices will be saved without rounding to keep max possible precision. It's still good idea to round numbers before displaying them.
15573
- * Example: input $3.5555 -> saved value $3.5555
15608
+ * Calculated prices are saved without rounding to keep the maximum possible precision. It's a good idea to round numbers before displaying them.
15609
+ * For example, input $3.5555 -> saved value $3.5555
15574
15610
  */
15575
15611
  NO_ROUNDING = "NO_ROUNDING",
15576
15612
  /**
15577
- * Calculated prices will be rounded according to currency precision.
15578
- * Example: input $3.5555 -> saved value $3.56, input ¥3.5555 -> saved value ¥4
15613
+ * Calculated prices are rounded according to currency precision.
15614
+ * For example:, input $3.5555 -> saved value $3.56, input ¥3.5555 -> saved value ¥4
15579
15615
  */
15580
15616
  CURRENCY_PRECISION = "CURRENCY_PRECISION",
15581
15617
  /**
15582
- * Calculated prices will be rounded to nearest whole number.
15583
- * Example: input $3.5555 -> saved value $4
15618
+ * Calculated prices are rounded to nearest whole number.
15619
+ * For example, input $3.5555 -> saved value $4
15584
15620
  */
15585
15621
  NEAREST_WHOLE_NUMBER = "NEAREST_WHOLE_NUMBER"
15586
15622
  }
@@ -18560,7 +18596,9 @@ interface Sorting$1 {
18560
18596
  order?: SortOrder$1;
18561
18597
  }
18562
18598
  declare enum SortOrder$1 {
18599
+ /** Ascending order. */
18563
18600
  ASC = "ASC",
18601
+ /** Descending order. */
18564
18602
  DESC = "DESC"
18565
18603
  }
18566
18604
  interface CursorPaging$1 {
@@ -19365,9 +19403,6 @@ interface StoresLocation {
19365
19403
  wixLocationId?: string | null;
19366
19404
  /**
19367
19405
  * Location type.
19368
- *
19369
- * + `VIRTUAL`: Online store.
19370
- * + `PHYSICAL`: Physical location. For example, for POS.
19371
19406
  * @readonly
19372
19407
  */
19373
19408
  locationType?: LocationType;
@@ -19381,9 +19416,9 @@ interface StoresLocation {
19381
19416
  }
19382
19417
  declare enum LocationType {
19383
19418
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
19384
- /** Online stores location. */
19419
+ /** Online store. */
19385
19420
  VIRTUAL = "VIRTUAL",
19386
- /** Physical location like POS */
19421
+ /** Physical location, for example, POS. */
19387
19422
  PHYSICAL = "PHYSICAL"
19388
19423
  }
19389
19424
  interface InvalidateCache extends InvalidateCacheGetByOneOf {
@@ -20574,9 +20609,13 @@ interface ChangedInventoryVariantData {
20574
20609
  availableForPreorder?: boolean;
20575
20610
  }
20576
20611
  declare enum ReasonType {
20612
+ /** Unknown reason. */
20577
20613
  UNKNOWN = "UNKNOWN",
20614
+ /** Order related. */
20578
20615
  ORDER = "ORDER",
20616
+ /** Manual adjustment. */
20579
20617
  MANUAL = "MANUAL",
20618
+ /** Reverting an inventory change. */
20580
20619
  REVERT_INVENTORY_CHANGE = "REVERT_INVENTORY_CHANGE"
20581
20620
  }
20582
20621
  interface GetInventoryVariantsRequest extends GetInventoryVariantsRequestIdOneOf {