@dolbyio/dolbyio-rest-apis-client 3.4.2 → 3.4.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.
Files changed (196) hide show
  1. package/dist/{src/authentication.d.ts → authentication.d.ts} +0 -0
  2. package/dist/authentication.js +64 -0
  3. package/dist/{src/communications → communications}/authentication.d.ts +0 -0
  4. package/dist/communications/authentication.js +62 -0
  5. package/dist/{src/communications → communications}/conference.d.ts +0 -0
  6. package/dist/communications/conference.js +380 -0
  7. package/dist/{src/communications → communications}/index.d.ts +0 -0
  8. package/dist/communications/index.js +19 -0
  9. package/dist/{src/communications → communications}/internal/httpHelpers.d.ts +0 -0
  10. package/dist/communications/internal/httpHelpers.js +69 -0
  11. package/dist/{src/communications → communications}/internal/urls.d.ts +0 -0
  12. package/dist/communications/internal/urls.js +10 -0
  13. package/dist/{src/communications → communications}/monitor/conferences.d.ts +0 -0
  14. package/dist/communications/monitor/conferences.js +399 -0
  15. package/dist/{src/communications → communications}/monitor/index.d.ts +0 -0
  16. package/dist/communications/monitor/index.js +15 -0
  17. package/dist/{src/communications → communications}/monitor/recordings.d.ts +0 -0
  18. package/dist/communications/monitor/recordings.js +356 -0
  19. package/dist/{src/communications → communications}/monitor/webhooks.d.ts +0 -0
  20. package/dist/communications/monitor/webhooks.js +140 -0
  21. package/dist/{src/communications → communications}/recording.d.ts +0 -0
  22. package/dist/communications/recording.js +100 -0
  23. package/dist/communications/remix.js +107 -0
  24. package/dist/{src/communications → communications}/streaming.d.ts +0 -0
  25. package/dist/communications/streaming.js +191 -0
  26. package/dist/{src/communications → communications}/types/conference.d.ts +0 -0
  27. package/dist/communications/types/conference.js +5 -0
  28. package/dist/{src/communications → communications}/types/conferences.d.ts +0 -0
  29. package/dist/communications/types/conferences.js +5 -0
  30. package/dist/{src/communications → communications}/types/core.d.ts +0 -0
  31. package/dist/communications/types/core.js +5 -0
  32. package/dist/{src/communications → communications}/types/participant.d.ts +0 -0
  33. package/dist/communications/types/participant.js +1 -0
  34. package/dist/{src/communications → communications}/types/permission.d.ts +0 -0
  35. package/dist/communications/types/permission.js +22 -0
  36. package/dist/{src/communications → communications}/types/recordings.d.ts +0 -0
  37. package/dist/communications/types/recordings.js +5 -0
  38. package/dist/communications/types/remixStatus.js +1 -0
  39. package/dist/{src/communications → communications}/types/rtcpMode.d.ts +0 -0
  40. package/dist/communications/types/rtcpMode.js +13 -0
  41. package/dist/{src/communications → communications}/types/spatialAudio.d.ts +0 -0
  42. package/dist/communications/types/spatialAudio.js +5 -0
  43. package/dist/{src/communications → communications}/types/videoCodec.d.ts +0 -0
  44. package/dist/communications/types/videoCodec.js +12 -0
  45. package/dist/{src/communications → communications}/types/webhooks.d.ts +0 -0
  46. package/dist/communications/types/webhooks.js +5 -0
  47. package/dist/{src/index.d.ts → index.d.ts} +2 -1
  48. package/dist/index.js +17 -0
  49. package/dist/{src/internal → internal}/httpHelpers.d.ts +0 -0
  50. package/dist/internal/httpHelpers.js +217 -0
  51. package/dist/{src/internal → internal}/urls.d.ts +0 -0
  52. package/dist/internal/urls.js +8 -0
  53. package/dist/{src/media → media}/analyze.d.ts +0 -0
  54. package/dist/media/analyze.js +95 -0
  55. package/dist/{src/media → media}/analyzeSpeech.d.ts +0 -0
  56. package/dist/media/analyzeSpeech.js +89 -0
  57. package/dist/{src/media → media}/diagnose.d.ts +0 -0
  58. package/dist/media/diagnose.js +91 -0
  59. package/dist/{src/media → media}/enhance.d.ts +0 -0
  60. package/dist/media/enhance.js +86 -0
  61. package/dist/{src/media → media}/index.d.ts +0 -0
  62. package/dist/media/index.js +27 -0
  63. package/dist/{src/media → media}/internal/httpHelpers.d.ts +0 -0
  64. package/dist/media/internal/httpHelpers.js +61 -0
  65. package/dist/{src/media → media}/internal/jobsHelpers.d.ts +0 -0
  66. package/dist/media/internal/jobsHelpers.js +85 -0
  67. package/dist/{src/media → media}/internal/urls.d.ts +0 -0
  68. package/dist/media/internal/urls.js +8 -0
  69. package/dist/{src/media → media}/io.d.ts +0 -0
  70. package/dist/media/io.js +176 -0
  71. package/dist/{src/media → media}/jobs.d.ts +0 -0
  72. package/dist/media/jobs.js +182 -0
  73. package/dist/{src/media → media}/mastering.d.ts +0 -0
  74. package/dist/media/mastering.js +166 -0
  75. package/dist/{src/media → media}/transcode.d.ts +0 -0
  76. package/dist/media/transcode.js +82 -0
  77. package/dist/{src/media → media}/types/analyze.d.ts +0 -0
  78. package/dist/media/types/analyze.js +5 -0
  79. package/dist/{src/media → media}/types/analyzeSpeech.d.ts +0 -0
  80. package/dist/media/types/analyzeSpeech.js +5 -0
  81. package/dist/{src/media → media}/types/diagnose.d.ts +0 -0
  82. package/dist/media/types/diagnose.js +5 -0
  83. package/dist/{src/media → media}/types/enhance.d.ts +0 -0
  84. package/dist/media/types/enhance.js +5 -0
  85. package/dist/{src/media → media}/types/jobResults.d.ts +0 -0
  86. package/dist/media/types/jobResults.js +5 -0
  87. package/dist/{src/media → media}/types/jobs.d.ts +0 -0
  88. package/dist/media/types/jobs.js +5 -0
  89. package/dist/{src/media → media}/types/mastering.d.ts +0 -0
  90. package/dist/media/types/mastering.js +5 -0
  91. package/dist/{src/media → media}/types/transcode.d.ts +0 -0
  92. package/dist/media/types/transcode.js +5 -0
  93. package/dist/{src/media → media}/types/webhooks.d.ts +0 -0
  94. package/dist/media/types/webhooks.js +5 -0
  95. package/dist/{src/media → media}/webhooks.d.ts +0 -0
  96. package/dist/media/webhooks.js +216 -0
  97. package/dist/{src/types → types}/jwtToken.d.ts +0 -0
  98. package/dist/types/jwtToken.js +1 -0
  99. package/package.json +8 -3
  100. package/dist/package.json +0 -30
  101. package/dist/src/authentication.js +0 -48
  102. package/dist/src/authentication.js.map +0 -1
  103. package/dist/src/communications/authentication.js +0 -46
  104. package/dist/src/communications/authentication.js.map +0 -1
  105. package/dist/src/communications/conference.js +0 -255
  106. package/dist/src/communications/conference.js.map +0 -1
  107. package/dist/src/communications/index.js +0 -37
  108. package/dist/src/communications/index.js.map +0 -1
  109. package/dist/src/communications/internal/httpHelpers.js +0 -47
  110. package/dist/src/communications/internal/httpHelpers.js.map +0 -1
  111. package/dist/src/communications/internal/urls.js +0 -6
  112. package/dist/src/communications/internal/urls.js.map +0 -1
  113. package/dist/src/communications/monitor/conferences.js +0 -271
  114. package/dist/src/communications/monitor/conferences.js.map +0 -1
  115. package/dist/src/communications/monitor/index.js +0 -33
  116. package/dist/src/communications/monitor/index.js.map +0 -1
  117. package/dist/src/communications/monitor/recordings.js +0 -226
  118. package/dist/src/communications/monitor/recordings.js.map +0 -1
  119. package/dist/src/communications/monitor/webhooks.js +0 -104
  120. package/dist/src/communications/monitor/webhooks.js.map +0 -1
  121. package/dist/src/communications/recording.js +0 -69
  122. package/dist/src/communications/recording.js.map +0 -1
  123. package/dist/src/communications/streaming.js +0 -123
  124. package/dist/src/communications/streaming.js.map +0 -1
  125. package/dist/src/communications/types/conference.js +0 -3
  126. package/dist/src/communications/types/conference.js.map +0 -1
  127. package/dist/src/communications/types/conferences.js +0 -3
  128. package/dist/src/communications/types/conferences.js.map +0 -1
  129. package/dist/src/communications/types/core.js +0 -3
  130. package/dist/src/communications/types/core.js.map +0 -1
  131. package/dist/src/communications/types/participant.js +0 -3
  132. package/dist/src/communications/types/participant.js.map +0 -1
  133. package/dist/src/communications/types/permission.js +0 -31
  134. package/dist/src/communications/types/permission.js.map +0 -1
  135. package/dist/src/communications/types/recordings.js +0 -3
  136. package/dist/src/communications/types/recordings.js.map +0 -1
  137. package/dist/src/communications/types/rtcpMode.js +0 -13
  138. package/dist/src/communications/types/rtcpMode.js.map +0 -1
  139. package/dist/src/communications/types/spatialAudio.js +0 -3
  140. package/dist/src/communications/types/spatialAudio.js.map +0 -1
  141. package/dist/src/communications/types/videoCodec.js +0 -9
  142. package/dist/src/communications/types/videoCodec.js.map +0 -1
  143. package/dist/src/communications/types/webhooks.js +0 -3
  144. package/dist/src/communications/types/webhooks.js.map +0 -1
  145. package/dist/src/index.js +0 -33
  146. package/dist/src/index.js.map +0 -1
  147. package/dist/src/internal/httpHelpers.js +0 -184
  148. package/dist/src/internal/httpHelpers.js.map +0 -1
  149. package/dist/src/internal/urls.js +0 -5
  150. package/dist/src/internal/urls.js.map +0 -1
  151. package/dist/src/media/analyze.js +0 -61
  152. package/dist/src/media/analyze.js.map +0 -1
  153. package/dist/src/media/analyzeSpeech.js +0 -55
  154. package/dist/src/media/analyzeSpeech.js.map +0 -1
  155. package/dist/src/media/diagnose.js +0 -57
  156. package/dist/src/media/diagnose.js.map +0 -1
  157. package/dist/src/media/enhance.js +0 -52
  158. package/dist/src/media/enhance.js.map +0 -1
  159. package/dist/src/media/index.js +0 -45
  160. package/dist/src/media/index.js.map +0 -1
  161. package/dist/src/media/internal/httpHelpers.js +0 -76
  162. package/dist/src/media/internal/httpHelpers.js.map +0 -1
  163. package/dist/src/media/internal/jobsHelpers.js +0 -47
  164. package/dist/src/media/internal/jobsHelpers.js.map +0 -1
  165. package/dist/src/media/internal/urls.js +0 -5
  166. package/dist/src/media/internal/urls.js.map +0 -1
  167. package/dist/src/media/io.js +0 -99
  168. package/dist/src/media/io.js.map +0 -1
  169. package/dist/src/media/jobs.js +0 -120
  170. package/dist/src/media/jobs.js.map +0 -1
  171. package/dist/src/media/mastering.js +0 -94
  172. package/dist/src/media/mastering.js.map +0 -1
  173. package/dist/src/media/transcode.js +0 -48
  174. package/dist/src/media/transcode.js.map +0 -1
  175. package/dist/src/media/types/analyze.js +0 -3
  176. package/dist/src/media/types/analyze.js.map +0 -1
  177. package/dist/src/media/types/analyzeSpeech.js +0 -3
  178. package/dist/src/media/types/analyzeSpeech.js.map +0 -1
  179. package/dist/src/media/types/diagnose.js +0 -3
  180. package/dist/src/media/types/diagnose.js.map +0 -1
  181. package/dist/src/media/types/enhance.js +0 -3
  182. package/dist/src/media/types/enhance.js.map +0 -1
  183. package/dist/src/media/types/jobResults.js +0 -3
  184. package/dist/src/media/types/jobResults.js.map +0 -1
  185. package/dist/src/media/types/jobs.js +0 -3
  186. package/dist/src/media/types/jobs.js.map +0 -1
  187. package/dist/src/media/types/mastering.js +0 -3
  188. package/dist/src/media/types/mastering.js.map +0 -1
  189. package/dist/src/media/types/transcode.js +0 -3
  190. package/dist/src/media/types/transcode.js.map +0 -1
  191. package/dist/src/media/types/webhooks.js +0 -3
  192. package/dist/src/media/types/webhooks.js.map +0 -1
  193. package/dist/src/media/webhooks.js +0 -136
  194. package/dist/src/media/webhooks.js.map +0 -1
  195. package/dist/src/types/jwtToken.js +0 -3
  196. package/dist/src/types/jwtToken.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"conference.js","sourceRoot":"","sources":["../../../src/communications/conference.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAwE;AACxE,0CAAiD;AAKjD,+CAA4C;AAE5C;;;;;;;;;GASG;AACI,MAAM,gBAAgB,GAAG,CAAO,WAAqB,EAAE,OAAgC,EAAuB,EAAE;IACnH,MAAM,UAAU,GAAG;QACf,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI;QAC1D,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK;QACpE,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK;QACxD,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,mBAAQ,CAAC,OAAO;KACnE,CAAC;IAEF,IAAI,OAAO,CAAC,OAAO;QAAE,UAAU,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAC7D,IAAI,OAAO,CAAC,GAAG;QAAE,UAAU,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IACjD,IAAI,OAAO,CAAC,UAAU;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,EAAC,OAAO,CAAC,CAAC;IACzC,OAAO,QAAsB,CAAC;AAClC,CAAC,CAAA,CAAC;AA3BW,QAAA,iBAAiB,qBA2B5B;AAEF;;;;;;;GAOG;AACI,MAAM,SAAS,GAAG,CAAO,WAAqB,EAAE,YAAoB,EAAiB,EAAE;IAC1F,MAAM,OAAO,GAAG;QACZ,QAAQ,EAAE,qBAAc;QACxB,IAAI,EAAE,mBAAmB,YAAY,EAAE;QACvC,OAAO,EAAE;YACL,MAAM,EAAE,kBAAkB;YAC1B,cAAc,EAAE,kBAAkB;YAClC,aAAa,EAAE,GAAG,WAAW,CAAC,UAAU,IAAI,WAAW,CAAC,YAAY,EAAE;SACzE;KACJ,CAAC;IAEF,MAAM,IAAA,wBAAU,EAAC,OAAO,CAAC,CAAC;AAC9B,CAAC,CAAA,CAAC;AAZW,QAAA,SAAS,aAYpB"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.streaming = exports.recording = exports.monitor = exports.conference = exports.authentication = void 0;
27
- const authentication = __importStar(require("./authentication"));
28
- exports.authentication = authentication;
29
- const conference = __importStar(require("./conference"));
30
- exports.conference = conference;
31
- const monitor = __importStar(require("./monitor"));
32
- exports.monitor = monitor;
33
- const recording = __importStar(require("./recording"));
34
- exports.recording = recording;
35
- const streaming = __importStar(require("./streaming"));
36
- exports.streaming = streaming;
37
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/communications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;AAM1C,wCAAc;AALvB,yDAA2C;AAKlB,gCAAU;AAJnC,mDAAqC;AAIA,0BAAO;AAH5C,uDAAyC;AAGK,8BAAS;AAFvD,uDAAyC;AAEgB,8BAAS"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.getAll = void 0;
13
- const httpHelpers_1 = require("../../internal/httpHelpers");
14
- /**
15
- * Get all the elements available.
16
- *
17
- * @param options Request options.
18
- * @param propertyName Name of the property that contains the elements of the page.
19
- *
20
- * @returns An array of objects of type `TReturn` through a Promise.
21
- */
22
- function getAll(options, propertyName) {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- if (!options.params) {
25
- options.params = {};
26
- }
27
- const result = [];
28
- do {
29
- const response = yield (0, httpHelpers_1.sendGet)(options);
30
- if (response.hasOwnProperty(propertyName)) {
31
- const objects = response[propertyName];
32
- for (let index = 0; index < objects.length; index++) {
33
- const object = objects[index];
34
- result.push(object);
35
- }
36
- }
37
- const pagedResponse = response;
38
- if (!pagedResponse.next || pagedResponse.next.length <= 0) {
39
- break;
40
- }
41
- options.params['start'] = pagedResponse.next;
42
- } while (true);
43
- return result;
44
- });
45
- }
46
- exports.getAll = getAll;
47
- //# sourceMappingURL=httpHelpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"httpHelpers.js","sourceRoot":"","sources":["../../../../src/communications/internal/httpHelpers.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAqE;AAGrE;;;;;;;GAOG;AACH,SAAsB,MAAM,CAAU,OAAuB,EAAE,YAAoB;;QAC/E,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;YACjB,OAAO,CAAC,MAAM,GAAG,EAAE,CAAC;SACvB;QAED,MAAM,MAAM,GAAmB,EAAE,CAAC;QAElC,GAAG;YACC,MAAM,QAAQ,GAAG,MAAM,IAAA,qBAAO,EAAC,OAAO,CAAC,CAAC;YAExC,IAAI,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE;gBACvC,MAAM,OAAO,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;gBACvC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;oBACjD,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;oBAC9B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;iBACvB;aACJ;YAED,MAAM,aAAa,GAAG,QAAyB,CAAC;YAChD,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,aAAa,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,EAAE;gBACvD,MAAM;aACT;YAED,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,IAAI,CAAC;SAChD,QAAQ,IAAI,EAAE;QAEf,OAAO,MAAM,CAAC;IAClB,CAAC;CAAA;AA3BD,wBA2BC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SESSION_HOSTNAME = exports.COMMS_HOSTNAME = void 0;
4
- exports.COMMS_HOSTNAME = 'comms.api.dolby.io';
5
- exports.SESSION_HOSTNAME = 'session.voxeet.com';
6
- //# sourceMappingURL=urls.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"urls.js","sourceRoot":"","sources":["../../../../src/communications/internal/urls.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,oBAAoB,CAAC;AACtC,QAAA,gBAAgB,GAAG,oBAAoB,CAAC"}
@@ -1,271 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.getAllConferenceParticipants = exports.getConferenceParticipants = exports.getConferenceStatistics = exports.getConference = exports.listAllConferences = exports.listConferences = void 0;
13
- const httpHelpers_1 = require("../../internal/httpHelpers");
14
- const httpHelpers_2 = require("../internal/httpHelpers");
15
- const urls_1 = require("../internal/urls");
16
- /**
17
- * Get a list of conferences that were started in a specific time range, including ongoing conferences.
18
- *
19
- * **Note:** Only terminated conferences include a complete summary.
20
- * The summary of ongoing conferences includes the following fields in the response: `confId`, `alias`, `region`, `dolbyVoice`, `start`, `live`, `owner`.
21
- *
22
- * @link https://docs.dolby.io/communications-apis/reference/get-conferences
23
- *
24
- * @param accessToken Access token to use for authentication.
25
- * @param options Options to request the conferences.
26
- *
27
- * @returns A `ListConferencesResponse` object through a `Promise`.
28
- */
29
- const listConferences = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
30
- const optionsDefault = {
31
- from: 0,
32
- to: 9999999999999,
33
- max: 100,
34
- active: false,
35
- livestats: false,
36
- };
37
- const opts = Object.assign(optionsDefault, options);
38
- const params = {
39
- from: opts.from.toString(),
40
- to: opts.to.toString(),
41
- max: opts.max.toString(),
42
- active: opts.active.toString(),
43
- livestats: opts.livestats.toString(),
44
- };
45
- if (opts.start) {
46
- params['start'] = opts.start;
47
- }
48
- if (opts.alias) {
49
- params['alias'] = opts.alias;
50
- }
51
- if (opts.exid) {
52
- params['exid'] = opts.exid;
53
- }
54
- const requestOptions = {
55
- hostname: urls_1.COMMS_HOSTNAME,
56
- path: '/v1/monitor/conferences',
57
- params,
58
- headers: {
59
- Accept: 'application/json',
60
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
61
- },
62
- };
63
- const response = yield (0, httpHelpers_1.sendGet)(requestOptions);
64
- return response;
65
- });
66
- exports.listConferences = listConferences;
67
- /**
68
- * Get a list of all the conferences that were started in a specific time range, including ongoing conferences.
69
- *
70
- * **Note:** Only terminated conferences include a complete summary.
71
- * The summary of ongoing conferences includes the following fields in the response: `confId`, `alias`, `region`, `dolbyVoice`, `start`, `live`, `owner`.
72
- *
73
- * @link https://docs.dolby.io/communications-apis/reference/get-conferences
74
- *
75
- * @param accessToken Access token to use for authentication.
76
- * @param options Options to request the conferences.
77
- *
78
- * @returns An array of `Conference` objects through a `Promise`.
79
- */
80
- const listAllConferences = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
81
- const optionsDefault = {
82
- from: 0,
83
- to: 9999999999999,
84
- page_size: 100,
85
- active: false,
86
- livestats: false,
87
- };
88
- const opts = Object.assign(optionsDefault, options);
89
- const params = {
90
- from: opts.from.toString(),
91
- to: opts.to.toString(),
92
- max: opts.page_size.toString(),
93
- active: opts.active.toString(),
94
- livestats: opts.livestats.toString(),
95
- };
96
- if (opts.alias) {
97
- params['alias'] = opts.alias;
98
- }
99
- if (opts.exid) {
100
- params['exid'] = opts.exid;
101
- }
102
- const requestOptions = {
103
- hostname: urls_1.COMMS_HOSTNAME,
104
- path: '/v1/monitor/conferences',
105
- params,
106
- headers: {
107
- Accept: 'application/json',
108
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
109
- },
110
- };
111
- return yield (0, httpHelpers_2.getAll)(requestOptions, 'conferences');
112
- });
113
- exports.listAllConferences = listAllConferences;
114
- /**
115
- * Get a summary of a conference.
116
- *
117
- * **Note:** Only terminated conferences include a complete summary.
118
- * The summary of ongoing conferences includes the following fields in the response: `confId`, `alias`, `region`, `dolbyVoice`, `start`, `live`, `owner`.
119
- *
120
- * @link https://docs.dolby.io/communications-apis/reference/get-conference-summary
121
- *
122
- * @param accessToken Access token to use for authentication.
123
- * @param conferenceId The identifier of the conference.
124
- * @param livestats For live conferences, the number of `user`, `listener`, and `pstn` participants.
125
- *
126
- * @returns A `Conference` object through a `Promise`.
127
- */
128
- const getConference = (accessToken, conferenceId, livestats = false) => __awaiter(void 0, void 0, void 0, function* () {
129
- const options = {
130
- hostname: urls_1.COMMS_HOSTNAME,
131
- path: `/v1/monitor/conferences/${conferenceId}?livestats=${livestats}`,
132
- headers: {
133
- Accept: 'application/json',
134
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
135
- },
136
- };
137
- const response = yield (0, httpHelpers_1.sendGet)(options);
138
- return response;
139
- });
140
- exports.getConference = getConference;
141
- /**
142
- * Get statistics of a terminated conference. The statistics include the maximum number of participants present during a conference and the maximum number of the transmitted and received packets, bytes, and streams.
143
- *
144
- * **Note:** Only terminated conferences include a complete summary.
145
- *
146
- * @link https://docs.dolby.io/communications-apis/reference/get-conference-statistics
147
- *
148
- * @param accessToken Access token to use for authentication.
149
- * @param conferenceId The identifier of the conference.
150
- *
151
- * @returns A `Statistics` object through a `Promise`.
152
- */
153
- const getConferenceStatistics = (accessToken, conferenceId) => __awaiter(void 0, void 0, void 0, function* () {
154
- const options = {
155
- hostname: urls_1.COMMS_HOSTNAME,
156
- path: `/v1/monitor/conferences/${conferenceId}/statistics`,
157
- headers: {
158
- Accept: 'application/json',
159
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
160
- },
161
- };
162
- const response = yield (0, httpHelpers_1.sendGet)(options);
163
- return response;
164
- });
165
- exports.getConferenceStatistics = getConferenceStatistics;
166
- /**
167
- * Get statistics and connection details of all participants in a conference. Optionally limit the search result with a specific time range.
168
- *
169
- * @link https://docs.dolby.io/communications-apis/reference/get-info-conference-participants
170
- *
171
- * @param accessToken Access token to use for authentication.
172
- * @param options Options to request the participants.
173
- *
174
- * @returns A `ParticipantsResponse` object through a `Promise`.
175
- */
176
- const getConferenceParticipants = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
177
- const optionsDefault = {
178
- confId: options.confId,
179
- from: 0,
180
- to: 9999999999999,
181
- max: 100,
182
- };
183
- const opts = Object.assign(optionsDefault, options);
184
- let path = `/v1/monitor/conferences/${opts.confId}/participants`;
185
- if (opts.userId) {
186
- path += `/${opts.userId}`;
187
- }
188
- const params = {
189
- from: opts.from.toString(),
190
- to: opts.to.toString(),
191
- max: opts.max.toString(),
192
- };
193
- if (opts.start) {
194
- params['start'] = opts.start;
195
- }
196
- if (opts.type) {
197
- params['type'] = opts.type;
198
- }
199
- const requestOptions = {
200
- hostname: urls_1.COMMS_HOSTNAME,
201
- path: path,
202
- params,
203
- headers: {
204
- Accept: 'application/json',
205
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
206
- },
207
- };
208
- const response = yield (0, httpHelpers_1.sendGet)(requestOptions);
209
- return response;
210
- });
211
- exports.getConferenceParticipants = getConferenceParticipants;
212
- /**
213
- * Get statistics and connection details of all participants in a conference. Optionally limit the search result with a specific time range.
214
- *
215
- * @link https://docs.dolby.io/communications-apis/reference/get-info-conference-participants
216
- *
217
- * @param accessToken Access token to use for authentication.
218
- * @param options Options to request the participants.
219
- *
220
- * @returns A dictionary of `Participant` object through a `Promise`.
221
- */
222
- const getAllConferenceParticipants = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
223
- const optionsDefault = {
224
- confId: options.confId,
225
- from: 0,
226
- to: 9999999999999,
227
- page_size: 100,
228
- };
229
- const opts = Object.assign(optionsDefault, options);
230
- let path = `/v1/monitor/conferences/${opts.confId}/participants`;
231
- if (opts.userId) {
232
- path += `/${opts.userId}`;
233
- }
234
- const params = {
235
- from: opts.from.toString(),
236
- to: opts.to.toString(),
237
- max: opts.page_size.toString(),
238
- };
239
- if (opts.type) {
240
- params['type'] = opts.type;
241
- }
242
- const requestOptions = {
243
- hostname: urls_1.COMMS_HOSTNAME,
244
- path: path,
245
- params,
246
- headers: {
247
- Accept: 'application/json',
248
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
249
- },
250
- };
251
- const result = {};
252
- do {
253
- const response = yield (0, httpHelpers_1.sendGet)(requestOptions);
254
- if (response.hasOwnProperty('participants')) {
255
- const dico = response['participants'];
256
- for (var key in dico) {
257
- if (dico.hasOwnProperty(key)) {
258
- result[key] = dico[key];
259
- }
260
- }
261
- }
262
- const pagedResponse = response;
263
- if (!pagedResponse.next || pagedResponse.next.length <= 0) {
264
- break;
265
- }
266
- requestOptions.params['start'] = pagedResponse.next;
267
- } while (true);
268
- return result;
269
- });
270
- exports.getAllConferenceParticipants = getAllConferenceParticipants;
271
- //# sourceMappingURL=conferences.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conferences.js","sourceRoot":"","sources":["../../../../src/communications/monitor/conferences.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAqD;AACrD,yDAAiD;AACjD,2CAAkD;AAelD;;;;;;;;;;;;GAYG;AACI,MAAM,eAAe,GAAG,CAAO,WAAqB,EAAE,OAA+B,EAAoC,EAAE;IAC9H,MAAM,cAAc,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CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,IAAI,CAAC;KACvD,QAAQ,IAAI,EAAE;IAEf,OAAO,MAAM,CAAC;AAClB,CAAC,CAAA,CAAC;AA1DW,QAAA,4BAA4B,gCA0DvC"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.webhooks = exports.recordings = exports.conferences = void 0;
27
- const conferences = __importStar(require("./conferences"));
28
- exports.conferences = conferences;
29
- const recordings = __importStar(require("./recordings"));
30
- exports.recordings = recordings;
31
- const webhooks = __importStar(require("./webhooks"));
32
- exports.webhooks = webhooks;
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/communications/monitor/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA6C;AAIpC,kCAAW;AAHpB,yDAA2C;AAGrB,gCAAU;AAFhC,qDAAuC;AAEL,4BAAQ"}
@@ -1,226 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.downloadMp3Recording = exports.downloadMp4Recording = exports.getDolbyVoiceRecording = exports.deleteRecording = exports.getRecording = exports.getAllRecordings = exports.getRecordings = void 0;
13
- const httpHelpers_1 = require("../../internal/httpHelpers");
14
- const httpHelpers_2 = require("../internal/httpHelpers");
15
- const urls_1 = require("../internal/urls");
16
- /**
17
- * Get a list of the recorded conference metadata, such as duration or size of the recording.
18
- * This API checks only the recordings that have ended during a specific time range.
19
- * Recordings are indexed based on the ending time.
20
- *
21
- * @link https://docs.dolby.io/communications-apis/reference/get-recordings
22
- *
23
- * @param accessToken Access token to use for authentication.
24
- * @param options Options to request the recordings.
25
- *
26
- * @returns A `GetRecordingsResponse` object through a `Promise`.
27
- */
28
- const getRecordings = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
29
- const optionsDefault = {
30
- from: 0,
31
- to: 9999999999999,
32
- max: 100,
33
- };
34
- const opts = Object.assign(optionsDefault, options);
35
- const params = {
36
- from: opts.from.toString(),
37
- to: opts.to.toString(),
38
- max: opts.max.toString(),
39
- };
40
- if (opts.start) {
41
- params['start'] = opts.start;
42
- }
43
- const requestOptions = {
44
- hostname: urls_1.COMMS_HOSTNAME,
45
- path: '/v1/monitor/recordings',
46
- params,
47
- headers: {
48
- Accept: 'application/json',
49
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
50
- },
51
- };
52
- const response = yield (0, httpHelpers_1.sendGet)(requestOptions);
53
- return response;
54
- });
55
- exports.getRecordings = getRecordings;
56
- /**
57
- * Get a list of the recorded conference metadata, such as duration or size of the recording.
58
- * This API checks only the recordings that have ended during a specific time range.
59
- * Recordings are indexed based on the ending time.
60
- *
61
- * @link https://docs.dolby.io/communications-apis/reference/get-recordings
62
- *
63
- * @param accessToken Access token to use for authentication.
64
- * @param options Options to request the recordings.
65
- *
66
- * @returns An array of `Recording` objects through a `Promise`.
67
- */
68
- const getAllRecordings = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
69
- const optionsDefault = {
70
- from: 0,
71
- to: 9999999999999,
72
- page_size: 100,
73
- };
74
- const opts = Object.assign(optionsDefault, options);
75
- const params = {
76
- from: opts.from.toString(),
77
- to: opts.to.toString(),
78
- max: opts.page_size.toString(),
79
- };
80
- const requestOptions = {
81
- hostname: urls_1.COMMS_HOSTNAME,
82
- path: '/v1/monitor/recordings',
83
- params,
84
- headers: {
85
- Accept: 'application/json',
86
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
87
- },
88
- };
89
- return yield (0, httpHelpers_2.getAll)(requestOptions, 'recordings');
90
- });
91
- exports.getAllRecordings = getAllRecordings;
92
- /**
93
- * Get a list of the recorded conference metadata, such as duration or size of the recording.
94
- * This API checks the recordings that have ended during a specific time range.
95
- * Recordings are indexed based on the ending time.
96
- *
97
- * @link https://docs.dolby.io/communications-apis/reference/get-conference-recordings
98
- *
99
- * @param accessToken Access token to use for authentication.
100
- * @param options Options to request the recording.
101
- *
102
- * @returns An array of `Recording` objects through a `Promise`.
103
- */
104
- const getRecording = (accessToken, options) => __awaiter(void 0, void 0, void 0, function* () {
105
- const optionsDefault = {
106
- from: 0,
107
- to: 9999999999999,
108
- max: 100,
109
- };
110
- const opts = Object.assign(optionsDefault, options);
111
- const params = {
112
- from: opts.from.toString(),
113
- to: opts.to.toString(),
114
- max: opts.max.toString(),
115
- };
116
- if (opts.start) {
117
- params['start'] = opts.start;
118
- }
119
- const requestOptions = {
120
- hostname: urls_1.COMMS_HOSTNAME,
121
- path: `/v1/monitor/conferences/${opts.confId}/recordings`,
122
- params,
123
- headers: {
124
- Accept: 'application/json',
125
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
126
- },
127
- };
128
- const response = yield (0, httpHelpers_1.sendGet)(requestOptions);
129
- return response.recordings;
130
- });
131
- exports.getRecording = getRecording;
132
- /**
133
- * Delete all recording data related to a specific conference.
134
- *
135
- * **Warning**: After deleting the recording, it is not possible to restore the recording data.
136
- *
137
- * @link https://docs.dolby.io/communications-apis/reference/delete-conference-recordings
138
- *
139
- * @param accessToken Access token to use for authentication.
140
- * @param confId Identifier of the conference.
141
- */
142
- const deleteRecording = (accessToken, confId) => __awaiter(void 0, void 0, void 0, function* () {
143
- const requestOptions = {
144
- hostname: urls_1.COMMS_HOSTNAME,
145
- path: `/v1/monitor/conferences/${confId}/recordings`,
146
- headers: {
147
- Accept: 'application/json',
148
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
149
- },
150
- };
151
- yield (0, httpHelpers_1.sendDelete)(requestOptions);
152
- });
153
- exports.deleteRecording = deleteRecording;
154
- /**
155
- * Get details of all Dolby Voice-based audio recordings, and associated split recordings,
156
- * for a given conference and download the conference recording in the MP3 audio format.
157
- *
158
- * @link https://docs.dolby.io/communications-apis/reference/get-dolby-voice-audio-recordings
159
- *
160
- * @param accessToken Access token to use for authentication.
161
- * @param confId Identifier of the conference.
162
- *
163
- * @returns A `DolbyVoiceRecording` object through a `Promise`.
164
- */
165
- const getDolbyVoiceRecording = (accessToken, confId) => __awaiter(void 0, void 0, void 0, function* () {
166
- const requestOptions = {
167
- hostname: urls_1.COMMS_HOSTNAME,
168
- path: `/v1/monitor/conferences/${confId}/recordings/audio`,
169
- headers: {
170
- Accept: 'application/json',
171
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
172
- },
173
- };
174
- const response = yield (0, httpHelpers_1.sendGet)(requestOptions);
175
- return response;
176
- });
177
- exports.getDolbyVoiceRecording = getDolbyVoiceRecording;
178
- /**
179
- * Download the conference recording in the MP4 video format.
180
- * For more information, see the [Recording](https://docs.dolby.io/communications-apis/docs/guides-recording-mechanisms) document.
181
- *
182
- * @link https://docs.dolby.io/communications-apis/reference/get-mp4-recording
183
- *
184
- * @deprecated The [Get recording details](https://docs.dolby.io/communications-apis/reference/get-recordings) and [Get the recordings of a specific conference](https://docs.dolby.io/communications-apis/reference/get-conference-recordings) REST APIs return AWS S3 presigned URLs to download the split recordings, audio recordings, and video recordings.
185
- *
186
- * @param accessToken Access token to use for authentication.
187
- * @param confId Identifier of the conference.
188
- * @param filepath Where to save the file.
189
- */
190
- const downloadMp4Recording = (accessToken, confId, filepath) => __awaiter(void 0, void 0, void 0, function* () {
191
- const requestOptions = {
192
- hostname: urls_1.COMMS_HOSTNAME,
193
- path: `/v1/monitor/conferences/${confId}/recordings/mp4`,
194
- headers: {
195
- Accept: 'video/mp4',
196
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
197
- },
198
- };
199
- yield (0, httpHelpers_1.download)(filepath, requestOptions);
200
- });
201
- exports.downloadMp4Recording = downloadMp4Recording;
202
- /**
203
- * Download the conference recording in the MP3 audio format.
204
- * For more information, see the [Recording](https://docs.dolby.io/communications-apis/docs/guides-recording-mechanisms) document.
205
- *
206
- * @link https://docs.dolby.io/communications-apis/reference/get-mp3-recording
207
- *
208
- * @deprecated The [Get recording details](https://docs.dolby.io/communications-apis/reference/get-recordings) and [Get the recordings of a specific conference](https://docs.dolby.io/communications-apis/reference/get-conference-recordings) REST APIs return AWS S3 presigned URLs to download the split recordings, audio recordings, and video recordings.
209
- *
210
- * @param accessToken Access token to use for authentication.
211
- * @param confId Identifier of the conference.
212
- * @param filepath Where to save the file.
213
- */
214
- const downloadMp3Recording = (accessToken, confId, filepath) => __awaiter(void 0, void 0, void 0, function* () {
215
- const requestOptions = {
216
- hostname: urls_1.COMMS_HOSTNAME,
217
- path: `/v1/monitor/conferences/${confId}/recordings/mp3`,
218
- headers: {
219
- Accept: 'video/mpeg',
220
- Authorization: `${accessToken.token_type} ${accessToken.access_token}`,
221
- },
222
- };
223
- yield (0, httpHelpers_1.download)(filepath, requestOptions);
224
- });
225
- exports.downloadMp3Recording = downloadMp3Recording;
226
- //# sourceMappingURL=recordings.js.map