@wix/auto_sdk_categories_categories 1.0.68 → 1.0.70
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.
- package/build/cjs/{categories-v1-category-categories.universal-B61oLRcP.d.ts → categories-v1-category-categories.universal-DWEZmpMq.d.ts} +13 -7
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +12 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +9 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -6
- package/build/cjs/meta.js +10 -10
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{categories-v1-category-categories.universal-B61oLRcP.d.mts → categories-v1-category-categories.universal-DWEZmpMq.d.mts} +13 -7
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +11 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +8 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -6
- package/build/es/meta.mjs +9 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{categories-v1-category-categories.universal-CGC4TcPZ.d.ts → categories-v1-category-categories.universal-sddSStoo.d.ts} +17 -12
- package/build/internal/cjs/index.d.ts +8 -8
- package/build/internal/cjs/index.js +12 -12
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +9 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -6
- package/build/internal/cjs/meta.js +10 -10
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{categories-v1-category-categories.universal-CGC4TcPZ.d.mts → categories-v1-category-categories.universal-sddSStoo.d.mts} +17 -12
- package/build/internal/es/index.d.mts +8 -8
- package/build/internal/es/index.mjs +11 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +8 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -6
- package/build/internal/es/meta.mjs +9 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3538,7 +3538,7 @@ interface GetArrangedItemsResponse {
|
|
|
3538
3538
|
*/
|
|
3539
3539
|
items?: ItemReference[];
|
|
3540
3540
|
}
|
|
3541
|
-
interface
|
|
3541
|
+
interface BulkSetItemCategoriesRequest {
|
|
3542
3542
|
/** The item to update. */
|
|
3543
3543
|
item: ItemReference;
|
|
3544
3544
|
/**
|
|
@@ -3546,11 +3546,17 @@ interface SetItemCategoriesRequest {
|
|
|
3546
3546
|
* @format GUID
|
|
3547
3547
|
* @maxSize 1000
|
|
3548
3548
|
*/
|
|
3549
|
-
categoryIds
|
|
3549
|
+
categoryIds?: string[];
|
|
3550
3550
|
/** Category tree reference details. */
|
|
3551
3551
|
treeReference: TreeReference;
|
|
3552
3552
|
}
|
|
3553
|
-
interface
|
|
3553
|
+
interface BulkSetItemCategoriesResponse {
|
|
3554
|
+
/** Results for add operations */
|
|
3555
|
+
addResults?: BulkItemToCategoriesResult[];
|
|
3556
|
+
/** Results for remove operations */
|
|
3557
|
+
removeResults?: BulkItemToCategoriesResult[];
|
|
3558
|
+
/** Bulk action metadata */
|
|
3559
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
3554
3560
|
}
|
|
3555
3561
|
interface GetCategoriesTreeRequest {
|
|
3556
3562
|
/** Category tree reference details. */
|
|
@@ -3817,7 +3823,7 @@ type SetArrangedItemsApplicationErrors = {
|
|
|
3817
3823
|
data?: Record<string, any>;
|
|
3818
3824
|
};
|
|
3819
3825
|
/** @docsIgnore */
|
|
3820
|
-
type
|
|
3826
|
+
type BulkSetItemCategoriesApplicationErrors = {
|
|
3821
3827
|
code?: 'MANAGED_CATEGORY_OPERATION_NOT_ALLOWED';
|
|
3822
3828
|
description?: string;
|
|
3823
3829
|
data?: Record<string, any>;
|
|
@@ -4955,15 +4961,15 @@ interface SetArrangedItemsOptions {
|
|
|
4955
4961
|
* @fqn com.wix.categories.api.v1.CategoriesService.GetArrangedItems
|
|
4956
4962
|
*/
|
|
4957
4963
|
declare function getArrangedItems(categoryId: string, treeReference: NonNullablePaths<TreeReference, `appNamespace`, 2>): Promise<NonNullablePaths<GetArrangedItemsResponse, `items` | `items.${number}.catalogItemId` | `items.${number}.appId`, 4>>;
|
|
4958
|
-
interface
|
|
4964
|
+
interface BulkSetItemCategoriesOptions {
|
|
4959
4965
|
/**
|
|
4960
4966
|
* List of category IDs to set for the item.
|
|
4961
4967
|
* @format GUID
|
|
4962
4968
|
* @maxSize 1000
|
|
4963
4969
|
*/
|
|
4964
|
-
categoryIds
|
|
4970
|
+
categoryIds?: string[];
|
|
4965
4971
|
/** Category tree reference details. */
|
|
4966
4972
|
treeReference: TreeReference;
|
|
4967
4973
|
}
|
|
4968
4974
|
|
|
4969
|
-
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 };
|
|
4975
|
+
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 BulkSetItemCategoriesRequest as ec, type BulkSetItemCategoriesResponse 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 BulkSetItemCategoriesOptions 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 BulkSetItemCategoriesApplicationErrors 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 };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -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-
|
|
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,
|
|
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-DWEZmpMq.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, fl as BulkSetItemCategoriesApplicationErrors, ex as BulkSetItemCategoriesOptions, ec as BulkSetItemCategoriesRequest, ed as BulkSetItemCategoriesResponse, 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, 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-DWEZmpMq.js';
|
|
4
4
|
|
|
5
5
|
declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
|
|
6
6
|
interface CreateCategorySignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -75,6 +75,7 @@ __export(index_exports, {
|
|
|
75
75
|
bulkAddItemsToCategory: () => bulkAddItemsToCategory4,
|
|
76
76
|
bulkRemoveItemFromCategories: () => bulkRemoveItemFromCategories4,
|
|
77
77
|
bulkRemoveItemsFromCategory: () => bulkRemoveItemsFromCategory4,
|
|
78
|
+
bulkSetItemCategories: () => bulkSetItemCategories4,
|
|
78
79
|
bulkShowCategories: () => bulkShowCategories4,
|
|
79
80
|
bulkUpdateCategories: () => bulkUpdateCategories4,
|
|
80
81
|
countCategories: () => countCategories4,
|
|
@@ -97,7 +98,6 @@ __export(index_exports, {
|
|
|
97
98
|
queryCategories: () => queryCategories4,
|
|
98
99
|
searchCategories: () => searchCategories4,
|
|
99
100
|
setArrangedItems: () => setArrangedItems4,
|
|
100
|
-
setItemCategories: () => setItemCategories4,
|
|
101
101
|
updateCategory: () => updateCategory4,
|
|
102
102
|
updateCategoryVisibility: () => updateCategoryVisibility4
|
|
103
103
|
});
|
|
@@ -1354,15 +1354,15 @@ function getArrangedItems(payload) {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
return __getArrangedItems;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1358
|
-
function
|
|
1357
|
+
function bulkSetItemCategories(payload) {
|
|
1358
|
+
function __bulkSetItemCategories({ host }) {
|
|
1359
1359
|
const metadata = {
|
|
1360
1360
|
entityFqdn: "wix.categories.v1.category",
|
|
1361
1361
|
method: "POST",
|
|
1362
|
-
methodFqn: "com.wix.categories.api.v1.CategoriesService.
|
|
1362
|
+
methodFqn: "com.wix.categories.api.v1.CategoriesService.BulkSetItemCategories",
|
|
1363
1363
|
packageName: PACKAGE_NAME,
|
|
1364
1364
|
url: resolveComWixCategoriesApiV1CategoriesServiceUrl({
|
|
1365
|
-
protoPath: "/v1/categories/set-item-categories",
|
|
1365
|
+
protoPath: "/v1/bulk/categories/set-item-categories",
|
|
1366
1366
|
data: payload,
|
|
1367
1367
|
host
|
|
1368
1368
|
}),
|
|
@@ -1370,7 +1370,7 @@ function setItemCategories(payload) {
|
|
|
1370
1370
|
};
|
|
1371
1371
|
return metadata;
|
|
1372
1372
|
}
|
|
1373
|
-
return
|
|
1373
|
+
return __bulkSetItemCategories;
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
// src/categories-v1-category-categories.universal.ts
|
|
@@ -2528,7 +2528,7 @@ async function getArrangedItems2(categoryId, treeReference) {
|
|
|
2528
2528
|
throw transformedError;
|
|
2529
2529
|
}
|
|
2530
2530
|
}
|
|
2531
|
-
async function
|
|
2531
|
+
async function bulkSetItemCategories2(item, options) {
|
|
2532
2532
|
const { httpClient, sideEffects } = arguments[2];
|
|
2533
2533
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
2534
2534
|
{
|
|
@@ -2538,7 +2538,7 @@ async function setItemCategories2(item, options) {
|
|
|
2538
2538
|
},
|
|
2539
2539
|
[]
|
|
2540
2540
|
);
|
|
2541
|
-
const reqOpts =
|
|
2541
|
+
const reqOpts = bulkSetItemCategories(payload);
|
|
2542
2542
|
sideEffects?.onSiteCall?.();
|
|
2543
2543
|
try {
|
|
2544
2544
|
const result = await httpClient.request(reqOpts);
|
|
@@ -2735,8 +2735,8 @@ function getArrangedItems3(httpClient) {
|
|
|
2735
2735
|
{ httpClient }
|
|
2736
2736
|
);
|
|
2737
2737
|
}
|
|
2738
|
-
function
|
|
2739
|
-
return (item, options) =>
|
|
2738
|
+
function bulkSetItemCategories3(httpClient) {
|
|
2739
|
+
return (item, options) => bulkSetItemCategories2(
|
|
2740
2740
|
item,
|
|
2741
2741
|
options,
|
|
2742
2742
|
// @ts-ignore
|
|
@@ -3036,7 +3036,7 @@ var listCategoriesForItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRES
|
|
|
3036
3036
|
var listTrees4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listTrees3);
|
|
3037
3037
|
var setArrangedItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setArrangedItems3);
|
|
3038
3038
|
var getArrangedItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getArrangedItems3);
|
|
3039
|
-
var
|
|
3039
|
+
var bulkSetItemCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkSetItemCategories3);
|
|
3040
3040
|
var onCategoryMoved2 = (0, import_event_definition_modules.createEventModule)(onCategoryMoved);
|
|
3041
3041
|
var onCategoryCreated2 = (0, import_event_definition_modules.createEventModule)(onCategoryCreated);
|
|
3042
3042
|
var onCategoryDeleted2 = (0, import_event_definition_modules.createEventModule)(onCategoryDeleted);
|
|
@@ -3101,6 +3101,7 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
3101
3101
|
bulkAddItemsToCategory,
|
|
3102
3102
|
bulkRemoveItemFromCategories,
|
|
3103
3103
|
bulkRemoveItemsFromCategory,
|
|
3104
|
+
bulkSetItemCategories,
|
|
3104
3105
|
bulkShowCategories,
|
|
3105
3106
|
bulkUpdateCategories,
|
|
3106
3107
|
countCategories,
|
|
@@ -3123,7 +3124,6 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
3123
3124
|
queryCategories,
|
|
3124
3125
|
searchCategories,
|
|
3125
3126
|
setArrangedItems,
|
|
3126
|
-
setItemCategories,
|
|
3127
3127
|
updateCategory,
|
|
3128
3128
|
updateCategoryVisibility
|
|
3129
3129
|
});
|