@bitmovin/api-sdk 1.250.0 → 1.252.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 (39) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +357 -60
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
  6. package/dist/encoding/encodings/live/LiveApi.js +2 -0
  7. package/dist/encoding/encodings/live/heartbeat/HeartbeatApi.d.ts +19 -0
  8. package/dist/encoding/encodings/live/heartbeat/HeartbeatApi.js +48 -0
  9. package/dist/models/AiSceneAnalysis.d.ts +0 -7
  10. package/dist/models/AiSceneAnalysis.js +0 -2
  11. package/dist/models/DashManifest.d.ts +6 -0
  12. package/dist/models/DashManifest.js +1 -0
  13. package/dist/models/LiveEncodingEventName.d.ts +4 -1
  14. package/dist/models/LiveEncodingEventName.js +3 -0
  15. package/dist/models/LiveEncodingHeartbeat.d.ts +29 -0
  16. package/dist/models/LiveEncodingHeartbeat.js +24 -0
  17. package/dist/models/LiveEncodingHeartbeatEvent.d.ts +20 -0
  18. package/dist/models/LiveEncodingHeartbeatEvent.js +21 -0
  19. package/dist/models/LiveEncodingHeartbeatEventDetails.d.ts +20 -0
  20. package/dist/models/LiveEncodingHeartbeatEventDetails.js +20 -0
  21. package/dist/models/LiveEncodingHeartbeatEventType.d.ts +12 -0
  22. package/dist/models/LiveEncodingHeartbeatEventType.js +16 -0
  23. package/dist/models/LiveEncodingHeartbeatIngest.d.ts +41 -0
  24. package/dist/models/LiveEncodingHeartbeatIngest.js +27 -0
  25. package/dist/models/LiveEncodingHeartbeatIngestPoint.d.ts +39 -0
  26. package/dist/models/LiveEncodingHeartbeatIngestPoint.js +24 -0
  27. package/dist/models/LiveEncodingHeartbeatIngestStream.d.ts +117 -0
  28. package/dist/models/LiveEncodingHeartbeatIngestStream.js +37 -0
  29. package/dist/models/LiveEncodingStatsEventDetails.d.ts +3 -9
  30. package/dist/models/LiveEncodingStatsEventDetails.js +1 -2
  31. package/dist/models/RtmpUserIngestInfo.d.ts +45 -0
  32. package/dist/models/RtmpUserIngestInfo.js +25 -0
  33. package/dist/models/index.d.ts +8 -2
  34. package/dist/models/index.js +8 -2
  35. package/package.json +1 -1
  36. package/dist/models/AiService.d.ts +0 -15
  37. package/dist/models/AiService.js +0 -19
  38. package/dist/models/AiServiceProvider.d.ts +0 -8
  39. package/dist/models/AiServiceProvider.js +0 -12
@@ -16,17 +16,11 @@ export declare class LiveEncodingStatsEventDetails {
16
16
  */
17
17
  message?: string;
18
18
  /**
19
- * Name of the mid roll asset name
20
- * @type {string[]}
21
- * @memberof LiveEncodingStatsEventDetails
22
- */
23
- midRollAssetNames?: string[];
24
- /**
25
- * Duration in seconds
26
- * @type {number}
19
+ * Additional event details as key-value pairs
20
+ * @type {string}
27
21
  * @memberof LiveEncodingStatsEventDetails
28
22
  */
29
- durationInSeconds?: number;
23
+ additionalProperties?: string;
30
24
  constructor(obj?: Partial<LiveEncodingStatsEventDetails>);
31
25
  }
32
26
  export default LiveEncodingStatsEventDetails;
@@ -13,8 +13,7 @@ var LiveEncodingStatsEventDetails = /** @class */ (function () {
13
13
  }
14
14
  this.eventType = (0, Mapper_1.map)(obj.eventType);
15
15
  this.message = (0, Mapper_1.map)(obj.message);
16
- this.midRollAssetNames = (0, Mapper_1.mapArray)(obj.midRollAssetNames);
17
- this.durationInSeconds = (0, Mapper_1.map)(obj.durationInSeconds);
16
+ this.additionalProperties = (0, Mapper_1.map)(obj.additionalProperties);
18
17
  }
