@bitmovin/api-sdk 1.273.0 → 1.275.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/AnalysesApi.d.ts +10 -0
- package/dist/aiSceneAnalysis/analyses/AnalysesApi.js +21 -0
- package/dist/aiSceneAnalysis/analyses/SceneAnalysisListItemListQueryParams.d.ts +62 -0
- package/dist/aiSceneAnalysis/analyses/SceneAnalysisListItemListQueryParams.js +52 -0
- package/dist/bitmovin-api-sdk.browser.js +357 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AgeRange.d.ts +15 -0
- package/dist/models/AgeRange.js +19 -0
- package/dist/models/Character.d.ts +8 -2
- package/dist/models/Character.js +3 -1
- package/dist/models/CharacterAppearance.d.ts +60 -0
- package/dist/models/CharacterAppearance.js +27 -0
- package/dist/models/Credits.d.ts +20 -0
- package/dist/models/Credits.js +21 -0
- package/dist/models/Department.d.ts +22 -0
- package/dist/models/Department.js +26 -0
- package/dist/models/Person.d.ts +25 -0
- package/dist/models/Person.js +20 -0
- package/dist/models/SceneAnalysisDetailsResponse.d.ts +12 -0
- package/dist/models/SceneAnalysisDetailsResponse.js +3 -0
- package/dist/models/SceneAnalysisListItem.d.ts +56 -0
- package/dist/models/SceneAnalysisListItem.js +25 -0
- package/dist/models/SceneAnalysisListSort.d.ts +9 -0
- package/dist/models/SceneAnalysisListSort.js +13 -0
- package/dist/models/Song.d.ts +18 -0
- package/dist/models/Song.js +19 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { BaseAPI } from '../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../common/Configuration';
|
|
3
3
|
import ByEncodingIdApi from './byEncodingId/ByEncodingIdApi';
|
|
4
|
+
import SceneAnalysisListItem from '../../models/SceneAnalysisListItem';
|
|
5
|
+
import PaginationResponse from '../../models/PaginationResponse';
|
|
6
|
+
import { SceneAnalysisListItemListQueryParams, SceneAnalysisListItemListQueryParamsBuilder } from './SceneAnalysisListItemListQueryParams';
|
|
4
7
|
/**
|
|
5
8
|
* AnalysesApi - object-oriented interface
|
|
6
9
|
* @export
|
|
@@ -10,4 +13,11 @@ import ByEncodingIdApi from './byEncodingId/ByEncodingIdApi';
|
|
|
10
13
|
export default class AnalysesApi extends BaseAPI {
|
|
11
14
|
byEncodingId: ByEncodingIdApi;
|
|
12
15
|
constructor(configuration: Configuration);
|
|
16
|
+
/**
|
|
17
|
+
* @summary List AI scene analyses
|
|
18
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
19
|
+
* @throws {BitmovinError}
|
|
20
|
+
* @memberof AnalysesApi
|
|
21
|
+
*/
|
|
22
|
+
list(queryParameters?: SceneAnalysisListItemListQueryParams | ((q: SceneAnalysisListItemListQueryParamsBuilder) => SceneAnalysisListItemListQueryParamsBuilder)): Promise<PaginationResponse<SceneAnalysisListItem>>;
|
|
13
23
|
}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const BaseAPI_1 = require("../../common/BaseAPI");
|
|
4
4
|
const ByEncodingIdApi_1 = require("./byEncodingId/ByEncodingIdApi");
|
|
5
|
+
const SceneAnalysisListItem_1 = require("../../models/SceneAnalysisListItem");
|
|
6
|
+
const PaginationResponse_1 = require("../../models/PaginationResponse");
|
|
7
|
+
const SceneAnalysisListItemListQueryParams_1 = require("./SceneAnalysisListItemListQueryParams");
|
|
5
8
|
/**
|
|
6
9
|
* AnalysesApi - object-oriented interface
|
|
7
10
|
* @export
|
|
@@ -13,5 +16,23 @@ class AnalysesApi extends BaseAPI_1.BaseAPI {
|
|
|
13
16
|
super(configuration);
|
|
14
17
|
this.byEncodingId = new ByEncodingIdApi_1.default(configuration);
|
|
15
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* @summary List AI scene analyses
|
|
21
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
22
|
+
* @throws {BitmovinError}
|
|
23
|
+
* @memberof AnalysesApi
|
|
24
|
+
*/
|
|
25
|
+
list(queryParameters) {
|
|
26
|
+
let queryParams = {};
|
|
27
|
+
if (typeof queryParameters === 'function') {
|
|
28
|
+
queryParams = queryParameters(new SceneAnalysisListItemListQueryParams_1.SceneAnalysisListItemListQueryParamsBuilder()).buildQueryParams();
|
|
29
|
+
}
|
|
30
|
+
else if (queryParameters) {
|
|
31
|
+
queryParams = queryParameters;
|
|
32
|
+
}
|
|
33
|
+
return this.restClient.get('/ai-scene-analysis/analyses', {}, queryParams).then((response) => {
|
|
34
|
+
return new PaginationResponse_1.default(response, SceneAnalysisListItem_1.default);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
16
37
|
}
|
|
17
38
|
exports.default = AnalysesApi;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import SceneAnalysisListSort from '../../models/SceneAnalysisListSort';
|
|
2
|
+
export interface SceneAnalysisListItemListQueryParams {
|
|
3
|
+
/**
|
|
4
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
5
|
+
* @type {number}
|
|
6
|
+
* @memberof SceneAnalysisListItemListQueryParams
|
|
7
|
+
*/
|
|
8
|
+
offset?: number | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Maximum number of items to return. Default is 15, maximum is 100
|
|
11
|
+
* @type {number}
|
|
12
|
+
* @memberof SceneAnalysisListItemListQueryParams
|
|
13
|
+
*/
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Order the result by creation date. Default is createdAt:DESC
|
|
17
|
+
* @type {SceneAnalysisListSort}
|
|
18
|
+
* @memberof SceneAnalysisListItemListQueryParams
|
|
19
|
+
*/
|
|
20
|
+
sort?: SceneAnalysisListSort | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Inclusive lower creation-date bound in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
23
|
+
* @type {Date}
|
|
24
|
+
* @memberof SceneAnalysisListItemListQueryParams
|
|
25
|
+
*/
|
|
26
|
+
createdAtFrom?: Date | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Inclusive upper creation-date bound in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
29
|
+
* @type {Date}
|
|
30
|
+
* @memberof SceneAnalysisListItemListQueryParams
|
|
31
|
+
*/
|
|
32
|
+
createdAtTo?: Date | undefined;
|
|
33
|
+
}
|
|
34
|
+
export declare class SceneAnalysisListItemListQueryParamsBuilder {
|
|
35
|
+
private internalParams;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
39
|
+
*/
|
|
40
|
+
offset(offset: number): this;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param limit Maximum number of items to return. Default is 15, maximum is 100
|
|
44
|
+
*/
|
|
45
|
+
limit(limit: number): this;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param sort Order the result by creation date. Default is createdAt:DESC
|
|
49
|
+
*/
|
|
50
|
+
sort(sort: SceneAnalysisListSort): this;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @param createdAtFrom Inclusive lower creation-date bound in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
54
|
+
*/
|
|
55
|
+
createdAtFrom(createdAtFrom: Date): this;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @param createdAtTo Inclusive upper creation-date bound in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
59
|
+
*/
|
|
60
|
+
createdAtTo(createdAtTo: Date): this;
|
|
61
|
+
buildQueryParams(): SceneAnalysisListItemListQueryParams;
|
|
62
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SceneAnalysisListItemListQueryParamsBuilder = void 0;
|
|
4
|
+
class SceneAnalysisListItemListQueryParamsBuilder {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
offset(offset) {
|
|
13
|
+
this.internalParams.offset = offset;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param limit Maximum number of items to return. Default is 15, maximum is 100
|
|
19
|
+
*/
|
|
20
|
+
limit(limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order the result by creation date. Default is createdAt:DESC
|
|
27
|
+
*/
|
|
28
|
+
sort(sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param createdAtFrom Inclusive lower creation-date bound in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
35
|
+
*/
|
|
36
|
+
createdAtFrom(createdAtFrom) {
|
|
37
|
+
this.internalParams.createdAtFrom = createdAtFrom;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @param createdAtTo Inclusive upper creation-date bound in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
43
|
+
*/
|
|
44
|
+
createdAtTo(createdAtTo) {
|
|
45
|
+
this.internalParams.createdAtTo = createdAtTo;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
buildQueryParams() {
|
|
49
|
+
return this.internalParams;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.SceneAnalysisListItemListQueryParamsBuilder = SceneAnalysisListItemListQueryParamsBuilder;
|