@wix/auto_sdk_bookings_bookings 1.0.70 → 1.0.72
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 +12 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +35 -3
- package/build/cjs/index.typings.js +12 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +33 -1
- package/build/cjs/meta.js +12 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +12 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +35 -3
- package/build/es/index.typings.mjs +12 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +33 -1
- package/build/es/meta.mjs +12 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +12 -0
- 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 +12 -0
- 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 +12 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +12 -0
- 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 +12 -0
- 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 +12 -0
- 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 {
|
|
@@ -107,6 +107,12 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
|
|
|
107
107
|
srcPath: "/_api/bookings-service",
|
|
108
108
|
destPath: "/v2/bookings"
|
|
109
109
|
}
|
|
110
|
+
],
|
|
111
|
+
"api._api_base_domain_": [
|
|
112
|
+
{
|
|
113
|
+
srcPath: "/bookings-service",
|
|
114
|
+
destPath: ""
|
|
115
|
+
}
|
|
110
116
|
]
|
|
111
117
|
};
|
|
112
118
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -212,6 +218,12 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
|
|
|
212
218
|
srcPath: "/_api/bookings-service",
|
|
213
219
|
destPath: "/v2/bookings"
|
|
214
220
|
}
|
|
221
|
+
],
|
|
222
|
+
"api._api_base_domain_": [
|
|
223
|
+
{
|
|
224
|
+
srcPath: "/bookings-service",
|
|
225
|
+
destPath: ""
|
|
226
|
+
}
|
|
215
227
|
]
|
|
216
228
|
};
|
|
217
229
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|