@wix/auto_sdk_bookings_attendance 1.0.5 → 1.0.7
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/{es/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.mts} +122 -45
- package/build/{cjs/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.ts} +122 -45
- package/build/{internal/cjs/src/bookings-v2-attendance-attendance.public.d.ts → index.d.mts} +15 -10
- package/build/{cjs/src/bookings-v2-attendance-attendance.public.d.ts → index.d.ts} +15 -10
- package/build/index.js +458 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +428 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{cjs/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.mts} +122 -45
- package/build/internal/{es/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.ts} +122 -45
- package/build/internal/{es/src/bookings-v2-attendance-attendance.public.d.ts → index.d.mts} +15 -10
- package/build/{es/src/bookings-v2-attendance-attendance.public.d.ts → internal/index.d.ts} +15 -10
- package/build/internal/index.js +458 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +428 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +255 -0
- package/build/internal/meta.d.ts +255 -0
- package/build/internal/meta.js +339 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +309 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +255 -0
- package/build/meta.d.ts +255 -0
- package/build/meta.js +339 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +309 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
- package/build/cjs/src/bookings-v2-attendance-attendance.context.js +0 -14
- package/build/cjs/src/bookings-v2-attendance-attendance.context.js.map +0 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
- package/build/cjs/src/bookings-v2-attendance-attendance.http.js +0 -288
- package/build/cjs/src/bookings-v2-attendance-attendance.http.js.map +0 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
- package/build/cjs/src/bookings-v2-attendance-attendance.meta.js +0 -104
- package/build/cjs/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.public.js +0 -34
- package/build/cjs/src/bookings-v2-attendance-attendance.public.js.map +0 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.types.js +0 -31
- package/build/cjs/src/bookings-v2-attendance-attendance.types.js.map +0 -1
- package/build/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +0 -596
- package/build/cjs/src/bookings-v2-attendance-attendance.universal.js +0 -304
- package/build/cjs/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
- package/build/es/src/bookings-v2-attendance-attendance.context.js +0 -8
- package/build/es/src/bookings-v2-attendance-attendance.context.js.map +0 -1
- package/build/es/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
- package/build/es/src/bookings-v2-attendance-attendance.http.js +0 -281
- package/build/es/src/bookings-v2-attendance-attendance.http.js.map +0 -1
- package/build/es/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
- package/build/es/src/bookings-v2-attendance-attendance.meta.js +0 -74
- package/build/es/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
- package/build/es/src/bookings-v2-attendance-attendance.public.js +0 -24
- package/build/es/src/bookings-v2-attendance-attendance.public.js.map +0 -1
- package/build/es/src/bookings-v2-attendance-attendance.types.js +0 -28
- package/build/es/src/bookings-v2-attendance-attendance.types.js.map +0 -1
- package/build/es/src/bookings-v2-attendance-attendance.universal.d.ts +0 -596
- package/build/es/src/bookings-v2-attendance-attendance.universal.js +0 -274
- package/build/es/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.js +0 -14
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.js.map +0 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.js +0 -288
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.js.map +0 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.js +0 -104
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.js +0 -34
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.js.map +0 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js +0 -31
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js.map +0 -1
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +0 -596
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js +0 -304
- package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
- package/build/internal/es/src/bookings-v2-attendance-attendance.context.js +0 -8
- package/build/internal/es/src/bookings-v2-attendance-attendance.context.js.map +0 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
- package/build/internal/es/src/bookings-v2-attendance-attendance.http.js +0 -281
- package/build/internal/es/src/bookings-v2-attendance-attendance.http.js.map +0 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
- package/build/internal/es/src/bookings-v2-attendance-attendance.meta.js +0 -74
- package/build/internal/es/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.public.js +0 -24
- package/build/internal/es/src/bookings-v2-attendance-attendance.public.js.map +0 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.types.js +0 -28
- package/build/internal/es/src/bookings-v2-attendance-attendance.types.js.map +0 -1
- package/build/internal/es/src/bookings-v2-attendance-attendance.universal.d.ts +0 -596
- package/build/internal/es/src/bookings-v2-attendance-attendance.universal.js +0 -274
- package/build/internal/es/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
|
@@ -10,13 +10,13 @@
|
|
|
10
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` property.
|
|
11
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` property.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
interface Attendance {
|
|
14
14
|
/**
|
|
15
15
|
* ID of the `attendance` object.
|
|
16
16
|
* @format GUID
|
|
17
17
|
* @readonly
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
_id?: string | null;
|
|
20
20
|
/**
|
|
21
21
|
* Corresponding booking ID.
|
|
22
22
|
* @format GUID
|
|
@@ -37,7 +37,7 @@ export interface Attendance {
|
|
|
37
37
|
*/
|
|
38
38
|
numberOfAttendees?: number;
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
declare enum AttendanceStatus {
|
|
41
41
|
/** There is no available attendance information. */
|
|
42
42
|
NOT_SET = "NOT_SET",
|
|
43
43
|
/** At least a single participant attended the session. */
|
|
@@ -45,24 +45,24 @@ export declare enum AttendanceStatus {
|
|
|
45
45
|
/** No participants attended the session. */
|
|
46
46
|
NOT_ATTENDED = "NOT_ATTENDED"
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
interface GetAttendanceRequest {
|
|
49
49
|
/**
|
|
50
50
|
* ID of the attendance object to retrieve.
|
|
51
51
|
* @format GUID
|
|
52
52
|
*/
|
|
53
53
|
attendanceId: string;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
interface GetAttendanceResponse {
|
|
56
56
|
/** Retrieved attendance. */
|
|
57
57
|
attendance?: Attendance;
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
interface SetAttendanceRequest {
|
|
60
60
|
/** Attendance to create or update. */
|
|
61
61
|
attendance: Attendance;
|
|
62
62
|
/** Information about whether to send a message to a customer after their attendance was set. */
|
|
63
63
|
participantNotification?: ParticipantNotification;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
interface ParticipantNotification {
|
|
66
66
|
/**
|
|
67
67
|
* Specify whether to send the message about the changes to the customer.
|
|
68
68
|
*
|
|
@@ -76,17 +76,17 @@ export interface ParticipantNotification {
|
|
|
76
76
|
*/
|
|
77
77
|
message?: string | null;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
interface SetAttendanceResponse {
|
|
80
80
|
/** Created or updated attendance. */
|
|
81
81
|
attendance?: Attendance;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
interface AttendanceMarkedAsNotAttended {
|
|
84
84
|
/** The attendance information for a booked session that you want to create or update. */
|
|
85
85
|
attendance?: Attendance;
|
|
86
86
|
/** Information about whether to send a message to a customer after their attendance was set. */
|
|
87
87
|
participantNotification?: ParticipantNotification;
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
interface BulkSetAttendanceRequest {
|
|
90
90
|
returnFullEntity?: boolean;
|
|
91
91
|
/**
|
|
92
92
|
* List of attendance details for booking sessions to create or update.
|
|
@@ -94,13 +94,13 @@ export interface BulkSetAttendanceRequest {
|
|
|
94
94
|
*/
|
|
95
95
|
attendanceDetails?: AttendanceDetails[];
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
interface AttendanceDetails {
|
|
98
98
|
/** Created or updated attendance information for a booking session. */
|
|
99
99
|
attendance?: Attendance;
|
|
100
100
|
/** Information about whether to send a message to the customer after their attendance was set. */
|
|
101
101
|
participantNotification?: ParticipantNotification;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
interface BulkSetAttendanceResponse {
|
|
104
104
|
/**
|
|
105
105
|
* List of created or updated `attendance` objects.
|
|
106
106
|
* @minSize 1
|
|
@@ -110,15 +110,15 @@ export interface BulkSetAttendanceResponse {
|
|
|
110
110
|
/** Information about the total number of successes and failures for the Bulk Set Attendance call. */
|
|
111
111
|
bulkActionMetadata?: BulkActionMetadata;
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
interface BulkAttendanceResult {
|
|
114
114
|
/** Created or updated `attendance` object. */
|
|
115
115
|
item?: Attendance;
|
|
116
116
|
/** Metadata for the created or updated `attendance` object. */
|
|
117
117
|
itemMetadata?: ItemMetadata;
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
interface ItemMetadata {
|
|
120
120
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
121
|
-
|
|
121
|
+
_id?: string | null;
|
|
122
122
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
123
123
|
originalIndex?: number;
|
|
124
124
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -126,7 +126,7 @@ export interface ItemMetadata {
|
|
|
126
126
|
/** Details about the error in case of failure. */
|
|
127
127
|
error?: ApplicationError;
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
interface ApplicationError {
|
|
130
130
|
/** Error code. */
|
|
131
131
|
code?: string;
|
|
132
132
|
/** Description of the error. */
|
|
@@ -134,7 +134,7 @@ export interface ApplicationError {
|
|
|
134
134
|
/** Data related to the error. */
|
|
135
135
|
data?: Record<string, any> | null;
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
interface BulkActionMetadata {
|
|
138
138
|
/** Number of items that were successfully processed. */
|
|
139
139
|
totalSuccesses?: number;
|
|
140
140
|
/** Number of items that couldn't be processed. */
|
|
@@ -142,11 +142,11 @@ export interface BulkActionMetadata {
|
|
|
142
142
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
143
143
|
undetailedFailures?: number;
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
interface QueryAttendanceRequest {
|
|
146
146
|
/** Query options. */
|
|
147
147
|
query: QueryV2;
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
150
150
|
/**
|
|
151
151
|
* Cursor token pointing to a page of results. In the first request,
|
|
152
152
|
* specify `cursorPaging.limit`. For following requests, specify the
|
|
@@ -171,7 +171,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
171
171
|
sort?: Sorting[];
|
|
172
172
|
}
|
|
173
173
|
/** @oneof */
|
|
174
|
-
|
|
174
|
+
interface QueryV2PagingMethodOneOf {
|
|
175
175
|
/**
|
|
176
176
|
* Cursor token pointing to a page of results. In the first request,
|
|
177
177
|
* specify `cursorPaging.limit`. For following requests, specify the
|
|
@@ -180,7 +180,7 @@ export interface QueryV2PagingMethodOneOf {
|
|
|
180
180
|
*/
|
|
181
181
|
cursorPaging?: CursorPaging;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
interface Sorting {
|
|
184
184
|
/** Name of the field to sort by. */
|
|
185
185
|
fieldName?: string;
|
|
186
186
|
/** Sort order. */
|
|
@@ -191,17 +191,17 @@ export interface Sorting {
|
|
|
191
191
|
*
|
|
192
192
|
* Default: `ASC`.
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
declare enum SortOrder {
|
|
195
195
|
ASC = "ASC",
|
|
196
196
|
DESC = "DESC"
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
interface Paging {
|
|
199
199
|
/** Number of items to load. */
|
|
200
200
|
limit?: number | null;
|
|
201
201
|
/** Number of items to skip in the current sort order. */
|
|
202
202
|
offset?: number | null;
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
interface CursorPaging {
|
|
205
205
|
/**
|
|
206
206
|
* Number of `Attendance` objects to return.
|
|
207
207
|
*
|
|
@@ -221,14 +221,14 @@ export interface CursorPaging {
|
|
|
221
221
|
cursor?: string | null;
|
|
222
222
|
}
|
|
223
223
|
/** List of objects that contain attendance information. */
|
|
224
|
-
|
|
224
|
+
interface QueryAttendanceResponse {
|
|
225
225
|
/** List of `attendance` objects that contain attendance information for a booked session. */
|
|
226
226
|
attendances?: Attendance[];
|
|
227
227
|
/** Metadata for the paged set of results. */
|
|
228
228
|
pagingMetadata?: CursorPagingMetadata;
|
|
229
229
|
}
|
|
230
230
|
/** This is the preferred message for cursor-paging enabled services */
|
|
231
|
-
|
|
231
|
+
interface CursorPagingMetadata {
|
|
232
232
|
/** 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). */
|
|
233
233
|
cursors?: Cursors;
|
|
234
234
|
/**
|
|
@@ -238,13 +238,13 @@ export interface CursorPagingMetadata {
|
|
|
238
238
|
*/
|
|
239
239
|
hasNext?: boolean | null;
|
|
240
240
|
}
|
|
241
|
-
|
|
241
|
+
interface Cursors {
|
|
242
242
|
/** Cursor pointing to next page in the list of results. */
|
|
243
243
|
next?: string | null;
|
|
244
244
|
/** Cursor pointing to previous page in the list of results. */
|
|
245
245
|
prev?: string | null;
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
248
248
|
createdEvent?: EntityCreatedEvent;
|
|
249
249
|
updatedEvent?: EntityUpdatedEvent;
|
|
250
250
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -253,7 +253,7 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
253
253
|
* Unique event ID.
|
|
254
254
|
* Allows clients to ignore duplicate webhooks.
|
|
255
255
|
*/
|
|
256
|
-
|
|
256
|
+
_id?: string;
|
|
257
257
|
/**
|
|
258
258
|
* Assumes actions are also always typed to an entity_type
|
|
259
259
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
@@ -287,36 +287,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
287
287
|
entityEventSequence?: string | null;
|
|
288
288
|
}
|
|
289
289
|
/** @oneof */
|
|
290
|
-
|
|
290
|
+
interface DomainEventBodyOneOf {
|
|
291
291
|
createdEvent?: EntityCreatedEvent;
|
|
292
292
|
updatedEvent?: EntityUpdatedEvent;
|
|
293
293
|
deletedEvent?: EntityDeletedEvent;
|
|
294
294
|
actionEvent?: ActionEvent;
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
299
|
-
restoreInfo?: RestoreInfo;
|
|
296
|
+
interface EntityCreatedEvent {
|
|
297
|
+
entity?: string;
|
|
300
298
|
}
|
|
301
|
-
|
|
299
|
+
interface RestoreInfo {
|
|
302
300
|
deletedDate?: Date | null;
|
|
303
301
|
}
|
|
304
|
-
|
|
302
|
+
interface EntityUpdatedEvent {
|
|
305
303
|
/**
|
|
306
304
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
307
305
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
308
306
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
309
307
|
*/
|
|
310
|
-
|
|
308
|
+
currentEntity?: string;
|
|
311
309
|
}
|
|
312
|
-
|
|
310
|
+
interface EntityDeletedEvent {
|
|
313
311
|
/** Entity that was deleted */
|
|
314
|
-
|
|
312
|
+
deletedEntity?: string | null;
|
|
315
313
|
}
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
interface ActionEvent {
|
|
315
|
+
body?: string;
|
|
318
316
|
}
|
|
319
|
-
|
|
317
|
+
interface MessageEnvelope {
|
|
320
318
|
/**
|
|
321
319
|
* App instance ID.
|
|
322
320
|
* @format GUID
|
|
@@ -332,7 +330,7 @@ export interface MessageEnvelope {
|
|
|
332
330
|
/** Stringify payload. */
|
|
333
331
|
data?: string;
|
|
334
332
|
}
|
|
335
|
-
|
|
333
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
336
334
|
/**
|
|
337
335
|
* ID of a site visitor that has not logged in to the site.
|
|
338
336
|
* @format GUID
|
|
@@ -357,7 +355,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
357
355
|
identityType?: WebhookIdentityType;
|
|
358
356
|
}
|
|
359
357
|
/** @oneof */
|
|
360
|
-
|
|
358
|
+
interface IdentificationDataIdOneOf {
|
|
361
359
|
/**
|
|
362
360
|
* ID of a site visitor that has not logged in to the site.
|
|
363
361
|
* @format GUID
|
|
@@ -379,10 +377,89 @@ export interface IdentificationDataIdOneOf {
|
|
|
379
377
|
*/
|
|
380
378
|
appId?: string;
|
|
381
379
|
}
|
|
382
|
-
|
|
380
|
+
declare enum WebhookIdentityType {
|
|
383
381
|
UNKNOWN = "UNKNOWN",
|
|
384
382
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
385
383
|
MEMBER = "MEMBER",
|
|
386
384
|
WIX_USER = "WIX_USER",
|
|
387
385
|
APP = "APP"
|
|
388
386
|
}
|
|
387
|
+
interface SetAttendanceOptions {
|
|
388
|
+
/** Information about whether to send a message to a customer after their attendance was set. */
|
|
389
|
+
participantNotification?: ParticipantNotification;
|
|
390
|
+
}
|
|
391
|
+
interface BulkSetAttendanceOptions {
|
|
392
|
+
returnFullEntity?: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* List of attendance details for booking sessions to create or update.
|
|
395
|
+
* @maxSize 8
|
|
396
|
+
*/
|
|
397
|
+
attendanceDetails?: AttendanceDetails[];
|
|
398
|
+
}
|
|
399
|
+
interface QueryCursorResult {
|
|
400
|
+
cursors: Cursors;
|
|
401
|
+
hasNext: () => boolean;
|
|
402
|
+
hasPrev: () => boolean;
|
|
403
|
+
length: number;
|
|
404
|
+
pageSize: number;
|
|
405
|
+
}
|
|
406
|
+
interface AttendancesQueryResult extends QueryCursorResult {
|
|
407
|
+
items: Attendance[];
|
|
408
|
+
query: AttendancesQueryBuilder;
|
|
409
|
+
next: () => Promise<AttendancesQueryResult>;
|
|
410
|
+
prev: () => Promise<AttendancesQueryResult>;
|
|
411
|
+
}
|
|
412
|
+
interface AttendancesQueryBuilder {
|
|
413
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
414
|
+
* @param value - Value to compare against.
|
|
415
|
+
* @documentationMaturity preview
|
|
416
|
+
*/
|
|
417
|
+
eq: (propertyName: '_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
418
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
419
|
+
* @param value - Value to compare against.
|
|
420
|
+
* @documentationMaturity preview
|
|
421
|
+
*/
|
|
422
|
+
ne: (propertyName: '_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
423
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
424
|
+
* @param value - Value to compare against.
|
|
425
|
+
* @documentationMaturity preview
|
|
426
|
+
*/
|
|
427
|
+
ge: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
428
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
429
|
+
* @param value - Value to compare against.
|
|
430
|
+
* @documentationMaturity preview
|
|
431
|
+
*/
|
|
432
|
+
gt: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
433
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
434
|
+
* @param value - Value to compare against.
|
|
435
|
+
* @documentationMaturity preview
|
|
436
|
+
*/
|
|
437
|
+
le: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
438
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
439
|
+
* @param value - Value to compare against.
|
|
440
|
+
* @documentationMaturity preview
|
|
441
|
+
*/
|
|
442
|
+
lt: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
443
|
+
/** @documentationMaturity preview */
|
|
444
|
+
in: (propertyName: '_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
|
|
445
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
446
|
+
* @documentationMaturity preview
|
|
447
|
+
*/
|
|
448
|
+
ascending: (...propertyNames: Array<'_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees'>) => AttendancesQueryBuilder;
|
|
449
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
450
|
+
* @documentationMaturity preview
|
|
451
|
+
*/
|
|
452
|
+
descending: (...propertyNames: Array<'numberOfAttendees'>) => AttendancesQueryBuilder;
|
|
453
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
454
|
+
* @documentationMaturity preview
|
|
455
|
+
*/
|
|
456
|
+
limit: (limit: number) => AttendancesQueryBuilder;
|
|
457
|
+
/** @param cursor - A pointer to specific record
|
|
458
|
+
* @documentationMaturity preview
|
|
459
|
+
*/
|
|
460
|
+
skipTo: (cursor: string) => AttendancesQueryBuilder;
|
|
461
|
+
/** @documentationMaturity preview */
|
|
462
|
+
find: () => Promise<AttendancesQueryResult>;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export { type Attendance as A, type BulkSetAttendanceOptions as B, type CursorPaging as C, type DomainEvent as D, type EntityCreatedEvent as E, type AttendancesQueryResult as F, type GetAttendanceRequest as G, type ItemMetadata as I, type MessageEnvelope as M, type ParticipantNotification as P, type QueryAttendanceRequest as Q, type RestoreInfo as R, type SetAttendanceOptions as S, WebhookIdentityType as W, type SetAttendanceResponse as a, type BulkSetAttendanceResponse as b, type AttendancesQueryBuilder as c, AttendanceStatus as d, SortOrder as e, type GetAttendanceResponse as f, type SetAttendanceRequest as g, type AttendanceMarkedAsNotAttended as h, type BulkSetAttendanceRequest as i, type AttendanceDetails as j, type BulkAttendanceResult as k, type ApplicationError as l, type BulkActionMetadata as m, type QueryV2 as n, type QueryV2PagingMethodOneOf as o, type Sorting as p, type Paging as q, type QueryAttendanceResponse as r, type CursorPagingMetadata as s, type Cursors as t, type DomainEventBodyOneOf as u, type EntityUpdatedEvent as v, type EntityDeletedEvent as w, type ActionEvent as x, type IdentificationData as y, type IdentificationDataIdOneOf as z };
|