@wix/auto_sdk_bookings_attendance 1.0.14 → 1.0.16

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 (130) hide show
  1. package/build/{es/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-BKW7diO6.d.mts} +125 -48
  2. package/build/{cjs/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-BKW7diO6.d.ts} +125 -48
  3. package/build/{internal/cjs/src/bookings-v2-attendance-attendance.public.d.ts → index.d.mts} +15 -10
  4. package/build/{cjs/src/bookings-v2-attendance-attendance.public.d.ts → index.d.ts} +15 -10
  5. package/build/index.js +461 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +431 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{cjs/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-BKW7diO6.d.mts} +125 -48
  10. package/build/internal/{es/src/bookings-v2-attendance-attendance.types.d.ts → bookings-v2-attendance-attendance.universal-BKW7diO6.d.ts} +125 -48
  11. package/build/internal/{es/src/bookings-v2-attendance-attendance.public.d.ts → index.d.mts} +15 -10
  12. package/build/{es/src/bookings-v2-attendance-attendance.public.d.ts → internal/index.d.ts} +15 -10
  13. package/build/internal/index.js +461 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +431 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +259 -0
  18. package/build/internal/meta.d.ts +259 -0
  19. package/build/internal/meta.js +339 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +309 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +259 -0
  24. package/build/meta.d.ts +259 -0
  25. package/build/meta.js +339 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +309 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
  40. package/build/cjs/src/bookings-v2-attendance-attendance.context.js +0 -14
  41. package/build/cjs/src/bookings-v2-attendance-attendance.context.js.map +0 -1
  42. package/build/cjs/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
  43. package/build/cjs/src/bookings-v2-attendance-attendance.http.js +0 -288
  44. package/build/cjs/src/bookings-v2-attendance-attendance.http.js.map +0 -1
  45. package/build/cjs/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
  46. package/build/cjs/src/bookings-v2-attendance-attendance.meta.js +0 -104
  47. package/build/cjs/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-v2-attendance-attendance.public.js +0 -34
  49. package/build/cjs/src/bookings-v2-attendance-attendance.public.js.map +0 -1
  50. package/build/cjs/src/bookings-v2-attendance-attendance.types.js +0 -31
  51. package/build/cjs/src/bookings-v2-attendance-attendance.types.js.map +0 -1
  52. package/build/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +0 -590
  53. package/build/cjs/src/bookings-v2-attendance-attendance.universal.js +0 -302
  54. package/build/cjs/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/package.json +0 -3
  65. package/build/es/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
  66. package/build/es/src/bookings-v2-attendance-attendance.context.js +0 -8
  67. package/build/es/src/bookings-v2-attendance-attendance.context.js.map +0 -1
  68. package/build/es/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
  69. package/build/es/src/bookings-v2-attendance-attendance.http.js +0 -281
  70. package/build/es/src/bookings-v2-attendance-attendance.http.js.map +0 -1
  71. package/build/es/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
  72. package/build/es/src/bookings-v2-attendance-attendance.meta.js +0 -74
  73. package/build/es/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
  74. package/build/es/src/bookings-v2-attendance-attendance.public.js +0 -24
  75. package/build/es/src/bookings-v2-attendance-attendance.public.js.map +0 -1
  76. package/build/es/src/bookings-v2-attendance-attendance.types.js +0 -28
  77. package/build/es/src/bookings-v2-attendance-attendance.types.js.map +0 -1
  78. package/build/es/src/bookings-v2-attendance-attendance.universal.d.ts +0 -590
  79. package/build/es/src/bookings-v2-attendance-attendance.universal.js +0 -272
  80. package/build/es/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
  91. package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.js +0 -14
  92. package/build/internal/cjs/src/bookings-v2-attendance-attendance.context.js.map +0 -1
  93. package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
  94. package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.js +0 -288
  95. package/build/internal/cjs/src/bookings-v2-attendance-attendance.http.js.map +0 -1
  96. package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
  97. package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.js +0 -104
  98. package/build/internal/cjs/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
  99. package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.js +0 -34
  100. package/build/internal/cjs/src/bookings-v2-attendance-attendance.public.js.map +0 -1
  101. package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js +0 -31
  102. package/build/internal/cjs/src/bookings-v2-attendance-attendance.types.js.map +0 -1
  103. package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.d.ts +0 -590
  104. package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js +0 -302
  105. package/build/internal/cjs/src/bookings-v2-attendance-attendance.universal.js.map +0 -1
  106. package/build/internal/es/index.d.ts +0 -1
  107. package/build/internal/es/index.js +0 -2
  108. package/build/internal/es/index.js.map +0 -1
  109. package/build/internal/es/index.typings.d.ts +0 -1
  110. package/build/internal/es/index.typings.js +0 -2
  111. package/build/internal/es/index.typings.js.map +0 -1
  112. package/build/internal/es/meta.d.ts +0 -1
  113. package/build/internal/es/meta.js +0 -2
  114. package/build/internal/es/meta.js.map +0 -1
  115. package/build/internal/es/src/bookings-v2-attendance-attendance.context.d.ts +0 -8
  116. package/build/internal/es/src/bookings-v2-attendance-attendance.context.js +0 -8
  117. package/build/internal/es/src/bookings-v2-attendance-attendance.context.js.map +0 -1
  118. package/build/internal/es/src/bookings-v2-attendance-attendance.http.d.ts +0 -58
  119. package/build/internal/es/src/bookings-v2-attendance-attendance.http.js +0 -281
  120. package/build/internal/es/src/bookings-v2-attendance-attendance.http.js.map +0 -1
  121. package/build/internal/es/src/bookings-v2-attendance-attendance.meta.d.ts +0 -18
  122. package/build/internal/es/src/bookings-v2-attendance-attendance.meta.js +0 -74
  123. package/build/internal/es/src/bookings-v2-attendance-attendance.meta.js.map +0 -1
  124. package/build/internal/es/src/bookings-v2-attendance-attendance.public.js +0 -24
  125. package/build/internal/es/src/bookings-v2-attendance-attendance.public.js.map +0 -1
  126. package/build/internal/es/src/bookings-v2-attendance-attendance.types.js +0 -28
  127. package/build/internal/es/src/bookings-v2-attendance-attendance.types.js.map +0 -1
  128. package/build/internal/es/src/bookings-v2-attendance-attendance.universal.d.ts +0 -590
  129. package/build/internal/es/src/bookings-v2-attendance-attendance.universal.js +0 -272
  130. 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
