@wix/auto_sdk_categories_categories 1.0.62 → 1.0.63
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/{categories-v1-category-categories.universal-CAAW-EQ5.d.ts → categories-v1-category-categories.universal-C77jUy-2.d.ts} +34 -51
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +30 -1
- package/build/es/{categories-v1-category-categories.universal-CAAW-EQ5.d.mts → categories-v1-category-categories.universal-C77jUy-2.d.mts} +34 -51
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +30 -1
- package/build/internal/cjs/{categories-v1-category-categories.universal-CAAW-EQ5.d.ts → categories-v1-category-categories.universal-C77jUy-2.d.ts} +34 -51
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +30 -1
- package/build/internal/es/{categories-v1-category-categories.universal-CAAW-EQ5.d.mts → categories-v1-category-categories.universal-C77jUy-2.d.mts} +34 -51
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +30 -1
- package/package.json +2 -2
|
@@ -1433,6 +1433,8 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1433
1433
|
cardStyles?: CardStyles;
|
|
1434
1434
|
/** Styling for the app embed's container. */
|
|
1435
1435
|
containerData?: PluginContainerData;
|
|
1436
|
+
/** Pricing data for embedded Wix App content. */
|
|
1437
|
+
pricingData?: PricingData;
|
|
1436
1438
|
}
|
|
1437
1439
|
/** @oneof */
|
|
1438
1440
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1634,6 +1636,33 @@ interface CardStyles {
|
|
|
1634
1636
|
*/
|
|
1635
1637
|
textColor?: string | null;
|
|
1636
1638
|
}
|
|
1639
|
+
interface PricingData {
|
|
1640
|
+
/**
|
|
1641
|
+
* Minimum numeric price value as string (e.g., "10.99").
|
|
1642
|
+
* @decimalValue options { maxScale:2 }
|
|
1643
|
+
*/
|
|
1644
|
+
valueFrom?: string | null;
|
|
1645
|
+
/**
|
|
1646
|
+
* Maximum numeric price value as string (e.g., "19.99").
|
|
1647
|
+
* @decimalValue options { maxScale:2 }
|
|
1648
|
+
*/
|
|
1649
|
+
valueTo?: string | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* Numeric price value as string after discount application (e.g., "15.99").
|
|
1652
|
+
* @decimalValue options { maxScale:2 }
|
|
1653
|
+
*/
|
|
1654
|
+
discountedValue?: string | null;
|
|
1655
|
+
/**
|
|
1656
|
+
* Currency of the value in ISO 4217 format (e.g., "USD", "EUR").
|
|
1657
|
+
* @format CURRENCY
|
|
1658
|
+
*/
|
|
1659
|
+
currency?: string | null;
|
|
1660
|
+
/**
|
|
1661
|
+
* Pricing plan ID.
|
|
1662
|
+
* @format GUID
|
|
1663
|
+
*/
|
|
1664
|
+
pricingPlanId?: string | null;
|
|
1665
|
+
}
|
|
1637
1666
|
interface VideoData {
|
|
1638
1667
|
/** Styling for the video's container. */
|
|
1639
1668
|
containerData?: PluginContainerData;
|
|
@@ -3801,7 +3830,6 @@ interface CategoryMovedEnvelope {
|
|
|
3801
3830
|
* @webhook
|
|
3802
3831
|
* @eventType wix.categories.v1.category_category_moved
|
|
3803
3832
|
* @slug category_moved
|
|
3804
|
-
* @documentationMaturity preview
|
|
3805
3833
|
*/
|
|
3806
3834
|
declare function onCategoryMoved(handler: (event: CategoryMovedEnvelope) => void | Promise<void>): void;
|
|
3807
3835
|
interface CategoryCreatedEnvelope {
|
|
@@ -3832,7 +3860,6 @@ interface CategoryCreatedEnvelope {
|
|
|
3832
3860
|
* @webhook
|
|
3833
3861
|
* @eventType wix.categories.v1.category_created
|
|
3834
3862
|
* @slug created
|
|
3835
|
-
* @documentationMaturity preview
|
|
3836
3863
|
*/
|
|
3837
3864
|
declare function onCategoryCreated(handler: (event: CategoryCreatedEnvelope) => void | Promise<void>): void;
|
|
3838
3865
|
interface CategoryDeletedEnvelope {
|
|
@@ -3862,7 +3889,6 @@ interface CategoryDeletedEnvelope {
|
|
|
3862
3889
|
* @webhook
|
|
3863
3890
|
* @eventType wix.categories.v1.category_deleted
|
|
3864
3891
|
* @slug deleted
|
|
3865
|
-
* @documentationMaturity preview
|
|
3866
3892
|
*/
|
|
3867
3893
|
declare function onCategoryDeleted(handler: (event: CategoryDeletedEnvelope) => void | Promise<void>): void;
|
|
3868
3894
|
interface CategoryItemAddedToCategoryEnvelope {
|
|
@@ -3895,7 +3921,6 @@ interface CategoryItemAddedToCategoryEnvelope {
|
|
|
3895
3921
|
* @webhook
|
|
3896
3922
|
* @eventType wix.categories.v1.category_item_added_to_category
|
|
3897
3923
|
* @slug item_added_to_category
|
|
3898
|
-
* @documentationMaturity preview
|
|
3899
3924
|
*/
|
|
3900
3925
|
declare function onCategoryItemAddedToCategory(handler: (event: CategoryItemAddedToCategoryEnvelope) => void | Promise<void>): void;
|
|
3901
3926
|
interface CategoryItemRemovedFromCategoryEnvelope {
|
|
@@ -3928,7 +3953,6 @@ interface CategoryItemRemovedFromCategoryEnvelope {
|
|
|
3928
3953
|
* @webhook
|
|
3929
3954
|
* @eventType wix.categories.v1.category_item_removed_from_category
|
|
3930
3955
|
* @slug item_removed_from_category
|
|
3931
|
-
* @documentationMaturity preview
|
|
3932
3956
|
*/
|
|
3933
3957
|
declare function onCategoryItemRemovedFromCategory(handler: (event: CategoryItemRemovedFromCategoryEnvelope) => void | Promise<void>): void;
|
|
3934
3958
|
interface CategoryItemsArrangedInCategoryEnvelope {
|
|
@@ -3961,7 +3985,6 @@ interface CategoryItemsArrangedInCategoryEnvelope {
|
|
|
3961
3985
|
* @webhook
|
|
3962
3986
|
* @eventType wix.categories.v1.category_items_arranged_in_category
|
|
3963
3987
|
* @slug items_arranged_in_category
|
|
3964
|
-
* @documentationMaturity preview
|
|
3965
3988
|
*/
|
|
3966
3989
|
declare function onCategoryItemsArrangedInCategory(handler: (event: CategoryItemsArrangedInCategoryEnvelope) => void | Promise<void>): void;
|
|
3967
3990
|
interface CategoryUpdatedEnvelope {
|
|
@@ -3992,7 +4015,6 @@ interface CategoryUpdatedEnvelope {
|
|
|
3992
4015
|
* @webhook
|
|
3993
4016
|
* @eventType wix.categories.v1.category_updated
|
|
3994
4017
|
* @slug updated
|
|
3995
|
-
* @documentationMaturity preview
|
|
3996
4018
|
*/
|
|
3997
4019
|
declare function onCategoryUpdated(handler: (event: CategoryUpdatedEnvelope) => void | Promise<void>): void;
|
|
3998
4020
|
type CategoryNonNullablePaths = `itemCounter` | `breadcrumbsInfo.breadcrumbs` | `breadcrumbsInfo.breadcrumbs.${number}.categoryId` | `breadcrumbsInfo.breadcrumbs.${number}.categoryName` | `breadcrumbsInfo.breadcrumbs.${number}.categorySlug`;
|
|
@@ -4000,7 +4022,6 @@ type CategoryNonNullablePaths = `itemCounter` | `breadcrumbsInfo.breadcrumbs` |
|
|
|
4000
4022
|
* Creates a category.
|
|
4001
4023
|
* @param category - Category to create.
|
|
4002
4024
|
* @public
|
|
4003
|
-
* @documentationMaturity preview
|
|
4004
4025
|
* @requiredField category
|
|
4005
4026
|
* @requiredField category.name
|
|
4006
4027
|
* @requiredField category.parentCategory._id
|
|
@@ -4028,7 +4049,6 @@ interface CreateCategoryOptions {
|
|
|
4028
4049
|
* @param categoryId - Category ID.
|
|
4029
4050
|
* @param treeReference - Category tree reference details.
|
|
4030
4051
|
* @public
|
|
4031
|
-
* @documentationMaturity preview
|
|
4032
4052
|
* @requiredField categoryId
|
|
4033
4053
|
* @requiredField treeReference
|
|
4034
4054
|
* @requiredField treeReference.appNamespace
|
|
@@ -4054,7 +4074,6 @@ interface GetCategoryOptions {
|
|
|
4054
4074
|
* This ensures you're working with the latest category and prevents unintended overwrites.
|
|
4055
4075
|
* @param _id - Category ID.
|
|
4056
4076
|
* @public
|
|
4057
|
-
* @documentationMaturity preview
|
|
4058
4077
|
* @requiredField _id
|
|
4059
4078
|
* @requiredField category
|
|
4060
4079
|
* @requiredField category.revision
|
|
@@ -4184,7 +4203,6 @@ interface UpdateCategoryOptions {
|
|
|
4184
4203
|
* @param categoryId - Category ID.
|
|
4185
4204
|
* @param treeReference - Category tree reference details.
|
|
4186
4205
|
* @public
|
|
4187
|
-
* @documentationMaturity preview
|
|
4188
4206
|
* @requiredField categoryId
|
|
4189
4207
|
* @requiredField treeReference
|
|
4190
4208
|
* @requiredField treeReference.appNamespace
|
|
@@ -4206,7 +4224,6 @@ declare function deleteCategory(categoryId: string, treeReference: NonNullablePa
|
|
|
4206
4224
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
|
|
4207
4225
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4208
4226
|
* @public
|
|
4209
|
-
* @documentationMaturity preview
|
|
4210
4227
|
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4211
4228
|
* @applicableIdentity APP
|
|
4212
4229
|
* @applicableIdentity VISITOR
|
|
@@ -4244,65 +4261,46 @@ interface CategoriesQueryResult extends QueryCursorResult {
|
|
|
4244
4261
|
interface CategoriesQueryBuilder {
|
|
4245
4262
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4246
4263
|
* @param value - Value to compare against.
|
|
4247
|
-
* @documentationMaturity preview
|
|
4248
4264
|
*/
|
|
4249
4265
|
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4250
4266
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4251
4267
|
* @param value - Value to compare against.
|
|
4252
|
-
* @documentationMaturity preview
|
|
4253
4268
|
*/
|
|
4254
4269
|
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4255
4270
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4256
4271
|
* @param value - Value to compare against.
|
|
4257
|
-
* @documentationMaturity preview
|
|
4258
4272
|
*/
|
|
4259
4273
|
ge: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4260
4274
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4261
4275
|
* @param value - Value to compare against.
|
|
4262
|
-
* @documentationMaturity preview
|
|
4263
4276
|
*/
|
|
4264
4277
|
gt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4265
4278
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4266
4279
|
* @param value - Value to compare against.
|
|
4267
|
-
* @documentationMaturity preview
|
|
4268
4280
|
*/
|
|
4269
4281
|
le: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4270
4282
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4271
4283
|
* @param value - Value to compare against.
|
|
4272
|
-
* @documentationMaturity preview
|
|
4273
4284
|
*/
|
|
4274
4285
|
lt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4275
4286
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
4276
4287
|
* @param string - String to compare against. Case-insensitive.
|
|
4277
|
-
* @documentationMaturity preview
|
|
4278
4288
|
*/
|
|
4279
4289
|
startsWith: (propertyName: '_id' | 'name' | 'description' | 'parentCategory.id' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: string) => CategoriesQueryBuilder;
|
|
4280
4290
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4281
4291
|
* @param values - List of values to compare against.
|
|
4282
|
-
* @documentationMaturity preview
|
|
4283
4292
|
*/
|
|
4284
4293
|
hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any[]) => CategoriesQueryBuilder;
|
|
4285
|
-
/** @documentationMaturity preview */
|
|
4286
4294
|
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: any) => CategoriesQueryBuilder;
|
|
4287
|
-
/** @documentationMaturity preview */
|
|
4288
4295
|
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'visible' | 'parentCategory.id' | 'parentCategory.index' | 'slug' | 'treeReference.appNamespace' | 'treeReference.treeKey' | 'managingAppId', value: boolean) => CategoriesQueryBuilder;
|
|
4289
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4290
|
-
* @documentationMaturity preview
|
|
4291
|
-
*/
|
|
4296
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4292
4297
|
ascending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'name' | 'parentCategory.id' | 'parentCategory.index' | 'managingAppId'>) => CategoriesQueryBuilder;
|
|
4293
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4294
|
-
* @documentationMaturity preview
|
|
4295
|
-
*/
|
|
4298
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4296
4299
|
descending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'name' | 'parentCategory.id' | 'parentCategory.index' | 'managingAppId'>) => CategoriesQueryBuilder;
|
|
4297
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
4298
|
-
* @documentationMaturity preview
|
|
4299
|
-
*/
|
|
4300
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
4300
4301
|
limit: (limit: number) => CategoriesQueryBuilder;
|
|
4301
|
-
/** @param cursor - A pointer to specific record
|
|
4302
|
-
* @documentationMaturity preview
|
|
4303
|
-
*/
|
|
4302
|
+
/** @param cursor - A pointer to specific record */
|
|
4304
4303
|
skipTo: (cursor: string) => CategoriesQueryBuilder;
|
|
4305
|
-
/** @documentationMaturity preview */
|
|
4306
4304
|
find: () => Promise<CategoriesQueryResult>;
|
|
4307
4305
|
}
|
|
4308
4306
|
interface SearchCategoriesOptions {
|
|
@@ -4489,7 +4487,6 @@ type CategorySearch = {
|
|
|
4489
4487
|
* For field support for filters and sorting,
|
|
4490
4488
|
* see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
|
|
4491
4489
|
* @public
|
|
4492
|
-
* @documentationMaturity preview
|
|
4493
4490
|
* @requiredField options.treeReference
|
|
4494
4491
|
* @requiredField options.treeReference.appNamespace
|
|
4495
4492
|
* @permissionId CATEGORIES.CATEGORY_READ
|
|
@@ -4521,7 +4518,6 @@ interface CountCategoriesOptions {
|
|
|
4521
4518
|
* @param categoryId - ID of the category to move.
|
|
4522
4519
|
* @param treeReference - Category tree reference details.
|
|
4523
4520
|
* @public
|
|
4524
|
-
* @documentationMaturity preview
|
|
4525
4521
|
* @requiredField categoryId
|
|
4526
4522
|
* @requiredField options.position
|
|
4527
4523
|
* @requiredField treeReference
|
|
@@ -4563,7 +4559,6 @@ interface MoveCategoryOptions {
|
|
|
4563
4559
|
* This ensures you're working with the latest category and prevents unintended overwrites.
|
|
4564
4560
|
* @param categories - List of categories to update.
|
|
4565
4561
|
* @public
|
|
4566
|
-
* @documentationMaturity preview
|
|
4567
4562
|
* @requiredField categories
|
|
4568
4563
|
* @requiredField categories.category
|
|
4569
4564
|
* @requiredField categories.category._id
|
|
@@ -4603,7 +4598,6 @@ interface BulkUpdateCategoriesOptions {
|
|
|
4603
4598
|
* This ensures you're working with the latest category and prevents unintended overwrites.
|
|
4604
4599
|
* @param categoryId - Category ID.
|
|
4605
4600
|
* @public
|
|
4606
|
-
* @documentationMaturity preview
|
|
4607
4601
|
* @requiredField categoryId
|
|
4608
4602
|
* @requiredField options.revision
|
|
4609
4603
|
* @requiredField options.treeReference
|
|
@@ -4646,7 +4640,6 @@ interface UpdateCategoryVisibilityOptions {
|
|
|
4646
4640
|
* > **Note:** If one of the passed categories has a parent category that is not visible, the passed category will not be updated.
|
|
4647
4641
|
* @param categoryIds - IDs of the categories to update.
|
|
4648
4642
|
* @public
|
|
4649
|
-
* @documentationMaturity preview
|
|
4650
4643
|
* @requiredField categoryIds
|
|
4651
4644
|
* @requiredField options.treeReference
|
|
4652
4645
|
* @requiredField options.treeReference.appNamespace
|
|
@@ -4677,7 +4670,6 @@ interface BulkShowCategoriesOptions {
|
|
|
4677
4670
|
* @param categoryId - Category ID.
|
|
4678
4671
|
* @param items - List of items to add.
|
|
4679
4672
|
* @public
|
|
4680
|
-
* @documentationMaturity preview
|
|
4681
4673
|
* @requiredField categoryId
|
|
4682
4674
|
* @requiredField items
|
|
4683
4675
|
* @requiredField items.appId
|
|
@@ -4700,7 +4692,6 @@ interface BulkAddItemsToCategoryOptions {
|
|
|
4700
4692
|
* Adds a single item to multiple categories.
|
|
4701
4693
|
* @param item - Item to add.
|
|
4702
4694
|
* @public
|
|
4703
|
-
* @documentationMaturity preview
|
|
4704
4695
|
* @requiredField item
|
|
4705
4696
|
* @requiredField item.appId
|
|
4706
4697
|
* @requiredField item.catalogItemId
|
|
@@ -4731,7 +4722,6 @@ interface BulkAddItemToCategoriesOptions {
|
|
|
4731
4722
|
* @param categoryId - Category ID.
|
|
4732
4723
|
* @param items - List of items to remove.
|
|
4733
4724
|
* @public
|
|
4734
|
-
* @documentationMaturity preview
|
|
4735
4725
|
* @requiredField categoryId
|
|
4736
4726
|
* @requiredField items
|
|
4737
4727
|
* @requiredField items.appId
|
|
@@ -4754,7 +4744,6 @@ interface BulkRemoveItemsFromCategoryOptions {
|
|
|
4754
4744
|
* Removes a single item from multiple categories.
|
|
4755
4745
|
* @param item - Item to remove.
|
|
4756
4746
|
* @public
|
|
4757
|
-
* @documentationMaturity preview
|
|
4758
4747
|
* @requiredField item
|
|
4759
4748
|
* @requiredField item.appId
|
|
4760
4749
|
* @requiredField item.catalogItemId
|
|
@@ -4788,7 +4777,6 @@ interface BulkRemoveItemFromCategoriesOptions {
|
|
|
4788
4777
|
* @param categoryId - Category ID.
|
|
4789
4778
|
* @param treeReference - Category tree reference details.
|
|
4790
4779
|
* @public
|
|
4791
|
-
* @documentationMaturity preview
|
|
4792
4780
|
* @requiredField categoryId
|
|
4793
4781
|
* @requiredField treeReference
|
|
4794
4782
|
* @requiredField treeReference.appNamespace
|
|
@@ -4831,7 +4819,6 @@ interface ListItemsInCategoryOptionsPagingMethodOneOf {
|
|
|
4831
4819
|
* Retrieves a list of categories that contain the specified item.
|
|
4832
4820
|
* @param item - Item reference info.
|
|
4833
4821
|
* @public
|
|
4834
|
-
* @documentationMaturity preview
|
|
4835
4822
|
* @requiredField item
|
|
4836
4823
|
* @requiredField options
|
|
4837
4824
|
* @requiredField options.treeReference
|
|
@@ -4850,7 +4837,6 @@ interface ListCategoriesForItemOptions {
|
|
|
4850
4837
|
* Retrieves a map where the keys are ItemReferences, and the values are lists of categories that contain the corresponding item.
|
|
4851
4838
|
* @param items - List of Item reference info.
|
|
4852
4839
|
* @public
|
|
4853
|
-
* @documentationMaturity preview
|
|
4854
4840
|
* @requiredField items
|
|
4855
4841
|
* @requiredField items.appId
|
|
4856
4842
|
* @requiredField items.catalogItemId
|
|
@@ -4870,7 +4856,6 @@ interface ListCategoriesForItemsOptions {
|
|
|
4870
4856
|
/**
|
|
4871
4857
|
* Retrieves a list of all trees installed on the site, sorted by `appNamespace` in ascending order.
|
|
4872
4858
|
* @public
|
|
4873
|
-
* @documentationMaturity preview
|
|
4874
4859
|
* @permissionId CATEGORIES.CATEGORY_READ
|
|
4875
4860
|
* @applicableIdentity APP
|
|
4876
4861
|
* @applicableIdentity VISITOR
|
|
@@ -4885,7 +4870,6 @@ declare function listTrees(): Promise<NonNullablePaths<ListTreesResponse, `trees
|
|
|
4885
4870
|
* @param categoryId - Category ID.
|
|
4886
4871
|
* @param treeReference - Category tree reference details.
|
|
4887
4872
|
* @public
|
|
4888
|
-
* @documentationMaturity preview
|
|
4889
4873
|
* @requiredField categoryId
|
|
4890
4874
|
* @requiredField treeReference
|
|
4891
4875
|
* @requiredField treeReference.appNamespace
|
|
@@ -4908,7 +4892,6 @@ interface SetArrangedItemsOptions {
|
|
|
4908
4892
|
* @param categoryId - Category ID.
|
|
4909
4893
|
* @param treeReference - Category tree reference details.
|
|
4910
4894
|
* @public
|
|
4911
|
-
* @documentationMaturity preview
|
|
4912
4895
|
* @requiredField categoryId
|
|
4913
4896
|
* @requiredField treeReference
|
|
4914
4897
|
* @requiredField treeReference.appNamespace
|
|
@@ -4919,4 +4902,4 @@ interface SetArrangedItemsOptions {
|
|
|
4919
4902
|
*/
|
|
4920
4903
|
declare function getArrangedItems(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`>): Promise<NonNullablePaths<GetArrangedItemsResponse, `items` | `items.${number}.catalogItemId` | `items.${number}.appId`>>;
|
|
4921
4904
|
|
|
4922
|
-
export { type CategoryCreatedEnvelope as $, type BulkRemoveItemsFromCategoryResponse as A, type BulkUpdateCategoriesOptions as B, type Category as C, type DeleteCategoryApplicationErrors as D, type BulkRemoveItemsFromCategoryApplicationErrors as E, type BulkRemoveItemFromCategoriesOptions as F, type GetCategoryOptions as G, type BulkRemoveItemFromCategoriesResponse as H, type ItemReference as I, type BulkRemoveItemFromCategoriesApplicationErrors as J, type ListItemsInCategoryResponse as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type ListCategoriesForItemOptions as N, type ListCategoriesForItemResponse as O, type ListCategoriesForItemsOptions as P, type QueryCategoriesOptions as Q, type ListCategoriesForItemsResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type ListTreesResponse as V, type SetArrangedItemsOptions as W, type SetArrangedItemsResponse as X, type SetArrangedItemsApplicationErrors as Y, type GetArrangedItemsResponse as Z, type CategoryMovedEnvelope as _, type CreateCategoryOptions as a, type RichContent as a$, type CategoryDeletedEnvelope as a0, type CategoryItemAddedToCategoryEnvelope as a1, type CategoryItemRemovedFromCategoryEnvelope as a2, type CategoryItemsArrangedInCategoryEnvelope as a3, type CategoryUpdatedEnvelope as a4, NodeType as a5, WidthType as a6, PluginContainerDataAlignment as a7, ButtonDataType as a8, Target as a9, Layout as aA, AppType as aB, InitialExpandedItems as aC, Direction as aD, VerticalAlignment as aE, NullValue as aF, SingleEntityOpsRequestedFields as aG, SortOrder as aH, RequestedFields as aI, SortType as aJ, SortDirection as aK, MissingValues as aL, ScalarType as aM, NestedAggregationType as aN, Interval as aO, AggregationType as aP, Mode as aQ, Position as aR, MoveItemInCategoryRequestPosition as aS, WebhookIdentityType as aT, type BreadcrumbsInfo as aU, type Breadcrumb as aV, type ParentCategory as aW, type SeoSchema as aX, type Keyword as aY, type Tag as aZ, type Settings as a_, TextAlignment as aa, LineStyle as ab, Width as ac, DividerDataAlignment as ad, ViewMode as ae, LayoutType as af, Orientation as ag, Crop as ah, ThumbnailsAlignment as ai, GIFType as aj, Source as ak, StylesPosition as al, MapType as am, ViewRole as an, VoteRole as ao, PollLayoutType as ap, PollLayoutDirection as aq, BackgroundType as ar, DecorationType as as, FontType as at, ImageStylesPosition as au, AspectRatio as av, Resizing as aw, Placement as ax, Type as ay, Alignment as az, type CreateCategoryApplicationErrors as b, type ColorData as b$, type Node as b0, type NodeDataOneOf as b1, type NodeStyle as b2, type ButtonData as b3, type Border as b4, type Colors as b5, type PluginContainerData as b6, type PluginContainerDataWidth as b7, type PluginContainerDataWidthDataOneOf as b8, type Spoiler as b9, type HTMLDataDataOneOf as bA, type ImageData as bB, type StylesBorder as bC, type ImageDataStyles as bD, type LinkPreviewData as bE, type LinkPreviewDataStyles as bF, type MapData as bG, type MapSettings as bH, type ParagraphData as bI, type PollData as bJ, type Permissions as bK, type Option as bL, type PollSettings as bM, type PollLayout as bN, type OptionLayout as bO, type Gradient as bP, type Background as bQ, type BackgroundBackgroundOneOf as bR, type PollDesign as bS, type OptionDesign as bT, type Poll as bU, type PollDataLayout as bV, type Design as bW, type TextData as bX, type Decoration as bY, type DecorationDataOneOf as bZ, type AnchorData as b_, type Height as ba, type Styles as bb, type Link as bc, type LinkDataOneOf as bd, type Rel as be, type CodeBlockData as bf, type TextStyle as bg, type DividerData as bh, type FileData as bi, type FileSource as bj, type FileSourceDataOneOf as bk, type PDFSettings as bl, type GalleryData as bm, type Media as bn, type Image as bo, type Video as bp, type Item as bq, type ItemDataOneOf as br, type GalleryOptions as bs, type GalleryOptionsLayout as bt, type ItemStyle as bu, type Thumbnails as bv, type GIFData as bw, type GIF as bx, type HeadingData as by, type HTMLData as bz, type UpdateCategoryOptions as c, type ListCompactCategoriesByIdsResponse as c$, type LinkData as c0, type MentionData as c1, type FontSizeData as c2, type SpoilerData as c3, type AppEmbedData as c4, type AppEmbedDataAppDataOneOf as c5, type BookingData as c6, type EventData as c7, type ButtonStyles as c8, type ImageStyles as c9, type Page as cA, type URI as cB, type File as cC, type CustomTag as cD, type CategoryMoved as cE, type ItemAddedToCategory as cF, type ItemsAddedToCategory as cG, type ItemRemovedFromCategory as cH, type ItemsRemovedFromCategory as cI, type ItemsArrangedInCategory as cJ, type CreateCategoryRequest as cK, type CreateCategoryResponse as cL, type GetCategoryRequest as cM, type GetCategoryResponse as cN, type UpdateCategoryRequest as cO, type UpdateCategoryResponse as cP, type DeleteCategoryRequest as cQ, type DeleteCategoryResponse as cR, type QueryCategoriesRequest as cS, type CursorQuery as cT, type CursorQueryPagingMethodOneOf as cU, type Sorting as cV, type CursorPaging as cW, type QueryCategoriesResponse as cX, type CursorPagingMetadata as cY, type Cursors as cZ, type ListCompactCategoriesByIdsRequest as c_, type RibbonStyles as ca, type CardStyles as cb, type VideoData as cc, type PlaybackOptions as cd, type EmbedData as ce, type Oembed as cf, type CollapsibleListData as cg, type TableData as ch, type Dimensions as ci, type TableCellData as cj, type CellStyle as ck, type BorderColors as cl, type ListValue as cm, type AudioData as cn, type OrderedListData as co, type BulletedListData as cp, type BlockquoteData as cq, type CaptionData as cr, type LayoutCellData as cs, type Metadata as ct, type DocumentStyle as cu, type TextNodeStyle as cv, type ExtendedFields as cw, type InvalidateCache as cx, type InvalidateCacheGetByOneOf as cy, type App as cz, type UpdateCategoryApplicationErrors as d, type BulkRemoveItemFromCategoriesRequest as d$, type CompactCategory as d0, type SearchCategoriesRequest as d1, type CursorSearch as d2, type CursorSearchPagingMethodOneOf as d3, type Aggregation as d4, type AggregationKindOneOf as d5, type RangeBucket as d6, type IncludeMissingValuesOptions as d7, type ValueAggregation as d8, type ValueAggregationOptionsOneOf as d9, type NestedResults as dA, type AggregationResults as dB, type AggregationResultsResultOneOf as dC, type DeprecatedSearchCategoriesWithOffsetRequest as dD, type OffsetSearch as dE, type OffsetSearchPagingMethodOneOf as dF, type Paging as dG, type DeprecatedSearchCategoriesWithOffsetResponse as dH, type PagingMetadata as dI, type CountCategoriesRequest as dJ, type MoveCategoryRequest as dK, type BulkUpdateCategoriesRequest as dL, type BulkCategoriesResult as dM, type ItemMetadata as dN, type ApplicationError as dO, type BulkActionMetadata as dP, type UpdateCategoryVisibilityRequest as dQ, type BulkShowCategoriesRequest as dR, type BulkDeleteCategoriesRequest as dS, type BulkDeleteCategoriesResponse as dT, type BulkDeleteCategoriesResponseBulkCategoriesResult as dU, type BulkAddItemsToCategoryRequest as dV, type BulkItemsToCategoryResult as dW, type ItemReferenceMetadata as dX, type BulkAddItemToCategoriesRequest as dY, type BulkItemToCategoriesResult as dZ, type BulkRemoveItemsFromCategoryRequest as d_, type RangeAggregation as da, type ScalarAggregation as db, type DateHistogramAggregation as dc, type NestedAggregationItem as dd, type NestedAggregationItemKindOneOf as de, type NestedAggregation as df, type SearchDetails as dg, type AggregationData as dh, type ValueAggregationResult as di, type RangeAggregationResult as dj, type NestedAggregationResults as dk, type NestedAggregationResultsResultOneOf as dl, type ValueResults as dm, type RangeResults as dn, type AggregationResultsScalarResult as dp, type NestedValueAggregationResult as dq, type ValueResult as dr, type RangeResult as ds, type ScalarResult as dt, type NestedResultValue as du, type NestedResultValueResultOneOf as dv, type Results as dw, type DateHistogramResult as dx, type GroupByValueResults as dy, type DateHistogramResults as dz, type CategoriesQueryBuilder as e, type InitialExpandedItemsWithLiterals as e$, type ListItemsInCategoryRequest as e0, type ListItemsInCategoryRequestPagingMethodOneOf as e1, type PagingMetadataV2 as e2, type ListCategoriesForItemRequest as e3, type ListCategoriesForItemsRequest as e4, type MapItemToCategories as e5, type ListTreesRequest as e6, type MoveItemInCategoryRequest as e7, type MoveItemInCategoryResponse as e8, type SetArrangedItemsRequest as e9, type LineStyleWithLiterals as eA, type WidthWithLiterals as eB, type DividerDataAlignmentWithLiterals as eC, type ViewModeWithLiterals as eD, type LayoutTypeWithLiterals as eE, type OrientationWithLiterals as eF, type CropWithLiterals as eG, type ThumbnailsAlignmentWithLiterals as eH, type GIFTypeWithLiterals as eI, type SourceWithLiterals as eJ, type StylesPositionWithLiterals as eK, type MapTypeWithLiterals as eL, type ViewRoleWithLiterals as eM, type VoteRoleWithLiterals as eN, type PollLayoutTypeWithLiterals as eO, type PollLayoutDirectionWithLiterals as eP, type BackgroundTypeWithLiterals as eQ, type DecorationTypeWithLiterals as eR, type FontTypeWithLiterals as eS, type ImageStylesPositionWithLiterals as eT, type AspectRatioWithLiterals as eU, type ResizingWithLiterals as eV, type PlacementWithLiterals as eW, type TypeWithLiterals as eX, type AlignmentWithLiterals as eY, type LayoutWithLiterals as eZ, type AppTypeWithLiterals as e_, type GetArrangedItemsRequest as ea, type GetCategoriesTreeRequest as eb, type GetCategoriesTreeResponse as ec, type CategoryTreeNode as ed, type DomainEvent as ee, type DomainEventBodyOneOf as ef, type EntityCreatedEvent as eg, type RestoreInfo as eh, type EntityUpdatedEvent as ei, type EntityDeletedEvent as ej, type ActionEvent as ek, type Empty as el, type MessageEnvelope as em, type IdentificationData as en, type IdentificationDataIdOneOf as eo, type BaseEventMetadata as ep, type EventMetadata as eq, type CategoriesQueryResult as er, type CategorySearchSpec as es, type ListItemsInCategoryOptionsPagingMethodOneOf as et, type NodeTypeWithLiterals as eu, type WidthTypeWithLiterals as ev, type PluginContainerDataAlignmentWithLiterals as ew, type ButtonDataTypeWithLiterals as ex, type TargetWithLiterals as ey, type TextAlignmentWithLiterals as ez, type CategorySearch as f, type DirectionWithLiterals as f0, type VerticalAlignmentWithLiterals as f1, type NullValueWithLiterals as f2, type SingleEntityOpsRequestedFieldsWithLiterals as f3, type SortOrderWithLiterals as f4, type RequestedFieldsWithLiterals as f5, type SortTypeWithLiterals as f6, type SortDirectionWithLiterals as f7, type MissingValuesWithLiterals as f8, type ScalarTypeWithLiterals as f9, bulkAddItemToCategories as fA, bulkRemoveItemsFromCategory as fB, bulkRemoveItemFromCategories as fC, listItemsInCategory as fD, listCategoriesForItem as fE, listCategoriesForItems as fF, listTrees as fG, setArrangedItems as fH, getArrangedItems as fI, type NestedAggregationTypeWithLiterals as fa, type IntervalWithLiterals as fb, type AggregationTypeWithLiterals as fc, type ModeWithLiterals as fd, type PositionWithLiterals as fe, type MoveItemInCategoryRequestPositionWithLiterals as ff, type WebhookIdentityTypeWithLiterals as fg, onCategoryMoved as fh, onCategoryCreated as fi, onCategoryDeleted as fj, onCategoryItemAddedToCategory as fk, onCategoryItemRemovedFromCategory as fl, onCategoryItemsArrangedInCategory as fm, onCategoryUpdated as fn, createCategory as fo, getCategory as fp, updateCategory as fq, deleteCategory as fr, queryCategories as fs, type CommonSearchWithEntityContext as ft, countCategories as fu, moveCategory as fv, bulkUpdateCategories as fw, updateCategoryVisibility as fx, bulkShowCategories as fy, bulkAddItemsToCategory as fz, type SearchCategoriesResponse as g, type CountCategoriesOptions as h, type CountCategoriesResponse as i, type MoveCategoryResponse as j, type MoveCategoryApplicationErrors as k, type MaskedCategory as l, type BulkUpdateCategoriesResponse as m, type BulkUpdateCategoriesApplicationErrors as n, type UpdateCategoryVisibilityOptions as o, type UpdateCategoryVisibilityResponse as p, type UpdateCategoryVisibilityApplicationErrors as q, type BulkShowCategoriesOptions as r, type BulkShowCategoriesResponse as s, type BulkAddItemsToCategoryOptions as t, type BulkAddItemsToCategoryResponse as u, type BulkAddItemsToCategoryApplicationErrors as v, type BulkAddItemToCategoriesOptions as w, type BulkAddItemToCategoriesResponse as x, type BulkAddItemToCategoriesApplicationErrors as y, type BulkRemoveItemsFromCategoryOptions as z };
|
|
4905
|
+
export { type CategoryCreatedEnvelope as $, type BulkRemoveItemsFromCategoryResponse as A, type BulkUpdateCategoriesOptions as B, type Category as C, type DeleteCategoryApplicationErrors as D, type BulkRemoveItemsFromCategoryApplicationErrors as E, type BulkRemoveItemFromCategoriesOptions as F, type GetCategoryOptions as G, type BulkRemoveItemFromCategoriesResponse as H, type ItemReference as I, type BulkRemoveItemFromCategoriesApplicationErrors as J, type ListItemsInCategoryResponse as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type ListCategoriesForItemOptions as N, type ListCategoriesForItemResponse as O, type ListCategoriesForItemsOptions as P, type QueryCategoriesOptions as Q, type ListCategoriesForItemsResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type ListTreesResponse as V, type SetArrangedItemsOptions as W, type SetArrangedItemsResponse as X, type SetArrangedItemsApplicationErrors as Y, type GetArrangedItemsResponse as Z, type CategoryMovedEnvelope as _, type CreateCategoryOptions as a, type RichContent as a$, type CategoryDeletedEnvelope as a0, type CategoryItemAddedToCategoryEnvelope as a1, type CategoryItemRemovedFromCategoryEnvelope as a2, type CategoryItemsArrangedInCategoryEnvelope as a3, type CategoryUpdatedEnvelope as a4, NodeType as a5, WidthType as a6, PluginContainerDataAlignment as a7, ButtonDataType as a8, Target as a9, Layout as aA, AppType as aB, InitialExpandedItems as aC, Direction as aD, VerticalAlignment as aE, NullValue as aF, SingleEntityOpsRequestedFields as aG, SortOrder as aH, RequestedFields as aI, SortType as aJ, SortDirection as aK, MissingValues as aL, ScalarType as aM, NestedAggregationType as aN, Interval as aO, AggregationType as aP, Mode as aQ, Position as aR, MoveItemInCategoryRequestPosition as aS, WebhookIdentityType as aT, type BreadcrumbsInfo as aU, type Breadcrumb as aV, type ParentCategory as aW, type SeoSchema as aX, type Keyword as aY, type Tag as aZ, type Settings as a_, TextAlignment as aa, LineStyle as ab, Width as ac, DividerDataAlignment as ad, ViewMode as ae, LayoutType as af, Orientation as ag, Crop as ah, ThumbnailsAlignment as ai, GIFType as aj, Source as ak, StylesPosition as al, MapType as am, ViewRole as an, VoteRole as ao, PollLayoutType as ap, PollLayoutDirection as aq, BackgroundType as ar, DecorationType as as, FontType as at, ImageStylesPosition as au, AspectRatio as av, Resizing as aw, Placement as ax, Type as ay, Alignment as az, type CreateCategoryApplicationErrors as b, type ColorData as b$, type Node as b0, type NodeDataOneOf as b1, type NodeStyle as b2, type ButtonData as b3, type Border as b4, type Colors as b5, type PluginContainerData as b6, type PluginContainerDataWidth as b7, type PluginContainerDataWidthDataOneOf as b8, type Spoiler as b9, type HTMLDataDataOneOf as bA, type ImageData as bB, type StylesBorder as bC, type ImageDataStyles as bD, type LinkPreviewData as bE, type LinkPreviewDataStyles as bF, type MapData as bG, type MapSettings as bH, type ParagraphData as bI, type PollData as bJ, type Permissions as bK, type Option as bL, type PollSettings as bM, type PollLayout as bN, type OptionLayout as bO, type Gradient as bP, type Background as bQ, type BackgroundBackgroundOneOf as bR, type PollDesign as bS, type OptionDesign as bT, type Poll as bU, type PollDataLayout as bV, type Design as bW, type TextData as bX, type Decoration as bY, type DecorationDataOneOf as bZ, type AnchorData as b_, type Height as ba, type Styles as bb, type Link as bc, type LinkDataOneOf as bd, type Rel as be, type CodeBlockData as bf, type TextStyle as bg, type DividerData as bh, type FileData as bi, type FileSource as bj, type FileSourceDataOneOf as bk, type PDFSettings as bl, type GalleryData as bm, type Media as bn, type Image as bo, type Video as bp, type Item as bq, type ItemDataOneOf as br, type GalleryOptions as bs, type GalleryOptionsLayout as bt, type ItemStyle as bu, type Thumbnails as bv, type GIFData as bw, type GIF as bx, type HeadingData as by, type HTMLData as bz, type UpdateCategoryOptions as c, type ListCompactCategoriesByIdsRequest as c$, type LinkData as c0, type MentionData as c1, type FontSizeData as c2, type SpoilerData as c3, type AppEmbedData as c4, type AppEmbedDataAppDataOneOf as c5, type BookingData as c6, type EventData as c7, type ButtonStyles as c8, type ImageStyles as c9, type App as cA, type Page as cB, type URI as cC, type File as cD, type CustomTag as cE, type CategoryMoved as cF, type ItemAddedToCategory as cG, type ItemsAddedToCategory as cH, type ItemRemovedFromCategory as cI, type ItemsRemovedFromCategory as cJ, type ItemsArrangedInCategory as cK, type CreateCategoryRequest as cL, type CreateCategoryResponse as cM, type GetCategoryRequest as cN, type GetCategoryResponse as cO, type UpdateCategoryRequest as cP, type UpdateCategoryResponse as cQ, type DeleteCategoryRequest as cR, type DeleteCategoryResponse as cS, type QueryCategoriesRequest as cT, type CursorQuery as cU, type CursorQueryPagingMethodOneOf as cV, type Sorting as cW, type CursorPaging as cX, type QueryCategoriesResponse as cY, type CursorPagingMetadata as cZ, type Cursors as c_, type RibbonStyles as ca, type CardStyles as cb, type PricingData as cc, type VideoData as cd, type PlaybackOptions as ce, type EmbedData as cf, type Oembed as cg, type CollapsibleListData as ch, type TableData as ci, type Dimensions as cj, type TableCellData as ck, type CellStyle as cl, type BorderColors as cm, type ListValue as cn, type AudioData as co, type OrderedListData as cp, type BulletedListData as cq, type BlockquoteData as cr, type CaptionData as cs, type LayoutCellData as ct, type Metadata as cu, type DocumentStyle as cv, type TextNodeStyle as cw, type ExtendedFields as cx, type InvalidateCache as cy, type InvalidateCacheGetByOneOf as cz, type UpdateCategoryApplicationErrors as d, type BulkRemoveItemsFromCategoryRequest as d$, type ListCompactCategoriesByIdsResponse as d0, type CompactCategory as d1, type SearchCategoriesRequest as d2, type CursorSearch as d3, type CursorSearchPagingMethodOneOf as d4, type Aggregation as d5, type AggregationKindOneOf as d6, type RangeBucket as d7, type IncludeMissingValuesOptions as d8, type ValueAggregation as d9, type DateHistogramResults as dA, type NestedResults as dB, type AggregationResults as dC, type AggregationResultsResultOneOf as dD, type DeprecatedSearchCategoriesWithOffsetRequest as dE, type OffsetSearch as dF, type OffsetSearchPagingMethodOneOf as dG, type Paging as dH, type DeprecatedSearchCategoriesWithOffsetResponse as dI, type PagingMetadata as dJ, type CountCategoriesRequest as dK, type MoveCategoryRequest as dL, type BulkUpdateCategoriesRequest as dM, type BulkCategoriesResult as dN, type ItemMetadata as dO, type ApplicationError as dP, type BulkActionMetadata as dQ, type UpdateCategoryVisibilityRequest as dR, type BulkShowCategoriesRequest as dS, type BulkDeleteCategoriesRequest as dT, type BulkDeleteCategoriesResponse as dU, type BulkDeleteCategoriesResponseBulkCategoriesResult as dV, type BulkAddItemsToCategoryRequest as dW, type BulkItemsToCategoryResult as dX, type ItemReferenceMetadata as dY, type BulkAddItemToCategoriesRequest as dZ, type BulkItemToCategoriesResult as d_, type ValueAggregationOptionsOneOf as da, type RangeAggregation as db, type ScalarAggregation as dc, type DateHistogramAggregation as dd, type NestedAggregationItem as de, type NestedAggregationItemKindOneOf as df, type NestedAggregation as dg, type SearchDetails as dh, type AggregationData as di, type ValueAggregationResult as dj, type RangeAggregationResult as dk, type NestedAggregationResults as dl, type NestedAggregationResultsResultOneOf as dm, type ValueResults as dn, type RangeResults as dp, type AggregationResultsScalarResult as dq, type NestedValueAggregationResult as dr, type ValueResult as ds, type RangeResult as dt, type ScalarResult as du, type NestedResultValue as dv, type NestedResultValueResultOneOf as dw, type Results as dx, type DateHistogramResult as dy, type GroupByValueResults as dz, type CategoriesQueryBuilder as e, type AppTypeWithLiterals as e$, type BulkRemoveItemFromCategoriesRequest as e0, type ListItemsInCategoryRequest as e1, type ListItemsInCategoryRequestPagingMethodOneOf as e2, type PagingMetadataV2 as e3, type ListCategoriesForItemRequest as e4, type ListCategoriesForItemsRequest as e5, type MapItemToCategories as e6, type ListTreesRequest as e7, type MoveItemInCategoryRequest as e8, type MoveItemInCategoryResponse as e9, type TextAlignmentWithLiterals as eA, type LineStyleWithLiterals as eB, type WidthWithLiterals as eC, type DividerDataAlignmentWithLiterals as eD, type ViewModeWithLiterals as eE, type LayoutTypeWithLiterals as eF, type OrientationWithLiterals as eG, type CropWithLiterals as eH, type ThumbnailsAlignmentWithLiterals as eI, type GIFTypeWithLiterals as eJ, type SourceWithLiterals as eK, type StylesPositionWithLiterals as eL, type MapTypeWithLiterals as eM, type ViewRoleWithLiterals as eN, type VoteRoleWithLiterals as eO, type PollLayoutTypeWithLiterals as eP, type PollLayoutDirectionWithLiterals as eQ, type BackgroundTypeWithLiterals as eR, type DecorationTypeWithLiterals as eS, type FontTypeWithLiterals as eT, type ImageStylesPositionWithLiterals as eU, type AspectRatioWithLiterals as eV, type ResizingWithLiterals as eW, type PlacementWithLiterals as eX, type TypeWithLiterals as eY, type AlignmentWithLiterals as eZ, type LayoutWithLiterals as e_, type SetArrangedItemsRequest as ea, type GetArrangedItemsRequest as eb, type GetCategoriesTreeRequest as ec, type GetCategoriesTreeResponse as ed, type CategoryTreeNode as ee, type DomainEvent as ef, type DomainEventBodyOneOf as eg, type EntityCreatedEvent as eh, type RestoreInfo as ei, type EntityUpdatedEvent as ej, type EntityDeletedEvent as ek, type ActionEvent as el, type Empty as em, type MessageEnvelope as en, type IdentificationData as eo, type IdentificationDataIdOneOf as ep, type BaseEventMetadata as eq, type EventMetadata as er, type CategoriesQueryResult as es, type CategorySearchSpec as et, type ListItemsInCategoryOptionsPagingMethodOneOf as eu, type NodeTypeWithLiterals as ev, type WidthTypeWithLiterals as ew, type PluginContainerDataAlignmentWithLiterals as ex, type ButtonDataTypeWithLiterals as ey, type TargetWithLiterals as ez, type CategorySearch as f, type InitialExpandedItemsWithLiterals as f0, type DirectionWithLiterals as f1, type VerticalAlignmentWithLiterals as f2, type NullValueWithLiterals as f3, type SingleEntityOpsRequestedFieldsWithLiterals as f4, type SortOrderWithLiterals as f5, type RequestedFieldsWithLiterals as f6, type SortTypeWithLiterals as f7, type SortDirectionWithLiterals as f8, type MissingValuesWithLiterals as f9, bulkAddItemsToCategory as fA, bulkAddItemToCategories as fB, bulkRemoveItemsFromCategory as fC, bulkRemoveItemFromCategories as fD, listItemsInCategory as fE, listCategoriesForItem as fF, listCategoriesForItems as fG, listTrees as fH, setArrangedItems as fI, getArrangedItems as fJ, type ScalarTypeWithLiterals as fa, type NestedAggregationTypeWithLiterals as fb, type IntervalWithLiterals as fc, type AggregationTypeWithLiterals as fd, type ModeWithLiterals as fe, type PositionWithLiterals as ff, type MoveItemInCategoryRequestPositionWithLiterals as fg, type WebhookIdentityTypeWithLiterals as fh, onCategoryMoved as fi, onCategoryCreated as fj, onCategoryDeleted as fk, onCategoryItemAddedToCategory as fl, onCategoryItemRemovedFromCategory as fm, onCategoryItemsArrangedInCategory as fn, onCategoryUpdated as fo, createCategory as fp, getCategory as fq, updateCategory as fr, deleteCategory as fs, queryCategories as ft, type CommonSearchWithEntityContext as fu, countCategories as fv, moveCategory as fw, bulkUpdateCategories as fx, updateCategoryVisibility as fy, bulkShowCategories as fz, type SearchCategoriesResponse as g, type CountCategoriesOptions as h, type CountCategoriesResponse as i, type MoveCategoryResponse as j, type MoveCategoryApplicationErrors as k, type MaskedCategory as l, type BulkUpdateCategoriesResponse as m, type BulkUpdateCategoriesApplicationErrors as n, type UpdateCategoryVisibilityOptions as o, type UpdateCategoryVisibilityResponse as p, type UpdateCategoryVisibilityApplicationErrors as q, type BulkShowCategoriesOptions as r, type BulkShowCategoriesResponse as s, type BulkAddItemsToCategoryOptions as t, type BulkAddItemsToCategoryResponse as u, type BulkAddItemsToCategoryApplicationErrors as v, type BulkAddItemToCategoriesOptions as w, type BulkAddItemToCategoriesResponse as x, type BulkAddItemToCategoriesApplicationErrors as y, type BulkRemoveItemsFromCategoryOptions as z };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { C as Category, a as CreateCategoryOptions, b as CreateCategoryApplicationErrors, T as TreeReference, G as GetCategoryOptions, U as UpdateCategory, c as UpdateCategoryOptions, d as UpdateCategoryApplicationErrors, D as DeleteCategoryApplicationErrors, Q as QueryCategoriesOptions, e as CategoriesQueryBuilder, f as CategorySearch, S as SearchCategoriesOptions, g as SearchCategoriesResponse, h as CountCategoriesOptions, i as CountCategoriesResponse, M as MoveCategoryOptions, j as MoveCategoryResponse, k as MoveCategoryApplicationErrors, l as MaskedCategory, B as BulkUpdateCategoriesOptions, m as BulkUpdateCategoriesResponse, n as BulkUpdateCategoriesApplicationErrors, o as UpdateCategoryVisibilityOptions, p as UpdateCategoryVisibilityResponse, q as UpdateCategoryVisibilityApplicationErrors, r as BulkShowCategoriesOptions, s as BulkShowCategoriesResponse, I as ItemReference, t as BulkAddItemsToCategoryOptions, u as BulkAddItemsToCategoryResponse, v as BulkAddItemsToCategoryApplicationErrors, w as BulkAddItemToCategoriesOptions, x as BulkAddItemToCategoriesResponse, y as BulkAddItemToCategoriesApplicationErrors, z as BulkRemoveItemsFromCategoryOptions, A as BulkRemoveItemsFromCategoryResponse, E as BulkRemoveItemsFromCategoryApplicationErrors, F as BulkRemoveItemFromCategoriesOptions, H as BulkRemoveItemFromCategoriesResponse, J as BulkRemoveItemFromCategoriesApplicationErrors, L as ListItemsInCategoryOptions, K as ListItemsInCategoryResponse, N as ListCategoriesForItemOptions, O as ListCategoriesForItemResponse, P as ListCategoriesForItemsOptions, R as ListCategoriesForItemsResponse, V as ListTreesResponse, W as SetArrangedItemsOptions, X as SetArrangedItemsResponse, Y as SetArrangedItemsApplicationErrors, Z as GetArrangedItemsResponse, _ as CategoryMovedEnvelope, $ as CategoryCreatedEnvelope, a0 as CategoryDeletedEnvelope, a1 as CategoryItemAddedToCategoryEnvelope, a2 as CategoryItemRemovedFromCategoryEnvelope, a3 as CategoryItemsArrangedInCategoryEnvelope, a4 as CategoryUpdatedEnvelope } from './categories-v1-category-categories.universal-
|
|
3
|
-
export {
|
|
2
|
+
import { C as Category, a as CreateCategoryOptions, b as CreateCategoryApplicationErrors, T as TreeReference, G as GetCategoryOptions, U as UpdateCategory, c as UpdateCategoryOptions, d as UpdateCategoryApplicationErrors, D as DeleteCategoryApplicationErrors, Q as QueryCategoriesOptions, e as CategoriesQueryBuilder, f as CategorySearch, S as SearchCategoriesOptions, g as SearchCategoriesResponse, h as CountCategoriesOptions, i as CountCategoriesResponse, M as MoveCategoryOptions, j as MoveCategoryResponse, k as MoveCategoryApplicationErrors, l as MaskedCategory, B as BulkUpdateCategoriesOptions, m as BulkUpdateCategoriesResponse, n as BulkUpdateCategoriesApplicationErrors, o as UpdateCategoryVisibilityOptions, p as UpdateCategoryVisibilityResponse, q as UpdateCategoryVisibilityApplicationErrors, r as BulkShowCategoriesOptions, s as BulkShowCategoriesResponse, I as ItemReference, t as BulkAddItemsToCategoryOptions, u as BulkAddItemsToCategoryResponse, v as BulkAddItemsToCategoryApplicationErrors, w as BulkAddItemToCategoriesOptions, x as BulkAddItemToCategoriesResponse, y as BulkAddItemToCategoriesApplicationErrors, z as BulkRemoveItemsFromCategoryOptions, A as BulkRemoveItemsFromCategoryResponse, E as BulkRemoveItemsFromCategoryApplicationErrors, F as BulkRemoveItemFromCategoriesOptions, H as BulkRemoveItemFromCategoriesResponse, J as BulkRemoveItemFromCategoriesApplicationErrors, L as ListItemsInCategoryOptions, K as ListItemsInCategoryResponse, N as ListCategoriesForItemOptions, O as ListCategoriesForItemResponse, P as ListCategoriesForItemsOptions, R as ListCategoriesForItemsResponse, V as ListTreesResponse, W as SetArrangedItemsOptions, X as SetArrangedItemsResponse, Y as SetArrangedItemsApplicationErrors, Z as GetArrangedItemsResponse, _ as CategoryMovedEnvelope, $ as CategoryCreatedEnvelope, a0 as CategoryDeletedEnvelope, a1 as CategoryItemAddedToCategoryEnvelope, a2 as CategoryItemRemovedFromCategoryEnvelope, a3 as CategoryItemsArrangedInCategoryEnvelope, a4 as CategoryUpdatedEnvelope } from './categories-v1-category-categories.universal-C77jUy-2.js';
|
|
3
|
+
export { el as ActionEvent, d5 as Aggregation, di as AggregationData, d6 as AggregationKindOneOf, dC as AggregationResults, dD as AggregationResultsResultOneOf, dq as AggregationResultsScalarResult, aP as AggregationType, az as Alignment, b_ as AnchorData, cA as App, c4 as AppEmbedData, c5 as AppEmbedDataAppDataOneOf, aB as AppType, dP as ApplicationError, av as AspectRatio, co as AudioData, bQ as Background, bR as BackgroundBackgroundOneOf, ar as BackgroundType, eq as BaseEventMetadata, cr as BlockquoteData, c6 as BookingData, b4 as Border, cm as BorderColors, aV as Breadcrumb, aU as BreadcrumbsInfo, dQ as BulkActionMetadata, dZ as BulkAddItemToCategoriesRequest, dW as BulkAddItemsToCategoryRequest, dN as BulkCategoriesResult, dT as BulkDeleteCategoriesRequest, dU as BulkDeleteCategoriesResponse, dV as BulkDeleteCategoriesResponseBulkCategoriesResult, d_ as BulkItemToCategoriesResult, dX as BulkItemsToCategoryResult, e0 as BulkRemoveItemFromCategoriesRequest, d$ as BulkRemoveItemsFromCategoryRequest, dS as BulkShowCategoriesRequest, dM as BulkUpdateCategoriesRequest, cq as BulletedListData, b3 as ButtonData, a8 as ButtonDataType, c8 as ButtonStyles, cs as CaptionData, cb as CardStyles, es as CategoriesQueryResult, cF as CategoryMoved, et as CategorySearchSpec, ee as CategoryTreeNode, cl as CellStyle, bf as CodeBlockData, ch as CollapsibleListData, b$ as ColorData, b5 as Colors, d1 as CompactCategory, dK as CountCategoriesRequest, cL as CreateCategoryRequest, cM as CreateCategoryResponse, ah as Crop, cX as CursorPaging, cZ as CursorPagingMetadata, cU as CursorQuery, cV as CursorQueryPagingMethodOneOf, d3 as CursorSearch, d4 as CursorSearchPagingMethodOneOf, c_ as Cursors, cE as CustomTag, dd as DateHistogramAggregation, dy as DateHistogramResult, dA as DateHistogramResults, bY as Decoration, bZ as DecorationDataOneOf, as as DecorationType, cR as DeleteCategoryRequest, cS as DeleteCategoryResponse, dE as DeprecatedSearchCategoriesWithOffsetRequest, dI as DeprecatedSearchCategoriesWithOffsetResponse, bW as Design, cj as Dimensions, aD as Direction, bh as DividerData, ad as DividerDataAlignment, cv as DocumentStyle, ef as DomainEvent, eg as DomainEventBodyOneOf, cf as EmbedData, em as Empty, eh as EntityCreatedEvent, ek as EntityDeletedEvent, ej as EntityUpdatedEvent, c7 as EventData, er as EventMetadata, cx as ExtendedFields, cD as File, bi as FileData, bj as FileSource, bk as FileSourceDataOneOf, c2 as FontSizeData, at as FontType, bx as GIF, bw as GIFData, aj as GIFType, bm as GalleryData, bs as GalleryOptions, bt as GalleryOptionsLayout, eb as GetArrangedItemsRequest, ec as GetCategoriesTreeRequest, ed as GetCategoriesTreeResponse, cN as GetCategoryRequest, cO as GetCategoryResponse, bP as Gradient, dz as GroupByValueResults, bz as HTMLData, bA as HTMLDataDataOneOf, by as HeadingData, ba as Height, eo as IdentificationData, ep as IdentificationDataIdOneOf, bo as Image, bB as ImageData, bD as ImageDataStyles, c9 as ImageStyles, au as ImageStylesPosition, d8 as IncludeMissingValuesOptions, aC as InitialExpandedItems, aO as Interval, cy as InvalidateCache, cz as InvalidateCacheGetByOneOf, bq as Item, cG as ItemAddedToCategory, br as ItemDataOneOf, dO as ItemMetadata, dY as ItemReferenceMetadata, cI as ItemRemovedFromCategory, bu as ItemStyle, cH as ItemsAddedToCategory, cK as ItemsArrangedInCategory, cJ as ItemsRemovedFromCategory, aY as Keyword, aA as Layout, ct as LayoutCellData, af as LayoutType, ab as LineStyle, bc as Link, c0 as LinkData, bd as LinkDataOneOf, bE as LinkPreviewData, bF as LinkPreviewDataStyles, e4 as ListCategoriesForItemRequest, e5 as ListCategoriesForItemsRequest, c$ as ListCompactCategoriesByIdsRequest, d0 as ListCompactCategoriesByIdsResponse, eu as ListItemsInCategoryOptionsPagingMethodOneOf, e1 as ListItemsInCategoryRequest, e2 as ListItemsInCategoryRequestPagingMethodOneOf, e7 as ListTreesRequest, cn as ListValue, bG as MapData, e6 as MapItemToCategories, bH as MapSettings, am as MapType, bn as Media, c1 as MentionData, en as MessageEnvelope, cu as Metadata, aL as MissingValues, aQ as Mode, dL as MoveCategoryRequest, e8 as MoveItemInCategoryRequest, aS as MoveItemInCategoryRequestPosition, e9 as MoveItemInCategoryResponse, dg as NestedAggregation, de as NestedAggregationItem, df as NestedAggregationItemKindOneOf, dl as NestedAggregationResults, dm as NestedAggregationResultsResultOneOf, aN as NestedAggregationType, dv as NestedResultValue, dw as NestedResultValueResultOneOf, dB as NestedResults, dr as NestedValueAggregationResult, b0 as Node, b1 as NodeDataOneOf, b2 as NodeStyle, a5 as NodeType, aF as NullValue, cg as Oembed, dF as OffsetSearch, dG as OffsetSearchPagingMethodOneOf, bL as Option, bT as OptionDesign, bO as OptionLayout, cp as OrderedListData, ag as Orientation, bl as PDFSettings, cB as Page, dH as Paging, dJ as PagingMetadata, e3 as PagingMetadataV2, bI as ParagraphData, aW as ParentCategory, bK as Permissions, ax as Placement, ce as PlaybackOptions, b6 as PluginContainerData, a7 as PluginContainerDataAlignment, b7 as PluginContainerDataWidth, b8 as PluginContainerDataWidthDataOneOf, bU as Poll, bJ as PollData, bV as PollDataLayout, bS as PollDesign, bN as PollLayout, aq as PollLayoutDirection, ap as PollLayoutType, bM as PollSettings, aR as Position, cc as PricingData, cT as QueryCategoriesRequest, cY as QueryCategoriesResponse, db as RangeAggregation, dk as RangeAggregationResult, d7 as RangeBucket, dt as RangeResult, dp as RangeResults, be as Rel, aI as RequestedFields, aw as Resizing, ei as RestoreInfo, dx as Results, ca as RibbonStyles, a$ as RichContent, dc as ScalarAggregation, du as ScalarResult, aM as ScalarType, d2 as SearchCategoriesRequest, dh as SearchDetails, aX as SeoSchema, ea as SetArrangedItemsRequest, a_ as Settings, aG as SingleEntityOpsRequestedFields, aK as SortDirection, aH as SortOrder, aJ as SortType, cW as Sorting, ak as Source, b9 as Spoiler, c3 as SpoilerData, bb as Styles, bC as StylesBorder, al as StylesPosition, ck as TableCellData, ci as TableData, aZ as Tag, a9 as Target, aa as TextAlignment, bX as TextData, cw as TextNodeStyle, bg as TextStyle, bv as Thumbnails, ai as ThumbnailsAlignment, ay as Type, cC as URI, cP as UpdateCategoryRequest, cQ as UpdateCategoryResponse, dR as UpdateCategoryVisibilityRequest, d9 as ValueAggregation, da as ValueAggregationOptionsOneOf, dj as ValueAggregationResult, ds as ValueResult, dn as ValueResults, aE as VerticalAlignment, bp as Video, cd as VideoData, ae as ViewMode, an as ViewRole, ao as VoteRole, aT as WebhookIdentityType, ac as Width, a6 as WidthType } from './categories-v1-category-categories.universal-C77jUy-2.js';
|
|
4
4
|
|
|
5
5
|
type CategoryNonNullablePaths = `itemCounter` | `breadcrumbsInfo.breadcrumbs` | `breadcrumbsInfo.breadcrumbs.${number}.categoryId` | `breadcrumbsInfo.breadcrumbs.${number}.categoryName` | `breadcrumbsInfo.breadcrumbs.${number}.categorySlug`;
|
|
6
6
|
declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
|