@bitmovin/api-sdk 1.224.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 (133) 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 +730 -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/AnalyticsAttribute.d.ts +21 -0
  20. package/dist/models/AnalyticsAttribute.js +21 -0
  21. package/dist/models/Atmosphere.d.ts +23 -0
  22. package/dist/models/Atmosphere.js +21 -0
  23. package/dist/models/CacheControl.d.ts +1 -1
  24. package/dist/models/Character.d.ts +23 -0
  25. package/dist/models/Character.js +21 -0
  26. package/dist/models/Content.d.ts +26 -0
  27. package/dist/models/Content.js +24 -0
  28. package/dist/models/Fmp4Muxing.d.ts +6 -0
  29. package/dist/models/Fmp4Muxing.js +1 -0
  30. package/dist/models/IABTaxonomy.d.ts +28 -0
  31. package/dist/models/IABTaxonomy.js +22 -0
  32. package/dist/models/Location.d.ts +18 -0
  33. package/dist/models/Location.js +20 -0
  34. package/dist/models/Rating.d.ts +23 -0
  35. package/dist/models/Rating.js +21 -0
  36. package/dist/models/Scene.d.ts +50 -0
  37. package/dist/models/Scene.js +28 -0
  38. package/dist/models/SceneAnalysisDetailsResponse.d.ts +40 -0
  39. package/dist/models/SceneAnalysisDetailsResponse.js +26 -0
  40. package/dist/models/SceneObject.d.ts +18 -0
  41. package/dist/models/SceneObject.js +20 -0
  42. package/dist/models/Setting.d.ts +25 -0
  43. package/dist/models/Setting.js +23 -0
  44. package/dist/models/index.d.ts +10 -40
  45. package/dist/models/index.js +10 -40
  46. package/package.json +1 -1
  47. package/dist/encoding/simple/SimpleApi.d.ts +0 -13
  48. package/dist/encoding/simple/jobs/JobsApi.d.ts +0 -15
  49. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +0 -27
  50. package/dist/encoding/simple/jobs/live/LiveApi.js +0 -59
  51. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +0 -50
  52. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +0 -45
  53. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +0 -36
  54. package/dist/encoding/simple/jobs/vod/VodApi.js +0 -79
  55. package/dist/models/EncodingTemplate.d.ts +0 -10
  56. package/dist/models/EncodingTemplate.js +0 -14
  57. package/dist/models/SimpleEncodingLiveCloudRegion.d.ts +0 -13
  58. package/dist/models/SimpleEncodingLiveCloudRegion.js +0 -17
  59. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.d.ts +0 -21
  60. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js +0 -39
  61. package/dist/models/SimpleEncodingLiveJobAzureCredentials.d.ts +0 -15
  62. package/dist/models/SimpleEncodingLiveJobAzureCredentials.js +0 -38
  63. package/dist/models/SimpleEncodingLiveJobCdnOutput.d.ts +0 -16
  64. package/dist/models/SimpleEncodingLiveJobCdnOutput.js +0 -43
  65. package/dist/models/SimpleEncodingLiveJobCredentials.d.ts +0 -8
  66. package/dist/models/SimpleEncodingLiveJobCredentials.js +0 -17
  67. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.d.ts +0 -15
  68. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js +0 -38
  69. package/dist/models/SimpleEncodingLiveJobInput.d.ts +0 -15
  70. package/dist/models/SimpleEncodingLiveJobInput.js +0 -19
  71. package/dist/models/SimpleEncodingLiveJobInputType.d.ts +0 -9
  72. package/dist/models/SimpleEncodingLiveJobInputType.js +0 -13
  73. package/dist/models/SimpleEncodingLiveJobOutput.d.ts +0 -23
  74. package/dist/models/SimpleEncodingLiveJobOutput.js +0 -24
  75. package/dist/models/SimpleEncodingLiveJobOutputType.d.ts +0 -10
  76. package/dist/models/SimpleEncodingLiveJobOutputType.js +0 -14
  77. package/dist/models/SimpleEncodingLiveJobRequest.d.ts +0 -42
  78. package/dist/models/SimpleEncodingLiveJobRequest.js +0 -25
  79. package/dist/models/SimpleEncodingLiveJobResponse.d.ts +0 -90
  80. package/dist/models/SimpleEncodingLiveJobResponse.js +0 -34
  81. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.d.ts +0 -21
  82. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js +0 -39
  83. package/dist/models/SimpleEncodingLiveJobStatus.d.ts +0 -15
  84. package/dist/models/SimpleEncodingLiveJobStatus.js +0 -19
  85. package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +0 -35
  86. package/dist/models/SimpleEncodingLiveJobUrlOutput.js +0 -48
  87. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.d.ts +0 -21
  88. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js +0 -39
  89. package/dist/models/SimpleEncodingLiveMaxResolution.d.ts +0 -10
  90. package/dist/models/SimpleEncodingLiveMaxResolution.js +0 -14
  91. package/dist/models/SimpleEncodingLiveProfile.d.ts +0 -9
  92. package/dist/models/SimpleEncodingLiveProfile.js +0 -13
  93. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +0 -21
  94. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +0 -39
  95. package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +0 -15
  96. package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +0 -23
  97. package/dist/models/SimpleEncodingVodJobCdnOutput.js +0 -45
  98. package/dist/models/SimpleEncodingVodJobCredentials.d.ts +0 -8
  99. package/dist/models/SimpleEncodingVodJobCredentials.js +0 -17
  100. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.d.ts +0 -35
  101. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.js +0 -47
  102. package/dist/models/SimpleEncodingVodJobErrors.d.ts +0 -26
  103. package/dist/models/SimpleEncodingVodJobErrors.js +0 -21
  104. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +0 -15
  105. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +0 -38
  106. package/dist/models/SimpleEncodingVodJobInput.d.ts +0 -16
  107. package/dist/models/SimpleEncodingVodJobInput.js +0 -22
  108. package/dist/models/SimpleEncodingVodJobInputSourceType.d.ts +0 -10
  109. package/dist/models/SimpleEncodingVodJobInputSourceType.js +0 -14
  110. package/dist/models/SimpleEncodingVodJobInputType.d.ts +0 -11
  111. package/dist/models/SimpleEncodingVodJobInputType.js +0 -15
  112. package/dist/models/SimpleEncodingVodJobOptions.d.ts +0 -14
  113. package/dist/models/SimpleEncodingVodJobOptions.js +0 -19
  114. package/dist/models/SimpleEncodingVodJobOutput.d.ts +0 -23
  115. package/dist/models/SimpleEncodingVodJobOutput.js +0 -25
  116. package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +0 -20
  117. package/dist/models/SimpleEncodingVodJobOutputArtifact.js +0 -20
  118. package/dist/models/SimpleEncodingVodJobOutputType.d.ts +0 -10
  119. package/dist/models/SimpleEncodingVodJobOutputType.js +0 -14
  120. package/dist/models/SimpleEncodingVodJobRequest.d.ts +0 -42
  121. package/dist/models/SimpleEncodingVodJobRequest.js +0 -26
  122. package/dist/models/SimpleEncodingVodJobResponse.d.ts +0 -78
  123. package/dist/models/SimpleEncodingVodJobResponse.js +0 -33
  124. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +0 -21
  125. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +0 -39
  126. package/dist/models/SimpleEncodingVodJobStatus.d.ts +0 -14
  127. package/dist/models/SimpleEncodingVodJobStatus.js +0 -18
  128. package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +0 -42
  129. package/dist/models/SimpleEncodingVodJobUrlInput.js +0 -49
  130. package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +0 -35
  131. package/dist/models/SimpleEncodingVodJobUrlOutput.js +0 -48
  132. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +0 -21
  133. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +0 -39
@@ -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;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobInputSourceType = void 0;
4
- /**
5
- * Input source type
6
- * @export
7
- * @enum {string}
8
- */
9
- var SimpleEncodingVodJobInputSourceType;
10
- (function (SimpleEncodingVodJobInputSourceType) {
11
- SimpleEncodingVodJobInputSourceType["URL"] = "URL";
12
- SimpleEncodingVodJobInputSourceType["DIRECT_FILE_UPLOAD"] = "DIRECT_FILE_UPLOAD";
13
- })(SimpleEncodingVodJobInputSourceType || (exports.SimpleEncodingVodJobInputSourceType = SimpleEncodingVodJobInputSourceType = {}));
14
- exports.default = SimpleEncodingVodJobInputSourceType;
@@ -1,11 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingVodJobInputType {
6
- VIDEO = "VIDEO",
7
- AUDIO = "AUDIO",
8
- SUBTITLES = "SUBTITLES",
9
- CLOSED_CAPTIONS = "CLOSED_CAPTIONS"
10
- }
11
- export default SimpleEncodingVodJobInputType;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobInputType = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingVodJobInputType;
9
- (function (SimpleEncodingVodJobInputType) {
10
- SimpleEncodingVodJobInputType["VIDEO"] = "VIDEO";
11
- SimpleEncodingVodJobInputType["AUDIO"] = "AUDIO";
12
- SimpleEncodingVodJobInputType["SUBTITLES"] = "SUBTITLES";
13
- SimpleEncodingVodJobInputType["CLOSED_CAPTIONS"] = "CLOSED_CAPTIONS";
14
- })(SimpleEncodingVodJobInputType || (exports.SimpleEncodingVodJobInputType = SimpleEncodingVodJobInputType = {}));
15
- exports.default = SimpleEncodingVodJobInputType;
@@ -1,14 +0,0 @@
1
- /**
2
- * @export
3
- * @class SimpleEncodingVodJobOptions
4
- */
5
- export declare class SimpleEncodingVodJobOptions {
6
- /**
7
- * Defines if the job should additionally produce a single file as output (e.g., an MP4) for every rendition the Per-Title algorithm produces. This can be useful to provide customers with features such as downloading of videos for different screen sizes. The single file contains both audio and video streams along the segmented output. Note that currently we do not include subtitles in this file.
8
- * @type {boolean}
9
- * @memberof SimpleEncodingVodJobOptions
10
- */
11
- singleFileOutput?: boolean;
12
- constructor(obj?: Partial<SimpleEncodingVodJobOptions>);
13
- }
14
- export default SimpleEncodingVodJobOptions;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobOptions = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- /**
6
- * @export
7
- * @class SimpleEncodingVodJobOptions
8
- */
9
- var SimpleEncodingVodJobOptions = /** @class */ (function () {
10
- function SimpleEncodingVodJobOptions(obj) {
11
- if (!obj) {
12
- return;
13
- }
14
- this.singleFileOutput = (0, Mapper_1.map)(obj.singleFileOutput);
15
- }
16
- return SimpleEncodingVodJobOptions;
17
- }());
18
- exports.SimpleEncodingVodJobOptions = SimpleEncodingVodJobOptions;
19
- exports.default = SimpleEncodingVodJobOptions;
@@ -1,23 +0,0 @@
1
- import SimpleEncodingVodJobCdnOutput from './SimpleEncodingVodJobCdnOutput';
2
- import SimpleEncodingVodJobOutputArtifact from './SimpleEncodingVodJobOutputArtifact';
3
- import SimpleEncodingVodJobOutputType from './SimpleEncodingVodJobOutputType';
4
- import SimpleEncodingVodJobUrlOutput from './SimpleEncodingVodJobUrlOutput';
5
- export type SimpleEncodingVodJobOutputUnion = SimpleEncodingVodJobUrlOutput | SimpleEncodingVodJobCdnOutput;
6
- /**
7
- * @export
8
- * @class SimpleEncodingVodJobOutput
9
- */
10
- export declare class SimpleEncodingVodJobOutput {
11
- protected static readonly _discriminatorName = "type";
12
- protected static readonly _discriminatorMapping: {
13
- [key in keyof typeof SimpleEncodingVodJobOutputType]: string;
14
- };
15
- /**
16
- * List of artifacts created by the encoding job. Artifacts are files essential for playback of the generated content, e.g. manifests.
17
- * @type {SimpleEncodingVodJobOutputArtifact[]}
18
- * @memberof SimpleEncodingVodJobOutput
19
- */
20
- artifacts?: SimpleEncodingVodJobOutputArtifact[];
21
- constructor(obj?: Partial<SimpleEncodingVodJobOutput>);
22
- }
23
- export default SimpleEncodingVodJobOutput;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobOutput = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- var SimpleEncodingVodJobOutputArtifact_1 = require("./SimpleEncodingVodJobOutputArtifact");
6
- /**
7
- * @export
8
- * @class SimpleEncodingVodJobOutput
9
- */
10
- var SimpleEncodingVodJobOutput = /** @class */ (function () {
11
- function SimpleEncodingVodJobOutput(obj) {
12
- if (!obj) {
13
- return;
14
- }
15
- this.artifacts = (0, Mapper_1.mapArray)(obj.artifacts, SimpleEncodingVodJobOutputArtifact_1.default);
16
- }
17
- SimpleEncodingVodJobOutput._discriminatorName = 'type';
18
- SimpleEncodingVodJobOutput._discriminatorMapping = {
19
- URL: 'SimpleEncodingVodJobUrlOutput',
20
- CDN: 'SimpleEncodingVodJobCdnOutput'
21
- };
22
- return SimpleEncodingVodJobOutput;
23
- }());
24
- exports.SimpleEncodingVodJobOutput = SimpleEncodingVodJobOutput;
25
- exports.default = SimpleEncodingVodJobOutput;
@@ -1,20 +0,0 @@
1
- /**
2
- * @export
3
- * @class SimpleEncodingVodJobOutputArtifact
4
- */
5
- export declare class SimpleEncodingVodJobOutputArtifact {
6
- /**
7
- * Name of the artifact. Currently we provide the URL of the HLS manifest with name 'HLS_MANIFEST_URL' and the URL of the DASH manifest with name 'DASH_MANIFEST_URL'
8
- * @type {string}
9
- * @memberof SimpleEncodingVodJobOutputArtifact
10
- */
11
- name?: string;
12
- /**
13
- * A string value described by the 'name' property. Typically this is an absolute URL pointing to a file on the output you specified for the encoding job. The protocol depends on the type of output: \"s3://\" for AWS S3,\"gcs://\" for Google Cloud Storage, \"https://\" for Azure Blob Storage and Akamai NetStorage )
14
- * @type {string}
15
- * @memberof SimpleEncodingVodJobOutputArtifact
16
- */
17
- value?: string;
18
- constructor(obj?: Partial<SimpleEncodingVodJobOutputArtifact>);
19
- }
20
- export default SimpleEncodingVodJobOutputArtifact;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobOutputArtifact = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- /**
6
- * @export
7
- * @class SimpleEncodingVodJobOutputArtifact
8
- */
9
- var SimpleEncodingVodJobOutputArtifact = /** @class */ (function () {
10
- function SimpleEncodingVodJobOutputArtifact(obj) {
11
- if (!obj) {
12
- return;
13
- }
14
- this.name = (0, Mapper_1.map)(obj.name);
15
- this.value = (0, Mapper_1.map)(obj.value);
16
- }
17
- return SimpleEncodingVodJobOutputArtifact;
18
- }());
19
- exports.SimpleEncodingVodJobOutputArtifact = SimpleEncodingVodJobOutputArtifact;
20
- exports.default = SimpleEncodingVodJobOutputArtifact;
@@ -1,10 +0,0 @@
1
- /**
2
- * Output type
3
- * @export
4
- * @enum {string}
5
- */
6
- export declare enum SimpleEncodingVodJobOutputType {
7
- URL = "URL",
8
- CDN = "CDN"
9
- }
10
- export default SimpleEncodingVodJobOutputType;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobOutputType = void 0;
4
- /**
5
- * Output type
6
- * @export
7
- * @enum {string}
8
- */
9
- var SimpleEncodingVodJobOutputType;
10
- (function (SimpleEncodingVodJobOutputType) {
11
- SimpleEncodingVodJobOutputType["URL"] = "URL";
12
- SimpleEncodingVodJobOutputType["CDN"] = "CDN";
13
- })(SimpleEncodingVodJobOutputType || (exports.SimpleEncodingVodJobOutputType = SimpleEncodingVodJobOutputType = {}));
14
- exports.default = SimpleEncodingVodJobOutputType;
@@ -1,42 +0,0 @@
1
- import EncodingTemplate from './EncodingTemplate';
2
- import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
3
- import SimpleEncodingVodJobOptions from './SimpleEncodingVodJobOptions';
4
- import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
5
- /**
6
- * @export
7
- * @class SimpleEncodingVodJobRequest
8
- */
9
- export declare class SimpleEncodingVodJobRequest {
10
- /**
11
- * The template that will be used for the encoding.
12
- * @type {EncodingTemplate}
13
- * @memberof SimpleEncodingVodJobRequest
14
- */
15
- encodingTemplate?: EncodingTemplate;
16
- /**
17
- * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api#inputs-outputs) (required)
18
- * @type {SimpleEncodingVodJobInput[]}
19
- * @memberof SimpleEncodingVodJobRequest
20
- */
21
- inputs?: SimpleEncodingVodJobInput[];
22
- /**
23
- * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api#inputs-outputs) (required)
24
- * @type {SimpleEncodingVodJobOutput[]}
25
- * @memberof SimpleEncodingVodJobRequest
26
- */
27
- outputs?: SimpleEncodingVodJobOutput[];
28
- /**
29
- * Options to customize the Simple Encoding Job
30
- * @type {SimpleEncodingVodJobOptions}
31
- * @memberof SimpleEncodingVodJobRequest
32
- */
33
- options?: SimpleEncodingVodJobOptions;
34
- /**
35
- * This property will be used for naming the encoding and the manifests.
36
- * @type {string}
37
- * @memberof SimpleEncodingVodJobRequest
38
- */
39
- name?: string;
40
- constructor(obj?: Partial<SimpleEncodingVodJobRequest>);
41
- }
42
- export default SimpleEncodingVodJobRequest;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobRequest = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
6
- var SimpleEncodingVodJobOptions_1 = require("./SimpleEncodingVodJobOptions");
7
- var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
8
- /**
9
- * @export
10
- * @class SimpleEncodingVodJobRequest
11
- */
12
- var SimpleEncodingVodJobRequest = /** @class */ (function () {
13
- function SimpleEncodingVodJobRequest(obj) {
14
- if (!obj) {
15
- return;
16
- }
17
- this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
18
- this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
19
- this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
20
- this.options = (0, Mapper_1.map)(obj.options, SimpleEncodingVodJobOptions_1.default);
21
- this.name = (0, Mapper_1.map)(obj.name);
22
- }
23
- return SimpleEncodingVodJobRequest;
24
- }());
25
- exports.SimpleEncodingVodJobRequest = SimpleEncodingVodJobRequest;
26
- exports.default = SimpleEncodingVodJobRequest;
@@ -1,78 +0,0 @@
1
- import EncodingTemplate from './EncodingTemplate';
2
- import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
3
- import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
4
- import SimpleEncodingVodJobOptions from './SimpleEncodingVodJobOptions';
5
- import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
6
- import SimpleEncodingVodJobStatus from './SimpleEncodingVodJobStatus';
7
- /**
8
- * @export
9
- * @class SimpleEncodingVodJobResponse
10
- */
11
- export declare class SimpleEncodingVodJobResponse {
12
- /**
13
- * The identifier of the Simple Encoding VOD Job
14
- * @type {string}
15
- * @memberof SimpleEncodingVodJobResponse
16
- */
17
- id?: string;
18
- /**
19
- * The current status of the Simple Encoding VOD Job
20
- * @type {SimpleEncodingVodJobStatus}
21
- * @memberof SimpleEncodingVodJobResponse
22
- */
23
- status?: SimpleEncodingVodJobStatus;
24
- /**
25
- * The template that has been used for the encoding.
26
- * @type {EncodingTemplate}
27
- * @memberof SimpleEncodingVodJobResponse
28
- */
29
- encodingTemplate?: EncodingTemplate;
30
- /**
31
- * 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.
32
- * @type {string}
33
- * @memberof SimpleEncodingVodJobResponse
34
- */
35
- encodingId?: string;
36
- /**
37
- * @type {SimpleEncodingVodJobInput[]}
38
- * @memberof SimpleEncodingVodJobResponse
39
- */
40
- inputs?: SimpleEncodingVodJobInput[];
41
- /**
42
- * @type {SimpleEncodingVodJobOutput[]}
43
- * @memberof SimpleEncodingVodJobResponse
44
- */
45
- outputs?: SimpleEncodingVodJobOutput[];
46
- /**
47
- * Options to customize the Simple Encoding Job
48
- * @type {SimpleEncodingVodJobOptions}
49
- * @memberof SimpleEncodingVodJobResponse
50
- */
51
- options?: SimpleEncodingVodJobOptions;
52
- /**
53
- * Describes all the errors in cases the status of the job is 'error'.
54
- * @type {SimpleEncodingVodJobErrors[]}
55
- * @memberof SimpleEncodingVodJobResponse
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 SimpleEncodingVodJobResponse
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 SimpleEncodingVodJobResponse
68
- */
69
- modifiedAt?: Date;
70
- /**
71
- * This property will be used for naming the encoding and the manifests.
72
- * @type {string}
73
- * @memberof SimpleEncodingVodJobResponse
74
- */
75
- name?: string;
76
- constructor(obj?: Partial<SimpleEncodingVodJobResponse>);
77
- }
78
- export default SimpleEncodingVodJobResponse;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobResponse = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- var SimpleEncodingVodJobErrors_1 = require("./SimpleEncodingVodJobErrors");
6
- var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
7
- var SimpleEncodingVodJobOptions_1 = require("./SimpleEncodingVodJobOptions");
8
- var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
9
- /**
10
- * @export
11
- * @class SimpleEncodingVodJobResponse
12
- */
13
- var SimpleEncodingVodJobResponse = /** @class */ (function () {
14
- function SimpleEncodingVodJobResponse(obj) {
15
- if (!obj) {
16
- return;
17
- }
18
- this.id = (0, Mapper_1.map)(obj.id);
19
- this.status = (0, Mapper_1.map)(obj.status);
20
- this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
21
- this.encodingId = (0, Mapper_1.map)(obj.encodingId);
22
- this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
23
- this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
24
- this.options = (0, Mapper_1.map)(obj.options, SimpleEncodingVodJobOptions_1.default);
25
- this.errors = (0, Mapper_1.mapArray)(obj.errors, SimpleEncodingVodJobErrors_1.default);
26
- this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
27
- this.modifiedAt = (0, Mapper_1.map)(obj.modifiedAt, Date);
28
- this.name = (0, Mapper_1.map)(obj.name);
29
- }
30
- return SimpleEncodingVodJobResponse;
31
- }());
32
- exports.SimpleEncodingVodJobResponse = SimpleEncodingVodJobResponse;
33
- exports.default = SimpleEncodingVodJobResponse;
@@ -1,21 +0,0 @@
1
- import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingVodJobS3RoleBasedCredentials
5
- */
6
- export declare class SimpleEncodingVodJobS3RoleBasedCredentials extends SimpleEncodingVodJobCredentials {
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 SimpleEncodingVodJobS3RoleBasedCredentials
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 SimpleEncodingVodJobS3RoleBasedCredentials
17
- */
18
- useExternalId?: boolean;
19
- constructor(obj?: Partial<SimpleEncodingVodJobS3RoleBasedCredentials>);
20
- }
21
- export default SimpleEncodingVodJobS3RoleBasedCredentials;
@@ -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.SimpleEncodingVodJobS3RoleBasedCredentials = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
21
- /**
22
- * @export
23
- * @class SimpleEncodingVodJobS3RoleBasedCredentials
24
- */
25
- var SimpleEncodingVodJobS3RoleBasedCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingVodJobS3RoleBasedCredentials, _super);
27
- function SimpleEncodingVodJobS3RoleBasedCredentials(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 SimpleEncodingVodJobS3RoleBasedCredentials;
37
- }(SimpleEncodingVodJobCredentials_1.default));
38
- exports.SimpleEncodingVodJobS3RoleBasedCredentials = SimpleEncodingVodJobS3RoleBasedCredentials;
39
- exports.default = SimpleEncodingVodJobS3RoleBasedCredentials;
@@ -1,14 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingVodJobStatus {
6
- CREATED = "CREATED",
7
- EXECUTING = "EXECUTING",
8
- FAILURE = "FAILURE",
9
- RUNNING = "RUNNING",
10
- FINISHED = "FINISHED",
11
- ERROR = "ERROR",
12
- CANCELED = "CANCELED"
13
- }
14
- export default SimpleEncodingVodJobStatus;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobStatus = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingVodJobStatus;
9
- (function (SimpleEncodingVodJobStatus) {
10
- SimpleEncodingVodJobStatus["CREATED"] = "CREATED";
11
- SimpleEncodingVodJobStatus["EXECUTING"] = "EXECUTING";
12
- SimpleEncodingVodJobStatus["FAILURE"] = "FAILURE";
13
- SimpleEncodingVodJobStatus["RUNNING"] = "RUNNING";
14
- SimpleEncodingVodJobStatus["FINISHED"] = "FINISHED";
15
- SimpleEncodingVodJobStatus["ERROR"] = "ERROR";
16
- SimpleEncodingVodJobStatus["CANCELED"] = "CANCELED";
17
- })(SimpleEncodingVodJobStatus || (exports.SimpleEncodingVodJobStatus = SimpleEncodingVodJobStatus = {}));
18
- exports.default = SimpleEncodingVodJobStatus;
@@ -1,42 +0,0 @@
1
- import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
- import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
3
- import SimpleEncodingVodJobInputSourceType from './SimpleEncodingVodJobInputSourceType';
4
- import SimpleEncodingVodJobInputType from './SimpleEncodingVodJobInputType';
5
- /**
6
- * @export
7
- * @class SimpleEncodingVodJobUrlInput
8
- */
9
- export declare class SimpleEncodingVodJobUrlInput extends SimpleEncodingVodJobInput {
10
- /**
11
- * Discriminator property for SimpleEncodingVodJobInput
12
- * @type {string}
13
- * @memberof SimpleEncodingVodJobUrlInput
14
- */
15
- readonly type: SimpleEncodingVodJobInputSourceType;
16
- /**
17
- * Define a URL pointing to the asset that should be encoded. The URL has to point to a file. Currently the following protocols/storages systems are supported: HTTP(S), (S)FTP, 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 protocols/storage systems. --- **HTTP** and **HTTPS**: * `http://<host>[:<port>]/path/file.mp4` * `https://<host>[:<port>]/path/file.mp4` The port is defaulted to 80 if it's not provided. If the content is secured by Basic Authentication please provide corresponding credentials. **FTP** and **SFTP**: * `ftp://<host>[:<port>]/path/file.mp4` * `sftp://<host>[:<port>]/path/file.mp4` The port is defaulted to 21 (ftp) or 22 (sftp) if it's not provided. If the content is secured please provide corresponding credentials. **S3**: * `s3://<my-bucket>/path/file.mp4` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/file.mp4` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/file.mp4` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/file.mp4` It is required to provide username/password credentials for authentication. (required)
18
- * @type {string}
19
- * @memberof SimpleEncodingVodJobUrlInput
20
- */
21
- url?: string;
22
- /**
23
- * Credentials to be used for authentication and accessing the file. Check out the examples on how to define the credentials correctly.
24
- * @type {SimpleEncodingVodJobCredentials}
25
- * @memberof SimpleEncodingVodJobUrlInput
26
- */
27
- credentials?: SimpleEncodingVodJobCredentials;
28
- /**
29
- * 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.
30
- * @type {SimpleEncodingVodJobInputType}
31
- * @memberof SimpleEncodingVodJobUrlInput
32
- */
33
- inputType?: SimpleEncodingVodJobInputType;
34
- /**
35
- * 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).
36
- * @type {string}
37
- * @memberof SimpleEncodingVodJobUrlInput
38
- */
39
- language?: string;
40
- constructor(obj?: Partial<SimpleEncodingVodJobUrlInput>);
41
- }
42
- export default SimpleEncodingVodJobUrlInput;
@@ -1,49 +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.SimpleEncodingVodJobUrlInput = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
21
- var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
22
- var SimpleEncodingVodJobInputSourceType_1 = require("./SimpleEncodingVodJobInputSourceType");
23
- /**
24
- * @export
25
- * @class SimpleEncodingVodJobUrlInput
26
- */
27
- var SimpleEncodingVodJobUrlInput = /** @class */ (function (_super) {
28
- __extends(SimpleEncodingVodJobUrlInput, _super);
29
- function SimpleEncodingVodJobUrlInput(obj) {
30
- var _this = _super.call(this, obj) || this;
31
- /**
32
- * Discriminator property for SimpleEncodingVodJobInput
33
- * @type {string}
34
- * @memberof SimpleEncodingVodJobUrlInput
35
- */
36
- _this.type = SimpleEncodingVodJobInputSourceType_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, SimpleEncodingVodJobCredentials_1.default);
42
- _this.inputType = (0, Mapper_1.map)(obj.inputType);
43
- _this.language = (0, Mapper_1.map)(obj.language);
44
- return _this;
45
- }
46
- return SimpleEncodingVodJobUrlInput;
47
- }(SimpleEncodingVodJobInput_1.default));
48
- exports.SimpleEncodingVodJobUrlInput = SimpleEncodingVodJobUrlInput;
49
- exports.default = SimpleEncodingVodJobUrlInput;