@wix/auto_sdk_categories_categories 1.0.64 → 1.0.65

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 (41) hide show
  1. package/build/cjs/{categories-v1-category-categories.universal-D3bNXid_.d.ts → categories-v1-category-categories.universal-CXnlcgkq.d.ts} +30 -1
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +63 -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 +54 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +17 -2
  9. package/build/cjs/meta.js +38 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{categories-v1-category-categories.universal-D3bNXid_.d.mts → categories-v1-category-categories.universal-CXnlcgkq.d.mts} +30 -1
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +62 -0
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +53 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +17 -2
  19. package/build/es/meta.mjs +37 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{categories-v1-category-categories.universal-D3bNXid_.d.ts → categories-v1-category-categories.universal-EEVOXDre.d.ts} +49 -1
  22. package/build/internal/cjs/index.d.ts +17 -3
  23. package/build/internal/cjs/index.js +63 -0
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +54 -0
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +17 -2
  29. package/build/internal/cjs/meta.js +38 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{categories-v1-category-categories.universal-D3bNXid_.d.mts → categories-v1-category-categories.universal-EEVOXDre.d.mts} +49 -1
  32. package/build/internal/es/index.d.mts +17 -3
  33. package/build/internal/es/index.mjs +62 -0
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +53 -0
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +17 -2
  39. package/build/internal/es/meta.mjs +37 -0
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -3538,6 +3538,20 @@ interface GetArrangedItemsResponse {
3538
3538
  */
3539
3539
  items?: ItemReference[];
3540
3540
  }
3541
+ interface SetItemCategoriesRequest {
3542
+ /** The item to update. */
3543
+ item: ItemReference;
3544
+ /**
3545
+ * List of category IDs to set for the item.
3546
+ * @format GUID
3547
+ * @maxSize 1000
3548
+ */
3549
+ categoryIds: string[];
3550
+ /** Category tree reference details. */
3551
+ treeReference: TreeReference;
3552
+ }
3553
+ interface SetItemCategoriesResponse {
3554
+ }
3541
3555
  interface GetCategoriesTreeRequest {
3542
3556
  /** Category tree reference details. */
3543
3557
  treeReference?: TreeReference;
@@ -3791,6 +3805,11 @@ type SetArrangedItemsApplicationErrors = {
3791
3805
  description?: string;
3792
3806
  data?: Record<string, any>;
3793
3807
  };
3808
+ type SetItemCategoriesApplicationErrors = {
3809
+ code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
3810
+ description?: string;
3811
+ data?: Record<string, any>;
3812
+ };
3794
3813
  interface BaseEventMetadata {
3795
3814
  /**
3796
3815
  * App instance ID.
@@ -4932,5 +4951,15 @@ interface SetArrangedItemsOptions {
4932
4951
  * @fqn com.wix.categories.api.v1.CategoriesService.GetArrangedItems
4933
4952
  */
4934
4953
  declare function getArrangedItems(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`, 2>): Promise<NonNullablePaths<GetArrangedItemsResponse, `items` | `items.${number}.catalogItemId` | `items.${number}.appId`, 4>>;
4954
+ interface SetItemCategoriesOptions {
4955
+ /**
4956
+ * List of category IDs to set for the item.
4957
+ * @format GUID
4958
+ * @maxSize 1000
4959
+ */
4960
+ categoryIds: string[];
4961
+ /** Category tree reference details. */
4962
+ treeReference: TreeReference;
4963
+ }
4935
4964
 
4936
- export { type CategoryCreatedEnvelope 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 QueryCategoriesOptions as Q, type ListCategoriesForItemsResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type ListTreesResponse as V, type SetArrangedItemsOptions as W, type SetArrangedItemsResponse as X, type SetArrangedItemsApplicationErrors as Y, type GetArrangedItemsResponse as Z, type CategoryMovedEnvelope as _, type CreateCategoryOptions as a, type RichContent as a$, type CategoryDeletedEnvelope as a0, type CategoryItemAddedToCategoryEnvelope as a1, type CategoryItemRemovedFromCategoryEnvelope as a2, type CategoryItemsArrangedInCategoryEnvelope as a3, type CategoryUpdatedEnvelope as a4, NodeType as a5, WidthType as a6, PluginContainerDataAlignment as a7, ButtonDataType as a8, Target as a9, Layout as aA, AppType as aB, InitialExpandedItems as aC, Direction as aD, VerticalAlignment as aE, NullValue as aF, SingleEntityOpsRequestedFields as aG, SortOrder as aH, RequestedFields as aI, SortType as aJ, SortDirection as aK, MissingValues as aL, ScalarType as aM, NestedAggregationType as aN, Interval as aO, AggregationType as aP, Mode as aQ, Position as aR, MoveItemInCategoryRequestPosition as aS, WebhookIdentityType as aT, type BreadcrumbsInfo as aU, type Breadcrumb as aV, type ParentCategory as aW, type SeoSchema as aX, type Keyword as aY, type Tag as aZ, type Settings as a_, TextAlignment as aa, LineStyle as ab, Width as ac, DividerDataAlignment as ad, ViewMode as ae, LayoutType as af, Orientation as ag, Crop as ah, ThumbnailsAlignment as ai, GIFType as aj, Source as ak, StylesPosition as al, MapType as am, ViewRole as an, VoteRole as ao, PollLayoutType as ap, PollLayoutDirection as aq, BackgroundType as ar, DecorationType as as, FontType as at, ImageStylesPosition as au, AspectRatio as av, Resizing as aw, Placement as ax, Type as ay, Alignment as az, type CreateCategoryApplicationErrors as b, type ColorData as b$, type Node as b0, type NodeDataOneOf as b1, type NodeStyle as b2, type ButtonData as b3, type Border as b4, type Colors as b5, type PluginContainerData as b6, type PluginContainerDataWidth as b7, type PluginContainerDataWidthDataOneOf as b8, type Spoiler as b9, type HTMLDataDataOneOf as bA, type ImageData as bB, type StylesBorder as bC, type ImageDataStyles as bD, type LinkPreviewData as bE, type LinkPreviewDataStyles as bF, type MapData as bG, type MapSettings as bH, type ParagraphData as bI, type PollData as bJ, type Permissions as bK, type Option as bL, type PollSettings as bM, type PollLayout as bN, type OptionLayout as bO, type Gradient as bP, type Background as bQ, type BackgroundBackgroundOneOf as bR, type PollDesign as bS, type OptionDesign as bT, type Poll as bU, type PollDataLayout as bV, type Design as bW, type TextData as bX, type Decoration as bY, type DecorationDataOneOf as bZ, type AnchorData as b_, type Height as ba, type Styles as bb, type Link as bc, type LinkDataOneOf as bd, type Rel as be, type CodeBlockData as bf, type TextStyle as bg, type DividerData as bh, type FileData as bi, type FileSource as bj, type FileSourceDataOneOf as bk, type PDFSettings as bl, type GalleryData as bm, type Media as bn, type Image as bo, type Video as bp, type Item as bq, type ItemDataOneOf as br, type GalleryOptions as bs, type GalleryOptionsLayout as bt, type ItemStyle as bu, type Thumbnails as bv, type GIFData as bw, type GIF as bx, type HeadingData as by, type HTMLData as bz, type UpdateCategoryOptions as c, type ListCompactCategoriesByIdsRequest as c$, type LinkData as c0, type MentionData as c1, type FontSizeData as c2, type SpoilerData as c3, type AppEmbedData as c4, type AppEmbedDataAppDataOneOf as c5, type BookingData as c6, type EventData as c7, type ButtonStyles as c8, type ImageStyles as c9, type App as cA, type Page as cB, type URI as cC, type File as cD, type CustomTag as cE, type CategoryMoved as cF, type ItemAddedToCategory as cG, type ItemsAddedToCategory as cH, type ItemRemovedFromCategory as cI, type ItemsRemovedFromCategory as cJ, type ItemsArrangedInCategory as cK, type CreateCategoryRequest as cL, type CreateCategoryResponse as cM, type GetCategoryRequest as cN, type GetCategoryResponse as cO, type UpdateCategoryRequest as cP, type UpdateCategoryResponse as cQ, type DeleteCategoryRequest as cR, type DeleteCategoryResponse as cS, type QueryCategoriesRequest as cT, type CursorQuery as cU, type CursorQueryPagingMethodOneOf as cV, type Sorting as cW, type CursorPaging as cX, type QueryCategoriesResponse as cY, type CursorPagingMetadata as cZ, type Cursors as c_, type RibbonStyles as ca, type CardStyles as cb, type PricingData as cc, type VideoData as cd, type PlaybackOptions as ce, type EmbedData as cf, type Oembed as cg, type CollapsibleListData as ch, type TableData as ci, type Dimensions as cj, type TableCellData as ck, type CellStyle as cl, type BorderColors as cm, type ListValue as cn, type AudioData as co, type OrderedListData as cp, type BulletedListData as cq, type BlockquoteData as cr, type CaptionData as cs, type LayoutCellData as ct, type Metadata as cu, type DocumentStyle as cv, type TextNodeStyle as cw, type ExtendedFields as cx, type InvalidateCache as cy, type InvalidateCacheGetByOneOf as cz, type UpdateCategoryApplicationErrors as d, type BulkRemoveItemsFromCategoryRequest as d$, type ListCompactCategoriesByIdsResponse as d0, type CompactCategory as d1, type SearchCategoriesRequest as d2, type CursorSearch as d3, type CursorSearchPagingMethodOneOf as d4, type Aggregation as d5, type AggregationKindOneOf as d6, type RangeBucket as d7, type IncludeMissingValuesOptions as d8, type ValueAggregation as d9, type DateHistogramResults as dA, type NestedResults as dB, type AggregationResults as dC, type AggregationResultsResultOneOf as dD, type DeprecatedSearchCategoriesWithOffsetRequest as dE, type OffsetSearch as dF, type OffsetSearchPagingMethodOneOf as dG, type Paging as dH, type DeprecatedSearchCategoriesWithOffsetResponse as dI, type PagingMetadata as dJ, type CountCategoriesRequest as dK, type MoveCategoryRequest as dL, type BulkUpdateCategoriesRequest as dM, type BulkCategoriesResult as dN, type ItemMetadata as dO, type ApplicationError as dP, type BulkActionMetadata as dQ, type UpdateCategoryVisibilityRequest as dR, type BulkShowCategoriesRequest as dS, type BulkDeleteCategoriesRequest as dT, type BulkDeleteCategoriesResponse as dU, type BulkDeleteCategoriesResponseBulkCategoriesResult as dV, type BulkAddItemsToCategoryRequest as dW, type BulkItemsToCategoryResult as dX, type ItemReferenceMetadata as dY, type BulkAddItemToCategoriesRequest as dZ, type BulkItemToCategoriesResult as d_, type ValueAggregationOptionsOneOf as da, type RangeAggregation as db, type ScalarAggregation as dc, type DateHistogramAggregation as dd, type NestedAggregationItem as de, type NestedAggregationItemKindOneOf as df, type NestedAggregation as dg, type SearchDetails as dh, type AggregationData as di, type ValueAggregationResult as dj, type RangeAggregationResult as dk, type NestedAggregationResults as dl, type NestedAggregationResultsResultOneOf as dm, type ValueResults as dn, type RangeResults as dp, type AggregationResultsScalarResult as dq, type NestedValueAggregationResult as dr, type ValueResult as ds, type RangeResult as dt, type ScalarResult as du, type NestedResultValue as dv, type NestedResultValueResultOneOf as dw, type Results as dx, type DateHistogramResult as dy, type GroupByValueResults as dz, type CategoriesQueryBuilder as e, type AppTypeWithLiterals as e$, type BulkRemoveItemFromCategoriesRequest as e0, type ListItemsInCategoryRequest as e1, type ListItemsInCategoryRequestPagingMethodOneOf as e2, type PagingMetadataV2 as e3, type ListCategoriesForItemRequest as e4, type ListCategoriesForItemsRequest as e5, type MapItemToCategories as e6, type ListTreesRequest as e7, type MoveItemInCategoryRequest as e8, type MoveItemInCategoryResponse as e9, type TextAlignmentWithLiterals as eA, type LineStyleWithLiterals as eB, type WidthWithLiterals as eC, type DividerDataAlignmentWithLiterals as eD, type ViewModeWithLiterals as eE, type LayoutTypeWithLiterals as eF, type OrientationWithLiterals as eG, type CropWithLiterals as eH, type ThumbnailsAlignmentWithLiterals as eI, type GIFTypeWithLiterals as eJ, type SourceWithLiterals as eK, type StylesPositionWithLiterals as eL, type MapTypeWithLiterals as eM, type ViewRoleWithLiterals as eN, type VoteRoleWithLiterals as eO, type PollLayoutTypeWithLiterals as eP, type PollLayoutDirectionWithLiterals as eQ, type BackgroundTypeWithLiterals as eR, type DecorationTypeWithLiterals as eS, type FontTypeWithLiterals as eT, type ImageStylesPositionWithLiterals as eU, type AspectRatioWithLiterals as eV, type ResizingWithLiterals as eW, type PlacementWithLiterals as eX, type TypeWithLiterals as eY, type AlignmentWithLiterals as eZ, type LayoutWithLiterals as e_, type SetArrangedItemsRequest as ea, type GetArrangedItemsRequest as eb, type GetCategoriesTreeRequest as ec, type GetCategoriesTreeResponse as ed, type CategoryTreeNode as ee, type DomainEvent as ef, type DomainEventBodyOneOf as eg, type EntityCreatedEvent as eh, type RestoreInfo as ei, type EntityUpdatedEvent as ej, type EntityDeletedEvent as ek, type ActionEvent as el, type Empty as em, type MessageEnvelope as en, type IdentificationData as eo, type IdentificationDataIdOneOf as ep, type BaseEventMetadata as eq, type EventMetadata as er, type CategoriesQueryResult as es, type CategorySearchSpec as et, type ListItemsInCategoryOptionsPagingMethodOneOf as eu, type NodeTypeWithLiterals as ev, type WidthTypeWithLiterals as ew, type PluginContainerDataAlignmentWithLiterals as ex, type ButtonDataTypeWithLiterals as ey, type TargetWithLiterals as ez, type CategorySearch as f, type InitialExpandedItemsWithLiterals as f0, type DirectionWithLiterals as f1, type VerticalAlignmentWithLiterals as f2, type NullValueWithLiterals as f3, type SingleEntityOpsRequestedFieldsWithLiterals as f4, type SortOrderWithLiterals as f5, type RequestedFieldsWithLiterals as f6, type SortTypeWithLiterals as f7, type SortDirectionWithLiterals as f8, type MissingValuesWithLiterals as f9, bulkAddItemsToCategory as fA, bulkAddItemToCategories as fB, bulkRemoveItemsFromCategory as fC, bulkRemoveItemFromCategories as fD, listItemsInCategory as fE, listCategoriesForItem as fF, listCategoriesForItems as fG, listTrees as fH, setArrangedItems as fI, getArrangedItems as fJ, type ScalarTypeWithLiterals as fa, type NestedAggregationTypeWithLiterals as fb, type IntervalWithLiterals as fc, type AggregationTypeWithLiterals as fd, type ModeWithLiterals as fe, type PositionWithLiterals as ff, type MoveItemInCategoryRequestPositionWithLiterals as fg, type WebhookIdentityTypeWithLiterals as fh, type CommonSearchWithEntityContext as fi, onCategoryMoved as fj, onCategoryCreated as fk, onCategoryDeleted as fl, onCategoryItemAddedToCategory as fm, onCategoryItemRemovedFromCategory as fn, onCategoryItemsArrangedInCategory as fo, onCategoryUpdated as fp, createCategory as fq, getCategory as fr, updateCategory as fs, deleteCategory as ft, queryCategories as fu, countCategories as fv, moveCategory as fw, bulkUpdateCategories as fx, updateCategoryVisibility as fy, bulkShowCategories as fz, type SearchCategoriesResponse as g, 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 };
4965
+ export { type CategoryCreatedEnvelope 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 QueryCategoriesOptions as Q, type ListCategoriesForItemsResponse as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type ListTreesResponse as V, type SetArrangedItemsOptions as W, type SetArrangedItemsResponse as X, type SetArrangedItemsApplicationErrors as Y, type GetArrangedItemsResponse as Z, type CategoryMovedEnvelope as _, type CreateCategoryOptions as a, type RichContent as a$, type CategoryDeletedEnvelope as a0, type CategoryItemAddedToCategoryEnvelope as a1, type CategoryItemRemovedFromCategoryEnvelope as a2, type CategoryItemsArrangedInCategoryEnvelope as a3, type CategoryUpdatedEnvelope as a4, NodeType as a5, WidthType as a6, PluginContainerDataAlignment as a7, ButtonDataType as a8, Target as a9, Layout as aA, AppType as aB, InitialExpandedItems as aC, Direction as aD, VerticalAlignment as aE, NullValue as aF, SingleEntityOpsRequestedFields as aG, SortOrder as aH, RequestedFields as aI, SortType as aJ, SortDirection as aK, MissingValues as aL, ScalarType as aM, NestedAggregationType as aN, Interval as aO, AggregationType as aP, Mode as aQ, Position as aR, MoveItemInCategoryRequestPosition as aS, WebhookIdentityType as aT, type BreadcrumbsInfo as aU, type Breadcrumb as aV, type ParentCategory as aW, type SeoSchema as aX, type Keyword as aY, type Tag as aZ, type Settings as a_, TextAlignment as aa, LineStyle as ab, Width as ac, DividerDataAlignment as ad, ViewMode as ae, LayoutType as af, Orientation as ag, Crop as ah, ThumbnailsAlignment as ai, GIFType as aj, Source as ak, StylesPosition as al, MapType as am, ViewRole as an, VoteRole as ao, PollLayoutType as ap, PollLayoutDirection as aq, BackgroundType as ar, DecorationType as as, FontType as at, ImageStylesPosition as au, AspectRatio as av, Resizing as aw, Placement as ax, Type as ay, Alignment as az, type CreateCategoryApplicationErrors as b, type ColorData as b$, type Node as b0, type NodeDataOneOf as b1, type NodeStyle as b2, type ButtonData as b3, type Border as b4, type Colors as b5, type PluginContainerData as b6, type PluginContainerDataWidth as b7, type PluginContainerDataWidthDataOneOf as b8, type Spoiler as b9, type HTMLDataDataOneOf as bA, type ImageData as bB, type StylesBorder as bC, type ImageDataStyles as bD, type LinkPreviewData as bE, type LinkPreviewDataStyles as bF, type MapData as bG, type MapSettings as bH, type ParagraphData as bI, type PollData as bJ, type Permissions as bK, type Option as bL, type PollSettings as bM, type PollLayout as bN, type OptionLayout as bO, type Gradient as bP, type Background as bQ, type BackgroundBackgroundOneOf as bR, type PollDesign as bS, type OptionDesign as bT, type Poll as bU, type PollDataLayout as bV, type Design as bW, type TextData as bX, type Decoration as bY, type DecorationDataOneOf as bZ, type AnchorData as b_, type Height as ba, type Styles as bb, type Link as bc, type LinkDataOneOf as bd, type Rel as be, type CodeBlockData as bf, type TextStyle as bg, type DividerData as bh, type FileData as bi, type FileSource as bj, type FileSourceDataOneOf as bk, type PDFSettings as bl, type GalleryData as bm, type Media as bn, type Image as bo, type Video as bp, type Item as bq, type ItemDataOneOf as br, type GalleryOptions as bs, type GalleryOptionsLayout as bt, type ItemStyle as bu, type Thumbnails as bv, type GIFData as bw, type GIF as bx, type HeadingData as by, type HTMLData as bz, type UpdateCategoryOptions as c, type ListCompactCategoriesByIdsRequest as c$, type LinkData as c0, type MentionData as c1, type FontSizeData as c2, type SpoilerData as c3, type AppEmbedData as c4, type AppEmbedDataAppDataOneOf as c5, type BookingData as c6, type EventData as c7, type ButtonStyles as c8, type ImageStyles as c9, type App as cA, type Page as cB, type URI as cC, type File as cD, type CustomTag as cE, type CategoryMoved as cF, type ItemAddedToCategory as cG, type ItemsAddedToCategory as cH, type ItemRemovedFromCategory as cI, type ItemsRemovedFromCategory as cJ, type ItemsArrangedInCategory as cK, type CreateCategoryRequest as cL, type CreateCategoryResponse as cM, type GetCategoryRequest as cN, type GetCategoryResponse as cO, type UpdateCategoryRequest as cP, type UpdateCategoryResponse as cQ, type DeleteCategoryRequest as cR, type DeleteCategoryResponse as cS, type QueryCategoriesRequest as cT, type CursorQuery as cU, type CursorQueryPagingMethodOneOf as cV, type Sorting as cW, type CursorPaging as cX, type QueryCategoriesResponse as cY, type CursorPagingMetadata as cZ, type Cursors as c_, type RibbonStyles as ca, type CardStyles as cb, type PricingData as cc, type VideoData as cd, type PlaybackOptions as ce, type EmbedData as cf, type Oembed as cg, type CollapsibleListData as ch, type TableData as ci, type Dimensions as cj, type TableCellData as ck, type CellStyle as cl, type BorderColors as cm, type ListValue as cn, type AudioData as co, type OrderedListData as cp, type BulletedListData as cq, type BlockquoteData as cr, type CaptionData as cs, type LayoutCellData as ct, type Metadata as cu, type DocumentStyle as cv, type TextNodeStyle as cw, type ExtendedFields as cx, type InvalidateCache as cy, type InvalidateCacheGetByOneOf as cz, type UpdateCategoryApplicationErrors as d, type BulkRemoveItemsFromCategoryRequest as d$, type ListCompactCategoriesByIdsResponse as d0, type CompactCategory as d1, type SearchCategoriesRequest as d2, type CursorSearch as d3, type CursorSearchPagingMethodOneOf as d4, type Aggregation as d5, type AggregationKindOneOf as d6, type RangeBucket as d7, type IncludeMissingValuesOptions as d8, type ValueAggregation as d9, type DateHistogramResults as dA, type NestedResults as dB, type AggregationResults as dC, type AggregationResultsResultOneOf as dD, type DeprecatedSearchCategoriesWithOffsetRequest as dE, type OffsetSearch as dF, type OffsetSearchPagingMethodOneOf as dG, type Paging as dH, type DeprecatedSearchCategoriesWithOffsetResponse as dI, type PagingMetadata as dJ, type CountCategoriesRequest as dK, type MoveCategoryRequest as dL, type BulkUpdateCategoriesRequest as dM, type BulkCategoriesResult as dN, type ItemMetadata as dO, type ApplicationError as dP, type BulkActionMetadata as dQ, type UpdateCategoryVisibilityRequest as dR, type BulkShowCategoriesRequest as dS, type BulkDeleteCategoriesRequest as dT, type BulkDeleteCategoriesResponse as dU, type BulkDeleteCategoriesResponseBulkCategoriesResult as dV, type BulkAddItemsToCategoryRequest as dW, type BulkItemsToCategoryResult as dX, type ItemReferenceMetadata as dY, type BulkAddItemToCategoriesRequest as dZ, type BulkItemToCategoriesResult as d_, type ValueAggregationOptionsOneOf as da, type RangeAggregation as db, type ScalarAggregation as dc, type DateHistogramAggregation as dd, type NestedAggregationItem as de, type NestedAggregationItemKindOneOf as df, type NestedAggregation as dg, type SearchDetails as dh, type AggregationData as di, type ValueAggregationResult as dj, type RangeAggregationResult as dk, type NestedAggregationResults as dl, type NestedAggregationResultsResultOneOf as dm, type ValueResults as dn, type RangeResults as dp, type AggregationResultsScalarResult as dq, type NestedValueAggregationResult as dr, type ValueResult as ds, type RangeResult as dt, type ScalarResult as du, type NestedResultValue as dv, type NestedResultValueResultOneOf as dw, type Results as dx, type DateHistogramResult as dy, type GroupByValueResults as dz, type CategoriesQueryBuilder as e, type TypeWithLiterals as e$, type BulkRemoveItemFromCategoriesRequest as e0, type ListItemsInCategoryRequest as e1, type ListItemsInCategoryRequestPagingMethodOneOf as e2, type PagingMetadataV2 as e3, type ListCategoriesForItemRequest as e4, type ListCategoriesForItemsRequest as e5, type MapItemToCategories as e6, type ListTreesRequest as e7, type MoveItemInCategoryRequest as e8, type MoveItemInCategoryResponse as e9, type PluginContainerDataAlignmentWithLiterals as eA, type ButtonDataTypeWithLiterals as eB, type TargetWithLiterals as eC, type TextAlignmentWithLiterals as eD, type LineStyleWithLiterals as eE, type WidthWithLiterals as eF, type DividerDataAlignmentWithLiterals as eG, type ViewModeWithLiterals as eH, type LayoutTypeWithLiterals as eI, type OrientationWithLiterals as eJ, type CropWithLiterals as eK, type ThumbnailsAlignmentWithLiterals as eL, type GIFTypeWithLiterals as eM, type SourceWithLiterals as eN, type StylesPositionWithLiterals as eO, type MapTypeWithLiterals as eP, type ViewRoleWithLiterals as eQ, type VoteRoleWithLiterals as eR, type PollLayoutTypeWithLiterals as eS, type PollLayoutDirectionWithLiterals as eT, type BackgroundTypeWithLiterals as eU, type DecorationTypeWithLiterals as eV, type FontTypeWithLiterals as eW, type ImageStylesPositionWithLiterals as eX, type AspectRatioWithLiterals as eY, type ResizingWithLiterals as eZ, type PlacementWithLiterals as e_, type SetArrangedItemsRequest as ea, type GetArrangedItemsRequest as eb, type SetItemCategoriesRequest as ec, type SetItemCategoriesResponse as ed, type GetCategoriesTreeRequest as ee, type GetCategoriesTreeResponse as ef, type CategoryTreeNode as eg, type DomainEvent as eh, type DomainEventBodyOneOf as ei, type EntityCreatedEvent as ej, type RestoreInfo as ek, type EntityUpdatedEvent as el, type EntityDeletedEvent as em, type ActionEvent as en, type Empty as eo, type MessageEnvelope as ep, type IdentificationData as eq, type IdentificationDataIdOneOf as er, type BaseEventMetadata as es, type EventMetadata as et, type CategoriesQueryResult as eu, type CategorySearchSpec as ev, type ListItemsInCategoryOptionsPagingMethodOneOf as ew, type SetItemCategoriesOptions as ex, type NodeTypeWithLiterals as ey, type WidthTypeWithLiterals as ez, type CategorySearch as f, type AlignmentWithLiterals as f0, type LayoutWithLiterals as f1, type AppTypeWithLiterals as f2, type InitialExpandedItemsWithLiterals as f3, type DirectionWithLiterals as f4, type VerticalAlignmentWithLiterals as f5, type NullValueWithLiterals as f6, type SingleEntityOpsRequestedFieldsWithLiterals as f7, type SortOrderWithLiterals as f8, type RequestedFieldsWithLiterals as f9, moveCategory as fA, bulkUpdateCategories as fB, updateCategoryVisibility as fC, bulkShowCategories as fD, bulkAddItemsToCategory as fE, bulkAddItemToCategories as fF, bulkRemoveItemsFromCategory as fG, bulkRemoveItemFromCategories as fH, listItemsInCategory as fI, listCategoriesForItem as fJ, listCategoriesForItems as fK, listTrees as fL, setArrangedItems as fM, getArrangedItems as fN, type SortTypeWithLiterals as fa, type SortDirectionWithLiterals as fb, type MissingValuesWithLiterals as fc, type ScalarTypeWithLiterals as fd, type NestedAggregationTypeWithLiterals as fe, type IntervalWithLiterals as ff, type AggregationTypeWithLiterals as fg, type ModeWithLiterals as fh, type PositionWithLiterals as fi, type MoveItemInCategoryRequestPositionWithLiterals as fj, type WebhookIdentityTypeWithLiterals as fk, type SetItemCategoriesApplicationErrors as fl, type CommonSearchWithEntityContext as fm, onCategoryMoved as fn, onCategoryCreated as fo, onCategoryDeleted as fp, onCategoryItemAddedToCategory as fq, onCategoryItemRemovedFromCategory as fr, onCategoryItemsArrangedInCategory as fs, onCategoryUpdated as ft, createCategory as fu, getCategory as fv, updateCategory as fw, deleteCategory as fx, queryCategories as fy, countCategories as fz, type SearchCategoriesResponse as g, 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, T as TreeReference, G as GetCategoryOptions, U as UpdateCategory, c as UpdateCategoryOptions, d as UpdateCategoryApplicationErrors, D as DeleteCategoryApplicationErrors, Q as QueryCategoriesOptions, e as CategoriesQueryBuilder, 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, R as ListCategoriesForItemsResponse, V as ListTreesResponse, W as SetArrangedItemsOptions, X as SetArrangedItemsResponse, Y as SetArrangedItemsApplicationErrors, Z as GetArrangedItemsResponse, _ as CategoryMovedEnvelope, $ as CategoryCreatedEnvelope, a0 as CategoryDeletedEnvelope, a1 as CategoryItemAddedToCategoryEnvelope, a2 as CategoryItemRemovedFromCategoryEnvelope, a3 as CategoryItemsArrangedInCategoryEnvelope, a4 as CategoryUpdatedEnvelope } from './categories-v1-category-categories.universal-D3bNXid_.js';
3
- export { el as ActionEvent, d5 as Aggregation, di as AggregationData, d6 as AggregationKindOneOf, dC as AggregationResults, dD as AggregationResultsResultOneOf, dq as AggregationResultsScalarResult, aP as AggregationType, fd as AggregationTypeWithLiterals, az as Alignment, eZ as AlignmentWithLiterals, b_ as AnchorData, cA as App, c4 as AppEmbedData, c5 as AppEmbedDataAppDataOneOf, aB as AppType, e$ as AppTypeWithLiterals, dP as ApplicationError, av as AspectRatio, eV as AspectRatioWithLiterals, co as AudioData, bQ as Background, bR as BackgroundBackgroundOneOf, ar as BackgroundType, eR as BackgroundTypeWithLiterals, eq as BaseEventMetadata, cr as BlockquoteData, c6 as BookingData, b4 as Border, cm as BorderColors, aV as Breadcrumb, aU as BreadcrumbsInfo, dQ as BulkActionMetadata, dZ as BulkAddItemToCategoriesRequest, dW as BulkAddItemsToCategoryRequest, dN as BulkCategoriesResult, dT as BulkDeleteCategoriesRequest, dU as BulkDeleteCategoriesResponse, dV as BulkDeleteCategoriesResponseBulkCategoriesResult, d_ as BulkItemToCategoriesResult, dX as BulkItemsToCategoryResult, e0 as BulkRemoveItemFromCategoriesRequest, d$ as BulkRemoveItemsFromCategoryRequest, dS as BulkShowCategoriesRequest, dM as BulkUpdateCategoriesRequest, cq as BulletedListData, b3 as ButtonData, a8 as ButtonDataType, ey as ButtonDataTypeWithLiterals, c8 as ButtonStyles, cs as CaptionData, cb as CardStyles, es as CategoriesQueryResult, cF as CategoryMoved, et as CategorySearchSpec, ee as CategoryTreeNode, cl as CellStyle, bf as CodeBlockData, ch as CollapsibleListData, b$ as ColorData, b5 as Colors, fi as CommonSearchWithEntityContext, d1 as CompactCategory, dK as CountCategoriesRequest, cL as CreateCategoryRequest, cM as CreateCategoryResponse, ah as Crop, eH as CropWithLiterals, cX as CursorPaging, cZ as CursorPagingMetadata, cU as CursorQuery, cV as CursorQueryPagingMethodOneOf, d3 as CursorSearch, d4 as CursorSearchPagingMethodOneOf, c_ as Cursors, cE as CustomTag, dd as DateHistogramAggregation, dy as DateHistogramResult, dA as DateHistogramResults, bY as Decoration, bZ as DecorationDataOneOf, as as DecorationType, eS as DecorationTypeWithLiterals, cR as DeleteCategoryRequest, cS as DeleteCategoryResponse, dE as DeprecatedSearchCategoriesWithOffsetRequest, dI as DeprecatedSearchCategoriesWithOffsetResponse, bW as Design, cj as Dimensions, aD as Direction, f1 as DirectionWithLiterals, bh as DividerData, ad as DividerDataAlignment, eD as DividerDataAlignmentWithLiterals, cv as DocumentStyle, ef as DomainEvent, eg as DomainEventBodyOneOf, cf as EmbedData, em as Empty, eh as EntityCreatedEvent, ek as EntityDeletedEvent, ej as EntityUpdatedEvent, c7 as EventData, er as EventMetadata, cx as ExtendedFields, cD as File, bi as FileData, bj as FileSource, bk as FileSourceDataOneOf, c2 as FontSizeData, at as FontType, eT as FontTypeWithLiterals, bx as GIF, bw as GIFData, aj as GIFType, eJ as GIFTypeWithLiterals, bm as GalleryData, bs as GalleryOptions, bt as GalleryOptionsLayout, eb as GetArrangedItemsRequest, ec as GetCategoriesTreeRequest, ed as GetCategoriesTreeResponse, cN as GetCategoryRequest, cO as GetCategoryResponse, bP as Gradient, dz as GroupByValueResults, bz as HTMLData, bA as HTMLDataDataOneOf, by as HeadingData, ba as Height, eo as IdentificationData, ep as IdentificationDataIdOneOf, bo as Image, bB as ImageData, bD as ImageDataStyles, c9 as ImageStyles, au as ImageStylesPosition, eU as ImageStylesPositionWithLiterals, d8 as IncludeMissingValuesOptions, aC as InitialExpandedItems, f0 as InitialExpandedItemsWithLiterals, aO as Interval, fc as IntervalWithLiterals, cy as InvalidateCache, cz as InvalidateCacheGetByOneOf, bq as Item, cG as ItemAddedToCategory, br as ItemDataOneOf, dO as ItemMetadata, dY as ItemReferenceMetadata, cI as ItemRemovedFromCategory, bu as ItemStyle, cH as ItemsAddedToCategory, cK as ItemsArrangedInCategory, cJ as ItemsRemovedFromCategory, aY as Keyword, aA as Layout, ct as LayoutCellData, af as LayoutType, eF as LayoutTypeWithLiterals, e_ as LayoutWithLiterals, ab as LineStyle, eB as LineStyleWithLiterals, bc as Link, c0 as LinkData, bd as LinkDataOneOf, bE as LinkPreviewData, bF as LinkPreviewDataStyles, e4 as ListCategoriesForItemRequest, e5 as ListCategoriesForItemsRequest, c$ as ListCompactCategoriesByIdsRequest, d0 as ListCompactCategoriesByIdsResponse, eu as ListItemsInCategoryOptionsPagingMethodOneOf, e1 as ListItemsInCategoryRequest, e2 as ListItemsInCategoryRequestPagingMethodOneOf, e7 as ListTreesRequest, cn as ListValue, bG as MapData, e6 as MapItemToCategories, bH as MapSettings, am as MapType, eM as MapTypeWithLiterals, bn as Media, c1 as MentionData, en as MessageEnvelope, cu as Metadata, aL as MissingValues, f9 as MissingValuesWithLiterals, aQ as Mode, fe as ModeWithLiterals, dL as MoveCategoryRequest, e8 as MoveItemInCategoryRequest, aS as MoveItemInCategoryRequestPosition, fg as MoveItemInCategoryRequestPositionWithLiterals, e9 as MoveItemInCategoryResponse, dg as NestedAggregation, de as NestedAggregationItem, df as NestedAggregationItemKindOneOf, dl as NestedAggregationResults, dm as NestedAggregationResultsResultOneOf, aN as NestedAggregationType, fb as NestedAggregationTypeWithLiterals, dv as NestedResultValue, dw as NestedResultValueResultOneOf, dB as NestedResults, dr as NestedValueAggregationResult, b0 as Node, b1 as NodeDataOneOf, b2 as NodeStyle, a5 as NodeType, ev as NodeTypeWithLiterals, aF as NullValue, f3 as NullValueWithLiterals, cg as Oembed, dF as OffsetSearch, dG as OffsetSearchPagingMethodOneOf, bL as Option, bT as OptionDesign, bO as OptionLayout, cp as OrderedListData, ag as Orientation, eG as OrientationWithLiterals, bl as PDFSettings, cB as Page, dH as Paging, dJ as PagingMetadata, e3 as PagingMetadataV2, bI as ParagraphData, aW as ParentCategory, bK as Permissions, ax as Placement, eX as PlacementWithLiterals, ce as PlaybackOptions, b6 as PluginContainerData, a7 as PluginContainerDataAlignment, ex as PluginContainerDataAlignmentWithLiterals, b7 as PluginContainerDataWidth, b8 as PluginContainerDataWidthDataOneOf, bU as Poll, bJ as PollData, bV as PollDataLayout, bS as PollDesign, bN as PollLayout, aq as PollLayoutDirection, eQ as PollLayoutDirectionWithLiterals, ap as PollLayoutType, eP as PollLayoutTypeWithLiterals, bM as PollSettings, aR as Position, ff as PositionWithLiterals, cc as PricingData, cT as QueryCategoriesRequest, cY as QueryCategoriesResponse, db as RangeAggregation, dk as RangeAggregationResult, d7 as RangeBucket, dt as RangeResult, dp as RangeResults, be as Rel, aI as RequestedFields, f6 as RequestedFieldsWithLiterals, aw as Resizing, eW as ResizingWithLiterals, ei as RestoreInfo, dx as Results, ca as RibbonStyles, a$ as RichContent, dc as ScalarAggregation, du as ScalarResult, aM as ScalarType, fa as ScalarTypeWithLiterals, d2 as SearchCategoriesRequest, dh as SearchDetails, aX as SeoSchema, ea as SetArrangedItemsRequest, a_ as Settings, aG as SingleEntityOpsRequestedFields, f4 as SingleEntityOpsRequestedFieldsWithLiterals, aK as SortDirection, f8 as SortDirectionWithLiterals, aH as SortOrder, f5 as SortOrderWithLiterals, aJ as SortType, f7 as SortTypeWithLiterals, cW as Sorting, ak as Source, eK as SourceWithLiterals, b9 as Spoiler, c3 as SpoilerData, bb as Styles, bC as StylesBorder, al as StylesPosition, eL as StylesPositionWithLiterals, ck as TableCellData, ci as TableData, aZ as Tag, a9 as Target, ez as TargetWithLiterals, aa as TextAlignment, eA as TextAlignmentWithLiterals, bX as TextData, cw as TextNodeStyle, bg as TextStyle, bv as Thumbnails, ai as ThumbnailsAlignment, eI as ThumbnailsAlignmentWithLiterals, ay as Type, eY as TypeWithLiterals, cC as URI, cP as UpdateCategoryRequest, cQ as UpdateCategoryResponse, dR as UpdateCategoryVisibilityRequest, d9 as ValueAggregation, da as ValueAggregationOptionsOneOf, dj as ValueAggregationResult, ds as ValueResult, dn as ValueResults, aE as VerticalAlignment, f2 as VerticalAlignmentWithLiterals, bp as Video, cd as VideoData, ae as ViewMode, eE as ViewModeWithLiterals, an as ViewRole, eN as ViewRoleWithLiterals, ao as VoteRole, eO as VoteRoleWithLiterals, aT as WebhookIdentityType, fh as WebhookIdentityTypeWithLiterals, ac as Width, a6 as WidthType, ew as WidthTypeWithLiterals, eC as WidthWithLiterals } from './categories-v1-category-categories.universal-D3bNXid_.js';
2
+ import { C as Category, a as CreateCategoryOptions, b as CreateCategoryApplicationErrors, T as TreeReference, G as GetCategoryOptions, U as UpdateCategory, c as UpdateCategoryOptions, d as UpdateCategoryApplicationErrors, D as DeleteCategoryApplicationErrors, Q as QueryCategoriesOptions, e as CategoriesQueryBuilder, 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, R as ListCategoriesForItemsResponse, V as ListTreesResponse, W as SetArrangedItemsOptions, X as SetArrangedItemsResponse, Y as SetArrangedItemsApplicationErrors, Z as GetArrangedItemsResponse, _ as CategoryMovedEnvelope, $ as CategoryCreatedEnvelope, a0 as CategoryDeletedEnvelope, a1 as CategoryItemAddedToCategoryEnvelope, a2 as CategoryItemRemovedFromCategoryEnvelope, a3 as CategoryItemsArrangedInCategoryEnvelope, a4 as CategoryUpdatedEnvelope } from './categories-v1-category-categories.universal-CXnlcgkq.js';
3
+ export { en as ActionEvent, d5 as Aggregation, di as AggregationData, d6 as AggregationKindOneOf, dC as AggregationResults, dD as AggregationResultsResultOneOf, dq as AggregationResultsScalarResult, aP as AggregationType, fg as AggregationTypeWithLiterals, az as Alignment, f0 as AlignmentWithLiterals, b_ as AnchorData, cA as App, c4 as AppEmbedData, c5 as AppEmbedDataAppDataOneOf, aB as AppType, f2 as AppTypeWithLiterals, dP as ApplicationError, av as AspectRatio, eY as AspectRatioWithLiterals, co as AudioData, bQ as Background, bR as BackgroundBackgroundOneOf, ar as BackgroundType, eU as BackgroundTypeWithLiterals, es as BaseEventMetadata, cr as BlockquoteData, c6 as BookingData, b4 as Border, cm as BorderColors, aV as Breadcrumb, aU as BreadcrumbsInfo, dQ as BulkActionMetadata, dZ as BulkAddItemToCategoriesRequest, dW as BulkAddItemsToCategoryRequest, dN as BulkCategoriesResult, dT as BulkDeleteCategoriesRequest, dU as BulkDeleteCategoriesResponse, dV as BulkDeleteCategoriesResponseBulkCategoriesResult, d_ as BulkItemToCategoriesResult, dX as BulkItemsToCategoryResult, e0 as BulkRemoveItemFromCategoriesRequest, d$ as BulkRemoveItemsFromCategoryRequest, dS as BulkShowCategoriesRequest, dM as BulkUpdateCategoriesRequest, cq as BulletedListData, b3 as ButtonData, a8 as ButtonDataType, eB as ButtonDataTypeWithLiterals, c8 as ButtonStyles, cs as CaptionData, cb as CardStyles, eu as CategoriesQueryResult, cF as CategoryMoved, ev as CategorySearchSpec, eg as CategoryTreeNode, cl as CellStyle, bf as CodeBlockData, ch as CollapsibleListData, b$ as ColorData, b5 as Colors, fm as CommonSearchWithEntityContext, d1 as CompactCategory, dK as CountCategoriesRequest, cL as CreateCategoryRequest, cM as CreateCategoryResponse, ah as Crop, eK as CropWithLiterals, cX as CursorPaging, cZ as CursorPagingMetadata, cU as CursorQuery, cV as CursorQueryPagingMethodOneOf, d3 as CursorSearch, d4 as CursorSearchPagingMethodOneOf, c_ as Cursors, cE as CustomTag, dd as DateHistogramAggregation, dy as DateHistogramResult, dA as DateHistogramResults, bY as Decoration, bZ as DecorationDataOneOf, as as DecorationType, eV as DecorationTypeWithLiterals, cR as DeleteCategoryRequest, cS as DeleteCategoryResponse, dE as DeprecatedSearchCategoriesWithOffsetRequest, dI as DeprecatedSearchCategoriesWithOffsetResponse, bW as Design, cj as Dimensions, aD as Direction, f4 as DirectionWithLiterals, bh as DividerData, ad as DividerDataAlignment, eG as DividerDataAlignmentWithLiterals, cv as DocumentStyle, eh as DomainEvent, ei as DomainEventBodyOneOf, cf as EmbedData, eo as Empty, ej as EntityCreatedEvent, em as EntityDeletedEvent, el as EntityUpdatedEvent, c7 as EventData, et as EventMetadata, cx as ExtendedFields, cD as File, bi as FileData, bj as FileSource, bk as FileSourceDataOneOf, c2 as FontSizeData, at as FontType, eW as FontTypeWithLiterals, bx as GIF, bw as GIFData, aj as GIFType, eM as GIFTypeWithLiterals, bm as GalleryData, bs as GalleryOptions, bt as GalleryOptionsLayout, eb as GetArrangedItemsRequest, ee as GetCategoriesTreeRequest, ef as GetCategoriesTreeResponse, cN as GetCategoryRequest, cO as GetCategoryResponse, bP as Gradient, dz as GroupByValueResults, bz as HTMLData, bA as HTMLDataDataOneOf, by as HeadingData, ba as Height, eq as IdentificationData, er as IdentificationDataIdOneOf, bo as Image, bB as ImageData, bD as ImageDataStyles, c9 as ImageStyles, au as ImageStylesPosition, eX as ImageStylesPositionWithLiterals, d8 as IncludeMissingValuesOptions, aC as InitialExpandedItems, f3 as InitialExpandedItemsWithLiterals, aO as Interval, ff as IntervalWithLiterals, cy as InvalidateCache, cz as InvalidateCacheGetByOneOf, bq as Item, cG as ItemAddedToCategory, br as ItemDataOneOf, dO as ItemMetadata, dY as ItemReferenceMetadata, cI as ItemRemovedFromCategory, bu as ItemStyle, cH as ItemsAddedToCategory, cK as ItemsArrangedInCategory, cJ as ItemsRemovedFromCategory, aY as Keyword, aA as Layout, ct as LayoutCellData, af as LayoutType, eI as LayoutTypeWithLiterals, f1 as LayoutWithLiterals, ab as LineStyle, eE as LineStyleWithLiterals, bc as Link, c0 as LinkData, bd as LinkDataOneOf, bE as LinkPreviewData, bF as LinkPreviewDataStyles, e4 as ListCategoriesForItemRequest, e5 as ListCategoriesForItemsRequest, c$ as ListCompactCategoriesByIdsRequest, d0 as ListCompactCategoriesByIdsResponse, ew as ListItemsInCategoryOptionsPagingMethodOneOf, e1 as ListItemsInCategoryRequest, e2 as ListItemsInCategoryRequestPagingMethodOneOf, e7 as ListTreesRequest, cn as ListValue, bG as MapData, e6 as MapItemToCategories, bH as MapSettings, am as MapType, eP as MapTypeWithLiterals, bn as Media, c1 as MentionData, ep as MessageEnvelope, cu as Metadata, aL as MissingValues, fc as MissingValuesWithLiterals, aQ as Mode, fh as ModeWithLiterals, dL as MoveCategoryRequest, e8 as MoveItemInCategoryRequest, aS as MoveItemInCategoryRequestPosition, fj as MoveItemInCategoryRequestPositionWithLiterals, e9 as MoveItemInCategoryResponse, dg as NestedAggregation, de as NestedAggregationItem, df as NestedAggregationItemKindOneOf, dl as NestedAggregationResults, dm as NestedAggregationResultsResultOneOf, aN as NestedAggregationType, fe as NestedAggregationTypeWithLiterals, dv as NestedResultValue, dw as NestedResultValueResultOneOf, dB as NestedResults, dr as NestedValueAggregationResult, b0 as Node, b1 as NodeDataOneOf, b2 as NodeStyle, a5 as NodeType, ey as NodeTypeWithLiterals, aF as NullValue, f6 as NullValueWithLiterals, cg as Oembed, dF as OffsetSearch, dG as OffsetSearchPagingMethodOneOf, bL as Option, bT as OptionDesign, bO as OptionLayout, cp as OrderedListData, ag as Orientation, eJ as OrientationWithLiterals, bl as PDFSettings, cB as Page, dH as Paging, dJ as PagingMetadata, e3 as PagingMetadataV2, bI as ParagraphData, aW as ParentCategory, bK as Permissions, ax as Placement, e_ as PlacementWithLiterals, ce as PlaybackOptions, b6 as PluginContainerData, a7 as PluginContainerDataAlignment, eA as PluginContainerDataAlignmentWithLiterals, b7 as PluginContainerDataWidth, b8 as PluginContainerDataWidthDataOneOf, bU as Poll, bJ as PollData, bV as PollDataLayout, bS as PollDesign, bN as PollLayout, aq as PollLayoutDirection, eT as PollLayoutDirectionWithLiterals, ap as PollLayoutType, eS as PollLayoutTypeWithLiterals, bM as PollSettings, aR as Position, fi as PositionWithLiterals, cc as PricingData, cT as QueryCategoriesRequest, cY as QueryCategoriesResponse, db as RangeAggregation, dk as RangeAggregationResult, d7 as RangeBucket, dt as RangeResult, dp as RangeResults, be as Rel, aI as RequestedFields, f9 as RequestedFieldsWithLiterals, aw as Resizing, eZ as ResizingWithLiterals, ek as RestoreInfo, dx as Results, ca as RibbonStyles, a$ as RichContent, dc as ScalarAggregation, du as ScalarResult, aM as ScalarType, fd as ScalarTypeWithLiterals, d2 as SearchCategoriesRequest, dh as SearchDetails, aX as SeoSchema, ea as SetArrangedItemsRequest, fl as SetItemCategoriesApplicationErrors, ex as SetItemCategoriesOptions, ec as SetItemCategoriesRequest, ed as SetItemCategoriesResponse, a_ as Settings, aG as SingleEntityOpsRequestedFields, f7 as SingleEntityOpsRequestedFieldsWithLiterals, aK as SortDirection, fb as SortDirectionWithLiterals, aH as SortOrder, f8 as SortOrderWithLiterals, aJ as SortType, fa as SortTypeWithLiterals, cW as Sorting, ak as Source, eN as SourceWithLiterals, b9 as Spoiler, c3 as SpoilerData, bb as Styles, bC as StylesBorder, al as StylesPosition, eO as StylesPositionWithLiterals, ck as TableCellData, ci as TableData, aZ as Tag, a9 as Target, eC as TargetWithLiterals, aa as TextAlignment, eD as TextAlignmentWithLiterals, bX as TextData, cw as TextNodeStyle, bg as TextStyle, bv as Thumbnails, ai as ThumbnailsAlignment, eL as ThumbnailsAlignmentWithLiterals, ay as Type, e$ as TypeWithLiterals, cC as URI, cP as UpdateCategoryRequest, cQ as UpdateCategoryResponse, dR as UpdateCategoryVisibilityRequest, d9 as ValueAggregation, da as ValueAggregationOptionsOneOf, dj as ValueAggregationResult, ds as ValueResult, dn as ValueResults, aE as VerticalAlignment, f5 as VerticalAlignmentWithLiterals, bp as Video, cd as VideoData, ae as ViewMode, eH as ViewModeWithLiterals, an as ViewRole, eQ as ViewRoleWithLiterals, ao as VoteRole, eR as VoteRoleWithLiterals, aT as WebhookIdentityType, fk as WebhookIdentityTypeWithLiterals, ac as Width, a6 as WidthType, ez as WidthTypeWithLiterals, eF as WidthWithLiterals } from './categories-v1-category-categories.universal-CXnlcgkq.js';
4
4
 
5
5
  declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
6
6
  interface CreateCategorySignature {
@@ -97,6 +97,7 @@ __export(index_exports, {
97
97
  queryCategories: () => queryCategories4,
98
98
  searchCategories: () => searchCategories4,
99
99
  setArrangedItems: () => setArrangedItems4,
100
+ setItemCategories: () => setItemCategories4,
100
101
  updateCategory: () => updateCategory4,
101
102
  updateCategoryVisibility: () => updateCategoryVisibility4
102
103
  });
@@ -1353,6 +1354,24 @@ function getArrangedItems(payload) {
1353
1354
  }
1354
1355
  return __getArrangedItems;
1355
1356
  }
1357
+ function setItemCategories(payload) {
1358
+ function __setItemCategories({ host }) {
1359
+ const metadata = {
1360
+ entityFqdn: "wix.categories.v1.category",
1361
+ method: "POST",
1362
+ methodFqn: "com.wix.categories.api.v1.CategoriesService.SetItemCategories",
1363
+ packageName: PACKAGE_NAME,
1364
+ url: resolveComWixCategoriesApiV1CategoriesServiceUrl({
1365
+ protoPath: "/v1/categories/set-item-categories",
1366
+ data: payload,
1367
+ host
1368
+ }),
1369
+ data: payload
1370
+ };
1371
+ return metadata;
1372
+ }
1373
+ return __setItemCategories;
1374
+ }
1356
1375
 
1357
1376
  // src/categories-v1-category-categories.universal.ts
1358
1377
  var import_image = require("@wix/sdk-runtime/transformations/image");
@@ -2509,6 +2528,40 @@ async function getArrangedItems2(categoryId, treeReference) {
2509
2528
  throw transformedError;
2510
2529
  }
2511
2530
  }
2531
+ async function setItemCategories2(item, options) {
2532
+ const { httpClient, sideEffects } = arguments[2];
2533
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
2534
+ {
2535
+ item,
2536
+ categoryIds: options?.categoryIds,
2537
+ treeReference: options?.treeReference
2538
+ },
2539
+ []
2540
+ );
2541
+ const reqOpts = setItemCategories(payload);
2542
+ sideEffects?.onSiteCall?.();
2543
+ try {
2544
+ const result = await httpClient.request(reqOpts);
2545
+ sideEffects?.onSuccess?.(result);
2546
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
2547
+ } catch (err) {
2548
+ const transformedError = (0, import_transform_error.transformError)(
2549
+ err,
2550
+ {
2551
+ spreadPathsToArguments: {},
2552
+ explicitPathsToArguments: {
2553
+ item: "$[0]",
2554
+ categoryIds: "$[1].categoryIds",
2555
+ treeReference: "$[1].treeReference"
2556
+ },
2557
+ singleArgumentUnchanged: false
2558
+ },
2559
+ ["item", "options"]
2560
+ );
2561
+ sideEffects?.onError?.(err);
2562
+ throw transformedError;
2563
+ }
2564
+ }
2512
2565
 
2513
2566
  // src/categories-v1-category-categories.public.ts
2514
2567
  function createCategory3(httpClient) {
@@ -2682,6 +2735,14 @@ function getArrangedItems3(httpClient) {
2682
2735
  { httpClient }
2683
2736
  );
2684
2737
  }
2738
+ function setItemCategories3(httpClient) {
2739
+ return (item, options) => setItemCategories2(
2740
+ item,
2741
+ options,
2742
+ // @ts-ignore
2743
+ { httpClient }
2744
+ );
2745
+ }
2685
2746
  var onCategoryMoved = (0, import_sdk_types.EventDefinition)(
2686
2747
  "wix.categories.v1.category_category_moved",
2687
2748
  true,
@@ -2975,6 +3036,7 @@ var listCategoriesForItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRES
2975
3036
  var listTrees4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listTrees3);
2976
3037
  var setArrangedItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setArrangedItems3);
2977
3038
  var getArrangedItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getArrangedItems3);
3039
+ var setItemCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setItemCategories3);
2978
3040
  var onCategoryMoved2 = (0, import_event_definition_modules.createEventModule)(onCategoryMoved);
2979
3041
  var onCategoryCreated2 = (0, import_event_definition_modules.createEventModule)(onCategoryCreated);
2980
3042
  var onCategoryDeleted2 = (0, import_event_definition_modules.createEventModule)(onCategoryDeleted);
@@ -3061,6 +3123,7 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
3061
3123
  queryCategories,
3062
3124
  searchCategories,
3063
3125
  setArrangedItems,
3126
+ setItemCategories,
3064
3127
  updateCategory,
3065
3128
  updateCategoryVisibility
3066
3129
  });