@bitmovin/api-sdk 1.185.0 → 1.186.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/bitmovin-api-sdk.browser.js +47 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AnalyticsLicense.d.ts +6 -0
- package/dist/models/AnalyticsLicense.js +1 -0
- package/dist/models/AnalyticsVirtualLicense.d.ts +6 -0
- package/dist/models/AnalyticsVirtualLicense.js +1 -0
- package/dist/models/ConditionAttribute.d.ts +24 -0
- package/dist/models/ConditionAttribute.js +28 -0
- package/dist/models/WebhookNotification.d.ts +20 -0
- package/dist/models/WebhookNotification.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -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.
|
|
243
|
+
'X-Api-Client-Version': '1.186.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -80,6 +80,12 @@ export declare class AnalyticsLicense {
|
|
|
80
80
|
* @memberof AnalyticsLicense
|
|
81
81
|
*/
|
|
82
82
|
retentionTime?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Retention time for compressed data, returned as ISO 8601 duration format: P(n)Y(n)M(n)DT(n)H(n)M(n)S
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof AnalyticsLicense
|
|
87
|
+
*/
|
|
88
|
+
compressedRetentionTime?: string;
|
|
83
89
|
/**
|
|
84
90
|
* Whitelisted domains
|
|
85
91
|
* @type {AnalyticsLicenseDomain[]}
|
|
@@ -26,6 +26,7 @@ var AnalyticsLicense = /** @class */ (function () {
|
|
|
26
26
|
this.maxImpressions = (0, Mapper_1.map)(obj.maxImpressions);
|
|
27
27
|
this.timeZone = (0, Mapper_1.map)(obj.timeZone);
|
|
28
28
|
this.retentionTime = (0, Mapper_1.map)(obj.retentionTime);
|
|
29
|
+
this.compressedRetentionTime = (0, Mapper_1.map)(obj.compressedRetentionTime);
|
|
29
30
|
this.domains = (0, Mapper_1.mapArray)(obj.domains, AnalyticsLicenseDomain_1.default);
|
|
30
31
|
this.includeInInsights = (0, Mapper_1.map)(obj.includeInInsights);
|
|
31
32
|
this.customDataFieldLabels = (0, Mapper_1.map)(obj.customDataFieldLabels, AnalyticsLicenseCustomDataFieldLabels_1.default);
|
|
@@ -29,6 +29,12 @@ export declare class AnalyticsVirtualLicense {
|
|
|
29
29
|
* @memberof AnalyticsVirtualLicense
|
|
30
30
|
*/
|
|
31
31
|
retentionTime?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Retention time for compressed data, returned as ISO 8601 duration format: P(n)Y(n)M(n)DT(n)H(n)M(n)S
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AnalyticsVirtualLicense
|
|
36
|
+
*/
|
|
37
|
+
compressedRetentionTime?: string;
|
|
32
38
|
/**
|
|
33
39
|
* List of Analytics Licenses
|
|
34
40
|
* @type {AnalyticsVirtualLicenseLicensesListItem[]}
|
|
@@ -17,6 +17,7 @@ var AnalyticsVirtualLicense = /** @class */ (function () {
|
|
|
17
17
|
this.name = (0, Mapper_1.map)(obj.name);
|
|
18
18
|
this.timezone = (0, Mapper_1.map)(obj.timezone);
|
|
19
19
|
this.retentionTime = (0, Mapper_1.map)(obj.retentionTime);
|
|
20
|
+
this.compressedRetentionTime = (0, Mapper_1.map)(obj.compressedRetentionTime);
|
|
20
21
|
this.licenses = (0, Mapper_1.mapArray)(obj.licenses, AnalyticsVirtualLicenseLicensesListItem_1.default);
|
|
21
22
|
this.customDataFieldsCount = (0, Mapper_1.map)(obj.customDataFieldsCount);
|
|
22
23
|
this.customDataFieldLabels = (0, Mapper_1.map)(obj.customDataFieldLabels, AnalyticsLicenseCustomDataFieldLabels_1.default);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The attribute that should be checked
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum ConditionAttribute {
|
|
7
|
+
HEIGHT = "HEIGHT",
|
|
8
|
+
WIDTH = "WIDTH",
|
|
9
|
+
BITRATE = "BITRATE",
|
|
10
|
+
FPS = "FPS",
|
|
11
|
+
ASPECTRATIO = "ASPECTRATIO",
|
|
12
|
+
INPUTSTREAM = "INPUTSTREAM",
|
|
13
|
+
LANGUAGE = "LANGUAGE",
|
|
14
|
+
CHANNELFORMAT = "CHANNELFORMAT",
|
|
15
|
+
CHANNELLAYOUT = "CHANNELLAYOUT",
|
|
16
|
+
STREAMCOUNT = "STREAMCOUNT",
|
|
17
|
+
AUDIOSTREAMCOUNT = "AUDIOSTREAMCOUNT",
|
|
18
|
+
VIDEOSTREAMCOUNT = "VIDEOSTREAMCOUNT",
|
|
19
|
+
DURATION = "DURATION",
|
|
20
|
+
ROTATION = "ROTATION",
|
|
21
|
+
CONNECTION_STATUS = "CONNECTION_STATUS",
|
|
22
|
+
CONNECTION_STATUS_JUST_CHANGED = "CONNECTION_STATUS_JUST_CHANGED"
|
|
23
|
+
}
|
|
24
|
+
export default ConditionAttribute;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConditionAttribute = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* The attribute that should be checked
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var ConditionAttribute;
|
|
10
|
+
(function (ConditionAttribute) {
|
|
11
|
+
ConditionAttribute["HEIGHT"] = "HEIGHT";
|
|
12
|
+
ConditionAttribute["WIDTH"] = "WIDTH";
|
|
13
|
+
ConditionAttribute["BITRATE"] = "BITRATE";
|
|
14
|
+
ConditionAttribute["FPS"] = "FPS";
|
|
15
|
+
ConditionAttribute["ASPECTRATIO"] = "ASPECTRATIO";
|
|
16
|
+
ConditionAttribute["INPUTSTREAM"] = "INPUTSTREAM";
|
|
17
|
+
ConditionAttribute["LANGUAGE"] = "LANGUAGE";
|
|
18
|
+
ConditionAttribute["CHANNELFORMAT"] = "CHANNELFORMAT";
|
|
19
|
+
ConditionAttribute["CHANNELLAYOUT"] = "CHANNELLAYOUT";
|
|
20
|
+
ConditionAttribute["STREAMCOUNT"] = "STREAMCOUNT";
|
|
21
|
+
ConditionAttribute["AUDIOSTREAMCOUNT"] = "AUDIOSTREAMCOUNT";
|
|
22
|
+
ConditionAttribute["VIDEOSTREAMCOUNT"] = "VIDEOSTREAMCOUNT";
|
|
23
|
+
ConditionAttribute["DURATION"] = "DURATION";
|
|
24
|
+
ConditionAttribute["ROTATION"] = "ROTATION";
|
|
25
|
+
ConditionAttribute["CONNECTION_STATUS"] = "CONNECTION_STATUS";
|
|
26
|
+
ConditionAttribute["CONNECTION_STATUS_JUST_CHANGED"] = "CONNECTION_STATUS_JUST_CHANGED";
|
|
27
|
+
})(ConditionAttribute || (exports.ConditionAttribute = ConditionAttribute = {}));
|
|
28
|
+
exports.default = ConditionAttribute;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Notification from './Notification';
|
|
2
|
+
import WebhookHttpMethod from './WebhookHttpMethod';
|
|
3
|
+
import WebhookSignature from './WebhookSignature';
|
|
2
4
|
/**
|
|
3
5
|
* @export
|
|
4
6
|
* @class WebhookNotification
|
|
@@ -10,6 +12,24 @@ export declare class WebhookNotification extends Notification {
|
|
|
10
12
|
* @memberof WebhookNotification
|
|
11
13
|
*/
|
|
12
14
|
url?: string;
|
|
15
|
+
/**
|
|
16
|
+
* HTTP method used for the webhook
|
|
17
|
+
* @type {WebhookHttpMethod}
|
|
18
|
+
* @memberof WebhookNotification
|
|
19
|
+
*/
|
|
20
|
+
method?: WebhookHttpMethod;
|
|
21
|
+
/**
|
|
22
|
+
* Skip verification of the SSL certificate
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @memberof WebhookNotification
|
|
25
|
+
*/
|
|
26
|
+
insecureSsl?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Signature used for the webhook
|
|
29
|
+
* @type {WebhookSignature}
|
|
30
|
+
* @memberof WebhookNotification
|
|
31
|
+
*/
|
|
32
|
+
signature?: WebhookSignature;
|
|
13
33
|
constructor(obj?: Partial<WebhookNotification>);
|
|
14
34
|
}
|
|
15
35
|
export default WebhookNotification;
|
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.WebhookNotification = void 0;
|
|
19
19
|
var Mapper_1 = require("../common/Mapper");
|
|
20
20
|
var Notification_1 = require("./Notification");
|
|
21
|
+
var WebhookSignature_1 = require("./WebhookSignature");
|
|
21
22
|
/**
|
|
22
23
|
* @export
|
|
23
24
|
* @class WebhookNotification
|
|
@@ -30,6 +31,9 @@ var WebhookNotification = /** @class */ (function (_super) {
|
|
|
30
31
|
return _this;
|
|
31
32
|
}
|
|
32
33
|
_this.url = (0, Mapper_1.map)(obj.url);
|
|
34
|
+
_this.method = (0, Mapper_1.map)(obj.method);
|
|
35
|
+
_this.insecureSsl = (0, Mapper_1.map)(obj.insecureSsl);
|
|
36
|
+
_this.signature = (0, Mapper_1.map)(obj.signature, WebhookSignature_1.default);
|
|
33
37
|
return _this;
|
|
34
38
|
}
|
|
35
39
|
return WebhookNotification;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -206,6 +206,7 @@ export * from './ColorTransfer';
|
|
|
206
206
|
export * from './ConcatenationInputConfiguration';
|
|
207
207
|
export * from './ConcatenationInputStream';
|
|
208
208
|
export * from './Condition';
|
|
209
|
+
export * from './ConditionAttribute';
|
|
209
210
|
export * from './ConditionOperator';
|
|
210
211
|
export * from './ConditionType';
|
|
211
212
|
export * from './ConformFilter';
|
package/dist/models/index.js
CHANGED
|
@@ -222,6 +222,7 @@ __exportStar(require("./ColorTransfer"), exports);
|
|
|
222
222
|
__exportStar(require("./ConcatenationInputConfiguration"), exports);
|
|
223
223
|
__exportStar(require("./ConcatenationInputStream"), exports);
|
|
224
224
|
__exportStar(require("./Condition"), exports);
|
|
225
|
+
__exportStar(require("./ConditionAttribute"), exports);
|
|
225
226
|
__exportStar(require("./ConditionOperator"), exports);
|
|
226
227
|
__exportStar(require("./ConditionType"), exports);
|
|
227
228
|
__exportStar(require("./ConformFilter"), exports);
|