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