- export interface Attendance {
13
+ interface Attendance {
14
14
  /**
15
15
  * ID of the `attendance` object.
16
16
  * @format GUID
17
17
  * @readonly
18
18
  */
19
- id?: string | null;
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
- export declare enum AttendanceStatus {
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. */
@@ -46,25 +46,25 @@ export declare enum AttendanceStatus {
46
46
  NOT_ATTENDED = "NOT_ATTENDED"
47
47
  }
48
48
  /** @enumType */
49
- export type AttendanceStatusWithLiterals = AttendanceStatus | 'NOT_SET' | 'ATTENDED' | 'NOT_ATTENDED';
50
- export interface GetAttendanceRequest {
49
+ type AttendanceStatusWithLiterals = AttendanceStatus | 'NOT_SET' | 'ATTENDED' | 'NOT_ATTENDED';
50
+ interface GetAttendanceRequest {
51
51
  /**
52
52
  * ID of the attendance object to retrieve.
53
53
  * @format GUID
54
54
  */
55
55
  attendanceId: string;
56
56
  }
57
- export interface GetAttendanceResponse {
57
+ interface GetAttendanceResponse {
58
58
  /** Retrieved attendance. */
59
59
  attendance?: Attendance;
60
60
  }
61
- export interface SetAttendanceRequest {
61
+ interface SetAttendanceRequest {
62
62
  /** Attendance to create or update. */
63
63
  attendance: Attendance;
64
64
  /** Information about whether to send a message to a customer after their attendance was set. */
65
65
  participantNotification?: ParticipantNotification;
66
66
  }
67
- export interface ParticipantNotification {
67
+ interface ParticipantNotification {
68
68
  /**
69
69
  * Specify whether to send the message about the changes to the customer.
70
70
  *
@@ -78,17 +78,17 @@ export interface ParticipantNotification {
78
78
  */
79
79
  message?: string | null;
80
80
  }
81
- export interface SetAttendanceResponse {
81
+ interface SetAttendanceResponse {
82
82
  /** Created or updated attendance. */
83
83
  attendance?: Attendance;
84
84
  }
85
- export interface AttendanceMarkedAsNotAttended {
85
+ interface AttendanceMarkedAsNotAttended {
86
86
  /** The attendance information for a booked session that you want to create or update. */
87
87
  attendance?: Attendance;
88
88
  /** Information about whether to send a message to a customer after their attendance was set. */
89
89
  participantNotification?: ParticipantNotification;
90
90
  }
91
- export interface BulkSetAttendanceRequest {
91
+ interface BulkSetAttendanceRequest {
92
92
  returnFullEntity?: boolean;
93
93
  /**
94
94
  * List of attendance details for booking sessions to create or update.
@@ -96,13 +96,13 @@ export interface BulkSetAttendanceRequest {
96
96
  */
97
97
  attendanceDetails?: AttendanceDetails[];
98
98
  }
99
- export interface AttendanceDetails {
99
+ interface AttendanceDetails {
100
100
  /** Created or updated attendance information for a booking session. */
101
101
  attendance?: Attendance;
102
102
  /** Information about whether to send a message to the customer after their attendance was set. */
103
103
  participantNotification?: ParticipantNotification;
104
104
  }
105
- export interface BulkSetAttendanceResponse {
105
+ interface BulkSetAttendanceResponse {
106
106
  /**
107
107
  * List of created or updated `attendance` objects.
108
108
  * @minSize 1
@@ -112,15 +112,15 @@ export interface BulkSetAttendanceResponse {
112
112
  /** Information about the total number of successes and failures for the Bulk Set Attendance call. */
113
113
  bulkActionMetadata?: BulkActionMetadata;
114
114
  }
115
- export interface BulkAttendanceResult {
115
+ interface BulkAttendanceResult {
116
116
  /** Created or updated `attendance` object. */
117
117
  item?: Attendance;
118
118
  /** Metadata for the created or updated `attendance` object. */
119
119
  itemMetadata?: ItemMetadata;
120
120
  }
121
- export interface ItemMetadata {
121
+ interface ItemMetadata {
122
122
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
123
- id?: string | null;
123
+ _id?: string | null;
124
124
  /** Index of the item within the request array. Allows for correlation between request and response items. */
125
125
  originalIndex?: number;
126
126
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
@@ -128,7 +128,7 @@ export interface ItemMetadata {
128
128
  /** Details about the error in case of failure. */
129
129
  error?: ApplicationError;
130
130
  }
131
- export interface ApplicationError {
131
+ interface ApplicationError {
132
132
  /** Error code. */
133
133
  code?: string;
134
134
  /** Description of the error. */
@@ -136,7 +136,7 @@ export interface ApplicationError {
136
136
  /** Data related to the error. */
137
137
  data?: Record<string, any> | null;
138
138
  }
139
- export interface BulkActionMetadata {
139
+ interface BulkActionMetadata {
140
140
  /** Number of items that were successfully processed. */
141
141
  totalSuccesses?: number;
142
142
  /** Number of items that couldn't be processed. */
@@ -144,11 +144,11 @@ export interface BulkActionMetadata {
144
144
  /** Number of failures without details because detailed failure threshold was exceeded. */
145
145
  undetailedFailures?: number;
146
146
  }
147
- export interface QueryAttendanceRequest {
147
+ interface QueryAttendanceRequest {
148
148
  /** Query options. */
149
149
  query: QueryV2;
150
150
  }
151
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
151
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
152
152
  /**
153
153
  * Cursor token pointing to a page of results. In the first request,
154
154
  * specify `cursorPaging.limit`. For following requests, specify the
@@ -173,7 +173,7 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
173
173
  sort?: Sorting[];
174
174
  }
175
175
  /** @oneof */
176
- export interface QueryV2PagingMethodOneOf {
176
+ interface QueryV2PagingMethodOneOf {
177
177
  /**
178
178
  * Cursor token pointing to a page of results. In the first request,
179
179
  * specify `cursorPaging.limit`. For following requests, specify the
@@ -182,7 +182,7 @@ export interface QueryV2PagingMethodOneOf {
182
182
  */
183
183
  cursorPaging?: CursorPaging;
184
184
  }
185
- export interface Sorting {
185
+ interface Sorting {
186
186
  /** Name of the field to sort by. */
187
187
  fieldName?: string;
188
188
  /** Sort order. */
@@ -193,19 +193,19 @@ export interface Sorting {
193
193
  *
194
194
  * Default: `ASC`.
195
195
  */
196
- export declare enum SortOrder {
196
+ declare enum SortOrder {
197
197
  ASC = "ASC",
198
198
  DESC = "DESC"
199
199
  }
200
200
  /** @enumType */
201
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
202
- export interface Paging {
201
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
202
+ interface Paging {
203
203
  /** Number of items to load. */
204
204
  limit?: number | null;
205
205
  /** Number of items to skip in the current sort order. */
206
206
  offset?: number | null;
207
207
  }
208
- export interface CursorPaging {
208
+ interface CursorPaging {
209
209
  /**
210
210
  * Number of `Attendance` objects to return.
211
211
  *
@@ -225,14 +225,14 @@ export interface CursorPaging {
225
225
  cursor?: string | null;
226
226
  }
227
227
  /** List of objects that contain attendance information. */
228
- export interface QueryAttendanceResponse {
228
+ interface QueryAttendanceResponse {
229
229
  /** List of `attendance` objects that contain attendance information for a booked session. */
230
230
  attendances?: Attendance[];
231
231
  /** Metadata for the paged set of results. */
232
232
  pagingMetadata?: CursorPagingMetadata;
233
233
  }
234
234
  /** This is the preferred message for cursor-paging enabled services */
235
- export interface CursorPagingMetadata {
235
+ interface CursorPagingMetadata {
236
236
  /** 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). */
237
237
  cursors?: Cursors;
238
238
  /**
@@ -242,19 +242,19 @@ export interface CursorPagingMetadata {
242
242
  */
243
243
  hasNext?: boolean | null;
244
244
  }
245
- export interface Cursors {
245
+ interface Cursors {
246
246
  /** Cursor pointing to next page in the list of results. */
247
247
  next?: string | null;
248
248
  /** Cursor pointing to previous page in the list of results. */
249
249
  prev?: string | null;
250
250
  }
251
- export interface DomainEvent extends DomainEventBodyOneOf {
251
+ interface DomainEvent extends DomainEventBodyOneOf {
252
252
  createdEvent?: EntityCreatedEvent;
253
253
  updatedEvent?: EntityUpdatedEvent;
254
254
  deletedEvent?: EntityDeletedEvent;
255
255
  actionEvent?: ActionEvent;
256
256
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
257
- id?: string;
257
+ _id?: string;
258
258
  /**
259
259
  * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
260
260
  * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
@@ -283,36 +283,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
283
283
  entityEventSequence?: string | null;
284
284
  }
285
285
  /** @oneof */
286
- export interface DomainEventBodyOneOf {
286
+ interface DomainEventBodyOneOf {
287
287
  createdEvent?: EntityCreatedEvent;
288
288
  updatedEvent?: EntityUpdatedEvent;
289
289
  deletedEvent?: EntityDeletedEvent;
290
290
  actionEvent?: ActionEvent;
291
291
  }
292
- export interface EntityCreatedEvent {
293
- entityAsJson?: string;
294
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
295
- restoreInfo?: RestoreInfo;
292
+ interface EntityCreatedEvent {
293
+ entity?: string;
296
294
  }
297
- export interface RestoreInfo {
295
+ interface RestoreInfo {
298
296
  deletedDate?: Date | null;
299
297
  }
300
- export interface EntityUpdatedEvent {
298
+ interface EntityUpdatedEvent {
301
299
  /**
302
300
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
303
301
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
304
302
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
305
303
  */
306
- currentEntityAsJson?: string;
304
+ currentEntity?: string;
307
305
  }
308
- export interface EntityDeletedEvent {
306
+ interface EntityDeletedEvent {
309
307
  /** Entity that was deleted. */
310
- deletedEntityAsJson?: string | null;
308
+ deletedEntity?: string | null;
311
309
  }
312
- export interface ActionEvent {
313
- bodyAsJson?: string;
310
+ interface ActionEvent {
311
+ body?: string;
314
312
  }
315
- export interface MessageEnvelope {
313
+ interface MessageEnvelope {
316
314
  /**
317
315
  * App instance ID.
318
316
  * @format GUID
@@ -328,7 +326,7 @@ export interface MessageEnvelope {
328
326
  /** Stringify payload. */
329
327
  data?: string;
330
328
  }
331
- export interface IdentificationData extends IdentificationDataIdOneOf {
329
+ interface IdentificationData extends IdentificationDataIdOneOf {
332
330
  /**
333
331
  * ID of a site visitor that has not logged in to the site.
334
332
  * @format GUID
@@ -353,7 +351,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
353
351
  identityType?: WebhookIdentityTypeWithLiterals;
354
352
  }
355
353
  /** @oneof */
356
- export interface IdentificationDataIdOneOf {
354
+ interface IdentificationDataIdOneOf {
357
355
  /**
358
356
  * ID of a site visitor that has not logged in to the site.
359
357
  * @format GUID
@@ -375,7 +373,7 @@ export interface IdentificationDataIdOneOf {
375
373
  */
376
374
  appId?: string;
377
375
  }
378
- export declare enum WebhookIdentityType {
376
+ declare enum WebhookIdentityType {
379
377
  UNKNOWN = "UNKNOWN",
380
378
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
381
379
  MEMBER = "MEMBER",
@@ -383,4 +381,83 @@ export declare enum WebhookIdentityType {
383
381
  APP = "APP"
384
382
  }
385
383
  /** @enumType */
386
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
384
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
385
+ interface SetAttendanceOptions {
386
+ /** Information about whether to send a message to a customer after their attendance was set. */
387
+ participantNotification?: ParticipantNotification;
388
+ }
389
+ interface BulkSetAttendanceOptions {
390
+ returnFullEntity?: boolean;
391
+ /**
392
+ * List of attendance details for booking sessions to create or update.
393
+ * @maxSize 8
394
+ */
395
+ attendanceDetails?: AttendanceDetails[];
396
+ }
397
+ interface QueryCursorResult {
398
+ cursors: Cursors;
399
+ hasNext: () => boolean;
400
+ hasPrev: () => boolean;
401
+ length: number;
402
+ pageSize: number;
403
+ }
404
+ interface AttendancesQueryResult extends QueryCursorResult {
405
+ items: Attendance[];
406
+ query: AttendancesQueryBuilder;
407
+ next: () => Promise<AttendancesQueryResult>;
408
+ prev: () => Promise<AttendancesQueryResult>;
409
+ }
410
+ interface AttendancesQueryBuilder {
411
+ /** @param propertyName - Property whose value is compared with `value`.
412
+ * @param value - Value to compare against.
413
+ * @documentationMaturity preview
414
+ */
415
+ eq: (propertyName: '_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
416
+ /** @param propertyName - Property whose value is compared with `value`.
417
+ * @param value - Value to compare against.
418
+ * @documentationMaturity preview
419
+ */
420
+ ne: (propertyName: '_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
421
+ /** @param propertyName - Property whose value is compared with `value`.
422
+ * @param value - Value to compare against.
423
+ * @documentationMaturity preview
424
+ */
425
+ ge: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
426
+ /** @param propertyName - Property whose value is compared with `value`.
427
+ * @param value - Value to compare against.
428
+ * @documentationMaturity preview
429
+ */
430
+ gt: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
431
+ /** @param propertyName - Property whose value is compared with `value`.
432
+ * @param value - Value to compare against.
433
+ * @documentationMaturity preview
434
+ */
435
+ le: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
436
+ /** @param propertyName - Property whose value is compared with `value`.
437
+ * @param value - Value to compare against.
438
+ * @documentationMaturity preview
439
+ */
440
+ lt: (propertyName: 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
441
+ /** @documentationMaturity preview */
442
+ in: (propertyName: '_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees', value: any) => AttendancesQueryBuilder;
443
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
444
+ * @documentationMaturity preview
445
+ */
446
+ ascending: (...propertyNames: Array<'_id' | 'bookingId' | 'sessionId' | 'status' | 'numberOfAttendees'>) => AttendancesQueryBuilder;
447
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
448
+ * @documentationMaturity preview
449
+ */
450
+ descending: (...propertyNames: Array<'numberOfAttendees'>) => AttendancesQueryBuilder;
451
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
452
+ * @documentationMaturity preview
453
+ */
454
+ limit: (limit: number) => AttendancesQueryBuilder;
455
+ /** @param cursor - A pointer to specific record
456
+ * @documentationMaturity preview
457
+ */
458
+ skipTo: (cursor: string) => AttendancesQueryBuilder;
459
+ /** @documentationMaturity preview */
460
+ find: () => Promise<AttendancesQueryResult>;
461
+ }
462
+
463
+ 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 };