@wix/auto_sdk_categories_categories 1.0.107 → 1.0.108

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 (54) hide show
  1. package/build/cjs/{categories-v1-category-categories.universal-DAp47gfD.d.ts → categories-v1-category-categories.universal-CVjL1ZhJ.d.ts} +26 -1
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +200 -0
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +190 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +23 -2
  9. package/build/cjs/meta.js +170 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/cjs/schemas.d.ts +1400 -0
  12. package/build/cjs/schemas.js +2760 -0
  13. package/build/cjs/schemas.js.map +1 -0
  14. package/build/es/{categories-v1-category-categories.universal-DAp47gfD.d.mts → categories-v1-category-categories.universal-CVjL1ZhJ.d.mts} +26 -1
  15. package/build/es/index.d.mts +2 -2
  16. package/build/es/index.mjs +199 -0
  17. package/build/es/index.mjs.map +1 -1
  18. package/build/es/index.typings.d.mts +2 -2
  19. package/build/es/index.typings.mjs +189 -0
  20. package/build/es/index.typings.mjs.map +1 -1
  21. package/build/es/meta.d.mts +23 -2
  22. package/build/es/meta.mjs +169 -0
  23. package/build/es/meta.mjs.map +1 -1
  24. package/build/es/schemas.d.mts +1400 -0
  25. package/build/es/schemas.mjs +2682 -0
  26. package/build/es/schemas.mjs.map +1 -0
  27. package/build/internal/cjs/{categories-v1-category-categories.universal-D_41PGaH.d.ts → categories-v1-category-categories.universal-B5gx5zdX.d.ts} +40 -1
  28. package/build/internal/cjs/index.d.ts +15 -3
  29. package/build/internal/cjs/index.js +200 -0
  30. package/build/internal/cjs/index.js.map +1 -1
  31. package/build/internal/cjs/index.typings.d.ts +2 -2
  32. package/build/internal/cjs/index.typings.js +190 -0
  33. package/build/internal/cjs/index.typings.js.map +1 -1
  34. package/build/internal/cjs/meta.d.ts +23 -2
  35. package/build/internal/cjs/meta.js +170 -0
  36. package/build/internal/cjs/meta.js.map +1 -1
  37. package/build/internal/cjs/schemas.d.ts +1400 -0
  38. package/build/internal/cjs/schemas.js +2760 -0
  39. package/build/internal/cjs/schemas.js.map +1 -0
  40. package/build/internal/es/{categories-v1-category-categories.universal-D_41PGaH.d.mts → categories-v1-category-categories.universal-B5gx5zdX.d.mts} +40 -1
  41. package/build/internal/es/index.d.mts +15 -3
  42. package/build/internal/es/index.mjs +199 -0
  43. package/build/internal/es/index.mjs.map +1 -1
  44. package/build/internal/es/index.typings.d.mts +2 -2
  45. package/build/internal/es/index.typings.mjs +189 -0
  46. package/build/internal/es/index.typings.mjs.map +1 -1
  47. package/build/internal/es/meta.d.mts +23 -2
  48. package/build/internal/es/meta.mjs +169 -0
  49. package/build/internal/es/meta.mjs.map +1 -1
  50. package/build/internal/es/schemas.d.mts +1400 -0
  51. package/build/internal/es/schemas.mjs +2682 -0
  52. package/build/internal/es/schemas.mjs.map +1 -0
  53. package/package.json +11 -4
  54. package/schemas/package.json +3 -0
@@ -2710,6 +2710,24 @@ interface GetCategoryResponse {
2710
2710
  /** Category. */
2711
2711
  category?: Category;
2712
2712
  }
2713
+ interface GetCategoryBySlugRequest {
2714
+ /**
2715
+ * Category slug.
2716
+ * @format URL_SLUG
2717
+ */
2718
+ slug: string;
2719
+ /** Category tree reference details. */
2720
+ treeReference: TreeReference;
2721
+ /**
2722
+ * Fields to include in the response.
2723
+ * @maxSize 100
2724
+ */
2725
+ fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
2726
+ }
2727
+ interface GetCategoryBySlugResponse {
2728
+ /** Category. */
2729
+ category?: Category;
2730
+ }
2713
2731
  interface UpdateCategoryRequest {
2714
2732
  /** Category to update. */
2715
2733
  category: Category;
@@ -4746,6 +4764,13 @@ interface GetCategoryOptions {
4746
4764
  */
4747
4765
  fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
4748
4766
  }
4767
+ interface GetCategoryBySlugOptions {
4768
+ /**
4769
+ * Fields to include in the response.
4770
+ * @maxSize 100
4771
+ */
4772
+ fields?: SingleEntityOpsRequestedFieldsWithLiterals[];
4773
+ }
4749
4774
  /**
4750
4775
  * Updates a category.
4751
4776
  *
@@ -5692,4 +5717,4 @@ interface BulkSetItemCategoriesOptions {
5692
5717
  treeReference: TreeReference;
5693
5718
  }
5694
5719
 
5695
- export { type CategoryDeletedEnvelope as $, type BulkRemoveItemsFromCategoryResponse as A, type BulkUpdateCategoriesOptions as B, type Category as C, type DeleteCategoryApplicationErrors as D, type BulkRemoveItemsFromCategoryApplicationErrors as E, type BulkRemoveItemFromCategoriesOptions as F, type GetCategoryOptions as G, type BulkRemoveItemFromCategoriesResponse as H, type ItemReference as I, type BulkRemoveItemFromCategoriesApplicationErrors as J, type ListItemsInCategoryResponse as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type ListCategoriesForItemOptions as N, type ListCategoriesForItemResponse as O, type ListCategoriesForItemsOptions as P, type ListCategoriesForItemsResponse as Q, type ListTreesResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type SetArrangedItemsOptions as V, type SetArrangedItemsResponse as W, type SetArrangedItemsApplicationErrors as X, type GetArrangedItemsResponse as Y, type CategoryMovedEnvelope as Z, type CategoryCreatedEnvelope as _, type CreateCategoryOptions as a, SortType as a$, type CategoryItemAddedToCategoryEnvelope as a0, type CategoryItemRemovedFromCategoryEnvelope as a1, type CategoryItemsArrangedInCategoryEnvelope as a2, type CategoryUpdatedEnvelope as a3, type CategoryQuery as a4, type QueryCategoriesOptions as a5, typedQueryCategories as a6, type CategoriesQueryBuilder as a7, NodeType as a8, BackgroundType as a9, AspectRatio as aA, Resizing as aB, Placement as aC, Type as aD, Alignment as aE, Layout as aF, AppType as aG, InitialExpandedItems as aH, Direction as aI, VerticalAlignment as aJ, NullValue as aK, ImageScalingScaling as aL, ImagePosition as aM, Origin as aN, LayoutDataBackgroundType as aO, BackdropType as aP, VerticalAlignmentAlignment as aQ, ResponsivenessBehaviour as aR, DesignTarget as aS, Scaling as aT, ImagePositionPosition as aU, CardDataBackgroundType as aV, ListStyle as aW, Indentation as aX, SingleEntityOpsRequestedFields as aY, SortOrder as aZ, RequestedFields as a_, GradientType as aa, WidthType as ab, PluginContainerDataAlignment as ac, ButtonDataType as ad, Target as ae, TextAlignment as af, LineStyle as ag, Width as ah, DividerDataAlignment as ai, ViewMode as aj, LayoutType as ak, Orientation as al, Crop as am, ThumbnailsAlignment as an, GIFType as ao, Source as ap, StylesPosition as aq, MapType as ar, ViewRole as as, VoteRole as at, PollLayoutType as au, PollLayoutDirection as av, PollDesignBackgroundType as aw, DecorationType as ax, FontType as ay, ImageStylesPosition as az, type CreateCategoryApplicationErrors as b, type MapData as b$, SortDirection as b0, MissingValues as b1, ScalarType as b2, NestedAggregationType as b3, Interval as b4, AggregationType as b5, Mode as b6, Position as b7, MoveItemInCategoryRequestPosition as b8, WebhookIdentityType as b9, type CodeBlockData as bA, type TextStyle as bB, type DividerData as bC, type FileData as bD, type FileSource as bE, type FileSourceDataOneOf as bF, type PDFSettings as bG, type GalleryData as bH, type Media as bI, type Image as bJ, type Video as bK, type Item as bL, type ItemDataOneOf as bM, type GalleryOptions as bN, type GalleryOptionsLayout as bO, type ItemStyle as bP, type Thumbnails as bQ, type GIFData as bR, type GIF as bS, type HeadingData as bT, type HTMLData as bU, type HTMLDataDataOneOf as bV, type ImageData as bW, type StylesBorder as bX, type ImageDataStyles as bY, type LinkPreviewData as bZ, type LinkPreviewDataStyles as b_, type BreadcrumbsInfo as ba, type Breadcrumb as bb, type ParentCategory as bc, type SeoSchema as bd, type Keyword as be, type Tag as bf, type Settings as bg, type RichContent as bh, type Node as bi, type NodeDataOneOf as bj, type NodeStyle as bk, type ButtonData as bl, type Gradient as bm, type Stop as bn, type Border as bo, type Colors as bp, type Background as bq, type PluginContainerData as br, type PluginContainerDataWidth as bs, type PluginContainerDataWidthDataOneOf as bt, type Spoiler as bu, type Height as bv, type Styles as bw, type Link as bx, type LinkDataOneOf as by, type Rel as bz, type CreateCategoryValidationErrors as c, type TocData as c$, type MapSettings as c0, type ParagraphData as c1, type PollData as c2, type Permissions as c3, type Option as c4, type PollSettings as c5, type PollLayout as c6, type OptionLayout as c7, type BackgroundGradient as c8, type PollDesignBackground as c9, type PlaybackOptions as cA, type EmbedData as cB, type Oembed as cC, type CollapsibleListData as cD, type TableData as cE, type Dimensions as cF, type TableCellData as cG, type CellStyle as cH, type BorderColors as cI, type BorderWidths as cJ, type ListValue as cK, type AudioData as cL, type OrderedListData as cM, type BulletedListData as cN, type BlockquoteData as cO, type CaptionData as cP, type LayoutData as cQ, type LayoutDataBackgroundImage as cR, type Banner as cS, type LayoutDataBackground as cT, type Backdrop as cU, type LayoutCellData as cV, type ShapeData as cW, type ShapeDataStyles as cX, type CardData as cY, type CardDataBackground as cZ, type BackgroundImage as c_, type PollDesignBackgroundBackgroundOneOf as ca, type PollDesign as cb, type OptionDesign as cc, type Poll as cd, type PollDataLayout as ce, type Design as cf, type TextData as cg, type Decoration as ch, type DecorationDataOneOf as ci, type AnchorData as cj, type ColorData as ck, type LinkData as cl, type MentionData as cm, type FontSizeData as cn, type SpoilerData as co, type FontFamilyData as cp, type AppEmbedData as cq, type AppEmbedDataAppDataOneOf as cr, type BookingData as cs, type EventData as ct, type ButtonStyles as cu, type ImageStyles as cv, type RibbonStyles as cw, type CardStyles as cx, type PricingData as cy, type VideoData as cz, type UpdateCategoryOptions as d, type AggregationResultsScalarResult as d$, type Metadata as d0, type DocumentStyle as d1, type TextNodeStyle as d2, type ExtendedFields as d3, type InvalidateCache as d4, type InvalidateCacheGetByOneOf as d5, type App as d6, type Page as d7, type URI as d8, type File as d9, type Cursors as dA, type ListCompactCategoriesByIdsRequest as dB, type ListCompactCategoriesByIdsResponse as dC, type CompactCategory as dD, type SearchCategoriesRequest as dE, type CursorSearch as dF, type CursorSearchPagingMethodOneOf as dG, type Aggregation as dH, type AggregationKindOneOf as dI, type RangeBucket as dJ, type IncludeMissingValuesOptions as dK, type ValueAggregation as dL, type ValueAggregationOptionsOneOf as dM, type RangeAggregation as dN, type ScalarAggregation as dO, type DateHistogramAggregation as dP, type NestedAggregationItem as dQ, type NestedAggregationItemKindOneOf as dR, type NestedAggregation as dS, type SearchDetails as dT, type AggregationData as dU, type ValueAggregationResult as dV, type RangeAggregationResult as dW, type NestedAggregationResults as dX, type NestedAggregationResultsResultOneOf as dY, type ValueResults as dZ, type RangeResults as d_, type CustomTag as da, type Pages as db, type URIs as dc, type CategoryMoved as dd, type ItemAddedToCategory as de, type ItemsAddedToCategory as df, type ItemRemovedFromCategory as dg, type ItemsRemovedFromCategory as dh, type ItemsArrangedInCategory as di, type CreateCategoryRequest as dj, type CreateCategoryResponse as dk, type DuplicateHandleErrorData as dl, type GetCategoryRequest as dm, type GetCategoryResponse as dn, type UpdateCategoryRequest as dp, type UpdateCategoryResponse as dq, type DeleteCategoryRequest as dr, type DeleteCategoryResponse as ds, type QueryCategoriesRequest as dt, type CursorQuery as du, type CursorQueryPagingMethodOneOf as dv, type Sorting as dw, type CursorPaging as dx, type QueryCategoriesResponse as dy, type CursorPagingMetadata as dz, type UpdateCategoryApplicationErrors as e, type BulkCreateCategoriesForMigrationResponse as e$, type NestedValueAggregationResult as e0, type ValueResult as e1, type RangeResult as e2, type ScalarResult as e3, type NestedResultValue as e4, type NestedResultValueResultOneOf as e5, type Results as e6, type DateHistogramResult as e7, type GroupByValueResults as e8, type DateHistogramResults as e9, type BulkRemoveItemsFromCategoryRequest as eA, type BulkRemoveItemFromCategoriesRequest as eB, type ListItemsInCategoryRequest as eC, type ListItemsInCategoryRequestPagingMethodOneOf as eD, type PagingMetadataV2 as eE, type ListCategoriesForItemRequest as eF, type ListCategoriesForItemsRequest as eG, type MapItemToCategories as eH, type ListTreesRequest as eI, type MoveItemInCategoryRequest as eJ, type MoveItemInCategoryResponse as eK, type SetArrangedItemsRequest as eL, type GetArrangedItemsRequest as eM, type BulkSetItemCategoriesRequest as eN, type BulkSetItemCategoriesResponse as eO, type GetCategoriesTreeRequest as eP, type GetCategoriesTreeResponse as eQ, type CategoryTreeNode as eR, type DomainEvent as eS, type DomainEventBodyOneOf as eT, type EntityCreatedEvent as eU, type RestoreInfo as eV, type EntityUpdatedEvent as eW, type EntityDeletedEvent as eX, type ActionEvent as eY, type Empty as eZ, type BulkCreateCategoriesForMigrationRequest as e_, type NestedResults as ea, type AggregationResults as eb, type AggregationResultsResultOneOf as ec, type DeprecatedSearchCategoriesWithOffsetRequest as ed, type OffsetSearch as ee, type OffsetSearchPagingMethodOneOf as ef, type Paging as eg, type DeprecatedSearchCategoriesWithOffsetResponse as eh, type PagingMetadata as ei, type CountCategoriesRequest as ej, type MoveCategoryRequest as ek, type BulkUpdateCategoriesRequest as el, type BulkCategoriesResult as em, type ItemMetadata as en, type ApplicationError as eo, type BulkActionMetadata as ep, type UpdateCategoryVisibilityRequest as eq, type BulkShowCategoriesRequest as er, type BulkDeleteCategoriesRequest as es, type BulkDeleteCategoriesResponse as et, type BulkDeleteCategoriesResponseBulkCategoriesResult as eu, type BulkAddItemsToCategoryRequest as ev, type BulkItemsToCategoryResult as ew, type ItemReferenceMetadata as ex, type BulkAddItemToCategoriesRequest as ey, type BulkItemToCategoriesResult as ez, type CategorySearch as f, type ImagePositionPositionWithLiterals as f$, type BulkAddItemsToCategoryForMigrationRequest as f0, type BulkAddItemsToCategoryForMigrationResponse as f1, type MessageEnvelope as f2, type IdentificationData as f3, type IdentificationDataIdOneOf as f4, type AccountInfo as f5, type BaseEventMetadata as f6, type EventMetadata as f7, type AccountInfoMetadata as f8, type CategoriesQueryResult as f9, type VoteRoleWithLiterals as fA, type PollLayoutTypeWithLiterals as fB, type PollLayoutDirectionWithLiterals as fC, type PollDesignBackgroundTypeWithLiterals as fD, type DecorationTypeWithLiterals as fE, type FontTypeWithLiterals as fF, type ImageStylesPositionWithLiterals as fG, type AspectRatioWithLiterals as fH, type ResizingWithLiterals as fI, type PlacementWithLiterals as fJ, type TypeWithLiterals as fK, type AlignmentWithLiterals as fL, type LayoutWithLiterals as fM, type AppTypeWithLiterals as fN, type InitialExpandedItemsWithLiterals as fO, type DirectionWithLiterals as fP, type VerticalAlignmentWithLiterals as fQ, type NullValueWithLiterals as fR, type ImageScalingScalingWithLiterals as fS, type ImagePositionWithLiterals as fT, type OriginWithLiterals as fU, type LayoutDataBackgroundTypeWithLiterals as fV, type BackdropTypeWithLiterals as fW, type VerticalAlignmentAlignmentWithLiterals as fX, type ResponsivenessBehaviourWithLiterals as fY, type DesignTargetWithLiterals as fZ, type ScalingWithLiterals as f_, type CategoryQuerySpec as fa, type CategorySearchSpec as fb, type ListItemsInCategoryOptionsPagingMethodOneOf as fc, type BulkSetItemCategoriesOptions as fd, utils as fe, type NodeTypeWithLiterals as ff, type BackgroundTypeWithLiterals as fg, type GradientTypeWithLiterals as fh, type WidthTypeWithLiterals as fi, type PluginContainerDataAlignmentWithLiterals as fj, type ButtonDataTypeWithLiterals as fk, type TargetWithLiterals as fl, type TextAlignmentWithLiterals as fm, type LineStyleWithLiterals as fn, type WidthWithLiterals as fo, type DividerDataAlignmentWithLiterals as fp, type ViewModeWithLiterals as fq, type LayoutTypeWithLiterals as fr, type OrientationWithLiterals as fs, type CropWithLiterals as ft, type ThumbnailsAlignmentWithLiterals as fu, type GIFTypeWithLiterals as fv, type SourceWithLiterals as fw, type StylesPositionWithLiterals as fx, type MapTypeWithLiterals as fy, type ViewRoleWithLiterals as fz, type SearchCategoriesResponse as g, type CardDataBackgroundTypeWithLiterals as g0, type ListStyleWithLiterals as g1, type IndentationWithLiterals as g2, type SingleEntityOpsRequestedFieldsWithLiterals as g3, type SortOrderWithLiterals as g4, type RequestedFieldsWithLiterals as g5, type SortTypeWithLiterals as g6, type SortDirectionWithLiterals as g7, type MissingValuesWithLiterals as g8, type ScalarTypeWithLiterals as g9, bulkShowCategories as gA, bulkAddItemsToCategory as gB, bulkAddItemToCategories as gC, bulkRemoveItemsFromCategory as gD, bulkRemoveItemFromCategories as gE, listItemsInCategory as gF, listCategoriesForItem as gG, listCategoriesForItems as gH, listTrees as gI, setArrangedItems as gJ, getArrangedItems as gK, type NestedAggregationTypeWithLiterals as ga, type IntervalWithLiterals as gb, type AggregationTypeWithLiterals as gc, type ModeWithLiterals as gd, type PositionWithLiterals as ge, type MoveItemInCategoryRequestPositionWithLiterals as gf, type WebhookIdentityTypeWithLiterals as gg, type BulkSetItemCategoriesApplicationErrors as gh, type CommonQueryWithEntityContext as gi, type CommonSearchWithEntityContext as gj, onCategoryMoved as gk, onCategoryCreated as gl, onCategoryDeleted as gm, onCategoryItemAddedToCategory as gn, onCategoryItemRemovedFromCategory as go, onCategoryItemsArrangedInCategory as gp, onCategoryUpdated as gq, createCategory as gr, getCategory as gs, updateCategory as gt, deleteCategory as gu, queryCategories as gv, countCategories as gw, moveCategory as gx, bulkUpdateCategories as gy, updateCategoryVisibility as gz, type CountCategoriesOptions as h, type CountCategoriesResponse as i, type MoveCategoryResponse as j, type MoveCategoryApplicationErrors as k, type MaskedCategory as l, type BulkUpdateCategoriesResponse as m, type BulkUpdateCategoriesApplicationErrors as n, type UpdateCategoryVisibilityOptions as o, type UpdateCategoryVisibilityResponse as p, type UpdateCategoryVisibilityApplicationErrors as q, type BulkShowCategoriesOptions as r, type BulkShowCategoriesResponse as s, type BulkAddItemsToCategoryOptions as t, type BulkAddItemsToCategoryResponse as u, type BulkAddItemsToCategoryApplicationErrors as v, type BulkAddItemToCategoriesOptions as w, type BulkAddItemToCategoriesResponse as x, type BulkAddItemToCategoriesApplicationErrors as y, type BulkRemoveItemsFromCategoryOptions as z };
5720
+ export { type CategoryDeletedEnvelope as $, type BulkRemoveItemsFromCategoryResponse as A, type BulkUpdateCategoriesOptions as B, type Category as C, type DeleteCategoryApplicationErrors as D, type BulkRemoveItemsFromCategoryApplicationErrors as E, type BulkRemoveItemFromCategoriesOptions as F, type GetCategoryOptions as G, type BulkRemoveItemFromCategoriesResponse as H, type ItemReference as I, type BulkRemoveItemFromCategoriesApplicationErrors as J, type ListItemsInCategoryResponse as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type ListCategoriesForItemOptions as N, type ListCategoriesForItemResponse as O, type ListCategoriesForItemsOptions as P, type ListCategoriesForItemsResponse as Q, type ListTreesResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type SetArrangedItemsOptions as V, type SetArrangedItemsResponse as W, type SetArrangedItemsApplicationErrors as X, type GetArrangedItemsResponse as Y, type CategoryMovedEnvelope as Z, type CategoryCreatedEnvelope as _, type CreateCategoryOptions as a, SortType as a$, type CategoryItemAddedToCategoryEnvelope as a0, type CategoryItemRemovedFromCategoryEnvelope as a1, type CategoryItemsArrangedInCategoryEnvelope as a2, type CategoryUpdatedEnvelope as a3, type CategoryQuery as a4, type QueryCategoriesOptions as a5, typedQueryCategories as a6, type CategoriesQueryBuilder as a7, NodeType as a8, BackgroundType as a9, AspectRatio as aA, Resizing as aB, Placement as aC, Type as aD, Alignment as aE, Layout as aF, AppType as aG, InitialExpandedItems as aH, Direction as aI, VerticalAlignment as aJ, NullValue as aK, ImageScalingScaling as aL, ImagePosition as aM, Origin as aN, LayoutDataBackgroundType as aO, BackdropType as aP, VerticalAlignmentAlignment as aQ, ResponsivenessBehaviour as aR, DesignTarget as aS, Scaling as aT, ImagePositionPosition as aU, CardDataBackgroundType as aV, ListStyle as aW, Indentation as aX, SingleEntityOpsRequestedFields as aY, SortOrder as aZ, RequestedFields as a_, GradientType as aa, WidthType as ab, PluginContainerDataAlignment as ac, ButtonDataType as ad, Target as ae, TextAlignment as af, LineStyle as ag, Width as ah, DividerDataAlignment as ai, ViewMode as aj, LayoutType as ak, Orientation as al, Crop as am, ThumbnailsAlignment as an, GIFType as ao, Source as ap, StylesPosition as aq, MapType as ar, ViewRole as as, VoteRole as at, PollLayoutType as au, PollLayoutDirection as av, PollDesignBackgroundType as aw, DecorationType as ax, FontType as ay, ImageStylesPosition as az, type CreateCategoryApplicationErrors as b, type MapData as b$, SortDirection as b0, MissingValues as b1, ScalarType as b2, NestedAggregationType as b3, Interval as b4, AggregationType as b5, Mode as b6, Position as b7, MoveItemInCategoryRequestPosition as b8, WebhookIdentityType as b9, type CodeBlockData as bA, type TextStyle as bB, type DividerData as bC, type FileData as bD, type FileSource as bE, type FileSourceDataOneOf as bF, type PDFSettings as bG, type GalleryData as bH, type Media as bI, type Image as bJ, type Video as bK, type Item as bL, type ItemDataOneOf as bM, type GalleryOptions as bN, type GalleryOptionsLayout as bO, type ItemStyle as bP, type Thumbnails as bQ, type GIFData as bR, type GIF as bS, type HeadingData as bT, type HTMLData as bU, type HTMLDataDataOneOf as bV, type ImageData as bW, type StylesBorder as bX, type ImageDataStyles as bY, type LinkPreviewData as bZ, type LinkPreviewDataStyles as b_, type BreadcrumbsInfo as ba, type Breadcrumb as bb, type ParentCategory as bc, type SeoSchema as bd, type Keyword as be, type Tag as bf, type Settings as bg, type RichContent as bh, type Node as bi, type NodeDataOneOf as bj, type NodeStyle as bk, type ButtonData as bl, type Gradient as bm, type Stop as bn, type Border as bo, type Colors as bp, type Background as bq, type PluginContainerData as br, type PluginContainerDataWidth as bs, type PluginContainerDataWidthDataOneOf as bt, type Spoiler as bu, type Height as bv, type Styles as bw, type Link as bx, type LinkDataOneOf as by, type Rel as bz, type CreateCategoryValidationErrors as c, type TocData as c$, type MapSettings as c0, type ParagraphData as c1, type PollData as c2, type Permissions as c3, type Option as c4, type PollSettings as c5, type PollLayout as c6, type OptionLayout as c7, type BackgroundGradient as c8, type PollDesignBackground as c9, type PlaybackOptions as cA, type EmbedData as cB, type Oembed as cC, type CollapsibleListData as cD, type TableData as cE, type Dimensions as cF, type TableCellData as cG, type CellStyle as cH, type BorderColors as cI, type BorderWidths as cJ, type ListValue as cK, type AudioData as cL, type OrderedListData as cM, type BulletedListData as cN, type BlockquoteData as cO, type CaptionData as cP, type LayoutData as cQ, type LayoutDataBackgroundImage as cR, type Banner as cS, type LayoutDataBackground as cT, type Backdrop as cU, type LayoutCellData as cV, type ShapeData as cW, type ShapeDataStyles as cX, type CardData as cY, type CardDataBackground as cZ, type BackgroundImage as c_, type PollDesignBackgroundBackgroundOneOf as ca, type PollDesign as cb, type OptionDesign as cc, type Poll as cd, type PollDataLayout as ce, type Design as cf, type TextData as cg, type Decoration as ch, type DecorationDataOneOf as ci, type AnchorData as cj, type ColorData as ck, type LinkData as cl, type MentionData as cm, type FontSizeData as cn, type SpoilerData as co, type FontFamilyData as cp, type AppEmbedData as cq, type AppEmbedDataAppDataOneOf as cr, type BookingData as cs, type EventData as ct, type ButtonStyles as cu, type ImageStyles as cv, type RibbonStyles as cw, type CardStyles as cx, type PricingData as cy, type VideoData as cz, type UpdateCategoryOptions as d, type ValueResults as d$, type Metadata as d0, type DocumentStyle as d1, type TextNodeStyle as d2, type ExtendedFields as d3, type InvalidateCache as d4, type InvalidateCacheGetByOneOf as d5, type App as d6, type Page as d7, type URI as d8, type File as d9, type QueryCategoriesResponse as dA, type CursorPagingMetadata as dB, type Cursors as dC, type ListCompactCategoriesByIdsRequest as dD, type ListCompactCategoriesByIdsResponse as dE, type CompactCategory as dF, type SearchCategoriesRequest as dG, type CursorSearch as dH, type CursorSearchPagingMethodOneOf as dI, type Aggregation as dJ, type AggregationKindOneOf as dK, type RangeBucket as dL, type IncludeMissingValuesOptions as dM, type ValueAggregation as dN, type ValueAggregationOptionsOneOf as dO, type RangeAggregation as dP, type ScalarAggregation as dQ, type DateHistogramAggregation as dR, type NestedAggregationItem as dS, type NestedAggregationItemKindOneOf as dT, type NestedAggregation as dU, type SearchDetails as dV, type AggregationData as dW, type ValueAggregationResult as dX, type RangeAggregationResult as dY, type NestedAggregationResults as dZ, type NestedAggregationResultsResultOneOf as d_, type CustomTag as da, type Pages as db, type URIs as dc, type CategoryMoved as dd, type ItemAddedToCategory as de, type ItemsAddedToCategory as df, type ItemRemovedFromCategory as dg, type ItemsRemovedFromCategory as dh, type ItemsArrangedInCategory as di, type CreateCategoryRequest as dj, type CreateCategoryResponse as dk, type DuplicateHandleErrorData as dl, type GetCategoryRequest as dm, type GetCategoryResponse as dn, type GetCategoryBySlugRequest as dp, type GetCategoryBySlugResponse as dq, type UpdateCategoryRequest as dr, type UpdateCategoryResponse as ds, type DeleteCategoryRequest as dt, type DeleteCategoryResponse as du, type QueryCategoriesRequest as dv, type CursorQuery as dw, type CursorQueryPagingMethodOneOf as dx, type Sorting as dy, type CursorPaging as dz, type UpdateCategoryApplicationErrors as e, type Empty as e$, type RangeResults as e0, type AggregationResultsScalarResult as e1, type NestedValueAggregationResult as e2, type ValueResult as e3, type RangeResult as e4, type ScalarResult as e5, type NestedResultValue as e6, type NestedResultValueResultOneOf as e7, type Results as e8, type DateHistogramResult as e9, type BulkAddItemToCategoriesRequest as eA, type BulkItemToCategoriesResult as eB, type BulkRemoveItemsFromCategoryRequest as eC, type BulkRemoveItemFromCategoriesRequest as eD, type ListItemsInCategoryRequest as eE, type ListItemsInCategoryRequestPagingMethodOneOf as eF, type PagingMetadataV2 as eG, type ListCategoriesForItemRequest as eH, type ListCategoriesForItemsRequest as eI, type MapItemToCategories as eJ, type ListTreesRequest as eK, type MoveItemInCategoryRequest as eL, type MoveItemInCategoryResponse as eM, type SetArrangedItemsRequest as eN, type GetArrangedItemsRequest as eO, type BulkSetItemCategoriesRequest as eP, type BulkSetItemCategoriesResponse as eQ, type GetCategoriesTreeRequest as eR, type GetCategoriesTreeResponse as eS, type CategoryTreeNode as eT, type DomainEvent as eU, type DomainEventBodyOneOf as eV, type EntityCreatedEvent as eW, type RestoreInfo as eX, type EntityUpdatedEvent as eY, type EntityDeletedEvent as eZ, type ActionEvent as e_, type GroupByValueResults as ea, type DateHistogramResults as eb, type NestedResults as ec, type AggregationResults as ed, type AggregationResultsResultOneOf as ee, type DeprecatedSearchCategoriesWithOffsetRequest as ef, type OffsetSearch as eg, type OffsetSearchPagingMethodOneOf as eh, type Paging as ei, type DeprecatedSearchCategoriesWithOffsetResponse as ej, type PagingMetadata as ek, type CountCategoriesRequest as el, type MoveCategoryRequest as em, type BulkUpdateCategoriesRequest as en, type BulkCategoriesResult as eo, type ItemMetadata as ep, type ApplicationError as eq, type BulkActionMetadata as er, type UpdateCategoryVisibilityRequest as es, type BulkShowCategoriesRequest as et, type BulkDeleteCategoriesRequest as eu, type BulkDeleteCategoriesResponse as ev, type BulkDeleteCategoriesResponseBulkCategoriesResult as ew, type BulkAddItemsToCategoryRequest as ex, type BulkItemsToCategoryResult as ey, type ItemReferenceMetadata as ez, type CategorySearch as f, type ResponsivenessBehaviourWithLiterals as f$, type BulkCreateCategoriesForMigrationRequest as f0, type BulkCreateCategoriesForMigrationResponse as f1, type BulkAddItemsToCategoryForMigrationRequest as f2, type BulkAddItemsToCategoryForMigrationResponse as f3, type MessageEnvelope as f4, type IdentificationData as f5, type IdentificationDataIdOneOf as f6, type AccountInfo as f7, type BaseEventMetadata as f8, type EventMetadata as f9, type StylesPositionWithLiterals as fA, type MapTypeWithLiterals as fB, type ViewRoleWithLiterals as fC, type VoteRoleWithLiterals as fD, type PollLayoutTypeWithLiterals as fE, type PollLayoutDirectionWithLiterals as fF, type PollDesignBackgroundTypeWithLiterals as fG, type DecorationTypeWithLiterals as fH, type FontTypeWithLiterals as fI, type ImageStylesPositionWithLiterals as fJ, type AspectRatioWithLiterals as fK, type ResizingWithLiterals as fL, type PlacementWithLiterals as fM, type TypeWithLiterals as fN, type AlignmentWithLiterals as fO, type LayoutWithLiterals as fP, type AppTypeWithLiterals as fQ, type InitialExpandedItemsWithLiterals as fR, type DirectionWithLiterals as fS, type VerticalAlignmentWithLiterals as fT, type NullValueWithLiterals as fU, type ImageScalingScalingWithLiterals as fV, type ImagePositionWithLiterals as fW, type OriginWithLiterals as fX, type LayoutDataBackgroundTypeWithLiterals as fY, type BackdropTypeWithLiterals as fZ, type VerticalAlignmentAlignmentWithLiterals as f_, type AccountInfoMetadata as fa, type GetCategoryBySlugOptions as fb, type CategoriesQueryResult as fc, type CategoryQuerySpec as fd, type CategorySearchSpec as fe, type ListItemsInCategoryOptionsPagingMethodOneOf as ff, type BulkSetItemCategoriesOptions as fg, utils as fh, type NodeTypeWithLiterals as fi, type BackgroundTypeWithLiterals as fj, type GradientTypeWithLiterals as fk, type WidthTypeWithLiterals as fl, type PluginContainerDataAlignmentWithLiterals as fm, type ButtonDataTypeWithLiterals as fn, type TargetWithLiterals as fo, type TextAlignmentWithLiterals as fp, type LineStyleWithLiterals as fq, type WidthWithLiterals as fr, type DividerDataAlignmentWithLiterals as fs, type ViewModeWithLiterals as ft, type LayoutTypeWithLiterals as fu, type OrientationWithLiterals as fv, type CropWithLiterals as fw, type ThumbnailsAlignmentWithLiterals as fx, type GIFTypeWithLiterals as fy, type SourceWithLiterals as fz, type SearchCategoriesResponse as g, type DesignTargetWithLiterals as g0, type ScalingWithLiterals as g1, type ImagePositionPositionWithLiterals as g2, type CardDataBackgroundTypeWithLiterals as g3, type ListStyleWithLiterals as g4, type IndentationWithLiterals as g5, type SingleEntityOpsRequestedFieldsWithLiterals as g6, type SortOrderWithLiterals as g7, type RequestedFieldsWithLiterals as g8, type SortTypeWithLiterals as g9, moveCategory as gA, bulkUpdateCategories as gB, updateCategoryVisibility as gC, bulkShowCategories as gD, bulkAddItemsToCategory as gE, bulkAddItemToCategories as gF, bulkRemoveItemsFromCategory as gG, bulkRemoveItemFromCategories as gH, listItemsInCategory as gI, listCategoriesForItem as gJ, listCategoriesForItems as gK, listTrees as gL, setArrangedItems as gM, getArrangedItems as gN, type SortDirectionWithLiterals as ga, type MissingValuesWithLiterals as gb, type ScalarTypeWithLiterals as gc, type NestedAggregationTypeWithLiterals as gd, type IntervalWithLiterals as ge, type AggregationTypeWithLiterals as gf, type ModeWithLiterals as gg, type PositionWithLiterals as gh, type MoveItemInCategoryRequestPositionWithLiterals as gi, type WebhookIdentityTypeWithLiterals as gj, type BulkSetItemCategoriesApplicationErrors as gk, type CommonQueryWithEntityContext as gl, type CommonSearchWithEntityContext as gm, onCategoryMoved as gn, onCategoryCreated as go, onCategoryDeleted as gp, onCategoryItemAddedToCategory as gq, onCategoryItemRemovedFromCategory as gr, onCategoryItemsArrangedInCategory as gs, onCategoryUpdated as gt, createCategory as gu, getCategory as gv, updateCategory as gw, deleteCategory as gx, queryCategories as gy, countCategories as gz, type CountCategoriesOptions as h, type CountCategoriesResponse as i, type MoveCategoryResponse as j, type MoveCategoryApplicationErrors as k, type MaskedCategory as l, type BulkUpdateCategoriesResponse as m, type BulkUpdateCategoriesApplicationErrors as n, type UpdateCategoryVisibilityOptions as o, type UpdateCategoryVisibilityResponse as p, type UpdateCategoryVisibilityApplicationErrors as q, type BulkShowCategoriesOptions as r, type BulkShowCategoriesResponse as s, type BulkAddItemsToCategoryOptions as t, type BulkAddItemsToCategoryResponse as u, type BulkAddItemsToCategoryApplicationErrors as v, type BulkAddItemToCategoriesOptions as w, type BulkAddItemToCategoriesResponse as x, type BulkAddItemToCategoriesApplicationErrors as y, type BulkRemoveItemsFromCategoryOptions as z };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { C as Category, a as CreateCategoryOptions, b as CreateCategoryApplicationErrors, c as CreateCategoryValidationErrors, T as TreeReference, G as GetCategoryOptions, U as UpdateCategory, d as UpdateCategoryOptions, e as UpdateCategoryApplicationErrors, D as DeleteCategoryApplicationErrors, f as CategorySearch, S as SearchCategoriesOptions, g as SearchCategoriesResponse, h as CountCategoriesOptions, i as CountCategoriesResponse, M as MoveCategoryOptions, j as MoveCategoryResponse, k as MoveCategoryApplicationErrors, l as MaskedCategory, B as BulkUpdateCategoriesOptions, m as BulkUpdateCategoriesResponse, n as BulkUpdateCategoriesApplicationErrors, o as UpdateCategoryVisibilityOptions, p as UpdateCategoryVisibilityResponse, q as UpdateCategoryVisibilityApplicationErrors, r as BulkShowCategoriesOptions, s as BulkShowCategoriesResponse, I as ItemReference, t as BulkAddItemsToCategoryOptions, u as BulkAddItemsToCategoryResponse, v as BulkAddItemsToCategoryApplicationErrors, w as BulkAddItemToCategoriesOptions, x as BulkAddItemToCategoriesResponse, y as BulkAddItemToCategoriesApplicationErrors, z as BulkRemoveItemsFromCategoryOptions, A as BulkRemoveItemsFromCategoryResponse, E as BulkRemoveItemsFromCategoryApplicationErrors, F as BulkRemoveItemFromCategoriesOptions, H as BulkRemoveItemFromCategoriesResponse, J as BulkRemoveItemFromCategoriesApplicationErrors, L as ListItemsInCategoryOptions, K as ListItemsInCategoryResponse, N as ListCategoriesForItemOptions, O as ListCategoriesForItemResponse, P as ListCategoriesForItemsOptions, Q as ListCategoriesForItemsResponse, R as ListTreesResponse, V as SetArrangedItemsOptions, W as SetArrangedItemsResponse, X as SetArrangedItemsApplicationErrors, Y as GetArrangedItemsResponse, Z as CategoryMovedEnvelope, _ as CategoryCreatedEnvelope, $ as CategoryDeletedEnvelope, a0 as CategoryItemAddedToCategoryEnvelope, a1 as CategoryItemRemovedFromCategoryEnvelope, a2 as CategoryItemsArrangedInCategoryEnvelope, a3 as CategoryUpdatedEnvelope, a4 as CategoryQuery, a5 as QueryCategoriesOptions, a6 as typedQueryCategories, a7 as CategoriesQueryBuilder } from './categories-v1-category-categories.universal-DAp47gfD.js';
3
- export { f5 as AccountInfo, f8 as AccountInfoMetadata, eY as ActionEvent, dH as Aggregation, dU as AggregationData, dI as AggregationKindOneOf, eb as AggregationResults, ec as AggregationResultsResultOneOf, d$ as AggregationResultsScalarResult, b5 as AggregationType, gc as AggregationTypeWithLiterals, aE as Alignment, fL as AlignmentWithLiterals, cj as AnchorData, d6 as App, cq as AppEmbedData, cr as AppEmbedDataAppDataOneOf, aG as AppType, fN as AppTypeWithLiterals, eo as ApplicationError, aA as AspectRatio, fH as AspectRatioWithLiterals, cL as AudioData, cU as Backdrop, aP as BackdropType, fW as BackdropTypeWithLiterals, bq as Background, c8 as BackgroundGradient, c_ as BackgroundImage, a9 as BackgroundType, fg as BackgroundTypeWithLiterals, cS as Banner, f6 as BaseEventMetadata, cO as BlockquoteData, cs as BookingData, bo as Border, cI as BorderColors, cJ as BorderWidths, bb as Breadcrumb, ba as BreadcrumbsInfo, ep as BulkActionMetadata, ey as BulkAddItemToCategoriesRequest, f0 as BulkAddItemsToCategoryForMigrationRequest, f1 as BulkAddItemsToCategoryForMigrationResponse, ev as BulkAddItemsToCategoryRequest, em as BulkCategoriesResult, e_ as BulkCreateCategoriesForMigrationRequest, e$ as BulkCreateCategoriesForMigrationResponse, es as BulkDeleteCategoriesRequest, et as BulkDeleteCategoriesResponse, eu as BulkDeleteCategoriesResponseBulkCategoriesResult, ez as BulkItemToCategoriesResult, ew as BulkItemsToCategoryResult, eB as BulkRemoveItemFromCategoriesRequest, eA as BulkRemoveItemsFromCategoryRequest, gh as BulkSetItemCategoriesApplicationErrors, fd as BulkSetItemCategoriesOptions, eN as BulkSetItemCategoriesRequest, eO as BulkSetItemCategoriesResponse, er as BulkShowCategoriesRequest, el as BulkUpdateCategoriesRequest, cN as BulletedListData, bl as ButtonData, ad as ButtonDataType, fk as ButtonDataTypeWithLiterals, cu as ButtonStyles, cP as CaptionData, cY as CardData, cZ as CardDataBackground, aV as CardDataBackgroundType, g0 as CardDataBackgroundTypeWithLiterals, cx as CardStyles, f9 as CategoriesQueryResult, dd as CategoryMoved, fa as CategoryQuerySpec, fb as CategorySearchSpec, eR as CategoryTreeNode, cH as CellStyle, bA as CodeBlockData, cD as CollapsibleListData, ck as ColorData, bp as Colors, gi as CommonQueryWithEntityContext, gj as CommonSearchWithEntityContext, dD as CompactCategory, ej as CountCategoriesRequest, dj as CreateCategoryRequest, dk as CreateCategoryResponse, am as Crop, ft as CropWithLiterals, dx as CursorPaging, dz as CursorPagingMetadata, du as CursorQuery, dv as CursorQueryPagingMethodOneOf, dF as CursorSearch, dG as CursorSearchPagingMethodOneOf, dA as Cursors, da as CustomTag, dP as DateHistogramAggregation, e7 as DateHistogramResult, e9 as DateHistogramResults, ch as Decoration, ci as DecorationDataOneOf, ax as DecorationType, fE as DecorationTypeWithLiterals, dr as DeleteCategoryRequest, ds as DeleteCategoryResponse, ed as DeprecatedSearchCategoriesWithOffsetRequest, eh as DeprecatedSearchCategoriesWithOffsetResponse, cf as Design, aS as DesignTarget, fZ as DesignTargetWithLiterals, cF as Dimensions, aI as Direction, fP as DirectionWithLiterals, bC as DividerData, ai as DividerDataAlignment, fp as DividerDataAlignmentWithLiterals, d1 as DocumentStyle, eS as DomainEvent, eT as DomainEventBodyOneOf, dl as DuplicateHandleErrorData, cB as EmbedData, eZ as Empty, eU as EntityCreatedEvent, eX as EntityDeletedEvent, eW as EntityUpdatedEvent, ct as EventData, f7 as EventMetadata, d3 as ExtendedFields, d9 as File, bD as FileData, bE as FileSource, bF as FileSourceDataOneOf, cp as FontFamilyData, cn as FontSizeData, ay as FontType, fF as FontTypeWithLiterals, bS as GIF, bR as GIFData, ao as GIFType, fv as GIFTypeWithLiterals, bH as GalleryData, bN as GalleryOptions, bO as GalleryOptionsLayout, eM as GetArrangedItemsRequest, eP as GetCategoriesTreeRequest, eQ as GetCategoriesTreeResponse, dm as GetCategoryRequest, dn as GetCategoryResponse, bm as Gradient, aa as GradientType, fh as GradientTypeWithLiterals, e8 as GroupByValueResults, bU as HTMLData, bV as HTMLDataDataOneOf, bT as HeadingData, bv as Height, f3 as IdentificationData, f4 as IdentificationDataIdOneOf, bJ as Image, bW as ImageData, bY as ImageDataStyles, aM as ImagePosition, aU as ImagePositionPosition, f$ as ImagePositionPositionWithLiterals, fT as ImagePositionWithLiterals, aL as ImageScalingScaling, fS as ImageScalingScalingWithLiterals, cv as ImageStyles, az as ImageStylesPosition, fG as ImageStylesPositionWithLiterals, dK as IncludeMissingValuesOptions, aX as Indentation, g2 as IndentationWithLiterals, aH as InitialExpandedItems, fO as InitialExpandedItemsWithLiterals, b4 as Interval, gb as IntervalWithLiterals, d4 as InvalidateCache, d5 as InvalidateCacheGetByOneOf, bL as Item, de as ItemAddedToCategory, bM as ItemDataOneOf, en as ItemMetadata, ex as ItemReferenceMetadata, dg as ItemRemovedFromCategory, bP as ItemStyle, df as ItemsAddedToCategory, di as ItemsArrangedInCategory, dh as ItemsRemovedFromCategory, be as Keyword, aF as Layout, cV as LayoutCellData, cQ as LayoutData, cT as LayoutDataBackground, cR as LayoutDataBackgroundImage, aO as LayoutDataBackgroundType, fV as LayoutDataBackgroundTypeWithLiterals, ak as LayoutType, fr as LayoutTypeWithLiterals, fM as LayoutWithLiterals, ag as LineStyle, fn as LineStyleWithLiterals, bx as Link, cl as LinkData, by as LinkDataOneOf, bZ as LinkPreviewData, b_ as LinkPreviewDataStyles, eF as ListCategoriesForItemRequest, eG as ListCategoriesForItemsRequest, dB as ListCompactCategoriesByIdsRequest, dC as ListCompactCategoriesByIdsResponse, fc as ListItemsInCategoryOptionsPagingMethodOneOf, eC as ListItemsInCategoryRequest, eD as ListItemsInCategoryRequestPagingMethodOneOf, aW as ListStyle, g1 as ListStyleWithLiterals, eI as ListTreesRequest, cK as ListValue, b$ as MapData, eH as MapItemToCategories, c0 as MapSettings, ar as MapType, fy as MapTypeWithLiterals, bI as Media, cm as MentionData, f2 as MessageEnvelope, d0 as Metadata, b1 as MissingValues, g8 as MissingValuesWithLiterals, b6 as Mode, gd as ModeWithLiterals, ek as MoveCategoryRequest, eJ as MoveItemInCategoryRequest, b8 as MoveItemInCategoryRequestPosition, gf as MoveItemInCategoryRequestPositionWithLiterals, eK as MoveItemInCategoryResponse, dS as NestedAggregation, dQ as NestedAggregationItem, dR as NestedAggregationItemKindOneOf, dX as NestedAggregationResults, dY as NestedAggregationResultsResultOneOf, b3 as NestedAggregationType, ga as NestedAggregationTypeWithLiterals, e4 as NestedResultValue, e5 as NestedResultValueResultOneOf, ea as NestedResults, e0 as NestedValueAggregationResult, bi as Node, bj as NodeDataOneOf, bk as NodeStyle, a8 as NodeType, ff as NodeTypeWithLiterals, aK as NullValue, fR as NullValueWithLiterals, cC as Oembed, ee as OffsetSearch, ef as OffsetSearchPagingMethodOneOf, c4 as Option, cc as OptionDesign, c7 as OptionLayout, cM as OrderedListData, al as Orientation, fs as OrientationWithLiterals, aN as Origin, fU as OriginWithLiterals, bG as PDFSettings, d7 as Page, db as Pages, eg as Paging, ei as PagingMetadata, eE as PagingMetadataV2, c1 as ParagraphData, bc as ParentCategory, c3 as Permissions, aC as Placement, fJ as PlacementWithLiterals, cA as PlaybackOptions, br as PluginContainerData, ac as PluginContainerDataAlignment, fj as PluginContainerDataAlignmentWithLiterals, bs as PluginContainerDataWidth, bt as PluginContainerDataWidthDataOneOf, cd as Poll, c2 as PollData, ce as PollDataLayout, cb as PollDesign, c9 as PollDesignBackground, ca as PollDesignBackgroundBackgroundOneOf, aw as PollDesignBackgroundType, fD as PollDesignBackgroundTypeWithLiterals, c6 as PollLayout, av as PollLayoutDirection, fC as PollLayoutDirectionWithLiterals, au as PollLayoutType, fB as PollLayoutTypeWithLiterals, c5 as PollSettings, b7 as Position, ge as PositionWithLiterals, cy as PricingData, dt as QueryCategoriesRequest, dy as QueryCategoriesResponse, dN as RangeAggregation, dW as RangeAggregationResult, dJ as RangeBucket, e2 as RangeResult, d_ as RangeResults, bz as Rel, a_ as RequestedFields, g5 as RequestedFieldsWithLiterals, aB as Resizing, fI as ResizingWithLiterals, aR as ResponsivenessBehaviour, fY as ResponsivenessBehaviourWithLiterals, eV as RestoreInfo, e6 as Results, cw as RibbonStyles, bh as RichContent, dO as ScalarAggregation, e3 as ScalarResult, b2 as ScalarType, g9 as ScalarTypeWithLiterals, aT as Scaling, f_ as ScalingWithLiterals, dE as SearchCategoriesRequest, dT as SearchDetails, bd as SeoSchema, eL as SetArrangedItemsRequest, bg as Settings, cW as ShapeData, cX as ShapeDataStyles, aY as SingleEntityOpsRequestedFields, g3 as SingleEntityOpsRequestedFieldsWithLiterals, b0 as SortDirection, g7 as SortDirectionWithLiterals, aZ as SortOrder, g4 as SortOrderWithLiterals, a$ as SortType, g6 as SortTypeWithLiterals, dw as Sorting, ap as Source, fw as SourceWithLiterals, bu as Spoiler, co as SpoilerData, bn as Stop, bw as Styles, bX as StylesBorder, aq as StylesPosition, fx as StylesPositionWithLiterals, cG as TableCellData, cE as TableData, bf as Tag, ae as Target, fl as TargetWithLiterals, af as TextAlignment, fm as TextAlignmentWithLiterals, cg as TextData, d2 as TextNodeStyle, bB as TextStyle, bQ as Thumbnails, an as ThumbnailsAlignment, fu as ThumbnailsAlignmentWithLiterals, c$ as TocData, aD as Type, fK as TypeWithLiterals, d8 as URI, dc as URIs, dp as UpdateCategoryRequest, dq as UpdateCategoryResponse, eq as UpdateCategoryVisibilityRequest, dL as ValueAggregation, dM as ValueAggregationOptionsOneOf, dV as ValueAggregationResult, e1 as ValueResult, dZ as ValueResults, aJ as VerticalAlignment, aQ as VerticalAlignmentAlignment, fX as VerticalAlignmentAlignmentWithLiterals, fQ as VerticalAlignmentWithLiterals, bK as Video, cz as VideoData, aj as ViewMode, fq as ViewModeWithLiterals, as as ViewRole, fz as ViewRoleWithLiterals, at as VoteRole, fA as VoteRoleWithLiterals, b9 as WebhookIdentityType, gg as WebhookIdentityTypeWithLiterals, ah as Width, ab as WidthType, fi as WidthTypeWithLiterals, fo as WidthWithLiterals, fe as utils } from './categories-v1-category-categories.universal-DAp47gfD.js';
2
+ import { C as Category, a as CreateCategoryOptions, b as CreateCategoryApplicationErrors, c as CreateCategoryValidationErrors, T as TreeReference, G as GetCategoryOptions, U as UpdateCategory, d as UpdateCategoryOptions, e as UpdateCategoryApplicationErrors, D as DeleteCategoryApplicationErrors, f as CategorySearch, S as SearchCategoriesOptions, g as SearchCategoriesResponse, h as CountCategoriesOptions, i as CountCategoriesResponse, M as MoveCategoryOptions, j as MoveCategoryResponse, k as MoveCategoryApplicationErrors, l as MaskedCategory, B as BulkUpdateCategoriesOptions, m as BulkUpdateCategoriesResponse, n as BulkUpdateCategoriesApplicationErrors, o as UpdateCategoryVisibilityOptions, p as UpdateCategoryVisibilityResponse, q as UpdateCategoryVisibilityApplicationErrors, r as BulkShowCategoriesOptions, s as BulkShowCategoriesResponse, I as ItemReference, t as BulkAddItemsToCategoryOptions, u as BulkAddItemsToCategoryResponse, v as BulkAddItemsToCategoryApplicationErrors, w as BulkAddItemToCategoriesOptions, x as BulkAddItemToCategoriesResponse, y as BulkAddItemToCategoriesApplicationErrors, z as BulkRemoveItemsFromCategoryOptions, A as BulkRemoveItemsFromCategoryResponse, E as BulkRemoveItemsFromCategoryApplicationErrors, F as BulkRemoveItemFromCategoriesOptions, H as BulkRemoveItemFromCategoriesResponse, J as BulkRemoveItemFromCategoriesApplicationErrors, L as ListItemsInCategoryOptions, K as ListItemsInCategoryResponse, N as ListCategoriesForItemOptions, O as ListCategoriesForItemResponse, P as ListCategoriesForItemsOptions, Q as ListCategoriesForItemsResponse, R as ListTreesResponse, V as SetArrangedItemsOptions, W as SetArrangedItemsResponse, X as SetArrangedItemsApplicationErrors, Y as GetArrangedItemsResponse, Z as CategoryMovedEnvelope, _ as CategoryCreatedEnvelope, $ as CategoryDeletedEnvelope, a0 as CategoryItemAddedToCategoryEnvelope, a1 as CategoryItemRemovedFromCategoryEnvelope, a2 as CategoryItemsArrangedInCategoryEnvelope, a3 as CategoryUpdatedEnvelope, a4 as CategoryQuery, a5 as QueryCategoriesOptions, a6 as typedQueryCategories, a7 as CategoriesQueryBuilder } from './categories-v1-category-categories.universal-CVjL1ZhJ.js';
3
+ export { f7 as AccountInfo, fa as AccountInfoMetadata, e_ as ActionEvent, dJ as Aggregation, dW as AggregationData, dK as AggregationKindOneOf, ed as AggregationResults, ee as AggregationResultsResultOneOf, e1 as AggregationResultsScalarResult, b5 as AggregationType, gf as AggregationTypeWithLiterals, aE as Alignment, fO as AlignmentWithLiterals, cj as AnchorData, d6 as App, cq as AppEmbedData, cr as AppEmbedDataAppDataOneOf, aG as AppType, fQ as AppTypeWithLiterals, eq as ApplicationError, aA as AspectRatio, fK as AspectRatioWithLiterals, cL as AudioData, cU as Backdrop, aP as BackdropType, fZ as BackdropTypeWithLiterals, bq as Background, c8 as BackgroundGradient, c_ as BackgroundImage, a9 as BackgroundType, fj as BackgroundTypeWithLiterals, cS as Banner, f8 as BaseEventMetadata, cO as BlockquoteData, cs as BookingData, bo as Border, cI as BorderColors, cJ as BorderWidths, bb as Breadcrumb, ba as BreadcrumbsInfo, er as BulkActionMetadata, eA as BulkAddItemToCategoriesRequest, f2 as BulkAddItemsToCategoryForMigrationRequest, f3 as BulkAddItemsToCategoryForMigrationResponse, ex as BulkAddItemsToCategoryRequest, eo as BulkCategoriesResult, f0 as BulkCreateCategoriesForMigrationRequest, f1 as BulkCreateCategoriesForMigrationResponse, eu as BulkDeleteCategoriesRequest, ev as BulkDeleteCategoriesResponse, ew as BulkDeleteCategoriesResponseBulkCategoriesResult, eB as BulkItemToCategoriesResult, ey as BulkItemsToCategoryResult, eD as BulkRemoveItemFromCategoriesRequest, eC as BulkRemoveItemsFromCategoryRequest, gk as BulkSetItemCategoriesApplicationErrors, fg as BulkSetItemCategoriesOptions, eP as BulkSetItemCategoriesRequest, eQ as BulkSetItemCategoriesResponse, et as BulkShowCategoriesRequest, en as BulkUpdateCategoriesRequest, cN as BulletedListData, bl as ButtonData, ad as ButtonDataType, fn as ButtonDataTypeWithLiterals, cu as ButtonStyles, cP as CaptionData, cY as CardData, cZ as CardDataBackground, aV as CardDataBackgroundType, g3 as CardDataBackgroundTypeWithLiterals, cx as CardStyles, fc as CategoriesQueryResult, dd as CategoryMoved, fd as CategoryQuerySpec, fe as CategorySearchSpec, eT as CategoryTreeNode, cH as CellStyle, bA as CodeBlockData, cD as CollapsibleListData, ck as ColorData, bp as Colors, gl as CommonQueryWithEntityContext, gm as CommonSearchWithEntityContext, dF as CompactCategory, el as CountCategoriesRequest, dj as CreateCategoryRequest, dk as CreateCategoryResponse, am as Crop, fw as CropWithLiterals, dz as CursorPaging, dB as CursorPagingMetadata, dw as CursorQuery, dx as CursorQueryPagingMethodOneOf, dH as CursorSearch, dI as CursorSearchPagingMethodOneOf, dC as Cursors, da as CustomTag, dR as DateHistogramAggregation, e9 as DateHistogramResult, eb as DateHistogramResults, ch as Decoration, ci as DecorationDataOneOf, ax as DecorationType, fH as DecorationTypeWithLiterals, dt as DeleteCategoryRequest, du as DeleteCategoryResponse, ef as DeprecatedSearchCategoriesWithOffsetRequest, ej as DeprecatedSearchCategoriesWithOffsetResponse, cf as Design, aS as DesignTarget, g0 as DesignTargetWithLiterals, cF as Dimensions, aI as Direction, fS as DirectionWithLiterals, bC as DividerData, ai as DividerDataAlignment, fs as DividerDataAlignmentWithLiterals, d1 as DocumentStyle, eU as DomainEvent, eV as DomainEventBodyOneOf, dl as DuplicateHandleErrorData, cB as EmbedData, e$ as Empty, eW as EntityCreatedEvent, eZ as EntityDeletedEvent, eY as EntityUpdatedEvent, ct as EventData, f9 as EventMetadata, d3 as ExtendedFields, d9 as File, bD as FileData, bE as FileSource, bF as FileSourceDataOneOf, cp as FontFamilyData, cn as FontSizeData, ay as FontType, fI as FontTypeWithLiterals, bS as GIF, bR as GIFData, ao as GIFType, fy as GIFTypeWithLiterals, bH as GalleryData, bN as GalleryOptions, bO as GalleryOptionsLayout, eO as GetArrangedItemsRequest, eR as GetCategoriesTreeRequest, eS as GetCategoriesTreeResponse, fb as GetCategoryBySlugOptions, dp as GetCategoryBySlugRequest, dq as GetCategoryBySlugResponse, dm as GetCategoryRequest, dn as GetCategoryResponse, bm as Gradient, aa as GradientType, fk as GradientTypeWithLiterals, ea as GroupByValueResults, bU as HTMLData, bV as HTMLDataDataOneOf, bT as HeadingData, bv as Height, f5 as IdentificationData, f6 as IdentificationDataIdOneOf, bJ as Image, bW as ImageData, bY as ImageDataStyles, aM as ImagePosition, aU as ImagePositionPosition, g2 as ImagePositionPositionWithLiterals, fW as ImagePositionWithLiterals, aL as ImageScalingScaling, fV as ImageScalingScalingWithLiterals, cv as ImageStyles, az as ImageStylesPosition, fJ as ImageStylesPositionWithLiterals, dM as IncludeMissingValuesOptions, aX as Indentation, g5 as IndentationWithLiterals, aH as InitialExpandedItems, fR as InitialExpandedItemsWithLiterals, b4 as Interval, ge as IntervalWithLiterals, d4 as InvalidateCache, d5 as InvalidateCacheGetByOneOf, bL as Item, de as ItemAddedToCategory, bM as ItemDataOneOf, ep as ItemMetadata, ez as ItemReferenceMetadata, dg as ItemRemovedFromCategory, bP as ItemStyle, df as ItemsAddedToCategory, di as ItemsArrangedInCategory, dh as ItemsRemovedFromCategory, be as Keyword, aF as Layout, cV as LayoutCellData, cQ as LayoutData, cT as LayoutDataBackground, cR as LayoutDataBackgroundImage, aO as LayoutDataBackgroundType, fY as LayoutDataBackgroundTypeWithLiterals, ak as LayoutType, fu as LayoutTypeWithLiterals, fP as LayoutWithLiterals, ag as LineStyle, fq as LineStyleWithLiterals, bx as Link, cl as LinkData, by as LinkDataOneOf, bZ as LinkPreviewData, b_ as LinkPreviewDataStyles, eH as ListCategoriesForItemRequest, eI as ListCategoriesForItemsRequest, dD as ListCompactCategoriesByIdsRequest, dE as ListCompactCategoriesByIdsResponse, ff as ListItemsInCategoryOptionsPagingMethodOneOf, eE as ListItemsInCategoryRequest, eF as ListItemsInCategoryRequestPagingMethodOneOf, aW as ListStyle, g4 as ListStyleWithLiterals, eK as ListTreesRequest, cK as ListValue, b$ as MapData, eJ as MapItemToCategories, c0 as MapSettings, ar as MapType, fB as MapTypeWithLiterals, bI as Media, cm as MentionData, f4 as MessageEnvelope, d0 as Metadata, b1 as MissingValues, gb as MissingValuesWithLiterals, b6 as Mode, gg as ModeWithLiterals, em as MoveCategoryRequest, eL as MoveItemInCategoryRequest, b8 as MoveItemInCategoryRequestPosition, gi as MoveItemInCategoryRequestPositionWithLiterals, eM as MoveItemInCategoryResponse, dU as NestedAggregation, dS as NestedAggregationItem, dT as NestedAggregationItemKindOneOf, dZ as NestedAggregationResults, d_ as NestedAggregationResultsResultOneOf, b3 as NestedAggregationType, gd as NestedAggregationTypeWithLiterals, e6 as NestedResultValue, e7 as NestedResultValueResultOneOf, ec as NestedResults, e2 as NestedValueAggregationResult, bi as Node, bj as NodeDataOneOf, bk as NodeStyle, a8 as NodeType, fi as NodeTypeWithLiterals, aK as NullValue, fU as NullValueWithLiterals, cC as Oembed, eg as OffsetSearch, eh as OffsetSearchPagingMethodOneOf, c4 as Option, cc as OptionDesign, c7 as OptionLayout, cM as OrderedListData, al as Orientation, fv as OrientationWithLiterals, aN as Origin, fX as OriginWithLiterals, bG as PDFSettings, d7 as Page, db as Pages, ei as Paging, ek as PagingMetadata, eG as PagingMetadataV2, c1 as ParagraphData, bc as ParentCategory, c3 as Permissions, aC as Placement, fM as PlacementWithLiterals, cA as PlaybackOptions, br as PluginContainerData, ac as PluginContainerDataAlignment, fm as PluginContainerDataAlignmentWithLiterals, bs as PluginContainerDataWidth, bt as PluginContainerDataWidthDataOneOf, cd as Poll, c2 as PollData, ce as PollDataLayout, cb as PollDesign, c9 as PollDesignBackground, ca as PollDesignBackgroundBackgroundOneOf, aw as PollDesignBackgroundType, fG as PollDesignBackgroundTypeWithLiterals, c6 as PollLayout, av as PollLayoutDirection, fF as PollLayoutDirectionWithLiterals, au as PollLayoutType, fE as PollLayoutTypeWithLiterals, c5 as PollSettings, b7 as Position, gh as PositionWithLiterals, cy as PricingData, dv as QueryCategoriesRequest, dA as QueryCategoriesResponse, dP as RangeAggregation, dY as RangeAggregationResult, dL as RangeBucket, e4 as RangeResult, e0 as RangeResults, bz as Rel, a_ as RequestedFields, g8 as RequestedFieldsWithLiterals, aB as Resizing, fL as ResizingWithLiterals, aR as ResponsivenessBehaviour, f$ as ResponsivenessBehaviourWithLiterals, eX as RestoreInfo, e8 as Results, cw as RibbonStyles, bh as RichContent, dQ as ScalarAggregation, e5 as ScalarResult, b2 as ScalarType, gc as ScalarTypeWithLiterals, aT as Scaling, g1 as ScalingWithLiterals, dG as SearchCategoriesRequest, dV as SearchDetails, bd as SeoSchema, eN as SetArrangedItemsRequest, bg as Settings, cW as ShapeData, cX as ShapeDataStyles, aY as SingleEntityOpsRequestedFields, g6 as SingleEntityOpsRequestedFieldsWithLiterals, b0 as SortDirection, ga as SortDirectionWithLiterals, aZ as SortOrder, g7 as SortOrderWithLiterals, a$ as SortType, g9 as SortTypeWithLiterals, dy as Sorting, ap as Source, fz as SourceWithLiterals, bu as Spoiler, co as SpoilerData, bn as Stop, bw as Styles, bX as StylesBorder, aq as StylesPosition, fA as StylesPositionWithLiterals, cG as TableCellData, cE as TableData, bf as Tag, ae as Target, fo as TargetWithLiterals, af as TextAlignment, fp as TextAlignmentWithLiterals, cg as TextData, d2 as TextNodeStyle, bB as TextStyle, bQ as Thumbnails, an as ThumbnailsAlignment, fx as ThumbnailsAlignmentWithLiterals, c$ as TocData, aD as Type, fN as TypeWithLiterals, d8 as URI, dc as URIs, dr as UpdateCategoryRequest, ds as UpdateCategoryResponse, es as UpdateCategoryVisibilityRequest, dN as ValueAggregation, dO as ValueAggregationOptionsOneOf, dX as ValueAggregationResult, e3 as ValueResult, d$ as ValueResults, aJ as VerticalAlignment, aQ as VerticalAlignmentAlignment, f_ as VerticalAlignmentAlignmentWithLiterals, fT as VerticalAlignmentWithLiterals, bK as Video, cz as VideoData, aj as ViewMode, ft as ViewModeWithLiterals, as as ViewRole, fC as ViewRoleWithLiterals, at as VoteRole, fD as VoteRoleWithLiterals, b9 as WebhookIdentityType, gj as WebhookIdentityTypeWithLiterals, ah as Width, ab as WidthType, fl as WidthTypeWithLiterals, fr as WidthWithLiterals, fh as utils } from './categories-v1-category-categories.universal-CVjL1ZhJ.js';
4
4
 
5
5
  declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
6
6
  interface CreateCategorySignature {
@@ -98,6 +98,7 @@ __export(index_exports, {
98
98
  deleteCategory: () => deleteCategory4,
99
99
  getArrangedItems: () => getArrangedItems4,
100
100
  getCategory: () => getCategory4,
101
+ getCategoryBySlug: () => getCategoryBySlug4,
101
102
  listCategoriesForItem: () => listCategoriesForItem4,
102
103
  listCategoriesForItems: () => listCategoriesForItems4,
103
104
  listItemsInCategory: () => listItemsInCategory4,
@@ -618,6 +619,156 @@ function getCategory(payload) {
618
619
  }
619
620
  return __getCategory;
620
621
  }
622
+ function getCategoryBySlug(payload) {
623
+ function __getCategoryBySlug({ host }) {
624
+ const metadata = {
625
+ entityFqdn: "wix.categories.v1.category",
626
+ method: "GET",
627
+ methodFqn: "com.wix.categories.api.v1.CategoriesService.GetCategoryBySlug",
628
+ packageName: PACKAGE_NAME,
629
+ migrationOptions: {
630
+ optInTransformResponse: true
631
+ },
632
+ url: resolveComWixCategoriesApiV1CategoriesServiceUrl({
633
+ protoPath: "/v1/categories/slug/{slug}",
634
+ data: payload,
635
+ host
636
+ }),
637
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
638
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
639
+ {
640
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
641
+ paths: [
642
+ { path: "category.createdDate" },
643
+ { path: "category.updatedDate" },
644
+ { path: "category.image.urlExpirationDate" },
645
+ {
646
+ path: "category.richContentDescription.metadata.createdTimestamp"
647
+ },
648
+ {
649
+ path: "category.richContentDescription.metadata.updatedTimestamp"
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
655
+ paths: [
656
+ {
657
+ path: "category.richContentDescription.nodes.buttonData.styles.background.gradient.centerX"
658
+ },
659
+ {
660
+ path: "category.richContentDescription.nodes.buttonData.styles.background.gradient.centerY"
661
+ },
662
+ {
663
+ path: "category.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position"
664
+ },
665
+ {
666
+ path: "category.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX"
667
+ },
668
+ {
669
+ path: "category.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY"
670
+ },
671
+ {
672
+ path: "category.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
673
+ },
674
+ {
675
+ path: "category.richContentDescription.nodes.galleryData.items.image.media.duration"
676
+ },
677
+ {
678
+ path: "category.richContentDescription.nodes.galleryData.items.video.media.duration"
679
+ },
680
+ {
681
+ path: "category.richContentDescription.nodes.galleryData.items.video.thumbnail.duration"
682
+ },
683
+ {
684
+ path: "category.richContentDescription.nodes.galleryData.options.item.ratio"
685
+ },
686
+ {
687
+ path: "category.richContentDescription.nodes.imageData.image.duration"
688
+ },
689
+ {
690
+ path: "category.richContentDescription.nodes.mapData.mapSettings.lat"
691
+ },
692
+ {
693
+ path: "category.richContentDescription.nodes.mapData.mapSettings.lng"
694
+ },
695
+ {
696
+ path: "category.richContentDescription.nodes.pollData.poll.image.duration"
697
+ },
698
+ {
699
+ path: "category.richContentDescription.nodes.pollData.poll.options.image.duration"
700
+ },
701
+ {
702
+ path: "category.richContentDescription.nodes.pollData.design.poll.background.image.duration"
703
+ },
704
+ {
705
+ path: "category.richContentDescription.nodes.appEmbedData.image.duration"
706
+ },
707
+ {
708
+ path: "category.richContentDescription.nodes.videoData.video.duration"
709
+ },
710
+ {
711
+ path: "category.richContentDescription.nodes.videoData.thumbnail.duration"
712
+ },
713
+ {
714
+ path: "category.richContentDescription.nodes.audioData.audio.duration"
715
+ },
716
+ {
717
+ path: "category.richContentDescription.nodes.audioData.coverImage.duration"
718
+ },
719
+ {
720
+ path: "category.richContentDescription.nodes.layoutData.backgroundImage.media.duration"
721
+ },
722
+ {
723
+ path: "category.richContentDescription.nodes.layoutData.backdropImage.media.duration"
724
+ },
725
+ {
726
+ path: "category.richContentDescription.nodes.layoutData.background.gradient.centerX"
727
+ },
728
+ {
729
+ path: "category.richContentDescription.nodes.layoutData.background.gradient.centerY"
730
+ },
731
+ {
732
+ path: "category.richContentDescription.nodes.layoutData.background.gradient.stops.position"
733
+ },
734
+ {
735
+ path: "category.richContentDescription.nodes.layoutData.backdrop.gradient.centerX"
736
+ },
737
+ {
738
+ path: "category.richContentDescription.nodes.layoutData.backdrop.gradient.centerY"
739
+ },
740
+ {
741
+ path: "category.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position"
742
+ },
743
+ {
744
+ path: "category.richContentDescription.nodes.shapeData.shape.duration"
745
+ },
746
+ {
747
+ path: "category.richContentDescription.nodes.cardData.background.gradient.centerX"
748
+ },
749
+ {
750
+ path: "category.richContentDescription.nodes.cardData.background.gradient.centerY"
751
+ },
752
+ {
753
+ path: "category.richContentDescription.nodes.cardData.background.gradient.stops.position"
754
+ },
755
+ {
756
+ path: "category.richContentDescription.nodes.cardData.backgroundImage.media.duration"
757
+ },
758
+ {
759
+ path: "category.richContentDescription.nodes.tocData.fontSize"
760
+ },
761
+ {
762
+ path: "category.richContentDescription.nodes.tocData.itemSpacing"
763
+ }
764
+ ]
765
+ }
766
+ ])
767
+ };
768
+ return metadata;
769
+ }
770
+ return __getCategoryBySlug;
771
+ }
621
772
  function updateCategory(payload) {
622
773
  function __updateCategory({ host }) {
623
774
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -2689,6 +2840,44 @@ async function getCategory2(categoryId, treeReference, options) {
2689
2840
  throw transformedError;
2690
2841
  }
2691
2842
  }
2843
+ async function getCategoryBySlug2(slug, treeReference, options) {
2844
+ const { httpClient, sideEffects } = arguments[3];
2845
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
2846
+ { slug, treeReference, fields: options?.fields },
2847
+ []
2848
+ );
2849
+ const reqOpts = getCategoryBySlug(payload);
2850
+ sideEffects?.onSiteCall?.();
2851
+ try {
2852
+ const result = await httpClient.request(reqOpts);
2853
+ sideEffects?.onSuccess?.(result);
2854
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
2855
+ (0, import_transform_paths2.transformPaths)(result.data, [
2856
+ {
2857
+ transformFn: import_image2.transformRESTImageToSDKImage,
2858
+ paths: [{ path: "category.image" }]
2859
+ }
2860
+ ]),
2861
+ ["category.richContentDescription"]
2862
+ );
2863
+ } catch (err) {
2864
+ const transformedError = (0, import_transform_error.transformError)(
2865
+ err,
2866
+ {
2867
+ spreadPathsToArguments: {},
2868
+ explicitPathsToArguments: {
2869
+ slug: "$[0]",
2870
+ treeReference: "$[1]",
2871
+ fields: "$[2].fields"
2872
+ },
2873
+ singleArgumentUnchanged: false
2874
+ },
2875
+ ["slug", "treeReference", "options"]
2876
+ );
2877
+ sideEffects?.onError?.(err);
2878
+ throw transformedError;
2879
+ }
2880
+ }
2692
2881
  async function updateCategory2(_id, category, options) {
2693
2882
  const { httpClient, sideEffects } = arguments[3];
2694
2883
  const payload = (0, import_transform_paths2.transformPaths)(
@@ -3487,6 +3676,15 @@ function getCategory3(httpClient) {
3487
3676
  { httpClient }
3488
3677
  );
3489
3678
  }
3679
+ function getCategoryBySlug3(httpClient) {
3680
+ return (slug, treeReference, options) => getCategoryBySlug2(
3681
+ slug,
3682
+ treeReference,
3683
+ options,
3684
+ // @ts-ignore
3685
+ { httpClient }
3686
+ );
3687
+ }
3490
3688
  function updateCategory3(httpClient) {
3491
3689
  return (_id, category, options) => updateCategory2(
3492
3690
  _id,
@@ -4238,6 +4436,7 @@ function customQueryCategories(httpClient) {
4238
4436
  }
4239
4437
  var createCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createCategory3);
4240
4438
  var getCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getCategory3);
4439
+ var getCategoryBySlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getCategoryBySlug3);
4241
4440
  var updateCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateCategory3);
4242
4441
  var deleteCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteCategory3);
4243
4442
  var searchCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchCategories3);
@@ -4351,6 +4550,7 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
4351
4550
  deleteCategory,
4352
4551
  getArrangedItems,
4353
4552
  getCategory,
4553
+ getCategoryBySlug,
4354
4554
  listCategoriesForItem,
4355
4555
  listCategoriesForItems,
4356
4556
  listItemsInCategory,