@wix/auto_sdk_bookings_attendance 1.0.7 → 1.0.9

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/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/{internal/index.d.ts → cjs/src/bookings-v2-attendance-attendance.public.d.ts} +10 -15
  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/{bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.mts → cjs/src/bookings-v2-attendance-attendance.types.d.ts} +45 -122
  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 +588 -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/{index.d.ts → es/src/bookings-v2-attendance-attendance.public.d.ts} +10 -15
  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/{bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.ts → es/src/bookings-v2-attendance-attendance.types.d.ts} +45 -122
  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 +588 -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/{index.d.mts → cjs/src/bookings-v2-attendance-attendance.public.d.ts} +10 -15
  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/{bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.mts → cjs/src/bookings-v2-attendance-attendance.types.d.ts} +45 -122
  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 +588 -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/{index.d.mts → internal/es/src/bookings-v2-attendance-attendance.public.d.ts} +10 -15
  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/{bookings-v2-attendance-attendance.universal-Bpl5-MB6.d.ts → es/src/bookings-v2-attendance-attendance.types.d.ts} +45 -122
  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 +588 -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/package.json +13 -14
  111. package/build/index.js +0 -458
  112. package/build/index.js.map +0 -1
  113. package/build/index.mjs +0 -428
  114. package/build/index.mjs.map +0 -1
  115. package/build/internal/index.js +0 -458
  116. package/build/internal/index.js.map +0 -1
  117. package/build/internal/index.mjs +0 -428
  118. package/build/internal/index.mjs.map +0 -1
  119. package/build/internal/meta.d.mts +0 -255
  120. package/build/internal/meta.d.ts +0 -255
  121. package/build/internal/meta.js +0 -339
  122. package/build/internal/meta.js.map +0 -1
  123. package/build/internal/meta.mjs +0 -309
  124. package/build/internal/meta.mjs.map +0 -1
  125. package/build/meta.d.mts +0 -255
  126. package/build/meta.d.ts +0 -255
  127. package/build/meta.js +0 -339
  128. package/build/meta.js.map +0 -1
  129. package/build/meta.mjs +0 -309
  130. package/build/meta.mjs.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
- interface Attendance {
13
+ export 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 @@ interface Attendance {
37
37
  */
38
38
  numberOfAttendees?: number;
39
39
  }
40
- declare enum AttendanceStatus {
40
+ export 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 @@ declare enum AttendanceStatus {
45
45
  /** No participants attended the session. */
46
46
  NOT_ATTENDED = "NOT_ATTENDED"
47
47
  }
48
- interface GetAttendanceRequest {
48
+ export 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
- interface GetAttendanceResponse {
55
+ export interface GetAttendanceResponse {
56
56
  /** Retrieved attendance. */
57
57
  attendance?: Attendance;
58
58
  }
59
- interface SetAttendanceRequest {
59
+ export 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
- interface ParticipantNotification {
65
+ export interface ParticipantNotification {
66
66
  /**
67
67
  * Specify whether to send the message about the changes to the customer.
68
68
  *
@@ -76,17 +76,17 @@ interface ParticipantNotification {
76
76
  */
77
77
  message?: string | null;
78
78
  }
79
- interface SetAttendanceResponse {
79
+ export interface SetAttendanceResponse {
80
80
  /** Created or updated attendance. */
81
81
  attendance?: Attendance;
82
82
  }
83
- interface AttendanceMarkedAsNotAttended {
83
+ export 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
- interface BulkSetAttendanceRequest {
89
+ export 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 @@ interface BulkSetAttendanceRequest {
94
94
  */
95
95
  attendanceDetails?: AttendanceDetails[];
96
96
  }
97
- interface AttendanceDetails {
97
+ export 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
- interface BulkSetAttendanceResponse {
103
+ export interface BulkSetAttendanceResponse {
104
104
  /**
105
105
  * List of created or updated `attendance` objects.
106
106
  * @minSize 1
@@ -110,15 +110,15 @@ 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
- interface BulkAttendanceResult {
113
+ export 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
- interface ItemMetadata {
119
+ export interface ItemMetadata {
120
120
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
121
- _id?: string | null;
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 @@ interface ItemMetadata {
126
126
  /** Details about the error in case of failure. */
127
127
  error?: ApplicationError;
128
128
  }
129
- interface ApplicationError {
129
+ export interface ApplicationError {
130
130
  /** Error code. */
131
131
  code?: string;
132
132
  /** Description of the error. */
@@ -134,7 +134,7 @@ interface ApplicationError {
134
134
  /** Data related to the error. */
135
135
  data?: Record<string, any> | null;
136
136
  }
137
- interface BulkActionMetadata {
137
+ export 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 @@ interface BulkActionMetadata {
142
142
  /** Number of failures without details because detailed failure threshold was exceeded. */
143
143
  undetailedFailures?: number;
144
144
  }
145
- interface QueryAttendanceRequest {
145
+ export interface QueryAttendanceRequest {
146
146
  /** Query options. */
147
147
  query: QueryV2;
148
148
  }
149
- interface QueryV2 extends QueryV2PagingMethodOneOf {
149
+ export 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 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
171
171
  sort?: Sorting[];
172
172
  }
173
173
  /** @oneof */
174
- interface QueryV2PagingMethodOneOf {
174
+ export 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 @@ interface QueryV2PagingMethodOneOf {
180
180
  */
181
181
  cursorPaging?: CursorPaging;
182
182
  }
183
- interface Sorting {
183
+ export interface Sorting {
184
184
  /** Name of the field to sort by. */
185
185
  fieldName?: string;
186
186
  /** Sort order. */
@@ -191,17 +191,17 @@ interface Sorting {
191
191
  *
192
192
  * Default: `ASC`.
193
193
  */
194
- declare enum SortOrder {
194
+ export declare enum SortOrder {
195
195
  ASC = "ASC",
196
196
  DESC = "DESC"
197
197
  }
198
- interface Paging {
198
+ export 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
- interface CursorPaging {
204
+ export interface CursorPaging {
205
205
  /**
206
206
  * Number of `Attendance` objects to return.
207
207
  *
@@ -221,14 +221,14 @@ interface CursorPaging {
221
221
  cursor?: string | null;
222
222
  }
223
223
  /** List of objects that contain attendance information. */
224
- interface QueryAttendanceResponse {
224
+ export 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
- interface CursorPagingMetadata {
231
+ export 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 @@ interface CursorPagingMetadata {
238
238
  */
239
239
  hasNext?: boolean | null;
240
240
  }
241
- interface Cursors {
241
+ export 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
- interface DomainEvent extends DomainEventBodyOneOf {
247
+ export interface DomainEvent extends DomainEventBodyOneOf {
248
248
  createdEvent?: EntityCreatedEvent;
249
249
  updatedEvent?: EntityUpdatedEvent;
250
250
  deletedEvent?: EntityDeletedEvent;
@@ -253,7 +253,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
253
253
  * Unique event ID.
254
254
  * Allows clients to ignore duplicate webhooks.
255
255
  */
256
- _id?: string;
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,34 +287,36 @@ interface DomainEvent extends DomainEventBodyOneOf {
287
287
  entityEventSequence?: string | null;
288
288
  }
289
289
  /** @oneof */
290
- interface DomainEventBodyOneOf {
290
+ export interface DomainEventBodyOneOf {
291
291
  createdEvent?: EntityCreatedEvent;
292
292
  updatedEvent?: EntityUpdatedEvent;
293
293
  deletedEvent?: EntityDeletedEvent;
294
294
  actionEvent?: ActionEvent;
295
295
  }
296
- interface EntityCreatedEvent {
297
- entity?: string;
296
+ export interface EntityCreatedEvent {
297
+ entityAsJson?: string;
298
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
299
+ restoreInfo?: RestoreInfo;
298
300
  }
299
- interface RestoreInfo {
301
+ export interface RestoreInfo {
300
302
  deletedDate?: Date | null;
301
303
  }
302
- interface EntityUpdatedEvent {
304
+ export interface EntityUpdatedEvent {
303
305
  /**
304
306
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
305
307
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
306
308
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
307
309
  */
308
- currentEntity?: string;
310
+ currentEntityAsJson?: string;
309
311
  }
310
- interface EntityDeletedEvent {
312
+ export interface EntityDeletedEvent {
311
313
  /** Entity that was deleted */
312
- deletedEntity?: string | null;
314
+ deletedEntityAsJson?: string | null;
313
315
  }
314
- interface ActionEvent {
315
- body?: string;
316
+ export interface ActionEvent {
317
+ bodyAsJson?: string;
316
318
  }
317
- interface MessageEnvelope {
319
+ export interface MessageEnvelope {
318
320
  /**
319
321
  * App instance ID.
320
322
  * @format GUID
@@ -330,7 +332,7 @@ interface MessageEnvelope {
330
332
  /** Stringify payload. */
331
333
  data?: string;
332
334
  }
333
- interface IdentificationData extends IdentificationDataIdOneOf {
335
+ export interface IdentificationData extends IdentificationDataIdOneOf {
334
336
  /**
335
337
  * ID of a site visitor that has not logged in to the site.
336
338
  * @format GUID
@@ -355,7 +357,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
355
357
  identityType?: WebhookIdentityType;
356
358
  }
357
359
  /** @oneof */
358
- interface IdentificationDataIdOneOf {
360
+ export interface IdentificationDataIdOneOf {
359
361
  /**
360
362
  * ID of a site visitor that has not logged in to the site.
361
363
  * @format GUID
@@ -377,89 +379,10 @@ interface IdentificationDataIdOneOf {
377
379
  */
378
380
  appId?: string;
379
381
  }
380
- declare enum WebhookIdentityType {
382
+ export declare enum WebhookIdentityType {
381
383
  UNKNOWN = "UNKNOWN",
382
384
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
383
385
  MEMBER = "MEMBER",
384
386
  WIX_USER = "WIX_USER",
385
387
  APP = "APP"
386
388
  }
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 };
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookIdentityType = exports.SortOrder = exports.AttendanceStatus = void 0;
4
+ var AttendanceStatus;
5
+ (function (AttendanceStatus) {
6
+ /** There is no available attendance information. */
7
+ AttendanceStatus["NOT_SET"] = "NOT_SET";
8
+ /** At least a single participant attended the session. */
9
+ AttendanceStatus["ATTENDED"] = "ATTENDED";
10
+ /** No participants attended the session. */
11
+ AttendanceStatus["NOT_ATTENDED"] = "NOT_ATTENDED";
12
+ })(AttendanceStatus || (exports.AttendanceStatus = AttendanceStatus = {}));
13
+ /**
14
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
15
+ *
16
+ * Default: `ASC`.
17
+ */
18
+ var SortOrder;
19
+ (function (SortOrder) {
20
+ SortOrder["ASC"] = "ASC";
21
+ SortOrder["DESC"] = "DESC";
22
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
23
+ var WebhookIdentityType;
24
+ (function (WebhookIdentityType) {
25
+ WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
26
+ WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
27
+ WebhookIdentityType["MEMBER"] = "MEMBER";
28
+ WebhookIdentityType["WIX_USER"] = "WIX_USER";
29
+ WebhookIdentityType["APP"] = "APP";
30
+ })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
31
+ //# 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":";;;AAwCA,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,gCAAhB,gBAAgB,QAO3B;AAgKD;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAyMD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}