@wix/auto_sdk_categories_categories 1.0.77 → 1.0.79
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-D9uDO6CC.d.ts → categories-v1-category-categories.universal-Dfp7ZNFJ.d.ts} +10 -3
- package/build/cjs/index.d.ts +10 -23
- package/build/cjs/index.js +55 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -6
- package/build/cjs/index.typings.js +36 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{categories-v1-category-categories.universal-D9uDO6CC.d.mts → categories-v1-category-categories.universal-Dfp7ZNFJ.d.mts} +10 -3
- package/build/es/index.d.mts +10 -23
- package/build/es/index.mjs +55 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -6
- package/build/es/index.typings.mjs +35 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{categories-v1-category-categories.universal-DOWv1rVC.d.ts → categories-v1-category-categories.universal-Cvx8-3By.d.ts} +10 -3
- package/build/internal/cjs/index.d.ts +10 -23
- package/build/internal/cjs/index.js +55 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -6
- package/build/internal/cjs/index.typings.js +36 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{categories-v1-category-categories.universal-DOWv1rVC.d.mts → categories-v1-category-categories.universal-Cvx8-3By.d.mts} +10 -3
- package/build/internal/es/index.d.mts +10 -23
- package/build/internal/es/index.mjs +55 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -6
- package/build/internal/es/index.typings.mjs +35 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -2544,7 +2544,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
2544
2544
|
/**
|
|
2545
2545
|
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) or [ISO 8601 UTC offset format](https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC) for adjusting time fields in the specified filters and returned aggregation data. For example, `America/New_York`, `UTC`, or `+02:00`.
|
|
2546
2546
|
*
|
|
2547
|
-
* Default: Time zone specified in the business site properties
|
|
2547
|
+
* Default: Time zone specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
|
|
2548
2548
|
* @maxLength 50
|
|
2549
2549
|
*/
|
|
2550
2550
|
timeZone?: string | null;
|
|
@@ -4481,6 +4481,13 @@ interface CategoriesQueryBuilder {
|
|
|
4481
4481
|
skipTo: (cursor: string) => CategoriesQueryBuilder;
|
|
4482
4482
|
find: () => Promise<CategoriesQueryResult>;
|
|
4483
4483
|
}
|
|
4484
|
+
/**
|
|
4485
|
+
* @hidden
|
|
4486
|
+
* @fqn com.wix.categories.api.v1.CategoriesService.QueryCategories
|
|
4487
|
+
* @requiredField query
|
|
4488
|
+
* @requiredField options
|
|
4489
|
+
*/
|
|
4490
|
+
declare function typedQueryCategories(query: CursorQuery, options: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}.itemCounter` | `categories.${number}.seoData.settings.preventAutoRedirect`, 6>>;
|
|
4484
4491
|
interface SearchCategoriesOptions {
|
|
4485
4492
|
/**
|
|
4486
4493
|
* Category tree reference details.
|
|
@@ -4655,7 +4662,7 @@ type CategorySearch = {
|
|
|
4655
4662
|
/**
|
|
4656
4663
|
Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) or [ISO 8601 UTC offset format](https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC) for adjusting time fields in the specified filters and returned aggregation data. For example, `America/New_York`, `UTC`, or `+02:00`.
|
|
4657
4664
|
|
|
4658
|
-
Default: Time zone specified in the business site properties
|
|
4665
|
+
Default: Time zone specified in the business [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/get-site-properties).
|
|
4659
4666
|
@maxLength: 50
|
|
4660
4667
|
*/
|
|
4661
4668
|
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
@@ -5079,4 +5086,4 @@ interface BulkSetItemCategoriesOptions {
|
|
|
5079
5086
|
treeReference: TreeReference;
|
|
5080
5087
|
}
|
|
5081
5088
|
|
|
5082
|
-
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 SeoSchema 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, Scaling as aG, ImagePosition as aH, VerticalAlignmentAlignment as aI, ResponsivenessBehaviour as aJ, SingleEntityOpsRequestedFields as aK, SortOrder as aL, RequestedFields as aM, SortType as aN, SortDirection as aO, MissingValues as aP, ScalarType as aQ, NestedAggregationType as aR, Interval as aS, AggregationType as aT, Mode as aU, Position as aV, MoveItemInCategoryRequestPosition as aW, WebhookIdentityType as aX, type BreadcrumbsInfo as aY, type Breadcrumb as aZ, type ParentCategory 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 TextData as b$, type Keyword as b0, type Tag as b1, type Settings as b2, type RichContent as b3, type Node as b4, type NodeDataOneOf as b5, type NodeStyle as b6, type ButtonData as b7, type Border as b8, type Colors as b9, type GIFData as bA, type GIF as bB, type HeadingData as bC, type HTMLData as bD, type HTMLDataDataOneOf as bE, type ImageData as bF, type StylesBorder as bG, type ImageDataStyles as bH, type LinkPreviewData as bI, type LinkPreviewDataStyles as bJ, type MapData as bK, type MapSettings as bL, type ParagraphData as bM, type PollData as bN, type Permissions as bO, type Option as bP, type PollSettings as bQ, type PollLayout as bR, type OptionLayout as bS, type Gradient as bT, type Background as bU, type BackgroundBackgroundOneOf as bV, type PollDesign as bW, type OptionDesign as bX, type Poll as bY, type PollDataLayout as bZ, type Design as b_, type PluginContainerData as ba, type PluginContainerDataWidth as bb, type PluginContainerDataWidthDataOneOf as bc, type Spoiler as bd, type Height as be, type Styles as bf, type Link as bg, type LinkDataOneOf as bh, type Rel as bi, type CodeBlockData as bj, type TextStyle as bk, type DividerData as bl, type FileData as bm, type FileSource as bn, type FileSourceDataOneOf as bo, type PDFSettings as bp, type GalleryData as bq, type Media as br, type Image as bs, type Video as bt, type Item as bu, type ItemDataOneOf as bv, type GalleryOptions as bw, type GalleryOptionsLayout as bx, type ItemStyle as by, type Thumbnails as bz, type UpdateCategoryOptions as c, type CursorQueryPagingMethodOneOf as c$, type Decoration as c0, type DecorationDataOneOf as c1, type AnchorData as c2, type ColorData as c3, type LinkData as c4, type MentionData as c5, type FontSizeData as c6, type SpoilerData as c7, type AppEmbedData as c8, type AppEmbedDataAppDataOneOf as c9, type Metadata as cA, type DocumentStyle as cB, type TextNodeStyle as cC, type ExtendedFields as cD, type InvalidateCache as cE, type InvalidateCacheGetByOneOf as cF, type App as cG, type Page as cH, type URI as cI, type File as cJ, type CustomTag as cK, type CategoryMoved as cL, type ItemAddedToCategory as cM, type ItemsAddedToCategory as cN, type ItemRemovedFromCategory as cO, type ItemsRemovedFromCategory as cP, type ItemsArrangedInCategory as cQ, type CreateCategoryRequest as cR, type CreateCategoryResponse as cS, type GetCategoryRequest as cT, type GetCategoryResponse as cU, type UpdateCategoryRequest as cV, type UpdateCategoryResponse as cW, type DeleteCategoryRequest as cX, type DeleteCategoryResponse as cY, type QueryCategoriesRequest as cZ, type CursorQuery as c_, type BookingData as ca, type EventData as cb, type ButtonStyles as cc, type ImageStyles as cd, type RibbonStyles as ce, type CardStyles as cf, type PricingData as cg, type VideoData as ch, type PlaybackOptions as ci, type EmbedData as cj, type Oembed as ck, type CollapsibleListData as cl, type TableData as cm, type Dimensions as cn, type TableCellData as co, type CellStyle as cp, type BorderColors as cq, type ListValue as cr, type AudioData as cs, type OrderedListData as ct, type BulletedListData as cu, type BlockquoteData as cv, type CaptionData as cw, type LayoutData as cx, type BackgroundImage as cy, type LayoutCellData as cz, type UpdateCategoryApplicationErrors as d, type BulkDeleteCategoriesResponseBulkCategoriesResult as d$, type Sorting as d0, type CursorPaging as d1, type QueryCategoriesResponse as d2, type CursorPagingMetadata as d3, type Cursors as d4, type ListCompactCategoriesByIdsRequest as d5, type ListCompactCategoriesByIdsResponse as d6, type CompactCategory as d7, type SearchCategoriesRequest as d8, type CursorSearch as d9, type ScalarResult as dA, type NestedResultValue as dB, type NestedResultValueResultOneOf as dC, type Results as dD, type DateHistogramResult as dE, type GroupByValueResults as dF, type DateHistogramResults as dG, type NestedResults as dH, type AggregationResults as dI, type AggregationResultsResultOneOf as dJ, type DeprecatedSearchCategoriesWithOffsetRequest as dK, type OffsetSearch as dL, type OffsetSearchPagingMethodOneOf as dM, type Paging as dN, type DeprecatedSearchCategoriesWithOffsetResponse as dO, type PagingMetadata as dP, type CountCategoriesRequest as dQ, type MoveCategoryRequest as dR, type BulkUpdateCategoriesRequest as dS, type BulkCategoriesResult as dT, type ItemMetadata as dU, type ApplicationError as dV, type BulkActionMetadata as dW, type UpdateCategoryVisibilityRequest as dX, type BulkShowCategoriesRequest as dY, type BulkDeleteCategoriesRequest as dZ, type BulkDeleteCategoriesResponse as d_, type CursorSearchPagingMethodOneOf as da, type Aggregation as db, type AggregationKindOneOf as dc, type RangeBucket as dd, type IncludeMissingValuesOptions as de, type ValueAggregation as df, type ValueAggregationOptionsOneOf as dg, type RangeAggregation as dh, type ScalarAggregation as di, type DateHistogramAggregation as dj, type NestedAggregationItem as dk, type NestedAggregationItemKindOneOf as dl, type NestedAggregation as dm, type SearchDetails as dn, type AggregationData as dp, type ValueAggregationResult as dq, type RangeAggregationResult as dr, type NestedAggregationResults as ds, type NestedAggregationResultsResultOneOf as dt, type ValueResults as du, type RangeResults as dv, type AggregationResultsScalarResult as dw, type NestedValueAggregationResult as dx, type ValueResult as dy, type RangeResult as dz, type CategoriesQueryBuilder as e, type DecorationTypeWithLiterals as e$, type BulkAddItemsToCategoryRequest as e0, type BulkItemsToCategoryResult as e1, type ItemReferenceMetadata as e2, type BulkAddItemToCategoriesRequest as e3, type BulkItemToCategoriesResult as e4, type BulkRemoveItemsFromCategoryRequest as e5, type BulkRemoveItemFromCategoriesRequest as e6, type ListItemsInCategoryRequest as e7, type ListItemsInCategoryRequestPagingMethodOneOf as e8, type PagingMetadataV2 as e9, type CategoriesQueryResult as eA, type CategorySearchSpec as eB, type ListItemsInCategoryOptionsPagingMethodOneOf as eC, type BulkSetItemCategoriesOptions as eD, type NodeTypeWithLiterals as eE, type WidthTypeWithLiterals as eF, type PluginContainerDataAlignmentWithLiterals as eG, type ButtonDataTypeWithLiterals as eH, type TargetWithLiterals as eI, type TextAlignmentWithLiterals as eJ, type LineStyleWithLiterals as eK, type WidthWithLiterals as eL, type DividerDataAlignmentWithLiterals as eM, type ViewModeWithLiterals as eN, type LayoutTypeWithLiterals as eO, type OrientationWithLiterals as eP, type CropWithLiterals as eQ, type ThumbnailsAlignmentWithLiterals as eR, type GIFTypeWithLiterals as eS, type SourceWithLiterals as eT, type StylesPositionWithLiterals as eU, type MapTypeWithLiterals as eV, type ViewRoleWithLiterals as eW, type VoteRoleWithLiterals as eX, type PollLayoutTypeWithLiterals as eY, type PollLayoutDirectionWithLiterals as eZ, type BackgroundTypeWithLiterals as e_, type ListCategoriesForItemRequest as ea, type ListCategoriesForItemsRequest as eb, type MapItemToCategories as ec, type ListTreesRequest as ed, type MoveItemInCategoryRequest as ee, type MoveItemInCategoryResponse as ef, type SetArrangedItemsRequest as eg, type GetArrangedItemsRequest as eh, type BulkSetItemCategoriesRequest as ei, type BulkSetItemCategoriesResponse as ej, type GetCategoriesTreeRequest as ek, type GetCategoriesTreeResponse as el, type CategoryTreeNode as em, type DomainEvent as en, type DomainEventBodyOneOf as eo, type EntityCreatedEvent as ep, type RestoreInfo as eq, type EntityUpdatedEvent as er, type EntityDeletedEvent as es, type ActionEvent as et, type Empty as eu, type MessageEnvelope as ev, type IdentificationData as ew, type IdentificationDataIdOneOf as ex, type BaseEventMetadata as ey, type EventMetadata as ez, type CategorySearch as f, type FontTypeWithLiterals as f0, type ImageStylesPositionWithLiterals as f1, type AspectRatioWithLiterals as f2, type ResizingWithLiterals as f3, type PlacementWithLiterals as f4, type TypeWithLiterals as f5, type AlignmentWithLiterals as f6, type LayoutWithLiterals as f7, type AppTypeWithLiterals as f8, type InitialExpandedItemsWithLiterals as f9, onCategoryItemAddedToCategory as fA, onCategoryItemRemovedFromCategory as fB, onCategoryItemsArrangedInCategory as fC, onCategoryUpdated as fD, createCategory as fE, getCategory as fF, updateCategory as fG, deleteCategory as fH, queryCategories as fI, countCategories as fJ, moveCategory as fK, bulkUpdateCategories as fL, updateCategoryVisibility as fM, bulkShowCategories as fN, bulkAddItemsToCategory as fO, bulkAddItemToCategories as fP, bulkRemoveItemsFromCategory as fQ, bulkRemoveItemFromCategories as fR, listItemsInCategory as fS, listCategoriesForItem as fT, listCategoriesForItems as fU, listTrees as fV, setArrangedItems as fW, getArrangedItems as fX, type DirectionWithLiterals as fa, type VerticalAlignmentWithLiterals as fb, type NullValueWithLiterals as fc, type ScalingWithLiterals as fd, type ImagePositionWithLiterals as fe, type VerticalAlignmentAlignmentWithLiterals as ff, type ResponsivenessBehaviourWithLiterals as fg, type SingleEntityOpsRequestedFieldsWithLiterals as fh, type SortOrderWithLiterals as fi, type RequestedFieldsWithLiterals as fj, type SortTypeWithLiterals as fk, type SortDirectionWithLiterals as fl, type MissingValuesWithLiterals as fm, type ScalarTypeWithLiterals as fn, type NestedAggregationTypeWithLiterals as fo, type IntervalWithLiterals as fp, type AggregationTypeWithLiterals as fq, type ModeWithLiterals as fr, type PositionWithLiterals as fs, type MoveItemInCategoryRequestPositionWithLiterals as ft, type WebhookIdentityTypeWithLiterals as fu, type BulkSetItemCategoriesApplicationErrors as fv, type CommonSearchWithEntityContext as fw, onCategoryMoved as fx, onCategoryCreated as fy, onCategoryDeleted 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 };
|
|
5089
|
+
export { type CategoryItemAddedToCategoryEnvelope as $, type BulkRemoveItemsFromCategoryApplicationErrors as A, type BulkUpdateCategoriesOptions as B, type Category as C, type DeleteCategoryApplicationErrors as D, type BulkRemoveItemFromCategoriesOptions as E, type BulkRemoveItemFromCategoriesResponse as F, type GetCategoryOptions as G, type BulkRemoveItemFromCategoriesApplicationErrors as H, type ItemReference as I, type ListItemsInCategoryResponse as J, type ListCategoriesForItemOptions as K, type ListItemsInCategoryOptions as L, type MoveCategoryOptions as M, type ListCategoriesForItemResponse as N, type ListCategoriesForItemsOptions as O, type ListCategoriesForItemsResponse as P, type ListTreesResponse as Q, type SetArrangedItemsOptions as R, type SearchCategoriesOptions as S, type TreeReference as T, type UpdateCategory as U, type SetArrangedItemsResponse as V, type SetArrangedItemsApplicationErrors as W, type GetArrangedItemsResponse as X, type CategoryMovedEnvelope as Y, type CategoryCreatedEnvelope as Z, type CategoryDeletedEnvelope as _, type CreateCategoryOptions as a, type Breadcrumb as a$, type CategoryItemRemovedFromCategoryEnvelope as a0, type CategoryItemsArrangedInCategoryEnvelope as a1, type CategoryUpdatedEnvelope as a2, type CursorQuery as a3, type QueryCategoriesOptions as a4, typedQueryCategories as a5, type CategoriesQueryBuilder as a6, NodeType as a7, WidthType as a8, PluginContainerDataAlignment as a9, Type as aA, Alignment as aB, Layout as aC, AppType as aD, InitialExpandedItems as aE, Direction as aF, VerticalAlignment as aG, NullValue as aH, Scaling as aI, ImagePosition as aJ, VerticalAlignmentAlignment as aK, ResponsivenessBehaviour as aL, SingleEntityOpsRequestedFields as aM, SortOrder as aN, RequestedFields as aO, SortType as aP, SortDirection as aQ, MissingValues as aR, ScalarType as aS, NestedAggregationType as aT, Interval as aU, AggregationType as aV, Mode as aW, Position as aX, MoveItemInCategoryRequestPosition as aY, WebhookIdentityType as aZ, type BreadcrumbsInfo as a_, ButtonDataType as aa, Target as ab, TextAlignment as ac, LineStyle as ad, Width as ae, DividerDataAlignment as af, ViewMode as ag, LayoutType as ah, Orientation as ai, Crop as aj, ThumbnailsAlignment as ak, GIFType as al, Source as am, StylesPosition as an, MapType as ao, ViewRole as ap, VoteRole as aq, PollLayoutType as ar, PollLayoutDirection as as, BackgroundType as at, DecorationType as au, FontType as av, ImageStylesPosition as aw, AspectRatio as ax, Resizing as ay, Placement as az, type CreateCategoryApplicationErrors as b, type PollDataLayout as b$, type ParentCategory as b0, type SeoSchema as b1, type Keyword as b2, type Tag as b3, type Settings as b4, type RichContent as b5, type Node as b6, type NodeDataOneOf as b7, type NodeStyle as b8, type ButtonData as b9, type ItemStyle as bA, type Thumbnails as bB, type GIFData as bC, type GIF as bD, type HeadingData as bE, type HTMLData as bF, type HTMLDataDataOneOf as bG, type ImageData as bH, type StylesBorder as bI, type ImageDataStyles as bJ, type LinkPreviewData as bK, type LinkPreviewDataStyles as bL, type MapData as bM, type MapSettings as bN, type ParagraphData as bO, type PollData as bP, type Permissions as bQ, type Option as bR, type PollSettings as bS, type PollLayout as bT, type OptionLayout as bU, type Gradient as bV, type Background as bW, type BackgroundBackgroundOneOf as bX, type PollDesign as bY, type OptionDesign as bZ, type Poll as b_, type Border as ba, type Colors as bb, type PluginContainerData as bc, type PluginContainerDataWidth as bd, type PluginContainerDataWidthDataOneOf as be, type Spoiler as bf, type Height as bg, type Styles as bh, type Link as bi, type LinkDataOneOf as bj, type Rel as bk, type CodeBlockData as bl, type TextStyle as bm, type DividerData as bn, type FileData as bo, type FileSource as bp, type FileSourceDataOneOf as bq, type PDFSettings as br, type GalleryData as bs, type Media as bt, type Image as bu, type Video as bv, type Item as bw, type ItemDataOneOf as bx, type GalleryOptions as by, type GalleryOptionsLayout as bz, type UpdateCategoryOptions as c, type QueryCategoriesRequest as c$, type Design as c0, type TextData as c1, type Decoration as c2, type DecorationDataOneOf as c3, type AnchorData as c4, type ColorData as c5, type LinkData as c6, type MentionData as c7, type FontSizeData as c8, type SpoilerData as c9, type BackgroundImage as cA, type LayoutCellData as cB, type Metadata as cC, type DocumentStyle as cD, type TextNodeStyle as cE, type ExtendedFields as cF, type InvalidateCache as cG, type InvalidateCacheGetByOneOf as cH, type App as cI, type Page as cJ, type URI as cK, type File as cL, type CustomTag as cM, type CategoryMoved as cN, type ItemAddedToCategory as cO, type ItemsAddedToCategory as cP, type ItemRemovedFromCategory as cQ, type ItemsRemovedFromCategory as cR, type ItemsArrangedInCategory as cS, type CreateCategoryRequest as cT, type CreateCategoryResponse as cU, type GetCategoryRequest as cV, type GetCategoryResponse as cW, type UpdateCategoryRequest as cX, type UpdateCategoryResponse as cY, type DeleteCategoryRequest as cZ, type DeleteCategoryResponse as c_, type AppEmbedData as ca, type AppEmbedDataAppDataOneOf as cb, type BookingData as cc, type EventData as cd, type ButtonStyles as ce, type ImageStyles as cf, type RibbonStyles as cg, type CardStyles as ch, type PricingData as ci, type VideoData as cj, type PlaybackOptions as ck, type EmbedData as cl, type Oembed as cm, type CollapsibleListData as cn, type TableData as co, type Dimensions as cp, type TableCellData as cq, type CellStyle as cr, type BorderColors as cs, type ListValue as ct, type AudioData as cu, type OrderedListData as cv, type BulletedListData as cw, type BlockquoteData as cx, type CaptionData as cy, type LayoutData as cz, type UpdateCategoryApplicationErrors as d, type BulkDeleteCategoriesResponse as d$, type CursorQueryPagingMethodOneOf as d0, type Sorting as d1, type CursorPaging as d2, type QueryCategoriesResponse as d3, type CursorPagingMetadata as d4, type Cursors as d5, type ListCompactCategoriesByIdsRequest as d6, type ListCompactCategoriesByIdsResponse as d7, type CompactCategory as d8, type SearchCategoriesRequest as d9, type RangeResult as dA, type ScalarResult as dB, type NestedResultValue as dC, type NestedResultValueResultOneOf as dD, type Results as dE, type DateHistogramResult as dF, type GroupByValueResults as dG, type DateHistogramResults as dH, type NestedResults as dI, type AggregationResults as dJ, type AggregationResultsResultOneOf as dK, type DeprecatedSearchCategoriesWithOffsetRequest as dL, type OffsetSearch as dM, type OffsetSearchPagingMethodOneOf as dN, type Paging as dO, type DeprecatedSearchCategoriesWithOffsetResponse as dP, type PagingMetadata as dQ, type CountCategoriesRequest as dR, type MoveCategoryRequest as dS, type BulkUpdateCategoriesRequest as dT, type BulkCategoriesResult as dU, type ItemMetadata as dV, type ApplicationError as dW, type BulkActionMetadata as dX, type UpdateCategoryVisibilityRequest as dY, type BulkShowCategoriesRequest as dZ, type BulkDeleteCategoriesRequest as d_, type CursorSearch as da, type CursorSearchPagingMethodOneOf as db, type Aggregation as dc, type AggregationKindOneOf as dd, type RangeBucket as de, type IncludeMissingValuesOptions as df, type ValueAggregation as dg, type ValueAggregationOptionsOneOf as dh, type RangeAggregation as di, type ScalarAggregation as dj, type DateHistogramAggregation as dk, type NestedAggregationItem as dl, type NestedAggregationItemKindOneOf as dm, type NestedAggregation as dn, type SearchDetails as dp, type AggregationData as dq, type ValueAggregationResult as dr, type RangeAggregationResult as ds, type NestedAggregationResults as dt, type NestedAggregationResultsResultOneOf as du, type ValueResults as dv, type RangeResults as dw, type AggregationResultsScalarResult as dx, type NestedValueAggregationResult as dy, type ValueResult as dz, type CategorySearch as e, type BackgroundTypeWithLiterals as e$, type BulkDeleteCategoriesResponseBulkCategoriesResult as e0, type BulkAddItemsToCategoryRequest as e1, type BulkItemsToCategoryResult as e2, type ItemReferenceMetadata as e3, type BulkAddItemToCategoriesRequest as e4, type BulkItemToCategoriesResult as e5, type BulkRemoveItemsFromCategoryRequest as e6, type BulkRemoveItemFromCategoriesRequest as e7, type ListItemsInCategoryRequest as e8, type ListItemsInCategoryRequestPagingMethodOneOf as e9, type EventMetadata as eA, type CategoriesQueryResult as eB, type CategorySearchSpec as eC, type ListItemsInCategoryOptionsPagingMethodOneOf as eD, type BulkSetItemCategoriesOptions as eE, type NodeTypeWithLiterals as eF, type WidthTypeWithLiterals as eG, type PluginContainerDataAlignmentWithLiterals as eH, type ButtonDataTypeWithLiterals as eI, type TargetWithLiterals as eJ, type TextAlignmentWithLiterals as eK, type LineStyleWithLiterals as eL, type WidthWithLiterals as eM, type DividerDataAlignmentWithLiterals as eN, type ViewModeWithLiterals as eO, type LayoutTypeWithLiterals as eP, type OrientationWithLiterals as eQ, type CropWithLiterals as eR, type ThumbnailsAlignmentWithLiterals as eS, type GIFTypeWithLiterals as eT, type SourceWithLiterals as eU, type StylesPositionWithLiterals as eV, type MapTypeWithLiterals as eW, type ViewRoleWithLiterals as eX, type VoteRoleWithLiterals as eY, type PollLayoutTypeWithLiterals as eZ, type PollLayoutDirectionWithLiterals as e_, type PagingMetadataV2 as ea, type ListCategoriesForItemRequest as eb, type ListCategoriesForItemsRequest as ec, type MapItemToCategories as ed, type ListTreesRequest as ee, type MoveItemInCategoryRequest as ef, type MoveItemInCategoryResponse as eg, type SetArrangedItemsRequest as eh, type GetArrangedItemsRequest as ei, type BulkSetItemCategoriesRequest as ej, type BulkSetItemCategoriesResponse as ek, type GetCategoriesTreeRequest as el, type GetCategoriesTreeResponse as em, type CategoryTreeNode as en, type DomainEvent as eo, type DomainEventBodyOneOf as ep, type EntityCreatedEvent as eq, type RestoreInfo as er, type EntityUpdatedEvent as es, type EntityDeletedEvent as et, type ActionEvent as eu, type Empty as ev, type MessageEnvelope as ew, type IdentificationData as ex, type IdentificationDataIdOneOf as ey, type BaseEventMetadata as ez, type SearchCategoriesResponse as f, type DecorationTypeWithLiterals as f0, type FontTypeWithLiterals as f1, type ImageStylesPositionWithLiterals as f2, type AspectRatioWithLiterals as f3, type ResizingWithLiterals as f4, type PlacementWithLiterals as f5, type TypeWithLiterals as f6, type AlignmentWithLiterals as f7, type LayoutWithLiterals as f8, type AppTypeWithLiterals as f9, onCategoryDeleted as fA, onCategoryItemAddedToCategory as fB, onCategoryItemRemovedFromCategory as fC, onCategoryItemsArrangedInCategory as fD, onCategoryUpdated as fE, createCategory as fF, getCategory as fG, updateCategory as fH, deleteCategory as fI, queryCategories as fJ, countCategories as fK, moveCategory as fL, bulkUpdateCategories as fM, updateCategoryVisibility as fN, bulkShowCategories as fO, bulkAddItemsToCategory as fP, bulkAddItemToCategories as fQ, bulkRemoveItemsFromCategory as fR, bulkRemoveItemFromCategories as fS, listItemsInCategory as fT, listCategoriesForItem as fU, listCategoriesForItems as fV, listTrees as fW, setArrangedItems as fX, getArrangedItems as fY, type InitialExpandedItemsWithLiterals as fa, type DirectionWithLiterals as fb, type VerticalAlignmentWithLiterals as fc, type NullValueWithLiterals as fd, type ScalingWithLiterals as fe, type ImagePositionWithLiterals as ff, type VerticalAlignmentAlignmentWithLiterals as fg, type ResponsivenessBehaviourWithLiterals as fh, type SingleEntityOpsRequestedFieldsWithLiterals as fi, type SortOrderWithLiterals as fj, type RequestedFieldsWithLiterals as fk, type SortTypeWithLiterals as fl, type SortDirectionWithLiterals as fm, type MissingValuesWithLiterals as fn, type ScalarTypeWithLiterals as fo, type NestedAggregationTypeWithLiterals as fp, type IntervalWithLiterals as fq, type AggregationTypeWithLiterals as fr, type ModeWithLiterals as fs, type PositionWithLiterals as ft, type MoveItemInCategoryRequestPositionWithLiterals as fu, type WebhookIdentityTypeWithLiterals as fv, type BulkSetItemCategoriesApplicationErrors as fw, type CommonSearchWithEntityContext as fx, onCategoryMoved as fy, onCategoryCreated as fz, type CountCategoriesOptions as g, type CountCategoriesResponse as h, type MoveCategoryResponse as i, type MoveCategoryApplicationErrors as j, type MaskedCategory as k, type BulkUpdateCategoriesResponse as l, type BulkUpdateCategoriesApplicationErrors as m, type UpdateCategoryVisibilityOptions as n, type UpdateCategoryVisibilityResponse as o, type UpdateCategoryVisibilityApplicationErrors as p, type BulkShowCategoriesOptions as q, type BulkShowCategoriesResponse as r, type BulkAddItemsToCategoryOptions as s, type BulkAddItemsToCategoryResponse as t, type BulkAddItemsToCategoryApplicationErrors as u, type BulkAddItemToCategoriesOptions as v, type BulkAddItemToCategoriesResponse as w, type BulkAddItemToCategoriesApplicationErrors as x, type BulkRemoveItemsFromCategoryOptions as y, type BulkRemoveItemsFromCategoryResponse 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,
|
|
3
|
-
export {
|
|
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, e as CategorySearch, S as SearchCategoriesOptions, f as SearchCategoriesResponse, g as CountCategoriesOptions, h as CountCategoriesResponse, M as MoveCategoryOptions, i as MoveCategoryResponse, j as MoveCategoryApplicationErrors, k as MaskedCategory, B as BulkUpdateCategoriesOptions, l as BulkUpdateCategoriesResponse, m as BulkUpdateCategoriesApplicationErrors, n as UpdateCategoryVisibilityOptions, o as UpdateCategoryVisibilityResponse, p as UpdateCategoryVisibilityApplicationErrors, q as BulkShowCategoriesOptions, r as BulkShowCategoriesResponse, I as ItemReference, s as BulkAddItemsToCategoryOptions, t as BulkAddItemsToCategoryResponse, u as BulkAddItemsToCategoryApplicationErrors, v as BulkAddItemToCategoriesOptions, w as BulkAddItemToCategoriesResponse, x as BulkAddItemToCategoriesApplicationErrors, y as BulkRemoveItemsFromCategoryOptions, z as BulkRemoveItemsFromCategoryResponse, A as BulkRemoveItemsFromCategoryApplicationErrors, E as BulkRemoveItemFromCategoriesOptions, F as BulkRemoveItemFromCategoriesResponse, H as BulkRemoveItemFromCategoriesApplicationErrors, L as ListItemsInCategoryOptions, J as ListItemsInCategoryResponse, K as ListCategoriesForItemOptions, N as ListCategoriesForItemResponse, O as ListCategoriesForItemsOptions, P as ListCategoriesForItemsResponse, Q as ListTreesResponse, R as SetArrangedItemsOptions, V as SetArrangedItemsResponse, W as SetArrangedItemsApplicationErrors, X as GetArrangedItemsResponse, Y as CategoryMovedEnvelope, Z as CategoryCreatedEnvelope, _ as CategoryDeletedEnvelope, $ as CategoryItemAddedToCategoryEnvelope, a0 as CategoryItemRemovedFromCategoryEnvelope, a1 as CategoryItemsArrangedInCategoryEnvelope, a2 as CategoryUpdatedEnvelope, a3 as CursorQuery, a4 as QueryCategoriesOptions, a5 as typedQueryCategories, a6 as CategoriesQueryBuilder } from './categories-v1-category-categories.universal-Dfp7ZNFJ.js';
|
|
3
|
+
export { eu as ActionEvent, dc as Aggregation, dq as AggregationData, dd as AggregationKindOneOf, dJ as AggregationResults, dK as AggregationResultsResultOneOf, dx as AggregationResultsScalarResult, aV as AggregationType, fr as AggregationTypeWithLiterals, aB as Alignment, f7 as AlignmentWithLiterals, c4 as AnchorData, cI as App, ca as AppEmbedData, cb as AppEmbedDataAppDataOneOf, aD as AppType, f9 as AppTypeWithLiterals, dW as ApplicationError, ax as AspectRatio, f3 as AspectRatioWithLiterals, cu as AudioData, bW as Background, bX as BackgroundBackgroundOneOf, cA as BackgroundImage, at as BackgroundType, e$ as BackgroundTypeWithLiterals, ez as BaseEventMetadata, cx as BlockquoteData, cc as BookingData, ba as Border, cs as BorderColors, a$ as Breadcrumb, a_ as BreadcrumbsInfo, dX as BulkActionMetadata, e4 as BulkAddItemToCategoriesRequest, e1 as BulkAddItemsToCategoryRequest, dU as BulkCategoriesResult, d_ as BulkDeleteCategoriesRequest, d$ as BulkDeleteCategoriesResponse, e0 as BulkDeleteCategoriesResponseBulkCategoriesResult, e5 as BulkItemToCategoriesResult, e2 as BulkItemsToCategoryResult, e7 as BulkRemoveItemFromCategoriesRequest, e6 as BulkRemoveItemsFromCategoryRequest, fw as BulkSetItemCategoriesApplicationErrors, eE as BulkSetItemCategoriesOptions, ej as BulkSetItemCategoriesRequest, ek as BulkSetItemCategoriesResponse, dZ as BulkShowCategoriesRequest, dT as BulkUpdateCategoriesRequest, cw as BulletedListData, b9 as ButtonData, aa as ButtonDataType, eI as ButtonDataTypeWithLiterals, ce as ButtonStyles, cy as CaptionData, ch as CardStyles, eB as CategoriesQueryResult, cN as CategoryMoved, eC as CategorySearchSpec, en as CategoryTreeNode, cr as CellStyle, bl as CodeBlockData, cn as CollapsibleListData, c5 as ColorData, bb as Colors, fx as CommonSearchWithEntityContext, d8 as CompactCategory, dR as CountCategoriesRequest, cT as CreateCategoryRequest, cU as CreateCategoryResponse, aj as Crop, eR as CropWithLiterals, d2 as CursorPaging, d4 as CursorPagingMetadata, d0 as CursorQueryPagingMethodOneOf, da as CursorSearch, db as CursorSearchPagingMethodOneOf, d5 as Cursors, cM as CustomTag, dk as DateHistogramAggregation, dF as DateHistogramResult, dH as DateHistogramResults, c2 as Decoration, c3 as DecorationDataOneOf, au as DecorationType, f0 as DecorationTypeWithLiterals, cZ as DeleteCategoryRequest, c_ as DeleteCategoryResponse, dL as DeprecatedSearchCategoriesWithOffsetRequest, dP as DeprecatedSearchCategoriesWithOffsetResponse, c0 as Design, cp as Dimensions, aF as Direction, fb as DirectionWithLiterals, bn as DividerData, af as DividerDataAlignment, eN as DividerDataAlignmentWithLiterals, cD as DocumentStyle, eo as DomainEvent, ep as DomainEventBodyOneOf, cl as EmbedData, ev as Empty, eq as EntityCreatedEvent, et as EntityDeletedEvent, es as EntityUpdatedEvent, cd as EventData, eA as EventMetadata, cF as ExtendedFields, cL as File, bo as FileData, bp as FileSource, bq as FileSourceDataOneOf, c8 as FontSizeData, av as FontType, f1 as FontTypeWithLiterals, bD as GIF, bC as GIFData, al as GIFType, eT as GIFTypeWithLiterals, bs as GalleryData, by as GalleryOptions, bz as GalleryOptionsLayout, ei as GetArrangedItemsRequest, el as GetCategoriesTreeRequest, em as GetCategoriesTreeResponse, cV as GetCategoryRequest, cW as GetCategoryResponse, bV as Gradient, dG as GroupByValueResults, bF as HTMLData, bG as HTMLDataDataOneOf, bE as HeadingData, bg as Height, ex as IdentificationData, ey as IdentificationDataIdOneOf, bu as Image, bH as ImageData, bJ as ImageDataStyles, aJ as ImagePosition, ff as ImagePositionWithLiterals, cf as ImageStyles, aw as ImageStylesPosition, f2 as ImageStylesPositionWithLiterals, df as IncludeMissingValuesOptions, aE as InitialExpandedItems, fa as InitialExpandedItemsWithLiterals, aU as Interval, fq as IntervalWithLiterals, cG as InvalidateCache, cH as InvalidateCacheGetByOneOf, bw as Item, cO as ItemAddedToCategory, bx as ItemDataOneOf, dV as ItemMetadata, e3 as ItemReferenceMetadata, cQ as ItemRemovedFromCategory, bA as ItemStyle, cP as ItemsAddedToCategory, cS as ItemsArrangedInCategory, cR as ItemsRemovedFromCategory, b2 as Keyword, aC as Layout, cB as LayoutCellData, cz as LayoutData, ah as LayoutType, eP as LayoutTypeWithLiterals, f8 as LayoutWithLiterals, ad as LineStyle, eL as LineStyleWithLiterals, bi as Link, c6 as LinkData, bj as LinkDataOneOf, bK as LinkPreviewData, bL as LinkPreviewDataStyles, eb as ListCategoriesForItemRequest, ec as ListCategoriesForItemsRequest, d6 as ListCompactCategoriesByIdsRequest, d7 as ListCompactCategoriesByIdsResponse, eD as ListItemsInCategoryOptionsPagingMethodOneOf, e8 as ListItemsInCategoryRequest, e9 as ListItemsInCategoryRequestPagingMethodOneOf, ee as ListTreesRequest, ct as ListValue, bM as MapData, ed as MapItemToCategories, bN as MapSettings, ao as MapType, eW as MapTypeWithLiterals, bt as Media, c7 as MentionData, ew as MessageEnvelope, cC as Metadata, aR as MissingValues, fn as MissingValuesWithLiterals, aW as Mode, fs as ModeWithLiterals, dS as MoveCategoryRequest, ef as MoveItemInCategoryRequest, aY as MoveItemInCategoryRequestPosition, fu as MoveItemInCategoryRequestPositionWithLiterals, eg as MoveItemInCategoryResponse, dn as NestedAggregation, dl as NestedAggregationItem, dm as NestedAggregationItemKindOneOf, dt as NestedAggregationResults, du as NestedAggregationResultsResultOneOf, aT as NestedAggregationType, fp as NestedAggregationTypeWithLiterals, dC as NestedResultValue, dD as NestedResultValueResultOneOf, dI as NestedResults, dy as NestedValueAggregationResult, b6 as Node, b7 as NodeDataOneOf, b8 as NodeStyle, a7 as NodeType, eF as NodeTypeWithLiterals, aH as NullValue, fd as NullValueWithLiterals, cm as Oembed, dM as OffsetSearch, dN as OffsetSearchPagingMethodOneOf, bR as Option, bZ as OptionDesign, bU as OptionLayout, cv as OrderedListData, ai as Orientation, eQ as OrientationWithLiterals, br as PDFSettings, cJ as Page, dO as Paging, dQ as PagingMetadata, ea as PagingMetadataV2, bO as ParagraphData, b0 as ParentCategory, bQ as Permissions, az as Placement, f5 as PlacementWithLiterals, ck as PlaybackOptions, bc as PluginContainerData, a9 as PluginContainerDataAlignment, eH as PluginContainerDataAlignmentWithLiterals, bd as PluginContainerDataWidth, be as PluginContainerDataWidthDataOneOf, b_ as Poll, bP as PollData, b$ as PollDataLayout, bY as PollDesign, bT as PollLayout, as as PollLayoutDirection, e_ as PollLayoutDirectionWithLiterals, ar as PollLayoutType, eZ as PollLayoutTypeWithLiterals, bS as PollSettings, aX as Position, ft as PositionWithLiterals, ci as PricingData, c$ as QueryCategoriesRequest, d3 as QueryCategoriesResponse, di as RangeAggregation, ds as RangeAggregationResult, de as RangeBucket, dA as RangeResult, dw as RangeResults, bk as Rel, aO as RequestedFields, fk as RequestedFieldsWithLiterals, ay as Resizing, f4 as ResizingWithLiterals, aL as ResponsivenessBehaviour, fh as ResponsivenessBehaviourWithLiterals, er as RestoreInfo, dE as Results, cg as RibbonStyles, b5 as RichContent, dj as ScalarAggregation, dB as ScalarResult, aS as ScalarType, fo as ScalarTypeWithLiterals, aI as Scaling, fe as ScalingWithLiterals, d9 as SearchCategoriesRequest, dp as SearchDetails, b1 as SeoSchema, eh as SetArrangedItemsRequest, b4 as Settings, aM as SingleEntityOpsRequestedFields, fi as SingleEntityOpsRequestedFieldsWithLiterals, aQ as SortDirection, fm as SortDirectionWithLiterals, aN as SortOrder, fj as SortOrderWithLiterals, aP as SortType, fl as SortTypeWithLiterals, d1 as Sorting, am as Source, eU as SourceWithLiterals, bf as Spoiler, c9 as SpoilerData, bh as Styles, bI as StylesBorder, an as StylesPosition, eV as StylesPositionWithLiterals, cq as TableCellData, co as TableData, b3 as Tag, ab as Target, eJ as TargetWithLiterals, ac as TextAlignment, eK as TextAlignmentWithLiterals, c1 as TextData, cE as TextNodeStyle, bm as TextStyle, bB as Thumbnails, ak as ThumbnailsAlignment, eS as ThumbnailsAlignmentWithLiterals, aA as Type, f6 as TypeWithLiterals, cK as URI, cX as UpdateCategoryRequest, cY as UpdateCategoryResponse, dY as UpdateCategoryVisibilityRequest, dg as ValueAggregation, dh as ValueAggregationOptionsOneOf, dr as ValueAggregationResult, dz as ValueResult, dv as ValueResults, aG as VerticalAlignment, aK as VerticalAlignmentAlignment, fg as VerticalAlignmentAlignmentWithLiterals, fc as VerticalAlignmentWithLiterals, bv as Video, cj as VideoData, ag as ViewMode, eO as ViewModeWithLiterals, ap as ViewRole, eX as ViewRoleWithLiterals, aq as VoteRole, eY as VoteRoleWithLiterals, aZ as WebhookIdentityType, fv as WebhookIdentityTypeWithLiterals, ae as Width, a8 as WidthType, eG as WidthTypeWithLiterals, eM as WidthWithLiterals } from './categories-v1-category-categories.universal-Dfp7ZNFJ.js';
|
|
4
4
|
|
|
5
5
|
declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
|
|
6
6
|
interface CreateCategorySignature {
|
|
@@ -49,21 +49,6 @@ interface DeleteCategorySignature {
|
|
|
49
49
|
__applicationErrorsType?: DeleteCategoryApplicationErrors;
|
|
50
50
|
}>;
|
|
51
51
|
}
|
|
52
|
-
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
53
|
-
interface QueryCategoriesSignature {
|
|
54
|
-
/**
|
|
55
|
-
* Retrieves a list of up to 1,000 categories, given the provided filtering, sorting, and cursor paging.
|
|
56
|
-
* Pass supported values to the `fields` array in the request to include those fields in the response.
|
|
57
|
-
*
|
|
58
|
-
* For field support for filters and sorting,
|
|
59
|
-
* see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/categories/supported-filters-and-sorting).
|
|
60
|
-
*
|
|
61
|
-
* To learn about working with _Query_ endpoints, see
|
|
62
|
-
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language),
|
|
63
|
-
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
64
|
-
*/
|
|
65
|
-
(options: QueryCategoriesOptions): CategoriesQueryBuilder;
|
|
66
|
-
}
|
|
67
52
|
declare function searchCategories$1(httpClient: HttpClient): SearchCategoriesSignature;
|
|
68
53
|
interface SearchCategoriesSignature {
|
|
69
54
|
/**
|
|
@@ -88,10 +73,8 @@ interface SearchCategoriesSignature {
|
|
|
88
73
|
* ## See also
|
|
89
74
|
*
|
|
90
75
|
* To learn about working with *Search* methods, see
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* and *Sorting and Paging*
|
|
94
|
-
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging)).
|
|
76
|
+
* [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language)
|
|
77
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging).
|
|
95
78
|
* @param - Search criteria including filter, sort, aggregations, and paging options.
|
|
96
79
|
*
|
|
97
80
|
* Refer to the [supported filters & sorting table](https://dev.wix.com/docs/sdk/backend-modules/categories/categories/search-categories) (SDK)
|
|
@@ -269,11 +252,14 @@ declare const onCategoryItemRemovedFromCategory$1: EventDefinition<CategoryItemR
|
|
|
269
252
|
declare const onCategoryItemsArrangedInCategory$1: EventDefinition<CategoryItemsArrangedInCategoryEnvelope, "wix.categories.v1.category_items_arranged_in_category">;
|
|
270
253
|
declare const onCategoryUpdated$1: EventDefinition<CategoryUpdatedEnvelope, "wix.categories.v1.category_updated">;
|
|
271
254
|
|
|
255
|
+
declare function customQueryCategories(httpClient: HttpClient): {
|
|
256
|
+
(query: CursorQuery, options: QueryCategoriesOptions): ReturnType<typeof typedQueryCategories>;
|
|
257
|
+
(options: QueryCategoriesOptions): CategoriesQueryBuilder;
|
|
258
|
+
};
|
|
272
259
|
declare const createCategory: MaybeContext<BuildRESTFunction<typeof createCategory$1> & typeof createCategory$1>;
|
|
273
260
|
declare const getCategory: MaybeContext<BuildRESTFunction<typeof getCategory$1> & typeof getCategory$1>;
|
|
274
261
|
declare const updateCategory: MaybeContext<BuildRESTFunction<typeof updateCategory$1> & typeof updateCategory$1>;
|
|
275
262
|
declare const deleteCategory: MaybeContext<BuildRESTFunction<typeof deleteCategory$1> & typeof deleteCategory$1>;
|
|
276
|
-
declare const queryCategories: MaybeContext<BuildRESTFunction<typeof queryCategories$1> & typeof queryCategories$1>;
|
|
277
263
|
declare const searchCategories: MaybeContext<BuildRESTFunction<typeof searchCategories$1> & typeof searchCategories$1>;
|
|
278
264
|
declare const countCategories: MaybeContext<BuildRESTFunction<typeof countCategories$1> & typeof countCategories$1>;
|
|
279
265
|
declare const moveCategory: MaybeContext<BuildRESTFunction<typeof moveCategory$1> & typeof moveCategory$1>;
|
|
@@ -290,6 +276,7 @@ declare const listCategoriesForItems: MaybeContext<BuildRESTFunction<typeof list
|
|
|
290
276
|
declare const listTrees: MaybeContext<BuildRESTFunction<typeof listTrees$1> & typeof listTrees$1>;
|
|
291
277
|
declare const setArrangedItems: MaybeContext<BuildRESTFunction<typeof setArrangedItems$1> & typeof setArrangedItems$1>;
|
|
292
278
|
declare const getArrangedItems: MaybeContext<BuildRESTFunction<typeof getArrangedItems$1> & typeof getArrangedItems$1>;
|
|
279
|
+
declare const queryCategories: MaybeContext<BuildRESTFunction<typeof customQueryCategories> & typeof customQueryCategories>;
|
|
293
280
|
/**
|
|
294
281
|
* Triggered when a category is moved.
|
|
295
282
|
*/
|
|
@@ -313,4 +300,4 @@ declare const onCategoryItemsArrangedInCategory: BuildEventDefinition<typeof onC
|
|
|
313
300
|
/** */
|
|
314
301
|
declare const onCategoryUpdated: BuildEventDefinition<typeof onCategoryUpdated$1> & typeof onCategoryUpdated$1;
|
|
315
302
|
|
|
316
|
-
export { BulkAddItemToCategoriesApplicationErrors, BulkAddItemToCategoriesOptions, BulkAddItemToCategoriesResponse, BulkAddItemsToCategoryApplicationErrors, BulkAddItemsToCategoryOptions, BulkAddItemsToCategoryResponse, BulkRemoveItemFromCategoriesApplicationErrors, BulkRemoveItemFromCategoriesOptions, BulkRemoveItemFromCategoriesResponse, BulkRemoveItemsFromCategoryApplicationErrors, BulkRemoveItemsFromCategoryOptions, BulkRemoveItemsFromCategoryResponse, BulkShowCategoriesOptions, BulkShowCategoriesResponse, BulkUpdateCategoriesApplicationErrors, BulkUpdateCategoriesOptions, BulkUpdateCategoriesResponse, CategoriesQueryBuilder, Category, CategoryCreatedEnvelope, CategoryDeletedEnvelope, CategoryItemAddedToCategoryEnvelope, CategoryItemRemovedFromCategoryEnvelope, CategoryItemsArrangedInCategoryEnvelope, CategoryMovedEnvelope, CategorySearch, CategoryUpdatedEnvelope, CountCategoriesOptions, CountCategoriesResponse, CreateCategoryApplicationErrors, CreateCategoryOptions, DeleteCategoryApplicationErrors, GetArrangedItemsResponse, GetCategoryOptions, ItemReference, ListCategoriesForItemOptions, ListCategoriesForItemResponse, ListCategoriesForItemsOptions, ListCategoriesForItemsResponse, ListItemsInCategoryOptions, ListItemsInCategoryResponse, ListTreesResponse, MaskedCategory, MoveCategoryApplicationErrors, MoveCategoryOptions, MoveCategoryResponse, QueryCategoriesOptions, SearchCategoriesOptions, SearchCategoriesResponse, SetArrangedItemsApplicationErrors, SetArrangedItemsOptions, SetArrangedItemsResponse, TreeReference, UpdateCategory, UpdateCategoryApplicationErrors, UpdateCategoryOptions, UpdateCategoryVisibilityApplicationErrors, UpdateCategoryVisibilityOptions, UpdateCategoryVisibilityResponse, bulkAddItemToCategories, bulkAddItemsToCategory, bulkRemoveItemFromCategories, bulkRemoveItemsFromCategory, bulkShowCategories, bulkUpdateCategories, countCategories, createCategory, deleteCategory, getArrangedItems, getCategory, listCategoriesForItem, listCategoriesForItems, listItemsInCategory, listTrees, moveCategory, onCategoryCreated, onCategoryDeleted, onCategoryItemAddedToCategory, onCategoryItemRemovedFromCategory, onCategoryItemsArrangedInCategory, onCategoryMoved, onCategoryUpdated, queryCategories, searchCategories, setArrangedItems, updateCategory, updateCategoryVisibility };
|
|
303
|
+
export { BulkAddItemToCategoriesApplicationErrors, BulkAddItemToCategoriesOptions, BulkAddItemToCategoriesResponse, BulkAddItemsToCategoryApplicationErrors, BulkAddItemsToCategoryOptions, BulkAddItemsToCategoryResponse, BulkRemoveItemFromCategoriesApplicationErrors, BulkRemoveItemFromCategoriesOptions, BulkRemoveItemFromCategoriesResponse, BulkRemoveItemsFromCategoryApplicationErrors, BulkRemoveItemsFromCategoryOptions, BulkRemoveItemsFromCategoryResponse, BulkShowCategoriesOptions, BulkShowCategoriesResponse, BulkUpdateCategoriesApplicationErrors, BulkUpdateCategoriesOptions, BulkUpdateCategoriesResponse, CategoriesQueryBuilder, Category, CategoryCreatedEnvelope, CategoryDeletedEnvelope, CategoryItemAddedToCategoryEnvelope, CategoryItemRemovedFromCategoryEnvelope, CategoryItemsArrangedInCategoryEnvelope, CategoryMovedEnvelope, CategorySearch, CategoryUpdatedEnvelope, CountCategoriesOptions, CountCategoriesResponse, CreateCategoryApplicationErrors, CreateCategoryOptions, CursorQuery, DeleteCategoryApplicationErrors, GetArrangedItemsResponse, GetCategoryOptions, ItemReference, ListCategoriesForItemOptions, ListCategoriesForItemResponse, ListCategoriesForItemsOptions, ListCategoriesForItemsResponse, ListItemsInCategoryOptions, ListItemsInCategoryResponse, ListTreesResponse, MaskedCategory, MoveCategoryApplicationErrors, MoveCategoryOptions, MoveCategoryResponse, QueryCategoriesOptions, SearchCategoriesOptions, SearchCategoriesResponse, SetArrangedItemsApplicationErrors, SetArrangedItemsOptions, SetArrangedItemsResponse, TreeReference, UpdateCategory, UpdateCategoryApplicationErrors, UpdateCategoryOptions, UpdateCategoryVisibilityApplicationErrors, UpdateCategoryVisibilityOptions, UpdateCategoryVisibilityResponse, bulkAddItemToCategories, bulkAddItemsToCategory, bulkRemoveItemFromCategories, bulkRemoveItemsFromCategory, bulkShowCategories, bulkUpdateCategories, countCategories, createCategory, deleteCategory, getArrangedItems, getCategory, listCategoriesForItem, listCategoriesForItems, listItemsInCategory, listTrees, moveCategory, onCategoryCreated, onCategoryDeleted, onCategoryItemAddedToCategory, onCategoryItemRemovedFromCategory, onCategoryItemsArrangedInCategory, onCategoryMoved, onCategoryUpdated, queryCategories, searchCategories, setArrangedItems, updateCategory, updateCategoryVisibility };
|
package/build/cjs/index.js
CHANGED
|
@@ -2119,6 +2119,40 @@ function queryCategories2(options) {
|
|
|
2119
2119
|
transformationPaths: {}
|
|
2120
2120
|
});
|
|
2121
2121
|
}
|
|
2122
|
+
async function typedQueryCategories(query, options) {
|
|
2123
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2124
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
2125
|
+
{ query, ...options },
|
|
2126
|
+
[]
|
|
2127
|
+
);
|
|
2128
|
+
const reqOpts = queryCategories(payload);
|
|
2129
|
+
sideEffects?.onSiteCall?.();
|
|
2130
|
+
try {
|
|
2131
|
+
const result = await httpClient.request(reqOpts);
|
|
2132
|
+
sideEffects?.onSuccess?.(result);
|
|
2133
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
2134
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
2135
|
+
{
|
|
2136
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
2137
|
+
paths: [{ path: "categories.image" }]
|
|
2138
|
+
}
|
|
2139
|
+
]),
|
|
2140
|
+
["categories.richContentDescription"]
|
|
2141
|
+
);
|
|
2142
|
+
} catch (err) {
|
|
2143
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2144
|
+
err,
|
|
2145
|
+
{
|
|
2146
|
+
spreadPathsToArguments: {},
|
|
2147
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
2148
|
+
singleArgumentUnchanged: false
|
|
2149
|
+
},
|
|
2150
|
+
["query", "options"]
|
|
2151
|
+
);
|
|
2152
|
+
sideEffects?.onError?.(err);
|
|
2153
|
+
throw transformedError;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2122
2156
|
async function searchCategories2(search, options) {
|
|
2123
2157
|
const { httpClient, sideEffects } = arguments[2];
|
|
2124
2158
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -2771,6 +2805,14 @@ function queryCategories3(httpClient) {
|
|
|
2771
2805
|
{ httpClient }
|
|
2772
2806
|
);
|
|
2773
2807
|
}
|
|
2808
|
+
function typedQueryCategories2(httpClient) {
|
|
2809
|
+
return (query, options) => typedQueryCategories(
|
|
2810
|
+
query,
|
|
2811
|
+
options,
|
|
2812
|
+
// @ts-ignore
|
|
2813
|
+
{ httpClient }
|
|
2814
|
+
);
|
|
2815
|
+
}
|
|
2774
2816
|
function searchCategories3(httpClient) {
|
|
2775
2817
|
return (search, options) => searchCategories2(
|
|
2776
2818
|
search,
|
|
@@ -3199,11 +3241,22 @@ var onCategoryUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
3199
3241
|
// src/categories-v1-category-categories.context.ts
|
|
3200
3242
|
var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
3201
3243
|
var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
|
|
3244
|
+
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
3245
|
+
function customQueryCategories(httpClient) {
|
|
3246
|
+
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
3247
|
+
builderQueryFunction: (options) => queryCategories3(httpClient)(options),
|
|
3248
|
+
typedQueryFunction: (query, options) => typedQueryCategories2(httpClient)(query, options),
|
|
3249
|
+
hasOptionsParameter: true
|
|
3250
|
+
});
|
|
3251
|
+
function overloadedQuery(queryOrOptions, options) {
|
|
3252
|
+
return router(...arguments);
|
|
3253
|
+
}
|
|
3254
|
+
return overloadedQuery;
|
|
3255
|
+
}
|
|
3202
3256
|
var createCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createCategory3);
|
|
3203
3257
|
var getCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getCategory3);
|
|
3204
3258
|
var updateCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateCategory3);
|
|
3205
3259
|
var deleteCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteCategory3);
|
|
3206
|
-
var queryCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryCategories3);
|
|
3207
3260
|
var searchCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchCategories3);
|
|
3208
3261
|
var countCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(countCategories3);
|
|
3209
3262
|
var moveCategory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(moveCategory3);
|
|
@@ -3221,6 +3274,7 @@ var listTrees4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(list
|
|
|
3221
3274
|
var setArrangedItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setArrangedItems3);
|
|
3222
3275
|
var getArrangedItems4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getArrangedItems3);
|
|
3223
3276
|
var bulkSetItemCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkSetItemCategories3);
|
|
3277
|
+
var queryCategories4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryCategories);
|
|
3224
3278
|
var onCategoryMoved2 = (0, import_event_definition_modules.createEventModule)(onCategoryMoved);
|
|
3225
3279
|
var onCategoryCreated2 = (0, import_event_definition_modules.createEventModule)(onCategoryCreated);
|
|
3226
3280
|
var onCategoryDeleted2 = (0, import_event_definition_modules.createEventModule)(onCategoryDeleted);
|