@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,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveJobStatus = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingLiveJobStatus;
9
- (function (SimpleEncodingLiveJobStatus) {
10
- SimpleEncodingLiveJobStatus["CREATED"] = "CREATED";
11
- SimpleEncodingLiveJobStatus["EXECUTING"] = "EXECUTING";
12
- SimpleEncodingLiveJobStatus["FAILURE"] = "FAILURE";
13
- SimpleEncodingLiveJobStatus["STARTING"] = "STARTING";
14
- SimpleEncodingLiveJobStatus["RUNNING"] = "RUNNING";
15
- SimpleEncodingLiveJobStatus["STOPPED"] = "STOPPED";
16
- SimpleEncodingLiveJobStatus["ERROR"] = "ERROR";
17
- SimpleEncodingLiveJobStatus["CANCELED"] = "CANCELED";
18
- })(SimpleEncodingLiveJobStatus || (exports.SimpleEncodingLiveJobStatus = SimpleEncodingLiveJobStatus = {}));
19
- exports.default = SimpleEncodingLiveJobStatus;
@@ -1,35 +0,0 @@
1
- import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
3
- import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
4
- /**
5
- * @export
6
- * @class SimpleEncodingLiveJobUrlOutput
7
- */
8
- export declare class SimpleEncodingLiveJobUrlOutput extends SimpleEncodingLiveJobOutput {
9
- /**
10
- * Discriminator property for SimpleEncodingLiveJobOutput
11
- * @type {string}
12
- * @memberof SimpleEncodingLiveJobUrlOutput
13
- */
14
- readonly type: SimpleEncodingLiveJobOutputType;
15
- /**
16
- * Define a URL pointing to a folder which will be used to upload the encoded assets. The output folder structure used looks the following way: <br><br> `http://host/my-folder` <ul> <li> `/video` <ul> <li>`/{width}x{height}_{bitrate}/` (multiple subfolders containing different output renditions)</li> </ul> </li> <li>`/audio` </li> <li>`/index.m3u8` (HLS manifest file) </li> <li>`/stream.mpd` (DASH manifest file) </li> </ul> Currently the following protocols/storages systems are supported: S3, GCS, Azure Blob Storage, Akamai NetStorage. Note that most protocols will require `credentials` to access the asset. Check the description below which ones are applicable. See below how to construct the URLs for the individual protocals/storage systems. **S3**: * `s3://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/` It is required to provide username/password credentials for authentication. (required)
17
- * @type {string}
18
- * @memberof SimpleEncodingLiveJobUrlOutput
19
- */
20
- url?: string;
21
- /**
22
- * Credentials to be used for authentication and accessing the folder.
23
- * @type {SimpleEncodingLiveJobCredentials}
24
- * @memberof SimpleEncodingLiveJobUrlOutput
25
- */
26
- credentials?: SimpleEncodingLiveJobCredentials;
27
- /**
28
- * Indicates if the output should be publically available so that playback immediately works over the internet. Note that not every storage provider supports public output, in this case the flag will be ignored (e.g., Akamai NetStorage). It might forbidden by some storage configuration to make files public, for example an S3 buckets can be configured to disallow public access. In this case set it to false.
29
- * @type {boolean}
30
- * @memberof SimpleEncodingLiveJobUrlOutput
31
- */
32
- makePublic?: boolean;
33
- constructor(obj?: Partial<SimpleEncodingLiveJobUrlOutput>);
34
- }
35
- export default SimpleEncodingLiveJobUrlOutput;
@@ -1,48 +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.SimpleEncodingLiveJobUrlOutput = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
- var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
22
- var SimpleEncodingLiveJobOutputType_1 = require("./SimpleEncodingLiveJobOutputType");
23
- /**
24
- * @export
25
- * @class SimpleEncodingLiveJobUrlOutput
26
- */
27
- var SimpleEncodingLiveJobUrlOutput = /** @class */ (function (_super) {
28
- __extends(SimpleEncodingLiveJobUrlOutput, _super);
29
- function SimpleEncodingLiveJobUrlOutput(obj) {
30
- var _this = _super.call(this, obj) || this;
31
- /**
32
- * Discriminator property for SimpleEncodingLiveJobOutput
33
- * @type {string}
34
- * @memberof SimpleEncodingLiveJobUrlOutput
35
- */
36
- _this.type = SimpleEncodingLiveJobOutputType_1.default.URL;
37
- if (!obj) {
38
- return _this;
39
- }
40
- _this.url = (0, Mapper_1.map)(obj.url);
41
- _this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingLiveJobCredentials_1.default);
42
- _this.makePublic = (0, Mapper_1.map)(obj.makePublic);
43
- return _this;
44
- }
45
- return SimpleEncodingLiveJobUrlOutput;
46
- }(SimpleEncodingLiveJobOutput_1.default));
47
- exports.SimpleEncodingLiveJobUrlOutput = SimpleEncodingLiveJobUrlOutput;
48
- exports.default = SimpleEncodingLiveJobUrlOutput;
@@ -1,21 +0,0 @@
1
- import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingLiveJobUsernamePasswordCredentials
5
- */
6
- export declare class SimpleEncodingLiveJobUsernamePasswordCredentials extends SimpleEncodingLiveJobCredentials {
7
- /**
8
- * The username to be used for authentication. (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingLiveJobUsernamePasswordCredentials
11
- */
12
- username?: string;
13
- /**
14
- * The password to be used for authentication (required)
15
- * @type {string}
16
- * @memberof SimpleEncodingLiveJobUsernamePasswordCredentials
17
- */
18
- password?: string;
19
- constructor(obj?: Partial<SimpleEncodingLiveJobUsernamePasswordCredentials>);
20
- }
21
- export default SimpleEncodingLiveJobUsernamePasswordCredentials;
@@ -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.SimpleEncodingLiveJobUsernamePasswordCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingLiveJobUsernamePasswordCredentials
24
- */
25
- var SimpleEncodingLiveJobUsernamePasswordCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingLiveJobUsernamePasswordCredentials, _super);
27
- function SimpleEncodingLiveJobUsernamePasswordCredentials(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- if (!obj) {
30
- return _this;
31
- }
32
- _this.username = (0, Mapper_1.map)(obj.username);
33
- _this.password = (0, Mapper_1.map)(obj.password);
34
- return _this;
35
- }
36
- return SimpleEncodingLiveJobUsernamePasswordCredentials;
37
- }(SimpleEncodingLiveJobCredentials_1.default));
38
- exports.SimpleEncodingLiveJobUsernamePasswordCredentials = SimpleEncodingLiveJobUsernamePasswordCredentials;
39
- exports.default = SimpleEncodingLiveJobUsernamePasswordCredentials;
@@ -1,10 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingLiveMaxResolution {
6
- FULL_HD = "FULL_HD",
7
- HD = "HD",
8
- SD = "SD"
9
- }
10
- export default SimpleEncodingLiveMaxResolution;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveMaxResolution = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingLiveMaxResolution;
9
- (function (SimpleEncodingLiveMaxResolution) {
10
- SimpleEncodingLiveMaxResolution["FULL_HD"] = "FULL_HD";
11
- SimpleEncodingLiveMaxResolution["HD"] = "HD";
12
- SimpleEncodingLiveMaxResolution["SD"] = "SD";
13
- })(SimpleEncodingLiveMaxResolution || (exports.SimpleEncodingLiveMaxResolution = SimpleEncodingLiveMaxResolution = {}));
14
- exports.default = SimpleEncodingLiveMaxResolution;
@@ -1,9 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingLiveProfile {
6
- INCREASED_QUALITY = "INCREASED_QUALITY",
7
- LOWER_LATENCY = "LOWER_LATENCY"
8
- }
9
- export default SimpleEncodingLiveProfile;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveProfile = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingLiveProfile;
9
- (function (SimpleEncodingLiveProfile) {
10
- SimpleEncodingLiveProfile["INCREASED_QUALITY"] = "INCREASED_QUALITY";
11
- SimpleEncodingLiveProfile["LOWER_LATENCY"] = "LOWER_LATENCY";
12
- })(SimpleEncodingLiveProfile || (exports.SimpleEncodingLiveProfile = SimpleEncodingLiveProfile = {}));
13
- exports.default = SimpleEncodingLiveProfile;
@@ -1,21 +0,0 @@
1
- import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingVodJobAccessKeyCredentials
5
- */
6
- export declare class SimpleEncodingVodJobAccessKeyCredentials extends SimpleEncodingVodJobCredentials {
7
- /**
8
- * The identifier of the access key (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingVodJobAccessKeyCredentials
11
- */
12
- accessKey?: string;
13
- /**
14
- * The secret to be used for authentication (required)
15
- * @type {string}
16
- * @memberof SimpleEncodingVodJobAccessKeyCredentials
17
- */
18
- secretKey?: string;
19
- constructor(obj?: Partial<SimpleEncodingVodJobAccessKeyCredentials>);
20
- }
21
- export default SimpleEncodingVodJobAccessKeyCredentials;
@@ -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.SimpleEncodingVodJobAccessKeyCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingVodJobAccessKeyCredentials
24
- */
25
- var SimpleEncodingVodJobAccessKeyCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingVodJobAccessKeyCredentials, _super);
27
- function SimpleEncodingVodJobAccessKeyCredentials(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 SimpleEncodingVodJobAccessKeyCredentials;
37
- }(SimpleEncodingVodJobCredentials_1.default));
38
- exports.SimpleEncodingVodJobAccessKeyCredentials = SimpleEncodingVodJobAccessKeyCredentials;
39
- exports.default = SimpleEncodingVodJobAccessKeyCredentials;
@@ -1,15 +0,0 @@
1
- import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingVodJobAzureCredentials
5
- */
6
- export declare class SimpleEncodingVodJobAzureCredentials extends SimpleEncodingVodJobCredentials {
7
- /**
8
- * Azure Account Key used for authentication (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingVodJobAzureCredentials
11
- */
12
- key?: string;
13
- constructor(obj?: Partial<SimpleEncodingVodJobAzureCredentials>);
14
- }
15
- export default SimpleEncodingVodJobAzureCredentials;
@@ -1,23 +0,0 @@
1
- import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
2
- import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
3
- import SimpleEncodingVodJobOutputType from './SimpleEncodingVodJobOutputType';
4
- /**
5
- * @export
6
- * @class SimpleEncodingVodJobCdnOutput
7
- */
8
- export declare class SimpleEncodingVodJobCdnOutput extends SimpleEncodingVodJobOutput {
9
- /**
10
- * Discriminator property for SimpleEncodingVodJobOutput
11
- * @type {string}
12
- * @memberof SimpleEncodingVodJobCdnOutput
13
- */
14
- readonly type: SimpleEncodingVodJobOutputType;
15
- /**
16
- * The maximum output resolution to be generated
17
- * @type {SimpleEncodingLiveMaxResolution}
18
- * @memberof SimpleEncodingVodJobCdnOutput
19
- */
20
- maxResolution?: SimpleEncodingLiveMaxResolution;
21
- constructor(obj?: Partial<SimpleEncodingVodJobCdnOutput>);
22
- }
23
- export default SimpleEncodingVodJobCdnOutput;
@@ -1,45 +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.SimpleEncodingVodJobCdnOutput = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
21
- var SimpleEncodingVodJobOutputType_1 = require("./SimpleEncodingVodJobOutputType");
22
- /**
23
- * @export
24
- * @class SimpleEncodingVodJobCdnOutput
25
- */
26
- var SimpleEncodingVodJobCdnOutput = /** @class */ (function (_super) {
27
- __extends(SimpleEncodingVodJobCdnOutput, _super);
28
- function SimpleEncodingVodJobCdnOutput(obj) {
29
- var _this = _super.call(this, obj) || this;
30
- /**
31
- * Discriminator property for SimpleEncodingVodJobOutput
32
- * @type {string}
33
- * @memberof SimpleEncodingVodJobCdnOutput
34
- */
35
- _this.type = SimpleEncodingVodJobOutputType_1.default.CDN;
36
- if (!obj) {
37
- return _this;
38
- }
39
- _this.maxResolution = (0, Mapper_1.map)(obj.maxResolution);
40
- return _this;
41
- }
42
- return SimpleEncodingVodJobCdnOutput;
43
- }(SimpleEncodingVodJobOutput_1.default));
44
- exports.SimpleEncodingVodJobCdnOutput = SimpleEncodingVodJobCdnOutput;
45
- exports.default = SimpleEncodingVodJobCdnOutput;
@@ -1,8 +0,0 @@
1
- /**
2
- * @export
3
- * @class SimpleEncodingVodJobCredentials
4
- */
5
- export declare class SimpleEncodingVodJobCredentials {
6
- constructor(obj?: Partial<SimpleEncodingVodJobCredentials>);
7
- }
8
- export default SimpleEncodingVodJobCredentials;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobCredentials = void 0;
4
- /**
5
- * @export
6
- * @class SimpleEncodingVodJobCredentials
7
- */
8
- var SimpleEncodingVodJobCredentials = /** @class */ (function () {
9
- function SimpleEncodingVodJobCredentials(obj) {
10
- if (!obj) {
11
- return;
12
- }
13
- }
14
- return SimpleEncodingVodJobCredentials;
15
- }());
16
- exports.SimpleEncodingVodJobCredentials = SimpleEncodingVodJobCredentials;
17
- exports.default = SimpleEncodingVodJobCredentials;
@@ -1,35 +0,0 @@
1
- import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
2
- import SimpleEncodingVodJobInputSourceType from './SimpleEncodingVodJobInputSourceType';
3
- import SimpleEncodingVodJobInputType from './SimpleEncodingVodJobInputType';
4
- /**
5
- * @export
6
- * @class SimpleEncodingVodJobDirectFileUploadInput
7
- */
8
- export declare class SimpleEncodingVodJobDirectFileUploadInput extends SimpleEncodingVodJobInput {
9
- /**
10
- * Discriminator property for SimpleEncodingVodJobInput
11
- * @type {string}
12
- * @memberof SimpleEncodingVodJobDirectFileUploadInput
13
- */
14
- readonly type: SimpleEncodingVodJobInputSourceType;
15
- /**
16
- * Id of a DirectFileUploadInput (required)
17
- * @type {string}
18
- * @memberof SimpleEncodingVodJobDirectFileUploadInput
19
- */
20
- inputId?: string;
21
- /**
22
- * Defines the type of the input file, if no type is set it is assumed that the input file contains at least one video stream and optionally one or multiple audio streams. Note that when defining video and audio inputs, you can either - add one single input without inputType, in which case that source file must contain a video stream and (if you want audio) one audio stream, or - add one single input with inputType=VIDEO and (if you want audio) one or more inputs with inputType=AUDIO (each containing one audio stream) Other combinations are not valid.
23
- * @type {SimpleEncodingVodJobInputType}
24
- * @memberof SimpleEncodingVodJobDirectFileUploadInput
25
- */
26
- inputType?: SimpleEncodingVodJobInputType;
27
- /**
28
- * The language of the audio track, the subtitles, or closed captions file. The language code must be compliant with [BCP 47](https://datatracker.ietf.org/doc/html/rfc5646). This property is mandatory if the input provided is of type SUBTITLES or CLOSED_CAPTIONS and recommended for input type AUDIO and an input that does not specify an input type (combined audio and video). If an audio input does not specify the language, it is defaulted to `und` (undefined).
29
- * @type {string}
30
- * @memberof SimpleEncodingVodJobDirectFileUploadInput
31
- */
32
- language?: string;
33
- constructor(obj?: Partial<SimpleEncodingVodJobDirectFileUploadInput>);
34
- }
35
- export default SimpleEncodingVodJobDirectFileUploadInput;
@@ -1,47 +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.SimpleEncodingVodJobDirectFileUploadInput = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
21
- var SimpleEncodingVodJobInputSourceType_1 = require("./SimpleEncodingVodJobInputSourceType");
22
- /**
23
- * @export
24
- * @class SimpleEncodingVodJobDirectFileUploadInput
25
- */
26
- var SimpleEncodingVodJobDirectFileUploadInput = /** @class */ (function (_super) {
27
- __extends(SimpleEncodingVodJobDirectFileUploadInput, _super);
28
- function SimpleEncodingVodJobDirectFileUploadInput(obj) {
29
- var _this = _super.call(this, obj) || this;
30
- /**
31
- * Discriminator property for SimpleEncodingVodJobInput
32
- * @type {string}
33
- * @memberof SimpleEncodingVodJobDirectFileUploadInput
34
- */
35
- _this.type = SimpleEncodingVodJobInputSourceType_1.default.DIRECT_FILE_UPLOAD;
36
- if (!obj) {
37
- return _this;
38
- }
39
- _this.inputId = (0, Mapper_1.map)(obj.inputId);
40
- _this.inputType = (0, Mapper_1.map)(obj.inputType);
41
- _this.language = (0, Mapper_1.map)(obj.language);
42
- return _this;
43
- }
44
- return SimpleEncodingVodJobDirectFileUploadInput;
45
- }(SimpleEncodingVodJobInput_1.default));
46
- exports.SimpleEncodingVodJobDirectFileUploadInput = SimpleEncodingVodJobDirectFileUploadInput;
47
- exports.default = SimpleEncodingVodJobDirectFileUploadInput;
@@ -1,26 +0,0 @@
1
- /**
2
- * @export
3
- * @class SimpleEncodingVodJobErrors
4
- */
5
- export declare class SimpleEncodingVodJobErrors {
6
- /**
7
- * Stable code that identifies the error type.
8
- * @type {string}
9
- * @memberof SimpleEncodingVodJobErrors
10
- */
11
- errorCode?: string;
12
- /**
13
- * Human readable description of the error.
14
- * @type {string}
15
- * @memberof SimpleEncodingVodJobErrors
16
- */
17
- message?: string;
18
- /**
19
- * Additional details of the error if available.
20
- * @type {string}
21
- * @memberof SimpleEncodingVodJobErrors
22
- */
23
- details?: string;
24
- constructor(obj?: Partial<SimpleEncodingVodJobErrors>);
25
- }
26
- export default SimpleEncodingVodJobErrors;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobErrors = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- /**
6
- * @export
7
- * @class SimpleEncodingVodJobErrors
8
- */
9
- var SimpleEncodingVodJobErrors = /** @class */ (function () {
10
- function SimpleEncodingVodJobErrors(obj) {
11
- if (!obj) {
12
- return;
13
- }
14
- this.errorCode = (0, Mapper_1.map)(obj.errorCode);
15
- this.message = (0, Mapper_1.map)(obj.message);
16
- this.details = (0, Mapper_1.map)(obj.details);
17
- }
18
- return SimpleEncodingVodJobErrors;
19
- }());
20
- exports.SimpleEncodingVodJobErrors = SimpleEncodingVodJobErrors;
21
- exports.default = SimpleEncodingVodJobErrors;
@@ -1,15 +0,0 @@
1
- import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingVodJobGcsServiceAccountCredentials
5
- */
6
- export declare class SimpleEncodingVodJobGcsServiceAccountCredentials extends SimpleEncodingVodJobCredentials {
7
- /**
8
- * Service account credentials for Google (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingVodJobGcsServiceAccountCredentials
11
- */
12
- serviceAccountCredentials?: string;
13
- constructor(obj?: Partial<SimpleEncodingVodJobGcsServiceAccountCredentials>);
14
- }
15
- export default SimpleEncodingVodJobGcsServiceAccountCredentials;
@@ -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.SimpleEncodingVodJobGcsServiceAccountCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingVodJobGcsServiceAccountCredentials
24
- */
25
- var SimpleEncodingVodJobGcsServiceAccountCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingVodJobGcsServiceAccountCredentials, _super);
27
- function SimpleEncodingVodJobGcsServiceAccountCredentials(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 SimpleEncodingVodJobGcsServiceAccountCredentials;
36
- }(SimpleEncodingVodJobCredentials_1.default));
37
- exports.SimpleEncodingVodJobGcsServiceAccountCredentials = SimpleEncodingVodJobGcsServiceAccountCredentials;
38
- exports.default = SimpleEncodingVodJobGcsServiceAccountCredentials;
@@ -1,16 +0,0 @@
1
- import SimpleEncodingVodJobDirectFileUploadInput from './SimpleEncodingVodJobDirectFileUploadInput';
2
- import SimpleEncodingVodJobInputSourceType from './SimpleEncodingVodJobInputSourceType';
3
- import SimpleEncodingVodJobUrlInput from './SimpleEncodingVodJobUrlInput';
4
- export type SimpleEncodingVodJobInputUnion = SimpleEncodingVodJobUrlInput | SimpleEncodingVodJobDirectFileUploadInput;
5
- /**
6
- * @export
7
- * @class SimpleEncodingVodJobInput
8
- */
9
- export declare class SimpleEncodingVodJobInput {
10
- protected static readonly _discriminatorName = "type";
11
- protected static readonly _discriminatorMapping: {
12
- [key in keyof typeof SimpleEncodingVodJobInputSourceType]: string;
13
- };
14
- constructor(obj?: Partial<SimpleEncodingVodJobInput>);
15
- }
16
- export default SimpleEncodingVodJobInput;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobInput = void 0;
4
- /**
5
- * @export
6
- * @class SimpleEncodingVodJobInput
7
- */
8
- var SimpleEncodingVodJobInput = /** @class */ (function () {
9
- function SimpleEncodingVodJobInput(obj) {
10
- if (!obj) {
11
- return;
12
- }
13
- }
14
- SimpleEncodingVodJobInput._discriminatorName = 'type';
15
- SimpleEncodingVodJobInput._discriminatorMapping = {
16
- URL: 'SimpleEncodingVodJobUrlInput',
17
- DIRECT_FILE_UPLOAD: 'SimpleEncodingVodJobDirectFileUploadInput'
18
- };
19
- return SimpleEncodingVodJobInput;
20
- }());
21
- exports.SimpleEncodingVodJobInput = SimpleEncodingVodJobInput;
22
- exports.default = SimpleEncodingVodJobInput;
@@ -1,10 +0,0 @@
1
- /**
2
- * Input source type
3
- * @export
4
- * @enum {string}
5
- */
6
- export declare enum SimpleEncodingVodJobInputSourceType {
7
- URL = "URL",
8
- DIRECT_FILE_UPLOAD = "DIRECT_FILE_UPLOAD"
9
- }
10
- export default SimpleEncodingVodJobInputSourceType;