@wix/himalaya-cli 0.2004.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 +8 -8
- 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,239 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, Balance, BookedAddOn, BookedEntity, CommonPaging, CursorPaging, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, MembershipName, MembershipPaymentCredits, MultiServiceBookingInfo, Paging, PagingMetadataV2, ParticipantsRange, Price, PriceDescription, Subdivision } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, Balance, BookedAddOn, BookedEntity, BookedResource, BookedSchedule, BookedSlot, CommonPaging, CursorPaging, Cursors, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, Location, MembershipName, MembershipPaymentCredits, MultiServiceBookingInfo, Paging, PagingMetadataV2, ParticipantsRange, Price, PriceDescription, RequestedGenderValue, ResourceSelection, Subdivision } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Address {
|
|
6
|
+
streetAddress?: StreetAddress;
|
|
7
|
+
addressLine?: string;
|
|
8
|
+
country?: string;
|
|
9
|
+
subdivision?: string;
|
|
10
|
+
city?: string;
|
|
11
|
+
postalCode?: string;
|
|
12
|
+
addressLine2?: string;
|
|
13
|
+
formattedAddress?: string;
|
|
14
|
+
hint?: string;
|
|
15
|
+
geocode?: AddressLocation;
|
|
16
|
+
countryFullname?: string;
|
|
17
|
+
subdivisions?: Subdivision[];
|
|
18
|
+
}
|
|
19
|
+
export interface AllowedActions {
|
|
20
|
+
cancel?: boolean;
|
|
21
|
+
reschedule?: boolean;
|
|
22
|
+
refund?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface Attendance {
|
|
25
|
+
id?: string;
|
|
26
|
+
status?: string;
|
|
27
|
+
numberOfAttendees?: number;
|
|
28
|
+
}
|
|
29
|
+
export interface Booking {
|
|
30
|
+
totalParticipants?: number;
|
|
31
|
+
participantsChoices?: ParticipantChoices;
|
|
32
|
+
id?: string;
|
|
33
|
+
bookedEntity?: BookedEntity;
|
|
34
|
+
contactDetails?: ContactDetails;
|
|
35
|
+
additionalFields?: CustomFormField[];
|
|
36
|
+
status?: string;
|
|
37
|
+
paymentStatus?: string;
|
|
38
|
+
selectedPaymentOption?: string;
|
|
39
|
+
createdDate?: string;
|
|
40
|
+
externalUserId?: string;
|
|
41
|
+
revision?: string;
|
|
42
|
+
createdBy?: IdentificationData;
|
|
43
|
+
startDate?: string;
|
|
44
|
+
endDate?: string;
|
|
45
|
+
updatedDate?: string;
|
|
46
|
+
extendedFields?: ExtendedFields;
|
|
47
|
+
doubleBooked?: boolean;
|
|
48
|
+
multiServiceBookingInfo?: MultiServiceBookingInfo;
|
|
49
|
+
formSubmissionId?: string;
|
|
50
|
+
formId?: string;
|
|
51
|
+
bookedAddOns?: BookedAddOn[];
|
|
52
|
+
appId?: string;
|
|
53
|
+
createdByAppId?: string;
|
|
54
|
+
depositSelected?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface BookingFeeDetails {
|
|
57
|
+
cancellationFeeStatus?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface BookingPolicySettings {
|
|
60
|
+
cancellationFeeEnabled?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface CommonAddressLocation {
|
|
63
|
+
latitude?: number;
|
|
64
|
+
longitude?: number;
|
|
65
|
+
}
|
|
66
|
+
export interface CommonQueryV2 {
|
|
67
|
+
paging?: CommonPaging;
|
|
68
|
+
cursorPaging?: CursorPaging;
|
|
69
|
+
filter?: Record<string, unknown>;
|
|
70
|
+
sort?: Sorting[];
|
|
71
|
+
}
|
|
72
|
+
export interface ConferencingDetails {
|
|
73
|
+
guestUrl?: string;
|
|
74
|
+
password?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface ContactDetails {
|
|
77
|
+
contactId?: string;
|
|
78
|
+
firstName?: string;
|
|
79
|
+
lastName?: string;
|
|
80
|
+
email?: string;
|
|
81
|
+
phone?: string;
|
|
82
|
+
fullAddress?: Address;
|
|
83
|
+
timeZone?: string;
|
|
84
|
+
countryCode?: string;
|
|
85
|
+
}
|
|
86
|
+
export interface CountExtendedBookingsRequest {
|
|
87
|
+
filter?: Record<string, unknown>;
|
|
88
|
+
}
|
|
89
|
+
export interface CountExtendedBookingsResponse {
|
|
90
|
+
count?: number;
|
|
91
|
+
}
|
|
92
|
+
export interface CyclePrice {
|
|
93
|
+
amount?: string;
|
|
94
|
+
currency?: string;
|
|
95
|
+
}
|
|
96
|
+
export interface Duration {
|
|
97
|
+
minutes?: number;
|
|
98
|
+
name?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface ExtendedBooking {
|
|
101
|
+
booking?: Booking;
|
|
102
|
+
allowedActions?: AllowedActions;
|
|
103
|
+
attendance?: Attendance;
|
|
104
|
+
conferencingDetails?: ConferencingDetails;
|
|
105
|
+
bookingPolicySettings?: BookingPolicySettings;
|
|
106
|
+
bookingFeeDetails?: BookingFeeDetails;
|
|
107
|
+
order?: Order;
|
|
108
|
+
waiver?: Waiver;
|
|
109
|
+
transactions?: OrderTransactions;
|
|
110
|
+
formSubmissions?: FormSubmission[];
|
|
111
|
+
subscriptionInfo?: SubscriptionInfo;
|
|
112
|
+
}
|
|
113
|
+
export interface FormSubmission {
|
|
114
|
+
label?: string;
|
|
115
|
+
key?: string;
|
|
116
|
+
value?: string;
|
|
117
|
+
fieldId?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface MembershipPaymentDetails {
|
|
120
|
+
name?: MembershipName;
|
|
121
|
+
expirationDate?: string;
|
|
122
|
+
credits?: MembershipPaymentCredits;
|
|
123
|
+
}
|
|
124
|
+
export interface Order {
|
|
125
|
+
id?: string;
|
|
126
|
+
number?: string;
|
|
127
|
+
status?: string;
|
|
128
|
+
paymentStatus?: string;
|
|
129
|
+
totalPrice?: Price;
|
|
130
|
+
bookingPrice?: Price;
|
|
131
|
+
bookingPriceDescription?: PriceDescription;
|
|
132
|
+
balance?: Balance;
|
|
133
|
+
currency?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface OrderTransactions {
|
|
136
|
+
chargedMembershipPaymentDetails?: MembershipPaymentDetails;
|
|
137
|
+
refundSumAmounts?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ParticipantChoices {
|
|
140
|
+
serviceChoices?: ServiceChoices[];
|
|
141
|
+
}
|
|
142
|
+
export interface QueryExtendedBookingRequest {
|
|
143
|
+
query?: QueryV2;
|
|
144
|
+
withBookingAllowedActions?: boolean;
|
|
145
|
+
withBookingAttendanceInfo?: boolean;
|
|
146
|
+
sessionId?: string;
|
|
147
|
+
}
|
|
148
|
+
export interface QueryExtendedBookingResponse {
|
|
149
|
+
extendedBookings?: ExtendedBooking[];
|
|
150
|
+
pagingMetadata?: PagingMetadataV2;
|
|
151
|
+
}
|
|
152
|
+
export interface QueryExtendedBookingsRequest {
|
|
153
|
+
query?: CommonQueryV2;
|
|
154
|
+
withBookingAllowedActions?: boolean;
|
|
155
|
+
withBookingAttendanceInfo?: boolean;
|
|
156
|
+
withBookingConferencingDetails?: boolean;
|
|
157
|
+
withBookingPolicySettings?: boolean;
|
|
158
|
+
withBookingFeeDetails?: boolean;
|
|
159
|
+
withEcomOrder?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export interface QueryExtendedBookingsResponse {
|
|
162
|
+
extendedBookings?: ExtendedBooking[];
|
|
163
|
+
pagingMetadata?: PagingMetadataV2;
|
|
164
|
+
}
|
|
165
|
+
export interface QueryV2 {
|
|
166
|
+
paging?: Paging;
|
|
167
|
+
cursorPaging?: CursorPaging;
|
|
168
|
+
filter?: Record<string, unknown>;
|
|
169
|
+
sort?: Sorting[];
|
|
170
|
+
fields?: string[];
|
|
171
|
+
fieldsets?: string[];
|
|
172
|
+
}
|
|
173
|
+
export interface ServiceChoice {
|
|
174
|
+
custom?: string;
|
|
175
|
+
duration?: Duration;
|
|
176
|
+
dateTime?: DateTimeRule;
|
|
177
|
+
participantRange?: ParticipantsRange;
|
|
178
|
+
optionId?: string;
|
|
179
|
+
choiceId?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface ServiceChoices {
|
|
182
|
+
numberOfParticipants?: number;
|
|
183
|
+
choices?: ServiceChoice[];
|
|
184
|
+
}
|
|
185
|
+
export interface Sorting {
|
|
186
|
+
fieldName?: string;
|
|
187
|
+
order?: string;
|
|
188
|
+
origin?: CommonAddressLocation;
|
|
189
|
+
}
|
|
190
|
+
export interface StreetAddress {
|
|
191
|
+
number?: string;
|
|
192
|
+
name?: string;
|
|
193
|
+
apt?: string;
|
|
194
|
+
}
|
|
195
|
+
export interface SubscriptionInfo {
|
|
196
|
+
currentCycle?: number;
|
|
197
|
+
totalCycles?: number;
|
|
198
|
+
billingFrequency?: string;
|
|
199
|
+
subscriptionId?: string;
|
|
200
|
+
status?: string;
|
|
201
|
+
cyclePrice?: CyclePrice;
|
|
202
|
+
}
|
|
203
|
+
export interface Waiver {
|
|
204
|
+
id?: string;
|
|
205
|
+
waiverTemplateId?: string;
|
|
206
|
+
contactId?: string;
|
|
207
|
+
status?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Counts the number of bookings matching the specified filters.
|
|
211
|
+
*
|
|
212
|
+
* @permissionId bookings:v2:booking:count_extended_bookings
|
|
213
|
+
* @permissionId BOOKINGS.MANAGE_BOOKINGS
|
|
214
|
+
* @permissionId BOOKINGS.BOOKING_READ_ANY
|
|
215
|
+
* @fqn com.wixpress.bookings.reader.v2.BookingsReader.CountExtendedBookings
|
|
216
|
+
*
|
|
217
|
+
* POST /_api/bookings-reader/v2/extended-bookings/count
|
|
218
|
+
*/
|
|
219
|
+
export declare function countExtendedBookings(req?: CountExtendedBookingsRequest, opts?: WixCallOptions): Promise<CountExtendedBookingsResponse>;
|
|
220
|
+
/**
|
|
221
|
+
* > **Deprecation Notice** > > **This endpoint has been replaced with [Query Extended Bookings](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings) and will be removed on May 31, 2025.** > **If your app uses this endpoint, we recommend updating your code as soon as possible.**
|
|
222
|
+
*
|
|
223
|
+
* @permissionId BOOKINGS.BOOKING_READ
|
|
224
|
+
* @fqn com.wixpress.bookings.reader.v2.BookingsReader.Query
|
|
225
|
+
*
|
|
226
|
+
* POST /_api/bookings-reader/v2/extended-booking/query
|
|
227
|
+
*/
|
|
228
|
+
export declare function query(req?: QueryExtendedBookingRequest, opts?: WixCallOptions): Promise<QueryExtendedBookingResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
|
|
231
|
+
*
|
|
232
|
+
* @permissionId BOOKINGS.BOOKING_READ
|
|
233
|
+
* @permissionId BOOKINGS.MANAGE_BOOKINGS
|
|
234
|
+
* @permissionId BOOKINGS.BOOKING_READ_ANY
|
|
235
|
+
* @fqn com.wixpress.bookings.reader.v2.BookingsReader.QueryExtendedBookings
|
|
236
|
+
*
|
|
237
|
+
* POST /_api/bookings-reader/v2/extended-bookings/query
|
|
238
|
+
*/
|
|
239
|
+
export declare function queryExtendedBookings(req?: QueryExtendedBookingsRequest, opts?: WixCallOptions): Promise<QueryExtendedBookingsResponse>;
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPaging, ListProvidersRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, ListProvidersRequest } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Calendar {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Calendars {
|
|
10
|
+
calendars?: Calendar[];
|
|
11
|
+
}
|
|
12
|
+
export interface ConnectByCredentialsRequest {
|
|
13
|
+
scheduleId?: string;
|
|
14
|
+
providerId?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
password?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ConnectByCredentialsResponse {
|
|
19
|
+
connection?: Connection;
|
|
20
|
+
}
|
|
21
|
+
export interface ConnectByOAuthRequest {
|
|
22
|
+
scheduleId?: string;
|
|
23
|
+
providerId?: string;
|
|
24
|
+
redirectUrl?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ConnectByOAuthResponse {
|
|
27
|
+
oauthUrl?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface Connection {
|
|
30
|
+
id?: string;
|
|
31
|
+
providerId?: string;
|
|
32
|
+
calendarType?: string;
|
|
33
|
+
scheduleId?: string;
|
|
34
|
+
userId?: string;
|
|
35
|
+
appId?: string;
|
|
36
|
+
externalAccountEmail?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
errorReason?: string;
|
|
39
|
+
syncConfig?: ConnectionSyncConfig;
|
|
40
|
+
}
|
|
41
|
+
export interface ConnectionSyncConfig {
|
|
42
|
+
listEventFromCalendars?: ConnectionSyncConfigListEventFromCalendars;
|
|
43
|
+
syncToCalendar?: ConnectionSyncConfigSyncToCalendar;
|
|
44
|
+
}
|
|
45
|
+
export interface ConnectionSyncConfigListEventFromCalendars {
|
|
46
|
+
primaryCalendar?: PrimaryCalendar;
|
|
47
|
+
calendars?: Calendars;
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface ConnectionSyncConfigSyncToCalendar {
|
|
51
|
+
primaryCalendar?: PrimaryCalendar;
|
|
52
|
+
dedicatedCalendar?: DedicatedCalendar;
|
|
53
|
+
enabled?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface CursorPagingMetadata {
|
|
56
|
+
count?: number;
|
|
57
|
+
cursors?: Cursors;
|
|
58
|
+
hasNext?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface Cursors {
|
|
61
|
+
next?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface DedicatedCalendar {
|
|
64
|
+
}
|
|
65
|
+
export interface DisconnectRequest {
|
|
66
|
+
connectionId?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface DisconnectResponse {
|
|
69
|
+
connection?: Connection;
|
|
70
|
+
}
|
|
71
|
+
export interface Event {
|
|
72
|
+
scheduleId?: string;
|
|
73
|
+
calendarType?: string;
|
|
74
|
+
calendarName?: string;
|
|
75
|
+
title?: string;
|
|
76
|
+
start?: string;
|
|
77
|
+
end?: string;
|
|
78
|
+
allDay?: boolean;
|
|
79
|
+
scheduleOwnerId?: string;
|
|
80
|
+
scheduleOwnerName?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface GetConnectionRequest {
|
|
83
|
+
connectionId?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface GetConnectionResponse {
|
|
86
|
+
connection?: Connection;
|
|
87
|
+
}
|
|
88
|
+
export interface ListCalendarsRequest {
|
|
89
|
+
connectionId?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface ListCalendarsResponse {
|
|
92
|
+
calendars?: Calendar[];
|
|
93
|
+
}
|
|
94
|
+
export interface ListConnectionsRequest {
|
|
95
|
+
scheduleIds?: string[];
|
|
96
|
+
partialFailure?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface ListConnectionsResponse {
|
|
99
|
+
connections?: Connection[];
|
|
100
|
+
failedProviderIds?: string[];
|
|
101
|
+
}
|
|
102
|
+
export interface ListEventsRequest {
|
|
103
|
+
from?: string;
|
|
104
|
+
to?: string;
|
|
105
|
+
scheduleIds?: string[];
|
|
106
|
+
userIds?: string[];
|
|
107
|
+
allDay?: boolean;
|
|
108
|
+
fieldsets?: string[];
|
|
109
|
+
cursorPaging?: CursorPaging;
|
|
110
|
+
partialFailure?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface ListEventsResponse {
|
|
113
|
+
events?: Event[];
|
|
114
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
115
|
+
failedProviderIds?: string[];
|
|
116
|
+
}
|
|
117
|
+
export interface ListProvidersResponse {
|
|
118
|
+
providers?: Provider[];
|
|
119
|
+
}
|
|
120
|
+
export interface PrimaryCalendar {
|
|
121
|
+
}
|
|
122
|
+
export interface Provider {
|
|
123
|
+
id?: string;
|
|
124
|
+
name?: string;
|
|
125
|
+
calendarType?: string;
|
|
126
|
+
features?: ProviderFeatures;
|
|
127
|
+
}
|
|
128
|
+
export interface ProviderFeatures {
|
|
129
|
+
connectMethods?: string[];
|
|
130
|
+
updateSyncConfig?: boolean;
|
|
131
|
+
listEventFromCalendars?: string;
|
|
132
|
+
syncToCalendar?: string;
|
|
133
|
+
}
|
|
134
|
+
export interface UpdateSyncConfigRequest {
|
|
135
|
+
connectionId?: string;
|
|
136
|
+
syncConfig?: ConnectionSyncConfig;
|
|
137
|
+
}
|
|
138
|
+
export interface UpdateSyncConfigResponse {
|
|
139
|
+
connection?: Connection;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Connects a [Wix schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction) to an external calendar account using credentials.
|
|
143
|
+
*
|
|
144
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
145
|
+
* @permissionId CALENDAR.MANAGE_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
146
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ConnectByCredentials
|
|
147
|
+
*
|
|
148
|
+
* POST /bookings/v2/external-calendars/connections:connectByCredentials
|
|
149
|
+
*/
|
|
150
|
+
export declare function connectByCredentials(req?: ConnectByCredentialsRequest, opts?: WixCallOptions): Promise<ConnectByCredentialsResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Connects a [Wix schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction) to an external calendar account following [OAuth authorization protocol](https://oauth.net/2/).
|
|
153
|
+
*
|
|
154
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
155
|
+
* @permissionId CALENDAR.MANAGE_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
156
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ConnectByOAuth
|
|
157
|
+
*
|
|
158
|
+
* POST /bookings/v2/external-calendars/connections:connectByOAuth
|
|
159
|
+
*/
|
|
160
|
+
export declare function connectByOAuth(req?: ConnectByOAuthRequest, opts?: WixCallOptions): Promise<ConnectByOAuthResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* Disconnects a Wix schedule from an external calendar and deletes all Wix calendar [events](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) from the external calendar.
|
|
163
|
+
*
|
|
164
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
165
|
+
* @permissionId CALENDAR.MANAGE_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
166
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.Disconnect
|
|
167
|
+
*
|
|
168
|
+
* POST /bookings/v2/external-calendars/connections/{connectionId}/disconnect
|
|
169
|
+
*/
|
|
170
|
+
export declare function disconnect(req: DisconnectRequest, opts?: WixCallOptions): Promise<DisconnectResponse>;
|
|
171
|
+
/**
|
|
172
|
+
* Retrieves an external calendar connection by ID.
|
|
173
|
+
*
|
|
174
|
+
* @permissionId CALENDAR.READ_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
175
|
+
* @permissionId CALENDAR.READ_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
176
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.GetConnection
|
|
177
|
+
*
|
|
178
|
+
* GET /bookings/v2/external-calendars/connections/{connectionId}
|
|
179
|
+
*/
|
|
180
|
+
export declare function getConnection(req: GetConnectionRequest, opts?: WixCallOptions): Promise<GetConnectionResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves details about the external calendar accounts associated with the specified connection.
|
|
183
|
+
*
|
|
184
|
+
* @permissionId CALENDAR.READ_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
185
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListCalendars
|
|
186
|
+
*
|
|
187
|
+
* GET /bookings/v2/external-calendars/connections/{connectionId}/calendars
|
|
188
|
+
*/
|
|
189
|
+
export declare function listCalendars(req: ListCalendarsRequest, opts?: WixCallOptions): Promise<ListCalendarsResponse>;
|
|
190
|
+
/**
|
|
191
|
+
* Retrieves a list of external calendar connections.
|
|
192
|
+
*
|
|
193
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
194
|
+
* @permissionId CALENDAR.READ_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
195
|
+
* @permissionId CALENDAR.READ_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
196
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListConnections
|
|
197
|
+
*
|
|
198
|
+
* GET /bookings/v2/external-calendars/connections
|
|
199
|
+
*/
|
|
200
|
+
export declare function listConnections(req?: ListConnectionsRequest, opts?: WixCallOptions): Promise<ListConnectionsResponse>;
|
|
201
|
+
/**
|
|
202
|
+
* Retrieves a list of events from all external calendar accounts, based on the provided filtering and paging.
|
|
203
|
+
*
|
|
204
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
205
|
+
* @permissionId CALENDAR.READ_EXTERNAL_CALENDAR_EVENTS
|
|
206
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListEvents
|
|
207
|
+
*
|
|
208
|
+
* GET /bookings/v2/external-calendars/events
|
|
209
|
+
*/
|
|
210
|
+
export declare function listEvents(req?: ListEventsRequest, opts?: WixCallOptions): Promise<ListEventsResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* Retrieves a list of external calendar providers supported on the Wix site.
|
|
213
|
+
*
|
|
214
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
215
|
+
* @permissionId CALENDAR.LIST_EXTERNAL_CALENDAR_PROVIDERS
|
|
216
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListProviders
|
|
217
|
+
*
|
|
218
|
+
* GET /bookings/v2/external-calendars/providers
|
|
219
|
+
*/
|
|
220
|
+
export declare function listProviders(req?: ListProvidersRequest, opts?: WixCallOptions): Promise<ListProvidersResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* Updates the import and export settings for an external calendar connection's events.
|
|
223
|
+
*
|
|
224
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
225
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.UpdateSyncConfig
|
|
226
|
+
*
|
|
227
|
+
* PATCH /bookings/v2/external-calendars/connections/{connectionId}/sync-config
|
|
228
|
+
*/
|
|
229
|
+
export declare function updateSyncConfig(req: UpdateSyncConfigRequest, opts?: WixCallOptions): Promise<UpdateSyncConfigResponse>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "../../wix-sdk/bookings-v2/src/index.js";
|
|
2
|
+
export * as addOns from "./addOns.generated.js";
|
|
3
|
+
export * as attendance from "./attendance.generated.js";
|
|
4
|
+
export * as attributeDefinition from "./attributeDefinition.generated.js";
|
|
5
|
+
export * as attributeValue from "./attributeValue.generated.js";
|
|
6
|
+
export * as availabilityCalendar from "./availabilityCalendar.generated.js";
|
|
7
|
+
export * as availabilityTimeSlots from "./availabilityTimeSlots.generated.js";
|
|
8
|
+
export * as bookingFees from "./bookingFees.generated.js";
|
|
9
|
+
export * as bookingPolicies from "./bookingPolicies.generated.js";
|
|
10
|
+
export * as bookingPolicySnapshots from "./bookingPolicySnapshots.generated.js";
|
|
11
|
+
export * as bookings from "./bookings.generated.js";
|
|
12
|
+
export * as bookingsSettings from "./bookingsSettings.generated.js";
|
|
13
|
+
export * as catalogSearch from "./catalogSearch.generated.js";
|
|
14
|
+
export * as categories from "./categories.generated.js";
|
|
15
|
+
export * as categoriesV2 from "./categoriesV2.generated.js";
|
|
16
|
+
export * as eventTimeSlots from "./eventTimeSlots.generated.js";
|
|
17
|
+
export * as extendedBookings from "./extendedBookings.generated.js";
|
|
18
|
+
export * as externalCalendars from "./externalCalendars.generated.js";
|
|
19
|
+
export * as multiServiceAvailabilityTimeSlots from "./multiServiceAvailabilityTimeSlots.generated.js";
|
|
20
|
+
export * as pricing from "./pricing.generated.js";
|
|
21
|
+
export * as relatedProducts from "./relatedProducts.generated.js";
|
|
22
|
+
export * as resourceTypes from "./resourceTypes.generated.js";
|
|
23
|
+
export * as resources from "./resources.generated.js";
|
|
24
|
+
export * as serviceOptionsAndVariants from "./serviceOptionsAndVariants.generated.js";
|
|
25
|
+
export * as services from "./services.generated.js";
|
|
26
|
+
export * as staffMemberSettings from "./staffMemberSettings.generated.js";
|
|
27
|
+
export * as staffMembers from "./staffMembers.generated.js";
|
|
28
|
+
export * as timeSlotsConfiguration from "./timeSlotsConfiguration.generated.js";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AvailableResources, BookingPolicyViolations, CursorPaging, Cursors, EventInfo, NestedTimeSlot, NonBookableReasons } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AvailableResources, BookingPolicyViolations, CursorPaging, Cursors, EventInfo, NestedTimeSlot, NonBookableReasons, Resource, WaitingList } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface CursorPagingMetadata {
|
|
6
|
+
cursors?: Cursors;
|
|
7
|
+
hasNext?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface GetMultiServiceAvailabilityTimeSlotRequest {
|
|
10
|
+
services?: Service[];
|
|
11
|
+
localStartDate?: string;
|
|
12
|
+
localEndDate?: string;
|
|
13
|
+
timeZone?: string;
|
|
14
|
+
location?: Location;
|
|
15
|
+
}
|
|
16
|
+
export interface GetMultiServiceAvailabilityTimeSlotResponse {
|
|
17
|
+
timeSlot?: TimeSlot;
|
|
18
|
+
timeZone?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ListMultiServiceAvailabilityTimeSlotsRequest {
|
|
21
|
+
services?: Service[];
|
|
22
|
+
fromLocalDate?: string;
|
|
23
|
+
toLocalDate?: string;
|
|
24
|
+
timeZone?: string;
|
|
25
|
+
location?: Location;
|
|
26
|
+
bookable?: boolean;
|
|
27
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
28
|
+
timeSlotsPerDay?: number;
|
|
29
|
+
cursorPaging?: CursorPaging;
|
|
30
|
+
}
|
|
31
|
+
export interface ListMultiServiceAvailabilityTimeSlotsResponse {
|
|
32
|
+
timeSlots?: TimeSlot[];
|
|
33
|
+
timeZone?: string;
|
|
34
|
+
cursorPagingMetadata?: CursorPagingMetadata;
|
|
35
|
+
}
|
|
36
|
+
export interface Location {
|
|
37
|
+
id?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
formattedAddress?: string;
|
|
40
|
+
locationType?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ResourceType {
|
|
43
|
+
resourceTypeId?: string;
|
|
44
|
+
resourceIds?: string[];
|
|
45
|
+
}
|
|
46
|
+
export interface Service {
|
|
47
|
+
serviceId?: string;
|
|
48
|
+
includeResourceTypeIds?: string[];
|
|
49
|
+
customerChoices?: V2CustomerChoices;
|
|
50
|
+
resourceTypes?: ResourceType[];
|
|
51
|
+
}
|
|
52
|
+
export interface TimeSlot {
|
|
53
|
+
serviceId?: string;
|
|
54
|
+
localStartDate?: string;
|
|
55
|
+
localEndDate?: string;
|
|
56
|
+
bookable?: boolean;
|
|
57
|
+
location?: Location;
|
|
58
|
+
eventInfo?: EventInfo;
|
|
59
|
+
totalCapacity?: number;
|
|
60
|
+
remainingCapacity?: number;
|
|
61
|
+
bookableCapacity?: number;
|
|
62
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
63
|
+
availableResources?: AvailableResources[];
|
|
64
|
+
nestedTimeSlots?: NestedTimeSlot[];
|
|
65
|
+
nonBookableReasons?: NonBookableReasons;
|
|
66
|
+
scheduleId?: string;
|
|
67
|
+
allDay?: boolean;
|
|
68
|
+
}
|
|
69
|
+
export interface V2CustomerChoices {
|
|
70
|
+
durationInMinutes?: number;
|
|
71
|
+
addOnIds?: string[];
|
|
72
|
+
durationChoiceId?: string;
|
|
73
|
+
requestedGender?: V2RequestedGenderValue;
|
|
74
|
+
}
|
|
75
|
+
export interface V2RequestedGenderValue {
|
|
76
|
+
gender?: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves a multi-service time slot that matches the specified filters.
|
|
80
|
+
*
|
|
81
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
82
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ_MULTI_SERVICE_TIME_SLOTS
|
|
83
|
+
* @fqn com.wixpress.bookings.availability.v2.MultiServiceAvailabilityTimeSlots.GetMultiServiceAvailabilityTimeSlot
|
|
84
|
+
*
|
|
85
|
+
* POST /_api/service-availability/v2/multi-service-time-slots/get
|
|
86
|
+
*/
|
|
87
|
+
export declare function getMultiServiceAvailabilityTimeSlot(req?: GetMultiServiceAvailabilityTimeSlotRequest, opts?: WixCallOptions): Promise<GetMultiServiceAvailabilityTimeSlotResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves a list of multi-service time slots that match the provided filters.
|
|
90
|
+
*
|
|
91
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
92
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ_MULTI_SERVICE_TIME_SLOTS
|
|
93
|
+
* @fqn com.wixpress.bookings.availability.v2.MultiServiceAvailabilityTimeSlots.ListMultiServiceAvailabilityTimeSlots
|
|
94
|
+
*
|
|
95
|
+
* POST /_api/service-availability/v2/multi-service-time-slots
|
|
96
|
+
*/
|
|
97
|
+
export declare function listMultiServiceAvailabilityTimeSlots(req?: ListMultiServiceAvailabilityTimeSlotsRequest, opts?: WixCallOptions): Promise<ListMultiServiceAvailabilityTimeSlotsResponse>;
|