@bitmovin/api-sdk 1.165.0 → 1.166.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 (67) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +59 -29
  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/ac3/Ac3Api.d.ts +4 -4
  6. package/dist/encoding/configurations/audio/ac3/Ac3Api.js +4 -4
  7. package/dist/encoding/configurations/audio/eac3/Eac3Api.d.ts +4 -4
  8. package/dist/encoding/configurations/audio/eac3/Eac3Api.js +4 -4
  9. package/dist/encoding/encodings/live/insertableContent/InsertableContentApi.d.ts +2 -2
  10. package/dist/encoding/encodings/live/insertableContent/InsertableContentApi.js +2 -2
  11. package/dist/encoding/encodings/live/insertableContent/schedule/ScheduleApi.d.ts +1 -1
  12. package/dist/encoding/encodings/live/insertableContent/schedule/ScheduleApi.js +1 -1
  13. package/dist/encoding/encodings/live/insertableContent/scheduled/ScheduledApi.d.ts +1 -1
  14. package/dist/encoding/encodings/live/insertableContent/scheduled/ScheduledApi.js +1 -1
  15. package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.d.ts +1 -1
  16. package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.js +1 -1
  17. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +1 -1
  18. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +1 -1
  19. package/dist/encoding/filters/conform/ConformApi.d.ts +1 -1
  20. package/dist/encoding/filters/conform/ConformApi.js +1 -1
  21. package/dist/encoding/manifests/dash/DashApi.d.ts +1 -1
  22. package/dist/encoding/manifests/dash/DashApi.js +1 -1
  23. package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +1 -1
  24. package/dist/encoding/manifests/dash/default/DefaultApi.js +1 -1
  25. package/dist/encoding/manifests/hls/HlsApi.d.ts +1 -1
  26. package/dist/encoding/manifests/hls/HlsApi.js +1 -1
  27. package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +1 -1
  28. package/dist/encoding/manifests/hls/default/DefaultApi.js +1 -1
  29. package/dist/encoding/manifests/smooth/SmoothApi.d.ts +1 -1
  30. package/dist/encoding/manifests/smooth/SmoothApi.js +1 -1
  31. package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +1 -1
  32. package/dist/encoding/manifests/smooth/default/DefaultApi.js +1 -1
  33. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +1 -1
  34. package/dist/encoding/simple/jobs/live/LiveApi.js +1 -1
  35. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +1 -1
  36. package/dist/encoding/simple/jobs/vod/VodApi.js +1 -1
  37. package/dist/models/Encoding.d.ts +8 -1
  38. package/dist/models/Encoding.js +1 -0
  39. package/dist/models/LiveOptionsType.d.ts +8 -0
  40. package/dist/models/LiveOptionsType.js +12 -0
  41. package/dist/models/PresetConfiguration.d.ts +2 -1
  42. package/dist/models/PresetConfiguration.js +1 -0
  43. package/dist/models/SpekeDrmProvider.d.ts +6 -0
  44. package/dist/models/SpekeDrmProvider.js +1 -0
  45. package/dist/models/StartEncodingRequest.d.ts +1 -1
  46. package/dist/models/StartLiveEncodingRequest.d.ts +1 -1
  47. package/dist/models/Stream.d.ts +1 -1
  48. package/dist/models/StreamsContentProtectionResponse.d.ts +6 -0
  49. package/dist/models/StreamsContentProtectionResponse.js +1 -0
  50. package/dist/models/StreamsLiveUpdateRequest.d.ts +6 -0
  51. package/dist/models/StreamsLiveUpdateRequest.js +1 -0
  52. package/dist/models/StreamsVideoUpdateRequest.d.ts +6 -0
  53. package/dist/models/StreamsVideoUpdateRequest.js +1 -0
  54. package/dist/models/VideoConfiguration.d.ts +1 -1
  55. package/dist/models/index.d.ts +1 -0
  56. package/dist/models/index.js +1 -0
  57. package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.d.ts +1 -1
  58. package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.js +1 -1
  59. package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.d.ts +1 -1
  60. package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.js +1 -1
  61. package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.d.ts +1 -1
  62. package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.js +1 -1
  63. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +1 -1
  64. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +1 -1
  65. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +1 -1
  66. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +1 -1
  67. package/package.json +1 -1
