@bitmovin/api-sdk 1.236.0 → 1.238.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/aiSceneAnalysis/analyses/byEncodingId/ByEncodingIdApi.d.ts +2 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/ByEncodingIdApi.js +2 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.d.ts +2 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.js +4 -1
- package/dist/aiSceneAnalysis/analyses/byEncodingId/details/language/LanguageApi.d.ts +20 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/details/language/LanguageApi.js +50 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/languages/LanguagesApi.d.ts +19 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/languages/LanguagesApi.js +48 -0
- package/dist/bitmovin-api-sdk.browser.js +191 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AiSceneAnalysisFeatures.d.ts +7 -0
- package/dist/models/AiSceneAnalysisFeatures.js +2 -0
- package/dist/models/AiSceneAnalysisOutputLanguageCodes.d.ts +13 -0
- package/dist/models/AiSceneAnalysisOutputLanguageCodes.js +19 -0
- package/dist/models/SceneAnalysisLanguagesResponse.d.ts +13 -0
- package/dist/models/SceneAnalysisLanguagesResponse.js +19 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../../common/Configuration';
|
|
3
3
|
import DetailsApi from './details/DetailsApi';
|
|
4
|
+
import LanguagesApi from './languages/LanguagesApi';
|
|
4
5
|
/**
|
|
5
6
|
* ByEncodingIdApi - object-oriented interface
|
|
6
7
|
* @export
|
|
@@ -9,5 +10,6 @@ import DetailsApi from './details/DetailsApi';
|
|
|
9
10
|
*/
|
|
10
11
|
export default class ByEncodingIdApi extends BaseAPI {
|
|
11
12
|
details: DetailsApi;
|
|
13
|
+
languages: LanguagesApi;
|
|
12
14
|
constructor(configuration: Configuration);
|
|
13
15
|
}
|
|
@@ -17,6 +17,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
19
19
|
var DetailsApi_1 = require("./details/DetailsApi");
|
|
20
|
+
var LanguagesApi_1 = require("./languages/LanguagesApi");
|
|
20
21
|
/**
|
|
21
22
|
* ByEncodingIdApi - object-oriented interface
|
|
22
23
|
* @export
|
|
@@ -28,6 +29,7 @@ var ByEncodingIdApi = /** @class */ (function (_super) {
|
|
|
28
29
|
function ByEncodingIdApi(configuration) {
|
|
29
30
|
var _this = _super.call(this, configuration) || this;
|
|
30
31
|
_this.details = new DetailsApi_1.default(configuration);
|
|
32
|
+
_this.languages = new LanguagesApi_1.default(configuration);
|
|
31
33
|
return _this;
|
|
32
34
|
}
|
|
33
35
|
return ByEncodingIdApi;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import LanguageApi from './language/LanguageApi';
|
|
3
4
|
import SceneAnalysisDetailsResponse from '../../../../models/SceneAnalysisDetailsResponse';
|
|
4
5
|
/**
|
|
5
6
|
* DetailsApi - object-oriented interface
|
|
@@ -8,6 +9,7 @@ import SceneAnalysisDetailsResponse from '../../../../models/SceneAnalysisDetail
|
|
|
8
9
|
* @extends {BaseAPI}
|
|
9
10
|
*/
|
|
10
11
|
export default class DetailsApi extends BaseAPI {
|
|
12
|
+
language: LanguageApi;
|
|
11
13
|
constructor(configuration: Configuration);
|
|
12
14
|
/**
|
|
13
15
|
* @summary Get AI scene analysis details by encoding ID
|
|
@@ -17,6 +17,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var BaseAPI_1 = require("../../../../common/BaseAPI");
|
|
19
19
|
var Mapper_1 = require("../../../../common/Mapper");
|
|
20
|
+
var LanguageApi_1 = require("./language/LanguageApi");
|
|
20
21
|
var SceneAnalysisDetailsResponse_1 = require("../../../../models/SceneAnalysisDetailsResponse");
|
|
21
22
|
/**
|
|
22
23
|
* DetailsApi - object-oriented interface
|
|
@@ -27,7 +28,9 @@ var SceneAnalysisDetailsResponse_1 = require("../../../../models/SceneAnalysisDe
|
|
|
27
28
|
var DetailsApi = /** @class */ (function (_super) {
|
|
28
29
|
__extends(DetailsApi, _super);
|
|
29
30
|
function DetailsApi(configuration) {
|
|
30
|
-
|
|
31
|
+
var _this = _super.call(this, configuration) || this;
|
|
32
|
+
_this.language = new LanguageApi_1.default(configuration);
|
|
33
|
+
return _this;
|
|
31
34
|
}
|
|
32
35
|
/**
|
|
33
36
|
* @summary Get AI scene analysis details by encoding ID
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../../common/Configuration';
|
|
3
|
+
import SceneAnalysisDetailsResponse from '../../../../../models/SceneAnalysisDetailsResponse';
|
|
4
|
+
/**
|
|
5
|
+
* LanguageApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class LanguageApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class LanguageApi extends BaseAPI {
|
|
11
|
+
constructor(configuration: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* @summary Get translated AI scene analysis details by encoding ID and language code
|
|
14
|
+
* @param {string} encodingId The encoding ID
|
|
15
|
+
* @param {string} languageCode The language code
|
|
16
|
+
* @throws {BitmovinError}
|
|
17
|
+
* @memberof LanguageApi
|
|
18
|
+
*/
|
|
19
|
+
get(encodingId: string, languageCode: string): Promise<SceneAnalysisDetailsResponse>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 SceneAnalysisDetailsResponse_1 = require("../../../../../models/SceneAnalysisDetailsResponse");
|
|
21
|
+
/**
|
|
22
|
+
* LanguageApi - object-oriented interface
|
|
23
|
+
* @export
|
|
24
|
+
* @class LanguageApi
|
|
25
|
+
* @extends {BaseAPI}
|
|
26
|
+
*/
|
|
27
|
+
var LanguageApi = /** @class */ (function (_super) {
|
|
28
|
+
__extends(LanguageApi, _super);
|
|
29
|
+
function LanguageApi(configuration) {
|
|
30
|
+
return _super.call(this, configuration) || this;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @summary Get translated AI scene analysis details by encoding ID and language code
|
|
34
|
+
* @param {string} encodingId The encoding ID
|
|
35
|
+
* @param {string} languageCode The language code
|
|
36
|
+
* @throws {BitmovinError}
|
|
37
|
+
* @memberof LanguageApi
|
|
38
|
+
*/
|
|
39
|
+
LanguageApi.prototype.get = function (encodingId, languageCode) {
|
|
40
|
+
var pathParamMap = {
|
|
41
|
+
encoding_id: encodingId,
|
|
42
|
+
language_code: languageCode
|
|
43
|
+
};
|
|
44
|
+
return this.restClient.get('/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/details/language/{language_code}', pathParamMap).then(function (response) {
|
|
45
|
+
return (0, Mapper_1.map)(response, SceneAnalysisDetailsResponse_1.default);
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
return LanguageApi;
|
|
49
|
+
}(BaseAPI_1.BaseAPI));
|
|
50
|
+
exports.default = LanguageApi;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import SceneAnalysisLanguagesResponse from '../../../../models/SceneAnalysisLanguagesResponse';
|
|
4
|
+
/**
|
|
5
|
+
* LanguagesApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class LanguagesApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class LanguagesApi extends BaseAPI {
|
|
11
|
+
constructor(configuration: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* @summary Get AI scene analysis languages by encoding ID
|
|
14
|
+
* @param {string} encodingId The encoding ID
|
|
15
|
+
* @throws {BitmovinError}
|
|
16
|
+
* @memberof LanguagesApi
|
|
17
|
+
*/
|
|
18
|
+
get(encodingId: string): Promise<SceneAnalysisLanguagesResponse>;
|
|
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 SceneAnalysisLanguagesResponse_1 = require("../../../../models/SceneAnalysisLanguagesResponse");
|
|
21
|
+
/**
|
|
22
|
+
* LanguagesApi - object-oriented interface
|
|
23
|
+
* @export
|
|
24
|
+
* @class LanguagesApi
|
|
25
|
+
* @extends {BaseAPI}
|
|
26
|
+
*/
|
|
27
|
+
var LanguagesApi = /** @class */ (function (_super) {
|
|
28
|
+
__extends(LanguagesApi, _super);
|
|
29
|
+
function LanguagesApi(configuration) {
|
|
30
|
+
return _super.call(this, configuration) || this;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @summary Get AI scene analysis languages by encoding ID
|
|
34
|
+
* @param {string} encodingId The encoding ID
|
|
35
|
+
* @throws {BitmovinError}
|
|
36
|
+
* @memberof LanguagesApi
|
|
37
|
+
*/
|
|
38
|
+
LanguagesApi.prototype.get = function (encodingId) {
|
|
39
|
+
var pathParamMap = {
|
|
40
|
+
encoding_id: encodingId
|
|
41
|
+
};
|
|
42
|
+
return this.restClient.get('/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/languages', pathParamMap).then(function (response) {
|
|
43
|
+
return (0, Mapper_1.map)(response, SceneAnalysisLanguagesResponse_1.default);
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
return LanguagesApi;
|
|
47
|
+
}(BaseAPI_1.BaseAPI));
|
|
48
|
+
exports.default = LanguagesApi;
|
|
@@ -3265,6 +3265,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3265
3265
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3266
3266
|
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
3267
3267
|
var DetailsApi_1 = __webpack_require__(/*! ./details/DetailsApi */ "./aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.ts");
|
|
3268
|
+
var LanguagesApi_1 = __webpack_require__(/*! ./languages/LanguagesApi */ "./aiSceneAnalysis/analyses/byEncodingId/languages/LanguagesApi.ts");
|
|
3268
3269
|
/**
|
|
3269
3270
|
* ByEncodingIdApi - object-oriented interface
|
|
3270
3271
|
* @export
|
|
@@ -3276,6 +3277,7 @@ var ByEncodingIdApi = /** @class */ (function (_super) {
|
|
|
3276
3277
|
function ByEncodingIdApi(configuration) {
|
|
3277
3278
|
var _this = _super.call(this, configuration) || this;
|
|
3278
3279
|
_this.details = new DetailsApi_1.default(configuration);
|
|
3280
|
+
_this.languages = new LanguagesApi_1.default(configuration);
|
|
3279
3281
|
return _this;
|
|
3280
3282
|
}
|
|
3281
3283
|
return ByEncodingIdApi;
|
|
@@ -3311,6 +3313,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3311
3313
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3312
3314
|
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
3313
3315
|
var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
|
|
3316
|
+
var LanguageApi_1 = __webpack_require__(/*! ./language/LanguageApi */ "./aiSceneAnalysis/analyses/byEncodingId/details/language/LanguageApi.ts");
|
|
3314
3317
|
var SceneAnalysisDetailsResponse_1 = __webpack_require__(/*! ../../../../models/SceneAnalysisDetailsResponse */ "./models/SceneAnalysisDetailsResponse.ts");
|
|
3315
3318
|
/**
|
|
3316
3319
|
* DetailsApi - object-oriented interface
|
|
@@ -3321,7 +3324,9 @@ var SceneAnalysisDetailsResponse_1 = __webpack_require__(/*! ../../../../models/
|
|
|
3321
3324
|
var DetailsApi = /** @class */ (function (_super) {
|
|
3322
3325
|
__extends(DetailsApi, _super);
|
|
3323
3326
|
function DetailsApi(configuration) {
|
|
3324
|
-
|
|
3327
|
+
var _this = _super.call(this, configuration) || this;
|
|
3328
|
+
_this.language = new LanguageApi_1.default(configuration);
|
|
3329
|
+
return _this;
|
|
3325
3330
|
}
|
|
3326
3331
|
/**
|
|
3327
3332
|
* @summary Get AI scene analysis details by encoding ID
|
|
@@ -3342,6 +3347,126 @@ var DetailsApi = /** @class */ (function (_super) {
|
|
|
3342
3347
|
exports["default"] = DetailsApi;
|
|
3343
3348
|
|
|
3344
3349
|
|
|
3350
|
+
/***/ }),
|
|
3351
|
+
|
|
3352
|
+
/***/ "./aiSceneAnalysis/analyses/byEncodingId/details/language/LanguageApi.ts":
|
|
3353
|
+
/*!*******************************************************************************!*\
|
|
3354
|
+
!*** ./aiSceneAnalysis/analyses/byEncodingId/details/language/LanguageApi.ts ***!
|
|
3355
|
+
\*******************************************************************************/
|
|
3356
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3357
|
+
|
|
3358
|
+
"use strict";
|
|
3359
|
+
|
|
3360
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3361
|
+
var extendStatics = function (d, b) {
|
|
3362
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3363
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3364
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
3365
|
+
return extendStatics(d, b);
|
|
3366
|
+
};
|
|
3367
|
+
return function (d, b) {
|
|
3368
|
+
if (typeof b !== "function" && b !== null)
|
|
3369
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
3370
|
+
extendStatics(d, b);
|
|
3371
|
+
function __() { this.constructor = d; }
|
|
3372
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3373
|
+
};
|
|
3374
|
+
})();
|
|
3375
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3376
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
3377
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
3378
|
+
var SceneAnalysisDetailsResponse_1 = __webpack_require__(/*! ../../../../../models/SceneAnalysisDetailsResponse */ "./models/SceneAnalysisDetailsResponse.ts");
|
|
3379
|
+
/**
|
|
3380
|
+
* LanguageApi - object-oriented interface
|
|
3381
|
+
* @export
|
|
3382
|
+
* @class LanguageApi
|
|
3383
|
+
* @extends {BaseAPI}
|
|
3384
|
+
*/
|
|
3385
|
+
var LanguageApi = /** @class */ (function (_super) {
|
|
3386
|
+
__extends(LanguageApi, _super);
|
|
3387
|
+
function LanguageApi(configuration) {
|
|
3388
|
+
return _super.call(this, configuration) || this;
|
|
3389
|
+
}
|
|
3390
|
+
/**
|
|
3391
|
+
* @summary Get translated AI scene analysis details by encoding ID and language code
|
|
3392
|
+
* @param {string} encodingId The encoding ID
|
|
3393
|
+
* @param {string} languageCode The language code
|
|
3394
|
+
* @throws {BitmovinError}
|
|
3395
|
+
* @memberof LanguageApi
|
|
3396
|
+
*/
|
|
3397
|
+
LanguageApi.prototype.get = function (encodingId, languageCode) {
|
|
3398
|
+
var pathParamMap = {
|
|
3399
|
+
encoding_id: encodingId,
|
|
3400
|
+
language_code: languageCode
|
|
3401
|
+
};
|
|
3402
|
+
return this.restClient.get('/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/details/language/{language_code}', pathParamMap).then(function (response) {
|
|
3403
|
+
return (0, Mapper_1.map)(response, SceneAnalysisDetailsResponse_1.default);
|
|
3404
|
+
});
|
|
3405
|
+
};
|
|
3406
|
+
return LanguageApi;
|
|
3407
|
+
}(BaseAPI_1.BaseAPI));
|
|
3408
|
+
exports["default"] = LanguageApi;
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
/***/ }),
|
|
3412
|
+
|
|
3413
|
+
/***/ "./aiSceneAnalysis/analyses/byEncodingId/languages/LanguagesApi.ts":
|
|
3414
|
+
/*!*************************************************************************!*\
|
|
3415
|
+
!*** ./aiSceneAnalysis/analyses/byEncodingId/languages/LanguagesApi.ts ***!
|
|
3416
|
+
\*************************************************************************/
|
|
3417
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3418
|
+
|
|
3419
|
+
"use strict";
|
|
3420
|
+
|
|
3421
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3422
|
+
var extendStatics = function (d, b) {
|
|
3423
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3424
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3425
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
3426
|
+
return extendStatics(d, b);
|
|
3427
|
+
};
|
|
3428
|
+
return function (d, b) {
|
|
3429
|
+
if (typeof b !== "function" && b !== null)
|
|
3430
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
3431
|
+
extendStatics(d, b);
|
|
3432
|
+
function __() { this.constructor = d; }
|
|
3433
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3434
|
+
};
|
|
3435
|
+
})();
|
|
3436
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3437
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
3438
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
|
|
3439
|
+
var SceneAnalysisLanguagesResponse_1 = __webpack_require__(/*! ../../../../models/SceneAnalysisLanguagesResponse */ "./models/SceneAnalysisLanguagesResponse.ts");
|
|
3440
|
+
/**
|
|
3441
|
+
* LanguagesApi - object-oriented interface
|
|
3442
|
+
* @export
|
|
3443
|
+
* @class LanguagesApi
|
|
3444
|
+
* @extends {BaseAPI}
|
|
3445
|
+
*/
|
|
3446
|
+
var LanguagesApi = /** @class */ (function (_super) {
|
|
3447
|
+
__extends(LanguagesApi, _super);
|
|
3448
|
+
function LanguagesApi(configuration) {
|
|
3449
|
+
return _super.call(this, configuration) || this;
|
|
3450
|
+
}
|
|
3451
|
+
/**
|
|
3452
|
+
* @summary Get AI scene analysis languages by encoding ID
|
|
3453
|
+
* @param {string} encodingId The encoding ID
|
|
3454
|
+
* @throws {BitmovinError}
|
|
3455
|
+
* @memberof LanguagesApi
|
|
3456
|
+
*/
|
|
3457
|
+
LanguagesApi.prototype.get = function (encodingId) {
|
|
3458
|
+
var pathParamMap = {
|
|
3459
|
+
encoding_id: encodingId
|
|
3460
|
+
};
|
|
3461
|
+
return this.restClient.get('/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/languages', pathParamMap).then(function (response) {
|
|
3462
|
+
return (0, Mapper_1.map)(response, SceneAnalysisLanguagesResponse_1.default);
|
|
3463
|
+
});
|
|
3464
|
+
};
|
|
3465
|
+
return LanguagesApi;
|
|
3466
|
+
}(BaseAPI_1.BaseAPI));
|
|
3467
|
+
exports["default"] = LanguagesApi;
|
|
3468
|
+
|
|
3469
|
+
|
|
3345
3470
|
/***/ }),
|
|
3346
3471
|
|
|
3347
3472
|
/***/ "./analytics/AnalyticsApi.ts":
|
|
@@ -7032,7 +7157,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
7032
7157
|
var headers = {
|
|
7033
7158
|
'X-Api-Key': apiKey,
|
|
7034
7159
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
7035
|
-
'X-Api-Client-Version': '1.
|
|
7160
|
+
'X-Api-Client-Version': '1.238.0',
|
|
7036
7161
|
'Content-Type': 'application/json'
|
|
7037
7162
|
};
|
|
7038
7163
|
if (tenantOrgId) {
|
|
@@ -58450,6 +58575,7 @@ exports.AiSceneAnalysisFeatures = void 0;
|
|
|
58450
58575
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
58451
58576
|
var AiSceneAnalysisAssetDescription_1 = __webpack_require__(/*! ./AiSceneAnalysisAssetDescription */ "./models/AiSceneAnalysisAssetDescription.ts");
|
|
58452
58577
|
var AiSceneAnalysisAutomaticAdPlacement_1 = __webpack_require__(/*! ./AiSceneAnalysisAutomaticAdPlacement */ "./models/AiSceneAnalysisAutomaticAdPlacement.ts");
|
|
58578
|
+
var AiSceneAnalysisOutputLanguageCodes_1 = __webpack_require__(/*! ./AiSceneAnalysisOutputLanguageCodes */ "./models/AiSceneAnalysisOutputLanguageCodes.ts");
|
|
58453
58579
|
/**
|
|
58454
58580
|
* @export
|
|
58455
58581
|
* @class AiSceneAnalysisFeatures
|
|
@@ -58461,6 +58587,7 @@ var AiSceneAnalysisFeatures = /** @class */ (function () {
|
|
|
58461
58587
|
}
|
|
58462
58588
|
this.assetDescription = (0, Mapper_1.map)(obj.assetDescription, AiSceneAnalysisAssetDescription_1.default);
|
|
58463
58589
|
this.automaticAdPlacement = (0, Mapper_1.map)(obj.automaticAdPlacement, AiSceneAnalysisAutomaticAdPlacement_1.default);
|
|
58590
|
+
this.outputLanguageCodes = (0, Mapper_1.map)(obj.outputLanguageCodes, AiSceneAnalysisOutputLanguageCodes_1.default);
|
|
58464
58591
|
}
|
|
58465
58592
|
return AiSceneAnalysisFeatures;
|
|
58466
58593
|
}());
|
|
@@ -58468,6 +58595,36 @@ exports.AiSceneAnalysisFeatures = AiSceneAnalysisFeatures;
|
|
|
58468
58595
|
exports["default"] = AiSceneAnalysisFeatures;
|
|
58469
58596
|
|
|
58470
58597
|
|
|
58598
|
+
/***/ }),
|
|
58599
|
+
|
|
58600
|
+
/***/ "./models/AiSceneAnalysisOutputLanguageCodes.ts":
|
|
58601
|
+
/*!******************************************************!*\
|
|
58602
|
+
!*** ./models/AiSceneAnalysisOutputLanguageCodes.ts ***!
|
|
58603
|
+
\******************************************************/
|
|
58604
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
58605
|
+
|
|
58606
|
+
"use strict";
|
|
58607
|
+
|
|
58608
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
58609
|
+
exports.AiSceneAnalysisOutputLanguageCodes = void 0;
|
|
58610
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
58611
|
+
/**
|
|
58612
|
+
* @export
|
|
58613
|
+
* @class AiSceneAnalysisOutputLanguageCodes
|
|
58614
|
+
*/
|
|
58615
|
+
var AiSceneAnalysisOutputLanguageCodes = /** @class */ (function () {
|
|
58616
|
+
function AiSceneAnalysisOutputLanguageCodes(obj) {
|
|
58617
|
+
if (!obj) {
|
|
58618
|
+
return;
|
|
58619
|
+
}
|
|
58620
|
+
this.outputLanguageCodes = (0, Mapper_1.mapArray)(obj.outputLanguageCodes);
|
|
58621
|
+
}
|
|
58622
|
+
return AiSceneAnalysisOutputLanguageCodes;
|
|
58623
|
+
}());
|
|
58624
|
+
exports.AiSceneAnalysisOutputLanguageCodes = AiSceneAnalysisOutputLanguageCodes;
|
|
58625
|
+
exports["default"] = AiSceneAnalysisOutputLanguageCodes;
|
|
58626
|
+
|
|
58627
|
+
|
|
58471
58628
|
/***/ }),
|
|
58472
58629
|
|
|
58473
58630
|
/***/ "./models/AiService.ts":
|
|
@@ -83667,6 +83824,36 @@ exports.SceneAnalysisDetailsResponse = SceneAnalysisDetailsResponse;
|
|
|
83667
83824
|
exports["default"] = SceneAnalysisDetailsResponse;
|
|
83668
83825
|
|
|
83669
83826
|
|
|
83827
|
+
/***/ }),
|
|
83828
|
+
|
|
83829
|
+
/***/ "./models/SceneAnalysisLanguagesResponse.ts":
|
|
83830
|
+
/*!**************************************************!*\
|
|
83831
|
+
!*** ./models/SceneAnalysisLanguagesResponse.ts ***!
|
|
83832
|
+
\**************************************************/
|
|
83833
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
83834
|
+
|
|
83835
|
+
"use strict";
|
|
83836
|
+
|
|
83837
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
83838
|
+
exports.SceneAnalysisLanguagesResponse = void 0;
|
|
83839
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
83840
|
+
/**
|
|
83841
|
+
* @export
|
|
83842
|
+
* @class SceneAnalysisLanguagesResponse
|
|
83843
|
+
*/
|
|
83844
|
+
var SceneAnalysisLanguagesResponse = /** @class */ (function () {
|
|
83845
|
+
function SceneAnalysisLanguagesResponse(obj) {
|
|
83846
|
+
if (!obj) {
|
|
83847
|
+
return;
|
|
83848
|
+
}
|
|
83849
|
+
this.outputLanguageCodes = (0, Mapper_1.mapArray)(obj.outputLanguageCodes);
|
|
83850
|
+
}
|
|
83851
|
+
return SceneAnalysisLanguagesResponse;
|
|
83852
|
+
}());
|
|
83853
|
+
exports.SceneAnalysisLanguagesResponse = SceneAnalysisLanguagesResponse;
|
|
83854
|
+
exports["default"] = SceneAnalysisLanguagesResponse;
|
|
83855
|
+
|
|
83856
|
+
|
|
83670
83857
|
/***/ }),
|
|
83671
83858
|
|
|
83672
83859
|
/***/ "./models/SceneObject.ts":
|
|
@@ -90719,6 +90906,7 @@ __exportStar(__webpack_require__(/*! ./AiSceneAnalysis */ "./models/AiSceneAnaly
|
|
|
90719
90906
|
__exportStar(__webpack_require__(/*! ./AiSceneAnalysisAssetDescription */ "./models/AiSceneAnalysisAssetDescription.ts"), exports);
|
|
90720
90907
|
__exportStar(__webpack_require__(/*! ./AiSceneAnalysisAutomaticAdPlacement */ "./models/AiSceneAnalysisAutomaticAdPlacement.ts"), exports);
|
|
90721
90908
|
__exportStar(__webpack_require__(/*! ./AiSceneAnalysisFeatures */ "./models/AiSceneAnalysisFeatures.ts"), exports);
|
|
90909
|
+
__exportStar(__webpack_require__(/*! ./AiSceneAnalysisOutputLanguageCodes */ "./models/AiSceneAnalysisOutputLanguageCodes.ts"), exports);
|
|
90722
90910
|
__exportStar(__webpack_require__(/*! ./AiService */ "./models/AiService.ts"), exports);
|
|
90723
90911
|
__exportStar(__webpack_require__(/*! ./AiServiceProvider */ "./models/AiServiceProvider.ts"), exports);
|
|
90724
90912
|
__exportStar(__webpack_require__(/*! ./AkamaiAccount */ "./models/AkamaiAccount.ts"), exports);
|
|
@@ -91341,6 +91529,7 @@ __exportStar(__webpack_require__(/*! ./ScalingAlgorithm */ "./models/ScalingAlgo
|
|
|
91341
91529
|
__exportStar(__webpack_require__(/*! ./SccCaption */ "./models/SccCaption.ts"), exports);
|
|
91342
91530
|
__exportStar(__webpack_require__(/*! ./Scene */ "./models/Scene.ts"), exports);
|
|
91343
91531
|
__exportStar(__webpack_require__(/*! ./SceneAnalysisDetailsResponse */ "./models/SceneAnalysisDetailsResponse.ts"), exports);
|
|
91532
|
+
__exportStar(__webpack_require__(/*! ./SceneAnalysisLanguagesResponse */ "./models/SceneAnalysisLanguagesResponse.ts"), exports);
|
|
91344
91533
|
__exportStar(__webpack_require__(/*! ./SceneObject */ "./models/SceneObject.ts"), exports);
|
|
91345
91534
|
__exportStar(__webpack_require__(/*! ./ScheduledInsertableContent */ "./models/ScheduledInsertableContent.ts"), exports);
|
|
91346
91535
|
__exportStar(__webpack_require__(/*! ./ScheduledInsertableContentStatus */ "./models/ScheduledInsertableContentStatus.ts"), exports);
|