@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.
Files changed (127) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
  26. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
  27. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
  28. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
  29. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
  30. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
  31. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
  32. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
  33. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
  34. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
  35. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
  36. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
  37. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
  38. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
  39. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
  40. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
  41. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
  42. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
  43. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
  44. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
  45. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
  46. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
  47. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
  48. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
  49. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
  50. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
  51. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
  52. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
  53. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
  54. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
  55. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
  56. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
  57. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
  58. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
  59. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
  60. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
  61. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
  62. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
  63. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
  64. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
  65. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
  66. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
  67. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
  68. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
  69. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
  70. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
  71. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
  72. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
  73. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
  74. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
  75. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
  76. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
  77. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
  78. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
  79. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
  80. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
  81. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
  82. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
  83. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
  84. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
  85. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
  86. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
  87. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
  88. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
  89. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
  90. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
  91. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
  92. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
  93. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
  94. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
  95. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
  96. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
  97. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
  98. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
  99. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
  100. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
  101. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
  102. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
  103. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
  104. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
  105. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
  106. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
  107. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
  108. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
  109. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
  110. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
  111. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
  112. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
  113. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
  114. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
  115. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
  116. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
  117. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
  118. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
  119. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
  120. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
  121. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
  122. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
  123. package/dist/cli.mjs +541 -7
  124. package/guides/importable-sdks.md +1 -0
  125. package/guides/sdk-reference.json +15672 -8927
  126. package/guides/wix-api-usage.md +28 -0
  127. package/package.json +2 -2
@@ -0,0 +1,138 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { AddressLocation, BookedAddOn, BookedEntity, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, MultiServiceBookingInfo, ParticipantsRange, Subdivision } from "../_shared/types.generated.js";
3
+ export type { AddressLocation, BookedAddOn, BookedEntity, BookedResource, BookedSchedule, BookedSlot, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, Location, MultiServiceBookingInfo, ParticipantsRange, 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 Booking {
20
+ totalParticipants?: number;
21
+ participantsChoices?: ParticipantChoices;
22
+ id?: string;
23
+ bookedEntity?: BookedEntity;
24
+ contactDetails?: ContactDetails;
25
+ additionalFields?: CustomFormField[];
26
+ status?: string;
27
+ paymentStatus?: string;
28
+ selectedPaymentOption?: string;
29
+ createdDate?: string;
30
+ externalUserId?: string;
31
+ revision?: string;
32
+ createdBy?: IdentificationData;
33
+ startDate?: string;
34
+ endDate?: string;
35
+ updatedDate?: string;
36
+ extendedFields?: ExtendedFields;
37
+ doubleBooked?: boolean;
38
+ multiServiceBookingInfo?: MultiServiceBookingInfo;
39
+ formSubmissionId?: string;
40
+ formId?: string;
41
+ bookedAddOns?: BookedAddOn[];
42
+ appId?: string;
43
+ createdByAppId?: string;
44
+ depositSelected?: boolean;
45
+ }
46
+ export interface BookingLineItem {
47
+ serviceId?: string;
48
+ resourceId?: string;
49
+ choices?: ServiceChoice[];
50
+ numberOfParticipants?: number;
51
+ pricePerParticipant?: number;
52
+ serviceChoices?: PricingServiceChoices[];
53
+ localStartDate?: string;
54
+ localEndDate?: string;
55
+ timeZone?: string;
56
+ }
57
+ export interface CalculatePriceRequest {
58
+ booking?: Booking;
59
+ }
60
+ export interface CalculatePriceResponse {
61
+ priceInfo?: PriceInfo;
62
+ }
63
+ export interface ContactDetails {
64
+ contactId?: string;
65
+ firstName?: string;
66
+ lastName?: string;
67
+ email?: string;
68
+ phone?: string;
69
+ fullAddress?: Address;
70
+ timeZone?: string;
71
+ countryCode?: string;
72
+ }
73
+ export interface Duration {
74
+ minutes?: number;
75
+ name?: string;
76
+ }
77
+ export interface ParticipantChoices {
78
+ serviceChoices?: ServiceChoices[];
79
+ }
80
+ export interface PreviewPriceRequest {
81
+ bookingLineItems?: BookingLineItem[];
82
+ }
83
+ export interface PreviewPriceResponse {
84
+ priceInfo?: PriceInfo;
85
+ }
86
+ export interface PriceDescriptionInfo {
87
+ original?: string;
88
+ translated?: string;
89
+ }
90
+ export interface PriceInfo {
91
+ calculatedPrice?: number;
92
+ priceDescription?: string;
93
+ priceDescriptionInfo?: PriceDescriptionInfo;
94
+ bookingLineItems?: BookingLineItem[];
95
+ deposit?: number;
96
+ }
97
+ export interface PricingServiceChoices {
98
+ numberOfParticipants?: number;
99
+ choices?: ServiceChoice[];
100
+ pricePerParticipant?: number;
101
+ }
102
+ export interface ServiceChoice {
103
+ custom?: string;
104
+ duration?: Duration;
105
+ dateTime?: DateTimeRule;
106
+ participantRange?: ParticipantsRange;
107
+ optionId?: string;
108
+ choiceId?: string;
109
+ }
110
+ export interface ServiceChoices {
111
+ numberOfParticipants?: number;
112
+ choices?: ServiceChoice[];
113
+ }
114
+ export interface StreetAddress {
115
+ number?: string;
116
+ name?: string;
117
+ apt?: string;
118
+ }
119
+ /**
120
+ * Calculates the current base price for an existing booking.
121
+ *
122
+ * @scope visitor — an anonymous visitor session is enough.
123
+ * @permissionId BOOKINGS.PRICE_CALCULATE
124
+ * @fqn com.wixpress.bookings.pricing.BookingsPricingService.CalculatePrice
125
+ *
126
+ * POST /bookings/v2/pricing/v2/pricing/calculate
127
+ */
128
+ export declare function calculatePrice(req?: CalculatePriceRequest, opts?: WixCallOptions): Promise<CalculatePriceResponse>;
129
+ /**
130
+ * Previews the base price for a set of line items belonging to the same service, before a booking is created.
131
+ *
132
+ * @scope visitor — an anonymous visitor session is enough.
133
+ * @permissionId BOOKINGS.PRICE_PREVIEW
134
+ * @fqn com.wixpress.bookings.pricing.BookingsPricingService.PreviewPrice
135
+ *
136
+ * POST /bookings/v2/pricing/v2/pricing/preview
137
+ */
138
+ export declare function previewPrice(req?: PreviewPriceRequest, opts?: WixCallOptions): Promise<PreviewPriceResponse>;
@@ -0,0 +1,78 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { CursorPaging, CursorPagingMetadata, Money } from "../_shared/types.generated.js";
3
+ export type { CursorPaging, CursorPagingMetadata, Cursors, Money } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface DiscountInfo {
6
+ discountRuleNames?: string[];
7
+ }
8
+ export interface Image {
9
+ id?: string;
10
+ url?: string;
11
+ height?: number;
12
+ width?: number;
13
+ altText?: string;
14
+ }
15
+ export interface ListRelatedProductsByServiceIdsRequest {
16
+ serviceIds?: string[];
17
+ includeProducts?: boolean;
18
+ cursorPaging?: CursorPaging;
19
+ }
20
+ export interface ListRelatedProductsByServiceIdsResponse {
21
+ relatedProducts?: RelatedProducts[];
22
+ productSummaries?: RelatedProductSummary[];
23
+ pagingMetadata?: CursorPagingMetadata;
24
+ }
25
+ export interface MinPriceVariant {
26
+ id?: string;
27
+ price?: Money;
28
+ compareAtPrice?: Money;
29
+ priceAfterDiscount?: Money;
30
+ }
31
+ export interface MinVariantPriceInfo {
32
+ actualPrice?: Money;
33
+ compareAtPrice?: Money;
34
+ sku?: string;
35
+ }
36
+ export interface RelatedProductSummary {
37
+ id?: string;
38
+ name?: string;
39
+ slug?: string;
40
+ url?: string;
41
+ description?: string;
42
+ media?: Image;
43
+ price?: Money;
44
+ compareAtPrice?: Money;
45
+ ribbon?: string;
46
+ availabilityStatus?: string;
47
+ optionsOrModifiersSupported?: boolean;
48
+ tags?: Tags;
49
+ discountInfo?: DiscountInfo;
50
+ variantSummary?: VariantSummary;
51
+ minVariantPriceInfo?: MinVariantPriceInfo;
52
+ }
53
+ export interface RelatedProducts {
54
+ id?: string;
55
+ revision?: string;
56
+ createdDate?: string;
57
+ updatedDate?: string;
58
+ serviceId?: string;
59
+ productTagIds?: string[];
60
+ name?: string;
61
+ description?: string;
62
+ }
63
+ export interface Tags {
64
+ publicTagIds?: string[];
65
+ privateTagIds?: string[];
66
+ }
67
+ export interface VariantSummary {
68
+ variantCount?: number;
69
+ minPriceVariant?: MinPriceVariant;
70
+ }
71
+ /**
72
+ * Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /_api/bookings/related-products/list-by-service-ids answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
73
+ *
74
+ * @scope visitor — an anonymous visitor session is enough.
75
+ *
76
+ * POST /_api/bookings/related-products/list-by-service-ids
77
+ */
78
+ export declare function listRelatedProductsByServiceIds(req?: ListRelatedProductsByServiceIdsRequest, opts?: WixCallOptions): Promise<ListRelatedProductsByServiceIdsResponse>;
@@ -0,0 +1,109 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { CursorPagingMetadata, CursorQuery, ExtendedFields } from "../_shared/types.generated.js";
3
+ export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface CountResourceTypesRequest {
6
+ filter?: Record<string, unknown>;
7
+ }
8
+ export interface CountResourceTypesResponse {
9
+ count?: number;
10
+ }
11
+ export interface CreateResourceTypeRequest {
12
+ resourceType?: ResourceType;
13
+ }
14
+ export interface CreateResourceTypeResponse {
15
+ resourceType?: ResourceType;
16
+ }
17
+ export interface DeleteResourceTypeRequest {
18
+ resourceTypeId?: string;
19
+ }
20
+ export interface DeleteResourceTypeResponse {
21
+ }
22
+ export interface GetResourceTypeRequest {
23
+ resourceTypeId?: string;
24
+ }
25
+ export interface GetResourceTypeResponse {
26
+ resourceType?: ResourceType;
27
+ }
28
+ export interface QueryResourceTypesRequest {
29
+ query?: CursorQuery;
30
+ }
31
+ export interface QueryResourceTypesResponse {
32
+ resourceTypes?: ResourceType[];
33
+ pagingMetadata?: CursorPagingMetadata;
34
+ }
35
+ export interface ResourceType {
36
+ id?: string;
37
+ revision?: string;
38
+ createdDate?: string;
39
+ updatedDate?: string;
40
+ name?: string;
41
+ extendedFields?: ExtendedFields;
42
+ }
43
+ export interface UpdateResourceTypeRequest {
44
+ resourceType?: ResourceType;
45
+ }
46
+ export interface UpdateResourceTypeResponse {
47
+ resourceType?: ResourceType;
48
+ }
49
+ /**
50
+ * Counts resource types, given the provided filtering.
51
+ *
52
+ * @scope visitor — an anonymous visitor session is enough.
53
+ * @permissionId BOOKINGS.RESOURCE_TYPE_READ
54
+ * @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.CountResourceTypes
55
+ *
56
+ * POST /bookings/v2/resources/resource-types/count
57
+ */
58
+ export declare function countResourceTypes(req?: CountResourceTypesRequest, opts?: WixCallOptions): Promise<CountResourceTypesResponse>;
59
+ /**
60
+ * Creates a new resource type.
61
+ *
62
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
63
+ * @permissionId BOOKINGS.RESOURCE_TYPE_CREATE
64
+ * @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.CreateResourceType
65
+ *
66
+ * POST /bookings/v2/resources/resource-types
67
+ */
68
+ export declare function createResourceType(req?: CreateResourceTypeRequest, opts?: WixCallOptions): Promise<CreateResourceTypeResponse>;
69
+ /**
70
+ * Deletes a resource type.
71
+ *
72
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
73
+ * @permissionId BOOKINGS.RESOURCE_TYPE_DELETE
74
+ * @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.DeleteResourceType
75
+ *
76
+ * DELETE /bookings/v2/resources/resource-types/{resourceTypeId}
77
+ */
78
+ export declare function deleteResourceType(req: DeleteResourceTypeRequest, opts?: WixCallOptions): Promise<DeleteResourceTypeResponse>;
79
+ /**
80
+ * Retrieves a resource type.
81
+ *
82
+ * @scope visitor — an anonymous visitor session is enough.
83
+ * @permissionId BOOKINGS.RESOURCE_TYPE_READ
84
+ * @permissionId BOOKINGS.RESOURCES_READ
85
+ * @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.GetResourceType
86
+ *
87
+ * GET /bookings/v2/resources/resource-types/{resourceTypeId}
88
+ */
89
+ export declare function getResourceType(req: GetResourceTypeRequest, opts?: WixCallOptions): Promise<GetResourceTypeResponse>;
90
+ /**
91
+ * Creates a query to retrieve a list of resource types.
92
+ *
93
+ * @scope visitor — an anonymous visitor session is enough.
94
+ * @permissionId BOOKINGS.RESOURCE_TYPE_READ
95
+ * @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.QueryResourceTypes
96
+ *
97
+ * POST /bookings/v2/resources/resource-types/query
98
+ */
99
+ export declare function queryResourceTypes(req?: QueryResourceTypesRequest, opts?: WixCallOptions): Promise<QueryResourceTypesResponse>;
100
+ /**
101
+ * Updates a resource type.
102
+ *
103
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
104
+ * @permissionId BOOKINGS.RESOURCE_TYPE_UPDATE
105
+ * @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.UpdateResourceType
106
+ *
107
+ * PATCH /bookings/v2/resources/resource-types/{resourceTypeId}
108
+ */
109
+ export declare function updateResourceType(req: UpdateResourceTypeRequest, opts?: WixCallOptions): Promise<UpdateResourceTypeResponse>;
@@ -0,0 +1,210 @@
1
+ import { type WixCallOptions } from "../_shared/runtime.generated.js";
2
+ import type { AggregationData, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, DateHistogramAggregation, ExtendedFields, GroupByAggregation, ItemMetadata, NestedAggregation, RangeAggregation, ScalarAggregation, SearchDetails, Sorting, ValueAggregation } from "../_shared/types.generated.js";
3
+ export type { AggregationData, AggregationResults, AggregationResultsScalarResult, ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, ExtendedFields, GroupByAggregation, GroupByValueResults, IncludeMissingValuesOptions, ItemMetadata, NestedAggregation, NestedAggregationItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResults, Results, ScalarAggregation, SearchDetails, Sorting, ValueAggregation, ValueAggregationResult, ValueResults } from "../_shared/types.generated.js";
4
+ export type { WixCallOptions } from "../_shared/runtime.generated.js";
5
+ export interface Aggregation {
6
+ value?: ValueAggregation;
7
+ range?: RangeAggregation;
8
+ scalar?: ScalarAggregation;
9
+ dateHistogram?: DateHistogramAggregation;
10
+ nested?: NestedAggregation;
11
+ name?: string;
12
+ type?: string;
13
+ fieldPath?: string;
14
+ groupBy?: GroupByAggregation;
15
+ }
16
+ export interface BulkCreateResourcesRequest {
17
+ resources?: Resource[];
18
+ returnEntity?: boolean;
19
+ }
20
+ export interface BulkCreateResourcesResponse {
21
+ results?: BulkResourceResult[];
22
+ bulkActionMetadata?: BulkActionMetadata;
23
+ }
24
+ export interface BulkDeleteResourcesRequest {
25
+ ids?: string[];
26
+ }
27
+ export interface BulkDeleteResourcesResponse {
28
+ results?: BulkResourceResult[];
29
+ bulkActionMetadata?: BulkActionMetadata;
30
+ }
31
+ export interface BulkResourceResult {
32
+ itemMetadata?: ItemMetadata;
33
+ item?: Resource;
34
+ }
35
+ export interface BulkUpdateResourcesRequest {
36
+ resources?: MaskedResource[];
37
+ returnEntity?: boolean;
38
+ }
39
+ export interface BulkUpdateResourcesResponse {
40
+ results?: BulkResourceResult[];
41
+ bulkActionMetadata?: BulkActionMetadata;
42
+ }
43
+ export interface BusinessLocation {
44
+ locationId?: string;
45
+ }
46
+ export interface CountResourcesRequest {
47
+ filter?: Record<string, unknown>;
48
+ search?: SearchDetails;
49
+ }
50
+ export interface CountResourcesResponse {
51
+ count?: number;
52
+ }
53
+ export interface CreateResourceRequest {
54
+ resource?: Resource;
55
+ }
56
+ export interface CreateResourceResponse {
57
+ resource?: Resource;
58
+ }
59
+ export interface CursorSearch {
60
+ cursorPaging?: CursorPaging;
61
+ filter?: Record<string, unknown>;
62
+ sort?: Sorting[];
63
+ aggregations?: Aggregation[];
64
+ search?: SearchDetails;
65
+ timeZone?: string;
66
+ }
67
+ export interface DeleteResourceRequest {
68
+ resourceId?: string;
69
+ }
70
+ export interface DeleteResourceResponse {
71
+ }
72
+ export interface EventsSchedule {
73
+ scheduleId?: string;
74
+ }
75
+ export interface GetResourceRequest {
76
+ resourceId?: string;
77
+ }
78
+ export interface GetResourceResponse {
79
+ resource?: Resource;
80
+ }
81
+ export interface LocationOptions {
82
+ availableInAllLocations?: boolean;
83
+ specificLocationOptions?: SpecificLocation;
84
+ }
85
+ export interface MaskedResource {
86
+ resource?: Resource;
87
+ fieldMask?: string[];
88
+ }
89
+ export interface QueryResourcesRequest {
90
+ query?: CursorQuery;
91
+ }
92
+ export interface QueryResourcesResponse {
93
+ resources?: Resource[];
94
+ pagingMetadata?: CursorPagingMetadata;
95
+ }
96
+ export interface Resource {
97
+ id?: string;
98
+ revision?: string;
99
+ createdDate?: string;
100
+ updatedDate?: string;
101
+ name?: string;
102
+ typeId?: string;
103
+ workingHoursSchedules?: WorkingHoursSchedules;
104
+ locationOptions?: LocationOptions;
105
+ eventsSchedule?: EventsSchedule;
106
+ extendedFields?: ExtendedFields;
107
+ }
108
+ export interface SearchResourcesRequest {
109
+ search?: CursorSearch;
110
+ }
111
+ export interface SearchResourcesResponse {
112
+ resources?: Resource[];
113
+ pagingMetadata?: CursorPagingMetadata;
114
+ aggregationData?: AggregationData;
115
+ }
116
+ export interface SpecificLocation {
117
+ availableInBusinessLocations?: boolean;
118
+ businessLocations?: BusinessLocation[];
119
+ }
120
+ export interface UpdateResourceRequest {
121
+ resource?: Resource;
122
+ }
123
+ export interface UpdateResourceResponse {
124
+ resource?: Resource;
125
+ }
126
+ export interface WorkingHoursSchedule {
127
+ scheduleId?: string;
128
+ shared?: boolean;
129
+ }
130
+ export interface WorkingHoursSchedules {
131
+ values?: WorkingHoursSchedule[];
132
+ }
133
+ /**
134
+ * Creates up to 50 resources.
135
+ *
136
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
137
+ *
138
+ * POST /bookings/v2/bulk/resources/create
139
+ */
140
+ export declare function bulkCreateResources(req?: BulkCreateResourcesRequest, opts?: WixCallOptions): Promise<BulkCreateResourcesResponse>;
141
+ /**
142
+ * Deletes multiple resources.
143
+ *
144
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
145
+ *
146
+ * POST /bookings/v2/bulk/resources/delete
147
+ */
148
+ export declare function bulkDeleteResources(req?: BulkDeleteResourcesRequest, opts?: WixCallOptions): Promise<BulkDeleteResourcesResponse>;
149
+ /**
150
+ * Updates multiple resources.
151
+ *
152
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
153
+ *
154
+ * POST /bookings/v2/bulk/resources/update
155
+ */
156
+ export declare function bulkUpdateResources(req?: BulkUpdateResourcesRequest, opts?: WixCallOptions): Promise<BulkUpdateResourcesResponse>;
157
+ /**
158
+ * Counts resources according to given criteria.
159
+ *
160
+ * @scope visitor — an anonymous visitor session is enough.
161
+ *
162
+ * POST /bookings/v2/resources/count
163
+ */
164
+ export declare function countResources(req?: CountResourcesRequest, opts?: WixCallOptions): Promise<CountResourcesResponse>;
165
+ /**
166
+ * Creates a new resource.
167
+ *
168
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
169
+ *
170
+ * POST /bookings/v2/resources
171
+ */
172
+ export declare function createResource(req?: CreateResourceRequest, opts?: WixCallOptions): Promise<CreateResourceResponse>;
173
+ /**
174
+ * Deletes a resource.
175
+ *
176
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
177
+ *
178
+ * DELETE /bookings/v2/resources/{resourceId}
179
+ */
180
+ export declare function deleteResource(req: DeleteResourceRequest, opts?: WixCallOptions): Promise<DeleteResourceResponse>;
181
+ /**
182
+ * Retrieves a resource.
183
+ *
184
+ * @scope visitor — an anonymous visitor session is enough.
185
+ *
186
+ * GET /bookings/v2/resources/{resourceId}
187
+ */
188
+ export declare function getResource(req: GetResourceRequest, opts?: WixCallOptions): Promise<GetResourceResponse>;
189
+ /**
190
+ * @scope visitor — an anonymous visitor session is enough.
191
+ */
192
+ export declare function queryResources(req?: QueryResourcesRequest, opts?: WixCallOptions): Promise<QueryResourcesResponse>;
193
+ /**
194
+ * Retrieves a list of resources matching the provided search criteria.
195
+ *
196
+ * @scope visitor — an anonymous visitor session is enough.
197
+ * @permissionId BOOKINGS.RESOURCE_READ
198
+ * @fqn wix.bookings.resources.v2.ResourcesService.SearchResources
199
+ *
200
+ * POST /bookings/v2/resources/search
201
+ */
202
+ export declare function searchResources(req?: SearchResourcesRequest, opts?: WixCallOptions): Promise<SearchResourcesResponse>;
203
+ /**
204
+ * Updates a resource.
205
+ *
206
+ * @scope owner — requires an owner / business identity — a visitor session gets 403.
207
+ *
208
+ * PATCH /bookings/v2/resources/{resourceId}
209
+ */
210
+ export declare function updateResource(req: UpdateResourceRequest, opts?: WixCallOptions): Promise<UpdateResourceResponse>;