@dolbyio/dolbyio-rest-apis-client 3.5.3 → 3.5.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.
@@ -48,6 +48,20 @@ export interface Statistics {
48
48
  /** */
49
49
  network: object;
50
50
  }
51
+ export interface StreamingAPIUsage {
52
+ /** */
53
+ bytesIn?: number;
54
+ /** */
55
+ bytesOut?: number;
56
+ /** */
57
+ publishDurationSec?: number;
58
+ /** */
59
+ publishes?: number;
60
+ /** */
61
+ viewDurationSec?: number;
62
+ /** */
63
+ views?: number;
64
+ }
51
65
  export interface Conference {
52
66
  /** The identifier of the conference. */
53
67
  confId: string;
@@ -87,6 +101,8 @@ export interface Conference {
87
101
  owner: ConferenceOwner;
88
102
  /** The conference 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. */
89
103
  statistics: Statistics;
104
+ /** The Real-time streaming usage in the conference. */
105
+ streamingAPIUsage: StreamingAPIUsage;
90
106
  }
91
107
  export interface ListConferencesResponse extends PagedResponse {
92
108
  /** List of conferences. */
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Permission = void 0;
7
- var Permission;
8
- exports.Permission = Permission;
9
- (function (Permission) {
7
+ var Permission = /*#__PURE__*/function (Permission) {
10
8
  Permission["INVITE"] = "INVITE";
11
9
  Permission["JOIN"] = "JOIN";
12
10
  Permission["SEND_AUDIO"] = "SEND_AUDIO";
@@ -19,4 +17,6 @@ exports.Permission = Permission;
19
17
  Permission["STREAM"] = "STREAM";
20
18
  Permission["KICK"] = "KICK";
21
19
  Permission["UPDATE_PERMISSIONS"] = "UPDATE_PERMISSIONS";
22
- })(Permission || (exports.Permission = Permission = {}));
20
+ return Permission;
21
+ }({});
22
+ exports.Permission = Permission;
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.RTCPMode = void 0;
7
- var RTCPMode;
8
- exports.RTCPMode = RTCPMode;
9
- (function (RTCPMode) {
7
+ var RTCPMode = /*#__PURE__*/function (RTCPMode) {
10
8
  RTCPMode["Worst"] = "worst";
11
9
  RTCPMode["Average"] = "average";
12
10
  RTCPMode["Max"] = "max";
13
- })(RTCPMode || (exports.RTCPMode = RTCPMode = {}));
11
+ return RTCPMode;
12
+ }({});
13
+ exports.RTCPMode = RTCPMode;
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VideoCodec = void 0;
7
- var VideoCodec;
8
- exports.VideoCodec = VideoCodec;
9
- (function (VideoCodec) {
7
+ var VideoCodec = /*#__PURE__*/function (VideoCodec) {
10
8
  VideoCodec["VP8"] = "VP8";
11
9
  VideoCodec["H264"] = "H264";
12
- })(VideoCodec || (exports.VideoCodec = VideoCodec = {}));
10
+ return VideoCodec;
11
+ }({});
12
+ exports.VideoCodec = VideoCodec;
package/dist/index.js CHANGED
@@ -15,5 +15,5 @@ var streaming = _interopRequireWildcard(require("./streaming"));
15
15
  exports.streaming = streaming;
16
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
- var version = "3.5.3";
18
+ var version = "3.5.4";
19
19
  exports.version = version;
@@ -266,7 +266,7 @@ var upload = function upload(filepath, uploadUrl) {
266
266
  var opts = {
267
267
  method: 'PUT',
268
268
  headers: {
269
- "Content-Length": fileSize
269
+ 'Content-Length': fileSize
270
270
  }
271
271
  };
272
272
  var req = _https["default"].request(uploadUrl, opts, function (res) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolbyio/dolbyio-rest-apis-client",
3
- "version": "3.5.3",
3
+ "version": "3.5.4",
4
4
  "description": "Node.JS wrapper for the dolby.io REST APIs",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -27,16 +27,16 @@
27
27
  "README.md"
28
28
  ],
29
29
  "devDependencies": {
30
- "@babel/cli": "^7.20.7",
31
- "@babel/core": "^7.20.12",
30
+ "@babel/cli": "^7.21.0",
31
+ "@babel/core": "^7.21.3",
32
32
  "@babel/preset-env": "^7.20.2",
33
- "@babel/preset-typescript": "^7.18.6",
33
+ "@babel/preset-typescript": "^7.21.0",
34
34
  "@types/follow-redirects": "^1.14.1",
35
- "@types/node": "^18.14.0",
35
+ "@types/node": "^18.15.3",
36
36
  "babel-plugin-inline-replace-variables": "^1.3.1",
37
- "eslint": "^8.34.0",
38
- "prettier": "^2.8.4",
39
- "typescript": "^4.9.5"
37
+ "eslint": "^8.36.0",
38
+ "prettier": "^2.8.5",
39
+ "typescript": "^5.0.2"
40
40
  },
41
41
  "dependencies": {
42
42
  "follow-redirects": "^1.15.2"