@wix/stores 1.0.128 → 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.public.d.ts +1 -1
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +0 -67
- package/build/cjs/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +84 -67
- 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.public.d.ts +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +0 -67
- package/build/es/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +84 -67
- 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
|
@@ -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, 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,
|
|
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, 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';
|
|
@@ -983,73 +983,6 @@ export interface V1DeleteProductPlatformizedRequest {
|
|
|
983
983
|
}
|
|
984
984
|
export interface V1DeleteProductPlatformizedResponse {
|
|
985
985
|
}
|
|
986
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
987
|
-
createdEvent?: EntityCreatedEvent;
|
|
988
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
989
|
-
deletedEvent?: EntityDeletedEvent;
|
|
990
|
-
actionEvent?: ActionEvent;
|
|
991
|
-
/**
|
|
992
|
-
* Unique event ID.
|
|
993
|
-
* Allows clients to ignore duplicate webhooks.
|
|
994
|
-
*/
|
|
995
|
-
id?: string;
|
|
996
|
-
/**
|
|
997
|
-
* Assumes actions are also always typed to an entity_type
|
|
998
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
999
|
-
*/
|
|
1000
|
-
entityFqdn?: string;
|
|
1001
|
-
/**
|
|
1002
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
1003
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
1004
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
1005
|
-
*/
|
|
1006
|
-
slug?: string;
|
|
1007
|
-
/** ID of the entity associated with the event. */
|
|
1008
|
-
entityId?: string;
|
|
1009
|
-
/** Event timestamp. */
|
|
1010
|
-
eventTime?: Date;
|
|
1011
|
-
/**
|
|
1012
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
1013
|
-
* (for example, GDPR).
|
|
1014
|
-
*/
|
|
1015
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
1016
|
-
/** If present, indicates the action that triggered the event. */
|
|
1017
|
-
originatedFrom?: string | null;
|
|
1018
|
-
/**
|
|
1019
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
1020
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
1021
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1022
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1023
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1024
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1025
|
-
*/
|
|
1026
|
-
entityEventSequence?: string | null;
|
|
1027
|
-
}
|
|
1028
|
-
/** @oneof */
|
|
1029
|
-
export interface DomainEventBodyOneOf {
|
|
1030
|
-
createdEvent?: EntityCreatedEvent;
|
|
1031
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
1032
|
-
deletedEvent?: EntityDeletedEvent;
|
|
1033
|
-
actionEvent?: ActionEvent;
|
|
1034
|
-
}
|
|
1035
|
-
export interface EntityCreatedEvent {
|
|
1036
|
-
entityAsJson?: string;
|
|
1037
|
-
}
|
|
1038
|
-
export interface EntityUpdatedEvent {
|
|
1039
|
-
/**
|
|
1040
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1041
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1042
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1043
|
-
*/
|
|
1044
|
-
currentEntityAsJson?: string;
|
|
1045
|
-
}
|
|
1046
|
-
export interface EntityDeletedEvent {
|
|
1047
|
-
/** Entity that was deleted */
|
|
1048
|
-
deletedEntityAsJson?: string | null;
|
|
1049
|
-
}
|
|
1050
|
-
export interface ActionEvent {
|
|
1051
|
-
bodyAsJson?: string;
|
|
1052
|
-
}
|
|
1053
986
|
export interface ProductCreated {
|
|
1054
987
|
/** Product ID (generated automatically by the catalog). */
|
|
1055
988
|
productId?: string;
|
|
@@ -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;AAyGD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;
|
|
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;AAyGD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6CAAiC,CAAA;IACjC,yCAA6B,CAAA;IAC7B,+CAAmC,CAAA;IACnC,yCAA6B,CAAA;IAC7B,6CAAiC,CAAA;AACnC,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAisBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
@@ -985,73 +985,6 @@ export interface V1DeleteProductPlatformizedRequest {
|
|
|
985
985
|
}
|
|
986
986
|
export interface V1DeleteProductPlatformizedResponse {
|
|
987
987
|
}
|
|
988
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
989
|
-
createdEvent?: EntityCreatedEvent;
|
|
990
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
991
|
-
deletedEvent?: EntityDeletedEvent;
|
|
992
|
-
actionEvent?: ActionEvent;
|
|
993
|
-
/**
|
|
994
|
-
* Unique event ID.
|
|
995
|
-
* Allows clients to ignore duplicate webhooks.
|
|
996
|
-
*/
|
|
997
|
-
_id?: string;
|
|
998
|
-
/**
|
|
999
|
-
* Assumes actions are also always typed to an entity_type
|
|
1000
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
1001
|
-
*/
|
|
1002
|
-
entityFqdn?: string;
|
|
1003
|
-
/**
|
|
1004
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
1005
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
1006
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
1007
|
-
*/
|
|
1008
|
-
slug?: string;
|
|
1009
|
-
/** ID of the entity associated with the event. */
|
|
1010
|
-
entityId?: string;
|
|
1011
|
-
/** Event timestamp. */
|
|
1012
|
-
eventTime?: Date;
|
|
1013
|
-
/**
|
|
1014
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
1015
|
-
* (for example, GDPR).
|
|
1016
|
-
*/
|
|
1017
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
1018
|
-
/** If present, indicates the action that triggered the event. */
|
|
1019
|
-
originatedFrom?: string | null;
|
|
1020
|
-
/**
|
|
1021
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
1022
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
1023
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1024
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1025
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1026
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1027
|
-
*/
|
|
1028
|
-
entityEventSequence?: string | null;
|
|
1029
|
-
}
|
|
1030
|
-
/** @oneof */
|
|
1031
|
-
export interface DomainEventBodyOneOf {
|
|
1032
|
-
createdEvent?: EntityCreatedEvent;
|
|
1033
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
1034
|
-
deletedEvent?: EntityDeletedEvent;
|
|
1035
|
-
actionEvent?: ActionEvent;
|
|
1036
|
-
}
|
|
1037
|
-
export interface EntityCreatedEvent {
|
|
1038
|
-
entityAsJson?: string;
|
|
1039
|
-
}
|
|
1040
|
-
export interface EntityUpdatedEvent {
|
|
1041
|
-
/**
|
|
1042
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1043
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1044
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1045
|
-
*/
|
|
1046
|
-
currentEntityAsJson?: string;
|
|
1047
|
-
}
|
|
1048
|
-
export interface EntityDeletedEvent {
|
|
1049
|
-
/** Entity that was deleted */
|
|
1050
|
-
deletedEntityAsJson?: string | null;
|
|
1051
|
-
}
|
|
1052
|
-
export interface ActionEvent {
|
|
1053
|
-
bodyAsJson?: string;
|
|
1054
|
-
}
|
|
1055
988
|
export interface ProductCreated {
|
|
1056
989
|
/** Product ID (generated automatically by the catalog). */
|
|
1057
990
|
productId?: string;
|
|
@@ -4122,7 +4055,9 @@ export interface GetStoreVariantResponseNonNullableFields {
|
|
|
4122
4055
|
* @requiredField product.priceData
|
|
4123
4056
|
* @requiredField product.priceData.price
|
|
4124
4057
|
* @permissionScope Manage Stores - all permissions
|
|
4058
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4125
4059
|
* @permissionScope Manage Products
|
|
4060
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4126
4061
|
* @applicableIdentity APP
|
|
4127
4062
|
*/
|
|
4128
4063
|
export declare function createProduct(product: Product): Promise<CreateProductResponse & CreateProductResponseNonNullableFields>;
|
|
@@ -4137,7 +4072,9 @@ export declare function createProduct(product: Product): Promise<CreateProductRe
|
|
|
4137
4072
|
* @requiredField product.priceData
|
|
4138
4073
|
* @requiredField product.priceData.price
|
|
4139
4074
|
* @permissionScope Manage Stores - all permissions
|
|
4075
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4140
4076
|
* @permissionScope Manage Products
|
|
4077
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4141
4078
|
* @applicableIdentity APP
|
|
4142
4079
|
*/
|
|
4143
4080
|
export declare function createProductPlatformized(product: Product): Promise<Product & NonNullable<CreateProductPlatformizedResponseNonNullableFields>['product']>;
|
|
@@ -4149,7 +4086,9 @@ export declare function createProductPlatformized(product: Product): Promise<Pro
|
|
|
4149
4086
|
* @requiredField product
|
|
4150
4087
|
* @param product - Product info to update.
|
|
4151
4088
|
* @permissionScope Manage Stores - all permissions
|
|
4089
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4152
4090
|
* @permissionScope Manage Products
|
|
4091
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4153
4092
|
* @applicableIdentity APP
|
|
4154
4093
|
*/
|
|
4155
4094
|
export declare function updateProduct(_id: string, product: UpdateProduct): Promise<UpdateProductResponse & UpdateProductResponseNonNullableFields>;
|
|
@@ -4288,7 +4227,9 @@ export interface UpdateProduct {
|
|
|
4288
4227
|
* @requiredField _id
|
|
4289
4228
|
* @requiredField product
|
|
4290
4229
|
* @permissionScope Manage Stores - all permissions
|
|
4230
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4291
4231
|
* @permissionScope Manage Products
|
|
4232
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4292
4233
|
* @applicableIdentity APP
|
|
4293
4234
|
*/
|
|
4294
4235
|
export declare function updateProductPlatformized(_id: string, product: UpdateProductPlatformizedProduct): Promise<Product & NonNullable<UpdateProductPlatformizedResponseNonNullableFields>['product']>;
|
|
@@ -4425,7 +4366,9 @@ export interface UpdateProductPlatformizedProduct {
|
|
|
4425
4366
|
* @public
|
|
4426
4367
|
* @requiredField _id
|
|
4427
4368
|
* @permissionScope Manage Stores - all permissions
|
|
4369
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4428
4370
|
* @permissionScope Manage Products
|
|
4371
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4429
4372
|
* @applicableIdentity APP
|
|
4430
4373
|
*/
|
|
4431
4374
|
export declare function deleteProduct(_id: string): Promise<void>;
|
|
@@ -4436,7 +4379,9 @@ export declare function deleteProduct(_id: string): Promise<void>;
|
|
|
4436
4379
|
* @documentationMaturity preview
|
|
4437
4380
|
* @requiredField _id
|
|
4438
4381
|
* @permissionScope Manage Stores - all permissions
|
|
4382
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4439
4383
|
* @permissionScope Manage Products
|
|
4384
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4440
4385
|
* @applicableIdentity APP
|
|
4441
4386
|
*/
|
|
4442
4387
|
export declare function deleteProductPlatformized(_id: string): Promise<void>;
|
|
@@ -4449,7 +4394,9 @@ export declare function deleteProductPlatformized(_id: string): Promise<void>;
|
|
|
4449
4394
|
* @requiredField _id
|
|
4450
4395
|
* @requiredField variants
|
|
4451
4396
|
* @permissionScope Manage Stores - all permissions
|
|
4397
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4452
4398
|
* @permissionScope Manage Products
|
|
4399
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4453
4400
|
* @applicableIdentity APP
|
|
4454
4401
|
*/
|
|
4455
4402
|
export declare function updateProductVariants(_id: string, variants: VariantOverride[]): Promise<UpdateVariantsResponse & UpdateVariantsResponseNonNullableFields>;
|
|
@@ -4460,7 +4407,9 @@ export declare function updateProductVariants(_id: string, variants: VariantOver
|
|
|
4460
4407
|
* @documentationMaturity preview
|
|
4461
4408
|
* @requiredField _id
|
|
4462
4409
|
* @permissionScope Manage Stores - all permissions
|
|
4410
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4463
4411
|
* @permissionScope Manage Products
|
|
4412
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4464
4413
|
* @applicableIdentity APP
|
|
4465
4414
|
*/
|
|
4466
4415
|
export declare function resetAllProductVariantData(_id: string): Promise<void>;
|
|
@@ -4472,7 +4421,9 @@ export declare function resetAllProductVariantData(_id: string): Promise<void>;
|
|
|
4472
4421
|
* @requiredField _id
|
|
4473
4422
|
* @requiredField productIds
|
|
4474
4423
|
* @permissionScope Manage Stores - all permissions
|
|
4424
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4475
4425
|
* @permissionScope Manage Products
|
|
4426
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4476
4427
|
* @applicableIdentity APP
|
|
4477
4428
|
*/
|
|
4478
4429
|
export declare function addProductsToCollection(_id: string, productIds: string[]): Promise<void>;
|
|
@@ -4484,7 +4435,9 @@ export declare function addProductsToCollection(_id: string, productIds: string[
|
|
|
4484
4435
|
* @requiredField _id
|
|
4485
4436
|
* @requiredField productIds
|
|
4486
4437
|
* @permissionScope Manage Stores - all permissions
|
|
4438
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4487
4439
|
* @permissionScope Manage Products
|
|
4440
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4488
4441
|
* @applicableIdentity APP
|
|
4489
4442
|
*/
|
|
4490
4443
|
export declare function removeProductsFromCollection(_id: string, productIds: string[]): Promise<void>;
|
|
@@ -4498,7 +4451,9 @@ export declare function removeProductsFromCollection(_id: string, productIds: st
|
|
|
4498
4451
|
* @requiredField _id
|
|
4499
4452
|
* @requiredField media
|
|
4500
4453
|
* @permissionScope Manage Stores - all permissions
|
|
4454
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4501
4455
|
* @permissionScope Manage Products
|
|
4456
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4502
4457
|
* @applicableIdentity APP
|
|
4503
4458
|
*/
|
|
4504
4459
|
export declare function addProductMedia(_id: string, media: MediaDataForWrite[]): Promise<void>;
|
|
@@ -4511,7 +4466,9 @@ export declare function addProductMedia(_id: string, media: MediaDataForWrite[])
|
|
|
4511
4466
|
* @requiredField _id
|
|
4512
4467
|
* @requiredField mediaIds
|
|
4513
4468
|
* @permissionScope Manage Stores - all permissions
|
|
4469
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4514
4470
|
* @permissionScope Manage Products
|
|
4471
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4515
4472
|
* @applicableIdentity APP
|
|
4516
4473
|
*/
|
|
4517
4474
|
export declare function removeProductMedia(_id: string, mediaIds: string[]): Promise<void>;
|
|
@@ -4529,7 +4486,9 @@ export declare function removeProductMedia(_id: string, mediaIds: string[]): Pro
|
|
|
4529
4486
|
* @requiredField media.choice
|
|
4530
4487
|
* @requiredField media.option
|
|
4531
4488
|
* @permissionScope Manage Stores - all permissions
|
|
4489
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4532
4490
|
* @permissionScope Manage Products
|
|
4491
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4533
4492
|
* @applicableIdentity APP
|
|
4534
4493
|
*/
|
|
4535
4494
|
export declare function addProductMediaToChoices(_id: string, media: MediaAssignmentToChoice[]): Promise<void>;
|
|
@@ -4542,7 +4501,9 @@ export declare function addProductMediaToChoices(_id: string, media: MediaAssign
|
|
|
4542
4501
|
* @requiredField _id
|
|
4543
4502
|
* @requiredField media
|
|
4544
4503
|
* @permissionScope Manage Stores - all permissions
|
|
4504
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4545
4505
|
* @permissionScope Manage Products
|
|
4506
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4546
4507
|
* @applicableIdentity APP
|
|
4547
4508
|
*/
|
|
4548
4509
|
export declare function removeProductMediaFromChoices(_id: string, media: MediaAssignmentToChoice[]): Promise<void>;
|
|
@@ -4552,7 +4513,9 @@ export declare function removeProductMediaFromChoices(_id: string, media: MediaA
|
|
|
4552
4513
|
* @public
|
|
4553
4514
|
* @requiredField _id
|
|
4554
4515
|
* @permissionScope Manage Stores - all permissions
|
|
4516
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4555
4517
|
* @permissionScope Manage Products
|
|
4518
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4556
4519
|
* @applicableIdentity APP
|
|
4557
4520
|
*/
|
|
4558
4521
|
export declare function deleteProductOptions(_id: string): Promise<void>;
|
|
@@ -4563,7 +4526,9 @@ export declare function deleteProductOptions(_id: string): Promise<void>;
|
|
|
4563
4526
|
* @documentationMaturity preview
|
|
4564
4527
|
* @requiredField _id
|
|
4565
4528
|
* @permissionScope Manage Stores - all permissions
|
|
4529
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4566
4530
|
* @permissionScope Manage Products
|
|
4531
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4567
4532
|
* @applicableIdentity APP
|
|
4568
4533
|
*/
|
|
4569
4534
|
export declare function removeBrand(_id: string): Promise<void>;
|
|
@@ -4575,7 +4540,9 @@ export declare function removeBrand(_id: string): Promise<void>;
|
|
|
4575
4540
|
* @requiredField collection
|
|
4576
4541
|
* @requiredField collection.name
|
|
4577
4542
|
* @permissionScope Manage Stores - all permissions
|
|
4543
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4578
4544
|
* @permissionScope Manage Products
|
|
4545
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4579
4546
|
* @applicableIdentity APP
|
|
4580
4547
|
*/
|
|
4581
4548
|
export declare function createCollection(collection: Collection): Promise<CreateCollectionResponse & CreateCollectionResponseNonNullableFields>;
|
|
@@ -4587,7 +4554,9 @@ export declare function createCollection(collection: Collection): Promise<Create
|
|
|
4587
4554
|
* @requiredField collection
|
|
4588
4555
|
* @param collection - Collection info to update.
|
|
4589
4556
|
* @permissionScope Manage Stores - all permissions
|
|
4557
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4590
4558
|
* @permissionScope Manage Products
|
|
4559
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4591
4560
|
* @applicableIdentity APP
|
|
4592
4561
|
*/
|
|
4593
4562
|
export declare function updateCollection(_id: string | null, collection: UpdateCollection): Promise<UpdateCollectionResponse & UpdateCollectionResponseNonNullableFields>;
|
|
@@ -4622,7 +4591,9 @@ export interface UpdateCollection {
|
|
|
4622
4591
|
* @requiredField _id
|
|
4623
4592
|
* @param _id - ID of the collection to delete.
|
|
4624
4593
|
* @permissionScope Manage Stores - all permissions
|
|
4594
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4625
4595
|
* @permissionScope Manage Products
|
|
4596
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4626
4597
|
* @applicableIdentity APP
|
|
4627
4598
|
*/
|
|
4628
4599
|
export declare function deleteCollection(_id: string): Promise<void>;
|
|
@@ -4633,7 +4604,9 @@ export declare function deleteCollection(_id: string): Promise<void>;
|
|
|
4633
4604
|
* @documentationMaturity preview
|
|
4634
4605
|
* @requiredField _id
|
|
4635
4606
|
* @permissionScope Manage Stores - all permissions
|
|
4607
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4636
4608
|
* @permissionScope Manage Products
|
|
4609
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4637
4610
|
* @applicableIdentity APP
|
|
4638
4611
|
*/
|
|
4639
4612
|
export declare function removeRibbon(_id: string): Promise<void>;
|
|
@@ -4646,7 +4619,9 @@ export declare function removeRibbon(_id: string): Promise<void>;
|
|
|
4646
4619
|
* @requiredField ids
|
|
4647
4620
|
* @requiredField set
|
|
4648
4621
|
* @permissionScope Manage Stores - all permissions
|
|
4622
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4649
4623
|
* @permissionScope Manage Products
|
|
4624
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4650
4625
|
* @applicableIdentity APP
|
|
4651
4626
|
*/
|
|
4652
4627
|
export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue): Promise<BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields>;
|
|
@@ -4660,7 +4635,9 @@ export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue)
|
|
|
4660
4635
|
* @requiredField adjust
|
|
4661
4636
|
* @requiredField ids
|
|
4662
4637
|
* @permissionScope Manage Stores - all permissions
|
|
4638
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4663
4639
|
* @permissionScope Manage Products
|
|
4640
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4664
4641
|
* @applicableIdentity APP
|
|
4665
4642
|
*/
|
|
4666
4643
|
export declare function bulkAdjustProductProperty(adjust: AdjustValue, ids: string[]): Promise<BulkAdjustProductPropertiesResponse & BulkAdjustProductPropertiesResponseNonNullableFields>;
|
|
@@ -4825,10 +4802,15 @@ export declare function writeProxyDeleteProductPlatformized(_id: string): Promis
|
|
|
4825
4802
|
* @public
|
|
4826
4803
|
* @documentationMaturity preview
|
|
4827
4804
|
* @permissionScope Manage Stores - all permissions
|
|
4805
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4828
4806
|
* @permissionScope Manage Products
|
|
4807
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4829
4808
|
* @permissionScope Read Stores - all read permissions
|
|
4809
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4830
4810
|
* @permissionScope Read Products
|
|
4811
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4831
4812
|
* @permissionScope Manage Orders
|
|
4813
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4832
4814
|
* @applicableIdentity APP
|
|
4833
4815
|
* @applicableIdentity MEMBER
|
|
4834
4816
|
* @applicableIdentity VISITOR
|
|
@@ -4925,10 +4907,15 @@ export interface ProductsQueryBuilder {
|
|
|
4925
4907
|
* @documentationMaturity preview
|
|
4926
4908
|
* @requiredField _id
|
|
4927
4909
|
* @permissionScope Manage Stores - all permissions
|
|
4910
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4928
4911
|
* @permissionScope Manage Products
|
|
4912
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4929
4913
|
* @permissionScope Read Stores - all read permissions
|
|
4914
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4930
4915
|
* @permissionScope Read Products
|
|
4916
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4931
4917
|
* @permissionScope Manage Orders
|
|
4918
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4932
4919
|
* @applicableIdentity APP
|
|
4933
4920
|
* @applicableIdentity MEMBER
|
|
4934
4921
|
* @applicableIdentity VISITOR
|
|
@@ -4945,10 +4932,15 @@ export interface GetProductOptions {
|
|
|
4945
4932
|
* @documentationMaturity preview
|
|
4946
4933
|
* @requiredField _id
|
|
4947
4934
|
* @permissionScope Manage Stores - all permissions
|
|
4935
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4948
4936
|
* @permissionScope Manage Products
|
|
4937
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4949
4938
|
* @permissionScope Read Stores - all read permissions
|
|
4939
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4950
4940
|
* @permissionScope Read Products
|
|
4941
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4951
4942
|
* @permissionScope Manage Orders
|
|
4943
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4952
4944
|
* @applicableIdentity APP
|
|
4953
4945
|
* @applicableIdentity MEMBER
|
|
4954
4946
|
* @applicableIdentity VISITOR
|
|
@@ -4965,10 +4957,15 @@ export interface GetProductPlatformizedOptions {
|
|
|
4965
4957
|
* @public
|
|
4966
4958
|
* @requiredField slug
|
|
4967
4959
|
* @permissionScope Manage Stores - all permissions
|
|
4960
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4968
4961
|
* @permissionScope Manage Products
|
|
4962
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4969
4963
|
* @permissionScope Read Stores - all read permissions
|
|
4964
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4970
4965
|
* @permissionScope Read Products
|
|
4966
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4971
4967
|
* @permissionScope Manage Orders
|
|
4968
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4972
4969
|
* @applicableIdentity APP
|
|
4973
4970
|
* @applicableIdentity MEMBER
|
|
4974
4971
|
* @applicableIdentity VISITOR
|
|
@@ -4982,10 +4979,15 @@ export declare function getCollectionBySlug(slug: string): Promise<GetCollection
|
|
|
4982
4979
|
* @requiredField _id
|
|
4983
4980
|
* @requiredField options
|
|
4984
4981
|
* @permissionScope Manage Stores - all permissions
|
|
4982
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
4985
4983
|
* @permissionScope Manage Products
|
|
4984
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
4986
4985
|
* @permissionScope Read Stores - all read permissions
|
|
4986
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
4987
4987
|
* @permissionScope Read Products
|
|
4988
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
4988
4989
|
* @permissionScope Manage Orders
|
|
4990
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
4989
4991
|
* @applicableIdentity APP
|
|
4990
4992
|
* @applicableIdentity MEMBER
|
|
4991
4993
|
* @applicableIdentity VISITOR
|
|
@@ -4999,10 +5001,15 @@ export declare function getProductOptionsAvailability(_id: string, options: Reco
|
|
|
4999
5001
|
* @documentationMaturity preview
|
|
5000
5002
|
* @requiredField _id
|
|
5001
5003
|
* @permissionScope Manage Stores - all permissions
|
|
5004
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
5002
5005
|
* @permissionScope Manage Products
|
|
5006
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
5003
5007
|
* @permissionScope Read Stores - all read permissions
|
|
5008
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
5004
5009
|
* @permissionScope Read Products
|
|
5010
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
5005
5011
|
* @permissionScope Manage Orders
|
|
5012
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
5006
5013
|
* @applicableIdentity APP
|
|
5007
5014
|
* @applicableIdentity MEMBER
|
|
5008
5015
|
* @applicableIdentity VISITOR
|
|
@@ -5027,10 +5034,15 @@ export interface QueryProductVariantsOptions {
|
|
|
5027
5034
|
* @documentationMaturity preview
|
|
5028
5035
|
* @requiredField query
|
|
5029
5036
|
* @permissionScope Manage Stores - all permissions
|
|
5037
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
5030
5038
|
* @permissionScope Manage Products
|
|
5039
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
5031
5040
|
* @permissionScope Read Stores - all read permissions
|
|
5041
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
5032
5042
|
* @permissionScope Read Products
|
|
5043
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
5033
5044
|
* @permissionScope Manage Orders
|
|
5045
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
5034
5046
|
* @applicableIdentity APP
|
|
5035
5047
|
* @applicableIdentity MEMBER
|
|
5036
5048
|
* @applicableIdentity VISITOR
|
|
@@ -5043,10 +5055,15 @@ export declare function queryStoreVariants(query: PlatformQuery): Promise<QueryS
|
|
|
5043
5055
|
* @documentationMaturity preview
|
|
5044
5056
|
* @requiredField _id
|
|
5045
5057
|
* @permissionScope Manage Stores - all permissions
|
|
5058
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
5046
5059
|
* @permissionScope Manage Products
|
|
5060
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-PRODUCTS
|
|
5047
5061
|
* @permissionScope Read Stores - all read permissions
|
|
5062
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
5048
5063
|
* @permissionScope Read Products
|
|
5064
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-PRODUCTS
|
|
5049
5065
|
* @permissionScope Manage Orders
|
|
5066
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
5050
5067
|
* @applicableIdentity APP
|
|
5051
5068
|
* @applicableIdentity MEMBER
|
|
5052
5069
|
* @applicableIdentity VISITOR
|