twelvelabs-js 1.2.8 → 1.2.9
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.
- package/.fern/replay.lock +7 -1
- package/Client.js +2 -2
- package/api/resources/analyzeAsync/resources/batches/client/Client.js +6 -6
- package/api/resources/analyzeAsync/resources/tasks/client/Client.js +4 -4
- package/api/resources/assets/client/Client.d.ts +7 -3
- package/api/resources/assets/client/Client.js +14 -10
- package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -1
- package/api/resources/embed/client/Client.js +1 -1
- package/api/resources/embed/resources/tasks/client/Client.js +4 -4
- package/api/resources/embed/resources/v2/client/Client.js +1 -1
- package/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +2 -6
- package/api/resources/embed/resources/v2/resources/tasks/client/Client.js +5 -9
- package/api/resources/entityCollections/client/Client.js +5 -5
- package/api/resources/entityCollections/resources/entities/client/Client.js +9 -9
- package/api/resources/indexes/client/Client.js +5 -5
- package/api/resources/indexes/resources/indexedAssets/client/Client.js +6 -6
- package/api/resources/indexes/resources/videos/client/Client.js +4 -4
- package/api/resources/multipartUpload/client/Client.d.ts +2 -2
- package/api/resources/multipartUpload/client/Client.js +7 -7
- package/api/resources/search/client/Client.js +2 -2
- package/api/resources/tasks/client/Client.js +4 -4
- package/api/types/Asset.d.ts +6 -8
- package/api/types/AssetDetail.d.ts +7 -0
- package/api/types/AssetError.d.ts +10 -0
- package/api/types/AssetError.js +5 -0
- package/api/types/AssetStatus.d.ts +6 -4
- package/api/types/AudioStream.d.ts +28 -0
- package/api/types/AudioStream.js +5 -0
- package/api/types/EmbeddingTaskResponse.d.ts +1 -1
- package/api/types/EmbeddingTaskResponseError.d.ts +1 -1
- package/api/types/EmbeddingTaskResponseStatus.d.ts +1 -1
- package/api/types/MultipartUploadStatusType.d.ts +3 -3
- package/api/types/TechnicalMetadata.d.ts +81 -0
- package/api/types/TechnicalMetadata.js +5 -0
- package/api/types/VideoStream.d.ts +44 -0
- package/api/types/VideoStream.js +5 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/analyzeAsync/resources/batches/client/Client.js +6 -6
- package/dist/api/resources/analyzeAsync/resources/tasks/client/Client.js +4 -4
- package/dist/api/resources/assets/client/Client.d.ts +7 -3
- package/dist/api/resources/assets/client/Client.js +14 -10
- package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -1
- package/dist/api/resources/embed/client/Client.js +1 -1
- package/dist/api/resources/embed/resources/tasks/client/Client.js +4 -4
- package/dist/api/resources/embed/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.d.ts +2 -6
- package/dist/api/resources/embed/resources/v2/resources/tasks/client/Client.js +5 -9
- package/dist/api/resources/entityCollections/client/Client.js +5 -5
- package/dist/api/resources/entityCollections/resources/entities/client/Client.js +9 -9
- package/dist/api/resources/indexes/client/Client.js +5 -5
- package/dist/api/resources/indexes/resources/indexedAssets/client/Client.js +6 -6
- package/dist/api/resources/indexes/resources/videos/client/Client.js +4 -4
- package/dist/api/resources/multipartUpload/client/Client.d.ts +2 -2
- package/dist/api/resources/multipartUpload/client/Client.js +7 -7
- package/dist/api/resources/search/client/Client.js +2 -2
- package/dist/api/resources/tasks/client/Client.js +4 -4
- package/dist/api/types/Asset.d.ts +6 -8
- package/dist/api/types/AssetDetail.d.ts +7 -0
- package/dist/api/types/AssetError.d.ts +10 -0
- package/dist/api/types/AssetError.js +5 -0
- package/dist/api/types/AssetStatus.d.ts +6 -4
- package/dist/api/types/AudioStream.d.ts +28 -0
- package/dist/api/types/AudioStream.js +5 -0
- package/dist/api/types/EmbeddingTaskResponse.d.ts +1 -1
- package/dist/api/types/EmbeddingTaskResponseError.d.ts +1 -1
- package/dist/api/types/EmbeddingTaskResponseStatus.d.ts +1 -1
- package/dist/api/types/MultipartUploadStatusType.d.ts +3 -3
- package/dist/api/types/TechnicalMetadata.d.ts +81 -0
- package/dist/api/types/TechnicalMetadata.js +5 -0
- package/dist/api/types/VideoStream.d.ts +44 -0
- package/dist/api/types/VideoStream.js +5 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/types/Asset.d.ts +0 -2
- package/dist/serialization/types/Asset.js +0 -2
- package/dist/serialization/types/AssetDetail.d.ts +6 -0
- package/dist/serialization/types/AssetDetail.js +6 -0
- package/dist/serialization/types/AssetError.d.ts +12 -0
- package/dist/serialization/types/AssetError.js +43 -0
- package/dist/serialization/types/AudioStream.d.ts +21 -0
- package/dist/serialization/types/AudioStream.js +52 -0
- package/dist/serialization/types/TechnicalMetadata.d.ts +48 -0
- package/dist/serialization/types/TechnicalMetadata.js +79 -0
- package/dist/serialization/types/VideoStream.d.ts +29 -0
- package/dist/serialization/types/VideoStream.js +60 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +48 -87
- package/serialization/types/Asset.d.ts +0 -2
- package/serialization/types/Asset.js +0 -2
- package/serialization/types/AssetDetail.d.ts +6 -0
- package/serialization/types/AssetDetail.js +6 -0
- package/serialization/types/AssetError.d.ts +12 -0
- package/serialization/types/AssetError.js +43 -0
- package/serialization/types/AudioStream.d.ts +21 -0
- package/serialization/types/AudioStream.js +52 -0
- package/serialization/types/TechnicalMetadata.d.ts +48 -0
- package/serialization/types/TechnicalMetadata.js +79 -0
- package/serialization/types/VideoStream.d.ts +29 -0
- package/serialization/types/VideoStream.js +60 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as TwelvelabsApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const AudioStream: core.serialization.ObjectSchema<serializers.AudioStream.Raw, TwelvelabsApi.AudioStream>;
|
|
8
|
+
export declare namespace AudioStream {
|
|
9
|
+
interface Raw {
|
|
10
|
+
index?: number | null;
|
|
11
|
+
codec?: string | null;
|
|
12
|
+
codec_long?: string | null;
|
|
13
|
+
sample_rate?: number | null;
|
|
14
|
+
bit_depth?: number | null;
|
|
15
|
+
channels?: number | null;
|
|
16
|
+
channel_layout?: string | null;
|
|
17
|
+
bitrate_bps?: number | null;
|
|
18
|
+
language?: string | null;
|
|
19
|
+
duration_seconds?: number | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AudioStream = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.AudioStream = core.serialization.object({
|
|
42
|
+
index: core.serialization.number().optional(),
|
|
43
|
+
codec: core.serialization.string().optional(),
|
|
44
|
+
codecLong: core.serialization.property("codec_long", core.serialization.string().optional()),
|
|
45
|
+
sampleRate: core.serialization.property("sample_rate", core.serialization.number().optional()),
|
|
46
|
+
bitDepth: core.serialization.property("bit_depth", core.serialization.number().optional()),
|
|
47
|
+
channels: core.serialization.number().optional(),
|
|
48
|
+
channelLayout: core.serialization.property("channel_layout", core.serialization.string().optional()),
|
|
49
|
+
bitrateBps: core.serialization.property("bitrate_bps", core.serialization.number().optional()),
|
|
50
|
+
language: core.serialization.string().optional(),
|
|
51
|
+
durationSeconds: core.serialization.property("duration_seconds", core.serialization.number().optional()),
|
|
52
|
+
});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as TwelvelabsApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VideoStream } from "./VideoStream";
|
|
8
|
+
import { AudioStream } from "./AudioStream";
|
|
9
|
+
export declare const TechnicalMetadata: core.serialization.ObjectSchema<serializers.TechnicalMetadata.Raw, TwelvelabsApi.TechnicalMetadata>;
|
|
10
|
+
export declare namespace TechnicalMetadata {
|
|
11
|
+
interface Raw {
|
|
12
|
+
file_size_bytes?: number | null;
|
|
13
|
+
file_mime_type?: string | null;
|
|
14
|
+
file_container_format?: string | null;
|
|
15
|
+
container_creation_time?: string | null;
|
|
16
|
+
video_streams?: VideoStream.Raw[] | null;
|
|
17
|
+
video_codec?: string | null;
|
|
18
|
+
video_width?: number | null;
|
|
19
|
+
video_height?: number | null;
|
|
20
|
+
video_fps?: number | null;
|
|
21
|
+
video_duration_seconds?: number | null;
|
|
22
|
+
video_bitrate_bps?: number | null;
|
|
23
|
+
audio_streams?: AudioStream.Raw[] | null;
|
|
24
|
+
audio_codec?: string | null;
|
|
25
|
+
audio_sample_rate?: number | null;
|
|
26
|
+
audio_channels?: number | null;
|
|
27
|
+
audio_duration_seconds?: number | null;
|
|
28
|
+
start_timecode?: string | null;
|
|
29
|
+
timecode_source?: string | null;
|
|
30
|
+
drop_frame?: boolean | null;
|
|
31
|
+
image_width?: number | null;
|
|
32
|
+
image_height?: number | null;
|
|
33
|
+
image_format?: string | null;
|
|
34
|
+
image_orientation?: number | null;
|
|
35
|
+
image_color_space?: string | null;
|
|
36
|
+
image_bit_depth?: number | null;
|
|
37
|
+
is_hdr?: boolean | null;
|
|
38
|
+
has_audio?: boolean | null;
|
|
39
|
+
has_alpha?: boolean | null;
|
|
40
|
+
is_animated?: boolean | null;
|
|
41
|
+
total_video_streams?: number | null;
|
|
42
|
+
total_audio_streams?: number | null;
|
|
43
|
+
storage_aspect_ratio?: number | null;
|
|
44
|
+
geospatial_latitude?: number | null;
|
|
45
|
+
geospatial_longitude?: number | null;
|
|
46
|
+
geospatial_altitude_meters?: number | null;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TechnicalMetadata = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VideoStream_1 = require("./VideoStream");
|
|
42
|
+
const AudioStream_1 = require("./AudioStream");
|
|
43
|
+
exports.TechnicalMetadata = core.serialization.object({
|
|
44
|
+
fileSizeBytes: core.serialization.property("file_size_bytes", core.serialization.number().optional()),
|
|
45
|
+
fileMimeType: core.serialization.property("file_mime_type", core.serialization.string().optional()),
|
|
46
|
+
fileContainerFormat: core.serialization.property("file_container_format", core.serialization.string().optional()),
|
|
47
|
+
containerCreationTime: core.serialization.property("container_creation_time", core.serialization.date().optional()),
|
|
48
|
+
videoStreams: core.serialization.property("video_streams", core.serialization.list(VideoStream_1.VideoStream).optional()),
|
|
49
|
+
videoCodec: core.serialization.property("video_codec", core.serialization.string().optional()),
|
|
50
|
+
videoWidth: core.serialization.property("video_width", core.serialization.number().optional()),
|
|
51
|
+
videoHeight: core.serialization.property("video_height", core.serialization.number().optional()),
|
|
52
|
+
videoFps: core.serialization.property("video_fps", core.serialization.number().optional()),
|
|
53
|
+
videoDurationSeconds: core.serialization.property("video_duration_seconds", core.serialization.number().optional()),
|
|
54
|
+
videoBitrateBps: core.serialization.property("video_bitrate_bps", core.serialization.number().optional()),
|
|
55
|
+
audioStreams: core.serialization.property("audio_streams", core.serialization.list(AudioStream_1.AudioStream).optional()),
|
|
56
|
+
audioCodec: core.serialization.property("audio_codec", core.serialization.string().optional()),
|
|
57
|
+
audioSampleRate: core.serialization.property("audio_sample_rate", core.serialization.number().optional()),
|
|
58
|
+
audioChannels: core.serialization.property("audio_channels", core.serialization.number().optional()),
|
|
59
|
+
audioDurationSeconds: core.serialization.property("audio_duration_seconds", core.serialization.number().optional()),
|
|
60
|
+
startTimecode: core.serialization.property("start_timecode", core.serialization.string().optional()),
|
|
61
|
+
timecodeSource: core.serialization.property("timecode_source", core.serialization.string().optional()),
|
|
62
|
+
dropFrame: core.serialization.property("drop_frame", core.serialization.boolean().optional()),
|
|
63
|
+
imageWidth: core.serialization.property("image_width", core.serialization.number().optional()),
|
|
64
|
+
imageHeight: core.serialization.property("image_height", core.serialization.number().optional()),
|
|
65
|
+
imageFormat: core.serialization.property("image_format", core.serialization.string().optional()),
|
|
66
|
+
imageOrientation: core.serialization.property("image_orientation", core.serialization.number().optional()),
|
|
67
|
+
imageColorSpace: core.serialization.property("image_color_space", core.serialization.string().optional()),
|
|
68
|
+
imageBitDepth: core.serialization.property("image_bit_depth", core.serialization.number().optional()),
|
|
69
|
+
isHdr: core.serialization.property("is_hdr", core.serialization.boolean().optional()),
|
|
70
|
+
hasAudio: core.serialization.property("has_audio", core.serialization.boolean().optional()),
|
|
71
|
+
hasAlpha: core.serialization.property("has_alpha", core.serialization.boolean().optional()),
|
|
72
|
+
isAnimated: core.serialization.property("is_animated", core.serialization.boolean().optional()),
|
|
73
|
+
totalVideoStreams: core.serialization.property("total_video_streams", core.serialization.number().optional()),
|
|
74
|
+
totalAudioStreams: core.serialization.property("total_audio_streams", core.serialization.number().optional()),
|
|
75
|
+
storageAspectRatio: core.serialization.property("storage_aspect_ratio", core.serialization.number().optional()),
|
|
76
|
+
geospatialLatitude: core.serialization.property("geospatial_latitude", core.serialization.number().optional()),
|
|
77
|
+
geospatialLongitude: core.serialization.property("geospatial_longitude", core.serialization.number().optional()),
|
|
78
|
+
geospatialAltitudeMeters: core.serialization.property("geospatial_altitude_meters", core.serialization.number().optional()),
|
|
79
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as TwelvelabsApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const VideoStream: core.serialization.ObjectSchema<serializers.VideoStream.Raw, TwelvelabsApi.VideoStream>;
|
|
8
|
+
export declare namespace VideoStream {
|
|
9
|
+
interface Raw {
|
|
10
|
+
index?: number | null;
|
|
11
|
+
codec?: string | null;
|
|
12
|
+
width?: number | null;
|
|
13
|
+
height?: number | null;
|
|
14
|
+
fps?: number | null;
|
|
15
|
+
avg_fps?: number | null;
|
|
16
|
+
duration_seconds?: number | null;
|
|
17
|
+
bitrate_bps?: number | null;
|
|
18
|
+
rotation?: number | null;
|
|
19
|
+
pixel_aspect_ratio?: string | null;
|
|
20
|
+
display_aspect_ratio?: string | null;
|
|
21
|
+
scan_type?: string | null;
|
|
22
|
+
pixel_format?: string | null;
|
|
23
|
+
bit_depth?: number | null;
|
|
24
|
+
color_range?: string | null;
|
|
25
|
+
color_transfer?: string | null;
|
|
26
|
+
color_space?: string | null;
|
|
27
|
+
color_primaries?: string | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.VideoStream = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.VideoStream = core.serialization.object({
|
|
42
|
+
index: core.serialization.number().optional(),
|
|
43
|
+
codec: core.serialization.string().optional(),
|
|
44
|
+
width: core.serialization.number().optional(),
|
|
45
|
+
height: core.serialization.number().optional(),
|
|
46
|
+
fps: core.serialization.number().optional(),
|
|
47
|
+
avgFps: core.serialization.property("avg_fps", core.serialization.number().optional()),
|
|
48
|
+
durationSeconds: core.serialization.property("duration_seconds", core.serialization.number().optional()),
|
|
49
|
+
bitrateBps: core.serialization.property("bitrate_bps", core.serialization.number().optional()),
|
|
50
|
+
rotation: core.serialization.number().optional(),
|
|
51
|
+
pixelAspectRatio: core.serialization.property("pixel_aspect_ratio", core.serialization.string().optional()),
|
|
52
|
+
displayAspectRatio: core.serialization.property("display_aspect_ratio", core.serialization.string().optional()),
|
|
53
|
+
scanType: core.serialization.property("scan_type", core.serialization.string().optional()),
|
|
54
|
+
pixelFormat: core.serialization.property("pixel_format", core.serialization.string().optional()),
|
|
55
|
+
bitDepth: core.serialization.property("bit_depth", core.serialization.number().optional()),
|
|
56
|
+
colorRange: core.serialization.property("color_range", core.serialization.string().optional()),
|
|
57
|
+
colorTransfer: core.serialization.property("color_transfer", core.serialization.string().optional()),
|
|
58
|
+
colorSpace: core.serialization.property("color_space", core.serialization.string().optional()),
|
|
59
|
+
colorPrimaries: core.serialization.property("color_primaries", core.serialization.string().optional()),
|
|
60
|
+
});
|
|
@@ -179,10 +179,14 @@ export * from "./AssetMethod";
|
|
|
179
179
|
export * from "./AssetStatus";
|
|
180
180
|
export * from "./Asset";
|
|
181
181
|
export * from "./AssetDetail";
|
|
182
|
+
export * from "./AssetError";
|
|
182
183
|
export * from "./AssetHlsStatus";
|
|
183
184
|
export * from "./AssetHls";
|
|
184
185
|
export * from "./AssetThumbnailStatus";
|
|
185
186
|
export * from "./AssetThumbnail";
|
|
187
|
+
export * from "./TechnicalMetadata";
|
|
188
|
+
export * from "./VideoStream";
|
|
189
|
+
export * from "./AudioStream";
|
|
186
190
|
export * from "./IndexedAssetSummaryIndex";
|
|
187
191
|
export * from "./IndexedAssetSummary";
|
|
188
192
|
export * from "./CreateAssetUploadResponse";
|
|
@@ -195,10 +195,14 @@ __exportStar(require("./AssetMethod"), exports);
|
|
|
195
195
|
__exportStar(require("./AssetStatus"), exports);
|
|
196
196
|
__exportStar(require("./Asset"), exports);
|
|
197
197
|
__exportStar(require("./AssetDetail"), exports);
|
|
198
|
+
__exportStar(require("./AssetError"), exports);
|
|
198
199
|
__exportStar(require("./AssetHlsStatus"), exports);
|
|
199
200
|
__exportStar(require("./AssetHls"), exports);
|
|
200
201
|
__exportStar(require("./AssetThumbnailStatus"), exports);
|
|
201
202
|
__exportStar(require("./AssetThumbnail"), exports);
|
|
203
|
+
__exportStar(require("./TechnicalMetadata"), exports);
|
|
204
|
+
__exportStar(require("./VideoStream"), exports);
|
|
205
|
+
__exportStar(require("./AudioStream"), exports);
|
|
202
206
|
__exportStar(require("./IndexedAssetSummaryIndex"), exports);
|
|
203
207
|
__exportStar(require("./IndexedAssetSummary"), exports);
|
|
204
208
|
__exportStar(require("./CreateAssetUploadResponse"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.9";
|
package/version.js
CHANGED