@bitmovin/api-sdk 1.210.0 → 1.211.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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +682 -1
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/infrastructure/InfrastructureApi.d.ts +2 -0
  6. package/dist/encoding/infrastructure/InfrastructureApi.js +2 -0
  7. package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.d.ts +28 -0
  8. package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.js +29 -0
  9. package/dist/encoding/infrastructure/akamai/AkamaiApi.d.ts +44 -0
  10. package/dist/encoding/infrastructure/akamai/AkamaiApi.js +96 -0
  11. package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.d.ts +28 -0
  12. package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.js +29 -0
  13. package/dist/encoding/infrastructure/akamai/regions/RegionsApi.d.ts +48 -0
  14. package/dist/encoding/infrastructure/akamai/regions/RegionsApi.js +107 -0
  15. package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.d.ts +40 -0
  16. package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.js +37 -0
  17. package/dist/encoding/templates/TemplatesApi.d.ts +33 -0
  18. package/dist/encoding/templates/TemplatesApi.js +62 -0
  19. package/dist/models/AkamaiAccount.d.ts +15 -0
  20. package/dist/models/AkamaiAccount.js +38 -0
  21. package/dist/models/AkamaiAccountRegionSettings.d.ts +27 -0
  22. package/dist/models/AkamaiAccountRegionSettings.js +40 -0
  23. package/dist/models/AkamaiCloudRegion.d.ts +20 -0
  24. package/dist/models/AkamaiCloudRegion.js +24 -0
  25. package/dist/models/EncodingTemplateDetails.d.ts +15 -0
  26. package/dist/models/EncodingTemplateDetails.js +38 -0
  27. package/dist/models/EncodingTemplateResponse.d.ts +15 -0
  28. package/dist/models/EncodingTemplateResponse.js +38 -0
  29. package/dist/models/EncodingTemplateType.d.ts +10 -0
  30. package/dist/models/EncodingTemplateType.js +14 -0
  31. package/dist/models/index.d.ts +6 -0
  32. package/dist/models/index.js +6 -0
  33. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ import BitmovinResource from './BitmovinResource';
2
+ /**
3
+ * @export
4
+ * @class AkamaiAccount
5
+ */
6
+ export declare class AkamaiAccount extends BitmovinResource {
7
+ /**
8
+ * Akamai/Linode API token (required)
9
+ * @type {string}
10
+ * @memberof AkamaiAccount
11
+ */
12
+ apiToken?: string;
13
+ constructor(obj?: Partial<AkamaiAccount>);
14
+ }
15
+ export default AkamaiAccount;
@@ -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.AkamaiAccount = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ /**
22
+ * @export
23
+ * @class AkamaiAccount
24
+ */
25
+ var AkamaiAccount = /** @class */ (function (_super) {
26
+ __extends(AkamaiAccount, _super);
27
+ function AkamaiAccount(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.apiToken = (0, Mapper_1.map)(obj.apiToken);
33
+ return _this;
34
+ }
35
+ return AkamaiAccount;
36
+ }(BitmovinResource_1.default));
37
+ exports.AkamaiAccount = AkamaiAccount;
38
+ exports.default = AkamaiAccount;
@@ -0,0 +1,27 @@
1
+ import AkamaiCloudRegion from './AkamaiCloudRegion';
2
+ import BitmovinResource from './BitmovinResource';
3
+ /**
4
+ * @export
5
+ * @class AkamaiAccountRegionSettings
6
+ */
7
+ export declare class AkamaiAccountRegionSettings extends BitmovinResource {
8
+ /**
9
+ * Id of the VPC subnet for encoding instances (required)
10
+ * @type {number}
11
+ * @memberof AkamaiAccountRegionSettings
12
+ */
13
+ subnetId?: number;
14
+ /**
15
+ * Id of the firewall for encoding instances (required)
16
+ * @type {number}
17
+ * @memberof AkamaiAccountRegionSettings
18
+ */
19
+ firewallId?: number;
20
+ /**
21
+ * @type {AkamaiCloudRegion}
22
+ * @memberof AkamaiAccountRegionSettings
23
+ */
24
+ region?: AkamaiCloudRegion;
25
+ constructor(obj?: Partial<AkamaiAccountRegionSettings>);
26
+ }
27
+ export default AkamaiAccountRegionSettings;
@@ -0,0 +1,40 @@
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.AkamaiAccountRegionSettings = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ /**
22
+ * @export
23
+ * @class AkamaiAccountRegionSettings
24
+ */
25
+ var AkamaiAccountRegionSettings = /** @class */ (function (_super) {
26
+ __extends(AkamaiAccountRegionSettings, _super);
27
+ function AkamaiAccountRegionSettings(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.subnetId = (0, Mapper_1.map)(obj.subnetId);
33
+ _this.firewallId = (0, Mapper_1.map)(obj.firewallId);
34
+ _this.region = (0, Mapper_1.map)(obj.region);
35
+ return _this;
36
+ }
37
+ return AkamaiAccountRegionSettings;
38
+ }(BitmovinResource_1.default));
39
+ exports.AkamaiAccountRegionSettings = AkamaiAccountRegionSettings;
40
+ exports.default = AkamaiAccountRegionSettings;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum AkamaiCloudRegion {
6
+ BR_GRU = "BR_GRU",
7
+ ES_MAD = "ES_MAD",
8
+ FR_PAR = "FR_PAR",
9
+ ID_CGK = "ID_CGK",
10
+ IN_MAA = "IN_MAA",
11
+ IT_MIL = "IT_MIL",
12
+ JP_OSA = "JP_OSA",
13
+ NL_AMS = "NL_AMS",
14
+ SE_STO = "SE_STO",
15
+ US_LAX = "US_LAX",
16
+ US_MIA = "US_MIA",
17
+ US_ORD = "US_ORD",
18
+ US_SEA = "US_SEA"
19
+ }
20
+ export default AkamaiCloudRegion;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AkamaiCloudRegion = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var AkamaiCloudRegion;
9
+ (function (AkamaiCloudRegion) {
10
+ AkamaiCloudRegion["BR_GRU"] = "BR_GRU";
11
+ AkamaiCloudRegion["ES_MAD"] = "ES_MAD";
12
+ AkamaiCloudRegion["FR_PAR"] = "FR_PAR";
13
+ AkamaiCloudRegion["ID_CGK"] = "ID_CGK";
14
+ AkamaiCloudRegion["IN_MAA"] = "IN_MAA";
15
+ AkamaiCloudRegion["IT_MIL"] = "IT_MIL";
16
+ AkamaiCloudRegion["JP_OSA"] = "JP_OSA";
17
+ AkamaiCloudRegion["NL_AMS"] = "NL_AMS";
18
+ AkamaiCloudRegion["SE_STO"] = "SE_STO";
19
+ AkamaiCloudRegion["US_LAX"] = "US_LAX";
20
+ AkamaiCloudRegion["US_MIA"] = "US_MIA";
21
+ AkamaiCloudRegion["US_ORD"] = "US_ORD";
22
+ AkamaiCloudRegion["US_SEA"] = "US_SEA";
23
+ })(AkamaiCloudRegion || (exports.AkamaiCloudRegion = AkamaiCloudRegion = {}));
24
+ exports.default = AkamaiCloudRegion;
@@ -0,0 +1,15 @@
1
+ import EncodingTemplateResponse from './EncodingTemplateResponse';
2
+ /**
3
+ * @export
4
+ * @class EncodingTemplateDetails
5
+ */
6
+ export declare class EncodingTemplateDetails extends EncodingTemplateResponse {
7
+ /**
8
+ * The url to download the template file (required)
9
+ * @type {string}
10
+ * @memberof EncodingTemplateDetails
11
+ */
12
+ url?: string;
13
+ constructor(obj?: Partial<EncodingTemplateDetails>);
14
+ }
15
+ export default EncodingTemplateDetails;
@@ -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.EncodingTemplateDetails = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var EncodingTemplateResponse_1 = require("./EncodingTemplateResponse");
21
+ /**
22
+ * @export
23
+ * @class EncodingTemplateDetails
24
+ */
25
+ var EncodingTemplateDetails = /** @class */ (function (_super) {
26
+ __extends(EncodingTemplateDetails, _super);
27
+ function EncodingTemplateDetails(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.url = (0, Mapper_1.map)(obj.url);
33
+ return _this;
34
+ }
35
+ return EncodingTemplateDetails;
36
+ }(EncodingTemplateResponse_1.default));
37
+ exports.EncodingTemplateDetails = EncodingTemplateDetails;
38
+ exports.default = EncodingTemplateDetails;
@@ -0,0 +1,15 @@
1
+ import BitmovinResource from './BitmovinResource';
2
+ import EncodingTemplateType from './EncodingTemplateType';
3
+ /**
4
+ * @export
5
+ * @class EncodingTemplateResponse
6
+ */
7
+ export declare class EncodingTemplateResponse extends BitmovinResource {
8
+ /**
9
+ * @type {EncodingTemplateType}
10
+ * @memberof EncodingTemplateResponse
11
+ */
12
+ type?: EncodingTemplateType;
13
+ constructor(obj?: Partial<EncodingTemplateResponse>);
14
+ }
15
+ export default EncodingTemplateResponse;
@@ -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.EncodingTemplateResponse = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ /**
22
+ * @export
23
+ * @class EncodingTemplateResponse
24
+ */
25
+ var EncodingTemplateResponse = /** @class */ (function (_super) {
26
+ __extends(EncodingTemplateResponse, _super);
27
+ function EncodingTemplateResponse(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.type = (0, Mapper_1.map)(obj.type);
33
+ return _this;
34
+ }
35
+ return EncodingTemplateResponse;
36
+ }(BitmovinResource_1.default));
37
+ exports.EncodingTemplateResponse = EncodingTemplateResponse;
38
+ exports.default = EncodingTemplateResponse;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The Encoding Template type
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum EncodingTemplateType {
7
+ VOD = "VOD",
8
+ LIVE = "LIVE"
9
+ }
10
+ export default EncodingTemplateType;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EncodingTemplateType = void 0;
4
+ /**
5
+ * The Encoding Template type
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var EncodingTemplateType;
10
+ (function (EncodingTemplateType) {
11
+ EncodingTemplateType["VOD"] = "VOD";
12
+ EncodingTemplateType["LIVE"] = "LIVE";
13
+ })(EncodingTemplateType || (exports.EncodingTemplateType = EncodingTemplateType = {}));
14
+ exports.default = EncodingTemplateType;
@@ -39,6 +39,9 @@ export * from './AdaptationSetTypeResponse';
39
39
  export * from './AdaptiveQuantMode';
40
40
  export * from './AesEncryptionDrm';
41
41
  export * from './AesEncryptionMethod';
42
+ export * from './AkamaiAccount';
43
+ export * from './AkamaiAccountRegionSettings';
44
+ export * from './AkamaiCloudRegion';
42
45
  export * from './AkamaiMslOutput';
43
46
  export * from './AkamaiMslStreamFormat';
44
47
  export * from './AkamaiMslVersion';
@@ -347,8 +350,11 @@ export * from './EncodingStats';
347
350
  export * from './EncodingStreamInput';
348
351
  export * from './EncodingStreamInputDetails';
349
352
  export * from './EncodingTemplate';
353
+ export * from './EncodingTemplateDetails';
350
354
  export * from './EncodingTemplateRequest';
355
+ export * from './EncodingTemplateResponse';
351
356
  export * from './EncodingTemplateStartResponse';
357
+ export * from './EncodingTemplateType';
352
358
  export * from './EncodingType';
353
359
  export * from './EncryptionMode';
354
360
  export * from './EnhancedDeinterlaceAutoEnable';
@@ -55,6 +55,9 @@ __exportStar(require("./AdaptationSetTypeResponse"), exports);
55
55
  __exportStar(require("./AdaptiveQuantMode"), exports);
56
56
  __exportStar(require("./AesEncryptionDrm"), exports);
57
57
  __exportStar(require("./AesEncryptionMethod"), exports);
58
+ __exportStar(require("./AkamaiAccount"), exports);
59
+ __exportStar(require("./AkamaiAccountRegionSettings"), exports);
60
+ __exportStar(require("./AkamaiCloudRegion"), exports);
58
61
  __exportStar(require("./AkamaiMslOutput"), exports);
59
62
  __exportStar(require("./AkamaiMslStreamFormat"), exports);
60
63
  __exportStar(require("./AkamaiMslVersion"), exports);
@@ -363,8 +366,11 @@ __exportStar(require("./EncodingStats"), exports);
363
366
  __exportStar(require("./EncodingStreamInput"), exports);
364
367
  __exportStar(require("./EncodingStreamInputDetails"), exports);
365
368
  __exportStar(require("./EncodingTemplate"), exports);
369
+ __exportStar(require("./EncodingTemplateDetails"), exports);
366
370
  __exportStar(require("./EncodingTemplateRequest"), exports);
371
+ __exportStar(require("./EncodingTemplateResponse"), exports);
367
372
  __exportStar(require("./EncodingTemplateStartResponse"), exports);
373
+ __exportStar(require("./EncodingTemplateType"), exports);
368
374
  __exportStar(require("./EncodingType"), exports);
369
375
  __exportStar(require("./EncryptionMode"), exports);
370
376
  __exportStar(require("./EnhancedDeinterlaceAutoEnable"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.210.0",
3
+ "version": "1.211.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [