@wix/auto_sdk_stores_read-only-variants-v-3 1.0.34 → 1.0.35
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/index.d.ts +10 -16
- package/build/cjs/index.js +58 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +41 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DcFETy-X.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-CodxHY1C.d.ts} +8 -2
- package/build/es/index.d.mts +10 -16
- package/build/es/index.mjs +58 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +39 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DcFETy-X.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-CodxHY1C.d.mts} +8 -2
- package/build/internal/cjs/index.d.ts +10 -16
- package/build/internal/cjs/index.js +58 -1
- 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 +41 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DQfmlHWO.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BCXsI96S.d.ts} +8 -2
- package/build/internal/es/index.d.mts +10 -16
- package/build/internal/es/index.mjs +58 -1
- 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 +39 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DQfmlHWO.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BCXsI96S.d.mts} +8 -2
- package/package.json +3 -3
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aW as QueryVariantsRequest$1, a_ as QueryVariantsResponse$1, b1 as SearchVariantsRequest$1, a as SearchVariantsResponse$1 } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-CodxHY1C.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchSpec, Search } from '@wix/sdk-types';
|
|
1
|
+
import { SearchSpec, Search, NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A read-only representation of a product variant with enhanced query capabilities.
|
|
@@ -5131,6 +5131,12 @@ interface VariantsQueryBuilder {
|
|
|
5131
5131
|
skipTo: (cursor: string) => VariantsQueryBuilder;
|
|
5132
5132
|
find: () => Promise<VariantsQueryResult>;
|
|
5133
5133
|
}
|
|
5134
|
+
/**
|
|
5135
|
+
* @hidden
|
|
5136
|
+
* @fqn com.wix.stores.catalog.product.variants.reader.api.v3.ProductVariantsReader.QueryVariants
|
|
5137
|
+
* @requiredField query
|
|
5138
|
+
*/
|
|
5139
|
+
declare function typedQueryVariants(query: CursorQuery, options?: QueryVariantsOptions): Promise<NonNullablePaths<QueryVariantsResponse, `variants` | `variants.${number}.physicalProperties.pricePerUnit.value` | `variants.${number}.digitalProperties.digitalFile._id` | `variants.${number}.digitalProperties.digitalFile.fileName` | `variants.${number}.digitalProperties.digitalFile.fileType` | `variants.${number}._id` | `variants.${number}.price.actualPrice.amount` | `variants.${number}.revenueDetails.profitMargin` | `variants.${number}.media._id` | `variants.${number}.media.url` | `variants.${number}.media.mediaType` | `variants.${number}.media.thumbnail.url` | `variants.${number}.media.thumbnail.height` | `variants.${number}.media.thumbnail.width` | `variants.${number}.media.uploadId` | `variants.${number}.inventoryStatus.inStock` | `variants.${number}.inventoryStatus.preorderEnabled` | `variants.${number}.productData.productId` | `variants.${number}.productData.productType`, 6>>;
|
|
5134
5140
|
interface SearchVariantsOptions {
|
|
5135
5141
|
/**
|
|
5136
5142
|
* List of additional fields to include in the response.
|
|
@@ -5312,4 +5318,4 @@ type ReadOnlyVariantSearch = {
|
|
|
5312
5318
|
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
5313
5319
|
};
|
|
5314
5320
|
|
|
5315
|
-
export { DecorationType as $, AggregationType as A, ButtonDataType as B, CommonSortOrder as C, DateHistogramAggregationInterval as D, Crop as E, ThumbnailsAlignment as F, GIFType as G, Source as H, InternalRowState as I, StylesPosition as J, MapType as K, LineStyle as L, MeasurementUnit as M, NestedAggregationType as N, Orientation as O, ProductMediaMediaType as P, type QueryVariantsOptions as Q, type ReadOnlyVariantSearch as R, type SearchVariantsOptions as S, Target as T, ViewRole as U, type VariantsQueryBuilder as V, WeightUnit as W, VoteRole as X, PollLayoutType as Y, PollLayoutDirection as Z, BackgroundType as _, type SearchVariantsResponse as a, type Cursors as a$, FontType as a0, Position as a1, AspectRatio as a2, Resizing as a3, Placement as a4, Type as a5, Alignment as a6, Layout as a7, AppType as a8, InitialExpandedItems as a9, type V3RevenueDetails as aA, type V3ProductMedia as aB, type V3ProductMediaSetByOneOf as aC, type V3ProductMediaMediaOneOf as aD, type CommonVideoResolution as aE, type V3Thumbnail as aF, type V3VariantPhysicalProperties as aG, type V3PricePerUnit as aH, type V3PricePerUnitSettings as aI, type V3VariantDigitalProperties as aJ, type V3SecuredMedia as aK, type V3SubscriptionPricesInfo as aL, type V3SubscriptionPrice as aM, type V3SubscriptionPricePerUnit as aN, type V3InventoryStatus as aO, type ProductFields as aP, type ProductFieldsTypedPropertiesOneOf as aQ, type V3PhysicalProperties as aR, type V3WeightMeasurementUnitInfo as aS, type InternalMetadata as aT, type QueryVariantsRequest as aU, type CursorQuery as aV, type CursorQueryPagingMethodOneOf as aW, type Sorting as aX, type CursorPaging as aY, type QueryVariantsResponse as aZ, type CursorPagingMetadata as a_, Direction as aa, VerticalAlignment as ab, NullValue as ac, Scaling as ad, ImagePosition as ae, VerticalAlignmentAlignment as af, ResponsivenessBehaviour as ag, MediaType as ah, ProductOptionRenderType as ai, ChoiceType as aj, ModifierRenderType as ak, AvailabilityStatus as al, PreorderStatus as am, ProductPreorderAvailability as an, ProductType as ao, FileType as ap, SubscriptionFrequency as aq, DiscountType as ar, WebhookIdentityType as as, type ReadOnlyVariant as at, type ReadOnlyVariantTypedPropertiesOneOf as au, type V3OptionChoice as av, type V3OptionChoiceIds as aw, type V3OptionChoiceNames as ax, type V3PriceInfo as ay, type V3FixedMonetaryAmount as az, SecuredMediaFileType as b, type Node as b$, type SearchVariantsRequest as b0, type CursorSearch as b1, type CursorSearchPagingMethodOneOf as b2, type Aggregation as b3, type AggregationKindOneOf as b4, type RangeBucket as b5, type IncludeMissingValuesOptions as b6, type ValueAggregation as b7, type ValueAggregationOptionsOneOf as b8, type RangeAggregation as b9, type AggregationResultsResultOneOf as bA, type DeprecatedSearchVariantsWithOffsetRequest as bB, type PlatformOffsetSearch as bC, type PlatformOffsetSearchPagingMethodOneOf as bD, type CommonSorting as bE, type CommonAggregation as bF, type CommonAggregationKindOneOf as bG, type RangeAggregationRangeBucket as bH, type ValueAggregationIncludeMissingValuesOptions as bI, type AggregationValueAggregation as bJ, type AggregationValueAggregationOptionsOneOf as bK, type AggregationRangeAggregation as bL, type AggregationScalarAggregation as bM, type AggregationDateHistogramAggregation as bN, type NestedAggregationNestedAggregationItem as bO, type NestedAggregationNestedAggregationItemKindOneOf as bP, type AggregationNestedAggregation as bQ, type GroupByAggregation as bR, type GroupByAggregationKindOneOf as bS, type CommonSearchDetails as bT, type PlatformPaging as bU, type DeprecatedSearchVariantsWithOffsetResponse as bV, type PagingMetadata as bW, type MigrateProductVariantsRequest as bX, type Product as bY, type ProductTypedPropertiesOneOf as bZ, type RichContent as b_, type ScalarAggregation as ba, type DateHistogramAggregation as bb, type NestedAggregationItem as bc, type NestedAggregationItemKindOneOf as bd, type NestedAggregation as be, type SearchDetails as bf, type AggregationData as bg, type ValueAggregationResult as bh, type RangeAggregationResult as bi, type NestedAggregationResults as bj, type NestedAggregationResultsResultOneOf as bk, type ValueResults as bl, type RangeResults as bm, type AggregationResultsScalarResult as bn, type NestedValueAggregationResult as bo, type ValueResult as bp, type RangeResult as bq, type ScalarResult as br, type NestedResultValue as bs, type NestedResultValueResultOneOf as bt, type Results as bu, type DateHistogramResult as bv, type GroupByValueResults as bw, type DateHistogramResults as bx, type NestedResults as by, type AggregationResults as bz, V3ProductType as c, type LinkData as c$, type NodeDataOneOf as c0, type NodeStyle as c1, type ButtonData as c2, type Border as c3, type Colors as c4, type PluginContainerData as c5, type PluginContainerDataWidth as c6, type PluginContainerDataWidthDataOneOf as c7, type Spoiler as c8, type Height as c9, type ImageData as cA, type StylesBorder as cB, type ImageDataStyles as cC, type LinkPreviewData as cD, type LinkPreviewDataStyles as cE, type MapData as cF, type MapSettings as cG, type ParagraphData as cH, type PollData as cI, type Permissions as cJ, type Option as cK, type PollSettings as cL, type PollLayout as cM, type OptionLayout as cN, type Gradient as cO, type Background as cP, type BackgroundBackgroundOneOf as cQ, type PollDesign as cR, type OptionDesign as cS, type Poll as cT, type PollDataLayout as cU, type Design as cV, type TextData as cW, type Decoration as cX, type DecorationDataOneOf as cY, type AnchorData as cZ, type ColorData as c_, type Styles as ca, type Link as cb, type LinkDataOneOf as cc, type Rel as cd, type CodeBlockData as ce, type TextStyle as cf, type DividerData as cg, type FileData as ch, type FileSource as ci, type FileSourceDataOneOf as cj, type PDFSettings as ck, type GalleryData as cl, type V1Media as cm, type Image as cn, type Video as co, type Item as cp, type ItemDataOneOf as cq, type GalleryOptions as cr, type GalleryOptionsLayout as cs, type ItemStyle as ct, type Thumbnails as cu, type GIFData as cv, type GIF as cw, type HeadingData as cx, type HTMLData as cy, type HTMLDataDataOneOf as cz, SortOrder as d, type ProductCategoryIdsInfo as d$, type MentionData as d0, type FontSizeData as d1, type SpoilerData as d2, type AppEmbedData as d3, type AppEmbedDataAppDataOneOf as d4, type BookingData as d5, type EventData as d6, type ButtonStyles as d7, type ImageStyles as d8, type RibbonStyles as d9, type ProductMedia as dA, type ProductMediaSetByOneOf as dB, type ProductMediaMediaOneOf as dC, type VideoResolution as dD, type Thumbnail as dE, type MediaItemsInfo as dF, type SeoSchema as dG, type Keyword as dH, type Tag as dI, type Settings as dJ, type ConnectedOption as dK, type ConnectedOptionOptionSettingsOneOf as dL, type ChoicesSettings as dM, type ConnectedOptionChoice as dN, type ConnectedOptionChoiceValueOneOf as dO, type MultipleColors as dP, type ConnectedModifier as dQ, type ConnectedModifierModifierSettingsOneOf as dR, type FreeTextSettings as dS, type ModifierChoicesSettings as dT, type ConnectedModifierChoice as dU, type ConnectedModifierChoiceValueOneOf as dV, type Brand as dW, type InfoSection as dX, type Ribbon as dY, type ProductCategoriesInfo as dZ, type ProductCategory as d_, type CardStyles as da, type PricingData as db, type VideoData as dc, type PlaybackOptions as dd, type EmbedData as de, type Oembed as df, type CollapsibleListData as dg, type TableData as dh, type Dimensions as di, type TableCellData as dj, type CellStyle as dk, type BorderColors as dl, type ListValue as dm, type AudioData as dn, type OrderedListData as dp, type BulletedListData as dq, type BlockquoteData as dr, type CaptionData as ds, type LayoutData as dt, type BackgroundImage as du, type LayoutCellData as dv, type Metadata as dw, type DocumentStyle as dx, type TextNodeStyle as dy, type Media as dz, RequestedFields as e, type NestedAggregationTypeWithLiterals as e$, type PriceRange as e0, type FixedMonetaryAmount as e1, type Inventory as e2, type PhysicalProperties as e3, type PricePerUnitSettings as e4, type WeightRange as e5, type PricePerUnitRange as e6, type PricePerUnitRangePricePerUnit as e7, type WeightMeasurementUnitInfo as e8, type BreadcrumbsInfo as e9, type RecoverProductVariantsRequest as eA, type RecoverProductVariantsResponse as eB, type DomainEvent as eC, type DomainEventBodyOneOf as eD, type EntityCreatedEvent as eE, type RestoreInfo as eF, type EntityUpdatedEvent as eG, type EntityDeletedEvent as eH, type ActionEvent as eI, type Empty as eJ, type MessageEnvelope as eK, type IdentificationData as eL, type IdentificationDataIdOneOf as eM, type VariantsQueryResult as eN, type ReadOnlyVariantSearchSpec as eO, type ProductMediaMediaTypeWithLiterals as eP, type MeasurementUnitWithLiterals as eQ, type SecuredMediaFileTypeWithLiterals as eR, type V3ProductTypeWithLiterals as eS, type WeightUnitWithLiterals as eT, type InternalRowStateWithLiterals as eU, type SortOrderWithLiterals as eV, type RequestedFieldsWithLiterals as eW, type SortTypeWithLiterals as eX, type SortDirectionWithLiterals as eY, type MissingValuesWithLiterals as eZ, type ScalarTypeWithLiterals as e_, type BreadCrumb as ea, type VariantsInfo as eb, type Variant as ec, type VariantTypedPropertiesOneOf as ed, type OptionChoice as ee, type OptionChoiceIds as ef, type OptionChoiceNames as eg, type PriceInfo as eh, type RevenueDetails as ei, type VariantPhysicalProperties as ej, type PricePerUnit as ek, type VariantDigitalProperties as el, type SecuredMedia as em, type SubscriptionPricesInfo as en, type SubscriptionPrice as eo, type SubscriptionPricePerUnit as ep, type InventoryStatus as eq, type ExtendedFields as er, type SubscriptionDetails as es, type Subscription as et, type SubscriptionCyclesOneOf as eu, type SubscriptionDiscount as ev, type SubscriptionDiscountDiscountOneOf as ew, type VariantSummary as ex, type MinVariantPriceInfo as ey, type MigrateProductVariantsResponse as ez, SortType as f, type DiscountTypeWithLiterals as f$, type IntervalWithLiterals as f0, type AggregationTypeWithLiterals as f1, type ModeWithLiterals as f2, type CommonSortOrderWithLiterals as f3, type ValueAggregationSortTypeWithLiterals as f4, type ValueAggregationSortDirectionWithLiterals as f5, type ValueAggregationMissingValuesWithLiterals as f6, type CommonScalarTypeWithLiterals as f7, type NestedAggregationNestedAggregationTypeWithLiterals as f8, type DateHistogramAggregationIntervalWithLiterals as f9, type FontTypeWithLiterals as fA, type PositionWithLiterals as fB, type AspectRatioWithLiterals as fC, type ResizingWithLiterals as fD, type PlacementWithLiterals as fE, type TypeWithLiterals as fF, type AlignmentWithLiterals as fG, type LayoutWithLiterals as fH, type AppTypeWithLiterals as fI, type InitialExpandedItemsWithLiterals as fJ, type DirectionWithLiterals as fK, type VerticalAlignmentWithLiterals as fL, type NullValueWithLiterals as fM, type ScalingWithLiterals as fN, type ImagePositionWithLiterals as fO, type VerticalAlignmentAlignmentWithLiterals as fP, type ResponsivenessBehaviourWithLiterals as fQ, type MediaTypeWithLiterals as fR, type ProductOptionRenderTypeWithLiterals as fS, type ChoiceTypeWithLiterals as fT, type ModifierRenderTypeWithLiterals as fU, type AvailabilityStatusWithLiterals as fV, type PreorderStatusWithLiterals as fW, type ProductPreorderAvailabilityWithLiterals as fX, type ProductTypeWithLiterals as fY, type FileTypeWithLiterals as fZ, type SubscriptionFrequencyWithLiterals as f_, type CommonAggregationTypeWithLiterals as fa, type SearchDetailsModeWithLiterals as fb, type NodeTypeWithLiterals as fc, type WidthTypeWithLiterals as fd, type PluginContainerDataAlignmentWithLiterals as fe, type ButtonDataTypeWithLiterals as ff, type TargetWithLiterals as fg, type TextAlignmentWithLiterals as fh, type LineStyleWithLiterals as fi, type WidthWithLiterals as fj, type DividerDataAlignmentWithLiterals as fk, type ViewModeWithLiterals as fl, type LayoutTypeWithLiterals as fm, type OrientationWithLiterals as fn, type CropWithLiterals as fo, type ThumbnailsAlignmentWithLiterals as fp, type GIFTypeWithLiterals as fq, type SourceWithLiterals as fr, type StylesPositionWithLiterals as fs, type MapTypeWithLiterals as ft, type ViewRoleWithLiterals as fu, type VoteRoleWithLiterals as fv, type PollLayoutTypeWithLiterals as fw, type PollLayoutDirectionWithLiterals as fx, type BackgroundTypeWithLiterals as fy, type DecorationTypeWithLiterals as fz, SortDirection as g, type WebhookIdentityTypeWithLiterals as g0, type CommonSearchWithEntityContext as g1, queryVariants as g2, MissingValues as h, ScalarType as i, Interval as j, Mode as k, ValueAggregationSortType as l, ValueAggregationSortDirection as m, ValueAggregationMissingValues as n, CommonScalarType as o, NestedAggregationNestedAggregationType as p, CommonAggregationType as q, SearchDetailsMode as r, NodeType as s, WidthType as t, PluginContainerDataAlignment as u, TextAlignment as v, Width as w, DividerDataAlignment as x, ViewMode as y, LayoutType as z };
|
|
5321
|
+
export { PollLayoutDirection as $, AggregationType as A, ButtonDataType as B, type CursorQuery as C, DateHistogramAggregationInterval as D, ViewMode as E, LayoutType as F, Crop as G, ThumbnailsAlignment as H, InternalRowState as I, GIFType as J, Source as K, LineStyle as L, MeasurementUnit as M, NestedAggregationType as N, Orientation as O, ProductMediaMediaType as P, type QueryVariantsOptions as Q, type ReadOnlyVariantSearch as R, type SearchVariantsOptions as S, Target as T, StylesPosition as U, type VariantsQueryBuilder as V, WeightUnit as W, MapType as X, ViewRole as Y, VoteRole as Z, PollLayoutType as _, type SearchVariantsResponse as a, type CursorPagingMetadata as a$, BackgroundType as a0, DecorationType as a1, FontType as a2, Position as a3, AspectRatio as a4, Resizing as a5, Placement as a6, Type as a7, Alignment as a8, Layout as a9, type V3PriceInfo as aA, type V3FixedMonetaryAmount as aB, type V3RevenueDetails as aC, type V3ProductMedia as aD, type V3ProductMediaSetByOneOf as aE, type V3ProductMediaMediaOneOf as aF, type CommonVideoResolution as aG, type V3Thumbnail as aH, type V3VariantPhysicalProperties as aI, type V3PricePerUnit as aJ, type V3PricePerUnitSettings as aK, type V3VariantDigitalProperties as aL, type V3SecuredMedia as aM, type V3SubscriptionPricesInfo as aN, type V3SubscriptionPrice as aO, type V3SubscriptionPricePerUnit as aP, type V3InventoryStatus as aQ, type ProductFields as aR, type ProductFieldsTypedPropertiesOneOf as aS, type V3PhysicalProperties as aT, type V3WeightMeasurementUnitInfo as aU, type InternalMetadata as aV, type QueryVariantsRequest as aW, type CursorQueryPagingMethodOneOf as aX, type Sorting as aY, type CursorPaging as aZ, type QueryVariantsResponse as a_, AppType as aa, InitialExpandedItems as ab, Direction as ac, VerticalAlignment as ad, NullValue as ae, Scaling as af, ImagePosition as ag, VerticalAlignmentAlignment as ah, ResponsivenessBehaviour as ai, MediaType as aj, ProductOptionRenderType as ak, ChoiceType as al, ModifierRenderType as am, AvailabilityStatus as an, PreorderStatus as ao, ProductPreorderAvailability as ap, ProductType as aq, FileType as ar, SubscriptionFrequency as as, DiscountType as at, WebhookIdentityType as au, type ReadOnlyVariant as av, type ReadOnlyVariantTypedPropertiesOneOf as aw, type V3OptionChoice as ax, type V3OptionChoiceIds as ay, type V3OptionChoiceNames as az, SecuredMediaFileType as b, type RichContent as b$, type Cursors as b0, type SearchVariantsRequest as b1, type CursorSearch as b2, type CursorSearchPagingMethodOneOf as b3, type Aggregation as b4, type AggregationKindOneOf as b5, type RangeBucket as b6, type IncludeMissingValuesOptions as b7, type ValueAggregation as b8, type ValueAggregationOptionsOneOf as b9, type AggregationResults as bA, type AggregationResultsResultOneOf as bB, type DeprecatedSearchVariantsWithOffsetRequest as bC, type PlatformOffsetSearch as bD, type PlatformOffsetSearchPagingMethodOneOf as bE, type CommonSorting as bF, type CommonAggregation as bG, type CommonAggregationKindOneOf as bH, type RangeAggregationRangeBucket as bI, type ValueAggregationIncludeMissingValuesOptions as bJ, type AggregationValueAggregation as bK, type AggregationValueAggregationOptionsOneOf as bL, type AggregationRangeAggregation as bM, type AggregationScalarAggregation as bN, type AggregationDateHistogramAggregation as bO, type NestedAggregationNestedAggregationItem as bP, type NestedAggregationNestedAggregationItemKindOneOf as bQ, type AggregationNestedAggregation as bR, type GroupByAggregation as bS, type GroupByAggregationKindOneOf as bT, type CommonSearchDetails as bU, type PlatformPaging as bV, type DeprecatedSearchVariantsWithOffsetResponse as bW, type PagingMetadata as bX, type MigrateProductVariantsRequest as bY, type Product as bZ, type ProductTypedPropertiesOneOf as b_, type RangeAggregation as ba, type ScalarAggregation as bb, type DateHistogramAggregation as bc, type NestedAggregationItem as bd, type NestedAggregationItemKindOneOf as be, type NestedAggregation as bf, type SearchDetails as bg, type AggregationData as bh, type ValueAggregationResult as bi, type RangeAggregationResult as bj, type NestedAggregationResults as bk, type NestedAggregationResultsResultOneOf as bl, type ValueResults as bm, type RangeResults as bn, type AggregationResultsScalarResult as bo, type NestedValueAggregationResult as bp, type ValueResult as bq, type RangeResult as br, type ScalarResult as bs, type NestedResultValue as bt, type NestedResultValueResultOneOf as bu, type Results as bv, type DateHistogramResult as bw, type GroupByValueResults as bx, type DateHistogramResults as by, type NestedResults as bz, V3ProductType as c, type ColorData as c$, type Node as c0, type NodeDataOneOf as c1, type NodeStyle as c2, type ButtonData as c3, type Border as c4, type Colors as c5, type PluginContainerData as c6, type PluginContainerDataWidth as c7, type PluginContainerDataWidthDataOneOf as c8, type Spoiler as c9, type HTMLDataDataOneOf as cA, type ImageData as cB, type StylesBorder as cC, type ImageDataStyles as cD, type LinkPreviewData as cE, type LinkPreviewDataStyles as cF, type MapData as cG, type MapSettings as cH, type ParagraphData as cI, type PollData as cJ, type Permissions as cK, type Option as cL, type PollSettings as cM, type PollLayout as cN, type OptionLayout as cO, type Gradient as cP, type Background as cQ, type BackgroundBackgroundOneOf as cR, type PollDesign as cS, type OptionDesign as cT, type Poll as cU, type PollDataLayout as cV, type Design as cW, type TextData as cX, type Decoration as cY, type DecorationDataOneOf as cZ, type AnchorData as c_, type Height as ca, type Styles as cb, type Link as cc, type LinkDataOneOf as cd, type Rel as ce, type CodeBlockData as cf, type TextStyle as cg, type DividerData as ch, type FileData as ci, type FileSource as cj, type FileSourceDataOneOf as ck, type PDFSettings as cl, type GalleryData as cm, type V1Media as cn, type Image as co, type Video as cp, type Item as cq, type ItemDataOneOf as cr, type GalleryOptions as cs, type GalleryOptionsLayout as ct, type ItemStyle as cu, type Thumbnails as cv, type GIFData as cw, type GIF as cx, type HeadingData as cy, type HTMLData as cz, SortOrder as d, type ProductCategory as d$, type LinkData as d0, type MentionData as d1, type FontSizeData as d2, type SpoilerData as d3, type AppEmbedData as d4, type AppEmbedDataAppDataOneOf as d5, type BookingData as d6, type EventData as d7, type ButtonStyles as d8, type ImageStyles as d9, type Media as dA, type ProductMedia as dB, type ProductMediaSetByOneOf as dC, type ProductMediaMediaOneOf as dD, type VideoResolution as dE, type Thumbnail as dF, type MediaItemsInfo as dG, type SeoSchema as dH, type Keyword as dI, type Tag as dJ, type Settings as dK, type ConnectedOption as dL, type ConnectedOptionOptionSettingsOneOf as dM, type ChoicesSettings as dN, type ConnectedOptionChoice as dO, type ConnectedOptionChoiceValueOneOf as dP, type MultipleColors as dQ, type ConnectedModifier as dR, type ConnectedModifierModifierSettingsOneOf as dS, type FreeTextSettings as dT, type ModifierChoicesSettings as dU, type ConnectedModifierChoice as dV, type ConnectedModifierChoiceValueOneOf as dW, type Brand as dX, type InfoSection as dY, type Ribbon as dZ, type ProductCategoriesInfo as d_, type RibbonStyles as da, type CardStyles as db, type PricingData as dc, type VideoData as dd, type PlaybackOptions as de, type EmbedData as df, type Oembed as dg, type CollapsibleListData as dh, type TableData as di, type Dimensions as dj, type TableCellData as dk, type CellStyle as dl, type BorderColors as dm, type ListValue as dn, type AudioData as dp, type OrderedListData as dq, type BulletedListData as dr, type BlockquoteData as ds, type CaptionData as dt, type LayoutData as du, type BackgroundImage as dv, type LayoutCellData as dw, type Metadata as dx, type DocumentStyle as dy, type TextNodeStyle as dz, RequestedFields as e, type ScalarTypeWithLiterals as e$, type ProductCategoryIdsInfo as e0, type PriceRange as e1, type FixedMonetaryAmount as e2, type Inventory as e3, type PhysicalProperties as e4, type PricePerUnitSettings as e5, type WeightRange as e6, type PricePerUnitRange as e7, type PricePerUnitRangePricePerUnit as e8, type WeightMeasurementUnitInfo as e9, type MigrateProductVariantsResponse as eA, type RecoverProductVariantsRequest as eB, type RecoverProductVariantsResponse as eC, type DomainEvent as eD, type DomainEventBodyOneOf as eE, type EntityCreatedEvent as eF, type RestoreInfo as eG, type EntityUpdatedEvent as eH, type EntityDeletedEvent as eI, type ActionEvent as eJ, type Empty as eK, type MessageEnvelope as eL, type IdentificationData as eM, type IdentificationDataIdOneOf as eN, type VariantsQueryResult as eO, type ReadOnlyVariantSearchSpec as eP, type ProductMediaMediaTypeWithLiterals as eQ, type MeasurementUnitWithLiterals as eR, type SecuredMediaFileTypeWithLiterals as eS, type V3ProductTypeWithLiterals as eT, type WeightUnitWithLiterals as eU, type InternalRowStateWithLiterals as eV, type SortOrderWithLiterals as eW, type RequestedFieldsWithLiterals as eX, type SortTypeWithLiterals as eY, type SortDirectionWithLiterals as eZ, type MissingValuesWithLiterals as e_, type BreadcrumbsInfo as ea, type BreadCrumb as eb, type VariantsInfo as ec, type Variant as ed, type VariantTypedPropertiesOneOf as ee, type OptionChoice as ef, type OptionChoiceIds as eg, type OptionChoiceNames as eh, type PriceInfo as ei, type RevenueDetails as ej, type VariantPhysicalProperties as ek, type PricePerUnit as el, type VariantDigitalProperties as em, type SecuredMedia as en, type SubscriptionPricesInfo as eo, type SubscriptionPrice as ep, type SubscriptionPricePerUnit as eq, type InventoryStatus as er, type ExtendedFields as es, type SubscriptionDetails as et, type Subscription as eu, type SubscriptionCyclesOneOf as ev, type SubscriptionDiscount as ew, type SubscriptionDiscountDiscountOneOf as ex, type VariantSummary as ey, type MinVariantPriceInfo as ez, SortType as f, type SubscriptionFrequencyWithLiterals as f$, type NestedAggregationTypeWithLiterals as f0, type IntervalWithLiterals as f1, type AggregationTypeWithLiterals as f2, type ModeWithLiterals as f3, type CommonSortOrderWithLiterals as f4, type ValueAggregationSortTypeWithLiterals as f5, type ValueAggregationSortDirectionWithLiterals as f6, type ValueAggregationMissingValuesWithLiterals as f7, type CommonScalarTypeWithLiterals as f8, type NestedAggregationNestedAggregationTypeWithLiterals as f9, type DecorationTypeWithLiterals as fA, type FontTypeWithLiterals as fB, type PositionWithLiterals as fC, type AspectRatioWithLiterals as fD, type ResizingWithLiterals as fE, type PlacementWithLiterals as fF, type TypeWithLiterals as fG, type AlignmentWithLiterals as fH, type LayoutWithLiterals as fI, type AppTypeWithLiterals as fJ, type InitialExpandedItemsWithLiterals as fK, type DirectionWithLiterals as fL, type VerticalAlignmentWithLiterals as fM, type NullValueWithLiterals as fN, type ScalingWithLiterals as fO, type ImagePositionWithLiterals as fP, type VerticalAlignmentAlignmentWithLiterals as fQ, type ResponsivenessBehaviourWithLiterals as fR, type MediaTypeWithLiterals as fS, type ProductOptionRenderTypeWithLiterals as fT, type ChoiceTypeWithLiterals as fU, type ModifierRenderTypeWithLiterals as fV, type AvailabilityStatusWithLiterals as fW, type PreorderStatusWithLiterals as fX, type ProductPreorderAvailabilityWithLiterals as fY, type ProductTypeWithLiterals as fZ, type FileTypeWithLiterals as f_, type DateHistogramAggregationIntervalWithLiterals as fa, type CommonAggregationTypeWithLiterals as fb, type SearchDetailsModeWithLiterals as fc, type NodeTypeWithLiterals as fd, type WidthTypeWithLiterals as fe, type PluginContainerDataAlignmentWithLiterals as ff, type ButtonDataTypeWithLiterals as fg, type TargetWithLiterals as fh, type TextAlignmentWithLiterals as fi, type LineStyleWithLiterals as fj, type WidthWithLiterals as fk, type DividerDataAlignmentWithLiterals as fl, type ViewModeWithLiterals as fm, type LayoutTypeWithLiterals as fn, type OrientationWithLiterals as fo, type CropWithLiterals as fp, type ThumbnailsAlignmentWithLiterals as fq, type GIFTypeWithLiterals as fr, type SourceWithLiterals as fs, type StylesPositionWithLiterals as ft, type MapTypeWithLiterals as fu, type ViewRoleWithLiterals as fv, type VoteRoleWithLiterals as fw, type PollLayoutTypeWithLiterals as fx, type PollLayoutDirectionWithLiterals as fy, type BackgroundTypeWithLiterals as fz, SortDirection as g, type DiscountTypeWithLiterals as g0, type WebhookIdentityTypeWithLiterals as g1, type CommonSearchWithEntityContext as g2, queryVariants as g3, MissingValues as h, ScalarType as i, Interval as j, Mode as k, CommonSortOrder as l, ValueAggregationSortType as m, ValueAggregationSortDirection as n, ValueAggregationMissingValues as o, CommonScalarType as p, NestedAggregationNestedAggregationType as q, CommonAggregationType as r, SearchDetailsMode as s, typedQueryVariants as t, NodeType as u, WidthType as v, PluginContainerDataAlignment as w, TextAlignment as x, Width as y, DividerDataAlignment as z };
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export { eI as ActionEvent, b3 as Aggregation, bg as AggregationData, bN as AggregationDateHistogramAggregation, b4 as AggregationKindOneOf, bQ as AggregationNestedAggregation, bL as AggregationRangeAggregation, bz as AggregationResults, bA as AggregationResultsResultOneOf, bn as AggregationResultsScalarResult, bM as AggregationScalarAggregation, A as AggregationType, f1 as AggregationTypeWithLiterals, bJ as AggregationValueAggregation, bK as AggregationValueAggregationOptionsOneOf, a6 as Alignment, fG as AlignmentWithLiterals, cZ as AnchorData, d3 as AppEmbedData, d4 as AppEmbedDataAppDataOneOf, a8 as AppType, fI as AppTypeWithLiterals, a2 as AspectRatio, fC as AspectRatioWithLiterals, dn as AudioData, al as AvailabilityStatus, fV as AvailabilityStatusWithLiterals, cP as Background, cQ as BackgroundBackgroundOneOf, du as BackgroundImage, _ as BackgroundType, fy as BackgroundTypeWithLiterals, dr as BlockquoteData, d5 as BookingData, c3 as Border, dl as BorderColors, dW as Brand, ea as BreadCrumb, e9 as BreadcrumbsInfo, dq as BulletedListData, c2 as ButtonData, B as ButtonDataType, ff as ButtonDataTypeWithLiterals, d7 as ButtonStyles, ds as CaptionData, da as CardStyles, dk as CellStyle, aj as ChoiceType, fT as ChoiceTypeWithLiterals, dM as ChoicesSettings, ce as CodeBlockData, dg as CollapsibleListData, c_ as ColorData, c4 as Colors, bF as CommonAggregation, bG as CommonAggregationKindOneOf, q as CommonAggregationType, fa as CommonAggregationTypeWithLiterals, o as CommonScalarType, f7 as CommonScalarTypeWithLiterals, bT as CommonSearchDetails, g1 as CommonSearchWithEntityContext, C as CommonSortOrder, f3 as CommonSortOrderWithLiterals, bE as CommonSorting, aE as CommonVideoResolution, dQ as ConnectedModifier, dU as ConnectedModifierChoice, dV as ConnectedModifierChoiceValueOneOf, dR as ConnectedModifierModifierSettingsOneOf, dK as ConnectedOption, dN as ConnectedOptionChoice, dO as ConnectedOptionChoiceValueOneOf, dL as ConnectedOptionOptionSettingsOneOf, E as Crop, fo as CropWithLiterals, aY as CursorPaging, a_ as CursorPagingMetadata, aV as CursorQuery, aW as CursorQueryPagingMethodOneOf, b1 as CursorSearch, b2 as CursorSearchPagingMethodOneOf, a$ as Cursors, bb as DateHistogramAggregation, D as DateHistogramAggregationInterval, f9 as DateHistogramAggregationIntervalWithLiterals, bv as DateHistogramResult, bx as DateHistogramResults, cX as Decoration, cY as DecorationDataOneOf, $ as DecorationType, fz as DecorationTypeWithLiterals, bB as DeprecatedSearchVariantsWithOffsetRequest, bV as DeprecatedSearchVariantsWithOffsetResponse, cV as Design, di as Dimensions, aa as Direction, fK as DirectionWithLiterals, ar as DiscountType, f$ as DiscountTypeWithLiterals, cg as DividerData, x as DividerDataAlignment, fk as DividerDataAlignmentWithLiterals, dx as DocumentStyle, eC as DomainEvent, eD as DomainEventBodyOneOf, de as EmbedData, eJ as Empty, eE as EntityCreatedEvent, eH as EntityDeletedEvent, eG as EntityUpdatedEvent, d6 as EventData, er as ExtendedFields, ch as FileData, ci as FileSource, cj as FileSourceDataOneOf, ap as FileType, fZ as FileTypeWithLiterals, e1 as FixedMonetaryAmount, d1 as FontSizeData, a0 as FontType, fA as FontTypeWithLiterals, dS as FreeTextSettings, cw as GIF, cv as GIFData, G as GIFType, fq as GIFTypeWithLiterals, cl as GalleryData, cr as GalleryOptions, cs as GalleryOptionsLayout, cO as Gradient, bR as GroupByAggregation, bS as GroupByAggregationKindOneOf, bw as GroupByValueResults, cy as HTMLData, cz as HTMLDataDataOneOf, cx as HeadingData, c9 as Height, eL as IdentificationData, eM as IdentificationDataIdOneOf, cn as Image, cA as ImageData, cC as ImageDataStyles, ae as ImagePosition, fO as ImagePositionWithLiterals, d8 as ImageStyles, b6 as IncludeMissingValuesOptions, dX as InfoSection, a9 as InitialExpandedItems, fJ as InitialExpandedItemsWithLiterals, aT as InternalMetadata, I as InternalRowState, eU as InternalRowStateWithLiterals, j as Interval, f0 as IntervalWithLiterals, e2 as Inventory, eq as InventoryStatus, cp as Item, cq as ItemDataOneOf, ct as ItemStyle, dH as Keyword, a7 as Layout, dv as LayoutCellData, dt as LayoutData, z as LayoutType, fm as LayoutTypeWithLiterals, fH as LayoutWithLiterals, L as LineStyle, fi as LineStyleWithLiterals, cb as Link, c$ as LinkData, cc as LinkDataOneOf, cD as LinkPreviewData, cE as LinkPreviewDataStyles, dm as ListValue, cF as MapData, cG as MapSettings, K as MapType, ft as MapTypeWithLiterals, M as MeasurementUnit, eQ as MeasurementUnitWithLiterals, dz as Media, dF as MediaItemsInfo, ah as MediaType, fR as MediaTypeWithLiterals, d0 as MentionData, eK as MessageEnvelope, dw as Metadata, bX as MigrateProductVariantsRequest, ez as MigrateProductVariantsResponse, ey as MinVariantPriceInfo, h as MissingValues, eZ as MissingValuesWithLiterals, k as Mode, f2 as ModeWithLiterals, dT as ModifierChoicesSettings, ak as ModifierRenderType, fU as ModifierRenderTypeWithLiterals, dP as MultipleColors, be as NestedAggregation, bc as NestedAggregationItem, bd as NestedAggregationItemKindOneOf, bO as NestedAggregationNestedAggregationItem, bP as NestedAggregationNestedAggregationItemKindOneOf, p as NestedAggregationNestedAggregationType, f8 as NestedAggregationNestedAggregationTypeWithLiterals, bj as NestedAggregationResults, bk as NestedAggregationResultsResultOneOf, N as NestedAggregationType, e$ as NestedAggregationTypeWithLiterals, bs as NestedResultValue, bt as NestedResultValueResultOneOf, by as NestedResults, bo as NestedValueAggregationResult, b$ as Node, c0 as NodeDataOneOf, c1 as NodeStyle, s as NodeType, fc as NodeTypeWithLiterals, ac as NullValue, fM as NullValueWithLiterals, df as Oembed, cK as Option, ee as OptionChoice, ef as OptionChoiceIds, eg as OptionChoiceNames, cS as OptionDesign, cN as OptionLayout, dp as OrderedListData, O as Orientation, fn as OrientationWithLiterals, ck as PDFSettings, bW as PagingMetadata, cH as ParagraphData, cJ as Permissions, e3 as PhysicalProperties, a4 as Placement, fE as PlacementWithLiterals, bC as PlatformOffsetSearch, bD as PlatformOffsetSearchPagingMethodOneOf, bU as PlatformPaging, dd as PlaybackOptions, c5 as PluginContainerData, u as PluginContainerDataAlignment, fe as PluginContainerDataAlignmentWithLiterals, c6 as PluginContainerDataWidth, c7 as PluginContainerDataWidthDataOneOf, cT as Poll, cI as PollData, cU as PollDataLayout, cR as PollDesign, cM as PollLayout, Z as PollLayoutDirection, fx as PollLayoutDirectionWithLiterals, Y as PollLayoutType, fw as PollLayoutTypeWithLiterals, cL as PollSettings, a1 as Position, fB as PositionWithLiterals, am as PreorderStatus, fW as PreorderStatusWithLiterals, eh as PriceInfo, ek as PricePerUnit, e6 as PricePerUnitRange, e7 as PricePerUnitRangePricePerUnit, e4 as PricePerUnitSettings, e0 as PriceRange, db as PricingData, bY as Product, dZ as ProductCategoriesInfo, d_ as ProductCategory, d$ as ProductCategoryIdsInfo, aP as ProductFields, aQ as ProductFieldsTypedPropertiesOneOf, dA as ProductMedia, dC as ProductMediaMediaOneOf, P as ProductMediaMediaType, eP as ProductMediaMediaTypeWithLiterals, dB as ProductMediaSetByOneOf, ai as ProductOptionRenderType, fS as ProductOptionRenderTypeWithLiterals, an as ProductPreorderAvailability, fX as ProductPreorderAvailabilityWithLiterals, ao as ProductType, fY as ProductTypeWithLiterals, bZ as ProductTypedPropertiesOneOf, aU as QueryVariantsRequest, aZ as QueryVariantsResponse, b9 as RangeAggregation, bH as RangeAggregationRangeBucket, bi as RangeAggregationResult, b5 as RangeBucket, bq as RangeResult, bm as RangeResults, at as ReadOnlyVariant, eO as ReadOnlyVariantSearchSpec, au as ReadOnlyVariantTypedPropertiesOneOf, eA as RecoverProductVariantsRequest, eB as RecoverProductVariantsResponse, cd as Rel, e as RequestedFields, eW as RequestedFieldsWithLiterals, a3 as Resizing, fD as ResizingWithLiterals, ag as ResponsivenessBehaviour, fQ as ResponsivenessBehaviourWithLiterals, eF as RestoreInfo, bu as Results, ei as RevenueDetails, dY as Ribbon, d9 as RibbonStyles, b_ as RichContent, ba as ScalarAggregation, br as ScalarResult, i as ScalarType, e_ as ScalarTypeWithLiterals, ad as Scaling, fN as ScalingWithLiterals, bf as SearchDetails, r as SearchDetailsMode, fb as SearchDetailsModeWithLiterals, b0 as SearchVariantsRequest, em as SecuredMedia, b as SecuredMediaFileType, eR as SecuredMediaFileTypeWithLiterals, dG as SeoSchema, dJ as Settings, g as SortDirection, eY as SortDirectionWithLiterals, d as SortOrder, eV as SortOrderWithLiterals, f as SortType, eX as SortTypeWithLiterals, aX as Sorting, H as Source, fr as SourceWithLiterals, c8 as Spoiler, d2 as SpoilerData, ca as Styles, cB as StylesBorder, J as StylesPosition, fs as StylesPositionWithLiterals, et as Subscription, eu as SubscriptionCyclesOneOf, es as SubscriptionDetails, ev as SubscriptionDiscount, ew as SubscriptionDiscountDiscountOneOf, aq as SubscriptionFrequency, f_ as SubscriptionFrequencyWithLiterals, eo as SubscriptionPrice, ep as SubscriptionPricePerUnit, en as SubscriptionPricesInfo, dj as TableCellData, dh as TableData, dI as Tag, T as Target, fg as TargetWithLiterals, v as TextAlignment, fh as TextAlignmentWithLiterals, cW as TextData, dy as TextNodeStyle, cf as TextStyle, dE as Thumbnail, cu as Thumbnails, F as ThumbnailsAlignment, fp as ThumbnailsAlignmentWithLiterals, a5 as Type, fF as TypeWithLiterals, cm as V1Media, az as V3FixedMonetaryAmount, aO as V3InventoryStatus, av as V3OptionChoice, aw as V3OptionChoiceIds, ax as V3OptionChoiceNames, aR as V3PhysicalProperties, ay as V3PriceInfo, aH as V3PricePerUnit, aI as V3PricePerUnitSettings, aB as V3ProductMedia, aD as V3ProductMediaMediaOneOf, aC as V3ProductMediaSetByOneOf, c as V3ProductType, eS as V3ProductTypeWithLiterals, aA as V3RevenueDetails, aK as V3SecuredMedia, aM as V3SubscriptionPrice, aN as V3SubscriptionPricePerUnit, aL as V3SubscriptionPricesInfo, aF as V3Thumbnail, aJ as V3VariantDigitalProperties, aG as V3VariantPhysicalProperties, aS as V3WeightMeasurementUnitInfo, b7 as ValueAggregation, bI as ValueAggregationIncludeMissingValuesOptions, n as ValueAggregationMissingValues, f6 as ValueAggregationMissingValuesWithLiterals, b8 as ValueAggregationOptionsOneOf, bh as ValueAggregationResult, m as ValueAggregationSortDirection, f5 as ValueAggregationSortDirectionWithLiterals, l as ValueAggregationSortType, f4 as ValueAggregationSortTypeWithLiterals, bp as ValueResult, bl as ValueResults, ec as Variant, el as VariantDigitalProperties, ej as VariantPhysicalProperties, ex as VariantSummary, ed as VariantTypedPropertiesOneOf, eb as VariantsInfo, eN as VariantsQueryResult, ab as VerticalAlignment, af as VerticalAlignmentAlignment, fP as VerticalAlignmentAlignmentWithLiterals, fL as VerticalAlignmentWithLiterals, co as Video, dc as VideoData, dD as VideoResolution, y as ViewMode, fl as ViewModeWithLiterals, U as ViewRole, fu as ViewRoleWithLiterals, X as VoteRole, fv as VoteRoleWithLiterals, as as WebhookIdentityType, g0 as WebhookIdentityTypeWithLiterals, e8 as WeightMeasurementUnitInfo, e5 as WeightRange, W as WeightUnit, eT as WeightUnitWithLiterals, w as Width, t as WidthType, fd as WidthTypeWithLiterals, fj as WidthWithLiterals } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DQfmlHWO.js';
|
|
2
|
+
import { R as ReadOnlyVariantSearch, S as SearchVariantsOptions, a as SearchVariantsResponse, C as CursorQuery, t as typedQueryVariants, Q as QueryVariantsOptions, V as VariantsQueryBuilder } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BCXsI96S.js';
|
|
3
|
+
export { eJ as ActionEvent, b4 as Aggregation, bh as AggregationData, bO as AggregationDateHistogramAggregation, b5 as AggregationKindOneOf, bR as AggregationNestedAggregation, bM as AggregationRangeAggregation, bA as AggregationResults, bB as AggregationResultsResultOneOf, bo as AggregationResultsScalarResult, bN as AggregationScalarAggregation, A as AggregationType, f2 as AggregationTypeWithLiterals, bK as AggregationValueAggregation, bL as AggregationValueAggregationOptionsOneOf, a8 as Alignment, fH as AlignmentWithLiterals, c_ as AnchorData, d4 as AppEmbedData, d5 as AppEmbedDataAppDataOneOf, aa as AppType, fJ as AppTypeWithLiterals, a4 as AspectRatio, fD as AspectRatioWithLiterals, dp as AudioData, an as AvailabilityStatus, fW as AvailabilityStatusWithLiterals, cQ as Background, cR as BackgroundBackgroundOneOf, dv as BackgroundImage, a0 as BackgroundType, fz as BackgroundTypeWithLiterals, ds as BlockquoteData, d6 as BookingData, c4 as Border, dm as BorderColors, dX as Brand, eb as BreadCrumb, ea as BreadcrumbsInfo, dr as BulletedListData, c3 as ButtonData, B as ButtonDataType, fg as ButtonDataTypeWithLiterals, d8 as ButtonStyles, dt as CaptionData, db as CardStyles, dl as CellStyle, al as ChoiceType, fU as ChoiceTypeWithLiterals, dN as ChoicesSettings, cf as CodeBlockData, dh as CollapsibleListData, c$ as ColorData, c5 as Colors, bG as CommonAggregation, bH as CommonAggregationKindOneOf, r as CommonAggregationType, fb as CommonAggregationTypeWithLiterals, p as CommonScalarType, f8 as CommonScalarTypeWithLiterals, bU as CommonSearchDetails, g2 as CommonSearchWithEntityContext, l as CommonSortOrder, f4 as CommonSortOrderWithLiterals, bF as CommonSorting, aG as CommonVideoResolution, dR as ConnectedModifier, dV as ConnectedModifierChoice, dW as ConnectedModifierChoiceValueOneOf, dS as ConnectedModifierModifierSettingsOneOf, dL as ConnectedOption, dO as ConnectedOptionChoice, dP as ConnectedOptionChoiceValueOneOf, dM as ConnectedOptionOptionSettingsOneOf, G as Crop, fp as CropWithLiterals, aZ as CursorPaging, a$ as CursorPagingMetadata, aX as CursorQueryPagingMethodOneOf, b2 as CursorSearch, b3 as CursorSearchPagingMethodOneOf, b0 as Cursors, bc as DateHistogramAggregation, D as DateHistogramAggregationInterval, fa as DateHistogramAggregationIntervalWithLiterals, bw as DateHistogramResult, by as DateHistogramResults, cY as Decoration, cZ as DecorationDataOneOf, a1 as DecorationType, fA as DecorationTypeWithLiterals, bC as DeprecatedSearchVariantsWithOffsetRequest, bW as DeprecatedSearchVariantsWithOffsetResponse, cW as Design, dj as Dimensions, ac as Direction, fL as DirectionWithLiterals, at as DiscountType, g0 as DiscountTypeWithLiterals, ch as DividerData, z as DividerDataAlignment, fl as DividerDataAlignmentWithLiterals, dy as DocumentStyle, eD as DomainEvent, eE as DomainEventBodyOneOf, df as EmbedData, eK as Empty, eF as EntityCreatedEvent, eI as EntityDeletedEvent, eH as EntityUpdatedEvent, d7 as EventData, es as ExtendedFields, ci as FileData, cj as FileSource, ck as FileSourceDataOneOf, ar as FileType, f_ as FileTypeWithLiterals, e2 as FixedMonetaryAmount, d2 as FontSizeData, a2 as FontType, fB as FontTypeWithLiterals, dT as FreeTextSettings, cx as GIF, cw as GIFData, J as GIFType, fr as GIFTypeWithLiterals, cm as GalleryData, cs as GalleryOptions, ct as GalleryOptionsLayout, cP as Gradient, bS as GroupByAggregation, bT as GroupByAggregationKindOneOf, bx as GroupByValueResults, cz as HTMLData, cA as HTMLDataDataOneOf, cy as HeadingData, ca as Height, eM as IdentificationData, eN as IdentificationDataIdOneOf, co as Image, cB as ImageData, cD as ImageDataStyles, ag as ImagePosition, fP as ImagePositionWithLiterals, d9 as ImageStyles, b7 as IncludeMissingValuesOptions, dY as InfoSection, ab as InitialExpandedItems, fK as InitialExpandedItemsWithLiterals, aV as InternalMetadata, I as InternalRowState, eV as InternalRowStateWithLiterals, j as Interval, f1 as IntervalWithLiterals, e3 as Inventory, er as InventoryStatus, cq as Item, cr as ItemDataOneOf, cu as ItemStyle, dI as Keyword, a9 as Layout, dw as LayoutCellData, du as LayoutData, F as LayoutType, fn as LayoutTypeWithLiterals, fI as LayoutWithLiterals, L as LineStyle, fj as LineStyleWithLiterals, cc as Link, d0 as LinkData, cd as LinkDataOneOf, cE as LinkPreviewData, cF as LinkPreviewDataStyles, dn as ListValue, cG as MapData, cH as MapSettings, X as MapType, fu as MapTypeWithLiterals, M as MeasurementUnit, eR as MeasurementUnitWithLiterals, dA as Media, dG as MediaItemsInfo, aj as MediaType, fS as MediaTypeWithLiterals, d1 as MentionData, eL as MessageEnvelope, dx as Metadata, bY as MigrateProductVariantsRequest, eA as MigrateProductVariantsResponse, ez as MinVariantPriceInfo, h as MissingValues, e_ as MissingValuesWithLiterals, k as Mode, f3 as ModeWithLiterals, dU as ModifierChoicesSettings, am as ModifierRenderType, fV as ModifierRenderTypeWithLiterals, dQ as MultipleColors, bf as NestedAggregation, bd as NestedAggregationItem, be as NestedAggregationItemKindOneOf, bP as NestedAggregationNestedAggregationItem, bQ as NestedAggregationNestedAggregationItemKindOneOf, q as NestedAggregationNestedAggregationType, f9 as NestedAggregationNestedAggregationTypeWithLiterals, bk as NestedAggregationResults, bl as NestedAggregationResultsResultOneOf, N as NestedAggregationType, f0 as NestedAggregationTypeWithLiterals, bt as NestedResultValue, bu as NestedResultValueResultOneOf, bz as NestedResults, bp as NestedValueAggregationResult, c0 as Node, c1 as NodeDataOneOf, c2 as NodeStyle, u as NodeType, fd as NodeTypeWithLiterals, ae as NullValue, fN as NullValueWithLiterals, dg as Oembed, cL as Option, ef as OptionChoice, eg as OptionChoiceIds, eh as OptionChoiceNames, cT as OptionDesign, cO as OptionLayout, dq as OrderedListData, O as Orientation, fo as OrientationWithLiterals, cl as PDFSettings, bX as PagingMetadata, cI as ParagraphData, cK as Permissions, e4 as PhysicalProperties, a6 as Placement, fF as PlacementWithLiterals, bD as PlatformOffsetSearch, bE as PlatformOffsetSearchPagingMethodOneOf, bV as PlatformPaging, de as PlaybackOptions, c6 as PluginContainerData, w as PluginContainerDataAlignment, ff as PluginContainerDataAlignmentWithLiterals, c7 as PluginContainerDataWidth, c8 as PluginContainerDataWidthDataOneOf, cU as Poll, cJ as PollData, cV as PollDataLayout, cS as PollDesign, cN as PollLayout, $ as PollLayoutDirection, fy as PollLayoutDirectionWithLiterals, _ as PollLayoutType, fx as PollLayoutTypeWithLiterals, cM as PollSettings, a3 as Position, fC as PositionWithLiterals, ao as PreorderStatus, fX as PreorderStatusWithLiterals, ei as PriceInfo, el as PricePerUnit, e7 as PricePerUnitRange, e8 as PricePerUnitRangePricePerUnit, e5 as PricePerUnitSettings, e1 as PriceRange, dc as PricingData, bZ as Product, d_ as ProductCategoriesInfo, d$ as ProductCategory, e0 as ProductCategoryIdsInfo, aR as ProductFields, aS as ProductFieldsTypedPropertiesOneOf, dB as ProductMedia, dD as ProductMediaMediaOneOf, P as ProductMediaMediaType, eQ as ProductMediaMediaTypeWithLiterals, dC as ProductMediaSetByOneOf, ak as ProductOptionRenderType, fT as ProductOptionRenderTypeWithLiterals, ap as ProductPreorderAvailability, fY as ProductPreorderAvailabilityWithLiterals, aq as ProductType, fZ as ProductTypeWithLiterals, b_ as ProductTypedPropertiesOneOf, aW as QueryVariantsRequest, a_ as QueryVariantsResponse, ba as RangeAggregation, bI as RangeAggregationRangeBucket, bj as RangeAggregationResult, b6 as RangeBucket, br as RangeResult, bn as RangeResults, av as ReadOnlyVariant, eP as ReadOnlyVariantSearchSpec, aw as ReadOnlyVariantTypedPropertiesOneOf, eB as RecoverProductVariantsRequest, eC as RecoverProductVariantsResponse, ce as Rel, e as RequestedFields, eX as RequestedFieldsWithLiterals, a5 as Resizing, fE as ResizingWithLiterals, ai as ResponsivenessBehaviour, fR as ResponsivenessBehaviourWithLiterals, eG as RestoreInfo, bv as Results, ej as RevenueDetails, dZ as Ribbon, da as RibbonStyles, b$ as RichContent, bb as ScalarAggregation, bs as ScalarResult, i as ScalarType, e$ as ScalarTypeWithLiterals, af as Scaling, fO as ScalingWithLiterals, bg as SearchDetails, s as SearchDetailsMode, fc as SearchDetailsModeWithLiterals, b1 as SearchVariantsRequest, en as SecuredMedia, b as SecuredMediaFileType, eS as SecuredMediaFileTypeWithLiterals, dH as SeoSchema, dK as Settings, g as SortDirection, eZ as SortDirectionWithLiterals, d as SortOrder, eW as SortOrderWithLiterals, f as SortType, eY as SortTypeWithLiterals, aY as Sorting, K as Source, fs as SourceWithLiterals, c9 as Spoiler, d3 as SpoilerData, cb as Styles, cC as StylesBorder, U as StylesPosition, ft as StylesPositionWithLiterals, eu as Subscription, ev as SubscriptionCyclesOneOf, et as SubscriptionDetails, ew as SubscriptionDiscount, ex as SubscriptionDiscountDiscountOneOf, as as SubscriptionFrequency, f$ as SubscriptionFrequencyWithLiterals, ep as SubscriptionPrice, eq as SubscriptionPricePerUnit, eo as SubscriptionPricesInfo, dk as TableCellData, di as TableData, dJ as Tag, T as Target, fh as TargetWithLiterals, x as TextAlignment, fi as TextAlignmentWithLiterals, cX as TextData, dz as TextNodeStyle, cg as TextStyle, dF as Thumbnail, cv as Thumbnails, H as ThumbnailsAlignment, fq as ThumbnailsAlignmentWithLiterals, a7 as Type, fG as TypeWithLiterals, cn as V1Media, aB as V3FixedMonetaryAmount, aQ as V3InventoryStatus, ax as V3OptionChoice, ay as V3OptionChoiceIds, az as V3OptionChoiceNames, aT as V3PhysicalProperties, aA as V3PriceInfo, aJ as V3PricePerUnit, aK as V3PricePerUnitSettings, aD as V3ProductMedia, aF as V3ProductMediaMediaOneOf, aE as V3ProductMediaSetByOneOf, c as V3ProductType, eT as V3ProductTypeWithLiterals, aC as V3RevenueDetails, aM as V3SecuredMedia, aO as V3SubscriptionPrice, aP as V3SubscriptionPricePerUnit, aN as V3SubscriptionPricesInfo, aH as V3Thumbnail, aL as V3VariantDigitalProperties, aI as V3VariantPhysicalProperties, aU as V3WeightMeasurementUnitInfo, b8 as ValueAggregation, bJ as ValueAggregationIncludeMissingValuesOptions, o as ValueAggregationMissingValues, f7 as ValueAggregationMissingValuesWithLiterals, b9 as ValueAggregationOptionsOneOf, bi as ValueAggregationResult, n as ValueAggregationSortDirection, f6 as ValueAggregationSortDirectionWithLiterals, m as ValueAggregationSortType, f5 as ValueAggregationSortTypeWithLiterals, bq as ValueResult, bm as ValueResults, ed as Variant, em as VariantDigitalProperties, ek as VariantPhysicalProperties, ey as VariantSummary, ee as VariantTypedPropertiesOneOf, ec as VariantsInfo, eO as VariantsQueryResult, ad as VerticalAlignment, ah as VerticalAlignmentAlignment, fQ as VerticalAlignmentAlignmentWithLiterals, fM as VerticalAlignmentWithLiterals, cp as Video, dd as VideoData, dE as VideoResolution, E as ViewMode, fm as ViewModeWithLiterals, Y as ViewRole, fv as ViewRoleWithLiterals, Z as VoteRole, fw as VoteRoleWithLiterals, au as WebhookIdentityType, g1 as WebhookIdentityTypeWithLiterals, e9 as WeightMeasurementUnitInfo, e6 as WeightRange, W as WeightUnit, eU as WeightUnitWithLiterals, y as Width, v as WidthType, fe as WidthTypeWithLiterals, fk as WidthWithLiterals } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BCXsI96S.js';
|
|
4
4
|
|
|
5
|
-
declare function queryVariants$1(httpClient: HttpClient): QueryVariantsSignature;
|
|
6
|
-
interface QueryVariantsSignature {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieve product variants using structured queries with cursor-based pagination.
|
|
9
|
-
*
|
|
10
|
-
* Use this endpoint for simple filtering operations on `id` and `productId`.
|
|
11
|
-
* For complex queries with free-text search and aggregations, use Search Variants instead.
|
|
12
|
-
*
|
|
13
|
-
* Up to 1,000 variants can be returned per request.
|
|
14
|
-
*/
|
|
15
|
-
(options?: QueryVariantsOptions): VariantsQueryBuilder;
|
|
16
|
-
}
|
|
17
5
|
declare function searchVariants$1(httpClient: HttpClient): SearchVariantsSignature;
|
|
18
6
|
interface SearchVariantsSignature {
|
|
19
7
|
/**
|
|
@@ -29,7 +17,13 @@ interface SearchVariantsSignature {
|
|
|
29
17
|
(search: ReadOnlyVariantSearch, options?: SearchVariantsOptions): Promise<NonNullablePaths<SearchVariantsResponse, `variants` | `variants.${number}.physicalProperties.pricePerUnit.value` | `variants.${number}.digitalProperties.digitalFile._id` | `variants.${number}.digitalProperties.digitalFile.fileName` | `variants.${number}.digitalProperties.digitalFile.fileType` | `variants.${number}._id` | `variants.${number}.price.actualPrice.amount` | `variants.${number}.revenueDetails.profitMargin` | `variants.${number}.media._id` | `variants.${number}.media.url` | `variants.${number}.media.mediaType` | `variants.${number}.media.thumbnail.url` | `variants.${number}.media.thumbnail.height` | `variants.${number}.media.thumbnail.width` | `variants.${number}.media.uploadId` | `variants.${number}.inventoryStatus.inStock` | `variants.${number}.inventoryStatus.preorderEnabled` | `variants.${number}.productData.productId` | `variants.${number}.productData.productType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
30
18
|
}
|
|
31
19
|
|
|
32
|
-
declare
|
|
20
|
+
declare function customQueryVariants(httpClient: HttpClient): {
|
|
21
|
+
(query: CursorQuery): ReturnType<typeof typedQueryVariants>;
|
|
22
|
+
(query: CursorQuery, options: QueryVariantsOptions): ReturnType<typeof typedQueryVariants>;
|
|
23
|
+
(): VariantsQueryBuilder;
|
|
24
|
+
(options: QueryVariantsOptions): VariantsQueryBuilder;
|
|
25
|
+
};
|
|
33
26
|
declare const searchVariants: MaybeContext<BuildRESTFunction<typeof searchVariants$1> & typeof searchVariants$1>;
|
|
27
|
+
declare const queryVariants: MaybeContext<BuildRESTFunction<typeof customQueryVariants> & typeof customQueryVariants>;
|
|
34
28
|
|
|
35
|
-
export { QueryVariantsOptions, ReadOnlyVariantSearch, SearchVariantsOptions, SearchVariantsResponse, VariantsQueryBuilder, queryVariants, searchVariants };
|
|
29
|
+
export { CursorQuery, QueryVariantsOptions, ReadOnlyVariantSearch, SearchVariantsOptions, SearchVariantsResponse, VariantsQueryBuilder, queryVariants, searchVariants };
|
|
@@ -897,6 +897,43 @@ function queryVariants2(options) {
|
|
|
897
897
|
transformationPaths: {}
|
|
898
898
|
});
|
|
899
899
|
}
|
|
900
|
+
async function typedQueryVariants(query, options) {
|
|
901
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
902
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
903
|
+
query,
|
|
904
|
+
...options
|
|
905
|
+
});
|
|
906
|
+
const reqOpts = queryVariants(payload);
|
|
907
|
+
sideEffects?.onSiteCall?.();
|
|
908
|
+
try {
|
|
909
|
+
const result = await httpClient.request(reqOpts);
|
|
910
|
+
sideEffects?.onSuccess?.(result);
|
|
911
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
912
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
913
|
+
{
|
|
914
|
+
transformFn: import_image.transformRESTImageToSDKImage,
|
|
915
|
+
paths: [{ path: "variants.media.image" }]
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
transformFn: import_video_v2.transformRESTVideoV2ToSDKVideoV2,
|
|
919
|
+
paths: [{ path: "variants.media.video" }]
|
|
920
|
+
}
|
|
921
|
+
])
|
|
922
|
+
);
|
|
923
|
+
} catch (err) {
|
|
924
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
925
|
+
err,
|
|
926
|
+
{
|
|
927
|
+
spreadPathsToArguments: {},
|
|
928
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
929
|
+
singleArgumentUnchanged: false
|
|
930
|
+
},
|
|
931
|
+
["query", "options"]
|
|
932
|
+
);
|
|
933
|
+
sideEffects?.onError?.(err);
|
|
934
|
+
throw transformedError;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
900
937
|
async function searchVariants2(search, options) {
|
|
901
938
|
const { httpClient, sideEffects } = arguments[2];
|
|
902
939
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -943,6 +980,14 @@ function queryVariants3(httpClient) {
|
|
|
943
980
|
{ httpClient }
|
|
944
981
|
);
|
|
945
982
|
}
|
|
983
|
+
function typedQueryVariants2(httpClient) {
|
|
984
|
+
return (query, options) => typedQueryVariants(
|
|
985
|
+
query,
|
|
986
|
+
options,
|
|
987
|
+
// @ts-ignore
|
|
988
|
+
{ httpClient }
|
|
989
|
+
);
|
|
990
|
+
}
|
|
946
991
|
function searchVariants3(httpClient) {
|
|
947
992
|
return (search, options) => searchVariants2(
|
|
948
993
|
search,
|
|
@@ -954,8 +999,20 @@ function searchVariants3(httpClient) {
|
|
|
954
999
|
|
|
955
1000
|
// src/stores-catalog-v3-read-only-variant-read-only-variants-v-3.context.ts
|
|
956
1001
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
957
|
-
var
|
|
1002
|
+
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
1003
|
+
function customQueryVariants(httpClient) {
|
|
1004
|
+
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
1005
|
+
builderQueryFunction: (options) => queryVariants3(httpClient)(options),
|
|
1006
|
+
typedQueryFunction: (query, options) => typedQueryVariants2(httpClient)(query, options),
|
|
1007
|
+
hasOptionsParameter: true
|
|
1008
|
+
});
|
|
1009
|
+
function overloadedQuery(queryOrOptions, options) {
|
|
1010
|
+
return router(...arguments);
|
|
1011
|
+
}
|
|
1012
|
+
return overloadedQuery;
|
|
1013
|
+
}
|
|
958
1014
|
var searchVariants4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTModule)(searchVariants3);
|
|
1015
|
+
var queryVariants4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTModule)(customQueryVariants);
|
|
959
1016
|
// Annotate the CommonJS export names for ESM import in node:
|
|
960
1017
|
0 && (module.exports = {
|
|
961
1018
|
AggregationType,
|