@wix/auto_sdk_stores_read-only-variants-v-3 1.0.33 → 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 +10 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-EjUpo2v7.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-CodxHY1C.d.ts} +19 -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 +10 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-EjUpo2v7.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-CodxHY1C.d.mts} +19 -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 +10 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-NaDMPGgD.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BCXsI96S.d.ts} +19 -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 +10 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-NaDMPGgD.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BCXsI96S.d.mts} +19 -2
- package/package.json +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -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-EjUpo2v7.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-CodxHY1C.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-CodxHY1C.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 };
|
package/build/cjs/index.js
CHANGED
|
@@ -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,
|