@wix/auto_sdk_bookings_booking-policies 1.0.23 → 1.0.25

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 (21) hide show
  1. package/build/cjs/src/bookings-v1-booking-policy-booking-policies.types.d.ts +9 -17
  2. package/build/cjs/src/bookings-v1-booking-policy-booking-policies.types.js.map +1 -1
  3. package/build/cjs/src/bookings-v1-booking-policy-booking-policies.universal.d.ts +17 -49
  4. package/build/cjs/src/bookings-v1-booking-policy-booking-policies.universal.js +0 -8
  5. package/build/cjs/src/bookings-v1-booking-policy-booking-policies.universal.js.map +1 -1
  6. package/build/es/src/bookings-v1-booking-policy-booking-policies.types.d.ts +9 -17
  7. package/build/es/src/bookings-v1-booking-policy-booking-policies.types.js.map +1 -1
  8. package/build/es/src/bookings-v1-booking-policy-booking-policies.universal.d.ts +17 -49
  9. package/build/es/src/bookings-v1-booking-policy-booking-policies.universal.js +0 -8
  10. package/build/es/src/bookings-v1-booking-policy-booking-policies.universal.js.map +1 -1
  11. package/build/internal/cjs/src/bookings-v1-booking-policy-booking-policies.types.d.ts +9 -17
  12. package/build/internal/cjs/src/bookings-v1-booking-policy-booking-policies.types.js.map +1 -1
  13. package/build/internal/cjs/src/bookings-v1-booking-policy-booking-policies.universal.d.ts +17 -49
  14. package/build/internal/cjs/src/bookings-v1-booking-policy-booking-policies.universal.js +0 -8
  15. package/build/internal/cjs/src/bookings-v1-booking-policy-booking-policies.universal.js.map +1 -1
  16. package/build/internal/es/src/bookings-v1-booking-policy-booking-policies.types.d.ts +9 -17
  17. package/build/internal/es/src/bookings-v1-booking-policy-booking-policies.types.js.map +1 -1
  18. package/build/internal/es/src/bookings-v1-booking-policy-booking-policies.universal.d.ts +17 -49
  19. package/build/internal/es/src/bookings-v1-booking-policy-booking-policies.universal.js +0 -8
  20. package/build/internal/es/src/bookings-v1-booking-policy-booking-policies.universal.js.map +1 -1
  21. package/package.json +2 -2
@@ -558,25 +558,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
558
558
  updatedEvent?: EntityUpdatedEvent;
559
559
  deletedEvent?: EntityDeletedEvent;
560
560
  actionEvent?: ActionEvent;
561
- /**
562
- * Unique event ID.
563
- * Allows clients to ignore duplicate webhooks.
564
- */
561
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
565
562
  id?: string;
566
563
  /**
567
- * Assumes actions are also always typed to an entity_type
568
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
564
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
565
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
569
566
  */
570
567
  entityFqdn?: string;
571
568
  /**
572
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
573
- * This is although the created/updated/deleted notion is duplication of the oneof types
574
- * Example: created/updated/deleted/started/completed/email_opened
569
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
570
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
575
571
  */
576
572
  slug?: string;
577
573
  /** ID of the entity associated with the event. */
578
574
  entityId?: string;
579
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
575
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
580
576
  eventTime?: Date | null;
581
577
  /**
582
578
  * Whether the event was triggered as a result of a privacy regulation application
@@ -586,12 +582,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
586
582
  /** If present, indicates the action that triggered the event. */
587
583
  originatedFrom?: string | null;
588
584
  /**
589
- * A sequence number defining the order of updates to the underlying entity.
590
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
591
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
592
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
593
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
594
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
585
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
586
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
595
587
  */
596
588
  entityEventSequence?: string | null;
597
589
  }
@@ -619,7 +611,7 @@ export interface EntityUpdatedEvent {
619
611
  currentEntityAsJson?: string;
620
612
  }
621
613
  export interface EntityDeletedEvent {
622
- /** Entity that was deleted */
614
+ /** Entity that was deleted. */
623
615
  deletedEntityAsJson?: string | null;
624
616
  }
625
617
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v1-booking-policy-booking-policies.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-booking-policy-booking-policies.types.ts"],"names":[],"mappings":";;;AA8fA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAiTD,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AA4CD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAyCD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI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C3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AA6ND,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"bookings-v1-booking-policy-booking-policies.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-booking-policy-booking-policies.types.ts"],"names":[],"mappings":";;;AA8fA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAySD,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AA4CD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB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C,0FAA0F;IAC1F,sDAAyC,CAAA;IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,yBAAT,SAAS,QAiFpB;AAuCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AA6ND,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -559,25 +559,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
559
559
  updatedEvent?: EntityUpdatedEvent;
560
560
  deletedEvent?: EntityDeletedEvent;
561
561
  actionEvent?: ActionEvent;
562
- /**
563
- * Unique event ID.
564
- * Allows clients to ignore duplicate webhooks.
565
- */
562
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
566
563
  _id?: string;
567
564
  /**
568
- * Assumes actions are also always typed to an entity_type
569
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
565
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
566
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
570
567
  */
571
568
  entityFqdn?: string;
572
569
  /**
573
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
574
- * This is although the created/updated/deleted notion is duplication of the oneof types
575
- * Example: created/updated/deleted/started/completed/email_opened
570
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
571
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
576
572
  */
577
573
  slug?: string;
578
574
  /** ID of the entity associated with the event. */
579
575
  entityId?: string;
580
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
576
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
581
577
  eventTime?: Date | null;
582
578
  /**
583
579
  * Whether the event was triggered as a result of a privacy regulation application
@@ -587,12 +583,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
587
583
  /** If present, indicates the action that triggered the event. */
588
584
  originatedFrom?: string | null;
589
585
  /**
590
- * A sequence number defining the order of updates to the underlying entity.
591
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
592
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
593
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
594
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
595
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
586
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
587
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
596
588
  */
597
589
  entityEventSequence?: string | null;
598
590
  }
@@ -618,7 +610,7 @@ export interface EntityUpdatedEvent {
618
610
  currentEntity?: string;
619
611
  }
620
612
  export interface EntityDeletedEvent {
621
- /** Entity that was deleted */
613
+ /** Entity that was deleted. */
622
614
  deletedEntity?: string | null;
623
615
  }
624
616
  export interface ActionEvent {
@@ -1438,25 +1430,21 @@ export interface BaseEventMetadata {
1438
1430
  identity?: IdentificationData;
1439
1431
  }
1440
1432
  export interface EventMetadata extends BaseEventMetadata {
1441
- /**
1442
- * Unique event ID.
1443
- * Allows clients to ignore duplicate webhooks.
1444
- */
1433
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1445
1434
  _id?: string;
1446
1435
  /**
1447
- * Assumes actions are also always typed to an entity_type
1448
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1436
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1437
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1449
1438
  */
1450
1439
  entityFqdn?: string;
1451
1440
  /**
1452
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1453
- * This is although the created/updated/deleted notion is duplication of the oneof types
1454
- * Example: created/updated/deleted/started/completed/email_opened
1441
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1442
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1455
1443
  */
1456
1444
  slug?: string;
1457
1445
  /** ID of the entity associated with the event. */
1458
1446
  entityId?: string;
1459
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1447
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1460
1448
  eventTime?: Date | null;
1461
1449
  /**
1462
1450
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1466,12 +1454,8 @@ export interface EventMetadata extends BaseEventMetadata {
1466
1454
  /** If present, indicates the action that triggered the event. */
1467
1455
  originatedFrom?: string | null;
1468
1456
  /**
1469
- * A sequence number defining the order of updates to the underlying entity.
1470
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1471
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1472
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1473
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1474
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1457
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1458
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1475
1459
  */
1476
1460
  entityEventSequence?: string | null;
1477
1461
  }
@@ -1481,8 +1465,6 @@ export interface BookingPolicyCreatedEnvelope {
1481
1465
  }
1482
1466
  /**
1483
1467
  * Triggered when a booking policy is created.
1484
- * @permissionScope Manage Stores
1485
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1486
1468
  * @permissionScope Read Bookings - Public Data
1487
1469
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1488
1470
  * @permissionScope Manage Bookings Services and Settings
@@ -1510,8 +1492,6 @@ export interface BookingPolicyDefaultBookingPolicySetEnvelope {
1510
1492
  * _Booking Policy Updated_
1511
1493
  * ([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))
1512
1494
  * is also triggered both for the new and the previous default policy.
1513
- * @permissionScope Manage Stores
1514
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1515
1495
  * @permissionScope Read Bookings - Public Data
1516
1496
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1517
1497
  * @permissionScope Manage Bookings Services and Settings
@@ -1535,8 +1515,6 @@ export interface BookingPolicyDeletedEnvelope {
1535
1515
  }
1536
1516
  /**
1537
1517
  * Triggered when a booking policy is deleted.
1538
- * @permissionScope Manage Stores
1539
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1540
1518
  * @permissionScope Read Bookings - Public Data
1541
1519
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1542
1520
  * @permissionScope Manage Bookings Services and Settings
@@ -1562,8 +1540,6 @@ export interface BookingPolicyUpdatedEnvelope {
1562
1540
  /**
1563
1541
  * Triggered when a booking policy is updated, including when a policy's
1564
1542
  * `default` attribute changes.
1565
- * @permissionScope Manage Stores
1566
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1567
1543
  * @permissionScope Read Bookings - Public Data
1568
1544
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1569
1545
  * @permissionScope Manage Bookings Services and Settings
@@ -1606,8 +1582,6 @@ export declare function createBookingPolicy(bookingPolicy: BookingPolicy): Promi
1606
1582
  * @public
1607
1583
  * @requiredField bookingPolicyId
1608
1584
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
1609
- * @permissionScope Manage Stores
1610
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1611
1585
  * @permissionScope Read Bookings - Public Data
1612
1586
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1613
1587
  * @permissionScope Manage Bookings Services and Settings
@@ -1640,8 +1614,6 @@ export declare function getBookingPolicy(bookingPolicyId: string): Promise<NonNu
1640
1614
  * @public
1641
1615
  * @requiredField bookingPolicyIds
1642
1616
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
1643
- * @permissionScope Manage Stores
1644
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1645
1617
  * @permissionScope Read Bookings - Public Data
1646
1618
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1647
1619
  * @permissionScope Manage Bookings Services and Settings
@@ -1814,8 +1786,6 @@ export declare function deleteBookingPolicy(bookingPolicyId: string): Promise<vo
1814
1786
  *
1815
1787
  * The following `BookingPoliciesQueryBuilder` functions are supported for the `queryBookingPolicies()` function. For a full description of the `bookingPolicy` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/booking-policies-query-result/items) property in `BookingPoliciesQueryResult`.
1816
1788
  * @public
1817
- * @permissionScope Manage Stores
1818
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1819
1789
  * @permissionScope Read Bookings - Public Data
1820
1790
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1821
1791
  * @permissionScope Manage Bookings Services and Settings
@@ -1896,8 +1866,6 @@ export interface BookingPoliciesQueryBuilder {
1896
1866
  * for a complete list of supported filters.
1897
1867
  * @public
1898
1868
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
1899
- * @permissionScope Manage Stores
1900
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1901
1869
  * @permissionScope Read Bookings - Public Data
1902
1870
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1903
1871
  * @permissionScope Manage Bookings Services and Settings
@@ -225,8 +225,6 @@ exports.createBookingPolicy = createBookingPolicy;
225
225
  * @public
226
226
  * @requiredField bookingPolicyId
227
227
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
228
- * @permissionScope Manage Stores
229
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
230
228
  * @permissionScope Read Bookings - Public Data
231
229
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
232
230
  * @permissionScope Manage Bookings Services and Settings
@@ -282,8 +280,6 @@ exports.getBookingPolicy = getBookingPolicy;
282
280
  * @public
283
281
  * @requiredField bookingPolicyIds
284
282
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
285
- * @permissionScope Manage Stores
286
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
287
283
  * @permissionScope Read Bookings - Public Data
288
284
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
289
285
  * @permissionScope Manage Bookings Services and Settings
@@ -475,8 +471,6 @@ exports.deleteBookingPolicy = deleteBookingPolicy;
475
471
  *
476
472
  * The following `BookingPoliciesQueryBuilder` functions are supported for the `queryBookingPolicies()` function. For a full description of the `bookingPolicy` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/booking-policies-query-result/items) property in `BookingPoliciesQueryResult`.
477
473
  * @public
478
- * @permissionScope Manage Stores
479
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
480
474
  * @permissionScope Read Bookings - Public Data
481
475
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
482
476
  * @permissionScope Manage Bookings Services and Settings
@@ -547,8 +541,6 @@ exports.queryBookingPolicies = queryBookingPolicies;
547
541
  * for a complete list of supported filters.
548
542
  * @public
549
543
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
550
- * @permissionScope Manage Stores
551
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
552
544
  * @permissionScope Read Bookings - Public Data
553
545
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
554
546
  * @permissionScope Manage Bookings Services and Settings
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v1-booking-policy-booking-policies.universal.js","sourceRoot":"","sources":["../../../src/bookings-v1-booking-policy-booking-policies.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,4HAA8G;AAigB9G,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yB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AAK,UAAU,oBAAoB,CACxC,OAAqC;IAErC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,MAAM,EAAE,OAAO,EAAE,MAAM;KACxB,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oCAAoC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAErE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;YACnD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,oDAoCC"}
1
+ {"version":3,"file":"bookings-v1-booking-policy-booking-policies.universal.js","sourceRoot":"","sources":["../../../src/bookings-v1-booking-policy-booking-policies.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,4HAA8G;AAigB9G,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;A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qC;IAErC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,MAAM,EAAE,OAAO,EAAE,MAAM;KACxB,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,oCAAoC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAErE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;YACnD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AApCD,oDAoCC"}
@@ -558,25 +558,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
558
558
  updatedEvent?: EntityUpdatedEvent;
559
559
  deletedEvent?: EntityDeletedEvent;
560
560
  actionEvent?: ActionEvent;
561
- /**
562
- * Unique event ID.
563
- * Allows clients to ignore duplicate webhooks.
564
- */
561
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
565
562
  id?: string;
566
563
  /**
567
- * Assumes actions are also always typed to an entity_type
568
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
564
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
565
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
569
566
  */
570
567
  entityFqdn?: string;
571
568
  /**
572
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
573
- * This is although the created/updated/deleted notion is duplication of the oneof types
574
- * Example: created/updated/deleted/started/completed/email_opened
569
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
570
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
575
571
  */
576
572
  slug?: string;
577
573
  /** ID of the entity associated with the event. */
578
574
  entityId?: string;
579
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
575
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
580
576
  eventTime?: Date | null;
581
577
  /**
582
578
  * Whether the event was triggered as a result of a privacy regulation application
@@ -586,12 +582,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
586
582
  /** If present, indicates the action that triggered the event. */
587
583
  originatedFrom?: string | null;
588
584
  /**
589
- * A sequence number defining the order of updates to the underlying entity.
590
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
591
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
592
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
593
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
594
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
585
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
586
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
595
587
  */
596
588
  entityEventSequence?: string | null;
597
589
  }
@@ -619,7 +611,7 @@ export interface EntityUpdatedEvent {
619
611
  currentEntityAsJson?: string;
620
612
  }
621
613
  export interface EntityDeletedEvent {
622
- /** Entity that was deleted */
614
+ /** Entity that was deleted. */
623
615
  deletedEntityAsJson?: string | null;
624
616
  }
625
617
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v1-booking-policy-booking-policies.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-booking-policy-booking-policies.types.ts"],"names":[],"mappings":"AA8fA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAiTD,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AA4CD,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AAyCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AA6LD,MAAM,CAAN,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,sBAAa,CAAA;AACf,CAAC,EANW,KAAK,KAAL,KAAK,QAMhB;AAgCD,MAAM,CAAN,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,6EAA6E;IAC7E,qCAAe,CAAA;IACf,6CAA6C;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;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,KAAT,SAAS,QAiFpB;AAuCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AA6ND,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"bookings-v1-booking-policy-booking-policies.types.js","sourceRoot":"","sources":["../../../src/bookings-v1-booking-policy-booking-policies.types.ts"],"names":[],"mappings":"AA8fA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAySD,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AA4CD,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AAyCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,C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CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,KAAT,SAAS,QAiFpB;AAuCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AA6ND,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
@@ -559,25 +559,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
559
559
  updatedEvent?: EntityUpdatedEvent;
560
560
  deletedEvent?: EntityDeletedEvent;
561
561
  actionEvent?: ActionEvent;
562
- /**
563
- * Unique event ID.
564
- * Allows clients to ignore duplicate webhooks.
565
- */
562
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
566
563
  _id?: string;
567
564
  /**
568
- * Assumes actions are also always typed to an entity_type
569
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
565
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
566
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
570
567
  */
571
568
  entityFqdn?: string;
572
569
  /**
573
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
574
- * This is although the created/updated/deleted notion is duplication of the oneof types
575
- * Example: created/updated/deleted/started/completed/email_opened
570
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
571
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
576
572
  */
577
573
  slug?: string;
578
574
  /** ID of the entity associated with the event. */
579
575
  entityId?: string;
580
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
576
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
581
577
  eventTime?: Date | null;
582
578
  /**
583
579
  * Whether the event was triggered as a result of a privacy regulation application
@@ -587,12 +583,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
587
583
  /** If present, indicates the action that triggered the event. */
588
584
  originatedFrom?: string | null;
589
585
  /**
590
- * A sequence number defining the order of updates to the underlying entity.
591
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
592
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
593
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
594
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
595
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
586
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
587
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
596
588
  */
597
589
  entityEventSequence?: string | null;
598
590
  }
@@ -618,7 +610,7 @@ export interface EntityUpdatedEvent {
618
610
  currentEntity?: string;
619
611
  }
620
612
  export interface EntityDeletedEvent {
621
- /** Entity that was deleted */
613
+ /** Entity that was deleted. */
622
614
  deletedEntity?: string | null;
623
615
  }
624
616
  export interface ActionEvent {
@@ -1438,25 +1430,21 @@ export interface BaseEventMetadata {
1438
1430
  identity?: IdentificationData;
1439
1431
  }
1440
1432
  export interface EventMetadata extends BaseEventMetadata {
1441
- /**
1442
- * Unique event ID.
1443
- * Allows clients to ignore duplicate webhooks.
1444
- */
1433
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1445
1434
  _id?: string;
1446
1435
  /**
1447
- * Assumes actions are also always typed to an entity_type
1448
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1436
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1437
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1449
1438
  */
1450
1439
  entityFqdn?: string;
1451
1440
  /**
1452
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1453
- * This is although the created/updated/deleted notion is duplication of the oneof types
1454
- * Example: created/updated/deleted/started/completed/email_opened
1441
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1442
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1455
1443
  */
1456
1444
  slug?: string;
1457
1445
  /** ID of the entity associated with the event. */
1458
1446
  entityId?: string;
1459
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1447
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1460
1448
  eventTime?: Date | null;
1461
1449
  /**
1462
1450
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1466,12 +1454,8 @@ export interface EventMetadata extends BaseEventMetadata {
1466
1454
  /** If present, indicates the action that triggered the event. */
1467
1455
  originatedFrom?: string | null;
1468
1456
  /**
1469
- * A sequence number defining the order of updates to the underlying entity.
1470
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1471
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1472
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1473
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1474
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1457
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1458
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1475
1459
  */
1476
1460
  entityEventSequence?: string | null;
1477
1461
  }
@@ -1481,8 +1465,6 @@ export interface BookingPolicyCreatedEnvelope {
1481
1465
  }
1482
1466
  /**
1483
1467
  * Triggered when a booking policy is created.
1484
- * @permissionScope Manage Stores
1485
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1486
1468
  * @permissionScope Read Bookings - Public Data
1487
1469
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1488
1470
  * @permissionScope Manage Bookings Services and Settings
@@ -1510,8 +1492,6 @@ export interface BookingPolicyDefaultBookingPolicySetEnvelope {
1510
1492
  * _Booking Policy Updated_
1511
1493
  * ([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))
1512
1494
  * is also triggered both for the new and the previous default policy.
1513
- * @permissionScope Manage Stores
1514
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1515
1495
  * @permissionScope Read Bookings - Public Data
1516
1496
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1517
1497
  * @permissionScope Manage Bookings Services and Settings
@@ -1535,8 +1515,6 @@ export interface BookingPolicyDeletedEnvelope {
1535
1515
  }
1536
1516
  /**
1537
1517
  * Triggered when a booking policy is deleted.
1538
- * @permissionScope Manage Stores
1539
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1540
1518
  * @permissionScope Read Bookings - Public Data
1541
1519
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1542
1520
  * @permissionScope Manage Bookings Services and Settings
@@ -1562,8 +1540,6 @@ export interface BookingPolicyUpdatedEnvelope {
1562
1540
  /**
1563
1541
  * Triggered when a booking policy is updated, including when a policy's
1564
1542
  * `default` attribute changes.
1565
- * @permissionScope Manage Stores
1566
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1567
1543
  * @permissionScope Read Bookings - Public Data
1568
1544
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1569
1545
  * @permissionScope Manage Bookings Services and Settings
@@ -1606,8 +1582,6 @@ export declare function createBookingPolicy(bookingPolicy: BookingPolicy): Promi
1606
1582
  * @public
1607
1583
  * @requiredField bookingPolicyId
1608
1584
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
1609
- * @permissionScope Manage Stores
1610
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1611
1585
  * @permissionScope Read Bookings - Public Data
1612
1586
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1613
1587
  * @permissionScope Manage Bookings Services and Settings
@@ -1640,8 +1614,6 @@ export declare function getBookingPolicy(bookingPolicyId: string): Promise<NonNu
1640
1614
  * @public
1641
1615
  * @requiredField bookingPolicyIds
1642
1616
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
1643
- * @permissionScope Manage Stores
1644
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1645
1617
  * @permissionScope Read Bookings - Public Data
1646
1618
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1647
1619
  * @permissionScope Manage Bookings Services and Settings
@@ -1814,8 +1786,6 @@ export declare function deleteBookingPolicy(bookingPolicyId: string): Promise<vo
1814
1786
  *
1815
1787
  * The following `BookingPoliciesQueryBuilder` functions are supported for the `queryBookingPolicies()` function. For a full description of the `bookingPolicy` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/booking-policies-query-result/items) property in `BookingPoliciesQueryResult`.
1816
1788
  * @public
1817
- * @permissionScope Manage Stores
1818
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1819
1789
  * @permissionScope Read Bookings - Public Data
1820
1790
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1821
1791
  * @permissionScope Manage Bookings Services and Settings
@@ -1896,8 +1866,6 @@ export interface BookingPoliciesQueryBuilder {
1896
1866
  * for a complete list of supported filters.
1897
1867
  * @public
1898
1868
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
1899
- * @permissionScope Manage Stores
1900
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1901
1869
  * @permissionScope Read Bookings - Public Data
1902
1870
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
1903
1871
  * @permissionScope Manage Bookings Services and Settings
@@ -198,8 +198,6 @@ export async function createBookingPolicy(bookingPolicy) {
198
198
  * @public
199
199
  * @requiredField bookingPolicyId
200
200
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
201
- * @permissionScope Manage Stores
202
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
203
201
  * @permissionScope Read Bookings - Public Data
204
202
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
205
203
  * @permissionScope Manage Bookings Services and Settings
@@ -254,8 +252,6 @@ export async function getBookingPolicy(bookingPolicyId) {
254
252
  * @public
255
253
  * @requiredField bookingPolicyIds
256
254
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
257
- * @permissionScope Manage Stores
258
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
259
255
  * @permissionScope Read Bookings - Public Data
260
256
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
261
257
  * @permissionScope Manage Bookings Services and Settings
@@ -443,8 +439,6 @@ export async function deleteBookingPolicy(bookingPolicyId) {
443
439
  *
444
440
  * The following `BookingPoliciesQueryBuilder` functions are supported for the `queryBookingPolicies()` function. For a full description of the `bookingPolicy` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/booking-policies-query-result/items) property in `BookingPoliciesQueryResult`.
445
441
  * @public
446
- * @permissionScope Manage Stores
447
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
448
442
  * @permissionScope Read Bookings - Public Data
449
443
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
450
444
  * @permissionScope Manage Bookings Services and Settings
@@ -514,8 +508,6 @@ export function queryBookingPolicies() {
514
508
  * for a complete list of supported filters.
515
509
  * @public
516
510
  * @permissionId BOOKINGS.BOOKING_POLICY_READ
517
- * @permissionScope Manage Stores
518
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
519
511
  * @permissionScope Read Bookings - Public Data
520
512
  * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
521
513
  * @permissionScope Manage Bookings Services and Settings