@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
-
import type { Animation, AppEmbedData, AudioData, BlockquoteData, BulletedListData, ButtonData, CaptionData, CardData, CheckboxListData, CodeBlockData, CollapsibleListData, CursorPagingMetadata,
|
|
3
|
-
export type { AddressLocation, AnchorData, Animation, AppEmbedData, AudioData, Backdrop, Background, BackgroundGradient, BackgroundImage, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardData, CardDataBackground, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, ColorDataBackground, Colors, CursorPaging, CursorPagingMetadata,
|
|
2
|
+
import type { AddressLocation, Animation, AppEmbedData, AudioData, BlockquoteData, BulletedListData, ButtonData, CaptionData, CardData, CheckboxListData, CodeBlockData, CollapsibleListData, CursorPaging, CursorPagingMetadata, Design, DividerData, DocumentStyle, EmbedData, FileData, GIFData, GalleryOptions, HTMLData, HeadingData, ImageData, LayoutCellData, LayoutData, Link, LinkPreviewData, ListItemNodeData, MapData, Media, Metadata, NodeStyle, Option, OrderedListData, ParagraphData, Permissions, PluginContainerData, PollDataLayout, ShapeData, SlotData, SmartBlockCellData, SmartBlockData, TableCellData, TableData, TextData, TocData, Video, VideoData } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, AnchorData, Animation, AppEmbedData, AudioData, Backdrop, Background, BackgroundGradient, BackgroundImage, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardData, CardDataBackground, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, ColorDataBackground, Colors, CursorPaging, CursorPagingMetadata, Cursors, Decoration, Design, Dimensions, DividerData, DividerDataStyles, DocumentStyle, EmbedData, EntranceAnimation, EntranceEffect, EventData, FileData, FileSource, FontFamilyData, FontSizeData, GIF, GIFData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HeadingData, Height, ImageData, ImageDataCrop, ImageDataStyles, ImageStyles, ItemStyle, Layers, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, Link, LinkData, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, LoopAnimation, LoopEffect, MapData, MapSettings, Media, MentionData, Metadata, NodeStyle, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataWidth, PointerEffect, PollDataLayout, PollDesign, PollDesignBackground, PollLayout, PricingData, Rel, RibbonStyles, SectionDivider, ShapeData, ShapeDataStyles, SketchData, SlotData, SlotDesign, SmartBlockCellData, SmartBlockData, Spoiler, SpoilerData, Stop, Styles, StylesBorder, TableCellData, TableData, TextData, TextNodeStyle, TextStyle, Thumbnails, TocData, Video, VideoData } from "../_shared/types.generated.js";
|
|
4
4
|
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
5
|
export interface AddCommentReactionRequest {
|
|
6
6
|
commentId?: string;
|
|
@@ -132,6 +132,11 @@ export interface CreateCommentRequest {
|
|
|
132
132
|
export interface CreateCommentResponse {
|
|
133
133
|
comment?: Comment;
|
|
134
134
|
}
|
|
135
|
+
export interface CursorQuery {
|
|
136
|
+
cursorPaging?: CursorPaging;
|
|
137
|
+
filter?: Record<string, unknown>;
|
|
138
|
+
sort?: Sorting[];
|
|
139
|
+
}
|
|
135
140
|
export interface DeleteCommentRequest {
|
|
136
141
|
commentId?: string;
|
|
137
142
|
}
|
|
@@ -289,6 +294,21 @@ export interface ParentComment {
|
|
|
289
294
|
author?: CommentAuthor;
|
|
290
295
|
status?: string;
|
|
291
296
|
}
|
|
297
|
+
export interface Poll {
|
|
298
|
+
id?: string;
|
|
299
|
+
title?: string;
|
|
300
|
+
creatorId?: string;
|
|
301
|
+
image?: Media;
|
|
302
|
+
options?: Option[];
|
|
303
|
+
settings?: Settings;
|
|
304
|
+
}
|
|
305
|
+
export interface PollData {
|
|
306
|
+
containerData?: PluginContainerData;
|
|
307
|
+
poll?: Poll;
|
|
308
|
+
layout?: PollDataLayout;
|
|
309
|
+
design?: Design;
|
|
310
|
+
animation?: Animation;
|
|
311
|
+
}
|
|
292
312
|
export interface PublishCommentRequest {
|
|
293
313
|
commentId?: string;
|
|
294
314
|
}
|
|
@@ -318,6 +338,16 @@ export interface RichContent {
|
|
|
318
338
|
metadata?: Metadata;
|
|
319
339
|
documentStyle?: DocumentStyle;
|
|
320
340
|
}
|
|
341
|
+
export interface Settings {
|
|
342
|
+
permissions?: Permissions;
|
|
343
|
+
showVoters?: boolean;
|
|
344
|
+
showVotesCount?: boolean;
|
|
345
|
+
}
|
|
346
|
+
export interface Sorting {
|
|
347
|
+
fieldName?: string;
|
|
348
|
+
order?: string;
|
|
349
|
+
origin?: AddressLocation;
|
|
350
|
+
}
|
|
321
351
|
export interface UnmarkCommentRequest {
|
|
322
352
|
commentId?: string;
|
|
323
353
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
-
import type { Animation, AppEmbedData, AudioData, BlockquoteData, BulletedListData, ButtonData, CaptionData, CardData, CheckboxListData, CodeBlockData, CollapsibleListData, CursorPaging, CursorPagingMetadata, DividerData, DocumentStyle, EmbedData, FileData, GIFData, GalleryOptions, HTMLData, HeadingData, ImageData, LayoutCellData, LayoutData, Link, LinkPreviewData, ListItemNodeData, MapData, Media, Metadata, NodeStyle, OrderedListData, ParagraphData, PluginContainerData,
|
|
3
|
-
export type { AddressLocation, AnchorData, Animation, AppEmbedData, AudioData, Backdrop, Background, BackgroundGradient, BackgroundImage, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardData, CardDataBackground, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, ColorDataBackground, Colors, CursorPaging, CursorPagingMetadata, Cursors, Decoration, Design, Dimensions, DividerData, DividerDataStyles, DocumentStyle, EmbedData, EntranceAnimation, EntranceEffect, EventData, FileData, FileSource, FontFamilyData, FontSizeData, GIF, GIFData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HeadingData, Height, ImageData, ImageDataCrop, ImageDataStyles, ImageStyles, ItemStyle, Layers, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, Link, LinkData, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, LoopAnimation, LoopEffect, MapData, MapSettings, Media, MentionData, Metadata, NodeStyle, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataWidth, PointerEffect,
|
|
2
|
+
import type { AddressLocation, Animation, AppEmbedData, AudioData, BlockquoteData, BulletedListData, ButtonData, CaptionData, CardData, CheckboxListData, CodeBlockData, CollapsibleListData, CursorPaging, CursorPagingMetadata, Design, DividerData, DocumentStyle, EmbedData, FileData, GIFData, GalleryOptions, HTMLData, HeadingData, ImageData, LayoutCellData, LayoutData, Link, LinkPreviewData, ListItemNodeData, MapData, Media, Metadata, NodeStyle, Option, OrderedListData, ParagraphData, Permissions, PluginContainerData, PollDataLayout, ShapeData, SlotData, SmartBlockCellData, SmartBlockData, TableCellData, TableData, TextData, TocData, Video, VideoData } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, AnchorData, Animation, AppEmbedData, AudioData, Backdrop, Background, BackgroundGradient, BackgroundImage, Banner, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonStyles, CaptionData, CardData, CardDataBackground, CardStyles, CellStyle, CheckboxListData, CodeBlockData, CollapsibleListData, ColorData, ColorDataBackground, Colors, CursorPaging, CursorPagingMetadata, Cursors, Decoration, Design, Dimensions, DividerData, DividerDataStyles, DocumentStyle, EmbedData, EntranceAnimation, EntranceEffect, EventData, FileData, FileSource, FontFamilyData, FontSizeData, GIF, GIFData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HeadingData, Height, ImageData, ImageDataCrop, ImageDataStyles, ImageStyles, ItemStyle, Layers, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, Link, LinkData, LinkPreviewData, LinkPreviewDataStyles, ListItemNodeData, LoopAnimation, LoopEffect, MapData, MapSettings, Media, MentionData, Metadata, NodeStyle, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataWidth, PointerEffect, PollDataLayout, PollDesign, PollDesignBackground, PollLayout, PricingData, Rel, RibbonStyles, SectionDivider, ShapeData, ShapeDataStyles, SketchData, SlotData, SlotDesign, SmartBlockCellData, SmartBlockData, Spoiler, SpoilerData, Stop, Styles, StylesBorder, TableCellData, TableData, TextData, TextNodeStyle, TextStyle, Thumbnails, TocData, Video, VideoData } from "../_shared/types.generated.js";
|
|
4
4
|
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
5
|
export interface CommentContentRevision {
|
|
6
6
|
id?: string;
|
|
@@ -78,6 +78,21 @@ export interface Node {
|
|
|
78
78
|
nodes?: Node[];
|
|
79
79
|
style?: NodeStyle;
|
|
80
80
|
}
|
|
81
|
+
export interface Poll {
|
|
82
|
+
id?: string;
|
|
83
|
+
title?: string;
|
|
84
|
+
creatorId?: string;
|
|
85
|
+
image?: Media;
|
|
86
|
+
options?: Option[];
|
|
87
|
+
settings?: Settings;
|
|
88
|
+
}
|
|
89
|
+
export interface PollData {
|
|
90
|
+
containerData?: PluginContainerData;
|
|
91
|
+
poll?: Poll;
|
|
92
|
+
layout?: PollDataLayout;
|
|
93
|
+
design?: Design;
|
|
94
|
+
animation?: Animation;
|
|
95
|
+
}
|
|
81
96
|
export interface RevisionAuthor {
|
|
82
97
|
memberId?: string;
|
|
83
98
|
visitorId?: string;
|
|
@@ -89,6 +104,16 @@ export interface RichContent {
|
|
|
89
104
|
metadata?: Metadata;
|
|
90
105
|
documentStyle?: DocumentStyle;
|
|
91
106
|
}
|
|
107
|
+
export interface Settings {
|
|
108
|
+
permissions?: Permissions;
|
|
109
|
+
showVoters?: boolean;
|
|
110
|
+
showVotesCount?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface Sorting {
|
|
113
|
+
fieldName?: string;
|
|
114
|
+
order?: string;
|
|
115
|
+
origin?: AddressLocation;
|
|
116
|
+
}
|
|
92
117
|
/**
|
|
93
118
|
* Retrieves saved previous content versions for a comment.
|
|
94
119
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
-
import type { CursorPagingMetadata,
|
|
3
|
-
export type { AddressLocation, CursorPaging, CursorPagingMetadata,
|
|
2
|
+
import type { AddressLocation, CursorPaging, CursorPagingMetadata, PageUrlV2, Paging, PagingMetadataV2 } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, CursorPaging, CursorPagingMetadata, Cursors, PageUrlV2, Paging, PagingMetadataV2 } from "../_shared/types.generated.js";
|
|
4
4
|
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
5
|
export interface CommentsWidget {
|
|
6
6
|
id?: string;
|
|
@@ -19,6 +19,11 @@ export interface CreateCommentsWidgetRequest {
|
|
|
19
19
|
export interface CreateCommentsWidgetResponse {
|
|
20
20
|
commentsWidget?: CommentsWidget;
|
|
21
21
|
}
|
|
22
|
+
export interface CursorQuery {
|
|
23
|
+
cursorPaging?: CursorPaging;
|
|
24
|
+
filter?: Record<string, unknown>;
|
|
25
|
+
sort?: Sorting[];
|
|
26
|
+
}
|
|
22
27
|
export interface DeleteCommentsWidgetRequest {
|
|
23
28
|
commentsWidgetId?: string;
|
|
24
29
|
revision?: string;
|
|
@@ -31,17 +36,6 @@ export interface GetCommentsWidgetRequest {
|
|
|
31
36
|
export interface GetCommentsWidgetResponse {
|
|
32
37
|
commentsWidget?: CommentsWidget;
|
|
33
38
|
}
|
|
34
|
-
export interface PageUrlV2 {
|
|
35
|
-
relativePath?: string;
|
|
36
|
-
url?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface PagingMetadataV2 {
|
|
39
|
-
count?: number;
|
|
40
|
-
offset?: number;
|
|
41
|
-
total?: number;
|
|
42
|
-
tooManyToCount?: boolean;
|
|
43
|
-
cursors?: Cursors;
|
|
44
|
-
}
|
|
45
39
|
export interface QueryCommentsWidgetRequest {
|
|
46
40
|
query?: QueryV2;
|
|
47
41
|
}
|
|
@@ -56,6 +50,14 @@ export interface QueryCommentsWidgetResponse {
|
|
|
56
50
|
commentsWidgets?: CommentsWidget[];
|
|
57
51
|
metadata?: PagingMetadataV2;
|
|
58
52
|
}
|
|
53
|
+
export interface QueryV2 {
|
|
54
|
+
paging?: Paging;
|
|
55
|
+
cursorPaging?: CursorPaging;
|
|
56
|
+
filter?: Record<string, unknown>;
|
|
57
|
+
sort?: Sorting[];
|
|
58
|
+
fields?: string[];
|
|
59
|
+
fieldsets?: string[];
|
|
60
|
+
}
|
|
59
61
|
export interface RegisterCommentsWidgetRequest {
|
|
60
62
|
categoryId?: string;
|
|
61
63
|
resourceId?: string;
|
|
@@ -67,6 +69,11 @@ export interface RegisterCommentsWidgetRequest {
|
|
|
67
69
|
export interface RegisterCommentsWidgetResponse {
|
|
68
70
|
commentsWidget?: CommentsWidget;
|
|
69
71
|
}
|
|
72
|
+
export interface Sorting {
|
|
73
|
+
fieldName?: string;
|
|
74
|
+
order?: string;
|
|
75
|
+
origin?: AddressLocation;
|
|
76
|
+
}
|
|
70
77
|
export interface UpdateCommentsWidgetRequest {
|
|
71
78
|
commentsWidget?: CommentsWidget;
|
|
72
79
|
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, BulkActionMetadata, CatalogReference, CommonCursorPaging, CommonCursors, CommonPaging, CursorPaging, DescriptionLine, DiscountRuleName, FullAddressContactDetails, ItemMetadata, MultiCurrencyPrice, Paging, PagingMetadataV2, PhysicalProperties, ProductName, RawHttpResponse, SearchDetails } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, ApplicationError, BulkActionMetadata, CatalogReference, Color, CommonCursorPaging, CommonCursors, CommonPaging, CursorPaging, Cursors, DescriptionLine, DescriptionLineName, DiscountRuleName, FullAddressContactDetails, HeadersEntry, ItemMetadata, MultiCurrencyPrice, Paging, PagingMetadataV2, PhysicalProperties, PlainTextValue, ProductName, RawHttpResponse, SearchDetails, VatId } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AbandonedCheckout {
|
|
6
|
+
id?: string;
|
|
7
|
+
createdDate?: string;
|
|
8
|
+
updatedDate?: string;
|
|
9
|
+
checkoutId?: string;
|
|
10
|
+
cartId?: string;
|
|
11
|
+
status?: string;
|
|
12
|
+
buyerLanguage?: string;
|
|
13
|
+
buyerInfo?: V1BuyerInfo;
|
|
14
|
+
contactDetails?: FullAddressContactDetails;
|
|
15
|
+
currency?: string;
|
|
16
|
+
conversionCurrency?: string;
|
|
17
|
+
totalPrice?: MultiCurrencyPrice;
|
|
18
|
+
activities?: Activity[];
|
|
19
|
+
checkoutRecoveredDate?: string;
|
|
20
|
+
checkoutUrl?: string;
|
|
21
|
+
subtotalPrice?: MultiCurrencyPrice;
|
|
22
|
+
lineItems?: LineItem[];
|
|
23
|
+
appliedDiscounts?: AppliedDiscount[];
|
|
24
|
+
}
|
|
25
|
+
export interface Activity {
|
|
26
|
+
createdDate?: string;
|
|
27
|
+
type?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface AppliedDiscount {
|
|
30
|
+
coupon?: Coupon;
|
|
31
|
+
merchantDiscount?: MerchantDiscount;
|
|
32
|
+
discountRule?: DiscountRule;
|
|
33
|
+
discountType?: string;
|
|
34
|
+
lineItemIds?: string[];
|
|
35
|
+
}
|
|
36
|
+
export interface BulkAbandonedCheckoutResult {
|
|
37
|
+
itemMetadata?: ItemMetadata;
|
|
38
|
+
}
|
|
39
|
+
export interface BulkDeleteAbandonedCheckoutsRequest {
|
|
40
|
+
abandonedCheckoutIds?: string[];
|
|
41
|
+
}
|
|
42
|
+
export interface BulkDeleteAbandonedCheckoutsResponse {
|
|
43
|
+
results?: BulkAbandonedCheckoutResult[];
|
|
44
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
45
|
+
}
|
|
46
|
+
export interface CommonPagingMetadataV2 {
|
|
47
|
+
count?: number;
|
|
48
|
+
offset?: number;
|
|
49
|
+
total?: number;
|
|
50
|
+
tooManyToCount?: boolean;
|
|
51
|
+
cursors?: CommonCursors;
|
|
52
|
+
}
|
|
53
|
+
export interface CommonSorting {
|
|
54
|
+
fieldName?: string;
|
|
55
|
+
order?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface Coupon {
|
|
58
|
+
id?: string;
|
|
59
|
+
code?: string;
|
|
60
|
+
amount?: MultiCurrencyPrice;
|
|
61
|
+
name?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface DeleteAbandonedCheckoutRequest {
|
|
64
|
+
abandonedCheckoutId?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface DeleteAbandonedCheckoutResponse {
|
|
67
|
+
}
|
|
68
|
+
export interface DiscountRule {
|
|
69
|
+
id?: string;
|
|
70
|
+
name?: DiscountRuleName;
|
|
71
|
+
amount?: MultiCurrencyPrice;
|
|
72
|
+
}
|
|
73
|
+
export interface GetAbandonedCheckoutAnalyticsRequest {
|
|
74
|
+
startDate?: string;
|
|
75
|
+
endDate?: string;
|
|
76
|
+
metrics?: string[];
|
|
77
|
+
statuses?: string[];
|
|
78
|
+
}
|
|
79
|
+
export interface GetAbandonedCheckoutAnalyticsResponse {
|
|
80
|
+
currency?: string;
|
|
81
|
+
recoverableValue?: string;
|
|
82
|
+
recoverableCheckoutCount?: number;
|
|
83
|
+
averageRecoverableCheckoutValue?: string;
|
|
84
|
+
recoveredValue?: string;
|
|
85
|
+
recoveredCheckoutCount?: number;
|
|
86
|
+
recoveryRate?: number;
|
|
87
|
+
}
|
|
88
|
+
export interface GetAbandonedCheckoutRequest {
|
|
89
|
+
abandonedCheckoutId?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface GetAbandonedCheckoutResponse {
|
|
92
|
+
abandonedCheckout?: AbandonedCheckout;
|
|
93
|
+
}
|
|
94
|
+
export interface Image {
|
|
95
|
+
id?: string;
|
|
96
|
+
url?: string;
|
|
97
|
+
height?: number;
|
|
98
|
+
width?: number;
|
|
99
|
+
altText?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface LineItem {
|
|
102
|
+
id?: string;
|
|
103
|
+
quantity?: number;
|
|
104
|
+
catalogReference?: CatalogReference;
|
|
105
|
+
productName?: ProductName;
|
|
106
|
+
price?: MultiCurrencyPrice;
|
|
107
|
+
priceBeforeDiscounts?: MultiCurrencyPrice;
|
|
108
|
+
descriptionLines?: DescriptionLine[];
|
|
109
|
+
image?: Image;
|
|
110
|
+
physicalProperties?: PhysicalProperties;
|
|
111
|
+
}
|
|
112
|
+
export interface MerchantDiscount {
|
|
113
|
+
amount?: MultiCurrencyPrice;
|
|
114
|
+
percentage?: number;
|
|
115
|
+
}
|
|
116
|
+
export interface QueryAbandonedCheckoutsRequest {
|
|
117
|
+
query?: QueryV2;
|
|
118
|
+
}
|
|
119
|
+
export interface QueryAbandonedCheckoutsResponse {
|
|
120
|
+
results?: AbandonedCheckout[];
|
|
121
|
+
abandonedCheckouts?: AbandonedCheckout[];
|
|
122
|
+
metadata?: PagingMetadataV2;
|
|
123
|
+
}
|
|
124
|
+
export interface QueryV2 {
|
|
125
|
+
paging?: Paging;
|
|
126
|
+
cursorPaging?: CursorPaging;
|
|
127
|
+
filter?: Record<string, unknown>;
|
|
128
|
+
sort?: Sorting[];
|
|
129
|
+
fields?: string[];
|
|
130
|
+
fieldsets?: string[];
|
|
131
|
+
}
|
|
132
|
+
export interface RedirectToCheckoutRequest {
|
|
133
|
+
abandonedCheckoutId?: string;
|
|
134
|
+
metasiteId?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface Search {
|
|
137
|
+
paging?: CommonPaging;
|
|
138
|
+
cursorPaging?: CommonCursorPaging;
|
|
139
|
+
filter?: Record<string, unknown>;
|
|
140
|
+
sort?: CommonSorting[];
|
|
141
|
+
search?: SearchDetails;
|
|
142
|
+
}
|
|
143
|
+
export interface SearchAbandonedCheckoutsRequest {
|
|
144
|
+
search?: Search;
|
|
145
|
+
}
|
|
146
|
+
export interface SearchAbandonedCheckoutsResponse {
|
|
147
|
+
abandonedCheckouts?: AbandonedCheckout[];
|
|
148
|
+
pagingMetadata?: CommonPagingMetadataV2;
|
|
149
|
+
}
|
|
150
|
+
export interface Sorting {
|
|
151
|
+
fieldName?: string;
|
|
152
|
+
order?: string;
|
|
153
|
+
origin?: AddressLocation;
|
|
154
|
+
}
|
|
155
|
+
export interface V1BuyerInfo {
|
|
156
|
+
visitorId?: string;
|
|
157
|
+
memberId?: string;
|
|
158
|
+
userId?: string;
|
|
159
|
+
contactId?: string;
|
|
160
|
+
email?: string;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Deletes multiple abandoned checkouts.
|
|
164
|
+
*
|
|
165
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
166
|
+
*
|
|
167
|
+
* POST /ecom/v1/bulk/abandoned-checkout/delete
|
|
168
|
+
*/
|
|
169
|
+
export declare function bulkDeleteAbandonedCheckouts(req?: BulkDeleteAbandonedCheckoutsRequest, opts?: WixCallOptions): Promise<BulkDeleteAbandonedCheckoutsResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Deletes an abandoned checkout.
|
|
172
|
+
*
|
|
173
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
174
|
+
*
|
|
175
|
+
* DELETE /ecom/v1/abandoned-checkout/{abandonedCheckoutId}
|
|
176
|
+
*/
|
|
177
|
+
export declare function deleteAbandonedCheckout(req: DeleteAbandonedCheckoutRequest, opts?: WixCallOptions): Promise<DeleteAbandonedCheckoutResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Retrieves an abandoned checkout.
|
|
180
|
+
*
|
|
181
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
182
|
+
*
|
|
183
|
+
* GET /ecom/v1/abandoned-checkout/{abandonedCheckoutId}
|
|
184
|
+
*/
|
|
185
|
+
export declare function getAbandonedCheckout(req: GetAbandonedCheckoutRequest, opts?: WixCallOptions): Promise<GetAbandonedCheckoutResponse>;
|
|
186
|
+
/**
|
|
187
|
+
* Returns site-level aggregated analytics for the site's abandoned checkouts within a date range.
|
|
188
|
+
*
|
|
189
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
190
|
+
*
|
|
191
|
+
* POST /ecom/v1/abandoned-checkout/get-analytics
|
|
192
|
+
*/
|
|
193
|
+
export declare function getAbandonedCheckoutAnalytics(req?: GetAbandonedCheckoutAnalyticsRequest, opts?: WixCallOptions): Promise<GetAbandonedCheckoutAnalyticsResponse>;
|
|
194
|
+
/**
|
|
195
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
196
|
+
*/
|
|
197
|
+
export declare function queryAbandonedCheckouts(req?: QueryAbandonedCheckoutsRequest, opts?: WixCallOptions): Promise<QueryAbandonedCheckoutsResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Redirects an abandoned checkout to its checkout page.
|
|
200
|
+
*
|
|
201
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
202
|
+
*
|
|
203
|
+
* GET /ecom/v1/abandoned-checkout/{abandonedCheckoutId}/redirect-to-checkout
|
|
204
|
+
*/
|
|
205
|
+
export declare function redirectToCheckout(req: RedirectToCheckoutRequest, opts?: WixCallOptions): Promise<RawHttpResponse>;
|
|
206
|
+
/**
|
|
207
|
+
* Retrieves a list of abandoned checkouts, given the provided paging, filtering, search details and sorting. Up to 100 abandoned checkouts can be returned per request.
|
|
208
|
+
*
|
|
209
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
210
|
+
* @permissionId ECOM.ABANDONED_CHECKOUT_READ
|
|
211
|
+
* @fqn wix.ecom.abandoned_checkout.api.v1.AbandonedCheckoutService.SearchAbandonedCheckouts
|
|
212
|
+
*
|
|
213
|
+
* POST /ecom/v1/abandoned-checkout/search
|
|
214
|
+
*/
|
|
215
|
+
export declare function searchAbandonedCheckouts(req?: SearchAbandonedCheckoutsRequest, opts?: WixCallOptions): Promise<SearchAbandonedCheckoutsResponse>;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, CatalogReference, CursorPaging, Image, PlatformPaging, PlatformPagingMetadata } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, CatalogReference, CursorPaging, Cursors, Image, PlatformPaging, PlatformPagingMetadata } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BackInStockItemDetails {
|
|
6
|
+
name?: string;
|
|
7
|
+
price?: string;
|
|
8
|
+
image?: Image;
|
|
9
|
+
}
|
|
10
|
+
export interface BackInStockNotificationRequest {
|
|
11
|
+
id?: string;
|
|
12
|
+
catalogReference?: CatalogReference;
|
|
13
|
+
email?: string;
|
|
14
|
+
contactId?: string;
|
|
15
|
+
status?: string;
|
|
16
|
+
autoNotified?: boolean;
|
|
17
|
+
createdDate?: string;
|
|
18
|
+
itemUrl?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface BackInStockNotificationRequestsCount {
|
|
21
|
+
catalogReference?: CatalogReference;
|
|
22
|
+
count?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface CreateBackInStockNotificationRequestRequest {
|
|
25
|
+
request?: BackInStockNotificationRequest;
|
|
26
|
+
itemDetails?: BackInStockItemDetails;
|
|
27
|
+
}
|
|
28
|
+
export interface CreateBackInStockNotificationRequestResponse {
|
|
29
|
+
request?: BackInStockNotificationRequest;
|
|
30
|
+
}
|
|
31
|
+
export interface DeleteBackInStockNotificationRequestRequest {
|
|
32
|
+
id?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface DeleteBackInStockNotificationRequestResponse {
|
|
35
|
+
}
|
|
36
|
+
export interface GetBackInStockNotificationRequestRequest {
|
|
37
|
+
id?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface GetBackInStockNotificationRequestResponse {
|
|
40
|
+
request?: BackInStockNotificationRequest;
|
|
41
|
+
}
|
|
42
|
+
export interface GetBackInStockNotificationRequestsCountByCatalogReferencesRequest {
|
|
43
|
+
catalogReferences?: CatalogReference[];
|
|
44
|
+
}
|
|
45
|
+
export interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponse {
|
|
46
|
+
countsPerCatalogReference?: BackInStockNotificationRequestsCount[];
|
|
47
|
+
}
|
|
48
|
+
export interface MarkAsNotificationSentRequest {
|
|
49
|
+
id?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface MarkAsNotificationSentResponse {
|
|
52
|
+
request?: BackInStockNotificationRequest;
|
|
53
|
+
}
|
|
54
|
+
export interface PlatformQuery {
|
|
55
|
+
paging?: PlatformPaging;
|
|
56
|
+
cursorPaging?: CursorPaging;
|
|
57
|
+
filter?: Record<string, unknown>;
|
|
58
|
+
sort?: Sorting[];
|
|
59
|
+
}
|
|
60
|
+
export interface QueryBackInStockNotificationRequestsRequest {
|
|
61
|
+
query?: PlatformQuery;
|
|
62
|
+
}
|
|
63
|
+
export interface QueryBackInStockNotificationRequestsResponse {
|
|
64
|
+
requests?: BackInStockNotificationRequest[];
|
|
65
|
+
metadata?: PlatformPagingMetadata;
|
|
66
|
+
}
|
|
67
|
+
export interface ReportItemsBackInStockRequest {
|
|
68
|
+
catalogReference?: CatalogReference;
|
|
69
|
+
requestIds?: string[];
|
|
70
|
+
itemDetails?: BackInStockItemDetails;
|
|
71
|
+
extraAutomationTemplateParameters?: Record<string, unknown>;
|
|
72
|
+
}
|
|
73
|
+
export interface ReportItemsBackInStockResponse {
|
|
74
|
+
}
|
|
75
|
+
export interface Sorting {
|
|
76
|
+
fieldName?: string;
|
|
77
|
+
order?: string;
|
|
78
|
+
origin?: AddressLocation;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Creates a back in stock notification request.
|
|
82
|
+
*
|
|
83
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
84
|
+
* @permissionId ECOM.CREATE_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
85
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.CreateBackInStockNotificationRequest
|
|
86
|
+
*
|
|
87
|
+
* POST /back-in-stock-service/v1/back-in-stock-notification-requests
|
|
88
|
+
*/
|
|
89
|
+
export declare function createBackInStockNotificationRequest(req?: CreateBackInStockNotificationRequestRequest, opts?: WixCallOptions): Promise<CreateBackInStockNotificationRequestResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Deletes a back in stock notification request.
|
|
92
|
+
*
|
|
93
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
94
|
+
* @permissionId ECOM.MODIFY_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
95
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.DeleteBackInStockNotificationRequest
|
|
96
|
+
*
|
|
97
|
+
* DELETE /back-in-stock-service/v1/back-in-stock-notification-requests/{id}
|
|
98
|
+
*/
|
|
99
|
+
export declare function deleteBackInStockNotificationRequest(req: DeleteBackInStockNotificationRequestRequest, opts?: WixCallOptions): Promise<DeleteBackInStockNotificationRequestResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Retrieves a back in stock notification request.
|
|
102
|
+
*
|
|
103
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
104
|
+
* @permissionId ECOM.READ_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
105
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.GetBackInStockNotificationRequest
|
|
106
|
+
*
|
|
107
|
+
* GET /back-in-stock-service/v1/back-in-stock-notification-requests/{id}
|
|
108
|
+
*/
|
|
109
|
+
export declare function getBackInStockNotificationRequest(req: GetBackInStockNotificationRequestRequest, opts?: WixCallOptions): Promise<GetBackInStockNotificationRequestResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves the amount of back in stock requests for a given `catalogReference` item.
|
|
112
|
+
*
|
|
113
|
+
* @permissionId ECOM.READ_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
114
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.GetBackInStockNotificationRequestsCountByCatalogReferences
|
|
115
|
+
*
|
|
116
|
+
* GET /back-in-stock-service/v1/back-in-stock-notification-requests/count-by-catalog-reference
|
|
117
|
+
*/
|
|
118
|
+
export declare function getBackInStockNotificationRequestsCountByCatalogReferences(req?: GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, opts?: WixCallOptions): Promise<GetBackInStockNotificationRequestsCountByCatalogReferencesResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* Sets `status` of a back in stock request to `NOTIFICATION_SENT`.
|
|
121
|
+
*
|
|
122
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
123
|
+
* @permissionId ECOM.MODIFY_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
124
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.MarkAsNotificationSent
|
|
125
|
+
*
|
|
126
|
+
* PUT /back-in-stock-service/v1/back-in-stock-notification-requests/{id}/mark-as-notification-sent
|
|
127
|
+
*/
|
|
128
|
+
export declare function markAsNotificationSent(req: MarkAsNotificationSentRequest, opts?: WixCallOptions): Promise<MarkAsNotificationSentResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* Creates a query to retrieve a list of back in stock notification requests.
|
|
131
|
+
*
|
|
132
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
133
|
+
* @permissionId ECOM.READ_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
134
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.QueryBackInStockNotificationRequests
|
|
135
|
+
*
|
|
136
|
+
* GET /back-in-stock-service/v1/back-in-stock-notification-requests
|
|
137
|
+
*/
|
|
138
|
+
export declare function queryBackInStockNotificationRequests(req?: QueryBackInStockNotificationRequestsRequest, opts?: WixCallOptions): Promise<QueryBackInStockNotificationRequestsResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* Sends notifications for back in stock requests.
|
|
141
|
+
*
|
|
142
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
143
|
+
* @permissionId ECOM.MODIFY_BACK_IN_STOCK_NOTIFICATION_REQUESTS
|
|
144
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockNotificationRequestService.ReportItemsBackInStock
|
|
145
|
+
*
|
|
146
|
+
* POST /back-in-stock-service/v1/back-in-stock-notification-requests/report-items-back-in-stock
|
|
147
|
+
*/
|
|
148
|
+
export declare function reportItemsBackInStock(req?: ReportItemsBackInStockRequest, opts?: WixCallOptions): Promise<ReportItemsBackInStockResponse>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
3
|
+
export interface BackInStockCollectionState {
|
|
4
|
+
appId?: string;
|
|
5
|
+
collectingRequests?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface BackInStockSettings {
|
|
8
|
+
collectionStates?: BackInStockCollectionState[];
|
|
9
|
+
}
|
|
10
|
+
export interface GetSettingsRequest {
|
|
11
|
+
}
|
|
12
|
+
export interface GetSettingsResponse {
|
|
13
|
+
settings?: BackInStockSettings;
|
|
14
|
+
}
|
|
15
|
+
export interface StartCollectingRequestsRequest {
|
|
16
|
+
appId?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface StartCollectingRequestsResponse {
|
|
19
|
+
settings?: BackInStockSettings;
|
|
20
|
+
}
|
|
21
|
+
export interface StopCollectingRequestsRequest {
|
|
22
|
+
appId?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface StopCollectingRequestsResponse {
|
|
25
|
+
settings?: BackInStockSettings;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves back in stock notification request settings.
|
|
29
|
+
*
|
|
30
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
31
|
+
* @permissionId ECOM.READ_BACK_IN_STOCK_NOTIFICATION_SETTINGS
|
|
32
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockSettingsService.GetSettings
|
|
33
|
+
*
|
|
34
|
+
* PUT /back-in-stock-service/v1/back-in-stock-notification-requests/settings
|
|
35
|
+
*/
|
|
36
|
+
export declare function getSettings(req?: GetSettingsRequest, opts?: WixCallOptions): Promise<GetSettingsResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Sets `settings.collectionStates.collectingRequests` to `true` for given `appId`.
|
|
39
|
+
*
|
|
40
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
41
|
+
* @permissionId ECOM.MODIFY_BACK_IN_STOCK_NOTIFICATION_SETTINGS
|
|
42
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockSettingsService.StartCollectingRequests
|
|
43
|
+
*
|
|
44
|
+
* POST /back-in-stock-service/v1/back-in-stock-notification-requests/settings/start-collecting
|
|
45
|
+
*/
|
|
46
|
+
export declare function startCollectingRequests(req?: StartCollectingRequestsRequest, opts?: WixCallOptions): Promise<StartCollectingRequestsResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Sets `settings.collectionStates.collectingRequests` to `false` for given `appId`.
|
|
49
|
+
*
|
|
50
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
51
|
+
* @permissionId ECOM.MODIFY_BACK_IN_STOCK_NOTIFICATION_SETTINGS
|
|
52
|
+
* @fqn com.wixpress.ecom.back.in.stock.BackInStockSettingsService.StopCollectingRequests
|
|
53
|
+
*
|
|
54
|
+
* POST /back-in-stock-service/v1/back-in-stock-notification-requests/settings/stop-collecting
|
|
55
|
+
*/
|
|
56
|
+
export declare function stopCollectingRequests(req?: StopCollectingRequestsRequest, opts?: WixCallOptions): Promise<StopCollectingRequestsResponse>;
|