@bitmovin/api-sdk 1.225.0 → 1.226.0

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 (131) hide show
  1. package/README.md +1 -1
  2. package/dist/BitmovinApi.d.ts +2 -0
  3. package/dist/BitmovinApi.js +2 -0
  4. package/dist/aiSceneAnalysis/AiSceneAnalysisApi.d.ts +13 -0
  5. package/dist/{models/SimpleEncodingVodJobAzureCredentials.js → aiSceneAnalysis/AiSceneAnalysisApi.js} +13 -16
  6. package/dist/aiSceneAnalysis/analyses/AnalysesApi.d.ts +13 -0
  7. package/dist/{encoding/simple/SimpleApi.js → aiSceneAnalysis/analyses/AnalysesApi.js} +9 -9
  8. package/dist/aiSceneAnalysis/analyses/byEncodingId/ByEncodingIdApi.d.ts +13 -0
  9. package/dist/{encoding/simple/jobs/JobsApi.js → aiSceneAnalysis/analyses/byEncodingId/ByEncodingIdApi.js} +9 -11
  10. package/dist/aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.d.ts +19 -0
  11. package/dist/aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.js +48 -0
  12. package/dist/bitmovin-api-sdk.browser.js +709 -2080
  13. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  14. package/dist/common/RestClient.js +1 -1
  15. package/dist/encoding/EncodingApi.d.ts +0 -2
  16. package/dist/encoding/EncodingApi.js +0 -2
  17. package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.d.ts +11 -0
  18. package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.js +8 -0
  19. package/dist/models/Atmosphere.d.ts +23 -0
  20. package/dist/models/Atmosphere.js +21 -0
  21. package/dist/models/CacheControl.d.ts +1 -1
  22. package/dist/models/Character.d.ts +23 -0
  23. package/dist/models/Character.js +21 -0
  24. package/dist/models/Content.d.ts +26 -0
  25. package/dist/models/Content.js +24 -0
  26. package/dist/models/Fmp4Muxing.d.ts +6 -0
  27. package/dist/models/Fmp4Muxing.js +1 -0
  28. package/dist/models/IABTaxonomy.d.ts +28 -0
  29. package/dist/models/IABTaxonomy.js +22 -0
  30. package/dist/models/Location.d.ts +18 -0
  31. package/dist/models/Location.js +20 -0
  32. package/dist/models/Rating.d.ts +23 -0
  33. package/dist/models/Rating.js +21 -0
  34. package/dist/models/Scene.d.ts +50 -0
  35. package/dist/models/Scene.js +28 -0
  36. package/dist/models/SceneAnalysisDetailsResponse.d.ts +40 -0
  37. package/dist/models/SceneAnalysisDetailsResponse.js +26 -0
  38. package/dist/models/SceneObject.d.ts +18 -0
  39. package/dist/models/SceneObject.js +20 -0
  40. package/dist/models/Setting.d.ts +25 -0
  41. package/dist/models/Setting.js +23 -0
  42. package/dist/models/index.d.ts +10 -40
  43. package/dist/models/index.js +10 -40
  44. package/package.json +1 -1
  45. package/dist/encoding/simple/SimpleApi.d.ts +0 -13
  46. package/dist/encoding/simple/jobs/JobsApi.d.ts +0 -15
  47. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +0 -27
  48. package/dist/encoding/simple/jobs/live/LiveApi.js +0 -59
  49. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +0 -50
  50. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +0 -45
  51. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +0 -36
  52. package/dist/encoding/simple/jobs/vod/VodApi.js +0 -79
  53. package/dist/models/EncodingTemplate.d.ts +0 -10
  54. package/dist/models/EncodingTemplate.js +0 -14
  55. package/dist/models/SimpleEncodingLiveCloudRegion.d.ts +0 -13
  56. package/dist/models/SimpleEncodingLiveCloudRegion.js +0 -17
  57. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.d.ts +0 -21
  58. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js +0 -39
  59. package/dist/models/SimpleEncodingLiveJobAzureCredentials.d.ts +0 -15
  60. package/dist/models/SimpleEncodingLiveJobAzureCredentials.js +0 -38
  61. package/dist/models/SimpleEncodingLiveJobCdnOutput.d.ts +0 -16
  62. package/dist/models/SimpleEncodingLiveJobCdnOutput.js +0 -43
  63. package/dist/models/SimpleEncodingLiveJobCredentials.d.ts +0 -8
  64. package/dist/models/SimpleEncodingLiveJobCredentials.js +0 -17
  65. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.d.ts +0 -15
  66. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js +0 -38
  67. package/dist/models/SimpleEncodingLiveJobInput.d.ts +0 -15
  68. package/dist/models/SimpleEncodingLiveJobInput.js +0 -19
  69. package/dist/models/SimpleEncodingLiveJobInputType.d.ts +0 -9
  70. package/dist/models/SimpleEncodingLiveJobInputType.js +0 -13
  71. package/dist/models/SimpleEncodingLiveJobOutput.d.ts +0 -23
  72. package/dist/models/SimpleEncodingLiveJobOutput.js +0 -24
  73. package/dist/models/SimpleEncodingLiveJobOutputType.d.ts +0 -10
  74. package/dist/models/SimpleEncodingLiveJobOutputType.js +0 -14
  75. package/dist/models/SimpleEncodingLiveJobRequest.d.ts +0 -42
  76. package/dist/models/SimpleEncodingLiveJobRequest.js +0 -25
  77. package/dist/models/SimpleEncodingLiveJobResponse.d.ts +0 -90
  78. package/dist/models/SimpleEncodingLiveJobResponse.js +0 -34
  79. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.d.ts +0 -21
  80. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js +0 -39
  81. package/dist/models/SimpleEncodingLiveJobStatus.d.ts +0 -15
  82. package/dist/models/SimpleEncodingLiveJobStatus.js +0 -19
  83. package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +0 -35
  84. package/dist/models/SimpleEncodingLiveJobUrlOutput.js +0 -48
  85. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.d.ts +0 -21
  86. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js +0 -39
  87. package/dist/models/SimpleEncodingLiveMaxResolution.d.ts +0 -10
  88. package/dist/models/SimpleEncodingLiveMaxResolution.js +0 -14
  89. package/dist/models/SimpleEncodingLiveProfile.d.ts +0 -9
  90. package/dist/models/SimpleEncodingLiveProfile.js +0 -13
  91. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +0 -21
  92. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +0 -39
  93. package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +0 -15
  94. package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +0 -23
  95. package/dist/models/SimpleEncodingVodJobCdnOutput.js +0 -45
  96. package/dist/models/SimpleEncodingVodJobCredentials.d.ts +0 -8
  97. package/dist/models/SimpleEncodingVodJobCredentials.js +0 -17
  98. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.d.ts +0 -35
  99. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.js +0 -47
  100. package/dist/models/SimpleEncodingVodJobErrors.d.ts +0 -26
  101. package/dist/models/SimpleEncodingVodJobErrors.js +0 -21
  102. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +0 -15
  103. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +0 -38
  104. package/dist/models/SimpleEncodingVodJobInput.d.ts +0 -16
  105. package/dist/models/SimpleEncodingVodJobInput.js +0 -22
  106. package/dist/models/SimpleEncodingVodJobInputSourceType.d.ts +0 -10
  107. package/dist/models/SimpleEncodingVodJobInputSourceType.js +0 -14
  108. package/dist/models/SimpleEncodingVodJobInputType.d.ts +0 -11
  109. package/dist/models/SimpleEncodingVodJobInputType.js +0 -15
  110. package/dist/models/SimpleEncodingVodJobOptions.d.ts +0 -14
  111. package/dist/models/SimpleEncodingVodJobOptions.js +0 -19
  112. package/dist/models/SimpleEncodingVodJobOutput.d.ts +0 -23
  113. package/dist/models/SimpleEncodingVodJobOutput.js +0 -25
  114. package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +0 -20
  115. package/dist/models/SimpleEncodingVodJobOutputArtifact.js +0 -20
  116. package/dist/models/SimpleEncodingVodJobOutputType.d.ts +0 -10
  117. package/dist/models/SimpleEncodingVodJobOutputType.js +0 -14
  118. package/dist/models/SimpleEncodingVodJobRequest.d.ts +0 -42
  119. package/dist/models/SimpleEncodingVodJobRequest.js +0 -26
  120. package/dist/models/SimpleEncodingVodJobResponse.d.ts +0 -78
  121. package/dist/models/SimpleEncodingVodJobResponse.js +0 -33
  122. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +0 -21
  123. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +0 -39
  124. package/dist/models/SimpleEncodingVodJobStatus.d.ts +0 -14
  125. package/dist/models/SimpleEncodingVodJobStatus.js +0 -18
  126. package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +0 -42
  127. package/dist/models/SimpleEncodingVodJobUrlInput.js +0 -49
  128. package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +0 -35
  129. package/dist/models/SimpleEncodingVodJobUrlOutput.js +0 -48
  130. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +0 -21
  131. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +0 -39
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SimpleEncodingLiveJobAccessKeyCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingLiveJobAccessKeyCredentials
24
- */
25
- var SimpleEncodingLiveJobAccessKeyCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingLiveJobAccessKeyCredentials, _super);
27
- function SimpleEncodingLiveJobAccessKeyCredentials(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- if (!obj) {
30
- return _this;
31
- }
32
- _this.accessKey = (0, Mapper_1.map)(obj.accessKey);
33
- _this.secretKey = (0, Mapper_1.map)(obj.secretKey);
34
- return _this;
35
- }
36
- return SimpleEncodingLiveJobAccessKeyCredentials;
37
- }(SimpleEncodingLiveJobCredentials_1.default));
38
- exports.SimpleEncodingLiveJobAccessKeyCredentials = SimpleEncodingLiveJobAccessKeyCredentials;
39
- exports.default = SimpleEncodingLiveJobAccessKeyCredentials;
@@ -1,15 +0,0 @@
1
- import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingLiveJobAzureCredentials
5
- */
6
- export declare class SimpleEncodingLiveJobAzureCredentials extends SimpleEncodingLiveJobCredentials {
7
- /**
8
- * Azure Account Key used for authentication (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingLiveJobAzureCredentials
11
- */
12
- key?: string;
13
- constructor(obj?: Partial<SimpleEncodingLiveJobAzureCredentials>);
14
- }
15
- export default SimpleEncodingLiveJobAzureCredentials;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SimpleEncodingLiveJobAzureCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingLiveJobAzureCredentials
24
- */
25
- var SimpleEncodingLiveJobAzureCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingLiveJobAzureCredentials, _super);
27
- function SimpleEncodingLiveJobAzureCredentials(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- if (!obj) {
30
- return _this;
31
- }
32
- _this.key = (0, Mapper_1.map)(obj.key);
33
- return _this;
34
- }
35
- return SimpleEncodingLiveJobAzureCredentials;
36
- }(SimpleEncodingLiveJobCredentials_1.default));
37
- exports.SimpleEncodingLiveJobAzureCredentials = SimpleEncodingLiveJobAzureCredentials;
38
- exports.default = SimpleEncodingLiveJobAzureCredentials;
@@ -1,16 +0,0 @@
1
- import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
2
- import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
3
- /**
4
- * @export
5
- * @class SimpleEncodingLiveJobCdnOutput
6
- */
7
- export declare class SimpleEncodingLiveJobCdnOutput extends SimpleEncodingLiveJobOutput {
8
- /**
9
- * Discriminator property for SimpleEncodingLiveJobOutput
10
- * @type {string}
11
- * @memberof SimpleEncodingLiveJobCdnOutput
12
- */
13
- readonly type: SimpleEncodingLiveJobOutputType;
14
- constructor(obj?: Partial<SimpleEncodingLiveJobCdnOutput>);
15
- }
16
- export default SimpleEncodingLiveJobCdnOutput;
@@ -1,43 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SimpleEncodingLiveJobCdnOutput = void 0;
19
- var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
20
- var SimpleEncodingLiveJobOutputType_1 = require("./SimpleEncodingLiveJobOutputType");
21
- /**
22
- * @export
23
- * @class SimpleEncodingLiveJobCdnOutput
24
- */
25
- var SimpleEncodingLiveJobCdnOutput = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingLiveJobCdnOutput, _super);
27
- function SimpleEncodingLiveJobCdnOutput(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- /**
30
- * Discriminator property for SimpleEncodingLiveJobOutput
31
- * @type {string}
32
- * @memberof SimpleEncodingLiveJobCdnOutput
33
- */
34
- _this.type = SimpleEncodingLiveJobOutputType_1.default.CDN;
35
- if (!obj) {
36
- return _this;
37
- }
38
- return _this;
39
- }
40
- return SimpleEncodingLiveJobCdnOutput;
41
- }(SimpleEncodingLiveJobOutput_1.default));
42
- exports.SimpleEncodingLiveJobCdnOutput = SimpleEncodingLiveJobCdnOutput;
43
- exports.default = SimpleEncodingLiveJobCdnOutput;
@@ -1,8 +0,0 @@
1
- /**
2
- * @export
3
- * @class SimpleEncodingLiveJobCredentials
4
- */
5
- export declare class SimpleEncodingLiveJobCredentials {
6
- constructor(obj?: Partial<SimpleEncodingLiveJobCredentials>);
7
- }
8
- export default SimpleEncodingLiveJobCredentials;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobCredentials = void 0;
4
- /**
5
- * @export
6
- * @class SimpleEncodingLiveJobCredentials
7
- */
8
- var SimpleEncodingLiveJobCredentials = /** @class */ (function () {
9
- function SimpleEncodingLiveJobCredentials(obj) {
10
- if (!obj) {
11
- return;
12
- }
13
- }
14
- return SimpleEncodingLiveJobCredentials;
15
- }());
16
- exports.SimpleEncodingLiveJobCredentials = SimpleEncodingLiveJobCredentials;
17
- exports.default = SimpleEncodingLiveJobCredentials;
@@ -1,15 +0,0 @@
1
- import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingLiveJobGcsServiceAccountCredentials
5
- */
6
- export declare class SimpleEncodingLiveJobGcsServiceAccountCredentials extends SimpleEncodingLiveJobCredentials {
7
- /**
8
- * Service account credentials for Google (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingLiveJobGcsServiceAccountCredentials
11
- */
12
- serviceAccountCredentials?: string;
13
- constructor(obj?: Partial<SimpleEncodingLiveJobGcsServiceAccountCredentials>);
14
- }
15
- export default SimpleEncodingLiveJobGcsServiceAccountCredentials;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SimpleEncodingLiveJobGcsServiceAccountCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingLiveJobGcsServiceAccountCredentials
24
- */
25
- var SimpleEncodingLiveJobGcsServiceAccountCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingLiveJobGcsServiceAccountCredentials, _super);
27
- function SimpleEncodingLiveJobGcsServiceAccountCredentials(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- if (!obj) {
30
- return _this;
31
- }
32
- _this.serviceAccountCredentials = (0, Mapper_1.map)(obj.serviceAccountCredentials);
33
- return _this;
34
- }
35
- return SimpleEncodingLiveJobGcsServiceAccountCredentials;
36
- }(SimpleEncodingLiveJobCredentials_1.default));
37
- exports.SimpleEncodingLiveJobGcsServiceAccountCredentials = SimpleEncodingLiveJobGcsServiceAccountCredentials;
38
- exports.default = SimpleEncodingLiveJobGcsServiceAccountCredentials;
@@ -1,15 +0,0 @@
1
- import SimpleEncodingLiveJobInputType from './SimpleEncodingLiveJobInputType';
2
- /**
3
- * @export
4
- * @class SimpleEncodingLiveJobInput
5
- */
6
- export declare class SimpleEncodingLiveJobInput {
7
- /**
8
- * Defines which protocol is being used as input of the live stream.
9
- * @type {SimpleEncodingLiveJobInputType}
10
- * @memberof SimpleEncodingLiveJobInput
11
- */
12
- inputType?: SimpleEncodingLiveJobInputType;
13
- constructor(obj?: Partial<SimpleEncodingLiveJobInput>);
14
- }
15
- export default SimpleEncodingLiveJobInput;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobInput = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- /**
6
- * @export
7
- * @class SimpleEncodingLiveJobInput
8
- */
9
- var SimpleEncodingLiveJobInput = /** @class */ (function () {
10
- function SimpleEncodingLiveJobInput(obj) {
11
- if (!obj) {
12
- return;
13
- }
14
- this.inputType = (0, Mapper_1.map)(obj.inputType);
15
- }
16
- return SimpleEncodingLiveJobInput;
17
- }());
18
- exports.SimpleEncodingLiveJobInput = SimpleEncodingLiveJobInput;
19
- exports.default = SimpleEncodingLiveJobInput;
@@ -1,9 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingLiveJobInputType {
6
- RTMP = "RTMP",
7
- SRT_LISTENER = "SRT_LISTENER"
8
- }
9
- export default SimpleEncodingLiveJobInputType;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobInputType = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingLiveJobInputType;
9
- (function (SimpleEncodingLiveJobInputType) {
10
- SimpleEncodingLiveJobInputType["RTMP"] = "RTMP";
11
- SimpleEncodingLiveJobInputType["SRT_LISTENER"] = "SRT_LISTENER";
12
- })(SimpleEncodingLiveJobInputType || (exports.SimpleEncodingLiveJobInputType = SimpleEncodingLiveJobInputType = {}));
13
- exports.default = SimpleEncodingLiveJobInputType;
@@ -1,23 +0,0 @@
1
- import SimpleEncodingLiveJobCdnOutput from './SimpleEncodingLiveJobCdnOutput';
2
- import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
3
- import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
4
- import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
5
- export type SimpleEncodingLiveJobOutputUnion = SimpleEncodingLiveJobUrlOutput | SimpleEncodingLiveJobCdnOutput;
6
- /**
7
- * @export
8
- * @class SimpleEncodingLiveJobOutput
9
- */
10
- export declare class SimpleEncodingLiveJobOutput {
11
- protected static readonly _discriminatorName = "type";
12
- protected static readonly _discriminatorMapping: {
13
- [key in keyof typeof SimpleEncodingLiveJobOutputType]: string;
14
- };
15
- /**
16
- * The maximum output resolution to be generated
17
- * @type {SimpleEncodingLiveMaxResolution}
18
- * @memberof SimpleEncodingLiveJobOutput
19
- */
20
- maxResolution?: SimpleEncodingLiveMaxResolution;
21
- constructor(obj?: Partial<SimpleEncodingLiveJobOutput>);
22
- }
23
- export default SimpleEncodingLiveJobOutput;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobOutput = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- /**
6
- * @export
7
- * @class SimpleEncodingLiveJobOutput
8
- */
9
- var SimpleEncodingLiveJobOutput = /** @class */ (function () {
10
- function SimpleEncodingLiveJobOutput(obj) {
11
- if (!obj) {
12
- return;
13
- }
14
- this.maxResolution = (0, Mapper_1.map)(obj.maxResolution);
15
- }
16
- SimpleEncodingLiveJobOutput._discriminatorName = 'type';
17
- SimpleEncodingLiveJobOutput._discriminatorMapping = {
18
- URL: 'SimpleEncodingLiveJobUrlOutput',
19
- CDN: 'SimpleEncodingLiveJobCdnOutput'
20
- };
21
- return SimpleEncodingLiveJobOutput;
22
- }());
23
- exports.SimpleEncodingLiveJobOutput = SimpleEncodingLiveJobOutput;
24
- exports.default = SimpleEncodingLiveJobOutput;
@@ -1,10 +0,0 @@
1
- /**
2
- * Output type
3
- * @export
4
- * @enum {string}
5
- */
6
- export declare enum SimpleEncodingLiveJobOutputType {
7
- URL = "URL",
8
- CDN = "CDN"
9
- }
10
- export default SimpleEncodingLiveJobOutputType;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobOutputType = void 0;
4
- /**
5
- * Output type
6
- * @export
7
- * @enum {string}
8
- */
9
- var SimpleEncodingLiveJobOutputType;
10
- (function (SimpleEncodingLiveJobOutputType) {
11
- SimpleEncodingLiveJobOutputType["URL"] = "URL";
12
- SimpleEncodingLiveJobOutputType["CDN"] = "CDN";
13
- })(SimpleEncodingLiveJobOutputType || (exports.SimpleEncodingLiveJobOutputType = SimpleEncodingLiveJobOutputType = {}));
14
- exports.default = SimpleEncodingLiveJobOutputType;
@@ -1,42 +0,0 @@
1
- import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
- import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
- import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
4
- import SimpleEncodingLiveProfile from './SimpleEncodingLiveProfile';
5
- /**
6
- * @export
7
- * @class SimpleEncodingLiveJobRequest
8
- */
9
- export declare class SimpleEncodingLiveJobRequest {
10
- /**
11
- * The profile that will be used for the live encoding.
12
- * @type {SimpleEncodingLiveProfile}
13
- * @memberof SimpleEncodingLiveJobRequest
14
- */
15
- encodingProfile?: SimpleEncodingLiveProfile;
16
- /**
17
- * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api-live#inputs) (required)
18
- * @type {SimpleEncodingLiveJobInput}
19
- * @memberof SimpleEncodingLiveJobRequest
20
- */
21
- input?: SimpleEncodingLiveJobInput;
22
- /**
23
- * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api-live#outputs) (required)
24
- * @type {SimpleEncodingLiveJobOutput[]}
25
- * @memberof SimpleEncodingLiveJobRequest
26
- */
27
- outputs?: SimpleEncodingLiveJobOutput[];
28
- /**
29
- * The cloud region that will be used for the live encoding. This value has to be set.
30
- * @type {SimpleEncodingLiveCloudRegion}
31
- * @memberof SimpleEncodingLiveJobRequest
32
- */
33
- cloudRegion?: SimpleEncodingLiveCloudRegion;
34
- /**
35
- * This property will be used for naming the encoding.
36
- * @type {string}
37
- * @memberof SimpleEncodingLiveJobRequest
38
- */
39
- name?: string;
40
- constructor(obj?: Partial<SimpleEncodingLiveJobRequest>);
41
- }
42
- export default SimpleEncodingLiveJobRequest;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobRequest = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
6
- var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
7
- /**
8
- * @export
9
- * @class SimpleEncodingLiveJobRequest
10
- */
11
- var SimpleEncodingLiveJobRequest = /** @class */ (function () {
12
- function SimpleEncodingLiveJobRequest(obj) {
13
- if (!obj) {
14
- return;
15
- }
16
- this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
17
- this.input = (0, Mapper_1.map)(obj.input, SimpleEncodingLiveJobInput_1.default);
18
- this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobOutput_1.default);
19
- this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
20
- this.name = (0, Mapper_1.map)(obj.name);
21
- }
22
- return SimpleEncodingLiveJobRequest;
23
- }());
24
- exports.SimpleEncodingLiveJobRequest = SimpleEncodingLiveJobRequest;
25
- exports.default = SimpleEncodingLiveJobRequest;
@@ -1,90 +0,0 @@
1
- import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
- import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
- import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
4
- import SimpleEncodingLiveJobStatus from './SimpleEncodingLiveJobStatus';
5
- import SimpleEncodingLiveProfile from './SimpleEncodingLiveProfile';
6
- import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
7
- /**
8
- * @export
9
- * @class SimpleEncodingLiveJobResponse
10
- */
11
- export declare class SimpleEncodingLiveJobResponse {
12
- /**
13
- * The identifier of the Simple Encoding Live Job
14
- * @type {string}
15
- * @memberof SimpleEncodingLiveJobResponse
16
- */
17
- id?: string;
18
- /**
19
- * The current status of the Simple Encoding Live Job
20
- * @type {SimpleEncodingLiveJobStatus}
21
- * @memberof SimpleEncodingLiveJobResponse
22
- */
23
- status?: SimpleEncodingLiveJobStatus;
24
- /**
25
- * The identifier of the encoding that has been created based on the job request. This is only returned once the job execution has been successful and the encoding could be started.
26
- * @type {string}
27
- * @memberof SimpleEncodingLiveJobResponse
28
- */
29
- encodingId?: string;
30
- /**
31
- * The IP address of the encoder for this job request. This is only returned once the job execution has been successful and the encoding could be started. Ingest is expected to be sent to this IP address.
32
- * @type {string}
33
- * @memberof SimpleEncodingLiveJobResponse
34
- */
35
- encoderIp?: string;
36
- /**
37
- * Stream key of the live encoder
38
- * @type {string}
39
- * @memberof SimpleEncodingLiveJobResponse
40
- */
41
- streamKey?: string;
42
- /**
43
- * @type {SimpleEncodingLiveJobInput}
44
- * @memberof SimpleEncodingLiveJobResponse
45
- */
46
- input?: SimpleEncodingLiveJobInput;
47
- /**
48
- * @type {SimpleEncodingLiveJobOutput[]}
49
- * @memberof SimpleEncodingLiveJobResponse
50
- */
51
- outputs?: SimpleEncodingLiveJobOutput[];
52
- /**
53
- * Describes all the errors in cases the status of the job is 'error'.
54
- * @type {SimpleEncodingVodJobErrors[]}
55
- * @memberof SimpleEncodingLiveJobResponse
56
- */
57
- errors?: SimpleEncodingVodJobErrors[];
58
- /**
59
- * Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
60
- * @type {Date}
61
- * @memberof SimpleEncodingLiveJobResponse
62
- */
63
- createdAt?: Date;
64
- /**
65
- * Modified timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ. The job is updated for example when the status changes
66
- * @type {Date}
67
- * @memberof SimpleEncodingLiveJobResponse
68
- */
69
- modifiedAt?: Date;
70
- /**
71
- * This property will be used for naming the encoding and the manifests.
72
- * @type {string}
73
- * @memberof SimpleEncodingLiveJobResponse
74
- */
75
- name?: string;
76
- /**
77
- * The cloud region that will be used for the live encoding
78
- * @type {SimpleEncodingLiveCloudRegion}
79
- * @memberof SimpleEncodingLiveJobResponse
80
- */
81
- cloudRegion?: SimpleEncodingLiveCloudRegion;
82
- /**
83
- * The profile that will be used for the live encoding.
84
- * @type {SimpleEncodingLiveProfile}
85
- * @memberof SimpleEncodingLiveJobResponse
86
- */
87
- encodingProfile?: SimpleEncodingLiveProfile;
88
- constructor(obj?: Partial<SimpleEncodingLiveJobResponse>);
89
- }
90
- export default SimpleEncodingLiveJobResponse;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobResponse = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
6
- var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
7
- var SimpleEncodingVodJobErrors_1 = require("./SimpleEncodingVodJobErrors");
8
- /**
9
- * @export
10
- * @class SimpleEncodingLiveJobResponse
11
- */
12
- var SimpleEncodingLiveJobResponse = /** @class */ (function () {
13
- function SimpleEncodingLiveJobResponse(obj) {
14
- if (!obj) {
15
- return;
16
- }
17
- this.id = (0, Mapper_1.map)(obj.id);
18
- this.status = (0, Mapper_1.map)(obj.status);
19
- this.encodingId = (0, Mapper_1.map)(obj.encodingId);
20
- this.encoderIp = (0, Mapper_1.map)(obj.encoderIp);
21
- this.streamKey = (0, Mapper_1.map)(obj.streamKey);
22
- this.input = (0, Mapper_1.map)(obj.input, SimpleEncodingLiveJobInput_1.default);
23
- this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobOutput_1.default);
24
- this.errors = (0, Mapper_1.mapArray)(obj.errors, SimpleEncodingVodJobErrors_1.default);
25
- this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
26
- this.modifiedAt = (0, Mapper_1.map)(obj.modifiedAt, Date);
27
- this.name = (0, Mapper_1.map)(obj.name);
28
- this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
29
- this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
30
- }
31
- return SimpleEncodingLiveJobResponse;
32
- }());
33
- exports.SimpleEncodingLiveJobResponse = SimpleEncodingLiveJobResponse;
34
- exports.default = SimpleEncodingLiveJobResponse;
@@ -1,21 +0,0 @@
1
- import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingLiveJobS3RoleBasedCredentials
5
- */
6
- export declare class SimpleEncodingLiveJobS3RoleBasedCredentials extends SimpleEncodingLiveJobCredentials {
7
- /**
8
- * Amazon ARN of the IAM Role (Identity and Access Management Role) that will be assumed for S3 access. More details can be found [here](https://bitmovin.com/docs/encoding/api-reference/sections/inputs#/Encoding/PostEncodingInputsS3RoleBased) (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingLiveJobS3RoleBasedCredentials
11
- */
12
- roleArn?: string;
13
- /**
14
- * Defines if the organization ID has to be used as externalId when assuming the role. More details can be found [here](https://bitmovin.com/docs/encoding/api-reference/sections/inputs#/Encoding/PostEncodingInputsS3RoleBased)
15
- * @type {boolean}
16
- * @memberof SimpleEncodingLiveJobS3RoleBasedCredentials
17
- */
18
- useExternalId?: boolean;
19
- constructor(obj?: Partial<SimpleEncodingLiveJobS3RoleBasedCredentials>);
20
- }
21
- export default SimpleEncodingLiveJobS3RoleBasedCredentials;
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SimpleEncodingLiveJobS3RoleBasedCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingLiveJobS3RoleBasedCredentials
24
- */
25
- var SimpleEncodingLiveJobS3RoleBasedCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingLiveJobS3RoleBasedCredentials, _super);
27
- function SimpleEncodingLiveJobS3RoleBasedCredentials(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- if (!obj) {
30
- return _this;
31
- }
32
- _this.roleArn = (0, Mapper_1.map)(obj.roleArn);
33
- _this.useExternalId = (0, Mapper_1.map)(obj.useExternalId);
34
- return _this;
35
- }
36
- return SimpleEncodingLiveJobS3RoleBasedCredentials;
37
- }(SimpleEncodingLiveJobCredentials_1.default));
38
- exports.SimpleEncodingLiveJobS3RoleBasedCredentials = SimpleEncodingLiveJobS3RoleBasedCredentials;
39
- exports.default = SimpleEncodingLiveJobS3RoleBasedCredentials;
@@ -1,15 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingLiveJobStatus {
6
- CREATED = "CREATED",
7
- EXECUTING = "EXECUTING",
8
- FAILURE = "FAILURE",
9
- STARTING = "STARTING",
10
- RUNNING = "RUNNING",
11
- STOPPED = "STOPPED",
12
- ERROR = "ERROR",
13
- CANCELED = "CANCELED"
14
- }
15
- export default SimpleEncodingLiveJobStatus;