@bitmovin/api-sdk 1.225.0 → 1.227.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 (138) 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/SimpleEncodingLiveJobAzureCredentials.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 +774 -1926
  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/encodings/streams/burnInSubtitles/BurnInSubtitlesApi.d.ts +2 -0
  18. package/dist/encoding/encodings/streams/burnInSubtitles/BurnInSubtitlesApi.js +2 -0
  19. package/dist/encoding/encodings/streams/burnInSubtitles/assa/AssaApi.d.ts +51 -0
  20. package/dist/encoding/encodings/streams/burnInSubtitles/assa/AssaApi.js +114 -0
  21. package/dist/encoding/encodings/streams/burnInSubtitles/assa/BurnInSubtitleAssaListQueryParams.d.ts +28 -0
  22. package/dist/encoding/encodings/streams/burnInSubtitles/assa/BurnInSubtitleAssaListQueryParams.js +29 -0
  23. package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.d.ts +11 -0
  24. package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.js +8 -0
  25. package/dist/models/Atmosphere.d.ts +23 -0
  26. package/dist/models/Atmosphere.js +21 -0
  27. package/dist/models/BurnInSubtitleAssa.d.ts +23 -0
  28. package/dist/models/{SimpleEncodingVodJobAzureCredentials.js → BurnInSubtitleAssa.js} +13 -11
  29. package/dist/models/CacheControl.d.ts +1 -1
  30. package/dist/models/Character.d.ts +23 -0
  31. package/dist/models/Character.js +21 -0
  32. package/dist/models/Content.d.ts +26 -0
  33. package/dist/models/Content.js +24 -0
  34. package/dist/models/Fmp4Muxing.d.ts +6 -0
  35. package/dist/models/Fmp4Muxing.js +1 -0
  36. package/dist/models/IABTaxonomy.d.ts +28 -0
  37. package/dist/models/IABTaxonomy.js +22 -0
  38. package/dist/models/Location.d.ts +18 -0
  39. package/dist/models/Location.js +20 -0
  40. package/dist/models/Rating.d.ts +23 -0
  41. package/dist/models/Rating.js +21 -0
  42. package/dist/models/Scene.d.ts +50 -0
  43. package/dist/models/Scene.js +28 -0
  44. package/dist/models/SceneAnalysisDetailsResponse.d.ts +40 -0
  45. package/dist/models/SceneAnalysisDetailsResponse.js +26 -0
  46. package/dist/models/SceneObject.d.ts +18 -0
  47. package/dist/models/SceneObject.js +20 -0
  48. package/dist/models/Setting.d.ts +25 -0
  49. package/dist/models/Setting.js +23 -0
  50. package/dist/models/index.d.ts +11 -40
  51. package/dist/models/index.js +11 -40
  52. package/package.json +1 -1
  53. package/dist/encoding/simple/SimpleApi.d.ts +0 -13
  54. package/dist/encoding/simple/jobs/JobsApi.d.ts +0 -15
  55. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +0 -27
  56. package/dist/encoding/simple/jobs/live/LiveApi.js +0 -59
  57. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +0 -50
  58. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +0 -45
  59. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +0 -36
  60. package/dist/encoding/simple/jobs/vod/VodApi.js +0 -79
  61. package/dist/models/EncodingTemplate.d.ts +0 -10
  62. package/dist/models/EncodingTemplate.js +0 -14
  63. package/dist/models/SimpleEncodingLiveCloudRegion.d.ts +0 -13
  64. package/dist/models/SimpleEncodingLiveCloudRegion.js +0 -17
  65. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.d.ts +0 -21
  66. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js +0 -39
  67. package/dist/models/SimpleEncodingLiveJobAzureCredentials.d.ts +0 -15
  68. package/dist/models/SimpleEncodingLiveJobCdnOutput.d.ts +0 -16
  69. package/dist/models/SimpleEncodingLiveJobCdnOutput.js +0 -43
  70. package/dist/models/SimpleEncodingLiveJobCredentials.d.ts +0 -8
  71. package/dist/models/SimpleEncodingLiveJobCredentials.js +0 -17
  72. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.d.ts +0 -15
  73. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js +0 -38
  74. package/dist/models/SimpleEncodingLiveJobInput.d.ts +0 -15
  75. package/dist/models/SimpleEncodingLiveJobInput.js +0 -19
  76. package/dist/models/SimpleEncodingLiveJobInputType.d.ts +0 -9
  77. package/dist/models/SimpleEncodingLiveJobInputType.js +0 -13
  78. package/dist/models/SimpleEncodingLiveJobOutput.d.ts +0 -23
  79. package/dist/models/SimpleEncodingLiveJobOutput.js +0 -24
  80. package/dist/models/SimpleEncodingLiveJobOutputType.d.ts +0 -10
  81. package/dist/models/SimpleEncodingLiveJobOutputType.js +0 -14
  82. package/dist/models/SimpleEncodingLiveJobRequest.d.ts +0 -42
  83. package/dist/models/SimpleEncodingLiveJobRequest.js +0 -25
  84. package/dist/models/SimpleEncodingLiveJobResponse.d.ts +0 -90
  85. package/dist/models/SimpleEncodingLiveJobResponse.js +0 -34
  86. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.d.ts +0 -21
  87. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js +0 -39
  88. package/dist/models/SimpleEncodingLiveJobStatus.d.ts +0 -15
  89. package/dist/models/SimpleEncodingLiveJobStatus.js +0 -19
  90. package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +0 -35
  91. package/dist/models/SimpleEncodingLiveJobUrlOutput.js +0 -48
  92. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.d.ts +0 -21
  93. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js +0 -39
  94. package/dist/models/SimpleEncodingLiveMaxResolution.d.ts +0 -10
  95. package/dist/models/SimpleEncodingLiveMaxResolution.js +0 -14
  96. package/dist/models/SimpleEncodingLiveProfile.d.ts +0 -9
  97. package/dist/models/SimpleEncodingLiveProfile.js +0 -13
  98. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +0 -21
  99. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +0 -39
  100. package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +0 -15
  101. package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +0 -23
  102. package/dist/models/SimpleEncodingVodJobCdnOutput.js +0 -45
  103. package/dist/models/SimpleEncodingVodJobCredentials.d.ts +0 -8
  104. package/dist/models/SimpleEncodingVodJobCredentials.js +0 -17
  105. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.d.ts +0 -35
  106. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.js +0 -47
  107. package/dist/models/SimpleEncodingVodJobErrors.d.ts +0 -26
  108. package/dist/models/SimpleEncodingVodJobErrors.js +0 -21
  109. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +0 -15
  110. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +0 -38
  111. package/dist/models/SimpleEncodingVodJobInput.d.ts +0 -16
  112. package/dist/models/SimpleEncodingVodJobInput.js +0 -22
  113. package/dist/models/SimpleEncodingVodJobInputSourceType.d.ts +0 -10
  114. package/dist/models/SimpleEncodingVodJobInputSourceType.js +0 -14
  115. package/dist/models/SimpleEncodingVodJobInputType.d.ts +0 -11
  116. package/dist/models/SimpleEncodingVodJobInputType.js +0 -15
  117. package/dist/models/SimpleEncodingVodJobOptions.d.ts +0 -14
  118. package/dist/models/SimpleEncodingVodJobOptions.js +0 -19
  119. package/dist/models/SimpleEncodingVodJobOutput.d.ts +0 -23
  120. package/dist/models/SimpleEncodingVodJobOutput.js +0 -25
  121. package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +0 -20
  122. package/dist/models/SimpleEncodingVodJobOutputArtifact.js +0 -20
  123. package/dist/models/SimpleEncodingVodJobOutputType.d.ts +0 -10
  124. package/dist/models/SimpleEncodingVodJobOutputType.js +0 -14
  125. package/dist/models/SimpleEncodingVodJobRequest.d.ts +0 -42
  126. package/dist/models/SimpleEncodingVodJobRequest.js +0 -26
  127. package/dist/models/SimpleEncodingVodJobResponse.d.ts +0 -78
  128. package/dist/models/SimpleEncodingVodJobResponse.js +0 -33
  129. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +0 -21
  130. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +0 -39
  131. package/dist/models/SimpleEncodingVodJobStatus.d.ts +0 -14
  132. package/dist/models/SimpleEncodingVodJobStatus.js +0 -18
  133. package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +0 -42
  134. package/dist/models/SimpleEncodingVodJobUrlInput.js +0 -49
  135. package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +0 -35
  136. package/dist/models/SimpleEncodingVodJobUrlOutput.js +0 -48
  137. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +0 -21
  138. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +0 -39
@@ -1,59 +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
- var BaseAPI_1 = require("../../../../common/BaseAPI");
19
- var Mapper_1 = require("../../../../common/Mapper");
20
- var SimpleEncodingLiveJobResponse_1 = require("../../../../models/SimpleEncodingLiveJobResponse");
21
- /**
22
- * LiveApi - object-oriented interface
23
- * @export
24
- * @class LiveApi
25
- * @extends {BaseAPI}
26
- */
27
- var LiveApi = /** @class */ (function (_super) {
28
- __extends(LiveApi, _super);
29
- function LiveApi(configuration) {
30
- return _super.call(this, configuration) || this;
31
- }
32
- /**
33
- * @summary Create a Simple Encoding Live Job
34
- * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created.
35
- * @throws {BitmovinError}
36
- * @memberof LiveApi
37
- */
38
- LiveApi.prototype.create = function (simpleEncodingLiveJobRequest) {
39
- return this.restClient.post('/encoding/simple/jobs/live', {}, simpleEncodingLiveJobRequest).then(function (response) {
40
- return (0, Mapper_1.map)(response, SimpleEncodingLiveJobResponse_1.default);
41
- });
42
- };
43
- /**
44
- * @summary Simple Encoding Live Job details
45
- * @param {string} simpleEncodingJobId Id of the Simple Encoding Live Job
46
- * @throws {BitmovinError}
47
- * @memberof LiveApi
48
- */
49
- LiveApi.prototype.get = function (simpleEncodingJobId) {
50
- var pathParamMap = {
51
- simple_encoding_job_id: simpleEncodingJobId
52
- };
53
- return this.restClient.get('/encoding/simple/jobs/live/{simple_encoding_job_id}', pathParamMap).then(function (response) {
54
- return (0, Mapper_1.map)(response, SimpleEncodingLiveJobResponse_1.default);
55
- });
56
- };
57
- return LiveApi;
58
- }(BaseAPI_1.BaseAPI));
59
- exports.default = LiveApi;
@@ -1,50 +0,0 @@
1
- export interface SimpleEncodingVodJobResponseListQueryParams {
2
- /**
3
- * Index of the first item to return, starting at 0. Default is 0
4
- * @type {number}
5
- * @memberof SimpleEncodingVodJobResponseListQueryParams
6
- */
7
- offset?: number | undefined;
8
- /**
9
- * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {number}
11
- * @memberof SimpleEncodingVodJobResponseListQueryParams
12
- */
13
- limit?: number | undefined;
14
- /**
15
- * Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
16
- * @type {string}
17
- * @memberof SimpleEncodingVodJobResponseListQueryParams
18
- */
19
- sort?: string | undefined;
20
- /**
21
- * Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
22
- * @type {string}
23
- * @memberof SimpleEncodingVodJobResponseListQueryParams
24
- */
25
- status?: string | undefined;
26
- }
27
- export declare class SimpleEncodingVodJobResponseListQueryParamsBuilder {
28
- private internalParams;
29
- /**
30
- *
31
- * @param offset Index of the first item to return, starting at 0. Default is 0
32
- */
33
- offset(offset: number): this;
34
- /**
35
- *
36
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
37
- */
38
- limit(limit: number): this;
39
- /**
40
- *
41
- * @param sort Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
42
- */
43
- sort(sort: string): this;
44
- /**
45
- *
46
- * @param status Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
47
- */
48
- status(status: string): this;
49
- buildQueryParams(): SimpleEncodingVodJobResponseListQueryParams;
50
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingVodJobResponseListQueryParamsBuilder = void 0;
4
- var SimpleEncodingVodJobResponseListQueryParamsBuilder = /** @class */ (function () {
5
- function SimpleEncodingVodJobResponseListQueryParamsBuilder() {
6
- this.internalParams = {};
7
- }
8
- /**
9
- *
10
- * @param offset Index of the first item to return, starting at 0. Default is 0
11
- */
12
- SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.offset = function (offset) {
13
- this.internalParams.offset = offset;
14
- return this;
15
- };
16
- /**
17
- *
18
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
19
- */
20
- SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.limit = function (limit) {
21
- this.internalParams.limit = limit;
22
- return this;
23
- };
24
- /**
25
- *
26
- * @param sort Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
27
- */
28
- SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.sort = function (sort) {
29
- this.internalParams.sort = sort;
30
- return this;
31
- };
32
- /**
33
- *
34
- * @param status Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
35
- */
36
- SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.status = function (status) {
37
- this.internalParams.status = status;
38
- return this;
39
- };
40
- SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
41
- return this.internalParams;
42
- };
43
- return SimpleEncodingVodJobResponseListQueryParamsBuilder;
44
- }());
45
- exports.SimpleEncodingVodJobResponseListQueryParamsBuilder = SimpleEncodingVodJobResponseListQueryParamsBuilder;
@@ -1,36 +0,0 @@
1
- import { BaseAPI } from '../../../../common/BaseAPI';
2
- import Configuration from '../../../../common/Configuration';
3
- import SimpleEncodingVodJobRequest from '../../../../models/SimpleEncodingVodJobRequest';
4
- import SimpleEncodingVodJobResponse from '../../../../models/SimpleEncodingVodJobResponse';
5
- import PaginationResponse from '../../../../models/PaginationResponse';
6
- import { SimpleEncodingVodJobResponseListQueryParams, SimpleEncodingVodJobResponseListQueryParamsBuilder } from './SimpleEncodingVodJobResponseListQueryParams';
7
- /**
8
- * VodApi - object-oriented interface
9
- * @export
10
- * @class VodApi
11
- * @extends {BaseAPI}
12
- */
13
- export default class VodApi extends BaseAPI {
14
- constructor(configuration: Configuration);
15
- /**
16
- * @summary Create a Simple Encoding VOD Job
17
- * @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created.
18
- * @throws {BitmovinError}
19
- * @memberof VodApi
20
- */
21
- create(simpleEncodingVodJobRequest?: SimpleEncodingVodJobRequest): Promise<SimpleEncodingVodJobResponse>;
22
- /**
23
- * @summary Simple Encoding VOD Job details
24
- * @param {string} simpleEncodingJobId Id of the Simple Encoding VOD Job
25
- * @throws {BitmovinError}
26
- * @memberof VodApi
27
- */
28
- get(simpleEncodingJobId: string): Promise<SimpleEncodingVodJobResponse>;
29
- /**
30
- * @summary List all Simple Encoding VOD Jobs
31
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
32
- * @throws {BitmovinError}
33
- * @memberof VodApi
34
- */
35
- list(queryParameters?: SimpleEncodingVodJobResponseListQueryParams | ((q: SimpleEncodingVodJobResponseListQueryParamsBuilder) => SimpleEncodingVodJobResponseListQueryParamsBuilder)): Promise<PaginationResponse<SimpleEncodingVodJobResponse>>;
36
- }
@@ -1,79 +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
- var BaseAPI_1 = require("../../../../common/BaseAPI");
19
- var Mapper_1 = require("../../../../common/Mapper");
20
- var SimpleEncodingVodJobResponse_1 = require("../../../../models/SimpleEncodingVodJobResponse");
21
- var PaginationResponse_1 = require("../../../../models/PaginationResponse");
22
- var SimpleEncodingVodJobResponseListQueryParams_1 = require("./SimpleEncodingVodJobResponseListQueryParams");
23
- /**
24
- * VodApi - object-oriented interface
25
- * @export
26
- * @class VodApi
27
- * @extends {BaseAPI}
28
- */
29
- var VodApi = /** @class */ (function (_super) {
30
- __extends(VodApi, _super);
31
- function VodApi(configuration) {
32
- return _super.call(this, configuration) || this;
33
- }
34
- /**
35
- * @summary Create a Simple Encoding VOD Job
36
- * @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created.
37
- * @throws {BitmovinError}
38
- * @memberof VodApi
39
- */
40
- VodApi.prototype.create = function (simpleEncodingVodJobRequest) {
41
- return this.restClient.post('/encoding/simple/jobs/vod', {}, simpleEncodingVodJobRequest).then(function (response) {
42
- return (0, Mapper_1.map)(response, SimpleEncodingVodJobResponse_1.default);
43
- });
44
- };
45
- /**
46
- * @summary Simple Encoding VOD Job details
47
- * @param {string} simpleEncodingJobId Id of the Simple Encoding VOD Job
48
- * @throws {BitmovinError}
49
- * @memberof VodApi
50
- */
51
- VodApi.prototype.get = function (simpleEncodingJobId) {
52
- var pathParamMap = {
53
- simple_encoding_job_id: simpleEncodingJobId
54
- };
55
- return this.restClient.get('/encoding/simple/jobs/vod/{simple_encoding_job_id}', pathParamMap).then(function (response) {
56
- return (0, Mapper_1.map)(response, SimpleEncodingVodJobResponse_1.default);
57
- });
58
- };
59
- /**
60
- * @summary List all Simple Encoding VOD Jobs
61
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
62
- * @throws {BitmovinError}
63
- * @memberof VodApi
64
- */
65
- VodApi.prototype.list = function (queryParameters) {
66
- var queryParams = {};
67
- if (typeof queryParameters === 'function') {
68
- queryParams = queryParameters(new SimpleEncodingVodJobResponseListQueryParams_1.SimpleEncodingVodJobResponseListQueryParamsBuilder()).buildQueryParams();
69
- }
70
- else if (queryParameters) {
71
- queryParams = queryParameters;
72
- }
73
- return this.restClient.get('/encoding/simple/jobs/vod', {}, queryParams).then(function (response) {
74
- return new PaginationResponse_1.default(response, SimpleEncodingVodJobResponse_1.default);
75
- });
76
- };
77
- return VodApi;
78
- }(BaseAPI_1.BaseAPI));
79
- exports.default = VodApi;
@@ -1,10 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum EncodingTemplate {
6
- H264 = "H264",
7
- H264_FIXED_RESOLUTIONS = "H264_FIXED_RESOLUTIONS",
8
- AV1 = "AV1"
9
- }
10
- export default EncodingTemplate;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncodingTemplate = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var EncodingTemplate;
9
- (function (EncodingTemplate) {
10
- EncodingTemplate["H264"] = "H264";
11
- EncodingTemplate["H264_FIXED_RESOLUTIONS"] = "H264_FIXED_RESOLUTIONS";
12
- EncodingTemplate["AV1"] = "AV1";
13
- })(EncodingTemplate || (exports.EncodingTemplate = EncodingTemplate = {}));
14
- exports.default = EncodingTemplate;
@@ -1,13 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum SimpleEncodingLiveCloudRegion {
6
- NORTH_AMERICA = "NORTH_AMERICA",
7
- SOUTH_AMERICA = "SOUTH_AMERICA",
8
- EUROPE = "EUROPE",
9
- AFRICA = "AFRICA",
10
- ASIA = "ASIA",
11
- AUSTRALIA = "AUSTRALIA"
12
- }
13
- export default SimpleEncodingLiveCloudRegion;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEncodingLiveCloudRegion = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var SimpleEncodingLiveCloudRegion;
9
- (function (SimpleEncodingLiveCloudRegion) {
10
- SimpleEncodingLiveCloudRegion["NORTH_AMERICA"] = "NORTH_AMERICA";
11
- SimpleEncodingLiveCloudRegion["SOUTH_AMERICA"] = "SOUTH_AMERICA";
12
- SimpleEncodingLiveCloudRegion["EUROPE"] = "EUROPE";
13
- SimpleEncodingLiveCloudRegion["AFRICA"] = "AFRICA";
14
- SimpleEncodingLiveCloudRegion["ASIA"] = "ASIA";
15
- SimpleEncodingLiveCloudRegion["AUSTRALIA"] = "AUSTRALIA";
16
- })(SimpleEncodingLiveCloudRegion || (exports.SimpleEncodingLiveCloudRegion = SimpleEncodingLiveCloudRegion = {}));
17
- exports.default = SimpleEncodingLiveCloudRegion;
@@ -1,21 +0,0 @@
1
- import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- /**
3
- * @export
4
- * @class SimpleEncodingLiveJobAccessKeyCredentials
5
- */
6
- export declare class SimpleEncodingLiveJobAccessKeyCredentials extends SimpleEncodingLiveJobCredentials {
7
- /**
8
- * The identifier of the access key (required)
9
- * @type {string}
10
- * @memberof SimpleEncodingLiveJobAccessKeyCredentials
11
- */
12
- accessKey?: string;
13
- /**
14
- * The secret to be used for authentication (required)
15
- * @type {string}
16
- * @memberof SimpleEncodingLiveJobAccessKeyCredentials
17
- */
18
- secretKey?: string;
19
- constructor(obj?: Partial<SimpleEncodingLiveJobAccessKeyCredentials>);
20
- }
21
- export default SimpleEncodingLiveJobAccessKeyCredentials;
@@ -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,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;