@bitmovin/api-sdk 1.220.0 → 1.222.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.
@@ -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.220.0',
243
+ 'X-Api-Client-Version': '1.222.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,8 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum AiServiceProvider {
6
+ GOOGLE = "GOOGLE"
7
+ }
8
+ export default AiServiceProvider;
@@ -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;
@@ -183,6 +183,126 @@ export declare class AnalyticsLicenseCustomDataFieldLabels {
183
183
  * @memberof AnalyticsLicenseCustomDataFieldLabels
184
184
  */
185
185
  customData30?: string;
186
+ /**
187
+ * Label for field Custom Data 31
188
+ * @type {string}
189
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
190
+ */
191
+ customData31?: string;
192
+ /**
193
+ * Label for field Custom Data 32
194
+ * @type {string}
195
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
196
+ */
197
+ customData32?: string;
198
+ /**
199
+ * Label for field Custom Data 33
200
+ * @type {string}
201
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
202
+ */
203
+ customData33?: string;
204
+ /**
205
+ * Label for field Custom Data 34
206
+ * @type {string}
207
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
208
+ */
209
+ customData34?: string;
210
+ /**
211
+ * Label for field Custom Data 35
212
+ * @type {string}
213
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
214
+ */
215
+ customData35?: string;
216
+ /**
217
+ * Label for field Custom Data 36
218
+ * @type {string}
219
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
220
+ */
221
+ customData36?: string;
222
+ /**
223
+ * Label for field Custom Data 37
224
+ * @type {string}
225
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
226
+ */
227
+ customData37?: string;
228
+ /**
229
+ * Label for field Custom Data 38
230
+ * @type {string}
231
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
232
+ */
233
+ customData38?: string;
234
+ /**
235
+ * Label for field Custom Data 39
236
+ * @type {string}
237
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
238
+ */
239
+ customData39?: string;
240
+ /**
241
+ * Label for field Custom Data 40
242
+ * @type {string}
243
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
244
+ */
245
+ customData40?: string;
246
+ /**
247
+ * Label for field Custom Data 41
248
+ * @type {string}
249
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
250
+ */
251
+ customData41?: string;
252
+ /**
253
+ * Label for field Custom Data 42
254
+ * @type {string}
255
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
256
+ */
257
+ customData42?: string;
258
+ /**
259
+ * Label for field Custom Data 43
260
+ * @type {string}
261
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
262
+ */
263
+ customData43?: string;
264
+ /**
265
+ * Label for field Custom Data 44
266
+ * @type {string}
267
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
268
+ */
269
+ customData44?: string;
270
+ /**
271
+ * Label for field Custom Data 45
272
+ * @type {string}
273
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
274
+ */
275
+ customData45?: string;
276
+ /**
277
+ * Label for field Custom Data 46
278
+ * @type {string}
279
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
280
+ */
281
+ customData46?: string;
282
+ /**
283
+ * Label for field Custom Data 47
284
+ * @type {string}
285
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
286
+ */
287
+ customData47?: string;
288
+ /**
289
+ * Label for field Custom Data 48
290
+ * @type {string}
291
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
292
+ */
293
+ customData48?: string;
294
+ /**
295
+ * Label for field Custom Data 49
296
+ * @type {string}
297
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
298
+ */
299
+ customData49?: string;
300
+ /**
301
+ * Label for field Custom Data 50
302
+ * @type {string}
303
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
304
+ */
305
+ customData50?: string;
186
306
  constructor(obj?: Partial<AnalyticsLicenseCustomDataFieldLabels>);
187
307
  }
188
308
  export default AnalyticsLicenseCustomDataFieldLabels;
@@ -41,6 +41,26 @@ var AnalyticsLicenseCustomDataFieldLabels = /** @class */ (function () {
41
41
  this.customData28 = (0, Mapper_1.map)(obj.customData28);
42
42
  this.customData29 = (0, Mapper_1.map)(obj.customData29);
43
43
  this.customData30 = (0, Mapper_1.map)(obj.customData30);
44
+ this.customData31 = (0, Mapper_1.map)(obj.customData31);
45
+ this.customData32 = (0, Mapper_1.map)(obj.customData32);
46
+ this.customData33 = (0, Mapper_1.map)(obj.customData33);
47
+ this.customData34 = (0, Mapper_1.map)(obj.customData34);
48
+ this.customData35 = (0, Mapper_1.map)(obj.customData35);
49
+ this.customData36 = (0, Mapper_1.map)(obj.customData36);
50
+ this.customData37 = (0, Mapper_1.map)(obj.customData37);
51
+ this.customData38 = (0, Mapper_1.map)(obj.customData38);
52
+ this.customData39 = (0, Mapper_1.map)(obj.customData39);
53
+ this.customData40 = (0, Mapper_1.map)(obj.customData40);
54
+ this.customData41 = (0, Mapper_1.map)(obj.customData41);
55
+ this.customData42 = (0, Mapper_1.map)(obj.customData42);
56
+ this.customData43 = (0, Mapper_1.map)(obj.customData43);
57
+ this.customData44 = (0, Mapper_1.map)(obj.customData44);
58
+ this.customData45 = (0, Mapper_1.map)(obj.customData45);
59
+ this.customData46 = (0, Mapper_1.map)(obj.customData46);
60
+ this.customData47 = (0, Mapper_1.map)(obj.customData47);
61
+ this.customData48 = (0, Mapper_1.map)(obj.customData48);
62
+ this.customData49 = (0, Mapper_1.map)(obj.customData49);
63
+ this.customData50 = (0, Mapper_1.map)(obj.customData50);
44
64
  }
45
65
  return AnalyticsLicenseCustomDataFieldLabels;
46
66
  }());
@@ -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
  }());
@@ -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';
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.220.0",
3
+ "version": "1.222.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [