@wix/auto_sdk_calendar_schedule-time-frames 1.0.11 → 1.0.13

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/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +9 -17
  2. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
  3. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +17 -36
  4. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
  5. package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
  6. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +9 -17
  7. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
  8. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +17 -36
  9. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
  10. package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
  11. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +9 -17
  12. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
  13. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +17 -36
  14. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
  15. package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
  16. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +9 -17
  17. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
  18. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +17 -36
  19. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
  20. package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
  21. package/package.json +2 -2
@@ -418,25 +418,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
418
418
  updatedEvent?: EntityUpdatedEvent;
419
419
  deletedEvent?: EntityDeletedEvent;
420
420
  actionEvent?: ActionEvent;
421
- /**
422
- * Unique event ID.
423
- * Allows clients to ignore duplicate webhooks.
424
- */
421
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
425
422
  id?: string;
426
423
  /**
427
- * Assumes actions are also always typed to an entity_type
428
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
424
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
425
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
429
426
  */
430
427
  entityFqdn?: string;
431
428
  /**
432
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
433
- * This is although the created/updated/deleted notion is duplication of the oneof types
434
- * Example: created/updated/deleted/started/completed/email_opened
429
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
430
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
435
431
  */
436
432
  slug?: string;
437
433
  /** ID of the entity associated with the event. */
438
434
  entityId?: string;
439
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
435
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
440
436
  eventTime?: Date | null;
441
437
  /**
442
438
  * Whether the event was triggered as a result of a privacy regulation application
@@ -446,12 +442,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
446
442
  /** If present, indicates the action that triggered the event. */
447
443
  originatedFrom?: string | null;
448
444
  /**
449
- * A sequence number defining the order of updates to the underlying entity.
450
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
451
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
452
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
453
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
454
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
445
+ * 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.
446
+ * 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.
455
447
  */
456
448
  entityEventSequence?: string | null;
457
449
  }
@@ -479,7 +471,7 @@ export interface EntityUpdatedEvent {
479
471
  currentEntityAsJson?: string;
480
472
  }
481
473
  export interface EntityDeletedEvent {
482
- /** Entity that was deleted */
474
+ /** Entity that was deleted. */
483
475
  deletedEntityAsJson?: string | null;
484
476
  }
485
477
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,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,QAI3B;AA2MD,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":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,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,QAI3B;AAmMD,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"}
@@ -419,25 +419,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
419
419
  updatedEvent?: EntityUpdatedEvent;
420
420
  deletedEvent?: EntityDeletedEvent;
421
421
  actionEvent?: ActionEvent;
422
- /**
423
- * Unique event ID.
424
- * Allows clients to ignore duplicate webhooks.
425
- */
422
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
426
423
  _id?: string;
427
424
  /**
428
- * Assumes actions are also always typed to an entity_type
429
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
425
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
426
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
430
427
  */
431
428
  entityFqdn?: string;
432
429
  /**
433
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
434
- * This is although the created/updated/deleted notion is duplication of the oneof types
435
- * Example: created/updated/deleted/started/completed/email_opened
430
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
431
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
436
432
  */
437
433
  slug?: string;
438
434
  /** ID of the entity associated with the event. */
439
435
  entityId?: string;
440
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
436
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
441
437
  eventTime?: Date | null;
442
438
  /**
443
439
  * Whether the event was triggered as a result of a privacy regulation application
@@ -447,12 +443,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
447
443
  /** If present, indicates the action that triggered the event. */
448
444
  originatedFrom?: string | null;
449
445
  /**
450
- * A sequence number defining the order of updates to the underlying entity.
451
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
452
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
453
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
454
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
455
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
446
+ * 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.
447
+ * 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.
456
448
  */
457
449
  entityEventSequence?: string | null;
458
450
  }
@@ -478,7 +470,7 @@ export interface EntityUpdatedEvent {
478
470
  currentEntity?: string;
479
471
  }
480
472
  export interface EntityDeletedEvent {
481
- /** Entity that was deleted */
473
+ /** Entity that was deleted. */
482
474
  deletedEntity?: string | null;
483
475
  }
484
476
  export interface ActionEvent {
@@ -569,25 +561,21 @@ export interface BaseEventMetadata {
569
561
  identity?: IdentificationData;
570
562
  }
571
563
  export interface EventMetadata extends BaseEventMetadata {
572
- /**
573
- * Unique event ID.
574
- * Allows clients to ignore duplicate webhooks.
575
- */
564
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
576
565
  _id?: string;
577
566
  /**
578
- * Assumes actions are also always typed to an entity_type
579
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
567
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
568
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
580
569
  */
581
570
  entityFqdn?: string;
582
571
  /**
583
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
584
- * This is although the created/updated/deleted notion is duplication of the oneof types
585
- * Example: created/updated/deleted/started/completed/email_opened
572
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
573
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
586
574
  */
587
575
  slug?: string;
588
576
  /** ID of the entity associated with the event. */
589
577
  entityId?: string;
590
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
578
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
591
579
  eventTime?: Date | null;
592
580
  /**
593
581
  * Whether the event was triggered as a result of a privacy regulation application
@@ -597,12 +585,8 @@ export interface EventMetadata extends BaseEventMetadata {
597
585
  /** If present, indicates the action that triggered the event. */
598
586
  originatedFrom?: string | null;
599
587
  /**
600
- * A sequence number defining the order of updates to the underlying entity.
601
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
602
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
603
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
604
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
605
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
588
+ * 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.
589
+ * 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.
606
590
  */
607
591
  entityEventSequence?: string | null;
608
592
  }
@@ -640,7 +624,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
640
624
  * @webhook
641
625
  * @eventType wix.calendar.v3.schedule_time_frame_updated
642
626
  * @slug updated
643
- * @documentationMaturity preview
644
627
  */
645
628
  export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
646
629
  type ScheduleTimeFrameNonNullablePaths = `status`;
@@ -649,7 +632,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
649
632
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
650
633
  * ID for which to retrieve the schedule time frame.
651
634
  * @public
652
- * @documentationMaturity preview
653
635
  * @requiredField _id
654
636
  * @permissionId CALENDAR.SCHEDULE_READ
655
637
  * @permissionScope Read Bookings - Public Data
@@ -698,7 +680,6 @@ export interface GetScheduleTimeFrameOptions {
698
680
  * Min: 1 schedule ID
699
681
  * Max: 100 schedule IDs
700
682
  * @public
701
- * @documentationMaturity preview
702
683
  * @requiredField ids
703
684
  * @permissionId CALENDAR.SCHEDULE_READ
704
685
  * @permissionScope Read Bookings - Public Data
@@ -74,7 +74,6 @@ var WebhookIdentityType;
74
74
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
75
75
  * ID for which to retrieve the schedule time frame.
76
76
  * @public
77
- * @documentationMaturity preview
78
77
  * @requiredField _id
79
78
  * @permissionId CALENDAR.SCHEDULE_READ
80
79
  * @permissionScope Read Bookings - Public Data
@@ -140,7 +139,6 @@ exports.getScheduleTimeFrame = getScheduleTimeFrame;
140
139
  * Min: 1 schedule ID
141
140
  * Max: 100 schedule IDs
142
141
  * @public
143
- * @documentationMaturity preview
144
142
  * @requiredField ids
145
143
  * @permissionId CALENDAR.SCHEDULE_READ
146
144
  * @permissionScope Read Bookings - Public Data
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,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AAO,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,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA7CD,wDA6CC"}
1
+ {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,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,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AAC;AA7CD,wDA6CC"}
@@ -418,25 +418,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
418
418
  updatedEvent?: EntityUpdatedEvent;
419
419
  deletedEvent?: EntityDeletedEvent;
420
420
  actionEvent?: ActionEvent;
421
- /**
422
- * Unique event ID.
423
- * Allows clients to ignore duplicate webhooks.
424
- */
421
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
425
422
  id?: string;
426
423
  /**
427
- * Assumes actions are also always typed to an entity_type
428
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
424
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
425
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
429
426
  */
430
427
  entityFqdn?: string;
431
428
  /**
432
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
433
- * This is although the created/updated/deleted notion is duplication of the oneof types
434
- * Example: created/updated/deleted/started/completed/email_opened
429
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
430
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
435
431
  */
436
432
  slug?: string;
437
433
  /** ID of the entity associated with the event. */
438
434
  entityId?: string;
439
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
435
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
440
436
  eventTime?: Date | null;
441
437
  /**
442
438
  * Whether the event was triggered as a result of a privacy regulation application
@@ -446,12 +442,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
446
442
  /** If present, indicates the action that triggered the event. */
447
443
  originatedFrom?: string | null;
448
444
  /**
449
- * A sequence number defining the order of updates to the underlying entity.
450
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
451
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
452
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
453
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
454
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
445
+ * 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.
446
+ * 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.
455
447
  */
456
448
  entityEventSequence?: string | null;
457
449
  }
@@ -479,7 +471,7 @@ export interface EntityUpdatedEvent {
479
471
  currentEntityAsJson?: string;
480
472
  }
481
473
  export interface EntityDeletedEvent {
482
- /** Entity that was deleted */
474
+ /** Entity that was deleted. */
483
475
  deletedEntityAsJson?: string | null;
484
476
  }
485
477
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAoND,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;AA2MD,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":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAoND,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;AAmMD,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"}
@@ -419,25 +419,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
419
419
  updatedEvent?: EntityUpdatedEvent;
420
420
  deletedEvent?: EntityDeletedEvent;
421
421
  actionEvent?: ActionEvent;
422
- /**
423
- * Unique event ID.
424
- * Allows clients to ignore duplicate webhooks.
425
- */
422
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
426
423
  _id?: string;
427
424
  /**
428
- * Assumes actions are also always typed to an entity_type
429
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
425
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
426
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
430
427
  */
431
428
  entityFqdn?: string;
432
429
  /**
433
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
434
- * This is although the created/updated/deleted notion is duplication of the oneof types
435
- * Example: created/updated/deleted/started/completed/email_opened
430
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
431
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
436
432
  */
437
433
  slug?: string;
438
434
  /** ID of the entity associated with the event. */
439
435
  entityId?: string;
440
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
436
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
441
437
  eventTime?: Date | null;
442
438
  /**
443
439
  * Whether the event was triggered as a result of a privacy regulation application
@@ -447,12 +443,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
447
443
  /** If present, indicates the action that triggered the event. */
448
444
  originatedFrom?: string | null;
449
445
  /**
450
- * A sequence number defining the order of updates to the underlying entity.
451
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
452
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
453
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
454
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
455
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
446
+ * 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.
447
+ * 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.
456
448
  */
457
449
  entityEventSequence?: string | null;
458
450
  }
@@ -478,7 +470,7 @@ export interface EntityUpdatedEvent {
478
470
  currentEntity?: string;
479
471
  }
480
472
  export interface EntityDeletedEvent {
481
- /** Entity that was deleted */
473
+ /** Entity that was deleted. */
482
474
  deletedEntity?: string | null;
483
475
  }
484
476
  export interface ActionEvent {
@@ -569,25 +561,21 @@ export interface BaseEventMetadata {
569
561
  identity?: IdentificationData;
570
562
  }
571
563
  export interface EventMetadata extends BaseEventMetadata {
572
- /**
573
- * Unique event ID.
574
- * Allows clients to ignore duplicate webhooks.
575
- */
564
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
576
565
  _id?: string;
577
566
  /**
578
- * Assumes actions are also always typed to an entity_type
579
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
567
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
568
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
580
569
  */
581
570
  entityFqdn?: string;
582
571
  /**
583
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
584
- * This is although the created/updated/deleted notion is duplication of the oneof types
585
- * Example: created/updated/deleted/started/completed/email_opened
572
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
573
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
586
574
  */
587
575
  slug?: string;
588
576
  /** ID of the entity associated with the event. */
589
577
  entityId?: string;
590
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
578
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
591
579
  eventTime?: Date | null;
592
580
  /**
593
581
  * Whether the event was triggered as a result of a privacy regulation application
@@ -597,12 +585,8 @@ export interface EventMetadata extends BaseEventMetadata {
597
585
  /** If present, indicates the action that triggered the event. */
598
586
  originatedFrom?: string | null;
599
587
  /**
600
- * A sequence number defining the order of updates to the underlying entity.
601
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
602
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
603
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
604
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
605
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
588
+ * 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.
589
+ * 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.
606
590
  */
607
591
  entityEventSequence?: string | null;
608
592
  }
@@ -640,7 +624,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
640
624
  * @webhook
641
625
  * @eventType wix.calendar.v3.schedule_time_frame_updated
642
626
  * @slug updated
643
- * @documentationMaturity preview
644
627
  */
645
628
  export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
646
629
  type ScheduleTimeFrameNonNullablePaths = `status`;
@@ -649,7 +632,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
649
632
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
650
633
  * ID for which to retrieve the schedule time frame.
651
634
  * @public
652
- * @documentationMaturity preview
653
635
  * @requiredField _id
654
636
  * @permissionId CALENDAR.SCHEDULE_READ
655
637
  * @permissionScope Read Bookings - Public Data
@@ -698,7 +680,6 @@ export interface GetScheduleTimeFrameOptions {
698
680
  * Min: 1 schedule ID
699
681
  * Max: 100 schedule IDs
700
682
  * @public
701
- * @documentationMaturity preview
702
683
  * @requiredField ids
703
684
  * @permissionId CALENDAR.SCHEDULE_READ
704
685
  * @permissionScope Read Bookings - Public Data
@@ -48,7 +48,6 @@ export var WebhookIdentityType;
48
48
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
49
49
  * ID for which to retrieve the schedule time frame.
50
50
  * @public
51
- * @documentationMaturity preview
52
51
  * @requiredField _id
53
52
  * @permissionId CALENDAR.SCHEDULE_READ
54
53
  * @permissionScope Read Bookings - Public Data
@@ -113,7 +112,6 @@ export async function getScheduleTimeFrame(_id, options) {
113
112
  * Min: 1 schedule ID
114
113
  * Max: 100 schedule IDs
115
114
  * @public
116
- * @documentationMaturity preview
117
115
  * @requiredField ids
118
116
  * @permissionId CALENDAR.SCHEDULE_READ
119
117
  * @permissionScope Read Bookings - Public Data
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WA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H,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAoND,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,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EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -418,25 +418,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
418
418
  updatedEvent?: EntityUpdatedEvent;
419
419
  deletedEvent?: EntityDeletedEvent;
420
420
  actionEvent?: ActionEvent;
421
- /**
422
- * Unique event ID.
423
- * Allows clients to ignore duplicate webhooks.
424
- */
421
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
425
422
  id?: string;
426
423
  /**
427
- * Assumes actions are also always typed to an entity_type
428
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
424
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
425
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
429
426
  */
430
427
  entityFqdn?: string;
431
428
  /**
432
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
433
- * This is although the created/updated/deleted notion is duplication of the oneof types
434
- * Example: created/updated/deleted/started/completed/email_opened
429
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
430
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
435
431
  */
436
432
  slug?: string;
437
433
  /** ID of the entity associated with the event. */
438
434
  entityId?: string;
439
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
435
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
440
436
  eventTime?: Date | null;
441
437
  /**
442
438
  * Whether the event was triggered as a result of a privacy regulation application
@@ -446,12 +442,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
446
442
  /** If present, indicates the action that triggered the event. */
447
443
  originatedFrom?: string | null;
448
444
  /**
449
- * A sequence number defining the order of updates to the underlying entity.
450
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
451
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
452
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
453
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
454
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
445
+ * 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.
446
+ * 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.
455
447
  */
456
448
  entityEventSequence?: string | null;
457
449
  }
@@ -479,7 +471,7 @@ export interface EntityUpdatedEvent {
479
471
  currentEntityAsJson?: string;
480
472
  }
481
473
  export interface EntityDeletedEvent {
482
- /** Entity that was deleted */
474
+ /** Entity that was deleted. */
483
475
  deletedEntityAsJson?: string | null;
484
476
  }
485
477
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,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,QAI3B;AA2MD,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":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,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,QAI3B;AAmMD,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"}
@@ -419,25 +419,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
419
419
  updatedEvent?: EntityUpdatedEvent;
420
420
  deletedEvent?: EntityDeletedEvent;
421
421
  actionEvent?: ActionEvent;
422
- /**
423
- * Unique event ID.
424
- * Allows clients to ignore duplicate webhooks.
425
- */
422
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
426
423
  _id?: string;
427
424
  /**
428
- * Assumes actions are also always typed to an entity_type
429
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
425
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
426
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
430
427
  */
431
428
  entityFqdn?: string;
432
429
  /**
433
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
434
- * This is although the created/updated/deleted notion is duplication of the oneof types
435
- * Example: created/updated/deleted/started/completed/email_opened
430
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
431
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
436
432
  */
437
433
  slug?: string;
438
434
  /** ID of the entity associated with the event. */
439
435
  entityId?: string;
440
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
436
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
441
437
  eventTime?: Date | null;
442
438
  /**
443
439
  * Whether the event was triggered as a result of a privacy regulation application
@@ -447,12 +443,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
447
443
  /** If present, indicates the action that triggered the event. */
448
444
  originatedFrom?: string | null;
449
445
  /**
450
- * A sequence number defining the order of updates to the underlying entity.
451
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
452
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
453
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
454
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
455
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
446
+ * 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.
447
+ * 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.
456
448
  */
457
449
  entityEventSequence?: string | null;
458
450
  }
@@ -478,7 +470,7 @@ export interface EntityUpdatedEvent {
478
470
  currentEntity?: string;
479
471
  }
480
472
  export interface EntityDeletedEvent {
481
- /** Entity that was deleted */
473
+ /** Entity that was deleted. */
482
474
  deletedEntity?: string | null;
483
475
  }
484
476
  export interface ActionEvent {
@@ -569,25 +561,21 @@ export interface BaseEventMetadata {
569
561
  identity?: IdentificationData;
570
562
  }
571
563
  export interface EventMetadata extends BaseEventMetadata {
572
- /**
573
- * Unique event ID.
574
- * Allows clients to ignore duplicate webhooks.
575
- */
564
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
576
565
  _id?: string;
577
566
  /**
578
- * Assumes actions are also always typed to an entity_type
579
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
567
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
568
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
580
569
  */
581
570
  entityFqdn?: string;
582
571
  /**
583
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
584
- * This is although the created/updated/deleted notion is duplication of the oneof types
585
- * Example: created/updated/deleted/started/completed/email_opened
572
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
573
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
586
574
  */
587
575
  slug?: string;
588
576
  /** ID of the entity associated with the event. */
589
577
  entityId?: string;
590
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
578
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
591
579
  eventTime?: Date | null;
592
580
  /**
593
581
  * Whether the event was triggered as a result of a privacy regulation application
@@ -597,12 +585,8 @@ export interface EventMetadata extends BaseEventMetadata {
597
585
  /** If present, indicates the action that triggered the event. */
598
586
  originatedFrom?: string | null;
599
587
  /**
600
- * A sequence number defining the order of updates to the underlying entity.
601
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
602
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
603
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
604
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
605
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
588
+ * 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.
589
+ * 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.
606
590
  */
607
591
  entityEventSequence?: string | null;
608
592
  }
@@ -640,7 +624,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
640
624
  * @webhook
641
625
  * @eventType wix.calendar.v3.schedule_time_frame_updated
642
626
  * @slug updated
643
- * @documentationMaturity preview
644
627
  */
645
628
  export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
646
629
  type ScheduleTimeFrameNonNullablePaths = `status`;
@@ -649,7 +632,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
649
632
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
650
633
  * ID for which to retrieve the schedule time frame.
651
634
  * @public
652
- * @documentationMaturity preview
653
635
  * @requiredField _id
654
636
  * @permissionId CALENDAR.SCHEDULE_READ
655
637
  * @permissionScope Read Bookings - Public Data
@@ -698,7 +680,6 @@ export interface GetScheduleTimeFrameOptions {
698
680
  * Min: 1 schedule ID
699
681
  * Max: 100 schedule IDs
700
682
  * @public
701
- * @documentationMaturity preview
702
683
  * @requiredField ids
703
684
  * @permissionId CALENDAR.SCHEDULE_READ
704
685
  * @permissionScope Read Bookings - Public Data
@@ -74,7 +74,6 @@ var WebhookIdentityType;
74
74
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
75
75
  * ID for which to retrieve the schedule time frame.
76
76
  * @public
77
- * @documentationMaturity preview
78
77
  * @requiredField _id
79
78
  * @permissionId CALENDAR.SCHEDULE_READ
80
79
  * @permissionScope Read Bookings - Public Data
@@ -140,7 +139,6 @@ exports.getScheduleTimeFrame = getScheduleTimeFrame;
140
139
  * Min: 1 schedule ID
141
140
  * Max: 100 schedule IDs
142
141
  * @public
143
- * @documentationMaturity preview
144
142
  * @requiredField ids
145
143
  * @permissionId CALENDAR.SCHEDULE_READ
146
144
  * @permissionScope Read Bookings - Public Data
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX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G,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,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA7CD,wDA6CC"}
1
+ {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AAoND,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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AC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA7CD,wDA6CC"}
@@ -418,25 +418,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
418
418
  updatedEvent?: EntityUpdatedEvent;
419
419
  deletedEvent?: EntityDeletedEvent;
420
420
  actionEvent?: ActionEvent;
421
- /**
422
- * Unique event ID.
423
- * Allows clients to ignore duplicate webhooks.
424
- */
421
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
425
422
  id?: string;
426
423
  /**
427
- * Assumes actions are also always typed to an entity_type
428
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
424
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
425
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
429
426
  */
430
427
  entityFqdn?: string;
431
428
  /**
432
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
433
- * This is although the created/updated/deleted notion is duplication of the oneof types
434
- * Example: created/updated/deleted/started/completed/email_opened
429
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
430
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
435
431
  */
436
432
  slug?: string;
437
433
  /** ID of the entity associated with the event. */
438
434
  entityId?: string;
439
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
435
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
440
436
  eventTime?: Date | null;
441
437
  /**
442
438
  * Whether the event was triggered as a result of a privacy regulation application
@@ -446,12 +442,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
446
442
  /** If present, indicates the action that triggered the event. */
447
443
  originatedFrom?: string | null;
448
444
  /**
449
- * A sequence number defining the order of updates to the underlying entity.
450
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
451
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
452
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
453
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
454
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
445
+ * 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.
446
+ * 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.
455
447
  */
456
448
  entityEventSequence?: string | null;
457
449
  }
@@ -479,7 +471,7 @@ export interface EntityUpdatedEvent {
479
471
  currentEntityAsJson?: string;
480
472
  }
481
473
  export interface EntityDeletedEvent {
482
- /** Entity that was deleted */
474
+ /** Entity that was deleted. */
483
475
  deletedEntityAsJson?: string | null;
484
476
  }
485
477
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAoND,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;AA2MD,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":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAoND,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;AAmMD,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"}
@@ -419,25 +419,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
419
419
  updatedEvent?: EntityUpdatedEvent;
420
420
  deletedEvent?: EntityDeletedEvent;
421
421
  actionEvent?: ActionEvent;
422
- /**
423
- * Unique event ID.
424
- * Allows clients to ignore duplicate webhooks.
425
- */
422
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
426
423
  _id?: string;
427
424
  /**
428
- * Assumes actions are also always typed to an entity_type
429
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
425
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
426
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
430
427
  */
431
428
  entityFqdn?: string;
432
429
  /**
433
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
434
- * This is although the created/updated/deleted notion is duplication of the oneof types
435
- * Example: created/updated/deleted/started/completed/email_opened
430
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
431
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
436
432
  */
437
433
  slug?: string;
438
434
  /** ID of the entity associated with the event. */
439
435
  entityId?: string;
440
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
436
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
441
437
  eventTime?: Date | null;
442
438
  /**
443
439
  * Whether the event was triggered as a result of a privacy regulation application
@@ -447,12 +443,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
447
443
  /** If present, indicates the action that triggered the event. */
448
444
  originatedFrom?: string | null;
449
445
  /**
450
- * A sequence number defining the order of updates to the underlying entity.
451
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
452
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
453
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
454
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
455
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
446
+ * 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.
447
+ * 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.
456
448
  */
457
449
  entityEventSequence?: string | null;
458
450
  }
@@ -478,7 +470,7 @@ export interface EntityUpdatedEvent {
478
470
  currentEntity?: string;
479
471
  }
480
472
  export interface EntityDeletedEvent {
481
- /** Entity that was deleted */
473
+ /** Entity that was deleted. */
482
474
  deletedEntity?: string | null;
483
475
  }
484
476
  export interface ActionEvent {
@@ -569,25 +561,21 @@ export interface BaseEventMetadata {
569
561
  identity?: IdentificationData;
570
562
  }
571
563
  export interface EventMetadata extends BaseEventMetadata {
572
- /**
573
- * Unique event ID.
574
- * Allows clients to ignore duplicate webhooks.
575
- */
564
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
576
565
  _id?: string;
577
566
  /**
578
- * Assumes actions are also always typed to an entity_type
579
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
567
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
568
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
580
569
  */
581
570
  entityFqdn?: string;
582
571
  /**
583
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
584
- * This is although the created/updated/deleted notion is duplication of the oneof types
585
- * Example: created/updated/deleted/started/completed/email_opened
572
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
573
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
586
574
  */
587
575
  slug?: string;
588
576
  /** ID of the entity associated with the event. */
589
577
  entityId?: string;
590
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
578
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
591
579
  eventTime?: Date | null;
592
580
  /**
593
581
  * Whether the event was triggered as a result of a privacy regulation application
@@ -597,12 +585,8 @@ export interface EventMetadata extends BaseEventMetadata {
597
585
  /** If present, indicates the action that triggered the event. */
598
586
  originatedFrom?: string | null;
599
587
  /**
600
- * A sequence number defining the order of updates to the underlying entity.
601
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
602
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
603
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
604
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
605
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
588
+ * 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.
589
+ * 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.
606
590
  */
607
591
  entityEventSequence?: string | null;
608
592
  }
@@ -640,7 +624,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
640
624
  * @webhook
641
625
  * @eventType wix.calendar.v3.schedule_time_frame_updated
642
626
  * @slug updated
643
- * @documentationMaturity preview
644
627
  */
645
628
  export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
646
629
  type ScheduleTimeFrameNonNullablePaths = `status`;
@@ -649,7 +632,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
649
632
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
650
633
  * ID for which to retrieve the schedule time frame.
651
634
  * @public
652
- * @documentationMaturity preview
653
635
  * @requiredField _id
654
636
  * @permissionId CALENDAR.SCHEDULE_READ
655
637
  * @permissionScope Read Bookings - Public Data
@@ -698,7 +680,6 @@ export interface GetScheduleTimeFrameOptions {
698
680
  * Min: 1 schedule ID
699
681
  * Max: 100 schedule IDs
700
682
  * @public
701
- * @documentationMaturity preview
702
683
  * @requiredField ids
703
684
  * @permissionId CALENDAR.SCHEDULE_READ
704
685
  * @permissionScope Read Bookings - Public Data
@@ -48,7 +48,6 @@ export var WebhookIdentityType;
48
48
  * @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
49
49
  * ID for which to retrieve the schedule time frame.
50
50
  * @public
51
- * @documentationMaturity preview
52
51
  * @requiredField _id
53
52
  * @permissionId CALENDAR.SCHEDULE_READ
54
53
  * @permissionScope Read Bookings - Public Data
@@ -113,7 +112,6 @@ export async function getScheduleTimeFrame(_id, options) {
113
112
  * Min: 1 schedule ID
114
113
  * Max: 100 schedule IDs
115
114
  * @public
116
- * @documentationMaturity preview
117
115
  * @requiredField ids
118
116
  * @permissionId CALENDAR.SCHEDULE_READ
119
117
  * @permissionScope Read Bookings - Public Data
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAA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,GACX,wCAAwC,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAE3E,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,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAoND,gGAAgG;AAChG,MAAM,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,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_calendar_schedule-time-frames",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.calendar.v3.schedule_time_frame"
49
49
  }
50
50
  },
51
- "falconPackageHash": "6d179986a25c294f2e16903d55d5ac43978ce46e38aa956a1507a8f4"
51
+ "falconPackageHash": "b7555695a1f2dd999592075d6217ff6e96046f5e439908134fd0e18f"
52
52
  }