@@ -289,6 +289,47 @@ export interface paths {
289289 patch ?: never ;
290290 trace ?: never ;
291291 } ;
292+ "/beta/lighthouse/{filesystem_id}/ingest" : {
293+ parameters : {
294+ query ?: never ;
295+ header ?: never ;
296+ path ?: never ;
297+ cookie ?: never ;
298+ } ;
299+ get ?: never ;
300+ put ?: never ;
301+ /** [BETA] Lighthouse Ingest */
302+ post : {
303+ parameters : {
304+ query ?: never ;
305+ header ?: never ;
306+ path : {
307+ filesystem_id : string ;
308+ } ;
309+ cookie ?: never ;
310+ } ;
311+ requestBody ?: {
312+ content : {
313+ "application/json" : components [ "schemas" ] [ "LighthouseIngest" ] ;
314+ } ;
315+ } ;
316+ responses : {
317+ 200 : {
318+ headers : {
319+ [ name : string ] : unknown ;
320+ } ;
321+ content : {
322+ "application/json" : components [ "schemas" ] [ "LighthouseIngestResponse" ] ;
323+ } ;
324+ } ;
325+ } ;
326+ } ;
327+ delete ?: never ;
328+ options ?: never ;
329+ head ?: never ;
330+ patch ?: never ;
331+ trace ?: never ;
332+ } ;
292333 "/v1/index/{index_id}/entry" : {
293334 parameters : {
294335 query ?: never ;
@@ -2198,6 +2239,71 @@ export interface components {
21982239 index_id : string ;
21992240 tasks : components [ "schemas" ] [ "Task" ] [ ] ;
22002241 } ;
2242+ LighthouseScanStartEvent : {
2243+ scan_id : string ;
2244+ /** @enum {string} */
2245+ scan_type : "full" | "discovery" ;
2246+ scope : string ;
2247+ client_id : string ;
2248+ /**
2249+ * @description discriminator enum property added by openapi-typescript
2250+ * @enum {string}
2251+ */
2252+ event_type : "scan_start" ;
2253+ /** Format: date-time */
2254+ start_timestamp : string ;
2255+ } ;
2256+ LighthouseScanStopEvent : {
2257+ scan_id : string ;
2258+ /** @enum {string} */
2259+ scan_type : "full" | "discovery" ;
2260+ scope : string ;
2261+ client_id : string ;
2262+ /**
2263+ * @description discriminator enum property added by openapi-typescript
2264+ * @enum {string}
2265+ */
2266+ event_type : "scan_stop" ;
2267+ /** Format: date-time */
2268+ stop_timestamp : string ;
2269+ /** @enum {string} */
2270+ status : "success" | "failure" ;
2271+ } ;
2272+ Attributes : {
2273+ /** @enum {string} */
2274+ object_type : "file" | "dir" ;
2275+ path : string ;
2276+ inode : number ;
2277+ size_bytes : number ;
2278+ uid : number ;
2279+ gid : number ;
2280+ mode_str : string ;
2281+ /** Format: date-time */
2282+ atime : string ;
2283+ /** Format: date-time */
2284+ ctime : string ;
2285+ /** Format: date-time */
2286+ mtime : string ;
2287+ } ;
2288+ LighthouseFileScanEvent : {
2289+ scan_id : string ;
2290+ /**
2291+ * @description discriminator enum property added by openapi-typescript
2292+ * @enum {string}
2293+ */
2294+ event_type : "file_scan" ;
2295+ /** Format: date-time */
2296+ scan_observed_timestamp : string ;
2297+ attributes : components [ "schemas" ] [ "Attributes" ] ;
2298+ } ;
2299+ LighthouseEvent : components [ "schemas" ] [ "LighthouseScanStartEvent" ] | components [ "schemas" ] [ "LighthouseScanStopEvent" ] | components [ "schemas" ] [ "LighthouseFileScanEvent" ] ;
2300+ LighthouseIngest : {
2301+ events : components [ "schemas" ] [ "LighthouseEvent" ] [ ] ;
2302+ } ;
2303+ LighthouseIngestResponse : {
2304+ /** @description Always true for successful ingest submission. */
2305+ acknowledged : boolean ;
2306+ } ;
22012307 IndexWithPermissions : {
22022308 /** @default 2017-09-01 */
22032309 readonly "@version" : unknown ;
0 commit comments