19
18
  return LiveEncodingStatsEventDetails;
20
19
  }());
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Details about user info from rtmp ingest.
3
+ * @export
4
+ * @class RtmpUserIngestInfo
5
+ */
6
+ export declare class RtmpUserIngestInfo {
7
+ /**
8
+ * Client public IP address.
9
+ * @type {string}
10
+ * @memberof RtmpUserIngestInfo
11
+ */
12
+ address?: string;
13
+ /**
14
+ * RTMP application name.
15
+ * @type {string}
16
+ * @memberof RtmpUserIngestInfo
17
+ */
18
+ app?: string;
19
+ /**
20
+ * Client stream key.
21
+ * @type {string}
22
+ * @memberof RtmpUserIngestInfo
23
+ */
24
+ streamKey?: string;
25
+ /**
26
+ * Flash version string / encoder identity.
27
+ * @type {string}
28
+ * @memberof RtmpUserIngestInfo
29
+ */
30
+ flashVersion?: string;
31
+ /**
32
+ * Session/client connection ID.
33
+ * @type {string}
34
+ * @memberof RtmpUserIngestInfo
35
+ */
36
+ clientId?: string;
37
+ /**
38
+ * Server action.
39
+ * @type {string}
40
+ * @memberof RtmpUserIngestInfo
41
+ */
42
+ eventType?: string;
43
+ constructor(obj?: Partial<RtmpUserIngestInfo>);
44
+ }
45
+ export default RtmpUserIngestInfo;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RtmpUserIngestInfo = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * Details about user info from rtmp ingest.
7
+ * @export
8
+ * @class RtmpUserIngestInfo
9
+ */
10
+ var RtmpUserIngestInfo = /** @class */ (function () {
11
+ function RtmpUserIngestInfo(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.address = (0, Mapper_1.map)(obj.address);
16
+ this.app = (0, Mapper_1.map)(obj.app);
17
+ this.streamKey = (0, Mapper_1.map)(obj.streamKey);
18
+ this.flashVersion = (0, Mapper_1.map)(obj.flashVersion);
19
+ this.clientId = (0, Mapper_1.map)(obj.clientId);
20
+ this.eventType = (0, Mapper_1.map)(obj.eventType);
21
+ }
22
+ return RtmpUserIngestInfo;
23
+ }());
24
+ exports.RtmpUserIngestInfo = RtmpUserIngestInfo;
25
+ exports.default = RtmpUserIngestInfo;
@@ -46,8 +46,6 @@ export * from './AiSceneAnalysisAssetDescription';
46
46
  export * from './AiSceneAnalysisAutomaticAdPlacement';
47
47
  export * from './AiSceneAnalysisFeatures';
48
48
  export * from './AiSceneAnalysisOutputLanguageCodes';
49
- export * from './AiService';
50
- export * from './AiServiceProvider';
51
49
  export * from './AkamaiAccount';
52
50
  export * from './AkamaiAccountRegionSettings';
53
51
  export * from './AkamaiCloudRegion';
@@ -492,6 +490,13 @@ export * from './LiveDashManifest';
492
490
  export * from './LiveEncoding';
493
491
  export * from './LiveEncodingCodec';
494
492
  export * from './LiveEncodingEventName';
493
+ export * from './LiveEncodingHeartbeat';
494
+ export * from './LiveEncodingHeartbeatEvent';
495
+ export * from './LiveEncodingHeartbeatEventDetails';
496
+ export * from './LiveEncodingHeartbeatEventType';
497
+ export * from './LiveEncodingHeartbeatIngest';
498
+ export * from './LiveEncodingHeartbeatIngestPoint';
499
+ export * from './LiveEncodingHeartbeatIngestStream';
495
500
  export * from './LiveEncodingHeartbeatWebhook';
496
501
  export * from './LiveEncodingOptionsStatistics';
497
502
  export * from './LiveEncodingStats';
@@ -658,6 +663,7 @@ export * from './ReuploadSettings';
658
663
  export * from './RotateFilter';
659
664
  export * from './RtmpIngestPoint';
660
665
  export * from './RtmpInput';
666
+ export * from './RtmpUserIngestInfo';
661
667
  export * from './S3AccessStyle';
662
668
  export * from './S3Input';
663
669
  export * from './S3Output';
@@ -62,8 +62,6 @@ __exportStar(require("./AiSceneAnalysisAssetDescription"), exports);
62
62
  __exportStar(require("./AiSceneAnalysisAutomaticAdPlacement"), exports);
63
63
  __exportStar(require("./AiSceneAnalysisFeatures"), exports);
64
64
  __exportStar(require("./AiSceneAnalysisOutputLanguageCodes"), exports);
65
- __exportStar(require("./AiService"), exports);
66
- __exportStar(require("./AiServiceProvider"), exports);
67
65
  __exportStar(require("./AkamaiAccount"), exports);
68
66
  __exportStar(require("./AkamaiAccountRegionSettings"), exports);
69
67
  __exportStar(require("./AkamaiCloudRegion"), exports);
@@ -508,6 +506,13 @@ __exportStar(require("./LiveDashManifest"), exports);
508
506
  __exportStar(require("./LiveEncoding"), exports);
509
507
  __exportStar(require("./LiveEncodingCodec"), exports);
510
508
  __exportStar(require("./LiveEncodingEventName"), exports);
509
+ __exportStar(require("./LiveEncodingHeartbeat"), exports);
510
+ __exportStar(require("./LiveEncodingHeartbeatEvent"), exports);
511
+ __exportStar(require("./LiveEncodingHeartbeatEventDetails"), exports);
512
+ __exportStar(require("./LiveEncodingHeartbeatEventType"), exports);
513
+ __exportStar(require("./LiveEncodingHeartbeatIngest"), exports);
514
+ __exportStar(require("./LiveEncodingHeartbeatIngestPoint"), exports);
515
+ __exportStar(require("./LiveEncodingHeartbeatIngestStream"), exports);
511
516
  __exportStar(require("./LiveEncodingHeartbeatWebhook"), exports);
512
517
  __exportStar(require("./LiveEncodingOptionsStatistics"), exports);
513
518
  __exportStar(require("./LiveEncodingStats"), exports);
@@ -674,6 +679,7 @@ __exportStar(require("./ReuploadSettings"), exports);
674
679
  __exportStar(require("./RotateFilter"), exports);
675
680
  __exportStar(require("./RtmpIngestPoint"), exports);
676
681
  __exportStar(require("./RtmpInput"), exports);
682
+ __exportStar(require("./RtmpUserIngestInfo"), exports);
677
683
  __exportStar(require("./S3AccessStyle"), exports);
678
684
  __exportStar(require("./S3Input"), exports);
679
685
  __exportStar(require("./S3Output"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.250.0",
3
+ "version": "1.252.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -1,15 +0,0 @@
1
- import AiServiceProvider from './AiServiceProvider';
2
- /**
3
- * @export
4
- * @class AiService
5
- */
6
- export declare class AiService {
7
- /**
8
- * AI service provider
9
- * @type {AiServiceProvider}
10
- * @memberof AiService
11
- */
12
- provider?: AiServiceProvider;
13
- constructor(obj?: Partial<AiService>);
14
- }
15
- export default AiService;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AiService = void 0;
4
- var Mapper_1 = require("../common/Mapper");
5
- /**
6
- * @export
7
- * @class AiService
8
- */
9
- var AiService = /** @class */ (function () {
10
- function AiService(obj) {
11
- if (!obj) {
12
- return;
13
- }
14
- this.provider = (0, Mapper_1.map)(obj.provider);
15
- }
16
- return AiService;
17
- }());
18
- exports.AiService = AiService;
19
- exports.default = AiService;
@@ -1,8 +0,0 @@
1
- /**
2
- * @export
3
- * @enum {string}
4
- */
5
- export declare enum AiServiceProvider {
6
- GOOGLE = "GOOGLE"
7
- }
8
- export default AiServiceProvider;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AiServiceProvider = void 0;
4
- /**
5
- * @export
6
- * @enum {string}
7
- */
8
- var AiServiceProvider;
9
- (function (AiServiceProvider) {
10
- AiServiceProvider["GOOGLE"] = "GOOGLE";
11
- })(AiServiceProvider || (exports.AiServiceProvider = AiServiceProvider = {}));
12
- exports.default = AiServiceProvider;