@wix/stores 1.0.126 → 1.0.128

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.
Files changed (27) hide show
  1. package/build/cjs/src/stores-catalog-v1-product.public.d.ts +2 -2
  2. package/build/cjs/src/stores-catalog-v1-product.public.js +2 -1
  3. package/build/cjs/src/stores-catalog-v1-product.public.js.map +1 -1
  4. package/build/cjs/src/stores-catalog-v1-product.types.d.ts +88 -19
  5. package/build/cjs/src/stores-catalog-v1-product.types.js +10 -1
  6. package/build/cjs/src/stores-catalog-v1-product.types.js.map +1 -1
  7. package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +43 -23
  8. package/build/cjs/src/stores-catalog-v1-product.universal.js +10 -5
  9. package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
  10. package/build/cjs/src/stores-v1-subscription-option.public.d.ts +1 -1
  11. package/build/cjs/src/stores-v1-subscription-option.types.d.ts +0 -97
  12. package/build/cjs/src/stores-v1-subscription-option.universal.d.ts +0 -97
  13. package/build/cjs/src/stores-v1-subscription-option.universal.js.map +1 -1
  14. package/build/es/src/stores-catalog-v1-product.public.d.ts +2 -2
  15. package/build/es/src/stores-catalog-v1-product.public.js +1 -1
  16. package/build/es/src/stores-catalog-v1-product.public.js.map +1 -1
  17. package/build/es/src/stores-catalog-v1-product.types.d.ts +88 -19
  18. package/build/es/src/stores-catalog-v1-product.types.js +9 -0
  19. package/build/es/src/stores-catalog-v1-product.types.js.map +1 -1
  20. package/build/es/src/stores-catalog-v1-product.universal.d.ts +43 -23
  21. package/build/es/src/stores-catalog-v1-product.universal.js +9 -4
  22. package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
  23. package/build/es/src/stores-v1-subscription-option.public.d.ts +1 -1
  24. package/build/es/src/stores-v1-subscription-option.types.d.ts +0 -97
  25. package/build/es/src/stores-v1-subscription-option.universal.d.ts +0 -97
  26. package/build/es/src/stores-v1-subscription-option.universal.js.map +1 -1
  27. package/package.json +2 -2
@@ -1211,5 +1211,5 @@ export declare function getProductOptionsAvailability(httpClient: HttpClient): (
1211
1211
  export declare function queryProductVariants(httpClient: HttpClient): (_id: string, options?: QueryProductVariantsOptions) => Promise<import("./stores-catalog-v1-product.universal").QueryProductVariantsResponse & import("./stores-catalog-v1-product.universal").QueryProductVariantsResponseNonNullableFields>;
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
- 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, ReCloneStoreRequest, ReCloneStoreResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, 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';
1214
+ export { ProductType, InventoryStatus, MeasurementUnit, MediaItemType, OptionType, DiscountType, FileType, 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, SecuredMedia, CreateProductRequest, CreateProductResponse, CreateProductPlatformizedRequest, CreateProductPlatformizedResponse, CreateDigitalProductRequest, CreateDigitalProductResponse, 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, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, 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';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SortOrder = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = exports.getStoreVariant = exports.queryStoreVariants = exports.queryProductVariants = exports.getProductOptionsAvailability = exports.getCollectionBySlug = exports.getProductPlatformized = exports.getProduct = exports.queryProducts = exports.writeProxyDeleteProductPlatformized = exports.writeProxyUpdateProductPlatformized = exports.writeProxyCreateProductPlatformized = exports.bulkAdjustProductProperty = exports.bulkUpdateProductsProperty = exports.removeRibbon = exports.deleteCollection = exports.updateCollection = exports.createCollection = exports.removeBrand = exports.deleteProductOptions = exports.removeProductMediaFromChoices = exports.addProductMediaToChoices = exports.removeProductMedia = exports.addProductMedia = exports.removeProductsFromCollection = exports.addProductsToCollection = exports.resetAllProductVariantData = exports.updateProductVariants = exports.deleteProductPlatformized = exports.deleteProduct = exports.updateProductPlatformized = exports.updateProduct = exports.createProductPlatformized = exports.createProduct = exports.__metadata = void 0;
3
+ exports.SortOrder = exports.FileType = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = exports.getStoreVariant = exports.queryStoreVariants = exports.queryProductVariants = exports.getProductOptionsAvailability = exports.getCollectionBySlug = exports.getProductPlatformized = exports.getProduct = exports.queryProducts = exports.writeProxyDeleteProductPlatformized = exports.writeProxyUpdateProductPlatformized = exports.writeProxyCreateProductPlatformized = exports.bulkAdjustProductProperty = exports.bulkUpdateProductsProperty = exports.removeRibbon = exports.deleteCollection = exports.updateCollection = exports.createCollection = exports.removeBrand = exports.deleteProductOptions = exports.removeProductMediaFromChoices = exports.addProductMediaToChoices = exports.removeProductMedia = exports.addProductMedia = exports.removeProductsFromCollection = exports.addProductsToCollection = exports.resetAllProductVariantData = exports.updateProductVariants = exports.deleteProductPlatformized = exports.deleteProduct = exports.updateProductPlatformized = exports.updateProduct = exports.createProductPlatformized = exports.createProduct = exports.__metadata = void 0;
4
4
  const stores_catalog_v1_product_universal_1 = require("./stores-catalog-v1-product.universal");
5
5
  exports.__metadata = { PACKAGE_NAME: '@wix/stores' };
6
6
  function createProduct(httpClient) {
@@ -208,5 +208,6 @@ Object.defineProperty(exports, "MeasurementUnit", { enumerable: true, get: funct
208
208
  Object.defineProperty(exports, "MediaItemType", { enumerable: true, get: function () { return stores_catalog_v1_product_universal_2.MediaItemType; } });
209
209
  Object.defineProperty(exports, "OptionType", { enumerable: true, get: function () { return stores_catalog_v1_product_universal_2.OptionType; } });
210
210
  Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return stores_catalog_v1_product_universal_2.DiscountType; } });
211
+ Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return stores_catalog_v1_product_universal_2.FileType; } });
211
212
  Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return stores_catalog_v1_product_universal_2.SortOrder; } });
212
213
  //# sourceMappingURL=stores-catalog-v1-product.public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stores-catalog-v1-product.public.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.public.ts"],"names":[],"mappings":";;;AACA,+FAiD+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE1D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,mDAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,+DAAkC,EAChC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8DAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,GAAW,EAAE,OAAsB,EAAE,EAAE,CAC7C,IAAA,mDAAsB,EACpB,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sCAQC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,GAAW,EAAE,OAAyC,EAAE,EAAE,CAChE,IAAA,+DAAkC,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AE,CAC5D,IAAA,0DAA6B,EAC3B,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,oDAQC;AAED,SAAgB,kBAAkB,CAAC,UAAsB;IACvD,OAAO,CAAC,KAAoB,EAAE,EAAE,CAC9B,IAAA,wDAA2B,EACzB,KAAK;IACL,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gDAOC;AAED,SAAgB,eAAe,CAAC,UAAsB;IACpD,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,qDAAwB,EACtB,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0CAOC;AAED,6FAQ+C;AAP7C,kIAAA,WAAW,OAAA;AACX,sIAAA,eAAe,OAAA;AACf,sIAAA,eAAe,OAAA;AACf,oIAAA,aAAa,OAAA;AACb,iIAAA,UAAU,OAAA;AACV,mIAAA,YAAY,OAAA;AACZ,gIAAA,SAAS,OAAA"}
1
+ {"version":3,"file":"stores-catalog-v1-product.public.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.public.ts"],"names":[],"mappings":";;;AACA,+FAiD+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE1D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,mDAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,OAAgB,EAAE,EAAE,CAC1B,IAAA,+DAAkC,EAChC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8DAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,GAAW,EAAE,OAAsB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O,CAAC,GAAW,EAAE,OAA+B,EAAE,EAAE,CACtD,IAAA,mEAAsC,EACpC,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sEAQC;AAED,SAAgB,oBAAoB,CAAC,UAAsB;IACzD,OAAO,CAAC,GAAW,EAAE,OAAqC,EAAE,EAAE,CAC5D,IAAA,0DAA6B,EAC3B,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,oDAQC;AAED,SAAgB,kBAAkB,CAAC,UAAsB;IACvD,OAAO,CAAC,KAAoB,EAAE,EAAE,CAC9B,IAAA,wDAA2B,EACzB,KAAK;IACL,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gDAOC;AAED,SAAgB,eAAe,CAAC,UAAsB;IACpD,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,qDAAwB,EACtB,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0CAOC;AAED,6FAS+C;AAR7C,kIAAA,WAAW,OAAA;AACX,sIAAA,eAAe,OAAA;AACf,sIAAA,eAAe,OAAA;AACf,oIAAA,aAAa,OAAA;AACb,iIAAA,UAAU,OAAA;AACV,mIAAA,YAAY,OAAA;AACZ,+HAAA,QAAQ,OAAA;AACR,gIAAA,SAAS,OAAA"}
@@ -471,6 +471,22 @@ export interface Settings {
471
471
  /** User-selected keyword terms for a specific page. */
472
472
  keywords?: Keyword[];
473
473
  }
474
+ export interface SecuredMedia {
475
+ /** Media ID in Wix Media Manager. */
476
+ id?: string;
477
+ /** Original filename. */
478
+ fileName?: string;
479
+ /** File type. */
480
+ fileType?: FileType;
481
+ }
482
+ export declare enum FileType {
483
+ UNSPECIFIED = "UNSPECIFIED",
484
+ SECURE_PICTURE = "SECURE_PICTURE",
485
+ SECURE_VIDEO = "SECURE_VIDEO",
486
+ SECURE_DOCUMENT = "SECURE_DOCUMENT",
487
+ SECURE_MUSIC = "SECURE_MUSIC",
488
+ SECURE_ARCHIVE = "SECURE_ARCHIVE"
489
+ }
474
490
  export interface CreateProductRequest {
475
491
  /** Product information. */
476
492
  product?: Product;
@@ -485,6 +501,14 @@ export interface CreateProductPlatformizedRequest {
485
501
  export interface CreateProductPlatformizedResponse {
486
502
  product?: Product;
487
503
  }
504
+ export interface CreateDigitalProductRequest {
505
+ /** Product information. */
506
+ product?: Product;
507
+ }
508
+ export interface CreateDigitalProductResponse {
509
+ /** Created product. */
510
+ product?: Product;
511
+ }
488
512
  export interface UpdateProductRequest {
489
513
  product: Product;
490
514
  }
@@ -940,6 +964,25 @@ export interface ReCloneStoreRequest {
940
964
  }
941
965
  export interface ReCloneStoreResponse {
942
966
  }
967
+ export interface V1CreateProductPlatformizedRequest {
968
+ /** Product information. */
969
+ product?: Product;
970
+ }
971
+ export interface V1CreateProductPlatformizedResponse {
972
+ product?: Product;
973
+ }
974
+ export interface V1UpdateProductPlatformizedRequest {
975
+ product: Product;
976
+ }
977
+ export interface V1UpdateProductPlatformizedResponse {
978
+ product?: Product;
979
+ }
980
+ export interface V1DeleteProductPlatformizedRequest {
981
+ /** ID of the product to delete. */
982
+ id: string;
983
+ }
984
+ export interface V1DeleteProductPlatformizedResponse {
985
+ }
943
986
  export interface DomainEvent extends DomainEventBodyOneOf {
944
987
  createdEvent?: EntityCreatedEvent;
945
988
  updatedEvent?: EntityUpdatedEvent;
@@ -1007,25 +1050,6 @@ export interface EntityDeletedEvent {
1007
1050
  export interface ActionEvent {
1008
1051
  bodyAsJson?: string;
1009
1052
  }
1010
- export interface V1CreateProductPlatformizedRequest {
1011
- /** Product information. */
1012
- product?: Product;
1013
- }
1014
- export interface V1CreateProductPlatformizedResponse {
1015
- product?: Product;
1016
- }
1017
- export interface V1UpdateProductPlatformizedRequest {
1018
- product: Product;
1019
- }
1020
- export interface V1UpdateProductPlatformizedResponse {
1021
- product?: Product;
1022
- }
1023
- export interface V1DeleteProductPlatformizedRequest {
1024
- /** ID of the product to delete. */
1025
- id: string;
1026
- }
1027
- export interface V1DeleteProductPlatformizedResponse {
1028
- }
1029
1053
  export interface ProductCreated {
1030
1054
  /** Product ID (generated automatically by the catalog). */
1031
1055
  productId?: string;
@@ -1772,6 +1796,11 @@ export interface CreateProductResponseNonNullableFields {
1772
1796
  };
1773
1797
  };
1774
1798
  exportProductId: string;
1799
+ digitalFile?: {
1800
+ id: string;
1801
+ fileName: string;
1802
+ fileType: FileType;
1803
+ };
1775
1804
  };
1776
1805
  }
1777
1806
  export interface CreateProductPlatformizedResponseNonNullableFields {
@@ -2011,6 +2040,11 @@ export interface CreateProductPlatformizedResponseNonNullableFields {
2011
2040
  };
2012
2041
  };
2013
2042
  exportProductId: string;
2043
+ digitalFile?: {
2044
+ id: string;
2045
+ fileName: string;
2046
+ fileType: FileType;
2047
+ };
2014
2048
  };
2015
2049
  }
2016
2050
  export interface UpdateProductResponseNonNullableFields {
@@ -2250,6 +2284,11 @@ export interface UpdateProductResponseNonNullableFields {
2250
2284
  };
2251
2285
  };
2252
2286
  exportProductId: string;
2287
+ digitalFile?: {
2288
+ id: string;
2289
+ fileName: string;
2290
+ fileType: FileType;
2291
+ };
2253
2292
  };
2254
2293
  }
2255
2294
  export interface UpdateProductPlatformizedResponseNonNullableFields {
@@ -2489,6 +2528,11 @@ export interface UpdateProductPlatformizedResponseNonNullableFields {
2489
2528
  };
2490
2529
  };
2491
2530
  exportProductId: string;
2531
+ digitalFile?: {
2532
+ id: string;
2533
+ fileName: string;
2534
+ fileType: FileType;
2535
+ };
2492
2536
  };
2493
2537
  }
2494
2538
  export interface UpdateVariantsResponseNonNullableFields {
@@ -2934,6 +2978,11 @@ export interface V1CreateProductPlatformizedResponseNonNullableFields {
2934
2978
  };
2935
2979
  };
2936
2980
  exportProductId: string;
2981
+ digitalFile?: {
2982
+ id: string;
2983
+ fileName: string;
2984
+ fileType: FileType;
2985
+ };
2937
2986
  };
2938
2987
  }
2939
2988
  export interface V1UpdateProductPlatformizedResponseNonNullableFields {
@@ -3173,6 +3222,11 @@ export interface V1UpdateProductPlatformizedResponseNonNullableFields {
3173
3222
  };
3174
3223
  };
3175
3224
  exportProductId: string;
3225
+ digitalFile?: {
3226
+ id: string;
3227
+ fileName: string;
3228
+ fileType: FileType;
3229
+ };
3176
3230
  };
3177
3231
  }
3178
3232
  export interface QueryProductsPlatformizedResponseNonNullableFields {
@@ -3412,6 +3466,11 @@ export interface QueryProductsPlatformizedResponseNonNullableFields {
3412
3466
  };
3413
3467
  };
3414
3468
  exportProductId: string;
3469
+ digitalFile?: {
3470
+ id: string;
3471
+ fileName: string;
3472
+ fileType: FileType;
3473
+ };
3415
3474
  }[];
3416
3475
  }
3417
3476
  export interface GetProductResponseNonNullableFields {
@@ -3651,6 +3710,11 @@ export interface GetProductResponseNonNullableFields {
3651
3710
  };
3652
3711
  };
3653
3712
  exportProductId: string;
3713
+ digitalFile?: {
3714
+ id: string;
3715
+ fileName: string;
3716
+ fileType: FileType;
3717
+ };
3654
3718
  };
3655
3719
  }
3656
3720
  export interface GetProductPlatformizedResponseNonNullableFields {
@@ -3890,6 +3954,11 @@ export interface GetProductPlatformizedResponseNonNullableFields {
3890
3954
  };
3891
3955
  };
3892
3956
  exportProductId: string;
3957
+ digitalFile?: {
3958
+ id: string;
3959
+ fileName: string;
3960
+ fileType: FileType;
3961
+ };
3893
3962
  };
3894
3963
  }
3895
3964
  export interface GetCollectionBySlugResponseNonNullableFields {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SortOrder = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = void 0;
3
+ exports.SortOrder = exports.FileType = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = void 0;
4
4
  var ProductType;
5
5
  (function (ProductType) {
6
6
  ProductType["unspecified_product_type"] = "unspecified_product_type";
@@ -61,6 +61,15 @@ var DiscountType;
61
61
  DiscountType["AMOUNT"] = "AMOUNT";
62
62
  DiscountType["PERCENT"] = "PERCENT";
63
63
  })(DiscountType || (exports.DiscountType = DiscountType = {}));
64
+ var FileType;
65
+ (function (FileType) {
66
+ FileType["UNSPECIFIED"] = "UNSPECIFIED";
67
+ FileType["SECURE_PICTURE"] = "SECURE_PICTURE";
68
+ FileType["SECURE_VIDEO"] = "SECURE_VIDEO";
69
+ FileType["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
70
+ FileType["SECURE_MUSIC"] = "SECURE_MUSIC";
71
+ FileType["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
72
+ })(FileType || (exports.FileType = FileType = {}));
64
73
  var SortOrder;
65
74
  (function (SortOrder) {
66
75
  SortOrder["ASC"] = "ASC";
@@ -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,2BAAX,WAAW,QAItB;AA4BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,+BAAf,eAAe,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,+BAAf,eAAe,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,6BAAb,aAAa,QAOxB;AA8BD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,0BAAV,UAAU,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,4BAAZ,YAAY,QAMvB;AA81BD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
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,2BAAX,WAAW,QAItB;AA4BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AA4ED,IAAY,eAuB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IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
@@ -477,6 +477,22 @@ export interface Settings {
477
477
  /** User-selected keyword terms for a specific page. */
478
478
  keywords?: Keyword[];
479
479
  }
480
+ export interface SecuredMedia {
481
+ /** Media ID in Wix Media Manager. */
482
+ _id?: string;
483
+ /** Original filename. */
484
+ fileName?: string;
485
+ /** File type. */
486
+ fileType?: FileType;
487
+ }
488
+ export declare enum FileType {
489
+ UNSPECIFIED = "UNSPECIFIED",
490
+ SECURE_PICTURE = "SECURE_PICTURE",
491
+ SECURE_VIDEO = "SECURE_VIDEO",
492
+ SECURE_DOCUMENT = "SECURE_DOCUMENT",
493
+ SECURE_MUSIC = "SECURE_MUSIC",
494
+ SECURE_ARCHIVE = "SECURE_ARCHIVE"
495
+ }
480
496
  export interface CreateProductRequest {
481
497
  /** Product information. */
482
498
  product?: Product;
@@ -491,6 +507,14 @@ export interface CreateProductPlatformizedRequest {
491
507
  export interface CreateProductPlatformizedResponse {
492
508
  product?: Product;
493
509
  }
510
+ export interface CreateDigitalProductRequest {
511
+ /** Product information. */
512
+ product?: Product;
513
+ }
514
+ export interface CreateDigitalProductResponse {
515
+ /** Created product. */
516
+ product?: Product;
517
+ }
494
518
  export interface UpdateProductRequest {
495
519
  product: Product;
496
520
  }
@@ -942,6 +966,25 @@ export interface ReCloneStoreRequest {
942
966
  }
943
967
  export interface ReCloneStoreResponse {
944
968
  }
969
+ export interface V1CreateProductPlatformizedRequest {
970
+ /** Product information. */
971
+ product?: Product;
972
+ }
973
+ export interface V1CreateProductPlatformizedResponse {
974
+ product?: Product;
975
+ }
976
+ export interface V1UpdateProductPlatformizedRequest {
977
+ product: Product;
978
+ }
979
+ export interface V1UpdateProductPlatformizedResponse {
980
+ product?: Product;
981
+ }
982
+ export interface V1DeleteProductPlatformizedRequest {
983
+ /** ID of the product to delete. */
984
+ _id: string;
985
+ }
986
+ export interface V1DeleteProductPlatformizedResponse {
987
+ }
945
988
  export interface DomainEvent extends DomainEventBodyOneOf {
946
989
  createdEvent?: EntityCreatedEvent;
947
990
  updatedEvent?: EntityUpdatedEvent;
@@ -1009,25 +1052,6 @@ export interface EntityDeletedEvent {
1009
1052
  export interface ActionEvent {
1010
1053
  bodyAsJson?: string;
1011
1054
  }
1012
- export interface V1CreateProductPlatformizedRequest {
1013
- /** Product information. */
1014
- product?: Product;
1015
- }
1016
- export interface V1CreateProductPlatformizedResponse {
1017
- product?: Product;
1018
- }
1019
- export interface V1UpdateProductPlatformizedRequest {
1020
- product: Product;
1021
- }
1022
- export interface V1UpdateProductPlatformizedResponse {
1023
- product?: Product;
1024
- }
1025
- export interface V1DeleteProductPlatformizedRequest {
1026
- /** ID of the product to delete. */
1027
- _id: string;
1028
- }
1029
- export interface V1DeleteProductPlatformizedResponse {
1030
- }
1031
1055
  export interface ProductCreated {
1032
1056
  /** Product ID (generated automatically by the catalog). */
1033
1057
  productId?: string;
@@ -4092,7 +4116,6 @@ export interface GetStoreVariantResponseNonNullableFields {
4092
4116
  * Creates a new product.
4093
4117
  * @param product - Product information.
4094
4118
  * @public
4095
- * @documentationMaturity preview
4096
4119
  * @requiredField product
4097
4120
  * @requiredField product.costAndProfitData.itemCost
4098
4121
  * @requiredField product.name
@@ -4122,7 +4145,6 @@ export declare function createProductPlatformized(product: Product): Promise<Pro
4122
4145
  * Updates specified fields in a product.
4123
4146
  * @param _id - Product ID (generated automatically by the catalog).
4124
4147
  * @public
4125
- * @documentationMaturity preview
4126
4148
  * @requiredField _id
4127
4149
  * @requiredField product
4128
4150
  * @param product - Product info to update.
@@ -4561,7 +4583,6 @@ export declare function createCollection(collection: Collection): Promise<Create
4561
4583
  * Updates specified properties of a collection. To add products to a collection, call the [addProductsToCollection](#addproductstocollection) function.
4562
4584
  * @param _id - Collection ID (generated automatically by the catalog).
4563
4585
  * @public
4564
- * @documentationMaturity preview
4565
4586
  * @requiredField _id
4566
4587
  * @requiredField collection
4567
4588
  * @param collection - Collection info to update.
@@ -4598,7 +4619,6 @@ export interface UpdateCollection {
4598
4619
  /**
4599
4620
  * Deletes a collection.
4600
4621
  * @public
4601
- * @documentationMaturity preview
4602
4622
  * @requiredField _id
4603
4623
  * @param _id - ID of the collection to delete.
4604
4624
  * @permissionScope Manage Stores - all permissions
@@ -32,7 +32,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32
32
  });
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
- exports.getStoreVariant = exports.queryStoreVariants = exports.queryProductVariants = exports.getProductOptionsAvailability = exports.getCollectionBySlug = exports.getProductPlatformized = exports.getProduct = exports.queryProducts = exports.writeProxyDeleteProductPlatformized = exports.writeProxyUpdateProductPlatformized = exports.writeProxyCreateProductPlatformized = exports.bulkAdjustProductProperty = exports.bulkUpdateProductsProperty = exports.removeRibbon = exports.deleteCollection = exports.updateCollection = exports.createCollection = exports.removeBrand = exports.deleteProductOptions = exports.removeProductMediaFromChoices = exports.addProductMediaToChoices = exports.removeProductMedia = exports.addProductMedia = exports.removeProductsFromCollection = exports.addProductsToCollection = exports.resetAllProductVariantData = exports.updateProductVariants = exports.deleteProductPlatformized = exports.deleteProduct = exports.updateProductPlatformized = exports.updateProduct = exports.createProductPlatformized = exports.createProduct = exports.SortOrder = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = exports.__debug = void 0;
35
+ exports.getStoreVariant = exports.queryStoreVariants = exports.queryProductVariants = exports.getProductOptionsAvailability = exports.getCollectionBySlug = exports.getProductPlatformized = exports.getProduct = exports.queryProducts = exports.writeProxyDeleteProductPlatformized = exports.writeProxyUpdateProductPlatformized = exports.writeProxyCreateProductPlatformized = exports.bulkAdjustProductProperty = exports.bulkUpdateProductsProperty = exports.removeRibbon = exports.deleteCollection = exports.updateCollection = exports.createCollection = exports.removeBrand = exports.deleteProductOptions = exports.removeProductMediaFromChoices = exports.addProductMediaToChoices = exports.removeProductMedia = exports.addProductMedia = exports.removeProductsFromCollection = exports.addProductsToCollection = exports.resetAllProductVariantData = exports.updateProductVariants = exports.deleteProductPlatformized = exports.deleteProduct = exports.updateProductPlatformized = exports.updateProduct = exports.createProductPlatformized = exports.createProduct = exports.SortOrder = exports.FileType = exports.DiscountType = exports.OptionType = exports.MediaItemType = exports.MeasurementUnit = exports.InventoryStatus = exports.ProductType = exports.__debug = void 0;
36
36
  const velo_1 = require("@wix/metro-runtime/velo");
37
37
  const transform_error_1 = require("@wix/sdk-runtime/transform-error");
38
38
  const ambassadorWixStoresCatalogV1Product = __importStar(require("./stores-catalog-v1-product.http"));
@@ -113,6 +113,15 @@ var DiscountType;
113
113
  DiscountType["AMOUNT"] = "AMOUNT";
114
114
  DiscountType["PERCENT"] = "PERCENT";
115
115
  })(DiscountType || (exports.DiscountType = DiscountType = {}));
116
+ var FileType;
117
+ (function (FileType) {
118
+ FileType["UNSPECIFIED"] = "UNSPECIFIED";
119
+ FileType["SECURE_PICTURE"] = "SECURE_PICTURE";
120
+ FileType["SECURE_VIDEO"] = "SECURE_VIDEO";
121
+ FileType["SECURE_DOCUMENT"] = "SECURE_DOCUMENT";
122
+ FileType["SECURE_MUSIC"] = "SECURE_MUSIC";
123
+ FileType["SECURE_ARCHIVE"] = "SECURE_ARCHIVE";
124
+ })(FileType || (exports.FileType = FileType = {}));
116
125
  var SortOrder;
117
126
  (function (SortOrder) {
118
127
  SortOrder["ASC"] = "ASC";
@@ -193,7 +202,6 @@ const _v1UpdateProductPlatformizedResponse = {};
193
202
  * Creates a new product.
194
203
  * @param product - Product information.
195
204
  * @public
196
- * @documentationMaturity preview
197
205
  * @requiredField product
198
206
  * @requiredField product.costAndProfitData.itemCost
199
207
  * @requiredField product.name
@@ -313,7 +321,6 @@ exports.createProductPlatformized = createProductPlatformized;
313
321
  * Updates specified fields in a product.
314
322
  * @param _id - Product ID (generated automatically by the catalog).
315
323
  * @public
316
- * @documentationMaturity preview
317
324
  * @requiredField _id
318
325
  * @requiredField product
319
326
  * @param product - Product info to update.
@@ -1162,7 +1169,6 @@ exports.createCollection = createCollection;
1162
1169
  * Updates specified properties of a collection. To add products to a collection, call the [addProductsToCollection](#addproductstocollection) function.
1163
1170
  * @param _id - Collection ID (generated automatically by the catalog).
1164
1171
  * @public
1165
- * @documentationMaturity preview
1166
1172
  * @requiredField _id
1167
1173
  * @requiredField collection
1168
1174
  * @param collection - Collection info to update.
@@ -1219,7 +1225,6 @@ exports.updateCollection = updateCollection;
1219
1225
  /**
1220
1226
  * Deletes a collection.
1221
1227
  * @public
1222
- * @documentationMaturity preview
1223
1228
  * @requiredField _id
1224
1229
  * @param _id - ID of the collection to delete.
1225
1230
  * @permissionScope Manage Stores - all permissions