@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
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
240
240
  var headers = {
241
241
  'X-Api-Key': apiKey,
242
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
243
- 'X-Api-Client-Version': '1.225.0',
243
+ 'X-Api-Client-Version': '1.227.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -10,7 +10,6 @@ import ManifestsApi from './manifests/ManifestsApi';
10
10
  import InfrastructureApi from './infrastructure/InfrastructureApi';
11
11
  import StatisticsApi from './statistics/StatisticsApi';
12
12
  import WatchFoldersApi from './watchFolders/WatchFoldersApi';
13
- import SimpleApi from './simple/SimpleApi';
14
13
  import ErrorDefinitionsApi from './errorDefinitions/ErrorDefinitionsApi';
15
14
  import TemplatesApi from './templates/TemplatesApi';
16
15
  /**
@@ -30,7 +29,6 @@ export default class EncodingApi extends BaseAPI {
30
29
  infrastructure: InfrastructureApi;
31
30
  statistics: StatisticsApi;
32
31
  watchFolders: WatchFoldersApi;
33
- simple: SimpleApi;
34
32
  errorDefinitions: ErrorDefinitionsApi;
35
33
  templates: TemplatesApi;
36
34
  constructor(configuration: Configuration);
@@ -26,7 +26,6 @@ var ManifestsApi_1 = require("./manifests/ManifestsApi");
26
26
  var InfrastructureApi_1 = require("./infrastructure/InfrastructureApi");
27
27
  var StatisticsApi_1 = require("./statistics/StatisticsApi");
28
28
  var WatchFoldersApi_1 = require("./watchFolders/WatchFoldersApi");
29
- var SimpleApi_1 = require("./simple/SimpleApi");
30
29
  var ErrorDefinitionsApi_1 = require("./errorDefinitions/ErrorDefinitionsApi");
31
30
  var TemplatesApi_1 = require("./templates/TemplatesApi");
32
31
  /**
@@ -49,7 +48,6 @@ var EncodingApi = /** @class */ (function (_super) {
49
48
  _this.infrastructure = new InfrastructureApi_1.default(configuration);
50
49
  _this.statistics = new StatisticsApi_1.default(configuration);
51
50
  _this.watchFolders = new WatchFoldersApi_1.default(configuration);
52
- _this.simple = new SimpleApi_1.default(configuration);
53
51
  _this.errorDefinitions = new ErrorDefinitionsApi_1.default(configuration);
54
52
  _this.templates = new TemplatesApi_1.default(configuration);
55
53
  return _this;
@@ -2,6 +2,7 @@ import { BaseAPI } from '../../../../common/BaseAPI';
2
2
  import Configuration from '../../../../common/Configuration';
3
3
  import DvbsubApi from './dvbsub/DvbsubApi';
4
4
  import SrtApi from './srt/SrtApi';
5
+ import AssaApi from './assa/AssaApi';
5
6
  /**
6
7
  * BurnInSubtitlesApi - object-oriented interface
7
8
  * @export
@@ -11,5 +12,6 @@ import SrtApi from './srt/SrtApi';
11
12
  export default class BurnInSubtitlesApi extends BaseAPI {
12
13
  dvbsub: DvbsubApi;
13
14
  srt: SrtApi;
15
+ assa: AssaApi;
14
16
  constructor(configuration: Configuration);
15
17
  }
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  var BaseAPI_1 = require("../../../../common/BaseAPI");
19
19
  var DvbsubApi_1 = require("./dvbsub/DvbsubApi");
20
20
  var SrtApi_1 = require("./srt/SrtApi");
21
+ var AssaApi_1 = require("./assa/AssaApi");
21
22
  /**
22
23
  * BurnInSubtitlesApi - object-oriented interface
23
24
  * @export
@@ -30,6 +31,7 @@ var BurnInSubtitlesApi = /** @class */ (function (_super) {
30
31
  var _this = _super.call(this, configuration) || this;
31
32
  _this.dvbsub = new DvbsubApi_1.default(configuration);
32
33
  _this.srt = new SrtApi_1.default(configuration);
34
+ _this.assa = new AssaApi_1.default(configuration);
33
35
  return _this;
34
36
  }
35
37
  return BurnInSubtitlesApi;
@@ -0,0 +1,51 @@
1
+ import { BaseAPI } from '../../../../../common/BaseAPI';
2
+ import Configuration from '../../../../../common/Configuration';
3
+ import BitmovinResponse from '../../../../../models/BitmovinResponse';
4
+ import BurnInSubtitleAssa from '../../../../../models/BurnInSubtitleAssa';
5
+ import PaginationResponse from '../../../../../models/PaginationResponse';
6
+ import { BurnInSubtitleAssaListQueryParams, BurnInSubtitleAssaListQueryParamsBuilder } from './BurnInSubtitleAssaListQueryParams';
7
+ /**
8
+ * AssaApi - object-oriented interface
9
+ * @export
10
+ * @class AssaApi
11
+ * @extends {BaseAPI}
12
+ */
13
+ export default class AssaApi extends BaseAPI {
14
+ constructor(configuration: Configuration);
15
+ /**
16
+ * @summary Burn-In ASSA Subtitle into Stream
17
+ * @param {string} encodingId Id of the encoding.
18
+ * @param {string} streamId Id of the stream.
19
+ * @param {BurnInSubtitleAssa} burnInSubtitleAssa The Burn-In ASSA Subtitle to be added
20
+ * @throws {BitmovinError}
21
+ * @memberof AssaApi
22
+ */
23
+ create(encodingId: string, streamId: string, burnInSubtitleAssa?: BurnInSubtitleAssa): Promise<BurnInSubtitleAssa>;
24
+ /**
25
+ * @summary Delete Burn-In ASSA Subtitle from Stream
26
+ * @param {string} encodingId Id of the encoding.
27
+ * @param {string} streamId Id of the stream.
28
+ * @param {string} subtitleId Id of the burn-in subtitle.
29
+ * @throws {BitmovinError}
30
+ * @memberof AssaApi
31
+ */
32
+ delete(encodingId: string, streamId: string, subtitleId: string): Promise<BitmovinResponse>;
33
+ /**
34
+ * @summary Get Burn-In ASSA Subtitle Details
35
+ * @param {string} encodingId Id of the encoding.
36
+ * @param {string} streamId Id of the stream.
37
+ * @param {string} subtitleId Id of the burn-in subtitle.
38
+ * @throws {BitmovinError}
39
+ * @memberof AssaApi
40
+ */
41
+ get(encodingId: string, streamId: string, subtitleId: string): Promise<BurnInSubtitleAssa>;
42
+ /**
43
+ * @summary List the Burn-In ASSA subtitles of a stream
44
+ * @param {string} encodingId Id of the encoding.
45
+ * @param {string} streamId Id of the stream.
46
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
47
+ * @throws {BitmovinError}
48
+ * @memberof AssaApi
49
+ */
50
+ list(encodingId: string, streamId: string, queryParameters?: BurnInSubtitleAssaListQueryParams | ((q: BurnInSubtitleAssaListQueryParamsBuilder) => BurnInSubtitleAssaListQueryParamsBuilder)): Promise<PaginationResponse<BurnInSubtitleAssa>>;
51
+ }
@@ -0,0 +1,114 @@
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 BitmovinResponse_1 = require("../../../../../models/BitmovinResponse");
21
+ var BurnInSubtitleAssa_1 = require("../../../../../models/BurnInSubtitleAssa");
22
+ var PaginationResponse_1 = require("../../../../../models/PaginationResponse");
23
+ var BurnInSubtitleAssaListQueryParams_1 = require("./BurnInSubtitleAssaListQueryParams");
24
+ /**
25
+ * AssaApi - object-oriented interface
26
+ * @export
27
+ * @class AssaApi
28
+ * @extends {BaseAPI}
29
+ */
30
+ var AssaApi = /** @class */ (function (_super) {
31
+ __extends(AssaApi, _super);
32
+ function AssaApi(configuration) {
33
+ return _super.call(this, configuration) || this;
34
+ }
35
+ /**
36
+ * @summary Burn-In ASSA Subtitle into Stream
37
+ * @param {string} encodingId Id of the encoding.
38
+ * @param {string} streamId Id of the stream.
39
+ * @param {BurnInSubtitleAssa} burnInSubtitleAssa The Burn-In ASSA Subtitle to be added
40
+ * @throws {BitmovinError}
41
+ * @memberof AssaApi
42
+ */
43
+ AssaApi.prototype.create = function (encodingId, streamId, burnInSubtitleAssa) {
44
+ var pathParamMap = {
45
+ encoding_id: encodingId,
46
+ stream_id: streamId
47
+ };
48
+ return this.restClient.post('/encoding/encodings/{encoding_id}/streams/{stream_id}/burn-in-subtitles/assa', pathParamMap, burnInSubtitleAssa).then(function (response) {
49
+ return (0, Mapper_1.map)(response, BurnInSubtitleAssa_1.default);
50
+ });
51
+ };
52
+ /**
53
+ * @summary Delete Burn-In ASSA Subtitle from Stream
54
+ * @param {string} encodingId Id of the encoding.
55
+ * @param {string} streamId Id of the stream.
56
+ * @param {string} subtitleId Id of the burn-in subtitle.
57
+ * @throws {BitmovinError}
58
+ * @memberof AssaApi
59
+ */
60
+ AssaApi.prototype.delete = function (encodingId, streamId, subtitleId) {
61
+ var pathParamMap = {
62
+ encoding_id: encodingId,
63
+ stream_id: streamId,
64
+ subtitle_id: subtitleId
65
+ };
66
+ return this.restClient.delete('/encoding/encodings/{encoding_id}/streams/{stream_id}/burn-in-subtitles/assa/{subtitle_id}', pathParamMap).then(function (response) {
67
+ return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
68
+ });
69
+ };
70
+ /**
71
+ * @summary Get Burn-In ASSA Subtitle Details
72
+ * @param {string} encodingId Id of the encoding.
73
+ * @param {string} streamId Id of the stream.
74
+ * @param {string} subtitleId Id of the burn-in subtitle.
75
+ * @throws {BitmovinError}
76
+ * @memberof AssaApi
77
+ */
78
+ AssaApi.prototype.get = function (encodingId, streamId, subtitleId) {
79
+ var pathParamMap = {
80
+ encoding_id: encodingId,
81
+ stream_id: streamId,
82
+ subtitle_id: subtitleId
83
+ };
84
+ return this.restClient.get('/encoding/encodings/{encoding_id}/streams/{stream_id}/burn-in-subtitles/assa/{subtitle_id}', pathParamMap).then(function (response) {
85
+ return (0, Mapper_1.map)(response, BurnInSubtitleAssa_1.default);
86
+ });
87
+ };
88
+ /**
89
+ * @summary List the Burn-In ASSA subtitles of a stream
90
+ * @param {string} encodingId Id of the encoding.
91
+ * @param {string} streamId Id of the stream.
92
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
93
+ * @throws {BitmovinError}
94
+ * @memberof AssaApi
95
+ */
96
+ AssaApi.prototype.list = function (encodingId, streamId, queryParameters) {
97
+ var pathParamMap = {
98
+ encoding_id: encodingId,
99
+ stream_id: streamId
100
+ };
101
+ var queryParams = {};
102
+ if (typeof queryParameters === 'function') {
103
+ queryParams = queryParameters(new BurnInSubtitleAssaListQueryParams_1.BurnInSubtitleAssaListQueryParamsBuilder()).buildQueryParams();
104
+ }
105
+ else if (queryParameters) {
106
+ queryParams = queryParameters;
107
+ }
108
+ return this.restClient.get('/encoding/encodings/{encoding_id}/streams/{stream_id}/burn-in-subtitles/assa', pathParamMap, queryParams).then(function (response) {
109
+ return new PaginationResponse_1.default(response, BurnInSubtitleAssa_1.default);
110
+ });
111
+ };
112
+ return AssaApi;
113
+ }(BaseAPI_1.BaseAPI));
114
+ exports.default = AssaApi;
@@ -0,0 +1,28 @@
1
+ export interface BurnInSubtitleAssaListQueryParams {
2
+ /**
3
+ * Index of the first item to return, starting at 0. Default is 0
4
+ * @type {number}
5
+ * @memberof BurnInSubtitleAssaListQueryParams
6
+ */
7
+ offset?: number | undefined;
8
+ /**
9
+ * Maximum number of items to return. Default is 25, maximum is 100
10
+ * @type {number}
11
+ * @memberof BurnInSubtitleAssaListQueryParams
12
+ */
13
+ limit?: number | undefined;
14
+ }
15
+ export declare class BurnInSubtitleAssaListQueryParamsBuilder {
16
+ private internalParams;
17
+ /**
18
+ *
19
+ * @param offset Index of the first item to return, starting at 0. Default is 0
20
+ */
21
+ offset(offset: number): this;
22
+ /**
23
+ *
24
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
+ */
26
+ limit(limit: number): this;
27
+ buildQueryParams(): BurnInSubtitleAssaListQueryParams;
28
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BurnInSubtitleAssaListQueryParamsBuilder = void 0;
4
+ var BurnInSubtitleAssaListQueryParamsBuilder = /** @class */ (function () {
5
+ function BurnInSubtitleAssaListQueryParamsBuilder() {
6
+ this.internalParams = {};
7
+ }
8
+ /**
9
+ *
10
+ * @param offset Index of the first item to return, starting at 0. Default is 0
11
+ */
12
+ BurnInSubtitleAssaListQueryParamsBuilder.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
+ BurnInSubtitleAssaListQueryParamsBuilder.prototype.limit = function (limit) {
21
+ this.internalParams.limit = limit;
22
+ return this;
23
+ };
24
+ BurnInSubtitleAssaListQueryParamsBuilder.prototype.buildQueryParams = function () {
25
+ return this.internalParams;
26
+ };
27
+ return BurnInSubtitleAssaListQueryParamsBuilder;
28
+ }());
29
+ exports.BurnInSubtitleAssaListQueryParamsBuilder = BurnInSubtitleAssaListQueryParamsBuilder;
@@ -11,6 +11,12 @@ export interface LiveEncodingStatsEventListQueryParams {
11
11
  * @memberof LiveEncodingStatsEventListQueryParams
12
12
  */
13
13
  limit?: number | undefined;
14
+ /**
15
+ * Sort events by time in DESC order
16
+ * @type {boolean}
17
+ * @memberof LiveEncodingStatsEventListQueryParams
18
+ */
19
+ sortByTime?: boolean | undefined;
14
20
  }
15
21
  export declare class LiveEncodingStatsEventListQueryParamsBuilder {
16
22
  private internalParams;
@@ -24,5 +30,10 @@ export declare class LiveEncodingStatsEventListQueryParamsBuilder {
24
30
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
31
  */
26
32
  limit(limit: number): this;
33
+ /**
34
+ *
35
+ * @param sortByTime Sort events by time in DESC order
36
+ */
37
+ sortByTime(sortByTime: boolean): this;
27
38
  buildQueryParams(): LiveEncodingStatsEventListQueryParams;
28
39
  }
@@ -21,6 +21,14 @@ var LiveEncodingStatsEventListQueryParamsBuilder = /** @class */ (function () {
21
21
  this.internalParams.limit = limit;
22
22
  return this;
23
23
  };
24
+ /**
25
+ *
26
+ * @param sortByTime Sort events by time in DESC order
27
+ */
28
+ LiveEncodingStatsEventListQueryParamsBuilder.prototype.sortByTime = function (sortByTime) {
29
+ this.internalParams.sortByTime = sortByTime;
30
+ return this;
31
+ };
24
32
  LiveEncodingStatsEventListQueryParamsBuilder.prototype.buildQueryParams = function () {
25
33
  return this.internalParams;
26
34
  };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @export
3
+ * @class Atmosphere
4
+ */
5
+ export declare class Atmosphere {
6
+ /**
7
+ * @type {string}
8
+ * @memberof Atmosphere
9
+ */
10
+ mood?: string;
11
+ /**
12
+ * @type {string}
13
+ * @memberof Atmosphere
14
+ */
15
+ lighting?: string;
16
+ /**
17
+ * @type {string}
18
+ * @memberof Atmosphere
19
+ */
20
+ weather?: string;
21
+ constructor(obj?: Partial<Atmosphere>);
22
+ }
23
+ export default Atmosphere;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Atmosphere = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class Atmosphere
8
+ */
9
+ var Atmosphere = /** @class */ (function () {
10
+ function Atmosphere(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.mood = (0, Mapper_1.map)(obj.mood);
15
+ this.lighting = (0, Mapper_1.map)(obj.lighting);
16
+ this.weather = (0, Mapper_1.map)(obj.weather);
17
+ }
18
+ return Atmosphere;
19
+ }());
20
+ exports.Atmosphere = Atmosphere;
21
+ exports.default = Atmosphere;
@@ -0,0 +1,23 @@
1
+ import BitmovinResource from './BitmovinResource';
2
+ import CaptionCharacterEncoding from './CaptionCharacterEncoding';
3
+ import InputPath from './InputPath';
4
+ /**
5
+ * @export
6
+ * @class BurnInSubtitleAssa
7
+ */
8
+ export declare class BurnInSubtitleAssa extends BitmovinResource {
9
+ /**
10
+ * Character encoding of the ASSA file (required)
11
+ * @type {CaptionCharacterEncoding}
12
+ * @memberof BurnInSubtitleAssa
13
+ */
14
+ characterEncoding?: CaptionCharacterEncoding;
15
+ /**
16
+ * The input location to get the ASSA file from (required)
17
+ * @type {InputPath}
18
+ * @memberof BurnInSubtitleAssa
19
+ */
20
+ input?: InputPath;
21
+ constructor(obj?: Partial<BurnInSubtitleAssa>);
22
+ }
23
+ export default BurnInSubtitleAssa;
@@ -15,24 +15,26 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.SimpleEncodingVodJobAzureCredentials = void 0;
18
+ exports.BurnInSubtitleAssa = void 0;
19
19
  var Mapper_1 = require("../common/Mapper");
20
- var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ var InputPath_1 = require("./InputPath");
21
22
  /**
22
23
  * @export
23
- * @class SimpleEncodingVodJobAzureCredentials
24
+ * @class BurnInSubtitleAssa
24
25
  */
25
- var SimpleEncodingVodJobAzureCredentials = /** @class */ (function (_super) {
26
- __extends(SimpleEncodingVodJobAzureCredentials, _super);
27
- function SimpleEncodingVodJobAzureCredentials(obj) {
26
+ var BurnInSubtitleAssa = /** @class */ (function (_super) {
27
+ __extends(BurnInSubtitleAssa, _super);
28
+ function BurnInSubtitleAssa(obj) {
28
29
  var _this = _super.call(this, obj) || this;
29
30
  if (!obj) {
30
31
  return _this;
31
32
  }
32
- _this.key = (0, Mapper_1.map)(obj.key);
33
+ _this.characterEncoding = (0, Mapper_1.map)(obj.characterEncoding);
34
+ _this.input = (0, Mapper_1.map)(obj.input, InputPath_1.default);
33
35
  return _this;
34
36
  }
35
- return SimpleEncodingVodJobAzureCredentials;
36
- }(SimpleEncodingVodJobCredentials_1.default));
37
- exports.SimpleEncodingVodJobAzureCredentials = SimpleEncodingVodJobAzureCredentials;
38
- exports.default = SimpleEncodingVodJobAzureCredentials;
37
+ return BurnInSubtitleAssa;
38
+ }(BitmovinResource_1.default));
39
+ exports.BurnInSubtitleAssa = BurnInSubtitleAssa;
40
+ exports.default = BurnInSubtitleAssa;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export declare class CacheControl {
6
6
  /**
7
- * Cache control for storing data on CDN. Example \"public, max-age=0, no-cache\".
7
+ * Cache control for storing data on CDN. Example \"public, max-age=0, no-cache\". Cache control is supported on S3, GCS and Azure output storage providers.
8
8
  * @type {string}
9
9
  * @memberof CacheControl
10
10
  */
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @export
3
+ * @class Character
4
+ */
5
+ export declare class Character {
6
+ /**
7
+ * @type {string}
8
+ * @memberof Character
9
+ */
10
+ appearance?: string;
11
+ /**
12
+ * @type {string}
13
+ * @memberof Character
14
+ */
15
+ name?: string;
16
+ /**
17
+ * @type {string}
18
+ * @memberof Character
19
+ */
20
+ description?: string;
21
+ constructor(obj?: Partial<Character>);
22
+ }
23
+ export default Character;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Character = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class Character
8
+ */
9
+ var Character = /** @class */ (function () {
10
+ function Character(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.appearance = (0, Mapper_1.map)(obj.appearance);
15
+ this.name = (0, Mapper_1.map)(obj.name);
16
+ this.description = (0, Mapper_1.map)(obj.description);
17
+ }
18
+ return Character;
19
+ }());
20
+ exports.Character = Character;
21
+ exports.default = Character;
@@ -0,0 +1,26 @@
1
+ import Character from './Character';
2
+ import SceneObject from './SceneObject';
3
+ import Setting from './Setting';
4
+ /**
5
+ * @export
6
+ * @class Content
7
+ */
8
+ export declare class Content {
9
+ /**
10
+ * @type {Character[]}
11
+ * @memberof Content
12
+ */
13
+ characters?: Character[];
14
+ /**
15
+ * @type {SceneObject[]}
16
+ * @memberof Content
17
+ */
18
+ objects?: SceneObject[];
19
+ /**
20
+ * @type {Setting[]}
21
+ * @memberof Content
22
+ */
23
+ settings?: Setting[];
24
+ constructor(obj?: Partial<Content>);
25
+ }
26
+ export default Content;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Content = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var Character_1 = require("./Character");
6
+ var SceneObject_1 = require("./SceneObject");
7
+ var Setting_1 = require("./Setting");
8
+ /**
9
+ * @export
10
+ * @class Content
11
+ */
12
+ var Content = /** @class */ (function () {
13
+ function Content(obj) {
14
+ if (!obj) {
15
+ return;
16
+ }
17
+ this.characters = (0, Mapper_1.mapArray)(obj.characters, Character_1.default);
18
+ this.objects = (0, Mapper_1.mapArray)(obj.objects, SceneObject_1.default);
19
+ this.settings = (0, Mapper_1.mapArray)(obj.settings, Setting_1.default);
20
+ }
21
+ return Content;
22
+ }());
23
+ exports.Content = Content;
24
+ exports.default = Content;
@@ -48,6 +48,12 @@ export declare class Fmp4Muxing extends Muxing {
48
48
  * @memberof Fmp4Muxing
49
49
  */
50
50
  writeDurationPerSample?: boolean;
51
+ /**
52
+ * Insert scte35 triggers as emsg boxes into the fMP4 segments.
53
+ * @type {boolean}
54
+ * @memberof Fmp4Muxing
55
+ */
56
+ signalScte35AsEmsg?: boolean;
51
57
  /**
52
58
  * Number of segments which have been encoded
53
59
  * @type {number}
@@ -42,6 +42,7 @@ var Fmp4Muxing = /** @class */ (function (_super) {
42
42
  _this.initSegmentName = (0, Mapper_1.map)(obj.initSegmentName);
43
43
  _this.initSegmentNameTemplate = (0, Mapper_1.map)(obj.initSegmentNameTemplate);
44
44
  _this.writeDurationPerSample = (0, Mapper_1.map)(obj.writeDurationPerSample);
45
+ _this.signalScte35AsEmsg = (0, Mapper_1.map)(obj.signalScte35AsEmsg);
45
46
  _this.segmentsMuxed = (0, Mapper_1.map)(obj.segmentsMuxed);
46
47
  _this.ptsAlignMode = (0, Mapper_1.map)(obj.ptsAlignMode);
47
48
  return _this;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @export
3
+ * @class IABTaxonomy
4
+ */
5
+ export declare class IABTaxonomy {
6
+ /**
7
+ * @type {string}
8
+ * @memberof IABTaxonomy
9
+ */
10
+ version?: string;
11
+ /**
12
+ * @type {string[]}
13
+ * @memberof IABTaxonomy
14
+ */
15
+ contentTaxonomies?: string[];
16
+ /**
17
+ * @type {string[]}
18
+ * @memberof IABTaxonomy
19
+ */
20
+ adOpportunityTaxonomies?: string[];
21
+ /**
22
+ * @type {string[]}
23
+ * @memberof IABTaxonomy
24
+ */
25
+ sensitiveTopicTaxonomies?: string[];
26
+ constructor(obj?: Partial<IABTaxonomy>);
27
+ }
28
+ export default IABTaxonomy;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IABTaxonomy = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class IABTaxonomy
8
+ */
9
+ var IABTaxonomy = /** @class */ (function () {
10
+ function IABTaxonomy(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.version = (0, Mapper_1.map)(obj.version);
15
+ this.contentTaxonomies = (0, Mapper_1.mapArray)(obj.contentTaxonomies);
16
+ this.adOpportunityTaxonomies = (0, Mapper_1.mapArray)(obj.adOpportunityTaxonomies);
17
+ this.sensitiveTopicTaxonomies = (0, Mapper_1.mapArray)(obj.sensitiveTopicTaxonomies);
18
+ }
19
+ return IABTaxonomy;
20
+ }());
21
+ exports.IABTaxonomy = IABTaxonomy;
22
+ exports.default = IABTaxonomy;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @export
3
+ * @class Location
4
+ */
5
+ export declare class Location {
6
+ /**
7
+ * @type {string}
8
+ * @memberof Location
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @type {string}
13
+ * @memberof Location
14
+ */
15
+ description?: string;
16
+ constructor(obj?: Partial<Location>);
17
+ }
18
+ export default Location;