@bitmovin/api-sdk 1.171.0 → 1.173.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.171.0',
243
+ 'X-Api-Client-Version': '1.173.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -1,5 +1,6 @@
1
1
  import AccountApiKey from './AccountApiKey';
2
2
  import BitmovinResource from './BitmovinResource';
3
+ import Marketplace from './Marketplace';
3
4
  /**
4
5
  * @export
5
6
  * @class AccountInformation
@@ -46,6 +47,11 @@ export declare class AccountInformation extends BitmovinResource {
46
47
  * @memberof AccountInformation
47
48
  */
48
49
  verified?: boolean;
50
+ /**
51
+ * @type {Marketplace}
52
+ * @memberof AccountInformation
53
+ */
54
+ marketplace?: Marketplace;
49
55
  constructor(obj?: Partial<AccountInformation>);
50
56
  }
51
57
  export default AccountInformation;
@@ -37,6 +37,7 @@ var AccountInformation = /** @class */ (function (_super) {
37
37
  _this.phone = (0, Mapper_1.map)(obj.phone);
38
38
  _this.company = (0, Mapper_1.map)(obj.company);
39
39
  _this.verified = (0, Mapper_1.map)(obj.verified);
40
+ _this.marketplace = (0, Mapper_1.map)(obj.marketplace);
40
41
  return _this;
41
42
  }
42
43
  return AccountInformation;
@@ -61,6 +61,7 @@ export declare enum AnalyticsAttribute {
61
61
  ERROR_CODE = "ERROR_CODE",
62
62
  ERROR_MESSAGE = "ERROR_MESSAGE",
63
63
  ERROR_RATE = "ERROR_RATE",
64
+ ERROR_PERCENTAGE = "ERROR_PERCENTAGE",
64
65
  EXPERIMENT_NAME = "EXPERIMENT_NAME",
65
66
  FUNCTION = "FUNCTION",
66
67
  HOUR = "HOUR",
@@ -65,6 +65,7 @@ var AnalyticsAttribute;
65
65
  AnalyticsAttribute["ERROR_CODE"] = "ERROR_CODE";
66
66
  AnalyticsAttribute["ERROR_MESSAGE"] = "ERROR_MESSAGE";
67
67
  AnalyticsAttribute["ERROR_RATE"] = "ERROR_RATE";
68
+ AnalyticsAttribute["ERROR_PERCENTAGE"] = "ERROR_PERCENTAGE";
68
69
  AnalyticsAttribute["EXPERIMENT_NAME"] = "EXPERIMENT_NAME";
69
70
  AnalyticsAttribute["FUNCTION"] = "FUNCTION";
70
71
  AnalyticsAttribute["HOUR"] = "HOUR";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Type of signup marketplace
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum Marketplace {
7
+ AWS = "AWS",
8
+ AZURE = "AZURE"
9
+ }
10
+ export default Marketplace;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Marketplace = void 0;
4
+ /**
5
+ * Type of signup marketplace
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var Marketplace;
10
+ (function (Marketplace) {
11
+ Marketplace["AWS"] = "AWS";
12
+ Marketplace["AZURE"] = "AZURE";
13
+ })(Marketplace = exports.Marketplace || (exports.Marketplace = {}));
14
+ exports.default = Marketplace;
@@ -478,6 +478,7 @@ export * from './ManifestGenerator';
478
478
  export * from './ManifestResource';
479
479
  export * from './ManifestType';
480
480
  export * from './ManifestTypeResponse';
481
+ export * from './Marketplace';
481
482
  export * from './MarlinDrm';
482
483
  export * from './MaxCtuSize';
483
484
  export * from './MaxTransformUnitSize';
@@ -494,6 +494,7 @@ __exportStar(require("./ManifestGenerator"), exports);
494
494
  __exportStar(require("./ManifestResource"), exports);
495
495
  __exportStar(require("./ManifestType"), exports);
496
496
  __exportStar(require("./ManifestTypeResponse"), exports);
497
+ __exportStar(require("./Marketplace"), exports);
497
498
  __exportStar(require("./MarlinDrm"), exports);
498
499
  __exportStar(require("./MaxCtuSize"), exports);
499
500
  __exportStar(require("./MaxTransformUnitSize"), exports);
@@ -24,6 +24,13 @@ export default class LiveApi extends BaseAPI {
24
24
  * @memberof LiveApi
25
25
  */
26
26
  create(streamsLiveCreateRequest?: StreamsLiveCreateRequest): Promise<StreamsLiveResponse>;
27
+ /**
28
+ * @summary Delete Stream
29
+ * @param {string} streamId Id of the stream.
30
+ * @throws {BitmovinError}
31
+ * @memberof LiveApi
32
+ */
33
+ delete(streamId: string): Promise<Response>;
27
34
  /**
28
35
  * @summary Get live stream by id
29
36
  * @param {string} streamId Id of the stream.
@@ -47,6 +47,20 @@ var LiveApi = /** @class */ (function (_super) {
47
47
  return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
48
48
  });
49
49
  };
50
+ /**
51
+ * @summary Delete Stream
52
+ * @param {string} streamId Id of the stream.
53
+ * @throws {BitmovinError}
54
+ * @memberof LiveApi
55
+ */
56
+ LiveApi.prototype.delete = function (streamId) {
57
+ var pathParamMap = {
58
+ stream_id: streamId
59
+ };
60
+ return this.restClient.delete('/streams/live/{stream_id}', pathParamMap).then(function (response) {
61
+ return (0, Mapper_1.map)(response);
62
+ });
63
+ };
50
64
  /**
51
65
  * @summary Get live stream by id
52
66
  * @param {string} streamId Id of the stream.
@@ -20,6 +20,13 @@ export default class VideoApi extends BaseAPI {
20
20
  * @memberof VideoApi
21
21
  */
22
22
  create(streamsVideoCreateRequest?: StreamsVideoCreateRequest): Promise<StreamsVideoResponse>;
23
+ /**
24
+ * @summary Delete Stream
25
+ * @param {string} streamId Id of the stream.
26
+ * @throws {BitmovinError}
27
+ * @memberof VideoApi
28
+ */
29
+ delete(streamId: string): Promise<Response>;
23
30
  /**
24
31
  * @summary Get Streams video by id
25
32
  * @param {string} streamId Id of the stream.
@@ -42,6 +42,20 @@ var VideoApi = /** @class */ (function (_super) {
42
42
  return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
43
43
  });
44
44
  };
45
+ /**
46
+ * @summary Delete Stream
47
+ * @param {string} streamId Id of the stream.
48
+ * @throws {BitmovinError}
49
+ * @memberof VideoApi
50
+ */
51
+ VideoApi.prototype.delete = function (streamId) {
52
+ var pathParamMap = {
53
+ stream_id: streamId
54
+ };
55
+ return this.restClient.delete('/streams/video/{stream_id}', pathParamMap).then(function (response) {
56
+ return (0, Mapper_1.map)(response);
57
+ });
58
+ };
45
59
  /**
46
60
  * @summary Get Streams video by id
47
61
  * @param {string} streamId Id of the stream.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.171.0",
3
+ "version": "1.173.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [