@wix/auto_sdk_stores_products-v-3 1.0.45 → 1.0.46
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 +3 -16
- package/build/cjs/index.js +0 -301
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +0 -291
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -30
- package/build/cjs/meta.js +0 -235
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/stores-catalog-v3-product-products-v-3.universal-CL5A8x66.d.ts → cjs/stores-catalog-v3-product-products-v-3.universal-BxxKSsqd.d.ts} +1 -104
- package/build/es/index.d.mts +3 -16
- package/build/es/index.mjs +0 -300
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +0 -290
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -30
- package/build/es/meta.mjs +0 -234
- package/build/es/meta.mjs.map +1 -1
- package/build/{internal/es/stores-catalog-v3-product-products-v-3.universal-CL5A8x66.d.mts → es/stores-catalog-v3-product-products-v-3.universal-BxxKSsqd.d.mts} +1 -104
- package/build/internal/cjs/index.d.ts +3 -16
- package/build/internal/cjs/index.js +0 -301
- 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 +0 -291
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -30
- package/build/internal/cjs/meta.js +0 -235
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{cjs/stores-catalog-v3-product-products-v-3.universal-niKacqEl.d.ts → internal/cjs/stores-catalog-v3-product-products-v-3.universal-B80qeiaF.d.ts} +25 -80
- package/build/internal/es/index.d.mts +3 -16
- package/build/internal/es/index.mjs +0 -300
- 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 +0 -290
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -30
- package/build/internal/es/meta.mjs +0 -234
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/{es/stores-catalog-v3-product-products-v-3.universal-niKacqEl.d.mts → internal/es/stores-catalog-v3-product-products-v-3.universal-B80qeiaF.d.mts} +25 -80
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { V as V3Product, C as CreateProductOptions, a as CreateProductApplicationErrors, b as CreateProductValidationErrors, P as ProductWithInventory, c as CreateProductWithInventoryOptions, d as CreateProductWithInventoryResponse, U as UpdateProduct, e as UpdateProductOptions, f as UpdateProductApplicationErrors, g as UpdateProductValidationErrors, h as UpdateProductWithInventoryProduct, i as UpdateProductWithInventoryOptions, j as UpdateProductWithInventoryResponse, B as BulkCreateProductsOptions, k as BulkCreateProductsResponse, l as BulkCreateProductsApplicationErrors, m as BulkCreateProductsValidationErrors, n as BulkCreateProductsWithInventoryOptions, o as BulkCreateProductsWithInventoryResponse, p as V3MaskedProduct, q as BulkUpdateProductsOptions, r as BulkUpdateProductsResponse, s as BulkUpdateProductsApplicationErrors, t as BulkUpdateProductsValidationErrors, M as MaskedProductWithInventory, u as BulkUpdateProductsWithInventoryOptions, v as BulkUpdateProductsWithInventoryResponse, w as BulkUpdateProductsByFilterOptions, x as V3BulkUpdateProductsByFilterResponse, y as BulkUpdateProductsByFilterApplicationErrors, z as BulkUpdateProductsByFilterValidationErrors, A as
|
|
3
|
-
export { ei as ActionEvent, gs as AdjustValue, gt as AdjustValueAdjustValueOneOf, eM as Aggregation, f1 as AggregationData, hS as AggregationDataAggregationResults, hT as AggregationDataAggregationResultsResultOneOf, hG as AggregationDataAggregationResultsScalarResult, fI as AggregationDateHistogramAggregation, bw as AggregationDateHistogramAggregationInterval, eN as AggregationKindOneOf, fL as AggregationNestedAggregation, ht as AggregationNestedAggregationNestedAggregationItem, hu as AggregationNestedAggregationNestedAggregationItemKindOneOf, bv as AggregationNestedAggregationNestedAggregationType, fG as AggregationRangeAggregation, hm as AggregationRangeAggregationRangeBucket, fk as AggregationResults, hQ as AggregationResultsDateHistogramResults, hP as AggregationResultsGroupByValueResults, hC as AggregationResultsNestedAggregationResults, hD as AggregationResultsNestedAggregationResultsResultOneOf, hR as AggregationResultsNestedResults, hF as AggregationResultsRangeResults, fl as AggregationResultsResultOneOf, f8 as AggregationResultsScalarResult, hE as AggregationResultsValueResults, fH as AggregationScalarAggregation, b9 as AggregationType, fE as AggregationValueAggregation, hn as AggregationValueAggregationIncludeMissingValuesOptions, bt as AggregationValueAggregationMissingValues, fF as AggregationValueAggregationOptionsOneOf, bs as AggregationValueAggregationSortDirection, br as AggregationValueAggregationSortType, ar as Alignment, cz as AnchorData, eq as App, cF as AppEmbedData, cG as AppEmbedDataAppDataOneOf, aI as AppType, g1 as ApplicationError, cU as AudioData, bn as AvailabilityStatus, cp as Background, cq as BackgroundBackgroundOneOf, aF as BackgroundType, ib as BaseEventMetadata, cX as BlockquoteData, cH as BookingData, bF as Border, cS as BorderColors, dp as Brand, dF as BreadCrumb, dE as BreadcrumbsInfo, g2 as BulkActionMetadata, gf as BulkAddInfoSectionsToProductsByFilterRequest, gg as BulkAddInfoSectionsToProductsByFilterResponse, gi as BulkAddInfoSectionsToProductsRequest, gk as BulkAddInfoSectionsToProductsResponse, i7 as BulkAddProductsToCategoriesByFilterRequest, gr as BulkAdjustProductVariantsByFilterRequest, by as BulkAdjustProductVariantsByFilterRequestRoundingStrategy, gw as BulkAdjustProductVariantsByFilterResponse, gZ as BulkCreateProductsRequest, h1 as BulkCreateProductsWithInventoryRequest, gb as BulkDeleteProductsByFilterRequest, gc as BulkDeleteProductsByFilterResponse, g8 as BulkDeleteProductsRequest, g9 as BulkDeleteProductsResponse, hb as BulkDeleteProductsResponseBulkProductResult, gx as BulkInventoryItemAction, gT as BulkInventoryItemResult, gS as BulkInventoryItemResults, ga as BulkProductResult, h2 as BulkProductResults, gl as BulkRemoveInfoSectionsFromProductsByFilterRequest, gm as BulkRemoveInfoSectionsFromProductsByFilterResponse, gn as BulkRemoveInfoSectionsFromProductsRequest, go as BulkRemoveInfoSectionsFromProductsResponse, i8 as BulkRemoveProductsFromCategoriesByFilterRequest, hZ as BulkUpdateProductVariantsByFilterRequest, g6 as BulkUpdateProductsByFilterRequest, g7 as BulkUpdateProductsByFilterResponse, h3 as BulkUpdateProductsRequest, h4 as BulkUpdateProductsWithInventoryRequest, gp as BulkUpdateVariantsByFilterRequest, gq as BulkUpdateVariantsByFilterResponse, cW as BulletedListData, bE as ButtonData, gC as CalculateProductInventorPreorderStatusAsyncRequest, gD as CalculateProductInventorPreorderStatusAsyncResponse, cY as CaptionData, g_ as CatalogV3BulkProductResult, cR as CellStyle, aP as ChoiceType, de as ChoicesSettings, bQ as CodeBlockData, cN as CollapsibleListData, cA as ColorData, bG as Colors, fA as CommonAggregation, hz as CommonAggregationData, hs as CommonAggregationDateHistogramAggregation, fB as CommonAggregationKindOneOf, hv as CommonAggregationNestedAggregation, hq as CommonAggregationRangeAggregation, hr as CommonAggregationScalarAggregation, bj as CommonAggregationType, ho as CommonAggregationValueAggregation, hp as CommonAggregationValueAggregationOptionsOneOf, gV as CommonBulkActionMetadata, hw as CommonCursorPaging, hx as CommonCursorPagingMetadata, hV as CommonCursorQuery, hW as CommonCursorQueryPagingMethodOneOf, hh as CommonCursorSearch, hi as CommonCursorSearchPagingMethodOneOf, hy as CommonCursors, g0 as CommonItemMetadata, bg as CommonScalarType, fO as CommonSearchDetails, bp as CommonSearchDetailsMode, bc as CommonSortOrder, fz as CommonSorting, di as ConnectedModifier, dm as ConnectedModifierChoice, dn as ConnectedModifierChoiceValueOneOf, dj as ConnectedModifierModifierSettingsOneOf, dc as ConnectedOption, df as ConnectedOptionChoice, dg as ConnectedOptionChoiceValueOneOf, dd as ConnectedOptionOptionSettingsOneOf, fX as CountProductsRequest, fY as CountProductsResponse, gE as CreateProductRequest, gF as CreateProductResponse, gI as CreateProductWithInventoryRequest, av as Crop, eZ as CursorPaging, e$ as CursorPagingMetadata, fr as CursorQuery, fs as CursorQueryPagingMethodOneOf, eJ as CursorSearch, eK as CursorSearchPagingMethodOneOf, f0 as Cursors, eu as CustomTag, eU as DateHistogramAggregation, bi as DateHistogramAggregationInterval, fg as DateHistogramResult, fi as DateHistogramResults, hO as DateHistogramResultsDateHistogramResult, cx as Decoration, cy as DecorationDataOneOf, aG as DecorationType, e9 as DeleteByFilterOperation, e8 as DeleteByIdsOperation, eG as DeleteProductRequest, eH as DeleteProductResponse, fw as DeprecatedSearchProductsWithOffsetRequest, fQ as DeprecatedSearchProductsWithOffsetResponse, cv as Design, cP as Dimensions, aK as Direction, aZ as DiscountType, bS as DividerData, fZ as DoNotCallBulkCreateProductsRequest, f_ as DoNotCallBulkCreateProductsResponse, g3 as DoNotCallBulkUpdateProductsRequest, g5 as DoNotCallBulkUpdateProductsResponse, ev as DoNotCallCreateProductRequest, ew as DoNotCallCreateProductResponse, eC as DoNotCallUpdateProductRequest, eD as DoNotCallUpdateProductResponse, e7 as DocumentImage, e6 as DocumentPayload, c$ as DocumentStyle, e4 as DocumentUpdateOperation, ec as DomainEvent, ed as DomainEventBodyOneOf, ex as DuplicateMediaIdAssignedToProduct, cL as EmbedData, ej as Empty, ee as EntityCreatedEvent, eh as EntityDeletedEvent, eg as EntityUpdatedEvent, a_ as Enum, cI as EventData, ic as EventMetadata, bo as EventType, fq as EventuallyConsistentQueryProductsRequest, ft as EventuallyConsistentQueryProductsResponse, dW as ExtendedFields, et as File, bT as FileData, bU as FileSource, bV as FileSourceDataOneOf, aX as FileType, dw as FixedMonetaryAmount, cD as FontSizeData, aH as FontType, dk as FreeTextSettings, gh as FulfillerDeleted, c6 as GIF, c5 as GIFData, ax as GIFType, bX as GalleryData, c1 as GalleryOptions, i9 as GetAllProductsCategoryRequest, eA as GetProductBySlugRequest, eB as GetProductBySlugResponse, ey as GetProductRequest, ez as GetProductResponse, co as Gradient, fM as GroupByAggregation, fN as GroupByAggregationKindOneOf, fh as GroupByValueResults, hH as GroupByValueResultsNestedValueAggregationResult, c8 as HTMLData, c9 as HTMLDataDataOneOf, c7 as HeadingData, bL as Height, em as IdentificationData, en as IdentificationDataIdOneOf, bZ as Image, ca as ImageData, cc as ImageDataStyles, eP as IncludeMissingValuesOptions, e5 as IndexDocument, dq as InfoSection, aJ as InitialExpandedItems, b8 as Interval, h0 as InvalidDigitalFileIds, eo as InvalidateCache, ep as InvalidateCacheGetByOneOf, dx as Inventory, aR as InventoryAvailabilityStatus, gy as InventoryItem, gN as InventoryItemComposite, gO as InventoryItemCompositeTrackingMethodOneOf, gz as InventoryItemTrackingMethodOneOf, dV as InventoryStatus, b$ as Item, c0 as ItemDataOneOf, gU as ItemMetadata, c3 as ItemStyle, d9 as Keyword, c2 as Layout, cZ as LayoutCellData, at as LayoutType, ap as LineStyle, bN as Link, cB as LinkData, bO as LinkDataOneOf, cd as LinkPreviewData, ce as LinkPreviewDataStyles, cT as ListValue, cf as MapData, cg as MapSettings, aA as MapType, g4 as MaskedProduct, aV as MeasurementUnit, d1 as Media, d7 as MediaItemsInfo, aN as MediaType, cC as MentionData, el as MessageEnvelope, c_ as Metadata, e1 as MinVariantPriceInfo, b5 as MissingValues, ba as Mode, dl as ModifierChoicesSettings, aQ as ModifierRenderType, dh as MultipleColors, eX as NestedAggregation, eV as NestedAggregationItem, eW as NestedAggregationItemKindOneOf, fJ as NestedAggregationNestedAggregationItem, fK as NestedAggregationNestedAggregationItemKindOneOf, bh as NestedAggregationNestedAggregationType, f4 as NestedAggregationResults, f5 as NestedAggregationResultsResultOneOf, b7 as NestedAggregationType, fd as NestedResultValue, fe as NestedResultValueResultOneOf, fj as NestedResults, hL as NestedResultsNestedResultValue, hM as NestedResultsNestedResultValueResultOneOf, hJ as NestedResultsRangeResult, hN as NestedResultsResults, hK as NestedResultsScalarResult, hI as NestedResultsValueResult, f9 as NestedValueAggregationResult, bB as Node, bC as NodeDataOneOf, bD as NodeStyle, aj as NodeType, aM as NullValue, cM as Oembed, ck as Option, dJ as OptionChoice, dK as OptionChoiceIds, dL as OptionChoiceNames, gP as OptionChoiceReferences, cs as OptionDesign, cn as OptionLayout, cV as OrderedListData, au as Orientation, bW as PDFSettings, er as Page, fR as PagingMetadata, ch as ParagraphData, cj as Permissions, dy as PhysicalProperties, fx as PlatformOffsetSearch, fy as PlatformOffsetSearchPagingMethodOneOf, fP as PlatformPaging, cK as PlaybackOptions, bH as PluginContainerData, al as PluginContainerDataAlignment, bI as PluginContainerDataWidth, bJ as PluginContainerDataWidthDataOneOf, ct as Poll, ci as PollData, cu as PollDataLayout, cr as PollDesign, cm as PollLayout, aE as PollLayoutDirection, aD as PollLayoutType, cl as PollSettings, az as Position, gA as PreorderInfo, aS as PreorderStatus, dM as PriceInfo, dP as PricePerUnit, dB as PricePerUnitRange, dC as PricePerUnitRangePricePerUnit, dz as PricePerUnitSettings, dv as PriceRange, gB as Product, ds as ProductCategoriesInfo, dt as ProductCategory, du as ProductCategoryIdsInfo, gj as ProductIdWithRevision, d2 as ProductMedia, d4 as ProductMediaMediaOneOf, d3 as ProductMediaSetByOneOf, aO as ProductOptionRenderType, aT as ProductPreorderAvailability, aU as ProductType, fT as ProductVariantIds, fW as ProductVariants, gJ as ProductWithInventoryTypedPropertiesOneOf, ie as ProductsQueryResult, fu as QueryProductsRequest, fv as QueryProductsResponse, eS as RangeAggregation, fC as RangeAggregationRangeBucket, f3 as RangeAggregationResult, eO as RangeBucket, fb as RangeResult, f7 as RangeResults, hB as RangeResultsRangeAggregationResult, bP as Rel, bb as RequestedFields, ef as RestoreInfo, ff as Results, fS as RetrieveVariantsRequest, fV as RetrieveVariantsResponse, dN as RevenueDetails, dr as Ribbon, bA as RichContent, bm as RoundingStrategy, eT as ScalarAggregation, fc as ScalarResult, b6 as ScalarType, eY as SearchDetails, bk as SearchDetailsMode, ek as SearchIndexingNotification, eI as SearchProductsRequest, e_ as SearchProductsResponse, fn as SearchRelated, fo as SearchRelatedDetails, fm as SearchRelatedProductsRequest, fp as SearchRelatedProductsResponse, dR as SecuredMedia, d8 as SeoSchema, db as Settings, b1 as SingleEntityOpsRequestedFields, b4 as SortDirection, b2 as SortOrder, b3 as SortType, eL as Sorting, ay as Source, bK as Spoiler, cE as SpoilerData, a$ as State, bM as Styles, cb as StylesBorder, dY as Subscription, dZ as SubscriptionCyclesOneOf, dX as SubscriptionDetails, d_ as SubscriptionDiscount, d$ as SubscriptionDiscountDiscountOneOf, aY as SubscriptionFrequency, dT as SubscriptionPrice, dU as SubscriptionPricePerUnit, dS as SubscriptionPricesInfo, cQ as TableCellData, cO as TableData, da as Tag, an as Target, ao as TextAlignment, cw as TextData, d0 as TextNodeStyle, bR as TextStyle, d6 as Thumbnail, c4 as Thumbnails, aw as ThumbnailsAlignment, ia as TreeReference, am as Type, es as URI, gu as UnsignedAdjustValue, gv as UnsignedAdjustValueAdjustValueOneOf, eF as UnsupportedFieldMasks, ea as UpdateByFilterOperation, e2 as UpdateDocumentsEvent, e3 as UpdateDocumentsEventOperationOneOf, eb as UpdateExistingOperation, gd as UpdateExtendedFieldsRequest, ge as UpdateExtendedFieldsResponse, gW as UpdateProductRequest, gX as UpdateProductResponse, gY as UpdateProductWithInventoryRequest, bY as V1Media, h$ as V3AdjustValue, i0 as V3AdjustValueAdjustValueOneOf, i3 as V3BulkAddInfoSectionsToProductsByFilterRequest, i4 as V3BulkAddInfoSectionsToProductsRequest, h_ as V3BulkAdjustProductVariantsByFilterRequest, hc as V3BulkDeleteProductsByFilterRequest, ha as V3BulkDeleteProductsRequest, f$ as V3BulkProductResult, i5 as V3BulkRemoveInfoSectionsFromProductsByFilterRequest, i6 as V3BulkRemoveInfoSectionsFromProductsRequest, h5 as V3BulkUpdateProductsByFilterRequest, hY as V3CountProductsRequest, h8 as V3DeleteProductRequest, h9 as V3DeleteProductResponse, hf as V3GetProductBySlugRequest, hd as V3GetProductRequest, he as V3GetProductResponse, gQ as V3OptionChoiceIds, gR as V3OptionChoiceNames, id as V3ProductSearchSpec, bz as V3ProductTypedPropertiesOneOf, hU as V3QueryProductsRequest, hX as V3QueryProductsResponse, hg as V3SearchProductsRequest, i1 as V3UnsignedAdjustValue, i2 as V3UnsignedAdjustValueAdjustValueOneOf, h7 as V3UpdateExtendedFieldsRequest, gK as V3VariantsInfo, eQ as ValueAggregation, fD as ValueAggregationIncludeMissingValuesOptions, bf as ValueAggregationMissingValues, eR as ValueAggregationOptionsOneOf, f2 as ValueAggregationResult, be as ValueAggregationSortDirection, bd as ValueAggregationSortType, fa as ValueResult, f6 as ValueResults, hA as ValueResultsValueAggregationResult, dH as Variant, dQ as VariantDigitalProperties, gH as VariantNotAlignedWithProduct, dO as VariantPhysicalProperties, e0 as VariantSummary, dI as VariantTypedPropertiesOneOf, gL as VariantWithInventory, gM as VariantWithInventoryTypedPropertiesOneOf, fU as VariantsCursorPaging, dG as VariantsInfo, gG as VariantsNotAlignedWithProduct, bl as VariantsOpsRequestedFields, eE as VariantsRemoved, aL as VerticalAlignment, b_ as Video, cJ as VideoData, d5 as VideoResolution, as as ViewMode, aB as ViewRole, aC as VoteRole, b0 as WebhookIdentityType, dD as WeightMeasurementUnitInfo, dA as WeightRange, aW as WeightUnit, aq as Width, ak as WidthType, hk as WixCommonAggregation, hl as WixCommonAggregationKindOneOf, bx as WixCommonAggregationType, g$ as WixCommonItemMetadata, bu as WixCommonScalarType, h6 as WixCommonSearchDetails, bq as WixCommonSortOrder, hj as WixCommonSorting } from './stores-catalog-v3-product-products-v-3.universal-niKacqEl.js';
|
|
2
|
+
import { V as V3Product, C as CreateProductOptions, a as CreateProductApplicationErrors, b as CreateProductValidationErrors, P as ProductWithInventory, c as CreateProductWithInventoryOptions, d as CreateProductWithInventoryResponse, U as UpdateProduct, e as UpdateProductOptions, f as UpdateProductApplicationErrors, g as UpdateProductValidationErrors, h as UpdateProductWithInventoryProduct, i as UpdateProductWithInventoryOptions, j as UpdateProductWithInventoryResponse, B as BulkCreateProductsOptions, k as BulkCreateProductsResponse, l as BulkCreateProductsApplicationErrors, m as BulkCreateProductsValidationErrors, n as BulkCreateProductsWithInventoryOptions, o as BulkCreateProductsWithInventoryResponse, p as V3MaskedProduct, q as BulkUpdateProductsOptions, r as BulkUpdateProductsResponse, s as BulkUpdateProductsApplicationErrors, t as BulkUpdateProductsValidationErrors, M as MaskedProductWithInventory, u as BulkUpdateProductsWithInventoryOptions, v as BulkUpdateProductsWithInventoryResponse, w as BulkUpdateProductsByFilterOptions, x as V3BulkUpdateProductsByFilterResponse, y as BulkUpdateProductsByFilterApplicationErrors, z as BulkUpdateProductsByFilterValidationErrors, A as V3BulkDeleteProductsResponse, D as BulkDeleteProductsByFilterOptions, E as V3BulkDeleteProductsByFilterResponse, G as GetProductOptions, F as GetProductBySlugOptions, H as V3GetProductBySlugResponse, I as V3ProductSearch, S as SearchProductsOptions, J as V3SearchProductsResponse, Q as QueryProductsOptions, K as ProductsQueryBuilder, L as CountProductsOptions, N as V3CountProductsResponse, O as BulkUpdateProductVariantsByFilterOptions, R as BulkUpdateProductVariantsByFilterResponse, T as BulkUpdateProductVariantsByFilterApplicationErrors, W as BulkUpdateProductVariantsByFilterValidationErrors, X as BulkAdjustProductVariantsByFilterOptions, Y as V3BulkAdjustProductVariantsByFilterResponse, Z as BulkAdjustProductVariantsByFilterApplicationErrors, _ as BulkAddInfoSectionsToProductsByFilterOptions, $ as V3BulkAddInfoSectionsToProductsByFilterResponse, a0 as BulkAddInfoSectionsToProductsByFilterApplicationErrors, a1 as V3ProductIdWithRevision, a2 as BulkAddInfoSectionsToProductsOptions, a3 as V3BulkAddInfoSectionsToProductsResponse, a4 as BulkAddInfoSectionsToProductsApplicationErrors, a5 as BulkRemoveInfoSectionsFromProductsByFilterOptions, a6 as V3BulkRemoveInfoSectionsFromProductsByFilterResponse, a7 as BulkRemoveInfoSectionsFromProductsOptions, a8 as V3BulkRemoveInfoSectionsFromProductsResponse, a9 as BulkAddProductsToCategoriesByFilterOptions, aa as BulkAddProductsToCategoriesByFilterResponse, ab as BulkRemoveProductsFromCategoriesByFilterOptions, ac as BulkRemoveProductsFromCategoriesByFilterResponse, ad as GetAllProductsCategoryResponse, ae as ProductCreatedEnvelope, af as ProductDeletedEnvelope, ag as ProductUpdatedEnvelope } from './stores-catalog-v3-product-products-v-3.universal-BxxKSsqd.js';
|
|
3
|
+
export { eg as ActionEvent, go as AdjustValue, gp as AdjustValueAdjustValueOneOf, eK as Aggregation, e$ as AggregationData, hN as AggregationDataAggregationResults, hO as AggregationDataAggregationResultsResultOneOf, hB as AggregationDataAggregationResultsScalarResult, fG as AggregationDateHistogramAggregation, bu as AggregationDateHistogramAggregationInterval, eL as AggregationKindOneOf, fJ as AggregationNestedAggregation, ho as AggregationNestedAggregationNestedAggregationItem, hp as AggregationNestedAggregationNestedAggregationItemKindOneOf, bt as AggregationNestedAggregationNestedAggregationType, fE as AggregationRangeAggregation, hh as AggregationRangeAggregationRangeBucket, fi as AggregationResults, hL as AggregationResultsDateHistogramResults, hK as AggregationResultsGroupByValueResults, hx as AggregationResultsNestedAggregationResults, hy as AggregationResultsNestedAggregationResultsResultOneOf, hM as AggregationResultsNestedResults, hA as AggregationResultsRangeResults, fj as AggregationResultsResultOneOf, f6 as AggregationResultsScalarResult, hz as AggregationResultsValueResults, fF as AggregationScalarAggregation, b7 as AggregationType, fC as AggregationValueAggregation, hi as AggregationValueAggregationIncludeMissingValuesOptions, br as AggregationValueAggregationMissingValues, fD as AggregationValueAggregationOptionsOneOf, bq as AggregationValueAggregationSortDirection, bp as AggregationValueAggregationSortType, ap as Alignment, cx as AnchorData, eo as App, cD as AppEmbedData, cE as AppEmbedDataAppDataOneOf, aG as AppType, f$ as ApplicationError, cS as AudioData, bl as AvailabilityStatus, cn as Background, co as BackgroundBackgroundOneOf, aD as BackgroundType, i6 as BaseEventMetadata, cV as BlockquoteData, cF as BookingData, bD as Border, cQ as BorderColors, dm as Brand, dD as BreadCrumb, dC as BreadcrumbsInfo, g0 as BulkActionMetadata, gb as BulkAddInfoSectionsToProductsByFilterRequest, gc as BulkAddInfoSectionsToProductsByFilterResponse, ge as BulkAddInfoSectionsToProductsRequest, gg as BulkAddInfoSectionsToProductsResponse, i2 as BulkAddProductsToCategoriesByFilterRequest, gn as BulkAdjustProductVariantsByFilterRequest, bw as BulkAdjustProductVariantsByFilterRequestRoundingStrategy, gs as BulkAdjustProductVariantsByFilterResponse, gV as BulkCreateProductsRequest, gZ as BulkCreateProductsWithInventoryRequest, g9 as BulkDeleteProductsByFilterRequest, ga as BulkDeleteProductsByFilterResponse, g6 as BulkDeleteProductsRequest, g7 as BulkDeleteProductsResponse, h6 as BulkDeleteProductsResponseBulkProductResult, gt as BulkInventoryItemAction, gP as BulkInventoryItemResult, gO as BulkInventoryItemResults, g8 as BulkProductResult, g_ as BulkProductResults, gh as BulkRemoveInfoSectionsFromProductsByFilterRequest, gi as BulkRemoveInfoSectionsFromProductsByFilterResponse, gj as BulkRemoveInfoSectionsFromProductsRequest, gk as BulkRemoveInfoSectionsFromProductsResponse, i3 as BulkRemoveProductsFromCategoriesByFilterRequest, hU as BulkUpdateProductVariantsByFilterRequest, g4 as BulkUpdateProductsByFilterRequest, g5 as BulkUpdateProductsByFilterResponse, g$ as BulkUpdateProductsRequest, h0 as BulkUpdateProductsWithInventoryRequest, gl as BulkUpdateVariantsByFilterRequest, gm as BulkUpdateVariantsByFilterResponse, cU as BulletedListData, bC as ButtonData, gy as CalculateProductInventorPreorderStatusAsyncRequest, gz as CalculateProductInventorPreorderStatusAsyncResponse, cW as CaptionData, gW as CatalogV3BulkProductResult, cP as CellStyle, aN as ChoiceType, dc as ChoicesSettings, bO as CodeBlockData, cL as CollapsibleListData, cy as ColorData, bE as Colors, fy as CommonAggregation, hu as CommonAggregationData, hn as CommonAggregationDateHistogramAggregation, fz as CommonAggregationKindOneOf, hq as CommonAggregationNestedAggregation, hl as CommonAggregationRangeAggregation, hm as CommonAggregationScalarAggregation, bh as CommonAggregationType, hj as CommonAggregationValueAggregation, hk as CommonAggregationValueAggregationOptionsOneOf, gR as CommonBulkActionMetadata, hr as CommonCursorPaging, hs as CommonCursorPagingMetadata, hQ as CommonCursorQuery, hR as CommonCursorQueryPagingMethodOneOf, hc as CommonCursorSearch, hd as CommonCursorSearchPagingMethodOneOf, ht as CommonCursors, f_ as CommonItemMetadata, be as CommonScalarType, fM as CommonSearchDetails, bn as CommonSearchDetailsMode, ba as CommonSortOrder, fx as CommonSorting, dg as ConnectedModifier, dk as ConnectedModifierChoice, dl as ConnectedModifierChoiceValueOneOf, dh as ConnectedModifierModifierSettingsOneOf, da as ConnectedOption, dd as ConnectedOptionChoice, de as ConnectedOptionChoiceValueOneOf, db as ConnectedOptionOptionSettingsOneOf, fV as CountProductsRequest, fW as CountProductsResponse, gA as CreateProductRequest, gB as CreateProductResponse, gE as CreateProductWithInventoryRequest, at as Crop, eX as CursorPaging, eZ as CursorPagingMetadata, fp as CursorQuery, fq as CursorQueryPagingMethodOneOf, eH as CursorSearch, eI as CursorSearchPagingMethodOneOf, e_ as Cursors, es as CustomTag, eS as DateHistogramAggregation, bg as DateHistogramAggregationInterval, fe as DateHistogramResult, fg as DateHistogramResults, hJ as DateHistogramResultsDateHistogramResult, cv as Decoration, cw as DecorationDataOneOf, aE as DecorationType, e7 as DeleteByFilterOperation, e6 as DeleteByIdsOperation, eE as DeleteProductRequest, eF as DeleteProductResponse, fu as DeprecatedSearchProductsWithOffsetRequest, fO as DeprecatedSearchProductsWithOffsetResponse, ct as Design, cN as Dimensions, aI as Direction, aX as DiscountType, bQ as DividerData, fX as DoNotCallBulkCreateProductsRequest, fY as DoNotCallBulkCreateProductsResponse, g1 as DoNotCallBulkUpdateProductsRequest, g3 as DoNotCallBulkUpdateProductsResponse, et as DoNotCallCreateProductRequest, eu as DoNotCallCreateProductResponse, eA as DoNotCallUpdateProductRequest, eB as DoNotCallUpdateProductResponse, e5 as DocumentImage, e4 as DocumentPayload, cZ as DocumentStyle, e2 as DocumentUpdateOperation, ea as DomainEvent, eb as DomainEventBodyOneOf, ev as DuplicateMediaIdAssignedToProduct, cJ as EmbedData, eh as Empty, ec as EntityCreatedEvent, ef as EntityDeletedEvent, ee as EntityUpdatedEvent, aY as Enum, cG as EventData, i7 as EventMetadata, bm as EventType, fo as EventuallyConsistentQueryProductsRequest, fr as EventuallyConsistentQueryProductsResponse, dU as ExtendedFields, er as File, bR as FileData, bS as FileSource, bT as FileSourceDataOneOf, aV as FileType, du as FixedMonetaryAmount, cB as FontSizeData, aF as FontType, di as FreeTextSettings, gd as FulfillerDeleted, c4 as GIF, c3 as GIFData, av as GIFType, bV as GalleryData, b$ as GalleryOptions, i4 as GetAllProductsCategoryRequest, ey as GetProductBySlugRequest, ez as GetProductBySlugResponse, ew as GetProductRequest, ex as GetProductResponse, cm as Gradient, fK as GroupByAggregation, fL as GroupByAggregationKindOneOf, ff as GroupByValueResults, hC as GroupByValueResultsNestedValueAggregationResult, c6 as HTMLData, c7 as HTMLDataDataOneOf, c5 as HeadingData, bJ as Height, ek as IdentificationData, el as IdentificationDataIdOneOf, bX as Image, c8 as ImageData, ca as ImageDataStyles, eN as IncludeMissingValuesOptions, e3 as IndexDocument, dn as InfoSection, aH as InitialExpandedItems, b6 as Interval, gY as InvalidDigitalFileIds, em as InvalidateCache, en as InvalidateCacheGetByOneOf, dv as Inventory, aP as InventoryAvailabilityStatus, gu as InventoryItem, gJ as InventoryItemComposite, gK as InventoryItemCompositeTrackingMethodOneOf, gv as InventoryItemTrackingMethodOneOf, dT as InventoryStatus, bZ as Item, b_ as ItemDataOneOf, gQ as ItemMetadata, c1 as ItemStyle, d7 as Keyword, c0 as Layout, cX as LayoutCellData, ar as LayoutType, an as LineStyle, bL as Link, cz as LinkData, bM as LinkDataOneOf, cb as LinkPreviewData, cc as LinkPreviewDataStyles, cR as ListValue, cd as MapData, ce as MapSettings, ay as MapType, g2 as MaskedProduct, aT as MeasurementUnit, c$ as Media, d5 as MediaItemsInfo, aL as MediaType, cA as MentionData, ej as MessageEnvelope, cY as Metadata, d$ as MinVariantPriceInfo, b3 as MissingValues, b8 as Mode, dj as ModifierChoicesSettings, aO as ModifierRenderType, df as MultipleColors, eV as NestedAggregation, eT as NestedAggregationItem, eU as NestedAggregationItemKindOneOf, fH as NestedAggregationNestedAggregationItem, fI as NestedAggregationNestedAggregationItemKindOneOf, bf as NestedAggregationNestedAggregationType, f2 as NestedAggregationResults, f3 as NestedAggregationResultsResultOneOf, b5 as NestedAggregationType, fb as NestedResultValue, fc as NestedResultValueResultOneOf, fh as NestedResults, hG as NestedResultsNestedResultValue, hH as NestedResultsNestedResultValueResultOneOf, hE as NestedResultsRangeResult, hI as NestedResultsResults, hF as NestedResultsScalarResult, hD as NestedResultsValueResult, f7 as NestedValueAggregationResult, bz as Node, bA as NodeDataOneOf, bB as NodeStyle, ah as NodeType, aK as NullValue, cK as Oembed, ci as Option, dH as OptionChoice, dI as OptionChoiceIds, dJ as OptionChoiceNames, gL as OptionChoiceReferences, cq as OptionDesign, cl as OptionLayout, cT as OrderedListData, as as Orientation, bU as PDFSettings, ep as Page, fP as PagingMetadata, cf as ParagraphData, ch as Permissions, dw as PhysicalProperties, fv as PlatformOffsetSearch, fw as PlatformOffsetSearchPagingMethodOneOf, fN as PlatformPaging, cI as PlaybackOptions, bF as PluginContainerData, aj as PluginContainerDataAlignment, bG as PluginContainerDataWidth, bH as PluginContainerDataWidthDataOneOf, cr as Poll, cg as PollData, cs as PollDataLayout, cp as PollDesign, ck as PollLayout, aC as PollLayoutDirection, aB as PollLayoutType, cj as PollSettings, ax as Position, gw as PreorderInfo, aQ as PreorderStatus, dK as PriceInfo, dN as PricePerUnit, dz as PricePerUnitRange, dA as PricePerUnitRangePricePerUnit, dx as PricePerUnitSettings, dt as PriceRange, gx as Product, dq as ProductCategoriesInfo, dr as ProductCategory, ds as ProductCategoryIdsInfo, gf as ProductIdWithRevision, d0 as ProductMedia, d2 as ProductMediaMediaOneOf, d1 as ProductMediaSetByOneOf, aM as ProductOptionRenderType, aR as ProductPreorderAvailability, aS as ProductType, fR as ProductVariantIds, fU as ProductVariants, gF as ProductWithInventoryTypedPropertiesOneOf, i9 as ProductsQueryResult, fs as QueryProductsRequest, ft as QueryProductsResponse, eQ as RangeAggregation, fA as RangeAggregationRangeBucket, f1 as RangeAggregationResult, eM as RangeBucket, f9 as RangeResult, f5 as RangeResults, hw as RangeResultsRangeAggregationResult, bN as Rel, b9 as RequestedFields, ed as RestoreInfo, fd as Results, fQ as RetrieveVariantsRequest, fT as RetrieveVariantsResponse, dL as RevenueDetails, dp as Ribbon, by as RichContent, bk as RoundingStrategy, eR as ScalarAggregation, fa as ScalarResult, b4 as ScalarType, eW as SearchDetails, bi as SearchDetailsMode, ei as SearchIndexingNotification, eG as SearchProductsRequest, eY as SearchProductsResponse, fl as SearchRelated, fm as SearchRelatedDetails, fk as SearchRelatedProductsRequest, fn as SearchRelatedProductsResponse, dP as SecuredMedia, d6 as SeoSchema, d9 as Settings, a$ as SingleEntityOpsRequestedFields, b2 as SortDirection, b0 as SortOrder, b1 as SortType, eJ as Sorting, aw as Source, bI as Spoiler, cC as SpoilerData, aZ as State, bK as Styles, c9 as StylesBorder, dW as Subscription, dX as SubscriptionCyclesOneOf, dV as SubscriptionDetails, dY as SubscriptionDiscount, dZ as SubscriptionDiscountDiscountOneOf, aW as SubscriptionFrequency, dR as SubscriptionPrice, dS as SubscriptionPricePerUnit, dQ as SubscriptionPricesInfo, cO as TableCellData, cM as TableData, d8 as Tag, al as Target, am as TextAlignment, cu as TextData, c_ as TextNodeStyle, bP as TextStyle, d4 as Thumbnail, c2 as Thumbnails, au as ThumbnailsAlignment, i5 as TreeReference, ak as Type, eq as URI, gq as UnsignedAdjustValue, gr as UnsignedAdjustValueAdjustValueOneOf, eD as UnsupportedFieldMasks, e8 as UpdateByFilterOperation, e0 as UpdateDocumentsEvent, e1 as UpdateDocumentsEventOperationOneOf, e9 as UpdateExistingOperation, gS as UpdateProductRequest, gT as UpdateProductResponse, gU as UpdateProductWithInventoryRequest, bW as V1Media, hW as V3AdjustValue, hX as V3AdjustValueAdjustValueOneOf, h_ as V3BulkAddInfoSectionsToProductsByFilterRequest, h$ as V3BulkAddInfoSectionsToProductsRequest, hV as V3BulkAdjustProductVariantsByFilterRequest, h7 as V3BulkDeleteProductsByFilterRequest, h5 as V3BulkDeleteProductsRequest, fZ as V3BulkProductResult, i0 as V3BulkRemoveInfoSectionsFromProductsByFilterRequest, i1 as V3BulkRemoveInfoSectionsFromProductsRequest, h1 as V3BulkUpdateProductsByFilterRequest, hT as V3CountProductsRequest, h3 as V3DeleteProductRequest, h4 as V3DeleteProductResponse, ha as V3GetProductBySlugRequest, h8 as V3GetProductRequest, h9 as V3GetProductResponse, gM as V3OptionChoiceIds, gN as V3OptionChoiceNames, i8 as V3ProductSearchSpec, bx as V3ProductTypedPropertiesOneOf, hP as V3QueryProductsRequest, hS as V3QueryProductsResponse, hb as V3SearchProductsRequest, hY as V3UnsignedAdjustValue, hZ as V3UnsignedAdjustValueAdjustValueOneOf, gG as V3VariantsInfo, eO as ValueAggregation, fB as ValueAggregationIncludeMissingValuesOptions, bd as ValueAggregationMissingValues, eP as ValueAggregationOptionsOneOf, f0 as ValueAggregationResult, bc as ValueAggregationSortDirection, bb as ValueAggregationSortType, f8 as ValueResult, f4 as ValueResults, hv as ValueResultsValueAggregationResult, dF as Variant, dO as VariantDigitalProperties, gD as VariantNotAlignedWithProduct, dM as VariantPhysicalProperties, d_ as VariantSummary, dG as VariantTypedPropertiesOneOf, gH as VariantWithInventory, gI as VariantWithInventoryTypedPropertiesOneOf, fS as VariantsCursorPaging, dE as VariantsInfo, gC as VariantsNotAlignedWithProduct, bj as VariantsOpsRequestedFields, eC as VariantsRemoved, aJ as VerticalAlignment, bY as Video, cH as VideoData, d3 as VideoResolution, aq as ViewMode, az as ViewRole, aA as VoteRole, a_ as WebhookIdentityType, dB as WeightMeasurementUnitInfo, dy as WeightRange, aU as WeightUnit, ao as Width, ai as WidthType, hf as WixCommonAggregation, hg as WixCommonAggregationKindOneOf, bv as WixCommonAggregationType, gX as WixCommonItemMetadata, bs as WixCommonScalarType, h2 as WixCommonSearchDetails, bo as WixCommonSortOrder, he as WixCommonSorting } from './stores-catalog-v3-product-products-v-3.universal-BxxKSsqd.js';
|
|
4
4
|
|
|
5
5
|
declare function createProduct$1(httpClient: HttpClient): CreateProductSignature;
|
|
6
6
|
interface CreateProductSignature {
|
|
@@ -163,18 +163,6 @@ interface BulkUpdateProductsByFilterSignature {
|
|
|
163
163
|
__validationErrorsType?: BulkUpdateProductsByFilterValidationErrors | undefined;
|
|
164
164
|
}>;
|
|
165
165
|
}
|
|
166
|
-
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
167
|
-
interface UpdateExtendedFieldsSignature {
|
|
168
|
-
/**
|
|
169
|
-
* Updates a product's extended fields.
|
|
170
|
-
*
|
|
171
|
-
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must first be configured in the app dashboard.
|
|
172
|
-
* @param - Product ID.
|
|
173
|
-
* @param - App namespace.
|
|
174
|
-
* @deprecated
|
|
175
|
-
*/
|
|
176
|
-
(productId: string, namespace: string, options?: UpdateExtendedFieldsOptions | undefined): Promise<V3UpdateExtendedFieldsResponse>;
|
|
177
|
-
}
|
|
178
166
|
declare function deleteProduct$1(httpClient: HttpClient): DeleteProductSignature;
|
|
179
167
|
interface DeleteProductSignature {
|
|
180
168
|
/**
|
|
@@ -371,7 +359,6 @@ declare const bulkCreateProductsWithInventory: MaybeContext<BuildRESTFunction<ty
|
|
|
371
359
|
declare const bulkUpdateProducts: MaybeContext<BuildRESTFunction<typeof bulkUpdateProducts$1> & typeof bulkUpdateProducts$1>;
|
|
372
360
|
declare const bulkUpdateProductsWithInventory: MaybeContext<BuildRESTFunction<typeof bulkUpdateProductsWithInventory$1> & typeof bulkUpdateProductsWithInventory$1>;
|
|
373
361
|
declare const bulkUpdateProductsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateProductsByFilter$1> & typeof bulkUpdateProductsByFilter$1>;
|
|
374
|
-
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
375
362
|
declare const deleteProduct: MaybeContext<BuildRESTFunction<typeof deleteProduct$1> & typeof deleteProduct$1>;
|
|
376
363
|
declare const bulkDeleteProducts: MaybeContext<BuildRESTFunction<typeof bulkDeleteProducts$1> & typeof bulkDeleteProducts$1>;
|
|
377
364
|
declare const bulkDeleteProductsByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteProductsByFilter$1> & typeof bulkDeleteProductsByFilter$1>;
|
|
@@ -400,4 +387,4 @@ declare const onProductDeleted: BuildEventDefinition<typeof onProductDeleted$1>;
|
|
|
400
387
|
*/
|
|
401
388
|
declare const onProductUpdated: BuildEventDefinition<typeof onProductUpdated$1>;
|
|
402
389
|
|
|
403
|
-
export { BulkAddInfoSectionsToProductsByFilterOptions, BulkAddInfoSectionsToProductsOptions, BulkAddProductsToCategoriesByFilterOptions, BulkAddProductsToCategoriesByFilterResponse, BulkAdjustProductVariantsByFilterOptions, BulkCreateProductsOptions, BulkCreateProductsResponse, BulkCreateProductsWithInventoryOptions, BulkCreateProductsWithInventoryResponse, BulkDeleteProductsByFilterOptions, BulkRemoveInfoSectionsFromProductsByFilterOptions, BulkRemoveInfoSectionsFromProductsOptions, BulkRemoveProductsFromCategoriesByFilterOptions, BulkRemoveProductsFromCategoriesByFilterResponse, BulkUpdateProductVariantsByFilterOptions, BulkUpdateProductVariantsByFilterResponse, BulkUpdateProductsByFilterOptions, BulkUpdateProductsOptions, BulkUpdateProductsResponse, BulkUpdateProductsWithInventoryOptions, BulkUpdateProductsWithInventoryResponse, CountProductsOptions, CreateProductOptions, CreateProductWithInventoryOptions, CreateProductWithInventoryResponse, GetAllProductsCategoryResponse, GetProductBySlugOptions, GetProductOptions, MaskedProductWithInventory, ProductCreatedEnvelope, ProductDeletedEnvelope, ProductUpdatedEnvelope, ProductWithInventory, ProductsQueryBuilder, QueryProductsOptions, SearchProductsOptions,
|
|
390
|
+
export { BulkAddInfoSectionsToProductsByFilterOptions, BulkAddInfoSectionsToProductsOptions, BulkAddProductsToCategoriesByFilterOptions, BulkAddProductsToCategoriesByFilterResponse, BulkAdjustProductVariantsByFilterOptions, BulkCreateProductsOptions, BulkCreateProductsResponse, BulkCreateProductsWithInventoryOptions, BulkCreateProductsWithInventoryResponse, BulkDeleteProductsByFilterOptions, BulkRemoveInfoSectionsFromProductsByFilterOptions, BulkRemoveInfoSectionsFromProductsOptions, BulkRemoveProductsFromCategoriesByFilterOptions, BulkRemoveProductsFromCategoriesByFilterResponse, BulkUpdateProductVariantsByFilterOptions, BulkUpdateProductVariantsByFilterResponse, BulkUpdateProductsByFilterOptions, BulkUpdateProductsOptions, BulkUpdateProductsResponse, BulkUpdateProductsWithInventoryOptions, BulkUpdateProductsWithInventoryResponse, CountProductsOptions, CreateProductOptions, CreateProductWithInventoryOptions, CreateProductWithInventoryResponse, GetAllProductsCategoryResponse, GetProductBySlugOptions, GetProductOptions, MaskedProductWithInventory, ProductCreatedEnvelope, ProductDeletedEnvelope, ProductUpdatedEnvelope, ProductWithInventory, ProductsQueryBuilder, QueryProductsOptions, SearchProductsOptions, UpdateProduct, UpdateProductOptions, UpdateProductWithInventoryOptions, UpdateProductWithInventoryProduct, UpdateProductWithInventoryResponse, V3BulkAddInfoSectionsToProductsByFilterResponse, V3BulkAddInfoSectionsToProductsResponse, V3BulkAdjustProductVariantsByFilterResponse, V3BulkDeleteProductsByFilterResponse, V3BulkDeleteProductsResponse, V3BulkRemoveInfoSectionsFromProductsByFilterResponse, V3BulkRemoveInfoSectionsFromProductsResponse, V3BulkUpdateProductsByFilterResponse, V3CountProductsResponse, V3GetProductBySlugResponse, V3MaskedProduct, V3Product, V3ProductIdWithRevision, V3SearchProductsResponse, bulkAddInfoSectionsToProducts, bulkAddInfoSectionsToProductsByFilter, bulkAddProductsToCategoriesByFilter, bulkAdjustProductVariantsByFilter, bulkCreateProducts, bulkCreateProductsWithInventory, bulkDeleteProducts, bulkDeleteProductsByFilter, bulkRemoveInfoSectionsFromProducts, bulkRemoveInfoSectionsFromProductsByFilter, bulkRemoveProductsFromCategoriesByFilter, bulkUpdateProductVariantsByFilter, bulkUpdateProducts, bulkUpdateProductsByFilter, bulkUpdateProductsWithInventory, countProducts, createProduct, createProductWithInventory, deleteProduct, getAllProductsCategory, getProduct, getProductBySlug, onProductCreated, onProductDeleted, onProductUpdated, queryProducts, searchProducts, updateProduct, updateProductWithInventory };
|
package/build/cjs/index.js
CHANGED
|
@@ -127,7 +127,6 @@ __export(index_exports, {
|
|
|
127
127
|
onProductUpdated: () => onProductUpdated2,
|
|
128
128
|
queryProducts: () => queryProducts4,
|
|
129
129
|
searchProducts: () => searchProducts4,
|
|
130
|
-
updateExtendedFields: () => updateExtendedFields4,
|
|
131
130
|
updateProduct: () => updateProduct4,
|
|
132
131
|
updateProductWithInventory: () => updateProductWithInventory4
|
|
133
132
|
});
|
|
@@ -3684,221 +3683,6 @@ function bulkUpdateProductsByFilter(payload) {
|
|
|
3684
3683
|
}
|
|
3685
3684
|
return __bulkUpdateProductsByFilter;
|
|
3686
3685
|
}
|
|
3687
|
-
function updateExtendedFields(payload) {
|
|
3688
|
-
function __updateExtendedFields({ host }) {
|
|
3689
|
-
const metadata = {
|
|
3690
|
-
entityFqdn: "wix.stores.catalog.v3.product",
|
|
3691
|
-
method: "POST",
|
|
3692
|
-
methodFqn: "wix.stores.catalog.v3.CatalogApi.UpdateExtendedFields",
|
|
3693
|
-
packageName: PACKAGE_NAME,
|
|
3694
|
-
url: resolveWixStoresCatalogV3CatalogApiUrl({
|
|
3695
|
-
protoPath: "/v3/products/{productId}/update-extended-fields",
|
|
3696
|
-
data: payload,
|
|
3697
|
-
host
|
|
3698
|
-
}),
|
|
3699
|
-
data: payload,
|
|
3700
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
3701
|
-
{
|
|
3702
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
3703
|
-
paths: [
|
|
3704
|
-
{ path: "product.createdDate" },
|
|
3705
|
-
{ path: "product.updatedDate" },
|
|
3706
|
-
{ path: "product.description.metadata.createdTimestamp" },
|
|
3707
|
-
{ path: "product.description.metadata.updatedTimestamp" },
|
|
3708
|
-
{ path: "product.media.main.image.urlExpirationDate" },
|
|
3709
|
-
{ path: "product.media.main.video.urlExpirationDate" },
|
|
3710
|
-
{
|
|
3711
|
-
path: "product.media.main.video.resolutions.urlExpirationDate"
|
|
3712
|
-
},
|
|
3713
|
-
{
|
|
3714
|
-
path: "product.media.main.video.resolutions.poster.urlExpirationDate"
|
|
3715
|
-
},
|
|
3716
|
-
{ path: "product.media.main.video.posters.urlExpirationDate" },
|
|
3717
|
-
{ path: "product.media.itemsInfo.items.image.urlExpirationDate" },
|
|
3718
|
-
{ path: "product.media.itemsInfo.items.video.urlExpirationDate" },
|
|
3719
|
-
{
|
|
3720
|
-
path: "product.media.itemsInfo.items.video.resolutions.urlExpirationDate"
|
|
3721
|
-
},
|
|
3722
|
-
{
|
|
3723
|
-
path: "product.media.itemsInfo.items.video.resolutions.poster.urlExpirationDate"
|
|
3724
|
-
},
|
|
3725
|
-
{
|
|
3726
|
-
path: "product.media.itemsInfo.items.video.posters.urlExpirationDate"
|
|
3727
|
-
},
|
|
3728
|
-
{
|
|
3729
|
-
path: "product.options.choicesSettings.choices.image.urlExpirationDate"
|
|
3730
|
-
},
|
|
3731
|
-
{
|
|
3732
|
-
path: "product.options.choicesSettings.choices.linkedMedia.image.urlExpirationDate"
|
|
3733
|
-
},
|
|
3734
|
-
{
|
|
3735
|
-
path: "product.options.choicesSettings.choices.linkedMedia.video.urlExpirationDate"
|
|
3736
|
-
},
|
|
3737
|
-
{
|
|
3738
|
-
path: "product.options.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate"
|
|
3739
|
-
},
|
|
3740
|
-
{
|
|
3741
|
-
path: "product.options.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate"
|
|
3742
|
-
},
|
|
3743
|
-
{
|
|
3744
|
-
path: "product.options.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate"
|
|
3745
|
-
},
|
|
3746
|
-
{
|
|
3747
|
-
path: "product.modifiers.choicesSettings.choices.image.urlExpirationDate"
|
|
3748
|
-
},
|
|
3749
|
-
{
|
|
3750
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.image.urlExpirationDate"
|
|
3751
|
-
},
|
|
3752
|
-
{
|
|
3753
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.video.urlExpirationDate"
|
|
3754
|
-
},
|
|
3755
|
-
{
|
|
3756
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate"
|
|
3757
|
-
},
|
|
3758
|
-
{
|
|
3759
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate"
|
|
3760
|
-
},
|
|
3761
|
-
{
|
|
3762
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate"
|
|
3763
|
-
},
|
|
3764
|
-
{
|
|
3765
|
-
path: "product.infoSections.description.metadata.createdTimestamp"
|
|
3766
|
-
},
|
|
3767
|
-
{
|
|
3768
|
-
path: "product.infoSections.description.metadata.updatedTimestamp"
|
|
3769
|
-
},
|
|
3770
|
-
{
|
|
3771
|
-
path: "product.variantsInfo.variants.media.image.urlExpirationDate"
|
|
3772
|
-
},
|
|
3773
|
-
{
|
|
3774
|
-
path: "product.variantsInfo.variants.media.video.urlExpirationDate"
|
|
3775
|
-
},
|
|
3776
|
-
{
|
|
3777
|
-
path: "product.variantsInfo.variants.media.video.resolutions.urlExpirationDate"
|
|
3778
|
-
},
|
|
3779
|
-
{
|
|
3780
|
-
path: "product.variantsInfo.variants.media.video.resolutions.poster.urlExpirationDate"
|
|
3781
|
-
},
|
|
3782
|
-
{
|
|
3783
|
-
path: "product.variantsInfo.variants.media.video.posters.urlExpirationDate"
|
|
3784
|
-
}
|
|
3785
|
-
]
|
|
3786
|
-
},
|
|
3787
|
-
{
|
|
3788
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
3789
|
-
paths: [
|
|
3790
|
-
{ path: "product.physicalProperties.pricePerUnit.quantity" },
|
|
3791
|
-
{
|
|
3792
|
-
path: "product.physicalProperties.shippingWeightRange.minValue"
|
|
3793
|
-
},
|
|
3794
|
-
{
|
|
3795
|
-
path: "product.physicalProperties.shippingWeightRange.maxValue"
|
|
3796
|
-
},
|
|
3797
|
-
{
|
|
3798
|
-
path: "product.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity"
|
|
3799
|
-
},
|
|
3800
|
-
{
|
|
3801
|
-
path: "product.variantsInfo.variants.revenueDetails.profitMargin"
|
|
3802
|
-
},
|
|
3803
|
-
{
|
|
3804
|
-
path: "product.subscriptionDetails.subscriptions.discount.percentOff"
|
|
3805
|
-
},
|
|
3806
|
-
{
|
|
3807
|
-
path: "product.minVariantPriceInfo.pricePerUnitData.settings.quantity"
|
|
3808
|
-
},
|
|
3809
|
-
{
|
|
3810
|
-
path: "product.minVariantPriceInfo.revenueDetails.profitMargin"
|
|
3811
|
-
},
|
|
3812
|
-
{
|
|
3813
|
-
path: "product.description.nodes.galleryData.items.image.media.duration"
|
|
3814
|
-
},
|
|
3815
|
-
{
|
|
3816
|
-
path: "product.description.nodes.galleryData.items.video.media.duration"
|
|
3817
|
-
},
|
|
3818
|
-
{
|
|
3819
|
-
path: "product.description.nodes.galleryData.items.video.thumbnail.duration"
|
|
3820
|
-
},
|
|
3821
|
-
{
|
|
3822
|
-
path: "product.description.nodes.galleryData.options.item.ratio"
|
|
3823
|
-
},
|
|
3824
|
-
{ path: "product.description.nodes.imageData.image.duration" },
|
|
3825
|
-
{ path: "product.description.nodes.mapData.mapSettings.lat" },
|
|
3826
|
-
{ path: "product.description.nodes.mapData.mapSettings.lng" },
|
|
3827
|
-
{
|
|
3828
|
-
path: "product.description.nodes.pollData.poll.image.duration"
|
|
3829
|
-
},
|
|
3830
|
-
{
|
|
3831
|
-
path: "product.description.nodes.pollData.poll.options.image.duration"
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
path: "product.description.nodes.pollData.design.poll.background.image.duration"
|
|
3835
|
-
},
|
|
3836
|
-
{ path: "product.description.nodes.appEmbedData.image.duration" },
|
|
3837
|
-
{ path: "product.description.nodes.videoData.video.duration" },
|
|
3838
|
-
{
|
|
3839
|
-
path: "product.description.nodes.videoData.thumbnail.duration"
|
|
3840
|
-
},
|
|
3841
|
-
{ path: "product.description.nodes.audioData.audio.duration" },
|
|
3842
|
-
{
|
|
3843
|
-
path: "product.description.nodes.audioData.coverImage.duration"
|
|
3844
|
-
},
|
|
3845
|
-
{
|
|
3846
|
-
path: "product.infoSections.description.nodes.galleryData.items.image.media.duration"
|
|
3847
|
-
},
|
|
3848
|
-
{
|
|
3849
|
-
path: "product.infoSections.description.nodes.galleryData.items.video.media.duration"
|
|
3850
|
-
},
|
|
3851
|
-
{
|
|
3852
|
-
path: "product.infoSections.description.nodes.galleryData.items.video.thumbnail.duration"
|
|
3853
|
-
},
|
|
3854
|
-
{
|
|
3855
|
-
path: "product.infoSections.description.nodes.galleryData.options.item.ratio"
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
path: "product.infoSections.description.nodes.imageData.image.duration"
|
|
3859
|
-
},
|
|
3860
|
-
{
|
|
3861
|
-
path: "product.infoSections.description.nodes.mapData.mapSettings.lat"
|
|
3862
|
-
},
|
|
3863
|
-
{
|
|
3864
|
-
path: "product.infoSections.description.nodes.mapData.mapSettings.lng"
|
|
3865
|
-
},
|
|
3866
|
-
{
|
|
3867
|
-
path: "product.infoSections.description.nodes.pollData.poll.image.duration"
|
|
3868
|
-
},
|
|
3869
|
-
{
|
|
3870
|
-
path: "product.infoSections.description.nodes.pollData.poll.options.image.duration"
|
|
3871
|
-
},
|
|
3872
|
-
{
|
|
3873
|
-
path: "product.infoSections.description.nodes.pollData.design.poll.background.image.duration"
|
|
3874
|
-
},
|
|
3875
|
-
{
|
|
3876
|
-
path: "product.infoSections.description.nodes.appEmbedData.image.duration"
|
|
3877
|
-
},
|
|
3878
|
-
{
|
|
3879
|
-
path: "product.infoSections.description.nodes.videoData.video.duration"
|
|
3880
|
-
},
|
|
3881
|
-
{
|
|
3882
|
-
path: "product.infoSections.description.nodes.videoData.thumbnail.duration"
|
|
3883
|
-
},
|
|
3884
|
-
{
|
|
3885
|
-
path: "product.infoSections.description.nodes.audioData.audio.duration"
|
|
3886
|
-
},
|
|
3887
|
-
{
|
|
3888
|
-
path: "product.infoSections.description.nodes.audioData.coverImage.duration"
|
|
3889
|
-
},
|
|
3890
|
-
{
|
|
3891
|
-
path: "product.variantsInfo.variants.physicalProperties.weight"
|
|
3892
|
-
},
|
|
3893
|
-
{ path: "product.minVariantPriceInfo.weight" }
|
|
3894
|
-
]
|
|
3895
|
-
}
|
|
3896
|
-
])
|
|
3897
|
-
};
|
|
3898
|
-
return metadata;
|
|
3899
|
-
}
|
|
3900
|
-
return __updateExtendedFields;
|
|
3901
|
-
}
|
|
3902
3686
|
function deleteProduct(payload) {
|
|
3903
3687
|
function __deleteProduct({ host }) {
|
|
3904
3688
|
const metadata = {
|
|
@@ -7040,80 +6824,6 @@ async function bulkUpdateProductsByFilter2(options) {
|
|
|
7040
6824
|
throw transformedError;
|
|
7041
6825
|
}
|
|
7042
6826
|
}
|
|
7043
|
-
async function updateExtendedFields2(productId, namespace, options) {
|
|
7044
|
-
const { httpClient, sideEffects } = arguments[3];
|
|
7045
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
7046
|
-
{
|
|
7047
|
-
productId,
|
|
7048
|
-
namespace,
|
|
7049
|
-
namespaceData: options?.namespaceData,
|
|
7050
|
-
fields: options?.fields
|
|
7051
|
-
},
|
|
7052
|
-
[]
|
|
7053
|
-
);
|
|
7054
|
-
const reqOpts = updateExtendedFields(payload);
|
|
7055
|
-
sideEffects?.onSiteCall?.();
|
|
7056
|
-
try {
|
|
7057
|
-
const result = await httpClient.request(reqOpts);
|
|
7058
|
-
sideEffects?.onSuccess?.(result);
|
|
7059
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
7060
|
-
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
7061
|
-
{
|
|
7062
|
-
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
7063
|
-
paths: [{ path: "product.url" }]
|
|
7064
|
-
},
|
|
7065
|
-
{
|
|
7066
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
7067
|
-
paths: [
|
|
7068
|
-
{ path: "product.media.main.image" },
|
|
7069
|
-
{ path: "product.media.itemsInfo.items.image" },
|
|
7070
|
-
{ path: "product.options.choicesSettings.choices.image" },
|
|
7071
|
-
{
|
|
7072
|
-
path: "product.options.choicesSettings.choices.linkedMedia.image"
|
|
7073
|
-
},
|
|
7074
|
-
{ path: "product.modifiers.choicesSettings.choices.image" },
|
|
7075
|
-
{
|
|
7076
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.image"
|
|
7077
|
-
},
|
|
7078
|
-
{ path: "product.variantsInfo.variants.media.image" }
|
|
7079
|
-
]
|
|
7080
|
-
},
|
|
7081
|
-
{
|
|
7082
|
-
transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
|
|
7083
|
-
paths: [
|
|
7084
|
-
{ path: "product.media.main.video" },
|
|
7085
|
-
{ path: "product.media.itemsInfo.items.video" },
|
|
7086
|
-
{
|
|
7087
|
-
path: "product.options.choicesSettings.choices.linkedMedia.video"
|
|
7088
|
-
},
|
|
7089
|
-
{
|
|
7090
|
-
path: "product.modifiers.choicesSettings.choices.linkedMedia.video"
|
|
7091
|
-
},
|
|
7092
|
-
{ path: "product.variantsInfo.variants.media.video" }
|
|
7093
|
-
]
|
|
7094
|
-
}
|
|
7095
|
-
]),
|
|
7096
|
-
["product.description", "product.infoSections.description"]
|
|
7097
|
-
);
|
|
7098
|
-
} catch (err) {
|
|
7099
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
7100
|
-
err,
|
|
7101
|
-
{
|
|
7102
|
-
spreadPathsToArguments: {},
|
|
7103
|
-
explicitPathsToArguments: {
|
|
7104
|
-
productId: "$[0]",
|
|
7105
|
-
namespace: "$[1]",
|
|
7106
|
-
namespaceData: "$[2].namespaceData",
|
|
7107
|
-
fields: "$[2].fields"
|
|
7108
|
-
},
|
|
7109
|
-
singleArgumentUnchanged: false
|
|
7110
|
-
},
|
|
7111
|
-
["productId", "namespace", "options"]
|
|
7112
|
-
);
|
|
7113
|
-
sideEffects?.onError?.(err);
|
|
7114
|
-
throw transformedError;
|
|
7115
|
-
}
|
|
7116
|
-
}
|
|
7117
6827
|
async function deleteProduct2(productId) {
|
|
7118
6828
|
const { httpClient, sideEffects } = arguments[1];
|
|
7119
6829
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -7979,15 +7689,6 @@ function bulkUpdateProductsByFilter3(httpClient) {
|
|
|
7979
7689
|
{ httpClient }
|
|
7980
7690
|
);
|
|
7981
7691
|
}
|
|
7982
|
-
function updateExtendedFields3(httpClient) {
|
|
7983
|
-
return (productId, namespace, options) => updateExtendedFields2(
|
|
7984
|
-
productId,
|
|
7985
|
-
namespace,
|
|
7986
|
-
options,
|
|
7987
|
-
// @ts-ignore
|
|
7988
|
-
{ httpClient }
|
|
7989
|
-
);
|
|
7990
|
-
}
|
|
7991
7692
|
function deleteProduct3(httpClient) {
|
|
7992
7693
|
return (productId) => deleteProduct2(
|
|
7993
7694
|
productId,
|
|
@@ -8582,7 +8283,6 @@ var bulkCreateProductsWithInventory4 = /* @__PURE__ */ (0, import_rest_modules3.
|
|
|
8582
8283
|
var bulkUpdateProducts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateProducts3);
|
|
8583
8284
|
var bulkUpdateProductsWithInventory4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateProductsWithInventory3);
|
|
8584
8285
|
var bulkUpdateProductsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateProductsByFilter3);
|
|
8585
|
-
var updateExtendedFields4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateExtendedFields3);
|
|
8586
8286
|
var deleteProduct4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteProduct3);
|
|
8587
8287
|
var bulkDeleteProducts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteProducts3);
|
|
8588
8288
|
var bulkDeleteProductsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteProductsByFilter3);
|
|
@@ -8716,7 +8416,6 @@ var onProductUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
8716
8416
|
onProductUpdated,
|
|
8717
8417
|
queryProducts,
|
|
8718
8418
|
searchProducts,
|
|
8719
|
-
updateExtendedFields,
|
|
8720
8419
|
updateProduct,
|
|
8721
8420
|
updateProductWithInventory
|
|
8722
8421
|
});
|