@bitmovin/api-sdk 1.173.0 → 1.175.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.
@@ -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.173.0',
243
+ 'X-Api-Client-Version': '1.175.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -3,13 +3,27 @@
3
3
  * @enum {string}
4
4
  */
5
5
  export declare enum AzureCloudRegion {
6
+ ASIA_EAST = "ASIA_EAST",
7
+ ASIA_SOUTHEAST = "ASIA_SOUTHEAST",
6
8
  AUSTRALIA_EAST = "AUSTRALIA_EAST",
7
9
  AUSTRALIA_SOUTHEAST = "AUSTRALIA_SOUTHEAST",
10
+ BRAZIL_SOUTH = "BRAZIL_SOUTH",
11
+ CANADA_CENTRAL = "CANADA_CENTRAL",
8
12
  EUROPE_NORTH = "EUROPE_NORTH",
9
13
  EUROPE_WEST = "EUROPE_WEST",
14
+ FRANCE_CENTRAL = "FRANCE_CENTRAL",
10
15
  GERMANY_WESTCENTRAL = "GERMANY_WESTCENTRAL",
16
+ INDIA_CENTRAL = "INDIA_CENTRAL",
17
+ INDIA_SOUTH = "INDIA_SOUTH",
18
+ JAPAN_EAST = "JAPAN_EAST",
19
+ JAPAN_WEST = "JAPAN_WEST",
20
+ KOREA_CENTRAL = "KOREA_CENTRAL",
11
21
  UAE_NORTH = "UAE_NORTH",
22
+ US_CENTRAL = "US_CENTRAL",
12
23
  US_EAST = "US_EAST",
13
- US_WEST2 = "US_WEST2"
24
+ US_EAST2 = "US_EAST2",
25
+ US_WEST = "US_WEST",
26
+ US_WEST2 = "US_WEST2",
27
+ US_SOUTH_CENTRAL = "US_SOUTH_CENTRAL"
14
28
  }
15
29
  export default AzureCloudRegion;
@@ -7,13 +7,27 @@ exports.AzureCloudRegion = void 0;
7
7
  */
8
8
  var AzureCloudRegion;
9
9
  (function (AzureCloudRegion) {
10
+ AzureCloudRegion["ASIA_EAST"] = "ASIA_EAST";
11
+ AzureCloudRegion["ASIA_SOUTHEAST"] = "ASIA_SOUTHEAST";
10
12
  AzureCloudRegion["AUSTRALIA_EAST"] = "AUSTRALIA_EAST";
11
13
  AzureCloudRegion["AUSTRALIA_SOUTHEAST"] = "AUSTRALIA_SOUTHEAST";
14
+ AzureCloudRegion["BRAZIL_SOUTH"] = "BRAZIL_SOUTH";
15
+ AzureCloudRegion["CANADA_CENTRAL"] = "CANADA_CENTRAL";
12
16
  AzureCloudRegion["EUROPE_NORTH"] = "EUROPE_NORTH";
13
17
  AzureCloudRegion["EUROPE_WEST"] = "EUROPE_WEST";
18
+ AzureCloudRegion["FRANCE_CENTRAL"] = "FRANCE_CENTRAL";
14
19
  AzureCloudRegion["GERMANY_WESTCENTRAL"] = "GERMANY_WESTCENTRAL";
20
+ AzureCloudRegion["INDIA_CENTRAL"] = "INDIA_CENTRAL";
21
+ AzureCloudRegion["INDIA_SOUTH"] = "INDIA_SOUTH";
22
+ AzureCloudRegion["JAPAN_EAST"] = "JAPAN_EAST";
23
+ AzureCloudRegion["JAPAN_WEST"] = "JAPAN_WEST";
24
+ AzureCloudRegion["KOREA_CENTRAL"] = "KOREA_CENTRAL";
15
25
  AzureCloudRegion["UAE_NORTH"] = "UAE_NORTH";
26
+ AzureCloudRegion["US_CENTRAL"] = "US_CENTRAL";
16
27
  AzureCloudRegion["US_EAST"] = "US_EAST";
28
+ AzureCloudRegion["US_EAST2"] = "US_EAST2";
29
+ AzureCloudRegion["US_WEST"] = "US_WEST";
17
30
  AzureCloudRegion["US_WEST2"] = "US_WEST2";
31
+ AzureCloudRegion["US_SOUTH_CENTRAL"] = "US_SOUTH_CENTRAL";
18
32
  })(AzureCloudRegion = exports.AzureCloudRegion || (exports.AzureCloudRegion = {}));
