@wix/bookings 1.0.295 → 1.0.296

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 (129) hide show
  1. package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +2 -6
  2. package/build/cjs/src/bookings-availability-v1-slot-availability.types.js +12 -12
  3. package/build/cjs/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
  4. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +2 -6
  5. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +12 -12
  6. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +6 -6
  8. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +12 -39
  9. package/build/cjs/src/bookings-calendar-v1-session.types.js +88 -88
  10. package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
  11. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +14 -40
  12. package/build/cjs/src/bookings-calendar-v1-session.universal.js +88 -88
  13. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  14. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +19 -60
  15. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +141 -141
  16. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
  17. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +19 -59
  18. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +141 -141
  19. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  20. package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +13 -42
  21. package/build/cjs/src/bookings-calendar-v2-session-view.types.js +98 -98
  22. package/build/cjs/src/bookings-calendar-v2-session-view.types.js.map +1 -1
  23. package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +13 -42
  24. package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +98 -98
  25. package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
  26. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +2 -2
  27. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +21 -67
  28. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -148
  29. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
  30. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +22 -67
  31. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +148 -148
  32. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  33. package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +11 -44
  34. package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +76 -76
  35. package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
  36. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -43
  37. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +76 -76
  38. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  39. package/build/cjs/src/bookings-services-v2-service.public.d.ts +9 -9
  40. package/build/cjs/src/bookings-services-v2-service.types.d.ts +27 -83
  41. package/build/cjs/src/bookings-services-v2-service.types.js +190 -190
  42. package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
  43. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +28 -83
  44. package/build/cjs/src/bookings-services-v2-service.universal.js +190 -190
  45. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  46. package/build/cjs/src/bookings-v2-attendance.public.d.ts +1 -1
  47. package/build/cjs/src/bookings-v2-attendance.types.d.ts +2 -11
  48. package/build/cjs/src/bookings-v2-attendance.types.js +11 -11
  49. package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
  50. package/build/cjs/src/bookings-v2-attendance.universal.d.ts +3 -11
  51. package/build/cjs/src/bookings-v2-attendance.universal.js +11 -11
  52. package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
  53. package/build/cjs/src/bookings-v2-booking.types.d.ts +12 -46
  54. package/build/cjs/src/bookings-v2-booking.types.js +85 -85
  55. package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
  56. package/build/cjs/src/bookings-v2-booking.universal.d.ts +12 -45
  57. package/build/cjs/src/bookings-v2-booking.universal.js +85 -85
  58. package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
  59. package/build/cjs/src/bookings-v2-price-info.types.d.ts +9 -37
  60. package/build/cjs/src/bookings-v2-price-info.types.js +65 -65
  61. package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
  62. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +9 -37
  63. package/build/cjs/src/bookings-v2-price-info.universal.js +65 -65
  64. package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
  65. package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +2 -6
  66. package/build/es/src/bookings-availability-v1-slot-availability.types.js +12 -14
  67. package/build/es/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
  68. package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +2 -6
  69. package/build/es/src/bookings-availability-v1-slot-availability.universal.js +12 -14
  70. package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
  71. package/build/es/src/bookings-calendar-v1-session.public.d.ts +6 -6
  72. package/build/es/src/bookings-calendar-v1-session.types.d.ts +12 -39
  73. package/build/es/src/bookings-calendar-v1-session.types.js +88 -100
  74. package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
  75. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +14 -40
  76. package/build/es/src/bookings-calendar-v1-session.universal.js +88 -100
  77. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  78. package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +19 -60
  79. package/build/es/src/bookings-calendar-v2-external-calendar.types.js +141 -160
  80. package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
  81. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +19 -59
  82. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +141 -160
  83. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  84. package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +13 -42
  85. package/build/es/src/bookings-calendar-v2-session-view.types.js +98 -111
  86. package/build/es/src/bookings-calendar-v2-session-view.types.js.map +1 -1
  87. package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +13 -42
  88. package/build/es/src/bookings-calendar-v2-session-view.universal.js +98 -111
  89. package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
  90. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +2 -2
  91. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +21 -67
  92. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +148 -169
  93. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
  94. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +22 -67
  95. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +148 -169
  96. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  97. package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +11 -44
  98. package/build/es/src/bookings-reader-v2-extended-booking.types.js +76 -87
  99. package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
  100. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -43
  101. package/build/es/src/bookings-reader-v2-extended-booking.universal.js +76 -87
  102. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  103. package/build/es/src/bookings-services-v2-service.public.d.ts +9 -9
  104. package/build/es/src/bookings-services-v2-service.types.d.ts +27 -83
  105. package/build/es/src/bookings-services-v2-service.types.js +190 -217
  106. package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
  107. package/build/es/src/bookings-services-v2-service.universal.d.ts +28 -83
  108. package/build/es/src/bookings-services-v2-service.universal.js +190 -217
  109. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  110. package/build/es/src/bookings-v2-attendance.public.d.ts +1 -1
  111. package/build/es/src/bookings-v2-attendance.types.d.ts +2 -11
  112. package/build/es/src/bookings-v2-attendance.types.js +11 -13
  113. package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
  114. package/build/es/src/bookings-v2-attendance.universal.d.ts +3 -11
  115. package/build/es/src/bookings-v2-attendance.universal.js +11 -13
  116. package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
  117. package/build/es/src/bookings-v2-booking.types.d.ts +12 -46
  118. package/build/es/src/bookings-v2-booking.types.js +85 -97
  119. package/build/es/src/bookings-v2-booking.types.js.map +1 -1
  120. package/build/es/src/bookings-v2-booking.universal.d.ts +12 -45
  121. package/build/es/src/bookings-v2-booking.universal.js +85 -97
  122. package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
  123. package/build/es/src/bookings-v2-price-info.types.d.ts +9 -37
  124. package/build/es/src/bookings-v2-price-info.types.js +65 -74
  125. package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
  126. package/build/es/src/bookings-v2-price-info.universal.d.ts +9 -37
  127. package/build/es/src/bookings-v2-price-info.universal.js +65 -74
  128. package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
  129. package/package.json +2 -2
