@wix/himalaya-cli 0.2003.0 → 0.2005.0
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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
- package/dist/cli.mjs +541 -7
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +15672 -8927
- package/guides/wix-api-usage.md +28 -0
- package/package.json +2 -2
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { Animation, Backdrop, BackgroundGradient, Banner, BlockquoteData, BookingData, BulkActionMetadata, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardDataBackground, CardStyles, CheckboxListData, CodeBlockData, CollapsibleListData, ConnectedModifier, ConnectedOption, DividerData, DocumentStyle, EmbedData, EventData, ExtendedFields, FileData, GIFData, GalleryOptions, HTMLData, HeadingData, ImageDataCrop, ImageDataStyles, ImageStyles, InventoryItemComposite, ItemImage, ItemMetadata, LayoutCellData, LayoutDataBackground, Link, LinkPreviewData, ListItemNodeData, MapData, MediaItemsInfo, Metadata, NodeStyle, OptionChoiceIds, OptionChoiceNames, OptionDesign, OrderedListData, ParagraphData, PlaybackOptions, PluginContainerData, PollDataLayout, PollSettings, PriceInfo, PricePerUnit, PricePerUnitRange, PricePerUnitSettings, PricingData, ProductMedia, PurchaseEligibility, RevenueDetails, Ribbon, RibbonStyles, SectionDivider, SeoSchema, ShapeDataStyles, SlotData, SmartBlockData, SubscriptionDetails, TableCellData, TableDataDimensions, Tags, TextData, TocData, V1Media, VariantDigitalProperties, WeightMeasurementUnitInfo, WeightRange } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AnchorData, Animation, ApplicationError, Backdrop, Background, BackgroundGradient, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardDataBackground, CardStyles, CellStyle, CheckboxListData, ChoicesSettings, CodeBlockData, CollapsibleListData, ColorData, ColorDataBackground, Colors, ConnectedModifier, ConnectedModifierChoice, ConnectedOption, ConnectedOptionChoice, Decoration, DividerData, DividerDataStyles, DocumentStyle, EmbedData, EntranceAnimation, EntranceEffect, EventData, ExtendedFields, FileData, FileSource, FixedMonetaryAmount, FontFamilyData, FontSizeData, FreeTextSettings, GIF, GIFData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HeadingData, Height, Image, ImageDataCrop, ImageDataStyles, ImageStyles, InventoryItemComposite, ItemImage, ItemMetadata, ItemStyle, Keyword, Layers, LayoutCellData, LayoutDataBackground, Link, LinkData, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, LoopAnimation, LoopEffect, MapData, MapSettings, MediaItemsInfo, MediaReference, MediaReferences, MentionData, Metadata, ModifierChoicesSettings, NodeStyle, Oembed, OptionChoiceIds, OptionChoiceNames, OptionDesign, OptionLayout, OrderedListData, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataWidth, PointerEffect, PollDataLayout, PollLayout, PollSettings, PreorderInfo, PriceInfo, PricePerUnit, PricePerUnitRange, PricePerUnitRangePricePerUnit, PricePerUnitSettings, PricingData, ProductMedia, PurchaseEligibility, Rel, RevenueDetails, Ribbon, RibbonStyles, SectionDivider, SecuredMedia, SeoSchema, Settings, ShapeDataStyles, SketchData, SlotData, SlotDesign, SmartBlockData, Spoiler, SpoilerData, Stop, Styles, StylesBorder, Subscription, SubscriptionDetails, SubscriptionDiscount, TableCellData, TableDataDimensions, Tag, TagList, Tags, TextData, TextNodeStyle, TextStyle, Thumbnail, Thumbnails, TocData, V1Media, VariantDigitalProperties, VideoResolution, VideoV2, WeightMeasurementUnitInfo, WeightRange } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddProductResult {
|
|
6
|
+
itemMetadata?: ItemMetadata;
|
|
7
|
+
}
|
|
8
|
+
export interface AddProductsToImportRequest {
|
|
9
|
+
catalogImportId?: string;
|
|
10
|
+
products?: ProductItem[];
|
|
11
|
+
}
|
|
12
|
+
export interface AddProductsToImportResponse {
|
|
13
|
+
results?: AddProductResult[];
|
|
14
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
15
|
+
}
|
|
16
|
+
export interface AppEmbedData {
|
|
17
|
+
bookingData?: BookingData;
|
|
18
|
+
eventData?: EventData;
|
|
19
|
+
type?: string;
|
|
20
|
+
itemId?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
imageSrc?: string;
|
|
23
|
+
url?: string;
|
|
24
|
+
image?: V1Media;
|
|
25
|
+
hideImage?: boolean;
|
|
26
|
+
hideTitle?: boolean;
|
|
27
|
+
hidePrice?: boolean;
|
|
28
|
+
hideDescription?: boolean;
|
|
29
|
+
hideDateTime?: boolean;
|
|
30
|
+
hideLocation?: boolean;
|
|
31
|
+
hideDuration?: boolean;
|
|
32
|
+
hideButton?: boolean;
|
|
33
|
+
hideRibbon?: boolean;
|
|
34
|
+
buttonStyles?: ButtonStyles;
|
|
35
|
+
imageStyles?: ImageStyles;
|
|
36
|
+
ribbonStyles?: RibbonStyles;
|
|
37
|
+
cardStyles?: CardStyles;
|
|
38
|
+
containerData?: PluginContainerData;
|
|
39
|
+
pricingData?: PricingData;
|
|
40
|
+
animation?: Animation;
|
|
41
|
+
}
|
|
42
|
+
export interface AudioData {
|
|
43
|
+
containerData?: PluginContainerData;
|
|
44
|
+
audio?: V1Media;
|
|
45
|
+
disableDownload?: boolean;
|
|
46
|
+
coverImage?: V1Media;
|
|
47
|
+
name?: string;
|
|
48
|
+
authorName?: string;
|
|
49
|
+
html?: string;
|
|
50
|
+
animation?: Animation;
|
|
51
|
+
}
|
|
52
|
+
export interface BackgroundImage {
|
|
53
|
+
media?: V1Media;
|
|
54
|
+
opacity?: number;
|
|
55
|
+
scaling?: string;
|
|
56
|
+
position?: string;
|
|
57
|
+
overlay?: CardDataBackground;
|
|
58
|
+
blur?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface Brand {
|
|
61
|
+
id?: string;
|
|
62
|
+
name?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface CardData {
|
|
65
|
+
background?: CardDataBackground;
|
|
66
|
+
backgroundImage?: BackgroundImage;
|
|
67
|
+
}
|
|
68
|
+
export interface CatalogImport {
|
|
69
|
+
id?: string;
|
|
70
|
+
createdDate?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface CreateCatalogImportRequest {
|
|
73
|
+
catalogImport?: CatalogImport;
|
|
74
|
+
}
|
|
75
|
+
export interface CreateCatalogImportResponse {
|
|
76
|
+
catalogImport?: CatalogImport;
|
|
77
|
+
}
|
|
78
|
+
export interface Design {
|
|
79
|
+
poll?: PollDesign;
|
|
80
|
+
options?: OptionDesign;
|
|
81
|
+
}
|
|
82
|
+
export interface Dimensions {
|
|
83
|
+
length?: string;
|
|
84
|
+
width?: string;
|
|
85
|
+
height?: string;
|
|
86
|
+
unit?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface GalleryData {
|
|
89
|
+
containerData?: PluginContainerData;
|
|
90
|
+
items?: Item[];
|
|
91
|
+
options?: GalleryOptions;
|
|
92
|
+
disableExpand?: boolean;
|
|
93
|
+
disableDownload?: boolean;
|
|
94
|
+
animation?: Animation;
|
|
95
|
+
}
|
|
96
|
+
export interface ImageData {
|
|
97
|
+
containerData?: PluginContainerData;
|
|
98
|
+
image?: V1Media;
|
|
99
|
+
link?: Link;
|
|
100
|
+
disableExpand?: boolean;
|
|
101
|
+
altText?: string;
|
|
102
|
+
caption?: string;
|
|
103
|
+
disableDownload?: boolean;
|
|
104
|
+
decorative?: boolean;
|
|
105
|
+
styles?: ImageDataStyles;
|
|
106
|
+
crop?: ImageDataCrop;
|
|
107
|
+
cropShape?: string;
|
|
108
|
+
animation?: Animation;
|
|
109
|
+
}
|
|
110
|
+
export interface InfoSection {
|
|
111
|
+
id?: string;
|
|
112
|
+
uniqueName?: string;
|
|
113
|
+
title?: string;
|
|
114
|
+
description?: RichContent;
|
|
115
|
+
plainDescription?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface Item {
|
|
118
|
+
image?: ItemImage;
|
|
119
|
+
video?: Video;
|
|
120
|
+
title?: string;
|
|
121
|
+
altText?: string;
|
|
122
|
+
}
|
|
123
|
+
export interface LayoutData {
|
|
124
|
+
backgroundColor?: string;
|
|
125
|
+
backgroundImage?: LayoutDataBackgroundImage;
|
|
126
|
+
borderColor?: string;
|
|
127
|
+
borderWidth?: number;
|
|
128
|
+
borderRadius?: number;
|
|
129
|
+
backdropColor?: string;
|
|
130
|
+
backdropImage?: LayoutDataBackgroundImage;
|
|
131
|
+
backdropPaddingTop?: number;
|
|
132
|
+
backdropPaddingBottom?: number;
|
|
133
|
+
gap?: number;
|
|
134
|
+
cellPadding?: number[];
|
|
135
|
+
cellVerticalAlignment?: string;
|
|
136
|
+
responsivenessBehaviour?: string;
|
|
137
|
+
responsivenessBreakpoint?: number;
|
|
138
|
+
containerData?: PluginContainerData;
|
|
139
|
+
designTarget?: string;
|
|
140
|
+
banner?: Banner;
|
|
141
|
+
background?: LayoutDataBackground;
|
|
142
|
+
backdrop?: Backdrop;
|
|
143
|
+
animation?: Animation;
|
|
144
|
+
topDivider?: SectionDivider;
|
|
145
|
+
bottomDivider?: SectionDivider;
|
|
146
|
+
}
|
|
147
|
+
export interface LayoutDataBackgroundImage {
|
|
148
|
+
media?: V1Media;
|
|
149
|
+
opacity?: number;
|
|
150
|
+
scaling?: string;
|
|
151
|
+
position?: string;
|
|
152
|
+
blur?: number;
|
|
153
|
+
overlay?: LayoutDataBackground;
|
|
154
|
+
}
|
|
155
|
+
export interface Media {
|
|
156
|
+
main?: ProductMedia;
|
|
157
|
+
itemsInfo?: MediaItemsInfo;
|
|
158
|
+
}
|
|
159
|
+
export interface Node {
|
|
160
|
+
buttonData?: ButtonData;
|
|
161
|
+
codeBlockData?: CodeBlockData;
|
|
162
|
+
dividerData?: DividerData;
|
|
163
|
+
fileData?: FileData;
|
|
164
|
+
galleryData?: GalleryData;
|
|
165
|
+
gifData?: GIFData;
|
|
166
|
+
headingData?: HeadingData;
|
|
167
|
+
htmlData?: HTMLData;
|
|
168
|
+
imageData?: ImageData;
|
|
169
|
+
linkPreviewData?: LinkPreviewData;
|
|
170
|
+
mapData?: MapData;
|
|
171
|
+
paragraphData?: ParagraphData;
|
|
172
|
+
pollData?: PollData;
|
|
173
|
+
textData?: TextData;
|
|
174
|
+
appEmbedData?: AppEmbedData;
|
|
175
|
+
videoData?: VideoData;
|
|
176
|
+
embedData?: EmbedData;
|
|
177
|
+
collapsibleListData?: CollapsibleListData;
|
|
178
|
+
tableData?: TableData;
|
|
179
|
+
tableCellData?: TableCellData;
|
|
180
|
+
externalData?: Record<string, unknown>;
|
|
181
|
+
audioData?: AudioData;
|
|
182
|
+
orderedListData?: OrderedListData;
|
|
183
|
+
bulletedListData?: BulletedListData;
|
|
184
|
+
blockquoteData?: BlockquoteData;
|
|
185
|
+
captionData?: CaptionData;
|
|
186
|
+
layoutData?: LayoutData;
|
|
187
|
+
layoutCellData?: LayoutCellData;
|
|
188
|
+
shapeData?: ShapeData;
|
|
189
|
+
cardData?: CardData;
|
|
190
|
+
tocData?: TocData;
|
|
191
|
+
smartBlockData?: SmartBlockData;
|
|
192
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
193
|
+
checkboxListData?: CheckboxListData;
|
|
194
|
+
listItemData?: ListItemNodeData;
|
|
195
|
+
slotData?: SlotData;
|
|
196
|
+
type?: string;
|
|
197
|
+
id?: string;
|
|
198
|
+
nodes?: Node[];
|
|
199
|
+
style?: NodeStyle;
|
|
200
|
+
}
|
|
201
|
+
export interface Option {
|
|
202
|
+
id?: string;
|
|
203
|
+
title?: string;
|
|
204
|
+
image?: V1Media;
|
|
205
|
+
}
|
|
206
|
+
export interface OptionChoiceReferences {
|
|
207
|
+
optionChoiceIds?: OptionChoiceIds;
|
|
208
|
+
optionChoiceNames?: OptionChoiceNames;
|
|
209
|
+
}
|
|
210
|
+
export interface PhysicalProperties {
|
|
211
|
+
pricePerUnit?: PricePerUnitSettings;
|
|
212
|
+
fulfillerId?: string;
|
|
213
|
+
shippingWeightRange?: WeightRange;
|
|
214
|
+
pricePerUnitRange?: PricePerUnitRange;
|
|
215
|
+
weightMeasurementUnitInfo?: WeightMeasurementUnitInfo;
|
|
216
|
+
deliveryProfileId?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface Poll {
|
|
219
|
+
id?: string;
|
|
220
|
+
title?: string;
|
|
221
|
+
creatorId?: string;
|
|
222
|
+
image?: V1Media;
|
|
223
|
+
options?: Option[];
|
|
224
|
+
settings?: PollSettings;
|
|
225
|
+
}
|
|
226
|
+
export interface PollData {
|
|
227
|
+
containerData?: PluginContainerData;
|
|
228
|
+
poll?: Poll;
|
|
229
|
+
layout?: PollDataLayout;
|
|
230
|
+
design?: Design;
|
|
231
|
+
animation?: Animation;
|
|
232
|
+
}
|
|
233
|
+
export interface PollDesign {
|
|
234
|
+
background?: PollDesignBackground;
|
|
235
|
+
borderRadius?: number;
|
|
236
|
+
}
|
|
237
|
+
export interface PollDesignBackground {
|
|
238
|
+
color?: string;
|
|
239
|
+
image?: V1Media;
|
|
240
|
+
gradient?: BackgroundGradient;
|
|
241
|
+
type?: string;
|
|
242
|
+
}
|
|
243
|
+
export interface ProductCategoryIdsInfo {
|
|
244
|
+
categoryIds?: string[];
|
|
245
|
+
}
|
|
246
|
+
export interface ProductItem {
|
|
247
|
+
product?: ProductWithInventory;
|
|
248
|
+
categoryIdsInfo?: ProductCategoryIdsInfo;
|
|
249
|
+
}
|
|
250
|
+
export interface ProductWithInventory {
|
|
251
|
+
physicalProperties?: PhysicalProperties;
|
|
252
|
+
id?: string;
|
|
253
|
+
revision?: string;
|
|
254
|
+
name?: string;
|
|
255
|
+
slug?: string;
|
|
256
|
+
plainDescription?: string;
|
|
257
|
+
visible?: boolean;
|
|
258
|
+
visibleInPos?: boolean;
|
|
259
|
+
media?: Media;
|
|
260
|
+
seoData?: SeoSchema;
|
|
261
|
+
taxGroupId?: string;
|
|
262
|
+
options?: ConnectedOption[];
|
|
263
|
+
modifiers?: ConnectedModifier[];
|
|
264
|
+
brand?: Brand;
|
|
265
|
+
infoSections?: InfoSection[];
|
|
266
|
+
ribbon?: Ribbon;
|
|
267
|
+
additionalRibbons?: Ribbon[];
|
|
268
|
+
mainCategoryId?: string;
|
|
269
|
+
productType?: string;
|
|
270
|
+
handle?: string;
|
|
271
|
+
variantsInfo?: VariantsInfo;
|
|
272
|
+
subscriptionDetails?: SubscriptionDetails;
|
|
273
|
+
purchaseEligibility?: PurchaseEligibility;
|
|
274
|
+
extendedFields?: ExtendedFields;
|
|
275
|
+
tags?: Tags;
|
|
276
|
+
}
|
|
277
|
+
export interface RichContent {
|
|
278
|
+
nodes?: Node[];
|
|
279
|
+
metadata?: Metadata;
|
|
280
|
+
documentStyle?: DocumentStyle;
|
|
281
|
+
}
|
|
282
|
+
export interface ShapeData {
|
|
283
|
+
containerData?: PluginContainerData;
|
|
284
|
+
shape?: V1Media;
|
|
285
|
+
styles?: ShapeDataStyles;
|
|
286
|
+
animation?: Animation;
|
|
287
|
+
link?: Link;
|
|
288
|
+
altText?: string;
|
|
289
|
+
}
|
|
290
|
+
export interface SmartBlockCellData {
|
|
291
|
+
label?: string;
|
|
292
|
+
shape?: V1Media;
|
|
293
|
+
borderColor?: string;
|
|
294
|
+
borderWidth?: number;
|
|
295
|
+
borderRadius?: number;
|
|
296
|
+
type?: string;
|
|
297
|
+
accentColor?: string;
|
|
298
|
+
backgroundColor?: string;
|
|
299
|
+
shapeColor?: string;
|
|
300
|
+
}
|
|
301
|
+
export interface SubmitCatalogImportRequest {
|
|
302
|
+
catalogImportId?: string;
|
|
303
|
+
}
|
|
304
|
+
export interface SubmitCatalogImportResponse {
|
|
305
|
+
jobId?: string;
|
|
306
|
+
totalProductsCount?: number;
|
|
307
|
+
}
|
|
308
|
+
export interface TableData {
|
|
309
|
+
containerData?: PluginContainerData;
|
|
310
|
+
dimensions?: TableDataDimensions;
|
|
311
|
+
header?: boolean;
|
|
312
|
+
rowHeader?: boolean;
|
|
313
|
+
columnHeader?: boolean;
|
|
314
|
+
cellSpacing?: number;
|
|
315
|
+
cellPadding?: number[];
|
|
316
|
+
altText?: string;
|
|
317
|
+
animation?: Animation;
|
|
318
|
+
}
|
|
319
|
+
export interface VariantPhysicalProperties {
|
|
320
|
+
weight?: number;
|
|
321
|
+
pricePerUnit?: PricePerUnit;
|
|
322
|
+
productDimensions?: Dimensions;
|
|
323
|
+
packageDimensions?: Dimensions;
|
|
324
|
+
}
|
|
325
|
+
export interface VariantWithInventory {
|
|
326
|
+
physicalProperties?: VariantPhysicalProperties;
|
|
327
|
+
digitalProperties?: VariantDigitalProperties;
|
|
328
|
+
id?: string;
|
|
329
|
+
visible?: boolean;
|
|
330
|
+
sku?: string;
|
|
331
|
+
barcode?: string;
|
|
332
|
+
price?: PriceInfo;
|
|
333
|
+
revenueDetails?: RevenueDetails;
|
|
334
|
+
inventoryItem?: InventoryItemComposite;
|
|
335
|
+
choices?: OptionChoiceReferences[];
|
|
336
|
+
}
|
|
337
|
+
export interface VariantsInfo {
|
|
338
|
+
variants?: VariantWithInventory[];
|
|
339
|
+
}
|
|
340
|
+
export interface Video {
|
|
341
|
+
media?: V1Media;
|
|
342
|
+
thumbnail?: V1Media;
|
|
343
|
+
}
|
|
344
|
+
export interface VideoData {
|
|
345
|
+
containerData?: PluginContainerData;
|
|
346
|
+
video?: V1Media;
|
|
347
|
+
thumbnail?: V1Media;
|
|
348
|
+
disableDownload?: boolean;
|
|
349
|
+
title?: string;
|
|
350
|
+
options?: PlaybackOptions;
|
|
351
|
+
animation?: Animation;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Add products in bulk to an existing catalog import session.
|
|
355
|
+
*
|
|
356
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
357
|
+
* @permissionId stores:catalog:v3:catalog_import:add_products_to_import
|
|
358
|
+
* @fqn wix.stores.catalog.catalog_import.v3.CatalogImports.AddProductsToImport
|
|
359
|
+
*
|
|
360
|
+
* POST /stores/v3/catalog-imports/{catalogImportId}/add-products
|
|
361
|
+
*/
|
|
362
|
+
export declare function addProductsToImport(req: AddProductsToImportRequest, opts?: WixCallOptions): Promise<AddProductsToImportResponse>;
|
|
363
|
+
/**
|
|
364
|
+
* Creates a CatalogImport for upsert product operations.
|
|
365
|
+
*
|
|
366
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
367
|
+
* @permissionId stores:catalog:v3:catalog_import:create_catalog_import
|
|
368
|
+
* @fqn wix.stores.catalog.catalog_import.v3.CatalogImports.CreateCatalogImport
|
|
369
|
+
*
|
|
370
|
+
* POST /stores/v3/catalog-imports
|
|
371
|
+
*/
|
|
372
|
+
export declare function createCatalogImport(req?: CreateCatalogImportRequest, opts?: WixCallOptions): Promise<CreateCatalogImportResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* Submits all products in the catalog import for processing. Once called, no more items can be added to this import session.
|
|
375
|
+
*
|
|
376
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
377
|
+
* @permissionId stores:catalog:v3:catalog_import:submit_catalog_import
|
|
378
|
+
* @fqn wix.stores.catalog.catalog_import.v3.CatalogImports.SubmitCatalogImport
|
|
379
|
+
*
|
|
380
|
+
* POST /stores/v3/catalog-imports/{catalogImportId}/submit
|
|
381
|
+
*/
|
|
382
|
+
export declare function submitCatalogImport(req: SubmitCatalogImportRequest, opts?: WixCallOptions): Promise<SubmitCatalogImportResponse>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
3
|
+
export interface GetCatalogVersionRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface GetCatalogVersionResponse {
|
|
6
|
+
catalogVersion?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the version of Stores Catalog installed on a site.
|
|
10
|
+
*
|
|
11
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
12
|
+
* @permissionId WIX_STORES.CATALOG_VERSION_READ
|
|
13
|
+
* @fqn wix.stores.catalog.provision.v1.StoresProvisionService.GetCatalogVersion
|
|
14
|
+
*
|
|
15
|
+
* GET /stores/v3/provision/version
|
|
16
|
+
*/
|
|
17
|
+
export declare function getCatalogVersion(req?: GetCatalogVersionRequest, opts?: WixCallOptions): Promise<GetCatalogVersionResponse>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, CursorPaging, MediaItemUrlAndSize, MediaItemVideo, PlatformPaging, PlatformPagingMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, CursorPaging, Cursors, MediaItemUrlAndSize, MediaItemVideo, PlatformPaging, PlatformPagingMetadata } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Collection {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
media?: Media;
|
|
9
|
+
numberOfProducts?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
slug?: string;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface Media {
|
|
15
|
+
mainMedia?: MediaItem;
|
|
16
|
+
items?: MediaItem[];
|
|
17
|
+
}
|
|
18
|
+
export interface MediaItem {
|
|
19
|
+
image?: MediaItemUrlAndSize;
|
|
20
|
+
video?: MediaItemVideo;
|
|
21
|
+
thumbnail?: MediaItemUrlAndSize;
|
|
22
|
+
mediaType?: string;
|
|
23
|
+
title?: string;
|
|
24
|
+
id?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface PlatformQuery {
|
|
27
|
+
paging?: PlatformPaging;
|
|
28
|
+
cursorPaging?: CursorPaging;
|
|
29
|
+
filter?: Record<string, unknown>;
|
|
30
|
+
sort?: Sorting[];
|
|
31
|
+
}
|
|
32
|
+
export interface QueryCollectionsRequest {
|
|
33
|
+
query?: PlatformQuery;
|
|
34
|
+
}
|
|
35
|
+
export interface QueryCollectionsResponse {
|
|
36
|
+
collections?: Collection[];
|
|
37
|
+
metadata?: PlatformPagingMetadata;
|
|
38
|
+
}
|
|
39
|
+
export interface Sorting {
|
|
40
|
+
fieldName?: string;
|
|
41
|
+
order?: string;
|
|
42
|
+
origin?: AddressLocation;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Retrieves a list of up to 100 collections, given the provided paging, sorting and filtering. See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.
|
|
46
|
+
*
|
|
47
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
48
|
+
* @fqn wix.catalog.api.v2.CollectionReadApi.QueryCollections
|
|
49
|
+
*
|
|
50
|
+
* POST /stores-reader/v2/collections/query
|
|
51
|
+
*/
|
|
52
|
+
export declare function queryCollections(req?: QueryCollectionsRequest, opts?: WixCallOptions): Promise<QueryCollectionsResponse>;
|