@bitmovin/api-sdk 1.97.0 → 1.98.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 (100) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +992 -1
  3. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  4. package/dist/bitmovin-api-sdk.browser.min.js +2 -2
  5. package/dist/common/RestClient.js +1 -1
  6. package/dist/encoding/EncodingApi.d.ts +2 -0
  7. package/dist/encoding/EncodingApi.js +2 -0
  8. package/dist/encoding/EncodingApi.js.map +1 -1
  9. package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.d.ts +28 -0
  10. package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js +30 -0
  11. package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js.map +1 -0
  12. package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.d.ts +14 -0
  13. package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.js +29 -0
  14. package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.js.map +1 -1
  15. package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.d.ts +21 -0
  16. package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.js +51 -0
  17. package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.js.map +1 -0
  18. package/dist/encoding/simple/SimpleApi.d.ts +13 -0
  19. package/dist/encoding/simple/SimpleApi.js +34 -0
  20. package/dist/encoding/simple/SimpleApi.js.map +1 -0
  21. package/dist/encoding/simple/jobs/JobsApi.d.ts +13 -0
  22. package/dist/encoding/simple/jobs/JobsApi.js +34 -0
  23. package/dist/encoding/simple/jobs/JobsApi.js.map +1 -0
  24. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +50 -0
  25. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +46 -0
  26. package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js.map +1 -0
  27. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +36 -0
  28. package/dist/encoding/simple/jobs/vod/VodApi.js +78 -0
  29. package/dist/encoding/simple/jobs/vod/VodApi.js.map +1 -0
  30. package/dist/models/AdaptationSet.d.ts +10 -0
  31. package/dist/models/AdaptationSet.js +7 -0
  32. package/dist/models/AdaptationSet.js.map +1 -1
  33. package/dist/models/AdaptationSetType.d.ts +11 -0
  34. package/dist/models/AdaptationSetType.js +16 -0
  35. package/dist/models/AdaptationSetType.js.map +1 -0
  36. package/dist/models/AdaptationSetTypeResponse.d.ts +15 -0
  37. package/dist/models/AdaptationSetTypeResponse.js +20 -0
  38. package/dist/models/AdaptationSetTypeResponse.js.map +1 -0
  39. package/dist/models/AnalyticsLicenseCustomDataFieldLabels.d.ts +25 -25
  40. package/dist/models/AnalyticsVirtualLicense.d.ts +13 -0
  41. package/dist/models/AnalyticsVirtualLicense.js +3 -0
  42. package/dist/models/AnalyticsVirtualLicense.js.map +1 -1
  43. package/dist/models/AnalyticsVirtualLicenseRequest.d.ts +7 -0
  44. package/dist/models/AnalyticsVirtualLicenseRequest.js +2 -0
  45. package/dist/models/AnalyticsVirtualLicenseRequest.js.map +1 -1
  46. package/dist/models/AudioAdaptationSet.d.ts +7 -0
  47. package/dist/models/AudioAdaptationSet.js +7 -0
  48. package/dist/models/AudioAdaptationSet.js.map +1 -1
  49. package/dist/models/ImageAdaptationSet.d.ts +7 -0
  50. package/dist/models/ImageAdaptationSet.js +7 -0
  51. package/dist/models/ImageAdaptationSet.js.map +1 -1
  52. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +21 -0
  53. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +38 -0
  54. package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js.map +1 -0
  55. package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +15 -0
  56. package/dist/models/SimpleEncodingVodJobAzureCredentials.js +37 -0
  57. package/dist/models/SimpleEncodingVodJobAzureCredentials.js.map +1 -0
  58. package/dist/models/SimpleEncodingVodJobCredentials.d.ts +8 -0
  59. package/dist/models/SimpleEncodingVodJobCredentials.js +18 -0
  60. package/dist/models/SimpleEncodingVodJobCredentials.js.map +1 -0
  61. package/dist/models/SimpleEncodingVodJobErrors.d.ts +26 -0
  62. package/dist/models/SimpleEncodingVodJobErrors.js +22 -0
  63. package/dist/models/SimpleEncodingVodJobErrors.js.map +1 -0
  64. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +15 -0
  65. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +37 -0
  66. package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js.map +1 -0
  67. package/dist/models/SimpleEncodingVodJobInputType.d.ts +11 -0
  68. package/dist/models/SimpleEncodingVodJobInputType.js +16 -0
  69. package/dist/models/SimpleEncodingVodJobInputType.js.map +1 -0
  70. package/dist/models/SimpleEncodingVodJobRequest.d.ts +26 -0
  71. package/dist/models/SimpleEncodingVodJobRequest.js +24 -0
  72. package/dist/models/SimpleEncodingVodJobRequest.js.map +1 -0
  73. package/dist/models/SimpleEncodingVodJobResponse.d.ts +64 -0
  74. package/dist/models/SimpleEncodingVodJobResponse.js +31 -0
  75. package/dist/models/SimpleEncodingVodJobResponse.js.map +1 -0
  76. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +21 -0
  77. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +38 -0
  78. package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js.map +1 -0
  79. package/dist/models/SimpleEncodingVodJobStatus.d.ts +14 -0
  80. package/dist/models/SimpleEncodingVodJobStatus.js +19 -0
  81. package/dist/models/SimpleEncodingVodJobStatus.js.map +1 -0
  82. package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +34 -0
  83. package/dist/models/SimpleEncodingVodJobUrlInput.js +24 -0
  84. package/dist/models/SimpleEncodingVodJobUrlInput.js.map +1 -0
  85. package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +27 -0
  86. package/dist/models/SimpleEncodingVodJobUrlOutput.js +23 -0
  87. package/dist/models/SimpleEncodingVodJobUrlOutput.js.map +1 -0
  88. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +21 -0
  89. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +38 -0
  90. package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js.map +1 -0
  91. package/dist/models/SubtitleAdaptationSet.d.ts +7 -0
  92. package/dist/models/SubtitleAdaptationSet.js +7 -0
  93. package/dist/models/SubtitleAdaptationSet.js.map +1 -1
  94. package/dist/models/VideoAdaptationSet.d.ts +7 -0
  95. package/dist/models/VideoAdaptationSet.js +7 -0
  96. package/dist/models/VideoAdaptationSet.js.map +1 -1
  97. package/dist/models/index.d.ts +15 -0
  98. package/dist/models/index.js +15 -0
  99. package/dist/models/index.js.map +1 -1
  100. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @export
