@wix/auto_sdk_bookings_attendance 1.0.0 → 1.0.2

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.
@@ -13,10 +13,14 @@
13
13
  export interface Attendance {
14
14
  /**
15
15
  * ID of the `attendance` object.
16
+ * @format GUID
16
17
  * @readonly
17
18
  */
18
19
  id?: string | null;
19
- /** Corresponding booking ID. */
20
+ /**
21
+ * Corresponding booking ID.
22
+ * @format GUID
23
+ */
20
24
  bookingId?: string | null;
21
25
  /** Corresponding session ID. */
22
26
  sessionId?: string | null;
@@ -42,7 +46,10 @@ export declare enum AttendanceStatus {
42
46
  NOT_ATTENDED = "NOT_ATTENDED"
43
47
  }
44
48
  export interface GetAttendanceRequest {
45
- /** ID of the attendance object to retrieve. */
49
+ /**
50
+ * ID of the attendance object to retrieve.
51
+ * @format GUID
52
+ */
46
53
  attendanceId: string;
47
54
  }
48
55
  export interface GetAttendanceResponse {
@@ -62,7 +69,11 @@ export interface ParticipantNotification {
62
69
  * Default: `false`
63
70
  */
64
71
  notifyParticipants?: boolean | null;
65
- /** Optional custom message to send to the participants about the changes to the booking. */
72
+ /**
73
+ * Optional custom message to send to the participants about the changes to the booking.
74
+ * @minLength 1
75
+ * @maxLength 5000
76
+ */
66
77
  message?: string | null;
67
78
  }
68
79
  export interface SetAttendanceResponse {
@@ -77,7 +88,10 @@ export interface AttendanceMarkedAsNotAttended {
77
88
  }
78
89
  export interface BulkSetAttendanceRequest {
79
90
  returnFullEntity?: boolean;
80
- /** List of attendance details for booking sessions to create or update. */
91
+ /**
92
+ * List of attendance details for booking sessions to create or update.
93
+ * @maxSize 8
94
+ */
81
95
  attendanceDetails?: AttendanceDetails[];
82
96
  }
83
97
  export interface AttendanceDetails {
@@ -87,7 +101,11 @@ export interface AttendanceDetails {
87
101
  participantNotification?: ParticipantNotification;
88
102
  }
89
103
  export interface BulkSetAttendanceResponse {
90
- /** List of created or updated `attendance` objects. */
104
+ /**
105
+ * List of created or updated `attendance` objects.
106
+ * @minSize 1
107
+ * @maxSize 8
108
+ */
91
109
  results?: BulkAttendanceResult[];
92
110
  /** Information about the total number of successes and failures for the Bulk Set Attendance call. */
93
111
  bulkActionMetadata?: BulkActionMetadata;
@@ -129,7 +147,12 @@ export interface QueryAttendanceRequest {
129
147
  query: QueryV2;
130
148
  }
131
149
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
132
- /** Cursors to navigate through the result pages using `next` and `prev`. */
150
+ /**
151
+ * Cursor token pointing to a page of results. In the first request,
152
+ * specify `cursorPaging.limit`. For following requests, specify the
153
+ * retrieved `cursorPaging.cursor` token and not `query.filter` or
154
+ * `query.sort`.
155
+ */
133
156
  cursorPaging?: CursorPaging;
134
157
  /**
135
158
  * Filter object. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
@@ -149,7 +172,12 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
149
172
  }
150
173
  /** @oneof */
151
174
  export interface QueryV2PagingMethodOneOf {
152
- /** Cursors to navigate through the result pages using `next` and `prev`. */
175
+ /**
176
+ * Cursor token pointing to a page of results. In the first request,
177
+ * specify `cursorPaging.limit`. For following requests, specify the
178
+ * retrieved `cursorPaging.cursor` token and not `query.filter` or
179
+ * `query.sort`.
180
+ */
153
181
  cursorPaging?: CursorPaging;
154
182
  }
155
183
  export interface Sorting {
@@ -179,6 +207,7 @@ export interface CursorPaging {
179
207
  *
180
208
  * Default: `50`
181
209
  * Maximum: `1000`
210
+ * @max 1000
182
211
  */
183
212
  limit?: number | null;
184
213
  /**
@@ -288,9 +317,15 @@ export interface ActionEvent {
288
317
  bodyAsJson?: string;
289
318
  }
290
319
  export interface MessageEnvelope {
291
- /** App instance ID. */
320
+ /**
321
+ * App instance ID.
322
+ * @format GUID
323
+ */
292
324
  instanceId?: string | null;
293
- /** Event type. */
325
+ /**
326
+ * Event type.
327
+ * @maxLength 150
328
+ */
294
329
  eventType?: string;
295
330
  /** The identification type and identity data. */
296
331
  identity?: IdentificationData;
@@ -298,26 +333,50 @@ export interface MessageEnvelope {
298
333
  data?: string;
299
334
  }
300
335
  export interface IdentificationData extends IdentificationDataIdOneOf {
301
- /** ID of a site visitor that has not logged in to the site. */
336
+ /**
337
+ * ID of a site visitor that has not logged in to the site.
338
+ * @format GUID
339
+ */
302
340
  anonymousVisitorId?: string;
303
- /** ID of a site visitor that has logged in to the site. */
341
+ /**
342
+ * ID of a site visitor that has logged in to the site.
343
+ * @format GUID
344
+ */
304
345
  memberId?: string;
305
- /** ID of a Wix user (site owner, contributor, etc.). */
346
+ /**
347
+ * ID of a Wix user (site owner, contributor, etc.).
348
+ * @format GUID
349
+ */
306
350
  wixUserId?: string;
307
- /** ID of an app. */
351
+ /**
352
+ * ID of an app.
353
+ * @format GUID
354
+ */
308
355
  appId?: string;
309
356
  /** @readonly */
310
357
  identityType?: WebhookIdentityType;
311
358
  }
312
359
  /** @oneof */
313
360
  export interface IdentificationDataIdOneOf {
314
- /** ID of a site visitor that has not logged in to the site. */
361
+ /**
362
+ * ID of a site visitor that has not logged in to the site.
363
+ * @format GUID
364
+ */
315
365
  anonymousVisitorId?: string;
316
- /** ID of a site visitor that has logged in to the site. */
366
+ /**
367
+ * ID of a site visitor that has logged in to the site.
368
+ * @format GUID
369
+ */
317
370
  memberId?: string;
318
- /** ID of a Wix user (site owner, contributor, etc.). */
371
+ /**
372
+ * ID of a Wix user (site owner, contributor, etc.).
373
+ * @format GUID
374
+ */
319
375
  wixUserId?: string;
320
- /** ID of an app. */
376
+ /**
377
+ * ID of an app.
378
+ * @format GUID
379
+ */
321
380
  appId?: string;
322
381
  }
323
382
  export declare enum WebhookIdentityType {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":";;;AAoCA,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;AAwID;;;;GAIG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA0KD,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"}
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"}
@@ -13,10 +13,14 @@
13
13
  export interface Attendance {
14
14
  /**
15
15
  * ID of the `attendance` object.
16
+ * @format GUID
16
17
  * @readonly
17
18
  */
18
19
  _id?: string | null;
19
- /** Corresponding booking ID. */
20
+ /**
21
+ * Corresponding booking ID.
22
+ * @format GUID
23
+ */
20
24
  bookingId?: string | null;
21
25
  /** Corresponding session ID. */
22
26
  sessionId?: string | null;
@@ -42,7 +46,10 @@ export declare enum AttendanceStatus {
42
46
  NOT_ATTENDED = "NOT_ATTENDED"
43
47
  }
44
48
  export interface GetAttendanceRequest {
45
- /** ID of the attendance object to retrieve. */
49
+ /**
50
+ * ID of the attendance object to retrieve.
51
+ * @format GUID
52
+ */
46
53
  attendanceId: string;
47
54
  }
48
55
  export interface GetAttendanceResponse {
@@ -62,7 +69,11 @@ export interface ParticipantNotification {
62
69
  * Default: `false`
63
70
  */
64
71
  notifyParticipants?: boolean | null;
65
- /** Optional custom message to send to the participants about the changes to the booking. */
72
+ /**
73
+ * Optional custom message to send to the participants about the changes to the booking.
74
+ * @minLength 1
75
+ * @maxLength 5000
76
+ */
66
77
  message?: string | null;
67
78
  }
68
79
  export interface SetAttendanceResponse {
@@ -77,7 +88,10 @@ export interface AttendanceMarkedAsNotAttended {
77
88
  }
78
89
  export interface BulkSetAttendanceRequest {
79
90
  returnFullEntity?: boolean;
80
- /** List of attendance details for booking sessions to create or update. */
91
+ /**
92
+ * List of attendance details for booking sessions to create or update.
93
+ * @maxSize 8
94
+ */
81
95
  attendanceDetails?: AttendanceDetails[];
82
96
  }
83
97
  export interface AttendanceDetails {
@@ -87,7 +101,11 @@ export interface AttendanceDetails {
87
101
  participantNotification?: ParticipantNotification;
88
102
  }
89
103
  export interface BulkSetAttendanceResponse {
90
- /** List of created or updated `attendance` objects. */
104
+ /**
105
+ * List of created or updated `attendance` objects.
106
+ * @minSize 1
107
+ * @maxSize 8
108
+ */
91
109
  results?: BulkAttendanceResult[];
92
110
  /** Information about the total number of successes and failures for the Bulk Set Attendance call. */
93
111
  bulkActionMetadata?: BulkActionMetadata;
@@ -129,7 +147,12 @@ export interface QueryAttendanceRequest {
129
147
  query: QueryV2;
130
148
  }
131
149
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
132
- /** Cursors to navigate through the result pages using `next` and `prev`. */
150
+ /**
151
+ * Cursor token pointing to a page of results. In the first request,
152
+ * specify `cursorPaging.limit`. For following requests, specify the
153
+ * retrieved `cursorPaging.cursor` token and not `query.filter` or
154
+ * `query.sort`.
155
+ */
133
156
  cursorPaging?: CursorPaging;
134
157
  /**
135
158
  * Filter object. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
@@ -149,7 +172,12 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
149
172
  }
150
173
  /** @oneof */
151
174
  export interface QueryV2PagingMethodOneOf {
152
- /** Cursors to navigate through the result pages using `next` and `prev`. */
175
+ /**
176
+ * Cursor token pointing to a page of results. In the first request,
177
+ * specify `cursorPaging.limit`. For following requests, specify the
178
+ * retrieved `cursorPaging.cursor` token and not `query.filter` or
179
+ * `query.sort`.
180
+ */
153
181
  cursorPaging?: CursorPaging;
154
182
  }
155
183
  export interface Sorting {
@@ -179,6 +207,7 @@ export interface CursorPaging {
179
207
  *
180
208
  * Default: `50`
181
209
  * Maximum: `1000`
210
+ * @max 1000
182
211
  */
183
212
  limit?: number | null;
184
213
  /**
@@ -286,9 +315,15 @@ export interface ActionEvent {
286
315
  body?: string;
287
316
  }
288
317
  export interface MessageEnvelope {
289
- /** App instance ID. */
318
+ /**
319
+ * App instance ID.
320
+ * @format GUID
321
+ */
290
322
  instanceId?: string | null;
291
- /** Event type. */
323
+ /**
324
+ * Event type.
325
+ * @maxLength 150
326
+ */
292
327
  eventType?: string;
293
328
  /** The identification type and identity data. */
294
329
  identity?: IdentificationData;
@@ -296,26 +331,50 @@ export interface MessageEnvelope {
296
331
  data?: string;
297
332
  }
298
333
  export interface IdentificationData extends IdentificationDataIdOneOf {
299
- /** ID of a site visitor that has not logged in to the site. */
334
+ /**
335
+ * ID of a site visitor that has not logged in to the site.
336
+ * @format GUID
337
+ */
300
338
  anonymousVisitorId?: string;
301
- /** ID of a site visitor that has logged in to the site. */
339
+ /**
340
+ * ID of a site visitor that has logged in to the site.
341
+ * @format GUID
342
+ */
302
343
  memberId?: string;
303
- /** ID of a Wix user (site owner, contributor, etc.). */
344
+ /**
345
+ * ID of a Wix user (site owner, contributor, etc.).
346
+ * @format GUID
347
+ */
304
348
  wixUserId?: string;
305
- /** ID of an app. */
349
+ /**
350
+ * ID of an app.
351
+ * @format GUID
352
+ */
306
353
  appId?: string;
307
354
  /** @readonly */
308
355
  identityType?: WebhookIdentityType;
309
356
  }
310
357
  /** @oneof */
311
358
  export interface IdentificationDataIdOneOf {
312
- /** ID of a site visitor that has not logged in to the site. */
359
+ /**
360
+ * ID of a site visitor that has not logged in to the site.
361
+ * @format GUID
362
+ */
313
363
  anonymousVisitorId?: string;
314
- /** ID of a site visitor that has logged in to the site. */
364
+ /**
365
+ * ID of a site visitor that has logged in to the site.
366
+ * @format GUID
367
+ */
315
368
  memberId?: string;
316
- /** ID of a Wix user (site owner, contributor, etc.). */
369
+ /**
370
+ * ID of a Wix user (site owner, contributor, etc.).
371
+ * @format GUID
372
+ */
317
373
  wixUserId?: string;
318
- /** ID of an app. */
374
+ /**
375
+ * ID of an app.
376
+ * @format GUID
377
+ */
319
378
  appId?: string;
320
379
  }
321
380
  export declare enum WebhookIdentityType {
@@ -453,7 +512,10 @@ export interface SetAttendanceOptions {
453
512
  export declare function bulkSetAttendance(options?: BulkSetAttendanceOptions): Promise<BulkSetAttendanceResponse & BulkSetAttendanceResponseNonNullableFields>;
454
513
  export interface BulkSetAttendanceOptions {
455
514
  returnFullEntity?: boolean;
456
- /** List of attendance details for booking sessions to create or update. */
515
+ /**
516
+ * List of attendance details for booking sessions to create or update.
517
+ * @maxSize 8
518
+ */
457
519
  attendanceDetails?: AttendanceDetails[];
458
520
  }
459
521
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACv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EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAtDD,0CAsDC"}
1
+ {"version":3,"file":"bookings-v2-attendance-attendance.universal.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+GAAiG;AA2CjG,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;AAuMD,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;AAmDD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACI,KAAK,UAAU,aAAa,CACjC,YAAoB;IAEpB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,YAAY,EAAE,YAAY;KAC3B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,iCAAiC,CAAC,aAAa,CA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,CAAC,EAAE,IAAI,EAAyC,EAAE,EAAE;YACvE,MAAM,eAAe,GAAG,IAAA,gEAAuC,EAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,WAAW;gBACnC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC;AAtDD,0CAsDC"}
@@ -13,10 +13,14 @@
13
13
  export interface Attendance {
14
14
  /**
15
15
  * ID of the `attendance` object.
16
+ * @format GUID
16
17
  * @readonly
17
18
  */
18
19
  id?: string | null;
19
- /** Corresponding booking ID. */
20
+ /**
21
+ * Corresponding booking ID.
22
+ * @format GUID
23
+ */
20
24
  bookingId?: string | null;
21
25
  /** Corresponding session ID. */
22
26
  sessionId?: string | null;
@@ -42,7 +46,10 @@ export declare enum AttendanceStatus {
42
46
  NOT_ATTENDED = "NOT_ATTENDED"
43
47
  }
44
48
  export interface GetAttendanceRequest {
45
- /** ID of the attendance object to retrieve. */
49
+ /**
50
+ * ID of the attendance object to retrieve.
51
+ * @format GUID
52
+ */
46
53
  attendanceId: string;
47
54
  }
48
55
  export interface GetAttendanceResponse {
@@ -62,7 +69,11 @@ export interface ParticipantNotification {
62
69
  * Default: `false`
63
70
  */
64
71
  notifyParticipants?: boolean | null;
65
- /** Optional custom message to send to the participants about the changes to the booking. */
72
+ /**
73
+ * Optional custom message to send to the participants about the changes to the booking.
74
+ * @minLength 1
75
+ * @maxLength 5000
76
+ */
66
77
  message?: string | null;
67
78
  }
68
79
  export interface SetAttendanceResponse {
@@ -77,7 +88,10 @@ export interface AttendanceMarkedAsNotAttended {
77
88
  }
78
89
  export interface BulkSetAttendanceRequest {
79
90
  returnFullEntity?: boolean;
80
- /** List of attendance details for booking sessions to create or update. */
91
+ /**
92
+ * List of attendance details for booking sessions to create or update.
93
+ * @maxSize 8
94
+ */
81
95
  attendanceDetails?: AttendanceDetails[];
82
96
  }
83
97
  export interface AttendanceDetails {
@@ -87,7 +101,11 @@ export interface AttendanceDetails {
87
101
  participantNotification?: ParticipantNotification;
88
102
  }
89
103
  export interface BulkSetAttendanceResponse {
90
- /** List of created or updated `attendance` objects. */
104
+ /**
105
+ * List of created or updated `attendance` objects.
106
+ * @minSize 1
107
+ * @maxSize 8
108
+ */
91
109
  results?: BulkAttendanceResult[];
92
110
  /** Information about the total number of successes and failures for the Bulk Set Attendance call. */
93
111
  bulkActionMetadata?: BulkActionMetadata;
@@ -129,7 +147,12 @@ export interface QueryAttendanceRequest {
129
147
  query: QueryV2;
130
148
  }
131
149
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
132
- /** Cursors to navigate through the result pages using `next` and `prev`. */
150
+ /**
151
+ * Cursor token pointing to a page of results. In the first request,
152
+ * specify `cursorPaging.limit`. For following requests, specify the
153
+ * retrieved `cursorPaging.cursor` token and not `query.filter` or
154
+ * `query.sort`.
155
+ */
133
156
  cursorPaging?: CursorPaging;
134
157
  /**
135
158
  * Filter object. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more information.
@@ -149,7 +172,12 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
149
172
  }
150
173
  /** @oneof */
151
174
  export interface QueryV2PagingMethodOneOf {
152
- /** Cursors to navigate through the result pages using `next` and `prev`. */
175
+ /**
176
+ * Cursor token pointing to a page of results. In the first request,
177
+ * specify `cursorPaging.limit`. For following requests, specify the
178
+ * retrieved `cursorPaging.cursor` token and not `query.filter` or
179
+ * `query.sort`.
180
+ */
153
181
  cursorPaging?: CursorPaging;
154
182
  }
155
183
  export interface Sorting {
@@ -179,6 +207,7 @@ export interface CursorPaging {
179
207
  *
180
208
  * Default: `50`
181
209
  * Maximum: `1000`
210
+ * @max 1000
182
211
  */
183
212
  limit?: number | null;
184
213
  /**
@@ -288,9 +317,15 @@ export interface ActionEvent {
288
317
  bodyAsJson?: string;
289
318
  }
290
319
  export interface MessageEnvelope {
291
- /** App instance ID. */
320
+ /**
321
+ * App instance ID.
322
+ * @format GUID
323
+ */
292
324
  instanceId?: string | null;
293
- /** Event type. */
325
+ /**
326
+ * Event type.
327
+ * @maxLength 150
328
+ */
294
329
  eventType?: string;
295
330
  /** The identification type and identity data. */
296
331
  identity?: IdentificationData;
@@ -298,26 +333,50 @@ export interface MessageEnvelope {
298
333
  data?: string;
299
334
  }
300
335
  export interface IdentificationData extends IdentificationDataIdOneOf {
301
- /** ID of a site visitor that has not logged in to the site. */
336
+ /**
337
+ * ID of a site visitor that has not logged in to the site.
338
+ * @format GUID
339
+ */
302
340
  anonymousVisitorId?: string;
303
- /** ID of a site visitor that has logged in to the site. */
341
+ /**
342
+ * ID of a site visitor that has logged in to the site.
343
+ * @format GUID
344
+ */
304
345
  memberId?: string;
305
- /** ID of a Wix user (site owner, contributor, etc.). */
346
+ /**
347
+ * ID of a Wix user (site owner, contributor, etc.).
348
+ * @format GUID
349
+ */
306
350
  wixUserId?: string;
307
- /** ID of an app. */
351
+ /**
352
+ * ID of an app.
353
+ * @format GUID
354
+ */
308
355
  appId?: string;
309
356
  /** @readonly */
310
357
  identityType?: WebhookIdentityType;
311
358
  }
312
359
  /** @oneof */
313
360
  export interface IdentificationDataIdOneOf {
314
- /** ID of a site visitor that has not logged in to the site. */
361
+ /**
362
+ * ID of a site visitor that has not logged in to the site.
363
+ * @format GUID
364
+ */
315
365
  anonymousVisitorId?: string;
316
- /** ID of a site visitor that has logged in to the site. */
366
+ /**
367
+ * ID of a site visitor that has logged in to the site.
368
+ * @format GUID
369
+ */
317
370
  memberId?: string;
318
- /** ID of a Wix user (site owner, contributor, etc.). */
371
+ /**
372
+ * ID of a Wix user (site owner, contributor, etc.).
373
+ * @format GUID
374
+ */
319
375
  wixUserId?: string;
320
- /** ID of an app. */
376
+ /**
377
+ * ID of an app.
378
+ * @format GUID
379
+ */
321
380
  appId?: string;
322
381
  }
323
382
  export declare enum WebhookIdentityType {
@@ -1 +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"}
1
+ {"version":3,"file":"bookings-v2-attendance-attendance.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-attendance-attendance.types.ts"],"names":[],"mappings":"AAwCA,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;AAgKD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAyMD,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"}