@wix/categories 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/build/cjs/src/categories-v1-category.http.d.ts +3 -1
  2. package/build/cjs/src/categories-v1-category.http.js +52 -1
  3. package/build/cjs/src/categories-v1-category.http.js.map +1 -1
  4. package/build/cjs/src/categories-v1-category.meta.d.ts +1 -0
  5. package/build/cjs/src/categories-v1-category.meta.js +20 -1
  6. package/build/cjs/src/categories-v1-category.meta.js.map +1 -1
  7. package/build/cjs/src/categories-v1-category.public.d.ts +3 -2
  8. package/build/cjs/src/categories-v1-category.public.js +8 -2
  9. package/build/cjs/src/categories-v1-category.public.js.map +1 -1
  10. package/build/cjs/src/categories-v1-category.types.d.ts +504 -17
  11. package/build/cjs/src/categories-v1-category.types.js.map +1 -1
  12. package/build/cjs/src/categories-v1-category.universal.d.ts +588 -25
  13. package/build/cjs/src/categories-v1-category.universal.js +64 -2
  14. package/build/cjs/src/categories-v1-category.universal.js.map +1 -1
  15. package/build/es/src/categories-v1-category.http.d.ts +3 -1
  16. package/build/es/src/categories-v1-category.http.js +50 -0
  17. package/build/es/src/categories-v1-category.http.js.map +1 -1
  18. package/build/es/src/categories-v1-category.meta.d.ts +1 -0
  19. package/build/es/src/categories-v1-category.meta.js +18 -0
  20. package/build/es/src/categories-v1-category.meta.js.map +1 -1
  21. package/build/es/src/categories-v1-category.public.d.ts +3 -2
  22. package/build/es/src/categories-v1-category.public.js +6 -1
  23. package/build/es/src/categories-v1-category.public.js.map +1 -1
  24. package/build/es/src/categories-v1-category.types.d.ts +504 -17
  25. package/build/es/src/categories-v1-category.types.js.map +1 -1
  26. package/build/es/src/categories-v1-category.universal.d.ts +588 -25
  27. package/build/es/src/categories-v1-category.universal.js +62 -1
  28. package/build/es/src/categories-v1-category.universal.js.map +1 -1
  29. package/package.json +2 -2
@@ -1460,7 +1460,7 @@ export interface QueryCategoriesRequest {
1460
1460
  * A reference to the tree that contains this category.
1461
1461
  * Used only in the first request. Following requests use the cursor token.
1462
1462
  */
1463
- treeReference?: TreeReference;
1463
+ treeReference: TreeReference;
1464
1464
  /**
1465
1465
  * Whether hidden categories should be included in the response. Default is `false`.
1466
1466
  * Used only in the first request. Following requests use the cursor token.
@@ -1538,22 +1538,6 @@ export interface Cursors {
1538
1538
  /** Cursor pointing to previous page in the list of results. */
1539
1539
  prev?: string | null;
1540
1540
  }
1541
- export interface ListCompactCategoriesByIdsRequest {
1542
- /** List of category ids. */
1543
- categoryIds?: string[];
1544
- /** A reference to the tree that contains the categories. */
1545
- treeReference?: TreeReference;
1546
- }
1547
- export interface ListCompactCategoriesByIdsResponse {
1548
- /** Categories which satisfy the provided ids. */
1549
- categories?: CompactCategory[];
1550
- }
1551
- export interface CompactCategory {
1552
- /** Category ID. */
1553
- _id?: string | null;
1554
- /** Category name. */
1555
- name?: string | null;
1556
- }
1557
1541
  export interface SearchCategoriesRequest {
1558
1542
  /** WQL query expression. */
1559
1543
  search?: CursorSearch;
@@ -2391,7 +2375,486 @@ export interface ActionEvent {
2391
2375
  }
2392
2376
  export interface Empty {
2393
2377
  }
2394
- export interface CreateCategoryResponseNonNullableFields {
2378
+ export interface CreateCategoryResponseNonNullableFields {
2379
+ category?: {
2380
+ image: string;
2381
+ numberOfItems: number;
2382
+ breadcrumbs?: {
2383
+ values: {
2384
+ categoryId: string;
2385
+ categoryName: string;
2386
+ categorySlug: string;
2387
+ }[];
2388
+ };
2389
+ richContentDescription?: {
2390
+ nodes: {
2391
+ buttonData?: {
2392
+ containerData?: {
2393
+ width?: {
2394
+ size: WidthType;
2395
+ };
2396
+ alignment: PluginContainerDataAlignment;
2397
+ };
2398
+ type: Type;
2399
+ link?: {
2400
+ url: string;
2401
+ anchor: string;
2402
+ target: Target;
2403
+ };
2404
+ };
2405
+ codeBlockData?: {
2406
+ textStyle?: {
2407
+ textAlignment: TextAlignment;
2408
+ };
2409
+ };
2410
+ dividerData?: {
2411
+ containerData?: {
2412
+ width?: {
2413
+ size: WidthType;
2414
+ };
2415
+ alignment: PluginContainerDataAlignment;
2416
+ };
2417
+ lineStyle: LineStyle;
2418
+ width: Width;
2419
+ alignment: Alignment;
2420
+ };
2421
+ fileData?: {
2422
+ containerData?: {
2423
+ width?: {
2424
+ size: WidthType;
2425
+ };
2426
+ alignment: PluginContainerDataAlignment;
2427
+ };
2428
+ pdfSettings?: {
2429
+ viewMode: ViewMode;
2430
+ };
2431
+ };
2432
+ galleryData?: {
2433
+ containerData?: {
2434
+ width?: {
2435
+ size: WidthType;
2436
+ };
2437
+ alignment: PluginContainerDataAlignment;
2438
+ };
2439
+ items: {
2440
+ image?: {
2441
+ link?: {
2442
+ url: string;
2443
+ anchor: string;
2444
+ target: Target;
2445
+ };
2446
+ };
2447
+ }[];
2448
+ options?: {
2449
+ layout?: {
2450
+ type: LayoutType;
2451
+ orientation: Orientation;
2452
+ };
2453
+ item?: {
2454
+ crop: Crop;
2455
+ };
2456
+ thumbnails?: {
2457
+ placement: ThumbnailsAlignment;
2458
+ };
2459
+ };
2460
+ };
2461
+ gifData?: {
2462
+ containerData?: {
2463
+ width?: {
2464
+ size: WidthType;
2465
+ };
2466
+ alignment: PluginContainerDataAlignment;
2467
+ };
2468
+ height: number;
2469
+ width: number;
2470
+ };
2471
+ headingData?: {
2472
+ level: number;
2473
+ textStyle?: {
2474
+ textAlignment: TextAlignment;
2475
+ };
2476
+ };
2477
+ htmlData?: {
2478
+ url: string;
2479
+ html: string;
2480
+ containerData?: {
2481
+ width?: {
2482
+ size: WidthType;
2483
+ };
2484
+ alignment: PluginContainerDataAlignment;
2485
+ };
2486
+ source: Source;
2487
+ };
2488
+ imageData?: {
2489
+ containerData?: {
2490
+ width?: {
2491
+ size: WidthType;
2492
+ };
2493
+ alignment: PluginContainerDataAlignment;
2494
+ };
2495
+ link?: {
2496
+ url: string;
2497
+ anchor: string;
2498
+ target: Target;
2499
+ };
2500
+ };
2501
+ linkPreviewData?: {
2502
+ containerData?: {
2503
+ width?: {
2504
+ size: WidthType;
2505
+ };
2506
+ alignment: PluginContainerDataAlignment;
2507
+ };
2508
+ link?: {
2509
+ url: string;
2510
+ anchor: string;
2511
+ target: Target;
2512
+ };
2513
+ };
2514
+ mapData?: {
2515
+ containerData?: {
2516
+ width?: {
2517
+ size: WidthType;
2518
+ };
2519
+ alignment: PluginContainerDataAlignment;
2520
+ };
2521
+ mapSettings?: {
2522
+ mapType: MapType;
2523
+ };
2524
+ };
2525
+ paragraphData?: {
2526
+ textStyle?: {
2527
+ textAlignment: TextAlignment;
2528
+ };
2529
+ };
2530
+ pollData?: {
2531
+ containerData?: {
2532
+ width?: {
2533
+ size: WidthType;
2534
+ };
2535
+ alignment: PluginContainerDataAlignment;
2536
+ };
2537
+ poll?: {
2538
+ options: Option[];
2539
+ settings?: {
2540
+ permissions?: {
2541
+ view: ViewRole;
2542
+ vote: VoteRole;
2543
+ };
2544
+ };
2545
+ };
2546
+ layout?: {
2547
+ poll?: {
2548
+ type: PollLayoutType;
2549
+ direction: PollLayoutDirection;
2550
+ };
2551
+ };
2552
+ design?: {
2553
+ poll?: {
2554
+ background?: {
2555
+ type: BackgroundType;
2556
+ };
2557
+ };
2558
+ };
2559
+ };
2560
+ textData?: {
2561
+ text: string;
2562
+ decorations: {
2563
+ anchorData?: {
2564
+ anchor: string;
2565
+ };
2566
+ linkData?: {
2567
+ link?: {
2568
+ url: string;
2569
+ anchor: string;
2570
+ target: Target;
2571
+ };
2572
+ };
2573
+ mentionData?: {
2574
+ name: string;
2575
+ slug: string;
2576
+ };
2577
+ fontSizeData?: {
2578
+ unit: FontType;
2579
+ };
2580
+ type: DecorationType;
2581
+ }[];
2582
+ };
2583
+ appEmbedData?: {
2584
+ type: AppType;
2585
+ };
2586
+ videoData?: {
2587
+ containerData?: {
2588
+ width?: {
2589
+ size: WidthType;
2590
+ };
2591
+ alignment: PluginContainerDataAlignment;
2592
+ };
2593
+ };
2594
+ embedData?: {
2595
+ containerData?: {
2596
+ width?: {
2597
+ size: WidthType;
2598
+ };
2599
+ alignment: PluginContainerDataAlignment;
2600
+ };
2601
+ };
2602
+ collapsibleListData?: {
2603
+ containerData?: {
2604
+ width?: {
2605
+ size: WidthType;
2606
+ };
2607
+ alignment: PluginContainerDataAlignment;
2608
+ };
2609
+ initialExpandedItems: InitialExpandedItems;
2610
+ direction: Direction;
2611
+ };
2612
+ tableData?: {
2613
+ containerData?: {
2614
+ width?: {
2615
+ size: WidthType;
2616
+ };
2617
+ alignment: PluginContainerDataAlignment;
2618
+ };
2619
+ dimensions?: {
2620
+ colsWidthRatio: number[];
2621
+ rowsHeight: number[];
2622
+ colsMinWidth: number[];
2623
+ };
2624
+ };
2625
+ tableCellData?: {
2626
+ cellStyle?: {
2627
+ verticalAlignment: VerticalAlignment;
2628
+ };
2629
+ };
2630
+ audioData?: {
2631
+ containerData?: {
2632
+ width?: {
2633
+ size: WidthType;
2634
+ };
2635
+ alignment: PluginContainerDataAlignment;
2636
+ };
2637
+ };
2638
+ orderedListData?: {
2639
+ indentation: number;
2640
+ };
2641
+ bulletedListData?: {
2642
+ indentation: number;
2643
+ };
2644
+ blockquoteData?: {
2645
+ indentation: number;
2646
+ };
2647
+ type: NodeType;
2648
+ _id: string;
2649
+ nodes: NonNullable<NonNullable<NonNullable<CreateCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
2650
+ }[];
2651
+ metadata?: {
2652
+ version: number;
2653
+ };
2654
+ documentStyle?: {
2655
+ headerOne?: {
2656
+ decorations: {
2657
+ anchorData?: {
2658
+ anchor: string;
2659
+ };
2660
+ linkData?: {
2661
+ link?: {
2662
+ url: string;
2663
+ anchor: string;
2664
+ target: Target;
2665
+ };
2666
+ };
2667
+ mentionData?: {
2668
+ name: string;
2669
+ slug: string;
2670
+ };
2671
+ fontSizeData?: {
2672
+ unit: FontType;
2673
+ };
2674
+ type: DecorationType;
2675
+ }[];
2676
+ };
2677
+ headerTwo?: {
2678
+ decorations: {
2679
+ anchorData?: {
2680
+ anchor: string;
2681
+ };
2682
+ linkData?: {
2683
+ link?: {
2684
+ url: string;
2685
+ anchor: string;
2686
+ target: Target;
2687
+ };
2688
+ };
2689
+ mentionData?: {
2690
+ name: string;
2691
+ slug: string;
2692
+ };
2693
+ fontSizeData?: {
2694
+ unit: FontType;
2695
+ };
2696
+ type: DecorationType;
2697
+ }[];
2698
+ };
2699
+ headerThree?: {
2700
+ decorations: {
2701
+ anchorData?: {
2702
+ anchor: string;
2703
+ };
2704
+ linkData?: {
2705
+ link?: {
2706
+ url: string;
2707
+ anchor: string;
2708
+ target: Target;
2709
+ };
2710
+ };
2711
+ mentionData?: {
2712
+ name: string;
2713
+ slug: string;
2714
+ };
2715
+ fontSizeData?: {
2716
+ unit: FontType;
2717
+ };
2718
+ type: DecorationType;
2719
+ }[];
2720
+ };
2721
+ headerFour?: {
2722
+ decorations: {
2723
+ anchorData?: {
2724
+ anchor: string;
2725
+ };
2726
+ linkData?: {
2727
+ link?: {
2728
+ url: string;
2729
+ anchor: string;
2730
+ target: Target;
2731
+ };
2732
+ };
2733
+ mentionData?: {
2734
+ name: string;
2735
+ slug: string;
2736
+ };
2737
+ fontSizeData?: {
2738
+ unit: FontType;
2739
+ };
2740
+ type: DecorationType;
2741
+ }[];
2742
+ };
2743
+ headerFive?: {
2744
+ decorations: {
2745
+ anchorData?: {
2746
+ anchor: string;
2747
+ };
2748
+ linkData?: {
2749
+ link?: {
2750
+ url: string;
2751
+ anchor: string;
2752
+ target: Target;
2753
+ };
2754
+ };
2755
+ mentionData?: {
2756
+ name: string;
2757
+ slug: string;
2758
+ };
2759
+ fontSizeData?: {
2760
+ unit: FontType;
2761
+ };
2762
+ type: DecorationType;
2763
+ }[];
2764
+ };
2765
+ headerSix?: {
2766
+ decorations: {
2767
+ anchorData?: {
2768
+ anchor: string;
2769
+ };
2770
+ linkData?: {
2771
+ link?: {
2772
+ url: string;
2773
+ anchor: string;
2774
+ target: Target;
2775
+ };
2776
+ };
2777
+ mentionData?: {
2778
+ name: string;
2779
+ slug: string;
2780
+ };
2781
+ fontSizeData?: {
2782
+ unit: FontType;
2783
+ };
2784
+ type: DecorationType;
2785
+ }[];
2786
+ };
2787
+ paragraph?: {
2788
+ decorations: {
2789
+ anchorData?: {
2790
+ anchor: string;
2791
+ };
2792
+ linkData?: {
2793
+ link?: {
2794
+ url: string;
2795
+ anchor: string;
2796
+ target: Target;
2797
+ };
2798
+ };
2799
+ mentionData?: {
2800
+ name: string;
2801
+ slug: string;
2802
+ };
2803
+ fontSizeData?: {
2804
+ unit: FontType;
2805
+ };
2806
+ type: DecorationType;
2807
+ }[];
2808
+ };
2809
+ blockquote?: {
2810
+ decorations: {
2811
+ anchorData?: {
2812
+ anchor: string;
2813
+ };
2814
+ linkData?: {
2815
+ link?: {
2816
+ url: string;
2817
+ anchor: string;
2818
+ target: Target;
2819
+ };
2820
+ };
2821
+ mentionData?: {
2822
+ name: string;
2823
+ slug: string;
2824
+ };
2825
+ fontSizeData?: {
2826
+ unit: FontType;
2827
+ };
2828
+ type: DecorationType;
2829
+ }[];
2830
+ };
2831
+ codeBlock?: {
2832
+ decorations: {
2833
+ anchorData?: {
2834
+ anchor: string;
2835
+ };
2836
+ linkData?: {
2837
+ link?: {
2838
+ url: string;
2839
+ anchor: string;
2840
+ target: Target;
2841
+ };
2842
+ };
2843
+ mentionData?: {
2844
+ name: string;
2845
+ slug: string;
2846
+ };
2847
+ fontSizeData?: {
2848
+ unit: FontType;
2849
+ };
2850
+ type: DecorationType;
2851
+ }[];
2852
+ };
2853
+ };
2854
+ };
2855
+ };
2856
+ }
2857
+ export interface GetCategoryResponseNonNullableFields {
2395
2858
  category?: {
2396
2859
  image: string;
2397
2860
  numberOfItems: number;
@@ -2662,7 +3125,7 @@ export interface CreateCategoryResponseNonNullableFields {
2662
3125
  };
2663
3126
  type: NodeType;
2664
3127
  _id: string;
2665
- nodes: NonNullable<NonNullable<NonNullable<CreateCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
3128
+ nodes: NonNullable<NonNullable<NonNullable<GetCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
2666
3129
  }[];
2667
3130
  metadata?: {
2668
3131
  version: number;
@@ -2870,7 +3333,7 @@ export interface CreateCategoryResponseNonNullableFields {
2870
3333
  };
2871
3334
  };
2872
3335
  }
2873
- export interface GetCategoryResponseNonNullableFields {
3336
+ export interface UpdateCategoryResponseNonNullableFields {
2874
3337
  category?: {
2875
3338
  image: string;
2876
3339
  numberOfItems: number;
@@ -3141,7 +3604,7 @@ export interface GetCategoryResponseNonNullableFields {
3141
3604
  };
3142
3605
  type: NodeType;
3143
3606
  _id: string;
3144
- nodes: NonNullable<NonNullable<NonNullable<GetCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
3607
+ nodes: NonNullable<NonNullable<NonNullable<UpdateCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
3145
3608
  }[];
3146
3609
  metadata?: {
3147
3610
  version: number;
@@ -3349,8 +3812,8 @@ export interface GetCategoryResponseNonNullableFields {
3349
3812
  };
3350
3813
  };
3351
3814
  }
3352
- export interface UpdateCategoryResponseNonNullableFields {
3353
- category?: {
3815
+ export interface QueryCategoriesResponseNonNullableFields {
3816
+ categories: {
3354
3817
  image: string;
3355
3818
  numberOfItems: number;
3356
3819
  breadcrumbs?: {
@@ -3620,7 +4083,7 @@ export interface UpdateCategoryResponseNonNullableFields {
3620
4083
  };
3621
4084
  type: NodeType;
3622
4085
  _id: string;
3623
- nodes: NonNullable<NonNullable<NonNullable<UpdateCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
4086
+ nodes: NonNullable<NonNullable<NonNullable<QueryCategoriesResponseNonNullableFields>['categories'][0]>['richContentDescription']>['nodes'][];
3624
4087
  }[];
3625
4088
  metadata?: {
3626
4089
  version: number;
@@ -3826,7 +4289,7 @@ export interface UpdateCategoryResponseNonNullableFields {
3826
4289
  };
3827
4290
  };
3828
4291
  };
3829
- };
4292
+ }[];
3830
4293
  }
3831
4294
  export interface SearchCategoriesResponseNonNullableFields {
3832
4295
  categories: {
@@ -5596,6 +6059,105 @@ export interface UpdateCategoryOptions {
5596
6059
  * @requiredField treeReference.appNamespace
5597
6060
  */
5598
6061
  export declare function deleteCategory(categoryId: string, treeReference: TreeReference): Promise<void>;
6062
+ /**
6063
+ * Query Categories using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
6064
+ * @public
6065
+ * @documentationMaturity preview
6066
+ * @applicableIdentity MEMBER
6067
+ * @applicableIdentity VISITOR
6068
+ */
6069
+ export declare function queryCategories(options: QueryCategoriesOptions): CategoriesQueryBuilder;
6070
+ export interface QueryCategoriesOptions {
6071
+ /**
6072
+ * A reference to the tree that contains this category.
6073
+ * Used only in the first request. Following requests use the cursor token.
6074
+ */
6075
+ treeReference: TreeReference;
6076
+ /**
6077
+ * Whether hidden categories should be included in the response. Default is `false`.
6078
+ * Used only in the first request. Following requests use the cursor token.
6079
+ */
6080
+ includeHidden?: boolean | undefined;
6081
+ /** Fields to return in the response. When not provided, these fields are not returned. */
6082
+ fields?: RequestedFields[] | undefined;
6083
+ }
6084
+ interface QueryCursorResult {
6085
+ cursors: Cursors;
6086
+ hasNext: () => boolean;
6087
+ hasPrev: () => boolean;
6088
+ length: number;
6089
+ pageSize: number;
6090
+ }
6091
+ export interface CategoriesQueryResult extends QueryCursorResult {
6092
+ items: Category[];
6093
+ query: CategoriesQueryBuilder;
6094
+ next: () => Promise<CategoriesQueryResult>;
6095
+ prev: () => Promise<CategoriesQueryResult>;
6096
+ }
6097
+ export interface CategoriesQueryBuilder {
6098
+ /** @param propertyName - Property whose value is compared with `value`.
6099
+ * @param value - Value to compare against.
6100
+ * @documentationMaturity preview
6101
+ */
6102
+ eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'slug', value: any) => CategoriesQueryBuilder;
6103
+ /** @param propertyName - Property whose value is compared with `value`.
6104
+ * @param value - Value to compare against.
6105
+ * @documentationMaturity preview
6106
+ */
6107
+ ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'slug', value: any) => CategoriesQueryBuilder;
6108
+ /** @param propertyName - Property whose value is compared with `value`.
6109
+ * @param value - Value to compare against.
6110
+ * @documentationMaturity preview
6111
+ */
6112
+ ge: (propertyName: '_createdDate' | '_updatedDate', value: any) => CategoriesQueryBuilder;
6113
+ /** @param propertyName - Property whose value is compared with `value`.
6114
+ * @param value - Value to compare against.
6115
+ * @documentationMaturity preview
6116
+ */
6117
+ gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => CategoriesQueryBuilder;
6118
+ /** @param propertyName - Property whose value is compared with `value`.
6119
+ * @param value - Value to compare against.
6120
+ * @documentationMaturity preview
6121
+ */
6122
+ le: (propertyName: '_createdDate' | '_updatedDate', value: any) => CategoriesQueryBuilder;
6123
+ /** @param propertyName - Property whose value is compared with `value`.
6124
+ * @param value - Value to compare against.
6125
+ * @documentationMaturity preview
6126
+ */
6127
+ lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => CategoriesQueryBuilder;
6128
+ /** @param propertyName - Property whose value is compared with `string`.
6129
+ * @param string - String to compare against. Case-insensitive.
6130
+ * @documentationMaturity preview
6131
+ */
6132
+ startsWith: (propertyName: '_id' | 'name' | 'description' | 'slug', value: string) => CategoriesQueryBuilder;
6133
+ /** @param propertyName - Property whose value is compared with `values`.
6134
+ * @param values - List of values to compare against.
6135
+ * @documentationMaturity preview
6136
+ */
6137
+ hasSome: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'slug', value: any[]) => CategoriesQueryBuilder;
6138
+ /** @documentationMaturity preview */
6139
+ in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'slug', value: any) => CategoriesQueryBuilder;
6140
+ /** @documentationMaturity preview */
6141
+ exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'description' | 'slug', value: boolean) => CategoriesQueryBuilder;
6142
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
6143
+ * @documentationMaturity preview
6144
+ */
6145
+ ascending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'slug'>) => CategoriesQueryBuilder;
6146
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
6147
+ * @documentationMaturity preview
6148
+ */
6149
+ descending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'slug'>) => CategoriesQueryBuilder;
6150
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
6151
+ * @documentationMaturity preview
6152
+ */
6153
+ limit: (limit: number) => CategoriesQueryBuilder;
6154
+ /** @param cursor - A pointer to specific record
6155
+ * @documentationMaturity preview
6156
+ */
6157
+ skipTo: (cursor: string) => CategoriesQueryBuilder;
6158
+ /** @documentationMaturity preview */
6159
+ find: () => Promise<CategoriesQueryResult>;
6160
+ }
5599
6161
  /**
5600
6162
  * Search Categories using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
5601
6163
  * @public
@@ -5901,3 +6463,4 @@ export interface SetArrangedItemsOptions {
5901
6463
  * @applicableIdentity VISITOR
5902
6464
  */
5903
6465
  export declare function getArrangedItems(categoryId: string, treeReference: TreeReference): Promise<GetArrangedItemsResponse & GetArrangedItemsResponseNonNullableFields>;
6466
+ export {};