@wix/bookings 1.0.148 → 1.0.149

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.
@@ -10,23 +10,30 @@ export declare const __debug: {
10
10
  */
11
11
  export interface Attendance {
12
12
  /**
13
- * ID of the attendance object.
13
+ * ID of the `attendance` object.
14
14
  * @readonly
15
15
  */
16
16
  _id?: string | null;
17
- /** Booking ID. */
17
+ /** Corresponding booking ID. */
18
18
  bookingId?: string | null;
19
- /** Session ID. */
19
+ /** Corresponding session ID. */
20
20
  sessionId?: string | null;
21
21
  /**
22
- * Whether the booked contact attended the session, might be one of the following:
22
+ * Status indicating if any particpants attended the session:
23
23
  *
24
24
  * + `NOT_SET`: There is no available attendance information.
25
- * + `ATTENDED`: At least a single participant has attended the session.
26
- * + `NOT_ATTENDED`: No participant has attended the session.
25
+ * + `ATTENDED`: At least a single participant attended the session.
26
+ * + `NOT_ATTENDED`: No participants attended the session.
27
27
  */
28
28
  status?: AttendanceStatus;
29
- /** Total number of participants who have that attended the session. Can be greater than `1` for bookings with multiple participants. */
29
+ /**
30
+ * Total number of attendees that attended the session. By default, the number
31
+ * of attendees is `1` but you can set a number greater than `1` if multiple
32
+ * participants attend. `0` is not a valid value for indicating that a session was not attended.
33
+ * Instead, set the `attendanceStatus` field to `NOT_ATTENDED`.
34
+ *
35
+ * Default: 1
36
+ */
30
37
  numberOfAttendees?: number;
31
38
  }
32
39
  export declare enum AttendanceStatus {
@@ -35,33 +42,49 @@ export declare enum AttendanceStatus {
35
42
  NOT_ATTENDED = "NOT_ATTENDED"
36
43
  }
37
44
  export interface GetAttendanceRequest {
38
- /** Id of the Attendance to retrieve. */
45
+ /** ID of the object that contains the attendance information that you want to retrieve. */
39
46
  attendanceId: string;
40
47
  }
41
48
  export interface GetAttendanceResponse {
42
- /** The retrieved Attendance. */
49
+ /** The retrieved attendance information for the booked session. */
43
50
  attendance?: Attendance;
44
51
  }
45
52
  export interface SetAttendanceRequest {
46
- /** Attendance to create or updated. */
53
+ /** The attendance information for a booked session that you want to create or update. */
47
54
  attendance: Attendance;
48
55
  }
49
56
  export interface SetAttendanceResponse {
50
- /** The updated Attendance. */
57
+ /** The created or updated attendance information for the booked session. */
51
58
  attendance?: Attendance;
52
59
  }
53
60
  export interface QueryAttendanceRequest {
54
- /** WQL expression. */
61
+ /** Query options. */
55
62
  query: QueryV2;
56
63
  }
57
64
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
65
+ /** Cursors to navigate through the result pages using `next` and `prev`. */
58
66
  cursorPaging?: CursorPaging;
67
+ /**
68
+ * Filter object. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
69
+ *
70
+ * For a detailed list of supported fields and operators, see [Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-bookings/attendance/supportedfilters).
71
+ *
72
+ * Max: 1 filter
73
+ */
59
74
  filter?: Record<string, any> | null;
75
+ /**
76
+ * Sort object in the following format:
77
+ * `[ {"fieldName":"sortField1","order":"ASC"}, {"fieldName":"sortField2","order":"DESC"} ]`
78
+ *
79
+ * For details about sorting, see [Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-bookings/attendance/supportedfilters).
80
+ */
60
81
  sort?: Sorting[];
82
+ /** Array of projected fields. A list of specific field names to return. */
61
83
  fields?: string[];
62
84
  }
63
85
  /** @oneof */
64
86
  export interface QueryV2PagingMethodOneOf {
87
+ /** Cursors to navigate through the result pages using `next` and `prev`. */
65
88
  cursorPaging?: CursorPaging;
66
89
  }
67
90
  export interface Sorting {
@@ -70,6 +93,11 @@ export interface Sorting {
70
93
  /** Sort order. */
71
94
  order?: SortOrder;
72
95
  }
96
+ /**
97
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
98
+ *
99
+ * Default: `ASC`.
100
+ */
73
101
  export declare enum SortOrder {
74
102
  ASC = "ASC",
75
103
  DESC = "DESC"
@@ -82,26 +110,32 @@ export interface Paging {
82
110
  }
83
111
  export interface CursorPaging {
84
112
  /**
85
- * Number of attendances to return.
86
- * Defaults to `50`. Maximum `1000`.
113
+ * Number of `attendance` objects to return.
114
+ *
115
+ * Default: `50`
116
+ * Maximum: `1000`
87
117
  */
88
118
  limit?: number | null;
89
119
  /**
90
120
  * Pointer to the next or previous page in the list of results.
121
+ *
91
122
  * You can get the relevant cursor token
92
123
  * from the `pagingMetadata` object in the previous call's response.
124
+ *
93
125
  * Not relevant for the first request.
94
126
  */
95
127
  cursor?: string | null;
96
128
  }
129
+ /** List of objects that contain attendance information. */
97
130
  export interface QueryAttendanceResponse {
98
- /** The retrieved Attendances. */
131
+ /** List of objects that contain attendance information for a booked session. */
99
132
  attendances?: Attendance[];
100
- /** Paging Metadata. Cursor pagination is supported. */
133
+ /** Details on the paged set of results returned. */
101
134
  pagingMetadata?: CursorPagingMetadata;
102
135
  }
136
+ /** This is the preferred message for cursor-paging enabled services */
103
137
  export interface CursorPagingMetadata {
104
- /** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
138
+ /** Use these cursors to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
105
139
  cursors?: Cursors;
106
140
  /**
107
141
  * Indicates if there are more results after the current page.
@@ -117,24 +151,33 @@ export interface Cursors {
117
151
  prev?: string | null;
118
152
  }
119
153
  /**
120
- * Get an Attendance by attendance id.
121
- * @param attendanceId - Id of the Attendance to retrieve.
154
+ * Retrieves attendance information by ID.
155
+ * @param attendanceId - ID of the object that contains the attendance information that you want to retrieve.
122
156
  * @public
123
157
  * @documentationMaturity preview
124
158
  * @requiredField attendanceId
125
159
  * @permissionScope Read Bookings - Including Participants
126
- * @returns The retrieved Attendance.
160
+ * @returns The retrieved attendance information for the booked session.
127
161
  */
128
162
  export declare function getAttendance(attendanceId: string): Promise<Attendance>;
129
163
  /**
130
- * Create an Attendance or Update the status and numberOfAttendees in an existing Attendance of a given booking.
131
- * If the Attendance to set has no numberOfAttendees, it will get the default value of 1.
132
- * The number of attendees can be greater than 1 when the booking is made for a group of people.
164
+ * Sets information about whether a booking's session was actually attended. This information
165
+ * is saved in an `attendance` object.
166
+ *
167
+ *
168
+ * If attendance was already set, meaning the `attendance` object already exists, the
169
+ * existing attendance information is updated. Otherwise, a new `attendance` object
170
+ * is created.
133
171
  *
134
- * __Notes:__
135
- * + There is no validation on the number of attendees or on the relationship between `numberOfAttendees` and `attendanceStatus`.
136
- * + There is no validation on the number of attendees or on the relationship between `numberOfAttendees` and the booking's `numberOfParticipants`.
137
- * @param attendance - Attendance to create or updated.
172
+ * By default, the number
173
+ * of attendees is set to `1`, but you can set a number to greater than `1` if multiple
174
+ * participants attended. `0` is not a valid value for indicating that a session was not attended.
175
+ * Instead, set the `attendanceStatus` field to `NOT_ATTENDED`.
176
+ *
177
+ * > __Note:__ Make sure your code validates that:
178
+ * > + There is no mismatch between `numberOfAttendees` and `attendanceStatus` to make sure, for example, that `attendanceStatus` is not `NOT_ATTENDED` while `numberOfAttendees` is `5`.
179
+ * > + The attendance's `numberOfAttendees` and the booking's `numberOfParticipants` correspond. For example, the number of attendees usually should not exceed the booking's intended number of participants (unless perhaps you allow walk-ins that did not sign up in advance).
180
+ * @param attendance - The attendance information for a booked session that you want to create or update.
138
181
  * @public
139
182
  * @documentationMaturity preview
140
183
  * @requiredField attendance
@@ -145,26 +188,29 @@ export declare function getAttendance(attendanceId: string): Promise<Attendance>
145
188
  */
146
189
  export declare function setAttendance(attendance: Attendance): Promise<SetAttendanceResponse>;
147
190
  /**
148
- * Retrieves a list of bookings Attendances, according to the provided paging, filtering, and sorting.
191
+ * Retrieves attendance information for booked sessions, given the provided paging, filtering, and sorting.
192
+ *
193
+ *
194
+ * When querying attendance information, you can query from the perspective of:
195
+ * + **A booking.** Specify a booking ID to retrieve attendance information for all sessions related to that booking.
196
+ * + **A session.** Specify a session ID to retrieve attendance information for all bookings related to that session.
149
197
  *
150
- * Up to 100 bookings can be returned per request.
198
+ * For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to retrieve only course sessions that
199
+ * had no attendees. Was there bad weather on those days? Or was
200
+ * there a sudden drop in attendance due to a business reason that must be handled, like a less-qualified instructor?
151
201
  *
152
202
  * Query Attendance runs with the following defaults, which you can override:
153
203
  *
154
204
  * - `id` sorted in `ASC` order
155
205
  * - `cursorPaging.limit` is `50`
156
206
  *
157
- * For field support see
158
- * [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-attendance-v2/supported-filters)
207
+ * For field support see [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-attendance-v2/supported-filters)
159
208
  * for more information.
160
209
  *
161
- * __Notes__:
162
- * + An alternative way to obtain attendance information for bookings can be done by calling BookingsReader [queryExtendedBookings] (https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings) with `withBookingAttendanceInfo` parameter set to true.
163
- * + `fields` and `fieldsets` aren't supported.
164
- *
165
- *
166
- * You can only specify a filter only once per query. If a filter is provided
167
- * more than once, only the first occurrence affects the returned bookings.
210
+ * > __Notes__:
211
+ * > + Another way to retrieve attendance information is to call Bookings Reader V2's [Query Extended Bookings] (https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings) with `withBookingAttendanceInfo` set to `true`.
212
+ * > + Up to 100 results can be returned per request.
213
+ * > + Only 1 filter is supported per query. If you define multiple filters in the same query, only the first is processed.
168
214
  *
169
215
  * To learn about working with _Query_ endpoints, see
170
216
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
@@ -32,6 +32,11 @@ export var AttendanceStatus;
32
32
  AttendanceStatus["ATTENDED"] = "ATTENDED";
33
33
  AttendanceStatus["NOT_ATTENDED"] = "NOT_ATTENDED";
34
34
  })(AttendanceStatus || (AttendanceStatus = {}));
35
+ /**
36
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
37
+ *
38
+ * Default: `ASC`.
39
+ */
35
40
  export var SortOrder;
36
41
  (function (SortOrder) {
37
42
  SortOrder["ASC"] = "ASC";
@@ -44,13 +49,13 @@ const _queryAttendanceResponse = {};
44
49
  const _setAttendanceRequest = {};
45
50
  const _setAttendanceResponse = {};
46
51
  /**
47
- * Get an Attendance by attendance id.
48
- * @param attendanceId - Id of the Attendance to retrieve.
52
+ * Retrieves attendance information by ID.
53
+ * @param attendanceId - ID of the object that contains the attendance information that you want to retrieve.
49
54
  * @public
50
55
  * @documentationMaturity preview
51
56
  * @requiredField attendanceId
52
57
  * @permissionScope Read Bookings - Including Participants
53
- * @returns The retrieved Attendance.
58
+ * @returns The retrieved attendance information for the booked session.
54
59
  */
55
60
  export function getAttendance(attendanceId) {
56
61
  var _a, _b, _c;
@@ -96,14 +101,23 @@ export function getAttendance(attendanceId) {
96
101
  });
97
102
  }
98
103
  /**
99
- * Create an Attendance or Update the status and numberOfAttendees in an existing Attendance of a given booking.
100
- * If the Attendance to set has no numberOfAttendees, it will get the default value of 1.
101
- * The number of attendees can be greater than 1 when the booking is made for a group of people.
104
+ * Sets information about whether a booking's session was actually attended. This information
105
+ * is saved in an `attendance` object.
106
+ *
107
+ *
108
+ * If attendance was already set, meaning the `attendance` object already exists, the
109
+ * existing attendance information is updated. Otherwise, a new `attendance` object
110
+ * is created.
102
111
  *
103
- * __Notes:__
104
- * + There is no validation on the number of attendees or on the relationship between `numberOfAttendees` and `attendanceStatus`.
105
- * + There is no validation on the number of attendees or on the relationship between `numberOfAttendees` and the booking's `numberOfParticipants`.
106
- * @param attendance - Attendance to create or updated.
112
+ * By default, the number
113
+ * of attendees is set to `1`, but you can set a number to greater than `1` if multiple
114
+ * participants attended. `0` is not a valid value for indicating that a session was not attended.
115
+ * Instead, set the `attendanceStatus` field to `NOT_ATTENDED`.
116
+ *
117
+ * > __Note:__ Make sure your code validates that:
118
+ * > + There is no mismatch between `numberOfAttendees` and `attendanceStatus` to make sure, for example, that `attendanceStatus` is not `NOT_ATTENDED` while `numberOfAttendees` is `5`.
119
+ * > + The attendance's `numberOfAttendees` and the booking's `numberOfParticipants` correspond. For example, the number of attendees usually should not exceed the booking's intended number of participants (unless perhaps you allow walk-ins that did not sign up in advance).
120
+ * @param attendance - The attendance information for a booked session that you want to create or update.
107
121
  * @public
108
122
  * @documentationMaturity preview
109
123
  * @requiredField attendance
@@ -156,26 +170,29 @@ export function setAttendance(attendance) {
156
170
  });
157
171
  }
158
172
  /**
159
- * Retrieves a list of bookings Attendances, according to the provided paging, filtering, and sorting.
173
+ * Retrieves attendance information for booked sessions, given the provided paging, filtering, and sorting.
174
+ *
175
+ *
176
+ * When querying attendance information, you can query from the perspective of:
177
+ * + **A booking.** Specify a booking ID to retrieve attendance information for all sessions related to that booking.
178
+ * + **A session.** Specify a session ID to retrieve attendance information for all bookings related to that session.
160
179
  *
161
- * Up to 100 bookings can be returned per request.
180
+ * For example, query by a course's `bookingId` and `status = "NOT_ATTENDED"` to retrieve only course sessions that
181
+ * had no attendees. Was there bad weather on those days? Or was
182
+ * there a sudden drop in attendance due to a business reason that must be handled, like a less-qualified instructor?
162
183
  *
163
184
  * Query Attendance runs with the following defaults, which you can override:
164
185
  *
165
186
  * - `id` sorted in `ASC` order
166
187
  * - `cursorPaging.limit` is `50`
167
188
  *
168
- * For field support see
169
- * [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-attendance-v2/supported-filters)
189
+ * For field support see [supported filters](https://dev.wix.com/api/rest/wix-bookings/bookings-attendance-v2/supported-filters)
170
190
  * for more information.
171
191
  *
172
- * __Notes__:
173
- * + An alternative way to obtain attendance information for bookings can be done by calling BookingsReader [queryExtendedBookings] (https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings) with `withBookingAttendanceInfo` parameter set to true.
174
- * + `fields` and `fieldsets` aren't supported.
175
- *
176
- *
177
- * You can only specify a filter only once per query. If a filter is provided
178
- * more than once, only the first occurrence affects the returned bookings.
192
+ * > __Notes__:
193
+ * > + Another way to retrieve attendance information is to call Bookings Reader V2's [Query Extended Bookings] (https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings) with `withBookingAttendanceInfo` set to `true`.
194
+ * > + Up to 100 results can be returned per request.
195
+ * > + Only 1 filter is supported per query. If you define multiple filters in the same query, only the first is processed.
179
196
  *
180
197
  * To learn about working with _Query_ endpoints, see
181
198
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,iCAAiC,MAAM,+BAA+B,CAAC;AACnF,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA4B5B,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AA8CD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;I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E,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
1
+ {"version":3,"file":"bookings-v2-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,iCAAiC,MAAM,+BAA+B,CAAC;AACnF,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAmC5B,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,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H,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/bookings",
3
- "version": "1.0.148",
3
+ "version": "1.0.149",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "4057edebc089fb8ff2d9425f2384e39f72be9e53314d1b257e3be352"
36
+ "falconPackageHash": "affc38489a8ca7a564b4690d98623def2d8d9220e2e80771f13f6580"
37
37
  }