@wix/categories 1.0.5 → 1.0.7

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 (25) hide show
  1. package/build/cjs/src/categories-v1-category.http.d.ts +19 -19
  2. package/build/cjs/src/categories-v1-category.http.js +58 -58
  3. package/build/cjs/src/categories-v1-category.http.js.map +1 -1
  4. package/build/cjs/src/categories-v1-category.public.d.ts +1446 -18
  5. package/build/cjs/src/categories-v1-category.public.js +17 -17
  6. package/build/cjs/src/categories-v1-category.public.js.map +1 -1
  7. package/build/cjs/src/categories-v1-category.types.d.ts +3156 -16
  8. package/build/cjs/src/categories-v1-category.types.js +9 -9
  9. package/build/cjs/src/categories-v1-category.types.js.map +1 -1
  10. package/build/cjs/src/categories-v1-category.universal.d.ts +3036 -46
  11. package/build/cjs/src/categories-v1-category.universal.js +51 -57
  12. package/build/cjs/src/categories-v1-category.universal.js.map +1 -1
  13. package/build/es/src/categories-v1-category.http.d.ts +19 -19
  14. package/build/es/src/categories-v1-category.http.js +52 -52
  15. package/build/es/src/categories-v1-category.http.js.map +1 -1
  16. package/build/es/src/categories-v1-category.public.d.ts +1446 -18
  17. package/build/es/src/categories-v1-category.public.js +12 -12
  18. package/build/es/src/categories-v1-category.public.js.map +1 -1
  19. package/build/es/src/categories-v1-category.types.d.ts +3156 -16
  20. package/build/es/src/categories-v1-category.types.js +8 -8
  21. package/build/es/src/categories-v1-category.types.js.map +1 -1
  22. package/build/es/src/categories-v1-category.universal.d.ts +3036 -46
  23. package/build/es/src/categories-v1-category.universal.js +45 -51
  24. package/build/es/src/categories-v1-category.universal.js.map +1 -1
  25. package/package.json +2 -2
@@ -69,7 +69,7 @@ export interface Category {
69
69
  * If provided, the update of items assigned to this category and the deletion of it will be allowed only to the managing app.
70
70
  * The default is Empty.
71
71
  */
72
- managedByAppId?: string | null;
72
+ managingAppId?: string | null;
73
73
  /** Extensions enabling users to save custom data related to the category. */
74
74
  extendedFields?: ExtendedFields;
75
75
  }
@@ -481,7 +481,7 @@ export declare enum TextAlignment {
481
481
  RIGHT = "RIGHT",
482
482
  /** Center align */
483
483
  CENTER = "CENTER",
484
- /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
484
+ /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line. */
485
485
  JUSTIFY = "JUSTIFY"
486
486
  }
487
487
  export interface DividerData {
@@ -1491,7 +1491,7 @@ export interface Cursors {
1491
1491
  /** Cursor pointing to previous page in the list of results. */
1492
1492
  prev?: string | null;
1493
1493
  }
1494
- export interface PlaceCategoryInParentCategoryRequest {
1494
+ export interface MoveCategoryRequest {
1495
1495
  /** ID of category to place. */
1496
1496
  categoryId: string;
1497
1497
  /** A reference to the tree that contains this category. */
@@ -1507,21 +1507,21 @@ export interface PlaceCategoryInParentCategoryRequest {
1507
1507
  * `LAST` - make category with `category_id` last subcategory with manual arrangement.
1508
1508
  * `BEFORE` - requires `move_before_category_id`, category with `category_id` will be moved before it.
1509
1509
  */
1510
- position: PlaceCategoryInParentCategoryRequestPosition;
1510
+ position: MoveCategoryRequestPosition;
1511
1511
  /** Required when `position` is `BEFORE`. Otherwise ignored */
1512
1512
  moveBeforeCategoryId?: string | null;
1513
1513
  }
1514
- export declare enum PlaceCategoryInParentCategoryRequestPosition {
1514
+ export declare enum MoveCategoryRequestPosition {
1515
1515
  UNKNOWN_POSITION = "UNKNOWN_POSITION",
1516
1516
  FIRST = "FIRST",
1517
1517
  LAST = "LAST",
1518
1518
  BEFORE = "BEFORE"
1519
1519
  }
1520
- export interface PlaceCategoryInParentCategoryResponse {
1520
+ export interface MoveCategoryResponse {
1521
1521
  /** ID of parent category. */
1522
1522
  parentCategoryId?: string | null;
1523
1523
  /** Information about manually arranged categories after move. */
1524
- arrangedCategoriesAfterMove?: string[];
1524
+ categoriesAfterMove?: string[];
1525
1525
  }
1526
1526
  export interface BulkCreateCategoriesRequest {
1527
1527
  /** List of categories to be created. */
@@ -1665,7 +1665,7 @@ export interface BulkDeleteCategoriesByFilterResponse {
1665
1665
  /** Token that can be used to query "AsyncJobService" */
1666
1666
  jobId?: string;
1667
1667
  }
1668
- export interface AddItemsToCategoryRequest {
1668
+ export interface BulkAddItemsToCategoryRequest {
1669
1669
  /** Category id. */
1670
1670
  categoryId: string;
1671
1671
  /** List of catalog items with reference info. */
@@ -1679,7 +1679,7 @@ export interface ItemReference {
1679
1679
  /** ID of the catalog app. For example, the Wix Stores `appId`, or the 3rd-party `appId`. */
1680
1680
  appId?: string;
1681
1681
  }
1682
- export interface AddItemsToCategoryResponse {
1682
+ export interface BulkAddItemsToCategoryResponse {
1683
1683
  /** Items added by bulk action. */
1684
1684
  results?: BulkItemsToCategoryResult[];
1685
1685
  /** Bulk action metadata. */
@@ -1711,7 +1711,7 @@ export interface ItemsAddedToCategory {
1711
1711
  /** List of catalog items with reference info. */
1712
1712
  items?: ItemReference[];
1713
1713
  }
1714
- export interface AddItemToCategoriesRequest {
1714
+ export interface BulkAddItemToCategoriesRequest {
1715
1715
  /** Catalog item reference info */
1716
1716
  itemReference: ItemReference;
1717
1717
  /** Category ids. */
@@ -1719,7 +1719,7 @@ export interface AddItemToCategoriesRequest {
1719
1719
  /** A reference to the tree that contains the categories. */
1720
1720
  treeReference: TreeReference;
1721
1721
  }
1722
- export interface AddItemToCategoriesResponse {
1722
+ export interface BulkAddItemToCategoriesResponse {
1723
1723
  /** Items added by bulk action. */
1724
1724
  results?: BulkItemToCategoriesResult[];
1725
1725
  /** Bulk action metadata. */
@@ -1729,7 +1729,7 @@ export interface BulkItemToCategoriesResult {
1729
1729
  /** Information about categories to which item was added successfully and errors for failed items. `id` is ID of category. */
1730
1730
  itemMetadata?: ItemMetadata;
1731
1731
  }
1732
- export interface RemoveItemsFromCategoryRequest {
1732
+ export interface BulkRemoveItemsFromCategoryRequest {
1733
1733
  /** Category id */
1734
1734
  categoryId: string;
1735
1735
  /** List of catalog items with reference info. */
@@ -1737,7 +1737,7 @@ export interface RemoveItemsFromCategoryRequest {
1737
1737
  /** A reference to the tree that contains this category. */
1738
1738
  treeReference: TreeReference;
1739
1739
  }
1740
- export interface RemoveItemsFromCategoryResponse {
1740
+ export interface BulkRemoveItemsFromCategoryResponse {
1741
1741
  /** Items removed by bulk action. */
1742
1742
  results?: BulkItemsToCategoryResult[];
1743
1743
  /** Bulk action metadata. */
@@ -1755,7 +1755,7 @@ export interface ItemsRemovedFromCategory {
1755
1755
  /** List of catalog items with reference info. */
1756
1756
  items?: ItemReference[];
1757
1757
  }
1758
- export interface RemoveItemFromCategoriesRequest {
1758
+ export interface BulkRemoveItemFromCategoriesRequest {
1759
1759
  /** Catalog item reference info */
1760
1760
  itemReference: ItemReference;
1761
1761
  /** Category ids. */
@@ -1763,7 +1763,7 @@ export interface RemoveItemFromCategoriesRequest {
1763
1763
  /** A reference to the tree that contains the categories. */
1764
1764
  treeReference: TreeReference;
1765
1765
  }
1766
- export interface RemoveItemFromCategoriesResponse {
1766
+ export interface BulkRemoveItemFromCategoriesResponse {
1767
1767
  /** Items removed by bulk action. */
1768
1768
  results?: BulkItemToCategoriesResult[];
1769
1769
  /** Bulk action metadata. */
@@ -1841,7 +1841,7 @@ export declare enum Position {
1841
1841
  }
1842
1842
  export interface MoveItemInCategoryResponse {
1843
1843
  /** Information about manually arranged items after move. */
1844
- arrangedItemsAfterMove?: ItemReference[];
1844
+ itemsAfterMove?: ItemReference[];
1845
1845
  }
1846
1846
  export interface SetArrangedItemsRequest {
1847
1847
  /** ID of category. */
@@ -1951,6 +1951,3002 @@ export interface ActionEvent {
1951
1951
  }
1952
1952
  export interface Empty {
1953
1953
  }
1954
+ export interface CreateCategoryResponseNonNullableFields {
1955
+ category?: {
1956
+ image: string;
1957
+ numberOfItems: number;
1958
+ breadcrumbs?: {
1959
+ values: {
1960
+ categoryId: string;
1961
+ categoryName: string;
1962
+ categorySlug: string;
1963
+ }[];
1964
+ };
1965
+ richContentDescription?: {
1966
+ nodes: {
1967
+ buttonData?: {
1968
+ containerData?: {
1969
+ width?: {
1970
+ size: WidthType;
1971
+ };
1972
+ alignment: PluginContainerDataAlignment;
1973
+ };
1974
+ type: Type;
1975
+ link?: {
1976
+ url: string;
1977
+ anchor: string;
1978
+ target: Target;
1979
+ };
1980
+ };
1981
+ codeBlockData?: {
1982
+ textStyle?: {
1983
+ textAlignment: TextAlignment;
1984
+ };
1985
+ };
1986
+ dividerData?: {
1987
+ containerData?: {
1988
+ width?: {
1989
+ size: WidthType;
1990
+ };
1991
+ alignment: PluginContainerDataAlignment;
1992
+ };
1993
+ lineStyle: LineStyle;
1994
+ width: Width;
1995
+ alignment: Alignment;
1996
+ };
1997
+ fileData?: {
1998
+ containerData?: {
1999
+ width?: {
2000
+ size: WidthType;
2001
+ };
2002
+ alignment: PluginContainerDataAlignment;
2003
+ };
2004
+ pdfSettings?: {
2005
+ viewMode: ViewMode;
2006
+ };
2007
+ };
2008
+ galleryData?: {
2009
+ containerData?: {
2010
+ width?: {
2011
+ size: WidthType;
2012
+ };
2013
+ alignment: PluginContainerDataAlignment;
2014
+ };
2015
+ items: {
2016
+ image?: {
2017
+ link?: {
2018
+ url: string;
2019
+ anchor: string;
2020
+ target: Target;
2021
+ };
2022
+ };
2023
+ }[];
2024
+ options?: {
2025
+ layout?: {
2026
+ type: LayoutType;
2027
+ orientation: Orientation;
2028
+ };
2029
+ item?: {
2030
+ crop: Crop;
2031
+ };
2032
+ thumbnails?: {
2033
+ placement: ThumbnailsAlignment;
2034
+ };
2035
+ };
2036
+ };
2037
+ gifData?: {
2038
+ containerData?: {
2039
+ width?: {
2040
+ size: WidthType;
2041
+ };
2042
+ alignment: PluginContainerDataAlignment;
2043
+ };
2044
+ height: number;
2045
+ width: number;
2046
+ };
2047
+ headingData?: {
2048
+ level: number;
2049
+ textStyle?: {
2050
+ textAlignment: TextAlignment;
2051
+ };
2052
+ };
2053
+ htmlData?: {
2054
+ url: string;
2055
+ html: string;
2056
+ containerData?: {
2057
+ width?: {
2058
+ size: WidthType;
2059
+ };
2060
+ alignment: PluginContainerDataAlignment;
2061
+ };
2062
+ source: Source;
2063
+ };
2064
+ imageData?: {
2065
+ containerData?: {
2066
+ width?: {
2067
+ size: WidthType;
2068
+ };
2069
+ alignment: PluginContainerDataAlignment;
2070
+ };
2071
+ link?: {
2072
+ url: string;
2073
+ anchor: string;
2074
+ target: Target;
2075
+ };
2076
+ };
2077
+ linkPreviewData?: {
2078
+ containerData?: {
2079
+ width?: {
2080
+ size: WidthType;
2081
+ };
2082
+ alignment: PluginContainerDataAlignment;
2083
+ };
2084
+ link?: {
2085
+ url: string;
2086
+ anchor: string;
2087
+ target: Target;
2088
+ };
2089
+ };
2090
+ mapData?: {
2091
+ containerData?: {
2092
+ width?: {
2093
+ size: WidthType;
2094
+ };
2095
+ alignment: PluginContainerDataAlignment;
2096
+ };
2097
+ mapSettings?: {
2098
+ mapType: MapType;
2099
+ };
2100
+ };
2101
+ paragraphData?: {
2102
+ textStyle?: {
2103
+ textAlignment: TextAlignment;
2104
+ };
2105
+ };
2106
+ pollData?: {
2107
+ containerData?: {
2108
+ width?: {
2109
+ size: WidthType;
2110
+ };
2111
+ alignment: PluginContainerDataAlignment;
2112
+ };
2113
+ poll?: {
2114
+ options: Option[];
2115
+ settings?: {
2116
+ permissions?: {
2117
+ view: ViewRole;
2118
+ vote: VoteRole;
2119
+ };
2120
+ };
2121
+ };
2122
+ layout?: {
2123
+ poll?: {
2124
+ type: PollLayoutType;
2125
+ direction: PollLayoutDirection;
2126
+ };
2127
+ };
2128
+ design?: {
2129
+ poll?: {
2130
+ background?: {
2131
+ type: BackgroundType;
2132
+ };
2133
+ };
2134
+ };
2135
+ };
2136
+ textData?: {
2137
+ text: string;
2138
+ decorations: {
2139
+ anchorData?: {
2140
+ anchor: string;
2141
+ };
2142
+ linkData?: {
2143
+ link?: {
2144
+ url: string;
2145
+ anchor: string;
2146
+ target: Target;
2147
+ };
2148
+ };
2149
+ mentionData?: {
2150
+ name: string;
2151
+ slug: string;
2152
+ };
2153
+ fontSizeData?: {
2154
+ unit: FontType;
2155
+ };
2156
+ type: DecorationType;
2157
+ }[];
2158
+ };
2159
+ appEmbedData?: {
2160
+ type: AppType;
2161
+ };
2162
+ videoData?: {
2163
+ containerData?: {
2164
+ width?: {
2165
+ size: WidthType;
2166
+ };
2167
+ alignment: PluginContainerDataAlignment;
2168
+ };
2169
+ };
2170
+ embedData?: {
2171
+ containerData?: {
2172
+ width?: {
2173
+ size: WidthType;
2174
+ };
2175
+ alignment: PluginContainerDataAlignment;
2176
+ };
2177
+ };
2178
+ collapsibleListData?: {
2179
+ containerData?: {
2180
+ width?: {
2181
+ size: WidthType;
2182
+ };
2183
+ alignment: PluginContainerDataAlignment;
2184
+ };
2185
+ initialExpandedItems: InitialExpandedItems;
2186
+ direction: Direction;
2187
+ };
2188
+ tableData?: {
2189
+ containerData?: {
2190
+ width?: {
2191
+ size: WidthType;
2192
+ };
2193
+ alignment: PluginContainerDataAlignment;
2194
+ };
2195
+ dimensions?: {
2196
+ colsWidthRatio: number[];
2197
+ rowsHeight: number[];
2198
+ colsMinWidth: number[];
2199
+ };
2200
+ };
2201
+ tableCellData?: {
2202
+ cellStyle?: {
2203
+ verticalAlignment: VerticalAlignment;
2204
+ };
2205
+ };
2206
+ audioData?: {
2207
+ containerData?: {
2208
+ width?: {
2209
+ size: WidthType;
2210
+ };
2211
+ alignment: PluginContainerDataAlignment;
2212
+ };
2213
+ };
2214
+ orderedListData?: {
2215
+ indentation: number;
2216
+ };
2217
+ bulletedListData?: {
2218
+ indentation: number;
2219
+ };
2220
+ blockquoteData?: {
2221
+ indentation: number;
2222
+ };
2223
+ type: NodeType;
2224
+ _id: string;
2225
+ nodes: NonNullable<NonNullable<NonNullable<CreateCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
2226
+ }[];
2227
+ metadata?: {
2228
+ version: number;
2229
+ };
2230
+ documentStyle?: {
2231
+ headerOne?: {
2232
+ decorations: {
2233
+ anchorData?: {
2234
+ anchor: string;
2235
+ };
2236
+ linkData?: {
2237
+ link?: {
2238
+ url: string;
2239
+ anchor: string;
2240
+ target: Target;
2241
+ };
2242
+ };
2243
+ mentionData?: {
2244
+ name: string;
2245
+ slug: string;
2246
+ };
2247
+ fontSizeData?: {
2248
+ unit: FontType;
2249
+ };
2250
+ type: DecorationType;
2251
+ }[];
2252
+ };
2253
+ headerTwo?: {
2254
+ decorations: {
2255
+ anchorData?: {
2256
+ anchor: string;
2257
+ };
2258
+ linkData?: {
2259
+ link?: {
2260
+ url: string;
2261
+ anchor: string;
2262
+ target: Target;
2263
+ };
2264
+ };
2265
+ mentionData?: {
2266
+ name: string;
2267
+ slug: string;
2268
+ };
2269
+ fontSizeData?: {
2270
+ unit: FontType;
2271
+ };
2272
+ type: DecorationType;
2273
+ }[];
2274
+ };
2275
+ headerThree?: {
2276
+ decorations: {
2277
+ anchorData?: {
2278
+ anchor: string;
2279
+ };
2280
+ linkData?: {
2281
+ link?: {
2282
+ url: string;
2283
+ anchor: string;
2284
+ target: Target;
2285
+ };
2286
+ };
2287
+ mentionData?: {
2288
+ name: string;
2289
+ slug: string;
2290
+ };
2291
+ fontSizeData?: {
2292
+ unit: FontType;
2293
+ };
2294
+ type: DecorationType;
2295
+ }[];
2296
+ };
2297
+ headerFour?: {
2298
+ decorations: {
2299
+ anchorData?: {
2300
+ anchor: string;
2301
+ };
2302
+ linkData?: {
2303
+ link?: {
2304
+ url: string;
2305
+ anchor: string;
2306
+ target: Target;
2307
+ };
2308
+ };
2309
+ mentionData?: {
2310
+ name: string;
2311
+ slug: string;
2312
+ };
2313
+ fontSizeData?: {
2314
+ unit: FontType;
2315
+ };
2316
+ type: DecorationType;
2317
+ }[];
2318
+ };
2319
+ headerFive?: {
2320
+ decorations: {
2321
+ anchorData?: {
2322
+ anchor: string;
2323
+ };
2324
+ linkData?: {
2325
+ link?: {
2326
+ url: string;
2327
+ anchor: string;
2328
+ target: Target;
2329
+ };
2330
+ };
2331
+ mentionData?: {
2332
+ name: string;
2333
+ slug: string;
2334
+ };
2335
+ fontSizeData?: {
2336
+ unit: FontType;
2337
+ };
2338
+ type: DecorationType;
2339
+ }[];
2340
+ };
2341
+ headerSix?: {
2342
+ decorations: {
2343
+ anchorData?: {
2344
+ anchor: string;
2345
+ };
2346
+ linkData?: {
2347
+ link?: {
2348
+ url: string;
2349
+ anchor: string;
2350
+ target: Target;
2351
+ };
2352
+ };
2353
+ mentionData?: {
2354
+ name: string;
2355
+ slug: string;
2356
+ };
2357
+ fontSizeData?: {
2358
+ unit: FontType;
2359
+ };
2360
+ type: DecorationType;
2361
+ }[];
2362
+ };
2363
+ paragraph?: {
2364
+ decorations: {
2365
+ anchorData?: {
2366
+ anchor: string;
2367
+ };
2368
+ linkData?: {
2369
+ link?: {
2370
+ url: string;
2371
+ anchor: string;
2372
+ target: Target;
2373
+ };
2374
+ };
2375
+ mentionData?: {
2376
+ name: string;
2377
+ slug: string;
2378
+ };
2379
+ fontSizeData?: {
2380
+ unit: FontType;
2381
+ };
2382
+ type: DecorationType;
2383
+ }[];
2384
+ };
2385
+ blockquote?: {
2386
+ decorations: {
2387
+ anchorData?: {
2388
+ anchor: string;
2389
+ };
2390
+ linkData?: {
2391
+ link?: {
2392
+ url: string;
2393
+ anchor: string;
2394
+ target: Target;
2395
+ };
2396
+ };
2397
+ mentionData?: {
2398
+ name: string;
2399
+ slug: string;
2400
+ };
2401
+ fontSizeData?: {
2402
+ unit: FontType;
2403
+ };
2404
+ type: DecorationType;
2405
+ }[];
2406
+ };
2407
+ codeBlock?: {
2408
+ decorations: {
2409
+ anchorData?: {
2410
+ anchor: string;
2411
+ };
2412
+ linkData?: {
2413
+ link?: {
2414
+ url: string;
2415
+ anchor: string;
2416
+ target: Target;
2417
+ };
2418
+ };
2419
+ mentionData?: {
2420
+ name: string;
2421
+ slug: string;
2422
+ };
2423
+ fontSizeData?: {
2424
+ unit: FontType;
2425
+ };
2426
+ type: DecorationType;
2427
+ }[];
2428
+ };
2429
+ };
2430
+ };
2431
+ };
2432
+ }
2433
+ export interface GetCategoryResponseNonNullableFields {
2434
+ category?: {
2435
+ image: string;
2436
+ numberOfItems: number;
2437
+ breadcrumbs?: {
2438
+ values: {
2439
+ categoryId: string;
2440
+ categoryName: string;
2441
+ categorySlug: string;
2442
+ }[];
2443
+ };
2444
+ richContentDescription?: {
2445
+ nodes: {
2446
+ buttonData?: {
2447
+ containerData?: {
2448
+ width?: {
2449
+ size: WidthType;
2450
+ };
2451
+ alignment: PluginContainerDataAlignment;
2452
+ };
2453
+ type: Type;
2454
+ link?: {
2455
+ url: string;
2456
+ anchor: string;
2457
+ target: Target;
2458
+ };
2459
+ };
2460
+ codeBlockData?: {
2461
+ textStyle?: {
2462
+ textAlignment: TextAlignment;
2463
+ };
2464
+ };
2465
+ dividerData?: {
2466
+ containerData?: {
2467
+ width?: {
2468
+ size: WidthType;
2469
+ };
2470
+ alignment: PluginContainerDataAlignment;
2471
+ };
2472
+ lineStyle: LineStyle;
2473
+ width: Width;
2474
+ alignment: Alignment;
2475
+ };
2476
+ fileData?: {
2477
+ containerData?: {
2478
+ width?: {
2479
+ size: WidthType;
2480
+ };
2481
+ alignment: PluginContainerDataAlignment;
2482
+ };
2483
+ pdfSettings?: {
2484
+ viewMode: ViewMode;
2485
+ };
2486
+ };
2487
+ galleryData?: {
2488
+ containerData?: {
2489
+ width?: {
2490
+ size: WidthType;
2491
+ };
2492
+ alignment: PluginContainerDataAlignment;
2493
+ };
2494
+ items: {
2495
+ image?: {
2496
+ link?: {
2497
+ url: string;
2498
+ anchor: string;
2499
+ target: Target;
2500
+ };
2501
+ };
2502
+ }[];
2503
+ options?: {
2504
+ layout?: {
2505
+ type: LayoutType;
2506
+ orientation: Orientation;
2507
+ };
2508
+ item?: {
2509
+ crop: Crop;
2510
+ };
2511
+ thumbnails?: {
2512
+ placement: ThumbnailsAlignment;
2513
+ };
2514
+ };
2515
+ };
2516
+ gifData?: {
2517
+ containerData?: {
2518
+ width?: {
2519
+ size: WidthType;
2520
+ };
2521
+ alignment: PluginContainerDataAlignment;
2522
+ };
2523
+ height: number;
2524
+ width: number;
2525
+ };
2526
+ headingData?: {
2527
+ level: number;
2528
+ textStyle?: {
2529
+ textAlignment: TextAlignment;
2530
+ };
2531
+ };
2532
+ htmlData?: {
2533
+ url: string;
2534
+ html: string;
2535
+ containerData?: {
2536
+ width?: {
2537
+ size: WidthType;
2538
+ };
2539
+ alignment: PluginContainerDataAlignment;
2540
+ };
2541
+ source: Source;
2542
+ };
2543
+ imageData?: {
2544
+ containerData?: {
2545
+ width?: {
2546
+ size: WidthType;
2547
+ };
2548
+ alignment: PluginContainerDataAlignment;
2549
+ };
2550
+ link?: {
2551
+ url: string;
2552
+ anchor: string;
2553
+ target: Target;
2554
+ };
2555
+ };
2556
+ linkPreviewData?: {
2557
+ containerData?: {
2558
+ width?: {
2559
+ size: WidthType;
2560
+ };
2561
+ alignment: PluginContainerDataAlignment;
2562
+ };
2563
+ link?: {
2564
+ url: string;
2565
+ anchor: string;
2566
+ target: Target;
2567
+ };
2568
+ };
2569
+ mapData?: {
2570
+ containerData?: {
2571
+ width?: {
2572
+ size: WidthType;
2573
+ };
2574
+ alignment: PluginContainerDataAlignment;
2575
+ };
2576
+ mapSettings?: {
2577
+ mapType: MapType;
2578
+ };
2579
+ };
2580
+ paragraphData?: {
2581
+ textStyle?: {
2582
+ textAlignment: TextAlignment;
2583
+ };
2584
+ };
2585
+ pollData?: {
2586
+ containerData?: {
2587
+ width?: {
2588
+ size: WidthType;
2589
+ };
2590
+ alignment: PluginContainerDataAlignment;
2591
+ };
2592
+ poll?: {
2593
+ options: Option[];
2594
+ settings?: {
2595
+ permissions?: {
2596
+ view: ViewRole;
2597
+ vote: VoteRole;
2598
+ };
2599
+ };
2600
+ };
2601
+ layout?: {
2602
+ poll?: {
2603
+ type: PollLayoutType;
2604
+ direction: PollLayoutDirection;
2605
+ };
2606
+ };
2607
+ design?: {
2608
+ poll?: {
2609
+ background?: {
2610
+ type: BackgroundType;
2611
+ };
2612
+ };
2613
+ };
2614
+ };
2615
+ textData?: {
2616
+ text: string;
2617
+ decorations: {
2618
+ anchorData?: {
2619
+ anchor: string;
2620
+ };
2621
+ linkData?: {
2622
+ link?: {
2623
+ url: string;
2624
+ anchor: string;
2625
+ target: Target;
2626
+ };
2627
+ };
2628
+ mentionData?: {
2629
+ name: string;
2630
+ slug: string;
2631
+ };
2632
+ fontSizeData?: {
2633
+ unit: FontType;
2634
+ };
2635
+ type: DecorationType;
2636
+ }[];
2637
+ };
2638
+ appEmbedData?: {
2639
+ type: AppType;
2640
+ };
2641
+ videoData?: {
2642
+ containerData?: {
2643
+ width?: {
2644
+ size: WidthType;
2645
+ };
2646
+ alignment: PluginContainerDataAlignment;
2647
+ };
2648
+ };
2649
+ embedData?: {
2650
+ containerData?: {
2651
+ width?: {
2652
+ size: WidthType;
2653
+ };
2654
+ alignment: PluginContainerDataAlignment;
2655
+ };
2656
+ };
2657
+ collapsibleListData?: {
2658
+ containerData?: {
2659
+ width?: {
2660
+ size: WidthType;
2661
+ };
2662
+ alignment: PluginContainerDataAlignment;
2663
+ };
2664
+ initialExpandedItems: InitialExpandedItems;
2665
+ direction: Direction;
2666
+ };
2667
+ tableData?: {
2668
+ containerData?: {
2669
+ width?: {
2670
+ size: WidthType;
2671
+ };
2672
+ alignment: PluginContainerDataAlignment;
2673
+ };
2674
+ dimensions?: {
2675
+ colsWidthRatio: number[];
2676
+ rowsHeight: number[];
2677
+ colsMinWidth: number[];
2678
+ };
2679
+ };
2680
+ tableCellData?: {
2681
+ cellStyle?: {
2682
+ verticalAlignment: VerticalAlignment;
2683
+ };
2684
+ };
2685
+ audioData?: {
2686
+ containerData?: {
2687
+ width?: {
2688
+ size: WidthType;
2689
+ };
2690
+ alignment: PluginContainerDataAlignment;
2691
+ };
2692
+ };
2693
+ orderedListData?: {
2694
+ indentation: number;
2695
+ };
2696
+ bulletedListData?: {
2697
+ indentation: number;
2698
+ };
2699
+ blockquoteData?: {
2700
+ indentation: number;
2701
+ };
2702
+ type: NodeType;
2703
+ _id: string;
2704
+ nodes: NonNullable<NonNullable<NonNullable<GetCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
2705
+ }[];
2706
+ metadata?: {
2707
+ version: number;
2708
+ };
2709
+ documentStyle?: {
2710
+ headerOne?: {
2711
+ decorations: {
2712
+ anchorData?: {
2713
+ anchor: string;
2714
+ };
2715
+ linkData?: {
2716
+ link?: {
2717
+ url: string;
2718
+ anchor: string;
2719
+ target: Target;
2720
+ };
2721
+ };
2722
+ mentionData?: {
2723
+ name: string;
2724
+ slug: string;
2725
+ };
2726
+ fontSizeData?: {
2727
+ unit: FontType;
2728
+ };
2729
+ type: DecorationType;
2730
+ }[];
2731
+ };
2732
+ headerTwo?: {
2733
+ decorations: {
2734
+ anchorData?: {
2735
+ anchor: string;
2736
+ };
2737
+ linkData?: {
2738
+ link?: {
2739
+ url: string;
2740
+ anchor: string;
2741
+ target: Target;
2742
+ };
2743
+ };
2744
+ mentionData?: {
2745
+ name: string;
2746
+ slug: string;
2747
+ };
2748
+ fontSizeData?: {
2749
+ unit: FontType;
2750
+ };
2751
+ type: DecorationType;
2752
+ }[];
2753
+ };
2754
+ headerThree?: {
2755
+ decorations: {
2756
+ anchorData?: {
2757
+ anchor: string;
2758
+ };
2759
+ linkData?: {
2760
+ link?: {
2761
+ url: string;
2762
+ anchor: string;
2763
+ target: Target;
2764
+ };
2765
+ };
2766
+ mentionData?: {
2767
+ name: string;
2768
+ slug: string;
2769
+ };
2770
+ fontSizeData?: {
2771
+ unit: FontType;
2772
+ };
2773
+ type: DecorationType;
2774
+ }[];
2775
+ };
2776
+ headerFour?: {
2777
+ decorations: {
2778
+ anchorData?: {
2779
+ anchor: string;
2780
+ };
2781
+ linkData?: {
2782
+ link?: {
2783
+ url: string;
2784
+ anchor: string;
2785
+ target: Target;
2786
+ };
2787
+ };
2788
+ mentionData?: {
2789
+ name: string;
2790
+ slug: string;
2791
+ };
2792
+ fontSizeData?: {
2793
+ unit: FontType;
2794
+ };
2795
+ type: DecorationType;
2796
+ }[];
2797
+ };
2798
+ headerFive?: {
2799
+ decorations: {
2800
+ anchorData?: {
2801
+ anchor: string;
2802
+ };
2803
+ linkData?: {
2804
+ link?: {
2805
+ url: string;
2806
+ anchor: string;
2807
+ target: Target;
2808
+ };
2809
+ };
2810
+ mentionData?: {
2811
+ name: string;
2812
+ slug: string;
2813
+ };
2814
+ fontSizeData?: {
2815
+ unit: FontType;
2816
+ };
2817
+ type: DecorationType;
2818
+ }[];
2819
+ };
2820
+ headerSix?: {
2821
+ decorations: {
2822
+ anchorData?: {
2823
+ anchor: string;
2824
+ };
2825
+ linkData?: {
2826
+ link?: {
2827
+ url: string;
2828
+ anchor: string;
2829
+ target: Target;
2830
+ };
2831
+ };
2832
+ mentionData?: {
2833
+ name: string;
2834
+ slug: string;
2835
+ };
2836
+ fontSizeData?: {
2837
+ unit: FontType;
2838
+ };
2839
+ type: DecorationType;
2840
+ }[];
2841
+ };
2842
+ paragraph?: {
2843
+ decorations: {
2844
+ anchorData?: {
2845
+ anchor: string;
2846
+ };
2847
+ linkData?: {
2848
+ link?: {
2849
+ url: string;
2850
+ anchor: string;
2851
+ target: Target;
2852
+ };
2853
+ };
2854
+ mentionData?: {
2855
+ name: string;
2856
+ slug: string;
2857
+ };
2858
+ fontSizeData?: {
2859
+ unit: FontType;
2860
+ };
2861
+ type: DecorationType;
2862
+ }[];
2863
+ };
2864
+ blockquote?: {
2865
+ decorations: {
2866
+ anchorData?: {
2867
+ anchor: string;
2868
+ };
2869
+ linkData?: {
2870
+ link?: {
2871
+ url: string;
2872
+ anchor: string;
2873
+ target: Target;
2874
+ };
2875
+ };
2876
+ mentionData?: {
2877
+ name: string;
2878
+ slug: string;
2879
+ };
2880
+ fontSizeData?: {
2881
+ unit: FontType;
2882
+ };
2883
+ type: DecorationType;
2884
+ }[];
2885
+ };
2886
+ codeBlock?: {
2887
+ decorations: {
2888
+ anchorData?: {
2889
+ anchor: string;
2890
+ };
2891
+ linkData?: {
2892
+ link?: {
2893
+ url: string;
2894
+ anchor: string;
2895
+ target: Target;
2896
+ };
2897
+ };
2898
+ mentionData?: {
2899
+ name: string;
2900
+ slug: string;
2901
+ };
2902
+ fontSizeData?: {
2903
+ unit: FontType;
2904
+ };
2905
+ type: DecorationType;
2906
+ }[];
2907
+ };
2908
+ };
2909
+ };
2910
+ };
2911
+ }
2912
+ export interface UpdateCategoryResponseNonNullableFields {
2913
+ category?: {
2914
+ image: string;
2915
+ numberOfItems: number;
2916
+ breadcrumbs?: {
2917
+ values: {
2918
+ categoryId: string;
2919
+ categoryName: string;
2920
+ categorySlug: string;
2921
+ }[];
2922
+ };
2923
+ richContentDescription?: {
2924
+ nodes: {
2925
+ buttonData?: {
2926
+ containerData?: {
2927
+ width?: {
2928
+ size: WidthType;
2929
+ };
2930
+ alignment: PluginContainerDataAlignment;
2931
+ };
2932
+ type: Type;
2933
+ link?: {
2934
+ url: string;
2935
+ anchor: string;
2936
+ target: Target;
2937
+ };
2938
+ };
2939
+ codeBlockData?: {
2940
+ textStyle?: {
2941
+ textAlignment: TextAlignment;
2942
+ };
2943
+ };
2944
+ dividerData?: {
2945
+ containerData?: {
2946
+ width?: {
2947
+ size: WidthType;
2948
+ };
2949
+ alignment: PluginContainerDataAlignment;
2950
+ };
2951
+ lineStyle: LineStyle;
2952
+ width: Width;
2953
+ alignment: Alignment;
2954
+ };
2955
+ fileData?: {
2956
+ containerData?: {
2957
+ width?: {
2958
+ size: WidthType;
2959
+ };
2960
+ alignment: PluginContainerDataAlignment;
2961
+ };
2962
+ pdfSettings?: {
2963
+ viewMode: ViewMode;
2964
+ };
2965
+ };
2966
+ galleryData?: {
2967
+ containerData?: {
2968
+ width?: {
2969
+ size: WidthType;
2970
+ };
2971
+ alignment: PluginContainerDataAlignment;
2972
+ };
2973
+ items: {
2974
+ image?: {
2975
+ link?: {
2976
+ url: string;
2977
+ anchor: string;
2978
+ target: Target;
2979
+ };
2980
+ };
2981
+ }[];
2982
+ options?: {
2983
+ layout?: {
2984
+ type: LayoutType;
2985
+ orientation: Orientation;
2986
+ };
2987
+ item?: {
2988
+ crop: Crop;
2989
+ };
2990
+ thumbnails?: {
2991
+ placement: ThumbnailsAlignment;
2992
+ };
2993
+ };
2994
+ };
2995
+ gifData?: {
2996
+ containerData?: {
2997
+ width?: {
2998
+ size: WidthType;
2999
+ };
3000
+ alignment: PluginContainerDataAlignment;
3001
+ };
3002
+ height: number;
3003
+ width: number;
3004
+ };
3005
+ headingData?: {
3006
+ level: number;
3007
+ textStyle?: {
3008
+ textAlignment: TextAlignment;
3009
+ };
3010
+ };
3011
+ htmlData?: {
3012
+ url: string;
3013
+ html: string;
3014
+ containerData?: {
3015
+ width?: {
3016
+ size: WidthType;
3017
+ };
3018
+ alignment: PluginContainerDataAlignment;
3019
+ };
3020
+ source: Source;
3021
+ };
3022
+ imageData?: {
3023
+ containerData?: {
3024
+ width?: {
3025
+ size: WidthType;
3026
+ };
3027
+ alignment: PluginContainerDataAlignment;
3028
+ };
3029
+ link?: {
3030
+ url: string;
3031
+ anchor: string;
3032
+ target: Target;
3033
+ };
3034
+ };
3035
+ linkPreviewData?: {
3036
+ containerData?: {
3037
+ width?: {
3038
+ size: WidthType;
3039
+ };
3040
+ alignment: PluginContainerDataAlignment;
3041
+ };
3042
+ link?: {
3043
+ url: string;
3044
+ anchor: string;
3045
+ target: Target;
3046
+ };
3047
+ };
3048
+ mapData?: {
3049
+ containerData?: {
3050
+ width?: {
3051
+ size: WidthType;
3052
+ };
3053
+ alignment: PluginContainerDataAlignment;
3054
+ };
3055
+ mapSettings?: {
3056
+ mapType: MapType;
3057
+ };
3058
+ };
3059
+ paragraphData?: {
3060
+ textStyle?: {
3061
+ textAlignment: TextAlignment;
3062
+ };
3063
+ };
3064
+ pollData?: {
3065
+ containerData?: {
3066
+ width?: {
3067
+ size: WidthType;
3068
+ };
3069
+ alignment: PluginContainerDataAlignment;
3070
+ };
3071
+ poll?: {
3072
+ options: Option[];
3073
+ settings?: {
3074
+ permissions?: {
3075
+ view: ViewRole;
3076
+ vote: VoteRole;
3077
+ };
3078
+ };
3079
+ };
3080
+ layout?: {
3081
+ poll?: {
3082
+ type: PollLayoutType;
3083
+ direction: PollLayoutDirection;
3084
+ };
3085
+ };
3086
+ design?: {
3087
+ poll?: {
3088
+ background?: {
3089
+ type: BackgroundType;
3090
+ };
3091
+ };
3092
+ };
3093
+ };
3094
+ textData?: {
3095
+ text: string;
3096
+ decorations: {
3097
+ anchorData?: {
3098
+ anchor: string;
3099
+ };
3100
+ linkData?: {
3101
+ link?: {
3102
+ url: string;
3103
+ anchor: string;
3104
+ target: Target;
3105
+ };
3106
+ };
3107
+ mentionData?: {
3108
+ name: string;
3109
+ slug: string;
3110
+ };
3111
+ fontSizeData?: {
3112
+ unit: FontType;
3113
+ };
3114
+ type: DecorationType;
3115
+ }[];
3116
+ };
3117
+ appEmbedData?: {
3118
+ type: AppType;
3119
+ };
3120
+ videoData?: {
3121
+ containerData?: {
3122
+ width?: {
3123
+ size: WidthType;
3124
+ };
3125
+ alignment: PluginContainerDataAlignment;
3126
+ };
3127
+ };
3128
+ embedData?: {
3129
+ containerData?: {
3130
+ width?: {
3131
+ size: WidthType;
3132
+ };
3133
+ alignment: PluginContainerDataAlignment;
3134
+ };
3135
+ };
3136
+ collapsibleListData?: {
3137
+ containerData?: {
3138
+ width?: {
3139
+ size: WidthType;
3140
+ };
3141
+ alignment: PluginContainerDataAlignment;
3142
+ };
3143
+ initialExpandedItems: InitialExpandedItems;
3144
+ direction: Direction;
3145
+ };
3146
+ tableData?: {
3147
+ containerData?: {
3148
+ width?: {
3149
+ size: WidthType;
3150
+ };
3151
+ alignment: PluginContainerDataAlignment;
3152
+ };
3153
+ dimensions?: {
3154
+ colsWidthRatio: number[];
3155
+ rowsHeight: number[];
3156
+ colsMinWidth: number[];
3157
+ };
3158
+ };
3159
+ tableCellData?: {
3160
+ cellStyle?: {
3161
+ verticalAlignment: VerticalAlignment;
3162
+ };
3163
+ };
3164
+ audioData?: {
3165
+ containerData?: {
3166
+ width?: {
3167
+ size: WidthType;
3168
+ };
3169
+ alignment: PluginContainerDataAlignment;
3170
+ };
3171
+ };
3172
+ orderedListData?: {
3173
+ indentation: number;
3174
+ };
3175
+ bulletedListData?: {
3176
+ indentation: number;
3177
+ };
3178
+ blockquoteData?: {
3179
+ indentation: number;
3180
+ };
3181
+ type: NodeType;
3182
+ _id: string;
3183
+ nodes: NonNullable<NonNullable<NonNullable<UpdateCategoryResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
3184
+ }[];
3185
+ metadata?: {
3186
+ version: number;
3187
+ };
3188
+ documentStyle?: {
3189
+ headerOne?: {
3190
+ decorations: {
3191
+ anchorData?: {
3192
+ anchor: string;
3193
+ };
3194
+ linkData?: {
3195
+ link?: {
3196
+ url: string;
3197
+ anchor: string;
3198
+ target: Target;
3199
+ };
3200
+ };
3201
+ mentionData?: {
3202
+ name: string;
3203
+ slug: string;
3204
+ };
3205
+ fontSizeData?: {
3206
+ unit: FontType;
3207
+ };
3208
+ type: DecorationType;
3209
+ }[];
3210
+ };
3211
+ headerTwo?: {
3212
+ decorations: {
3213
+ anchorData?: {
3214
+ anchor: string;
3215
+ };
3216
+ linkData?: {
3217
+ link?: {
3218
+ url: string;
3219
+ anchor: string;
3220
+ target: Target;
3221
+ };
3222
+ };
3223
+ mentionData?: {
3224
+ name: string;
3225
+ slug: string;
3226
+ };
3227
+ fontSizeData?: {
3228
+ unit: FontType;
3229
+ };
3230
+ type: DecorationType;
3231
+ }[];
3232
+ };
3233
+ headerThree?: {
3234
+ decorations: {
3235
+ anchorData?: {
3236
+ anchor: string;
3237
+ };
3238
+ linkData?: {
3239
+ link?: {
3240
+ url: string;
3241
+ anchor: string;
3242
+ target: Target;
3243
+ };
3244
+ };
3245
+ mentionData?: {
3246
+ name: string;
3247
+ slug: string;
3248
+ };
3249
+ fontSizeData?: {
3250
+ unit: FontType;
3251
+ };
3252
+ type: DecorationType;
3253
+ }[];
3254
+ };
3255
+ headerFour?: {
3256
+ decorations: {
3257
+ anchorData?: {
3258
+ anchor: string;
3259
+ };
3260
+ linkData?: {
3261
+ link?: {
3262
+ url: string;
3263
+ anchor: string;
3264
+ target: Target;
3265
+ };
3266
+ };
3267
+ mentionData?: {
3268
+ name: string;
3269
+ slug: string;
3270
+ };
3271
+ fontSizeData?: {
3272
+ unit: FontType;
3273
+ };
3274
+ type: DecorationType;
3275
+ }[];
3276
+ };
3277
+ headerFive?: {
3278
+ decorations: {
3279
+ anchorData?: {
3280
+ anchor: string;
3281
+ };
3282
+ linkData?: {
3283
+ link?: {
3284
+ url: string;
3285
+ anchor: string;
3286
+ target: Target;
3287
+ };
3288
+ };
3289
+ mentionData?: {
3290
+ name: string;
3291
+ slug: string;
3292
+ };
3293
+ fontSizeData?: {
3294
+ unit: FontType;
3295
+ };
3296
+ type: DecorationType;
3297
+ }[];
3298
+ };
3299
+ headerSix?: {
3300
+ decorations: {
3301
+ anchorData?: {
3302
+ anchor: string;
3303
+ };
3304
+ linkData?: {
3305
+ link?: {
3306
+ url: string;
3307
+ anchor: string;
3308
+ target: Target;
3309
+ };
3310
+ };
3311
+ mentionData?: {
3312
+ name: string;
3313
+ slug: string;
3314
+ };
3315
+ fontSizeData?: {
3316
+ unit: FontType;
3317
+ };
3318
+ type: DecorationType;
3319
+ }[];
3320
+ };
3321
+ paragraph?: {
3322
+ decorations: {
3323
+ anchorData?: {
3324
+ anchor: string;
3325
+ };
3326
+ linkData?: {
3327
+ link?: {
3328
+ url: string;
3329
+ anchor: string;
3330
+ target: Target;
3331
+ };
3332
+ };
3333
+ mentionData?: {
3334
+ name: string;
3335
+ slug: string;
3336
+ };
3337
+ fontSizeData?: {
3338
+ unit: FontType;
3339
+ };
3340
+ type: DecorationType;
3341
+ }[];
3342
+ };
3343
+ blockquote?: {
3344
+ decorations: {
3345
+ anchorData?: {
3346
+ anchor: string;
3347
+ };
3348
+ linkData?: {
3349
+ link?: {
3350
+ url: string;
3351
+ anchor: string;
3352
+ target: Target;
3353
+ };
3354
+ };
3355
+ mentionData?: {
3356
+ name: string;
3357
+ slug: string;
3358
+ };
3359
+ fontSizeData?: {
3360
+ unit: FontType;
3361
+ };
3362
+ type: DecorationType;
3363
+ }[];
3364
+ };
3365
+ codeBlock?: {
3366
+ decorations: {
3367
+ anchorData?: {
3368
+ anchor: string;
3369
+ };
3370
+ linkData?: {
3371
+ link?: {
3372
+ url: string;
3373
+ anchor: string;
3374
+ target: Target;
3375
+ };
3376
+ };
3377
+ mentionData?: {
3378
+ name: string;
3379
+ slug: string;
3380
+ };
3381
+ fontSizeData?: {
3382
+ unit: FontType;
3383
+ };
3384
+ type: DecorationType;
3385
+ }[];
3386
+ };
3387
+ };
3388
+ };
3389
+ };
3390
+ }
3391
+ export interface QueryCategoriesResponseNonNullableFields {
3392
+ categories: {
3393
+ image: string;
3394
+ numberOfItems: number;
3395
+ breadcrumbs?: {
3396
+ values: {
3397
+ categoryId: string;
3398
+ categoryName: string;
3399
+ categorySlug: string;
3400
+ }[];
3401
+ };
3402
+ richContentDescription?: {
3403
+ nodes: {
3404
+ buttonData?: {
3405
+ containerData?: {
3406
+ width?: {
3407
+ size: WidthType;
3408
+ };
3409
+ alignment: PluginContainerDataAlignment;
3410
+ };
3411
+ type: Type;
3412
+ link?: {
3413
+ url: string;
3414
+ anchor: string;
3415
+ target: Target;
3416
+ };
3417
+ };
3418
+ codeBlockData?: {
3419
+ textStyle?: {
3420
+ textAlignment: TextAlignment;
3421
+ };
3422
+ };
3423
+ dividerData?: {
3424
+ containerData?: {
3425
+ width?: {
3426
+ size: WidthType;
3427
+ };
3428
+ alignment: PluginContainerDataAlignment;
3429
+ };
3430
+ lineStyle: LineStyle;
3431
+ width: Width;
3432
+ alignment: Alignment;
3433
+ };
3434
+ fileData?: {
3435
+ containerData?: {
3436
+ width?: {
3437
+ size: WidthType;
3438
+ };
3439
+ alignment: PluginContainerDataAlignment;
3440
+ };
3441
+ pdfSettings?: {
3442
+ viewMode: ViewMode;
3443
+ };
3444
+ };
3445
+ galleryData?: {
3446
+ containerData?: {
3447
+ width?: {
3448
+ size: WidthType;
3449
+ };
3450
+ alignment: PluginContainerDataAlignment;
3451
+ };
3452
+ items: {
3453
+ image?: {
3454
+ link?: {
3455
+ url: string;
3456
+ anchor: string;
3457
+ target: Target;
3458
+ };
3459
+ };
3460
+ }[];
3461
+ options?: {
3462
+ layout?: {
3463
+ type: LayoutType;
3464
+ orientation: Orientation;
3465
+ };
3466
+ item?: {
3467
+ crop: Crop;
3468
+ };
3469
+ thumbnails?: {
3470
+ placement: ThumbnailsAlignment;
3471
+ };
3472
+ };
3473
+ };
3474
+ gifData?: {
3475
+ containerData?: {
3476
+ width?: {
3477
+ size: WidthType;
3478
+ };
3479
+ alignment: PluginContainerDataAlignment;
3480
+ };
3481
+ height: number;
3482
+ width: number;
3483
+ };
3484
+ headingData?: {
3485
+ level: number;
3486
+ textStyle?: {
3487
+ textAlignment: TextAlignment;
3488
+ };
3489
+ };
3490
+ htmlData?: {
3491
+ url: string;
3492
+ html: string;
3493
+ containerData?: {
3494
+ width?: {
3495
+ size: WidthType;
3496
+ };
3497
+ alignment: PluginContainerDataAlignment;
3498
+ };
3499
+ source: Source;
3500
+ };
3501
+ imageData?: {
3502
+ containerData?: {
3503
+ width?: {
3504
+ size: WidthType;
3505
+ };
3506
+ alignment: PluginContainerDataAlignment;
3507
+ };
3508
+ link?: {
3509
+ url: string;
3510
+ anchor: string;
3511
+ target: Target;
3512
+ };
3513
+ };
3514
+ linkPreviewData?: {
3515
+ containerData?: {
3516
+ width?: {
3517
+ size: WidthType;
3518
+ };
3519
+ alignment: PluginContainerDataAlignment;
3520
+ };
3521
+ link?: {
3522
+ url: string;
3523
+ anchor: string;
3524
+ target: Target;
3525
+ };
3526
+ };
3527
+ mapData?: {
3528
+ containerData?: {
3529
+ width?: {
3530
+ size: WidthType;
3531
+ };
3532
+ alignment: PluginContainerDataAlignment;
3533
+ };
3534
+ mapSettings?: {
3535
+ mapType: MapType;
3536
+ };
3537
+ };
3538
+ paragraphData?: {
3539
+ textStyle?: {
3540
+ textAlignment: TextAlignment;
3541
+ };
3542
+ };
3543
+ pollData?: {
3544
+ containerData?: {
3545
+ width?: {
3546
+ size: WidthType;
3547
+ };
3548
+ alignment: PluginContainerDataAlignment;
3549
+ };
3550
+ poll?: {
3551
+ options: Option[];
3552
+ settings?: {
3553
+ permissions?: {
3554
+ view: ViewRole;
3555
+ vote: VoteRole;
3556
+ };
3557
+ };
3558
+ };
3559
+ layout?: {
3560
+ poll?: {
3561
+ type: PollLayoutType;
3562
+ direction: PollLayoutDirection;
3563
+ };
3564
+ };
3565
+ design?: {
3566
+ poll?: {
3567
+ background?: {
3568
+ type: BackgroundType;
3569
+ };
3570
+ };
3571
+ };
3572
+ };
3573
+ textData?: {
3574
+ text: string;
3575
+ decorations: {
3576
+ anchorData?: {
3577
+ anchor: string;
3578
+ };
3579
+ linkData?: {
3580
+ link?: {
3581
+ url: string;
3582
+ anchor: string;
3583
+ target: Target;
3584
+ };
3585
+ };
3586
+ mentionData?: {
3587
+ name: string;
3588
+ slug: string;
3589
+ };
3590
+ fontSizeData?: {
3591
+ unit: FontType;
3592
+ };
3593
+ type: DecorationType;
3594
+ }[];
3595
+ };
3596
+ appEmbedData?: {
3597
+ type: AppType;
3598
+ };
3599
+ videoData?: {
3600
+ containerData?: {
3601
+ width?: {
3602
+ size: WidthType;
3603
+ };
3604
+ alignment: PluginContainerDataAlignment;
3605
+ };
3606
+ };
3607
+ embedData?: {
3608
+ containerData?: {
3609
+ width?: {
3610
+ size: WidthType;
3611
+ };
3612
+ alignment: PluginContainerDataAlignment;
3613
+ };
3614
+ };
3615
+ collapsibleListData?: {
3616
+ containerData?: {
3617
+ width?: {
3618
+ size: WidthType;
3619
+ };
3620
+ alignment: PluginContainerDataAlignment;
3621
+ };
3622
+ initialExpandedItems: InitialExpandedItems;
3623
+ direction: Direction;
3624
+ };
3625
+ tableData?: {
3626
+ containerData?: {
3627
+ width?: {
3628
+ size: WidthType;
3629
+ };
3630
+ alignment: PluginContainerDataAlignment;
3631
+ };
3632
+ dimensions?: {
3633
+ colsWidthRatio: number[];
3634
+ rowsHeight: number[];
3635
+ colsMinWidth: number[];
3636
+ };
3637
+ };
3638
+ tableCellData?: {
3639
+ cellStyle?: {
3640
+ verticalAlignment: VerticalAlignment;
3641
+ };
3642
+ };
3643
+ audioData?: {
3644
+ containerData?: {
3645
+ width?: {
3646
+ size: WidthType;
3647
+ };
3648
+ alignment: PluginContainerDataAlignment;
3649
+ };
3650
+ };
3651
+ orderedListData?: {
3652
+ indentation: number;
3653
+ };
3654
+ bulletedListData?: {
3655
+ indentation: number;
3656
+ };
3657
+ blockquoteData?: {
3658
+ indentation: number;
3659
+ };
3660
+ type: NodeType;
3661
+ _id: string;
3662
+ nodes: NonNullable<NonNullable<NonNullable<QueryCategoriesResponseNonNullableFields>['categories'][0]>['richContentDescription']>['nodes'][];
3663
+ }[];
3664
+ metadata?: {
3665
+ version: number;
3666
+ };
3667
+ documentStyle?: {
3668
+ headerOne?: {
3669
+ decorations: {
3670
+ anchorData?: {
3671
+ anchor: string;
3672
+ };
3673
+ linkData?: {
3674
+ link?: {
3675
+ url: string;
3676
+ anchor: string;
3677
+ target: Target;
3678
+ };
3679
+ };
3680
+ mentionData?: {
3681
+ name: string;
3682
+ slug: string;
3683
+ };
3684
+ fontSizeData?: {
3685
+ unit: FontType;
3686
+ };
3687
+ type: DecorationType;
3688
+ }[];
3689
+ };
3690
+ headerTwo?: {
3691
+ decorations: {
3692
+ anchorData?: {
3693
+ anchor: string;
3694
+ };
3695
+ linkData?: {
3696
+ link?: {
3697
+ url: string;
3698
+ anchor: string;
3699
+ target: Target;
3700
+ };
3701
+ };
3702
+ mentionData?: {
3703
+ name: string;
3704
+ slug: string;
3705
+ };
3706
+ fontSizeData?: {
3707
+ unit: FontType;
3708
+ };
3709
+ type: DecorationType;
3710
+ }[];
3711
+ };
3712
+ headerThree?: {
3713
+ decorations: {
3714
+ anchorData?: {
3715
+ anchor: string;
3716
+ };
3717
+ linkData?: {
3718
+ link?: {
3719
+ url: string;
3720
+ anchor: string;
3721
+ target: Target;
3722
+ };
3723
+ };
3724
+ mentionData?: {
3725
+ name: string;
3726
+ slug: string;
3727
+ };
3728
+ fontSizeData?: {
3729
+ unit: FontType;
3730
+ };
3731
+ type: DecorationType;
3732
+ }[];
3733
+ };
3734
+ headerFour?: {
3735
+ decorations: {
3736
+ anchorData?: {
3737
+ anchor: string;
3738
+ };
3739
+ linkData?: {
3740
+ link?: {
3741
+ url: string;
3742
+ anchor: string;
3743
+ target: Target;
3744
+ };
3745
+ };
3746
+ mentionData?: {
3747
+ name: string;
3748
+ slug: string;
3749
+ };
3750
+ fontSizeData?: {
3751
+ unit: FontType;
3752
+ };
3753
+ type: DecorationType;
3754
+ }[];
3755
+ };
3756
+ headerFive?: {
3757
+ decorations: {
3758
+ anchorData?: {
3759
+ anchor: string;
3760
+ };
3761
+ linkData?: {
3762
+ link?: {
3763
+ url: string;
3764
+ anchor: string;
3765
+ target: Target;
3766
+ };
3767
+ };
3768
+ mentionData?: {
3769
+ name: string;
3770
+ slug: string;
3771
+ };
3772
+ fontSizeData?: {
3773
+ unit: FontType;
3774
+ };
3775
+ type: DecorationType;
3776
+ }[];
3777
+ };
3778
+ headerSix?: {
3779
+ decorations: {
3780
+ anchorData?: {
3781
+ anchor: string;
3782
+ };
3783
+ linkData?: {
3784
+ link?: {
3785
+ url: string;
3786
+ anchor: string;
3787
+ target: Target;
3788
+ };
3789
+ };
3790
+ mentionData?: {
3791
+ name: string;
3792
+ slug: string;
3793
+ };
3794
+ fontSizeData?: {
3795
+ unit: FontType;
3796
+ };
3797
+ type: DecorationType;
3798
+ }[];
3799
+ };
3800
+ paragraph?: {
3801
+ decorations: {
3802
+ anchorData?: {
3803
+ anchor: string;
3804
+ };
3805
+ linkData?: {
3806
+ link?: {
3807
+ url: string;
3808
+ anchor: string;
3809
+ target: Target;
3810
+ };
3811
+ };
3812
+ mentionData?: {
3813
+ name: string;
3814
+ slug: string;
3815
+ };
3816
+ fontSizeData?: {
3817
+ unit: FontType;
3818
+ };
3819
+ type: DecorationType;
3820
+ }[];
3821
+ };
3822
+ blockquote?: {
3823
+ decorations: {
3824
+ anchorData?: {
3825
+ anchor: string;
3826
+ };
3827
+ linkData?: {
3828
+ link?: {
3829
+ url: string;
3830
+ anchor: string;
3831
+ target: Target;
3832
+ };
3833
+ };
3834
+ mentionData?: {
3835
+ name: string;
3836
+ slug: string;
3837
+ };
3838
+ fontSizeData?: {
3839
+ unit: FontType;
3840
+ };
3841
+ type: DecorationType;
3842
+ }[];
3843
+ };
3844
+ codeBlock?: {
3845
+ decorations: {
3846
+ anchorData?: {
3847
+ anchor: string;
3848
+ };
3849
+ linkData?: {
3850
+ link?: {
3851
+ url: string;
3852
+ anchor: string;
3853
+ target: Target;
3854
+ };
3855
+ };
3856
+ mentionData?: {
3857
+ name: string;
3858
+ slug: string;
3859
+ };
3860
+ fontSizeData?: {
3861
+ unit: FontType;
3862
+ };
3863
+ type: DecorationType;
3864
+ }[];
3865
+ };
3866
+ };
3867
+ };
3868
+ }[];
3869
+ }
3870
+ export interface MoveCategoryResponseNonNullableFields {
3871
+ categoriesAfterMove: string[];
3872
+ }
3873
+ export interface BulkUpdateCategoriesResponseNonNullableFields {
3874
+ results: {
3875
+ itemMetadata?: {
3876
+ originalIndex: number;
3877
+ success: boolean;
3878
+ error?: {
3879
+ code: string;
3880
+ description: string;
3881
+ };
3882
+ };
3883
+ category?: {
3884
+ image: string;
3885
+ numberOfItems: number;
3886
+ breadcrumbs?: {
3887
+ values: {
3888
+ categoryId: string;
3889
+ categoryName: string;
3890
+ categorySlug: string;
3891
+ }[];
3892
+ };
3893
+ richContentDescription?: {
3894
+ nodes: {
3895
+ buttonData?: {
3896
+ containerData?: {
3897
+ width?: {
3898
+ size: WidthType;
3899
+ };
3900
+ alignment: PluginContainerDataAlignment;
3901
+ };
3902
+ type: Type;
3903
+ link?: {
3904
+ url: string;
3905
+ anchor: string;
3906
+ target: Target;
3907
+ };
3908
+ };
3909
+ codeBlockData?: {
3910
+ textStyle?: {
3911
+ textAlignment: TextAlignment;
3912
+ };
3913
+ };
3914
+ dividerData?: {
3915
+ containerData?: {
3916
+ width?: {
3917
+ size: WidthType;
3918
+ };
3919
+ alignment: PluginContainerDataAlignment;
3920
+ };
3921
+ lineStyle: LineStyle;
3922
+ width: Width;
3923
+ alignment: Alignment;
3924
+ };
3925
+ fileData?: {
3926
+ containerData?: {
3927
+ width?: {
3928
+ size: WidthType;
3929
+ };
3930
+ alignment: PluginContainerDataAlignment;
3931
+ };
3932
+ pdfSettings?: {
3933
+ viewMode: ViewMode;
3934
+ };
3935
+ };
3936
+ galleryData?: {
3937
+ containerData?: {
3938
+ width?: {
3939
+ size: WidthType;
3940
+ };
3941
+ alignment: PluginContainerDataAlignment;
3942
+ };
3943
+ items: {
3944
+ image?: {
3945
+ link?: {
3946
+ url: string;
3947
+ anchor: string;
3948
+ target: Target;
3949
+ };
3950
+ };
3951
+ }[];
3952
+ options?: {
3953
+ layout?: {
3954
+ type: LayoutType;
3955
+ orientation: Orientation;
3956
+ };
3957
+ item?: {
3958
+ crop: Crop;
3959
+ };
3960
+ thumbnails?: {
3961
+ placement: ThumbnailsAlignment;
3962
+ };
3963
+ };
3964
+ };
3965
+ gifData?: {
3966
+ containerData?: {
3967
+ width?: {
3968
+ size: WidthType;
3969
+ };
3970
+ alignment: PluginContainerDataAlignment;
3971
+ };
3972
+ height: number;
3973
+ width: number;
3974
+ };
3975
+ headingData?: {
3976
+ level: number;
3977
+ textStyle?: {
3978
+ textAlignment: TextAlignment;
3979
+ };
3980
+ };
3981
+ htmlData?: {
3982
+ url: string;
3983
+ html: string;
3984
+ containerData?: {
3985
+ width?: {
3986
+ size: WidthType;
3987
+ };
3988
+ alignment: PluginContainerDataAlignment;
3989
+ };
3990
+ source: Source;
3991
+ };
3992
+ imageData?: {
3993
+ containerData?: {
3994
+ width?: {
3995
+ size: WidthType;
3996
+ };
3997
+ alignment: PluginContainerDataAlignment;
3998
+ };
3999
+ link?: {
4000
+ url: string;
4001
+ anchor: string;
4002
+ target: Target;
4003
+ };
4004
+ };
4005
+ linkPreviewData?: {
4006
+ containerData?: {
4007
+ width?: {
4008
+ size: WidthType;
4009
+ };
4010
+ alignment: PluginContainerDataAlignment;
4011
+ };
4012
+ link?: {
4013
+ url: string;
4014
+ anchor: string;
4015
+ target: Target;
4016
+ };
4017
+ };
4018
+ mapData?: {
4019
+ containerData?: {
4020
+ width?: {
4021
+ size: WidthType;
4022
+ };
4023
+ alignment: PluginContainerDataAlignment;
4024
+ };
4025
+ mapSettings?: {
4026
+ mapType: MapType;
4027
+ };
4028
+ };
4029
+ paragraphData?: {
4030
+ textStyle?: {
4031
+ textAlignment: TextAlignment;
4032
+ };
4033
+ };
4034
+ pollData?: {
4035
+ containerData?: {
4036
+ width?: {
4037
+ size: WidthType;
4038
+ };
4039
+ alignment: PluginContainerDataAlignment;
4040
+ };
4041
+ poll?: {
4042
+ options: Option[];
4043
+ settings?: {
4044
+ permissions?: {
4045
+ view: ViewRole;
4046
+ vote: VoteRole;
4047
+ };
4048
+ };
4049
+ };
4050
+ layout?: {
4051
+ poll?: {
4052
+ type: PollLayoutType;
4053
+ direction: PollLayoutDirection;
4054
+ };
4055
+ };
4056
+ design?: {
4057
+ poll?: {
4058
+ background?: {
4059
+ type: BackgroundType;
4060
+ };
4061
+ };
4062
+ };
4063
+ };
4064
+ textData?: {
4065
+ text: string;
4066
+ decorations: {
4067
+ anchorData?: {
4068
+ anchor: string;
4069
+ };
4070
+ linkData?: {
4071
+ link?: {
4072
+ url: string;
4073
+ anchor: string;
4074
+ target: Target;
4075
+ };
4076
+ };
4077
+ mentionData?: {
4078
+ name: string;
4079
+ slug: string;
4080
+ };
4081
+ fontSizeData?: {
4082
+ unit: FontType;
4083
+ };
4084
+ type: DecorationType;
4085
+ }[];
4086
+ };
4087
+ appEmbedData?: {
4088
+ type: AppType;
4089
+ };
4090
+ videoData?: {
4091
+ containerData?: {
4092
+ width?: {
4093
+ size: WidthType;
4094
+ };
4095
+ alignment: PluginContainerDataAlignment;
4096
+ };
4097
+ };
4098
+ embedData?: {
4099
+ containerData?: {
4100
+ width?: {
4101
+ size: WidthType;
4102
+ };
4103
+ alignment: PluginContainerDataAlignment;
4104
+ };
4105
+ };
4106
+ collapsibleListData?: {
4107
+ containerData?: {
4108
+ width?: {
4109
+ size: WidthType;
4110
+ };
4111
+ alignment: PluginContainerDataAlignment;
4112
+ };
4113
+ initialExpandedItems: InitialExpandedItems;
4114
+ direction: Direction;
4115
+ };
4116
+ tableData?: {
4117
+ containerData?: {
4118
+ width?: {
4119
+ size: WidthType;
4120
+ };
4121
+ alignment: PluginContainerDataAlignment;
4122
+ };
4123
+ dimensions?: {
4124
+ colsWidthRatio: number[];
4125
+ rowsHeight: number[];
4126
+ colsMinWidth: number[];
4127
+ };
4128
+ };
4129
+ tableCellData?: {
4130
+ cellStyle?: {
4131
+ verticalAlignment: VerticalAlignment;
4132
+ };
4133
+ };
4134
+ audioData?: {
4135
+ containerData?: {
4136
+ width?: {
4137
+ size: WidthType;
4138
+ };
4139
+ alignment: PluginContainerDataAlignment;
4140
+ };
4141
+ };
4142
+ orderedListData?: {
4143
+ indentation: number;
4144
+ };
4145
+ bulletedListData?: {
4146
+ indentation: number;
4147
+ };
4148
+ blockquoteData?: {
4149
+ indentation: number;
4150
+ };
4151
+ type: NodeType;
4152
+ _id: string;
4153
+ nodes: NonNullable<NonNullable<NonNullable<NonNullable<BulkUpdateCategoriesResponseNonNullableFields>['results'][0]>['category']>['richContentDescription']>['nodes'][];
4154
+ }[];
4155
+ metadata?: {
4156
+ version: number;
4157
+ };
4158
+ documentStyle?: {
4159
+ headerOne?: {
4160
+ decorations: {
4161
+ anchorData?: {
4162
+ anchor: string;
4163
+ };
4164
+ linkData?: {
4165
+ link?: {
4166
+ url: string;
4167
+ anchor: string;
4168
+ target: Target;
4169
+ };
4170
+ };
4171
+ mentionData?: {
4172
+ name: string;
4173
+ slug: string;
4174
+ };
4175
+ fontSizeData?: {
4176
+ unit: FontType;
4177
+ };
4178
+ type: DecorationType;
4179
+ }[];
4180
+ };
4181
+ headerTwo?: {
4182
+ decorations: {
4183
+ anchorData?: {
4184
+ anchor: string;
4185
+ };
4186
+ linkData?: {
4187
+ link?: {
4188
+ url: string;
4189
+ anchor: string;
4190
+ target: Target;
4191
+ };
4192
+ };
4193
+ mentionData?: {
4194
+ name: string;
4195
+ slug: string;
4196
+ };
4197
+ fontSizeData?: {
4198
+ unit: FontType;
4199
+ };
4200
+ type: DecorationType;
4201
+ }[];
4202
+ };
4203
+ headerThree?: {
4204
+ decorations: {
4205
+ anchorData?: {
4206
+ anchor: string;
4207
+ };
4208
+ linkData?: {
4209
+ link?: {
4210
+ url: string;
4211
+ anchor: string;
4212
+ target: Target;
4213
+ };
4214
+ };
4215
+ mentionData?: {
4216
+ name: string;
4217
+ slug: string;
4218
+ };
4219
+ fontSizeData?: {
4220
+ unit: FontType;
4221
+ };
4222
+ type: DecorationType;
4223
+ }[];
4224
+ };
4225
+ headerFour?: {
4226
+ decorations: {
4227
+ anchorData?: {
4228
+ anchor: string;
4229
+ };
4230
+ linkData?: {
4231
+ link?: {
4232
+ url: string;
4233
+ anchor: string;
4234
+ target: Target;
4235
+ };
4236
+ };
4237
+ mentionData?: {
4238
+ name: string;
4239
+ slug: string;
4240
+ };
4241
+ fontSizeData?: {
4242
+ unit: FontType;
4243
+ };
4244
+ type: DecorationType;
4245
+ }[];
4246
+ };
4247
+ headerFive?: {
4248
+ decorations: {
4249
+ anchorData?: {
4250
+ anchor: string;
4251
+ };
4252
+ linkData?: {
4253
+ link?: {
4254
+ url: string;
4255
+ anchor: string;
4256
+ target: Target;
4257
+ };
4258
+ };
4259
+ mentionData?: {
4260
+ name: string;
4261
+ slug: string;
4262
+ };
4263
+ fontSizeData?: {
4264
+ unit: FontType;
4265
+ };
4266
+ type: DecorationType;
4267
+ }[];
4268
+ };
4269
+ headerSix?: {
4270
+ decorations: {
4271
+ anchorData?: {
4272
+ anchor: string;
4273
+ };
4274
+ linkData?: {
4275
+ link?: {
4276
+ url: string;
4277
+ anchor: string;
4278
+ target: Target;
4279
+ };
4280
+ };
4281
+ mentionData?: {
4282
+ name: string;
4283
+ slug: string;
4284
+ };
4285
+ fontSizeData?: {
4286
+ unit: FontType;
4287
+ };
4288
+ type: DecorationType;
4289
+ }[];
4290
+ };
4291
+ paragraph?: {
4292
+ decorations: {
4293
+ anchorData?: {
4294
+ anchor: string;
4295
+ };
4296
+ linkData?: {
4297
+ link?: {
4298
+ url: string;
4299
+ anchor: string;
4300
+ target: Target;
4301
+ };
4302
+ };
4303
+ mentionData?: {
4304
+ name: string;
4305
+ slug: string;
4306
+ };
4307
+ fontSizeData?: {
4308
+ unit: FontType;
4309
+ };
4310
+ type: DecorationType;
4311
+ }[];
4312
+ };
4313
+ blockquote?: {
4314
+ decorations: {
4315
+ anchorData?: {
4316
+ anchor: string;
4317
+ };
4318
+ linkData?: {
4319
+ link?: {
4320
+ url: string;
4321
+ anchor: string;
4322
+ target: Target;
4323
+ };
4324
+ };
4325
+ mentionData?: {
4326
+ name: string;
4327
+ slug: string;
4328
+ };
4329
+ fontSizeData?: {
4330
+ unit: FontType;
4331
+ };
4332
+ type: DecorationType;
4333
+ }[];
4334
+ };
4335
+ codeBlock?: {
4336
+ decorations: {
4337
+ anchorData?: {
4338
+ anchor: string;
4339
+ };
4340
+ linkData?: {
4341
+ link?: {
4342
+ url: string;
4343
+ anchor: string;
4344
+ target: Target;
4345
+ };
4346
+ };
4347
+ mentionData?: {
4348
+ name: string;
4349
+ slug: string;
4350
+ };
4351
+ fontSizeData?: {
4352
+ unit: FontType;
4353
+ };
4354
+ type: DecorationType;
4355
+ }[];
4356
+ };
4357
+ };
4358
+ };
4359
+ };
4360
+ }[];
4361
+ bulkActionMetadata?: {
4362
+ totalSuccesses: number;
4363
+ totalFailures: number;
4364
+ undetailedFailures: number;
4365
+ };
4366
+ }
4367
+ export interface UpdateCategoryVisibilityResponseNonNullableFields {
4368
+ category?: {
4369
+ image: string;
4370
+ numberOfItems: number;
4371
+ breadcrumbs?: {
4372
+ values: {
4373
+ categoryId: string;
4374
+ categoryName: string;
4375
+ categorySlug: string;
4376
+ }[];
4377
+ };
4378
+ richContentDescription?: {
4379
+ nodes: {
4380
+ buttonData?: {
4381
+ containerData?: {
4382
+ width?: {
4383
+ size: WidthType;
4384
+ };
4385
+ alignment: PluginContainerDataAlignment;
4386
+ };
4387
+ type: Type;
4388
+ link?: {
4389
+ url: string;
4390
+ anchor: string;
4391
+ target: Target;
4392
+ };
4393
+ };
4394
+ codeBlockData?: {
4395
+ textStyle?: {
4396
+ textAlignment: TextAlignment;
4397
+ };
4398
+ };
4399
+ dividerData?: {
4400
+ containerData?: {
4401
+ width?: {
4402
+ size: WidthType;
4403
+ };
4404
+ alignment: PluginContainerDataAlignment;
4405
+ };
4406
+ lineStyle: LineStyle;
4407
+ width: Width;
4408
+ alignment: Alignment;
4409
+ };
4410
+ fileData?: {
4411
+ containerData?: {
4412
+ width?: {
4413
+ size: WidthType;
4414
+ };
4415
+ alignment: PluginContainerDataAlignment;
4416
+ };
4417
+ pdfSettings?: {
4418
+ viewMode: ViewMode;
4419
+ };
4420
+ };
4421
+ galleryData?: {
4422
+ containerData?: {
4423
+ width?: {
4424
+ size: WidthType;
4425
+ };
4426
+ alignment: PluginContainerDataAlignment;
4427
+ };
4428
+ items: {
4429
+ image?: {
4430
+ link?: {
4431
+ url: string;
4432
+ anchor: string;
4433
+ target: Target;
4434
+ };
4435
+ };
4436
+ }[];
4437
+ options?: {
4438
+ layout?: {
4439
+ type: LayoutType;
4440
+ orientation: Orientation;
4441
+ };
4442
+ item?: {
4443
+ crop: Crop;
4444
+ };
4445
+ thumbnails?: {
4446
+ placement: ThumbnailsAlignment;
4447
+ };
4448
+ };
4449
+ };
4450
+ gifData?: {
4451
+ containerData?: {
4452
+ width?: {
4453
+ size: WidthType;
4454
+ };
4455
+ alignment: PluginContainerDataAlignment;
4456
+ };
4457
+ height: number;
4458
+ width: number;
4459
+ };
4460
+ headingData?: {
4461
+ level: number;
4462
+ textStyle?: {
4463
+ textAlignment: TextAlignment;
4464
+ };
4465
+ };
4466
+ htmlData?: {
4467
+ url: string;
4468
+ html: string;
4469
+ containerData?: {
4470
+ width?: {
4471
+ size: WidthType;
4472
+ };
4473
+ alignment: PluginContainerDataAlignment;
4474
+ };
4475
+ source: Source;
4476
+ };
4477
+ imageData?: {
4478
+ containerData?: {
4479
+ width?: {
4480
+ size: WidthType;
4481
+ };
4482
+ alignment: PluginContainerDataAlignment;
4483
+ };
4484
+ link?: {
4485
+ url: string;
4486
+ anchor: string;
4487
+ target: Target;
4488
+ };
4489
+ };
4490
+ linkPreviewData?: {
4491
+ containerData?: {
4492
+ width?: {
4493
+ size: WidthType;
4494
+ };
4495
+ alignment: PluginContainerDataAlignment;
4496
+ };
4497
+ link?: {
4498
+ url: string;
4499
+ anchor: string;
4500
+ target: Target;
4501
+ };
4502
+ };
4503
+ mapData?: {
4504
+ containerData?: {
4505
+ width?: {
4506
+ size: WidthType;
4507
+ };
4508
+ alignment: PluginContainerDataAlignment;
4509
+ };
4510
+ mapSettings?: {
4511
+ mapType: MapType;
4512
+ };
4513
+ };
4514
+ paragraphData?: {
4515
+ textStyle?: {
4516
+ textAlignment: TextAlignment;
4517
+ };
4518
+ };
4519
+ pollData?: {
4520
+ containerData?: {
4521
+ width?: {
4522
+ size: WidthType;
4523
+ };
4524
+ alignment: PluginContainerDataAlignment;
4525
+ };
4526
+ poll?: {
4527
+ options: Option[];
4528
+ settings?: {
4529
+ permissions?: {
4530
+ view: ViewRole;
4531
+ vote: VoteRole;
4532
+ };
4533
+ };
4534
+ };
4535
+ layout?: {
4536
+ poll?: {
4537
+ type: PollLayoutType;
4538
+ direction: PollLayoutDirection;
4539
+ };
4540
+ };
4541
+ design?: {
4542
+ poll?: {
4543
+ background?: {
4544
+ type: BackgroundType;
4545
+ };
4546
+ };
4547
+ };
4548
+ };
4549
+ textData?: {
4550
+ text: string;
4551
+ decorations: {
4552
+ anchorData?: {
4553
+ anchor: string;
4554
+ };
4555
+ linkData?: {
4556
+ link?: {
4557
+ url: string;
4558
+ anchor: string;
4559
+ target: Target;
4560
+ };
4561
+ };
4562
+ mentionData?: {
4563
+ name: string;
4564
+ slug: string;
4565
+ };
4566
+ fontSizeData?: {
4567
+ unit: FontType;
4568
+ };
4569
+ type: DecorationType;
4570
+ }[];
4571
+ };
4572
+ appEmbedData?: {
4573
+ type: AppType;
4574
+ };
4575
+ videoData?: {
4576
+ containerData?: {
4577
+ width?: {
4578
+ size: WidthType;
4579
+ };
4580
+ alignment: PluginContainerDataAlignment;
4581
+ };
4582
+ };
4583
+ embedData?: {
4584
+ containerData?: {
4585
+ width?: {
4586
+ size: WidthType;
4587
+ };
4588
+ alignment: PluginContainerDataAlignment;
4589
+ };
4590
+ };
4591
+ collapsibleListData?: {
4592
+ containerData?: {
4593
+ width?: {
4594
+ size: WidthType;
4595
+ };
4596
+ alignment: PluginContainerDataAlignment;
4597
+ };
4598
+ initialExpandedItems: InitialExpandedItems;
4599
+ direction: Direction;
4600
+ };
4601
+ tableData?: {
4602
+ containerData?: {
4603
+ width?: {
4604
+ size: WidthType;
4605
+ };
4606
+ alignment: PluginContainerDataAlignment;
4607
+ };
4608
+ dimensions?: {
4609
+ colsWidthRatio: number[];
4610
+ rowsHeight: number[];
4611
+ colsMinWidth: number[];
4612
+ };
4613
+ };
4614
+ tableCellData?: {
4615
+ cellStyle?: {
4616
+ verticalAlignment: VerticalAlignment;
4617
+ };
4618
+ };
4619
+ audioData?: {
4620
+ containerData?: {
4621
+ width?: {
4622
+ size: WidthType;
4623
+ };
4624
+ alignment: PluginContainerDataAlignment;
4625
+ };
4626
+ };
4627
+ orderedListData?: {
4628
+ indentation: number;
4629
+ };
4630
+ bulletedListData?: {
4631
+ indentation: number;
4632
+ };
4633
+ blockquoteData?: {
4634
+ indentation: number;
4635
+ };
4636
+ type: NodeType;
4637
+ _id: string;
4638
+ nodes: NonNullable<NonNullable<NonNullable<UpdateCategoryVisibilityResponseNonNullableFields>['category']>['richContentDescription']>['nodes'][];
4639
+ }[];
4640
+ metadata?: {
4641
+ version: number;
4642
+ };
4643
+ documentStyle?: {
4644
+ headerOne?: {
4645
+ decorations: {
4646
+ anchorData?: {
4647
+ anchor: string;
4648
+ };
4649
+ linkData?: {
4650
+ link?: {
4651
+ url: string;
4652
+ anchor: string;
4653
+ target: Target;
4654
+ };
4655
+ };
4656
+ mentionData?: {
4657
+ name: string;
4658
+ slug: string;
4659
+ };
4660
+ fontSizeData?: {
4661
+ unit: FontType;
4662
+ };
4663
+ type: DecorationType;
4664
+ }[];
4665
+ };
4666
+ headerTwo?: {
4667
+ decorations: {
4668
+ anchorData?: {
4669
+ anchor: string;
4670
+ };
4671
+ linkData?: {
4672
+ link?: {
4673
+ url: string;
4674
+ anchor: string;
4675
+ target: Target;
4676
+ };
4677
+ };
4678
+ mentionData?: {
4679
+ name: string;
4680
+ slug: string;
4681
+ };
4682
+ fontSizeData?: {
4683
+ unit: FontType;
4684
+ };
4685
+ type: DecorationType;
4686
+ }[];
4687
+ };
4688
+ headerThree?: {
4689
+ decorations: {
4690
+ anchorData?: {
4691
+ anchor: string;
4692
+ };
4693
+ linkData?: {
4694
+ link?: {
4695
+ url: string;
4696
+ anchor: string;
4697
+ target: Target;
4698
+ };
4699
+ };
4700
+ mentionData?: {
4701
+ name: string;
4702
+ slug: string;
4703
+ };
4704
+ fontSizeData?: {
4705
+ unit: FontType;
4706
+ };
4707
+ type: DecorationType;
4708
+ }[];
4709
+ };
4710
+ headerFour?: {
4711
+ decorations: {
4712
+ anchorData?: {
4713
+ anchor: string;
4714
+ };
4715
+ linkData?: {
4716
+ link?: {
4717
+ url: string;
4718
+ anchor: string;
4719
+ target: Target;
4720
+ };
4721
+ };
4722
+ mentionData?: {
4723
+ name: string;
4724
+ slug: string;
4725
+ };
4726
+ fontSizeData?: {
4727
+ unit: FontType;
4728
+ };
4729
+ type: DecorationType;
4730
+ }[];
4731
+ };
4732
+ headerFive?: {
4733
+ decorations: {
4734
+ anchorData?: {
4735
+ anchor: string;
4736
+ };
4737
+ linkData?: {
4738
+ link?: {
4739
+ url: string;
4740
+ anchor: string;
4741
+ target: Target;
4742
+ };
4743
+ };
4744
+ mentionData?: {
4745
+ name: string;
4746
+ slug: string;
4747
+ };
4748
+ fontSizeData?: {
4749
+ unit: FontType;
4750
+ };
4751
+ type: DecorationType;
4752
+ }[];
4753
+ };
4754
+ headerSix?: {
4755
+ decorations: {
4756
+ anchorData?: {
4757
+ anchor: string;
4758
+ };
4759
+ linkData?: {
4760
+ link?: {
4761
+ url: string;
4762
+ anchor: string;
4763
+ target: Target;
4764
+ };
4765
+ };
4766
+ mentionData?: {
4767
+ name: string;
4768
+ slug: string;
4769
+ };
4770
+ fontSizeData?: {
4771
+ unit: FontType;
4772
+ };
4773
+ type: DecorationType;
4774
+ }[];
4775
+ };
4776
+ paragraph?: {
4777
+ decorations: {
4778
+ anchorData?: {
4779
+ anchor: string;
4780
+ };
4781
+ linkData?: {
4782
+ link?: {
4783
+ url: string;
4784
+ anchor: string;
4785
+ target: Target;
4786
+ };
4787
+ };
4788
+ mentionData?: {
4789
+ name: string;
4790
+ slug: string;
4791
+ };
4792
+ fontSizeData?: {
4793
+ unit: FontType;
4794
+ };
4795
+ type: DecorationType;
4796
+ }[];
4797
+ };
4798
+ blockquote?: {
4799
+ decorations: {
4800
+ anchorData?: {
4801
+ anchor: string;
4802
+ };
4803
+ linkData?: {
4804
+ link?: {
4805
+ url: string;
4806
+ anchor: string;
4807
+ target: Target;
4808
+ };
4809
+ };
4810
+ mentionData?: {
4811
+ name: string;
4812
+ slug: string;
4813
+ };
4814
+ fontSizeData?: {
4815
+ unit: FontType;
4816
+ };
4817
+ type: DecorationType;
4818
+ }[];
4819
+ };
4820
+ codeBlock?: {
4821
+ decorations: {
4822
+ anchorData?: {
4823
+ anchor: string;
4824
+ };
4825
+ linkData?: {
4826
+ link?: {
4827
+ url: string;
4828
+ anchor: string;
4829
+ target: Target;
4830
+ };
4831
+ };
4832
+ mentionData?: {
4833
+ name: string;
4834
+ slug: string;
4835
+ };
4836
+ fontSizeData?: {
4837
+ unit: FontType;
4838
+ };
4839
+ type: DecorationType;
4840
+ }[];
4841
+ };
4842
+ };
4843
+ };
4844
+ };
4845
+ }
4846
+ export interface BulkAddItemsToCategoryResponseNonNullableFields {
4847
+ results: {
4848
+ itemMetadata?: {
4849
+ itemReference?: {
4850
+ catalogItemId: string;
4851
+ appId: string;
4852
+ };
4853
+ originalIndex: number;
4854
+ success: boolean;
4855
+ error?: {
4856
+ code: string;
4857
+ description: string;
4858
+ };
4859
+ };
4860
+ }[];
4861
+ bulkActionMetadata?: {
4862
+ totalSuccesses: number;
4863
+ totalFailures: number;
4864
+ undetailedFailures: number;
4865
+ };
4866
+ }
4867
+ export interface BulkAddItemToCategoriesResponseNonNullableFields {
4868
+ results: {
4869
+ itemMetadata?: {
4870
+ originalIndex: number;
4871
+ success: boolean;
4872
+ error?: {
4873
+ code: string;
4874
+ description: string;
4875
+ };
4876
+ };
4877
+ }[];
4878
+ bulkActionMetadata?: {
4879
+ totalSuccesses: number;
4880
+ totalFailures: number;
4881
+ undetailedFailures: number;
4882
+ };
4883
+ }
4884
+ export interface BulkRemoveItemsFromCategoryResponseNonNullableFields {
4885
+ results: {
4886
+ itemMetadata?: {
4887
+ itemReference?: {
4888
+ catalogItemId: string;
4889
+ appId: string;
4890
+ };
4891
+ originalIndex: number;
4892
+ success: boolean;
4893
+ error?: {
4894
+ code: string;
4895
+ description: string;
4896
+ };
4897
+ };
4898
+ }[];
4899
+ bulkActionMetadata?: {
4900
+ totalSuccesses: number;
4901
+ totalFailures: number;
4902
+ undetailedFailures: number;
4903
+ };
4904
+ }
4905
+ export interface BulkRemoveItemFromCategoriesResponseNonNullableFields {
4906
+ results: {
4907
+ itemMetadata?: {
4908
+ originalIndex: number;
4909
+ success: boolean;
4910
+ error?: {
4911
+ code: string;
4912
+ description: string;
4913
+ };
4914
+ };
4915
+ }[];
4916
+ bulkActionMetadata?: {
4917
+ totalSuccesses: number;
4918
+ totalFailures: number;
4919
+ undetailedFailures: number;
4920
+ };
4921
+ }
4922
+ export interface ListItemsInCategoryResponseNonNullableFields {
4923
+ items: {
4924
+ catalogItemId: string;
4925
+ appId: string;
4926
+ }[];
4927
+ }
4928
+ export interface ListCategoriesForItemResponseNonNullableFields {
4929
+ directCategoryIds: string[];
4930
+ allCategoryIds: string[];
4931
+ }
4932
+ export interface MoveItemInCategoryResponseNonNullableFields {
4933
+ itemsAfterMove: {
4934
+ catalogItemId: string;
4935
+ appId: string;
4936
+ }[];
4937
+ }
4938
+ export interface SetArrangedItemsResponseNonNullableFields {
4939
+ items: {
4940
+ catalogItemId: string;
4941
+ appId: string;
4942
+ }[];
4943
+ }
4944
+ export interface GetArrangedItemsResponseNonNullableFields {
4945
+ items: {
4946
+ catalogItemId: string;
4947
+ appId: string;
4948
+ }[];
4949
+ }
1954
4950
  /**
1955
4951
  * Creates a new Category.
1956
4952
  * @param category - Category to be created.
@@ -1959,12 +4955,11 @@ export interface Empty {
1959
4955
  * @requiredField category
1960
4956
  * @requiredField category.name
1961
4957
  * @requiredField category.parentCategory._id
1962
- * @requiredField options
1963
4958
  * @requiredField options.treeReference
1964
4959
  * @requiredField options.treeReference.appNamespace
1965
4960
  * @returns The created Category.
1966
4961
  */
1967
- export declare function createCategory(category: Category, options: CreateCategoryOptions): Promise<Category>;
4962
+ export declare function createCategory(category: Category, options?: CreateCategoryOptions): Promise<Category & NonNullable<CreateCategoryResponseNonNullableFields>['category']>;
1968
4963
  export interface CreateCategoryOptions {
1969
4964
  /** A reference to the tree that contains this category. */
1970
4965
  treeReference: TreeReference;
@@ -1983,7 +4978,7 @@ export interface CreateCategoryOptions {
1983
4978
  * @applicableIdentity VISITOR
1984
4979
  * @returns The retrieved Category.
1985
4980
  */
1986
- export declare function getCategory(categoryId: string, treeReference: TreeReference, options?: GetCategoryOptions): Promise<Category>;
4981
+ export declare function getCategory(categoryId: string, treeReference: TreeReference, options?: GetCategoryOptions): Promise<Category & NonNullable<GetCategoryResponseNonNullableFields>['category']>;
1987
4982
  export interface GetCategoryOptions {
1988
4983
  /** Fields to return in the response. When not provided, these fields are not returned. */
1989
4984
  fields?: RequestedFields[];
@@ -1998,12 +4993,11 @@ export interface GetCategoryOptions {
1998
4993
  * @requiredField _id
1999
4994
  * @requiredField category
2000
4995
  * @requiredField category.revision
2001
- * @requiredField options
2002
4996
  * @requiredField options.treeReference
2003
4997
  * @requiredField options.treeReference.appNamespace
2004
4998
  * @returns The updated Category.
2005
4999
  */
2006
- export declare function updateCategory(_id: string | null, category: UpdateCategory, options: UpdateCategoryOptions): Promise<Category>;
5000
+ export declare function updateCategory(_id: string | null, category: UpdateCategory, options?: UpdateCategoryOptions): Promise<Category & NonNullable<UpdateCategoryResponseNonNullableFields>['category']>;
2007
5001
  export interface UpdateCategory {
2008
5002
  /** Category ID. */
2009
5003
  _id?: string | null;
@@ -2069,7 +5063,7 @@ export interface UpdateCategory {
2069
5063
  * If provided, the update of items assigned to this category and the deletion of it will be allowed only to the managing app.
2070
5064
  * The default is Empty.
2071
5065
  */
2072
- managedByAppId?: string | null;
5066
+ managingAppId?: string | null;
2073
5067
  /** Extensions enabling users to save custom data related to the category. */
2074
5068
  extendedFields?: ExtendedFields;
2075
5069
  }
@@ -2179,21 +5173,20 @@ export interface CategoriesQueryBuilder {
2179
5173
  find: () => Promise<CategoriesQueryResult>;
2180
5174
  }
2181
5175
  /**
2182
- * Places category in parent category.
2183
- * This operation updates `parentCategory` (`id` and `index`) for category with `categoryId` in tree with `treeId`.
5176
+ * Moves a category.
5177
+ * This operation updates `parentCategory` (`id` and `index`) for category with `categoryId`.
2184
5178
  * This endpoint can be used to move category to different parent in the same tree or to change it's position in current parent.
2185
5179
  * @param categoryId - ID of category to place.
2186
5180
  * @param treeReference - A reference to the tree that contains this category.
2187
5181
  * @public
2188
5182
  * @documentationMaturity preview
2189
5183
  * @requiredField categoryId
2190
- * @requiredField options
2191
5184
  * @requiredField options.position
2192
5185
  * @requiredField treeReference
2193
5186
  * @requiredField treeReference.appNamespace
2194
5187
  */
2195
- export declare function placeCategoryInParentCategory(categoryId: string, treeReference: TreeReference, options: PlaceCategoryInParentCategoryOptions): Promise<PlaceCategoryInParentCategoryResponse>;
2196
- export interface PlaceCategoryInParentCategoryOptions {
5188
+ export declare function moveCategory(categoryId: string, treeReference: TreeReference, options?: MoveCategoryOptions): Promise<MoveCategoryResponse & MoveCategoryResponseNonNullableFields>;
5189
+ export interface MoveCategoryOptions {
2197
5190
  /**
2198
5191
  * ID of parent category.
2199
5192
  * Optional. When not passed it will fallback to the root category
@@ -2205,7 +5198,7 @@ export interface PlaceCategoryInParentCategoryOptions {
2205
5198
  * `LAST` - make category with `category_id` last subcategory with manual arrangement.
2206
5199
  * `BEFORE` - requires `move_before_category_id`, category with `category_id` will be moved before it.
2207
5200
  */
2208
- position: PlaceCategoryInParentCategoryRequestPosition;
5201
+ position: MoveCategoryRequestPosition;
2209
5202
  /** Required when `position` is `BEFORE`. Otherwise ignored */
2210
5203
  moveBeforeCategoryId?: string | null;
2211
5204
  }
@@ -2220,11 +5213,10 @@ export interface PlaceCategoryInParentCategoryOptions {
2220
5213
  * @requiredField categories.category
2221
5214
  * @requiredField categories.category._id
2222
5215
  * @requiredField categories.category.revision
2223
- * @requiredField options
2224
5216
  * @requiredField options.treeReference
2225
5217
  * @requiredField options.treeReference.appNamespace
2226
5218
  */
2227
- export declare function bulkUpdateCategories(categories: MaskedCategory[], options: BulkUpdateCategoriesOptions): Promise<BulkUpdateCategoriesResponse>;
5219
+ export declare function bulkUpdateCategories(categories: MaskedCategory[], options?: BulkUpdateCategoriesOptions): Promise<BulkUpdateCategoriesResponse & BulkUpdateCategoriesResponseNonNullableFields>;
2228
5220
  export interface BulkUpdateCategoriesOptions {
2229
5221
  /** A reference to the tree that contains the categories. */
2230
5222
  treeReference: TreeReference;
@@ -2237,13 +5229,12 @@ export interface BulkUpdateCategoriesOptions {
2237
5229
  * @public
2238
5230
  * @documentationMaturity preview
2239
5231
  * @requiredField categoryId
2240
- * @requiredField options
2241
5232
  * @requiredField options.revision
2242
5233
  * @requiredField options.treeReference
2243
5234
  * @requiredField options.treeReference.appNamespace
2244
5235
  * @requiredField options.visible
2245
5236
  */
2246
- export declare function updateCategoryVisibility(categoryId: string, options: UpdateCategoryVisibilityOptions): Promise<UpdateCategoryVisibilityResponse>;
5237
+ export declare function updateCategoryVisibility(categoryId: string, options?: UpdateCategoryVisibilityOptions): Promise<UpdateCategoryVisibilityResponse & UpdateCategoryVisibilityResponseNonNullableFields>;
2247
5238
  export interface UpdateCategoryVisibilityOptions {
2248
5239
  /** value to set `visible` to */
2249
5240
  visible: boolean;
@@ -2268,8 +5259,8 @@ export interface UpdateCategoryVisibilityOptions {
2268
5259
  * @requiredField options.treeReference
2269
5260
  * @requiredField options.treeReference.appNamespace
2270
5261
  */
2271
- export declare function addItemsToCategory(categoryId: string, items: ItemReference[], options: AddItemsToCategoryOptions): Promise<AddItemsToCategoryResponse>;
2272
- export interface AddItemsToCategoryOptions {
5262
+ export declare function bulkAddItemsToCategory(categoryId: string, items: ItemReference[], options: BulkAddItemsToCategoryOptions): Promise<BulkAddItemsToCategoryResponse & BulkAddItemsToCategoryResponseNonNullableFields>;
5263
+ export interface BulkAddItemsToCategoryOptions {
2273
5264
  /** A reference to the tree that contains this category. */
2274
5265
  treeReference: TreeReference;
2275
5266
  }
@@ -2286,8 +5277,8 @@ export interface AddItemsToCategoryOptions {
2286
5277
  * @requiredField options.treeReference
2287
5278
  * @requiredField options.treeReference.appNamespace
2288
5279
  */
2289
- export declare function addItemToCategories(itemReference: ItemReference, options: AddItemToCategoriesOptions): Promise<AddItemToCategoriesResponse>;
2290
- export interface AddItemToCategoriesOptions {
5280
+ export declare function bulkAddItemToCategories(itemReference: ItemReference, options: BulkAddItemToCategoriesOptions): Promise<BulkAddItemToCategoriesResponse & BulkAddItemToCategoriesResponseNonNullableFields>;
5281
+ export interface BulkAddItemToCategoriesOptions {
2291
5282
  /** Category ids. */
2292
5283
  categoryIds: string[];
2293
5284
  /** A reference to the tree that contains the categories. */
@@ -2307,8 +5298,8 @@ export interface AddItemToCategoriesOptions {
2307
5298
  * @requiredField options.treeReference
2308
5299
  * @requiredField options.treeReference.appNamespace
2309
5300
  */
2310
- export declare function removeItemsFromCategory(categoryId: string, items: ItemReference[], options: RemoveItemsFromCategoryOptions): Promise<RemoveItemsFromCategoryResponse>;
2311
- export interface RemoveItemsFromCategoryOptions {
5301
+ export declare function bulkRemoveItemsFromCategory(categoryId: string, items: ItemReference[], options: BulkRemoveItemsFromCategoryOptions): Promise<BulkRemoveItemsFromCategoryResponse & BulkRemoveItemsFromCategoryResponseNonNullableFields>;
5302
+ export interface BulkRemoveItemsFromCategoryOptions {
2312
5303
  /** A reference to the tree that contains this category. */
2313
5304
  treeReference: TreeReference;
2314
5305
  }
@@ -2325,8 +5316,8 @@ export interface RemoveItemsFromCategoryOptions {
2325
5316
  * @requiredField options.treeReference
2326
5317
  * @requiredField options.treeReference.appNamespace
2327
5318
  */
2328
- export declare function removeItemFromCategories(itemReference: ItemReference, options: RemoveItemFromCategoriesOptions): Promise<RemoveItemFromCategoriesResponse>;
2329
- export interface RemoveItemFromCategoriesOptions {
5319
+ export declare function bulkRemoveItemFromCategories(itemReference: ItemReference, options: BulkRemoveItemFromCategoriesOptions): Promise<BulkRemoveItemFromCategoriesResponse & BulkRemoveItemFromCategoriesResponseNonNullableFields>;
5320
+ export interface BulkRemoveItemFromCategoriesOptions {
2330
5321
  /** Category ids. */
2331
5322
  categoryIds: string[];
2332
5323
  /** A reference to the tree that contains the categories. */
@@ -2344,7 +5335,7 @@ export interface RemoveItemFromCategoriesOptions {
2344
5335
  * @requiredField treeReference.appNamespace
2345
5336
  * @applicableIdentity VISITOR
2346
5337
  */
2347
- export declare function listItemsInCategory(categoryId: string, treeReference: TreeReference, options?: ListItemsInCategoryOptions): Promise<ListItemsInCategoryResponse>;
5338
+ export declare function listItemsInCategory(categoryId: string, treeReference: TreeReference, options?: ListItemsInCategoryOptions): Promise<ListItemsInCategoryResponse & ListItemsInCategoryResponseNonNullableFields>;
2348
5339
  export interface ListItemsInCategoryOptions {
2349
5340
  /** Default: `false`. When `true` items arranged by user will be return before all other items. */
2350
5341
  useCategoryArrangement?: boolean;
@@ -2364,7 +5355,7 @@ export interface ListItemsInCategoryOptions {
2364
5355
  * @requiredField options.treeReference.appNamespace
2365
5356
  * @applicableIdentity VISITOR
2366
5357
  */
2367
- export declare function listCategoriesForItem(itemReference: ItemReference, options: ListCategoriesForItemOptions): Promise<ListCategoriesForItemResponse>;
5358
+ export declare function listCategoriesForItem(itemReference: ItemReference, options: ListCategoriesForItemOptions): Promise<ListCategoriesForItemResponse & ListCategoriesForItemResponseNonNullableFields>;
2368
5359
  export interface ListCategoriesForItemOptions {
2369
5360
  /** A reference to the tree that contains the categories. */
2370
5361
  treeReference: TreeReference;
@@ -2377,13 +5368,12 @@ export interface ListCategoriesForItemOptions {
2377
5368
  * @public
2378
5369
  * @documentationMaturity preview
2379
5370
  * @requiredField categoryId
2380
- * @requiredField options
2381
5371
  * @requiredField options.item
2382
5372
  * @requiredField options.position
2383
5373
  * @requiredField treeReference
2384
5374
  * @requiredField treeReference.appNamespace
2385
5375
  */
2386
- export declare function moveItemInCategory(categoryId: string, treeReference: TreeReference, options: MoveItemInCategoryOptions): Promise<MoveItemInCategoryResponse>;
5376
+ export declare function moveItemInCategory(categoryId: string, treeReference: TreeReference, options?: MoveItemInCategoryOptions): Promise<MoveItemInCategoryResponse & MoveItemInCategoryResponseNonNullableFields>;
2387
5377
  export interface MoveItemInCategoryOptions {
2388
5378
  /** Item to move. */
2389
5379
  item: ItemReference;
@@ -2409,7 +5399,7 @@ export interface MoveItemInCategoryOptions {
2409
5399
  * @requiredField treeReference
2410
5400
  * @requiredField treeReference.appNamespace
2411
5401
  */
2412
- export declare function setArrangedItems(categoryId: string, treeReference: TreeReference, options?: SetArrangedItemsOptions): Promise<SetArrangedItemsResponse>;
5402
+ export declare function setArrangedItems(categoryId: string, treeReference: TreeReference, options?: SetArrangedItemsOptions): Promise<SetArrangedItemsResponse & SetArrangedItemsResponseNonNullableFields>;
2413
5403
  export interface SetArrangedItemsOptions {
2414
5404
  /**
2415
5405
  * List of arranged items to set.
@@ -2428,5 +5418,5 @@ export interface SetArrangedItemsOptions {
2428
5418
  * @requiredField treeReference.appNamespace
2429
5419
  * @applicableIdentity VISITOR
2430
5420
  */
2431
- export declare function getArrangedItems(categoryId: string, treeReference: TreeReference): Promise<GetArrangedItemsResponse>;
5421
+ export declare function getArrangedItems(categoryId: string, treeReference: TreeReference): Promise<GetArrangedItemsResponse & GetArrangedItemsResponseNonNullableFields>;
2432
5422
  export {};