19
33
  exports.default = AzureCloudRegion;
@@ -37,14 +37,28 @@ 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
- AZURE_EUROPE_WEST = "AZURE_EUROPE_WEST",
41
- AZURE_EUROPE_NORTH = "AZURE_EUROPE_NORTH",
42
- AZURE_US_WEST2 = "AZURE_US_WEST2",
43
- AZURE_US_EAST = "AZURE_US_EAST",
44
- AZURE_AUSTRALIA_SOUTHEAST = "AZURE_AUSTRALIA_SOUTHEAST",
40
+ AZURE_ASIA_EAST = "AZURE_ASIA_EAST",
41
+ AZURE_ASIA_SOUTHEAST = "AZURE_ASIA_SOUTHEAST",
45
42
  AZURE_AUSTRALIA_EAST = "AZURE_AUSTRALIA_EAST",
43
+ AZURE_AUSTRALIA_SOUTHEAST = "AZURE_AUSTRALIA_SOUTHEAST",
44
+ AZURE_BRAZIL_SOUTH = "AZURE_BRAZIL_SOUTH",
45
+ AZURE_CANADA_CENTRAL = "AZURE_CANADA_CENTRAL",
46
+ AZURE_EUROPE_NORTH = "AZURE_EUROPE_NORTH",
47
+ AZURE_EUROPE_WEST = "AZURE_EUROPE_WEST",
48
+ AZURE_FRANCE_CENTRAL = "AZURE_FRANCE_CENTRAL",
46
49
  AZURE_GERMANY_WESTCENTRAL = "AZURE_GERMANY_WESTCENTRAL",
50
+ AZURE_INDIA_CENTRAL = "AZURE_INDIA_CENTRAL",
51
+ AZURE_INDIA_SOUTH = "AZURE_INDIA_SOUTH",
52
+ AZURE_JAPAN_EAST = "AZURE_JAPAN_EAST",
53
+ AZURE_JAPAN_WEST = "AZURE_JAPAN_WEST",
54
+ AZURE_KOREA_CENTRAL = "AZURE_KOREA_CENTRAL",
47
55
  AZURE_UAE_NORTH = "AZURE_UAE_NORTH",
56
+ AZURE_US_CENTRAL = "AZURE_US_CENTRAL",
57
+ AZURE_US_EAST = "AZURE_US_EAST",
58
+ AZURE_US_EAST2 = "AZURE_US_EAST2",
59
+ AZURE_US_WEST = "AZURE_US_WEST",
60
+ AZURE_US_WEST2 = "AZURE_US_WEST2",
61
+ AZURE_US_SOUTH_CENTRAL = "AZURE_US_SOUTH_CENTRAL",
48
62
  NORTH_AMERICA = "NORTH_AMERICA",
49
63
  SOUTH_AMERICA = "SOUTH_AMERICA",
50
64
  EUROPE = "EUROPE",
@@ -41,14 +41,28 @@ 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["AZURE_EUROPE_WEST"] = "AZURE_EUROPE_WEST";
45
- CloudRegion["AZURE_EUROPE_NORTH"] = "AZURE_EUROPE_NORTH";
46
- CloudRegion["AZURE_US_WEST2"] = "AZURE_US_WEST2";
47
- CloudRegion["AZURE_US_EAST"] = "AZURE_US_EAST";
48
- CloudRegion["AZURE_AUSTRALIA_SOUTHEAST"] = "AZURE_AUSTRALIA_SOUTHEAST";
44
+ CloudRegion["AZURE_ASIA_EAST"] = "AZURE_ASIA_EAST";
45
+ CloudRegion["AZURE_ASIA_SOUTHEAST"] = "AZURE_ASIA_SOUTHEAST";
49
46
  CloudRegion["AZURE_AUSTRALIA_EAST"] = "AZURE_AUSTRALIA_EAST";
