@celluloid/vision-api 1.0.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.
- package/README.md +173 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +239 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +18 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +118 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +4 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +240 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +7 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +19 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +61 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +105 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +116 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +99 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +138 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +4 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +94 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas.gen.d.ts +541 -0
- package/dist/schemas.gen.d.ts.map +1 -0
- package/dist/schemas.gen.js +692 -0
- package/dist/schemas.gen.js.map +1 -0
- package/dist/sdk.gen.d.ts +38 -0
- package/dist/sdk.gen.d.ts.map +1 -0
- package/dist/sdk.gen.js +40 -0
- package/dist/sdk.gen.js.map +1 -0
- package/dist/types.gen.d.ts +479 -0
- package/dist/types.gen.d.ts.map +1 -0
- package/dist/types.gen.js +4 -0
- package/dist/types.gen.js.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
+
import type { GetJobResultsResultsJobIdGetData, GetJobResultsResultsJobIdGetErrors, GetJobResultsResultsJobIdGetResponses, GetJobStatusStatusJobIdGetData, GetJobStatusStatusJobIdGetErrors, GetJobStatusStatusJobIdGetResponses, HealthCheckHealthGetData, HealthCheckHealthGetResponses, StartDetectionAnalysePostData, StartDetectionAnalysePostErrors, StartDetectionAnalysePostResponses } from './types.gen';
|
|
3
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
|
+
/**
|
|
5
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
6
|
+
* individual options. This might be also useful if you want to implement a
|
|
7
|
+
* custom client.
|
|
8
|
+
*/
|
|
9
|
+
client?: Client;
|
|
10
|
+
/**
|
|
11
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
13
|
+
*/
|
|
14
|
+
meta?: Record<string, unknown>;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Health Check
|
|
18
|
+
*
|
|
19
|
+
* Health check endpoint
|
|
20
|
+
*/
|
|
21
|
+
export declare const healthCheckHealthGet: <ThrowOnError extends boolean = false>(options?: Options<HealthCheckHealthGetData, ThrowOnError>) => import("./client").RequestResult<HealthCheckHealthGetResponses, unknown, ThrowOnError, "fields">;
|
|
22
|
+
/**
|
|
23
|
+
* Analyse a video
|
|
24
|
+
*
|
|
25
|
+
* Start video analysis on a video
|
|
26
|
+
*/
|
|
27
|
+
export declare const startDetectionAnalysePost: <ThrowOnError extends boolean = false>(options: Options<StartDetectionAnalysePostData, ThrowOnError>) => import("./client").RequestResult<StartDetectionAnalysePostResponses, StartDetectionAnalysePostErrors, ThrowOnError, "fields">;
|
|
28
|
+
/**
|
|
29
|
+
* Get the status of a detection job
|
|
30
|
+
*
|
|
31
|
+
* Get the status of a detection job
|
|
32
|
+
*/
|
|
33
|
+
export declare const getJobStatusStatusJobIdGet: <ThrowOnError extends boolean = false>(options: Options<GetJobStatusStatusJobIdGetData, ThrowOnError>) => import("./client").RequestResult<GetJobStatusStatusJobIdGetResponses, GetJobStatusStatusJobIdGetErrors, ThrowOnError, "fields">;
|
|
34
|
+
/**
|
|
35
|
+
* Get the results of a completed detection job
|
|
36
|
+
*/
|
|
37
|
+
export declare const getJobResultsResultsJobIdGet: <ThrowOnError extends boolean = false>(options: Options<GetJobResultsResultsJobIdGetData, ThrowOnError>) => import("./client").RequestResult<GetJobResultsResultsJobIdGetResponses, GetJobResultsResultsJobIdGetErr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SAAS,OAAO,GAAG,KAAK,EAAE,SAAS,OAAO,CAAC,gCAAgC,EAAE,YAAY,CAAC,wIAAsK,CAAC"}
|
package/dist/sdk.gen.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.getJobResultsResultsJobIdGet = exports.getJobStatusStatusJobIdGet = exports.startDetectionAnalysePost = exports.healthCheckHealthGet = void 0;
|
|
5
|
+
const client_gen_1 = require("./client.gen");
|
|
6
|
+
/**
|
|
7
|
+
* Health Check
|
|
8
|
+
*
|
|
9
|
+
* Health check endpoint
|
|
10
|
+
*/
|
|
11
|
+
const healthCheckHealthGet = (options) => (options?.client ?? client_gen_1.client).get({ url: '/health', ...options });
|
|
12
|
+
exports.healthCheckHealthGet = healthCheckHealthGet;
|
|
13
|
+
/**
|
|
14
|
+
* Analyse a video
|
|
15
|
+
*
|
|
16
|
+
* Start video analysis on a video
|
|
17
|
+
*/
|
|
18
|
+
const startDetectionAnalysePost = (options) => (options.client ?? client_gen_1.client).post({
|
|
19
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
20
|
+
url: '/analyse',
|
|
21
|
+
...options,
|
|
22
|
+
headers: {
|
|
23
|
+
'Content-Type': 'application/json',
|
|
24
|
+
...options.headers
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
exports.startDetectionAnalysePost = startDetectionAnalysePost;
|
|
28
|
+
/**
|
|
29
|
+
* Get the status of a detection job
|
|
30
|
+
*
|
|
31
|
+
* Get the status of a detection job
|
|
32
|
+
*/
|
|
33
|
+
const getJobStatusStatusJobIdGet = (options) => (options.client ?? client_gen_1.client).get({ url: '/status/{job_id}', ...options });
|
|
34
|
+
exports.getJobStatusStatusJobIdGet = getJobStatusStatusJobIdGet;
|
|
35
|
+
/**
|
|
36
|
+
* Get the results of a completed detection job
|
|
37
|
+
*/
|
|
38
|
+
const getJobResultsResultsJobIdGet = (options) => (options.client ?? client_gen_1.client).get({ url: '/results/{job_id}', ...options });
|
|
39
|
+
exports.getJobResultsResultsJobIdGet = getJobResultsResultsJobIdGet;
|
|
40
|
+
//# sourceMappingURL=sdk.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../client/sdk.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,6CAAsC;AAiBtC;;;;GAIG;AACI,MAAM,oBAAoB,GAAG,CAAuC,OAAyD,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAAuD,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAAlP,QAAA,oBAAoB,wBAA8N;AAE/P;;;;GAIG;AACI,MAAM,yBAAyB,GAAG,CAAuC,OAA6D,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,mBAAM,CAAC,CAAC,IAAI,CAAoF;IACjQ,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjD,GAAG,EAAE,UAAU;IACf,GAAG,OAAO;IACV,OAAO,EAAE;QACL,cAAc,EAAE,kBAAkB;QAClC,GAAG,OAAO,CAAC,OAAO;KACrB;CACJ,CAAC,CAAC;AARU,QAAA,yBAAyB,6BAQnC;AAEH;;;;GAIG;AACI,MAAM,0BAA0B,GAAG,CAAuC,OAA8D,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAAsF,EAAE,GAAG,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAApS,QAAA,0BAA0B,8BAA0Q;AAEjT;;GAEG;AACI,MAAM,4BAA4B,GAAG,CAAuC,OAAgE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,mBAAM,CAAC,CAAC,GAAG,CAA0F,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAA7S,QAAA,4BAA4B,gCAAiR"}
|
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://vision.celluloid.me' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type Webhooks = JobCompletedjobCompletedPostWebhookRequest;
|
|
5
|
+
/**
|
|
6
|
+
* AnalysisRequest
|
|
7
|
+
*/
|
|
8
|
+
export type AnalysisRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Project Id
|
|
11
|
+
*
|
|
12
|
+
* Project identifier
|
|
13
|
+
*/
|
|
14
|
+
project_id: string;
|
|
15
|
+
/**
|
|
16
|
+
* Video Url
|
|
17
|
+
*
|
|
18
|
+
* URL or path to video file
|
|
19
|
+
*/
|
|
20
|
+
video_url: string;
|
|
21
|
+
/**
|
|
22
|
+
* Similarity Threshold
|
|
23
|
+
*
|
|
24
|
+
* Similarity threshold for object tracking
|
|
25
|
+
*/
|
|
26
|
+
similarity_threshold?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Callback Url
|
|
29
|
+
*
|
|
30
|
+
* Callback URL for job completion notifications
|
|
31
|
+
*/
|
|
32
|
+
callback_url?: string | null;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* AnalysisResponse
|
|
36
|
+
*/
|
|
37
|
+
export type AnalysisResponse = {
|
|
38
|
+
/**
|
|
39
|
+
* Job Id
|
|
40
|
+
*/
|
|
41
|
+
job_id: string;
|
|
42
|
+
/**
|
|
43
|
+
* Status
|
|
44
|
+
*/
|
|
45
|
+
status: string;
|
|
46
|
+
/**
|
|
47
|
+
* Queue Position
|
|
48
|
+
*/
|
|
49
|
+
queue_position: number;
|
|
50
|
+
/**
|
|
51
|
+
* Message
|
|
52
|
+
*/
|
|
53
|
+
message: string;
|
|
54
|
+
/**
|
|
55
|
+
* Callback Url
|
|
56
|
+
*/
|
|
57
|
+
callback_url: string | null;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* BoundingBoxModel
|
|
61
|
+
*/
|
|
62
|
+
export type BoundingBoxModel = {
|
|
63
|
+
/**
|
|
64
|
+
* X
|
|
65
|
+
*/
|
|
66
|
+
x: number;
|
|
67
|
+
/**
|
|
68
|
+
* Y
|
|
69
|
+
*/
|
|
70
|
+
y: number;
|
|
71
|
+
/**
|
|
72
|
+
* Width
|
|
73
|
+
*/
|
|
74
|
+
width: number;
|
|
75
|
+
/**
|
|
76
|
+
* Height
|
|
77
|
+
*/
|
|
78
|
+
height: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* DetectionFrameModel
|
|
82
|
+
*/
|
|
83
|
+
export type DetectionFrameModel = {
|
|
84
|
+
/**
|
|
85
|
+
* Frame Idx
|
|
86
|
+
*/
|
|
87
|
+
frame_idx: number;
|
|
88
|
+
/**
|
|
89
|
+
* Timestamp
|
|
90
|
+
*/
|
|
91
|
+
timestamp: number;
|
|
92
|
+
/**
|
|
93
|
+
* Objects
|
|
94
|
+
*/
|
|
95
|
+
objects: Array<DetectionObjectModel>;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* DetectionObjectModel
|
|
99
|
+
*/
|
|
100
|
+
export type DetectionObjectModel = {
|
|
101
|
+
/**
|
|
102
|
+
* Id
|
|
103
|
+
*/
|
|
104
|
+
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* Class Name
|
|
107
|
+
*/
|
|
108
|
+
class_name: string;
|
|
109
|
+
/**
|
|
110
|
+
* Confidence
|
|
111
|
+
*/
|
|
112
|
+
confidence: number;
|
|
113
|
+
bbox: BoundingBoxModel;
|
|
114
|
+
/**
|
|
115
|
+
* Thumbnail
|
|
116
|
+
*/
|
|
117
|
+
thumbnail: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* DetectionResultsModel
|
|
121
|
+
*/
|
|
122
|
+
export type DetectionResultsModel = {
|
|
123
|
+
/**
|
|
124
|
+
* Version
|
|
125
|
+
*/
|
|
126
|
+
version: string;
|
|
127
|
+
metadata: ResultsMetadataModel;
|
|
128
|
+
/**
|
|
129
|
+
* Frames
|
|
130
|
+
*/
|
|
131
|
+
frames: Array<DetectionFrameModel>;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* DetectionStatisticsModel
|
|
135
|
+
*/
|
|
136
|
+
export type DetectionStatisticsModel = {
|
|
137
|
+
/**
|
|
138
|
+
* Total Detections
|
|
139
|
+
*/
|
|
140
|
+
total_detections?: number | null;
|
|
141
|
+
/**
|
|
142
|
+
* Person Detections
|
|
143
|
+
*/
|
|
144
|
+
person_detections?: number | null;
|
|
145
|
+
/**
|
|
146
|
+
* Person With Face
|
|
147
|
+
*/
|
|
148
|
+
person_with_face?: number | null;
|
|
149
|
+
/**
|
|
150
|
+
* Person Without Face
|
|
151
|
+
*/
|
|
152
|
+
person_without_face?: number | null;
|
|
153
|
+
/**
|
|
154
|
+
* Other Detections
|
|
155
|
+
*/
|
|
156
|
+
other_detections?: number | null;
|
|
157
|
+
/**
|
|
158
|
+
* Class Counts
|
|
159
|
+
*/
|
|
160
|
+
class_counts?: {
|
|
161
|
+
[key: string]: number;
|
|
162
|
+
} | null;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* HTTPValidationError
|
|
166
|
+
*/
|
|
167
|
+
export type HttpValidationError = {
|
|
168
|
+
/**
|
|
169
|
+
* Detail
|
|
170
|
+
*/
|
|
171
|
+
detail?: Array<ValidationError>;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* HealthResponse
|
|
175
|
+
*/
|
|
176
|
+
export type HealthResponse = {
|
|
177
|
+
/**
|
|
178
|
+
* Status
|
|
179
|
+
*/
|
|
180
|
+
status: string;
|
|
181
|
+
/**
|
|
182
|
+
* Timestamp
|
|
183
|
+
*/
|
|
184
|
+
timestamp: string;
|
|
185
|
+
/**
|
|
186
|
+
* Queue Size
|
|
187
|
+
*/
|
|
188
|
+
queue_size: number;
|
|
189
|
+
/**
|
|
190
|
+
* Processing Jobs
|
|
191
|
+
*/
|
|
192
|
+
processing_jobs: number;
|
|
193
|
+
/**
|
|
194
|
+
* Current Job
|
|
195
|
+
*/
|
|
196
|
+
current_job: string | null;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* JobCompletedWebhook
|
|
200
|
+
*/
|
|
201
|
+
export type JobCompletedWebhook = {
|
|
202
|
+
/**
|
|
203
|
+
* Job Id
|
|
204
|
+
*/
|
|
205
|
+
job_id: string;
|
|
206
|
+
/**
|
|
207
|
+
* Project Id
|
|
208
|
+
*/
|
|
209
|
+
project_id: string;
|
|
210
|
+
/**
|
|
211
|
+
* Status
|
|
212
|
+
*/
|
|
213
|
+
status: string;
|
|
214
|
+
/**
|
|
215
|
+
* Timestamp
|
|
216
|
+
*/
|
|
217
|
+
timestamp: Date;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* JobStatusResponse
|
|
221
|
+
*/
|
|
222
|
+
export type JobStatusResponse = {
|
|
223
|
+
/**
|
|
224
|
+
* Job Id
|
|
225
|
+
*/
|
|
226
|
+
job_id: string;
|
|
227
|
+
/**
|
|
228
|
+
* Project Id
|
|
229
|
+
*/
|
|
230
|
+
project_id: string;
|
|
231
|
+
/**
|
|
232
|
+
* Video Url
|
|
233
|
+
*/
|
|
234
|
+
video_url: string;
|
|
235
|
+
/**
|
|
236
|
+
* Similarity Threshold
|
|
237
|
+
*/
|
|
238
|
+
similarity_threshold: number;
|
|
239
|
+
/**
|
|
240
|
+
* Status
|
|
241
|
+
*/
|
|
242
|
+
status: string;
|
|
243
|
+
/**
|
|
244
|
+
* Progress
|
|
245
|
+
*/
|
|
246
|
+
progress: number;
|
|
247
|
+
/**
|
|
248
|
+
* Queue Position
|
|
249
|
+
*/
|
|
250
|
+
queue_position: number | null;
|
|
251
|
+
/**
|
|
252
|
+
* Estimated Wait Time
|
|
253
|
+
*/
|
|
254
|
+
estimated_wait_time: string | null;
|
|
255
|
+
/**
|
|
256
|
+
* Start Time
|
|
257
|
+
*/
|
|
258
|
+
start_time: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* End Time
|
|
261
|
+
*/
|
|
262
|
+
end_time: string | null;
|
|
263
|
+
/**
|
|
264
|
+
* Result Path
|
|
265
|
+
*/
|
|
266
|
+
result_path: string | null;
|
|
267
|
+
/**
|
|
268
|
+
* Metadata
|
|
269
|
+
*/
|
|
270
|
+
metadata: {
|
|
271
|
+
[key: string]: unknown;
|
|
272
|
+
} | null;
|
|
273
|
+
/**
|
|
274
|
+
* Error Message
|
|
275
|
+
*/
|
|
276
|
+
error_message: string | null;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* ModelMetadataModel
|
|
280
|
+
*/
|
|
281
|
+
export type ModelMetadataModel = {
|
|
282
|
+
/**
|
|
283
|
+
* Name
|
|
284
|
+
*/
|
|
285
|
+
name: string;
|
|
286
|
+
/**
|
|
287
|
+
* Type
|
|
288
|
+
*/
|
|
289
|
+
type: string;
|
|
290
|
+
/**
|
|
291
|
+
* Version
|
|
292
|
+
*/
|
|
293
|
+
version: string;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* ProcessingMetadataModel
|
|
297
|
+
*/
|
|
298
|
+
export type ProcessingMetadataModel = {
|
|
299
|
+
/**
|
|
300
|
+
* Start Time
|
|
301
|
+
*/
|
|
302
|
+
start_time?: string | null;
|
|
303
|
+
/**
|
|
304
|
+
* End Time
|
|
305
|
+
*/
|
|
306
|
+
end_time?: string | null;
|
|
307
|
+
/**
|
|
308
|
+
* Duration Seconds
|
|
309
|
+
*/
|
|
310
|
+
duration_seconds?: number | null;
|
|
311
|
+
/**
|
|
312
|
+
* Frames Processed
|
|
313
|
+
*/
|
|
314
|
+
frames_processed?: number | null;
|
|
315
|
+
/**
|
|
316
|
+
* Frames With Detections
|
|
317
|
+
*/
|
|
318
|
+
frames_with_detections?: number | null;
|
|
319
|
+
/**
|
|
320
|
+
* Processing Speed
|
|
321
|
+
*/
|
|
322
|
+
processing_speed?: number | null;
|
|
323
|
+
detection_statistics?: DetectionStatisticsModel | null;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* ResultsMetadataModel
|
|
327
|
+
*/
|
|
328
|
+
export type ResultsMetadataModel = {
|
|
329
|
+
video: VideoMetadataModel;
|
|
330
|
+
model: ModelMetadataModel;
|
|
331
|
+
sprite: SpriteMetadataModel;
|
|
332
|
+
processing: ProcessingMetadataModel;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* SpriteMetadataModel
|
|
336
|
+
*/
|
|
337
|
+
export type SpriteMetadataModel = {
|
|
338
|
+
/**
|
|
339
|
+
* Path
|
|
340
|
+
*/
|
|
341
|
+
path: string;
|
|
342
|
+
/**
|
|
343
|
+
* Thumbnail Size
|
|
344
|
+
*/
|
|
345
|
+
thumbnail_size: Array<number>;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* ValidationError
|
|
349
|
+
*/
|
|
350
|
+
export type ValidationError = {
|
|
351
|
+
/**
|
|
352
|
+
* Location
|
|
353
|
+
*/
|
|
354
|
+
loc: Array<string | number>;
|
|
355
|
+
/**
|
|
356
|
+
* Message
|
|
357
|
+
*/
|
|
358
|
+
msg: string;
|
|
359
|
+
/**
|
|
360
|
+
* Error Type
|
|
361
|
+
*/
|
|
362
|
+
type: string;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* VideoMetadataModel
|
|
366
|
+
*/
|
|
367
|
+
export type VideoMetadataModel = {
|
|
368
|
+
/**
|
|
369
|
+
* Fps
|
|
370
|
+
*/
|
|
371
|
+
fps: number;
|
|
372
|
+
/**
|
|
373
|
+
* Frame Count
|
|
374
|
+
*/
|
|
375
|
+
frame_count: number;
|
|
376
|
+
/**
|
|
377
|
+
* Width
|
|
378
|
+
*/
|
|
379
|
+
width: number;
|
|
380
|
+
/**
|
|
381
|
+
* Height
|
|
382
|
+
*/
|
|
383
|
+
height: number;
|
|
384
|
+
/**
|
|
385
|
+
* Source
|
|
386
|
+
*/
|
|
387
|
+
source: string;
|
|
388
|
+
};
|
|
389
|
+
export type HealthCheckHealthGetData = {
|
|
390
|
+
body?: never;
|
|
391
|
+
path?: never;
|
|
392
|
+
query?: never;
|
|
393
|
+
url: '/health';
|
|
394
|
+
};
|
|
395
|
+
export type HealthCheckHealthGetResponses = {
|
|
396
|
+
/**
|
|
397
|
+
* Successful Response
|
|
398
|
+
*/
|
|
399
|
+
200: HealthResponse;
|
|
400
|
+
};
|
|
401
|
+
export type HealthCheckHealthGetResponse = HealthCheckHealthGetResponses[keyof HealthCheckHealthGetResponses];
|
|
402
|
+
export type StartDetectionAnalysePostData = {
|
|
403
|
+
body: AnalysisRequest;
|
|
404
|
+
path?: never;
|
|
405
|
+
query?: never;
|
|
406
|
+
url: '/analyse';
|
|
407
|
+
};
|
|
408
|
+
export type StartDetectionAnalysePostErrors = {
|
|
409
|
+
/**
|
|
410
|
+
* Validation Error
|
|
411
|
+
*/
|
|
412
|
+
422: HttpValidationError;
|
|
413
|
+
};
|
|
414
|
+
export type StartDetectionAnalysePostError = StartDetectionAnalysePostErrors[keyof StartDetectionAnalysePostErrors];
|
|
415
|
+
export type StartDetectionAnalysePostResponses = {
|
|
416
|
+
/**
|
|
417
|
+
* Successful Response
|
|
418
|
+
*/
|
|
419
|
+
202: AnalysisResponse;
|
|
420
|
+
};
|
|
421
|
+
export type StartDetectionAnalysePostResponse = StartDetectionAnalysePostResponses[keyof StartDetectionAnalysePostResponses];
|
|
422
|
+
export type GetJobStatusStatusJobIdGetData = {
|
|
423
|
+
body?: never;
|
|
424
|
+
path: {
|
|
425
|
+
/**
|
|
426
|
+
* Job Id
|
|
427
|
+
*/
|
|
428
|
+
job_id: string;
|
|
429
|
+
};
|
|
430
|
+
query?: never;
|
|
431
|
+
url: '/status/{job_id}';
|
|
432
|
+
};
|
|
433
|
+
export type GetJobStatusStatusJobIdGetErrors = {
|
|
434
|
+
/**
|
|
435
|
+
* Validation Error
|
|
436
|
+
*/
|
|
437
|
+
422: HttpValidationError;
|
|
438
|
+
};
|
|
439
|
+
export type GetJobStatusStatusJobIdGetError = GetJobStatusStatusJobIdGetErrors[keyof GetJobStatusStatusJobIdGetErrors];
|
|
440
|
+
export type GetJobStatusStatusJobIdGetResponses = {
|
|
441
|
+
/**
|
|
442
|
+
* Successful Response
|
|
443
|
+
*/
|
|
444
|
+
200: JobStatusResponse;
|
|
445
|
+
};
|
|
446
|
+
export type GetJobStatusStatusJobIdGetResponse = GetJobStatusStatusJobIdGetResponses[keyof GetJobStatusStatusJobIdGetResponses];
|
|
447
|
+
export type GetJobResultsResultsJobIdGetData = {
|
|
448
|
+
body?: never;
|
|
449
|
+
path: {
|
|
450
|
+
/**
|
|
451
|
+
* Job Id
|
|
452
|
+
*/
|
|
453
|
+
job_id: string;
|
|
454
|
+
};
|
|
455
|
+
query?: never;
|
|
456
|
+
url: '/results/{job_id}';
|
|
457
|
+
};
|
|
458
|
+
export type GetJobResultsResultsJobIdGetErrors = {
|
|
459
|
+
/**
|
|
460
|
+
* Validation Error
|
|
461
|
+
*/
|
|
462
|
+
422: HttpValidationError;
|
|
463
|
+
};
|
|
464
|
+
export type GetJobResultsResultsJobIdGetError = GetJobResultsResultsJobIdGetErrors[keyof GetJobResultsResultsJobIdGetErrors];
|
|
465
|
+
export type GetJobResultsResultsJobIdGetResponses = {
|
|
466
|
+
/**
|
|
467
|
+
* Successful Response
|
|
468
|
+
*/
|
|
469
|
+
200: DetectionResultsModel;
|
|
470
|
+
};
|
|
471
|
+
export type GetJobResultsResultsJobIdGetResponse = GetJobResultsResultsJobIdGetResponses[keyof GetJobResultsResultsJobIdGetResponses];
|
|
472
|
+
export type JobCompletedjobCompletedPostWebhookPayload = JobCompletedWebhook;
|
|
473
|
+
export type JobCompletedjobCompletedPostWebhookRequest = {
|
|
474
|
+
body: JobCompletedjobCompletedPostWebhookPayload;
|
|
475
|
+
key: 'job-completed';
|
|
476
|
+
path?: never;
|
|
477
|
+
query?: never;
|
|
478
|
+
};
|
|
479
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../client/types.gen.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,6BAA6B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC1D,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,0CAA0C,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB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
|
|
1
|
+
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../client/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD"}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@celluloid/vision-api",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./client": {
|
|
8
|
+
"types": "./dist/client/index.d.ts",
|
|
9
|
+
"default": "./dist/client/index.js"
|
|
10
|
+
},
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/**/*"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@hey-api/openapi-ts": "^0.92.0",
|
|
25
|
+
"shx": "^0.4.0",
|
|
26
|
+
"typescript": "^5.9.3",
|
|
27
|
+
"@tsconfig/recommended": "^1.0.13"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "pnpm run build:clean && pnpm run generate && tsc",
|
|
31
|
+
"build:clean": "shx rm -rf ./dist",
|
|
32
|
+
"generate": "openapi-ts",
|
|
33
|
+
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
|
34
|
+
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
|
|
35
|
+
}
|
|
36
|
+
}
|