@wix/bookings 1.0.424 → 1.0.426

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.424",
3
+ "version": "1.0.426",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,9 +21,9 @@
21
21
  "@wix/bookings_attendance": "1.0.43",
22
22
  "@wix/bookings_availability-calendar": "1.0.31",
23
23
  "@wix/bookings_availability-time-slots": "1.0.27",
24
- "@wix/bookings_bookings": "1.0.45",
24
+ "@wix/bookings_bookings": "1.0.46",
25
25
  "@wix/bookings_categories": "1.0.32",
26
- "@wix/bookings_extended-bookings": "1.0.37",
26
+ "@wix/bookings_extended-bookings": "1.0.38",
27
27
  "@wix/bookings_external-calendars": "1.0.29",
28
28
  "@wix/bookings_multi-service-availability-time-slots": "1.0.26",
29
29
  "@wix/bookings_pricing": "1.0.29",
@@ -53,5 +53,5 @@
53
53
  "fqdn": ""
54
54
  }
55
55
  },
56
- "falconPackageHash": "1233eb63454faf95f51d542b0aad81e008f71a1ab81ebdd5172f8976"
56
+ "falconPackageHash": "af8c248ca55af0ac547797c90013ad215057905ffdc03cd29e66a03a"
57
57
  }
@@ -8955,15 +8955,6 @@ interface ConferencingDetails {
8955
8955
  /** Optional conference password. */
8956
8956
  password?: string | null;
8957
8957
  }
8958
- interface FeeDetails {
8959
- /** The fee Status */
8960
- status?: BookingFeeStatus;
8961
- }
8962
- declare enum BookingFeeStatus {
8963
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
8964
- NOT_YET_APPLIED_TO_ORDER = "NOT_YET_APPLIED_TO_ORDER",
8965
- APPLIED_TO_ORDER = "APPLIED_TO_ORDER"
8966
- }
8967
8958
  interface BookingPolicySettings$1 {
8968
8959
  /** Whether the cancellation fee is enabled. */
8969
8960
  cancellationFeeEnabled?: boolean | null;
@@ -8971,8 +8962,11 @@ interface BookingPolicySettings$1 {
8971
8962
  interface BookingFeeDetails {
8972
8963
  /** The cancellation fee status. */
8973
8964
  cancellationFeeStatus?: BookingFeeStatus;
8974
- /** The rescheduling fee status. */
8975
- reschedulingFeeStatus?: BookingFeeStatus;
8965
+ }
8966
+ declare enum BookingFeeStatus {
8967
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
8968
+ NOT_YET_APPLIED_TO_ORDER = "NOT_YET_APPLIED_TO_ORDER",
8969
+ APPLIED_TO_ORDER = "APPLIED_TO_ORDER"
8976
8970
  }
8977
8971
  interface QueryExtendedBookingRequest {
8978
8972
  /** Information about filters, paging, and sorting. */
@@ -9228,7 +9222,6 @@ type index_d$5_CommonQueryV2 = CommonQueryV2;
9228
9222
  type index_d$5_CommonQueryV2PagingMethodOneOf = CommonQueryV2PagingMethodOneOf;
9229
9223
  type index_d$5_ConferencingDetails = ConferencingDetails;
9230
9224
  type index_d$5_ExtendedBooking = ExtendedBooking;
9231
- type index_d$5_FeeDetails = FeeDetails;
9232
9225
  type index_d$5_QueryExtendedBookingRequest = QueryExtendedBookingRequest;
9233
9226
  type index_d$5_QueryExtendedBookingResponse = QueryExtendedBookingResponse;
9234
9227
  type index_d$5_QueryExtendedBookingsOptions = QueryExtendedBookingsOptions;
@@ -9237,7 +9230,7 @@ type index_d$5_QueryExtendedBookingsResponse = QueryExtendedBookingsResponse;
9237
9230
  type index_d$5_QueryExtendedBookingsResponseNonNullableFields = QueryExtendedBookingsResponseNonNullableFields;
9238
9231
  declare const index_d$5_queryExtendedBookings: typeof queryExtendedBookings;
9239
9232
  declare namespace index_d$5 {
9240
- export { Actor$2 as Actor, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type AllowedActions$1 as AllowedActions, type Attendance$1 as Attendance, AttendanceStatus$1 as AttendanceStatus, type BookedEntity$2 as BookedEntity, type BookedEntityItemOneOf$2 as BookedEntityItemOneOf, type BookedResource$2 as BookedResource, type BookedSchedule$2 as BookedSchedule, type BookedSlot$2 as BookedSlot, type Booking$2 as Booking, type index_d$5_BookingFeeDetails as BookingFeeDetails, index_d$5_BookingFeeStatus as BookingFeeStatus, type BookingParticipantsInfoOneOf$2 as BookingParticipantsInfoOneOf, type BookingPolicySettings$1 as BookingPolicySettings, type BookingSource$2 as BookingSource, BookingStatus$2 as BookingStatus, type index_d$5_CommonPaging as CommonPaging, type index_d$5_CommonQueryV2 as CommonQueryV2, type index_d$5_CommonQueryV2PagingMethodOneOf as CommonQueryV2PagingMethodOneOf, type index_d$5_ConferencingDetails as ConferencingDetails, type ContactDetails$2 as ContactDetails, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type CustomFormField$2 as CustomFormField, type index_d$5_ExtendedBooking as ExtendedBooking, type ExtendedFields$3 as ExtendedFields, type index_d$5_FeeDetails as FeeDetails, type FlowControlSettings$2 as FlowControlSettings, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type Location$3 as Location, LocationType$3 as LocationType, type MultiServiceBookingInfo$2 as MultiServiceBookingInfo, MultiServiceBookingType$2 as MultiServiceBookingType, type Paging$3 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type ParticipantChoices$2 as ParticipantChoices, type ParticipantNotification$4 as ParticipantNotification, PaymentStatus$2 as PaymentStatus, Platform$2 as Platform, type index_d$5_QueryExtendedBookingRequest as QueryExtendedBookingRequest, type index_d$5_QueryExtendedBookingResponse as QueryExtendedBookingResponse, type index_d$5_QueryExtendedBookingsOptions as QueryExtendedBookingsOptions, type index_d$5_QueryExtendedBookingsRequest as QueryExtendedBookingsRequest, type index_d$5_QueryExtendedBookingsResponse as QueryExtendedBookingsResponse, type index_d$5_QueryExtendedBookingsResponseNonNullableFields as QueryExtendedBookingsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, SelectedPaymentOption$2 as SelectedPaymentOption, type ServiceChoice$2 as ServiceChoice, type ServiceChoiceChoiceOneOf$2 as ServiceChoiceChoiceOneOf, type ServiceChoices$2 as ServiceChoices, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, ValueType$2 as ValueType, __metadata$5 as __metadata, index_d$5_queryExtendedBookings as queryExtendedBookings };
9233
+ export { Actor$2 as Actor, type Address$3 as Address, type AddressLocation$3 as AddressLocation, type AddressStreetOneOf$3 as AddressStreetOneOf, type AllowedActions$1 as AllowedActions, type Attendance$1 as Attendance, AttendanceStatus$1 as AttendanceStatus, type BookedEntity$2 as BookedEntity, type BookedEntityItemOneOf$2 as BookedEntityItemOneOf, type BookedResource$2 as BookedResource, type BookedSchedule$2 as BookedSchedule, type BookedSlot$2 as BookedSlot, type Booking$2 as Booking, type index_d$5_BookingFeeDetails as BookingFeeDetails, index_d$5_BookingFeeStatus as BookingFeeStatus, type BookingParticipantsInfoOneOf$2 as BookingParticipantsInfoOneOf, type BookingPolicySettings$1 as BookingPolicySettings, type BookingSource$2 as BookingSource, BookingStatus$2 as BookingStatus, type index_d$5_CommonPaging as CommonPaging, type index_d$5_CommonQueryV2 as CommonQueryV2, type index_d$5_CommonQueryV2PagingMethodOneOf as CommonQueryV2PagingMethodOneOf, type index_d$5_ConferencingDetails as ConferencingDetails, type ContactDetails$2 as ContactDetails, type CursorPaging$3 as CursorPaging, type Cursors$3 as Cursors, type CustomFormField$2 as CustomFormField, type index_d$5_ExtendedBooking as ExtendedBooking, type ExtendedFields$3 as ExtendedFields, type FlowControlSettings$2 as FlowControlSettings, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type Location$3 as Location, LocationType$3 as LocationType, type MultiServiceBookingInfo$2 as MultiServiceBookingInfo, MultiServiceBookingType$2 as MultiServiceBookingType, type Paging$3 as Paging, type PagingMetadataV2$2 as PagingMetadataV2, type ParticipantChoices$2 as ParticipantChoices, type ParticipantNotification$4 as ParticipantNotification, PaymentStatus$2 as PaymentStatus, Platform$2 as Platform, type index_d$5_QueryExtendedBookingRequest as QueryExtendedBookingRequest, type index_d$5_QueryExtendedBookingResponse as QueryExtendedBookingResponse, type index_d$5_QueryExtendedBookingsOptions as QueryExtendedBookingsOptions, type index_d$5_QueryExtendedBookingsRequest as QueryExtendedBookingsRequest, type index_d$5_QueryExtendedBookingsResponse as QueryExtendedBookingsResponse, type index_d$5_QueryExtendedBookingsResponseNonNullableFields as QueryExtendedBookingsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, SelectedPaymentOption$2 as SelectedPaymentOption, type ServiceChoice$2 as ServiceChoice, type ServiceChoiceChoiceOneOf$2 as ServiceChoiceChoiceOneOf, type ServiceChoices$2 as ServiceChoices, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$3 as StreetAddress, type Subdivision$3 as Subdivision, ValueType$2 as ValueType, __metadata$5 as __metadata, index_d$5_queryExtendedBookings as queryExtendedBookings };
9241
9234
  }
9242
9235
 
9243
9236
  /** The `Service` object represents the business offering that a business provides to its customers. */
@@ -18044,17 +18037,17 @@ interface SetBookingSessionIdResponse {
18044
18037
  booking?: Booking$1;
18045
18038
  }
18046
18039
  interface UpdateExtendedFieldsRequest {
18047
- /** ID of the entity to update. */
18040
+ /** ID of the booking for which to update extended fields. */
18048
18041
  _id: string;
18049
- /** Identifier for the app whose extended fields are being updated. */
18042
+ /** [Namespace](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-reading-and-writing-schema-plugin-fields#namespaces) of the app for which to update extended fields. */
18050
18043
  namespace: string;
18051
- /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
18044
+ /** Data of the extended field to update. Must be structured according to the [schema](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions#json-schema-for-extended-fields) defined during the configuration of the extended fields. */
18052
18045
  namespaceData: Record<string, any> | null;
18053
18046
  }
18054
18047
  interface UpdateExtendedFieldsResponse {
18055
- /** Identifier for the app whose extended field data was updated. */
18048
+ /** [Namespace](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-reading-and-writing-schema-plugin-fields#namespaces) of the app for which the extended fields were updated. */
18056
18049
  namespace?: string;
18057
- /** Updated data. */
18050
+ /** Updated data of the extended fields. */
18058
18051
  namespaceData?: Record<string, any> | null;
18059
18052
  }
18060
18053
  interface DeclineBookingRequest {
@@ -19344,7 +19337,7 @@ interface ConfirmBookingOptions {
19344
19337
  flowControlSettings?: ConfirmBookingFlowControlSettings;
19345
19338
  }
19346
19339
  interface UpdateExtendedFieldsOptions {
19347
- /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
19340
+ /** Data of the extended field to update. Must be structured according to the [schema](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions#json-schema-for-extended-fields) defined during the configuration of the extended fields. */
19348
19341
  namespaceData: Record<string, any> | null;
19349
19342
  }
19350
19343
  interface DeclineBookingOptions {
@@ -7784,9 +7784,6 @@ interface QueryExtendedBookingsResponseNonNullableFields$1 {
7784
7784
  status: AttendanceStatus$3;
7785
7785
  numberOfAttendees: number;
7786
7786
  };
7787
- cancellationFeeDetails?: {
7788
- status: BookingFeeStatus;
7789
- };
7790
7787
  bookingFeeDetails?: {
7791
7788
  cancellationFeeStatus: BookingFeeStatus;
7792
7789
  reschedulingFeeStatus: BookingFeeStatus;
@@ -19547,17 +19544,17 @@ interface ConfirmBookingResponse {
19547
19544
  booking?: Booking$2;
19548
19545
  }
19549
19546
  interface UpdateExtendedFieldsRequest {
19550
- /** ID of the entity to update. */
19547
+ /** ID of the booking for which to update extended fields. */
19551
19548
  _id: string;
19552
- /** Identifier for the app whose extended fields are being updated. */
19549
+ /** [Namespace](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-reading-and-writing-schema-plugin-fields#namespaces) of the app for which to update extended fields. */
19553
19550
  namespace: string;
19554
- /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
19551
+ /** Data of the extended field to update. Must be structured according to the [schema](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions#json-schema-for-extended-fields) defined during the configuration of the extended fields. */
19555
19552
  namespaceData: Record<string, any> | null;
19556
19553
  }
19557
19554
  interface UpdateExtendedFieldsResponse {
19558
- /** Identifier for the app whose extended field data was updated. */
19555
+ /** [Namespace](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-reading-and-writing-schema-plugin-fields#namespaces) of the app for which the extended fields were updated. */
19559
19556
  namespace?: string;
19560
- /** Updated data. */
19557
+ /** Updated data of the extended fields. */
19561
19558
  namespaceData?: Record<string, any> | null;
19562
19559
  }
19563
19560
  interface DeclineBookingRequest {