@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.
Files changed (101) hide show
  1. package/README.md +1 -1
  2. package/dist/BitmovinApi.d.ts +2 -0
  3. package/dist/BitmovinApi.js +2 -0
  4. package/dist/agents/AgentsApi.d.ts +13 -0
  5. package/dist/agents/AgentsApi.js +35 -0
  6. package/dist/agents/aisa/AisaApi.d.ts +13 -0
  7. package/dist/agents/aisa/AisaApi.js +35 -0
  8. package/dist/agents/aisa/sessions/SessionsApi.d.ts +44 -0
  9. package/dist/agents/aisa/sessions/SessionsApi.js +88 -0
  10. package/dist/bitmovin-api-sdk.browser.js +1433 -253
  11. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  12. package/dist/common/RestClient.js +1 -1
  13. package/dist/encoding/live/LiveApi.d.ts +4 -0
  14. package/dist/encoding/live/LiveApi.js +4 -0
  15. package/dist/encoding/live/dnsMappings/DnsMappingResponseListQueryParams.d.ts +28 -0
  16. package/dist/encoding/live/dnsMappings/DnsMappingResponseListQueryParams.js +29 -0
  17. package/dist/encoding/live/dnsMappings/DnsMappingsApi.d.ts +21 -0
  18. package/dist/encoding/live/dnsMappings/DnsMappingsApi.js +53 -0
  19. package/dist/encoding/live/encodings/EncodingsApi.d.ts +15 -0
  20. package/dist/encoding/live/encodings/EncodingsApi.js +37 -0
  21. package/dist/encoding/live/encodings/actions/ActionsApi.d.ts +21 -0
  22. package/dist/encoding/live/encodings/actions/ActionsApi.js +49 -0
  23. package/dist/encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.d.ts +28 -0
  24. package/dist/encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.js +29 -0
  25. package/dist/encoding/live/encodings/dnsMappings/DnsMappingsApi.d.ts +56 -0
  26. package/dist/encoding/live/encodings/dnsMappings/DnsMappingsApi.js +121 -0
  27. package/dist/models/AbstractCondition.d.ts +1 -2
  28. package/dist/models/AbstractCondition.js +3 -3
  29. package/dist/models/AdAnalyticsAbstractFilter.d.ts +1 -2
  30. package/dist/models/AdAnalyticsAbstractFilter.js +9 -9
  31. package/dist/models/AdAnalyticsAttribute.d.ts +30 -0
  32. package/dist/models/AdAnalyticsAttribute.js +30 -0
  33. package/dist/models/AdPosition.d.ts +5 -0
  34. package/dist/models/AdPosition.js +1 -0
  35. package/dist/models/AdaptationSet.d.ts +1 -2
  36. package/dist/models/AdaptationSet.js +4 -4
  37. package/dist/models/AgentChatAttachment.d.ts +28 -0
  38. package/dist/models/AgentChatAttachment.js +21 -0
  39. package/dist/models/AgentChatAttachmentsData.d.ts +15 -0
  40. package/dist/models/AgentChatAttachmentsData.js +20 -0
  41. package/dist/models/AgentChatAttachmentsPart.d.ts +23 -0
  42. package/dist/models/AgentChatAttachmentsPart.js +46 -0
  43. package/dist/models/AgentChatMessage.d.ts +27 -0
  44. package/dist/models/AgentChatMessage.js +22 -0
  45. package/dist/models/AgentChatMessagePart.d.ts +15 -0
  46. package/dist/models/AgentChatMessagePart.js +22 -0
  47. package/dist/models/AgentChatMessagePartType.d.ts +9 -0
  48. package/dist/models/AgentChatMessagePartType.js +13 -0
  49. package/dist/models/AgentChatTextPart.d.ts +22 -0
  50. package/dist/models/AgentChatTextPart.js +45 -0
  51. package/dist/models/AgentSessionHistoryResponse.d.ts +39 -0
  52. package/dist/models/AgentSessionHistoryResponse.js +24 -0
  53. package/dist/models/AgentSessionListItem.d.ts +26 -0
  54. package/dist/models/AgentSessionListItem.js +21 -0
  55. package/dist/models/AgentSessionListResponse.d.ts +27 -0
  56. package/dist/models/AgentSessionListResponse.js +22 -0
  57. package/dist/models/AgentSessionResponse.d.ts +26 -0
  58. package/dist/models/AgentSessionResponse.js +21 -0
  59. package/dist/models/AnalyticsAbstractFilter.d.ts +1 -2
  60. package/dist/models/AnalyticsAbstractFilter.js +9 -9
  61. package/dist/models/AnalyticsAttribute.d.ts +11 -0
  62. package/dist/models/AnalyticsAttribute.js +11 -0
  63. package/dist/models/AnalyticsOutput.d.ts +1 -2
  64. package/dist/models/AnalyticsOutput.js +3 -3
  65. package/dist/models/CodecConfiguration.d.ts +1 -2
  66. package/dist/models/CodecConfiguration.js +27 -27
  67. package/dist/models/DashRepresentation.d.ts +1 -2
  68. package/dist/models/DashRepresentation.js +12 -12
  69. package/dist/models/DefaultManifestCondition.d.ts +1 -2
  70. package/dist/models/DefaultManifestCondition.js +3 -3
  71. package/dist/models/DnsMappingRequest.d.ts +26 -0
  72. package/dist/models/DnsMappingRequest.js +21 -0
  73. package/dist/models/DnsMappingResponse.d.ts +33 -0
  74. package/dist/models/DnsMappingResponse.js +41 -0
  75. package/dist/models/DolbyAtmosInputFormat.d.ts +2 -1
  76. package/dist/models/DolbyAtmosInputFormat.js +1 -0
  77. package/dist/models/Drm.d.ts +1 -2
  78. package/dist/models/Drm.js +9 -9
  79. package/dist/models/Filter.d.ts +1 -2
  80. package/dist/models/Filter.js +16 -16
  81. package/dist/models/Id3Tag.d.ts +1 -2
  82. package/dist/models/Id3Tag.js +3 -3
  83. package/dist/models/Input.d.ts +1 -2
  84. package/dist/models/Input.js +19 -19
  85. package/dist/models/InputStream.d.ts +1 -2
  86. package/dist/models/InputStream.js +13 -13
  87. package/dist/models/Muxing.d.ts +1 -2
  88. package/dist/models/Muxing.js +16 -16
  89. package/dist/models/Output.d.ts +1 -2
  90. package/dist/models/Output.js +13 -13
  91. package/dist/models/SidecarFile.d.ts +1 -2
  92. package/dist/models/SidecarFile.js +1 -1
  93. package/dist/models/StreamsResponse.d.ts +1 -1
  94. package/dist/models/StreamsResponse.js +2 -2
  95. package/dist/models/UpdateEncodingRtmpIngestPointRequest.d.ts +15 -0
  96. package/dist/models/UpdateEncodingRtmpIngestPointRequest.js +20 -0
  97. package/dist/models/UpdateEncodingRtmpIngestPointResponse.d.ts +8 -0
  98. package/dist/models/UpdateEncodingRtmpIngestPointResponse.js +17 -0
  99. package/dist/models/index.d.ts +15 -0
  100. package/dist/models/index.js +15 -0
  101. package/package.json +1 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ If you have any questions regarding the SDK, provided examples or our services,
31
31
  ## Installation
32
32
 
33
33
  ``` bash
34
- npm install @bitmovin/api-sdk@1.255.2
34
+ npm install @bitmovin/api-sdk@1.257.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -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;
@@ -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;