@wix/stores 1.0.102 → 1.0.103
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.public.d.ts +1 -1
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +7 -0
- package/build/cjs/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +53 -8
- package/build/cjs/src/stores-catalog-v1-product.universal.js +46 -8
- package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.public.d.ts +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +7 -0
- package/build/es/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +53 -8
- package/build/es/src/stores-catalog-v1-product.universal.js +46 -8
- package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1212,4 +1212,4 @@ export declare function queryProductVariants(httpClient: HttpClient): (_id: stri
|
|
|
1212
1212
|
export declare function queryStoreVariants(httpClient: HttpClient): (query: PlatformQuery) => Promise<import("./stores-catalog-v1-product.universal").QueryStoreVariantsResponse & import("./stores-catalog-v1-product.universal").QueryStoreVariantsResponseNonNullableFields>;
|
|
1213
1213
|
export declare function getStoreVariant(httpClient: HttpClient): (_id: string) => Promise<import("./stores-catalog-v1-product.universal").GetStoreVariantResponse & import("./stores-catalog-v1-product.universal").GetStoreVariantResponseNonNullableFields>;
|
|
1214
1214
|
export { ProductType, InventoryStatus, MeasurementUnit, MediaItemType, OptionType, DiscountType, SortOrder, } from './stores-catalog-v1-product.universal';
|
|
1215
|
-
export { Product, NumericPropertyRange, Stock, PriceData, FormattedPrice, CostAndProfitData, PricePerUnitData, AdditionalInfoSection, Ribbon, Media, MediaItem, MediaItemItemOneOf, MediaItemUrlAndSize, MediaItemVideo, CustomTextField, ProductOption, Choice, PageUrl, Discount, Variant, VariantDataWithNoStock, VariantStock, SeoSchema, Keyword, Tag, Settings, CreateProductRequest, CreateProductResponse, CreateProductPlatformizedRequest, CreateProductPlatformizedResponse, UpdateProductRequest, UpdateProductResponse, UpdateProductPlatformizedRequest, UpdateProductPlatformizedResponse, DeleteProductRequest, DeleteProductResponse, DeleteProductPlatformizedRequest, DeleteProductPlatformizedResponse, BulkDeleteProductsRequest, BulkDeleteProductsResponse, UpdateVariantsRequest, VariantOverride, UpdateVariantsResponse, ResetAllVariantDataRequest, ResetAllVariantDataResponse, AddProductsToCollectionRequest, AddProductsToCollectionResponse, RemoveProductsFromCollectionRequest, RemoveProductsFromCollectionResponse, AddProductMediaRequest, MediaDataForWrite, MediaDataForWriteMediaSourceOneOf, OptionAndChoice, AddProductMediaResponse, RemoveProductMediaRequest, RemoveProductMediaResponse, AddProductMediaToChoicesRequest, MediaAssignmentToChoice, AddProductMediaToChoicesResponse, RemoveProductMediaFromChoicesRequest, RemoveProductMediaFromChoicesResponse, DeleteProductOptionsRequest, DeleteProductOptionsResponse, SetCustomFieldsRequest, SetCustomFieldsResponse, RemoveCustomFieldsRequest, RemoveCustomFieldsResponse, RemoveProductBrandRequest, RemoveProductBrandResponse, BulkSetCustomFieldsRequest, BulkSetCustomFieldsResponse, BulkRemoveCustomFieldsRequest, BulkRemoveCustomFieldsResponse, CreateCollectionRequest, Collection, CreateCollectionResponse, UpdateCollectionRequest, UpdateCollectionResponse, DeleteCollectionRequest, DeleteCollectionResponse, RemoveProductRibbonRequest, RemoveProductRibbonResponse, BulkUpdateProductsRequest, SetValue, SetValueValueOneOf, BulkUpdateProductsResponse, BulkProductResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateProductsByFilterSyncRequest, BulkUpdateProductsByFilterSyncResponse, AllowedProductsCountLimitExceededErrorData, BulkAdjustProductPropertiesRequest, AdjustValue, AdjustValueValueOneOf, PropertyAdjustmentData, PropertyAdjustmentDataByOneOf, PercentageData, BulkAdjustProductPropertiesResponse, BulkAdjustProductPropertiesByFilterSyncRequest, BulkAdjustProductPropertiesByFilterSyncResponse, V1CreateProductPlatformizedRequest, V1CreateProductPlatformizedResponse, V1UpdateProductPlatformizedRequest, V1UpdateProductPlatformizedResponse, V1DeleteProductPlatformizedRequest, V1DeleteProductPlatformizedResponse, ProductCreated, ProductChanged, ProductDeleted, CollectionCreated, CollectionChanged, CollectionDeleted, VariantsChanged, VariantChanged, QueryProductsRequest, Query, Paging, QueryProductsResponse, PagingMetadata, QueryProductsPlatformizedRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, PlatformPaging, CursorPaging, QueryProductsPlatformizedResponse, PlatformPagingMetadata, Cursors, QueryProductsWithBigPageLimitRequest, QueryWithBigPageLimit, PagingWithBigLimit, GetProductsRequest, GetProductsResponse, GetProductRequest, GetProductResponse, GetProductPlatformizedRequest, GetProductPlatformizedResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCollectionsPlatformizedRequest, QueryCollectionsPlatformizedResponse, GetCollectionRequest, GetCollectionResponse, GetCollectionBySlugRequest, GetCollectionBySlugResponse, ProductOptionsAvailabilityRequest, ProductOptionsAvailabilityResponse, VariantData, QueryProductVariantsRequest, QueryProductVariantsResponse, QueryStoreVariantsRequest, QueryStoreVariantsResponse, StoreVariant, PlatformMedia, PlatformMediaMediaOneOf, VideoResolution, PreorderInfo, QueryStoreVariantsWithBigLimitRequest, UnlimitedPlatformQuery, UnlimitedPlatformQueryPagingMethodOneOf, UnlimitedPlatformPaging, UnlimitedPlatformCursorPaging, GetStoreVariantRequest, GetStoreVariantResponse, QueryCustomFieldsRequest, QueryCustomFieldsResponse, BulkQueryCustomFieldsRequest, BulkQueryCustomFieldsResponse, CustomFieldsContainer, AggregateProductsRequest, AggregateProductsResponse, CreateProductResponseNonNullableFields, CreateProductPlatformizedResponseNonNullableFields, UpdateProductResponseNonNullableFields, UpdateProductPlatformizedResponseNonNullableFields, UpdateVariantsResponseNonNullableFields, CreateCollectionResponseNonNullableFields, UpdateCollectionResponseNonNullableFields, BulkUpdateProductsResponseNonNullableFields, BulkAdjustProductPropertiesResponseNonNullableFields, V1CreateProductPlatformizedResponseNonNullableFields, V1UpdateProductPlatformizedResponseNonNullableFields, QueryProductsPlatformizedResponseNonNullableFields, GetProductResponseNonNullableFields, GetProductPlatformizedResponseNonNullableFields, GetCollectionBySlugResponseNonNullableFields, ProductOptionsAvailabilityResponseNonNullableFields, QueryProductVariantsResponseNonNullableFields, QueryStoreVariantsResponseNonNullableFields, GetStoreVariantResponseNonNullableFields, UpdateProduct, UpdateProductPlatformizedProduct, UpdateCollection, WriteProxyUpdateProductPlatformizedProduct, ProductsQueryResult, ProductsQueryBuilder, GetProductOptions, GetProductPlatformizedOptions, QueryProductVariantsOptions, } from './stores-catalog-v1-product.universal';
|
|
1215
|
+
export { Product, NumericPropertyRange, Stock, PriceData, FormattedPrice, CostAndProfitData, PricePerUnitData, AdditionalInfoSection, Ribbon, Media, MediaItem, MediaItemItemOneOf, MediaItemUrlAndSize, MediaItemVideo, CustomTextField, ProductOption, Choice, PageUrl, Discount, Variant, VariantDataWithNoStock, VariantStock, SeoSchema, Keyword, Tag, Settings, CreateProductRequest, CreateProductResponse, CreateProductPlatformizedRequest, CreateProductPlatformizedResponse, UpdateProductRequest, UpdateProductResponse, UpdateProductPlatformizedRequest, UpdateProductPlatformizedResponse, DeleteProductRequest, DeleteProductResponse, DeleteProductPlatformizedRequest, DeleteProductPlatformizedResponse, BulkDeleteProductsRequest, BulkDeleteProductsResponse, UpdateVariantsRequest, VariantOverride, UpdateVariantsResponse, ResetAllVariantDataRequest, ResetAllVariantDataResponse, AddProductsToCollectionRequest, AddProductsToCollectionResponse, RemoveProductsFromCollectionRequest, RemoveProductsFromCollectionResponse, AddProductMediaRequest, MediaDataForWrite, MediaDataForWriteMediaSourceOneOf, OptionAndChoice, AddProductMediaResponse, RemoveProductMediaRequest, RemoveProductMediaResponse, AddProductMediaToChoicesRequest, MediaAssignmentToChoice, AddProductMediaToChoicesResponse, RemoveProductMediaFromChoicesRequest, RemoveProductMediaFromChoicesResponse, DeleteProductOptionsRequest, DeleteProductOptionsResponse, SetCustomFieldsRequest, SetCustomFieldsResponse, RemoveCustomFieldsRequest, RemoveCustomFieldsResponse, RemoveProductBrandRequest, RemoveProductBrandResponse, BulkSetCustomFieldsRequest, BulkSetCustomFieldsResponse, BulkRemoveCustomFieldsRequest, BulkRemoveCustomFieldsResponse, CreateCollectionRequest, Collection, CreateCollectionResponse, UpdateCollectionRequest, UpdateCollectionResponse, DeleteCollectionRequest, DeleteCollectionResponse, RemoveProductRibbonRequest, RemoveProductRibbonResponse, BulkUpdateProductsRequest, SetValue, SetValueValueOneOf, BulkUpdateProductsResponse, BulkProductResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateProductsByFilterSyncRequest, BulkUpdateProductsByFilterSyncResponse, AllowedProductsCountLimitExceededErrorData, BulkAdjustProductPropertiesRequest, AdjustValue, AdjustValueValueOneOf, PropertyAdjustmentData, PropertyAdjustmentDataByOneOf, PercentageData, BulkAdjustProductPropertiesResponse, BulkAdjustProductPropertiesByFilterSyncRequest, BulkAdjustProductPropertiesByFilterSyncResponse, ReCloneStoreRequest, ReCloneStoreResponse, V1CreateProductPlatformizedRequest, V1CreateProductPlatformizedResponse, V1UpdateProductPlatformizedRequest, V1UpdateProductPlatformizedResponse, V1DeleteProductPlatformizedRequest, V1DeleteProductPlatformizedResponse, ProductCreated, ProductChanged, ProductDeleted, CollectionCreated, CollectionChanged, CollectionDeleted, VariantsChanged, VariantChanged, QueryProductsRequest, Query, Paging, QueryProductsResponse, PagingMetadata, QueryProductsPlatformizedRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, PlatformPaging, CursorPaging, QueryProductsPlatformizedResponse, PlatformPagingMetadata, Cursors, QueryProductsWithBigPageLimitRequest, QueryWithBigPageLimit, PagingWithBigLimit, GetProductsRequest, GetProductsResponse, GetProductRequest, GetProductResponse, GetProductPlatformizedRequest, GetProductPlatformizedResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCollectionsPlatformizedRequest, QueryCollectionsPlatformizedResponse, GetCollectionRequest, GetCollectionResponse, GetCollectionBySlugRequest, GetCollectionBySlugResponse, ProductOptionsAvailabilityRequest, ProductOptionsAvailabilityResponse, VariantData, QueryProductVariantsRequest, QueryProductVariantsResponse, QueryStoreVariantsRequest, QueryStoreVariantsResponse, StoreVariant, PlatformMedia, PlatformMediaMediaOneOf, VideoResolution, PreorderInfo, QueryStoreVariantsWithBigLimitRequest, UnlimitedPlatformQuery, UnlimitedPlatformQueryPagingMethodOneOf, UnlimitedPlatformPaging, UnlimitedPlatformCursorPaging, GetStoreVariantRequest, GetStoreVariantResponse, QueryCustomFieldsRequest, QueryCustomFieldsResponse, BulkQueryCustomFieldsRequest, BulkQueryCustomFieldsResponse, CustomFieldsContainer, AggregateProductsRequest, AggregateProductsResponse, CreateProductResponseNonNullableFields, CreateProductPlatformizedResponseNonNullableFields, UpdateProductResponseNonNullableFields, UpdateProductPlatformizedResponseNonNullableFields, UpdateVariantsResponseNonNullableFields, CreateCollectionResponseNonNullableFields, UpdateCollectionResponseNonNullableFields, BulkUpdateProductsResponseNonNullableFields, BulkAdjustProductPropertiesResponseNonNullableFields, V1CreateProductPlatformizedResponseNonNullableFields, V1UpdateProductPlatformizedResponseNonNullableFields, QueryProductsPlatformizedResponseNonNullableFields, GetProductResponseNonNullableFields, GetProductPlatformizedResponseNonNullableFields, GetCollectionBySlugResponseNonNullableFields, ProductOptionsAvailabilityResponseNonNullableFields, QueryProductVariantsResponseNonNullableFields, QueryStoreVariantsResponseNonNullableFields, GetStoreVariantResponseNonNullableFields, UpdateProduct, UpdateProductPlatformizedProduct, UpdateCollection, WriteProxyUpdateProductPlatformizedProduct, ProductsQueryResult, ProductsQueryBuilder, GetProductOptions, GetProductPlatformizedOptions, QueryProductVariantsOptions, } from './stores-catalog-v1-product.universal';
|
|
@@ -933,6 +933,13 @@ export interface BulkAdjustProductPropertiesByFilterSyncResponse {
|
|
|
933
933
|
/** Bulk action metadata. */
|
|
934
934
|
bulkActionMetadata?: BulkActionMetadata;
|
|
935
935
|
}
|
|
936
|
+
export interface ReCloneStoreRequest {
|
|
937
|
+
/** Description of value */
|
|
938
|
+
metasiteId?: string | null;
|
|
939
|
+
originalMetasiteId?: string | null;
|
|
940
|
+
}
|
|
941
|
+
export interface ReCloneStoreResponse {
|
|
942
|
+
}
|
|
936
943
|
export interface V1CreateProductPlatformizedRequest {
|
|
937
944
|
/** Product information. */
|
|
938
945
|
product?: Product;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-product.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.types.ts"],"names":[],"mappings":";;;AAgIA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA4BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AA4ED,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;AACf,CAAC,EAvBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuB1B;AAyDD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB;AA8BD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AA0CD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-product.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.types.ts"],"names":[],"mappings":";;;AAgIA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA4BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AA4ED,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;AACf,CAAC,EAvBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuB1B;AAyDD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB;AA8BD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AA0CD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AAqxBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -935,6 +935,13 @@ export interface BulkAdjustProductPropertiesByFilterSyncResponse {
|
|
|
935
935
|
/** Bulk action metadata. */
|
|
936
936
|
bulkActionMetadata?: BulkActionMetadata;
|
|
937
937
|
}
|
|
938
|
+
export interface ReCloneStoreRequest {
|
|
939
|
+
/** Description of value */
|
|
940
|
+
metasiteId?: string | null;
|
|
941
|
+
originalMetasiteId?: string | null;
|
|
942
|
+
}
|
|
943
|
+
export interface ReCloneStoreResponse {
|
|
944
|
+
}
|
|
938
945
|
export interface V1CreateProductPlatformizedRequest {
|
|
939
946
|
/** Product information. */
|
|
940
947
|
product?: Product;
|
|
@@ -4025,6 +4032,7 @@ export interface GetStoreVariantResponseNonNullableFields {
|
|
|
4025
4032
|
* @requiredField product.name
|
|
4026
4033
|
* @requiredField product.priceData
|
|
4027
4034
|
* @requiredField product.priceData.price
|
|
4035
|
+
* @permissionScope Manage Stores - all permissions
|
|
4028
4036
|
* @permissionScope Manage Products
|
|
4029
4037
|
* @applicableIdentity APP
|
|
4030
4038
|
*/
|
|
@@ -4039,6 +4047,7 @@ export declare function createProduct(product: Product): Promise<CreateProductRe
|
|
|
4039
4047
|
* @requiredField product.name
|
|
4040
4048
|
* @requiredField product.priceData
|
|
4041
4049
|
* @requiredField product.priceData.price
|
|
4050
|
+
* @permissionScope Manage Stores - all permissions
|
|
4042
4051
|
* @permissionScope Manage Products
|
|
4043
4052
|
* @applicableIdentity APP
|
|
4044
4053
|
*/
|
|
@@ -4051,6 +4060,7 @@ export declare function createProductPlatformized(product: Product): Promise<Pro
|
|
|
4051
4060
|
* @requiredField _id
|
|
4052
4061
|
* @requiredField product
|
|
4053
4062
|
* @param product - Product info to update.
|
|
4063
|
+
* @permissionScope Manage Stores - all permissions
|
|
4054
4064
|
* @permissionScope Manage Products
|
|
4055
4065
|
* @applicableIdentity APP
|
|
4056
4066
|
*/
|
|
@@ -4189,6 +4199,7 @@ export interface UpdateProduct {
|
|
|
4189
4199
|
* @documentationMaturity preview
|
|
4190
4200
|
* @requiredField _id
|
|
4191
4201
|
* @requiredField product
|
|
4202
|
+
* @permissionScope Manage Stores - all permissions
|
|
4192
4203
|
* @permissionScope Manage Products
|
|
4193
4204
|
* @applicableIdentity APP
|
|
4194
4205
|
*/
|
|
@@ -4325,6 +4336,7 @@ export interface UpdateProductPlatformizedProduct {
|
|
|
4325
4336
|
* @param _id - ID of the product to delete.
|
|
4326
4337
|
* @public
|
|
4327
4338
|
* @requiredField _id
|
|
4339
|
+
* @permissionScope Manage Stores - all permissions
|
|
4328
4340
|
* @permissionScope Manage Products
|
|
4329
4341
|
* @applicableIdentity APP
|
|
4330
4342
|
*/
|
|
@@ -4335,6 +4347,7 @@ export declare function deleteProduct(_id: string): Promise<void>;
|
|
|
4335
4347
|
* @public
|
|
4336
4348
|
* @documentationMaturity preview
|
|
4337
4349
|
* @requiredField _id
|
|
4350
|
+
* @permissionScope Manage Stores - all permissions
|
|
4338
4351
|
* @permissionScope Manage Products
|
|
4339
4352
|
* @applicableIdentity APP
|
|
4340
4353
|
*/
|
|
@@ -4347,6 +4360,7 @@ export declare function deleteProductPlatformized(_id: string): Promise<void>;
|
|
|
4347
4360
|
* @documentationMaturity preview
|
|
4348
4361
|
* @requiredField _id
|
|
4349
4362
|
* @requiredField variants
|
|
4363
|
+
* @permissionScope Manage Stores - all permissions
|
|
4350
4364
|
* @permissionScope Manage Products
|
|
4351
4365
|
* @applicableIdentity APP
|
|
4352
4366
|
*/
|
|
@@ -4357,6 +4371,7 @@ export declare function updateProductVariants(_id: string, variants: VariantOver
|
|
|
4357
4371
|
* @public
|
|
4358
4372
|
* @documentationMaturity preview
|
|
4359
4373
|
* @requiredField _id
|
|
4374
|
+
* @permissionScope Manage Stores - all permissions
|
|
4360
4375
|
* @permissionScope Manage Products
|
|
4361
4376
|
* @applicableIdentity APP
|
|
4362
4377
|
*/
|
|
@@ -4368,6 +4383,7 @@ export declare function resetAllProductVariantData(_id: string): Promise<void>;
|
|
|
4368
4383
|
* @public
|
|
4369
4384
|
* @requiredField _id
|
|
4370
4385
|
* @requiredField productIds
|
|
4386
|
+
* @permissionScope Manage Stores - all permissions
|
|
4371
4387
|
* @permissionScope Manage Products
|
|
4372
4388
|
* @applicableIdentity APP
|
|
4373
4389
|
*/
|
|
@@ -4379,6 +4395,7 @@ export declare function addProductsToCollection(_id: string, productIds: string[
|
|
|
4379
4395
|
* @public
|
|
4380
4396
|
* @requiredField _id
|
|
4381
4397
|
* @requiredField productIds
|
|
4398
|
+
* @permissionScope Manage Stores - all permissions
|
|
4382
4399
|
* @permissionScope Manage Products
|
|
4383
4400
|
* @applicableIdentity APP
|
|
4384
4401
|
*/
|
|
@@ -4392,6 +4409,7 @@ export declare function removeProductsFromCollection(_id: string, productIds: st
|
|
|
4392
4409
|
* @public
|
|
4393
4410
|
* @requiredField _id
|
|
4394
4411
|
* @requiredField media
|
|
4412
|
+
* @permissionScope Manage Stores - all permissions
|
|
4395
4413
|
* @permissionScope Manage Products
|
|
4396
4414
|
* @applicableIdentity APP
|
|
4397
4415
|
*/
|
|
@@ -4404,6 +4422,7 @@ export declare function addProductMedia(_id: string, media: MediaDataForWrite[])
|
|
|
4404
4422
|
* @public
|
|
4405
4423
|
* @requiredField _id
|
|
4406
4424
|
* @requiredField mediaIds
|
|
4425
|
+
* @permissionScope Manage Stores - all permissions
|
|
4407
4426
|
* @permissionScope Manage Products
|
|
4408
4427
|
* @applicableIdentity APP
|
|
4409
4428
|
*/
|
|
@@ -4421,6 +4440,7 @@ export declare function removeProductMedia(_id: string, mediaIds: string[]): Pro
|
|
|
4421
4440
|
* @requiredField media
|
|
4422
4441
|
* @requiredField media.choice
|
|
4423
4442
|
* @requiredField media.option
|
|
4443
|
+
* @permissionScope Manage Stores - all permissions
|
|
4424
4444
|
* @permissionScope Manage Products
|
|
4425
4445
|
* @applicableIdentity APP
|
|
4426
4446
|
*/
|
|
@@ -4433,6 +4453,7 @@ export declare function addProductMediaToChoices(_id: string, media: MediaAssign
|
|
|
4433
4453
|
* @public
|
|
4434
4454
|
* @requiredField _id
|
|
4435
4455
|
* @requiredField media
|
|
4456
|
+
* @permissionScope Manage Stores - all permissions
|
|
4436
4457
|
* @permissionScope Manage Products
|
|
4437
4458
|
* @applicableIdentity APP
|
|
4438
4459
|
*/
|
|
@@ -4442,6 +4463,7 @@ export declare function removeProductMediaFromChoices(_id: string, media: MediaA
|
|
|
4442
4463
|
* @param _id - ID of the product with options to delete.
|
|
4443
4464
|
* @public
|
|
4444
4465
|
* @requiredField _id
|
|
4466
|
+
* @permissionScope Manage Stores - all permissions
|
|
4445
4467
|
* @permissionScope Manage Products
|
|
4446
4468
|
* @applicableIdentity APP
|
|
4447
4469
|
*/
|
|
@@ -4452,6 +4474,7 @@ export declare function deleteProductOptions(_id: string): Promise<void>;
|
|
|
4452
4474
|
* @public
|
|
4453
4475
|
* @documentationMaturity preview
|
|
4454
4476
|
* @requiredField _id
|
|
4477
|
+
* @permissionScope Manage Stores - all permissions
|
|
4455
4478
|
* @permissionScope Manage Products
|
|
4456
4479
|
* @applicableIdentity APP
|
|
4457
4480
|
*/
|
|
@@ -4463,6 +4486,7 @@ export declare function removeBrand(_id: string): Promise<void>;
|
|
|
4463
4486
|
* @documentationMaturity preview
|
|
4464
4487
|
* @requiredField collection
|
|
4465
4488
|
* @requiredField collection.name
|
|
4489
|
+
* @permissionScope Manage Stores - all permissions
|
|
4466
4490
|
* @permissionScope Manage Products
|
|
4467
4491
|
* @applicableIdentity APP
|
|
4468
4492
|
*/
|
|
@@ -4475,6 +4499,7 @@ export declare function createCollection(collection: Collection): Promise<Create
|
|
|
4475
4499
|
* @requiredField _id
|
|
4476
4500
|
* @requiredField collection
|
|
4477
4501
|
* @param collection - Collection info to update.
|
|
4502
|
+
* @permissionScope Manage Stores - all permissions
|
|
4478
4503
|
* @permissionScope Manage Products
|
|
4479
4504
|
* @applicableIdentity APP
|
|
4480
4505
|
*/
|
|
@@ -4510,6 +4535,7 @@ export interface UpdateCollection {
|
|
|
4510
4535
|
* @documentationMaturity preview
|
|
4511
4536
|
* @requiredField _id
|
|
4512
4537
|
* @param _id - ID of the collection to delete.
|
|
4538
|
+
* @permissionScope Manage Stores - all permissions
|
|
4513
4539
|
* @permissionScope Manage Products
|
|
4514
4540
|
* @applicableIdentity APP
|
|
4515
4541
|
*/
|
|
@@ -4520,6 +4546,7 @@ export declare function deleteCollection(_id: string): Promise<void>;
|
|
|
4520
4546
|
* @public
|
|
4521
4547
|
* @documentationMaturity preview
|
|
4522
4548
|
* @requiredField _id
|
|
4549
|
+
* @permissionScope Manage Stores - all permissions
|
|
4523
4550
|
* @permissionScope Manage Products
|
|
4524
4551
|
* @applicableIdentity APP
|
|
4525
4552
|
*/
|
|
@@ -4532,6 +4559,7 @@ export declare function removeRibbon(_id: string): Promise<void>;
|
|
|
4532
4559
|
* @documentationMaturity preview
|
|
4533
4560
|
* @requiredField ids
|
|
4534
4561
|
* @requiredField set
|
|
4562
|
+
* @permissionScope Manage Stores - all permissions
|
|
4535
4563
|
* @permissionScope Manage Products
|
|
4536
4564
|
* @applicableIdentity APP
|
|
4537
4565
|
*/
|
|
@@ -4545,6 +4573,7 @@ export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue)
|
|
|
4545
4573
|
* @documentationMaturity preview
|
|
4546
4574
|
* @requiredField adjust
|
|
4547
4575
|
* @requiredField ids
|
|
4576
|
+
* @permissionScope Manage Stores - all permissions
|
|
4548
4577
|
* @permissionScope Manage Products
|
|
4549
4578
|
* @applicableIdentity APP
|
|
4550
4579
|
*/
|
|
@@ -4709,9 +4738,11 @@ export declare function writeProxyDeleteProductPlatformized(_id: string): Promis
|
|
|
4709
4738
|
* Returns a list of up to 100 products, given the provided paging, sorting and filtering.
|
|
4710
4739
|
* @public
|
|
4711
4740
|
* @documentationMaturity preview
|
|
4712
|
-
* @permissionScope Manage
|
|
4741
|
+
* @permissionScope Manage Stores - all permissions
|
|
4713
4742
|
* @permissionScope Manage Products
|
|
4743
|
+
* @permissionScope Read Stores - all read permissions
|
|
4714
4744
|
* @permissionScope Read Products
|
|
4745
|
+
* @permissionScope Manage Orders
|
|
4715
4746
|
* @applicableIdentity APP
|
|
4716
4747
|
* @applicableIdentity MEMBER
|
|
4717
4748
|
* @applicableIdentity VISITOR
|
|
@@ -4807,9 +4838,11 @@ export interface ProductsQueryBuilder {
|
|
|
4807
4838
|
* @public
|
|
4808
4839
|
* @documentationMaturity preview
|
|
4809
4840
|
* @requiredField _id
|
|
4810
|
-
* @permissionScope Manage
|
|
4841
|
+
* @permissionScope Manage Stores - all permissions
|
|
4811
4842
|
* @permissionScope Manage Products
|
|
4843
|
+
* @permissionScope Read Stores - all read permissions
|
|
4812
4844
|
* @permissionScope Read Products
|
|
4845
|
+
* @permissionScope Manage Orders
|
|
4813
4846
|
* @applicableIdentity APP
|
|
4814
4847
|
* @applicableIdentity MEMBER
|
|
4815
4848
|
* @applicableIdentity VISITOR
|
|
@@ -4825,9 +4858,11 @@ export interface GetProductOptions {
|
|
|
4825
4858
|
* @public
|
|
4826
4859
|
* @documentationMaturity preview
|
|
4827
4860
|
* @requiredField _id
|
|
4828
|
-
* @permissionScope Manage
|
|
4861
|
+
* @permissionScope Manage Stores - all permissions
|
|
4829
4862
|
* @permissionScope Manage Products
|
|
4863
|
+
* @permissionScope Read Stores - all read permissions
|
|
4830
4864
|
* @permissionScope Read Products
|
|
4865
|
+
* @permissionScope Manage Orders
|
|
4831
4866
|
* @applicableIdentity APP
|
|
4832
4867
|
* @applicableIdentity MEMBER
|
|
4833
4868
|
* @applicableIdentity VISITOR
|
|
@@ -4843,9 +4878,11 @@ export interface GetProductPlatformizedOptions {
|
|
|
4843
4878
|
* @param slug - Slug of the collection to retrieve.
|
|
4844
4879
|
* @public
|
|
4845
4880
|
* @requiredField slug
|
|
4846
|
-
* @permissionScope Manage
|
|
4881
|
+
* @permissionScope Manage Stores - all permissions
|
|
4847
4882
|
* @permissionScope Manage Products
|
|
4883
|
+
* @permissionScope Read Stores - all read permissions
|
|
4848
4884
|
* @permissionScope Read Products
|
|
4885
|
+
* @permissionScope Manage Orders
|
|
4849
4886
|
* @applicableIdentity APP
|
|
4850
4887
|
* @applicableIdentity MEMBER
|
|
4851
4888
|
* @applicableIdentity VISITOR
|
|
@@ -4858,9 +4895,11 @@ export declare function getCollectionBySlug(slug: string): Promise<GetCollection
|
|
|
4858
4895
|
* @public
|
|
4859
4896
|
* @requiredField _id
|
|
4860
4897
|
* @requiredField options
|
|
4861
|
-
* @permissionScope Manage
|
|
4898
|
+
* @permissionScope Manage Stores - all permissions
|
|
4862
4899
|
* @permissionScope Manage Products
|
|
4900
|
+
* @permissionScope Read Stores - all read permissions
|
|
4863
4901
|
* @permissionScope Read Products
|
|
4902
|
+
* @permissionScope Manage Orders
|
|
4864
4903
|
* @applicableIdentity APP
|
|
4865
4904
|
* @applicableIdentity MEMBER
|
|
4866
4905
|
* @applicableIdentity VISITOR
|
|
@@ -4873,9 +4912,11 @@ export declare function getProductOptionsAvailability(_id: string, options: Reco
|
|
|
4873
4912
|
* @public
|
|
4874
4913
|
* @documentationMaturity preview
|
|
4875
4914
|
* @requiredField _id
|
|
4876
|
-
* @permissionScope Manage
|
|
4915
|
+
* @permissionScope Manage Stores - all permissions
|
|
4877
4916
|
* @permissionScope Manage Products
|
|
4917
|
+
* @permissionScope Read Stores - all read permissions
|
|
4878
4918
|
* @permissionScope Read Products
|
|
4919
|
+
* @permissionScope Manage Orders
|
|
4879
4920
|
* @applicableIdentity APP
|
|
4880
4921
|
* @applicableIdentity MEMBER
|
|
4881
4922
|
* @applicableIdentity VISITOR
|
|
@@ -4899,9 +4940,11 @@ export interface QueryProductVariantsOptions {
|
|
|
4899
4940
|
* @public
|
|
4900
4941
|
* @documentationMaturity preview
|
|
4901
4942
|
* @requiredField query
|
|
4902
|
-
* @permissionScope Manage
|
|
4943
|
+
* @permissionScope Manage Stores - all permissions
|
|
4903
4944
|
* @permissionScope Manage Products
|
|
4945
|
+
* @permissionScope Read Stores - all read permissions
|
|
4904
4946
|
* @permissionScope Read Products
|
|
4947
|
+
* @permissionScope Manage Orders
|
|
4905
4948
|
* @applicableIdentity APP
|
|
4906
4949
|
* @applicableIdentity MEMBER
|
|
4907
4950
|
* @applicableIdentity VISITOR
|
|
@@ -4913,9 +4956,11 @@ export declare function queryStoreVariants(query: PlatformQuery): Promise<QueryS
|
|
|
4913
4956
|
* @public
|
|
4914
4957
|
* @documentationMaturity preview
|
|
4915
4958
|
* @requiredField _id
|
|
4916
|
-
* @permissionScope Manage
|
|
4959
|
+
* @permissionScope Manage Stores - all permissions
|
|
4917
4960
|
* @permissionScope Manage Products
|
|
4961
|
+
* @permissionScope Read Stores - all read permissions
|
|
4918
4962
|
* @permissionScope Read Products
|
|
4963
|
+
* @permissionScope Manage Orders
|
|
4919
4964
|
* @applicableIdentity APP
|
|
4920
4965
|
* @applicableIdentity MEMBER
|
|
4921
4966
|
* @applicableIdentity VISITOR
|
|
@@ -194,6 +194,7 @@ const _v1UpdateProductPlatformizedResponse = {};
|
|
|
194
194
|
* @requiredField product.name
|
|
195
195
|
* @requiredField product.priceData
|
|
196
196
|
* @requiredField product.priceData.price
|
|
197
|
+
* @permissionScope Manage Stores - all permissions
|
|
197
198
|
* @permissionScope Manage Products
|
|
198
199
|
* @applicableIdentity APP
|
|
199
200
|
*/
|
|
@@ -251,6 +252,7 @@ exports.createProduct = createProduct;
|
|
|
251
252
|
* @requiredField product.name
|
|
252
253
|
* @requiredField product.priceData
|
|
253
254
|
* @requiredField product.priceData.price
|
|
255
|
+
* @permissionScope Manage Stores - all permissions
|
|
254
256
|
* @permissionScope Manage Products
|
|
255
257
|
* @applicableIdentity APP
|
|
256
258
|
*/
|
|
@@ -306,6 +308,7 @@ exports.createProductPlatformized = createProductPlatformized;
|
|
|
306
308
|
* @requiredField _id
|
|
307
309
|
* @requiredField product
|
|
308
310
|
* @param product - Product info to update.
|
|
311
|
+
* @permissionScope Manage Stores - all permissions
|
|
309
312
|
* @permissionScope Manage Products
|
|
310
313
|
* @applicableIdentity APP
|
|
311
314
|
*/
|
|
@@ -361,6 +364,7 @@ exports.updateProduct = updateProduct;
|
|
|
361
364
|
* @documentationMaturity preview
|
|
362
365
|
* @requiredField _id
|
|
363
366
|
* @requiredField product
|
|
367
|
+
* @permissionScope Manage Stores - all permissions
|
|
364
368
|
* @permissionScope Manage Products
|
|
365
369
|
* @applicableIdentity APP
|
|
366
370
|
*/
|
|
@@ -414,6 +418,7 @@ exports.updateProductPlatformized = updateProductPlatformized;
|
|
|
414
418
|
* @param _id - ID of the product to delete.
|
|
415
419
|
* @public
|
|
416
420
|
* @requiredField _id
|
|
421
|
+
* @permissionScope Manage Stores - all permissions
|
|
417
422
|
* @permissionScope Manage Products
|
|
418
423
|
* @applicableIdentity APP
|
|
419
424
|
*/
|
|
@@ -467,6 +472,7 @@ exports.deleteProduct = deleteProduct;
|
|
|
467
472
|
* @public
|
|
468
473
|
* @documentationMaturity preview
|
|
469
474
|
* @requiredField _id
|
|
475
|
+
* @permissionScope Manage Stores - all permissions
|
|
470
476
|
* @permissionScope Manage Products
|
|
471
477
|
* @applicableIdentity APP
|
|
472
478
|
*/
|
|
@@ -522,6 +528,7 @@ exports.deleteProductPlatformized = deleteProductPlatformized;
|
|
|
522
528
|
* @documentationMaturity preview
|
|
523
529
|
* @requiredField _id
|
|
524
530
|
* @requiredField variants
|
|
531
|
+
* @permissionScope Manage Stores - all permissions
|
|
525
532
|
* @permissionScope Manage Products
|
|
526
533
|
* @applicableIdentity APP
|
|
527
534
|
*/
|
|
@@ -576,6 +583,7 @@ exports.updateProductVariants = updateProductVariants;
|
|
|
576
583
|
* @public
|
|
577
584
|
* @documentationMaturity preview
|
|
578
585
|
* @requiredField _id
|
|
586
|
+
* @permissionScope Manage Stores - all permissions
|
|
579
587
|
* @permissionScope Manage Products
|
|
580
588
|
* @applicableIdentity APP
|
|
581
589
|
*/
|
|
@@ -630,6 +638,7 @@ exports.resetAllProductVariantData = resetAllProductVariantData;
|
|
|
630
638
|
* @public
|
|
631
639
|
* @requiredField _id
|
|
632
640
|
* @requiredField productIds
|
|
641
|
+
* @permissionScope Manage Stores - all permissions
|
|
633
642
|
* @permissionScope Manage Products
|
|
634
643
|
* @applicableIdentity APP
|
|
635
644
|
*/
|
|
@@ -685,6 +694,7 @@ exports.addProductsToCollection = addProductsToCollection;
|
|
|
685
694
|
* @public
|
|
686
695
|
* @requiredField _id
|
|
687
696
|
* @requiredField productIds
|
|
697
|
+
* @permissionScope Manage Stores - all permissions
|
|
688
698
|
* @permissionScope Manage Products
|
|
689
699
|
* @applicableIdentity APP
|
|
690
700
|
*/
|
|
@@ -742,6 +752,7 @@ exports.removeProductsFromCollection = removeProductsFromCollection;
|
|
|
742
752
|
* @public
|
|
743
753
|
* @requiredField _id
|
|
744
754
|
* @requiredField media
|
|
755
|
+
* @permissionScope Manage Stores - all permissions
|
|
745
756
|
* @permissionScope Manage Products
|
|
746
757
|
* @applicableIdentity APP
|
|
747
758
|
*/
|
|
@@ -798,6 +809,7 @@ exports.addProductMedia = addProductMedia;
|
|
|
798
809
|
* @public
|
|
799
810
|
* @requiredField _id
|
|
800
811
|
* @requiredField mediaIds
|
|
812
|
+
* @permissionScope Manage Stores - all permissions
|
|
801
813
|
* @permissionScope Manage Products
|
|
802
814
|
* @applicableIdentity APP
|
|
803
815
|
*/
|
|
@@ -859,6 +871,7 @@ exports.removeProductMedia = removeProductMedia;
|
|
|
859
871
|
* @requiredField media
|
|
860
872
|
* @requiredField media.choice
|
|
861
873
|
* @requiredField media.option
|
|
874
|
+
* @permissionScope Manage Stores - all permissions
|
|
862
875
|
* @permissionScope Manage Products
|
|
863
876
|
* @applicableIdentity APP
|
|
864
877
|
*/
|
|
@@ -915,6 +928,7 @@ exports.addProductMediaToChoices = addProductMediaToChoices;
|
|
|
915
928
|
* @public
|
|
916
929
|
* @requiredField _id
|
|
917
930
|
* @requiredField media
|
|
931
|
+
* @permissionScope Manage Stores - all permissions
|
|
918
932
|
* @permissionScope Manage Products
|
|
919
933
|
* @applicableIdentity APP
|
|
920
934
|
*/
|
|
@@ -968,6 +982,7 @@ exports.removeProductMediaFromChoices = removeProductMediaFromChoices;
|
|
|
968
982
|
* @param _id - ID of the product with options to delete.
|
|
969
983
|
* @public
|
|
970
984
|
* @requiredField _id
|
|
985
|
+
* @permissionScope Manage Stores - all permissions
|
|
971
986
|
* @permissionScope Manage Products
|
|
972
987
|
* @applicableIdentity APP
|
|
973
988
|
*/
|
|
@@ -1021,6 +1036,7 @@ exports.deleteProductOptions = deleteProductOptions;
|
|
|
1021
1036
|
* @public
|
|
1022
1037
|
* @documentationMaturity preview
|
|
1023
1038
|
* @requiredField _id
|
|
1039
|
+
* @permissionScope Manage Stores - all permissions
|
|
1024
1040
|
* @permissionScope Manage Products
|
|
1025
1041
|
* @applicableIdentity APP
|
|
1026
1042
|
*/
|
|
@@ -1075,6 +1091,7 @@ exports.removeBrand = removeBrand;
|
|
|
1075
1091
|
* @documentationMaturity preview
|
|
1076
1092
|
* @requiredField collection
|
|
1077
1093
|
* @requiredField collection.name
|
|
1094
|
+
* @permissionScope Manage Stores - all permissions
|
|
1078
1095
|
* @permissionScope Manage Products
|
|
1079
1096
|
* @applicableIdentity APP
|
|
1080
1097
|
*/
|
|
@@ -1130,6 +1147,7 @@ exports.createCollection = createCollection;
|
|
|
1130
1147
|
* @requiredField _id
|
|
1131
1148
|
* @requiredField collection
|
|
1132
1149
|
* @param collection - Collection info to update.
|
|
1150
|
+
* @permissionScope Manage Stores - all permissions
|
|
1133
1151
|
* @permissionScope Manage Products
|
|
1134
1152
|
* @applicableIdentity APP
|
|
1135
1153
|
*/
|
|
@@ -1184,6 +1202,7 @@ exports.updateCollection = updateCollection;
|
|
|
1184
1202
|
* @documentationMaturity preview
|
|
1185
1203
|
* @requiredField _id
|
|
1186
1204
|
* @param _id - ID of the collection to delete.
|
|
1205
|
+
* @permissionScope Manage Stores - all permissions
|
|
1187
1206
|
* @permissionScope Manage Products
|
|
1188
1207
|
* @applicableIdentity APP
|
|
1189
1208
|
*/
|
|
@@ -1237,6 +1256,7 @@ exports.deleteCollection = deleteCollection;
|
|
|
1237
1256
|
* @public
|
|
1238
1257
|
* @documentationMaturity preview
|
|
1239
1258
|
* @requiredField _id
|
|
1259
|
+
* @permissionScope Manage Stores - all permissions
|
|
1240
1260
|
* @permissionScope Manage Products
|
|
1241
1261
|
* @applicableIdentity APP
|
|
1242
1262
|
*/
|
|
@@ -1292,6 +1312,7 @@ exports.removeRibbon = removeRibbon;
|
|
|
1292
1312
|
* @documentationMaturity preview
|
|
1293
1313
|
* @requiredField ids
|
|
1294
1314
|
* @requiredField set
|
|
1315
|
+
* @permissionScope Manage Stores - all permissions
|
|
1295
1316
|
* @permissionScope Manage Products
|
|
1296
1317
|
* @applicableIdentity APP
|
|
1297
1318
|
*/
|
|
@@ -1349,6 +1370,7 @@ exports.bulkUpdateProductsProperty = bulkUpdateProductsProperty;
|
|
|
1349
1370
|
* @documentationMaturity preview
|
|
1350
1371
|
* @requiredField adjust
|
|
1351
1372
|
* @requiredField ids
|
|
1373
|
+
* @permissionScope Manage Stores - all permissions
|
|
1352
1374
|
* @permissionScope Manage Products
|
|
1353
1375
|
* @applicableIdentity APP
|
|
1354
1376
|
*/
|
|
@@ -1560,9 +1582,11 @@ exports.writeProxyDeleteProductPlatformized = writeProxyDeleteProductPlatformize
|
|
|
1560
1582
|
* Returns a list of up to 100 products, given the provided paging, sorting and filtering.
|
|
1561
1583
|
* @public
|
|
1562
1584
|
* @documentationMaturity preview
|
|
1563
|
-
* @permissionScope Manage
|
|
1585
|
+
* @permissionScope Manage Stores - all permissions
|
|
1564
1586
|
* @permissionScope Manage Products
|
|
1587
|
+
* @permissionScope Read Stores - all read permissions
|
|
1565
1588
|
* @permissionScope Read Products
|
|
1589
|
+
* @permissionScope Manage Orders
|
|
1566
1590
|
* @applicableIdentity APP
|
|
1567
1591
|
* @applicableIdentity MEMBER
|
|
1568
1592
|
* @applicableIdentity VISITOR
|
|
@@ -1625,9 +1649,11 @@ exports.queryProducts = queryProducts;
|
|
|
1625
1649
|
* @public
|
|
1626
1650
|
* @documentationMaturity preview
|
|
1627
1651
|
* @requiredField _id
|
|
1628
|
-
* @permissionScope Manage
|
|
1652
|
+
* @permissionScope Manage Stores - all permissions
|
|
1629
1653
|
* @permissionScope Manage Products
|
|
1654
|
+
* @permissionScope Read Stores - all read permissions
|
|
1630
1655
|
* @permissionScope Read Products
|
|
1656
|
+
* @permissionScope Manage Orders
|
|
1631
1657
|
* @applicableIdentity APP
|
|
1632
1658
|
* @applicableIdentity MEMBER
|
|
1633
1659
|
* @applicableIdentity VISITOR
|
|
@@ -1686,9 +1712,11 @@ exports.getProduct = getProduct;
|
|
|
1686
1712
|
* @public
|
|
1687
1713
|
* @documentationMaturity preview
|
|
1688
1714
|
* @requiredField _id
|
|
1689
|
-
* @permissionScope Manage
|
|
1715
|
+
* @permissionScope Manage Stores - all permissions
|
|
1690
1716
|
* @permissionScope Manage Products
|
|
1717
|
+
* @permissionScope Read Stores - all read permissions
|
|
1691
1718
|
* @permissionScope Read Products
|
|
1719
|
+
* @permissionScope Manage Orders
|
|
1692
1720
|
* @applicableIdentity APP
|
|
1693
1721
|
* @applicableIdentity MEMBER
|
|
1694
1722
|
* @applicableIdentity VISITOR
|
|
@@ -1747,9 +1775,11 @@ exports.getProductPlatformized = getProductPlatformized;
|
|
|
1747
1775
|
* @param slug - Slug of the collection to retrieve.
|
|
1748
1776
|
* @public
|
|
1749
1777
|
* @requiredField slug
|
|
1750
|
-
* @permissionScope Manage
|
|
1778
|
+
* @permissionScope Manage Stores - all permissions
|
|
1751
1779
|
* @permissionScope Manage Products
|
|
1780
|
+
* @permissionScope Read Stores - all read permissions
|
|
1752
1781
|
* @permissionScope Read Products
|
|
1782
|
+
* @permissionScope Manage Orders
|
|
1753
1783
|
* @applicableIdentity APP
|
|
1754
1784
|
* @applicableIdentity MEMBER
|
|
1755
1785
|
* @applicableIdentity VISITOR
|
|
@@ -1805,9 +1835,11 @@ exports.getCollectionBySlug = getCollectionBySlug;
|
|
|
1805
1835
|
* @public
|
|
1806
1836
|
* @requiredField _id
|
|
1807
1837
|
* @requiredField options
|
|
1808
|
-
* @permissionScope Manage
|
|
1838
|
+
* @permissionScope Manage Stores - all permissions
|
|
1809
1839
|
* @permissionScope Manage Products
|
|
1840
|
+
* @permissionScope Read Stores - all read permissions
|
|
1810
1841
|
* @permissionScope Read Products
|
|
1842
|
+
* @permissionScope Manage Orders
|
|
1811
1843
|
* @applicableIdentity APP
|
|
1812
1844
|
* @applicableIdentity MEMBER
|
|
1813
1845
|
* @applicableIdentity VISITOR
|
|
@@ -1864,9 +1896,11 @@ exports.getProductOptionsAvailability = getProductOptionsAvailability;
|
|
|
1864
1896
|
* @public
|
|
1865
1897
|
* @documentationMaturity preview
|
|
1866
1898
|
* @requiredField _id
|
|
1867
|
-
* @permissionScope Manage
|
|
1899
|
+
* @permissionScope Manage Stores - all permissions
|
|
1868
1900
|
* @permissionScope Manage Products
|
|
1901
|
+
* @permissionScope Read Stores - all read permissions
|
|
1869
1902
|
* @permissionScope Read Products
|
|
1903
|
+
* @permissionScope Manage Orders
|
|
1870
1904
|
* @applicableIdentity APP
|
|
1871
1905
|
* @applicableIdentity MEMBER
|
|
1872
1906
|
* @applicableIdentity VISITOR
|
|
@@ -1928,9 +1962,11 @@ exports.queryProductVariants = queryProductVariants;
|
|
|
1928
1962
|
* @public
|
|
1929
1963
|
* @documentationMaturity preview
|
|
1930
1964
|
* @requiredField query
|
|
1931
|
-
* @permissionScope Manage
|
|
1965
|
+
* @permissionScope Manage Stores - all permissions
|
|
1932
1966
|
* @permissionScope Manage Products
|
|
1967
|
+
* @permissionScope Read Stores - all read permissions
|
|
1933
1968
|
* @permissionScope Read Products
|
|
1969
|
+
* @permissionScope Manage Orders
|
|
1934
1970
|
* @applicableIdentity APP
|
|
1935
1971
|
* @applicableIdentity MEMBER
|
|
1936
1972
|
* @applicableIdentity VISITOR
|
|
@@ -1985,9 +2021,11 @@ exports.queryStoreVariants = queryStoreVariants;
|
|
|
1985
2021
|
* @public
|
|
1986
2022
|
* @documentationMaturity preview
|
|
1987
2023
|
* @requiredField _id
|
|
1988
|
-
* @permissionScope Manage
|
|
2024
|
+
* @permissionScope Manage Stores - all permissions
|
|
1989
2025
|
* @permissionScope Manage Products
|
|
2026
|
+
* @permissionScope Read Stores - all read permissions
|
|
1990
2027
|
* @permissionScope Read Products
|
|
2028
|
+
* @permissionScope Manage Orders
|
|
1991
2029
|
* @applicableIdentity APP
|
|
1992
2030
|
* @applicableIdentity MEMBER
|
|
1993
2031
|
* @applicableIdentity VISITOR
|