@wix/stores 1.0.129 → 1.0.130
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/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.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.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/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.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.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/package.json +2 -2
|
@@ -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
|
|
@@ -208,7 +208,9 @@ const _v1UpdateProductPlatformizedResponse = {};
|
|
|
208
208
|
* @requiredField product.priceData
|
|
209
209
|
* @requiredField product.priceData.price
|
|
210
210
|
* @permissionScope Manage Stores - all permissions
|
|
211
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
211
212
|
* @permissionScope Manage Products
|
|
213
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
212
214
|
* @applicableIdentity APP
|
|
213
215
|
*/
|
|
214
216
|
function createProduct(product) {
|
|
@@ -268,7 +270,9 @@ exports.createProduct = createProduct;
|
|
|
268
270
|
* @requiredField product.priceData
|
|
269
271
|
* @requiredField product.priceData.price
|
|
270
272
|
* @permissionScope Manage Stores - all permissions
|
|
273
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
271
274
|
* @permissionScope Manage Products
|
|
275
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
272
276
|
* @applicableIdentity APP
|
|
273
277
|
*/
|
|
274
278
|
function createProductPlatformized(product) {
|
|
@@ -325,7 +329,9 @@ exports.createProductPlatformized = createProductPlatformized;
|
|
|
325
329
|
* @requiredField product
|
|
326
330
|
* @param product - Product info to update.
|
|
327
331
|
* @permissionScope Manage Stores - all permissions
|
|
332
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
328
333
|
* @permissionScope Manage Products
|
|
334
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
329
335
|
* @applicableIdentity APP
|
|
330
336
|
*/
|
|
331
337
|
function updateProduct(_id, product) {
|
|
@@ -382,7 +388,9 @@ exports.updateProduct = updateProduct;
|
|
|
382
388
|
* @requiredField _id
|
|
383
389
|
* @requiredField product
|
|
384
390
|
* @permissionScope Manage Stores - all permissions
|
|
391
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
385
392
|
* @permissionScope Manage Products
|
|
393
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
386
394
|
* @applicableIdentity APP
|
|
387
395
|
*/
|
|
388
396
|
function updateProductPlatformized(_id, product) {
|
|
@@ -437,7 +445,9 @@ exports.updateProductPlatformized = updateProductPlatformized;
|
|
|
437
445
|
* @public
|
|
438
446
|
* @requiredField _id
|
|
439
447
|
* @permissionScope Manage Stores - all permissions
|
|
448
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
440
449
|
* @permissionScope Manage Products
|
|
450
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
441
451
|
* @applicableIdentity APP
|
|
442
452
|
*/
|
|
443
453
|
function deleteProduct(_id) {
|
|
@@ -492,7 +502,9 @@ exports.deleteProduct = deleteProduct;
|
|
|
492
502
|
* @documentationMaturity preview
|
|
493
503
|
* @requiredField _id
|
|
494
504
|
* @permissionScope Manage Stores - all permissions
|
|
505
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
495
506
|
* @permissionScope Manage Products
|
|
507
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
496
508
|
* @applicableIdentity APP
|
|
497
509
|
*/
|
|
498
510
|
function deleteProductPlatformized(_id) {
|
|
@@ -549,7 +561,9 @@ exports.deleteProductPlatformized = deleteProductPlatformized;
|
|
|
549
561
|
* @requiredField _id
|
|
550
562
|
* @requiredField variants
|
|
551
563
|
* @permissionScope Manage Stores - all permissions
|
|
564
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
552
565
|
* @permissionScope Manage Products
|
|
566
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
553
567
|
* @applicableIdentity APP
|
|
554
568
|
*/
|
|
555
569
|
function updateProductVariants(_id, variants) {
|
|
@@ -605,7 +619,9 @@ exports.updateProductVariants = updateProductVariants;
|
|
|
605
619
|
* @documentationMaturity preview
|
|
606
620
|
* @requiredField _id
|
|
607
621
|
* @permissionScope Manage Stores - all permissions
|
|
622
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
608
623
|
* @permissionScope Manage Products
|
|
624
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
609
625
|
* @applicableIdentity APP
|
|
610
626
|
*/
|
|
611
627
|
function resetAllProductVariantData(_id) {
|
|
@@ -661,7 +677,9 @@ exports.resetAllProductVariantData = resetAllProductVariantData;
|
|
|
661
677
|
* @requiredField _id
|
|
662
678
|
* @requiredField productIds
|
|
663
679
|
* @permissionScope Manage Stores - all permissions
|
|
680
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
664
681
|
* @permissionScope Manage Products
|
|
682
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
665
683
|
* @applicableIdentity APP
|
|
666
684
|
*/
|
|
667
685
|
function addProductsToCollection(_id, productIds) {
|
|
@@ -717,7 +735,9 @@ exports.addProductsToCollection = addProductsToCollection;
|
|
|
717
735
|
* @requiredField _id
|
|
718
736
|
* @requiredField productIds
|
|
719
737
|
* @permissionScope Manage Stores - all permissions
|
|
738
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
720
739
|
* @permissionScope Manage Products
|
|
740
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
721
741
|
* @applicableIdentity APP
|
|
722
742
|
*/
|
|
723
743
|
function removeProductsFromCollection(_id, productIds) {
|
|
@@ -775,7 +795,9 @@ exports.removeProductsFromCollection = removeProductsFromCollection;
|
|
|
775
795
|
* @requiredField _id
|
|
776
796
|
* @requiredField media
|
|
777
797
|
* @permissionScope Manage Stores - all permissions
|
|
798
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
778
799
|
* @permissionScope Manage Products
|
|
800
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
779
801
|
* @applicableIdentity APP
|
|
780
802
|
*/
|
|
781
803
|
function addProductMedia(_id, media) {
|
|
@@ -832,7 +854,9 @@ exports.addProductMedia = addProductMedia;
|
|
|
832
854
|
* @requiredField _id
|
|
833
855
|
* @requiredField mediaIds
|
|
834
856
|
* @permissionScope Manage Stores - all permissions
|
|
857
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
835
858
|
* @permissionScope Manage Products
|
|
859
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
836
860
|
* @applicableIdentity APP
|
|
837
861
|
*/
|
|
838
862
|
function removeProductMedia(_id, mediaIds) {
|
|
@@ -894,7 +918,9 @@ exports.removeProductMedia = removeProductMedia;
|
|
|
894
918
|
* @requiredField media.choice
|
|
895
919
|
* @requiredField media.option
|
|
896
920
|
* @permissionScope Manage Stores - all permissions
|
|
921
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
897
922
|
* @permissionScope Manage Products
|
|
923
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
898
924
|
* @applicableIdentity APP
|
|
899
925
|
*/
|
|
900
926
|
function addProductMediaToChoices(_id, media) {
|
|
@@ -951,7 +977,9 @@ exports.addProductMediaToChoices = addProductMediaToChoices;
|
|
|
951
977
|
* @requiredField _id
|
|
952
978
|
* @requiredField media
|
|
953
979
|
* @permissionScope Manage Stores - all permissions
|
|
980
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
954
981
|
* @permissionScope Manage Products
|
|
982
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
955
983
|
* @applicableIdentity APP
|
|
956
984
|
*/
|
|
957
985
|
function removeProductMediaFromChoices(_id, media) {
|
|
@@ -1005,7 +1033,9 @@ exports.removeProductMediaFromChoices = removeProductMediaFromChoices;
|
|
|
1005
1033
|
* @public
|
|
1006
1034
|
* @requiredField _id
|
|
1007
1035
|
* @permissionScope Manage Stores - all permissions
|
|
1036
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1008
1037
|
* @permissionScope Manage Products
|
|
1038
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1009
1039
|
* @applicableIdentity APP
|
|
1010
1040
|
*/
|
|
1011
1041
|
function deleteProductOptions(_id) {
|
|
@@ -1060,7 +1090,9 @@ exports.deleteProductOptions = deleteProductOptions;
|
|
|
1060
1090
|
* @documentationMaturity preview
|
|
1061
1091
|
* @requiredField _id
|
|
1062
1092
|
* @permissionScope Manage Stores - all permissions
|
|
1093
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1063
1094
|
* @permissionScope Manage Products
|
|
1095
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1064
1096
|
* @applicableIdentity APP
|
|
1065
1097
|
*/
|
|
1066
1098
|
function removeBrand(_id) {
|
|
@@ -1116,7 +1148,9 @@ exports.removeBrand = removeBrand;
|
|
|
1116
1148
|
* @requiredField collection
|
|
1117
1149
|
* @requiredField collection.name
|
|
1118
1150
|
* @permissionScope Manage Stores - all permissions
|
|
1151
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1119
1152
|
* @permissionScope Manage Products
|
|
1153
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1120
1154
|
* @applicableIdentity APP
|
|
1121
1155
|
*/
|
|
1122
1156
|
function createCollection(collection) {
|
|
@@ -1173,7 +1207,9 @@ exports.createCollection = createCollection;
|
|
|
1173
1207
|
* @requiredField collection
|
|
1174
1208
|
* @param collection - Collection info to update.
|
|
1175
1209
|
* @permissionScope Manage Stores - all permissions
|
|
1210
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1176
1211
|
* @permissionScope Manage Products
|
|
1212
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1177
1213
|
* @applicableIdentity APP
|
|
1178
1214
|
*/
|
|
1179
1215
|
function updateCollection(_id, collection) {
|
|
@@ -1228,7 +1264,9 @@ exports.updateCollection = updateCollection;
|
|
|
1228
1264
|
* @requiredField _id
|
|
1229
1265
|
* @param _id - ID of the collection to delete.
|
|
1230
1266
|
* @permissionScope Manage Stores - all permissions
|
|
1267
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1231
1268
|
* @permissionScope Manage Products
|
|
1269
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1232
1270
|
* @applicableIdentity APP
|
|
1233
1271
|
*/
|
|
1234
1272
|
function deleteCollection(_id) {
|
|
@@ -1283,7 +1321,9 @@ exports.deleteCollection = deleteCollection;
|
|
|
1283
1321
|
* @documentationMaturity preview
|
|
1284
1322
|
* @requiredField _id
|
|
1285
1323
|
* @permissionScope Manage Stores - all permissions
|
|
1324
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1286
1325
|
* @permissionScope Manage Products
|
|
1326
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1287
1327
|
* @applicableIdentity APP
|
|
1288
1328
|
*/
|
|
1289
1329
|
function removeRibbon(_id) {
|
|
@@ -1340,7 +1380,9 @@ exports.removeRibbon = removeRibbon;
|
|
|
1340
1380
|
* @requiredField ids
|
|
1341
1381
|
* @requiredField set
|
|
1342
1382
|
* @permissionScope Manage Stores - all permissions
|
|
1383
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1343
1384
|
* @permissionScope Manage Products
|
|
1385
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1344
1386
|
* @applicableIdentity APP
|
|
1345
1387
|
*/
|
|
1346
1388
|
function bulkUpdateProductsProperty(ids, set) {
|
|
@@ -1399,7 +1441,9 @@ exports.bulkUpdateProductsProperty = bulkUpdateProductsProperty;
|
|
|
1399
1441
|
* @requiredField adjust
|
|
1400
1442
|
* @requiredField ids
|
|
1401
1443
|
* @permissionScope Manage Stores - all permissions
|
|
1444
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1402
1445
|
* @permissionScope Manage Products
|
|
1446
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1403
1447
|
* @applicableIdentity APP
|
|
1404
1448
|
*/
|
|
1405
1449
|
function bulkAdjustProductProperty(adjust, ids) {
|
|
@@ -1616,10 +1660,15 @@ exports.writeProxyDeleteProductPlatformized = writeProxyDeleteProductPlatformize
|
|
|
1616
1660
|
* @public
|
|
1617
1661
|
* @documentationMaturity preview
|
|
1618
1662
|
* @permissionScope Manage Stores - all permissions
|
|
1663
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1619
1664
|
* @permissionScope Manage Products
|
|
1665
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1620
1666
|
* @permissionScope Read Stores - all read permissions
|
|
1667
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1621
1668
|
* @permissionScope Read Products
|
|
1669
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1622
1670
|
* @permissionScope Manage Orders
|
|
1671
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1623
1672
|
* @applicableIdentity APP
|
|
1624
1673
|
* @applicableIdentity MEMBER
|
|
1625
1674
|
* @applicableIdentity VISITOR
|
|
@@ -1683,10 +1732,15 @@ exports.queryProducts = queryProducts;
|
|
|
1683
1732
|
* @documentationMaturity preview
|
|
1684
1733
|
* @requiredField _id
|
|
1685
1734
|
* @permissionScope Manage Stores - all permissions
|
|
1735
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1686
1736
|
* @permissionScope Manage Products
|
|
1737
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1687
1738
|
* @permissionScope Read Stores - all read permissions
|
|
1739
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1688
1740
|
* @permissionScope Read Products
|
|
1741
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1689
1742
|
* @permissionScope Manage Orders
|
|
1743
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1690
1744
|
* @applicableIdentity APP
|
|
1691
1745
|
* @applicableIdentity MEMBER
|
|
1692
1746
|
* @applicableIdentity VISITOR
|
|
@@ -1750,10 +1804,15 @@ exports.getProduct = getProduct;
|
|
|
1750
1804
|
* @documentationMaturity preview
|
|
1751
1805
|
* @requiredField _id
|
|
1752
1806
|
* @permissionScope Manage Stores - all permissions
|
|
1807
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1753
1808
|
* @permissionScope Manage Products
|
|
1809
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1754
1810
|
* @permissionScope Read Stores - all read permissions
|
|
1811
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1755
1812
|
* @permissionScope Read Products
|
|
1813
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1756
1814
|
* @permissionScope Manage Orders
|
|
1815
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1757
1816
|
* @applicableIdentity APP
|
|
1758
1817
|
* @applicableIdentity MEMBER
|
|
1759
1818
|
* @applicableIdentity VISITOR
|
|
@@ -1817,10 +1876,15 @@ exports.getProductPlatformized = getProductPlatformized;
|
|
|
1817
1876
|
* @public
|
|
1818
1877
|
* @requiredField slug
|
|
1819
1878
|
* @permissionScope Manage Stores - all permissions
|
|
1879
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1820
1880
|
* @permissionScope Manage Products
|
|
1881
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1821
1882
|
* @permissionScope Read Stores - all read permissions
|
|
1883
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1822
1884
|
* @permissionScope Read Products
|
|
1885
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1823
1886
|
* @permissionScope Manage Orders
|
|
1887
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1824
1888
|
* @applicableIdentity APP
|
|
1825
1889
|
* @applicableIdentity MEMBER
|
|
1826
1890
|
* @applicableIdentity VISITOR
|
|
@@ -1879,10 +1943,15 @@ exports.getCollectionBySlug = getCollectionBySlug;
|
|
|
1879
1943
|
* @requiredField _id
|
|
1880
1944
|
* @requiredField options
|
|
1881
1945
|
* @permissionScope Manage Stores - all permissions
|
|
1946
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1882
1947
|
* @permissionScope Manage Products
|
|
1948
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1883
1949
|
* @permissionScope Read Stores - all read permissions
|
|
1950
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1884
1951
|
* @permissionScope Read Products
|
|
1952
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1885
1953
|
* @permissionScope Manage Orders
|
|
1954
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1886
1955
|
* @applicableIdentity APP
|
|
1887
1956
|
* @applicableIdentity MEMBER
|
|
1888
1957
|
* @applicableIdentity VISITOR
|
|
@@ -1941,10 +2010,15 @@ exports.getProductOptionsAvailability = getProductOptionsAvailability;
|
|
|
1941
2010
|
* @documentationMaturity preview
|
|
1942
2011
|
* @requiredField _id
|
|
1943
2012
|
* @permissionScope Manage Stores - all permissions
|
|
2013
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1944
2014
|
* @permissionScope Manage Products
|
|
2015
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
1945
2016
|
* @permissionScope Read Stores - all read permissions
|
|
2017
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1946
2018
|
* @permissionScope Read Products
|
|
2019
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
1947
2020
|
* @permissionScope Manage Orders
|
|
2021
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
1948
2022
|
* @applicableIdentity APP
|
|
1949
2023
|
* @applicableIdentity MEMBER
|
|
1950
2024
|
* @applicableIdentity VISITOR
|
|
@@ -2014,10 +2088,15 @@ exports.queryProductVariants = queryProductVariants;
|
|
|
2014
2088
|
* @documentationMaturity preview
|
|
2015
2089
|
* @requiredField query
|
|
2016
2090
|
* @permissionScope Manage Stores - all permissions
|
|
2091
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
2017
2092
|
* @permissionScope Manage Products
|
|
2093
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
2018
2094
|
* @permissionScope Read Stores - all read permissions
|
|
2095
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
2019
2096
|
* @permissionScope Read Products
|
|
2097
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
2020
2098
|
* @permissionScope Manage Orders
|
|
2099
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
2021
2100
|
* @applicableIdentity APP
|
|
2022
2101
|
* @applicableIdentity MEMBER
|
|
2023
2102
|
* @applicableIdentity VISITOR
|
|
@@ -2075,10 +2154,15 @@ exports.queryStoreVariants = queryStoreVariants;
|
|
|
2075
2154
|
* @documentationMaturity preview
|
|
2076
2155
|
* @requiredField _id
|
|
2077
2156
|
* @permissionScope Manage Stores - all permissions
|
|
2157
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
2078
2158
|
* @permissionScope Manage Products
|
|
2159
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
2079
2160
|
* @permissionScope Read Stores - all read permissions
|
|
2161
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
2080
2162
|
* @permissionScope Read Products
|
|
2163
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
2081
2164
|
* @permissionScope Manage Orders
|
|
2165
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
2082
2166
|
* @applicableIdentity APP
|
|
2083
2167
|
* @applicableIdentity MEMBER
|
|
2084
2168
|
* @applicableIdentity VISITOR
|