@bitmovin/api-sdk 1.221.0 → 1.223.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/bitmovin-api-sdk.browser.js +224 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AiContentAnalysis.d.ts +22 -0
- package/dist/models/AiContentAnalysis.js +22 -0
- package/dist/models/AiContentAnalysisAssetDescription.d.ts +20 -0
- package/dist/models/AiContentAnalysisAssetDescription.js +21 -0
- package/dist/models/AiContentAnalysisAutomaticAdPlacement.d.ts +15 -0
- package/dist/models/AiContentAnalysisAutomaticAdPlacement.js +20 -0
- package/dist/models/AiContentAnalysisFeatures.d.ts +22 -0
- package/dist/models/AiContentAnalysisFeatures.js +22 -0
- package/dist/models/AiService.d.ts +15 -0
- package/dist/models/AiService.js +19 -0
- package/dist/models/AiServiceProvider.d.ts +8 -0
- package/dist/models/AiServiceProvider.js +12 -0
- package/dist/models/AutomaticAdPlacementPosition.d.ts +26 -0
- package/dist/models/AutomaticAdPlacementPosition.js +21 -0
- package/dist/models/StartEncodingRequest.d.ts +7 -0
- package/dist/models/StartEncodingRequest.js +2 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
|
@@ -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.223.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -0,0 +1,22 @@
|
|
|
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
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;
|
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiContentAnalysisAssetDescription = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var EncodingOutput_1 = require("./EncodingOutput");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class AiContentAnalysisAssetDescription
|
|
9
|
+
*/
|
|
10
|
+
var AiContentAnalysisAssetDescription = /** @class */ (function () {
|
|
11
|
+
function AiContentAnalysisAssetDescription(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.filename = (0, Mapper_1.map)(obj.filename);
|
|
16
|
+
this.outputs = (0, Mapper_1.mapArray)(obj.outputs, EncodingOutput_1.default);
|
|
17
|
+
}
|
|
18
|
+
return AiContentAnalysisAssetDescription;
|
|
19
|
+
}());
|
|
20
|
+
exports.AiContentAnalysisAssetDescription = AiContentAnalysisAssetDescription;
|
|
21
|
+
exports.default = AiContentAnalysisAssetDescription;
|
|
@@ -0,0 +1,15 @@
|
|
|
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;
|
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import AiServiceProvider from './AiServiceProvider';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class AiService
|
|
5
|
+
*/
|
|
6
|
+
export declare class AiService {
|
|
7
|
+
/**
|
|
8
|
+
* AI service provider
|
|
9
|
+
* @type {AiServiceProvider}
|
|
10
|
+
* @memberof AiService
|
|
11
|
+
*/
|
|
12
|
+
provider?: AiServiceProvider;
|
|
13
|
+
constructor(obj?: Partial<AiService>);
|
|
14
|
+
}
|
|
15
|
+
export default AiService;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiService = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class AiService
|
|
8
|
+
*/
|
|
9
|
+
var AiService = /** @class */ (function () {
|
|
10
|
+
function AiService(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.provider = (0, Mapper_1.map)(obj.provider);
|
|
15
|
+
}
|
|
16
|
+
return AiService;
|
|
17
|
+
}());
|
|
18
|
+
exports.AiService = AiService;
|
|
19
|
+
exports.default = AiService;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiServiceProvider = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var AiServiceProvider;
|
|
9
|
+
(function (AiServiceProvider) {
|
|
10
|
+
AiServiceProvider["GOOGLE"] = "GOOGLE";
|
|
11
|
+
})(AiServiceProvider || (exports.AiServiceProvider = AiServiceProvider = {}));
|
|
12
|
+
exports.default = AiServiceProvider;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class AutomaticAdPlacementPosition
|
|
4
|
+
*/
|
|
5
|
+
export declare class AutomaticAdPlacementPosition {
|
|
6
|
+
/**
|
|
7
|
+
* Position of the ad placement in seconds.
|
|
8
|
+
* @type {number}
|
|
9
|
+
* @memberof AutomaticAdPlacementPosition
|
|
10
|
+
*/
|
|
11
|
+
position?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Maximum deviation in seconds to the ad placement position.
|
|
14
|
+
* @type {number}
|
|
15
|
+
* @memberof AutomaticAdPlacementPosition
|
|
16
|
+
*/
|
|
17
|
+
maxDeviation?: number;
|
|
18
|
+
/**
|
|
19
|
+
* The desired duration in seconds of the ad to be inserted.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AutomaticAdPlacementPosition
|
|
22
|
+
*/
|
|
23
|
+
duration?: number;
|
|
24
|
+
constructor(obj?: Partial<AutomaticAdPlacementPosition>);
|
|
25
|
+
}
|
|
26
|
+
export default AutomaticAdPlacementPosition;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AutomaticAdPlacementPosition = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class AutomaticAdPlacementPosition
|
|
8
|
+
*/
|
|
9
|
+
var AutomaticAdPlacementPosition = /** @class */ (function () {
|
|
10
|
+
function AutomaticAdPlacementPosition(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.position = (0, Mapper_1.map)(obj.position);
|
|
15
|
+
this.maxDeviation = (0, Mapper_1.map)(obj.maxDeviation);
|
|
16
|
+
this.duration = (0, Mapper_1.map)(obj.duration);
|
|
17
|
+
}
|
|
18
|
+
return AutomaticAdPlacementPosition;
|
|
19
|
+
}());
|
|
20
|
+
exports.AutomaticAdPlacementPosition = AutomaticAdPlacementPosition;
|
|
21
|
+
exports.default = AutomaticAdPlacementPosition;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import AiContentAnalysis from './AiContentAnalysis';
|
|
1
2
|
import EncodingMode from './EncodingMode';
|
|
2
3
|
import ManifestGenerator from './ManifestGenerator';
|
|
3
4
|
import ManifestResource from './ManifestResource';
|
|
@@ -82,6 +83,12 @@ export declare class StartEncodingRequest {
|
|
|
82
83
|
* @memberof StartEncodingRequest
|
|
83
84
|
*/
|
|
84
85
|
perTitle?: PerTitle;
|
|
86
|
+
/**
|
|
87
|
+
* AI content analysis settings
|
|
88
|
+
* @type {AiContentAnalysis}
|
|
89
|
+
* @memberof StartEncodingRequest
|
|
90
|
+
*/
|
|
91
|
+
aiContentAnalysis?: AiContentAnalysis;
|
|
85
92
|
constructor(obj?: Partial<StartEncodingRequest>);
|
|
86
93
|
}
|
|
87
94
|
export default StartEncodingRequest;
|
|
@@ -2,6 +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 AiContentAnalysis_1 = require("./AiContentAnalysis");
|
|
5
6
|
var ManifestResource_1 = require("./ManifestResource");
|
|
6
7
|
var PerTitle_1 = require("./PerTitle");
|
|
7
8
|
var Scheduling_1 = require("./Scheduling");
|
|
@@ -28,6 +29,7 @@ var StartEncodingRequest = /** @class */ (function () {
|
|
|
28
29
|
this.vodSmoothManifests = (0, Mapper_1.mapArray)(obj.vodSmoothManifests, ManifestResource_1.default);
|
|
29
30
|
this.manifestGenerator = (0, Mapper_1.map)(obj.manifestGenerator);
|
|
30
31
|
this.perTitle = (0, Mapper_1.map)(obj.perTitle, PerTitle_1.default);
|
|
32
|
+
this.aiContentAnalysis = (0, Mapper_1.map)(obj.aiContentAnalysis, AiContentAnalysis_1.default);
|
|
31
33
|
}
|
|
32
34
|
return StartEncodingRequest;
|
|
33
35
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,6 +39,12 @@ export * from './AdaptationSetTypeResponse';
|
|
|
39
39
|
export * from './AdaptiveQuantMode';
|
|
40
40
|
export * from './AesEncryptionDrm';
|
|
41
41
|
export * from './AesEncryptionMethod';
|
|
42
|
+
export * from './AiContentAnalysis';
|
|
43
|
+
export * from './AiContentAnalysisAssetDescription';
|
|
44
|
+
export * from './AiContentAnalysisAutomaticAdPlacement';
|
|
45
|
+
export * from './AiContentAnalysisFeatures';
|
|
46
|
+
export * from './AiService';
|
|
47
|
+
export * from './AiServiceProvider';
|
|
42
48
|
export * from './AkamaiAccount';
|
|
43
49
|
export * from './AkamaiAccountRegionSettings';
|
|
44
50
|
export * from './AkamaiCloudRegion';
|
|
@@ -136,6 +142,7 @@ export * from './AudioVolumeUnit';
|
|
|
136
142
|
export * from './AutoLevelSetup';
|
|
137
143
|
export * from './AutoRepresentation';
|
|
138
144
|
export * from './AutoRestartConfiguration';
|
|
145
|
+
export * from './AutomaticAdPlacementPosition';
|
|
139
146
|
export * from './Av1PerTitleConfiguration';
|
|
140
147
|
export * from './Av1PresetConfiguration';
|
|
141
148
|
export * from './Av1VideoConfiguration';
|
package/dist/models/index.js
CHANGED
|
@@ -55,6 +55,12 @@ __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("./AiContentAnalysis"), exports);
|
|
59
|
+
__exportStar(require("./AiContentAnalysisAssetDescription"), exports);
|
|
60
|
+
__exportStar(require("./AiContentAnalysisAutomaticAdPlacement"), exports);
|
|
61
|
+
__exportStar(require("./AiContentAnalysisFeatures"), exports);
|
|
62
|
+
__exportStar(require("./AiService"), exports);
|
|
63
|
+
__exportStar(require("./AiServiceProvider"), exports);
|
|
58
64
|
__exportStar(require("./AkamaiAccount"), exports);
|
|
59
65
|
__exportStar(require("./AkamaiAccountRegionSettings"), exports);
|
|
60
66
|
__exportStar(require("./AkamaiCloudRegion"), exports);
|
|
@@ -152,6 +158,7 @@ __exportStar(require("./AudioVolumeUnit"), exports);
|
|
|
152
158
|
__exportStar(require("./AutoLevelSetup"), exports);
|
|
153
159
|
__exportStar(require("./AutoRepresentation"), exports);
|
|
154
160
|
__exportStar(require("./AutoRestartConfiguration"), exports);
|
|
161
|
+
__exportStar(require("./AutomaticAdPlacementPosition"), exports);
|
|
155
162
|
__exportStar(require("./Av1PerTitleConfiguration"), exports);
|
|
156
163
|
__exportStar(require("./Av1PresetConfiguration"), exports);
|
|
157
164
|
__exportStar(require("./Av1VideoConfiguration"), exports);
|