@wix/auto_sdk_bookings_bookings 1.0.69 → 1.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +0 -24
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +35 -3
- package/build/cjs/index.typings.js +0 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +33 -1
- package/build/cjs/meta.js +0 -24
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +0 -24
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +35 -3
- package/build/es/index.typings.mjs +0 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +33 -1
- package/build/es/meta.mjs +0 -24
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +0 -24
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +35 -3
- package/build/internal/cjs/index.typings.js +0 -24
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +33 -1
- package/build/internal/cjs/meta.js +0 -24
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +0 -24
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +35 -3
- package/build/internal/es/index.typings.mjs +0 -24
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +33 -1
- package/build/internal/es/meta.mjs +0 -24
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -47,7 +47,18 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
47
47
|
* making the booking.
|
|
48
48
|
*/
|
|
49
49
|
contactDetails?: ContactDetails;
|
|
50
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Additional custom fields submitted with the booking form.
|
|
52
|
+
* Deprecated due to Bookings integrating with Wix Forms.
|
|
53
|
+
* You can call Wix Forms' [Get Submission](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-submission) specifying `formSubmissionId` as the `id` to get the submitted booking form data.
|
|
54
|
+
* Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
|
|
55
|
+
* @deprecated Additional custom fields submitted with the booking form.
|
|
56
|
+
* Deprecated due to Bookings integrating with Wix Forms.
|
|
57
|
+
* You can call Wix Forms' [Get Submission](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-submission) specifying `formSubmissionId` as the `id` to get the submitted booking form data.
|
|
58
|
+
* Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
|
|
59
|
+
* @replacedBy form_submission_id
|
|
60
|
+
* @targetRemovalDate 2026-03-31
|
|
61
|
+
*/
|
|
51
62
|
additionalFields?: CustomFormField[];
|
|
52
63
|
/**
|
|
53
64
|
* Booking status. A booking is automatically confirmed if the service allows it
|
|
@@ -126,6 +137,27 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
126
137
|
* @readonly
|
|
127
138
|
*/
|
|
128
139
|
doubleBooked?: boolean | null;
|
|
140
|
+
/**
|
|
141
|
+
* ID of the form submission
|
|
142
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/submissions/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction))
|
|
143
|
+
* associated with this booking.
|
|
144
|
+
* @format GUID
|
|
145
|
+
*/
|
|
146
|
+
formSubmissionId?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* ID of the form
|
|
149
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
|
|
150
|
+
* associated with this booking. The value depends on how the
|
|
151
|
+
* booking was created:
|
|
152
|
+
* - For bookings created with Create Booking or Bulk Create Booking, `formId`
|
|
153
|
+
* is identical to ID of the booking form that's associated with the relevant
|
|
154
|
+
* service.
|
|
155
|
+
* - For bookings created via Create Multi Service Booking, `formId` is set to
|
|
156
|
+
* `00000000-0000-0000-0000-000000000000` (the default booking form ID).
|
|
157
|
+
* @format GUID
|
|
158
|
+
* @readonly
|
|
159
|
+
*/
|
|
160
|
+
formId?: string | null;
|
|
129
161
|
}
|
|
130
162
|
/** @oneof */
|
|
131
163
|
interface BookingParticipantsInfoOneOf {
|
|
@@ -4727,7 +4759,7 @@ interface MarkBookingAsPendingOptions {
|
|
|
4727
4759
|
*
|
|
4728
4760
|
* ### When to call this method
|
|
4729
4761
|
*
|
|
4730
|
-
* Create sequential appointments where customers book related services together. For adding existing single-service bookings to an existing multi-service booking, call Add Bookings to Multi Service Booking ([SDK](https://dev.wix.com/docs/
|
|
4762
|
+
* Create sequential appointments where customers book related services together. For adding existing single-service bookings to an existing multi-service booking, call Add Bookings to Multi Service Booking ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking?apiView=SDK) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking)) instead.
|
|
4731
4763
|
*
|
|
4732
4764
|
* ### Requirements and behavior
|
|
4733
4765
|
*
|
|
@@ -4735,7 +4767,7 @@ interface MarkBookingAsPendingOptions {
|
|
|
4735
4767
|
*
|
|
4736
4768
|
* __Timing specification__: You must provide complete `slot` details (`scheduleId`, `startDate`, `endDate`) for each single-service booking. Wix Bookings validates sequential timing but doesn't auto-calculate it.
|
|
4737
4769
|
*
|
|
4738
|
-
* __Package pricing__: The total price equals the sum of individual services. Wix Bookings automatically syncs the payment status from the corresponding Wix eCommerce order ([SDK](https://dev.wix.com/docs/
|
|
4770
|
+
* __Package pricing__: The total price equals the sum of individual services. Wix Bookings automatically syncs the payment status from the corresponding Wix eCommerce order ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction?apiView=SDK) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)) if the customer paid via an eCommerce checkout ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
4739
4771
|
*
|
|
4740
4772
|
* __Package notifications__: Customers receive 1 unified notification for the entire multi-service booking. Wix Bookings doesn't send notifications for the package's individual single-service bookings.
|
|
4741
4773
|
*
|
|
@@ -90,10 +90,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
90
90
|
{
|
|
91
91
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
92
92
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
96
|
-
destPath: "/v2/multi_service_bookings"
|
|
97
93
|
}
|
|
98
94
|
],
|
|
99
95
|
"manage._base_domain_": [
|
|
@@ -130,10 +126,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
130
126
|
{
|
|
131
127
|
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
132
128
|
destPath: "/v2/multi_service_bookings"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
136
|
-
destPath: "/v2/multi_service_bookings"
|
|
137
129
|
}
|
|
138
130
|
],
|
|
139
131
|
"www._base_domain_": [
|
|
@@ -180,10 +172,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
180
172
|
{
|
|
181
173
|
srcPath: "/_api/bookings-service",
|
|
182
174
|
destPath: "/v2/bookings"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
186
|
-
destPath: "/v2/multi_service_bookings"
|
|
187
175
|
}
|
|
188
176
|
]
|
|
189
177
|
};
|
|
@@ -207,10 +195,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
207
195
|
{
|
|
208
196
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
209
197
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
213
|
-
destPath: "/v2/multi_service_bookings"
|
|
214
198
|
}
|
|
215
199
|
],
|
|
216
200
|
"manage._base_domain_": [
|
|
@@ -247,10 +231,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
247
231
|
{
|
|
248
232
|
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
249
233
|
destPath: "/v2/multi_service_bookings"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
253
|
-
destPath: "/v2/multi_service_bookings"
|
|
254
234
|
}
|
|
255
235
|
],
|
|
256
236
|
"www._base_domain_": [
|
|
@@ -297,10 +277,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
297
277
|
{
|
|
298
278
|
srcPath: "/_api/bookings-service",
|
|
299
279
|
destPath: "/v2/bookings"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
303
|
-
destPath: "/v2/multi_service_bookings"
|
|
304
280
|
}
|
|
305
281
|
]
|
|
306
282
|
};
|