@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
|
@@ -48,7 +48,18 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
48
48
|
* making the booking.
|
|
49
49
|
*/
|
|
50
50
|
contactDetails?: ContactDetails;
|
|
51
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Additional custom fields submitted with the booking form.
|
|
53
|
+
* Deprecated due to Bookings integrating with Wix Forms.
|
|
54
|
+
* 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.
|
|
55
|
+
* Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
|
|
56
|
+
* @deprecated Additional custom fields submitted with the booking form.
|
|
57
|
+
* Deprecated due to Bookings integrating with Wix Forms.
|
|
58
|
+
* 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.
|
|
59
|
+
* Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
|
|
60
|
+
* @replacedBy form_submission_id
|
|
61
|
+
* @targetRemovalDate 2026-03-31
|
|
62
|
+
*/
|
|
52
63
|
additionalFields?: CustomFormField[];
|
|
53
64
|
/**
|
|
54
65
|
* Booking status. A booking is automatically confirmed if the service allows it
|
|
@@ -127,6 +138,27 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
127
138
|
* @readonly
|
|
128
139
|
*/
|
|
129
140
|
doubleBooked?: boolean | null;
|
|
141
|
+
/**
|
|
142
|
+
* ID of the form submission
|
|
143
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/submissions/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction))
|
|
144
|
+
* associated with this booking.
|
|
145
|
+
* @format GUID
|
|
146
|
+
*/
|
|
147
|
+
formSubmissionId?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* ID of the form
|
|
150
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
|
|
151
|
+
* associated with this booking. The value depends on how the
|
|
152
|
+
* booking was created:
|
|
153
|
+
* - For bookings created with Create Booking or Bulk Create Booking, `formId`
|
|
154
|
+
* is identical to ID of the booking form that's associated with the relevant
|
|
155
|
+
* service.
|
|
156
|
+
* - For bookings created via Create Multi Service Booking, `formId` is set to
|
|
157
|
+
* `00000000-0000-0000-0000-000000000000` (the default booking form ID).
|
|
158
|
+
* @format GUID
|
|
159
|
+
* @readonly
|
|
160
|
+
*/
|
|
161
|
+
formId?: string | null;
|
|
130
162
|
}
|
|
131
163
|
/** @oneof */
|
|
132
164
|
interface BookingParticipantsInfoOneOf {
|
|
@@ -86,10 +86,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
86
86
|
{
|
|
87
87
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
88
88
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
92
|
-
destPath: "/v2/multi_service_bookings"
|
|
93
89
|
}
|
|
94
90
|
],
|
|
95
91
|
"manage._base_domain_": [
|
|
@@ -126,10 +122,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
126
122
|
{
|
|
127
123
|
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
128
124
|
destPath: "/v2/multi_service_bookings"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
132
|
-
destPath: "/v2/multi_service_bookings"
|
|
133
125
|
}
|
|
134
126
|
],
|
|
135
127
|
"www._base_domain_": [
|
|
@@ -176,10 +168,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
176
168
|
{
|
|
177
169
|
srcPath: "/_api/bookings-service",
|
|
178
170
|
destPath: "/v2/bookings"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
182
|
-
destPath: "/v2/multi_service_bookings"
|
|
183
171
|
}
|
|
184
172
|
]
|
|
185
173
|
};
|
|
@@ -203,10 +191,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
203
191
|
{
|
|
204
192
|
srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
|
|
205
193
|
destPath: "/v2/bulk/multi_service_bookings"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
209
|
-
destPath: "/v2/multi_service_bookings"
|
|
210
194
|
}
|
|
211
195
|
],
|
|
212
196
|
"manage._base_domain_": [
|
|
@@ -243,10 +227,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
243
227
|
{
|
|
244
228
|
srcPath: "/_api/bookings-service/v2/multi_service_bookings",
|
|
245
229
|
destPath: "/v2/multi_service_bookings"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
249
|
-
destPath: "/v2/multi_service_bookings"
|
|
250
230
|
}
|
|
251
231
|
],
|
|
252
232
|
"www._base_domain_": [
|
|
@@ -293,10 +273,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
293
273
|
{
|
|
294
274
|
srcPath: "/_api/bookings-service",
|
|
295
275
|
destPath: "/v2/bookings"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
|
|
299
|
-
destPath: "/v2/multi_service_bookings"
|
|
300
276
|
}
|
|
301
277
|
]
|
|
302
278
|
};
|