@bitmovin/api-sdk 1.185.0 → 1.187.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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +66 -16
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/configurations/audio/eac3/customdata/CustomdataApi.d.ts +1 -1
  6. package/dist/encoding/configurations/audio/eac3/customdata/CustomdataApi.js +1 -1
  7. package/dist/models/AkamaiMslOutput.d.ts +1 -1
  8. package/dist/models/AnalyticsLicense.d.ts +6 -0
  9. package/dist/models/AnalyticsLicense.js +1 -0
  10. package/dist/models/AnalyticsVirtualLicense.d.ts +6 -0
  11. package/dist/models/AnalyticsVirtualLicense.js +1 -0
  12. package/dist/models/ConditionAttribute.d.ts +24 -0
  13. package/dist/models/ConditionAttribute.js +28 -0
  14. package/dist/models/StreamsDomainRestrictionResponse.d.ts +32 -0
  15. package/dist/models/{StreamsContentProtectionResponse.js → StreamsDomainRestrictionResponse.js} +7 -7
  16. package/dist/models/StreamsLiveCreateRequest.d.ts +6 -0
  17. package/dist/models/StreamsLiveCreateRequest.js +1 -0
  18. package/dist/models/StreamsLiveResponse.d.ts +3 -3
  19. package/dist/models/StreamsLiveResponse.js +2 -2
  20. package/dist/models/StreamsLiveUpdateRequest.d.ts +6 -0
  21. package/dist/models/StreamsLiveUpdateRequest.js +1 -0
  22. package/dist/models/StreamsVideoCreateRequest.d.ts +6 -0
  23. package/dist/models/StreamsVideoCreateRequest.js +1 -0
  24. package/dist/models/StreamsVideoResponse.d.ts +3 -3
  25. package/dist/models/StreamsVideoResponse.js +2 -2
  26. package/dist/models/StreamsVideoUpdateRequest.d.ts +6 -0
  27. package/dist/models/StreamsVideoUpdateRequest.js +1 -0
  28. package/dist/models/WebhookNotification.d.ts +20 -0
  29. package/dist/models/WebhookNotification.js +4 -0
  30. package/dist/models/index.d.ts +2 -1
  31. package/dist/models/index.js +2 -1
  32. package/package.json +1 -1
  33. package/dist/models/StreamsContentProtectionResponse.d.ts +0 -32
@@ -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.185.0',
243
+ 'X-Api-Client-Version': '1.187.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -10,7 +10,7 @@ import CustomData from '../../../../../models/CustomData';
10
10
  export default class CustomdataApi extends BaseAPI {
11
11
  constructor(configuration: Configuration);
12
12
  /**
13
- * @summary E-AC3 Codec Configuration Custom Data. Deprecation notice: use Dolby Digital Plus instead. For more information check out our tutorial here: https://bitmovin.com/docs/encoding/tutorials/how-to-create-dolby-digital-plus-encodings
13
+ * @summary E-AC3 Codec Configuration Custom Data
14
14
  * @param {string} configurationId Id of the codec configuration
15
15
  * @throws {BitmovinError}
16
16
  * @memberof CustomdataApi
@@ -30,7 +30,7 @@ var CustomdataApi = /** @class */ (function (_super) {
30
30
  return _super.call(this, configuration) || this;
31
31
  }
32
32
  /**
33
- * @summary E-AC3 Codec Configuration Custom Data. Deprecation notice: use Dolby Digital Plus instead. For more information check out our tutorial here: https://bitmovin.com/docs/encoding/tutorials/how-to-create-dolby-digital-plus-encodings
33
+ * @summary E-AC3 Codec Configuration Custom Data
34
34
  * @param {string} configurationId Id of the codec configuration
35
35
  * @throws {BitmovinError}
36
36
  * @memberof CustomdataApi
@@ -26,7 +26,7 @@ export declare class AkamaiMslOutput extends Output {
26
26
  */
27
27
  eventName?: string;
28
28
  /**
29
- * The stream format. Only DASH is supported at the moment. (required)
29
+ * - DASH: configure the Encoding with fMP4 or CMAF muxings and a DASH manifest. - HLS: configure the Encoding with TS muxings and an HLS manifest. - CMAF: configure the Encoding with fMP4 or CMAF muxings with both DASH and HLS manifests. (required)
30
30
  * @type {AkamaiMslStreamFormat}
31
31
  * @memberof AkamaiMslOutput
32
32
  */
@@ -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;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @export
3
+ * @class StreamsDomainRestrictionResponse
4
+ */
5
+ export declare class StreamsDomainRestrictionResponse {
6
+ /**
7
+ * The identifier of the streams domain restriction entity
8
+ * @type {string}
9
+ * @memberof StreamsDomainRestrictionResponse
10
+ */
11
+ id?: string;
12
+ /**
13
+ * The list of allowed domains
14
+ * @type {string[]}
15
+ * @memberof StreamsDomainRestrictionResponse
16
+ */
17
+ allowedDomains?: string[];
18
+ /**
19
+ * Controls if requests to domain restricted streams without referer header should be allowed or denied
20
+ * @type {boolean}
21
+ * @memberof StreamsDomainRestrictionResponse
22
+ */
23
+ allowNoReferer?: boolean;
24
+ /**
25
+ * Controls if Stream is accessible via sharing URL or not
26
+ * @type {boolean}
27
+ * @memberof StreamsDomainRestrictionResponse
28
+ */
29
+ allowShare?: boolean;
30
+ constructor(obj?: Partial<StreamsDomainRestrictionResponse>);
31
+ }
32
+ export default StreamsDomainRestrictionResponse;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamsContentProtectionResponse = void 0;
3
+ exports.StreamsDomainRestrictionResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  /**
6
6
  * @export
7
- * @class StreamsContentProtectionResponse
7
+ * @class StreamsDomainRestrictionResponse
8
8
  */
9
- var StreamsContentProtectionResponse = /** @class */ (function () {
10
- function StreamsContentProtectionResponse(obj) {
9
+ var StreamsDomainRestrictionResponse = /** @class */ (function () {
10
+ function StreamsDomainRestrictionResponse(obj) {
11
11
  if (!obj) {
12
12
  return;
13
13
  }
@@ -16,7 +16,7 @@ var StreamsContentProtectionResponse = /** @class */ (function () {
16
16
  this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
17
17
  this.allowShare = (0, Mapper_1.map)(obj.allowShare);
18
18
  }
19
- return StreamsContentProtectionResponse;
19
+ return StreamsDomainRestrictionResponse;
20
20
  }());
21
- exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
22
- exports.default = StreamsContentProtectionResponse;
21
+ exports.StreamsDomainRestrictionResponse = StreamsDomainRestrictionResponse;
22
+ exports.default = StreamsDomainRestrictionResponse;
@@ -15,6 +15,12 @@ export declare class StreamsLiveCreateRequest {
15
15
  * @memberof StreamsLiveCreateRequest
16
16
  */
17
17
  description?: string;
18
+ /**
19
+ * Id of the domain restriction config to use
20
+ * @type {string}
21
+ * @memberof StreamsLiveCreateRequest
22
+ */
23
+ domainRestrictionId?: string;
18
24
  constructor(obj?: Partial<StreamsLiveCreateRequest>);
19
25
  }
20
26
  export default StreamsLiveCreateRequest;
@@ -13,6 +13,7 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
13
13
  }
14
14
  this.title = (0, Mapper_1.map)(obj.title);
15
15
  this.description = (0, Mapper_1.map)(obj.description);
16
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
16
17
  }
17
18
  return StreamsLiveCreateRequest;
18
19
  }());
@@ -1,5 +1,5 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
- import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
2
+ import StreamsDomainRestrictionResponse from './StreamsDomainRestrictionResponse';
3
3
  import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
4
4
  import StreamsResponse from './StreamsResponse';
5
5
  import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
@@ -45,10 +45,10 @@ export declare class StreamsLiveResponse extends StreamsResponse {
45
45
  */
46
46
  adConfig?: StreamsAdConfigResponse;
47
47
  /**
48
- * @type {StreamsContentProtectionResponse}
48
+ * @type {StreamsDomainRestrictionResponse}
49
49
  * @memberof StreamsLiveResponse
50
50
  */
51
- contentProtection?: StreamsContentProtectionResponse;
51
+ domainRestriction?: StreamsDomainRestrictionResponse;
52
52
  /**
53
53
  * Stream trimming information
54
54
  * @type {StreamsTrimmingStatus}
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.StreamsLiveResponse = void 0;
19
19
  var Mapper_1 = require("../common/Mapper");
20
20
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
21
- var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
21
+ var StreamsDomainRestrictionResponse_1 = require("./StreamsDomainRestrictionResponse");
22
22
  var StreamsResponse_1 = require("./StreamsResponse");
23
23
  var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
24
24
  var StreamsType_1 = require("./StreamsType");
@@ -44,7 +44,7 @@ var StreamsLiveResponse = /** @class */ (function (_super) {
44
44
  _this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
45
45
  _this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
46
46
  _this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
47
- _this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
47
+ _this.domainRestriction = (0, Mapper_1.map)(obj.domainRestriction, StreamsDomainRestrictionResponse_1.default);
48
48
  _this.trimming = (0, Mapper_1.map)(obj.trimming);
49
49
  return _this;
50
50
  }
@@ -21,6 +21,12 @@ export declare class StreamsLiveUpdateRequest {
21
21
  * @memberof StreamsLiveUpdateRequest
22
22
  */
23
23
  posterUrl?: string;
24
+ /**
25
+ * Id of the domain restriction config to use
26
+ * @type {string}
27
+ * @memberof StreamsLiveUpdateRequest
28
+ */
29
+ domainRestrictionId?: string;
24
30
  constructor(obj?: Partial<StreamsLiveUpdateRequest>);
25
31
  }
26
32
  export default StreamsLiveUpdateRequest;
@@ -14,6 +14,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
14
14
  this.title = (0, Mapper_1.map)(obj.title);
15
15
  this.description = (0, Mapper_1.map)(obj.description);
16
16
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
17
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
17
18
  }
18
19
  return StreamsLiveUpdateRequest;
19
20
  }());
@@ -22,6 +22,12 @@ export declare class StreamsVideoCreateRequest {
22
22
  * @memberof StreamsVideoCreateRequest
23
23
  */
24
24
  description?: string;
25
+ /**
26
+ * Id of the domain restriction config to use
27
+ * @type {string}
28
+ * @memberof StreamsVideoCreateRequest
29
+ */
30
+ domainRestrictionId?: string;
25
31
  /**
26
32
  * Profile to be used in encoding
27
33
  * @type {StreamsEncodingProfile}
@@ -14,6 +14,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
14
14
  this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
15
15
  this.title = (0, Mapper_1.map)(obj.title);
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
17
18
  this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
18
19
  this.signed = (0, Mapper_1.map)(obj.signed);
19
20
  }
@@ -1,5 +1,5 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
- import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
2
+ import StreamsDomainRestrictionResponse from './StreamsDomainRestrictionResponse';
3
3
  import StreamsResponse from './StreamsResponse';
4
4
  import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
5
5
  import StreamsTrimmingStatus from './StreamsTrimmingStatus';
@@ -52,10 +52,10 @@ export declare class StreamsVideoResponse extends StreamsResponse {
52
52
  */
53
53
  adConfig?: StreamsAdConfigResponse;
54
54
  /**
55
- * @type {StreamsContentProtectionResponse}
55
+ * @type {StreamsDomainRestrictionResponse}
56
56
  * @memberof StreamsVideoResponse
57
57
  */
58
- contentProtection?: StreamsContentProtectionResponse;
58
+ domainRestriction?: StreamsDomainRestrictionResponse;
59
59
  /**
60
60
  * Stream trimming information
61
61
  * @type {StreamsTrimmingStatus}
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.StreamsVideoResponse = void 0;
19
19
  var Mapper_1 = require("../common/Mapper");
20
20
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
21
- var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
21
+ var StreamsDomainRestrictionResponse_1 = require("./StreamsDomainRestrictionResponse");
22
22
  var StreamsResponse_1 = require("./StreamsResponse");
23
23
  var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
24
24
  var StreamsType_1 = require("./StreamsType");
@@ -46,7 +46,7 @@ var StreamsVideoResponse = /** @class */ (function (_super) {
46
46
  _this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
47
47
  _this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
48
48
  _this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
49
- _this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
49
+ _this.domainRestriction = (0, Mapper_1.map)(obj.domainRestriction, StreamsDomainRestrictionResponse_1.default);
50
50
  _this.trimming = (0, Mapper_1.map)(obj.trimming);
51
51
  _this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
52
52
  _this.signed = (0, Mapper_1.map)(obj.signed);
@@ -28,6 +28,12 @@ export declare class StreamsVideoUpdateRequest {
28
28
  * @memberof StreamsVideoUpdateRequest
29
29
  */
30
30
  posterUrl?: string;
31
+ /**
32
+ * Id of the domain restriction config to use
33
+ * @type {string}
34
+ * @memberof StreamsVideoUpdateRequest
35
+ */
36
+ domainRestrictionId?: string;
31
37
  constructor(obj?: Partial<StreamsVideoUpdateRequest>);
32
38
  }
33
39
  export default StreamsVideoUpdateRequest;
@@ -15,6 +15,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
15
15
  this.title = (0, Mapper_1.map)(obj.title);
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
17
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
18
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
18
19
  }
19
20
  return StreamsVideoUpdateRequest;
20
21
  }());
@@ -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;
@@ -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';
@@ -717,7 +718,7 @@ export * from './StreamPerTitleSettings';
717
718
  export * from './StreamSelectionMode';
718
719
  export * from './StreamsAdConfigAd';
719
720
  export * from './StreamsAdConfigResponse';
720
- export * from './StreamsContentProtectionResponse';
721
+ export * from './StreamsDomainRestrictionResponse';
721
722
  export * from './StreamsEncodingProfile';
722
723
  export * from './StreamsLiveCreateRequest';
723
724
  export * from './StreamsLiveLifeCycle';
@@ -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);
@@ -733,7 +734,7 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
733
734
  __exportStar(require("./StreamSelectionMode"), exports);
734
735
  __exportStar(require("./StreamsAdConfigAd"), exports);
735
736
  __exportStar(require("./StreamsAdConfigResponse"), exports);
736
- __exportStar(require("./StreamsContentProtectionResponse"), exports);
737
+ __exportStar(require("./StreamsDomainRestrictionResponse"), exports);
737
738
  __exportStar(require("./StreamsEncodingProfile"), exports);
738
739
  __exportStar(require("./StreamsLiveCreateRequest"), exports);
739
740
  __exportStar(require("./StreamsLiveLifeCycle"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.185.0",
3
+ "version": "1.187.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -1,32 +0,0 @@
1
- /**
2
- * @export
3
- * @class StreamsContentProtectionResponse
4
- */
5
- export declare class StreamsContentProtectionResponse {
6
- /**
7
- * The identifier of the streams content protection entity
8
- * @type {string}
9
- * @memberof StreamsContentProtectionResponse
10
- */
11
- id?: string;
12
- /**
13
- * The list of allowed domains
14
- * @type {string[]}
15
- * @memberof StreamsContentProtectionResponse
16
- */
17
- allowedDomains?: string[];
18
- /**
19
- * Controls if requests to content protected streams without referer header should be allowed or denied
20
- * @type {boolean}
21
- * @memberof StreamsContentProtectionResponse
22
- */
23
- allowNoReferer?: boolean;
24
- /**
25
- * Controls if Stream is accessible via sharing URL or not
26
- * @type {boolean}
27
- * @memberof StreamsContentProtectionResponse
28
- */
29
- allowShare?: boolean;
30
- constructor(obj?: Partial<StreamsContentProtectionResponse>);
31
- }
32
- export default StreamsContentProtectionResponse;