@@ -1,142 +1,142 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ScheduleStatus = exports.RecurringIntervalType = exports.Day = exports.ConferenceType = exports.SessionType = exports.Status = exports.CalendarType = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.Transparency = void 0;
4
- var TransparencyEnum;
5
- (function (TransparencyEnum) {
6
- TransparencyEnum["UNDEFINED"] = "UNDEFINED";
4
+ var Transparency;
5
+ (function (Transparency) {
6
+ Transparency["UNDEFINED"] = "UNDEFINED";
7
7
  /** The schedule can have available slots during the session. */
8
- TransparencyEnum["FREE"] = "FREE";
8
+ Transparency["FREE"] = "FREE";
9
9
  /** The schedule cannot have available slots during the session. Default value. */
10
- TransparencyEnum["BUSY"] = "BUSY";
11
- })(TransparencyEnum || (exports.Transparency = TransparencyEnum = {}));
12
- var LocationTypeEnum;
13
- (function (LocationTypeEnum) {
14
- LocationTypeEnum["UNDEFINED"] = "UNDEFINED";
15
- LocationTypeEnum["OWNER_BUSINESS"] = "OWNER_BUSINESS";
16
- LocationTypeEnum["OWNER_CUSTOM"] = "OWNER_CUSTOM";
17
- LocationTypeEnum["CUSTOM"] = "CUSTOM";
18
- })(LocationTypeEnum || (exports.LocationType = LocationTypeEnum = {}));
10
+ Transparency["BUSY"] = "BUSY";
11
+ })(Transparency || (exports.Transparency = Transparency = {}));
12
+ var LocationType;
13
+ (function (LocationType) {
14
+ LocationType["UNDEFINED"] = "UNDEFINED";
15
+ LocationType["OWNER_BUSINESS"] = "OWNER_BUSINESS";
16
+ LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
17
+ LocationType["CUSTOM"] = "CUSTOM";
18
+ })(LocationType || (exports.LocationType = LocationType = {}));
19
19
  /** For future use */
20
- var LocationStatusEnum;
21
- (function (LocationStatusEnum) {
22
- LocationStatusEnum["ACTIVE"] = "ACTIVE";
23
- LocationStatusEnum["INACTIVE"] = "INACTIVE";
24
- })(LocationStatusEnum || (exports.LocationStatus = LocationStatusEnum = {}));
20
+ var LocationStatus;
21
+ (function (LocationStatus) {
22
+ LocationStatus["ACTIVE"] = "ACTIVE";
23
+ LocationStatus["INACTIVE"] = "INACTIVE";
24
+ })(LocationStatus || (exports.LocationStatus = LocationStatus = {}));
25
25
  /** For future use */
