zaccl 3.0.2 → 3.0.4
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/docs/ECatCloudRecording.js.html +1 -1
- package/docs/ECatMeeting.js.html +198 -1
- package/docs/ECatUser.js.html +1 -1
- package/docs/ECatWebinar.js.html +1 -1
- package/docs/api.cloudRecording.html +1 -1
- package/docs/api.meeting.html +409 -7
- package/docs/api.user.html +1 -1
- package/docs/api.webinar.html +1 -1
- package/docs/index.html +1 -1
- package/lib/endpoints/ECatMeeting.d.ts +30 -0
- package/lib/endpoints/ECatMeeting.js +197 -0
- package/lib/endpoints/ECatMeeting.js.map +1 -1
- package/lib/shared/types/ErrorCode.d.ts +1 -0
- package/lib/shared/types/ErrorCode.js +2 -1
- package/lib/shared/types/ErrorCode.js.map +1 -1
- package/lib/types/PollOccurrence.d.ts +19 -0
- package/lib/types/PollOccurrence.js +3 -0
- package/lib/types/PollOccurrence.js.map +1 -0
- package/lib/types/ZoomPollInfo.d.ts +16 -0
- package/lib/types/ZoomPollInfo.js +3 -0
- package/lib/types/ZoomPollInfo.js.map +1 -0
- package/lib/types/ZoomPollOccurrence.d.ts +19 -0
- package/lib/types/ZoomPollOccurrence.js +3 -0
- package/lib/types/ZoomPollOccurrence.js.map +1 -0
- package/lib/types/ZoomPollQuestion.d.ts +30 -0
- package/lib/types/ZoomPollQuestion.js +3 -0
- package/lib/types/ZoomPollQuestion.js.map +1 -0
- package/lib/types/ZoomPollQuestionAndAnswerType.d.ts +14 -0
- package/lib/types/ZoomPollQuestionAndAnswerType.js +25 -0
- package/lib/types/ZoomPollQuestionAndAnswerType.js.map +1 -0
- package/lib/types/ZoomPollStatus.d.ts +11 -0
- package/lib/types/ZoomPollStatus.js +19 -0
- package/lib/types/ZoomPollStatus.js.map +1 -0
- package/lib/types/ZoomPollType.d.ts +10 -0
- package/lib/types/ZoomPollType.js +17 -0
- package/lib/types/ZoomPollType.js.map +1 -0
- package/package.json +1 -1
- package/src/endpoints/ECatMeeting.ts +258 -0
- package/src/shared/types/ErrorCode.ts +2 -1
- package/src/types/ZoomPollInfo.ts +24 -0
- package/src/types/ZoomPollOccurrence.ts +29 -0
- package/src/types/ZoomPollQuestion.ts +70 -0
- package/src/types/ZoomPollQuestionAndAnswerType.ts +22 -0
- package/src/types/ZoomPollStatus.ts +16 -0
- package/src/types/ZoomPollType.ts +14 -0
|
@@ -20,6 +20,17 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
20
20
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
21
21
|
};
|
|
22
22
|
})();
|
|
23
|
+
var __assign = (this && this.__assign) || function () {
|
|
24
|
+
__assign = Object.assign || function(t) {
|
|
25
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
26
|
+
s = arguments[i];
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
28
|
+
t[p] = s[p];
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
};
|
|
32
|
+
return __assign.apply(this, arguments);
|
|
33
|
+
};
|
|
23
34
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
24
35
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
25
36
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -65,6 +76,9 @@ var EndpointCategory_1 = __importDefault(require("../shared/interfaces/EndpointC
|
|
|
65
76
|
// Import shared classes
|
|
66
77
|
var ZACCLError_1 = __importDefault(require("../shared/classes/ZACCLError"));
|
|
67
78
|
var ErrorCode_1 = __importDefault(require("../shared/types/ErrorCode"));
|
|
79
|
+
var ZoomPollQuestionAndAnswerType_1 = __importDefault(require("../types/ZoomPollQuestionAndAnswerType"));
|
|
80
|
+
var ZoomPollType_1 = __importDefault(require("../types/ZoomPollType"));
|
|
81
|
+
var ZoomPollStatus_1 = __importDefault(require("../types/ZoomPollStatus"));
|
|
68
82
|
var ECatMeeting = /** @class */ (function (_super) {
|
|
69
83
|
__extends(ECatMeeting, _super);
|
|
70
84
|
function ECatMeeting() {
|
|
@@ -259,6 +273,189 @@ var ECatMeeting = /** @class */ (function (_super) {
|
|
|
259
273
|
});
|
|
260
274
|
});
|
|
261
275
|
};
|
|
276
|
+
/**
|
|
277
|
+
* List past poll occurrences
|
|
278
|
+
* @author Yuen Ler Chow
|
|
279
|
+
* @instance
|
|
280
|
+
* @memberof api.meeting
|
|
281
|
+
* @method listPastPollOccurrences
|
|
282
|
+
* @param opts object containing all arguments
|
|
283
|
+
* @param opts.meetingId the Zoom ID of the meeting
|
|
284
|
+
* @returns list of past poll occurrences
|
|
285
|
+
*/
|
|
286
|
+
ECatMeeting.prototype.listPastPollOccurrences = function (opts) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
288
|
+
var response, pollIdToOccurrenceMap, questions, questionToIndexMap;
|
|
289
|
+
return __generator(this, function (_a) {
|
|
290
|
+
switch (_a.label) {
|
|
291
|
+
case 0: return [4 /*yield*/, this.visitEndpoint({
|
|
292
|
+
path: "/past_meetings/".concat(opts.meetingId, "/polls"),
|
|
293
|
+
action: 'get the list of polls that occurred in a past meeting',
|
|
294
|
+
method: 'GET',
|
|
295
|
+
errorMap: {
|
|
296
|
+
400: 'We could not access the poll data for this meeting.',
|
|
297
|
+
12702: 'You are not allowed to access information about meetings that occurred more than 1 year ago.',
|
|
298
|
+
},
|
|
299
|
+
})];
|
|
300
|
+
case 1:
|
|
301
|
+
response = _a.sent();
|
|
302
|
+
pollIdToOccurrenceMap = {};
|
|
303
|
+
questions = [];
|
|
304
|
+
questionToIndexMap = {};
|
|
305
|
+
// Process each poll response
|
|
306
|
+
response.questions.forEach(function (user) {
|
|
307
|
+
var email = user.email, name = user.name, questionDetails = user.question_details;
|
|
308
|
+
// Loop through each answer
|
|
309
|
+
questionDetails.forEach(function (questionDetail) {
|
|
310
|
+
var answer = questionDetail.answer, dateTime = questionDetail.date_time, pollId = questionDetail.polling_id, question = questionDetail.question;
|
|
311
|
+
// Parse date time as ms since epoch
|
|
312
|
+
var pollTime = new Date("".concat(dateTime, " UTC")).getTime();
|
|
313
|
+
// Reformat as a response object
|
|
314
|
+
var response = {
|
|
315
|
+
userFullName: name,
|
|
316
|
+
userEmail: email,
|
|
317
|
+
answer: answer,
|
|
318
|
+
timestamp: pollTime,
|
|
319
|
+
};
|
|
320
|
+
if (!pollIdToOccurrenceMap[pollId]) {
|
|
321
|
+
pollIdToOccurrenceMap[pollId] = {
|
|
322
|
+
pollId: pollId,
|
|
323
|
+
timestamp: pollTime,
|
|
324
|
+
questions: [
|
|
325
|
+
{
|
|
326
|
+
prompt: question,
|
|
327
|
+
responses: [response],
|
|
328
|
+
},
|
|
329
|
+
]
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
else {
|
|
333
|
+
if (questions.includes(question)) {
|
|
334
|
+
// Add response to existing question
|
|
335
|
+
pollIdToOccurrenceMap[pollId]
|
|
336
|
+
.questions[questionToIndexMap[question]]
|
|
337
|
+
.responses
|
|
338
|
+
.push(response);
|
|
339
|
+
}
|
|
340
|
+
else {
|
|
341
|
+
// Poll is there but question is not. Add prompt and response
|
|
342
|
+
pollIdToOccurrenceMap[pollId].questions.push({
|
|
343
|
+
prompt: question,
|
|
344
|
+
responses: [response],
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
// Update timestamp if the new timestamp is earlier
|
|
348
|
+
if (pollTime < pollIdToOccurrenceMap[pollId].timestamp) {
|
|
349
|
+
pollIdToOccurrenceMap[pollId].timestamp = dateTime;
|
|
350
|
+
}
|
|
351
|
+
// Store to the indexMap
|
|
352
|
+
questionToIndexMap[question] = pollIdToOccurrenceMap[pollId].questions.length - 1;
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
});
|
|
356
|
+
// Flatten map into an array
|
|
357
|
+
return [2 /*return*/, Object.values(pollIdToOccurrenceMap)];
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Get poll info
|
|
364
|
+
* @author Yuen Ler Chow
|
|
365
|
+
* @instance
|
|
366
|
+
* @memberof api.meeting
|
|
367
|
+
* @method getPollInfo
|
|
368
|
+
* @param opts object containing all arguments
|
|
369
|
+
* @param opts.meetingId the Zoom ID of the meeting
|
|
370
|
+
* @param opts.pollId the id of the poll
|
|
371
|
+
* @returns object with all info about the poll
|
|
372
|
+
*/
|
|
373
|
+
ECatMeeting.prototype.getPollInfo = function (opts) {
|
|
374
|
+
var _a, _b, _c;
|
|
375
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
376
|
+
var response, pollInfo;
|
|
377
|
+
return __generator(this, function (_d) {
|
|
378
|
+
switch (_d.label) {
|
|
379
|
+
case 0: return [4 /*yield*/, this.visitEndpoint({
|
|
380
|
+
path: "/meetings/".concat(opts.meetingId, "/polls/").concat(opts.pollId),
|
|
381
|
+
action: 'get the poll info',
|
|
382
|
+
method: 'GET',
|
|
383
|
+
errorMap: {
|
|
384
|
+
4400: 'Meeting polls are disabled on your account.',
|
|
385
|
+
3161: 'Meeting hosting and scheduling capabilities are not allowed for your user account.',
|
|
386
|
+
404: 'We could not find the poll.',
|
|
387
|
+
},
|
|
388
|
+
})];
|
|
389
|
+
case 1:
|
|
390
|
+
response = _d.sent();
|
|
391
|
+
try {
|
|
392
|
+
pollInfo = {
|
|
393
|
+
// Add the poll id
|
|
394
|
+
pollId: response.id,
|
|
395
|
+
// Convert string status to enum
|
|
396
|
+
pollStatus: ((_a = {
|
|
397
|
+
notstart: ZoomPollStatus_1.default.NotStart,
|
|
398
|
+
started: ZoomPollStatus_1.default.Started,
|
|
399
|
+
sharing: ZoomPollStatus_1.default.Sharing,
|
|
400
|
+
ended: ZoomPollStatus_1.default.Ended,
|
|
401
|
+
}[response.status]) !== null && _a !== void 0 ? _a : ZoomPollStatus_1.default.NotStart),
|
|
402
|
+
// Check if poll is anonymous
|
|
403
|
+
anonymous: !!response.anonymous,
|
|
404
|
+
// Convert string type to enum
|
|
405
|
+
pollType: ((_b = {
|
|
406
|
+
1: ZoomPollType_1.default.Poll,
|
|
407
|
+
2: ZoomPollType_1.default.AdvancedPoll,
|
|
408
|
+
3: ZoomPollType_1.default.Quiz,
|
|
409
|
+
}[response.type]) !== null && _b !== void 0 ? _b : ZoomPollType_1.default.Poll),
|
|
410
|
+
// Add the title
|
|
411
|
+
title: response.title,
|
|
412
|
+
// Parse and format questions
|
|
413
|
+
questions: response.questions.map(function (question) {
|
|
414
|
+
// Destructure and convert variables to camelCase
|
|
415
|
+
var answerRequired = question.answer_required, answers = question.answers, name = question.name, rightAnswers = question.right_answers, questionType = question.question_type, caseSensitive = question.case_sensitive, answerMinCharacters = question.answer_min_character, answerMaxCharacters = question.answer_max_character, ratingMaxLabel = question.rating_max_label, ratingMaxValue = question.rating_max_value, ratingMinLabel = question.rating_min_label, ratingMinValue = question.rating_min_value, showAsDropdown = question.show_as_dropdown;
|
|
416
|
+
// Set of fields that are common to all question types
|
|
417
|
+
var commonFields = {
|
|
418
|
+
answerRequired: !!answerRequired,
|
|
419
|
+
answers: answers,
|
|
420
|
+
name: name,
|
|
421
|
+
rightAnswers: rightAnswers,
|
|
422
|
+
};
|
|
423
|
+
// Add in question type-specific fields
|
|
424
|
+
if (questionType === 'single'
|
|
425
|
+
|| questionType === 'multiple') {
|
|
426
|
+
return __assign({ questionAnswerType: (questionType === 'single'
|
|
427
|
+
? ZoomPollQuestionAndAnswerType_1.default.SingleChoice
|
|
428
|
+
: ZoomPollQuestionAndAnswerType_1.default.MultipleChoice), showAsDropdown: !!showAsDropdown }, commonFields);
|
|
429
|
+
}
|
|
430
|
+
if (questionType === 'short_answer'
|
|
431
|
+
|| questionType === 'long_answer') {
|
|
432
|
+
return __assign({ questionAnswerType: (questionType === 'short_answer'
|
|
433
|
+
? ZoomPollQuestionAndAnswerType_1.default.ShortAnswer
|
|
434
|
+
: ZoomPollQuestionAndAnswerType_1.default.LongAnswer), answerMinCharacters: Number.parseInt(answerMinCharacters, 10), answerMaxCharacters: Number.parseInt(answerMaxCharacters, 10) }, commonFields);
|
|
435
|
+
}
|
|
436
|
+
if (questionType === 'fill_in_the_blank') {
|
|
437
|
+
return __assign({ questionAnswerType: ZoomPollQuestionAndAnswerType_1.default.FillInTheBlank, caseSensitive: caseSensitive }, commonFields);
|
|
438
|
+
}
|
|
439
|
+
if (questionType === 'rating_scale') {
|
|
440
|
+
return __assign({ questionAnswerType: ZoomPollQuestionAndAnswerType_1.default.RatingScale, ratingMaxLabel: ratingMaxLabel, ratingMaxValue: ratingMaxValue, ratingMinLabel: ratingMinLabel, ratingMinValue: ratingMinValue }, commonFields);
|
|
441
|
+
}
|
|
442
|
+
// None of the supported question types. Only return common fields
|
|
443
|
+
return __assign({ questionAnswerType: ZoomPollQuestionAndAnswerType_1.default.Unknown }, commonFields);
|
|
444
|
+
}),
|
|
445
|
+
};
|
|
446
|
+
return [2 /*return*/, pollInfo];
|
|
447
|
+
}
|
|
448
|
+
catch (err) {
|
|
449
|
+
throw new ZACCLError_1.default({
|
|
450
|
+
message: "We encountered an error while parsing Zoom poll information: ".concat((_c = err.message) !== null && _c !== void 0 ? _c : 'unknown error'),
|
|
451
|
+
code: ErrorCode_1.default.PollInfoMalformed,
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
return [2 /*return*/];
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
});
|
|
458
|
+
};
|
|
262
459
|
/**
|
|
263
460
|
* Add one alt-host if not already in the list. If another user in the alt-host
|
|
264
461
|
* list has been deactivated, all alt-hosts are removed and the requested
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ECatMeeting.js","sourceRoot":"","sources":["../../src/endpoints/ECatMeeting.ts"],"names":[],"mappings":";AAAA;;;;;GAKG
|
|
1
|
+
{"version":3,"file":"ECatMeeting.js","sourceRoot":"","sources":["../../src/endpoints/ECatMeeting.ts"],"names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gCAC7H,IAAI,EAAE,mBAAS,CAAC,0BAA0B;6BAC3C,CAAC,CAAC;yBACJ;wBAED,gDAAgD;wBAChD,8BAA8B;wBAC9B,UAAU,CAAC,QAAQ,CAAC,iBAAiB,GAAG,OAAO,CAAC;wBAChD,qBAAM,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,SAAS,WAAA,EAAE,UAAU,YAAA,EAAE,CAAC,EAAA;;wBAAxD,SAAwD,CAAC;;;;oBAK/D,gCAAgC;oBAChC,sBAAO,UAAU,EAAC;;;;KACnB;IACH,kBAAC;AAAD,CAAC,AAriBD,CAA0B,0BAAgB,GAqiBzC;AAED,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAE5E,kBAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Highest error:
|
|
2
|
+
// Highest error: ZAC21
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
var ErrorCode;
|
|
5
5
|
(function (ErrorCode) {
|
|
@@ -11,6 +11,7 @@ var ErrorCode;
|
|
|
11
11
|
ErrorCode["EndpointBindError"] = "ZAC4";
|
|
12
12
|
ErrorCode["DailyLimitError"] = "ZAC7";
|
|
13
13
|
ErrorCode["RateLimitError"] = "ZAC16";
|
|
14
|
+
ErrorCode["PollInfoMalformed"] = "ZAC21";
|
|
14
15
|
// Processing errors
|
|
15
16
|
ErrorCode["PostProcessingError"] = "ZAC5";
|
|
16
17
|
ErrorCode["DuplicateRuleError"] = "ZAC9";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorCode.js","sourceRoot":"","sources":["../../../src/shared/types/ErrorCode.ts"],"names":[],"mappings":";AAAA,uBAAuB;;AAEvB,IAAK,
|
|
1
|
+
{"version":3,"file":"ErrorCode.js","sourceRoot":"","sources":["../../../src/shared/types/ErrorCode.ts"],"names":[],"mappings":";AAAA,uBAAuB;;AAEvB,IAAK,SAqCJ;AArCD,WAAK,SAAS;IACZ,iBAAiB;IACjB,kCAAqB,CAAA;IACrB,yCAA4B,CAAA;IAE5B,kBAAkB;IAClB,uDAA0C,CAAA;IAC1C,uCAA0B,CAAA;IAC1B,qCAAwB,CAAA;IACxB,qCAAwB,CAAA;IACxB,wCAA2B,CAAA;IAE3B,oBAAoB;IACpB,yCAA4B,CAAA;IAC5B,wCAA2B,CAAA;IAC3B,6CAAgC,CAAA;IAChC,wCAA2B,CAAA;IAE3B,kBAAkB;IAClB,uCAA0B,CAAA;IAC1B,uCAA0B,CAAA;IAC1B,wCAA2B,CAAA;IAE3B,eAAe;IACf,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,sCAAyB,CAAA;IAEzB,iBAAiB;IACjB,iDAAoC,CAAA;IAEpC,wBAAwB;IACxB,6CAAgC,CAAA;IAEhC,eAAe;IACf,6CAAgC,CAAA;IAChC,yCAA4B,CAAA;AAC9B,CAAC,EArCI,SAAS,KAAT,SAAS,QAqCb;AAED,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One poll occurrence of a poll that happened in a past occurrence of a
|
|
3
|
+
* Zoom meeting
|
|
4
|
+
* @author Gabe Abrams
|
|
5
|
+
*/
|
|
6
|
+
type PollOccurrence = {
|
|
7
|
+
pollId: string;
|
|
8
|
+
timestamp: number;
|
|
9
|
+
questions: {
|
|
10
|
+
prompt: string;
|
|
11
|
+
responses: {
|
|
12
|
+
userFullName: string;
|
|
13
|
+
userEmail: string;
|
|
14
|
+
answer: string;
|
|
15
|
+
timestamp: number;
|
|
16
|
+
}[];
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
export default PollOccurrence;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PollOccurrence.js","sourceRoot":"","sources":["../../src/types/PollOccurrence.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import PollQuestion from './ZoomPollQuestion';
|
|
2
|
+
import PollStatus from './ZoomPollStatus';
|
|
3
|
+
import PollType from './ZoomPollType';
|
|
4
|
+
/**
|
|
5
|
+
* The information about a poll that happened in a Zoom meeting.
|
|
6
|
+
* @author Yuen Ler Chow
|
|
7
|
+
*/
|
|
8
|
+
type ZoomPollInfo = {
|
|
9
|
+
pollId: string;
|
|
10
|
+
pollStatus: PollStatus;
|
|
11
|
+
anonymous: boolean;
|
|
12
|
+
pollType: PollType;
|
|
13
|
+
questions: PollQuestion[];
|
|
14
|
+
title: string;
|
|
15
|
+
};
|
|
16
|
+
export default ZoomPollInfo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomPollInfo.js","sourceRoot":"","sources":["../../src/types/ZoomPollInfo.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One poll occurrence of a poll that happened in a past occurrence of a
|
|
3
|
+
* Zoom meeting
|
|
4
|
+
* @author Gabe Abrams
|
|
5
|
+
*/
|
|
6
|
+
type ZoomPollOccurrence = {
|
|
7
|
+
pollId: string;
|
|
8
|
+
timestamp: number;
|
|
9
|
+
questions: {
|
|
10
|
+
prompt: string;
|
|
11
|
+
responses: {
|
|
12
|
+
userFullName: string;
|
|
13
|
+
userEmail: string;
|
|
14
|
+
answer: string;
|
|
15
|
+
timestamp: number;
|
|
16
|
+
}[];
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
export default ZoomPollOccurrence;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomPollOccurrence.js","sourceRoot":"","sources":["../../src/types/ZoomPollOccurrence.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import QuestionAndAnswerType from './ZoomPollQuestionAndAnswerType';
|
|
2
|
+
/**
|
|
3
|
+
* One question in a Zoom poll
|
|
4
|
+
* @author Yuen Ler Chow
|
|
5
|
+
*/
|
|
6
|
+
type ZoomPollQuestion = ({
|
|
7
|
+
answerRequired: boolean;
|
|
8
|
+
answers: string[];
|
|
9
|
+
name: string;
|
|
10
|
+
rightAnswers: string[];
|
|
11
|
+
} & ({
|
|
12
|
+
questionAnswerType: (QuestionAndAnswerType.LongAnswer | QuestionAndAnswerType.ShortAnswer);
|
|
13
|
+
answerMaxCharacters: number;
|
|
14
|
+
answerMinCharacters: number;
|
|
15
|
+
} | {
|
|
16
|
+
questionAnswerType: QuestionAndAnswerType.RatingScale;
|
|
17
|
+
ratingMaxLabel: string;
|
|
18
|
+
ratingMaxValue: number;
|
|
19
|
+
ratingMinLabel: string;
|
|
20
|
+
ratingMinValue: number;
|
|
21
|
+
} | {
|
|
22
|
+
questionAnswerType: QuestionAndAnswerType.FillInTheBlank;
|
|
23
|
+
caseSensitive: boolean;
|
|
24
|
+
} | {
|
|
25
|
+
questionAnswerType: (QuestionAndAnswerType.SingleChoice | QuestionAndAnswerType.MultipleChoice);
|
|
26
|
+
showAsDropdown: boolean;
|
|
27
|
+
} | {
|
|
28
|
+
questionAnswerType: QuestionAndAnswerType.Unknown;
|
|
29
|
+
}));
|
|
30
|
+
export default ZoomPollQuestion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomPollQuestion.js","sourceRoot":"","sources":["../../src/types/ZoomPollQuestion.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of questions and answers in a poll
|
|
3
|
+
* @author Yuen Ler Chow
|
|
4
|
+
*/
|
|
5
|
+
declare enum ZoomPollQuestionAndAnswerType {
|
|
6
|
+
SingleChoice = "SingleChoice",
|
|
7
|
+
MultipleChoice = "MultipleChoice",
|
|
8
|
+
ShortAnswer = "ShortAnswer",
|
|
9
|
+
LongAnswer = "LongAnswer",
|
|
10
|
+
FillInTheBlank = "FillInTheBlank",
|
|
11
|
+
RatingScale = "RatingScale",
|
|
12
|
+
Unknown = "Unknown"
|
|
13
|
+
}
|
|
14
|
+
export default ZoomPollQuestionAndAnswerType;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Types of questions and answers in a poll
|
|
5
|
+
* @author Yuen Ler Chow
|
|
6
|
+
*/
|
|
7
|
+
var ZoomPollQuestionAndAnswerType;
|
|
8
|
+
(function (ZoomPollQuestionAndAnswerType) {
|
|
9
|
+
// Single choice
|
|
10
|
+
ZoomPollQuestionAndAnswerType["SingleChoice"] = "SingleChoice";
|
|
11
|
+
// Multiple choice
|
|
12
|
+
ZoomPollQuestionAndAnswerType["MultipleChoice"] = "MultipleChoice";
|
|
13
|
+
// Short answer
|
|
14
|
+
ZoomPollQuestionAndAnswerType["ShortAnswer"] = "ShortAnswer";
|
|
15
|
+
// Long answer
|
|
16
|
+
ZoomPollQuestionAndAnswerType["LongAnswer"] = "LongAnswer";
|
|
17
|
+
// Fill in the blank
|
|
18
|
+
ZoomPollQuestionAndAnswerType["FillInTheBlank"] = "FillInTheBlank";
|
|
19
|
+
// Rating scale
|
|
20
|
+
ZoomPollQuestionAndAnswerType["RatingScale"] = "RatingScale";
|
|
21
|
+
// Unknown/Other types
|
|
22
|
+
ZoomPollQuestionAndAnswerType["Unknown"] = "Unknown";
|
|
23
|
+
})(ZoomPollQuestionAndAnswerType || (ZoomPollQuestionAndAnswerType = {}));
|
|
24
|
+
exports.default = ZoomPollQuestionAndAnswerType;
|
|
25
|
+
//# sourceMappingURL=ZoomPollQuestionAndAnswerType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomPollQuestionAndAnswerType.js","sourceRoot":"","sources":["../../src/types/ZoomPollQuestionAndAnswerType.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAK,6BAeJ;AAfD,WAAK,6BAA6B;IAChC,gBAAgB;IAChB,8DAA6B,CAAA;IAC7B,kBAAkB;IAClB,kEAAiC,CAAA;IACjC,eAAe;IACf,4DAA2B,CAAA;IAC3B,cAAc;IACd,0DAAyB,CAAA;IACzB,oBAAoB;IACpB,kEAAiC,CAAA;IACjC,eAAe;IACf,4DAA2B,CAAA;IAC3B,sBAAsB;IACtB,oDAAmB,CAAA;AACrB,CAAC,EAfI,6BAA6B,KAA7B,6BAA6B,QAejC;AAED,kBAAe,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Current state of a poll
|
|
5
|
+
* @author Yuen Ler Chow
|
|
6
|
+
*/
|
|
7
|
+
var ZoomPollStatus;
|
|
8
|
+
(function (ZoomPollStatus) {
|
|
9
|
+
// Poll has not started
|
|
10
|
+
ZoomPollStatus["NotStart"] = "NotStart";
|
|
11
|
+
// Poll has started
|
|
12
|
+
ZoomPollStatus["Started"] = "Started";
|
|
13
|
+
// Poll has ended
|
|
14
|
+
ZoomPollStatus["Ended"] = "Ended";
|
|
15
|
+
// Host is sharing results
|
|
16
|
+
ZoomPollStatus["Sharing"] = "Sharing";
|
|
17
|
+
})(ZoomPollStatus || (ZoomPollStatus = {}));
|
|
18
|
+
exports.default = ZoomPollStatus;
|
|
19
|
+
//# sourceMappingURL=ZoomPollStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomPollStatus.js","sourceRoot":"","sources":["../../src/types/ZoomPollStatus.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAK,cASJ;AATD,WAAK,cAAc;IACjB,uBAAuB;IACvB,uCAAqB,CAAA;IACrB,mBAAmB;IACnB,qCAAmB,CAAA;IACnB,iBAAiB;IACjB,iCAAe,CAAA;IACf,0BAA0B;IAC1B,qCAAmB,CAAA;AACrB,CAAC,EATI,cAAc,KAAd,cAAc,QASlB;AAED,kBAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Types of polls
|
|
5
|
+
* @author Yuen Ler Chow
|
|
6
|
+
*/
|
|
7
|
+
var ZoomPollType;
|
|
8
|
+
(function (ZoomPollType) {
|
|
9
|
+
// Normal poll
|
|
10
|
+
ZoomPollType["Poll"] = "Poll";
|
|
11
|
+
// Advanced poll
|
|
12
|
+
ZoomPollType["AdvancedPoll"] = "AdvancedPoll";
|
|
13
|
+
// Quiz
|
|
14
|
+
ZoomPollType["Quiz"] = "Quiz";
|
|
15
|
+
})(ZoomPollType || (ZoomPollType = {}));
|
|
16
|
+
exports.default = ZoomPollType;
|
|
17
|
+
//# sourceMappingURL=ZoomPollType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomPollType.js","sourceRoot":"","sources":["../../src/types/ZoomPollType.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAK,YAOJ;AAPD,WAAK,YAAY;IACf,cAAc;IACd,6BAAa,CAAA;IACb,gBAAgB;IAChB,6CAA6B,CAAA;IAC7B,OAAO;IACP,6BAAa,CAAA;AACf,CAAC,EAPI,YAAY,KAAZ,YAAY,QAOhB;AAED,kBAAe,YAAY,CAAC"}
|
package/package.json
CHANGED