@@ -14,6 +14,7 @@ var StreamsContentProtectionResponse = /** @class */ (function () {
14
14
  this.id = (0, Mapper_1.map)(obj.id);
15
15
  this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
16
16
  this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
17
+ this.allowShare = (0, Mapper_1.map)(obj.allowShare);
17
18
  }
18
19
  return StreamsContentProtectionResponse;
19
20
  }());
@@ -33,6 +33,12 @@ export declare class StreamsLiveUpdateRequest {
33
33
  * @memberof StreamsLiveUpdateRequest
34
34
  */
35
35
  adConfigId?: string;
36
+ /**
37
+ * Id of the content protection config to use
38
+ * @type {string}
39
+ * @memberof StreamsLiveUpdateRequest
40
+ */
41
+ contentProtectionId?: string;
36
42
  constructor(obj?: Partial<StreamsLiveUpdateRequest>);
37
43
  }
38
44
  export default StreamsLiveUpdateRequest;
@@ -16,6 +16,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
16
16
  this.configId = (0, Mapper_1.map)(obj.configId);
17
17
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
18
18
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
19
+ this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
19
20
  }
20
21
  return StreamsLiveUpdateRequest;
21
22
  }());
@@ -40,6 +40,12 @@ export declare class StreamsVideoUpdateRequest {
40
40
  * @memberof StreamsVideoUpdateRequest
41
41
  */
42
42
  adConfigId?: string;
43
+ /**
44
+ * Id of the content protection config to use
45
+ * @type {string}
46
+ * @memberof StreamsVideoUpdateRequest
47
+ */
48
+ contentProtectionId?: string;
43
49
  constructor(obj?: Partial<StreamsVideoUpdateRequest>);
44
50
  }
45
51
  export default StreamsVideoUpdateRequest;
@@ -17,6 +17,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
17
17
  this.configId = (0, Mapper_1.map)(obj.configId);
18
18
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
19
19
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
20
+ this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
20
21
  }
21
22
  return StreamsVideoUpdateRequest;
22
23
  }());
@@ -62,7 +62,7 @@ export declare class VideoConfiguration extends CodecConfiguration {
62
62
  */
63
63
  displayAspectRatio?: DisplayAspectRatio;
64
64
  /**
65
- * The mode of the encoding
65
+ * The mode of the encoding. When this is set, `encodingMode` (`liveEncodingMode`) must not be set in the (live) encoding start request.
66
66
  * @type {EncodingMode}
67
67
  * @memberof VideoConfiguration
68
68
  */
@@ -465,6 +465,7 @@ export * from './LiveEncodingStatsEventDetails';
465
465
  export * from './LiveEncodingStatus';
466
466
  export * from './LiveHlsManifest';
467
467
  export * from './LiveMediaIngestOutput';
468
+ export * from './LiveOptionsType';
468
469
  export * from './LocalInput';
469
470
  export * from './LocalOutput';
470
471
  export * from './Manifest';
@@ -481,6 +481,7 @@ __exportStar(require("./LiveEncodingStatsEventDetails"), exports);
481
481
  __exportStar(require("./LiveEncodingStatus"), exports);
482
482
  __exportStar(require("./LiveHlsManifest"), exports);
483
483
  __exportStar(require("./LiveMediaIngestOutput"), exports);
484
+ __exportStar(require("./LiveOptionsType"), exports);
484
485
  __exportStar(require("./LocalInput"), exports);
485
486
  __exportStar(require("./LocalOutput"), exports);
486
487
  __exportStar(require("./Manifest"), exports);
@@ -17,7 +17,7 @@ export default class ErrorApi extends BaseAPI {
17
17
  constructor(configuration: Configuration);
18
18
  /**
19
19
  * @summary Add 'Encoding Error' Webhook
20
- * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
20
+ * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added.
21
21
  * @throws {BitmovinError}
22
22
  * @memberof ErrorApi
23
23
  */
@@ -38,7 +38,7 @@ var ErrorApi = /** @class */ (function (_super) {
38
38
  }
39
39
  /**
40
40
  * @summary Add 'Encoding Error' Webhook
41
- * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
41
+ * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added.
42
42
  * @throws {BitmovinError}
43
43
  * @memberof ErrorApi
44
44
  */
@@ -17,7 +17,7 @@ export default class FinishedApi extends BaseAPI {
17
17
  constructor(configuration: Configuration);
18
18
  /**
19
19
  * @summary Add 'Encoding Finished' Webhook
20
- * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
20
+ * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added.
21
21
  * @throws {BitmovinError}
22
22
  * @memberof FinishedApi
23
23
  */
@@ -38,7 +38,7 @@ var FinishedApi = /** @class */ (function (_super) {
38
38
  }
39
39
  /**
40
40
  * @summary Add 'Encoding Finished' Webhook
41
- * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
41
+ * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added.
42
42
  * @throws {BitmovinError}
43
43
  * @memberof FinishedApi
44
44
  */
@@ -17,7 +17,7 @@ export default class TransferErrorApi extends BaseAPI {
17
17
  constructor(configuration: Configuration);
18
18
  /**
19
19
  * @summary Add 'Encoding Transfer Error' Webhook
20
- * @param {Webhook} webhook The &#39;Encoding Transfer Error&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
20
+ * @param {Webhook} webhook The &#39;Encoding Transfer Error&#39; Webhook to be added.
21
21
  * @throws {BitmovinError}
22
22
  * @memberof TransferErrorApi
23
23
  */
@@ -38,7 +38,7 @@ var TransferErrorApi = /** @class */ (function (_super) {
38
38
  }
39
39
  /**
40
40
  * @summary Add 'Encoding Transfer Error' Webhook
41
- * @param {Webhook} webhook The &#39;Encoding Transfer Error&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
41
+ * @param {Webhook} webhook The &#39;Encoding Transfer Error&#39; Webhook to be added.
42
42
  * @throws {BitmovinError}
43
43
  * @memberof TransferErrorApi
44
44
  */
@@ -12,7 +12,7 @@ export default class ErrorApi extends BaseAPI {
12
12
  constructor(configuration: Configuration);
13
13
  /**
14
14
  * @summary Add 'Manifest Error' Webhook (All Manifests)
15
- * @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
15
+ * @param {Webhook} webhook The &#39;Manifest Error&#39; Webhook to be added.
16
16
  * @throws {BitmovinError}
17
17
  * @memberof ErrorApi
18
18
  */
@@ -32,7 +32,7 @@ var ErrorApi = /** @class */ (function (_super) {
32
32
  }
33
33
  /**
34
34
  * @summary Add 'Manifest Error' Webhook (All Manifests)
35
- * @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
35
+ * @param {Webhook} webhook The &#39;Manifest Error&#39; Webhook to be added.
36
36
  * @throws {BitmovinError}
37
37
  * @memberof ErrorApi
38
38
  */
@@ -12,7 +12,7 @@ export default class FinishedApi extends BaseAPI {
12
12
  constructor(configuration: Configuration);
13
13
  /**
14
14
  * @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
15
- * @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
15
+ * @param {Webhook} webhook Add a new webhook notification that triggers if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
16
16
  * @throws {BitmovinError}
17
17
  * @memberof FinishedApi
18
18
  */
@@ -32,7 +32,7 @@ var FinishedApi = /** @class */ (function (_super) {
32
32
  }
33
33
  /**
34
34
  * @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
35
- * @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
35
+ * @param {Webhook} webhook Add a new webhook notification that triggers if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
36
36
  * @throws {BitmovinError}
37
37
  * @memberof FinishedApi
38
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.165.0",
3
+ "version": "1.166.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [