@wix/bookings 1.0.488 → 1.0.490
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.490",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/bookings_attendance": "1.0.
|
|
24
|
+
"@wix/bookings_attendance": "1.0.57",
|
|
25
25
|
"@wix/bookings_availability-calendar": "1.0.44",
|
|
26
26
|
"@wix/bookings_availability-time-slots": "1.0.37",
|
|
27
|
-
"@wix/bookings_booking-fees": "1.0.
|
|
27
|
+
"@wix/bookings_booking-fees": "1.0.11",
|
|
28
28
|
"@wix/bookings_booking-policies": "1.0.9",
|
|
29
29
|
"@wix/bookings_booking-policy-snapshots": "1.0.7",
|
|
30
|
-
"@wix/bookings_bookings": "1.0.
|
|
31
|
-
"@wix/bookings_categories": "1.0.
|
|
30
|
+
"@wix/bookings_bookings": "1.0.69",
|
|
31
|
+
"@wix/bookings_categories": "1.0.44",
|
|
32
32
|
"@wix/bookings_extended-bookings": "1.0.57",
|
|
33
33
|
"@wix/bookings_external-calendars": "1.0.41",
|
|
34
34
|
"@wix/bookings_multi-service-availability-time-slots": "1.0.36",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@wix/bookings_service-categories": "1.0.0",
|
|
39
39
|
"@wix/bookings_service-options-and-variants": "1.0.56",
|
|
40
40
|
"@wix/bookings_services": "1.0.80",
|
|
41
|
-
"@wix/bookings_staff-members": "1.0.
|
|
41
|
+
"@wix/bookings_staff-members": "1.0.16"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"glob": "^10.4.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"fqdn": ""
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"falconPackageHash": "
|
|
66
|
+
"falconPackageHash": "a2563365023e70e42243aa4099192184616ab6ba057fd54be0d753d2"
|
|
67
67
|
}
|
|
@@ -7849,21 +7849,10 @@ interface BookingFee {
|
|
|
7849
7849
|
interface CancellationFee {
|
|
7850
7850
|
/** Price the customer must pay. */
|
|
7851
7851
|
price?: Money$3;
|
|
7852
|
-
/**
|
|
7853
|
-
* Status of the booking fee.
|
|
7854
|
-
*
|
|
7855
|
-
* + `UNKNOWN_STATUS`: There is no eCommerce order associated with the booking.
|
|
7856
|
-
* + `PREVIEW`: The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now.
|
|
7857
|
-
* + `NOT_YET_APPLIED_TO_ORDER`: The booking fee hasn't been added to the eCommerce order yet.
|
|
7858
|
-
* + `APPLIED_TO_ORDER`: The booking fee has been added to the eCommerce order. The customer may not have paid it yet.
|
|
7859
|
-
*/
|
|
7852
|
+
/** Status of the booking fee. */
|
|
7860
7853
|
status?: BookingFeeStatus$1;
|
|
7861
7854
|
/**
|
|
7862
7855
|
* Information about what triggered the creation of the booking fee.
|
|
7863
|
-
*
|
|
7864
|
-
* + `UNKNOWN_STATUS`: There is no information about what triggered the creation of the booking fee.
|
|
7865
|
-
* + `NOT_ATTENDED`: The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window.
|
|
7866
|
-
* + `BOOKING_CANCELED`: The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window.
|
|
7867
7856
|
* @readonly
|
|
7868
7857
|
*/
|
|
7869
7858
|
trigger?: Trigger;
|
|
@@ -7884,15 +7873,22 @@ interface Money$3 {
|
|
|
7884
7873
|
formattedValue?: string | null;
|
|
7885
7874
|
}
|
|
7886
7875
|
declare enum BookingFeeStatus$1 {
|
|
7876
|
+
/** There is no eCommerce order associated with the booking. */
|
|
7887
7877
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
7878
|
+
/** The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now. */
|
|
7888
7879
|
PREVIEW = "PREVIEW",
|
|
7880
|
+
/** The booking fee hasn't been added to the eCommerce order yet. */
|
|
7889
7881
|
NOT_YET_APPLIED_TO_ORDER = "NOT_YET_APPLIED_TO_ORDER",
|
|
7882
|
+
/** The booking fee has been added to the eCommerce order. The customer may not have paid it yet. */
|
|
7890
7883
|
APPLIED_TO_ORDER = "APPLIED_TO_ORDER"
|
|
7891
7884
|
}
|
|
7892
|
-
/**
|
|
7885
|
+
/** The domain event that triggered the booking fee calculation. */
|
|
7893
7886
|
declare enum Trigger {
|
|
7887
|
+
/** There is no information about what triggered the creation of the booking fee. */
|
|
7894
7888
|
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
|
|
7889
|
+
/** The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window. */
|
|
7895
7890
|
NOT_ATTENDED = "NOT_ATTENDED",
|
|
7891
|
+
/** The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window. */
|
|
7896
7892
|
BOOKING_CANCELED = "BOOKING_CANCELED"
|
|
7897
7893
|
}
|
|
7898
7894
|
interface PolicyDetails {
|
|
@@ -17475,7 +17471,7 @@ interface Schedule {
|
|
|
17475
17471
|
*/
|
|
17476
17472
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
17477
17473
|
/**
|
|
17478
|
-
* Schedule status.
|
|
17474
|
+
* Schedule status. Default: Created
|
|
17479
17475
|
* @readonly
|
|
17480
17476
|
*/
|
|
17481
17477
|
status?: ScheduleStatus;
|
|
@@ -17531,11 +17527,11 @@ interface RecurringInterval {
|
|
|
17531
17527
|
intervalType?: RecurringIntervalType;
|
|
17532
17528
|
}
|
|
17533
17529
|
interface Interval {
|
|
17534
|
-
/** The day the interval
|
|
17530
|
+
/** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
|
|
17535
17531
|
daysOfWeek?: Day;
|
|
17536
|
-
/** The hour of the day the interval
|
|
17532
|
+
/** The hour of the day the interval occurs. Must be consistent with the interval start time. Optional. The default is 0. Minimum: 0, maximum: 23. */
|
|
17537
17533
|
hourOfDay?: number | null;
|
|
17538
|
-
/** The minutes of hour the interval
|
|
17534
|
+
/** The minutes of the hour the interval accrues. Must be consistent with the interval end time. Optional. The default is 0. Minimum: 0, maximum: 59. */
|
|
17539
17535
|
minuteOfHour?: number | null;
|
|
17540
17536
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. */
|
|
17541
17537
|
duration?: number;
|
|
@@ -17565,11 +17561,7 @@ interface Frequency {
|
|
|
17565
17561
|
interface LinkedSchedule {
|
|
17566
17562
|
/** Schedule ID. */
|
|
17567
17563
|
scheduleId?: string;
|
|
17568
|
-
/**
|
|
17569
|
-
* Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
|
|
17570
|
-
* If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
|
|
17571
|
-
* If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
|
|
17572
|
-
*/
|
|
17564
|
+
/** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
|
|
17573
17565
|
transparency?: Transparency;
|
|
17574
17566
|
/**
|
|
17575
17567
|
* Owner ID, of the linked schedule.
|
|
@@ -17579,19 +17571,19 @@ interface LinkedSchedule {
|
|
|
17579
17571
|
}
|
|
17580
17572
|
declare enum Transparency {
|
|
17581
17573
|
UNDEFINED = "UNDEFINED",
|
|
17582
|
-
/** The schedule can have available slots during the
|
|
17574
|
+
/** The schedule can have available slots during the linked schedule's sessions. */
|
|
17583
17575
|
FREE = "FREE",
|
|
17584
|
-
/** The schedule
|
|
17576
|
+
/** The schedule can't have available slots during the linked schedule's sessions. */
|
|
17585
17577
|
BUSY = "BUSY"
|
|
17586
17578
|
}
|
|
17587
17579
|
declare enum RecurringIntervalType {
|
|
17588
17580
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
17589
17581
|
UNDEFINED = "UNDEFINED",
|
|
17590
|
-
/** A recurring interval of events */
|
|
17582
|
+
/** A recurring interval of events. */
|
|
17591
17583
|
EVENT = "EVENT",
|
|
17592
|
-
/** Deprecated */
|
|
17584
|
+
/** Deprecated. */
|
|
17593
17585
|
TIME_AVAILABILITY = "TIME_AVAILABILITY",
|
|
17594
|
-
/** A recurring interval for availability */
|
|
17586
|
+
/** A recurring interval for availability. */
|
|
17595
17587
|
AVAILABILITY = "AVAILABILITY"
|
|
17596
17588
|
}
|
|
17597
17589
|
interface Location$2 {
|
|
@@ -17942,10 +17934,11 @@ interface ExternalCalendarOverrides {
|
|
|
17942
17934
|
description?: string | null;
|
|
17943
17935
|
}
|
|
17944
17936
|
declare enum ScheduleStatus {
|
|
17937
|
+
/** Undefined schedule status. */
|
|
17945
17938
|
UNDEFINED = "UNDEFINED",
|
|
17946
|
-
/** The
|
|
17939
|
+
/** The schedule was created. */
|
|
17947
17940
|
CREATED = "CREATED",
|
|
17948
|
-
/** The schedule
|
|
17941
|
+
/** The schedule was cancelled. */
|
|
17949
17942
|
CANCELLED = "CANCELLED"
|
|
17950
17943
|
}
|
|
17951
17944
|
interface Version {
|
|
@@ -17979,6 +17972,7 @@ interface CalendarConference {
|
|
|
17979
17972
|
accountOwnerId?: string | null;
|
|
17980
17973
|
}
|
|
17981
17974
|
declare enum ConferenceType {
|
|
17975
|
+
/** Undefined conference type. */
|
|
17982
17976
|
UNDEFINED = "UNDEFINED",
|
|
17983
17977
|
/** API-generated online meeting. */
|
|
17984
17978
|
ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
|
|
@@ -18219,11 +18213,12 @@ declare enum CalendarType {
|
|
|
18219
18213
|
OTHER = "OTHER"
|
|
18220
18214
|
}
|
|
18221
18215
|
declare enum Status$1 {
|
|
18216
|
+
/** Undefined status. */
|
|
18222
18217
|
UNDEFINED = "UNDEFINED",
|
|
18223
|
-
/**
|
|
18218
|
+
/** Session is confirmed. Default status. */
|
|
18224
18219
|
CONFIRMED = "CONFIRMED",
|
|
18225
18220
|
/**
|
|
18226
|
-
*
|
|
18221
|
+
* Session is cancelled.
|
|
18227
18222
|
* A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
|
|
18228
18223
|
* The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
|
|
18229
18224
|
*/
|
|
@@ -18232,15 +18227,15 @@ declare enum Status$1 {
|
|
|
18232
18227
|
declare enum SessionType {
|
|
18233
18228
|
UNDEFINED = "UNDEFINED",
|
|
18234
18229
|
/**
|
|
18235
|
-
*
|
|
18230
|
+
* Creates an event on the calendar for the owner of the schedule that the session belongs to.
|
|
18236
18231
|
* Default type.
|
|
18237
18232
|
*/
|
|
18238
18233
|
EVENT = "EVENT",
|
|
18239
|
-
/**
|
|
18234
|
+
/** Represents a resource's available working hours. */
|
|
18240
18235
|
WORKING_HOURS = "WORKING_HOURS",
|
|
18241
|
-
/** Deprecated.
|
|
18236
|
+
/** Deprecated. Please use WORKING_HOURS. */
|
|
18242
18237
|
TIME_AVAILABILITY = "TIME_AVAILABILITY",
|
|
18243
|
-
/** Deprecated.
|
|
18238
|
+
/** Deprecated. Represents a resource's available hours. Please use WORKING_HOURS. */
|
|
18244
18239
|
AVAILABILITY = "AVAILABILITY"
|
|
18245
18240
|
}
|
|
18246
18241
|
interface SessionVersion {
|
|
@@ -20856,9 +20851,9 @@ interface Category {
|
|
|
20856
20851
|
sortOrder?: number | null;
|
|
20857
20852
|
}
|
|
20858
20853
|
declare enum Status {
|
|
20859
|
-
/** The category
|
|
20854
|
+
/** The category was created. */
|
|
20860
20855
|
CREATED = "CREATED",
|
|
20861
|
-
/** The category
|
|
20856
|
+
/** The category was deleted. */
|
|
20862
20857
|
DELETED = "DELETED"
|
|
20863
20858
|
}
|
|
20864
20859
|
interface ListCategoryRequest {
|
|
@@ -21125,13 +21120,7 @@ interface Attendance {
|
|
|
21125
21120
|
bookingId?: string | null;
|
|
21126
21121
|
/** Corresponding session ID. */
|
|
21127
21122
|
sessionId?: string | null;
|
|
21128
|
-
/**
|
|
21129
|
-
* Status indicating if any participants attended the session:
|
|
21130
|
-
*
|
|
21131
|
-
* + `NOT_SET`: There is no available attendance information.
|
|
21132
|
-
* + `ATTENDED`: At least a single participant attended the session.
|
|
21133
|
-
* + `NOT_ATTENDED`: No participants attended the session.
|
|
21134
|
-
*/
|
|
21123
|
+
/** Status indicating if any participants attended the session. */
|
|
21135
21124
|
status?: AttendanceStatus;
|
|
21136
21125
|
/**
|
|
21137
21126
|
* Total number of participants that attended the session. By default, the number
|
|
@@ -21145,8 +21134,11 @@ interface Attendance {
|
|
|
21145
21134
|
numberOfAttendees?: number;
|
|
21146
21135
|
}
|
|
21147
21136
|
declare enum AttendanceStatus {
|
|
21137
|
+
/** There is no available attendance information. */
|
|
21148
21138
|
NOT_SET = "NOT_SET",
|
|
21139
|
+
/** At least a single participant attended the session. */
|
|
21149
21140
|
ATTENDED = "ATTENDED",
|
|
21141
|
+
/** No participants attended the session. */
|
|
21150
21142
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
21151
21143
|
}
|
|
21152
21144
|
interface GetAttendanceRequest {
|
|
@@ -7849,21 +7849,10 @@ interface BookingFee {
|
|
|
7849
7849
|
interface CancellationFee {
|
|
7850
7850
|
/** Price the customer must pay. */
|
|
7851
7851
|
price?: Money$3;
|
|
7852
|
-
/**
|
|
7853
|
-
* Status of the booking fee.
|
|
7854
|
-
*
|
|
7855
|
-
* + `UNKNOWN_STATUS`: There is no eCommerce order associated with the booking.
|
|
7856
|
-
* + `PREVIEW`: The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now.
|
|
7857
|
-
* + `NOT_YET_APPLIED_TO_ORDER`: The booking fee hasn't been added to the eCommerce order yet.
|
|
7858
|
-
* + `APPLIED_TO_ORDER`: The booking fee has been added to the eCommerce order. The customer may not have paid it yet.
|
|
7859
|
-
*/
|
|
7852
|
+
/** Status of the booking fee. */
|
|
7860
7853
|
status?: BookingFeeStatus$1;
|
|
7861
7854
|
/**
|
|
7862
7855
|
* Information about what triggered the creation of the booking fee.
|
|
7863
|
-
*
|
|
7864
|
-
* + `UNKNOWN_STATUS`: There is no information about what triggered the creation of the booking fee.
|
|
7865
|
-
* + `NOT_ATTENDED`: The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window.
|
|
7866
|
-
* + `BOOKING_CANCELED`: The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window.
|
|
7867
7856
|
* @readonly
|
|
7868
7857
|
*/
|
|
7869
7858
|
trigger?: Trigger;
|
|
@@ -7884,15 +7873,22 @@ interface Money$3 {
|
|
|
7884
7873
|
formattedValue?: string | null;
|
|
7885
7874
|
}
|
|
7886
7875
|
declare enum BookingFeeStatus$1 {
|
|
7876
|
+
/** There is no eCommerce order associated with the booking. */
|
|
7887
7877
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
7878
|
+
/** The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now. */
|
|
7888
7879
|
PREVIEW = "PREVIEW",
|
|
7880
|
+
/** The booking fee hasn't been added to the eCommerce order yet. */
|
|
7889
7881
|
NOT_YET_APPLIED_TO_ORDER = "NOT_YET_APPLIED_TO_ORDER",
|
|
7882
|
+
/** The booking fee has been added to the eCommerce order. The customer may not have paid it yet. */
|
|
7890
7883
|
APPLIED_TO_ORDER = "APPLIED_TO_ORDER"
|
|
7891
7884
|
}
|
|
7892
|
-
/**
|
|
7885
|
+
/** The domain event that triggered the booking fee calculation. */
|
|
7893
7886
|
declare enum Trigger {
|
|
7887
|
+
/** There is no information about what triggered the creation of the booking fee. */
|
|
7894
7888
|
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
|
|
7889
|
+
/** The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window. */
|
|
7895
7890
|
NOT_ATTENDED = "NOT_ATTENDED",
|
|
7891
|
+
/** The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window. */
|
|
7896
7892
|
BOOKING_CANCELED = "BOOKING_CANCELED"
|
|
7897
7893
|
}
|
|
7898
7894
|
interface PolicyDetails {
|
|
@@ -17475,7 +17471,7 @@ interface Schedule {
|
|
|
17475
17471
|
*/
|
|
17476
17472
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
17477
17473
|
/**
|
|
17478
|
-
* Schedule status.
|
|
17474
|
+
* Schedule status. Default: Created
|
|
17479
17475
|
* @readonly
|
|
17480
17476
|
*/
|
|
17481
17477
|
status?: ScheduleStatus;
|
|
@@ -17531,11 +17527,11 @@ interface RecurringInterval {
|
|
|
17531
17527
|
intervalType?: RecurringIntervalType;
|
|
17532
17528
|
}
|
|
17533
17529
|
interface Interval {
|
|
17534
|
-
/** The day the interval
|
|
17530
|
+
/** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
|
|
17535
17531
|
daysOfWeek?: Day;
|
|
17536
|
-
/** The hour of the day the interval
|
|
17532
|
+
/** The hour of the day the interval occurs. Must be consistent with the interval start time. Optional. The default is 0. Minimum: 0, maximum: 23. */
|
|
17537
17533
|
hourOfDay?: number | null;
|
|
17538
|
-
/** The minutes of hour the interval
|
|
17534
|
+
/** The minutes of the hour the interval accrues. Must be consistent with the interval end time. Optional. The default is 0. Minimum: 0, maximum: 59. */
|
|
17539
17535
|
minuteOfHour?: number | null;
|
|
17540
17536
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. */
|
|
17541
17537
|
duration?: number;
|
|
@@ -17565,11 +17561,7 @@ interface Frequency {
|
|
|
17565
17561
|
interface LinkedSchedule {
|
|
17566
17562
|
/** Schedule ID. */
|
|
17567
17563
|
scheduleId?: string;
|
|
17568
|
-
/**
|
|
17569
|
-
* Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`.
|
|
17570
|
-
* If set to `"BUSY"`, this schedule cannot have any available slots during the linked schedule's sessions.
|
|
17571
|
-
* If set to `"FREE"`, this schedule can have available slots during the linked schedule's sessions.
|
|
17572
|
-
*/
|
|
17564
|
+
/** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
|
|
17573
17565
|
transparency?: Transparency;
|
|
17574
17566
|
/**
|
|
17575
17567
|
* Owner ID, of the linked schedule.
|
|
@@ -17579,19 +17571,19 @@ interface LinkedSchedule {
|
|
|
17579
17571
|
}
|
|
17580
17572
|
declare enum Transparency {
|
|
17581
17573
|
UNDEFINED = "UNDEFINED",
|
|
17582
|
-
/** The schedule can have available slots during the
|
|
17574
|
+
/** The schedule can have available slots during the linked schedule's sessions. */
|
|
17583
17575
|
FREE = "FREE",
|
|
17584
|
-
/** The schedule
|
|
17576
|
+
/** The schedule can't have available slots during the linked schedule's sessions. */
|
|
17585
17577
|
BUSY = "BUSY"
|
|
17586
17578
|
}
|
|
17587
17579
|
declare enum RecurringIntervalType {
|
|
17588
17580
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
17589
17581
|
UNDEFINED = "UNDEFINED",
|
|
17590
|
-
/** A recurring interval of events */
|
|
17582
|
+
/** A recurring interval of events. */
|
|
17591
17583
|
EVENT = "EVENT",
|
|
17592
|
-
/** Deprecated */
|
|
17584
|
+
/** Deprecated. */
|
|
17593
17585
|
TIME_AVAILABILITY = "TIME_AVAILABILITY",
|
|
17594
|
-
/** A recurring interval for availability */
|
|
17586
|
+
/** A recurring interval for availability. */
|
|
17595
17587
|
AVAILABILITY = "AVAILABILITY"
|
|
17596
17588
|
}
|
|
17597
17589
|
interface Location$2 {
|
|
@@ -17942,10 +17934,11 @@ interface ExternalCalendarOverrides {
|
|
|
17942
17934
|
description?: string | null;
|
|
17943
17935
|
}
|
|
17944
17936
|
declare enum ScheduleStatus {
|
|
17937
|
+
/** Undefined schedule status. */
|
|
17945
17938
|
UNDEFINED = "UNDEFINED",
|
|
17946
|
-
/** The
|
|
17939
|
+
/** The schedule was created. */
|
|
17947
17940
|
CREATED = "CREATED",
|
|
17948
|
-
/** The schedule
|
|
17941
|
+
/** The schedule was cancelled. */
|
|
17949
17942
|
CANCELLED = "CANCELLED"
|
|
17950
17943
|
}
|
|
17951
17944
|
interface Version {
|
|
@@ -17979,6 +17972,7 @@ interface CalendarConference {
|
|
|
17979
17972
|
accountOwnerId?: string | null;
|
|
17980
17973
|
}
|
|
17981
17974
|
declare enum ConferenceType {
|
|
17975
|
+
/** Undefined conference type. */
|
|
17982
17976
|
UNDEFINED = "UNDEFINED",
|
|
17983
17977
|
/** API-generated online meeting. */
|
|
17984
17978
|
ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
|
|
@@ -18219,11 +18213,12 @@ declare enum CalendarType {
|
|
|
18219
18213
|
OTHER = "OTHER"
|
|
18220
18214
|
}
|
|
18221
18215
|
declare enum Status$1 {
|
|
18216
|
+
/** Undefined status. */
|
|
18222
18217
|
UNDEFINED = "UNDEFINED",
|
|
18223
|
-
/**
|
|
18218
|
+
/** Session is confirmed. Default status. */
|
|
18224
18219
|
CONFIRMED = "CONFIRMED",
|
|
18225
18220
|
/**
|
|
18226
|
-
*
|
|
18221
|
+
* Session is cancelled.
|
|
18227
18222
|
* A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
|
|
18228
18223
|
* The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
|
|
18229
18224
|
*/
|
|
@@ -18232,15 +18227,15 @@ declare enum Status$1 {
|
|
|
18232
18227
|
declare enum SessionType {
|
|
18233
18228
|
UNDEFINED = "UNDEFINED",
|
|
18234
18229
|
/**
|
|
18235
|
-
*
|
|
18230
|
+
* Creates an event on the calendar for the owner of the schedule that the session belongs to.
|
|
18236
18231
|
* Default type.
|
|
18237
18232
|
*/
|
|
18238
18233
|
EVENT = "EVENT",
|
|
18239
|
-
/**
|
|
18234
|
+
/** Represents a resource's available working hours. */
|
|
18240
18235
|
WORKING_HOURS = "WORKING_HOURS",
|
|
18241
|
-
/** Deprecated.
|
|
18236
|
+
/** Deprecated. Please use WORKING_HOURS. */
|
|
18242
18237
|
TIME_AVAILABILITY = "TIME_AVAILABILITY",
|
|
18243
|
-
/** Deprecated.
|
|
18238
|
+
/** Deprecated. Represents a resource's available hours. Please use WORKING_HOURS. */
|
|
18244
18239
|
AVAILABILITY = "AVAILABILITY"
|
|
18245
18240
|
}
|
|
18246
18241
|
interface SessionVersion {
|
|
@@ -20856,9 +20851,9 @@ interface Category {
|
|
|
20856
20851
|
sortOrder?: number | null;
|
|
20857
20852
|
}
|
|
20858
20853
|
declare enum Status {
|
|
20859
|
-
/** The category
|
|
20854
|
+
/** The category was created. */
|
|
20860
20855
|
CREATED = "CREATED",
|
|
20861
|
-
/** The category
|
|
20856
|
+
/** The category was deleted. */
|
|
20862
20857
|
DELETED = "DELETED"
|
|
20863
20858
|
}
|
|
20864
20859
|
interface ListCategoryRequest {
|
|
@@ -21125,13 +21120,7 @@ interface Attendance {
|
|
|
21125
21120
|
bookingId?: string | null;
|
|
21126
21121
|
/** Corresponding session ID. */
|
|
21127
21122
|
sessionId?: string | null;
|
|
21128
|
-
/**
|
|
21129
|
-
* Status indicating if any participants attended the session:
|
|
21130
|
-
*
|
|
21131
|
-
* + `NOT_SET`: There is no available attendance information.
|
|
21132
|
-
* + `ATTENDED`: At least a single participant attended the session.
|
|
21133
|
-
* + `NOT_ATTENDED`: No participants attended the session.
|
|
21134
|
-
*/
|
|
21123
|
+
/** Status indicating if any participants attended the session. */
|
|
21135
21124
|
status?: AttendanceStatus;
|
|
21136
21125
|
/**
|
|
21137
21126
|
* Total number of participants that attended the session. By default, the number
|
|
@@ -21145,8 +21134,11 @@ interface Attendance {
|
|
|
21145
21134
|
numberOfAttendees?: number;
|
|
21146
21135
|
}
|
|
21147
21136
|
declare enum AttendanceStatus {
|
|
21137
|
+
/** There is no available attendance information. */
|
|
21148
21138
|
NOT_SET = "NOT_SET",
|
|
21139
|
+
/** At least a single participant attended the session. */
|
|
21149
21140
|
ATTENDED = "ATTENDED",
|
|
21141
|
+
/** No participants attended the session. */
|
|
21150
21142
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
21151
21143
|
}
|
|
21152
21144
|
interface GetAttendanceRequest {
|
|
@@ -4547,21 +4547,10 @@ interface BookingFee$1 {
|
|
|
4547
4547
|
interface CancellationFee$1 {
|
|
4548
4548
|
/** Price the customer must pay. */
|
|
4549
4549
|
price?: Money$7;
|
|
4550
|
-
/**
|
|
4551
|
-
* Status of the booking fee.
|
|
4552
|
-
*
|
|
4553
|
-
* + `UNKNOWN_STATUS`: There is no eCommerce order associated with the booking.
|
|
4554
|
-
* + `PREVIEW`: The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now.
|
|
4555
|
-
* + `NOT_YET_APPLIED_TO_ORDER`: The booking fee hasn't been added to the eCommerce order yet.
|
|
4556
|
-
* + `APPLIED_TO_ORDER`: The booking fee has been added to the eCommerce order. The customer may not have paid it yet.
|
|
4557
|
-
*/
|
|
4550
|
+
/** Status of the booking fee. */
|
|
4558
4551
|
status?: BookingFeeStatus$3;
|
|
4559
4552
|
/**
|
|
4560
4553
|
* Information about what triggered the creation of the booking fee.
|
|
4561
|
-
*
|
|
4562
|
-
* + `UNKNOWN_STATUS`: There is no information about what triggered the creation of the booking fee.
|
|
4563
|
-
* + `NOT_ATTENDED`: The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window.
|
|
4564
|
-
* + `BOOKING_CANCELED`: The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window.
|
|
4565
4554
|
* @readonly
|
|
4566
4555
|
*/
|
|
4567
4556
|
trigger?: Trigger$1;
|
|
@@ -4582,15 +4571,22 @@ interface Money$7 {
|
|
|
4582
4571
|
formattedValue?: string | null;
|
|
4583
4572
|
}
|
|
4584
4573
|
declare enum BookingFeeStatus$3 {
|
|
4574
|
+
/** There is no eCommerce order associated with the booking. */
|
|
4585
4575
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
4576
|
+
/** The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now. */
|
|
4586
4577
|
PREVIEW = "PREVIEW",
|
|
4578
|
+
/** The booking fee hasn't been added to the eCommerce order yet. */
|
|
4587
4579
|
NOT_YET_APPLIED_TO_ORDER = "NOT_YET_APPLIED_TO_ORDER",
|
|
4580
|
+
/** The booking fee has been added to the eCommerce order. The customer may not have paid it yet. */
|
|
4588
4581
|
APPLIED_TO_ORDER = "APPLIED_TO_ORDER"
|
|
4589
4582
|
}
|
|
4590
|
-
/**
|
|
4583
|
+
/** The domain event that triggered the booking fee calculation. */
|
|
4591
4584
|
declare enum Trigger$1 {
|
|
4585
|
+
/** There is no information about what triggered the creation of the booking fee. */
|
|
4592
4586
|
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
|
|
4587
|
+
/** The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window. */
|
|
4593
4588
|
NOT_ATTENDED = "NOT_ATTENDED",
|
|
4589
|
+
/** The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window. */
|
|
4594
4590
|
BOOKING_CANCELED = "BOOKING_CANCELED"
|
|
4595
4591
|
}
|
|
4596
4592
|
interface PolicyDetails$1 {
|
|
@@ -4750,21 +4746,10 @@ interface BookingFee {
|
|
|
4750
4746
|
interface CancellationFee {
|
|
4751
4747
|
/** Price the customer must pay. */
|
|
4752
4748
|
price?: Money$6;
|
|
4753
|
-
/**
|
|
4754
|
-
* Status of the booking fee.
|
|
4755
|
-
*
|
|
4756
|
-
* + `UNKNOWN_STATUS`: There is no eCommerce order associated with the booking.
|
|
4757
|
-
* + `PREVIEW`: The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now.
|
|
4758
|
-
* + `NOT_YET_APPLIED_TO_ORDER`: The booking fee hasn't been added to the eCommerce order yet.
|
|
4759
|
-
* + `APPLIED_TO_ORDER`: The booking fee has been added to the eCommerce order. The customer may not have paid it yet.
|
|
4760
|
-
*/
|
|
4749
|
+
/** Status of the booking fee. */
|
|
4761
4750
|
status?: BookingFeeStatus$2;
|
|
4762
4751
|
/**
|
|
4763
4752
|
* Information about what triggered the creation of the booking fee.
|
|
4764
|
-
*
|
|
4765
|
-
* + `UNKNOWN_STATUS`: There is no information about what triggered the creation of the booking fee.
|
|
4766
|
-
* + `NOT_ATTENDED`: The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window.
|
|
4767
|
-
* + `BOOKING_CANCELED`: The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window.
|
|
4768
4753
|
* @readonly
|
|
4769
4754
|
*/
|
|
4770
4755
|
trigger?: Trigger;
|
|
@@ -4785,15 +4770,22 @@ interface Money$6 {
|
|
|
4785
4770
|
formattedValue?: string | null;
|
|
4786
4771
|
}
|
|
4787
4772
|
declare enum BookingFeeStatus$2 {
|
|
4773
|
+
/** There is no eCommerce order associated with the booking. */
|
|
4788
4774
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
4775
|
+
/** The fee is informational only; the customer doesn't have to pay it. For example, it shows how much the customer would owe if they canceled the booking now. */
|
|
4789
4776
|
PREVIEW = "PREVIEW",
|
|
4777
|
+
/** The booking fee hasn't been added to the eCommerce order yet. */
|
|
4790
4778
|
NOT_YET_APPLIED_TO_ORDER = "NOT_YET_APPLIED_TO_ORDER",
|
|
4779
|
+
/** The booking fee has been added to the eCommerce order. The customer may not have paid it yet. */
|
|
4791
4780
|
APPLIED_TO_ORDER = "APPLIED_TO_ORDER"
|
|
4792
4781
|
}
|
|
4793
|
-
/**
|
|
4782
|
+
/** The domain event that triggered the booking fee calculation. */
|
|
4794
4783
|
declare enum Trigger {
|
|
4784
|
+
/** There is no information about what triggered the creation of the booking fee. */
|
|
4795
4785
|
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
|
|
4786
|
+
/** The booking fee was created because the customer didn't show up to the booking or canceled after the expiration of the last cancellation window. */
|
|
4796
4787
|
NOT_ATTENDED = "NOT_ATTENDED",
|
|
4788
|
+
/** The booking fee was created because the customer canceled the booking before the expiration of the last cancellation window. */
|
|
4797
4789
|
BOOKING_CANCELED = "BOOKING_CANCELED"
|
|
4798
4790
|
}
|
|
4799
4791
|
interface PolicyDetails {
|
|
@@ -14937,10 +14929,6 @@ interface Category$1 {
|
|
|
14937
14929
|
/**
|
|
14938
14930
|
* Category status.
|
|
14939
14931
|
*
|
|
14940
|
-
* Supported values:
|
|
14941
|
-
* - `"CREATED"`: The category is created.
|
|
14942
|
-
* - `"DELETED"`: The category is deleted.
|
|
14943
|
-
*
|
|
14944
14932
|
* Default: `"CREATED"`
|
|
14945
14933
|
* @readonly
|
|
14946
14934
|
*/
|
|
@@ -14949,9 +14937,9 @@ interface Category$1 {
|
|
|
14949
14937
|
sortOrder?: number | null;
|
|
14950
14938
|
}
|
|
14951
14939
|
declare enum Status$1 {
|
|
14952
|
-
/** The category
|
|
14940
|
+
/** The category was created. */
|
|
14953
14941
|
CREATED = "CREATED",
|
|
14954
|
-
/** The category
|
|
14942
|
+
/** The category was deleted. */
|
|
14955
14943
|
DELETED = "DELETED"
|
|
14956
14944
|
}
|
|
14957
14945
|
interface ListCategoryRequest$1 {
|
|
@@ -15027,9 +15015,9 @@ interface Category {
|
|
|
15027
15015
|
sortOrder?: number | null;
|
|
15028
15016
|
}
|
|
15029
15017
|
declare enum Status {
|
|
15030
|
-
/** The category
|
|
15018
|
+
/** The category was created. */
|
|
15031
15019
|
CREATED = "CREATED",
|
|
15032
|
-
/** The category
|
|
15020
|
+
/** The category was deleted. */
|
|
15033
15021
|
DELETED = "DELETED"
|
|
15034
15022
|
}
|
|
15035
15023
|
interface ListCategoryRequest {
|
|
@@ -15131,13 +15119,7 @@ interface Attendance$1 {
|
|
|
15131
15119
|
bookingId?: string | null;
|
|
15132
15120
|
/** Corresponding session ID. */
|
|
15133
15121
|
sessionId?: string | null;
|
|
15134
|
-
/**
|
|
15135
|
-
* Status indicating if any participants attended the session:
|
|
15136
|
-
*
|
|
15137
|
-
* + `NOT_SET`: There is no available attendance information.
|
|
15138
|
-
* + `ATTENDED`: At least a single participant attended the session.
|
|
15139
|
-
* + `NOT_ATTENDED`: No participants attended the session.
|
|
15140
|
-
*/
|
|
15122
|
+
/** Status indicating if any participants attended the session. */
|
|
15141
15123
|
status?: AttendanceStatus$1;
|
|
15142
15124
|
/**
|
|
15143
15125
|
* Total number of participants that attended the session. By default, the number
|
|
@@ -15151,8 +15133,11 @@ interface Attendance$1 {
|
|
|
15151
15133
|
numberOfAttendees?: number;
|
|
15152
15134
|
}
|
|
15153
15135
|
declare enum AttendanceStatus$1 {
|
|
15136
|
+
/** There is no available attendance information. */
|
|
15154
15137
|
NOT_SET = "NOT_SET",
|
|
15138
|
+
/** At least a single participant attended the session. */
|
|
15155
15139
|
ATTENDED = "ATTENDED",
|
|
15140
|
+
/** No participants attended the session. */
|
|
15156
15141
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
15157
15142
|
}
|
|
15158
15143
|
interface GetAttendanceRequest$1 {
|
|
@@ -15376,13 +15361,7 @@ interface Attendance {
|
|
|
15376
15361
|
bookingId?: string | null;
|
|
15377
15362
|
/** Corresponding session ID. */
|
|
15378
15363
|
sessionId?: string | null;
|
|
15379
|
-
/**
|
|
15380
|
-
* Status indicating if any participants attended the session:
|
|
15381
|
-
*
|
|
15382
|
-
* + `NOT_SET`: There is no available attendance information.
|
|
15383
|
-
* + `ATTENDED`: At least a single participant attended the session.
|
|
15384
|
-
* + `NOT_ATTENDED`: No participants attended the session.
|
|
15385
|
-
*/
|
|
15364
|
+
/** Status indicating if any participants attended the session. */
|
|
15386
15365
|
status?: AttendanceStatus;
|
|
15387
15366
|
/**
|
|
15388
15367
|
* Total number of participants that attended the session. By default, the number
|
|
@@ -15396,8 +15375,11 @@ interface Attendance {
|
|
|
15396
15375
|
numberOfAttendees?: number;
|
|
15397
15376
|
}
|
|
15398
15377
|
declare enum AttendanceStatus {
|
|
15378
|
+
/** There is no available attendance information. */
|
|
15399
15379
|
NOT_SET = "NOT_SET",
|
|
15380
|
+
/** At least a single participant attended the session. */
|
|
15400
15381
|
ATTENDED = "ATTENDED",
|
|
15382
|
+
/** No participants attended the session. */
|
|
15401
15383
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
15402
15384
|
}
|
|
15403
15385
|
interface GetAttendanceRequest {
|