@bitmovin/api-sdk 1.255.2 → 1.257.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/BitmovinApi.d.ts +2 -0
- package/dist/BitmovinApi.js +2 -0
- package/dist/agents/AgentsApi.d.ts +13 -0
- package/dist/agents/AgentsApi.js +35 -0
- package/dist/agents/aisa/AisaApi.d.ts +13 -0
- package/dist/agents/aisa/AisaApi.js +35 -0
- package/dist/agents/aisa/sessions/SessionsApi.d.ts +44 -0
- package/dist/agents/aisa/sessions/SessionsApi.js +88 -0
- package/dist/bitmovin-api-sdk.browser.js +1433 -253
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/live/LiveApi.d.ts +4 -0
- package/dist/encoding/live/LiveApi.js +4 -0
- package/dist/encoding/live/dnsMappings/DnsMappingResponseListQueryParams.d.ts +28 -0
- package/dist/encoding/live/dnsMappings/DnsMappingResponseListQueryParams.js +29 -0
- package/dist/encoding/live/dnsMappings/DnsMappingsApi.d.ts +21 -0
- package/dist/encoding/live/dnsMappings/DnsMappingsApi.js +53 -0
- package/dist/encoding/live/encodings/EncodingsApi.d.ts +15 -0
- package/dist/encoding/live/encodings/EncodingsApi.js +37 -0
- package/dist/encoding/live/encodings/actions/ActionsApi.d.ts +21 -0
- package/dist/encoding/live/encodings/actions/ActionsApi.js +49 -0
- package/dist/encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.d.ts +28 -0
- package/dist/encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.js +29 -0
- package/dist/encoding/live/encodings/dnsMappings/DnsMappingsApi.d.ts +56 -0
- package/dist/encoding/live/encodings/dnsMappings/DnsMappingsApi.js +121 -0
- package/dist/models/AbstractCondition.d.ts +1 -2
- package/dist/models/AbstractCondition.js +3 -3
- package/dist/models/AdAnalyticsAbstractFilter.d.ts +1 -2
- package/dist/models/AdAnalyticsAbstractFilter.js +9 -9
- package/dist/models/AdAnalyticsAttribute.d.ts +30 -0
- package/dist/models/AdAnalyticsAttribute.js +30 -0
- package/dist/models/AdPosition.d.ts +5 -0
- package/dist/models/AdPosition.js +1 -0
- package/dist/models/AdaptationSet.d.ts +1 -2
- package/dist/models/AdaptationSet.js +4 -4
- package/dist/models/AgentChatAttachment.d.ts +28 -0
- package/dist/models/AgentChatAttachment.js +21 -0
- package/dist/models/AgentChatAttachmentsData.d.ts +15 -0
- package/dist/models/AgentChatAttachmentsData.js +20 -0
- package/dist/models/AgentChatAttachmentsPart.d.ts +23 -0
- package/dist/models/AgentChatAttachmentsPart.js +46 -0
- package/dist/models/AgentChatMessage.d.ts +27 -0
- package/dist/models/AgentChatMessage.js +22 -0
- package/dist/models/AgentChatMessagePart.d.ts +15 -0
- package/dist/models/AgentChatMessagePart.js +22 -0
- package/dist/models/AgentChatMessagePartType.d.ts +9 -0
- package/dist/models/AgentChatMessagePartType.js +13 -0
- package/dist/models/AgentChatTextPart.d.ts +22 -0
- package/dist/models/AgentChatTextPart.js +45 -0
- package/dist/models/AgentSessionHistoryResponse.d.ts +39 -0
- package/dist/models/AgentSessionHistoryResponse.js +24 -0
- package/dist/models/AgentSessionListItem.d.ts +26 -0
- package/dist/models/AgentSessionListItem.js +21 -0
- package/dist/models/AgentSessionListResponse.d.ts +27 -0
- package/dist/models/AgentSessionListResponse.js +22 -0
- package/dist/models/AgentSessionResponse.d.ts +26 -0
- package/dist/models/AgentSessionResponse.js +21 -0
- package/dist/models/AnalyticsAbstractFilter.d.ts +1 -2
- package/dist/models/AnalyticsAbstractFilter.js +9 -9
- package/dist/models/AnalyticsAttribute.d.ts +11 -0
- package/dist/models/AnalyticsAttribute.js +11 -0
- package/dist/models/AnalyticsOutput.d.ts +1 -2
- package/dist/models/AnalyticsOutput.js +3 -3
- package/dist/models/CodecConfiguration.d.ts +1 -2
- package/dist/models/CodecConfiguration.js +27 -27
- package/dist/models/DashRepresentation.d.ts +1 -2
- package/dist/models/DashRepresentation.js +12 -12
- package/dist/models/DefaultManifestCondition.d.ts +1 -2
- package/dist/models/DefaultManifestCondition.js +3 -3
- package/dist/models/DnsMappingRequest.d.ts +26 -0
- package/dist/models/DnsMappingRequest.js +21 -0
- package/dist/models/DnsMappingResponse.d.ts +33 -0
- package/dist/models/DnsMappingResponse.js +41 -0
- package/dist/models/DolbyAtmosInputFormat.d.ts +2 -1
- package/dist/models/DolbyAtmosInputFormat.js +1 -0
- package/dist/models/Drm.d.ts +1 -2
- package/dist/models/Drm.js +9 -9
- package/dist/models/Filter.d.ts +1 -2
- package/dist/models/Filter.js +16 -16
- package/dist/models/Id3Tag.d.ts +1 -2
- package/dist/models/Id3Tag.js +3 -3
- package/dist/models/Input.d.ts +1 -2
- package/dist/models/Input.js +19 -19
- package/dist/models/InputStream.d.ts +1 -2
- package/dist/models/InputStream.js +13 -13
- package/dist/models/Muxing.d.ts +1 -2
- package/dist/models/Muxing.js +16 -16
- package/dist/models/Output.d.ts +1 -2
- package/dist/models/Output.js +13 -13
- package/dist/models/SidecarFile.d.ts +1 -2
- package/dist/models/SidecarFile.js +1 -1
- package/dist/models/StreamsResponse.d.ts +1 -1
- package/dist/models/StreamsResponse.js +2 -2
- package/dist/models/UpdateEncodingRtmpIngestPointRequest.d.ts +15 -0
- package/dist/models/UpdateEncodingRtmpIngestPointRequest.js +20 -0
- package/dist/models/UpdateEncodingRtmpIngestPointResponse.d.ts +8 -0
- package/dist/models/UpdateEncodingRtmpIngestPointResponse.js +17 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/BitmovinApi.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseAPI } from './common/BaseAPI';
|
|
2
2
|
import Configuration from './common/Configuration';
|
|
3
3
|
import AccountApi from './account/AccountApi';
|
|
4
|
+
import AgentsApi from './agents/AgentsApi';
|
|
4
5
|
import AiSceneAnalysisApi from './aiSceneAnalysis/AiSceneAnalysisApi';
|
|
5
6
|
import AnalyticsApi from './analytics/AnalyticsApi';
|
|
6
7
|
import EncodingApi from './encoding/EncodingApi';
|
|
@@ -16,6 +17,7 @@ import StreamsApi from './streams/StreamsApi';
|
|
|
16
17
|
*/
|
|
17
18
|
export default class BitmovinApi extends BaseAPI {
|
|
18
19
|
account: AccountApi;
|
|
20
|
+
agents: AgentsApi;
|
|
19
21
|
aiSceneAnalysis: AiSceneAnalysisApi;
|
|
20
22
|
analytics: AnalyticsApi;
|
|
21
23
|
encoding: EncodingApi;
|
package/dist/BitmovinApi.js
CHANGED
|
@@ -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 AccountApi_1 = require("./account/AccountApi");
|
|
20
|
+
var AgentsApi_1 = require("./agents/AgentsApi");
|
|
20
21
|
var AiSceneAnalysisApi_1 = require("./aiSceneAnalysis/AiSceneAnalysisApi");
|
|
21
22
|
var AnalyticsApi_1 = require("./analytics/AnalyticsApi");
|
|
22
23
|
var EncodingApi_1 = require("./encoding/EncodingApi");
|
|
@@ -35,6 +36,7 @@ var BitmovinApi = /** @class */ (function (_super) {
|
|
|
35
36
|
function BitmovinApi(configuration) {
|
|
36
37
|
var _this = _super.call(this, configuration) || this;
|
|
37
38
|
_this.account = new AccountApi_1.default(configuration);
|
|
39
|
+
_this.agents = new AgentsApi_1.default(configuration);
|
|
38
40
|
_this.aiSceneAnalysis = new AiSceneAnalysisApi_1.default(configuration);
|
|
39
41
|
_this.analytics = new AnalyticsApi_1.default(configuration);
|
|
40
42
|
_this.encoding = new EncodingApi_1.default(configuration);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseAPI } from '../common/BaseAPI';
|
|
2
|
+
import Configuration from '../common/Configuration';
|
|
3
|
+
import AisaApi from './aisa/AisaApi';
|
|
4
|
+
/**
|
|
5
|
+
* AgentsApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class AgentsApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class AgentsApi extends BaseAPI {
|
|
11
|
+
aisa: AisaApi;
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 AisaApi_1 = require("./aisa/AisaApi");
|
|
20
|
+
/**
|
|
21
|
+
* AgentsApi - object-oriented interface
|
|
22
|
+
* @export
|
|
23
|
+
* @class AgentsApi
|
|
24
|
+
* @extends {BaseAPI}
|
|
25
|
+
*/
|
|
26
|
+
var AgentsApi = /** @class */ (function (_super) {
|
|
27
|
+
__extends(AgentsApi, _super);
|
|
28
|
+
function AgentsApi(configuration) {
|
|
29
|
+
var _this = _super.call(this, configuration) || this;
|
|
30
|
+
_this.aisa = new AisaApi_1.default(configuration);
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
return AgentsApi;
|
|
34
|
+
}(BaseAPI_1.BaseAPI));
|
|
35
|
+
exports.default = AgentsApi;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseAPI } from '../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../common/Configuration';
|
|
3
|
+
import SessionsApi from './sessions/SessionsApi';
|
|
4
|
+
/**
|
|
5
|
+
* AisaApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class AisaApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class AisaApi extends BaseAPI {
|
|
11
|
+
sessions: SessionsApi;
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 SessionsApi_1 = require("./sessions/SessionsApi");
|
|
20
|
+
/**
|
|
21
|
+
* AisaApi - object-oriented interface
|
|
22
|
+
* @export
|
|
23
|
+
* @class AisaApi
|
|
24
|
+
* @extends {BaseAPI}
|
|
25
|
+
*/
|
|
26
|
+
var AisaApi = /** @class */ (function (_super) {
|
|
27
|
+
__extends(AisaApi, _super);
|
|
28
|
+
function AisaApi(configuration) {
|
|
29
|
+
var _this = _super.call(this, configuration) || this;
|
|
30
|
+
_this.sessions = new SessionsApi_1.default(configuration);
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
return AisaApi;
|
|
34
|
+
}(BaseAPI_1.BaseAPI));
|
|
35
|
+
exports.default = AisaApi;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../common/Configuration';
|
|
3
|
+
import AgentSessionHistoryResponse from '../../../models/AgentSessionHistoryResponse';
|
|
4
|
+
import AgentSessionListResponse from '../../../models/AgentSessionListResponse';
|
|
5
|
+
import AgentSessionResponse from '../../../models/AgentSessionResponse';
|
|
6
|
+
/**
|
|
7
|
+
* SessionsApi - object-oriented interface
|
|
8
|
+
* @export
|
|
9
|
+
* @class SessionsApi
|
|
10
|
+
* @extends {BaseAPI}
|
|
11
|
+
*/
|
|
12
|
+
export default class SessionsApi extends BaseAPI {
|
|
13
|
+
constructor(configuration: Configuration);
|
|
14
|
+
/**
|
|
15
|
+
* @summary Create Agent Session
|
|
16
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
17
|
+
* @throws {BitmovinError}
|
|
18
|
+
* @memberof SessionsApi
|
|
19
|
+
*/
|
|
20
|
+
create(): Promise<AgentSessionResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* @summary Delete Agent Session
|
|
23
|
+
* @param {string} sessionId Id of the session
|
|
24
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
25
|
+
* @throws {BitmovinError}
|
|
26
|
+
* @memberof SessionsApi
|
|
27
|
+
*/
|
|
28
|
+
delete(sessionId: string): Promise<AgentSessionResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* @summary Get Agent Session Details
|
|
31
|
+
* @param {string} sessionId Id of the session
|
|
32
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
33
|
+
* @throws {BitmovinError}
|
|
34
|
+
* @memberof SessionsApi
|
|
35
|
+
*/
|
|
36
|
+
get(sessionId: string): Promise<AgentSessionHistoryResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* @summary List Agent Sessions
|
|
39
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
40
|
+
* @throws {BitmovinError}
|
|
41
|
+
* @memberof SessionsApi
|
|
42
|
+
*/
|
|
43
|
+
list(): Promise<AgentSessionListResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 AgentSessionHistoryResponse_1 = require("../../../models/AgentSessionHistoryResponse");
|
|
21
|
+
var AgentSessionListResponse_1 = require("../../../models/AgentSessionListResponse");
|
|
22
|
+
var AgentSessionResponse_1 = require("../../../models/AgentSessionResponse");
|
|
23
|
+
/**
|
|
24
|
+
* SessionsApi - object-oriented interface
|
|
25
|
+
* @export
|
|
26
|
+
* @class SessionsApi
|
|
27
|
+
* @extends {BaseAPI}
|
|
28
|
+
*/
|
|
29
|
+
var SessionsApi = /** @class */ (function (_super) {
|
|
30
|
+
__extends(SessionsApi, _super);
|
|
31
|
+
function SessionsApi(configuration) {
|
|
32
|
+
return _super.call(this, configuration) || this;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @summary Create Agent Session
|
|
36
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
37
|
+
* @throws {BitmovinError}
|
|
38
|
+
* @memberof SessionsApi
|
|
39
|
+
*/
|
|
40
|
+
SessionsApi.prototype.create = function () {
|
|
41
|
+
return this.restClient.post('/agents/aisa/sessions', {}).then(function (response) {
|
|
42
|
+
return (0, Mapper_1.map)(response, AgentSessionResponse_1.default);
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @summary Delete Agent Session
|
|
47
|
+
* @param {string} sessionId Id of the session
|
|
48
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
49
|
+
* @throws {BitmovinError}
|
|
50
|
+
* @memberof SessionsApi
|
|
51
|
+
*/
|
|
52
|
+
SessionsApi.prototype.delete = function (sessionId) {
|
|
53
|
+
var pathParamMap = {
|
|
54
|
+
session_id: sessionId
|
|
55
|
+
};
|
|
56
|
+
return this.restClient.delete('/agents/aisa/sessions/{session_id}', pathParamMap).then(function (response) {
|
|
57
|
+
return (0, Mapper_1.map)(response, AgentSessionResponse_1.default);
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @summary Get Agent Session Details
|
|
62
|
+
* @param {string} sessionId Id of the session
|
|
63
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
64
|
+
* @throws {BitmovinError}
|
|
65
|
+
* @memberof SessionsApi
|
|
66
|
+
*/
|
|
67
|
+
SessionsApi.prototype.get = function (sessionId) {
|
|
68
|
+
var pathParamMap = {
|
|
69
|
+
session_id: sessionId
|
|
70
|
+
};
|
|
71
|
+
return this.restClient.get('/agents/aisa/sessions/{session_id}', pathParamMap).then(function (response) {
|
|
72
|
+
return (0, Mapper_1.map)(response, AgentSessionHistoryResponse_1.default);
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @summary List Agent Sessions
|
|
77
|
+
* @param {string} xUserId User ID used to scope agent sessions
|
|
78
|
+
* @throws {BitmovinError}
|
|
79
|
+
* @memberof SessionsApi
|
|
80
|
+
*/
|
|
81
|
+
SessionsApi.prototype.list = function () {
|
|
82
|
+
return this.restClient.get('/agents/aisa/sessions', {}).then(function (response) {
|
|
83
|
+
return (0, Mapper_1.map)(response, AgentSessionListResponse_1.default);
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
return SessionsApi;
|
|
87
|
+
}(BaseAPI_1.BaseAPI));
|
|
88
|
+
exports.default = SessionsApi;
|