@bitmovin/api-sdk 1.106.0 → 1.107.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 (62) hide show
  1. package/README.md +1 -1
  2. package/dist/account/organizations/OrganizationsApi.d.ts +1 -1
  3. package/dist/account/organizations/OrganizationsApi.js +1 -1
  4. package/dist/bitmovin-api-sdk.browser.js +646 -2
  5. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  6. package/dist/bitmovin-api-sdk.browser.min.js +2 -2
  7. package/dist/common/RestClient.js +1 -1
  8. package/dist/encoding/simple/jobs/JobsApi.d.ts +2 -0
  9. package/dist/encoding/simple/jobs/JobsApi.js +2 -0
  10. package/dist/encoding/simple/jobs/JobsApi.js.map +1 -1
  11. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +27 -0
  12. package/dist/encoding/simple/jobs/live/LiveApi.js +58 -0
  13. package/dist/encoding/simple/jobs/live/LiveApi.js.map +1 -0
  14. package/dist/models/SimpleEncodingLiveCloudRegion.d.ts +13 -0
  15. package/dist/models/SimpleEncodingLiveCloudRegion.js +18 -0
  16. package/dist/models/SimpleEncodingLiveCloudRegion.js.map +1 -0
  17. package/dist/models/SimpleEncodingLiveInputAspectRatio.d.ts +12 -0
  18. package/dist/models/SimpleEncodingLiveInputAspectRatio.js +17 -0
  19. package/dist/models/SimpleEncodingLiveInputAspectRatio.js.map +1 -0
  20. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.d.ts +21 -0
  21. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js +38 -0
  22. package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js.map +1 -0
  23. package/dist/models/SimpleEncodingLiveJobAzureCredentials.d.ts +15 -0
  24. package/dist/models/SimpleEncodingLiveJobAzureCredentials.js +37 -0
  25. package/dist/models/SimpleEncodingLiveJobAzureCredentials.js.map +1 -0
  26. package/dist/models/SimpleEncodingLiveJobCredentials.d.ts +8 -0
  27. package/dist/models/SimpleEncodingLiveJobCredentials.js +18 -0
  28. package/dist/models/SimpleEncodingLiveJobCredentials.js.map +1 -0
  29. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.d.ts +15 -0
  30. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js +37 -0
  31. package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js.map +1 -0
  32. package/dist/models/SimpleEncodingLiveJobInput.d.ts +22 -0
  33. package/dist/models/SimpleEncodingLiveJobInput.js +21 -0
  34. package/dist/models/SimpleEncodingLiveJobInput.js.map +1 -0
  35. package/dist/models/SimpleEncodingLiveJobInputType.d.ts +9 -0
  36. package/dist/models/SimpleEncodingLiveJobInputType.js +14 -0
  37. package/dist/models/SimpleEncodingLiveJobInputType.js.map +1 -0
  38. package/dist/models/SimpleEncodingLiveJobRequest.d.ts +28 -0
  39. package/dist/models/SimpleEncodingLiveJobRequest.js +24 -0
  40. package/dist/models/SimpleEncodingLiveJobRequest.js.map +1 -0
  41. package/dist/models/SimpleEncodingLiveJobResponse.d.ts +83 -0
  42. package/dist/models/SimpleEncodingLiveJobResponse.js +34 -0
  43. package/dist/models/SimpleEncodingLiveJobResponse.js.map +1 -0
  44. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.d.ts +21 -0
  45. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js +38 -0
  46. package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js.map +1 -0
  47. package/dist/models/SimpleEncodingLiveJobStatus.d.ts +15 -0
  48. package/dist/models/SimpleEncodingLiveJobStatus.js +20 -0
  49. package/dist/models/SimpleEncodingLiveJobStatus.js.map +1 -0
  50. package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +34 -0
  51. package/dist/models/SimpleEncodingLiveJobUrlOutput.js +24 -0
  52. package/dist/models/SimpleEncodingLiveJobUrlOutput.js.map +1 -0
  53. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.d.ts +21 -0
  54. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js +38 -0
  55. package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js.map +1 -0
  56. package/dist/models/SimpleEncodingLiveMaxResolution.d.ts +10 -0
  57. package/dist/models/SimpleEncodingLiveMaxResolution.js +15 -0
  58. package/dist/models/SimpleEncodingLiveMaxResolution.js.map +1 -0
  59. package/dist/models/index.d.ts +15 -0
  60. package/dist/models/index.js +15 -0
  61. package/dist/models/index.js.map +1 -1
  62. package/package.json +1 -1
@@ -238,7 +238,7 @@ var HeaderHandler = /** @class */ (function (_super) {
238
238
  var headers = {
239
239
  'X-Api-Key': apiKey,
240
240
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
241
- 'X-Api-Client-Version': '1.106.0',
241
+ 'X-Api-Client-Version': '1.107.0',
242
242
  'Content-Type': 'application/json'
243
243
  };
244
244
  if (tenantOrgId) {
@@ -1,6 +1,7 @@
1
1
  import { BaseAPI } from '../../../common/BaseAPI';
2
2
  import Configuration from '../../../common/Configuration';
3
3
  import VodApi from './vod/VodApi';
4
+ import LiveApi from './live/LiveApi';
4
5
  /**
5
6
  * JobsApi - object-oriented interface
6
7
  * @export
@@ -9,5 +10,6 @@ import VodApi from './vod/VodApi';
9
10
  */
10
11
  export default class JobsApi extends BaseAPI {
11
12
  vod: VodApi;
13
+ live: LiveApi;
12
14
  constructor(configuration: Configuration);
13
15
  }
@@ -15,6 +15,7 @@ var __extends = (this && this.__extends) || (function () {
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  var BaseAPI_1 = require("../../../common/BaseAPI");
17
17
  var VodApi_1 = require("./vod/VodApi");
18
+ var LiveApi_1 = require("./live/LiveApi");
18
19
  /**
19
20
  * JobsApi - object-oriented interface
20
21
  * @export
@@ -26,6 +27,7 @@ var JobsApi = /** @class */ (function (_super) {
26
27
  function JobsApi(configuration) {
27
28
  var _this = _super.call(this, configuration) || this;
28
29
  _this.vod = new VodApi_1.default(configuration);
30
+ _this.live = new LiveApi_1.default(configuration);
29
31
  return _this;
30
32
  }
31
33
  return JobsApi;
@@ -1 +1 @@
1
- {"version":3,"file":"JobsApi.js","sourceRoot":"","sources":["../../../../src/encoding/simple/jobs/JobsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAGhD,uCAAkC;AAElC;;;;;GAKG;AACH;IAAqC,2BAAO;IAG1C,iBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAErB;QADC,KAAI,CAAC,GAAG,GAAG,IAAI,gBAAM,CAAC,aAAa,CAAC,CAAC;;IACvC,CAAC;IACH,cAAC;AAAD,CAAC,AAPD,CAAqC,iBAAO,GAO3C"}
1
+ {"version":3,"file":"JobsApi.js","sourceRoot":"","sources":["../../../../src/encoding/simple/jobs/JobsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAGhD,uCAAkC;AAClC,0CAAqC;AAErC;;;;;GAKG;AACH;IAAqC,2BAAO;IAI1C,iBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAGrB;QAFC,KAAI,CAAC,GAAG,GAAG,IAAI,gBAAM,CAAC,aAAa,CAAC,CAAC;QACrC,KAAI,CAAC,IAAI,GAAG,IAAI,iBAAO,CAAC,aAAa,CAAC,CAAC;;IACzC,CAAC;IACH,cAAC;AAAD,CAAC,AATD,CAAqC,iBAAO,GAS3C"}
@@ -0,0 +1,27 @@
1
+ import { BaseAPI } from '../../../../common/BaseAPI';
2
+ import Configuration from '../../../../common/Configuration';
3
+ import SimpleEncodingLiveJobRequest from '../../../../models/SimpleEncodingLiveJobRequest';
4
+ import SimpleEncodingLiveJobResponse from '../../../../models/SimpleEncodingLiveJobResponse';
5
+ /**
6
+ * LiveApi - object-oriented interface
7
+ * @export
8
+ * @class LiveApi
9
+ * @extends {BaseAPI}
10
+ */
11
+ export default class LiveApi extends BaseAPI {
12
+ constructor(configuration: Configuration);
13
+ /**
14
+ * @summary Create a Simple Encoding Live Job
15
+ * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created.
16
+ * @throws {BitmovinError}
17
+ * @memberof LiveApi
18
+ */
19
+ create(simpleEncodingLiveJobRequest?: SimpleEncodingLiveJobRequest): Promise<SimpleEncodingLiveJobResponse>;
20
+ /**
21
+ * @summary Simple Encoding Live Job details
22
+ * @param {string} simpleEncodingJobId Id of the Simple Encoding Live Job
23
+ * @throws {BitmovinError}
24
+ * @memberof LiveApi
25
+ */
26
+ get(simpleEncodingJobId: string): Promise<SimpleEncodingLiveJobResponse>;
27
+ }
@@ -0,0 +1,58 @@
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ extendStatics(d, b);
11
+ function __() { this.constructor = d; }
12
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
+ };
14
+ })();
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ var BaseAPI_1 = require("../../../../common/BaseAPI");
17
+ var Mapper_1 = require("../../../../common/Mapper");
18
+ var SimpleEncodingLiveJobResponse_1 = require("../../../../models/SimpleEncodingLiveJobResponse");
19
+ /**
20
+ * LiveApi - object-oriented interface
21
+ * @export
22
+ * @class LiveApi
23
+ * @extends {BaseAPI}
24
+ */
25
+ var LiveApi = /** @class */ (function (_super) {
26
+ __extends(LiveApi, _super);
27
+ function LiveApi(configuration) {
28
+ return _super.call(this, configuration) || this;
29
+ }
30
+ /**
31
+ * @summary Create a Simple Encoding Live Job
32
+ * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created.
33
+ * @throws {BitmovinError}
34
+ * @memberof LiveApi
35
+ */
36
+ LiveApi.prototype.create = function (simpleEncodingLiveJobRequest) {
37
+ return this.restClient.post('/encoding/simple/jobs/live', {}, simpleEncodingLiveJobRequest).then(function (response) {
38
+ return Mapper_1.map(response, SimpleEncodingLiveJobResponse_1.default);
39
+ });
40
+ };
41
+ /**
42
+ * @summary Simple Encoding Live Job details
43
+ * @param {string} simpleEncodingJobId Id of the Simple Encoding Live Job
44
+ * @throws {BitmovinError}
45
+ * @memberof LiveApi
46
+ */
47
+ LiveApi.prototype.get = function (simpleEncodingJobId) {
48
+ var pathParamMap = {
49
+ simple_encoding_job_id: simpleEncodingJobId
50
+ };
51
+ return this.restClient.get('/encoding/simple/jobs/live/{simple_encoding_job_id}', pathParamMap).then(function (response) {
52
+ return Mapper_1.map(response, SimpleEncodingLiveJobResponse_1.default);
53
+ });
54
+ };
55
+ return LiveApi;
56
+ }(BaseAPI_1.BaseAPI));
57
+ exports.default = LiveApi;
58
+ //# sourceMappingURL=LiveApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiveApi.js","sourceRoot":"","sources":["../../../../../src/encoding/simple/jobs/live/LiveApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAAmD;AAEnD,oDAAwD;AAExD,kGAA6F;AAE7F;;;;;GAKG;AACH;IAAqC,2BAAO;IAE1C,iBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACI,wBAAM,GAAb,UAAc,4BAA2D;QACvE,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAgC,4BAA4B,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACvI,OAAO,YAAG,CAAC,QAAQ,EAAE,uCAA6B,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACI,qBAAG,GAAV,UAAW,mBAA2B;QACpC,IAAM,YAAY,GAAG;YACnB,sBAAsB,EAAE,mBAAmB;SAC5C,CAAC;QACF,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAgC,qDAAqD,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YAC3I,OAAO,YAAG,CAAC,QAAQ,EAAE,uCAA6B,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACL,CAAC;IACH,cAAC;AAAD,CAAC,AAhCD,CAAqC,iBAAO,GAgC3C"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SimpleEncodingLiveCloudRegion {
6
+ NORTH_AMERICA = "NORTH_AMERICA",
7
+ SOUTH_AMERICA = "SOUTH_AMERICA",
8
+ EUROPE = "EUROPE",
9
+ AFRICA = "AFRICA",
10
+ ASIA = "ASIA",
11
+ AUSTRALIA = "AUSTRALIA"
12
+ }
13
+ export default SimpleEncodingLiveCloudRegion;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveCloudRegion = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SimpleEncodingLiveCloudRegion;
9
+ (function (SimpleEncodingLiveCloudRegion) {
10
+ SimpleEncodingLiveCloudRegion["NORTH_AMERICA"] = "NORTH_AMERICA";
11
+ SimpleEncodingLiveCloudRegion["SOUTH_AMERICA"] = "SOUTH_AMERICA";
12
+ SimpleEncodingLiveCloudRegion["EUROPE"] = "EUROPE";
13
+ SimpleEncodingLiveCloudRegion["AFRICA"] = "AFRICA";
14
+ SimpleEncodingLiveCloudRegion["ASIA"] = "ASIA";
15
+ SimpleEncodingLiveCloudRegion["AUSTRALIA"] = "AUSTRALIA";
16
+ })(SimpleEncodingLiveCloudRegion = exports.SimpleEncodingLiveCloudRegion || (exports.SimpleEncodingLiveCloudRegion = {}));
17
+ exports.default = SimpleEncodingLiveCloudRegion;
18
+ //# sourceMappingURL=SimpleEncodingLiveCloudRegion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveCloudRegion.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveCloudRegion.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACvC,gEAA+B,CAAA;IAC/B,gEAA+B,CAAA;IAC/B,kDAAiB,CAAA;IACjB,kDAAiB,CAAA;IACjB,8CAAa,CAAA;IACb,wDAAuB,CAAA;AACzB,CAAC,EAPW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAOxC;AAED,kBAAe,6BAA6B,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SimpleEncodingLiveInputAspectRatio {
6
+ WIDE_16_9 = "WIDE_16_9",
7
+ WIDE_16_10 = "WIDE_16_10",
8
+ VERTICAL_9_16 = "VERTICAL_9_16",
9
+ STANDARD_4_3 = "STANDARD_4_3",
10
+ ULTRA_WIDE_21_9 = "ULTRA_WIDE_21_9"
11
+ }
12
+ export default SimpleEncodingLiveInputAspectRatio;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveInputAspectRatio = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SimpleEncodingLiveInputAspectRatio;
9
+ (function (SimpleEncodingLiveInputAspectRatio) {
10
+ SimpleEncodingLiveInputAspectRatio["WIDE_16_9"] = "WIDE_16_9";
11
+ SimpleEncodingLiveInputAspectRatio["WIDE_16_10"] = "WIDE_16_10";
12
+ SimpleEncodingLiveInputAspectRatio["VERTICAL_9_16"] = "VERTICAL_9_16";
13
+ SimpleEncodingLiveInputAspectRatio["STANDARD_4_3"] = "STANDARD_4_3";
14
+ SimpleEncodingLiveInputAspectRatio["ULTRA_WIDE_21_9"] = "ULTRA_WIDE_21_9";
15
+ })(SimpleEncodingLiveInputAspectRatio = exports.SimpleEncodingLiveInputAspectRatio || (exports.SimpleEncodingLiveInputAspectRatio = {}));
16
+ exports.default = SimpleEncodingLiveInputAspectRatio;
17
+ //# sourceMappingURL=SimpleEncodingLiveInputAspectRatio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveInputAspectRatio.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveInputAspectRatio.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,kCAMX;AAND,WAAY,kCAAkC;IAC5C,6DAAuB,CAAA;IACvB,+DAAyB,CAAA;IACzB,qEAA+B,CAAA;IAC/B,mEAA6B,CAAA;IAC7B,yEAAmC,CAAA;AACrC,CAAC,EANW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAM7C;AAED,kBAAe,kCAAkC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingLiveJobAccessKeyCredentials
5
+ */
6
+ export declare class SimpleEncodingLiveJobAccessKeyCredentials extends SimpleEncodingLiveJobCredentials {
7
+ /**
8
+ * The identifier of the access key (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingLiveJobAccessKeyCredentials
11
+ */
12
+ accessKey?: string;
13
+ /**
14
+ * The secret to be used for authentication (required)
15
+ * @type {string}
16
+ * @memberof SimpleEncodingLiveJobAccessKeyCredentials
17
+ */
18
+ secretKey?: string;
19
+ constructor(obj?: Partial<SimpleEncodingLiveJobAccessKeyCredentials>);
20
+ }
21
+ export default SimpleEncodingLiveJobAccessKeyCredentials;
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ extendStatics(d, b);
11
+ function __() { this.constructor = d; }
12
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
+ };
14
+ })();
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SimpleEncodingLiveJobAccessKeyCredentials = void 0;
17
+ var Mapper_1 = require("../common/Mapper");
18
+ var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
19
+ /**
20
+ * @export
21
+ * @class SimpleEncodingLiveJobAccessKeyCredentials
22
+ */
23
+ var SimpleEncodingLiveJobAccessKeyCredentials = /** @class */ (function (_super) {
24
+ __extends(SimpleEncodingLiveJobAccessKeyCredentials, _super);
25
+ function SimpleEncodingLiveJobAccessKeyCredentials(obj) {
26
+ var _this = _super.call(this, obj) || this;
27
+ if (!obj) {
28
+ return _this;
29
+ }
30
+ _this.accessKey = Mapper_1.map(obj.accessKey);
31
+ _this.secretKey = Mapper_1.map(obj.secretKey);
32
+ return _this;
33
+ }
34
+ return SimpleEncodingLiveJobAccessKeyCredentials;
35
+ }(SimpleEncodingLiveJobCredentials_1.default));
36
+ exports.SimpleEncodingLiveJobAccessKeyCredentials = SimpleEncodingLiveJobAccessKeyCredentials;
37
+ exports.default = SimpleEncodingLiveJobAccessKeyCredentials;
38
+ //# sourceMappingURL=SimpleEncodingLiveJobAccessKeyCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobAccessKeyCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobAccessKeyCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAA+D,6DAAgC;IAe7F,mDAAY,GAAwD;QAApE,YACE,kBAAM,GAAG,CAAC,SAMX;QALC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,KAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;;IACtC,CAAC;IACH,gDAAC;AAAD,CAAC,AAvBD,CAA+D,0CAAgC,GAuB9F;AAvBY,8FAAyC;AAyBtD,kBAAe,yCAAyC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingLiveJobAzureCredentials
5
+ */
6
+ export declare class SimpleEncodingLiveJobAzureCredentials extends SimpleEncodingLiveJobCredentials {
7
+ /**
8
+ * Azure Account Key used for authentication (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingLiveJobAzureCredentials
11
+ */
12
+ key?: string;
13
+ constructor(obj?: Partial<SimpleEncodingLiveJobAzureCredentials>);
14
+ }
15
+ export default SimpleEncodingLiveJobAzureCredentials;
@@ -0,0 +1,37 @@
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ extendStatics(d, b);
11
+ function __() { this.constructor = d; }
12
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
+ };
14
+ })();
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SimpleEncodingLiveJobAzureCredentials = void 0;
17
+ var Mapper_1 = require("../common/Mapper");
18
+ var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
19
+ /**
20
+ * @export
21
+ * @class SimpleEncodingLiveJobAzureCredentials
22
+ */
23
+ var SimpleEncodingLiveJobAzureCredentials = /** @class */ (function (_super) {
24
+ __extends(SimpleEncodingLiveJobAzureCredentials, _super);
25
+ function SimpleEncodingLiveJobAzureCredentials(obj) {
26
+ var _this = _super.call(this, obj) || this;
27
+ if (!obj) {
28
+ return _this;
29
+ }
30
+ _this.key = Mapper_1.map(obj.key);
31
+ return _this;
32
+ }
33
+ return SimpleEncodingLiveJobAzureCredentials;
34
+ }(SimpleEncodingLiveJobCredentials_1.default));
35
+ exports.SimpleEncodingLiveJobAzureCredentials = SimpleEncodingLiveJobAzureCredentials;
36
+ exports.default = SimpleEncodingLiveJobAzureCredentials;
37
+ //# sourceMappingURL=SimpleEncodingLiveJobAzureCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobAzureCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobAzureCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAA2D,yDAAgC;IAQzF,+CAAY,GAAoD;QAAhE,YACE,kBAAM,GAAG,CAAC,SAKX;QAJC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,GAAG,GAAG,YAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;;IAC1B,CAAC;IACH,4CAAC;AAAD,CAAC,AAfD,CAA2D,0CAAgC,GAe1F;AAfY,sFAAqC;AAiBlD,kBAAe,qCAAqC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @export
3
+ * @class SimpleEncodingLiveJobCredentials
4
+ */
5
+ export declare class SimpleEncodingLiveJobCredentials {
6
+ constructor(obj?: Partial<SimpleEncodingLiveJobCredentials>);
7
+ }
8
+ export default SimpleEncodingLiveJobCredentials;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveJobCredentials = void 0;
4
+ /**
5
+ * @export
6
+ * @class SimpleEncodingLiveJobCredentials
7
+ */
8
+ var SimpleEncodingLiveJobCredentials = /** @class */ (function () {
9
+ function SimpleEncodingLiveJobCredentials(obj) {
10
+ if (!obj) {
11
+ return;
12
+ }
13
+ }
14
+ return SimpleEncodingLiveJobCredentials;
15
+ }());
16
+ exports.SimpleEncodingLiveJobCredentials = SimpleEncodingLiveJobCredentials;
17
+ exports.default = SimpleEncodingLiveJobCredentials;
18
+ //# sourceMappingURL=SimpleEncodingLiveJobCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobCredentials.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH;IACE,0CAAY,GAA+C;QACzD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;IACH,CAAC;IACH,uCAAC;AAAD,CAAC,AAND,IAMC;AANY,4EAAgC;AAQ7C,kBAAe,gCAAgC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingLiveJobGcsServiceAccountCredentials
5
+ */
6
+ export declare class SimpleEncodingLiveJobGcsServiceAccountCredentials extends SimpleEncodingLiveJobCredentials {
7
+ /**
8
+ * Service account credentials for Google (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingLiveJobGcsServiceAccountCredentials
11
+ */
12
+ serviceAccountCredentials?: string;
13
+ constructor(obj?: Partial<SimpleEncodingLiveJobGcsServiceAccountCredentials>);
14
+ }
15
+ export default SimpleEncodingLiveJobGcsServiceAccountCredentials;
@@ -0,0 +1,37 @@
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ extendStatics(d, b);
11
+ function __() { this.constructor = d; }
12
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
+ };
14
+ })();
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SimpleEncodingLiveJobGcsServiceAccountCredentials = void 0;
17
+ var Mapper_1 = require("../common/Mapper");
18
+ var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
19
+ /**
20
+ * @export
21
+ * @class SimpleEncodingLiveJobGcsServiceAccountCredentials
22
+ */
23
+ var SimpleEncodingLiveJobGcsServiceAccountCredentials = /** @class */ (function (_super) {
24
+ __extends(SimpleEncodingLiveJobGcsServiceAccountCredentials, _super);
25
+ function SimpleEncodingLiveJobGcsServiceAccountCredentials(obj) {
26
+ var _this = _super.call(this, obj) || this;
27
+ if (!obj) {
28
+ return _this;
29
+ }
30
+ _this.serviceAccountCredentials = Mapper_1.map(obj.serviceAccountCredentials);
31
+ return _this;
32
+ }
33
+ return SimpleEncodingLiveJobGcsServiceAccountCredentials;
34
+ }(SimpleEncodingLiveJobCredentials_1.default));
35
+ exports.SimpleEncodingLiveJobGcsServiceAccountCredentials = SimpleEncodingLiveJobGcsServiceAccountCredentials;
36
+ exports.default = SimpleEncodingLiveJobGcsServiceAccountCredentials;
37
+ //# sourceMappingURL=SimpleEncodingLiveJobGcsServiceAccountCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobGcsServiceAccountCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAAuE,qEAAgC;IAQrG,2DAAY,GAAgE;QAA5E,YACE,kBAAM,GAAG,CAAC,SAKX;QAJC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,yBAAyB,GAAG,YAAG,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;;IACtE,CAAC;IACH,wDAAC;AAAD,CAAC,AAfD,CAAuE,0CAAgC,GAetG;AAfY,8GAAiD;AAiB9D,kBAAe,iDAAiD,CAAC"}
@@ -0,0 +1,22 @@
1
+ import SimpleEncodingLiveInputAspectRatio from './SimpleEncodingLiveInputAspectRatio';
2
+ import SimpleEncodingLiveJobInputType from './SimpleEncodingLiveJobInputType';
3
+ /**
4
+ * @export
5
+ * @class SimpleEncodingLiveJobInput
6
+ */
7
+ export declare class SimpleEncodingLiveJobInput {
8
+ /**
9
+ * Defines which protocol is being used as input of the live stream.
10
+ * @type {SimpleEncodingLiveJobInputType}
11
+ * @memberof SimpleEncodingLiveJobInput
12
+ */
13
+ inputType?: SimpleEncodingLiveJobInputType;
14
+ /**
15
+ * The aspect ratio of the input video stream
16
+ * @type {SimpleEncodingLiveInputAspectRatio}
17
+ * @memberof SimpleEncodingLiveJobInput
18
+ */
19
+ inputAspectRatio?: SimpleEncodingLiveInputAspectRatio;
20
+ constructor(obj?: Partial<SimpleEncodingLiveJobInput>);
21
+ }
22
+ export default SimpleEncodingLiveJobInput;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveJobInput = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class SimpleEncodingLiveJobInput
8
+ */
9
+ var SimpleEncodingLiveJobInput = /** @class */ (function () {
10
+ function SimpleEncodingLiveJobInput(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.inputType = Mapper_1.map(obj.inputType);
15
+ this.inputAspectRatio = Mapper_1.map(obj.inputAspectRatio);
16
+ }
17
+ return SimpleEncodingLiveJobInput;
18
+ }());
19
+ exports.SimpleEncodingLiveJobInput = SimpleEncodingLiveJobInput;
20
+ exports.default = SimpleEncodingLiveJobInput;
21
+ //# sourceMappingURL=SimpleEncodingLiveJobInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobInput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobInput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAI/C;;;GAGG;AACH;IAeE,oCAAY,GAAyC;QACnD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,YAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACpD,CAAC;IACH,iCAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,gEAA0B;AAwBvC,kBAAe,0BAA0B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SimpleEncodingLiveJobInputType {
6
+ RTMP = "RTMP",
7
+ SRT_LISTENER = "SRT_LISTENER"
8
+ }
9
+ export default SimpleEncodingLiveJobInputType;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveJobInputType = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SimpleEncodingLiveJobInputType;
9
+ (function (SimpleEncodingLiveJobInputType) {
10
+ SimpleEncodingLiveJobInputType["RTMP"] = "RTMP";
11
+ SimpleEncodingLiveJobInputType["SRT_LISTENER"] = "SRT_LISTENER";
12
+ })(SimpleEncodingLiveJobInputType = exports.SimpleEncodingLiveJobInputType || (exports.SimpleEncodingLiveJobInputType = {}));
13
+ exports.default = SimpleEncodingLiveJobInputType;
14
+ //# sourceMappingURL=SimpleEncodingLiveJobInputType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobInputType.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobInputType.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,+CAAa,CAAA;IACb,+DAA6B,CAAA;AAC/B,CAAC,EAHW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAGzC;AAED,kBAAe,8BAA8B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
+ import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
+ import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
4
+ /**
5
+ * @export
6
+ * @class SimpleEncodingLiveJobRequest
7
+ */
8
+ export declare class SimpleEncodingLiveJobRequest {
9
+ /**
10
+ * @type {SimpleEncodingLiveJobInput}
11
+ * @memberof SimpleEncodingLiveJobRequest
12
+ */
13
+ input?: SimpleEncodingLiveJobInput;
14
+ /**
15
+ * output of the live encoding job (required)
16
+ * @type {SimpleEncodingLiveJobUrlOutput[]}
17
+ * @memberof SimpleEncodingLiveJobRequest
18
+ */
19
+ outputs?: SimpleEncodingLiveJobUrlOutput[];
20
+ /**
21
+ * The cloud region that will be used for the live encoding. This value has to be set.
22
+ * @type {SimpleEncodingLiveCloudRegion}
23
+ * @memberof SimpleEncodingLiveJobRequest
24
+ */
25
+ cloudRegion?: SimpleEncodingLiveCloudRegion;
26
+ constructor(obj?: Partial<SimpleEncodingLiveJobRequest>);
27
+ }
28
+ export default SimpleEncodingLiveJobRequest;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveJobRequest = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
6
+ var SimpleEncodingLiveJobUrlOutput_1 = require("./SimpleEncodingLiveJobUrlOutput");
7
+ /**
8
+ * @export
9
+ * @class SimpleEncodingLiveJobRequest
10
+ */
11
+ var SimpleEncodingLiveJobRequest = /** @class */ (function () {
12
+ function SimpleEncodingLiveJobRequest(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.input = Mapper_1.map(obj.input, SimpleEncodingLiveJobInput_1.default);
17
+ this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingLiveJobUrlOutput_1.default);
18
+ this.cloudRegion = Mapper_1.map(obj.cloudRegion);
19
+ }
20
+ return SimpleEncodingLiveJobRequest;
21
+ }());
22
+ exports.SimpleEncodingLiveJobRequest = SimpleEncodingLiveJobRequest;
23
+ exports.default = SimpleEncodingLiveJobRequest;
24
+ //# sourceMappingURL=SimpleEncodingLiveJobRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobRequest.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobRequest.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AACtE,mFAA8E;AAE9E;;;GAGG;AACH;IAqBE,sCAAY,GAA2C;QACrD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,KAAK,GAAG,YAAG,CAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,iBAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,wCAA8B,CAAC,CAAC;QACrE,IAAI,CAAC,WAAW,GAAG,YAAG,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAC1C,CAAC;IACH,mCAAC;AAAD,CAAC,AA7BD,IA6BC;AA7BY,oEAA4B;AA+BzC,kBAAe,4BAA4B,CAAC"}