3
+ * @class SimpleEncodingVodJobErrors
4
+ */
5
+ export declare class SimpleEncodingVodJobErrors {
6
+ /**
7
+ * Stable code that identifies the error type.
8
+ * @type {string}
9
+ * @memberof SimpleEncodingVodJobErrors
10
+ */
11
+ errorCode?: string;
12
+ /**
13
+ * Human readable description of the error.
14
+ * @type {string}
15
+ * @memberof SimpleEncodingVodJobErrors
16
+ */
17
+ message?: string;
18
+ /**
19
+ * Additional details of the error if available.
20
+ * @type {string}
21
+ * @memberof SimpleEncodingVodJobErrors
22
+ */
23
+ details?: string;
24
+ constructor(obj?: Partial<SimpleEncodingVodJobErrors>);
25
+ }
26
+ export default SimpleEncodingVodJobErrors;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobErrors = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class SimpleEncodingVodJobErrors
8
+ */
9
+ var SimpleEncodingVodJobErrors = /** @class */ (function () {
10
+ function SimpleEncodingVodJobErrors(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.errorCode = Mapper_1.map(obj.errorCode);
15
+ this.message = Mapper_1.map(obj.message);
16
+ this.details = Mapper_1.map(obj.details);
17
+ }
18
+ return SimpleEncodingVodJobErrors;
19
+ }());
20
+ exports.SimpleEncodingVodJobErrors = SimpleEncodingVodJobErrors;
21
+ exports.default = SimpleEncodingVodJobErrors;
22
+ //# sourceMappingURL=SimpleEncodingVodJobErrors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobErrors.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobErrors.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C;;;GAGG;AACH;IAsBE,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,OAAO,GAAG,YAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,YAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;IACH,iCAAC;AAAD,CAAC,AA9BD,IA8BC;AA9BY,gEAA0B;AAgCvC,kBAAe,0BAA0B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingVodJobGcsServiceAccountCredentials
5
+ */
6
+ export declare class SimpleEncodingVodJobGcsServiceAccountCredentials extends SimpleEncodingVodJobCredentials {
7
+ /**
8
+ * Service account credentials for Google (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingVodJobGcsServiceAccountCredentials
11
+ */
12
+ serviceAccountCredentials?: string;
13
+ constructor(obj?: Partial<SimpleEncodingVodJobGcsServiceAccountCredentials>);
14
+ }
15
+ export default SimpleEncodingVodJobGcsServiceAccountCredentials;
@@ -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.SimpleEncodingVodJobGcsServiceAccountCredentials = void 0;
17
+ var Mapper_1 = require("../common/Mapper");
18
+ var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
19
+ /**
20
+ * @export
21
+ * @class SimpleEncodingVodJobGcsServiceAccountCredentials
22
+ */
23
+ var SimpleEncodingVodJobGcsServiceAccountCredentials = /** @class */ (function (_super) {
24
+ __extends(SimpleEncodingVodJobGcsServiceAccountCredentials, _super);
25
+ function SimpleEncodingVodJobGcsServiceAccountCredentials(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 SimpleEncodingVodJobGcsServiceAccountCredentials;
34
+ }(SimpleEncodingVodJobCredentials_1.default));
35
+ exports.SimpleEncodingVodJobGcsServiceAccountCredentials = SimpleEncodingVodJobGcsServiceAccountCredentials;
36
+ exports.default = SimpleEncodingVodJobGcsServiceAccountCredentials;
37
+ //# sourceMappingURL=SimpleEncodingVodJobGcsServiceAccountCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobGcsServiceAccountCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobGcsServiceAccountCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,qFAAgF;AAEhF;;;GAGG;AACH;IAAsE,oEAA+B;IAQnG,0DAAY,GAA+D;QAA3E,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,uDAAC;AAAD,CAAC,AAfD,CAAsE,yCAA+B,GAepG;AAfY,4GAAgD;AAiB7D,kBAAe,gDAAgD,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SimpleEncodingVodJobInputType {
6
+ VIDEO = "VIDEO",
7
+ AUDIO = "AUDIO",
8
+ SUBTITLES = "SUBTITLES",
9
+ CLOSED_CAPTIONS = "CLOSED_CAPTIONS"
10
+ }
11
+ export default SimpleEncodingVodJobInputType;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobInputType = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SimpleEncodingVodJobInputType;
9
+ (function (SimpleEncodingVodJobInputType) {
10
+ SimpleEncodingVodJobInputType["VIDEO"] = "VIDEO";
11
+ SimpleEncodingVodJobInputType["AUDIO"] = "AUDIO";
12
+ SimpleEncodingVodJobInputType["SUBTITLES"] = "SUBTITLES";
13
+ SimpleEncodingVodJobInputType["CLOSED_CAPTIONS"] = "CLOSED_CAPTIONS";
14
+ })(SimpleEncodingVodJobInputType = exports.SimpleEncodingVodJobInputType || (exports.SimpleEncodingVodJobInputType = {}));
15
+ exports.default = SimpleEncodingVodJobInputType;
16
+ //# sourceMappingURL=SimpleEncodingVodJobInputType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobInputType.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobInputType.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,gDAAe,CAAA;IACf,gDAAe,CAAA;IACf,wDAAuB,CAAA;IACvB,oEAAmC,CAAA;AACrC,CAAC,EALW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAKxC;AAED,kBAAe,6BAA6B,CAAC"}
@@ -0,0 +1,26 @@
1
+ import SimpleEncodingVodJobUrlInput from './SimpleEncodingVodJobUrlInput';
2
+ import SimpleEncodingVodJobUrlOutput from './SimpleEncodingVodJobUrlOutput';
3
+ /**
4
+ * @export
5
+ * @class SimpleEncodingVodJobRequest
6
+ */
7
+ export declare class SimpleEncodingVodJobRequest {
8
+ /**
9
+ * @type {SimpleEncodingVodJobUrlInput[]}
10
+ * @memberof SimpleEncodingVodJobRequest
11
+ */
12
+ inputs?: SimpleEncodingVodJobUrlInput[];
13
+ /**
14
+ * @type {SimpleEncodingVodJobUrlOutput[]}
15
+ * @memberof SimpleEncodingVodJobRequest
16
+ */
17
+ outputs?: SimpleEncodingVodJobUrlOutput[];
18
+ /**
19
+ * This property will be used for naming the encoding and the manifests.
20
+ * @type {string}
21
+ * @memberof SimpleEncodingVodJobRequest
22
+ */
23
+ name?: string;
24
+ constructor(obj?: Partial<SimpleEncodingVodJobRequest>);
25
+ }
26
+ export default SimpleEncodingVodJobRequest;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobRequest = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var SimpleEncodingVodJobUrlInput_1 = require("./SimpleEncodingVodJobUrlInput");
6
+ var SimpleEncodingVodJobUrlOutput_1 = require("./SimpleEncodingVodJobUrlOutput");
7
+ /**
8
+ * @export
9
+ * @class SimpleEncodingVodJobRequest
10
+ */
11
+ var SimpleEncodingVodJobRequest = /** @class */ (function () {
12
+ function SimpleEncodingVodJobRequest(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.inputs = Mapper_1.mapArray(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
17
+ this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingVodJobUrlOutput_1.default);
18
+ this.name = Mapper_1.map(obj.name);
19
+ }
20
+ return SimpleEncodingVodJobRequest;
21
+ }());
22
+ exports.SimpleEncodingVodJobRequest = SimpleEncodingVodJobRequest;
23
+ exports.default = SimpleEncodingVodJobRequest;
24
+ //# sourceMappingURL=SimpleEncodingVodJobRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobRequest.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobRequest.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,+EAA0E;AAC1E,iFAA4E;AAE5E;;;GAGG;AACH;IAoBE,qCAAY,GAA0C;QACpD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,MAAM,GAAG,iBAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,sCAA4B,CAAC,CAAC;QACjE,IAAI,CAAC,OAAO,GAAG,iBAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,uCAA6B,CAAC,CAAC;QACpE,IAAI,CAAC,IAAI,GAAG,YAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,kCAAC;AAAD,CAAC,AA5BD,IA4BC;AA5BY,kEAA2B;AA8BxC,kBAAe,2BAA2B,CAAC"}
@@ -0,0 +1,64 @@
1
+ import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
2
+ import SimpleEncodingVodJobStatus from './SimpleEncodingVodJobStatus';
3
+ import SimpleEncodingVodJobUrlInput from './SimpleEncodingVodJobUrlInput';
4
+ import SimpleEncodingVodJobUrlOutput from './SimpleEncodingVodJobUrlOutput';
5
+ /**
6
+ * @export
7
+ * @class SimpleEncodingVodJobResponse
8
+ */
9
+ export declare class SimpleEncodingVodJobResponse {
10
+ /**
11
+ * The identifier of the Simple Encoding VOD Job
12
+ * @type {string}
13
+ * @memberof SimpleEncodingVodJobResponse
14
+ */
15
+ id?: string;
16
+ /**
17
+ * The current status of the Simple Encoding VOD Job
18
+ * @type {SimpleEncodingVodJobStatus}
19
+ * @memberof SimpleEncodingVodJobResponse
20
+ */
21
+ status?: SimpleEncodingVodJobStatus;
22
+ /**
23
+ * The identifier of the encoding that has been created based on the job request. This is only returned once the job execution has been successful and the encoding could be started.
24
+ * @type {string}
25
+ * @memberof SimpleEncodingVodJobResponse
26
+ */
27
+ encodingId?: string;
28
+ /**
29
+ * @type {SimpleEncodingVodJobUrlInput[]}
30
+ * @memberof SimpleEncodingVodJobResponse
31
+ */
32
+ inputs?: SimpleEncodingVodJobUrlInput[];
33
+ /**
34
+ * @type {SimpleEncodingVodJobUrlOutput[]}
35
+ * @memberof SimpleEncodingVodJobResponse
36
+ */
37
+ outputs?: SimpleEncodingVodJobUrlOutput[];
38
+ /**
39
+ * Describes all the errors in cases the status of the job is 'error'.
40
+ * @type {SimpleEncodingVodJobErrors[]}
41
+ * @memberof SimpleEncodingVodJobResponse
42
+ */
43
+ errors?: SimpleEncodingVodJobErrors[];
44
+ /**
45
+ * Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
46
+ * @type {Date}
47
+ * @memberof SimpleEncodingVodJobResponse
48
+ */
49
+ createdAt?: Date;
50
+ /**
51
+ * Modified timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ. The job is updated for example when the status changes
52
+ * @type {Date}
53
+ * @memberof SimpleEncodingVodJobResponse
54
+ */
55
+ modifiedAt?: Date;
56
+ /**
57
+ * This property will be used for naming the encoding and the manifests.
58
+ * @type {string}
59
+ * @memberof SimpleEncodingVodJobResponse
60
+ */
61
+ name?: string;
62
+ constructor(obj?: Partial<SimpleEncodingVodJobResponse>);
63
+ }
64
+ export default SimpleEncodingVodJobResponse;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobResponse = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var SimpleEncodingVodJobErrors_1 = require("./SimpleEncodingVodJobErrors");
6
+ var SimpleEncodingVodJobUrlInput_1 = require("./SimpleEncodingVodJobUrlInput");
7
+ var SimpleEncodingVodJobUrlOutput_1 = require("./SimpleEncodingVodJobUrlOutput");
8
+ /**
9
+ * @export
10
+ * @class SimpleEncodingVodJobResponse
11
+ */
12
+ var SimpleEncodingVodJobResponse = /** @class */ (function () {
13
+ function SimpleEncodingVodJobResponse(obj) {
14
+ if (!obj) {
15
+ return;
16
+ }
17
+ this.id = Mapper_1.map(obj.id);
18
+ this.status = Mapper_1.map(obj.status);
19
+ this.encodingId = Mapper_1.map(obj.encodingId);
20
+ this.inputs = Mapper_1.mapArray(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
21
+ this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingVodJobUrlOutput_1.default);
22
+ this.errors = Mapper_1.mapArray(obj.errors, SimpleEncodingVodJobErrors_1.default);
23
+ this.createdAt = Mapper_1.map(obj.createdAt, Date);
24
+ this.modifiedAt = Mapper_1.map(obj.modifiedAt, Date);
25
+ this.name = Mapper_1.map(obj.name);
26
+ }
27
+ return SimpleEncodingVodJobResponse;
28
+ }());
29
+ exports.SimpleEncodingVodJobResponse = SimpleEncodingVodJobResponse;
30
+ exports.default = SimpleEncodingVodJobResponse;
31
+ //# sourceMappingURL=SimpleEncodingVodJobResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobResponse.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobResponse.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,2EAAsE;AAEtE,+EAA0E;AAC1E,iFAA4E;AAE5E;;;GAGG;AACH;IA8DE,sCAAY,GAA2C;QACrD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,EAAE,GAAG,YAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,YAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,YAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,iBAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,sCAA4B,CAAC,CAAC;QACjE,IAAI,CAAC,OAAO,GAAG,iBAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,uCAA6B,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,GAAG,iBAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,oCAA0B,CAAC,CAAC;QAC/D,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,GAAG,YAAG,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,YAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,mCAAC;AAAD,CAAC,AA5ED,IA4EC;AA5EY,oEAA4B;AA8EzC,kBAAe,4BAA4B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingVodJobS3RoleBasedCredentials
5
+ */
6
+ export declare class SimpleEncodingVodJobS3RoleBasedCredentials extends SimpleEncodingVodJobCredentials {
7
+ /**
8
+ * Amazon ARN of the IAM Role (Identity and Access Management Role) that will be assumed for S3 access. More details can be found [here](https://bitmovin.com/docs/encoding/api-reference/sections/inputs#/Encoding/PostEncodingInputsS3RoleBased) (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingVodJobS3RoleBasedCredentials
11
+ */
12
+ roleArn?: string;
13
+ /**
14
+ * Defines if the organization ID has to be used as externalId when assuming the role. More details can be found [here](https://bitmovin.com/docs/encoding/api-reference/sections/inputs#/Encoding/PostEncodingInputsS3RoleBased)
15
+ * @type {boolean}
16
+ * @memberof SimpleEncodingVodJobS3RoleBasedCredentials
17
+ */
18
+ useExternalId?: boolean;
19
+ constructor(obj?: Partial<SimpleEncodingVodJobS3RoleBasedCredentials>);
20
+ }
21
+ export default SimpleEncodingVodJobS3RoleBasedCredentials;
@@ -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.SimpleEncodingVodJobS3RoleBasedCredentials = void 0;
17
+ var Mapper_1 = require("../common/Mapper");
18
+ var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
19
+ /**
20
+ * @export
21
+ * @class SimpleEncodingVodJobS3RoleBasedCredentials
22
+ */
23
+ var SimpleEncodingVodJobS3RoleBasedCredentials = /** @class */ (function (_super) {
24
+ __extends(SimpleEncodingVodJobS3RoleBasedCredentials, _super);
25
+ function SimpleEncodingVodJobS3RoleBasedCredentials(obj) {
26
+ var _this = _super.call(this, obj) || this;
27
+ if (!obj) {
28
+ return _this;
29
+ }
30
+ _this.roleArn = Mapper_1.map(obj.roleArn);
31
+ _this.useExternalId = Mapper_1.map(obj.useExternalId);
32
+ return _this;
33
+ }
34
+ return SimpleEncodingVodJobS3RoleBasedCredentials;
35
+ }(SimpleEncodingVodJobCredentials_1.default));
36
+ exports.SimpleEncodingVodJobS3RoleBasedCredentials = SimpleEncodingVodJobS3RoleBasedCredentials;
37
+ exports.default = SimpleEncodingVodJobS3RoleBasedCredentials;
38
+ //# sourceMappingURL=SimpleEncodingVodJobS3RoleBasedCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobS3RoleBasedCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobS3RoleBasedCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,qFAAgF;AAEhF;;;GAGG;AACH;IAAgE,8DAA+B;IAe7F,oDAAY,GAAyD;QAArE,YACE,kBAAM,GAAG,CAAC,SAMX;QALC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,OAAO,GAAG,YAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAChC,KAAI,CAAC,aAAa,GAAG,YAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;;IAC9C,CAAC;IACH,iDAAC;AAAD,CAAC,AAvBD,CAAgE,yCAA+B,GAuB9F;AAvBY,gGAA0C;AAyBvD,kBAAe,0CAA0C,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SimpleEncodingVodJobStatus {
6
+ CREATED = "CREATED",
7
+ EXECUTING = "EXECUTING",
8
+ FAILURE = "FAILURE",
9
+ RUNNING = "RUNNING",
10
+ FINISHED = "FINISHED",
11
+ ERROR = "ERROR",
12
+ CANCELED = "CANCELED"
13
+ }
14
+ export default SimpleEncodingVodJobStatus;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobStatus = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SimpleEncodingVodJobStatus;
9
+ (function (SimpleEncodingVodJobStatus) {
10
+ SimpleEncodingVodJobStatus["CREATED"] = "CREATED";
11
+ SimpleEncodingVodJobStatus["EXECUTING"] = "EXECUTING";
12
+ SimpleEncodingVodJobStatus["FAILURE"] = "FAILURE";
13
+ SimpleEncodingVodJobStatus["RUNNING"] = "RUNNING";
14
+ SimpleEncodingVodJobStatus["FINISHED"] = "FINISHED";
15
+ SimpleEncodingVodJobStatus["ERROR"] = "ERROR";
16
+ SimpleEncodingVodJobStatus["CANCELED"] = "CANCELED";
17
+ })(SimpleEncodingVodJobStatus = exports.SimpleEncodingVodJobStatus || (exports.SimpleEncodingVodJobStatus = {}));
18
+ exports.default = SimpleEncodingVodJobStatus;
19
+ //# sourceMappingURL=SimpleEncodingVodJobStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobStatus.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobStatus.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,0BAQX;AARD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,qDAAuB,CAAA;IACvB,iDAAmB,CAAA;IACnB,iDAAmB,CAAA;IACnB,mDAAqB,CAAA;IACrB,6CAAe,CAAA;IACf,mDAAqB,CAAA;AACvB,CAAC,EARW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAQrC;AAED,kBAAe,0BAA0B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
+ import SimpleEncodingVodJobInputType from './SimpleEncodingVodJobInputType';
3
+ /**
4
+ * @export
5
+ * @class SimpleEncodingVodJobUrlInput
6
+ */
7
+ export declare class SimpleEncodingVodJobUrlInput {
8
+ /**
9
+ * Define a URL pointing to the asset that should be encoded. The URL has to point to a file. Currently the following protocols/storages systems are supported: HTTP(S), (S)FTP, S3, GCS, Azure Blob Storage, Akamai NetStorage. Note that most protocols will require `credentials` to access the asset. Check the description below which ones are applicable. See below how to construct the URLs for the individual protocals/storage systems. --- **HTTP** and **HTTPS**: * `http://<host>[:<port>]/path/file.mp4` * `https://<host>[:<port>]/path/file.mp4` The port is defaulted to 80 if it's not provided. If the content is secured by Basic Authentication please provide corresponding credentials. **FTP** and **SFTP**: * `ftp://<host>[:<port>]/path/file.mp4` * `sftp://<host>[:<port>]/path/file.mp4` The port is defaulted to 21 (ftp) or 22 (sftp) if it's not provided. If the content is secured please provide corresponding credentials. **S3**: * `s3://<my-bucket>/path/file.mp4` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/file.mp4` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/file.mp4` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/file.mp4` It is required to provider username/password credentials for authentication. (required)
10
+ * @type {string}
11
+ * @memberof SimpleEncodingVodJobUrlInput
12
+ */
13
+ url?: string;
14
+ /**
15
+ * Credentials to be used for authentication and accessing the file. Check out the examples on how to define the credentials correctly.
16
+ * @type {SimpleEncodingVodJobCredentials}
17
+ * @memberof SimpleEncodingVodJobUrlInput
18
+ */
19
+ credentials?: SimpleEncodingVodJobCredentials;
20
+ /**
21
+ * Defines the type of the input file, if no type is set it is assumed that the input file contains at least one video stream and optionally one or multiple audio streams.
22
+ * @type {SimpleEncodingVodJobInputType}
23
+ * @memberof SimpleEncodingVodJobUrlInput
24
+ */
25
+ inputType?: SimpleEncodingVodJobInputType;
26
+ /**
27
+ * The language of the audio track, the subtitles, or closed captions file. The language code must be compliant with [BCP 47](https://datatracker.ietf.org/doc/html/rfc5646). This property is mandatory if the input provided is of type SUBTITLES or CLOSED_CAPTIONS and recommended for input type AUDIO and an input that does not specify an input type (combined audio and video). If an audio input does not specify the language, it is defaulted to `und` (undefined).
28
+ * @type {string}
29
+ * @memberof SimpleEncodingVodJobUrlInput
30
+ */
31
+ language?: string;
32
+ constructor(obj?: Partial<SimpleEncodingVodJobUrlInput>);
33
+ }
34
+ export default SimpleEncodingVodJobUrlInput;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobUrlInput = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
6
+ /**
7
+ * @export
8
+ * @class SimpleEncodingVodJobUrlInput
9
+ */
10
+ var SimpleEncodingVodJobUrlInput = /** @class */ (function () {
11
+ function SimpleEncodingVodJobUrlInput(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.url = Mapper_1.map(obj.url);
16
+ this.credentials = Mapper_1.map(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
17
+ this.inputType = Mapper_1.map(obj.inputType);
18
+ this.language = Mapper_1.map(obj.language);
19
+ }
20
+ return SimpleEncodingVodJobUrlInput;
21
+ }());
22
+ exports.SimpleEncodingVodJobUrlInput = SimpleEncodingVodJobUrlInput;
23
+ exports.default = SimpleEncodingVodJobUrlInput;
24
+ //# sourceMappingURL=SimpleEncodingVodJobUrlInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobUrlInput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobUrlInput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,qFAAgF;AAGhF;;;GAGG;AACH;IA6BE,sCAAY,GAA2C;QACrD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,GAAG,GAAG,YAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,YAAG,CAAC,GAAG,CAAC,WAAW,EAAE,yCAA+B,CAAC,CAAC;QACzE,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,YAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IACH,mCAAC;AAAD,CAAC,AAtCD,IAsCC;AAtCY,oEAA4B;AAwCzC,kBAAe,4BAA4B,CAAC"}
@@ -0,0 +1,27 @@
1
+ import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingVodJobUrlOutput
5
+ */
6
+ export declare class SimpleEncodingVodJobUrlOutput {
7
+ /**
8
+ * Define a URL pointing to a folder which will be used to upload the encoded assets. The output folder structure used looks the following way: <br><br> `http://host/my-folder` <ul> <li> `/video` <ul> <li>`/h264/{width}x{height}_{bitrate}/` (multiple subfolders containing different output renditions)</li> </ul> </li> <li>`/audio` <ul> <li>`/aac/{language}/` - if language is unique (subfolder containing audio output files)</li> <li>`/aac/{language}_{index}/` - if language is not unique (subfolder containing audio output files)</li> </ul> </li> <li>`/subtitles` (subfolder containing subtitles files)</li> <li>`/captions` (subfolder containing subtitles files)</li> <li>`/sprites` (subfolder containing generated sprites)</li> <li>`/thumbnails` (subfolder containing generated thumbnails)</li> <li>`/index.m3u8` (HLS manifest file) </li> <li>`/stream.mpd` (DASH manifest file) </li> </ul> Currently the following protocols/storages systems are supported: S3, GCS, Azure Blob Storage, Akamai NetStorage. Note that most protocols will require `credentials` to access the asset. Check the description below which ones are applicable. See below how to construct the URLs for the individual protocals/storage systems. --- **S3**: * `s3://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/` It is required to provider username/password credentials for authentication. (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingVodJobUrlOutput
11
+ */
12
+ url?: string;
13
+ /**
14
+ * Credentials to be used for authentication and accessing the folder.
15
+ * @type {SimpleEncodingVodJobCredentials}
16
+ * @memberof SimpleEncodingVodJobUrlOutput
17
+ */
18
+ credentials?: SimpleEncodingVodJobCredentials;
19
+ /**
20
+ * Indicates if the output should be publically available so that playback immediately works over the internet. Note that not every storage provider supports public output, in this case the flag will be ignored (e.g., Akamai NetStorage). It might forbidden by some storage configuration to make files public, for example an S3 buckets can be configured to disallow public access. In this case set it to false.
21
+ * @type {boolean}
22
+ * @memberof SimpleEncodingVodJobUrlOutput
23
+ */
24
+ makePublic?: boolean;
25
+ constructor(obj?: Partial<SimpleEncodingVodJobUrlOutput>);
26
+ }
27
+ export default SimpleEncodingVodJobUrlOutput;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobUrlOutput = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
6
+ /**
7
+ * @export
8
+ * @class SimpleEncodingVodJobUrlOutput
9
+ */
10
+ var SimpleEncodingVodJobUrlOutput = /** @class */ (function () {
11
+ function SimpleEncodingVodJobUrlOutput(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.url = Mapper_1.map(obj.url);
16
+ this.credentials = Mapper_1.map(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
17
+ this.makePublic = Mapper_1.map(obj.makePublic);
18
+ }
19
+ return SimpleEncodingVodJobUrlOutput;
20
+ }());
21
+ exports.SimpleEncodingVodJobUrlOutput = SimpleEncodingVodJobUrlOutput;
22
+ exports.default = SimpleEncodingVodJobUrlOutput;
23
+ //# sourceMappingURL=SimpleEncodingVodJobUrlOutput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobUrlOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobUrlOutput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,qFAAgF;AAEhF;;;GAGG;AACH;IAsBE,uCAAY,GAA4C;QACtD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,GAAG,GAAG,YAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,YAAG,CAAC,GAAG,CAAC,WAAW,EAAE,yCAA+B,CAAC,CAAC;QACzE,IAAI,CAAC,UAAU,GAAG,YAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC;IACH,oCAAC;AAAD,CAAC,AA9BD,IA8BC;AA9BY,sEAA6B;AAgC1C,kBAAe,6BAA6B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
2
+ /**
3
+ * @export
4
+ * @class SimpleEncodingVodJobUsernamePasswordCredentials
5
+ */
6
+ export declare class SimpleEncodingVodJobUsernamePasswordCredentials extends SimpleEncodingVodJobCredentials {
7
+ /**
8
+ * The username to be used for authentication. (required)
9
+ * @type {string}
10
+ * @memberof SimpleEncodingVodJobUsernamePasswordCredentials
11
+ */
12
+ username?: string;
13
+ /**
14
+ * The password to be used for authentication (required)
15
+ * @type {string}
16
+ * @memberof SimpleEncodingVodJobUsernamePasswordCredentials
17
+ */
18
+ password?: string;
19
+ constructor(obj?: Partial<SimpleEncodingVodJobUsernamePasswordCredentials>);
20
+ }
21
+ export default SimpleEncodingVodJobUsernamePasswordCredentials;
@@ -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.SimpleEncodingVodJobUsernamePasswordCredentials = void 0;
17
+ var Mapper_1 = require("../common/Mapper");
18
+ var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
19
+ /**
20
+ * @export
21
+ * @class SimpleEncodingVodJobUsernamePasswordCredentials
22
+ */
23
+ var SimpleEncodingVodJobUsernamePasswordCredentials = /** @class */ (function (_super) {
24
+ __extends(SimpleEncodingVodJobUsernamePasswordCredentials, _super);
25
+ function SimpleEncodingVodJobUsernamePasswordCredentials(obj) {
26
+ var _this = _super.call(this, obj) || this;
27
+ if (!obj) {
28
+ return _this;
29
+ }
30
+ _this.username = Mapper_1.map(obj.username);
31
+ _this.password = Mapper_1.map(obj.password);
32
+ return _this;
33
+ }
34
+ return SimpleEncodingVodJobUsernamePasswordCredentials;
35
+ }(SimpleEncodingVodJobCredentials_1.default));
36
+ exports.SimpleEncodingVodJobUsernamePasswordCredentials = SimpleEncodingVodJobUsernamePasswordCredentials;
37
+ exports.default = SimpleEncodingVodJobUsernamePasswordCredentials;
38
+ //# sourceMappingURL=SimpleEncodingVodJobUsernamePasswordCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingVodJobUsernamePasswordCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobUsernamePasswordCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,qFAAgF;AAEhF;;;GAGG;AACH;IAAqE,mEAA+B;IAelG,yDAAY,GAA8D;QAA1E,YACE,kBAAM,GAAG,CAAC,SAMX;QALC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,QAAQ,GAAG,YAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAClC,KAAI,CAAC,QAAQ,GAAG,YAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;IACpC,CAAC;IACH,sDAAC;AAAD,CAAC,AAvBD,CAAqE,yCAA+B,GAuBnG;AAvBY,0GAA+C;AAyB5D,kBAAe,+CAA+C,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import AdaptationSet from './AdaptationSet';
2
+ import AdaptationSetType from './AdaptationSetType';
2
3
  /**
3
4
  * @export
4
5
  * @class SubtitleAdaptationSet
5
6
  */
6
7
  export declare class SubtitleAdaptationSet extends AdaptationSet {
8
+ /**
9
+ * Discriminator property for AdaptationSet
10
+ * @type {string}
11
+ * @memberof SubtitleAdaptationSet
12
+ */
13
+ type: AdaptationSetType.SUBTITLE;
7
14
  /**
8
15
  * ISO 639-1 (Alpha-2) code identifying the language of the subtitle adaptation set (required)
9
16
  * @type {string}
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SubtitleAdaptationSet = void 0;
17
17
  var Mapper_1 = require("../common/Mapper");
18
18
  var AdaptationSet_1 = require("./AdaptationSet");
19
+ var AdaptationSetType_1 = require("./AdaptationSetType");
19
20
  /**
20
21
  * @export
21
22
  * @class SubtitleAdaptationSet
@@ -24,6 +25,12 @@ var SubtitleAdaptationSet = /** @class */ (function (_super) {
24
25
  __extends(SubtitleAdaptationSet, _super);
25
26
  function SubtitleAdaptationSet(obj) {
26
27
  var _this = _super.call(this, obj) || this;
28
+ /**
29
+ * Discriminator property for AdaptationSet
30
+ * @type {string}
31
+ * @memberof SubtitleAdaptationSet
32
+ */
33
+ _this.type = AdaptationSetType_1.default.SUBTITLE;
27
34
  if (!obj) {
28
35
  return _this;
29
36
  }