@bitmovin/api-sdk 1.226.0 → 1.228.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 (42) hide show
  1. package/README.md +1 -1
  2. package/dist/account/organizations/groups/GroupListQueryParams.d.ts +28 -0
  3. package/dist/account/organizations/groups/GroupListQueryParams.js +29 -0
  4. package/dist/account/organizations/groups/GroupsApi.d.ts +3 -1
  5. package/dist/account/organizations/groups/GroupsApi.js +11 -2
  6. package/dist/bitmovin-api-sdk.browser.js +419 -59
  7. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  8. package/dist/common/RestClient.js +1 -1
  9. package/dist/encoding/encodings/EncodingsApi.d.ts +2 -0
  10. package/dist/encoding/encodings/EncodingsApi.js +2 -0
  11. package/dist/encoding/encodings/streams/burnInSubtitles/BurnInSubtitlesApi.d.ts +2 -0
  12. package/dist/encoding/encodings/streams/burnInSubtitles/BurnInSubtitlesApi.js +2 -0
  13. package/dist/encoding/encodings/streams/burnInSubtitles/assa/AssaApi.d.ts +51 -0
  14. package/dist/encoding/encodings/streams/burnInSubtitles/assa/AssaApi.js +114 -0
  15. package/dist/encoding/encodings/streams/burnInSubtitles/assa/BurnInSubtitleAssaListQueryParams.d.ts +28 -0
  16. package/dist/encoding/encodings/streams/burnInSubtitles/assa/BurnInSubtitleAssaListQueryParams.js +29 -0
  17. package/dist/encoding/encodings/template/TemplateApi.d.ts +19 -0
  18. package/dist/encoding/encodings/template/TemplateApi.js +48 -0
  19. package/dist/models/AiSceneAnalysis.d.ts +22 -0
  20. package/dist/models/AiSceneAnalysis.js +22 -0
  21. package/dist/models/AiSceneAnalysisAssetDescription.d.ts +20 -0
  22. package/dist/models/{AiContentAnalysisAssetDescription.js → AiSceneAnalysisAssetDescription.js} +7 -7
  23. package/dist/models/AiSceneAnalysisAutomaticAdPlacement.d.ts +15 -0
  24. package/dist/models/AiSceneAnalysisAutomaticAdPlacement.js +20 -0
  25. package/dist/models/AiSceneAnalysisFeatures.d.ts +22 -0
  26. package/dist/models/AiSceneAnalysisFeatures.js +22 -0
  27. package/dist/models/BurnInSubtitleAssa.d.ts +23 -0
  28. package/dist/models/BurnInSubtitleAssa.js +40 -0
  29. package/dist/models/EncodingTemplateUrlResponse.d.ts +14 -0
  30. package/dist/models/EncodingTemplateUrlResponse.js +19 -0
  31. package/dist/models/StartEncodingRequest.d.ts +4 -4
  32. package/dist/models/StartEncodingRequest.js +2 -2
  33. package/dist/models/index.d.ts +6 -4
  34. package/dist/models/index.js +6 -4
  35. package/package.json +1 -1
  36. package/dist/models/AiContentAnalysis.d.ts +0 -22
  37. package/dist/models/AiContentAnalysis.js +0 -22
  38. package/dist/models/AiContentAnalysisAssetDescription.d.ts +0 -20
  39. package/dist/models/AiContentAnalysisAutomaticAdPlacement.d.ts +0 -15
  40. package/dist/models/AiContentAnalysisAutomaticAdPlacement.js +0 -20
  41. package/dist/models/AiContentAnalysisFeatures.d.ts +0 -22
  42. package/dist/models/AiContentAnalysisFeatures.js +0 -22
@@ -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.226.0',
243
+ 'X-Api-Client-Version': '1.228.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -5,6 +5,7 @@ import CustomdataApi from './customdata/CustomdataApi';
5
5
  import StreamsApi from './streams/StreamsApi';
6
6
  import InputStreamsApi from './inputStreams/InputStreamsApi';
7
7
  import MuxingsApi from './muxings/MuxingsApi';
8
+ import TemplateApi from './template/TemplateApi';
8
9
  import TransferRetriesApi from './transferRetries/TransferRetriesApi';
9
10
  import OutputPathsApi from './outputPaths/OutputPathsApi';
10
11
  import CaptionsApi from './captions/CaptionsApi';
@@ -31,6 +32,7 @@ export default class EncodingsApi extends BaseAPI {
31
32
  streams: StreamsApi;
32
33
  inputStreams: InputStreamsApi;
33
34
  muxings: MuxingsApi;
35
+ template: TemplateApi;
34
36
  transferRetries: TransferRetriesApi;
35
37
  outputPaths: OutputPathsApi;
36
38
  captions: CaptionsApi;
@@ -22,6 +22,7 @@ var CustomdataApi_1 = require("./customdata/CustomdataApi");
22
22
  var StreamsApi_1 = require("./streams/StreamsApi");
23
23
  var InputStreamsApi_1 = require("./inputStreams/InputStreamsApi");
24
24
  var MuxingsApi_1 = require("./muxings/MuxingsApi");
25
+ var TemplateApi_1 = require("./template/TemplateApi");
25
26
  var TransferRetriesApi_1 = require("./transferRetries/TransferRetriesApi");
26
27
  var OutputPathsApi_1 = require("./outputPaths/OutputPathsApi");
27
28
  var CaptionsApi_1 = require("./captions/CaptionsApi");
@@ -49,6 +50,7 @@ var EncodingsApi = /** @class */ (function (_super) {
49
50
  _this.streams = new StreamsApi_1.default(configuration);
50
51
  _this.inputStreams = new InputStreamsApi_1.default(configuration);
51
52
  _this.muxings = new MuxingsApi_1.default(configuration);
53
+ _this.template = new TemplateApi_1.default(configuration);
52
54
  _this.transferRetries = new TransferRetriesApi_1.default(configuration);
53
55
  _this.outputPaths = new OutputPathsApi_1.default(configuration);
54
56
  _this.captions = new CaptionsApi_1.default(configuration);
@@ -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;
@@ -0,0 +1,19 @@
1
+ import { BaseAPI } from '../../../common/BaseAPI';
2
+ import Configuration from '../../../common/Configuration';
3
+ import EncodingTemplateUrlResponse from '../../../models/EncodingTemplateUrlResponse';
4
+ /**
5
+ * TemplateApi - object-oriented interface
6
+ * @export
7
+ * @class TemplateApi
8
+ * @extends {BaseAPI}
9
+ */
10
+ export default class TemplateApi extends BaseAPI {
11
+ constructor(configuration: Configuration);
12
+ /**
13
+ * @summary Encoding Template URL
14
+ * @param {string} encodingId Id of the Encoding
15
+ * @throws {BitmovinError}
16
+ * @memberof TemplateApi
17
+ */
18
+ get(encodingId: string): Promise<EncodingTemplateUrlResponse>;
19
+ }
@@ -0,0 +1,48 @@
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 EncodingTemplateUrlResponse_1 = require("../../../models/EncodingTemplateUrlResponse");
21
+ /**
22
+ * TemplateApi - object-oriented interface
23
+ * @export
24
+ * @class TemplateApi
25
+ * @extends {BaseAPI}
26
+ */
27
+ var TemplateApi = /** @class */ (function (_super) {
28
+ __extends(TemplateApi, _super);
29
+ function TemplateApi(configuration) {
30
+ return _super.call(this, configuration) || this;
31
+ }
32
+ /**
33
+ * @summary Encoding Template URL
34
+ * @param {string} encodingId Id of the Encoding
35
+ * @throws {BitmovinError}
36
+ * @memberof TemplateApi
37
+ */
38
+ TemplateApi.prototype.get = function (encodingId) {
39
+ var pathParamMap = {
40
+ encoding_id: encodingId
41
+ };
42
+ return this.restClient.get('/encoding/encodings/{encoding_id}/template', pathParamMap).then(function (response) {
43
+ return (0, Mapper_1.map)(response, EncodingTemplateUrlResponse_1.default);
44
+ });
45
+ };
46
+ return TemplateApi;
47
+ }(BaseAPI_1.BaseAPI));
48
+ exports.default = TemplateApi;
@@ -0,0 +1,22 @@
1
+ import AiSceneAnalysisFeatures from './AiSceneAnalysisFeatures';
2
+ import AiService from './AiService';
3
+ /**
4
+ * @export
5
+ * @class AiSceneAnalysis
6
+ */
7
+ export declare class AiSceneAnalysis {
8
+ /**
9
+ * AI service settings
10
+ * @type {AiService}
11
+ * @memberof AiSceneAnalysis
12
+ */
13
+ aiService?: AiService;
14
+ /**
15
+ * Features of the AI scene analysis
16
+ * @type {AiSceneAnalysisFeatures}
17
+ * @memberof AiSceneAnalysis
18
+ */
19
+ features?: AiSceneAnalysisFeatures;
20
+ constructor(obj?: Partial<AiSceneAnalysis>);
21
+ }
22
+ export default AiSceneAnalysis;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysis = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var AiSceneAnalysisFeatures_1 = require("./AiSceneAnalysisFeatures");
6
+ var AiService_1 = require("./AiService");
7
+ /**
8
+ * @export
9
+ * @class AiSceneAnalysis
10
+ */
11
+ var AiSceneAnalysis = /** @class */ (function () {
12
+ function AiSceneAnalysis(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.aiService = (0, Mapper_1.map)(obj.aiService, AiService_1.default);
17
+ this.features = (0, Mapper_1.map)(obj.features, AiSceneAnalysisFeatures_1.default);
18
+ }
19
+ return AiSceneAnalysis;
20
+ }());
21
+ exports.AiSceneAnalysis = AiSceneAnalysis;
22
+ exports.default = AiSceneAnalysis;
@@ -0,0 +1,20 @@
1
+ import EncodingOutput from './EncodingOutput';
2
+ /**
3
+ * @export
4
+ * @class AiSceneAnalysisAssetDescription
5
+ */
6
+ export declare class AiSceneAnalysisAssetDescription {
7
+ /**
8
+ * Name of the output json file
9
+ * @type {string}
10
+ * @memberof AiSceneAnalysisAssetDescription
11
+ */
12
+ filename?: string;
13
+ /**
14
+ * @type {EncodingOutput[]}
15
+ * @memberof AiSceneAnalysisAssetDescription
16
+ */
17
+ outputs?: EncodingOutput[];
18
+ constructor(obj?: Partial<AiSceneAnalysisAssetDescription>);
19
+ }
20
+ export default AiSceneAnalysisAssetDescription;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AiContentAnalysisAssetDescription = void 0;
3
+ exports.AiSceneAnalysisAssetDescription = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var EncodingOutput_1 = require("./EncodingOutput");
6
6
  /**
7
7
  * @export
8
- * @class AiContentAnalysisAssetDescription
8
+ * @class AiSceneAnalysisAssetDescription
9
9
  */
10
- var AiContentAnalysisAssetDescription = /** @class */ (function () {
11
- function AiContentAnalysisAssetDescription(obj) {
10
+ var AiSceneAnalysisAssetDescription = /** @class */ (function () {
11
+ function AiSceneAnalysisAssetDescription(obj) {
12
12
  if (!obj) {
13
13
  return;
14
14
  }
15
15
  this.filename = (0, Mapper_1.map)(obj.filename);
16
16
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, EncodingOutput_1.default);
17
17
  }
18
- return AiContentAnalysisAssetDescription;
18
+ return AiSceneAnalysisAssetDescription;
19
19
  }());
20
- exports.AiContentAnalysisAssetDescription = AiContentAnalysisAssetDescription;
21
- exports.default = AiContentAnalysisAssetDescription;
20
+ exports.AiSceneAnalysisAssetDescription = AiSceneAnalysisAssetDescription;
21
+ exports.default = AiSceneAnalysisAssetDescription;
@@ -0,0 +1,15 @@
1
+ import AutomaticAdPlacementPosition from './AutomaticAdPlacementPosition';
2
+ /**
3
+ * @export
4
+ * @class AiSceneAnalysisAutomaticAdPlacement
5
+ */
6
+ export declare class AiSceneAnalysisAutomaticAdPlacement {
7
+ /**
8
+ * Ad placements schedule
9
+ * @type {AutomaticAdPlacementPosition[]}
10
+ * @memberof AiSceneAnalysisAutomaticAdPlacement
11
+ */
12
+ schedule?: AutomaticAdPlacementPosition[];
13
+ constructor(obj?: Partial<AiSceneAnalysisAutomaticAdPlacement>);
14
+ }
15
+ export default AiSceneAnalysisAutomaticAdPlacement;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisAutomaticAdPlacement = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var AutomaticAdPlacementPosition_1 = require("./AutomaticAdPlacementPosition");
6
+ /**
7
+ * @export
8
+ * @class AiSceneAnalysisAutomaticAdPlacement
9
+ */
10
+ var AiSceneAnalysisAutomaticAdPlacement = /** @class */ (function () {
11
+ function AiSceneAnalysisAutomaticAdPlacement(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.schedule = (0, Mapper_1.mapArray)(obj.schedule, AutomaticAdPlacementPosition_1.default);
16
+ }
17
+ return AiSceneAnalysisAutomaticAdPlacement;
18
+ }());
19
+ exports.AiSceneAnalysisAutomaticAdPlacement = AiSceneAnalysisAutomaticAdPlacement;
20
+ exports.default = AiSceneAnalysisAutomaticAdPlacement;
@@ -0,0 +1,22 @@
1
+ import AiSceneAnalysisAssetDescription from './AiSceneAnalysisAssetDescription';
2
+ import AiSceneAnalysisAutomaticAdPlacement from './AiSceneAnalysisAutomaticAdPlacement';
3
+ /**
4
+ * @export
5
+ * @class AiSceneAnalysisFeatures
6
+ */
7
+ export declare class AiSceneAnalysisFeatures {
8
+ /**
9
+ * AI scene analysis will create an asset description file.
10
+ * @type {AiSceneAnalysisAssetDescription}
11
+ * @memberof AiSceneAnalysisFeatures
12
+ */
13
+ assetDescription?: AiSceneAnalysisAssetDescription;
14
+ /**
15
+ * Ad markers placed on detected scene changes and configured positions.
16
+ * @type {AiSceneAnalysisAutomaticAdPlacement}
17
+ * @memberof AiSceneAnalysisFeatures
18
+ */
19
+ automaticAdPlacement?: AiSceneAnalysisAutomaticAdPlacement;
20
+ constructor(obj?: Partial<AiSceneAnalysisFeatures>);
21
+ }
22
+ export default AiSceneAnalysisFeatures;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisFeatures = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var AiSceneAnalysisAssetDescription_1 = require("./AiSceneAnalysisAssetDescription");
6
+ var AiSceneAnalysisAutomaticAdPlacement_1 = require("./AiSceneAnalysisAutomaticAdPlacement");
7
+ /**
8
+ * @export
9
+ * @class AiSceneAnalysisFeatures
10
+ */
11
+ var AiSceneAnalysisFeatures = /** @class */ (function () {
12
+ function AiSceneAnalysisFeatures(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.assetDescription = (0, Mapper_1.map)(obj.assetDescription, AiSceneAnalysisAssetDescription_1.default);
17
+ this.automaticAdPlacement = (0, Mapper_1.map)(obj.automaticAdPlacement, AiSceneAnalysisAutomaticAdPlacement_1.default);
18
+ }
19
+ return AiSceneAnalysisFeatures;
20
+ }());
21
+ exports.AiSceneAnalysisFeatures = AiSceneAnalysisFeatures;
22
+ exports.default = AiSceneAnalysisFeatures;
@@ -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;
@@ -0,0 +1,40 @@
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.BurnInSubtitleAssa = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ var InputPath_1 = require("./InputPath");
22
+ /**
23
+ * @export
24
+ * @class BurnInSubtitleAssa
25
+ */
26
+ var BurnInSubtitleAssa = /** @class */ (function (_super) {
27
+ __extends(BurnInSubtitleAssa, _super);
28
+ function BurnInSubtitleAssa(obj) {
29
+ var _this = _super.call(this, obj) || this;
30
+ if (!obj) {
31
+ return _this;
32
+ }
33
+ _this.characterEncoding = (0, Mapper_1.map)(obj.characterEncoding);
34
+ _this.input = (0, Mapper_1.map)(obj.input, InputPath_1.default);
35
+ return _this;
36
+ }
37
+ return BurnInSubtitleAssa;
38
+ }(BitmovinResource_1.default));
39
+ exports.BurnInSubtitleAssa = BurnInSubtitleAssa;
40
+ exports.default = BurnInSubtitleAssa;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @export
3
+ * @class EncodingTemplateUrlResponse
4
+ */
5
+ export declare class EncodingTemplateUrlResponse {
6
+ /**
7
+ * The download URL of the encoding template. (required)
8
+ * @type {string}
9
+ * @memberof EncodingTemplateUrlResponse
10
+ */
11
+ url?: string;
12
+ constructor(obj?: Partial<EncodingTemplateUrlResponse>);
13
+ }
14
+ export default EncodingTemplateUrlResponse;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EncodingTemplateUrlResponse = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class EncodingTemplateUrlResponse
8
+ */
9
+ var EncodingTemplateUrlResponse = /** @class */ (function () {
10
+ function EncodingTemplateUrlResponse(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.url = (0, Mapper_1.map)(obj.url);
15
+ }
16
+ return EncodingTemplateUrlResponse;
17
+ }());
18
+ exports.EncodingTemplateUrlResponse = EncodingTemplateUrlResponse;
19
+ exports.default = EncodingTemplateUrlResponse;