@bitmovin/api-sdk 1.279.0 → 1.281.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 (121) hide show
  1. package/README.md +1 -1
  2. package/dist/aiSceneAnalysis/AiSceneAnalysisApi.d.ts +2 -0
  3. package/dist/aiSceneAnalysis/AiSceneAnalysisApi.js +2 -0
  4. package/dist/aiSceneAnalysis/liveAnalyses/AiSceneAnalysisLiveResponseListQueryParams.d.ts +28 -0
  5. package/dist/aiSceneAnalysis/liveAnalyses/AiSceneAnalysisLiveResponseListQueryParams.js +28 -0
  6. package/dist/aiSceneAnalysis/liveAnalyses/LiveAnalysesApi.d.ts +60 -0
  7. package/dist/aiSceneAnalysis/liveAnalyses/LiveAnalysesApi.js +107 -0
  8. package/dist/aiSceneAnalysis/liveAnalyses/results/ResultsApi.d.ts +13 -0
  9. package/dist/aiSceneAnalysis/liveAnalyses/results/ResultsApi.js +17 -0
  10. package/dist/aiSceneAnalysis/liveAnalyses/results/latest/LatestApi.d.ts +19 -0
  11. package/dist/aiSceneAnalysis/liveAnalyses/results/latest/LatestApi.js +31 -0
  12. package/dist/bitmovin-api-sdk.browser.js +2062 -134
  13. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  14. package/dist/common/RestClient.js +1 -1
  15. package/dist/models/AiSceneAnalysisLiveCreateRequest.d.ts +42 -0
  16. package/dist/models/AiSceneAnalysisLiveCreateRequest.js +25 -0
  17. package/dist/models/AiSceneAnalysisLiveError.d.ts +26 -0
  18. package/dist/models/AiSceneAnalysisLiveError.js +20 -0
  19. package/dist/models/AiSceneAnalysisLiveObservation.d.ts +33 -0
  20. package/dist/models/AiSceneAnalysisLiveObservation.js +22 -0
  21. package/dist/models/AiSceneAnalysisLiveOutput.d.ts +34 -0
  22. package/dist/models/AiSceneAnalysisLiveOutput.js +23 -0
  23. package/dist/models/AiSceneAnalysisLiveRecording.d.ts +16 -0
  24. package/dist/models/AiSceneAnalysisLiveRecording.js +20 -0
  25. package/dist/models/AiSceneAnalysisLiveRecordingRequest.d.ts +15 -0
  26. package/dist/models/AiSceneAnalysisLiveRecordingRequest.js +19 -0
  27. package/dist/models/AiSceneAnalysisLiveResponse.d.ts +67 -0
  28. package/dist/models/AiSceneAnalysisLiveResponse.js +30 -0
  29. package/dist/models/AiSceneAnalysisLiveResult.d.ts +72 -0
  30. package/dist/models/AiSceneAnalysisLiveResult.js +31 -0
  31. package/dist/models/AiSceneAnalysisLiveResultMetadata.d.ts +20 -0
  32. package/dist/models/AiSceneAnalysisLiveResultMetadata.js +19 -0
  33. package/dist/models/AiSceneAnalysisLiveSourceGap.d.ts +27 -0
  34. package/dist/models/AiSceneAnalysisLiveSourceGap.js +20 -0
  35. package/dist/models/AiSceneAnalysisLiveSourceGapReason.d.ts +12 -0
  36. package/dist/models/AiSceneAnalysisLiveSourceGapReason.js +16 -0
  37. package/dist/models/AiSceneAnalysisLiveStatus.d.ts +14 -0
  38. package/dist/models/AiSceneAnalysisLiveStatus.js +18 -0
  39. package/dist/models/AkamaiCloudRegion.d.ts +1 -0
  40. package/dist/models/AkamaiCloudRegion.js +1 -0
  41. package/dist/models/Av1PerTitleConfiguration.d.ts +1 -1
  42. package/dist/models/CloudRegion.d.ts +1 -0
  43. package/dist/models/CloudRegion.js +1 -0
  44. package/dist/models/H265V2PresetConfiguration.d.ts +2 -0
  45. package/dist/models/H265V2PresetConfiguration.js +2 -0
  46. package/dist/models/PccCell.d.ts +75 -0
  47. package/dist/models/PccCell.js +29 -0
  48. package/dist/models/PccCodecDeviceTypeReach.d.ts +25 -0
  49. package/dist/models/PccCodecDeviceTypeReach.js +20 -0
  50. package/dist/models/PccCodecReach.d.ts +19 -0
  51. package/dist/models/PccCodecReach.js +20 -0
  52. package/dist/models/PccCombination.d.ts +32 -0
  53. package/dist/models/PccCombination.js +21 -0
  54. package/dist/models/PccCombinationEvidence.d.ts +56 -0
  55. package/dist/models/PccCombinationEvidence.js +25 -0
  56. package/dist/models/PccCompatibilityMatrix.d.ts +83 -0
  57. package/dist/models/PccCompatibilityMatrix.js +36 -0
  58. package/dist/models/PccCoverage.d.ts +79 -0
  59. package/dist/models/PccCoverage.js +29 -0
  60. package/dist/models/PccDevice.d.ts +56 -0
  61. package/dist/models/PccDevice.js +27 -0
  62. package/dist/models/PccDeviceHdrVerdict.d.ts +35 -0
  63. package/dist/models/PccDeviceHdrVerdict.js +22 -0
  64. package/dist/models/PccDeviceTypeShare.d.ts +32 -0
  65. package/dist/models/PccDeviceTypeShare.js +21 -0
  66. package/dist/models/PccDeviceUnit.d.ts +35 -0
  67. package/dist/models/PccDeviceUnit.js +22 -0
  68. package/dist/models/PccHdrConfidence.d.ts +11 -0
  69. package/dist/models/PccHdrConfidence.js +15 -0
  70. package/dist/models/PccHdrDevice.d.ts +43 -0
  71. package/dist/models/PccHdrDevice.js +25 -0
  72. package/dist/models/PccHdrFinding.d.ts +30 -0
  73. package/dist/models/PccHdrFinding.js +21 -0
  74. package/dist/models/PccHdrLegendEntry.d.ts +39 -0
  75. package/dist/models/PccHdrLegendEntry.js +22 -0
  76. package/dist/models/PccHdrOutcome.d.ts +13 -0
  77. package/dist/models/PccHdrOutcome.js +17 -0
  78. package/dist/models/PccHdrOutcomeCount.d.ts +32 -0
  79. package/dist/models/PccHdrOutcomeCount.js +21 -0
  80. package/dist/models/PccHdrShare.d.ts +24 -0
  81. package/dist/models/PccHdrShare.js +20 -0
  82. package/dist/models/PccHdrSummary.d.ts +51 -0
  83. package/dist/models/PccHdrSummary.js +28 -0
  84. package/dist/models/PccOverview.d.ts +26 -0
  85. package/dist/models/PccOverview.js +20 -0
  86. package/dist/models/PccPicture.d.ts +31 -0
  87. package/dist/models/PccPicture.js +21 -0
  88. package/dist/models/PccReport.d.ts +27 -0
  89. package/dist/models/PccReport.js +21 -0
  90. package/dist/models/PccReportView.d.ts +38 -0
  91. package/dist/models/PccReportView.js +22 -0
  92. package/dist/models/PccSummary.d.ts +62 -0
  93. package/dist/models/PccSummary.js +33 -0
  94. package/dist/models/PccSupportShare.d.ts +26 -0
  95. package/dist/models/PccSupportShare.js +20 -0
  96. package/dist/models/PccVerdict.d.ts +17 -0
  97. package/dist/models/PccVerdict.js +21 -0
  98. package/dist/models/PccVerdictLegendEntry.d.ts +32 -0
  99. package/dist/models/PccVerdictLegendEntry.js +21 -0
  100. package/dist/models/PccVerdictShare.d.ts +32 -0
  101. package/dist/models/PccVerdictShare.js +21 -0
  102. package/dist/models/PerTitleConfiguration.d.ts +1 -1
  103. package/dist/models/StreamMetadata.d.ts +12 -0
  104. package/dist/models/StreamMetadata.js +2 -0
  105. package/dist/models/index.d.ts +40 -0
  106. package/dist/models/index.js +40 -0
  107. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.d.ts +35 -0
  108. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.js +72 -0
  109. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListByEncodingIdQueryParams.d.ts +28 -0
  110. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListByEncodingIdQueryParams.js +28 -0
  111. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/customdata/CustomdataApi.d.ts +27 -0
  112. package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/customdata/CustomdataApi.js +47 -0
  113. package/dist/player/PlayerApi.d.ts +2 -0
  114. package/dist/player/PlayerApi.js +2 -0
  115. package/dist/player/testing/TestingApi.d.ts +13 -0
  116. package/dist/player/testing/TestingApi.js +17 -0
  117. package/dist/player/testing/codecCompatibility/CodecCompatibilityApi.d.ts +20 -0
  118. package/dist/player/testing/codecCompatibility/CodecCompatibilityApi.js +36 -0
  119. package/dist/player/testing/codecCompatibility/PccReportGetQueryParams.d.ts +61 -0
  120. package/dist/player/testing/codecCompatibility/PccReportGetQueryParams.js +52 -0
  121. package/package.json +1 -1
