@bitmovin/api-sdk 1.188.0 → 1.189.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.188.0',
243
+ 'X-Api-Client-Version': '1.189.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -10,7 +10,7 @@ export declare class CencFairPlay {
10
10
  */
11
11
  iv?: string;
12
12
  /**
13
- * URL of the licensing server
13
+ * URL of the licensing server. Typically starts with a skd://. Please check with your DRM provider on their required format.
14
14
  * @type {string}
15
15
  * @memberof CencFairPlay
16
16
  */
@@ -71,7 +71,6 @@ export * from './AnalyticsGreaterThanOrEqualFilter';
71
71
  export * from './AnalyticsHttpRequest';
72
72
  export * from './AnalyticsHttpRequestType';
73
73
  export * from './AnalyticsImpressionListItem';
74
- export * from './AnalyticsImpressionSample';
75
74
  export * from './AnalyticsImpressionsQuery';
76
75
  export * from './AnalyticsImpressionsResponse';
77
76
  export * from './AnalyticsInFilter';
@@ -106,7 +105,6 @@ export * from './AnalyticsS3RoleBasedOutput';
106
105
  export * from './AnalyticsStddevQueryRequest';
107
106
  export * from './AnalyticsSumQueryRequest';
108
107
  export * from './AnalyticsVarianceQueryRequest';
109
- export * from './AnalyticsVideoStartFailedReason';
110
108
  export * from './AnalyticsVirtualLicense';
111
109
  export * from './AnalyticsVirtualLicenseLicensesListItem';
112
110
  export * from './AnalyticsVirtualLicenseRequest';
@@ -87,7 +87,6 @@ __exportStar(require("./AnalyticsGreaterThanOrEqualFilter"), exports);
87
87
  __exportStar(require("./AnalyticsHttpRequest"), exports);
88
88
  __exportStar(require("./AnalyticsHttpRequestType"), exports);
89
89
  __exportStar(require("./AnalyticsImpressionListItem"), exports);
90
- __exportStar(require("./AnalyticsImpressionSample"), exports);
91
90
  __exportStar(require("./AnalyticsImpressionsQuery"), exports);
92
91
  __exportStar(require("./AnalyticsImpressionsResponse"), exports);
93
92
  __exportStar(require("./AnalyticsInFilter"), exports);
@@ -122,7 +121,6 @@ __exportStar(require("./AnalyticsS3RoleBasedOutput"), exports);
122
121
  __exportStar(require("./AnalyticsStddevQueryRequest"), exports);
123
122
  __exportStar(require("./AnalyticsSumQueryRequest"), exports);
124
123
  __exportStar(require("./AnalyticsVarianceQueryRequest"), exports);
125
- __exportStar(require("./AnalyticsVideoStartFailedReason"), exports);
126
124
  __exportStar(require("./AnalyticsVirtualLicense"), exports);
127
125
  __exportStar(require("./AnalyticsVirtualLicenseLicensesListItem"), exports);
128
126
  __exportStar(require("./AnalyticsVirtualLicenseRequest"), exports);
@@ -2,6 +2,7 @@ import { BaseAPI } from '../../../../../common/BaseAPI';
2
2
  import Configuration from '../../../../../common/Configuration';
3
3
  import BitmovinResponse from '../../../../../models/BitmovinResponse';
4
4
  import Webhook from '../../../../../models/Webhook';
5
+ import PaginationResponse from '../../../../../models/PaginationResponse';
5
6
  /**
6
7
  * ErrorApi - object-oriented interface
7
8
  * @export
@@ -32,6 +33,12 @@ export default class ErrorApi extends BaseAPI {
32
33
  * @memberof ErrorApi
33
34
  */
34
35
  delete(notificationId: string): Promise<BitmovinResponse>;
36
+ /**
37
+ * @summary Get 'Manifest Error' Webhooks (All Manifests)
38
+ * @throws {BitmovinError}
39
+ * @memberof ErrorApi
40
+ */
41
+ list(): Promise<PaginationResponse<Webhook>>;
35
42
  /**
36
43
  * @summary Replace 'Manifest Error' Webhook Notification
37
44
  * @param {string} notificationId Id of the webhook notification
@@ -19,6 +19,7 @@ var BaseAPI_1 = require("../../../../../common/BaseAPI");
19
19
  var Mapper_1 = require("../../../../../common/Mapper");
20
20
  var BitmovinResponse_1 = require("../../../../../models/BitmovinResponse");
21
21
  var Webhook_1 = require("../../../../../models/Webhook");
22
+ var PaginationResponse_1 = require("../../../../../models/PaginationResponse");
22
23
  /**
23
24
  * ErrorApi - object-oriented interface
24
25
  * @export
@@ -70,6 +71,16 @@ var ErrorApi = /** @class */ (function (_super) {
70
71
  return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
71
72
  });
72
73
  };
74
+ /**
75
+ * @summary Get 'Manifest Error' Webhooks (All Manifests)
76
+ * @throws {BitmovinError}
77
+ * @memberof ErrorApi
78
+ */
79
+ ErrorApi.prototype.list = function () {
80
+ return this.restClient.get('/notifications/webhooks/encoding/manifest/error', {}).then(function (response) {
81
+ return new PaginationResponse_1.default(response, Webhook_1.default);
82
+ });
83
+ };
73
84
  /**
74
85
  * @summary Replace 'Manifest Error' Webhook Notification
75
86
  * @param {string} notificationId Id of the webhook notification
@@ -2,6 +2,7 @@ import { BaseAPI } from '../../../../../common/BaseAPI';
2
2
  import Configuration from '../../../../../common/Configuration';
3
3
  import BitmovinResponse from '../../../../../models/BitmovinResponse';
4
4
  import Webhook from '../../../../../models/Webhook';
5
+ import PaginationResponse from '../../../../../models/PaginationResponse';
5
6
  /**
6
7
  * FinishedApi - object-oriented interface
7
8
  * @export
@@ -32,6 +33,12 @@ export default class FinishedApi extends BaseAPI {
32
33
  * @memberof FinishedApi
33
34
  */
34
35
  delete(notificationId: string): Promise<BitmovinResponse>;
36
+ /**
37
+ * @summary Get 'Manifest Finished' Webhooks (All Manifests)
38
+ * @throws {BitmovinError}
39
+ * @memberof FinishedApi
40
+ */
41
+ list(): Promise<PaginationResponse<Webhook>>;
35
42
  /**
36
43
  * @summary Replace Manifest Finished Webhook Notification
37
44
  * @param {string} notificationId Id of the webhook notification
@@ -19,6 +19,7 @@ var BaseAPI_1 = require("../../../../../common/BaseAPI");
19
19
  var Mapper_1 = require("../../../../../common/Mapper");
20
20
  var BitmovinResponse_1 = require("../../../../../models/BitmovinResponse");
21
21
  var Webhook_1 = require("../../../../../models/Webhook");
22
+ var PaginationResponse_1 = require("../../../../../models/PaginationResponse");
22
23
  /**
23
24
  * FinishedApi - object-oriented interface
24
25
  * @export
@@ -70,6 +71,16 @@ var FinishedApi = /** @class */ (function (_super) {
70
71
  return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
71
72
  });
72
73
  };
74
+ /**
75
+ * @summary Get 'Manifest Finished' Webhooks (All Manifests)
76
+ * @throws {BitmovinError}
77
+ * @memberof FinishedApi
78
+ */
79
+ FinishedApi.prototype.list = function () {
80
+ return this.restClient.get('/notifications/webhooks/encoding/manifest/finished', {}).then(function (response) {
81
+ return new PaginationResponse_1.default(response, Webhook_1.default);
82
+ });
83
+ };
73
84
  /**
74
85
  * @summary Replace Manifest Finished Webhook Notification
75
86
  * @param {string} notificationId Id of the webhook notification
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.188.0",
3
+ "version": "1.189.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [