@bitmovin/api-sdk 1.227.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.
- package/README.md +1 -1
- package/dist/account/organizations/groups/GroupListQueryParams.d.ts +28 -0
- package/dist/account/organizations/groups/GroupListQueryParams.js +29 -0
- package/dist/account/organizations/groups/GroupsApi.d.ts +3 -1
- package/dist/account/organizations/groups/GroupsApi.js +11 -2
- package/dist/bitmovin-api-sdk.browser.js +200 -59
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/EncodingsApi.d.ts +2 -0
- package/dist/encoding/encodings/EncodingsApi.js +2 -0
- package/dist/encoding/encodings/template/TemplateApi.d.ts +19 -0
- package/dist/encoding/encodings/template/TemplateApi.js +48 -0
- package/dist/models/AiSceneAnalysis.d.ts +22 -0
- package/dist/models/AiSceneAnalysis.js +22 -0
- package/dist/models/AiSceneAnalysisAssetDescription.d.ts +20 -0
- package/dist/models/{AiContentAnalysisAssetDescription.js → AiSceneAnalysisAssetDescription.js} +7 -7
- package/dist/models/AiSceneAnalysisAutomaticAdPlacement.d.ts +15 -0
- package/dist/models/AiSceneAnalysisAutomaticAdPlacement.js +20 -0
- package/dist/models/AiSceneAnalysisFeatures.d.ts +22 -0
- package/dist/models/AiSceneAnalysisFeatures.js +22 -0
- package/dist/models/EncodingTemplateUrlResponse.d.ts +14 -0
- package/dist/models/EncodingTemplateUrlResponse.js +19 -0
- package/dist/models/StartEncodingRequest.d.ts +4 -4
- package/dist/models/StartEncodingRequest.js +2 -2
- package/dist/models/index.d.ts +5 -4
- package/dist/models/index.js +5 -4
- package/package.json +1 -1
- package/dist/models/AiContentAnalysis.d.ts +0 -22
- package/dist/models/AiContentAnalysis.js +0 -22
- package/dist/models/AiContentAnalysisAssetDescription.d.ts +0 -20
- package/dist/models/AiContentAnalysisAutomaticAdPlacement.d.ts +0 -15
- package/dist/models/AiContentAnalysisAutomaticAdPlacement.js +0 -20
- package/dist/models/AiContentAnalysisFeatures.d.ts +0 -22
- 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.
|
|
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);
|
|
@@ -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;
|
package/dist/models/{AiContentAnalysisAssetDescription.js → AiSceneAnalysisAssetDescription.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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
|
|
8
|
+
* @class AiSceneAnalysisAssetDescription
|
|
9
9
|
*/
|
|
10
|
-
var
|
|
11
|
-
function
|
|
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
|
|
18
|
+
return AiSceneAnalysisAssetDescription;
|
|
19
19
|
}());
|
|
20
|
-
exports.
|
|
21
|
-
exports.default =
|
|
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,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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import AiSceneAnalysis from './AiSceneAnalysis';
|
|
2
2
|
import EncodingMode from './EncodingMode';
|
|
3
3
|
import ManifestGenerator from './ManifestGenerator';
|
|
4
4
|
import ManifestResource from './ManifestResource';
|
|
@@ -84,11 +84,11 @@ export declare class StartEncodingRequest {
|
|
|
84
84
|
*/
|
|
85
85
|
perTitle?: PerTitle;
|
|
86
86
|
/**
|
|
87
|
-
* AI
|
|
88
|
-
* @type {
|
|
87
|
+
* AI scene analysis settings
|
|
88
|
+
* @type {AiSceneAnalysis}
|
|
89
89
|
* @memberof StartEncodingRequest
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
aiSceneAnalysis?: AiSceneAnalysis;
|
|
92
92
|
constructor(obj?: Partial<StartEncodingRequest>);
|
|
93
93
|
}
|
|
94
94
|
export default StartEncodingRequest;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartEncodingRequest = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var
|
|
5
|
+
var AiSceneAnalysis_1 = require("./AiSceneAnalysis");
|
|
6
6
|
var ManifestResource_1 = require("./ManifestResource");
|
|
7
7
|
var PerTitle_1 = require("./PerTitle");
|
|
8
8
|
var Scheduling_1 = require("./Scheduling");
|
|
@@ -29,7 +29,7 @@ var StartEncodingRequest = /** @class */ (function () {
|
|
|
29
29
|
this.vodSmoothManifests = (0, Mapper_1.mapArray)(obj.vodSmoothManifests, ManifestResource_1.default);
|
|
30
30
|
this.manifestGenerator = (0, Mapper_1.map)(obj.manifestGenerator);
|
|
31
31
|
this.perTitle = (0, Mapper_1.map)(obj.perTitle, PerTitle_1.default);
|
|
32
|
-
this.
|
|
32
|
+
this.aiSceneAnalysis = (0, Mapper_1.map)(obj.aiSceneAnalysis, AiSceneAnalysis_1.default);
|
|
33
33
|
}
|
|
34
34
|
return StartEncodingRequest;
|
|
35
35
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,10 +39,10 @@ export * from './AdaptationSetTypeResponse';
|
|
|
39
39
|
export * from './AdaptiveQuantMode';
|
|
40
40
|
export * from './AesEncryptionDrm';
|
|
41
41
|
export * from './AesEncryptionMethod';
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
45
|
-
export * from './
|
|
42
|
+
export * from './AiSceneAnalysis';
|
|
43
|
+
export * from './AiSceneAnalysisAssetDescription';
|
|
44
|
+
export * from './AiSceneAnalysisAutomaticAdPlacement';
|
|
45
|
+
export * from './AiSceneAnalysisFeatures';
|
|
46
46
|
export * from './AiService';
|
|
47
47
|
export * from './AiServiceProvider';
|
|
48
48
|
export * from './AkamaiAccount';
|
|
@@ -372,6 +372,7 @@ export * from './EncodingTemplateRequest';
|
|
|
372
372
|
export * from './EncodingTemplateResponse';
|
|
373
373
|
export * from './EncodingTemplateStartResponse';
|
|
374
374
|
export * from './EncodingTemplateType';
|
|
375
|
+
export * from './EncodingTemplateUrlResponse';
|
|
375
376
|
export * from './EncodingType';
|
|
376
377
|
export * from './EncryptionMode';
|
|
377
378
|
export * from './EnhancedDeinterlaceAutoEnable';
|
package/dist/models/index.js
CHANGED
|
@@ -55,10 +55,10 @@ __exportStar(require("./AdaptationSetTypeResponse"), exports);
|
|
|
55
55
|
__exportStar(require("./AdaptiveQuantMode"), exports);
|
|
56
56
|
__exportStar(require("./AesEncryptionDrm"), exports);
|
|
57
57
|
__exportStar(require("./AesEncryptionMethod"), exports);
|
|
58
|
-
__exportStar(require("./
|
|
59
|
-
__exportStar(require("./
|
|
60
|
-
__exportStar(require("./
|
|
61
|
-
__exportStar(require("./
|
|
58
|
+
__exportStar(require("./AiSceneAnalysis"), exports);
|
|
59
|
+
__exportStar(require("./AiSceneAnalysisAssetDescription"), exports);
|
|
60
|
+
__exportStar(require("./AiSceneAnalysisAutomaticAdPlacement"), exports);
|
|
61
|
+
__exportStar(require("./AiSceneAnalysisFeatures"), exports);
|
|
62
62
|
__exportStar(require("./AiService"), exports);
|
|
63
63
|
__exportStar(require("./AiServiceProvider"), exports);
|
|
64
64
|
__exportStar(require("./AkamaiAccount"), exports);
|
|
@@ -388,6 +388,7 @@ __exportStar(require("./EncodingTemplateRequest"), exports);
|
|
|
388
388
|
__exportStar(require("./EncodingTemplateResponse"), exports);
|
|
389
389
|
__exportStar(require("./EncodingTemplateStartResponse"), exports);
|
|
390
390
|
__exportStar(require("./EncodingTemplateType"), exports);
|
|
391
|
+
__exportStar(require("./EncodingTemplateUrlResponse"), exports);
|
|
391
392
|
__exportStar(require("./EncodingType"), exports);
|
|
392
393
|
__exportStar(require("./EncryptionMode"), exports);
|
|
393
394
|
__exportStar(require("./EnhancedDeinterlaceAutoEnable"), exports);
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import AiContentAnalysisFeatures from './AiContentAnalysisFeatures';
|
|
2
|
-
import AiService from './AiService';
|
|
3
|
-
/**
|
|
4
|
-
* @export
|
|
5
|
-
* @class AiContentAnalysis
|
|
6
|
-
*/
|
|
7
|
-
export declare class AiContentAnalysis {
|
|
8
|
-
/**
|
|
9
|
-
* AI service settings
|
|
10
|
-
* @type {AiService}
|
|
11
|
-
* @memberof AiContentAnalysis
|
|
12
|
-
*/
|
|
13
|
-
aiService?: AiService;
|
|
14
|
-
/**
|
|
15
|
-
* Features of the AI content analysis
|
|
16
|
-
* @type {AiContentAnalysisFeatures}
|
|
17
|
-
* @memberof AiContentAnalysis
|
|
18
|
-
*/
|
|
19
|
-
features?: AiContentAnalysisFeatures;
|
|
20
|
-
constructor(obj?: Partial<AiContentAnalysis>);
|
|
21
|
-
}
|
|
22
|
-
export default AiContentAnalysis;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AiContentAnalysis = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var AiContentAnalysisFeatures_1 = require("./AiContentAnalysisFeatures");
|
|
6
|
-
var AiService_1 = require("./AiService");
|
|
7
|
-
/**
|
|
8
|
-
* @export
|
|
9
|
-
* @class AiContentAnalysis
|
|
10
|
-
*/
|
|
11
|
-
var AiContentAnalysis = /** @class */ (function () {
|
|
12
|
-
function AiContentAnalysis(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, AiContentAnalysisFeatures_1.default);
|
|
18
|
-
}
|
|
19
|
-
return AiContentAnalysis;
|
|
20
|
-
}());
|
|
21
|
-
exports.AiContentAnalysis = AiContentAnalysis;
|
|
22
|
-
exports.default = AiContentAnalysis;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import EncodingOutput from './EncodingOutput';
|
|
2
|
-
/**
|
|
3
|
-
* @export
|
|
4
|
-
* @class AiContentAnalysisAssetDescription
|
|
5
|
-
*/
|
|
6
|
-
export declare class AiContentAnalysisAssetDescription {
|
|
7
|
-
/**
|
|
8
|
-
* Name of the output json file
|
|
9
|
-
* @type {string}
|
|
10
|
-
* @memberof AiContentAnalysisAssetDescription
|
|
11
|
-
*/
|
|
12
|
-
filename?: string;
|
|
13
|
-
/**
|
|
14
|
-
* @type {EncodingOutput[]}
|
|
15
|
-
* @memberof AiContentAnalysisAssetDescription
|
|
16
|
-
*/
|
|
17
|
-
outputs?: EncodingOutput[];
|
|
18
|
-
constructor(obj?: Partial<AiContentAnalysisAssetDescription>);
|
|
19
|
-
}
|
|
20
|
-
export default AiContentAnalysisAssetDescription;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import AutomaticAdPlacementPosition from './AutomaticAdPlacementPosition';
|
|
2
|
-
/**
|
|
3
|
-
* @export
|
|
4
|
-
* @class AiContentAnalysisAutomaticAdPlacement
|
|
5
|
-
*/
|
|
6
|
-
export declare class AiContentAnalysisAutomaticAdPlacement {
|
|
7
|
-
/**
|
|
8
|
-
* Ad placements schedule
|
|
9
|
-
* @type {AutomaticAdPlacementPosition[]}
|
|
10
|
-
* @memberof AiContentAnalysisAutomaticAdPlacement
|
|
11
|
-
*/
|
|
12
|
-
schedule?: AutomaticAdPlacementPosition[];
|
|
13
|
-
constructor(obj?: Partial<AiContentAnalysisAutomaticAdPlacement>);
|
|
14
|
-
}
|
|
15
|
-
export default AiContentAnalysisAutomaticAdPlacement;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AiContentAnalysisAutomaticAdPlacement = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var AutomaticAdPlacementPosition_1 = require("./AutomaticAdPlacementPosition");
|
|
6
|
-
/**
|
|
7
|
-
* @export
|
|
8
|
-
* @class AiContentAnalysisAutomaticAdPlacement
|
|
9
|
-
*/
|
|
10
|
-
var AiContentAnalysisAutomaticAdPlacement = /** @class */ (function () {
|
|
11
|
-
function AiContentAnalysisAutomaticAdPlacement(obj) {
|
|
12
|
-
if (!obj) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
this.schedule = (0, Mapper_1.mapArray)(obj.schedule, AutomaticAdPlacementPosition_1.default);
|
|
16
|
-
}
|
|
17
|
-
return AiContentAnalysisAutomaticAdPlacement;
|
|
18
|
-
}());
|
|
19
|
-
exports.AiContentAnalysisAutomaticAdPlacement = AiContentAnalysisAutomaticAdPlacement;
|
|
20
|
-
exports.default = AiContentAnalysisAutomaticAdPlacement;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import AiContentAnalysisAssetDescription from './AiContentAnalysisAssetDescription';
|
|
2
|
-
import AiContentAnalysisAutomaticAdPlacement from './AiContentAnalysisAutomaticAdPlacement';
|
|
3
|
-
/**
|
|
4
|
-
* @export
|
|
5
|
-
* @class AiContentAnalysisFeatures
|
|
6
|
-
*/
|
|
7
|
-
export declare class AiContentAnalysisFeatures {
|
|
8
|
-
/**
|
|
9
|
-
* AI content analysis will create an asset description file.
|
|
10
|
-
* @type {AiContentAnalysisAssetDescription}
|
|
11
|
-
* @memberof AiContentAnalysisFeatures
|
|
12
|
-
*/
|
|
13
|
-
assetDescription?: AiContentAnalysisAssetDescription;
|
|
14
|
-
/**
|
|
15
|
-
* Ad markers placed on detected scene changes and configured positions.
|
|
16
|
-
* @type {AiContentAnalysisAutomaticAdPlacement}
|
|
17
|
-
* @memberof AiContentAnalysisFeatures
|
|
18
|
-
*/
|
|
19
|
-
automaticAdPlacement?: AiContentAnalysisAutomaticAdPlacement;
|
|
20
|
-
constructor(obj?: Partial<AiContentAnalysisFeatures>);
|
|
21
|
-
}
|
|
22
|
-
export default AiContentAnalysisFeatures;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AiContentAnalysisFeatures = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var AiContentAnalysisAssetDescription_1 = require("./AiContentAnalysisAssetDescription");
|
|
6
|
-
var AiContentAnalysisAutomaticAdPlacement_1 = require("./AiContentAnalysisAutomaticAdPlacement");
|
|
7
|
-
/**
|
|
8
|
-
* @export
|
|
9
|
-
* @class AiContentAnalysisFeatures
|
|
10
|
-
*/
|
|
11
|
-
var AiContentAnalysisFeatures = /** @class */ (function () {
|
|
12
|
-
function AiContentAnalysisFeatures(obj) {
|
|
13
|
-
if (!obj) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
this.assetDescription = (0, Mapper_1.map)(obj.assetDescription, AiContentAnalysisAssetDescription_1.default);
|
|
17
|
-
this.automaticAdPlacement = (0, Mapper_1.map)(obj.automaticAdPlacement, AiContentAnalysisAutomaticAdPlacement_1.default);
|
|
18
|
-
}
|
|
19
|
-
return AiContentAnalysisFeatures;
|
|
20
|
-
}());
|
|
21
|
-
exports.AiContentAnalysisFeatures = AiContentAnalysisFeatures;
|
|
22
|
-
exports.default = AiContentAnalysisFeatures;
|