@wix/stores 1.0.129 → 1.0.131
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/build/cjs/context.d.ts +5 -0
- package/build/cjs/context.js +32 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/src/platform-v1-wishlist.context.d.ts +3 -0
- package/build/cjs/src/platform-v1-wishlist.context.js +16 -0
- package/build/cjs/src/platform-v1-wishlist.context.js.map +1 -0
- package/build/cjs/src/stores-catalog-v1-collection.context.d.ts +5 -0
- package/build/cjs/src/stores-catalog-v1-collection.context.js +38 -0
- package/build/cjs/src/stores-catalog-v1-collection.context.js.map +1 -0
- package/build/cjs/src/stores-catalog-v1-product.context.d.ts +35 -0
- package/build/cjs/src/stores-catalog-v1-product.context.js +368 -0
- package/build/cjs/src/stores-catalog-v1-product.context.js.map +1 -0
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +84 -0
- package/build/cjs/src/stores-catalog-v1-product.universal.js +84 -0
- package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/cjs/src/stores-v1-subscription-option.context.d.ts +14 -0
- package/build/cjs/src/stores-v1-subscription-option.context.js +137 -0
- package/build/cjs/src/stores-v1-subscription-option.context.js.map +1 -0
- package/build/cjs/src/stores-v1-subscription-option.universal.d.ts +32 -0
- package/build/cjs/src/stores-v1-subscription-option.universal.js +32 -0
- package/build/cjs/src/stores-v1-subscription-option.universal.js.map +1 -1
- package/build/cjs/src/stores-v2-inventory.context.d.ts +7 -0
- package/build/cjs/src/stores-v2-inventory.context.js +60 -0
- package/build/cjs/src/stores-v2-inventory.context.js.map +1 -0
- package/build/cjs/src/stores-v2-inventory.universal.d.ts +14 -0
- package/build/cjs/src/stores-v2-inventory.universal.js +14 -0
- package/build/cjs/src/stores-v2-inventory.universal.js.map +1 -1
- package/build/es/context.d.ts +5 -0
- package/build/es/context.js +6 -0
- package/build/es/context.js.map +1 -0
- package/build/es/src/platform-v1-wishlist.context.d.ts +3 -0
- package/build/es/src/platform-v1-wishlist.context.js +12 -0
- package/build/es/src/platform-v1-wishlist.context.js.map +1 -0
- package/build/es/src/stores-catalog-v1-collection.context.d.ts +5 -0
- package/build/es/src/stores-catalog-v1-collection.context.js +32 -0
- package/build/es/src/stores-catalog-v1-collection.context.js.map +1 -0
- package/build/es/src/stores-catalog-v1-product.context.d.ts +35 -0
- package/build/es/src/stores-catalog-v1-product.context.js +332 -0
- package/build/es/src/stores-catalog-v1-product.context.js.map +1 -0
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +84 -0
- package/build/es/src/stores-catalog-v1-product.universal.js +84 -0
- package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/es/src/stores-v1-subscription-option.context.d.ts +14 -0
- package/build/es/src/stores-v1-subscription-option.context.js +122 -0
- package/build/es/src/stores-v1-subscription-option.context.js.map +1 -0
- package/build/es/src/stores-v1-subscription-option.universal.d.ts +32 -0
- package/build/es/src/stores-v1-subscription-option.universal.js +32 -0
- package/build/es/src/stores-v1-subscription-option.universal.js.map +1 -1
- package/build/es/src/stores-v2-inventory.context.d.ts +7 -0
- package/build/es/src/stores-v2-inventory.context.js +52 -0
- package/build/es/src/stores-v2-inventory.context.js.map +1 -0
- package/build/es/src/stores-v2-inventory.universal.d.ts +14 -0
- package/build/es/src/stores-v2-inventory.universal.js +14 -0
- package/build/es/src/stores-v2-inventory.universal.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +6 -4
|
@@ -4055,7 +4055,9 @@ export interface GetStoreVariantResponseNonNullableFields {
|
|
|
4055
4055
|
* @requiredField product.priceData
|
|
4056
4056
|
* @requiredField product.priceData.price
|
|
4057
4057
|
* @permissionScope Manage Stores - all permissions
|
|
4058
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4058
4059
|
* @permissionScope Manage Products
|
|
4060
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4059
4061
|
* @applicableIdentity APP
|
|
4060
4062
|
*/
|
|
4061
4063
|
export declare function createProduct(product: Product): Promise<CreateProductResponse & CreateProductResponseNonNullableFields>;
|
|
@@ -4070,7 +4072,9 @@ export declare function createProduct(product: Product): Promise<CreateProductRe
|
|
|
4070
4072
|
* @requiredField product.priceData
|
|
4071
4073
|
* @requiredField product.priceData.price
|
|
4072
4074
|
* @permissionScope Manage Stores - all permissions
|
|
4075
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4073
4076
|
* @permissionScope Manage Products
|
|
4077
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4074
4078
|
* @applicableIdentity APP
|
|
4075
4079
|
*/
|
|
4076
4080
|
export declare function createProductPlatformized(product: Product): Promise<Product & NonNullable<CreateProductPlatformizedResponseNonNullableFields>['product']>;
|
|
@@ -4082,7 +4086,9 @@ export declare function createProductPlatformized(product: Product): Promise<Pro
|
|
|
4082
4086
|
* @requiredField product
|
|
4083
4087
|
* @param product - Product info to update.
|
|
4084
4088
|
* @permissionScope Manage Stores - all permissions
|
|
4089
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4085
4090
|
* @permissionScope Manage Products
|
|
4091
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4086
4092
|
* @applicableIdentity APP
|
|
4087
4093
|
*/
|
|
4088
4094
|
export declare function updateProduct(_id: string, product: UpdateProduct): Promise<UpdateProductResponse & UpdateProductResponseNonNullableFields>;
|
|
@@ -4221,7 +4227,9 @@ export interface UpdateProduct {
|
|
|
4221
4227
|
* @requiredField _id
|
|
4222
4228
|
* @requiredField product
|
|
4223
4229
|
* @permissionScope Manage Stores - all permissions
|
|
4230
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4224
4231
|
* @permissionScope Manage Products
|
|
4232
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4225
4233
|
* @applicableIdentity APP
|
|
4226
4234
|
*/
|
|
4227
4235
|
export declare function updateProductPlatformized(_id: string, product: UpdateProductPlatformizedProduct): Promise<Product & NonNullable<UpdateProductPlatformizedResponseNonNullableFields>['product']>;
|
|
@@ -4358,7 +4366,9 @@ export interface UpdateProductPlatformizedProduct {
|
|
|
4358
4366
|
* @public
|
|
4359
4367
|
* @requiredField _id
|
|
4360
4368
|
* @permissionScope Manage Stores - all permissions
|
|
4369
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4361
4370
|
* @permissionScope Manage Products
|
|
4371
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4362
4372
|
* @applicableIdentity APP
|
|
4363
4373
|
*/
|
|
4364
4374
|
export declare function deleteProduct(_id: string): Promise<void>;
|
|
@@ -4369,7 +4379,9 @@ export declare function deleteProduct(_id: string): Promise<void>;
|
|
|
4369
4379
|
* @documentationMaturity preview
|
|
4370
4380
|
* @requiredField _id
|
|
4371
4381
|
* @permissionScope Manage Stores - all permissions
|
|
4382
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4372
4383
|
* @permissionScope Manage Products
|
|
4384
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4373
4385
|
* @applicableIdentity APP
|
|
4374
4386
|
*/
|
|
4375
4387
|
export declare function deleteProductPlatformized(_id: string): Promise<void>;
|
|
@@ -4382,7 +4394,9 @@ export declare function deleteProductPlatformized(_id: string): Promise<void>;
|
|
|
4382
4394
|
* @requiredField _id
|
|
4383
4395
|
* @requiredField variants
|
|
4384
4396
|
* @permissionScope Manage Stores - all permissions
|
|
4397
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4385
4398
|
* @permissionScope Manage Products
|
|
4399
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4386
4400
|
* @applicableIdentity APP
|
|
4387
4401
|
*/
|
|
4388
4402
|
export declare function updateProductVariants(_id: string, variants: VariantOverride[]): Promise<UpdateVariantsResponse & UpdateVariantsResponseNonNullableFields>;
|
|
@@ -4393,7 +4407,9 @@ export declare function updateProductVariants(_id: string, variants: VariantOver
|
|
|
4393
4407
|
* @documentationMaturity preview
|
|
4394
4408
|
* @requiredField _id
|
|
4395
4409
|
* @permissionScope Manage Stores - all permissions
|
|
4410
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4396
4411
|
* @permissionScope Manage Products
|
|
4412
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4397
4413
|
* @applicableIdentity APP
|
|
4398
4414
|
*/
|
|
4399
4415
|
export declare function resetAllProductVariantData(_id: string): Promise<void>;
|
|
@@ -4405,7 +4421,9 @@ export declare function resetAllProductVariantData(_id: string): Promise<void>;
|
|
|
4405
4421
|
* @requiredField _id
|
|
4406
4422
|
* @requiredField productIds
|
|
4407
4423
|
* @permissionScope Manage Stores - all permissions
|
|
4424
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4408
4425
|
* @permissionScope Manage Products
|
|
4426
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4409
4427
|
* @applicableIdentity APP
|
|
4410
4428
|
*/
|
|
4411
4429
|
export declare function addProductsToCollection(_id: string, productIds: string[]): Promise<void>;
|
|
@@ -4417,7 +4435,9 @@ export declare function addProductsToCollection(_id: string, productIds: string[
|
|
|
4417
4435
|
* @requiredField _id
|
|
4418
4436
|
* @requiredField productIds
|
|
4419
4437
|
* @permissionScope Manage Stores - all permissions
|
|
4438
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4420
4439
|
* @permissionScope Manage Products
|
|
4440
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4421
4441
|
* @applicableIdentity APP
|
|
4422
4442
|
*/
|
|
4423
4443
|
export declare function removeProductsFromCollection(_id: string, productIds: string[]): Promise<void>;
|
|
@@ -4431,7 +4451,9 @@ export declare function removeProductsFromCollection(_id: string, productIds: st
|
|
|
4431
4451
|
* @requiredField _id
|
|
4432
4452
|
* @requiredField media
|
|
4433
4453
|
* @permissionScope Manage Stores - all permissions
|
|
4454
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4434
4455
|
* @permissionScope Manage Products
|
|
4456
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4435
4457
|
* @applicableIdentity APP
|
|
4436
4458
|
*/
|
|
4437
4459
|
export declare function addProductMedia(_id: string, media: MediaDataForWrite[]): Promise<void>;
|
|
@@ -4444,7 +4466,9 @@ export declare function addProductMedia(_id: string, media: MediaDataForWrite[])
|
|
|
4444
4466
|
* @requiredField _id
|
|
4445
4467
|
* @requiredField mediaIds
|
|
4446
4468
|
* @permissionScope Manage Stores - all permissions
|
|
4469
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4447
4470
|
* @permissionScope Manage Products
|
|
4471
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4448
4472
|
* @applicableIdentity APP
|
|
4449
4473
|
*/
|
|
4450
4474
|
export declare function removeProductMedia(_id: string, mediaIds: string[]): Promise<void>;
|
|
@@ -4462,7 +4486,9 @@ export declare function removeProductMedia(_id: string, mediaIds: string[]): Pro
|
|
|
4462
4486
|
* @requiredField media.choice
|
|
4463
4487
|
* @requiredField media.option
|
|
4464
4488
|
* @permissionScope Manage Stores - all permissions
|
|
4489
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4465
4490
|
* @permissionScope Manage Products
|
|
4491
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4466
4492
|
* @applicableIdentity APP
|
|
4467
4493
|
*/
|
|
4468
4494
|
export declare function addProductMediaToChoices(_id: string, media: MediaAssignmentToChoice[]): Promise<void>;
|
|
@@ -4475,7 +4501,9 @@ export declare function addProductMediaToChoices(_id: string, media: MediaAssign
|
|
|
4475
4501
|
* @requiredField _id
|
|
4476
4502
|
* @requiredField media
|
|
4477
4503
|
* @permissionScope Manage Stores - all permissions
|
|
4504
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4478
4505
|
* @permissionScope Manage Products
|
|
4506
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4479
4507
|
* @applicableIdentity APP
|
|
4480
4508
|
*/
|
|
4481
4509
|
export declare function removeProductMediaFromChoices(_id: string, media: MediaAssignmentToChoice[]): Promise<void>;
|
|
@@ -4485,7 +4513,9 @@ export declare function removeProductMediaFromChoices(_id: string, media: MediaA
|
|
|
4485
4513
|
* @public
|
|
4486
4514
|
* @requiredField _id
|
|
4487
4515
|
* @permissionScope Manage Stores - all permissions
|
|
4516
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4488
4517
|
* @permissionScope Manage Products
|
|
4518
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4489
4519
|
* @applicableIdentity APP
|
|
4490
4520
|
*/
|
|
4491
4521
|
export declare function deleteProductOptions(_id: string): Promise<void>;
|
|
@@ -4496,7 +4526,9 @@ export declare function deleteProductOptions(_id: string): Promise<void>;
|
|
|
4496
4526
|
* @documentationMaturity preview
|
|
4497
4527
|
* @requiredField _id
|
|
4498
4528
|
* @permissionScope Manage Stores - all permissions
|
|
4529
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4499
4530
|
* @permissionScope Manage Products
|
|
4531
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4500
4532
|
* @applicableIdentity APP
|
|
4501
4533
|
*/
|
|
4502
4534
|
export declare function removeBrand(_id: string): Promise<void>;
|
|
@@ -4508,7 +4540,9 @@ export declare function removeBrand(_id: string): Promise<void>;
|
|
|
4508
4540
|
* @requiredField collection
|
|
4509
4541
|
* @requiredField collection.name
|
|
4510
4542
|
* @permissionScope Manage Stores - all permissions
|
|
4543
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4511
4544
|
* @permissionScope Manage Products
|
|
4545
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4512
4546
|
* @applicableIdentity APP
|
|
4513
4547
|
*/
|
|
4514
4548
|
export declare function createCollection(collection: Collection): Promise<CreateCollectionResponse & CreateCollectionResponseNonNullableFields>;
|
|
@@ -4520,7 +4554,9 @@ export declare function createCollection(collection: Collection): Promise<Create
|
|
|
4520
4554
|
* @requiredField collection
|
|
4521
4555
|
* @param collection - Collection info to update.
|
|
4522
4556
|
* @permissionScope Manage Stores - all permissions
|
|
4557
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4523
4558
|
* @permissionScope Manage Products
|
|
4559
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4524
4560
|
* @applicableIdentity APP
|
|
4525
4561
|
*/
|
|
4526
4562
|
export declare function updateCollection(_id: string | null, collection: UpdateCollection): Promise<UpdateCollectionResponse & UpdateCollectionResponseNonNullableFields>;
|
|
@@ -4555,7 +4591,9 @@ export interface UpdateCollection {
|
|
|
4555
4591
|
* @requiredField _id
|
|
4556
4592
|
* @param _id - ID of the collection to delete.
|
|
4557
4593
|
* @permissionScope Manage Stores - all permissions
|
|
4594
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4558
4595
|
* @permissionScope Manage Products
|
|
4596
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4559
4597
|
* @applicableIdentity APP
|
|
4560
4598
|
*/
|
|
4561
4599
|
export declare function deleteCollection(_id: string): Promise<void>;
|
|
@@ -4566,7 +4604,9 @@ export declare function deleteCollection(_id: string): Promise<void>;
|
|
|
4566
4604
|
* @documentationMaturity preview
|
|
4567
4605
|
* @requiredField _id
|
|
4568
4606
|
* @permissionScope Manage Stores - all permissions
|
|
4607
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4569
4608
|
* @permissionScope Manage Products
|
|
4609
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4570
4610
|
* @applicableIdentity APP
|
|
4571
4611
|
*/
|
|
4572
4612
|
export declare function removeRibbon(_id: string): Promise<void>;
|
|
@@ -4579,7 +4619,9 @@ export declare function removeRibbon(_id: string): Promise<void>;
|
|
|
4579
4619
|
* @requiredField ids
|
|
4580
4620
|
* @requiredField set
|
|
4581
4621
|
* @permissionScope Manage Stores - all permissions
|
|
4622
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4582
4623
|
* @permissionScope Manage Products
|
|
4624
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4583
4625
|
* @applicableIdentity APP
|
|
4584
4626
|
*/
|
|
4585
4627
|
export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue): Promise<BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields>;
|
|
@@ -4593,7 +4635,9 @@ export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue)
|
|
|
4593
4635
|
* @requiredField adjust
|
|
4594
4636
|
* @requiredField ids
|
|
4595
4637
|
* @permissionScope Manage Stores - all permissions
|
|
4638
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4596
4639
|
* @permissionScope Manage Products
|
|
4640
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4597
4641
|
* @applicableIdentity APP
|
|
4598
4642
|
*/
|
|
4599
4643
|
export declare function bulkAdjustProductProperty(adjust: AdjustValue, ids: string[]): Promise<BulkAdjustProductPropertiesResponse & BulkAdjustProductPropertiesResponseNonNullableFields>;
|
|
@@ -4758,10 +4802,15 @@ export declare function writeProxyDeleteProductPlatformized(_id: string): Promis
|
|
|
4758
4802
|
* @public
|
|
4759
4803
|
* @documentationMaturity preview
|
|
4760
4804
|
* @permissionScope Manage Stores - all permissions
|
|
4805
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4761
4806
|
* @permissionScope Manage Products
|
|
4807
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4762
4808
|
* @permissionScope Read Stores - all read permissions
|
|
4809
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4763
4810
|
* @permissionScope Read Products
|
|
4811
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4764
4812
|
* @permissionScope Manage Orders
|
|
4813
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4765
4814
|
* @applicableIdentity APP
|
|
4766
4815
|
* @applicableIdentity MEMBER
|
|
4767
4816
|
* @applicableIdentity VISITOR
|
|
@@ -4858,10 +4907,15 @@ export interface ProductsQueryBuilder {
|
|
|
4858
4907
|
* @documentationMaturity preview
|
|
4859
4908
|
* @requiredField _id
|
|
4860
4909
|
* @permissionScope Manage Stores - all permissions
|
|
4910
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4861
4911
|
* @permissionScope Manage Products
|
|
4912
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4862
4913
|
* @permissionScope Read Stores - all read permissions
|
|
4914
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4863
4915
|
* @permissionScope Read Products
|
|
4916
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4864
4917
|
* @permissionScope Manage Orders
|
|
4918
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4865
4919
|
* @applicableIdentity APP
|
|
4866
4920
|
* @applicableIdentity MEMBER
|
|
4867
4921
|
* @applicableIdentity VISITOR
|
|
@@ -4878,10 +4932,15 @@ export interface GetProductOptions {
|
|
|
4878
4932
|
* @documentationMaturity preview
|
|
4879
4933
|
* @requiredField _id
|
|
4880
4934
|
* @permissionScope Manage Stores - all permissions
|
|
4935
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4881
4936
|
* @permissionScope Manage Products
|
|
4937
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4882
4938
|
* @permissionScope Read Stores - all read permissions
|
|
4939
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4883
4940
|
* @permissionScope Read Products
|
|
4941
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4884
4942
|
* @permissionScope Manage Orders
|
|
4943
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4885
4944
|
* @applicableIdentity APP
|
|
4886
4945
|
* @applicableIdentity MEMBER
|
|
4887
4946
|
* @applicableIdentity VISITOR
|
|
@@ -4898,10 +4957,15 @@ export interface GetProductPlatformizedOptions {
|
|
|
4898
4957
|
* @public
|
|
4899
4958
|
* @requiredField slug
|
|
4900
4959
|
* @permissionScope Manage Stores - all permissions
|
|
4960
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4901
4961
|
* @permissionScope Manage Products
|
|
4962
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4902
4963
|
* @permissionScope Read Stores - all read permissions
|
|
4964
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4903
4965
|
* @permissionScope Read Products
|
|
4966
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4904
4967
|
* @permissionScope Manage Orders
|
|
4968
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4905
4969
|
* @applicableIdentity APP
|
|
4906
4970
|
* @applicableIdentity MEMBER
|
|
4907
4971
|
* @applicableIdentity VISITOR
|
|
@@ -4915,10 +4979,15 @@ export declare function getCollectionBySlug(slug: string): Promise<GetCollection
|
|
|
4915
4979
|
* @requiredField _id
|
|
4916
4980
|
* @requiredField options
|
|
4917
4981
|
* @permissionScope Manage Stores - all permissions
|
|
4982
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4918
4983
|
* @permissionScope Manage Products
|
|
4984
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4919
4985
|
* @permissionScope Read Stores - all read permissions
|
|
4986
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4920
4987
|
* @permissionScope Read Products
|
|
4988
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4921
4989
|
* @permissionScope Manage Orders
|
|
4990
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4922
4991
|
* @applicableIdentity APP
|
|
4923
4992
|
* @applicableIdentity MEMBER
|
|
4924
4993
|
* @applicableIdentity VISITOR
|
|
@@ -4932,10 +5001,15 @@ export declare function getProductOptionsAvailability(_id: string, options: Reco
|
|
|
4932
5001
|
* @documentationMaturity preview
|
|
4933
5002
|
* @requiredField _id
|
|
4934
5003
|
* @permissionScope Manage Stores - all permissions
|
|
5004
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4935
5005
|
* @permissionScope Manage Products
|
|
5006
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4936
5007
|
* @permissionScope Read Stores - all read permissions
|
|
5008
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4937
5009
|
* @permissionScope Read Products
|
|
5010
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4938
5011
|
* @permissionScope Manage Orders
|
|
5012
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4939
5013
|
* @applicableIdentity APP
|
|
4940
5014
|
* @applicableIdentity MEMBER
|
|
4941
5015
|
* @applicableIdentity VISITOR
|
|
@@ -4960,10 +5034,15 @@ export interface QueryProductVariantsOptions {
|
|
|
4960
5034
|
* @documentationMaturity preview
|
|
4961
5035
|
* @requiredField query
|
|
4962
5036
|
* @permissionScope Manage Stores - all permissions
|
|
5037
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4963
5038
|
* @permissionScope Manage Products
|
|
5039
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4964
5040
|
* @permissionScope Read Stores - all read permissions
|
|
5041
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4965
5042
|
* @permissionScope Read Products
|
|
5043
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4966
5044
|
* @permissionScope Manage Orders
|
|
5045
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4967
5046
|
* @applicableIdentity APP
|
|
4968
5047
|
* @applicableIdentity MEMBER
|
|
4969
5048
|
* @applicableIdentity VISITOR
|
|
@@ -4976,10 +5055,15 @@ export declare function queryStoreVariants(query: PlatformQuery): Promise<QueryS
|
|
|
4976
5055
|
* @documentationMaturity preview
|
|
4977
5056
|
* @requiredField _id
|
|
4978
5057
|
* @permissionScope Manage Stores - all permissions
|
|
5058
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4979
5059
|
* @permissionScope Manage Products
|
|
5060
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4980
5061
|
* @permissionScope Read Stores - all read permissions
|
|
5062
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4981
5063
|
* @permissionScope Read Products
|
|
5064
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4982
5065
|
* @permissionScope Manage Orders
|
|
5066
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4983
5067
|
* @applicableIdentity APP
|
|
4984
5068
|
* @applicableIdentity MEMBER
|
|
4985
5069
|
* @applicableIdentity VISITOR
|
|
@@ -182,7 +182,9 @@ const _v1UpdateProductPlatformizedResponse = {};
|
|
|
182
182
|
* @requiredField product.priceData
|
|
183
183
|
* @requiredField product.priceData.price
|
|
184
184
|
* @permissionScope Manage Stores - all permissions
|
|
185
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
185
186
|
* @permissionScope Manage Products
|
|
187
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
186
188
|
* @applicableIdentity APP
|
|
187
189
|
*/
|
|
188
190
|
export function createProduct(product) {
|
|
@@ -241,7 +243,9 @@ export function createProduct(product) {
|
|
|
241
243
|
* @requiredField product.priceData
|
|
242
244
|
* @requiredField product.priceData.price
|
|
243
245
|
* @permissionScope Manage Stores - all permissions
|
|
246
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
244
247
|
* @permissionScope Manage Products
|
|
248
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
245
249
|
* @applicableIdentity APP
|
|
246
250
|
*/
|
|
247
251
|
export function createProductPlatformized(product) {
|
|
@@ -297,7 +301,9 @@ export function createProductPlatformized(product) {
|
|
|
297
301
|
* @requiredField product
|
|
298
302
|
* @param product - Product info to update.
|
|
299
303
|
* @permissionScope Manage Stores - all permissions
|
|
304
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
300
305
|
* @permissionScope Manage Products
|
|
306
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
301
307
|
* @applicableIdentity APP
|
|
302
308
|
*/
|
|
303
309
|
export function updateProduct(_id, product) {
|
|
@@ -353,7 +359,9 @@ export function updateProduct(_id, product) {
|
|
|
353
359
|
* @requiredField _id
|
|
354
360
|
* @requiredField product
|
|
355
361
|
* @permissionScope Manage Stores - all permissions
|
|
362
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
356
363
|
* @permissionScope Manage Products
|
|
364
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
357
365
|
* @applicableIdentity APP
|
|
358
366
|
*/
|
|
359
367
|
export function updateProductPlatformized(_id, product) {
|
|
@@ -407,7 +415,9 @@ export function updateProductPlatformized(_id, product) {
|
|
|
407
415
|
* @public
|
|
408
416
|
* @requiredField _id
|
|
409
417
|
* @permissionScope Manage Stores - all permissions
|
|
418
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
410
419
|
* @permissionScope Manage Products
|
|
420
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
411
421
|
* @applicableIdentity APP
|
|
412
422
|
*/
|
|
413
423
|
export function deleteProduct(_id) {
|
|
@@ -461,7 +471,9 @@ export function deleteProduct(_id) {
|
|
|
461
471
|
* @documentationMaturity preview
|
|
462
472
|
* @requiredField _id
|
|
463
473
|
* @permissionScope Manage Stores - all permissions
|
|
474
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
464
475
|
* @permissionScope Manage Products
|
|
476
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
465
477
|
* @applicableIdentity APP
|
|
466
478
|
*/
|
|
467
479
|
export function deleteProductPlatformized(_id) {
|
|
@@ -517,7 +529,9 @@ export function deleteProductPlatformized(_id) {
|
|
|
517
529
|
* @requiredField _id
|
|
518
530
|
* @requiredField variants
|
|
519
531
|
* @permissionScope Manage Stores - all permissions
|
|
532
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
520
533
|
* @permissionScope Manage Products
|
|
534
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
521
535
|
* @applicableIdentity APP
|
|
522
536
|
*/
|
|
523
537
|
export function updateProductVariants(_id, variants) {
|
|
@@ -572,7 +586,9 @@ export function updateProductVariants(_id, variants) {
|
|
|
572
586
|
* @documentationMaturity preview
|
|
573
587
|
* @requiredField _id
|
|
574
588
|
* @permissionScope Manage Stores - all permissions
|
|
589
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
575
590
|
* @permissionScope Manage Products
|
|
591
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
576
592
|
* @applicableIdentity APP
|
|
577
593
|
*/
|
|
578
594
|
export function resetAllProductVariantData(_id) {
|
|
@@ -627,7 +643,9 @@ export function resetAllProductVariantData(_id) {
|
|
|
627
643
|
* @requiredField _id
|
|
628
644
|
* @requiredField productIds
|
|
629
645
|
* @permissionScope Manage Stores - all permissions
|
|
646
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
630
647
|
* @permissionScope Manage Products
|
|
648
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
631
649
|
* @applicableIdentity APP
|
|
632
650
|
*/
|
|
633
651
|
export function addProductsToCollection(_id, productIds) {
|
|
@@ -682,7 +700,9 @@ export function addProductsToCollection(_id, productIds) {
|
|
|
682
700
|
* @requiredField _id
|
|
683
701
|
* @requiredField productIds
|
|
684
702
|
* @permissionScope Manage Stores - all permissions
|
|
703
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
685
704
|
* @permissionScope Manage Products
|
|
705
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
686
706
|
* @applicableIdentity APP
|
|
687
707
|
*/
|
|
688
708
|
export function removeProductsFromCollection(_id, productIds) {
|
|
@@ -739,7 +759,9 @@ export function removeProductsFromCollection(_id, productIds) {
|
|
|
739
759
|
* @requiredField _id
|
|
740
760
|
* @requiredField media
|
|
741
761
|
* @permissionScope Manage Stores - all permissions
|
|
762
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
742
763
|
* @permissionScope Manage Products
|
|
764
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
743
765
|
* @applicableIdentity APP
|
|
744
766
|
*/
|
|
745
767
|
export function addProductMedia(_id, media) {
|
|
@@ -795,7 +817,9 @@ export function addProductMedia(_id, media) {
|
|
|
795
817
|
* @requiredField _id
|
|
796
818
|
* @requiredField mediaIds
|
|
797
819
|
* @permissionScope Manage Stores - all permissions
|
|
820
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
798
821
|
* @permissionScope Manage Products
|
|
822
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
799
823
|
* @applicableIdentity APP
|
|
800
824
|
*/
|
|
801
825
|
export function removeProductMedia(_id, mediaIds) {
|
|
@@ -856,7 +880,9 @@ export function removeProductMedia(_id, mediaIds) {
|
|
|
856
880
|
* @requiredField media.choice
|
|
857
881
|
* @requiredField media.option
|
|
858
882
|
* @permissionScope Manage Stores - all permissions
|
|
883
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
859
884
|
* @permissionScope Manage Products
|
|
885
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
860
886
|
* @applicableIdentity APP
|
|
861
887
|
*/
|
|
862
888
|
export function addProductMediaToChoices(_id, media) {
|
|
@@ -912,7 +938,9 @@ export function addProductMediaToChoices(_id, media) {
|
|
|
912
938
|
* @requiredField _id
|
|
913
939
|
* @requiredField media
|
|
914
940
|
* @permissionScope Manage Stores - all permissions
|
|
941
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
915
942
|
* @permissionScope Manage Products
|
|
943
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
916
944
|
* @applicableIdentity APP
|
|
917
945
|
*/
|
|
918
946
|
export function removeProductMediaFromChoices(_id, media) {
|
|
@@ -965,7 +993,9 @@ export function removeProductMediaFromChoices(_id, media) {
|
|
|
965
993
|
* @public
|
|
966
994
|
* @requiredField _id
|
|
967
995
|
* @permissionScope Manage Stores - all permissions
|
|
996
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
968
997
|
* @permissionScope Manage Products
|
|
998
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
969
999
|
* @applicableIdentity APP
|
|
970
1000
|
*/
|
|
971
1001
|
export function deleteProductOptions(_id) {
|
|
@@ -1019,7 +1049,9 @@ export function deleteProductOptions(_id) {
|
|
|
1019
1049
|
* @documentationMaturity preview
|
|
1020
1050
|
* @requiredField _id
|
|
1021
1051
|
* @permissionScope Manage Stores - all permissions
|
|
1052
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1022
1053
|
* @permissionScope Manage Products
|
|
1054
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1023
1055
|
* @applicableIdentity APP
|
|
1024
1056
|
*/
|
|
1025
1057
|
export function removeBrand(_id) {
|
|
@@ -1074,7 +1106,9 @@ export function removeBrand(_id) {
|
|
|
1074
1106
|
* @requiredField collection
|
|
1075
1107
|
* @requiredField collection.name
|
|
1076
1108
|
* @permissionScope Manage Stores - all permissions
|
|
1109
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1077
1110
|
* @permissionScope Manage Products
|
|
1111
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1078
1112
|
* @applicableIdentity APP
|
|
1079
1113
|
*/
|
|
1080
1114
|
export function createCollection(collection) {
|
|
@@ -1130,7 +1164,9 @@ export function createCollection(collection) {
|
|
|
1130
1164
|
* @requiredField collection
|
|
1131
1165
|
* @param collection - Collection info to update.
|
|
1132
1166
|
* @permissionScope Manage Stores - all permissions
|
|
1167
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1133
1168
|
* @permissionScope Manage Products
|
|
1169
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1134
1170
|
* @applicableIdentity APP
|
|
1135
1171
|
*/
|
|
1136
1172
|
export function updateCollection(_id, collection) {
|
|
@@ -1184,7 +1220,9 @@ export function updateCollection(_id, collection) {
|
|
|
1184
1220
|
* @requiredField _id
|
|
1185
1221
|
* @param _id - ID of the collection to delete.
|
|
1186
1222
|
* @permissionScope Manage Stores - all permissions
|
|
1223
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1187
1224
|
* @permissionScope Manage Products
|
|
1225
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1188
1226
|
* @applicableIdentity APP
|
|
1189
1227
|
*/
|
|
1190
1228
|
export function deleteCollection(_id) {
|
|
@@ -1238,7 +1276,9 @@ export function deleteCollection(_id) {
|
|
|
1238
1276
|
* @documentationMaturity preview
|
|
1239
1277
|
* @requiredField _id
|
|
1240
1278
|
* @permissionScope Manage Stores - all permissions
|
|
1279
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1241
1280
|
* @permissionScope Manage Products
|
|
1281
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1242
1282
|
* @applicableIdentity APP
|
|
1243
1283
|
*/
|
|
1244
1284
|
export function removeRibbon(_id) {
|
|
@@ -1294,7 +1334,9 @@ export function removeRibbon(_id) {
|
|
|
1294
1334
|
* @requiredField ids
|
|
1295
1335
|
* @requiredField set
|
|
1296
1336
|
* @permissionScope Manage Stores - all permissions
|
|
1337
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1297
1338
|
* @permissionScope Manage Products
|
|
1339
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1298
1340
|
* @applicableIdentity APP
|
|
1299
1341
|
*/
|
|
1300
1342
|
export function bulkUpdateProductsProperty(ids, set) {
|
|
@@ -1352,7 +1394,9 @@ export function bulkUpdateProductsProperty(ids, set) {
|
|
|
1352
1394
|
* @requiredField adjust
|
|
1353
1395
|
* @requiredField ids
|
|
1354
1396
|
* @permissionScope Manage Stores - all permissions
|
|
1397
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1355
1398
|
* @permissionScope Manage Products
|
|
1399
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1356
1400
|
* @applicableIdentity APP
|
|
1357
1401
|
*/
|
|
1358
1402
|
export function bulkAdjustProductProperty(adjust, ids) {
|
|
@@ -1565,10 +1609,15 @@ export function writeProxyDeleteProductPlatformized(_id) {
|
|
|
1565
1609
|
* @public
|
|
1566
1610
|
* @documentationMaturity preview
|
|
1567
1611
|
* @permissionScope Manage Stores - all permissions
|
|
1612
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1568
1613
|
* @permissionScope Manage Products
|
|
1614
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1569
1615
|
* @permissionScope Read Stores - all read permissions
|
|
1616
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1570
1617
|
* @permissionScope Read Products
|
|
1618
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1571
1619
|
* @permissionScope Manage Orders
|
|
1620
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1572
1621
|
* @applicableIdentity APP
|
|
1573
1622
|
* @applicableIdentity MEMBER
|
|
1574
1623
|
* @applicableIdentity VISITOR
|
|
@@ -1631,10 +1680,15 @@ export function queryProducts() {
|
|
|
1631
1680
|
* @documentationMaturity preview
|
|
1632
1681
|
* @requiredField _id
|
|
1633
1682
|
* @permissionScope Manage Stores - all permissions
|
|
1683
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1634
1684
|
* @permissionScope Manage Products
|
|
1685
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1635
1686
|
* @permissionScope Read Stores - all read permissions
|
|
1687
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1636
1688
|
* @permissionScope Read Products
|
|
1689
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1637
1690
|
* @permissionScope Manage Orders
|
|
1691
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1638
1692
|
* @applicableIdentity APP
|
|
1639
1693
|
* @applicableIdentity MEMBER
|
|
1640
1694
|
* @applicableIdentity VISITOR
|
|
@@ -1697,10 +1751,15 @@ export function getProduct(_id, options) {
|
|
|
1697
1751
|
* @documentationMaturity preview
|
|
1698
1752
|
* @requiredField _id
|
|
1699
1753
|
* @permissionScope Manage Stores - all permissions
|
|
1754
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1700
1755
|
* @permissionScope Manage Products
|
|
1756
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1701
1757
|
* @permissionScope Read Stores - all read permissions
|
|
1758
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1702
1759
|
* @permissionScope Read Products
|
|
1760
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1703
1761
|
* @permissionScope Manage Orders
|
|
1762
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1704
1763
|
* @applicableIdentity APP
|
|
1705
1764
|
* @applicableIdentity MEMBER
|
|
1706
1765
|
* @applicableIdentity VISITOR
|
|
@@ -1763,10 +1822,15 @@ export function getProductPlatformized(_id, options) {
|
|
|
1763
1822
|
* @public
|
|
1764
1823
|
* @requiredField slug
|
|
1765
1824
|
* @permissionScope Manage Stores - all permissions
|
|
1825
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1766
1826
|
* @permissionScope Manage Products
|
|
1827
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1767
1828
|
* @permissionScope Read Stores - all read permissions
|
|
1829
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1768
1830
|
* @permissionScope Read Products
|
|
1831
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1769
1832
|
* @permissionScope Manage Orders
|
|
1833
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1770
1834
|
* @applicableIdentity APP
|
|
1771
1835
|
* @applicableIdentity MEMBER
|
|
1772
1836
|
* @applicableIdentity VISITOR
|
|
@@ -1824,10 +1888,15 @@ export function getCollectionBySlug(slug) {
|
|
|
1824
1888
|
* @requiredField _id
|
|
1825
1889
|
* @requiredField options
|
|
1826
1890
|
* @permissionScope Manage Stores - all permissions
|
|
1891
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1827
1892
|
* @permissionScope Manage Products
|
|
1893
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1828
1894
|
* @permissionScope Read Stores - all read permissions
|
|
1895
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1829
1896
|
* @permissionScope Read Products
|
|
1897
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1830
1898
|
* @permissionScope Manage Orders
|
|
1899
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1831
1900
|
* @applicableIdentity APP
|
|
1832
1901
|
* @applicableIdentity MEMBER
|
|
1833
1902
|
* @applicableIdentity VISITOR
|
|
@@ -1885,10 +1954,15 @@ export function getProductOptionsAvailability(_id, options) {
|
|
|
1885
1954
|
* @documentationMaturity preview
|
|
1886
1955
|
* @requiredField _id
|
|
1887
1956
|
* @permissionScope Manage Stores - all permissions
|
|
1957
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1888
1958
|
* @permissionScope Manage Products
|
|
1959
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1889
1960
|
* @permissionScope Read Stores - all read permissions
|
|
1961
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1890
1962
|
* @permissionScope Read Products
|
|
1963
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1891
1964
|
* @permissionScope Manage Orders
|
|
1965
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1892
1966
|
* @applicableIdentity APP
|
|
1893
1967
|
* @applicableIdentity MEMBER
|
|
1894
1968
|
* @applicableIdentity VISITOR
|
|
@@ -1957,10 +2031,15 @@ export function queryProductVariants(_id, options) {
|
|
|
1957
2031
|
* @documentationMaturity preview
|
|
1958
2032
|
* @requiredField query
|
|
1959
2033
|
* @permissionScope Manage Stores - all permissions
|
|
2034
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1960
2035
|
* @permissionScope Manage Products
|
|
2036
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1961
2037
|
* @permissionScope Read Stores - all read permissions
|
|
2038
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1962
2039
|
* @permissionScope Read Products
|
|
2040
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1963
2041
|
* @permissionScope Manage Orders
|
|
2042
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1964
2043
|
* @applicableIdentity APP
|
|
1965
2044
|
* @applicableIdentity MEMBER
|
|
1966
2045
|
* @applicableIdentity VISITOR
|
|
@@ -2017,10 +2096,15 @@ export function queryStoreVariants(query) {
|
|
|
2017
2096
|
* @documentationMaturity preview
|
|
2018
2097
|
* @requiredField _id
|
|
2019
2098
|
* @permissionScope Manage Stores - all permissions
|
|
2099
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
2020
2100
|
* @permissionScope Manage Products
|
|
2101
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
2021
2102
|
* @permissionScope Read Stores - all read permissions
|
|
2103
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
2022
2104
|
* @permissionScope Read Products
|
|
2105
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
2023
2106
|
* @permissionScope Manage Orders
|
|
2107
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
2024
2108
|
* @applicableIdentity APP
|
|
2025
2109
|
* @applicableIdentity MEMBER
|
|
2026
2110
|
* @applicableIdentity VISITOR
|