@@ -165,7 +165,7 @@ class HeaderHandler extends DelegatingHandler {
165
165
  const headers = {
166
166
  'X-Api-Key': apiKey,
167
167
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
168
- 'X-Api-Client-Version': '1.279.0',
168
+ 'X-Api-Client-Version': '1.281.0',
169
169
  'Content-Type': 'application/json'
170
170
  };
171
171
  if (tenantOrgId) {
@@ -0,0 +1,42 @@
1
+ import AiSceneAnalysisLiveOutput from './AiSceneAnalysisLiveOutput';
2
+ import AiSceneAnalysisLiveRecordingRequest from './AiSceneAnalysisLiveRecordingRequest';
3
+ import CloudRegion from './CloudRegion';
4
+ /**
5
+ * Configuration for a Live Analysis. Each recording and analysis destination references an existing Encoding Output or provides an inline Output definition. Inline Outputs are created synchronously. Within this request, identical complete inline Output definitions, including credentials, are created once and reused across all destinations; destination paths and ACLs do not affect that reuse.
6
+ * @export
7
+ * @class AiSceneAnalysisLiveCreateRequest
8
+ */
9
+ export declare class AiSceneAnalysisLiveCreateRequest {
10
+ /**
11
+ * Name of the Analysis
12
+ * @type {string}
13
+ * @memberof AiSceneAnalysisLiveCreateRequest
14
+ */
15
+ name?: string;
16
+ /**
17
+ * Key used to publish the RTMP stream. When the Live Analysis is `RUNNING`, the Get Live Analysis details response returns the current value in `ingest.streamKey`. (required)
18
+ * @type {string}
19
+ * @memberof AiSceneAnalysisLiveCreateRequest
20
+ */
21
+ streamKey?: string;
22
+ /**
23
+ * Region in which the AI analysis runs. `EXTERNAL` is not supported yet.
24
+ * @type {CloudRegion}
25
+ * @memberof AiSceneAnalysisLiveCreateRequest
26
+ */
27
+ cloudRegion?: CloudRegion;
28
+ /**
29
+ * Destinations for the stream recording (required)
30
+ * @type {AiSceneAnalysisLiveRecordingRequest}
31
+ * @memberof AiSceneAnalysisLiveCreateRequest
32
+ */
33
+ recording?: AiSceneAnalysisLiveRecordingRequest;
34
+ /**
35
+ * Destinations for cumulative AI analysis results (required)
36
+ * @type {AiSceneAnalysisLiveOutput[]}
37
+ * @memberof AiSceneAnalysisLiveCreateRequest
38
+ */
39
+ outputs?: AiSceneAnalysisLiveOutput[];
40
+ constructor(obj?: Partial<AiSceneAnalysisLiveCreateRequest>);
41
+ }
42
+ export default AiSceneAnalysisLiveCreateRequest;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveCreateRequest = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ const AiSceneAnalysisLiveOutput_1 = require("./AiSceneAnalysisLiveOutput");
6
+ const AiSceneAnalysisLiveRecordingRequest_1 = require("./AiSceneAnalysisLiveRecordingRequest");
7
+ /**
8
+ * Configuration for a Live Analysis. Each recording and analysis destination references an existing Encoding Output or provides an inline Output definition. Inline Outputs are created synchronously. Within this request, identical complete inline Output definitions, including credentials, are created once and reused across all destinations; destination paths and ACLs do not affect that reuse.
9
+ * @export
10
+ * @class AiSceneAnalysisLiveCreateRequest
11
+ */
12
+ class AiSceneAnalysisLiveCreateRequest {
13
+ constructor(obj) {
14
+ if (!obj) {
15
+ return;
16
+ }
17
+ this.name = (0, Mapper_1.map)(obj.name);
18
+ this.streamKey = (0, Mapper_1.map)(obj.streamKey);
19
+ this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
20
+ this.recording = (0, Mapper_1.map)(obj.recording, AiSceneAnalysisLiveRecordingRequest_1.default);
21
+ this.outputs = (0, Mapper_1.mapArray)(obj.outputs, AiSceneAnalysisLiveOutput_1.default);
22
+ }
23
+ }
24
+ exports.AiSceneAnalysisLiveCreateRequest = AiSceneAnalysisLiveCreateRequest;
25
+ exports.default = AiSceneAnalysisLiveCreateRequest;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @export
3
+ * @class AiSceneAnalysisLiveError
4
+ */
5
+ export declare class AiSceneAnalysisLiveError {
6
+ /**
7
+ * Stable machine-readable failure code (required)
8
+ * @type {string}
9
+ * @memberof AiSceneAnalysisLiveError
10
+ */
11
+ code?: string;
12
+ /**
13
+ * Credential-free failure description safe to expose to the customer (required)
14
+ * @type {string}
15
+ * @memberof AiSceneAnalysisLiveError
16
+ */
17
+ message?: string;
18
+ /**
19
+ * Time at which the failure was recorded (required)
20
+ * @type {Date}
21
+ * @memberof AiSceneAnalysisLiveError
22
+ */
23
+ timestamp?: Date;
24
+ constructor(obj?: Partial<AiSceneAnalysisLiveError>);
25
+ }
26
+ export default AiSceneAnalysisLiveError;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveError = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class AiSceneAnalysisLiveError
8
+ */
9
+ class AiSceneAnalysisLiveError {
10
+ constructor(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.code = (0, Mapper_1.map)(obj.code);
15
+ this.message = (0, Mapper_1.map)(obj.message);
16
+ this.timestamp = (0, Mapper_1.map)(obj.timestamp, Date);
17
+ }
18
+ }
19
+ exports.AiSceneAnalysisLiveError = AiSceneAnalysisLiveError;
20
+ exports.default = AiSceneAnalysisLiveError;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Immutable consumer-visible observation produced from an analyzed media window
3
+ * @export
4
+ * @class AiSceneAnalysisLiveObservation
5
+ */
6
+ export declare class AiSceneAnalysisLiveObservation {
7
+ /**
8
+ * Stable opaque observation ID that remains unchanged across cumulative result generations (required)
9
+ * @type {string}
10
+ * @memberof AiSceneAnalysisLiveObservation
11
+ */
12
+ id?: string;
13
+ /**
14
+ * Consumer-visible description of a development in the analyzed media (required)
15
+ * @type {string}
16
+ * @memberof AiSceneAnalysisLiveObservation
17
+ */
18
+ text?: string;
19
+ /**
20
+ * Start of the analyzed media window that produced the observation (required)
21
+ * @type {number}
22
+ * @memberof AiSceneAnalysisLiveObservation
23
+ */
24
+ startTimeSeconds?: number;
25
+ /**
26
+ * End of the analyzed media window that produced the observation (required)
27
+ * @type {number}
28
+ * @memberof AiSceneAnalysisLiveObservation
29
+ */
30
+ endTimeSeconds?: number;
31
+ constructor(obj?: Partial<AiSceneAnalysisLiveObservation>);
32
+ }
33
+ export default AiSceneAnalysisLiveObservation;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveObservation = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * Immutable consumer-visible observation produced from an analyzed media window
7
+ * @export
8
+ * @class AiSceneAnalysisLiveObservation
9
+ */
10
+ class AiSceneAnalysisLiveObservation {
11
+ constructor(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.id = (0, Mapper_1.map)(obj.id);
16
+ this.text = (0, Mapper_1.map)(obj.text);
17
+ this.startTimeSeconds = (0, Mapper_1.map)(obj.startTimeSeconds);
18
+ this.endTimeSeconds = (0, Mapper_1.map)(obj.endTimeSeconds);
19
+ }
20
+ }
21
+ exports.AiSceneAnalysisLiveObservation = AiSceneAnalysisLiveObservation;
22
+ exports.default = AiSceneAnalysisLiveObservation;
@@ -0,0 +1,34 @@
1
+ import AclEntry from './AclEntry';
2
+ import Output from './Output';
3
+ /**
4
+ * @export
5
+ * @class AiSceneAnalysisLiveOutput
6
+ */
7
+ export declare class AiSceneAnalysisLiveOutput {
8
+ /**
9
+ * ID of an existing Encoding Output owned by the organization. Set either this property or `output`, but not both.
10
+ * @type {string}
11
+ * @memberof AiSceneAnalysisLiveOutput
12
+ */
13
+ outputId?: string;
14
+ /**
15
+ * Inline definition of a concrete, publicly creatable Encoding Output to create synchronously. Only properties defined by the selected concrete Output type are accepted; internal types and properties are not supported. Deprecated properties that remain supported by the Encoding Output creation API are accepted. Set either this property or `outputId`, but not both. Put ACL entries on the destination-level `acl` property, not in this resource definition. The created Output is an ordinary reusable Encoding resource and is not automatically deleted with the Live Analysis or after provisioning failure.
16
+ * @type {Output}
17
+ * @memberof AiSceneAnalysisLiveOutput
18
+ */
19
+ output?: Output;
20
+ /**
21
+ * Subdirectory where files are written. This destination setting is not part of the inline Output resource definition. (required)
22
+ * @type {string}
23
+ * @memberof AiSceneAnalysisLiveOutput
24
+ */
25
+ outputPath?: string;
26
+ /**
27
+ * Determines accessibility of files written to this destination. Only applies to Output types that support ACLs. Defaults to PUBLIC_READ if the list is empty.
28
+ * @type {AclEntry[]}
29
+ * @memberof AiSceneAnalysisLiveOutput
30
+ */
31
+ acl?: AclEntry[];
32
+ constructor(obj?: Partial<AiSceneAnalysisLiveOutput>);
33
+ }
34
+ export default AiSceneAnalysisLiveOutput;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveOutput = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ const AclEntry_1 = require("./AclEntry");
6
+ const Output_1 = require("./Output");
7
+ /**
8
+ * @export
9
+ * @class AiSceneAnalysisLiveOutput
10
+ */
11
+ class AiSceneAnalysisLiveOutput {
12
+ constructor(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.outputId = (0, Mapper_1.map)(obj.outputId);
17
+ this.output = (0, Mapper_1.map)(obj.output, Output_1.default);
18
+ this.outputPath = (0, Mapper_1.map)(obj.outputPath);
19
+ this.acl = (0, Mapper_1.mapArray)(obj.acl, AclEntry_1.default);
20
+ }
21
+ }
22
+ exports.AiSceneAnalysisLiveOutput = AiSceneAnalysisLiveOutput;
23
+ exports.default = AiSceneAnalysisLiveOutput;
@@ -0,0 +1,16 @@
1
+ import EncodingOutput from './EncodingOutput';
2
+ /**
3
+ * Resolved output configuration for the stream recording
4
+ * @export
5
+ * @class AiSceneAnalysisLiveRecording
6
+ */
7
+ export declare class AiSceneAnalysisLiveRecording {
8
+ /**
9
+ * Resolved Encoding Output ID references for the stream recording (required)
10
+ * @type {EncodingOutput[]}
11
+ * @memberof AiSceneAnalysisLiveRecording
12
+ */
13
+ outputs?: EncodingOutput[];
14
+ constructor(obj?: Partial<AiSceneAnalysisLiveRecording>);
15
+ }
16
+ export default AiSceneAnalysisLiveRecording;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveRecording = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ const EncodingOutput_1 = require("./EncodingOutput");
6
+ /**
7
+ * Resolved output configuration for the stream recording
8
+ * @export
9
+ * @class AiSceneAnalysisLiveRecording
10
+ */
11
+ class AiSceneAnalysisLiveRecording {
12
+ constructor(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.outputs = (0, Mapper_1.mapArray)(obj.outputs, EncodingOutput_1.default);
17
+ }
18
+ }
19
+ exports.AiSceneAnalysisLiveRecording = AiSceneAnalysisLiveRecording;
20
+ exports.default = AiSceneAnalysisLiveRecording;
@@ -0,0 +1,15 @@
1
+ import AiSceneAnalysisLiveOutput from './AiSceneAnalysisLiveOutput';
2
+ /**
3
+ * @export
4
+ * @class AiSceneAnalysisLiveRecordingRequest
5
+ */
6
+ export declare class AiSceneAnalysisLiveRecordingRequest {
7
+ /**
8
+ * Destinations for the stream recording (required)
9
+ * @type {AiSceneAnalysisLiveOutput[]}
10
+ * @memberof AiSceneAnalysisLiveRecordingRequest
11
+ */
12
+ outputs?: AiSceneAnalysisLiveOutput[];
13
+ constructor(obj?: Partial<AiSceneAnalysisLiveRecordingRequest>);
14
+ }
15
+ export default AiSceneAnalysisLiveRecordingRequest;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveRecordingRequest = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ const AiSceneAnalysisLiveOutput_1 = require("./AiSceneAnalysisLiveOutput");
6
+ /**
7
+ * @export
8
+ * @class AiSceneAnalysisLiveRecordingRequest
9
+ */
10
+ class AiSceneAnalysisLiveRecordingRequest {
11
+ constructor(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.outputs = (0, Mapper_1.mapArray)(obj.outputs, AiSceneAnalysisLiveOutput_1.default);
16
+ }
17
+ }
18
+ exports.AiSceneAnalysisLiveRecordingRequest = AiSceneAnalysisLiveRecordingRequest;
19
+ exports.default = AiSceneAnalysisLiveRecordingRequest;
@@ -0,0 +1,67 @@
1
+ import AiSceneAnalysisLiveError from './AiSceneAnalysisLiveError';
2
+ import AiSceneAnalysisLiveRecording from './AiSceneAnalysisLiveRecording';
3
+ import AiSceneAnalysisLiveStatus from './AiSceneAnalysisLiveStatus';
4
+ import EncodingOutput from './EncodingOutput';
5
+ import LiveEncoding from './LiveEncoding';
6
+ /**
7
+ * @export
8
+ * @class AiSceneAnalysisLiveResponse
9
+ */
10
+ export declare class AiSceneAnalysisLiveResponse {
11
+ /**
12
+ * ID of the Live Analysis resource (required)
13
+ * @type {string}
14
+ * @memberof AiSceneAnalysisLiveResponse
15
+ */
16
+ analysisId?: string;
17
+ /**
18
+ * ID of the Encoding associated with the Analysis (required)
19
+ * @type {string}
20
+ * @memberof AiSceneAnalysisLiveResponse
21
+ */
22
+ encodingId?: string;
23
+ /**
24
+ * Name of the Analysis
25
+ * @type {string}
26
+ * @memberof AiSceneAnalysisLiveResponse
27
+ */
28
+ name?: string;
29
+ /**
30
+ * Current lifecycle state of the Live Analysis (required)
31
+ * @type {AiSceneAnalysisLiveStatus}
32
+ * @memberof AiSceneAnalysisLiveResponse
33
+ */
34
+ status?: AiSceneAnalysisLiveStatus;
35
+ /**
36
+ * Resolved output configuration for the stream recording (required)
37
+ * @type {AiSceneAnalysisLiveRecording}
38
+ * @memberof AiSceneAnalysisLiveResponse
39
+ */
40
+ recording?: AiSceneAnalysisLiveRecording;
41
+ /**
42
+ * Resolved Encoding Output ID references for cumulative AI analysis results (required)
43
+ * @type {EncodingOutput[]}
44
+ * @memberof AiSceneAnalysisLiveResponse
45
+ */
46
+ outputs?: EncodingOutput[];
47
+ /**
48
+ * Current RTMP ingest details. Present only in the Get Live Analysis details response while the Live Analysis is `RUNNING`.
49
+ * @type {LiveEncoding}
50
+ * @memberof AiSceneAnalysisLiveResponse
51
+ */
52
+ ingest?: LiveEncoding;
53
+ /**
54
+ * Failure details. Present only when the status is `ERROR` or `TRANSFER_ERROR`.
55
+ * @type {AiSceneAnalysisLiveError}
56
+ * @memberof AiSceneAnalysisLiveResponse
57
+ */
58
+ error?: AiSceneAnalysisLiveError;
59
+ /**
60
+ * Creation timestamp, returned as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ (required)
61
+ * @type {Date}
62
+ * @memberof AiSceneAnalysisLiveResponse
63
+ */
64
+ createdAt?: Date;
65
+ constructor(obj?: Partial<AiSceneAnalysisLiveResponse>);
66
+ }
67
+ export default AiSceneAnalysisLiveResponse;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveResponse = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ const AiSceneAnalysisLiveError_1 = require("./AiSceneAnalysisLiveError");
6
+ const AiSceneAnalysisLiveRecording_1 = require("./AiSceneAnalysisLiveRecording");
7
+ const EncodingOutput_1 = require("./EncodingOutput");
8
+ const LiveEncoding_1 = require("./LiveEncoding");
9
+ /**
10
+ * @export
11
+ * @class AiSceneAnalysisLiveResponse
12
+ */
13
+ class AiSceneAnalysisLiveResponse {
14
+ constructor(obj) {
15
+ if (!obj) {
16
+ return;
17
+ }
18
+ this.analysisId = (0, Mapper_1.map)(obj.analysisId);
19
+ this.encodingId = (0, Mapper_1.map)(obj.encodingId);
20
+ this.name = (0, Mapper_1.map)(obj.name);
21
+ this.status = (0, Mapper_1.map)(obj.status);
22
+ this.recording = (0, Mapper_1.map)(obj.recording, AiSceneAnalysisLiveRecording_1.default);
23
+ this.outputs = (0, Mapper_1.mapArray)(obj.outputs, EncodingOutput_1.default);
24
+ this.ingest = (0, Mapper_1.map)(obj.ingest, LiveEncoding_1.default);
25
+ this.error = (0, Mapper_1.map)(obj.error, AiSceneAnalysisLiveError_1.default);
26
+ this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
27
+ }
28
+ }
29
+ exports.AiSceneAnalysisLiveResponse = AiSceneAnalysisLiveResponse;
30
+ exports.default = AiSceneAnalysisLiveResponse;
@@ -0,0 +1,72 @@
1
+ import AiSceneAnalysisLiveObservation from './AiSceneAnalysisLiveObservation';
2
+ import AiSceneAnalysisLiveResultMetadata from './AiSceneAnalysisLiveResultMetadata';
3
+ import AiSceneAnalysisLiveSourceGap from './AiSceneAnalysisLiveSourceGap';
4
+ /**
5
+ * Cumulative immutable result generation for a Live Analysis
6
+ * @export
7
+ * @class AiSceneAnalysisLiveResult
8
+ */
9
+ export declare class AiSceneAnalysisLiveResult {
10
+ /**
11
+ * ID of the Live Analysis resource (required)
12
+ * @type {string}
13
+ * @memberof AiSceneAnalysisLiveResult
14
+ */
15
+ analysisId?: string;
16
+ /**
17
+ * ID of the Encoding associated with the Analysis (required)
18
+ * @type {string}
19
+ * @memberof AiSceneAnalysisLiveResult
20
+ */
21
+ encodingId?: string;
22
+ /**
23
+ * Monotonically increasing generation sequence, starting at 1 (required)
24
+ * @type {number}
25
+ * @memberof AiSceneAnalysisLiveResult
26
+ */
27
+ sequence?: number;
28
+ /**
29
+ * Time at which the AI analysis produced this result generation (required)
30
+ * @type {Date}
31
+ * @memberof AiSceneAnalysisLiveResult
32
+ */
33
+ producedAt?: Date;
34
+ /**
35
+ * Whether AI analysis produced this as the final result generation. This does not by itself imply that the Analysis completed successfully. (required)
36
+ * @type {boolean}
37
+ * @memberof AiSceneAnalysisLiveResult
38
+ */
39
+ isFinal?: boolean;
40
+ /**
41
+ * Start of cumulative analyzed coverage on the monotonic analysis timeline (required)
42
+ * @type {number}
43
+ * @memberof AiSceneAnalysisLiveResult
44
+ */
45
+ analyzedStartTimeSeconds?: number;
46
+ /**
47
+ * End of cumulative analyzed coverage on the monotonic analysis timeline (required)
48
+ * @type {number}
49
+ * @memberof AiSceneAnalysisLiveResult
50
+ */
51
+ analyzedEndTimeSeconds?: number;
52
+ /**
53
+ * Cumulative closed source gaps on the monotonic analysis timeline (required)
54
+ * @type {AiSceneAnalysisLiveSourceGap[]}
55
+ * @memberof AiSceneAnalysisLiveResult
56
+ */
57
+ sourceGaps?: AiSceneAnalysisLiveSourceGap[];
58
+ /**
59
+ * Producer metadata for this generation (required)
60
+ * @type {AiSceneAnalysisLiveResultMetadata}
61
+ * @memberof AiSceneAnalysisLiveResult
62
+ */
63
+ metadata?: AiSceneAnalysisLiveResultMetadata;
64
+ /**
65
+ * Cumulative immutable observations. Existing observations retain the same ID and content across later generations. Each time range identifies the analyzed media window that produced the observation, not an exact event location. (required)
66
+ * @type {AiSceneAnalysisLiveObservation[]}
67
+ * @memberof AiSceneAnalysisLiveResult
68
+ */
69
+ observations?: AiSceneAnalysisLiveObservation[];
70
+ constructor(obj?: Partial<AiSceneAnalysisLiveResult>);
71
+ }
72
+ export default AiSceneAnalysisLiveResult;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveResult = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ const AiSceneAnalysisLiveObservation_1 = require("./AiSceneAnalysisLiveObservation");
6
+ const AiSceneAnalysisLiveResultMetadata_1 = require("./AiSceneAnalysisLiveResultMetadata");
7
+ const AiSceneAnalysisLiveSourceGap_1 = require("./AiSceneAnalysisLiveSourceGap");
8
+ /**
9
+ * Cumulative immutable result generation for a Live Analysis
10
+ * @export
11
+ * @class AiSceneAnalysisLiveResult
12
+ */
13
+ class AiSceneAnalysisLiveResult {
14
+ constructor(obj) {
15
+ if (!obj) {
16
+ return;
17
+ }
18
+ this.analysisId = (0, Mapper_1.map)(obj.analysisId);
19
+ this.encodingId = (0, Mapper_1.map)(obj.encodingId);
20
+ this.sequence = (0, Mapper_1.map)(obj.sequence);
21
+ this.producedAt = (0, Mapper_1.map)(obj.producedAt, Date);
22
+ this.isFinal = (0, Mapper_1.map)(obj.isFinal);
23
+ this.analyzedStartTimeSeconds = (0, Mapper_1.map)(obj.analyzedStartTimeSeconds);
24
+ this.analyzedEndTimeSeconds = (0, Mapper_1.map)(obj.analyzedEndTimeSeconds);
25
+ this.sourceGaps = (0, Mapper_1.mapArray)(obj.sourceGaps, AiSceneAnalysisLiveSourceGap_1.default);
26
+ this.metadata = (0, Mapper_1.map)(obj.metadata, AiSceneAnalysisLiveResultMetadata_1.default);
27
+ this.observations = (0, Mapper_1.mapArray)(obj.observations, AiSceneAnalysisLiveObservation_1.default);
28
+ }
29
+ }
30
+ exports.AiSceneAnalysisLiveResult = AiSceneAnalysisLiveResult;
31
+ exports.default = AiSceneAnalysisLiveResult;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @export
3
+ * @class AiSceneAnalysisLiveResultMetadata
4
+ */
5
+ export declare class AiSceneAnalysisLiveResultMetadata {
6
+ /**
7
+ * Version of the AI analysis software (required)
8
+ * @type {string}
9
+ * @memberof AiSceneAnalysisLiveResultMetadata
10
+ */
11
+ version?: string;
12
+ /**
13
+ * Disclaimer associated with AI-generated analysis data (required)
14
+ * @type {string}
15
+ * @memberof AiSceneAnalysisLiveResultMetadata
16
+ */
17
+ disclaimer?: string;
18
+ constructor(obj?: Partial<AiSceneAnalysisLiveResultMetadata>);
19
+ }
20
+ export default AiSceneAnalysisLiveResultMetadata;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveResultMetadata = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class AiSceneAnalysisLiveResultMetadata
8
+ */
9
+ class AiSceneAnalysisLiveResultMetadata {
10
+ constructor(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.version = (0, Mapper_1.map)(obj.version);
15
+ this.disclaimer = (0, Mapper_1.map)(obj.disclaimer);
16
+ }
17
+ }
18
+ exports.AiSceneAnalysisLiveResultMetadata = AiSceneAnalysisLiveResultMetadata;
19
+ exports.default = AiSceneAnalysisLiveResultMetadata;
@@ -0,0 +1,27 @@
1
+ import AiSceneAnalysisLiveSourceGapReason from './AiSceneAnalysisLiveSourceGapReason';
2
+ /**
3
+ * @export
4
+ * @class AiSceneAnalysisLiveSourceGap
5
+ */
6
+ export declare class AiSceneAnalysisLiveSourceGap {
7
+ /**
8
+ * Gap start on the monotonic analysis timeline (required)
9
+ * @type {number}
10
+ * @memberof AiSceneAnalysisLiveSourceGap
11
+ */
12
+ startTimeSeconds?: number;
13
+ /**
14
+ * Gap end on the monotonic analysis timeline (required)
15
+ * @type {number}
16
+ * @memberof AiSceneAnalysisLiveSourceGap
17
+ */
18
+ endTimeSeconds?: number;
19
+ /**
20
+ * Reason for the source gap (required)
21
+ * @type {AiSceneAnalysisLiveSourceGapReason}
22
+ * @memberof AiSceneAnalysisLiveSourceGap
23
+ */
24
+ reason?: AiSceneAnalysisLiveSourceGapReason;
25
+ constructor(obj?: Partial<AiSceneAnalysisLiveSourceGap>);
26
+ }
27
+ export default AiSceneAnalysisLiveSourceGap;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveSourceGap = void 0;
4
+ const Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class AiSceneAnalysisLiveSourceGap
8
+ */
9
+ class AiSceneAnalysisLiveSourceGap {
10
+ constructor(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.startTimeSeconds = (0, Mapper_1.map)(obj.startTimeSeconds);
15
+ this.endTimeSeconds = (0, Mapper_1.map)(obj.endTimeSeconds);
16
+ this.reason = (0, Mapper_1.map)(obj.reason);
17
+ }
18
+ }
19
+ exports.AiSceneAnalysisLiveSourceGap = AiSceneAnalysisLiveSourceGap;
20
+ exports.default = AiSceneAnalysisLiveSourceGap;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum AiSceneAnalysisLiveSourceGapReason {
6
+ SOURCE_DISCONNECTED = "SOURCE_DISCONNECTED",
7
+ PROCESSING_MEDIA_PRESSURE = "PROCESSING_MEDIA_PRESSURE",
8
+ ANALYSIS_LAG = "ANALYSIS_LAG",
9
+ WINDOW_BUILD_FAILED = "WINDOW_BUILD_FAILED",
10
+ FINALIZATION_BACKLOG = "FINALIZATION_BACKLOG"
11
+ }
12
+ export default AiSceneAnalysisLiveSourceGapReason;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSceneAnalysisLiveSourceGapReason = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var AiSceneAnalysisLiveSourceGapReason;
9
+ (function (AiSceneAnalysisLiveSourceGapReason) {
10
+ AiSceneAnalysisLiveSourceGapReason["SOURCE_DISCONNECTED"] = "SOURCE_DISCONNECTED";
11
+ AiSceneAnalysisLiveSourceGapReason["PROCESSING_MEDIA_PRESSURE"] = "PROCESSING_MEDIA_PRESSURE";
12
+ AiSceneAnalysisLiveSourceGapReason["ANALYSIS_LAG"] = "ANALYSIS_LAG";
13
+ AiSceneAnalysisLiveSourceGapReason["WINDOW_BUILD_FAILED"] = "WINDOW_BUILD_FAILED";
14
+ AiSceneAnalysisLiveSourceGapReason["FINALIZATION_BACKLOG"] = "FINALIZATION_BACKLOG";
15
+ })(AiSceneAnalysisLiveSourceGapReason || (exports.AiSceneAnalysisLiveSourceGapReason = AiSceneAnalysisLiveSourceGapReason = {}));
16
+ exports.default = AiSceneAnalysisLiveSourceGapReason;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum AiSceneAnalysisLiveStatus {
6
+ CREATED = "CREATED",
7
+ QUEUED = "QUEUED",
8
+ RUNNING = "RUNNING",
9
+ FINISHED = "FINISHED",
10
+ CANCELED = "CANCELED",
11
+ ERROR = "ERROR",
12
+ TRANSFER_ERROR = "TRANSFER_ERROR"
13
+ }
14
+ export default AiSceneAnalysisLiveStatus;