26
- var LocationsLocationTypeEnum;
27
- (function (LocationsLocationTypeEnum) {
28
- LocationsLocationTypeEnum["UNKNOWN"] = "UNKNOWN";
29
- LocationsLocationTypeEnum["BRANCH"] = "BRANCH";
30
- LocationsLocationTypeEnum["OFFICES"] = "OFFICES";
31
- LocationsLocationTypeEnum["RECEPTION"] = "RECEPTION";
32
- LocationsLocationTypeEnum["HEADQUARTERS"] = "HEADQUARTERS";
33
- LocationsLocationTypeEnum["INVENTORY"] = "INVENTORY";
34
- })(LocationsLocationTypeEnum || (exports.LocationsLocationType = LocationsLocationTypeEnum = {}));
26
+ var LocationsLocationType;
27
+ (function (LocationsLocationType) {
28
+ LocationsLocationType["UNKNOWN"] = "UNKNOWN";
29
+ LocationsLocationType["BRANCH"] = "BRANCH";
30
+ LocationsLocationType["OFFICES"] = "OFFICES";
31
+ LocationsLocationType["RECEPTION"] = "RECEPTION";
32
+ LocationsLocationType["HEADQUARTERS"] = "HEADQUARTERS";
33
+ LocationsLocationType["INVENTORY"] = "INVENTORY";
34
+ })(LocationsLocationType || (exports.LocationsLocationType = LocationsLocationType = {}));
35
35
  /** Enumerates the days of the week. */
36
- var DayOfWeekEnum;
37
- (function (DayOfWeekEnum) {
38
- DayOfWeekEnum["MONDAY"] = "MONDAY";
39
- DayOfWeekEnum["TUESDAY"] = "TUESDAY";
40
- DayOfWeekEnum["WEDNESDAY"] = "WEDNESDAY";
41
- DayOfWeekEnum["THURSDAY"] = "THURSDAY";
42
- DayOfWeekEnum["FRIDAY"] = "FRIDAY";
43
- DayOfWeekEnum["SATURDAY"] = "SATURDAY";
44
- DayOfWeekEnum["SUNDAY"] = "SUNDAY";
45
- })(DayOfWeekEnum || (exports.DayOfWeek = DayOfWeekEnum = {}));
46
- var ApprovalStatusEnum;
47
- (function (ApprovalStatusEnum) {
36
+ var DayOfWeek;
37
+ (function (DayOfWeek) {
38
+ DayOfWeek["MONDAY"] = "MONDAY";
39
+ DayOfWeek["TUESDAY"] = "TUESDAY";
40
+ DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
41
+ DayOfWeek["THURSDAY"] = "THURSDAY";
42
+ DayOfWeek["FRIDAY"] = "FRIDAY";
43
+ DayOfWeek["SATURDAY"] = "SATURDAY";
44
+ DayOfWeek["SUNDAY"] = "SUNDAY";
45
+ })(DayOfWeek || (exports.DayOfWeek = DayOfWeek = {}));
46
+ var ApprovalStatus;
47
+ (function (ApprovalStatus) {
48
48
  /** Default. */
49
- ApprovalStatusEnum["UNDEFINED"] = "UNDEFINED";
49
+ ApprovalStatus["UNDEFINED"] = "UNDEFINED";
50
50
  /** Pending business approval. */
51
- ApprovalStatusEnum["PENDING"] = "PENDING";
51
+ ApprovalStatus["PENDING"] = "PENDING";
52
52
  /** Approved by the business. */
53
- ApprovalStatusEnum["APPROVED"] = "APPROVED";
53
+ ApprovalStatus["APPROVED"] = "APPROVED";
54
54
  /** Declined by the business. */
55
- ApprovalStatusEnum["DECLINED"] = "DECLINED";
56
- })(ApprovalStatusEnum || (exports.ApprovalStatus = ApprovalStatusEnum = {}));
57
- var CalendarTypeEnum;
58
- (function (CalendarTypeEnum) {
59
- CalendarTypeEnum["UNDEFINED"] = "UNDEFINED";
60
- CalendarTypeEnum["GOOGLE"] = "GOOGLE";
61
- CalendarTypeEnum["I_CAL"] = "I_CAL";
55
+ ApprovalStatus["DECLINED"] = "DECLINED";
56
+ })(ApprovalStatus || (exports.ApprovalStatus = ApprovalStatus = {}));
57
+ var CalendarType;
58
+ (function (CalendarType) {
59
+ CalendarType["UNDEFINED"] = "UNDEFINED";
60
+ CalendarType["GOOGLE"] = "GOOGLE";
61
+ CalendarType["I_CAL"] = "I_CAL";
62
62
  /** Use `MICROSOFT` instead. */
63
- CalendarTypeEnum["OUTLOOK"] = "OUTLOOK";
63
+ CalendarType["OUTLOOK"] = "OUTLOOK";
64
64
  /** Use `MICROSOFT` instead. */
65
- CalendarTypeEnum["OFFICE_365"] = "OFFICE_365";
66
- CalendarTypeEnum["MICROSOFT"] = "MICROSOFT";
67
- CalendarTypeEnum["OTHER"] = "OTHER";
68
- })(CalendarTypeEnum || (exports.CalendarType = CalendarTypeEnum = {}));
69
- var StatusEnum;
70
- (function (StatusEnum) {
71
- StatusEnum["UNDEFINED"] = "UNDEFINED";
65
+ CalendarType["OFFICE_365"] = "OFFICE_365";
66
+ CalendarType["MICROSOFT"] = "MICROSOFT";
67
+ CalendarType["OTHER"] = "OTHER";
68
+ })(CalendarType || (exports.CalendarType = CalendarType = {}));
69
+ var Status;
70
+ (function (Status) {
71
+ Status["UNDEFINED"] = "UNDEFINED";
72
72
  /** The session is confirmed. Default status. */
73
- StatusEnum["CONFIRMED"] = "CONFIRMED";
73
+ Status["CONFIRMED"] = "CONFIRMED";
74
74
  /**
75
75
  * The session is cancelled.
76
76
  * A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
77
77
  * The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
78
78
  */
79
- StatusEnum["CANCELLED"] = "CANCELLED";
80
- })(StatusEnum || (exports.Status = StatusEnum = {}));
81
- var SessionTypeEnum;
82
- (function (SessionTypeEnum) {
83
- SessionTypeEnum["UNDEFINED"] = "UNDEFINED";
79
+ Status["CANCELLED"] = "CANCELLED";
80
+ })(Status || (exports.Status = Status = {}));
81
+ var SessionType;
82
+ (function (SessionType) {
83
+ SessionType["UNDEFINED"] = "UNDEFINED";
84
84
  /**
85
85
  * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
86
86
  * Default type.
87
87
  */
88
- SessionTypeEnum["EVENT"] = "EVENT";
88
+ SessionType["EVENT"] = "EVENT";
89
89
  /** The session represents a resource's available working hours. */
90
- SessionTypeEnum["WORKING_HOURS"] = "WORKING_HOURS";
90
+ SessionType["WORKING_HOURS"] = "WORKING_HOURS";
91
91
  /** Deprecated. please use WORKING_HOURS */
92
- SessionTypeEnum["TIME_AVAILABILITY"] = "TIME_AVAILABILITY";
92
+ SessionType["TIME_AVAILABILITY"] = "TIME_AVAILABILITY";
93
93
  /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
94
- SessionTypeEnum["AVAILABILITY"] = "AVAILABILITY";
95
- })(SessionTypeEnum || (exports.SessionType = SessionTypeEnum = {}));
96
- var ConferenceTypeEnum;
97
- (function (ConferenceTypeEnum) {
98
- ConferenceTypeEnum["UNDEFINED"] = "UNDEFINED";
94
+ SessionType["AVAILABILITY"] = "AVAILABILITY";
95
+ })(SessionType || (exports.SessionType = SessionType = {}));
96
+ var ConferenceType;
97
+ (function (ConferenceType) {
98
+ ConferenceType["UNDEFINED"] = "UNDEFINED";
99
99
  /** API-generated online meeting. */
100
- ConferenceTypeEnum["ONLINE_MEETING_PROVIDER"] = "ONLINE_MEETING_PROVIDER";
100
+ ConferenceType["ONLINE_MEETING_PROVIDER"] = "ONLINE_MEETING_PROVIDER";
101
101
  /** User-defined meeting. */
102
- ConferenceTypeEnum["CUSTOM"] = "CUSTOM";
103
- })(ConferenceTypeEnum || (exports.ConferenceType = ConferenceTypeEnum = {}));
104
- var DayEnum;
105
- (function (DayEnum) {
102
+ ConferenceType["CUSTOM"] = "CUSTOM";
103
+ })(ConferenceType || (exports.ConferenceType = ConferenceType = {}));
104
+ var Day;
105
+ (function (Day) {
106
106
  /** Undefined. */
107
- DayEnum["UNDEFINED"] = "UNDEFINED";
107
+ Day["UNDEFINED"] = "UNDEFINED";
108
108
  /** Monday. */
109
- DayEnum["MON"] = "MON";
109
+ Day["MON"] = "MON";
110
110
  /** Tuesday. */
111
- DayEnum["TUE"] = "TUE";
111
+ Day["TUE"] = "TUE";
112
112
  /** Wednesday. */
113
- DayEnum["WED"] = "WED";
113
+ Day["WED"] = "WED";
114
114
  /** Thursday. */
115
- DayEnum["THU"] = "THU";
115
+ Day["THU"] = "THU";
116
116
  /** Friday. */
117
- DayEnum["FRI"] = "FRI";
117
+ Day["FRI"] = "FRI";
118
118
  /** Saturday. */
119
- DayEnum["SAT"] = "SAT";
119
+ Day["SAT"] = "SAT";
120
120
  /** Sunday. */
121
- DayEnum["SUN"] = "SUN";
122
- })(DayEnum || (exports.Day = DayEnum = {}));
123
- var RecurringIntervalTypeEnum;
124
- (function (RecurringIntervalTypeEnum) {
121
+ Day["SUN"] = "SUN";
122
+ })(Day || (exports.Day = Day = {}));
123
+ var RecurringIntervalType;
124
+ (function (RecurringIntervalType) {
125
125
  /** The default value. Sessions for this interval will be of type EVENT. */
126
- RecurringIntervalTypeEnum["UNDEFINED"] = "UNDEFINED";
126
+ RecurringIntervalType["UNDEFINED"] = "UNDEFINED";
127
127
  /** A recurring interval of events */
128
- RecurringIntervalTypeEnum["EVENT"] = "EVENT";
128
+ RecurringIntervalType["EVENT"] = "EVENT";
129
129
  /** Deprecated */
130
- RecurringIntervalTypeEnum["TIME_AVAILABILITY"] = "TIME_AVAILABILITY";
130
+ RecurringIntervalType["TIME_AVAILABILITY"] = "TIME_AVAILABILITY";
131
131
  /** A recurring interval for availability */
132
- RecurringIntervalTypeEnum["AVAILABILITY"] = "AVAILABILITY";
133
- })(RecurringIntervalTypeEnum || (exports.RecurringIntervalType = RecurringIntervalTypeEnum = {}));
134
- var ScheduleStatusEnum;
135
- (function (ScheduleStatusEnum) {
136
- ScheduleStatusEnum["UNDEFINED"] = "UNDEFINED";
132
+ RecurringIntervalType["AVAILABILITY"] = "AVAILABILITY";
133
+ })(RecurringIntervalType || (exports.RecurringIntervalType = RecurringIntervalType = {}));
134
+ var ScheduleStatus;
135
+ (function (ScheduleStatus) {
136
+ ScheduleStatus["UNDEFINED"] = "UNDEFINED";
137
137
  /** The default value when the schedule is created. */
138
- ScheduleStatusEnum["CREATED"] = "CREATED";
138
+ ScheduleStatus["CREATED"] = "CREATED";
139
139
  /** The schedule has been canceled. */
140
- ScheduleStatusEnum["CANCELLED"] = "CANCELLED";
141
- })(ScheduleStatusEnum || (exports.ScheduleStatus = ScheduleStatusEnum = {}));
140
+ ScheduleStatus["CANCELLED"] = "CANCELLED";
141
+ })(ScheduleStatus || (exports.ScheduleStatus = ScheduleStatus = {}));
142
142
  //# sourceMappingURL=bookings-calendar-v2-session-view.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-calendar-v2-session-view.types.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.types.ts"],"names":[],"mappings":";;;AA0PA,IAAK,gBAMJ;AAND,WAAK,gBAAgB;IACnB,2CAAuB,CAAA;IACvB,gEAAgE;IAChE,iCAAa,CAAA;IACb,kFAAkF;IAClF,iCAAa,CAAA;AACf,CAAC,EANI,gBAAgB,4BAAhB,gBAAgB,QAMpB;AAqBD,IAAK,gBAKJ;AALD,WAAK,gBAAgB;IACnB,2CAAuB,CAAA;IACvB,qDAAiC,CAAA;IACjC,iDAA6B,CAAA;IAC7B,qCAAiB,CAAA;AACnB,CAAC,EALI,gBAAgB,4BAAhB,gBAAgB,QAKpB;AA4HD,qBAAqB;AACrB,IAAK,kBAGJ;AAHD,WAAK,kBAAkB;IACrB,uCAAiB,CAAA;IACjB,2CAAqB,CAAA;AACvB,CAAC,EAHI,kBAAkB,8BAAlB,kBAAkB,QAGtB;AAOD,qBAAqB;AACrB,IAAK,yBAOJ;AAPD,WAAK,yBAAyB;IAC5B,gDAAmB,CAAA;IACnB,8CAAiB,CAAA;IACjB,gDAAmB,CAAA;IACnB,oDAAuB,CAAA;IACvB,0DAA6B,CAAA;IAC7B,oDAAuB,CAAA;AACzB,CAAC,EAPI,yBAAyB,qCAAzB,yBAAyB,QAO7B;AAwED,uCAAuC;AACvC,IAAK,aAQJ;AARD,WAAK,aAAa;IAChB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EARI,aAAa,yBAAb,aAAa,QAQjB;AA4ED,IAAK,kBASJ;AATD,WAAK,kBAAkB;IACrB,eAAe;IACf,6CAAuB,CAAA;IACvB,iCAAiC;IACjC,yCAAmB,CAAA;IACnB,gCAAgC;IAChC,2CAAqB,CAAA;IACrB,gCAAgC;IAChC,2CAAqB,CAAA;AAC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;AAWD,IAAK,yBASJ;AATD,WAAK,yBAAyB;IAC5B,2EAA2E;IAC3E,oDAAuB,CAAA;IACvB,qCAAqC;IACrC,4CAAe,CAAA;IACf,iBAAiB;IACjB,oEAAuC,CAAA;IACvC,4CAA4C;IAC5C,0DAA6B,CAAA;AAC/B,CAAC,EATI,yBAAyB,qCAAzB,yBAAyB,QAS7B;AA4DD,IAAK,kBAMJ;AAND,WAAK,kBAAkB;IACrB,6CAAuB,CAAA;IACvB,sDAAsD;IACtD,yCAAmB,CAAA;IACnB,sCAAsC;IACtC,6CAAuB,CAAA;AACzB,CAAC,EANI,kBAAkB,8BAAlB,kBAAkB,QAMtB"}
1
+ {"version":3,"file":"bookings-calendar-v2-session-view.types.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.types.ts"],"names":[],"mappings":";;;AA0PA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,gEAAgE;IAChE,6BAAa,CAAA;IACb,kFAAkF;IAClF,6BAAa,CAAA;AACf,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAiBD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAwHD,qBAAqB;AACrB,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAED,qBAAqB;AACrB,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,sDAA6B,CAAA;IAC7B,gDAAuB,CAAA;AACzB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAmED,uCAAuC;AACvC,I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AAc,8BAAd,cAAc,QAMzB;AAyRD,IAAY,GAiBX;AAjBD,WAAY,GAAG;IACb,iBAAiB;IACjB,8BAAuB,CAAA;IACvB,cAAc;IACd,kBAAW,CAAA;IACX,eAAe;IACf,kBAAW,CAAA;IACX,iBAAiB;IACjB,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc;IACd,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc;IACd,kBAAW,CAAA;AACb,CAAC,EAjBW,GAAG,mBAAH,GAAG,QAiBd;AAOD,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,2EAA2E;IAC3E,gDAAuB,CAAA;IACvB,qCAAqC;IACrC,wCAAe,CAAA;IACf,iBAAiB;IACjB,gEAAuC,CAAA;IACvC,4CAA4C;IAC5C,sDAA6B,CAAA;AAC/B,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC;AAwDD,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,sDAAsD;IACtD,qCAAmB,CAAA;IACnB,sCAAsC;IACtC,yCAAuB,CAAA;AACzB,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB"}
@@ -246,15 +246,13 @@ export interface LinkedSchedule {
246
246
  */
247
247
  scheduleOwnerId?: string;
248
248
  }
249
- declare enum TransparencyEnum {
249
+ export declare enum Transparency {
250
250
  UNDEFINED = "UNDEFINED",
251
251
  /** The schedule can have available slots during the session. */
252
252
  FREE = "FREE",
253
253
  /** The schedule cannot have available slots during the session. Default value. */
254
254
  BUSY = "BUSY"
255
255
  }
256
- type Transparency = `${TransparencyEnum}`;
257
- export { TransparencyEnum as Transparency };
258
256
  export interface Location {
259
257
  /**
260
258
  * Location type.
@@ -269,14 +267,12 @@ export interface Location {
269
267
  /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
270
268
  customAddress?: Address;
271
269
  }
272
- declare enum LocationTypeEnum {
270
+ export declare enum LocationType {
273
271
  UNDEFINED = "UNDEFINED",
274
272
  OWNER_BUSINESS = "OWNER_BUSINESS",
275
273
  OWNER_CUSTOM = "OWNER_CUSTOM",
276
274
  CUSTOM = "CUSTOM"
277
275
  }
278
- type LocationType = `${LocationTypeEnum}`;
279
- export { LocationTypeEnum as LocationType };
280
276
  /** Physical address */
281
277
  export interface Address extends AddressStreetOneOf {
282
278
  /** Street name, number and apartment number. */
@@ -390,15 +386,12 @@ export interface LocationsLocation {
390
386
  locationTypes?: LocationsLocationType[];
391
387
  }
392
388
  /** For future use */
393
- declare enum LocationStatusEnum {
389
+ export declare enum LocationStatus {
394
390
  ACTIVE = "ACTIVE",
395
391
  INACTIVE = "INACTIVE"
396
392
  }
397
393
  /** For future use */
398
- type LocationStatus = `${LocationStatusEnum}`;
399
- export { LocationStatusEnum as LocationStatus };
400
- /** For future use */
401
- declare enum LocationsLocationTypeEnum {
394
+ export declare enum LocationsLocationType {
402
395
  UNKNOWN = "UNKNOWN",
403
396
  BRANCH = "BRANCH",
404
397
  OFFICES = "OFFICES",
@@ -406,9 +399,6 @@ declare enum LocationsLocationTypeEnum {
406
399
  HEADQUARTERS = "HEADQUARTERS",
407
400
  INVENTORY = "INVENTORY"
408
401
  }
409
- /** For future use */
410
- type LocationsLocationType = `${LocationsLocationTypeEnum}`;
411
- export { LocationsLocationTypeEnum as LocationsLocationType };
412
402
  export interface LocationsAddress {
413
403
  /** 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
414
404
  country?: string | null;
@@ -468,7 +458,7 @@ export interface TimePeriod {
468
458
  closeTime?: string;
469
459
  }
470
460
  /** Enumerates the days of the week. */
471
- declare enum DayOfWeekEnum {
461
+ export declare enum DayOfWeek {
472
462
  MONDAY = "MONDAY",
473
463
  TUESDAY = "TUESDAY",
474
464
  WEDNESDAY = "WEDNESDAY",
@@ -477,9 +467,6 @@ declare enum DayOfWeekEnum {
477
467
  SATURDAY = "SATURDAY",
478
468
  SUNDAY = "SUNDAY"
479
469
  }
480
- /** Enumerates the days of the week. */
481
- type DayOfWeek = `${DayOfWeekEnum}`;
482
- export { DayOfWeekEnum as DayOfWeek };
483
470
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
484
471
  export interface SpecialHourPeriod {
485
472
  /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
@@ -545,7 +532,7 @@ export interface Participant {
545
532
  */
546
533
  inherited?: boolean;
547
534
  }
548
- declare enum ApprovalStatusEnum {
535
+ export declare enum ApprovalStatus {
549
536
  /** Default. */
550
537
  UNDEFINED = "UNDEFINED",
551
538
  /** Pending business approval. */
@@ -555,13 +542,11 @@ declare enum ApprovalStatusEnum {
555
542
  /** Declined by the business. */
556
543
  DECLINED = "DECLINED"
557
544
  }
558
- type ApprovalStatus = `${ApprovalStatusEnum}`;
559
- export { ApprovalStatusEnum as ApprovalStatus };
560
545
  export interface ExternalCalendarInfo {
561
546
  /** The external calendar type (e.g. Google Calendar, iCal, etc). */
562
547
  calendarType?: CalendarType;
563
548
  }
564
- declare enum CalendarTypeEnum {
549
+ export declare enum CalendarType {
565
550
  UNDEFINED = "UNDEFINED",
566
551
  GOOGLE = "GOOGLE",
567
552
  I_CAL = "I_CAL",
@@ -572,15 +557,13 @@ declare enum CalendarTypeEnum {
572
557
  MICROSOFT = "MICROSOFT",
573
558
  OTHER = "OTHER"
574
559
  }
575
- type CalendarType = `${CalendarTypeEnum}`;
576
- export { CalendarTypeEnum as CalendarType };
577
560
  export interface ExternalCalendarOverrides {
578
561
  /** Synced title of the external calendar event. */
579
562
  title?: string | null;
580
563
  /** Synced description of the external calendar event. */
581
564
  description?: string | null;
582
565
  }
583
- declare enum StatusEnum {
566
+ export declare enum Status {
584
567
  UNDEFINED = "UNDEFINED",
585
568
  /** The session is confirmed. Default status. */
586
569
  CONFIRMED = "CONFIRMED",
@@ -591,9 +574,7 @@ declare enum StatusEnum {
591
574
  */
592
575
  CANCELLED = "CANCELLED"
593
576
  }
594
- type Status = `${StatusEnum}`;
595
- export { StatusEnum as Status };
596
- declare enum SessionTypeEnum {
577
+ export declare enum SessionType {
597
578
  UNDEFINED = "UNDEFINED",
598
579
  /**
599
580
  * The session creates an event on the calendar for the owner of the schedule that the session belongs to.
@@ -607,8 +588,6 @@ declare enum SessionTypeEnum {
607
588
  /** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
608
589
  AVAILABILITY = "AVAILABILITY"
609
590
  }
610
- type SessionType = `${SessionTypeEnum}`;
611
- export { SessionTypeEnum as SessionType };
612
591
  export interface CalendarConference {
613
592
  /** Wix Calendar conference ID. */
614
593
  _id?: string;
@@ -636,15 +615,13 @@ export interface CalendarConference {
636
615
  /** ID of the account owner in the video conferencing service. */
637
616
  accountOwnerId?: string | null;
638
617
  }
639
- declare enum ConferenceTypeEnum {
618
+ export declare enum ConferenceType {
640
619
  UNDEFINED = "UNDEFINED",
641
620
  /** API-generated online meeting. */
642
621
  ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
643
622
  /** User-defined meeting. */
644
623
  CUSTOM = "CUSTOM"
645
624
  }
646
- type ConferenceType = `${ConferenceTypeEnum}`;
647
- export { ConferenceTypeEnum as ConferenceType };
648
625
  export interface SessionVersion {
649
626
  /** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
650
627
  number?: string | null;
@@ -901,7 +878,7 @@ export interface Interval {
901
878
  /** The duration of the interval in minutes. Required. Part of the session end time calculation. minimum: 1, maximum: 86400. */
902
879
  duration?: number;
903
880
  }
904
- declare enum DayEnum {
881
+ export declare enum Day {
905
882
  /** Undefined. */
906
883
  UNDEFINED = "UNDEFINED",
907
884
  /** Monday. */
@@ -919,13 +896,11 @@ declare enum DayEnum {
919
896
  /** Sunday. */
920
897
  SUN = "SUN"
921
898
  }
922
- type Day = `${DayEnum}`;
923
- export { DayEnum as Day };
924
899
  export interface Frequency {
925
900
  /** The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52. */
926
901
  repetition?: number | null;
927
902
  }
928
- declare enum RecurringIntervalTypeEnum {
903
+ export declare enum RecurringIntervalType {
929
904
  /** The default value. Sessions for this interval will be of type EVENT. */
930
905
  UNDEFINED = "UNDEFINED",
931
906
  /** A recurring interval of events */
@@ -935,8 +910,6 @@ declare enum RecurringIntervalTypeEnum {
935
910
  /** A recurring interval for availability */
936
911
  AVAILABILITY = "AVAILABILITY"
937
912
  }
938
- type RecurringIntervalType = `${RecurringIntervalTypeEnum}`;
939
- export { RecurringIntervalTypeEnum as RecurringIntervalType };
940
913
  /**
941
914
  * <!-- Needs updating when recurrence has been tested
942
915
  * Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
@@ -988,15 +961,13 @@ export interface SplitInterval {
988
961
  /** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
989
962
  valueInMinutes?: number | null;
990
963
  }
991
- declare enum ScheduleStatusEnum {
964
+ export declare enum ScheduleStatus {
992
965
  UNDEFINED = "UNDEFINED",
993
966
  /** The default value when the schedule is created. */
994
967
  CREATED = "CREATED",
995
968
  /** The schedule has been canceled. */
996
969
  CANCELLED = "CANCELLED"
997
970
  }
998
- type ScheduleStatus = `${ScheduleStatusEnum}`;
999
- export { ScheduleStatusEnum as ScheduleStatus };
1000
971
  export interface Version {
1001
972
  /** Schedule version number, updated each time the schedule is updated. */
1002
973
  scheduleVersion?: number | null;