@wix/categories 1.0.44 → 1.0.46

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.
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  interface Category {
2
46
  /** Category ID. */
3
47
  _id?: string | null;
@@ -1647,16 +1691,23 @@ declare enum RequestedFields {
1647
1691
  interface QueryCategoriesResponse {
1648
1692
  /** Categories which satisfy the provided query. */
1649
1693
  categories?: Category[];
1650
- /** Paging metadata. Contains cursor which can be used in next query. */
1651
- pagingMetadata?: PlatformPagingMetadataV2;
1694
+ /** Paging metadata. */
1695
+ pagingMetadata?: CursorPagingMetadata;
1652
1696
  }
1653
- interface PlatformPagingMetadataV2 {
1654
- /** The number of items returned in this response. */
1697
+ interface CursorPagingMetadata {
1698
+ /** Number of items returned in the response. */
1655
1699
  count?: number | null;
1656
- /** Cursors to navigate through result pages. Returned if cursor paging was used. */
1657
- cursors?: CommonCursors;
1700
+ /** Cursor strings that point to the next page, previous page, or both. */
1701
+ cursors?: Cursors;
1702
+ /**
1703
+ * Whether there are more pages to retrieve following the current page.
1704
+ *
1705
+ * + `true`: Another page of results can be retrieved.
1706
+ * + `false`: This is the last page.
1707
+ */
1708
+ hasNext?: boolean | null;
1658
1709
  }
1659
- interface CommonCursors {
1710
+ interface Cursors {
1660
1711
  /** Cursor string pointing to the next page in the list of results. */
1661
1712
  next?: string | null;
1662
1713
  /** Cursor pointing to the previous page in the list of results. */
@@ -1936,25 +1987,6 @@ interface SearchCategoriesResponse {
1936
1987
  /** Aggregation data. */
1937
1988
  aggregationData?: AggregationData;
1938
1989
  }
1939
- interface CursorPagingMetadata {
1940
- /** Number of items returned in the response. */
1941
- count?: number | null;
1942
- /** Cursor strings that point to the next page, previous page, or both. */
1943
- cursors?: Cursors;
1944
- /**
1945
- * Whether there are more pages to retrieve following the current page.
1946
- *
1947
- * + `true`: Another page of results can be retrieved.
1948
- * + `false`: This is the last page.
1949
- */
1950
- hasNext?: boolean | null;
1951
- }
1952
- interface Cursors {
1953
- /** Cursor string pointing to the next page in the list of results. */
1954
- next?: string | null;
1955
- /** Cursor pointing to the previous page in the list of results. */
1956
- prev?: string | null;
1957
- }
1958
1990
  interface AggregationData {
1959
1991
  /** key = aggregation name (as derived from search request) */
1960
1992
  results?: AggregationResults[];
@@ -2432,7 +2464,7 @@ interface BulkAddItemsToCategoryResponse {
2432
2464
  bulkActionMetadata?: BulkActionMetadata;
2433
2465
  }
2434
2466
  interface BulkItemsToCategoryResult {
2435
- /** Bulk action metadata for category. */
2467
+ /** Bulk action metadata for item reference. */
2436
2468
  itemMetadata?: ItemReferenceMetadata;
2437
2469
  }
2438
2470
  interface ItemReferenceMetadata {
@@ -3559,80 +3591,266 @@ interface SetArrangedItemsOptions {
3559
3591
  items?: ItemReference[];
3560
3592
  }
3561
3593
 
3562
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
3563
- interface HttpClient {
3564
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
3565
- fetchWithAuth: typeof fetch;
3566
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
3594
+ declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
3595
+ interface CreateCategorySignature {
3596
+ /**
3597
+ * Creates a category.
3598
+ * @param - Category to create.
3599
+ * @returns Created category.
3600
+ */
3601
+ (category: Category, options?: CreateCategoryOptions | undefined): Promise<Category & CategoryNonNullableFields>;
3567
3602
  }
3568
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
3569
- type HttpResponse<T = any> = {
3570
- data: T;
3571
- status: number;
3572
- statusText: string;
3573
- headers: any;
3574
- request?: any;
3575
- };
3576
- type RequestOptions<_TResponse = any, Data = any> = {
3577
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
3578
- url: string;
3579
- data?: Data;
3580
- params?: URLSearchParams;
3581
- } & APIMetadata;
3582
- type APIMetadata = {
3583
- methodFqn?: string;
3584
- entityFqdn?: string;
3585
- packageName?: string;
3586
- };
3587
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
3588
- type EventDefinition<Payload = unknown, Type extends string = string> = {
3589
- __type: 'event-definition';
3590
- type: Type;
3591
- isDomainEvent?: boolean;
3592
- transformations?: (envelope: unknown) => Payload;
3593
- __payload: Payload;
3594
- };
3595
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
3596
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
3597
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
3598
-
3599
- declare global {
3600
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
3601
- interface SymbolConstructor {
3602
- readonly observable: symbol;
3603
- }
3603
+ declare function getCategory$1(httpClient: HttpClient): GetCategorySignature;
3604
+ interface GetCategorySignature {
3605
+ /**
3606
+ * Retrieves a category.
3607
+ * @param - Category ID.
3608
+ * @param - Category tree reference details.
3609
+ * @returns Category.
3610
+ */
3611
+ (categoryId: string, treeReference: TreeReference, options?: GetCategoryOptions | undefined): Promise<Category & CategoryNonNullableFields>;
3604
3612
  }
3605
-
3606
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3613
+ declare function updateCategory$1(httpClient: HttpClient): UpdateCategorySignature;
3614
+ interface UpdateCategorySignature {
3615
+ /**
3616
+ * Updates a category.
3617
+ *
3618
+ * Each time the category is updated, `revision` increments by 1.
3619
+ * The current `revision` must be passed when updating the category.
3620
+ * This ensures you're working with the latest category and prevents unintended overwrites.
3621
+ * @param - Category ID.
3622
+ * @returns Updated category.
3623
+ */
3624
+ (_id: string | null, category: UpdateCategory, options?: UpdateCategoryOptions | undefined): Promise<Category & CategoryNonNullableFields>;
3625
+ }
3626
+ declare function deleteCategory$1(httpClient: HttpClient): DeleteCategorySignature;
3627
+ interface DeleteCategorySignature {
3628
+ /**
3629
+ * Deletes a category.
3630
+ * @param - Category ID.
3631
+ * @param - Category tree reference details.
3632
+ */
3633
+ (categoryId: string, treeReference: TreeReference): Promise<void>;
3634
+ }
3635
+ declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
3636
+ interface QueryCategoriesSignature {
3637
+ /**
3638
+ * Query Categories using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). Use instead of Search when eventually consistent data is not acceptable
3639
+ */
3640
+ (options: QueryCategoriesOptions): CategoriesQueryBuilder;
3641
+ }
3642
+ declare function searchCategories$1(httpClient: HttpClient): SearchCategoriesSignature;
3643
+ interface SearchCategoriesSignature {
3644
+ /**
3645
+ * Retrieves a list of up to 1,000 categories, given the provided filtering, sorting, and cursor paging.
3646
+ * Pass supported values to the `fields` array in the request to include those fields in the response.
3647
+ *
3648
+ *
3649
+ * Search Categories runs with these defaults, which you can override:
3650
+ *
3651
+ * - `createdDate` is sorted in `DESC` order
3652
+ * - `cursorPaging.limit` is `100`
3653
+ *
3654
+ * For field support for filters and sorting,
3655
+ * see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
3656
+ *
3657
+ * To learn about working with _Search_ endpoints, see
3658
+ * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
3659
+ * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
3660
+ */
3661
+ (options?: SearchCategoriesOptions | undefined): Promise<SearchCategoriesResponse & SearchCategoriesResponseNonNullableFields>;
3662
+ }
3663
+ declare function countCategories$1(httpClient: HttpClient): CountCategoriesSignature;
3664
+ interface CountCategoriesSignature {
3665
+ /**
3666
+ * Counts the number of categories that match the provided filtering.
3667
+ *
3668
+ * For field support for filters and sorting,
3669
+ * see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
3670
+ */
3671
+ (options?: CountCategoriesOptions | undefined): Promise<CountCategoriesResponse & CountCategoriesResponseNonNullableFields>;
3672
+ }
3673
+ declare function moveCategory$1(httpClient: HttpClient): MoveCategorySignature;
3674
+ interface MoveCategorySignature {
3675
+ /**
3676
+ * Moves a category within its parent category, or to a different parent category.
3677
+ * @param - ID of the category to move.
3678
+ * @param - Category tree reference details.
3679
+ */
3680
+ (categoryId: string, treeReference: TreeReference, options?: MoveCategoryOptions | undefined): Promise<MoveCategoryResponse & MoveCategoryResponseNonNullableFields>;
3681
+ }
3682
+ declare function bulkUpdateCategories$1(httpClient: HttpClient): BulkUpdateCategoriesSignature;
3683
+ interface BulkUpdateCategoriesSignature {
3684
+ /**
3685
+ * Updates multiple categories.
3686
+ *
3687
+ * Each time a category is updated, `revision` increments by 1.
3688
+ * The current `revision` must be passed when updating a category.
3689
+ * This ensures you're working with the latest category and prevents unintended overwrites.
3690
+ * @param - List of categories to update.
3691
+ */
3692
+ (categories: MaskedCategory[], options?: BulkUpdateCategoriesOptions | undefined): Promise<BulkUpdateCategoriesResponse & BulkUpdateCategoriesResponseNonNullableFields>;
3693
+ }
3694
+ declare function updateCategoryVisibility$1(httpClient: HttpClient): UpdateCategoryVisibilitySignature;
3695
+ interface UpdateCategoryVisibilitySignature {
3696
+ /**
3697
+ * Updates category visibility.
3698
+ *
3699
+ *
3700
+ * Each time a category is updated, `revision` increments by 1.
3701
+ * The current `revision` must be passed when updating a category.
3702
+ * This ensures you're working with the latest category and prevents unintended overwrites.
3703
+ * @param - Category ID.
3704
+ */
3705
+ (categoryId: string, options?: UpdateCategoryVisibilityOptions | undefined): Promise<UpdateCategoryVisibilityResponse & UpdateCategoryVisibilityResponseNonNullableFields>;
3706
+ }
3707
+ declare function bulkAddItemsToCategory$1(httpClient: HttpClient): BulkAddItemsToCategorySignature;
3708
+ interface BulkAddItemsToCategorySignature {
3709
+ /**
3710
+ * Adds multiple items to a single category.
3711
+ * @param - Category ID.
3712
+ * @param - List of items to add.
3713
+ */
3714
+ (categoryId: string, items: ItemReference[], options: BulkAddItemsToCategoryOptions): Promise<BulkAddItemsToCategoryResponse & BulkAddItemsToCategoryResponseNonNullableFields>;
3715
+ }
3716
+ declare function bulkAddItemToCategories$1(httpClient: HttpClient): BulkAddItemToCategoriesSignature;
3717
+ interface BulkAddItemToCategoriesSignature {
3718
+ /**
3719
+ * Adds a single item to multiple categories.
3720
+ * @param - Item to add.
3721
+ */
3722
+ (item: ItemReference, options: BulkAddItemToCategoriesOptions): Promise<BulkAddItemToCategoriesResponse & BulkAddItemToCategoriesResponseNonNullableFields>;
3723
+ }
3724
+ declare function bulkRemoveItemsFromCategory$1(httpClient: HttpClient): BulkRemoveItemsFromCategorySignature;
3725
+ interface BulkRemoveItemsFromCategorySignature {
3726
+ /**
3727
+ * Removes multiple items from a single category.
3728
+ * @param - Category ID.
3729
+ * @param - List of items to remove.
3730
+ */
3731
+ (categoryId: string, items: ItemReference[], options: BulkRemoveItemsFromCategoryOptions): Promise<BulkRemoveItemsFromCategoryResponse & BulkRemoveItemsFromCategoryResponseNonNullableFields>;
3732
+ }
3733
+ declare function bulkRemoveItemFromCategories$1(httpClient: HttpClient): BulkRemoveItemFromCategoriesSignature;
3734
+ interface BulkRemoveItemFromCategoriesSignature {
3735
+ /**
3736
+ * Removes a single item from multiple categories.
3737
+ * @param - Item to remove.
3738
+ */
3739
+ (item: ItemReference, options: BulkRemoveItemFromCategoriesOptions): Promise<BulkRemoveItemFromCategoriesResponse & BulkRemoveItemFromCategoriesResponseNonNullableFields>;
3740
+ }
3741
+ declare function listItemsInCategory$1(httpClient: HttpClient): ListItemsInCategorySignature;
3742
+ interface ListItemsInCategorySignature {
3743
+ /**
3744
+ * Retrieves a list of up to 100 items from a single category, given the provided cursor paging.
3745
+ *
3746
+ *
3747
+ * List Items In Categories defaults to sorting by the time the item was added to the category, in descending order.
3748
+ * @param - Category ID.
3749
+ * @param - Category tree reference details.
3750
+ */
3751
+ (categoryId: string, treeReference: TreeReference, options?: ListItemsInCategoryOptions | undefined): Promise<ListItemsInCategoryResponse & ListItemsInCategoryResponseNonNullableFields>;
3752
+ }
3753
+ declare function listCategoriesForItem$1(httpClient: HttpClient): ListCategoriesForItemSignature;
3754
+ interface ListCategoriesForItemSignature {
3755
+ /**
3756
+ * Retrieves a list of categories that contain the specified item.
3757
+ * @param - Item reference info.
3758
+ */
3759
+ (item: ItemReference, options: ListCategoriesForItemOptions): Promise<ListCategoriesForItemResponse & ListCategoriesForItemResponseNonNullableFields>;
3760
+ }
3761
+ declare function listTrees$1(httpClient: HttpClient): ListTreesSignature;
3762
+ interface ListTreesSignature {
3763
+ /**
3764
+ * Retrieves a list of all trees installed on the site, sorted by `appNamespace` in ascending order.
3765
+ */
3766
+ (): Promise<ListTreesResponse & ListTreesResponseNonNullableFields>;
3767
+ }
3768
+ declare function setArrangedItems$1(httpClient: HttpClient): SetArrangedItemsSignature;
3769
+ interface SetArrangedItemsSignature {
3770
+ /**
3771
+ * Sets arranged items in a category.
3772
+ *
3773
+ * The order of items in the `items` array determines the order of items in the category.
3774
+ * The category's existing list of arranged items will be overridden.
3775
+ * @param - Category ID.
3776
+ * @param - Category tree reference details.
3777
+ */
3778
+ (categoryId: string, treeReference: TreeReference, options?: SetArrangedItemsOptions | undefined): Promise<SetArrangedItemsResponse & SetArrangedItemsResponseNonNullableFields>;
3779
+ }
3780
+ declare function getArrangedItems$1(httpClient: HttpClient): GetArrangedItemsSignature;
3781
+ interface GetArrangedItemsSignature {
3782
+ /**
3783
+ * Retrieves a list of arranged items in a category.
3784
+ * @param - Category ID.
3785
+ * @param - Category tree reference details.
3786
+ */
3787
+ (categoryId: string, treeReference: TreeReference): Promise<GetArrangedItemsResponse & GetArrangedItemsResponseNonNullableFields>;
3788
+ }
3789
+ declare const onCategoryCreated$1: EventDefinition<CategoryCreatedEnvelope, "wix.categories.v1.category_created">;
3790
+ declare const onCategoryUpdated$1: EventDefinition<CategoryUpdatedEnvelope, "wix.categories.v1.category_updated">;
3791
+ declare const onCategoryDeleted$1: EventDefinition<CategoryDeletedEnvelope, "wix.categories.v1.category_deleted">;
3792
+ declare const onCategoryMoved$1: EventDefinition<CategoryMovedEnvelope, "wix.categories.v1.category_category_moved">;
3793
+ declare const onCategoryItemAddedToCategory$1: EventDefinition<CategoryItemAddedToCategoryEnvelope, "wix.categories.v1.category_item_added_to_category">;
3794
+ declare const onCategoryItemRemovedFromCategory$1: EventDefinition<CategoryItemRemovedFromCategoryEnvelope, "wix.categories.v1.category_item_removed_from_category">;
3795
+ declare const onCategoryItemsArrangedInCategory$1: EventDefinition<CategoryItemsArrangedInCategoryEnvelope, "wix.categories.v1.category_items_arranged_in_category">;
3607
3796
 
3608
3797
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3609
3798
 
3610
- declare const createCategory: ReturnType<typeof createRESTModule<typeof publicCreateCategory>>;
3611
- declare const getCategory: ReturnType<typeof createRESTModule<typeof publicGetCategory>>;
3612
- declare const updateCategory: ReturnType<typeof createRESTModule<typeof publicUpdateCategory>>;
3613
- declare const deleteCategory: ReturnType<typeof createRESTModule<typeof publicDeleteCategory>>;
3614
- declare const queryCategories: ReturnType<typeof createRESTModule<typeof publicQueryCategories>>;
3615
- declare const searchCategories: ReturnType<typeof createRESTModule<typeof publicSearchCategories>>;
3616
- declare const countCategories: ReturnType<typeof createRESTModule<typeof publicCountCategories>>;
3617
- declare const moveCategory: ReturnType<typeof createRESTModule<typeof publicMoveCategory>>;
3618
- declare const bulkUpdateCategories: ReturnType<typeof createRESTModule<typeof publicBulkUpdateCategories>>;
3619
- declare const updateCategoryVisibility: ReturnType<typeof createRESTModule<typeof publicUpdateCategoryVisibility>>;
3620
- declare const bulkAddItemsToCategory: ReturnType<typeof createRESTModule<typeof publicBulkAddItemsToCategory>>;
3621
- declare const bulkAddItemToCategories: ReturnType<typeof createRESTModule<typeof publicBulkAddItemToCategories>>;
3622
- declare const bulkRemoveItemsFromCategory: ReturnType<typeof createRESTModule<typeof publicBulkRemoveItemsFromCategory>>;
3623
- declare const bulkRemoveItemFromCategories: ReturnType<typeof createRESTModule<typeof publicBulkRemoveItemFromCategories>>;
3624
- declare const listItemsInCategory: ReturnType<typeof createRESTModule<typeof publicListItemsInCategory>>;
3625
- declare const listCategoriesForItem: ReturnType<typeof createRESTModule<typeof publicListCategoriesForItem>>;
3626
- declare const listTrees: ReturnType<typeof createRESTModule<typeof publicListTrees>>;
3627
- declare const setArrangedItems: ReturnType<typeof createRESTModule<typeof publicSetArrangedItems>>;
3628
- declare const getArrangedItems: ReturnType<typeof createRESTModule<typeof publicGetArrangedItems>>;
3629
- declare const onCategoryCreated: ReturnType<typeof createEventModule<typeof publicOnCategoryCreated>>;
3630
- declare const onCategoryUpdated: ReturnType<typeof createEventModule<typeof publicOnCategoryUpdated>>;
3631
- declare const onCategoryDeleted: ReturnType<typeof createEventModule<typeof publicOnCategoryDeleted>>;
3632
- declare const onCategoryMoved: ReturnType<typeof createEventModule<typeof publicOnCategoryMoved>>;
3633
- declare const onCategoryItemAddedToCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemAddedToCategory>>;
3634
- declare const onCategoryItemRemovedFromCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemRemovedFromCategory>>;
3635
- declare const onCategoryItemsArrangedInCategory: ReturnType<typeof createEventModule<typeof publicOnCategoryItemsArrangedInCategory>>;
3799
+ declare const createCategory: BuildRESTFunction<typeof createCategory$1> & typeof createCategory$1;
3800
+ declare const getCategory: BuildRESTFunction<typeof getCategory$1> & typeof getCategory$1;
3801
+ declare const updateCategory: BuildRESTFunction<typeof updateCategory$1> & typeof updateCategory$1;
3802
+ declare const deleteCategory: BuildRESTFunction<typeof deleteCategory$1> & typeof deleteCategory$1;
3803
+ declare const queryCategories: BuildRESTFunction<typeof queryCategories$1> & typeof queryCategories$1;
3804
+ declare const searchCategories: BuildRESTFunction<typeof searchCategories$1> & typeof searchCategories$1;
3805
+ declare const countCategories: BuildRESTFunction<typeof countCategories$1> & typeof countCategories$1;
3806
+ declare const moveCategory: BuildRESTFunction<typeof moveCategory$1> & typeof moveCategory$1;
3807
+ declare const bulkUpdateCategories: BuildRESTFunction<typeof bulkUpdateCategories$1> & typeof bulkUpdateCategories$1;
3808
+ declare const updateCategoryVisibility: BuildRESTFunction<typeof updateCategoryVisibility$1> & typeof updateCategoryVisibility$1;
3809
+ declare const bulkAddItemsToCategory: BuildRESTFunction<typeof bulkAddItemsToCategory$1> & typeof bulkAddItemsToCategory$1;
3810
+ declare const bulkAddItemToCategories: BuildRESTFunction<typeof bulkAddItemToCategories$1> & typeof bulkAddItemToCategories$1;
3811
+ declare const bulkRemoveItemsFromCategory: BuildRESTFunction<typeof bulkRemoveItemsFromCategory$1> & typeof bulkRemoveItemsFromCategory$1;
3812
+ declare const bulkRemoveItemFromCategories: BuildRESTFunction<typeof bulkRemoveItemFromCategories$1> & typeof bulkRemoveItemFromCategories$1;
3813
+ declare const listItemsInCategory: BuildRESTFunction<typeof listItemsInCategory$1> & typeof listItemsInCategory$1;
3814
+ declare const listCategoriesForItem: BuildRESTFunction<typeof listCategoriesForItem$1> & typeof listCategoriesForItem$1;
3815
+ declare const listTrees: BuildRESTFunction<typeof listTrees$1> & typeof listTrees$1;
3816
+ declare const setArrangedItems: BuildRESTFunction<typeof setArrangedItems$1> & typeof setArrangedItems$1;
3817
+ declare const getArrangedItems: BuildRESTFunction<typeof getArrangedItems$1> & typeof getArrangedItems$1;
3818
+
3819
+ type _publicOnCategoryCreatedType = typeof onCategoryCreated$1;
3820
+ /** */
3821
+ declare const onCategoryCreated: ReturnType<typeof createEventModule<_publicOnCategoryCreatedType>>;
3822
+
3823
+ type _publicOnCategoryUpdatedType = typeof onCategoryUpdated$1;
3824
+ /** */
3825
+ declare const onCategoryUpdated: ReturnType<typeof createEventModule<_publicOnCategoryUpdatedType>>;
3826
+
3827
+ type _publicOnCategoryDeletedType = typeof onCategoryDeleted$1;
3828
+ /** */
3829
+ declare const onCategoryDeleted: ReturnType<typeof createEventModule<_publicOnCategoryDeletedType>>;
3830
+
3831
+ type _publicOnCategoryMovedType = typeof onCategoryMoved$1;
3832
+ /**
3833
+ * Triggered when a category is moved.
3834
+ */
3835
+ declare const onCategoryMoved: ReturnType<typeof createEventModule<_publicOnCategoryMovedType>>;
3836
+
3837
+ type _publicOnCategoryItemAddedToCategoryType = typeof onCategoryItemAddedToCategory$1;
3838
+ /**
3839
+ * Triggered when an item is added to a category.
3840
+ */
3841
+ declare const onCategoryItemAddedToCategory: ReturnType<typeof createEventModule<_publicOnCategoryItemAddedToCategoryType>>;
3842
+
3843
+ type _publicOnCategoryItemRemovedFromCategoryType = typeof onCategoryItemRemovedFromCategory$1;
3844
+ /**
3845
+ * Triggered when an item is removed from a category.
3846
+ */
3847
+ declare const onCategoryItemRemovedFromCategory: ReturnType<typeof createEventModule<_publicOnCategoryItemRemovedFromCategoryType>>;
3848
+
3849
+ type _publicOnCategoryItemsArrangedInCategoryType = typeof onCategoryItemsArrangedInCategory$1;
3850
+ /**
3851
+ * Triggered when items arrangement in category is changed.
3852
+ */
3853
+ declare const onCategoryItemsArrangedInCategory: ReturnType<typeof createEventModule<_publicOnCategoryItemsArrangedInCategoryType>>;
3636
3854
 
3637
3855
  type context_ActionEvent = ActionEvent;
3638
3856
  type context_Aggregation = Aggregation;
@@ -3719,7 +3937,6 @@ type context_CodeBlockData = CodeBlockData;
3719
3937
  type context_CollapsibleListData = CollapsibleListData;
3720
3938
  type context_ColorData = ColorData;
3721
3939
  type context_Colors = Colors;
3722
- type context_CommonCursors = CommonCursors;
3723
3940
  type context_CompactCategory = CompactCategory;
3724
3941
  type context_CountCategoriesOptions = CountCategoriesOptions;
3725
3942
  type context_CountCategoriesRequest = CountCategoriesRequest;
@@ -3894,7 +4111,6 @@ type context_PagingMetadataV2 = PagingMetadataV2;
3894
4111
  type context_ParagraphData = ParagraphData;
3895
4112
  type context_ParentCategory = ParentCategory;
3896
4113
  type context_Permissions = Permissions;
3897
- type context_PlatformPagingMetadataV2 = PlatformPagingMetadataV2;
3898
4114
  type context_PlaybackOptions = PlaybackOptions;
3899
4115
  type context_PluginContainerData = PluginContainerData;
3900
4116
  type context_PluginContainerDataAlignment = PluginContainerDataAlignment;
@@ -4004,6 +4220,13 @@ type context_Width = Width;
4004
4220
  declare const context_Width: typeof Width;
4005
4221
  type context_WidthType = WidthType;
4006
4222
  declare const context_WidthType: typeof WidthType;
4223
+ type context__publicOnCategoryCreatedType = _publicOnCategoryCreatedType;
4224
+ type context__publicOnCategoryDeletedType = _publicOnCategoryDeletedType;
4225
+ type context__publicOnCategoryItemAddedToCategoryType = _publicOnCategoryItemAddedToCategoryType;
4226
+ type context__publicOnCategoryItemRemovedFromCategoryType = _publicOnCategoryItemRemovedFromCategoryType;
4227
+ type context__publicOnCategoryItemsArrangedInCategoryType = _publicOnCategoryItemsArrangedInCategoryType;
4228
+ type context__publicOnCategoryMovedType = _publicOnCategoryMovedType;
4229
+ type context__publicOnCategoryUpdatedType = _publicOnCategoryUpdatedType;
4007
4230
  declare const context_bulkAddItemToCategories: typeof bulkAddItemToCategories;
4008
4231
  declare const context_bulkAddItemsToCategory: typeof bulkAddItemsToCategory;
4009
4232
  declare const context_bulkRemoveItemFromCategories: typeof bulkRemoveItemFromCategories;
@@ -4031,7 +4254,7 @@ declare const context_setArrangedItems: typeof setArrangedItems;
4031
4254
  declare const context_updateCategory: typeof updateCategory;
4032
4255
  declare const context_updateCategoryVisibility: typeof updateCategoryVisibility;
4033
4256
  declare namespace context {
4034
- export { type context_ActionEvent as ActionEvent, type context_Aggregation as Aggregation, type context_AggregationData as AggregationData, type context_AggregationKindOneOf as AggregationKindOneOf, type context_AggregationResults as AggregationResults, type context_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context_AggregationResultsScalarResult as AggregationResultsScalarResult, context_AggregationType as AggregationType, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_App as App, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BaseEventMetadata as BaseEventMetadata, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, type context_Border as Border, type context_BorderColors as BorderColors, type context_BreadcrumbItem as BreadcrumbItem, type context_BreadcrumbItemValues as BreadcrumbItemValues, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type context_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type context_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type context_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type context_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type context_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type context_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type context_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type context_BulkCategoriesResult as BulkCategoriesResult, type context_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type context_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type context_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type context_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type context_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type context_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type context_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type context_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type context_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type context_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type context_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type context_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type context_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type context_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type context_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type context_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type context_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type context_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type context_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type context_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type context_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type context_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type context_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type context_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type context_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, type context_CategoriesQueryBuilder as CategoriesQueryBuilder, type context_CategoriesQueryResult as CategoriesQueryResult, type context_Category as Category, type context_CategoryCreatedEnvelope as CategoryCreatedEnvelope, type context_CategoryDeletedEnvelope as CategoryDeletedEnvelope, type context_CategoryItemAddedToCategoryEnvelope as CategoryItemAddedToCategoryEnvelope, type context_CategoryItemRemovedFromCategoryEnvelope as CategoryItemRemovedFromCategoryEnvelope, type context_CategoryItemsArrangedInCategoryEnvelope as CategoryItemsArrangedInCategoryEnvelope, type context_CategoryMoved as CategoryMoved, type context_CategoryMovedEnvelope as CategoryMovedEnvelope, type context_CategoryNonNullableFields as CategoryNonNullableFields, type context_CategoryTreeNode as CategoryTreeNode, type context_CategoryUpdatedEnvelope as CategoryUpdatedEnvelope, type context_CellStyle as CellStyle, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CommonCursors as CommonCursors, type context_CompactCategory as CompactCategory, type context_CountCategoriesOptions as CountCategoriesOptions, type context_CountCategoriesRequest as CountCategoriesRequest, type context_CountCategoriesResponse as CountCategoriesResponse, type context_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type context_CreateCategoryOptions as CreateCategoryOptions, type context_CreateCategoryRequest as CreateCategoryRequest, type context_CreateCategoryResponse as CreateCategoryResponse, type context_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_DateHistogramAggregation as DateHistogramAggregation, type context_DateHistogramResult as DateHistogramResult, type context_DateHistogramResults as DateHistogramResults, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DeleteCategoryRequest as DeleteCategoryRequest, type context_DeleteCategoryResponse as DeleteCategoryResponse, type context_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type context_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DividerData as DividerData, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetArrangedItemsRequest as GetArrangedItemsRequest, type context_GetArrangedItemsResponse as GetArrangedItemsResponse, type context_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type context_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type context_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type context_GetCategoryOptions as GetCategoryOptions, type context_GetCategoryRequest as GetCategoryRequest, type context_GetCategoryResponse as GetCategoryResponse, type context_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context_Gradient as Gradient, type context_GroupByValueResults as GroupByValueResults, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_ImageData as ImageData, type context_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context_InitialExpandedItems as InitialExpandedItems, context_Interval as Interval, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemAddedToCategory as ItemAddedToCategory, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemReference as ItemReference, type context_ItemReferenceMetadata as ItemReferenceMetadata, type context_ItemRemovedFromCategory as ItemRemovedFromCategory, type context_ItemStyle as ItemStyle, type context_ItemsAddedToCategory as ItemsAddedToCategory, type context_ItemsArrangedInCategory as ItemsArrangedInCategory, type context_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type context_Keyword as Keyword, type context_Layout as Layout, context_LayoutType as LayoutType, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, type context_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type context_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type context_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type context_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type context_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type context_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type context_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type context_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type context_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type context_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type context_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type context_ListTreesRequest as ListTreesRequest, type context_ListTreesResponse as ListTreesResponse, type context_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_MaskedCategory as MaskedCategory, type context_Media as Media, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_MissingValues as MissingValues, context_Mode as Mode, type context_MoveCategoryOptions as MoveCategoryOptions, type context_MoveCategoryRequest as MoveCategoryRequest, type context_MoveCategoryResponse as MoveCategoryResponse, type context_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type context_MoveItemInCategoryRequest as MoveItemInCategoryRequest, context_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type context_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type context_NestedAggregation as NestedAggregation, type context_NestedAggregationItem as NestedAggregationItem, type context_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context_NestedAggregationResults as NestedAggregationResults, type context_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context_NestedAggregationType as NestedAggregationType, type context_NestedResultValue as NestedResultValue, type context_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context_NestedResults as NestedResults, type context_NestedValueAggregationResult as NestedValueAggregationResult, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, type context_Oembed as Oembed, type context_OffsetSearch as OffsetSearch, type context_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, type context_PDFSettings as PDFSettings, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_PagingMetadataV2 as PagingMetadataV2, type context_ParagraphData as ParagraphData, type context_ParentCategory as ParentCategory, type context_Permissions as Permissions, type context_PlatformPagingMetadataV2 as PlatformPagingMetadataV2, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollSettings as PollSettings, context_Position as Position, type context_QueryCategoriesOptions as QueryCategoriesOptions, type context_QueryCategoriesRequest as QueryCategoriesRequest, type context_QueryCategoriesResponse as QueryCategoriesResponse, type context_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context_RangeAggregation as RangeAggregation, type context_RangeAggregationResult as RangeAggregationResult, type context_RangeBucket as RangeBucket, type context_RangeResult as RangeResult, type context_RangeResults as RangeResults, type context_Rel as Rel, context_RequestedFields as RequestedFields, type context_RestoreInfo as RestoreInfo, type context_Results as Results, type context_RichContent as RichContent, type context_ScalarAggregation as ScalarAggregation, type context_ScalarResult as ScalarResult, context_ScalarType as ScalarType, type context_SearchCategoriesOptions as SearchCategoriesOptions, type context_SearchCategoriesRequest as SearchCategoriesRequest, type context_SearchCategoriesResponse as SearchCategoriesResponse, type context_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type context_SearchDetails as SearchDetails, type context_SeoSchema as SeoSchema, type context_SetArrangedItemsOptions as SetArrangedItemsOptions, type context_SetArrangedItemsRequest as SetArrangedItemsRequest, type context_SetArrangedItemsResponse as SetArrangedItemsResponse, type context_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type context_Settings as Settings, context_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, context_SortDirection as SortDirection, context_SortOrder as SortOrder, context_SortType as SortType, type context_Sorting as Sorting, context_Source as Source, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, type context_Styles as Styles, type context_TableCellData as TableCellData, type context_TableData as TableData, type context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TreeReference as TreeReference, context_Type as Type, type context_URI as URI, type context_UpdateCategory as UpdateCategory, type context_UpdateCategoryOptions as UpdateCategoryOptions, type context_UpdateCategoryRequest as UpdateCategoryRequest, type context_UpdateCategoryResponse as UpdateCategoryResponse, type context_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type context_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type context_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type context_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type context_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type context_ValueAggregation as ValueAggregation, type context_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context_ValueAggregationResult as ValueAggregationResult, type context_ValueResult as ValueResult, type context_ValueResults as ValueResults, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, context_bulkAddItemToCategories as bulkAddItemToCategories, context_bulkAddItemsToCategory as bulkAddItemsToCategory, context_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, context_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, context_bulkUpdateCategories as bulkUpdateCategories, context_countCategories as countCategories, context_createCategory as createCategory, context_deleteCategory as deleteCategory, context_getArrangedItems as getArrangedItems, context_getCategory as getCategory, context_listCategoriesForItem as listCategoriesForItem, context_listItemsInCategory as listItemsInCategory, context_listTrees as listTrees, context_moveCategory as moveCategory, context_onCategoryCreated as onCategoryCreated, context_onCategoryDeleted as onCategoryDeleted, context_onCategoryItemAddedToCategory as onCategoryItemAddedToCategory, context_onCategoryItemRemovedFromCategory as onCategoryItemRemovedFromCategory, context_onCategoryItemsArrangedInCategory as onCategoryItemsArrangedInCategory, context_onCategoryMoved as onCategoryMoved, context_onCategoryUpdated as onCategoryUpdated, context_queryCategories as queryCategories, context_searchCategories as searchCategories, context_setArrangedItems as setArrangedItems, context_updateCategory as updateCategory, context_updateCategoryVisibility as updateCategoryVisibility };
4257
+ export { type context_ActionEvent as ActionEvent, type context_Aggregation as Aggregation, type context_AggregationData as AggregationData, type context_AggregationKindOneOf as AggregationKindOneOf, type context_AggregationResults as AggregationResults, type context_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context_AggregationResultsScalarResult as AggregationResultsScalarResult, context_AggregationType as AggregationType, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_App as App, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BaseEventMetadata as BaseEventMetadata, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, type context_Border as Border, type context_BorderColors as BorderColors, type context_BreadcrumbItem as BreadcrumbItem, type context_BreadcrumbItemValues as BreadcrumbItemValues, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkAddItemToCategoriesOptions as BulkAddItemToCategoriesOptions, type context_BulkAddItemToCategoriesRequest as BulkAddItemToCategoriesRequest, type context_BulkAddItemToCategoriesResponse as BulkAddItemToCategoriesResponse, type context_BulkAddItemToCategoriesResponseNonNullableFields as BulkAddItemToCategoriesResponseNonNullableFields, type context_BulkAddItemsToCategoryOptions as BulkAddItemsToCategoryOptions, type context_BulkAddItemsToCategoryRequest as BulkAddItemsToCategoryRequest, type context_BulkAddItemsToCategoryResponse as BulkAddItemsToCategoryResponse, type context_BulkAddItemsToCategoryResponseNonNullableFields as BulkAddItemsToCategoryResponseNonNullableFields, type context_BulkCategoriesResult as BulkCategoriesResult, type context_BulkCreateCategoriesRequest as BulkCreateCategoriesRequest, type context_BulkCreateCategoriesResponse as BulkCreateCategoriesResponse, type context_BulkDeleteCategoriesByFilterRequest as BulkDeleteCategoriesByFilterRequest, type context_BulkDeleteCategoriesByFilterResponse as BulkDeleteCategoriesByFilterResponse, type context_BulkDeleteCategoriesRequest as BulkDeleteCategoriesRequest, type context_BulkDeleteCategoriesResponse as BulkDeleteCategoriesResponse, type context_BulkDeleteCategoriesResponseBulkCategoriesResult as BulkDeleteCategoriesResponseBulkCategoriesResult, type context_BulkItemToCategoriesResult as BulkItemToCategoriesResult, type context_BulkItemsToCategoryResult as BulkItemsToCategoryResult, type context_BulkRemoveItemFromCategoriesOptions as BulkRemoveItemFromCategoriesOptions, type context_BulkRemoveItemFromCategoriesRequest as BulkRemoveItemFromCategoriesRequest, type context_BulkRemoveItemFromCategoriesResponse as BulkRemoveItemFromCategoriesResponse, type context_BulkRemoveItemFromCategoriesResponseNonNullableFields as BulkRemoveItemFromCategoriesResponseNonNullableFields, type context_BulkRemoveItemsFromCategoryOptions as BulkRemoveItemsFromCategoryOptions, type context_BulkRemoveItemsFromCategoryRequest as BulkRemoveItemsFromCategoryRequest, type context_BulkRemoveItemsFromCategoryResponse as BulkRemoveItemsFromCategoryResponse, type context_BulkRemoveItemsFromCategoryResponseNonNullableFields as BulkRemoveItemsFromCategoryResponseNonNullableFields, type context_BulkUpdateCategoriesOptions as BulkUpdateCategoriesOptions, type context_BulkUpdateCategoriesRequest as BulkUpdateCategoriesRequest, type context_BulkUpdateCategoriesResponse as BulkUpdateCategoriesResponse, type context_BulkUpdateCategoriesResponseNonNullableFields as BulkUpdateCategoriesResponseNonNullableFields, type context_BulkUpdateCategoryVisibilityByFilterRequest as BulkUpdateCategoryVisibilityByFilterRequest, type context_BulkUpdateCategoryVisibilityByFilterResponse as BulkUpdateCategoryVisibilityByFilterResponse, type context_BulkUpdateCategoryVisibilityRequest as BulkUpdateCategoryVisibilityRequest, type context_BulkUpdateCategoryVisibilityResponse as BulkUpdateCategoryVisibilityResponse, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, type context_CategoriesQueryBuilder as CategoriesQueryBuilder, type context_CategoriesQueryResult as CategoriesQueryResult, type context_Category as Category, type context_CategoryCreatedEnvelope as CategoryCreatedEnvelope, type context_CategoryDeletedEnvelope as CategoryDeletedEnvelope, type context_CategoryItemAddedToCategoryEnvelope as CategoryItemAddedToCategoryEnvelope, type context_CategoryItemRemovedFromCategoryEnvelope as CategoryItemRemovedFromCategoryEnvelope, type context_CategoryItemsArrangedInCategoryEnvelope as CategoryItemsArrangedInCategoryEnvelope, type context_CategoryMoved as CategoryMoved, type context_CategoryMovedEnvelope as CategoryMovedEnvelope, type context_CategoryNonNullableFields as CategoryNonNullableFields, type context_CategoryTreeNode as CategoryTreeNode, type context_CategoryUpdatedEnvelope as CategoryUpdatedEnvelope, type context_CellStyle as CellStyle, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CompactCategory as CompactCategory, type context_CountCategoriesOptions as CountCategoriesOptions, type context_CountCategoriesRequest as CountCategoriesRequest, type context_CountCategoriesResponse as CountCategoriesResponse, type context_CountCategoriesResponseNonNullableFields as CountCategoriesResponseNonNullableFields, type context_CreateCategoryOptions as CreateCategoryOptions, type context_CreateCategoryRequest as CreateCategoryRequest, type context_CreateCategoryResponse as CreateCategoryResponse, type context_CreateCategoryResponseNonNullableFields as CreateCategoryResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_DateHistogramAggregation as DateHistogramAggregation, type context_DateHistogramResult as DateHistogramResult, type context_DateHistogramResults as DateHistogramResults, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DeleteCategoryRequest as DeleteCategoryRequest, type context_DeleteCategoryResponse as DeleteCategoryResponse, type context_DeprecatedSearchCategoriesWithOffsetRequest as DeprecatedSearchCategoriesWithOffsetRequest, type context_DeprecatedSearchCategoriesWithOffsetResponse as DeprecatedSearchCategoriesWithOffsetResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DividerData as DividerData, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetArrangedItemsRequest as GetArrangedItemsRequest, type context_GetArrangedItemsResponse as GetArrangedItemsResponse, type context_GetArrangedItemsResponseNonNullableFields as GetArrangedItemsResponseNonNullableFields, type context_GetCategoriesTreeRequest as GetCategoriesTreeRequest, type context_GetCategoriesTreeResponse as GetCategoriesTreeResponse, type context_GetCategoryOptions as GetCategoryOptions, type context_GetCategoryRequest as GetCategoryRequest, type context_GetCategoryResponse as GetCategoryResponse, type context_GetCategoryResponseNonNullableFields as GetCategoryResponseNonNullableFields, type context_Gradient as Gradient, type context_GroupByValueResults as GroupByValueResults, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_ImageData as ImageData, type context_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context_InitialExpandedItems as InitialExpandedItems, context_Interval as Interval, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemAddedToCategory as ItemAddedToCategory, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemReference as ItemReference, type context_ItemReferenceMetadata as ItemReferenceMetadata, type context_ItemRemovedFromCategory as ItemRemovedFromCategory, type context_ItemStyle as ItemStyle, type context_ItemsAddedToCategory as ItemsAddedToCategory, type context_ItemsArrangedInCategory as ItemsArrangedInCategory, type context_ItemsRemovedFromCategory as ItemsRemovedFromCategory, type context_Keyword as Keyword, type context_Layout as Layout, context_LayoutType as LayoutType, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, type context_ListCategoriesForItemOptions as ListCategoriesForItemOptions, type context_ListCategoriesForItemRequest as ListCategoriesForItemRequest, type context_ListCategoriesForItemResponse as ListCategoriesForItemResponse, type context_ListCategoriesForItemResponseNonNullableFields as ListCategoriesForItemResponseNonNullableFields, type context_ListCompactCategoriesByIdsRequest as ListCompactCategoriesByIdsRequest, type context_ListCompactCategoriesByIdsResponse as ListCompactCategoriesByIdsResponse, type context_ListItemsInCategoryOptions as ListItemsInCategoryOptions, type context_ListItemsInCategoryRequest as ListItemsInCategoryRequest, type context_ListItemsInCategoryRequestPagingMethodOneOf as ListItemsInCategoryRequestPagingMethodOneOf, type context_ListItemsInCategoryResponse as ListItemsInCategoryResponse, type context_ListItemsInCategoryResponseNonNullableFields as ListItemsInCategoryResponseNonNullableFields, type context_ListTreesRequest as ListTreesRequest, type context_ListTreesResponse as ListTreesResponse, type context_ListTreesResponseNonNullableFields as ListTreesResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_MaskedCategory as MaskedCategory, type context_Media as Media, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_MissingValues as MissingValues, context_Mode as Mode, type context_MoveCategoryOptions as MoveCategoryOptions, type context_MoveCategoryRequest as MoveCategoryRequest, type context_MoveCategoryResponse as MoveCategoryResponse, type context_MoveCategoryResponseNonNullableFields as MoveCategoryResponseNonNullableFields, type context_MoveItemInCategoryRequest as MoveItemInCategoryRequest, context_MoveItemInCategoryRequestPosition as MoveItemInCategoryRequestPosition, type context_MoveItemInCategoryResponse as MoveItemInCategoryResponse, type context_NestedAggregation as NestedAggregation, type context_NestedAggregationItem as NestedAggregationItem, type context_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context_NestedAggregationResults as NestedAggregationResults, type context_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context_NestedAggregationType as NestedAggregationType, type context_NestedResultValue as NestedResultValue, type context_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context_NestedResults as NestedResults, type context_NestedValueAggregationResult as NestedValueAggregationResult, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, type context_Oembed as Oembed, type context_OffsetSearch as OffsetSearch, type context_OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOf, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, type context_PDFSettings as PDFSettings, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_PagingMetadataV2 as PagingMetadataV2, type context_ParagraphData as ParagraphData, type context_ParentCategory as ParentCategory, type context_Permissions as Permissions, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollSettings as PollSettings, context_Position as Position, type context_QueryCategoriesOptions as QueryCategoriesOptions, type context_QueryCategoriesRequest as QueryCategoriesRequest, type context_QueryCategoriesResponse as QueryCategoriesResponse, type context_QueryCategoriesResponseNonNullableFields as QueryCategoriesResponseNonNullableFields, type context_RangeAggregation as RangeAggregation, type context_RangeAggregationResult as RangeAggregationResult, type context_RangeBucket as RangeBucket, type context_RangeResult as RangeResult, type context_RangeResults as RangeResults, type context_Rel as Rel, context_RequestedFields as RequestedFields, type context_RestoreInfo as RestoreInfo, type context_Results as Results, type context_RichContent as RichContent, type context_ScalarAggregation as ScalarAggregation, type context_ScalarResult as ScalarResult, context_ScalarType as ScalarType, type context_SearchCategoriesOptions as SearchCategoriesOptions, type context_SearchCategoriesRequest as SearchCategoriesRequest, type context_SearchCategoriesResponse as SearchCategoriesResponse, type context_SearchCategoriesResponseNonNullableFields as SearchCategoriesResponseNonNullableFields, type context_SearchDetails as SearchDetails, type context_SeoSchema as SeoSchema, type context_SetArrangedItemsOptions as SetArrangedItemsOptions, type context_SetArrangedItemsRequest as SetArrangedItemsRequest, type context_SetArrangedItemsResponse as SetArrangedItemsResponse, type context_SetArrangedItemsResponseNonNullableFields as SetArrangedItemsResponseNonNullableFields, type context_Settings as Settings, context_SingleEntityOpsRequestedFields as SingleEntityOpsRequestedFields, context_SortDirection as SortDirection, context_SortOrder as SortOrder, context_SortType as SortType, type context_Sorting as Sorting, context_Source as Source, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, type context_Styles as Styles, type context_TableCellData as TableCellData, type context_TableData as TableData, type context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TreeReference as TreeReference, context_Type as Type, type context_URI as URI, type context_UpdateCategory as UpdateCategory, type context_UpdateCategoryOptions as UpdateCategoryOptions, type context_UpdateCategoryRequest as UpdateCategoryRequest, type context_UpdateCategoryResponse as UpdateCategoryResponse, type context_UpdateCategoryResponseNonNullableFields as UpdateCategoryResponseNonNullableFields, type context_UpdateCategoryVisibilityOptions as UpdateCategoryVisibilityOptions, type context_UpdateCategoryVisibilityRequest as UpdateCategoryVisibilityRequest, type context_UpdateCategoryVisibilityResponse as UpdateCategoryVisibilityResponse, type context_UpdateCategoryVisibilityResponseNonNullableFields as UpdateCategoryVisibilityResponseNonNullableFields, type context_ValueAggregation as ValueAggregation, type context_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context_ValueAggregationResult as ValueAggregationResult, type context_ValueResult as ValueResult, type context_ValueResults as ValueResults, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, type context__publicOnCategoryCreatedType as _publicOnCategoryCreatedType, type context__publicOnCategoryDeletedType as _publicOnCategoryDeletedType, type context__publicOnCategoryItemAddedToCategoryType as _publicOnCategoryItemAddedToCategoryType, type context__publicOnCategoryItemRemovedFromCategoryType as _publicOnCategoryItemRemovedFromCategoryType, type context__publicOnCategoryItemsArrangedInCategoryType as _publicOnCategoryItemsArrangedInCategoryType, type context__publicOnCategoryMovedType as _publicOnCategoryMovedType, type context__publicOnCategoryUpdatedType as _publicOnCategoryUpdatedType, context_bulkAddItemToCategories as bulkAddItemToCategories, context_bulkAddItemsToCategory as bulkAddItemsToCategory, context_bulkRemoveItemFromCategories as bulkRemoveItemFromCategories, context_bulkRemoveItemsFromCategory as bulkRemoveItemsFromCategory, context_bulkUpdateCategories as bulkUpdateCategories, context_countCategories as countCategories, context_createCategory as createCategory, context_deleteCategory as deleteCategory, context_getArrangedItems as getArrangedItems, context_getCategory as getCategory, context_listCategoriesForItem as listCategoriesForItem, context_listItemsInCategory as listItemsInCategory, context_listTrees as listTrees, context_moveCategory as moveCategory, context_onCategoryCreated as onCategoryCreated, context_onCategoryDeleted as onCategoryDeleted, context_onCategoryItemAddedToCategory as onCategoryItemAddedToCategory, context_onCategoryItemRemovedFromCategory as onCategoryItemRemovedFromCategory, context_onCategoryItemsArrangedInCategory as onCategoryItemsArrangedInCategory, context_onCategoryMoved as onCategoryMoved, context_onCategoryUpdated as onCategoryUpdated, onCategoryCreated$1 as publicOnCategoryCreated, onCategoryDeleted$1 as publicOnCategoryDeleted, onCategoryItemAddedToCategory$1 as publicOnCategoryItemAddedToCategory, onCategoryItemRemovedFromCategory$1 as publicOnCategoryItemRemovedFromCategory, onCategoryItemsArrangedInCategory$1 as publicOnCategoryItemsArrangedInCategory, onCategoryMoved$1 as publicOnCategoryMoved, onCategoryUpdated$1 as publicOnCategoryUpdated, context_queryCategories as queryCategories, context_searchCategories as searchCategories, context_setArrangedItems as setArrangedItems, context_updateCategory as updateCategory, context_updateCategoryVisibility as updateCategoryVisibility };
4035
4258
  }
4036
4259
 
4037
4260
  export { context as categories };