@wix/auto_sdk_bookings_attendance 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/bookings-v2-attendance-attendance.context.d.ts +8 -0
  11. package/build/cjs/src/bookings-v2-attendance-attendance.context.js +14 -0
  12. package/build/cjs/src/bookings-v2-attendance-attendance.context.js.map +1 -0
  13. package/build/cjs/src/bookings-v2-attendance-attendance.http.d.ts +58 -0
  14. package/build/cjs/src/bookings-v2-attendance-attendance.http.js +288 -0
  15. package/build/cjs/src/bookings-v2-attendance-attendance.http.js.map +1 -0
  16. package/build/cjs/src/bookings-v2-attendance-attendance.meta.d.ts +18 -0
  17. package/build/cjs/src/bookings-v2-attendance-attendance.meta.js +104 -0
  18. package/build/cjs/src/bookings-v2-attendance-attendance.meta.js.map +1 -0
  19. package/build/cjs/src/bookings-v2-attendance-attendance.public.d.ts +82 -0
  20. package/build/cjs/src/bookings-v2-attendance-attendance.public.js +34 -0
  21. package/build/cjs/src/bookings-v2-attendance-attendance.public.js.map +1 -0
  22. package/build/cjs/src/bookings-v2-attendance-attendance.types.d.ts +369 -0
  23. package/build/cjs/src/bookings-v2-attendance-attendance.types.js +31 -0
  24. package/build/cjs/src/bookings-v2-attendance-attendance.types.js.map +1 -0
  25. package/build/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +559 -0
  26. package/build/cjs/src/bookings-v2-attendance-attendance.universal.js +296 -0
  27. package/build/cjs/src/bookings-v2-attendance-attendance.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/bookings-v2-attendance-attendance.context.d.ts +8 -0
  39. package/build/es/src/bookings-v2-attendance-attendance.context.js +8 -0
  40. package/build/es/src/bookings-v2-attendance-attendance.context.js.map +1 -0
  41. package/build/es/src/bookings-v2-attendance-attendance.http.d.ts +58 -0
  42. package/build/es/src/bookings-v2-attendance-attendance.http.js +281 -0
  43. package/build/es/src/bookings-v2-attendance-attendance.http.js.map +1 -0
  44. package/build/es/src/bookings-v2-attendance-attendance.meta.d.ts +18 -0
  45. package/build/es/src/bookings-v2-attendance-attendance.meta.js +74 -0
  46. package/build/es/src/bookings-v2-attendance-attendance.meta.js.map +1 -0
  47. package/build/es/src/bookings-v2-attendance-attendance.public.d.ts +82 -0
  48. package/build/es/src/bookings-v2-attendance-attendance.public.js +24 -0
  49. package/build/es/src/bookings-v2-attendance-attendance.public.js.map +1 -0
  50. package/build/es/src/bookings-v2-attendance-attendance.types.d.ts +369 -0
  51. package/build/es/src/bookings-v2-attendance-attendance.types.js +28 -0
  52. package/build/es/src/bookings-v2-attendance-attendance.types.js.map +1 -0
  53. package/build/es/src/bookings-v2-attendance-attendance.universal.d.ts +559 -0
  54. package/build/es/src/bookings-v2-attendance-attendance.universal.js +266 -0
  55. package/build/es/src/bookings-v2-attendance-attendance.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.d.ts +8 -0
  66. package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.js +14 -0
  67. package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.js.map +1 -0
  68. package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.d.ts +58 -0
  69. package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.js +288 -0
  70. package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.js.map +1 -0
  71. package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.d.ts +18 -0
  72. package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.js +104 -0
  73. package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.js.map +1 -0
  74. package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.d.ts +82 -0
  75. package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.js +34 -0
  76. package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.js.map +1 -0
  77. package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.d.ts +369 -0
  78. package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js +31 -0
  79. package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js.map +1 -0
  80. package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +559 -0
  81. package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js +296 -0
  82. package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/bookings-v2-attendance-attendance.context.d.ts +8 -0
  93. package/build/internal/es/src/bookings-v2-attendance-attendance.context.js +8 -0
  94. package/build/internal/es/src/bookings-v2-attendance-attendance.context.js.map +1 -0
  95. package/build/internal/es/src/bookings-v2-attendance-attendance.http.d.ts +58 -0
  96. package/build/internal/es/src/bookings-v2-attendance-attendance.http.js +281 -0
  97. package/build/internal/es/src/bookings-v2-attendance-attendance.http.js.map +1 -0
  98. package/build/internal/es/src/bookings-v2-attendance-attendance.meta.d.ts +18 -0
  99. package/build/internal/es/src/bookings-v2-attendance-attendance.meta.js +74 -0
  100. package/build/internal/es/src/bookings-v2-attendance-attendance.meta.js.map +1 -0
  101. package/build/internal/es/src/bookings-v2-attendance-attendance.public.d.ts +82 -0
  102. package/build/internal/es/src/bookings-v2-attendance-attendance.public.js +24 -0
  103. package/build/internal/es/src/bookings-v2-attendance-attendance.public.js.map +1 -0
  104. package/build/internal/es/src/bookings-v2-attendance-attendance.types.d.ts +369 -0
  105. package/build/internal/es/src/bookings-v2-attendance-attendance.types.js +28 -0
  106. package/build/internal/es/src/bookings-v2-attendance-attendance.types.js.map +1 -0
  107. package/build/internal/es/src/bookings-v2-attendance-attendance.universal.d.ts +559 -0
  108. package/build/internal/es/src/bookings-v2-attendance-attendance.universal.js +266 -0
  109. package/build/internal/es/src/bookings-v2-attendance-attendance.universal.js.map +1 -0
  110. package/meta/package.json +3 -0
  111. package/package.json +52 -0
@@ -0,0 +1,369 @@
1
+ /**
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` 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` property.
12
+ */
13
+ export interface Attendance {
14
+ /**
15
+ * ID of the `attendance` object.
16
+ * @readonly
17
+ */
18
+ id?: string | null;
19
+ /** Corresponding booking ID. */
20
+ bookingId?: string | null;
21
+ /** Corresponding session ID. */
22
+ sessionId?: string | null;
23
+ /** Status indicating if any participants attended the session. */
24
+ status?: AttendanceStatus;
25
+ /**
26
+ * Total number of participants that attended the session. By default, the number
27
+ * of attendees is set to `1`, but you can set a number to greater than `1` if multiple
28
+ * participants attended.
29
+ *
30
+ * Do not set to `0` to indicate that no one attended the session. Instead, set the `status` field to `NOT_ATTENDED`.
31
+ *
32
+ * Default: 1
33
+ */
34
+ numberOfAttendees?: number;
35
+ }
36
+ export declare enum AttendanceStatus {
37
+ /** There is no available attendance information. */
38
+ NOT_SET = "NOT_SET",
39
+ /** At least a single participant attended the session. */
40
+ ATTENDED = "ATTENDED",
41
+ /** No participants attended the session. */
42
+ NOT_ATTENDED = "NOT_ATTENDED"
43
+ }
44
+ export interface GetAttendanceRequest {
45
+ /** ID of the attendance object to retrieve. */
46
+ attendanceId: string;
47
+ }
48
+ export interface GetAttendanceResponse {
49
+ /** Retrieved attendance. */
50
+ attendance?: Attendance;
51
+ }
52
+ export interface SetAttendanceRequest {
53
+ /** Attendance to create or update. */
54
+ attendance: Attendance;
55
+ /** Information about whether to send a message to a customer after their attendance was set. */
56
+ participantNotification?: ParticipantNotification;
57
+ }
58
+ export interface ParticipantNotification {
59
+ /**
60
+ * Specify whether to send the message about the changes to the customer.
61
+ *
62
+ * Default: `false`
63
+ */
64
+ notifyParticipants?: boolean | null;
65
+ /** Optional custom message to send to the participants about the changes to the booking. */
66
+ message?: string | null;
67
+ }
68
+ export interface SetAttendanceResponse {
69
+ /** Created or updated attendance. */
70
+ attendance?: Attendance;
71
+ }
72
+ export interface AttendanceMarkedAsNotAttended {
73
+ /** The attendance information for a booked session that you want to create or update. */
74
+ attendance?: Attendance;
75
+ /** Information about whether to send a message to a customer after their attendance was set. */
76
+ participantNotification?: ParticipantNotification;
77
+ }
78
+ export interface BulkSetAttendanceRequest {
79
+ returnFullEntity?: boolean;
80
+ /** List of attendance details for booking sessions to create or update. */
81
+ attendanceDetails?: AttendanceDetails[];
82
+ }
83
+ export interface AttendanceDetails {
84
+ /** Created or updated attendance information for a booking session. */
85
+ attendance?: Attendance;
86
+ /** Information about whether to send a message to the customer after their attendance was set. */
87
+ participantNotification?: ParticipantNotification;
88
+ }
89
+ export interface BulkSetAttendanceResponse {
90
+ /** List of created or updated `attendance` objects. */
91
+ results?: BulkAttendanceResult[];
92
+ /** Information about the total number of successes and failures for the Bulk Set Attendance call. */
93
+ bulkActionMetadata?: BulkActionMetadata;
94
+ }
95
+ export interface BulkAttendanceResult {
96
+ /** Created or updated `attendance` object. */
97
+ item?: Attendance;
98
+ /** Metadata for the created or updated `attendance` object. */
99
+ itemMetadata?: ItemMetadata;
100
+ }
101
+ export interface ItemMetadata {
102
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
103
+ id?: string | null;
104
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
105
+ originalIndex?: number;
106
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
107
+ success?: boolean;
108
+ /** Details about the error in case of failure. */
109
+ error?: ApplicationError;
110
+ }
111
+ export interface ApplicationError {
112
+ /** Error code. */
113
+ code?: string;
114
+ /** Description of the error. */
115
+ description?: string;
116
+ /** Data related to the error. */
117
+ data?: Record<string, any> | null;
118
+ }
119
+ export interface BulkActionMetadata {
120
+ /** Number of items that were successfully processed. */
121
+ totalSuccesses?: number;
122
+ /** Number of items that couldn't be processed. */
123
+ totalFailures?: number;
124
+ /** Number of failures without details because detailed failure threshold was exceeded. */
125
+ undetailedFailures?: number;
126
+ }
127
+ export interface QueryAttendanceRequest {
128
+ /** Query options. */
129
+ query: QueryV2;
130
+ }
131
+ export interface QueryV2 extends QueryV2PagingMethodOneOf {
132
+ /** Cursors to navigate through the result pages using `next` and `prev`. */
133
+ cursorPaging?: CursorPaging;
134
+ /**
135
+ * Filter object. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
136
+ *
137
+ * For a detailed list of supported fields and operators, see [Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-bookings/attendance/supported-filters).
138
+ *
139
+ * Max: 1 filter
140
+ */
141
+ filter?: Record<string, any> | null;
142
+ /**
143
+ * Sort object in the following format:
144
+ * `[ {"fieldName":"sortField1","order":"ASC"}, {"fieldName":"sortField2","order":"DESC"} ]`
145
+ *
146
+ * For details about sorting, see [Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-bookings/attendance/supported-filters).
147
+ */
148
+ sort?: Sorting[];
149
+ }
150
+ /** @oneof */
151
+ export interface QueryV2PagingMethodOneOf {
152
+ /** Cursors to navigate through the result pages using `next` and `prev`. */
153
+ cursorPaging?: CursorPaging;
154
+ }
155
+ export interface Sorting {
156
+ /** Name of the field to sort by. */
157
+ fieldName?: string;
158
+ /** Sort order. */
159
+ order?: SortOrder;
160
+ }
161
+ /**
162
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
163
+ *
164
+ * Default: `ASC`.
165
+ */
166
+ export declare enum SortOrder {
167
+ ASC = "ASC",
168
+ DESC = "DESC"
169
+ }
170
+ export interface Paging {
171
+ /** Number of items to load. */
172
+ limit?: number | null;
173
+ /** Number of items to skip in the current sort order. */
174
+ offset?: number | null;
175
+ }
176
+ export interface CursorPaging {
177
+ /**
178
+ * Number of `Attendance` objects to return.
179
+ *
180
+ * Default: `50`
181
+ * Maximum: `1000`
182
+ */
183
+ limit?: number | null;
184
+ /**
185
+ * Pointer to the next or previous page in the list of results.
186
+ *
187
+ * You can get the relevant cursor token
188
+ * from the `pagingMetadata` object in the previous call's response.
189
+ *
190
+ * Not relevant for the first request.
191
+ */
192
+ cursor?: string | null;
193
+ }
194
+ /** List of objects that contain attendance information. */
195
+ export interface QueryAttendanceResponse {
196
+ /** List of `attendance` objects that contain attendance information for a booked session. */
197
+ attendances?: Attendance[];
198
+ /** Metadata for the paged set of results. */
199
+ pagingMetadata?: CursorPagingMetadata;
200
+ }
201
+ /** This is the preferred message for cursor-paging enabled services */
202
+ export interface CursorPagingMetadata {
203
+ /** 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). */
204
+ cursors?: Cursors;
205
+ /**
206
+ * Indicates if there are more results after the current page.
207
+ * If `true`, another page of results can be retrieved.
208
+ * If `false`, this is the last page.
209
+ */
210
+ hasNext?: boolean | null;
211
+ }
212
+ export interface Cursors {
213
+ /** Cursor pointing to next page in the list of results. */
214
+ next?: string | null;
215
+ /** Cursor pointing to previous page in the list of results. */
216
+ prev?: string | null;
217
+ }
218
+ export interface DomainEvent extends DomainEventBodyOneOf {
219
+ createdEvent?: EntityCreatedEvent;
220
+ updatedEvent?: EntityUpdatedEvent;
221
+ deletedEvent?: EntityDeletedEvent;
222
+ actionEvent?: ActionEvent;
223
+ /**
224
+ * Unique event ID.
225
+ * Allows clients to ignore duplicate webhooks.
226
+ */
227
+ id?: string;
228
+ /**
229
+ * Assumes actions are also always typed to an entity_type
230
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
231
+ */
232
+ entityFqdn?: string;
233
+ /**
234
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
235
+ * This is although the created/updated/deleted notion is duplication of the oneof types
236
+ * Example: created/updated/deleted/started/completed/email_opened
237
+ */
238
+ slug?: string;
239
+ /** ID of the entity associated with the event. */
240
+ entityId?: string;
241
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
242
+ eventTime?: Date | null;
243
+ /**
244
+ * Whether the event was triggered as a result of a privacy regulation application
245
+ * (for example, GDPR).
246
+ */
247
+ triggeredByAnonymizeRequest?: boolean | null;
248
+ /** If present, indicates the action that triggered the event. */
249
+ originatedFrom?: string | null;
250
+ /**
251
+ * A sequence number defining the order of updates to the underlying entity.
252
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
253
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
254
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
255
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
256
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
257
+ */
258
+ entityEventSequence?: string | null;
259
+ }
260
+ /** @oneof */
261
+ export interface DomainEventBodyOneOf {
262
+ createdEvent?: EntityCreatedEvent;
263
+ updatedEvent?: EntityUpdatedEvent;
264
+ deletedEvent?: EntityDeletedEvent;
265
+ actionEvent?: ActionEvent;
266
+ }
267
+ export interface EntityCreatedEvent {
268
+ entityAsJson?: string;
269
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
270
+ restoreInfo?: RestoreInfo;
271
+ }
272
+ export interface RestoreInfo {
273
+ deletedDate?: Date | null;
274
+ }
275
+ export interface EntityUpdatedEvent {
276
+ /**
277
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
278
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
279
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
280
+ */
281
+ currentEntityAsJson?: string;
282
+ }
283
+ export interface EntityDeletedEvent {
284
+ /** Entity that was deleted */
285
+ deletedEntityAsJson?: string | null;
286
+ }
287
+ export interface ActionEvent {
288
+ bodyAsJson?: string;
289
+ }
290
+ export interface MessageEnvelope {
291
+ /** App instance ID. */
292
+ instanceId?: string | null;
293
+ /** Event type. */
294
+ eventType?: string;
295
+ /** The identification type and identity data. */
296
+ identity?: IdentificationData;
297
+ /** Stringify payload. */
298
+ data?: string;
299
+ }
300
+ export interface IdentificationData extends IdentificationDataIdOneOf {
301
+ /** ID of a site visitor that has not logged in to the site. */
302
+ anonymousVisitorId?: string;
303
+ /** ID of a site visitor that has logged in to the site. */
304
+ memberId?: string;
305
+ /** ID of a Wix user (site owner, contributor, etc.). */
306
+ wixUserId?: string;
307
+ /** ID of an app. */
308
+ appId?: string;
309
+ /** @readonly */
310
+ identityType?: WebhookIdentityType;
311
+ }
312
+ /** @oneof */
313
+ export interface IdentificationDataIdOneOf {
314
+ /** ID of a site visitor that has not logged in to the site. */
315
+ anonymousVisitorId?: string;
316
+ /** ID of a site visitor that has logged in to the site. */
317
+ memberId?: string;
318
+ /** ID of a Wix user (site owner, contributor, etc.). */
319
+ wixUserId?: string;
320
+ /** ID of an app. */
321
+ appId?: string;
322
+ }
323
+ export declare enum WebhookIdentityType {
324
+ UNKNOWN = "UNKNOWN",
325
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
326
+ MEMBER = "MEMBER",
327
+ WIX_USER = "WIX_USER",
328
+ APP = "APP"
329
+ }
330
+ interface AttendanceNonNullableFields {
331
+ status: AttendanceStatus;
332
+ numberOfAttendees: number;
333
+ }
334
+ export interface GetAttendanceResponseNonNullableFields {
335
+ attendance?: AttendanceNonNullableFields;
336
+ }
337
+ export interface SetAttendanceResponseNonNullableFields {
338
+ attendance?: AttendanceNonNullableFields;
339
+ }
340
+ interface ApplicationErrorNonNullableFields {
341
+ code: string;
342
+ description: string;
343
+ }
344
+ interface ItemMetadataNonNullableFields {
345
+ originalIndex: number;
346
+ success: boolean;
347
+ error?: ApplicationErrorNonNullableFields;
348
+ }
349
+ interface BulkAttendanceResultNonNullableFields {
350
+ item?: AttendanceNonNullableFields;
351
+ itemMetadata?: ItemMetadataNonNullableFields;
352
+ }
353
+ interface BulkActionMetadataNonNullableFields {
354
+ totalSuccesses: number;
355
+ totalFailures: number;
356
+ undetailedFailures: number;
357
+ }
358
+ export interface BulkSetAttendanceResponseNonNullableFields {
359
+ results: BulkAttendanceResultNonNullableFields[];
360
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields;
361
+ }
362
+ interface CursorPagingMetadataNonNullableFields {
363
+ totalCount: number;
364
+ }
365
+ export interface QueryAttendanceResponseNonNullableFields {
366
+ attendances: AttendanceNonNullableFields[];
367
+ pagingMetadata?: CursorPagingMetadataNonNullableFields;
368
+ }
369
+ export {};
@@ -0,0 +1,28 @@
1
+ export var AttendanceStatus;
2
+ (function (AttendanceStatus) {
3
+ /** There is no available attendance information. */
4
+ AttendanceStatus["NOT_SET"] = "NOT_SET";
5
+ /** At least a single participant attended the session. */
6
+ AttendanceStatus["ATTENDED"] = "ATTENDED";
7
+ /** No participants attended the session. */
8
+ AttendanceStatus["NOT_ATTENDED"] = "NOT_ATTENDED";
9
+ })(AttendanceStatus || (AttendanceStatus = {}));
10
+ /**
11
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
12
+ *
13
+ * Default: `ASC`.
14
+ */
15
+ export var SortOrder;
16
+ (function (SortOrder) {
17
+ SortOrder["ASC"] = "ASC";
18
+ SortOrder["DESC"] = "DESC";
19
+ })(SortOrder || (SortOrder = {}));
20
+ export var WebhookIdentityType;
21
+ (function (WebhookIdentityType) {
22
+ WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
23
+ WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
24
+ WebhookIdentityType["MEMBER"] = "MEMBER";
25
+ WebhookIdentityType["WIX_USER"] = "WIX_USER";
26
+ WebhookIdentityType["APP"] = "APP";
27
+ })(WebhookIdentityType || (WebhookIdentityType = {}));
28
+ //# sourceMappingURL=bookings-v2-attendance-attendance.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":"AAoCA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,oDAAoD;IACpD,uCAAmB,CAAA;IACnB,0DAA0D;IAC1D,yCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iDAA6B,CAAA;AAC/B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAwID;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA0KD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}