@bitmovin/api-sdk 1.264.0 → 1.266.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 (25) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +376 -2
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/models/AzureInput.d.ts +7 -1
  6. package/dist/models/AzureInput.js +2 -0
  7. package/dist/models/AzureOutput.d.ts +7 -1
  8. package/dist/models/AzureOutput.js +2 -0
  9. package/dist/models/AzureServicePrincipal.d.ts +33 -0
  10. package/dist/models/AzureServicePrincipal.js +23 -0
  11. package/dist/models/PTSAlignMode.d.ts +1 -1
  12. package/dist/models/PTSAlignMode.js +1 -1
  13. package/dist/models/index.d.ts +1 -0
  14. package/dist/models/index.js +1 -0
  15. package/dist/notifications/webhooks/encoding/encodings/EncodingsApi.d.ts +2 -0
  16. package/dist/notifications/webhooks/encoding/encodings/EncodingsApi.js +2 -0
  17. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/LiveManifestReadyApi.d.ts +78 -0
  18. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/LiveManifestReadyApi.js +167 -0
  19. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.d.ts +28 -0
  20. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.js +29 -0
  21. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.d.ts +28 -0
  22. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.js +29 -0
  23. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.d.ts +27 -0
  24. package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.js +64 -0
  25. package/package.json +1 -1
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var BaseAPI_1 = require("../../../../../../common/BaseAPI");
19
+ var Mapper_1 = require("../../../../../../common/Mapper");
20
+ var CustomData_1 = require("../../../../../../models/CustomData");
21
+ /**
22
+ * CustomdataApi - object-oriented interface
23
+ * @export
24
+ * @class CustomdataApi
25
+ * @extends {BaseAPI}
26
+ */
27
+ var CustomdataApi = /** @class */ (function (_super) {
28
+ __extends(CustomdataApi, _super);
29
+ function CustomdataApi(configuration) {
30
+ return _super.call(this, configuration) || this;
31
+ }
32
+ /**
33
+ * @summary 'Live Manifest Ready' Webhook Custom Data for a specific Encoding
34
+ * @param {string} encodingId Id of the encoding
35
+ * @param {string} webhookId Id of the webhook
36
+ * @throws {BitmovinError}
37
+ * @memberof CustomdataApi
38
+ */
39
+ CustomdataApi.prototype.getCustomDataByEncodingIdAndWebhookId = function (encodingId, webhookId) {
40
+ var pathParamMap = {
41
+ encoding_id: encodingId,
42
+ webhook_id: webhookId
43
+ };
44
+ return this.restClient.get('/notifications/webhooks/encoding/encodings/{encoding_id}/live-manifest-ready/{webhook_id}/customData', pathParamMap).then(function (response) {
45
+ return (0, Mapper_1.map)(response, CustomData_1.default);
46
+ });
47
+ };
48
+ /**
49
+ * @summary 'Live Manifest Ready' Webhook Custom Data
50
+ * @param {string} webhookId Id of the webhook
51
+ * @throws {BitmovinError}
52
+ * @memberof CustomdataApi
53
+ */
54
+ CustomdataApi.prototype.getCustomDataByWebhookId = function (webhookId) {
55
+ var pathParamMap = {
56
+ webhook_id: webhookId
57
+ };
58
+ return this.restClient.get('/notifications/webhooks/encoding/encodings/live-manifest-ready/{webhook_id}/customData', pathParamMap).then(function (response) {
59
+ return (0, Mapper_1.map)(response, CustomData_1.default);
60
+ });
61
+ };
62
+ return CustomdataApi;
63
+ }(BaseAPI_1.BaseAPI));
64
+ exports.default = CustomdataApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.264.0",
3
+ "version": "1.266.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [