@wix/bookings 1.0.57 → 1.0.59

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 (43) hide show
  1. package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +1 -1
  2. package/build/cjs/src/bookings-calendar-v1-session.public.js +2 -2
  3. package/build/cjs/src/bookings-calendar-v1-session.public.js.map +1 -1
  4. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +2 -2
  5. package/build/cjs/src/bookings-calendar-v1-session.types.js +8 -8
  6. package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +3 -3
  8. package/build/cjs/src/bookings-calendar-v1-session.universal.js +8 -8
  9. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  10. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +23 -17
  11. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js +23 -17
  12. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
  13. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +5 -3
  14. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
  15. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +28 -20
  16. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +23 -17
  17. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  18. package/build/cjs/src/bookings-services-v2-service.types.d.ts +120 -59
  19. package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
  20. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +120 -59
  21. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  22. package/build/es/src/bookings-calendar-v1-session.public.d.ts +1 -1
  23. package/build/es/src/bookings-calendar-v1-session.public.js +1 -1
  24. package/build/es/src/bookings-calendar-v1-session.public.js.map +1 -1
  25. package/build/es/src/bookings-calendar-v1-session.types.d.ts +2 -2
  26. package/build/es/src/bookings-calendar-v1-session.types.js +7 -7
  27. package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
  28. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +3 -3
  29. package/build/es/src/bookings-calendar-v1-session.universal.js +7 -7
  30. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  31. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +23 -17
  32. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js +23 -17
  33. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
  34. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +5 -3
  35. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
  36. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +28 -20
  37. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +23 -17
  38. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  39. package/build/es/src/bookings-services-v2-service.types.d.ts +120 -59
  40. package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
  41. package/build/es/src/bookings-services-v2-service.universal.d.ts +120 -59
  42. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  43. package/package.json +2 -2
@@ -436,7 +436,7 @@ export interface CustomLocationOptions {
436
436
  * Partial updates are supported on the main entity level, however in order to update a sub-policy the client needs to provide the whole sub-policy object.
437
437
  */
438
438
  export interface BookingPolicy {
439
- /** The ID referencing the policy for the booking. */
439
+ /** The ID to the policy for the booking. */
440
440
  id?: string;
441
441
  /**
442
442
  * Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the existing revision must be used when updating a policy.
@@ -444,12 +444,12 @@ export interface BookingPolicy {
444
444
  */
445
445
  revision?: string | null;
446
446
  /**
447
- * Date and time the policy was created. This is a system field.
447
+ * Date and time the policy was created.
448
448
  * @readonly
449
449
  */
450
450
  createdDate?: Date;
451
451
  /**
452
- * Date and time the policy was updated. This is a system field.
452
+ * Date and time the policy was updated.
453
453
  * @readonly
454
454
  */
455
455
  updatedDate?: Date;
@@ -464,7 +464,7 @@ export interface BookingPolicy {
464
464
  */
465
465
  customPolicyDescription?: PolicyDescription;
466
466
  /**
467
- * `true` if the policy is the default for the meta site. Otherwise, `false`.
467
+ * Whether the policy is the default for the meta site.
468
468
  * @readonly
469
469
  */
470
470
  default?: boolean | null;
@@ -504,105 +504,166 @@ export interface BookingPolicy {
504
504
  */
505
505
  participantsPolicy?: ParticipantsPolicy;
506
506
  }
507
- /**
508
- * This object specifies a policy description to be displayed to participants. By default `enabled` is set to `false`
509
- * and `description` is left empty, implying that this BookingPolicy does not have a description.
510
- */
507
+ /** A description of the policy to display to participants. */
511
508
  export interface PolicyDescription {
512
- /** `true` if a policy description should be displayed, otherwise `false`. */
509
+ /**
510
+ * Whether the description should be displayed. If `true`, the description is displayed.
511
+ *
512
+ * Default: `false`
513
+ */
513
514
  enabled?: boolean;
514
- /** Policy description to be displayed */
515
+ /**
516
+ * The description to display.
517
+ *
518
+ * Default: Empty
519
+ * Max length: 1000 characters
520
+ */
515
521
  description?: string;
516
522
  }
517
- /**
518
- * This object specifies the policy for limiting early bookings. By default `enabled` set to `false` and
519
- * `earliest_booking_in_minutes` set to 10080 minutes (7 days).
520
- */
523
+ /** The policy for limiting early bookings. */
521
524
  export interface LimitEarlyBookingPolicy {
522
525
  /**
523
- * `true` if this policy is enabled, otherwise `false`. When not enabled then there is no limit on the earliest
524
- * booking time.
526
+ * Whether there is a limit on how early a customer
527
+ * can book. When `false`, there is no limit on the earliest
528
+ * booking time and customers can book in advance, as early as they like.
529
+ *
530
+ * Default: `false`
525
531
  */
526
532
  enabled?: boolean;
527
533
  /**
528
- * Maximum number of minutes before the start of the entity that a booking can be made. This value must be greater
529
- * than `latest_booking_in_minutes` in `LimitLateBookingPolicy`.
534
+ * Maximum number of minutes before the start of the session that a booking can be made. This value must be greater
535
+ * than `latest_booking_in_minutes` in the `LimitLateBookingPolicy` policy.
536
+ *
537
+ * Default: 10080 minutes (7 days)
538
+ * Min: 1 minute
530
539
  */
531
540
  earliestBookingInMinutes?: number;
532
541
  }
533
542
  /**
534
- * This object specifies the policy for limiting late bookings. By default `enabled` set to `false` and
535
- * `latest_booking_in_minutes` set to 1440 minutes (1 day).
536
- * Note that this policy and `BookAfterStartPolicy` cannot be enabled both at the same time. So if this policy
537
- * is enabled then `BookAfterStartPolicy` must be disabled.
543
+ * The policy for limiting late bookings.
544
+ *
545
+ * This policy and the `BookAfterStartPolicy` policy cannot be enabled at the same time. So if this policy
546
+ * is enabled, `BookAfterStartPolicy` must be disabled.
538
547
  */
539
548
  export interface LimitLateBookingPolicy {
540
549
  /**
541
- * `true` if this policy is enabled, otherwise `false`. When not enabled then there is no limit on the latest
542
- * booking time.
550
+ * Whether there is a limit on how late a customer
551
+ * can book. When `false`, there is no limit on the latest
552
+ * booking time and customers can book up to the last minute.
553
+ *
554
+ * Default: `false`
543
555
  */
544
556
  enabled?: boolean;
545
557
  /**
546
- * Minimum number of minutes before the start of the entity that a booking can be made.
547
- * For a schedule, this is relative to the start time of the next booked entity, excluding past booked entities.
548
- * This value must be less than `earliest_booking_in_minutes` in `LimitEarlyBookingPolicy`.
558
+ * Minimum number of minutes before the start of the session that a booking can be made.
559
+ * For a schedule, this is relative to the start time of the next booked session, excluding past-booked sessions.
560
+ * This value must be less than `earliest_booking_in_minutes` in the `LimitEarlyBookingPolicy` policy.
561
+ *
562
+ * Default: 1440 minutes (1 day)
563
+ * Min: 1 minute
549
564
  */
550
565
  latestBookingInMinutes?: number;
551
566
  }
552
567
  /**
553
- * This object specifies the policy on whether an entity can be booked after the start of the schedule. By default
554
- * `enabled` is set to `false`.
555
- * Note that this policy and `LimitLateBookingPolicy` cannot be enabled both at the same time. So if this policy
556
- * is enabled then `LimitLateBookingPolicy` must be disabled.
568
+ * The policy for whether a session can be booked after the start of the schedule.
569
+ * This policy and `LimitLateBookingPolicy` cannot be enabled at the same time. So if this policy
570
+ * is enabled, the `LimitLateBookingPolicy` policy must be disabled.
557
571
  */
558
572
  export interface BookAfterStartPolicy {
559
- /** `true` if booking is allowed after the start of the schedule, otherwise `false`. */
573
+ /**
574
+ * Whether booking is allowed after the start of the schedule. When `true`,
575
+ * customers can book after the start of the schedule.
576
+ *
577
+ * Default: `false`
578
+ */
560
579
  enabled?: boolean;
561
580
  }
562
- /**
563
- * This object specifies the policy on cancelling a booked entity. By default both `enabled` and
564
- * `limit_latest_cancellation` are set to `false` and `latest_cancellation_in_minutes` is set to 1440 minutes (1 day).
565
- */
581
+ /** The policy for canceling a booked session. */
566
582
  export interface CancellationPolicy {
567
- /** `true` if cancelling a booking is allowed, otherwise `false`. */
583
+ /**
584
+ * Whether canceling a booking is allowed. When `true`, customers
585
+ * can cancel the booking.
586
+ *
587
+ * Default: `false`
588
+ */
568
589
  enabled?: boolean;
569
- /** `true` if there is a limit on the latest cancellation time, otherwise `false`. */
590
+ /**
591
+ * Whether there is a limit on the latest cancellation time. When `true`,
592
+ * a time limit is enforced.
593
+ *
594
+ * Default: `false`
595
+ */
570
596
  limitLatestCancellation?: boolean;
571
- /** Minimum number of minutes before the start of the booked entity that a booking can be cancelled. */
597
+ /**
598
+ * Minimum number of minutes before the start of the booked session that the booking can be canceled.
599
+ *
600
+ * Default: 1440 minutes (1 day)
601
+ * Min: 1 minute
602
+ */
572
603
  latestCancellationInMinutes?: number;
573
604
  }
574
- /**
575
- * This object specifies the policy on rescheduling a booked entity. By default both `enabled` and
576
- * `limit_latest_reschedule` are set to `false` and `latest_reschedule_in_minutes` is set to 1440 minutes (1 day).
577
- */
605
+ /** The policy for rescheduling a booked session. */
578
606
  export interface ReschedulePolicy {
579
- /** `true` if rescheduling a booking is allowed, otherwise `false`. */
607
+ /**
608
+ * Whether rescheduling a booking is allowed. When `true`, customers
609
+ * can reschedule the booking.
610
+ *
611
+ * Default: `false`
612
+ */
580
613
  enabled?: boolean;
581
- /** `true` if there is a limit on the latest reschedule time, otherwise `false`. */
614
+ /**
615
+ * Whether there is a limit on the latest reschedule time. When `true`,
616
+ * a time limit is enforced.
617
+ *
618
+ * Default: `false`
619
+ */
582
620
  limitLatestReschedule?: boolean;
583
- /** Minimum number of minutes before the start of the booked entity that a booking can be rescheduled. */
621
+ /**
622
+ * Minimum number of minutes before the start of the booked session that the booking can be rescheduled.
623
+ *
624
+ * Default: 1440 minutes (1 day)
625
+ * Min: 1 minute
626
+ */
584
627
  latestRescheduleInMinutes?: number;
585
628
  }
586
- /**
587
- * This object specifies the policy for the waitlist. By default `enabled` is set to false
588
- * (indicating that waitlisting is disabled), and both `capacity` and `reservation_time_in_minutes` are set to 10.
589
- */
629
+ /** The policy for the waitlist. */
590
630
  export interface WaitlistPolicy {
591
- /** `true` if the entity has a waitlist, otherwise `false`. */
631
+ /**
632
+ * Whether the session has a waitlist. If `true`, there is a waitlist.
633
+ *
634
+ * Default: `false`
635
+ */
592
636
  enabled?: boolean;
593
- /** Number of spots available in the waitlist. Defaults to 10 spots. */
637
+ /**
638
+ * Number of spots available in the waitlist.
639
+ *
640
+ * Default: 10 spots
641
+ * Min: 1 spot
642
+ */
594
643
  capacity?: number;
595
- /** Amount of time a participant is given to book, once notified that a spot is available. Defaults to 10 minutes. */
644
+ /**
645
+ * Amount of time a participant is given to book, once notified that a spot is available.
646
+ *
647
+ * Default: 10 minutes
648
+ * Min: 1 spot
649
+ */
596
650
  reservationTimeInMinutes?: number;
597
651
  }
598
- /**
599
- * This object specifies the policy for the participants per booking (for example, setting the maximum number
600
- * of participants). By default `enabled` is set to false and `max_participants_per_booking` is set to 1.
601
- */
652
+ /** The policy for the maximum number of participants per booking. */
602
653
  export interface ParticipantsPolicy {
603
- /** `true` if a policy with respect to the participants applies, otherwise `false`. */
654
+ /**
655
+ * Whether the maximum number of participants applies. When `false`, there is
656
+ * no maximum.
657
+ *
658
+ * Default: `false`
659
+ */
604
660
  enabled?: boolean;
605
- /** Maximum number of participants. Defaults to 1 participant. */
661
+ /**
662
+ * Maximum number of participants allowed.
663
+ *
664
+ * Default: 1 participant
665
+ * Min: 1 participant
666
+ */
606
667
  maxParticipantsPerBooking?: number;
607
668
  }
608
669
  export interface Schedule {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AA2ID,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QAAQ,QAUnB;AA0HD,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iQAAiQ;IACjQ,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAueD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAqFD,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AA4LD,MAAM,CAAN,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,KAAhB,gBAAgB,QAQ3B"}
1
+ {"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AA2ID,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QAAQ,QAUnB;AA0HD,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iQAAiQ;IACjQ,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAoiBD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAqFD,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AA4LD,MAAM,CAAN,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,KAAhB,gBAAgB,QAQ3B"}
@@ -416,7 +416,7 @@ export interface CustomLocationOptions {
416
416
  * Partial updates are supported on the main entity level, however in order to update a sub-policy the client needs to provide the whole sub-policy object.
417
417
  */
418
418
  export interface BookingPolicy {
419
- /** The ID referencing the policy for the booking. */
419
+ /** The ID to the policy for the booking. */
420
420
  _id?: string;
421
421
  /**
422
422
  * Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the existing revision must be used when updating a policy.
@@ -424,12 +424,12 @@ export interface BookingPolicy {
424
424
  */
425
425
  revision?: string | null;
426
426
  /**
427
- * Date and time the policy was created. This is a system field.
427
+ * Date and time the policy was created.
428
428
  * @readonly
429
429
  */
430
430
  _createdDate?: Date;
431
431
  /**
432
- * Date and time the policy was updated. This is a system field.
432
+ * Date and time the policy was updated.
433
433
  * @readonly
434
434
  */
435
435
  _updatedDate?: Date;
@@ -444,7 +444,7 @@ export interface BookingPolicy {
444
444
  */
445
445
  customPolicyDescription?: PolicyDescription;
446
446
  /**
447
- * `true` if the policy is the default for the meta site. Otherwise, `false`.
447
+ * Whether the policy is the default for the meta site.
448
448
  * @readonly
449
449
  */
450
450
  default?: boolean | null;
@@ -484,105 +484,166 @@ export interface BookingPolicy {
484
484
  */
485
485
  participantsPolicy?: ParticipantsPolicy;
486
486
  }
487
- /**
488
- * This object specifies a policy description to be displayed to participants. By default `enabled` is set to `false`
489
- * and `description` is left empty, implying that this BookingPolicy does not have a description.
490
- */
487
+ /** A description of the policy to display to participants. */
491
488
  export interface PolicyDescription {
492
- /** `true` if a policy description should be displayed, otherwise `false`. */
489
+ /**
490
+ * Whether the description should be displayed. If `true`, the description is displayed.
491
+ *
492
+ * Default: `false`
493
+ */
493
494
  enabled?: boolean;
494
- /** Policy description to be displayed */
495
+ /**
496
+ * The description to display.
497
+ *
498
+ * Default: Empty
499
+ * Max length: 1000 characters
500
+ */
495
501
  description?: string;
496
502
  }
497
- /**
498
- * This object specifies the policy for limiting early bookings. By default `enabled` set to `false` and
499
- * `earliest_booking_in_minutes` set to 10080 minutes (7 days).
500
- */
503
+ /** The policy for limiting early bookings. */
501
504
  export interface LimitEarlyBookingPolicy {
502
505
  /**
503
- * `true` if this policy is enabled, otherwise `false`. When not enabled then there is no limit on the earliest
504
- * booking time.
506
+ * Whether there is a limit on how early a customer
507
+ * can book. When `false`, there is no limit on the earliest
508
+ * booking time and customers can book in advance, as early as they like.
509
+ *
510
+ * Default: `false`
505
511
  */
506
512
  enabled?: boolean;
507
513
  /**
508
- * Maximum number of minutes before the start of the entity that a booking can be made. This value must be greater
509
- * than `latest_booking_in_minutes` in `LimitLateBookingPolicy`.
514
+ * Maximum number of minutes before the start of the session that a booking can be made. This value must be greater
515
+ * than `latest_booking_in_minutes` in the `LimitLateBookingPolicy` policy.
516
+ *
517
+ * Default: 10080 minutes (7 days)
518
+ * Min: 1 minute
510
519
  */
511
520
  earliestBookingInMinutes?: number;
512
521
  }
513
522
  /**
514
- * This object specifies the policy for limiting late bookings. By default `enabled` set to `false` and
515
- * `latest_booking_in_minutes` set to 1440 minutes (1 day).
516
- * Note that this policy and `BookAfterStartPolicy` cannot be enabled both at the same time. So if this policy
517
- * is enabled then `BookAfterStartPolicy` must be disabled.
523
+ * The policy for limiting late bookings.
524
+ *
525
+ * This policy and the `BookAfterStartPolicy` policy cannot be enabled at the same time. So if this policy
526
+ * is enabled, `BookAfterStartPolicy` must be disabled.
518
527
  */
519
528
  export interface LimitLateBookingPolicy {
520
529
  /**
521
- * `true` if this policy is enabled, otherwise `false`. When not enabled then there is no limit on the latest
522
- * booking time.
530
+ * Whether there is a limit on how late a customer
531
+ * can book. When `false`, there is no limit on the latest
532
+ * booking time and customers can book up to the last minute.
533
+ *
534
+ * Default: `false`
523
535
  */
524
536
  enabled?: boolean;
525
537
  /**
526
- * Minimum number of minutes before the start of the entity that a booking can be made.
527
- * For a schedule, this is relative to the start time of the next booked entity, excluding past booked entities.
528
- * This value must be less than `earliest_booking_in_minutes` in `LimitEarlyBookingPolicy`.
538
+ * Minimum number of minutes before the start of the session that a booking can be made.
539
+ * For a schedule, this is relative to the start time of the next booked session, excluding past-booked sessions.
540
+ * This value must be less than `earliest_booking_in_minutes` in the `LimitEarlyBookingPolicy` policy.
541
+ *
542
+ * Default: 1440 minutes (1 day)
543
+ * Min: 1 minute
529
544
  */
530
545
  latestBookingInMinutes?: number;
531
546
  }
532
547
  /**
533
- * This object specifies the policy on whether an entity can be booked after the start of the schedule. By default
534
- * `enabled` is set to `false`.
535
- * Note that this policy and `LimitLateBookingPolicy` cannot be enabled both at the same time. So if this policy
536
- * is enabled then `LimitLateBookingPolicy` must be disabled.
548
+ * The policy for whether a session can be booked after the start of the schedule.
549
+ * This policy and `LimitLateBookingPolicy` cannot be enabled at the same time. So if this policy
550
+ * is enabled, the `LimitLateBookingPolicy` policy must be disabled.
537
551
  */
538
552
  export interface BookAfterStartPolicy {
539
- /** `true` if booking is allowed after the start of the schedule, otherwise `false`. */
553
+ /**
554
+ * Whether booking is allowed after the start of the schedule. When `true`,
555
+ * customers can book after the start of the schedule.
556
+ *
557
+ * Default: `false`
558
+ */
540
559
  enabled?: boolean;
541
560
  }
542
- /**
543
- * This object specifies the policy on cancelling a booked entity. By default both `enabled` and
544
- * `limit_latest_cancellation` are set to `false` and `latest_cancellation_in_minutes` is set to 1440 minutes (1 day).
545
- */
561
+ /** The policy for canceling a booked session. */
546
562
  export interface CancellationPolicy {
547
- /** `true` if cancelling a booking is allowed, otherwise `false`. */
563
+ /**
564
+ * Whether canceling a booking is allowed. When `true`, customers
565
+ * can cancel the booking.
566
+ *
567
+ * Default: `false`
568
+ */
548
569
  enabled?: boolean;
549
- /** `true` if there is a limit on the latest cancellation time, otherwise `false`. */
570
+ /**
571
+ * Whether there is a limit on the latest cancellation time. When `true`,
572
+ * a time limit is enforced.
573
+ *
574
+ * Default: `false`
575
+ */
550
576
  limitLatestCancellation?: boolean;
551
- /** Minimum number of minutes before the start of the booked entity that a booking can be cancelled. */
577
+ /**
578
+ * Minimum number of minutes before the start of the booked session that the booking can be canceled.
579
+ *
580
+ * Default: 1440 minutes (1 day)
581
+ * Min: 1 minute
582
+ */
552
583
  latestCancellationInMinutes?: number;
553
584
  }
554
- /**
555
- * This object specifies the policy on rescheduling a booked entity. By default both `enabled` and
556
- * `limit_latest_reschedule` are set to `false` and `latest_reschedule_in_minutes` is set to 1440 minutes (1 day).
557
- */
585
+ /** The policy for rescheduling a booked session. */
558
586
  export interface ReschedulePolicy {
559
- /** `true` if rescheduling a booking is allowed, otherwise `false`. */
587
+ /**
588
+ * Whether rescheduling a booking is allowed. When `true`, customers
589
+ * can reschedule the booking.
590
+ *
591
+ * Default: `false`
592
+ */
560
593
  enabled?: boolean;
561
- /** `true` if there is a limit on the latest reschedule time, otherwise `false`. */
594
+ /**
595
+ * Whether there is a limit on the latest reschedule time. When `true`,
596
+ * a time limit is enforced.
597
+ *
598
+ * Default: `false`
599
+ */
562
600
  limitLatestReschedule?: boolean;
563
- /** Minimum number of minutes before the start of the booked entity that a booking can be rescheduled. */
601
+ /**
602
+ * Minimum number of minutes before the start of the booked session that the booking can be rescheduled.
603
+ *
604
+ * Default: 1440 minutes (1 day)
605
+ * Min: 1 minute
606
+ */
564
607
  latestRescheduleInMinutes?: number;
565
608
  }
566
- /**
567
- * This object specifies the policy for the waitlist. By default `enabled` is set to false
568
- * (indicating that waitlisting is disabled), and both `capacity` and `reservation_time_in_minutes` are set to 10.
569
- */
609
+ /** The policy for the waitlist. */
570
610
  export interface WaitlistPolicy {
571
- /** `true` if the entity has a waitlist, otherwise `false`. */
611
+ /**
612
+ * Whether the session has a waitlist. If `true`, there is a waitlist.
613
+ *
614
+ * Default: `false`
615
+ */
572
616
  enabled?: boolean;
573
- /** Number of spots available in the waitlist. Defaults to 10 spots. */
617
+ /**
618
+ * Number of spots available in the waitlist.
619
+ *
620
+ * Default: 10 spots
621
+ * Min: 1 spot
622
+ */
574
623
  capacity?: number;
575
- /** Amount of time a participant is given to book, once notified that a spot is available. Defaults to 10 minutes. */
624
+ /**
625
+ * Amount of time a participant is given to book, once notified that a spot is available.
626
+ *
627
+ * Default: 10 minutes
628
+ * Min: 1 spot
629
+ */
576
630
  reservationTimeInMinutes?: number;
577
631
  }
578
- /**
579
- * This object specifies the policy for the participants per booking (for example, setting the maximum number
580
- * of participants). By default `enabled` is set to false and `max_participants_per_booking` is set to 1.
581
- */
632
+ /** The policy for the maximum number of participants per booking. */
582
633
  export interface ParticipantsPolicy {
583
- /** `true` if a policy with respect to the participants applies, otherwise `false`. */
634
+ /**
635
+ * Whether the maximum number of participants applies. When `false`, there is
636
+ * no maximum.
637
+ *
638
+ * Default: `false`
639
+ */
584
640
  enabled?: boolean;
585
- /** Maximum number of participants. Defaults to 1 participant. */
641
+ /**
642
+ * Maximum number of participants allowed.
643
+ *
644
+ * Default: 1 participant
645
+ * Min: 1 participant
646
+ */
586
647
  maxParticipantsPerBooking?: number;
587
648
  }
588
649
  export interface Schedule {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAwF5B,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AAkHD,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QA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AAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
1
+ {"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAwF5B,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6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C,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "23e1320309a84adac094d8b2739c8e4d6ebeb80463cb667bd157d4fc"
36
+ "falconPackageHash": "03fe00fb38e38f597c76efc88071a43de248131ffc487137b4fe5874"
37
37
  }