@bitmovin/api-sdk 1.196.1 → 1.198.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 (45) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +601 -9
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/BitmovinErrorBuilder.js +2 -3
  5. package/dist/common/Mapper.js +2 -3
  6. package/dist/common/RestClient.js +3 -3
  7. package/dist/encoding/encodings/muxings/MuxingsApi.d.ts +2 -0
  8. package/dist/encoding/encodings/muxings/MuxingsApi.js +2 -0
  9. package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.d.ts +51 -0
  10. package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.js +111 -0
  11. package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.d.ts +28 -0
  12. package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.js +29 -0
  13. package/dist/encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.d.ts +20 -0
  14. package/dist/encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.js +50 -0
  15. package/dist/encoding/encodings/muxings/progressiveWav/information/InformationApi.d.ts +20 -0
  16. package/dist/encoding/encodings/muxings/progressiveWav/information/InformationApi.js +50 -0
  17. package/dist/models/CloudRegion.d.ts +1 -0
  18. package/dist/models/CloudRegion.js +1 -0
  19. package/dist/models/GoogleCloudRegion.d.ts +2 -1
  20. package/dist/models/GoogleCloudRegion.js +1 -0
  21. package/dist/models/H264VideoConfiguration.d.ts +3 -3
  22. package/dist/models/H265VideoConfiguration.d.ts +3 -3
  23. package/dist/models/LiveEncodingHeartbeatWebhook.d.ts +15 -0
  24. package/dist/models/LiveEncodingHeartbeatWebhook.js +38 -0
  25. package/dist/models/Muxing.d.ts +2 -1
  26. package/dist/models/Muxing.js +1 -0
  27. package/dist/models/MuxingType.d.ts +1 -0
  28. package/dist/models/MuxingType.js +1 -0
  29. package/dist/models/PcmChannelLayout.d.ts +2 -1
  30. package/dist/models/PcmChannelLayout.js +1 -0
  31. package/dist/models/PcmSampleFormat.d.ts +2 -1
  32. package/dist/models/PcmSampleFormat.js +1 -0
  33. package/dist/models/ProgressiveWavMuxing.d.ts +22 -0
  34. package/dist/models/ProgressiveWavMuxing.js +45 -0
  35. package/dist/models/ProgressiveWavMuxingInformation.d.ts +9 -0
  36. package/dist/models/ProgressiveWavMuxingInformation.js +36 -0
  37. package/dist/models/index.d.ts +3 -0
  38. package/dist/models/index.js +3 -0
  39. package/dist/notifications/webhooks/encoding/encodings/EncodingsApi.d.ts +2 -0
  40. package/dist/notifications/webhooks/encoding/encodings/EncodingsApi.js +2 -0
  41. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.d.ts +43 -0
  42. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.js +94 -0
  43. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.d.ts +28 -0
  44. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.js +29 -0
  45. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildBitmovinErrorFromError = exports.buildBitmovinError = void 0;
3
+ exports.buildBitmovinError = buildBitmovinError;
4
+ exports.buildBitmovinErrorFromError = buildBitmovinErrorFromError;
4
5
  var BitmovinError_1 = require("./BitmovinError");
5
6
  function appendLine(message, messageToAppend) {
6
7
  return "".concat(message).concat(messageToAppend, "\n");
@@ -85,7 +86,6 @@ function buildBitmovinError(additionalInfo, request, response, errorResponse, er
85
86
  }
86
87
  return bitmovinError;
87
88
  }
88
- exports.buildBitmovinError = buildBitmovinError;
89
89
  function buildBitmovinErrorFromError(request, error) {
90
90
  var shortMessage = "Request failed: ".concat(error.message);
91
91
  var message = appendLine('', shortMessage);
@@ -96,4 +96,3 @@ function buildBitmovinErrorFromError(request, error) {
96
96
  }
97
97
  return bitmovinError;
98
98
  }
99
- exports.buildBitmovinErrorFromError = buildBitmovinErrorFromError;
@@ -1,18 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mapArray = exports.map = void 0;
3
+ exports.map = map;
4
+ exports.mapArray = mapArray;
4
5
  var models = require("../models");
5
6
  function map(value, clazz) {
6
7
  return mapInternal(value, clazz);
7
8
  }
8
- exports.map = map;
9
9
  function mapArray(value, clazz) {
10
10
  if (!value) {
11
11
  return [];
12
12
  }
13
13
  return value.map(function (item) { return mapInternal(item, clazz); });
14
14
  }
15
- exports.mapArray = mapArray;
16
15
  function mapInternal(value, clazz) {
17
16
  if (!value) {
18
17
  return value;
@@ -51,7 +51,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
51
51
  }
52
52
  };
53
53
  Object.defineProperty(exports, "__esModule", { value: true });
54
- exports.RestClient = exports.copyAndPrepareBody = void 0;
54
+ exports.RestClient = void 0;
55
+ exports.copyAndPrepareBody = copyAndPrepareBody;
55
56
  var e6p = require("es6-promise");
56
57
  var urljoin = require("url-join");
57
58
  var isomorphicFetch = require("isomorphic-fetch");
@@ -134,7 +135,6 @@ function copyAndPrepareBody(value) {
134
135
  }
135
136
  return cloned;
136
137
  }
137
- exports.copyAndPrepareBody = copyAndPrepareBody;
138
138
  function isPrimitive(arg) {
139
139
  var type = typeof arg;
140
140
  return arg == null || (type != 'object' && type != 'function');
@@ -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.196.1',
243
+ 'X-Api-Client-Version': '1.198.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -14,6 +14,7 @@ import Mp4Api from './mp4/Mp4Api';
14
14
  import MxfApi from './mxf/MxfApi';
15
15
  import ProgressiveTsApi from './progressiveTs/ProgressiveTsApi';
16
16
  import BroadcastTsApi from './broadcastTs/BroadcastTsApi';
17
+ import ProgressiveWavApi from './progressiveWav/ProgressiveWavApi';
17
18
  import ProgressiveWebmApi from './progressiveWebm/ProgressiveWebmApi';
18
19
  import ProgressiveMovApi from './progressiveMov/ProgressiveMovApi';
19
20
  import Muxing from '../../../models/Muxing';
@@ -40,6 +41,7 @@ export default class MuxingsApi extends BaseAPI {
40
41
  mxf: MxfApi;
41
42
  progressiveTs: ProgressiveTsApi;
42
43
  broadcastTs: BroadcastTsApi;
44
+ progressiveWav: ProgressiveWavApi;
43
45
  progressiveWebm: ProgressiveWebmApi;
44
46
  progressiveMov: ProgressiveMovApi;
45
47
  constructor(configuration: Configuration);
@@ -31,6 +31,7 @@ var Mp4Api_1 = require("./mp4/Mp4Api");
31
31
  var MxfApi_1 = require("./mxf/MxfApi");
32
32
  var ProgressiveTsApi_1 = require("./progressiveTs/ProgressiveTsApi");
33
33
  var BroadcastTsApi_1 = require("./broadcastTs/BroadcastTsApi");
34
+ var ProgressiveWavApi_1 = require("./progressiveWav/ProgressiveWavApi");
34
35
  var ProgressiveWebmApi_1 = require("./progressiveWebm/ProgressiveWebmApi");
35
36
  var ProgressiveMovApi_1 = require("./progressiveMov/ProgressiveMovApi");
36
37
  var Muxing_1 = require("../../../models/Muxing");
@@ -60,6 +61,7 @@ var MuxingsApi = /** @class */ (function (_super) {
60
61
  _this.mxf = new MxfApi_1.default(configuration);
61
62
  _this.progressiveTs = new ProgressiveTsApi_1.default(configuration);
62
63
  _this.broadcastTs = new BroadcastTsApi_1.default(configuration);
64
+ _this.progressiveWav = new ProgressiveWavApi_1.default(configuration);
63
65
  _this.progressiveWebm = new ProgressiveWebmApi_1.default(configuration);
64
66
  _this.progressiveMov = new ProgressiveMovApi_1.default(configuration);
65
67
  return _this;
@@ -0,0 +1,51 @@
1
+ import { BaseAPI } from '../../../../common/BaseAPI';
2
+ import Configuration from '../../../../common/Configuration';
3
+ import CustomdataApi from './customdata/CustomdataApi';
4
+ import InformationApi from './information/InformationApi';
5
+ import BitmovinResponse from '../../../../models/BitmovinResponse';
6
+ import ProgressiveWavMuxing from '../../../../models/ProgressiveWavMuxing';
7
+ import PaginationResponse from '../../../../models/PaginationResponse';
8
+ import { ProgressiveWavMuxingListQueryParams, ProgressiveWavMuxingListQueryParamsBuilder } from './ProgressiveWavMuxingListQueryParams';
9
+ /**
10
+ * ProgressiveWavApi - object-oriented interface
11
+ * @export
12
+ * @class ProgressiveWavApi
13
+ * @extends {BaseAPI}
14
+ */
15
+ export default class ProgressiveWavApi extends BaseAPI {
16
+ customdata: CustomdataApi;
17
+ information: InformationApi;
18
+ constructor(configuration: Configuration);
19
+ /**
20
+ * @summary Add Progressive Wav muxing
21
+ * @param {string} encodingId Id of the encoding.
22
+ * @param {ProgressiveWavMuxing} progressiveWavMuxing The Progressive WAV muxing to be created
23
+ * @throws {BitmovinError}
24
+ * @memberof ProgressiveWavApi
25
+ */
26
+ create(encodingId: string, progressiveWavMuxing?: ProgressiveWavMuxing): Promise<ProgressiveWavMuxing>;
27
+ /**
28
+ * @summary Delete Progressive WAV muxing
29
+ * @param {string} encodingId Id of the encoding.
30
+ * @param {string} muxingId Id of the Progressive WAV muxing
31
+ * @throws {BitmovinError}
32
+ * @memberof ProgressiveWavApi
33
+ */
34
+ delete(encodingId: string, muxingId: string): Promise<BitmovinResponse>;
35
+ /**
36
+ * @summary Progressive WAV muxing details
37
+ * @param {string} encodingId Id of the encoding.
38
+ * @param {string} muxingId Id of the Progressive WAV muxing
39
+ * @throws {BitmovinError}
40
+ * @memberof ProgressiveWavApi
41
+ */
42
+ get(encodingId: string, muxingId: string): Promise<ProgressiveWavMuxing>;
43
+ /**
44
+ * @summary List Progressive WAV muxings
45
+ * @param {string} encodingId Id of the encoding.
46
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
47
+ * @throws {BitmovinError}
48
+ * @memberof ProgressiveWavApi
49
+ */
50
+ list(encodingId: string, queryParameters?: ProgressiveWavMuxingListQueryParams | ((q: ProgressiveWavMuxingListQueryParamsBuilder) => ProgressiveWavMuxingListQueryParamsBuilder)): Promise<PaginationResponse<ProgressiveWavMuxing>>;
51
+ }
@@ -0,0 +1,111 @@
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 CustomdataApi_1 = require("./customdata/CustomdataApi");
21
+ var InformationApi_1 = require("./information/InformationApi");
22
+ var BitmovinResponse_1 = require("../../../../models/BitmovinResponse");
23
+ var ProgressiveWavMuxing_1 = require("../../../../models/ProgressiveWavMuxing");
24
+ var PaginationResponse_1 = require("../../../../models/PaginationResponse");
25
+ var ProgressiveWavMuxingListQueryParams_1 = require("./ProgressiveWavMuxingListQueryParams");
26
+ /**
27
+ * ProgressiveWavApi - object-oriented interface
28
+ * @export
29
+ * @class ProgressiveWavApi
30
+ * @extends {BaseAPI}
31
+ */
32
+ var ProgressiveWavApi = /** @class */ (function (_super) {
33
+ __extends(ProgressiveWavApi, _super);
34
+ function ProgressiveWavApi(configuration) {
35
+ var _this = _super.call(this, configuration) || this;
36
+ _this.customdata = new CustomdataApi_1.default(configuration);
37
+ _this.information = new InformationApi_1.default(configuration);
38
+ return _this;
39
+ }
40
+ /**
41
+ * @summary Add Progressive Wav muxing
42
+ * @param {string} encodingId Id of the encoding.
43
+ * @param {ProgressiveWavMuxing} progressiveWavMuxing The Progressive WAV muxing to be created
44
+ * @throws {BitmovinError}
45
+ * @memberof ProgressiveWavApi
46
+ */
47
+ ProgressiveWavApi.prototype.create = function (encodingId, progressiveWavMuxing) {
48
+ var pathParamMap = {
49
+ encoding_id: encodingId
50
+ };
51
+ return this.restClient.post('/encoding/encodings/{encoding_id}/muxings/progressive-wav', pathParamMap, progressiveWavMuxing).then(function (response) {
52
+ return (0, Mapper_1.map)(response, ProgressiveWavMuxing_1.default);
53
+ });
54
+ };
55
+ /**
56
+ * @summary Delete Progressive WAV muxing
57
+ * @param {string} encodingId Id of the encoding.
58
+ * @param {string} muxingId Id of the Progressive WAV muxing
59
+ * @throws {BitmovinError}
60
+ * @memberof ProgressiveWavApi
61
+ */
62
+ ProgressiveWavApi.prototype.delete = function (encodingId, muxingId) {
63
+ var pathParamMap = {
64
+ encoding_id: encodingId,
65
+ muxing_id: muxingId
66
+ };
67
+ return this.restClient.delete('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}', pathParamMap).then(function (response) {
68
+ return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
69
+ });
70
+ };
71
+ /**
72
+ * @summary Progressive WAV muxing details
73
+ * @param {string} encodingId Id of the encoding.
74
+ * @param {string} muxingId Id of the Progressive WAV muxing
75
+ * @throws {BitmovinError}
76
+ * @memberof ProgressiveWavApi
77
+ */
78
+ ProgressiveWavApi.prototype.get = function (encodingId, muxingId) {
79
+ var pathParamMap = {
80
+ encoding_id: encodingId,
81
+ muxing_id: muxingId
82
+ };
83
+ return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}', pathParamMap).then(function (response) {
84
+ return (0, Mapper_1.map)(response, ProgressiveWavMuxing_1.default);
85
+ });
86
+ };
87
+ /**
88
+ * @summary List Progressive WAV muxings
89
+ * @param {string} encodingId Id of the encoding.
90
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
91
+ * @throws {BitmovinError}
92
+ * @memberof ProgressiveWavApi
93
+ */
94
+ ProgressiveWavApi.prototype.list = function (encodingId, queryParameters) {
95
+ var pathParamMap = {
96
+ encoding_id: encodingId
97
+ };
98
+ var queryParams = {};
99
+ if (typeof queryParameters === 'function') {
100
+ queryParams = queryParameters(new ProgressiveWavMuxingListQueryParams_1.ProgressiveWavMuxingListQueryParamsBuilder()).buildQueryParams();
101
+ }
102
+ else if (queryParameters) {
103
+ queryParams = queryParameters;
104
+ }
105
+ return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav', pathParamMap, queryParams).then(function (response) {
106
+ return new PaginationResponse_1.default(response, ProgressiveWavMuxing_1.default);
107
+ });
108
+ };
109
+ return ProgressiveWavApi;
110
+ }(BaseAPI_1.BaseAPI));
111
+ exports.default = ProgressiveWavApi;
@@ -0,0 +1,28 @@
1
+ export interface ProgressiveWavMuxingListQueryParams {
2
+ /**
3
+ * Index of the first item to return, starting at 0. Default is 0
4
+ * @type {number}
5
+ * @memberof ProgressiveWavMuxingListQueryParams
6
+ */
7
+ offset?: number | undefined;
8
+ /**
9
+ * Maximum number of items to return. Default is 25, maximum is 100
10
+ * @type {number}
11
+ * @memberof ProgressiveWavMuxingListQueryParams
12
+ */
13
+ limit?: number | undefined;
14
+ }
15
+ export declare class ProgressiveWavMuxingListQueryParamsBuilder {
16
+ private internalParams;
17
+ /**
18
+ *
19
+ * @param offset Index of the first item to return, starting at 0. Default is 0
20
+ */
21
+ offset(offset: number): this;
22
+ /**
23
+ *
24
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
+ */
26
+ limit(limit: number): this;
27
+ buildQueryParams(): ProgressiveWavMuxingListQueryParams;
28
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProgressiveWavMuxingListQueryParamsBuilder = void 0;
4
+ var ProgressiveWavMuxingListQueryParamsBuilder = /** @class */ (function () {
5
+ function ProgressiveWavMuxingListQueryParamsBuilder() {
6
+ this.internalParams = {};
7
+ }
8
+ /**
9
+ *
10
+ * @param offset Index of the first item to return, starting at 0. Default is 0
11
+ */
12
+ ProgressiveWavMuxingListQueryParamsBuilder.prototype.offset = function (offset) {
13
+ this.internalParams.offset = offset;
14
+ return this;
15
+ };
16
+ /**
17
+ *
18
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
19
+ */
20
+ ProgressiveWavMuxingListQueryParamsBuilder.prototype.limit = function (limit) {
21
+ this.internalParams.limit = limit;
22
+ return this;
23
+ };
24
+ ProgressiveWavMuxingListQueryParamsBuilder.prototype.buildQueryParams = function () {
25
+ return this.internalParams;
26
+ };
27
+ return ProgressiveWavMuxingListQueryParamsBuilder;
28
+ }());
29
+ exports.ProgressiveWavMuxingListQueryParamsBuilder = ProgressiveWavMuxingListQueryParamsBuilder;
@@ -0,0 +1,20 @@
1
+ import { BaseAPI } from '../../../../../common/BaseAPI';
2
+ import Configuration from '../../../../../common/Configuration';
3
+ import CustomData from '../../../../../models/CustomData';
4
+ /**
5
+ * CustomdataApi - object-oriented interface
6
+ * @export
7
+ * @class CustomdataApi
8
+ * @extends {BaseAPI}
9
+ */
10
+ export default class CustomdataApi extends BaseAPI {
11
+ constructor(configuration: Configuration);
12
+ /**
13
+ * @summary Progressive Wav muxing Custom Data
14
+ * @param {string} encodingId Id of the encoding.
15
+ * @param {string} muxingId Id of the Progressive WAV muxing
16
+ * @throws {BitmovinError}
17
+ * @memberof CustomdataApi
18
+ */
19
+ get(encodingId: string, muxingId: string): Promise<CustomData>;
20
+ }
@@ -0,0 +1,50 @@
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 Progressive Wav muxing Custom Data
34
+ * @param {string} encodingId Id of the encoding.
35
+ * @param {string} muxingId Id of the Progressive WAV muxing
36
+ * @throws {BitmovinError}
37
+ * @memberof CustomdataApi
38
+ */
39
+ CustomdataApi.prototype.get = function (encodingId, muxingId) {
40
+ var pathParamMap = {
41
+ encoding_id: encodingId,
42
+ muxing_id: muxingId
43
+ };
44
+ return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}/customData', pathParamMap).then(function (response) {
45
+ return (0, Mapper_1.map)(response, CustomData_1.default);
46
+ });
47
+ };
48
+ return CustomdataApi;
49
+ }(BaseAPI_1.BaseAPI));
50
+ exports.default = CustomdataApi;
@@ -0,0 +1,20 @@
1
+ import { BaseAPI } from '../../../../../common/BaseAPI';
2
+ import Configuration from '../../../../../common/Configuration';
3
+ import ProgressiveWavMuxingInformation from '../../../../../models/ProgressiveWavMuxingInformation';
4
+ /**
5
+ * InformationApi - object-oriented interface
6
+ * @export
7
+ * @class InformationApi
8
+ * @extends {BaseAPI}
9
+ */
10
+ export default class InformationApi extends BaseAPI {
11
+ constructor(configuration: Configuration);
12
+ /**
13
+ * @summary Progressive WAV muxing Information
14
+ * @param {string} encodingId ID of the Encoding.
15
+ * @param {string} muxingId ID of the Progressive WAV muxing
16
+ * @throws {BitmovinError}
17
+ * @memberof InformationApi
18
+ */
19
+ get(encodingId: string, muxingId: string): Promise<ProgressiveWavMuxingInformation>;
20
+ }
@@ -0,0 +1,50 @@
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 ProgressiveWavMuxingInformation_1 = require("../../../../../models/ProgressiveWavMuxingInformation");
21
+ /**
22
+ * InformationApi - object-oriented interface
23
+ * @export
24
+ * @class InformationApi
25
+ * @extends {BaseAPI}
26
+ */
27
+ var InformationApi = /** @class */ (function (_super) {
28
+ __extends(InformationApi, _super);
29
+ function InformationApi(configuration) {
30
+ return _super.call(this, configuration) || this;
31
+ }
32
+ /**
33
+ * @summary Progressive WAV muxing Information
34
+ * @param {string} encodingId ID of the Encoding.
35
+ * @param {string} muxingId ID of the Progressive WAV muxing
36
+ * @throws {BitmovinError}
37
+ * @memberof InformationApi
38
+ */
39
+ InformationApi.prototype.get = function (encodingId, muxingId) {
40
+ var pathParamMap = {
41
+ encoding_id: encodingId,
42
+ muxing_id: muxingId
43
+ };
44
+ return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}/information', pathParamMap).then(function (response) {
45
+ return (0, Mapper_1.map)(response, ProgressiveWavMuxingInformation_1.default);
46
+ });
47
+ };
48
+ return InformationApi;
49
+ }(BaseAPI_1.BaseAPI));
50
+ exports.default = InformationApi;
@@ -37,6 +37,7 @@ export declare enum CloudRegion {
37
37
  GOOGLE_SOUTHAMERICA_EAST_1 = "GOOGLE_SOUTHAMERICA_EAST_1",
38
38
  GOOGLE_US_EAST_4 = "GOOGLE_US_EAST_4",
39
39
  GOOGLE_US_WEST_2 = "GOOGLE_US_WEST_2",
40
+ GOOGLE_ME_CENTRAL_2 = "GOOGLE_ME_CENTRAL_2",
40
41
  AZURE_ASIA_EAST = "AZURE_ASIA_EAST",
41
42
  AZURE_ASIA_SOUTHEAST = "AZURE_ASIA_SOUTHEAST",
42
43
  AZURE_AUSTRALIA_EAST = "AZURE_AUSTRALIA_EAST",
@@ -41,6 +41,7 @@ var CloudRegion;
41
41
  CloudRegion["GOOGLE_SOUTHAMERICA_EAST_1"] = "GOOGLE_SOUTHAMERICA_EAST_1";
42
42
  CloudRegion["GOOGLE_US_EAST_4"] = "GOOGLE_US_EAST_4";
43
43
  CloudRegion["GOOGLE_US_WEST_2"] = "GOOGLE_US_WEST_2";
44
+ CloudRegion["GOOGLE_ME_CENTRAL_2"] = "GOOGLE_ME_CENTRAL_2";
44
45
  CloudRegion["AZURE_ASIA_EAST"] = "AZURE_ASIA_EAST";
45
46
  CloudRegion["AZURE_ASIA_SOUTHEAST"] = "AZURE_ASIA_SOUTHEAST";
46
47
  CloudRegion["AZURE_AUSTRALIA_EAST"] = "AZURE_AUSTRALIA_EAST";
@@ -20,6 +20,7 @@ export declare enum GoogleCloudRegion {
20
20
  NORTHAMERICA_NORTHEAST_1 = "NORTHAMERICA_NORTHEAST_1",
21
21
  SOUTHAMERICA_EAST_1 = "SOUTHAMERICA_EAST_1",
22
22
  US_EAST_4 = "US_EAST_4",
23
- US_WEST_2 = "US_WEST_2"
23
+ US_WEST_2 = "US_WEST_2",
24
+ ME_CENTRAL_2 = "ME_CENTRAL_2"
24
25
  }
25
26
  export default GoogleCloudRegion;
@@ -25,5 +25,6 @@ var GoogleCloudRegion;
25
25
  GoogleCloudRegion["SOUTHAMERICA_EAST_1"] = "SOUTHAMERICA_EAST_1";
26
26
  GoogleCloudRegion["US_EAST_4"] = "US_EAST_4";
27
27
  GoogleCloudRegion["US_WEST_2"] = "US_WEST_2";
28
+ GoogleCloudRegion["ME_CENTRAL_2"] = "ME_CENTRAL_2";
28
29
  })(GoogleCloudRegion || (exports.GoogleCloudRegion = GoogleCloudRegion = {}));
29
30
  exports.default = GoogleCloudRegion;
@@ -94,19 +94,19 @@ export declare class H264VideoConfiguration extends VideoConfiguration {
94
94
  */
95
95
  cabac?: boolean;
96
96
  /**
97
- * Maximum Bitrate
97
+ * Maximum Bitrate (bps)
98
98
  * @type {number}
99
99
  * @memberof H264VideoConfiguration
100
100
  */
101
101
  maxBitrate?: number;
102
102
  /**
103
- * Minimum Bitrate
103
+ * Minimum Bitrate (bps)
104
104
  * @type {number}
105
105
  * @memberof H264VideoConfiguration
106
106
  */
107
107
  minBitrate?: number;
108
108
  /**
109
- * Playback device buffer size
109
+ * Playback device buffer size (bits)
110
110
  * @type {number}
111
111
  * @memberof H264VideoConfiguration
112
112
  */
@@ -75,19 +75,19 @@ export declare class H265VideoConfiguration extends VideoConfiguration {
75
75
  */
76
76
  qp?: number;
77
77
  /**
78
- * Maximum Bitrate
78
+ * Maximum Bitrate (bps)
79
79
  * @type {number}
80
80
  * @memberof H265VideoConfiguration
81
81
  */
82
82
  maxBitrate?: number;
83
83
  /**
84
- * Minimum Bitrate
84
+ * Minimum Bitrate (bps)
85
85
  * @type {number}
86
86
  * @memberof H265VideoConfiguration
87
87
  */
88
88
  minBitrate?: number;
89
89
  /**
90
- * Size of the VBV buffer (kbits)
90
+ * Size of the VBV buffer (bits)
91
91
  * @type {number}
92
92
  * @memberof H265VideoConfiguration
93
93
  */
@@ -0,0 +1,15 @@
1
+ import Webhook from './Webhook';
2
+ /**
3
+ * @export
4
+ * @class LiveEncodingHeartbeatWebhook
5
+ */
6
+ export declare class LiveEncodingHeartbeatWebhook extends Webhook {
7
+ /**
8
+ * The interval of the heartbeat in seconds.
9
+ * @type {number}
10
+ * @memberof LiveEncodingHeartbeatWebhook
11
+ */
12
+ interval?: number;
13
+ constructor(obj?: Partial<LiveEncodingHeartbeatWebhook>);
14
+ }
15
+ export default LiveEncodingHeartbeatWebhook;
@@ -0,0 +1,38 @@
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
+ exports.LiveEncodingHeartbeatWebhook = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var Webhook_1 = require("./Webhook");
21
+ /**
22
+ * @export
23
+ * @class LiveEncodingHeartbeatWebhook
24
+ */
25
+ var LiveEncodingHeartbeatWebhook = /** @class */ (function (_super) {
26
+ __extends(LiveEncodingHeartbeatWebhook, _super);
27
+ function LiveEncodingHeartbeatWebhook(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.interval = (0, Mapper_1.map)(obj.interval);
33
+ return _this;
34
+ }
35
+ return LiveEncodingHeartbeatWebhook;
36
+ }(Webhook_1.default));
37
+ exports.LiveEncodingHeartbeatWebhook = LiveEncodingHeartbeatWebhook;
38
+ exports.default = LiveEncodingHeartbeatWebhook;
@@ -13,13 +13,14 @@ import MxfMuxing from './MxfMuxing';
13
13
  import PackedAudioMuxing from './PackedAudioMuxing';
14
14
  import ProgressiveMovMuxing from './ProgressiveMovMuxing';
15
15
  import ProgressiveTsMuxing from './ProgressiveTsMuxing';
16
+ import ProgressiveWavMuxing from './ProgressiveWavMuxing';
16
17
  import ProgressiveWebmMuxing from './ProgressiveWebmMuxing';
17
18
  import SegmentedRawMuxing from './SegmentedRawMuxing';
18
19
  import StreamConditionsMode from './StreamConditionsMode';
19
20
  import TextMuxing from './TextMuxing';
20
21
  import TsMuxing from './TsMuxing';
21
22
  import WebmMuxing from './WebmMuxing';
22
- export type MuxingUnion = Fmp4Muxing | CmafMuxing | Mp4Muxing | TsMuxing | WebmMuxing | Mp3Muxing | MxfMuxing | ProgressiveWebmMuxing | ProgressiveMovMuxing | ProgressiveTsMuxing | BroadcastTsMuxing | ChunkedTextMuxing | TextMuxing | SegmentedRawMuxing | PackedAudioMuxing;
23
+ export type MuxingUnion = Fmp4Muxing | CmafMuxing | Mp4Muxing | TsMuxing | WebmMuxing | Mp3Muxing | MxfMuxing | ProgressiveWavMuxing | ProgressiveWebmMuxing | ProgressiveMovMuxing | ProgressiveTsMuxing | BroadcastTsMuxing | ChunkedTextMuxing | TextMuxing | SegmentedRawMuxing | PackedAudioMuxing;
23
24
  /**
24
25
  * @export
25
26
  * @class Muxing
@@ -50,6 +50,7 @@ var Muxing = /** @class */ (function (_super) {
50
50
  WEBM: 'WebmMuxing',
51
51
  MP3: 'Mp3Muxing',
52
52
  MXF: 'MxfMuxing',
53
+ PROGRESSIVE_WAV: 'ProgressiveWavMuxing',
53
54
  PROGRESSIVE_WEBM: 'ProgressiveWebmMuxing',
54
55
  PROGRESSIVE_MOV: 'ProgressiveMovMuxing',
55
56
  PROGRESSIVE_TS: 'ProgressiveTsMuxing',
@@ -10,6 +10,7 @@ export declare enum MuxingType {
10
10
  WEBM = "WEBM",
11
11
  MP3 = "MP3",
12
12
  MXF = "MXF",
13
+ PROGRESSIVE_WAV = "PROGRESSIVE_WAV",
13
14
  PROGRESSIVE_WEBM = "PROGRESSIVE_WEBM",
14
15
  PROGRESSIVE_MOV = "PROGRESSIVE_MOV",
15
16
  PROGRESSIVE_TS = "PROGRESSIVE_TS",
@@ -14,6 +14,7 @@ var MuxingType;
14
14
  MuxingType["WEBM"] = "WEBM";
15
15
  MuxingType["MP3"] = "MP3";
16
16
  MuxingType["MXF"] = "MXF";
17
+ MuxingType["PROGRESSIVE_WAV"] = "PROGRESSIVE_WAV";
17
18
  MuxingType["PROGRESSIVE_WEBM"] = "PROGRESSIVE_WEBM";
18
19
  MuxingType["PROGRESSIVE_MOV"] = "PROGRESSIVE_MOV";
19
20
  MuxingType["PROGRESSIVE_TS"] = "PROGRESSIVE_TS";