47
+ CloudRegion["AZURE_AUSTRALIA_SOUTHEAST"] = "AZURE_AUSTRALIA_SOUTHEAST";
48
+ CloudRegion["AZURE_BRAZIL_SOUTH"] = "AZURE_BRAZIL_SOUTH";
49
+ CloudRegion["AZURE_CANADA_CENTRAL"] = "AZURE_CANADA_CENTRAL";
50
+ CloudRegion["AZURE_EUROPE_NORTH"] = "AZURE_EUROPE_NORTH";
51
+ CloudRegion["AZURE_EUROPE_WEST"] = "AZURE_EUROPE_WEST";
52
+ CloudRegion["AZURE_FRANCE_CENTRAL"] = "AZURE_FRANCE_CENTRAL";
50
53
  CloudRegion["AZURE_GERMANY_WESTCENTRAL"] = "AZURE_GERMANY_WESTCENTRAL";
54
+ CloudRegion["AZURE_INDIA_CENTRAL"] = "AZURE_INDIA_CENTRAL";
55
+ CloudRegion["AZURE_INDIA_SOUTH"] = "AZURE_INDIA_SOUTH";
56
+ CloudRegion["AZURE_JAPAN_EAST"] = "AZURE_JAPAN_EAST";
57
+ CloudRegion["AZURE_JAPAN_WEST"] = "AZURE_JAPAN_WEST";
58
+ CloudRegion["AZURE_KOREA_CENTRAL"] = "AZURE_KOREA_CENTRAL";
51
59
  CloudRegion["AZURE_UAE_NORTH"] = "AZURE_UAE_NORTH";
60
+ CloudRegion["AZURE_US_CENTRAL"] = "AZURE_US_CENTRAL";
61
+ CloudRegion["AZURE_US_EAST"] = "AZURE_US_EAST";
62
+ CloudRegion["AZURE_US_EAST2"] = "AZURE_US_EAST2";
63
+ CloudRegion["AZURE_US_WEST"] = "AZURE_US_WEST";
64
+ CloudRegion["AZURE_US_WEST2"] = "AZURE_US_WEST2";
65
+ CloudRegion["AZURE_US_SOUTH_CENTRAL"] = "AZURE_US_SOUTH_CENTRAL";
52
66
  CloudRegion["NORTH_AMERICA"] = "NORTH_AMERICA";
53
67
  CloudRegion["SOUTH_AMERICA"] = "SOUTH_AMERICA";
54
68
  CloudRegion["EUROPE"] = "EUROPE";
@@ -98,6 +98,12 @@ export declare class Encoding extends BitmovinResource {
98
98
  * @memberof Encoding
99
99
  */
100
100
  selectedCloudRegion?: CloudRegion;
101
+ /**
102
+ * After the encoding has been started, this will contain the fallback cloud regions that were actually used. This will differ from fallbackCloudRegions if any of the fallbackCloudRegions were set to an unspecific region (e.g. 'AUTO')
103
+ * @type {CloudRegion[]}
104
+ * @memberof Encoding
105
+ */
106
+ selectedFallbackCloudRegions?: CloudRegion[];
101
107
  /**
102
108
  * The current status of the encoding.
103
109
  * @type {Status}
@@ -45,6 +45,7 @@ var Encoding = /** @class */ (function (_super) {
45
45
  _this.selectedEncoderVersion = (0, Mapper_1.map)(obj.selectedEncoderVersion);
46
46
  _this.selectedEncodingMode = (0, Mapper_1.map)(obj.selectedEncodingMode);
47
47
  _this.selectedCloudRegion = (0, Mapper_1.map)(obj.selectedCloudRegion);
48
+ _this.selectedFallbackCloudRegions = (0, Mapper_1.mapArray)(obj.selectedFallbackCloudRegions);
48
49
  _this.status = (0, Mapper_1.map)(obj.status);
49
50
  _this.labels = (0, Mapper_1.mapArray)(obj.labels);
50
51
  _this.liveOptionsType = (0, Mapper_1.map)(obj.liveOptionsType);
@@ -15,7 +15,7 @@ export declare class EncodingStatisticsVod extends EncodingStatistics {
15
15
  * @type {number}
16
16
  * @memberof EncodingStatisticsVod
17
17
  */
18
- realTimeFactor?: number;
18
+ realtimeFactor?: number;
19
19
  constructor(obj?: Partial<EncodingStatisticsVod>);
20
20
  }
21
21
  export default EncodingStatisticsVod;
@@ -30,7 +30,7 @@ var EncodingStatisticsVod = /** @class */ (function (_super) {
30
30
  return _this;
31
31
  }
32
32
  _this.timeEnqueued = (0, Mapper_1.map)(obj.timeEnqueued);
33
- _this.realTimeFactor = (0, Mapper_1.map)(obj.realTimeFactor);
33
+ _this.realtimeFactor = (0, Mapper_1.map)(obj.realtimeFactor);
34
34
  return _this;
35
35
  }
36
36
  return EncodingStatisticsVod;
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export declare enum EncodingTemplate {
6
6
  H264 = "H264",
7
+ H264_FIXED_RESOLUTIONS = "H264_FIXED_RESOLUTIONS",
7
8
  AV1 = "AV1"
8
9
  }
9
10
  export default EncodingTemplate;
@@ -8,6 +8,7 @@ exports.EncodingTemplate = void 0;
8
8
  var EncodingTemplate;
9
9
  (function (EncodingTemplate) {
10
10
  EncodingTemplate["H264"] = "H264";
11
+ EncodingTemplate["H264_FIXED_RESOLUTIONS"] = "H264_FIXED_RESOLUTIONS";
11
12
  EncodingTemplate["AV1"] = "AV1";
12
13
  })(EncodingTemplate = exports.EncodingTemplate || (exports.EncodingTemplate = {}));
13
14
  exports.default = EncodingTemplate;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum StreamsEncodingProfile {
6
+ PER_TITLE = "PER_TITLE",
7
+ FIXED_RESOLUTIONS = "FIXED_RESOLUTIONS"
8
+ }
9
+ export default StreamsEncodingProfile;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsEncodingProfile = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var StreamsEncodingProfile;
9
+ (function (StreamsEncodingProfile) {
10
+ StreamsEncodingProfile["PER_TITLE"] = "PER_TITLE";
11
+ StreamsEncodingProfile["FIXED_RESOLUTIONS"] = "FIXED_RESOLUTIONS";
12
+ })(StreamsEncodingProfile = exports.StreamsEncodingProfile || (exports.StreamsEncodingProfile = {}));
13
+ exports.default = StreamsEncodingProfile;
@@ -1,3 +1,4 @@
1
+ import StreamsEncodingProfile from './StreamsEncodingProfile';
1
2
  /**
2
3
  * @export
3
4
  * @class StreamsVideoCreateRequest
@@ -33,6 +34,12 @@ export declare class StreamsVideoCreateRequest {
33
34
  * @memberof StreamsVideoCreateRequest
34
35
  */
35
36
  adConfigId?: string;
37
+ /**
38
+ * Profile to be used in encoding
39
+ * @type {StreamsEncodingProfile}
40
+ * @memberof StreamsVideoCreateRequest
41
+ */
42
+ encodingProfile?: StreamsEncodingProfile;
36
43
  constructor(obj?: Partial<StreamsVideoCreateRequest>);
37
44
  }
38
45
  export default StreamsVideoCreateRequest;
@@ -16,6 +16,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
17
  this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
18
18
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
19
+ this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
19
20
  }
20
21
  return StreamsVideoCreateRequest;
21
22
  }());
@@ -708,6 +708,7 @@ export * from './StreamSelectionMode';
708
708
  export * from './StreamsAdConfigAd';
709
709
  export * from './StreamsAdConfigResponse';
710
710
  export * from './StreamsContentProtectionResponse';
711
+ export * from './StreamsEncodingProfile';
711
712
  export * from './StreamsLiveCreateRequest';
712
713
  export * from './StreamsLiveLifeCycle';
713
714
  export * from './StreamsLiveResponse';
@@ -724,6 +724,7 @@ __exportStar(require("./StreamSelectionMode"), exports);
724
724
  __exportStar(require("./StreamsAdConfigAd"), exports);
725
725
  __exportStar(require("./StreamsAdConfigResponse"), exports);
726
726
  __exportStar(require("./StreamsContentProtectionResponse"), exports);
727
+ __exportStar(require("./StreamsEncodingProfile"), exports);
727
728
  __exportStar(require("./StreamsLiveCreateRequest"), exports);
728
729
  __exportStar(require("./StreamsLiveLifeCycle"), exports);
729
730
  __exportStar(require("./StreamsLiveResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.173.0",
3
+ "version": "1.175.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [