@wix/bookings 1.0.157 → 1.0.158
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/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +47 -134
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +47 -134
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +6 -6
- package/build/cjs/src/bookings-catalog-v1-resource.public.js +13 -13
- package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +44 -139
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +56 -147
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.http.d.ts +13 -10
- package/build/cjs/src/bookings-v2-attendance.http.js +16 -9
- package/build/cjs/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +13 -5
- package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +25 -14
- package/build/cjs/src/bookings-v2-attendance.universal.js +12 -9
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.http.d.ts +47 -134
- package/build/es/src/bookings-catalog-v1-resource.http.js +47 -134
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +6 -6
- package/build/es/src/bookings-catalog-v1-resource.public.js +9 -9
- package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +44 -139
- package/build/es/src/bookings-catalog-v1-resource.universal.js +51 -142
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.http.d.ts +13 -10
- package/build/es/src/bookings-v2-attendance.http.js +16 -9
- package/build/es/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.types.d.ts +13 -5
- package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +25 -14
- package/build/es/src/bookings-v2-attendance.universal.js +12 -9
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-catalog-v1-resource.universal.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,4GAA8F;AAE9F,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;AAEY,QAAA,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;AAsL5B,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,CAA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W,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;aACN,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AAlDD,0BAkDC"}
|
|
1
|
+
{"version":3,"file":"bookings-catalog-v1-resource.universal.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,4GAA8F;AAE9F,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;AAEY,QAAA,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;AA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AC,CAAC;QAE3C,MAAM,OAAO,GAAG,sCAAsC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,mCAAmC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE/D,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;aACN,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AAlDD,0BAkDC"}
|
|
@@ -4,16 +4,16 @@ import { GetAttendanceRequest, GetAttendanceResponse, QueryAttendanceRequest, Qu
|
|
|
4
4
|
export declare function getAttendance(payload: GetAttendanceRequest): RequestOptionsFactory<GetAttendanceResponse>;
|
|
5
5
|
/**
|
|
6
6
|
* Sets information about whether a booking's session was attended. This information
|
|
7
|
-
* is saved in an `
|
|
7
|
+
* is saved in an `Attendance` object.
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
|
-
* If attendance was already set, meaning the `
|
|
11
|
-
* existing attendance information is updated. Otherwise, a new `
|
|
10
|
+
* If attendance was already set, meaning the `Attendance` object already exists, the
|
|
11
|
+
* existing attendance information is updated. Otherwise, a new `Attendance` object
|
|
12
12
|
* is created.
|
|
13
13
|
*
|
|
14
14
|
* By default, the number
|
|
15
15
|
* of attendees is set to `1`, but you can set a number to greater than `1` if multiple
|
|
16
|
-
* participants
|
|
16
|
+
* participants attended. Do not set to `0` to indicate that no one attended the session.
|
|
17
17
|
* Instead, set the `status` field to `NOT_ATTENDED`.
|
|
18
18
|
*
|
|
19
19
|
* > __Note:__ Make sure your code validates that:
|
|
@@ -26,12 +26,15 @@ export declare function setAttendance(payload: SetAttendanceRequest): RequestOpt
|
|
|
26
26
|
*
|
|
27
27
|
*
|
|
28
28
|
* When querying attendance information, you can query from the perspective of:
|
|
29
|
-
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
29
|
+
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
30
|
+
* for all sessions related to that booking.
|
|
31
|
+
* + **A session.** Specify a session ID to retrieve attendance information
|
|
32
|
+
* for all bookings related to that session.
|
|
33
|
+
*
|
|
34
|
+
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
35
|
+
* retrieve the attendance of a given participant in a course. For example, this query
|
|
36
|
+
* helps you determine if a participant booked the course
|
|
37
|
+
* but did not attend most of its sessions, taking away spots for other potential participants.
|
|
35
38
|
*
|
|
36
39
|
* Query Attendance runs with the following defaults, which you can override:
|
|
37
40
|
*
|
|
@@ -45,6 +45,10 @@ function resolveComWixpressBookingsAttendanceV2AttendanceServiceUrl(opts) {
|
|
|
45
45
|
srcPath: '/bookings/attendance/v2/attendance',
|
|
46
46
|
destPath: '/v2/attendance',
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
srcPath: '/bookings/v2/attendance',
|
|
50
|
+
destPath: '/v2/attendance',
|
|
51
|
+
},
|
|
48
52
|
],
|
|
49
53
|
'www._base_domain_': [
|
|
50
54
|
{
|
|
@@ -93,16 +97,16 @@ function getAttendance(payload) {
|
|
|
93
97
|
exports.getAttendance = getAttendance;
|
|
94
98
|
/**
|
|
95
99
|
* Sets information about whether a booking's session was attended. This information
|
|
96
|
-
* is saved in an `
|
|
100
|
+
* is saved in an `Attendance` object.
|
|
97
101
|
*
|
|
98
102
|
*
|
|
99
|
-
* If attendance was already set, meaning the `
|
|
100
|
-
* existing attendance information is updated. Otherwise, a new `
|
|
103
|
+
* If attendance was already set, meaning the `Attendance` object already exists, the
|
|
104
|
+
* existing attendance information is updated. Otherwise, a new `Attendance` object
|
|
101
105
|
* is created.
|
|
102
106
|
*
|
|
103
107
|
* By default, the number
|
|
104
108
|
* of attendees is set to `1`, but you can set a number to greater than `1` if multiple
|
|
105
|
-
* participants
|
|
109
|
+
* participants attended. Do not set to `0` to indicate that no one attended the session.
|
|
106
110
|
* Instead, set the `status` field to `NOT_ATTENDED`.
|
|
107
111
|
*
|
|
108
112
|
* > __Note:__ Make sure your code validates that:
|
|
@@ -137,12 +141,15 @@ exports.setAttendance = setAttendance;
|
|
|
137
141
|
*
|
|
138
142
|
*
|
|
139
143
|
* When querying attendance information, you can query from the perspective of:
|
|
140
|
-
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
141
|
-
*
|
|
144
|
+
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
145
|
+
* for all sessions related to that booking.
|
|
146
|
+
* + **A session.** Specify a session ID to retrieve attendance information
|
|
147
|
+
* for all bookings related to that session.
|
|
142
148
|
*
|
|
143
|
-
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
144
|
-
*
|
|
145
|
-
*
|
|
149
|
+
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
150
|
+
* retrieve the attendance of a given participant in a course. For example, this query
|
|
151
|
+
* helps you determine if a participant booked the course
|
|
152
|
+
* but did not attend most of its sessions, taking away spots for other potential participants.
|
|
146
153
|
*
|
|
147
154
|
* Query Attendance runs with the following defaults, which you can override:
|
|
148
155
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance.http.js","sourceRoot":"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;QACpC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,4BAA4B;YACxC,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,qEAAqE;YACvE,GAAG,EAAE,0DAA0D,CAAC;gBAC9D,SAAS,EAAE,oBAAoB;gBAC/B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC;IAElC,OAAO,eAAe,CAAC;AACzB,CAAC;AA/BD,sCA+BC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance.http.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAYhD,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAElC,SAAS,0DAA0D,CACjE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAAE,gBAAgB;aAC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EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,wBAAwB,EAAE,EAAE,CAAC,CAAC;IAEvE,SAAS,iBAAiB,CAAC,EAAE,IAAI,EAAO;QACtC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,4BAA4B;YACxC,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,uEAAuE;YACzE,GAAG,EAAE,0DAA0D,CAAC;gBAC9D,SAAS,EAAE,sBAAsB;gBACjC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,iBAAiB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEpC,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AA/BD,0CA+BC"}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The `
|
|
3
|
-
*
|
|
2
|
+
* The `Attendance` object represents the attendance information
|
|
3
|
+
* for a booked session, such as:
|
|
4
|
+
*
|
|
5
|
+
* + Did anyone attend the session?
|
|
6
|
+
* + How many people attended the session?
|
|
7
|
+
*
|
|
8
|
+
* The number of session `Attendance` objects available depends on the booking type:
|
|
9
|
+
* + Appointment bookings have 1 `Attendance` object per appointment session.
|
|
10
|
+
* + Class bookings have 1 `Attendance` object for each session of the class. The number of sessions for a class is defined in Schedule and Sessions [`schedule.capacity`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
11
|
+
* + Course bookings have an `Attendance` object for each session of the course. For example, if there are 12 sessions in a course, there are 12 `Attendance` objects. The number of sessions for a class is defined in Schedule and Sessions [`schedule.capacity`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
4
12
|
*/
|
|
5
13
|
export interface Attendance {
|
|
6
14
|
/**
|
|
7
|
-
* ID of the `
|
|
15
|
+
* ID of the `Attendance` object.
|
|
8
16
|
* @readonly
|
|
9
17
|
*/
|
|
10
18
|
id?: string | null;
|
|
@@ -23,7 +31,7 @@ export interface Attendance {
|
|
|
23
31
|
/**
|
|
24
32
|
* Total number of participants that attended the session. By default, the number
|
|
25
33
|
* of attendees is set to `1`, but you can set a number to greater than `1` if multiple
|
|
26
|
-
* participants
|
|
34
|
+
* participants attended.
|
|
27
35
|
*
|
|
28
36
|
* Do not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.
|
|
29
37
|
*
|
|
@@ -103,7 +111,7 @@ export interface Paging {
|
|
|
103
111
|
}
|
|
104
112
|
export interface CursorPaging {
|
|
105
113
|
/**
|
|
106
|
-
* Number of `
|
|
114
|
+
* Number of `Attendance` objects to return.
|
|
107
115
|
*
|
|
108
116
|
* Default: `50`
|
|
109
117
|
* Maximum: `1000`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.types.ts"],"names":[],"mappings":";;;AA0CA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AA4DD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -5,12 +5,20 @@ export declare const __debug: {
|
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
|
-
* The `
|
|
9
|
-
*
|
|
8
|
+
* The `Attendance` object represents the attendance information
|
|
9
|
+
* for a booked session, such as:
|
|
10
|
+
*
|
|
11
|
+
* + Did anyone attend the session?
|
|
12
|
+
* + How many people attended the session?
|
|
13
|
+
*
|
|
14
|
+
* The number of session `Attendance` objects available depends on the booking type:
|
|
15
|
+
* + Appointment bookings have 1 `Attendance` object per appointment session.
|
|
16
|
+
* + Class bookings have 1 `Attendance` object for each session of the class. The number of sessions for a class is defined in Schedule and Sessions [`schedule.capacity`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
17
|
+
* + Course bookings have an `Attendance` object for each session of the course. For example, if there are 12 sessions in a course, there are 12 `Attendance` objects. The number of sessions for a class is defined in Schedule and Sessions [`schedule.capacity`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
10
18
|
*/
|
|
11
19
|
export interface Attendance {
|
|
12
20
|
/**
|
|
13
|
-
* ID of the `
|
|
21
|
+
* ID of the `Attendance` object.
|
|
14
22
|
* @readonly
|
|
15
23
|
*/
|
|
16
24
|
_id?: string | null;
|
|
@@ -29,7 +37,7 @@ export interface Attendance {
|
|
|
29
37
|
/**
|
|
30
38
|
* Total number of participants that attended the session. By default, the number
|
|
31
39
|
* of attendees is set to `1`, but you can set a number to greater than `1` if multiple
|
|
32
|
-
* participants
|
|
40
|
+
* participants attended.
|
|
33
41
|
*
|
|
34
42
|
* Do not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.
|
|
35
43
|
*
|
|
@@ -109,7 +117,7 @@ export interface Paging {
|
|
|
109
117
|
}
|
|
110
118
|
export interface CursorPaging {
|
|
111
119
|
/**
|
|
112
|
-
* Number of `
|
|
120
|
+
* Number of `Attendance` objects to return.
|
|
113
121
|
*
|
|
114
122
|
* Default: `50`
|
|
115
123
|
* Maximum: `1000`
|
|
@@ -161,16 +169,16 @@ export interface Cursors {
|
|
|
161
169
|
export declare function getAttendance(attendanceId: string): Promise<Attendance>;
|
|
162
170
|
/**
|
|
163
171
|
* Sets information about whether a booking's session was attended. This information
|
|
164
|
-
* is saved in an `
|
|
172
|
+
* is saved in an `Attendance` object.
|
|
165
173
|
*
|
|
166
174
|
*
|
|
167
|
-
* If attendance was already set, meaning the `
|
|
168
|
-
* existing attendance information is updated. Otherwise, a new `
|
|
175
|
+
* If attendance was already set, meaning the `Attendance` object already exists, the
|
|
176
|
+
* existing attendance information is updated. Otherwise, a new `Attendance` object
|
|
169
177
|
* is created.
|
|
170
178
|
*
|
|
171
179
|
* By default, the number
|
|
172
180
|
* of attendees is set to `1`, but you can set a number to greater than `1` if multiple
|
|
173
|
-
* participants
|
|
181
|
+
* participants attended. Do not set to `0` to indicate that no one attended the session.
|
|
174
182
|
* Instead, set the `status` field to `NOT_ATTENDED`.
|
|
175
183
|
*
|
|
176
184
|
* > __Note:__ Make sure your code validates that:
|
|
@@ -191,12 +199,15 @@ export declare function setAttendance(attendance: Attendance): Promise<SetAttend
|
|
|
191
199
|
*
|
|
192
200
|
*
|
|
193
201
|
* When querying attendance information, you can query from the perspective of:
|
|
194
|
-
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
195
|
-
*
|
|
202
|
+
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
203
|
+
* for all sessions related to that booking.
|
|
204
|
+
* + **A session.** Specify a session ID to retrieve attendance information
|
|
205
|
+
* for all bookings related to that session.
|
|
196
206
|
*
|
|
197
|
-
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
198
|
-
*
|
|
199
|
-
*
|
|
207
|
+
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
208
|
+
* retrieve the attendance of a given participant in a course. For example, this query
|
|
209
|
+
* helps you determine if a participant booked the course
|
|
210
|
+
* but did not attend most of its sessions, taking away spots for other potential participants.
|
|
200
211
|
*
|
|
201
212
|
* Query Attendance runs with the following defaults, which you can override:
|
|
202
213
|
*
|
|
@@ -125,16 +125,16 @@ function getAttendance(attendanceId) {
|
|
|
125
125
|
exports.getAttendance = getAttendance;
|
|
126
126
|
/**
|
|
127
127
|
* Sets information about whether a booking's session was attended. This information
|
|
128
|
-
* is saved in an `
|
|
128
|
+
* is saved in an `Attendance` object.
|
|
129
129
|
*
|
|
130
130
|
*
|
|
131
|
-
* If attendance was already set, meaning the `
|
|
132
|
-
* existing attendance information is updated. Otherwise, a new `
|
|
131
|
+
* If attendance was already set, meaning the `Attendance` object already exists, the
|
|
132
|
+
* existing attendance information is updated. Otherwise, a new `Attendance` object
|
|
133
133
|
* is created.
|
|
134
134
|
*
|
|
135
135
|
* By default, the number
|
|
136
136
|
* of attendees is set to `1`, but you can set a number to greater than `1` if multiple
|
|
137
|
-
* participants
|
|
137
|
+
* participants attended. Do not set to `0` to indicate that no one attended the session.
|
|
138
138
|
* Instead, set the `status` field to `NOT_ATTENDED`.
|
|
139
139
|
*
|
|
140
140
|
* > __Note:__ Make sure your code validates that:
|
|
@@ -198,12 +198,15 @@ exports.setAttendance = setAttendance;
|
|
|
198
198
|
*
|
|
199
199
|
*
|
|
200
200
|
* When querying attendance information, you can query from the perspective of:
|
|
201
|
-
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
202
|
-
*
|
|
201
|
+
* + **A booking.** Specify a booking ID to retrieve attendance information
|
|
202
|
+
* for all sessions related to that booking.
|
|
203
|
+
* + **A session.** Specify a session ID to retrieve attendance information
|
|
204
|
+
* for all bookings related to that session.
|
|
203
205
|
*
|
|
204
|
-
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
205
|
-
*
|
|
206
|
-
*
|
|
206
|
+
* For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to
|
|
207
|
+
* retrieve the attendance of a given participant in a course. For example, this query
|
|
208
|
+
* helps you determine if a participant booked the course
|
|
209
|
+
* but did not attend most of its sessions, taking away spots for other potential participants.
|
|
207
210
|
*
|
|
208
211
|
* Query Attendance runs with the following defaults, which you can override:
|
|
209
212
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,iGAAmF;AACnF,aAAa;AACb,4FAA6E;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;AAEY,QAAA,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;
|
|
1
|
+
{"version":3,"file":"bookings-v2-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,iGAAmF;AACnF,aAAa;AACb,4FAA6E;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;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,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AAvB,WAAW,CAAgB,CAAC;YAC5B,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,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,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AA1DD,0CA0DC"}
|
|
@@ -5,170 +5,83 @@ export declare function list(payload: ListResourcesRequest): RequestOptionsFacto
|
|
|
5
5
|
/**
|
|
6
6
|
* Retrieves a list of the resources according to the specified filters and paging.
|
|
7
7
|
*
|
|
8
|
-
* The query parameter is optional. If no query is provided than all non-deleted resources are returned.
|
|
9
8
|
*
|
|
10
|
-
*
|
|
11
|
-
* |--|--|
|
|
12
|
-
* |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
|
|
13
|
-
* |paging | supported |
|
|
14
|
-
* |fields | supported |
|
|
15
|
-
* |fieldsets | **not supported** |
|
|
16
|
-
* |sort | **not supported** |
|
|
9
|
+
* The query parameter is optional. If no query is provided, all non-deleted resources are returned.
|
|
17
10
|
*
|
|
11
|
+
* |Property|Is supported| |--|--| |filter | supported fields: resource.id, resource.tags, resource.status| |paging | supported | |fields | supported | |fieldsets | not supported | |sort | not supported |
|
|
18
12
|
*
|
|
19
|
-
*
|
|
20
|
-
* >
|
|
21
|
-
* >
|
|
22
|
-
* > - `fieldsets`
|
|
13
|
+
* > **Notes:** The following objects in the query parameter are not supported for this query:
|
|
14
|
+
* > - sort
|
|
15
|
+
* > - fieldsets
|
|
23
16
|
*
|
|
24
|
-
* > **Permissions**
|
|
25
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
26
17
|
*/
|
|
27
18
|
export declare function query(payload: QueryResourcesRequest): RequestOptionsFactory<QueryResourcesResponse>;
|
|
28
19
|
/**
|
|
29
20
|
* Creates a resource.
|
|
30
|
-
*
|
|
21
|
+
*
|
|
22
|
+
*
|
|
31
23
|
* The `createResource()` function returns a Promise that resolves to the created resource.
|
|
32
|
-
*
|
|
24
|
+
* Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the availability.start property. For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type "WORKING_HOURS" using the resource's schedule. You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
|
|
33
25
|
*
|
|
34
|
-
* Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the `availability.start` property.
|
|
35
|
-
* For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `"WORKING_HOURS"` using the resource's schedule.
|
|
36
|
-
* You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
|
|
37
26
|
*
|
|
38
|
-
* <!--ONLY:VELO
|
|
39
27
|
* When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* >
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* <!--ONLY:REST-->
|
|
54
|
-
* Use the following steps to create resources:
|
|
55
|
-
* - Create the resource using including schedule information.
|
|
56
|
-
* - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the in the schedule parameters.
|
|
57
|
-
* - If the resource has its own custom working hours, create sessions of type `"WORKING_HOURS"`. Use the `scheduleId` of the new resource when creating the sessions. These session can be single sessions or recurring sessions. You can have both business hours and custom hours for the same resource schedule.
|
|
58
|
-
*
|
|
59
|
-
* >**Notes:**
|
|
60
|
-
* > + A resource can have one schedule only.
|
|
61
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
62
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* >**Permissions:**
|
|
67
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
68
|
-
* <!--END:ONLY:REST-->
|
|
28
|
+
* - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
|
|
29
|
+
* - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
|
|
30
|
+
*
|
|
31
|
+
* You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
|
|
32
|
+
*
|
|
33
|
+
*
|
|
34
|
+
* > **Notes:** The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
|
|
35
|
+
*
|
|
36
|
+
*
|
|
37
|
+
* The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar. You can only add the business resource's schedule as a linked schedule for a resource. A resource can have one schedule only.
|
|
38
|
+
*
|
|
39
|
+
*
|
|
40
|
+
* You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
|
|
69
41
|
*/
|
|
70
42
|
export declare function create(payload: CreateResourceRequest): RequestOptionsFactory<CreateResourceResponse>;
|
|
71
43
|
/**
|
|
72
44
|
* Updates a resource.
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
80
|
-
* <!--END:ONLY:VELO-->
|
|
81
|
-
* <!--ONLY:REST-->
|
|
82
|
-
* Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
|
|
83
|
-
* the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
|
|
84
|
-
*
|
|
85
|
-
* >**Notes:**
|
|
86
|
-
* > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
|
|
87
|
-
* > + When updating a resource's schedule you cannot change the resource tag used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
88
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
89
|
-
*
|
|
90
|
-
* >**Permissions:**
|
|
91
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
92
|
-
* <!--END:ONLY:REST-->
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* The `updateResource()` function returns a Promise that resolves when a resource is updated. Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](resources/updateresourceschedule).
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* >**Notes:** When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
|
|
93
51
|
*/
|
|
94
52
|
export declare function update(payload: UpdateResourceRequest): RequestOptionsFactory<UpdateResourceResponse>;
|
|
95
53
|
/**
|
|
96
|
-
* Updates a resource's schedule
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* Use this function to update the bookings resource's schedule. To update other resource details
|
|
100
|
-
*
|
|
101
|
-
* + `availability.start`
|
|
102
|
-
* + `availability.linkedSchedules`
|
|
103
|
-
* <!--END:ONLY:VELO-->
|
|
54
|
+
* Updates a resource's schedule.
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
* The `updateResourceSchedule()` function returns a Promise that resolves when a resource's schedule has been updated. Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`] (resources/updateresource). The following schedule properties can be updated: + `availability.start` + `availability.linkedSchedules`
|
|
58
|
+
*
|
|
104
59
|
*
|
|
105
60
|
* To update a resource's schedule to remove business hours and add custom hours:
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* <!--END:ONLY:REST-->
|
|
110
|
-
* <!--ONLY:VELO
|
|
111
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
112
|
-
* + Use [`createSession()`](wix-bookings-backend.Sessions/createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
113
|
-
* <!--END:ONLY:VELO-->
|
|
61
|
+
* - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
62
|
+
* - Use [`createSession()`](Sessions/createsession) to create a set of recurring sessions of type `WORKING_HOURS` to define the resource's new hours.
|
|
63
|
+
*
|
|
114
64
|
*
|
|
115
65
|
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
123
|
-
* + If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `"WORKING_HOURS"`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
124
|
-
*
|
|
125
|
-
* > **Notes:**
|
|
126
|
-
* > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
|
|
127
|
-
* > + A resource can have one schedule only.
|
|
128
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
129
|
-
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
130
|
-
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
131
|
-
* @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
|
|
132
|
-
* Update a resource's schedule from the business's default working hours to 2 custom days per week.
|
|
133
|
-
* @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
|
|
134
|
-
* <!--END:ONLY:VELO-->
|
|
135
|
-
* <!--ONLY:REST-->
|
|
136
|
-
* >**Notes:**
|
|
137
|
-
* > + A resource can have one schedule only.
|
|
138
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
139
|
-
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
140
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* >**Permissions:**
|
|
145
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
146
|
-
* <!--END:ONLY:REST-->
|
|
66
|
+
*
|
|
67
|
+
* - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
68
|
+
* - If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `WORKING_HOURS`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* > **Notes:** The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working. A resource can have one schedule only. A resource can have both default business hours and custom hours in its schedule. When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `INDIVIDUAL`, `GROUP`, and `COURSE`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule.
|
|
147
72
|
*/
|
|
148
73
|
export declare function updateSchedule(payload: ResourceUpdateScheduleRequest): RequestOptionsFactory<UpdateScheduleResponse>;
|
|
149
74
|
/**
|
|
150
75
|
* Deletes a resource.
|
|
151
|
-
*
|
|
76
|
+
*
|
|
152
77
|
* The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
|
|
153
|
-
*
|
|
154
|
-
*
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* Deleting a resource updates its status to `DELETED`.
|
|
155
81
|
*
|
|
156
82
|
* You cannot delete a resource if it has booked sessions.
|
|
157
83
|
*
|
|
158
|
-
*
|
|
159
|
-
* >**Notes:**
|
|
160
|
-
* > + The Bookings app automatically creates a resource with a name and tag of value `"business"``. This resource is used for the business's schedule and working hours and cannot be deleted.
|
|
161
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
162
|
-
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
163
|
-
* <!--END:ONLY:VELO-->
|
|
164
|
-
*
|
|
165
|
-
* <!--ONLY:REST-->
|
|
166
|
-
* >**Notes:**
|
|
167
|
-
* > + The Bookings app creates a resource with `"business"` in name and tag values. This resource is used for the business's schedule and working hours and cannot be deleted.
|
|
168
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
169
|
-
*
|
|
170
|
-
* >**Permissions:**
|
|
171
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
172
|
-
* <!--END:ONLY:REST-->
|
|
84
|
+
*
|
|
85
|
+
* >**Notes:** The Bookings app automatically creates a resource with a name and tag of value `business`. This resource is used for the business's schedule and working hours and cannot be deleted. You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
|
|
173
86
|
*/
|
|
174
87
|
export declare function _delete(payload: DeleteResourceRequest): RequestOptionsFactory<DeleteResourceResponse>;
|