@wix/auto_sdk_bookings_bookings 1.0.70 → 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.
@@ -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 {