@wix/auto_sdk_bookings_booking-policies 1.0.72 → 1.0.74

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.
@@ -384,8 +384,8 @@ declare enum SortingMethodType {
384
384
  /** Staff members are selected based on their priority ranking. */
385
385
  RANKING = "RANKING",
386
386
  /**
387
- * Staff members are selected using a custom method provided by StaffSelectionSPI.
388
- * This allows third-party apps to implement custom staff selection logic.
387
+ * Staff members are selected using a custom implementation provided by SortStaffSPI.
388
+ * This allows third-party apps to implement custom staff sorting logic.
389
389
  */
390
390
  CUSTOM = "CUSTOM"
391
391
  }
@@ -409,13 +409,13 @@ interface RankingOptions {
409
409
  */
410
410
  interface CustomOptions {
411
411
  /**
412
- * ID of the custom selection method implemented in StaffSelectionSPI.
412
+ * ID of the custom sorting method implemented in SortStaffSPI.
413
413
  * This identifies which custom sorting algorithm to use.
414
414
  * @format GUID
415
415
  */
416
- methodId?: string;
416
+ implementationId?: string;
417
417
  /**
418
- * ID of the app that provides the custom selection method.
418
+ * ID of the app that provides the custom sorting method.
419
419
  * @format GUID
420
420
  */
421
421
  appId?: string;
@@ -1043,6 +1043,10 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
1043
1043
  picassoAssigned?: PicassoAssigned;
1044
1044
  /** Emitted when Picasso is detached. */
1045
1045
  picassoUnassigned?: PicassoUnassigned;
1046
+ /** Emitted when Wixel is attached. */
1047
+ wixelAssigned?: WixelAssigned;
1048
+ /** Emitted when Wixel is detached. */
1049
+ wixelUnassigned?: WixelUnassigned;
1046
1050
  /**
1047
1051
  * A meta site id.
1048
1052
  * @format GUID
@@ -1109,6 +1113,10 @@ interface MetaSiteSpecialEventPayloadOneOf {
1109
1113
  picassoAssigned?: PicassoAssigned;
1110
1114
  /** Emitted when Picasso is detached. */
1111
1115
  picassoUnassigned?: PicassoUnassigned;
1116
+ /** Emitted when Wixel is attached. */
1117
+ wixelAssigned?: WixelAssigned;
1118
+ /** Emitted when Wixel is detached. */
1119
+ wixelUnassigned?: WixelUnassigned;
1112
1120
  }
1113
1121
  interface Asset {
1114
1122
  /**
@@ -1455,6 +1463,12 @@ interface PicassoAssigned {
1455
1463
  /** Unassigned Picasso */
1456
1464
  interface PicassoUnassigned {
1457
1465
  }
1466
+ /** Assigned Wixel */
1467
+ interface WixelAssigned {
1468
+ }
1469
+ /** Unassigned Wixel */
1470
+ interface WixelUnassigned {
1471
+ }
1458
1472
  interface MessageEnvelope {
1459
1473
  /**
1460
1474
  * App instance ID.
@@ -1611,8 +1625,6 @@ interface BookingPolicyCreatedEnvelope {
1611
1625
  }
1612
1626
  /**
1613
1627
  * Triggered when a booking policy is created.
1614
- * @permissionScope Manage Stores
1615
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1616
1628
  * @permissionScope Read Bookings - Public Data
1617
1629
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1618
1630
  * @permissionScope Manage Bookings Services and Settings
@@ -1640,8 +1652,6 @@ interface BookingPolicyDefaultBookingPolicySetEnvelope {
1640
1652
  * _Booking Policy Updated_
1641
1653
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/on-booking-policy-updated) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/booking-policy-updated))
1642
1654
  * is also triggered both for the new and the previous default policy.
1643
- * @permissionScope Manage Stores
1644
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1645
1655
  * @permissionScope Read Bookings - Public Data
1646
1656
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1647
1657
  * @permissionScope Manage Bookings Services and Settings
@@ -1665,8 +1675,6 @@ interface BookingPolicyDeletedEnvelope {
1665
1675
  }
1666
1676
  /**
1667
1677
  * Triggered when a booking policy is deleted.
1668
- * @permissionScope Manage Stores
1669
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1670
1678
  * @permissionScope Read Bookings - Public Data
1671
1679
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1672
1680
  * @permissionScope Manage Bookings Services and Settings
@@ -1692,8 +1700,6 @@ interface BookingPolicyUpdatedEnvelope {
1692
1700
  /**
1693
1701
  * Triggered when a booking policy is updated, including when a policy's
1694
1702
  * `default` attribute changes.
1695
- * @permissionScope Manage Stores
1696
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1697
1703
  * @permissionScope Read Bookings - Public Data
1698
1704
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1699
1705
  * @permissionScope Manage Bookings Services and Settings
@@ -1970,4 +1976,4 @@ interface CountBookingPoliciesOptions {
1970
1976
  filter?: Record<string, any> | null;
1971
1977
  }
1972
1978
 
1973
- export { type ActionEvent, type Address, type AddressHint, type Asset, type BaseEventMetadata, type BookAfterStartPolicy, type BookingPoliciesQueryBuilder, type BookingPoliciesQueryResult, type BookingPolicy, type BookingPolicyCreatedEnvelope, type BookingPolicyDefaultBookingPolicySetEnvelope, type BookingPolicyDeletedEnvelope, type BookingPolicyUpdatedEnvelope, type BusinessSchedule, type CancellationFeePolicy, type CancellationPolicy, type CancellationWindow, type CancellationWindowFeeOneOf, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type ConsentPolicy, type CountBookingPoliciesOptions, type CountBookingPoliciesRequest, type CountBookingPoliciesResponse, type CreateBookingPolicyRequest, type CreateBookingPolicyResponse, type CreateBookingPolicyValidationErrors, type CreateMissingDefaultPolicyRequest, type CreateMissingDefaultPolicyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomOptions, DayOfWeek, type DayOfWeekWithLiterals, type DefaultBookingPolicySet, type DeleteBookingPolicyApplicationErrors, type DeleteBookingPolicyRequest, type DeleteBookingPolicyResponse, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GeoCoordinates, type GetBookingPolicyRequest, type GetBookingPolicyResponse, type GetStrictestBookingPolicyRequest, type GetStrictestBookingPolicyResponse, type IdentificationData, type IdentificationDataIdOneOf, type IntakeFormPolicy, type LimitEarlyBookingPolicy, type LimitLateBookingPolicy, type Locale, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type Money, type Multilingual, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type ParticipantsPolicy, type PicassoAssigned, type PicassoUnassigned, PlacementType, type PlacementTypeWithLiterals, type PolicyDescription, type Properties, type PropertiesChange, type QueryBookingPoliciesRequest, type QueryBookingPoliciesResponse, type RankingOptions, RankingOrder, type RankingOrderWithLiterals, type ReschedulePolicy, ResolutionMethod, type ResolutionMethodWithLiterals, type ResourcesPolicy, type RestoreInfo, type SaveCreditCardPolicy, type ServiceProvisioned, type ServiceRemoved, type SetDefaultBookingPolicyRequest, type SetDefaultBookingPolicyResponse, type SiteCloned, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePropertiesEvent, type SitePropertiesNotification, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, SortingMethodType, type SortingMethodTypeWithLiterals, type SpecialHourPeriod, type StaffSortingPolicy, type StaffSortingPolicyOptionsOneOf, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type SupportedLanguage, type TimePeriod, type Translation, type UpdateAllPoliciesRequest, type UpdateAllPoliciesResponse, type UpdateBookingPolicy, type UpdateBookingPolicyRequest, type UpdateBookingPolicyResponse, type UpdateBookingPolicyValidationErrors, type V4SiteCreated, type WaitlistPolicy, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, countBookingPolicies, createBookingPolicy, deleteBookingPolicy, getBookingPolicy, getStrictestBookingPolicy, onBookingPolicyCreated, onBookingPolicyDefaultBookingPolicySet, onBookingPolicyDeleted, onBookingPolicyUpdated, queryBookingPolicies, setDefaultBookingPolicy, updateBookingPolicy };
1979
+ export { type ActionEvent, type Address, type AddressHint, type Asset, type BaseEventMetadata, type BookAfterStartPolicy, type BookingPoliciesQueryBuilder, type BookingPoliciesQueryResult, type BookingPolicy, type BookingPolicyCreatedEnvelope, type BookingPolicyDefaultBookingPolicySetEnvelope, type BookingPolicyDeletedEnvelope, type BookingPolicyUpdatedEnvelope, type BusinessSchedule, type CancellationFeePolicy, type CancellationPolicy, type CancellationWindow, type CancellationWindowFeeOneOf, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type ConsentPolicy, type CountBookingPoliciesOptions, type CountBookingPoliciesRequest, type CountBookingPoliciesResponse, type CreateBookingPolicyRequest, type CreateBookingPolicyResponse, type CreateBookingPolicyValidationErrors, type CreateMissingDefaultPolicyRequest, type CreateMissingDefaultPolicyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomOptions, DayOfWeek, type DayOfWeekWithLiterals, type DefaultBookingPolicySet, type DeleteBookingPolicyApplicationErrors, type DeleteBookingPolicyRequest, type DeleteBookingPolicyResponse, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type GeoCoordinates, type GetBookingPolicyRequest, type GetBookingPolicyResponse, type GetStrictestBookingPolicyRequest, type GetStrictestBookingPolicyResponse, type IdentificationData, type IdentificationDataIdOneOf, type IntakeFormPolicy, type LimitEarlyBookingPolicy, type LimitLateBookingPolicy, type Locale, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type Money, type Multilingual, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type ParticipantsPolicy, type PicassoAssigned, type PicassoUnassigned, PlacementType, type PlacementTypeWithLiterals, type PolicyDescription, type Properties, type PropertiesChange, type QueryBookingPoliciesRequest, type QueryBookingPoliciesResponse, type RankingOptions, RankingOrder, type RankingOrderWithLiterals, type ReschedulePolicy, ResolutionMethod, type ResolutionMethodWithLiterals, type ResourcesPolicy, type RestoreInfo, type SaveCreditCardPolicy, type ServiceProvisioned, type ServiceRemoved, type SetDefaultBookingPolicyRequest, type SetDefaultBookingPolicyResponse, type SiteCloned, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePropertiesEvent, type SitePropertiesNotification, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, SortingMethodType, type SortingMethodTypeWithLiterals, type SpecialHourPeriod, type StaffSortingPolicy, type StaffSortingPolicyOptionsOneOf, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type SupportedLanguage, type TimePeriod, type Translation, type UpdateAllPoliciesRequest, type UpdateAllPoliciesResponse, type UpdateBookingPolicy, type UpdateBookingPolicyRequest, type UpdateBookingPolicyResponse, type UpdateBookingPolicyValidationErrors, type V4SiteCreated, type WaitlistPolicy, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, countBookingPolicies, createBookingPolicy, deleteBookingPolicy, getBookingPolicy, getStrictestBookingPolicy, onBookingPolicyCreated, onBookingPolicyDefaultBookingPolicySet, onBookingPolicyDeleted, onBookingPolicyUpdated, queryBookingPolicies, setDefaultBookingPolicy, updateBookingPolicy };