@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +0 -24
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +35 -3
  5. package/build/cjs/index.typings.js +0 -24
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +33 -1
  8. package/build/cjs/meta.js +0 -24
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs +0 -24
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +35 -3
  14. package/build/es/index.typings.mjs +0 -24
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +33 -1
  17. package/build/es/meta.mjs +0 -24
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +2 -2
  20. package/build/internal/cjs/index.js +0 -24
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +35 -3
  23. package/build/internal/cjs/index.typings.js +0 -24
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +33 -1
  26. package/build/internal/cjs/meta.js +0 -24
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +2 -2
  29. package/build/internal/es/index.mjs +0 -24
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +35 -3
  32. package/build/internal/es/index.typings.mjs +0 -24
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +33 -1
  35. package/build/internal/es/meta.mjs +0 -24
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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
- /** Additional custom fields submitted with the booking form. */
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 {
package/build/es/meta.mjs CHANGED
@@ -24,10 +24,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
24
24
  {
25
25
  srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
26
26
  destPath: "/v2/bulk/multi_service_bookings"
27
- },
28
- {
29
- srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
30
- destPath: "/v2/multi_service_bookings"
31
27
  }
32
28
  ],
33
29
  "manage._base_domain_": [
@@ -64,10 +60,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
64
60
  {
65
61
  srcPath: "/_api/bookings-service/v2/multi_service_bookings",
66
62
  destPath: "/v2/multi_service_bookings"
67
- },
68
- {
69
- srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
70
- destPath: "/v2/multi_service_bookings"
71
63
  }
72
64
  ],
73
65
  "www._base_domain_": [
@@ -114,10 +106,6 @@ function resolveComWixpressBookingsBookingsV2MultiServiceBookingsUrl(opts) {
114
106
  {
115
107
  srcPath: "/_api/bookings-service",
116
108
  destPath: "/v2/bookings"
117
- },
118
- {
119
- srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
120
- destPath: "/v2/multi_service_bookings"
121
109
  }
122
110
  ]
123
111
  };
@@ -141,10 +129,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
141
129
  {
142
130
  srcPath: "/_api/bookings-service/v2/bulk/multi_service_bookings",
143
131
  destPath: "/v2/bulk/multi_service_bookings"
144
- },
145
- {
146
- srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
147
- destPath: "/v2/multi_service_bookings"
148
132
  }
149
133
  ],
150
134
  "manage._base_domain_": [
@@ -181,10 +165,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
181
165
  {
182
166
  srcPath: "/_api/bookings-service/v2/multi_service_bookings",
183
167
  destPath: "/v2/multi_service_bookings"
184
- },
185
- {
186
- srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
187
- destPath: "/v2/multi_service_bookings"
188
168
  }
189
169
  ],
190
170
  "www._base_domain_": [
@@ -231,10 +211,6 @@ function resolveComWixpressBookingsBookingsV2BookingsUrl(opts) {
231
211
  {
232
212
  srcPath: "/_api/bookings-service",
233
213
  destPath: "/v2/bookings"
234
- },
235
- {
236
- srcPath: "/bookings/multiServiceBookings/v2/multi_service_bookings",
237
- destPath: "/v2/multi_service_bookings"
238
214
  }
239
215
  ]
240
216
  };