@dereekb/zoom 12.1.5 → 12.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +29 -0
- package/index.esm.js +27 -1
- package/nestjs/CHANGELOG.md +8 -0
- package/nestjs/package.json +1 -1
- package/nestjs/src/lib/index.d.ts +1 -0
- package/nestjs/src/lib/index.js +1 -0
- package/nestjs/src/lib/index.js.map +1 -1
- package/nestjs/src/lib/webhook/index.d.ts +11 -0
- package/nestjs/src/lib/webhook/index.js +15 -0
- package/nestjs/src/lib/webhook/index.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.config.d.ts +12 -0
- package/nestjs/src/lib/webhook/webhook.zoom.config.js +17 -0
- package/nestjs/src/lib/webhook/webhook.zoom.config.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.controller.d.ts +8 -0
- package/nestjs/src/lib/webhook/webhook.zoom.controller.js +38 -0
- package/nestjs/src/lib/webhook/webhook.zoom.controller.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.d.ts +23 -0
- package/nestjs/src/lib/webhook/webhook.zoom.js +38 -0
- package/nestjs/src/lib/webhook/webhook.zoom.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.module.d.ts +8 -0
- package/nestjs/src/lib/webhook/webhook.zoom.module.js +41 -0
- package/nestjs/src/lib/webhook/webhook.zoom.module.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.service.d.ts +24 -0
- package/nestjs/src/lib/webhook/webhook.zoom.service.js +60 -0
- package/nestjs/src/lib/webhook/webhook.zoom.service.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.common.d.ts +43 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.common.js +3 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.common.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.d.ts +2 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.js +3 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.meeting.d.ts +41 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.meeting.js +18 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.meeting.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.validate.d.ts +9 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.validate.js +5 -0
- package/nestjs/src/lib/webhook/webhook.zoom.type.validate.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.validate.d.ts +17 -0
- package/nestjs/src/lib/webhook/webhook.zoom.validate.js +25 -0
- package/nestjs/src/lib/webhook/webhook.zoom.validate.js.map +1 -0
- package/nestjs/src/lib/webhook/webhook.zoom.verify.d.ts +20 -0
- package/nestjs/src/lib/webhook/webhook.zoom.verify.js +27 -0
- package/nestjs/src/lib/webhook/webhook.zoom.verify.js.map +1 -0
- package/nestjs/src/lib/zoom/zoom.api.d.ts +3 -0
- package/nestjs/src/lib/zoom/zoom.api.js +10 -0
- package/nestjs/src/lib/zoom/zoom.api.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/zoom/zoom.api.meeting.d.ts +22 -2
- package/src/lib/zoom/zoom.api.meeting.type.d.ts +449 -63
- package/src/lib/zoom.config.d.ts +4 -0
- package/src/lib/zoom.type.d.ts +6 -0
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { CommaSeparatedString, DayOfMonth, EmailAddress, ISO8601DateString, Minutes,
|
|
1
|
+
import { CommaSeparatedString, DayOfMonth, EmailAddress, FileSize, ISO8601DateString, Minutes, TimezoneString } from '@dereekb/util';
|
|
2
2
|
import { ZoomUserId } from '../zoom.type';
|
|
3
3
|
import { type ZoomUserPersonalMeetingId } from './zoom.api.user.type';
|
|
4
|
-
export type ZoomMeetingId =
|
|
4
|
+
export type ZoomMeetingId = number;
|
|
5
|
+
/**
|
|
6
|
+
* Unique meeting ID.
|
|
7
|
+
*
|
|
8
|
+
* Each meeting instance generates its own meeting UUID - after a meeting ends, a new UUID is generated for the next instance of the meeting. Retrieve a list of UUIDs from past meeting instances using the [**List past meeting instances**](/docs/api/rest/reference/zoom-api/methods#operation/pastMeetings) API. [Double encode](/docs/api/rest/using-zoom-apis/#meeting-id-and-uuid) your UUID when using it for API calls if the UUID begins with a `/` or contains `//` in it.
|
|
9
|
+
*/
|
|
10
|
+
export type ZoomMeetingUUID = string;
|
|
5
11
|
export type ZoomMeetingTemplateId = string;
|
|
12
|
+
/**
|
|
13
|
+
* The meeting topic.
|
|
14
|
+
*/
|
|
15
|
+
export type ZoomMeetingTopic = string;
|
|
6
16
|
export type ZoomMeetingOccurrenceDuration = number;
|
|
7
17
|
/**
|
|
8
18
|
* URL for participants to join the meeting.
|
|
@@ -50,10 +60,38 @@ export interface ZoomMeeting {
|
|
|
50
60
|
* The meeting host's email address.
|
|
51
61
|
*/
|
|
52
62
|
readonly host_email: EmailAddress;
|
|
63
|
+
/**
|
|
64
|
+
* The ID of the user who is set as the meeting host.
|
|
65
|
+
*/
|
|
66
|
+
readonly host_id: ZoomUserId;
|
|
53
67
|
/**
|
|
54
68
|
* The meeting ID (meeting number): Unique identifier of the meeting in long format (int64), also known as the meeting number.
|
|
55
69
|
*/
|
|
56
70
|
readonly id: ZoomMeetingId;
|
|
71
|
+
/**
|
|
72
|
+
* The meeting's unique identifier.
|
|
73
|
+
*/
|
|
74
|
+
readonly uuid: ZoomMeetingUUID;
|
|
75
|
+
/**
|
|
76
|
+
* The meeting topic.
|
|
77
|
+
*/
|
|
78
|
+
readonly topic: ZoomMeetingTopic;
|
|
79
|
+
/**
|
|
80
|
+
* The timezone to format the meeting start time.
|
|
81
|
+
*/
|
|
82
|
+
readonly timezone: TimezoneString;
|
|
83
|
+
/**
|
|
84
|
+
* The start time of the meeting.
|
|
85
|
+
*/
|
|
86
|
+
readonly start_time: ISO8601DateString;
|
|
87
|
+
/**
|
|
88
|
+
* The meeting duration.
|
|
89
|
+
*/
|
|
90
|
+
readonly duration: ZoomMeetingDuration;
|
|
91
|
+
/**
|
|
92
|
+
* The type of meeting.
|
|
93
|
+
*/
|
|
94
|
+
readonly type: ZoomMeetingType;
|
|
57
95
|
/**
|
|
58
96
|
* The URL that registrants can use to register for a meeting. Only returned for meetings with registration enabled.
|
|
59
97
|
*/
|
|
@@ -67,10 +105,6 @@ export interface ZoomMeeting {
|
|
|
67
105
|
* The date and time when this meeting was created.
|
|
68
106
|
*/
|
|
69
107
|
readonly created_at: ISO8601DateString;
|
|
70
|
-
/**
|
|
71
|
-
* The meeting duration.
|
|
72
|
-
*/
|
|
73
|
-
readonly duration?: Minutes;
|
|
74
108
|
/**
|
|
75
109
|
* Encrypted passcode for third party endpoints (H323/SIP).
|
|
76
110
|
*/
|
|
@@ -115,6 +149,10 @@ export interface ZoomMeeting {
|
|
|
115
149
|
* Meeting settings object.
|
|
116
150
|
*/
|
|
117
151
|
readonly settings?: ZoomMeetingSettings;
|
|
152
|
+
/**
|
|
153
|
+
* Meeting tracking fields.
|
|
154
|
+
*/
|
|
155
|
+
readonly tracking_fields?: ZoomMeetingTrackingField[];
|
|
118
156
|
}
|
|
119
157
|
/**
|
|
120
158
|
* The meeting's agenda. This value has a maximum length of 2,000 characters.
|
|
@@ -135,11 +173,22 @@ export type ZoomMeetingPassword = string;
|
|
|
135
173
|
* The meeting's scheduled duration, in minutes.
|
|
136
174
|
*/
|
|
137
175
|
export type ZoomMeetingDuration = Minutes;
|
|
176
|
+
/**
|
|
177
|
+
* The type of meeting:
|
|
178
|
+
* - `1` - An instant meeting.
|
|
179
|
+
* - `2` - A scheduled meeting.
|
|
180
|
+
* - `3` - A recurring meeting with no fixed time.
|
|
181
|
+
* - `4` - A PMI Meeting.
|
|
182
|
+
* - `8` - A recurring meeting with fixed time.
|
|
183
|
+
* - `10` - A screen share only meeting.
|
|
184
|
+
*/
|
|
138
185
|
export declare enum ZoomMeetingType {
|
|
139
186
|
INSTANT = 1,
|
|
140
187
|
SCHEDULED = 2,
|
|
141
188
|
RECURRING_NO_FIXED_TIME = 3,
|
|
142
|
-
|
|
189
|
+
PMI = 4,
|
|
190
|
+
RECURRING_FIXED_TIME = 8,
|
|
191
|
+
SCREEN_SHARE_ONLY = 10
|
|
143
192
|
}
|
|
144
193
|
/**
|
|
145
194
|
* Define the interval when the meeting should recur.
|
|
@@ -193,36 +242,290 @@ export declare enum ZoomMonthlyWeekDay {
|
|
|
193
242
|
FRIDAY = 6,
|
|
194
243
|
SATURDAY = 7
|
|
195
244
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
245
|
+
/**
|
|
246
|
+
* Options for Continuous Meeting Chat linking between a meeting and a Zoom Team Chat channel.
|
|
247
|
+
*/
|
|
248
|
+
export interface ZoomMeetingSettingsContinuousMeetingChat {
|
|
249
|
+
/** Enable or disable Continuous Meeting Chat. */
|
|
201
250
|
readonly enable?: boolean;
|
|
202
|
-
|
|
251
|
+
/** Auto-add invited external users to the linked channel. */
|
|
252
|
+
readonly auto_add_invited_external_users?: boolean;
|
|
253
|
+
/** Auto-add all meeting participants to the linked channel. */
|
|
254
|
+
readonly auto_add_meeting_participants?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Rule describing which users are auto-added.
|
|
257
|
+
* • `all_users` – everyone.
|
|
258
|
+
* • `org_invitees_and_participants` – internal users who are invited or participate.
|
|
259
|
+
* • `org_invitees` – internal invited users only.
|
|
260
|
+
*/
|
|
261
|
+
readonly who_is_added?: 'all_users' | 'org_invitees_and_participants' | 'org_invitees';
|
|
262
|
+
/** Identifier of the chat channel to link. */
|
|
263
|
+
readonly channel_id?: string;
|
|
203
264
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
265
|
+
/** A pre-provisioned whiteboard resource shared at meeting start. */
|
|
266
|
+
export interface ZoomMeetingSettingsWhiteboardResource {
|
|
267
|
+
/** Resource type – currently only `whiteboard`. */
|
|
268
|
+
readonly resource_type: 'whiteboard';
|
|
269
|
+
/** Unique whiteboard identifier. */
|
|
270
|
+
readonly resource_id: string;
|
|
271
|
+
/** Initial permission granted to participants. */
|
|
272
|
+
readonly permission_level?: 'editor' | 'commenter' | 'viewer';
|
|
207
273
|
}
|
|
208
|
-
|
|
274
|
+
/** Additional email invitee outside the standard Zoom invitation. */
|
|
275
|
+
export interface ZoomMeetingSettingsInvitee {
|
|
276
|
+
readonly email: EmailAddress;
|
|
277
|
+
/** Indicates whether the invitee belongs to the owner’s account. */
|
|
278
|
+
readonly internal_user?: boolean;
|
|
279
|
+
}
|
|
280
|
+
/** User allowed to bypass meeting authentication. */
|
|
281
|
+
export interface ZoomMeetingSettingsAuthenticationException {
|
|
282
|
+
readonly email: EmailAddress;
|
|
283
|
+
readonly name?: string;
|
|
284
|
+
/** Unique join link generated for the exception user. */
|
|
285
|
+
readonly join_url?: string;
|
|
286
|
+
}
|
|
287
|
+
/** Custom tracking field key–value pair. */
|
|
288
|
+
export interface ZoomMeetingSettingsCustomKey {
|
|
289
|
+
readonly key: string;
|
|
290
|
+
readonly value: string;
|
|
291
|
+
}
|
|
292
|
+
/** International dial-in number exposed in invitations. */
|
|
293
|
+
export interface ZoomMeetingSettingsGlobalDialInNumber {
|
|
294
|
+
readonly city?: string;
|
|
295
|
+
readonly country?: string;
|
|
296
|
+
readonly country_name?: string;
|
|
297
|
+
readonly number: string;
|
|
298
|
+
readonly type: 'toll' | 'tollfree';
|
|
299
|
+
}
|
|
300
|
+
/** Webinar Q&A configuration block. */
|
|
301
|
+
export interface ZoomMeetingSettingsQnA {
|
|
209
302
|
readonly enable?: boolean;
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
303
|
+
readonly allow_submit_questions?: boolean;
|
|
304
|
+
readonly allow_anonymous_questions?: boolean;
|
|
305
|
+
readonly question_visibility?: 'answered' | 'all';
|
|
306
|
+
readonly attendees_can_comment?: boolean;
|
|
307
|
+
readonly attendees_can_upvote?: boolean;
|
|
213
308
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
* Language translation string.
|
|
217
|
-
*
|
|
218
|
-
* e.g., "US:Fr" for US English to French
|
|
219
|
-
*/
|
|
220
|
-
export type ZoomMeetingInterpreterLanguage = string;
|
|
221
|
-
export type ZoomMeetingInterpreterLanguages = string;
|
|
222
|
-
export interface ZoomMeetingInterpreter {
|
|
309
|
+
/** Interpreter mapping for language interpretation. */
|
|
310
|
+
export interface ZoomMeetingSettingsInterpreter {
|
|
223
311
|
readonly email: EmailAddress;
|
|
224
|
-
|
|
312
|
+
/** BCP-47 language list in the form `"<source>-<target>"`, e.g., "en-US:es-ES". */
|
|
313
|
+
readonly languages: string;
|
|
225
314
|
}
|
|
315
|
+
export interface ZoomMeetingSettings {
|
|
316
|
+
/**
|
|
317
|
+
* Start the host’s video automatically when the meeting begins.
|
|
318
|
+
*/
|
|
319
|
+
readonly host_video?: boolean;
|
|
320
|
+
/**
|
|
321
|
+
* Start participant video automatically when they join.
|
|
322
|
+
*/
|
|
323
|
+
readonly participant_video?: boolean;
|
|
324
|
+
/**
|
|
325
|
+
* Allow participants to join from data centers located in China.
|
|
326
|
+
*/
|
|
327
|
+
readonly cn_meeting?: boolean;
|
|
328
|
+
/**
|
|
329
|
+
* Allow participants to join from data centers located in India.
|
|
330
|
+
*/
|
|
331
|
+
readonly in_meeting?: boolean;
|
|
332
|
+
/**
|
|
333
|
+
* Allow participants to join the meeting before the host starts it.
|
|
334
|
+
*/
|
|
335
|
+
readonly join_before_host?: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* How many minutes before the scheduled start participants may join if `join_before_host` is `true`.
|
|
338
|
+
* `0` means anytime.
|
|
339
|
+
*/
|
|
340
|
+
readonly jbh_time?: ZoomJoinBeforeHostTime;
|
|
341
|
+
/**
|
|
342
|
+
* Automatically mute participants when they join the meeting.
|
|
343
|
+
*/
|
|
344
|
+
readonly mute_upon_entry?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* Show a watermarked image.
|
|
347
|
+
*
|
|
348
|
+
* When enabled, participant details are watermarked on shared content to prevent leaks.
|
|
349
|
+
*/
|
|
350
|
+
readonly watermark?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* Use Personal Meeting ID instead of generating a unique, random meeting ID.
|
|
353
|
+
*/
|
|
354
|
+
readonly use_pmi?: boolean;
|
|
355
|
+
/**
|
|
356
|
+
* Registration approval workflow.
|
|
357
|
+
*/
|
|
358
|
+
readonly approval_type?: ZoomApprovalType;
|
|
359
|
+
/**
|
|
360
|
+
* Recurrence registration rule if registration is required.
|
|
361
|
+
*/
|
|
362
|
+
readonly registration_type?: ZoomRegistrationType;
|
|
363
|
+
/**
|
|
364
|
+
* Audio options available to participants.
|
|
365
|
+
*/
|
|
366
|
+
readonly audio?: 'both' | 'telephony' | 'voip' | 'thirdParty';
|
|
367
|
+
/**
|
|
368
|
+
* Meeting auto-recording location.
|
|
369
|
+
*/
|
|
370
|
+
readonly auto_recording?: 'local' | 'cloud' | 'none';
|
|
371
|
+
/**
|
|
372
|
+
* Only authenticated users may join.
|
|
373
|
+
*/
|
|
374
|
+
readonly enforce_login?: boolean;
|
|
375
|
+
/**
|
|
376
|
+
* Comma-separated list of domains allowed to join if authentication is enforced.
|
|
377
|
+
*/
|
|
378
|
+
readonly enforce_login_domains?: string;
|
|
379
|
+
/**
|
|
380
|
+
* User emails that will become alternative hosts (comma separated).
|
|
381
|
+
*/
|
|
382
|
+
readonly alternative_hosts?: CommaSeparatedString<EmailAddress>;
|
|
383
|
+
/**
|
|
384
|
+
* Allow alternative hosts to edit meeting polls.
|
|
385
|
+
*/
|
|
386
|
+
readonly alternative_host_update_polls?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* Stop accepting new registrants once the meeting starts.
|
|
389
|
+
*/
|
|
390
|
+
readonly close_registration?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* Show the social share button on the registration page.
|
|
393
|
+
*/
|
|
394
|
+
readonly show_share_button?: boolean;
|
|
395
|
+
/**
|
|
396
|
+
* Allow users to join from multiple devices simultaneously.
|
|
397
|
+
*/
|
|
398
|
+
readonly allow_multiple_devices?: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* Send confirmation email to registrants.
|
|
401
|
+
*/
|
|
402
|
+
readonly registrants_confirmation_email?: boolean;
|
|
403
|
+
/**
|
|
404
|
+
* Enable Waiting Room for this meeting.
|
|
405
|
+
*/
|
|
406
|
+
readonly waiting_room?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Ask participants for pre-approval to be unmuted by host/co-host.
|
|
409
|
+
*/
|
|
410
|
+
readonly request_permission_to_unmute_participants?: boolean;
|
|
411
|
+
/**
|
|
412
|
+
* Send email to host when someone registers.
|
|
413
|
+
*/
|
|
414
|
+
readonly registrants_email_notification?: boolean;
|
|
415
|
+
/**
|
|
416
|
+
* Require users to authenticate to join the meeting.
|
|
417
|
+
*/
|
|
418
|
+
readonly meeting_authentication?: boolean;
|
|
419
|
+
/**
|
|
420
|
+
* End-to-end encryption option for the meeting.
|
|
421
|
+
*/
|
|
422
|
+
readonly encryption_type?: ZoomMeetingSettingsEncryptionType;
|
|
423
|
+
/**
|
|
424
|
+
* Countries or regions allowed/blocked from joining.
|
|
425
|
+
*/
|
|
426
|
+
readonly approved_or_denied_countries_or_regions?: ZoomMeetingSettingsApprovedOrDeniedCountriesOrRegions;
|
|
427
|
+
/**
|
|
428
|
+
* Pre-assigned breakout room configuration.
|
|
429
|
+
*/
|
|
430
|
+
readonly breakout_room?: ZoomMeetingSettingsBreakoutRoom;
|
|
431
|
+
/**
|
|
432
|
+
* Limit meeting access to users internal to the host’s organization.
|
|
433
|
+
*/
|
|
434
|
+
readonly internal_meeting?: boolean;
|
|
435
|
+
/**
|
|
436
|
+
* Continuous Meeting Chat options.
|
|
437
|
+
*/
|
|
438
|
+
readonly continuous_meeting_chat?: ZoomMeetingSettingsContinuousMeetingChat;
|
|
439
|
+
/**
|
|
440
|
+
* Array of pre-provisioned whiteboards shared at meeting start.
|
|
441
|
+
*/
|
|
442
|
+
readonly resources?: ZoomMeetingSettingsWhiteboardResource[];
|
|
443
|
+
/**
|
|
444
|
+
* Additional people to invite via email.
|
|
445
|
+
*/
|
|
446
|
+
readonly meeting_invitees?: ZoomMeetingSettingsInvitee[];
|
|
447
|
+
/**
|
|
448
|
+
* Auto-start AI Companion meeting summary.
|
|
449
|
+
*/
|
|
450
|
+
readonly auto_start_meeting_summary?: boolean;
|
|
451
|
+
/**
|
|
452
|
+
* Who receives the summary email (1-4).
|
|
453
|
+
*/
|
|
454
|
+
readonly who_will_receive_summary?: ZoomMeetingSettingsWhoWillReceiveSummary;
|
|
455
|
+
/**
|
|
456
|
+
* Auto-start AI Companion live Q&A.
|
|
457
|
+
*/
|
|
458
|
+
readonly auto_start_ai_companion_questions?: boolean;
|
|
459
|
+
/**
|
|
460
|
+
* Who may ask AI Companion questions (1-5).
|
|
461
|
+
*/
|
|
462
|
+
readonly who_can_ask_questions?: ZoomMeetingSettingsWhoCanAskQuestions;
|
|
463
|
+
/**
|
|
464
|
+
* Identifier of the AI Companion summary template.
|
|
465
|
+
*/
|
|
466
|
+
readonly summary_template_id?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Name of the authentication profile used for this meeting.
|
|
469
|
+
*/
|
|
470
|
+
readonly authentication_name?: string;
|
|
471
|
+
/**
|
|
472
|
+
* Users allowed to bypass authentication.
|
|
473
|
+
*/
|
|
474
|
+
readonly authentication_exception?: ZoomMeetingSettingsAuthenticationException[];
|
|
475
|
+
/**
|
|
476
|
+
* Additional audio conference information to include in invites.
|
|
477
|
+
*/
|
|
478
|
+
readonly audio_conference_info?: string;
|
|
479
|
+
/**
|
|
480
|
+
* Calendar system used for scheduling (1 = Gregorian, 2 = Chinese Lunar).
|
|
481
|
+
*/
|
|
482
|
+
readonly calendar_type?: 1 | 2;
|
|
483
|
+
/**
|
|
484
|
+
* Custom tracking field values.
|
|
485
|
+
*/
|
|
486
|
+
readonly custom_keys?: ZoomMeetingSettingsCustomKey[];
|
|
487
|
+
/**
|
|
488
|
+
* Prevent participants from turning on their video.
|
|
489
|
+
*/
|
|
490
|
+
readonly disable_participant_video?: boolean;
|
|
491
|
+
/**
|
|
492
|
+
* List of dial-in numbers to display in invitations.
|
|
493
|
+
*/
|
|
494
|
+
readonly global_dial_in_numbers?: ZoomMeetingSettingsGlobalDialInNumber[];
|
|
495
|
+
/**
|
|
496
|
+
* Webinar Q&A configuration.
|
|
497
|
+
*/
|
|
498
|
+
readonly question_and_answer?: ZoomMeetingSettingsQnA;
|
|
499
|
+
/**
|
|
500
|
+
* Sign language interpretation settings.
|
|
501
|
+
*/
|
|
502
|
+
readonly sign_language_interpretation?: ZoomMeetingSettingsLanguageInterpretation;
|
|
503
|
+
/**
|
|
504
|
+
* Spoken language interpretation settings.
|
|
505
|
+
*/
|
|
506
|
+
readonly language_interpretation?: ZoomMeetingSettingsLanguageInterpretation;
|
|
507
|
+
/**
|
|
508
|
+
* List of interpreters assigned to the meeting.
|
|
509
|
+
*/
|
|
510
|
+
readonly interpreters?: ZoomMeetingSettingsInterpreter[];
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Determines who will receive the meeting summary email.
|
|
514
|
+
* 1 – Host only
|
|
515
|
+
* 2 – Co-host only
|
|
516
|
+
* 3 – Host and Co-host
|
|
517
|
+
* 4 – Everyone
|
|
518
|
+
*/
|
|
519
|
+
export type ZoomMeetingSettingsWhoWillReceiveSummary = 1 | 2 | 3 | 4;
|
|
520
|
+
/**
|
|
521
|
+
* Determines who can ask questions to AI Companion during the meeting.
|
|
522
|
+
* 1 – Host only
|
|
523
|
+
* 2 – Co-host only
|
|
524
|
+
* 3 – Host and Co-host
|
|
525
|
+
* 4 – Participants (internal users)
|
|
526
|
+
* 5 – Everyone (internal + external)
|
|
527
|
+
*/
|
|
528
|
+
export type ZoomMeetingSettingsWhoCanAskQuestions = 1 | 2 | 3 | 4 | 5;
|
|
226
529
|
/**
|
|
227
530
|
* Join before host time.
|
|
228
531
|
*
|
|
@@ -261,37 +564,120 @@ export interface ZoomMeetingTrackingField {
|
|
|
261
564
|
readonly field: string;
|
|
262
565
|
readonly value?: string;
|
|
263
566
|
}
|
|
264
|
-
export
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
readonly
|
|
274
|
-
readonly
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
readonly
|
|
278
|
-
readonly
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
readonly
|
|
282
|
-
readonly
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
readonly
|
|
286
|
-
readonly
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
readonly
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
567
|
+
export type ZoomMeetingSettingsEncryptionType = 'enhanced_encryption' | 'end_to_end_encryption';
|
|
568
|
+
/**
|
|
569
|
+
* Language translation string.
|
|
570
|
+
*
|
|
571
|
+
* e.g., "US:Fr" for US English to French
|
|
572
|
+
*/
|
|
573
|
+
export type ZoomMeetingInterpreterLanguage = string;
|
|
574
|
+
export type ZoomMeetingInterpreterLanguages = string;
|
|
575
|
+
export interface ZoomMeetingInterpreter {
|
|
576
|
+
readonly email: EmailAddress;
|
|
577
|
+
readonly languages: ZoomMeetingInterpreterLanguage;
|
|
578
|
+
}
|
|
579
|
+
export interface ZoomMeetingSettingsBreakoutRoomRoom {
|
|
580
|
+
readonly name: string;
|
|
581
|
+
readonly participants?: string[];
|
|
582
|
+
}
|
|
583
|
+
export interface ZoomMeetingSettingsBreakoutRoom {
|
|
584
|
+
readonly enable?: boolean;
|
|
585
|
+
readonly rooms?: ZoomMeetingSettingsBreakoutRoomRoom[];
|
|
586
|
+
}
|
|
587
|
+
export interface ZoomMeetingSettingsLanguageInterpretation {
|
|
588
|
+
readonly enable?: boolean;
|
|
589
|
+
readonly interpreters?: ZoomMeetingInterpreter[];
|
|
590
|
+
}
|
|
591
|
+
export interface ZoomMeetingSettingsApprovedOrDeniedCountriesOrRegions {
|
|
592
|
+
readonly enable?: boolean;
|
|
593
|
+
readonly method?: 'approve' | 'deny';
|
|
594
|
+
readonly approved_list?: string[];
|
|
595
|
+
readonly denied_list?: string[];
|
|
596
|
+
}
|
|
597
|
+
export interface ZoomMeetingChatMessageFile {
|
|
598
|
+
readonly file_id: string;
|
|
599
|
+
readonly file_name: string;
|
|
600
|
+
readonly file_size: FileSize;
|
|
601
|
+
readonly file_type: string;
|
|
602
|
+
readonly file_owner_id: ZoomUserId;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* The source of the meeting.
|
|
606
|
+
*/
|
|
607
|
+
export type ZoomMeetingSource = string;
|
|
608
|
+
export interface PastZoomMeeting extends Pick<ZoomMeeting, 'id' | 'uuid' | 'duration' | 'start_time' | 'host_id' | 'type' | 'topic'> {
|
|
609
|
+
/**
|
|
610
|
+
* The time the meeting ended.
|
|
611
|
+
*/
|
|
612
|
+
readonly end_time: ISO8601DateString;
|
|
613
|
+
/**
|
|
614
|
+
* The meeting host's department.
|
|
615
|
+
*/
|
|
616
|
+
readonly dept: string;
|
|
617
|
+
/**
|
|
618
|
+
* The number of participants in the meeting.
|
|
619
|
+
*/
|
|
620
|
+
readonly participant_count: number;
|
|
621
|
+
/**
|
|
622
|
+
* The source of the meeting.
|
|
623
|
+
*/
|
|
624
|
+
readonly source: ZoomMeetingSource;
|
|
625
|
+
/**
|
|
626
|
+
* Total number of minutes the meeting lasted.
|
|
627
|
+
*/
|
|
628
|
+
readonly total_minutes: Minutes;
|
|
629
|
+
}
|
|
630
|
+
export type ZoomParticipantId = string;
|
|
631
|
+
export type ZoomRegistrantId = string;
|
|
632
|
+
export type ZoomParticipantStatus = 'in_meeting' | 'in_waiting_room';
|
|
633
|
+
export interface PastZoomMeetingParticipant {
|
|
634
|
+
readonly id: ZoomUserId | '';
|
|
635
|
+
readonly name: string;
|
|
636
|
+
/**
|
|
637
|
+
* Participant ID.
|
|
638
|
+
*
|
|
639
|
+
* This is a unique ID assigned to the participant joining a meeting and is valid for that meeting only.
|
|
640
|
+
*/
|
|
641
|
+
readonly user_id: ZoomParticipantId;
|
|
642
|
+
/**
|
|
643
|
+
* The participant's unique registrant ID.
|
|
644
|
+
*
|
|
645
|
+
* This field only returns if you pass the `registrant_id` value for the `include_fields` query parameter.
|
|
646
|
+
*
|
|
647
|
+
* This field does not return if the `type` query parameter is the `live` value.
|
|
648
|
+
*/
|
|
649
|
+
readonly registrant_id: ZoomRegistrantId;
|
|
650
|
+
/**
|
|
651
|
+
* The participant's email address.
|
|
652
|
+
*/
|
|
653
|
+
readonly user_email: EmailAddress;
|
|
654
|
+
/**
|
|
655
|
+
* The time the participant joined the meeting.
|
|
656
|
+
*/
|
|
657
|
+
readonly join_time: ISO8601DateString;
|
|
658
|
+
/**
|
|
659
|
+
* The time the participant left the meeting.
|
|
660
|
+
*/
|
|
661
|
+
readonly leave_time: ISO8601DateString;
|
|
662
|
+
/**
|
|
663
|
+
* Participant duration, in seconds, calculated by subtracting the `leave_time` from the `join_time` for the `user_id`.
|
|
664
|
+
*
|
|
665
|
+
* If the participant leaves and rejoins the same meeting, they will be assigned a different `user_id` and Zoom displays their new duration in a separate object.
|
|
666
|
+
*
|
|
667
|
+
* Note that because of this, the duration may not reflect the total time the user was in the meeting.
|
|
668
|
+
*/
|
|
669
|
+
readonly duration: Minutes;
|
|
670
|
+
/**
|
|
671
|
+
* Indicates if failover happened during the meeting.
|
|
672
|
+
*/
|
|
673
|
+
readonly failover: boolean;
|
|
674
|
+
/**
|
|
675
|
+
* The participant's status in the meeting.
|
|
676
|
+
*/
|
|
677
|
+
readonly status: ZoomParticipantStatus;
|
|
678
|
+
/**
|
|
679
|
+
* Whether the participant is an internal user.
|
|
680
|
+
*/
|
|
681
|
+
readonly internal_user: boolean;
|
|
297
682
|
}
|
|
683
|
+
export type ZoomMeetingIssue = 'Unstable audio quality' | 'Unstable video quality' | 'Unstable screen share quality' | 'High CPU occupation' | 'Call Reconnection';
|
package/src/lib/zoom.config.d.ts
CHANGED
package/src/lib/zoom.type.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UnixDateTimeNumber } from '@dereekb/util';
|
|
1
2
|
/**
|
|
2
3
|
* An identifier in Zoom.
|
|
3
4
|
*/
|
|
@@ -10,3 +11,8 @@ export type ZoomUserId = string;
|
|
|
10
11
|
* The version of the Zoom client used by the user.
|
|
11
12
|
*/
|
|
12
13
|
export type ZoomClientVersion = string;
|
|
14
|
+
/**
|
|
15
|
+
* Zoom webhook event type
|
|
16
|
+
*/
|
|
17
|
+
export type ZoomWebhookEventTypeString = string;
|
|
18
|
+
export type ZoomWebhookTimestamp = UnixDateTimeNumber;
|