@aviaryhq/cloudglue-js 0.3.2 → 0.3.3

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.
@@ -1,8 +1,9 @@
1
- import { FilesApi, CollectionsApi, ChatApi, TranscribeApi, ExtractApi, SearchApi, DescribeApi, SegmentsApi } from "../generated";
1
+ import { FilesApi, CollectionsApi, ChatApi, TranscribeApi, ExtractApi, SearchApi, DescribeApi, SegmentsApi, WebhooksApi, FramesApi, Face_DetectionApi, Face_MatchApi } from "../generated";
2
2
  import { FilterOperator } from "./enums";
3
3
  import type { File, NarrativeConfig, SegmentationConfig, ShotConfig, UpdateFileParams } from "./types";
4
4
  import { SegmentationsApi } from "../generated/Segmentations";
5
- import { ThumbnailsConfig } from "../generated/common";
5
+ import { ThumbnailsConfig, FrameExtractionConfig } from "../generated/common";
6
+ import { WebhookEvents } from './types';
6
7
  export declare class CloudGlueError extends Error {
7
8
  readonly statusCode?: number | undefined;
8
9
  readonly data?: string | undefined;
@@ -10,6 +11,13 @@ export declare class CloudGlueError extends Error {
10
11
  readonly responseData?: any | undefined;
11
12
  constructor(message: string, statusCode?: number | undefined, data?: string | undefined, headers?: Record<string, any> | undefined, responseData?: any | undefined);
12
13
  }
14
+ /**
15
+ * Helper function to convert a local file path to base64 encoded string
16
+ * Only supports JPG and PNG image formats
17
+ * @param filePath - Path to the local image file (must be .jpg, .jpeg, or .png)
18
+ * @returns Promise<string> - Base64 encoded string with data URL prefix
19
+ */
20
+ export declare function convertFileToBase64(filePath: string): Promise<string>;
13
21
  /**
14
22
  * Configuration options for initializing the CloudGlue client
15
23
  */
@@ -179,7 +187,7 @@ declare class EnhancedFilesApi {
179
187
  limit: number;
180
188
  offset: number;
181
189
  }>;
182
- uploadFile(params: UploadFileParams): Promise<import("axios").AxiosResponse<any, any, {}>>;
190
+ uploadFile(params: UploadFileParams): Promise<any>;
183
191
  getFile(fileId: string): Promise<import("zod").objectOutputType<{
184
192
  id: import("zod").ZodString;
185
193
  status: import("zod").ZodEnum<["pending", "processing", "completed", "failed", "not_applicable"]>;
@@ -459,6 +467,132 @@ declare class EnhancedFilesApi {
459
467
  offset: import("zod").ZodNumber;
460
468
  }, import("zod").ZodTypeAny, "passthrough">>>;
461
469
  }, import("zod").ZodTypeAny, "passthrough">>;
470
+ createFileFrameExtraction(fileId: string, params: FrameExtractionConfig): Promise<import("zod").objectOutputType<{
471
+ frame_extraction_id: import("zod").ZodString;
472
+ status: import("zod").ZodEnum<["pending", "processing", "completed", "failed"]>;
473
+ created_at: import("zod").ZodNumber;
474
+ file_id: import("zod").ZodString;
475
+ frame_extraction_config: import("zod").ZodObject<{
476
+ strategy: import("zod").ZodLiteral<"uniform">;
477
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
478
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
479
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
480
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
481
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
482
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
483
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
484
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
485
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
486
+ }, import("zod").ZodTypeAny, "passthrough">>>;
487
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
488
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
489
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
490
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
491
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
492
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
493
+ }, import("zod").ZodTypeAny, "passthrough">>>;
494
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
495
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
496
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
497
+ strategy: import("zod").ZodLiteral<"uniform">;
498
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
499
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
500
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
501
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
502
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
503
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
504
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
505
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
506
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
507
+ }, import("zod").ZodTypeAny, "passthrough">>>;
508
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
509
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
510
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
511
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
512
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
513
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
514
+ }, import("zod").ZodTypeAny, "passthrough">>>;
515
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
516
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
517
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
518
+ strategy: import("zod").ZodLiteral<"uniform">;
519
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
520
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
521
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
522
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
523
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
524
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
525
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
526
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
527
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
528
+ }, import("zod").ZodTypeAny, "passthrough">>>;
529
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
530
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
531
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
532
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
533
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
534
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
535
+ }, import("zod").ZodTypeAny, "passthrough">>>;
536
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
537
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
538
+ }, import("zod").ZodTypeAny, "passthrough">>;
539
+ frame_count: import("zod").ZodOptional<import("zod").ZodNumber>;
540
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
541
+ object: import("zod").ZodLiteral<"list">;
542
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
543
+ id: import("zod").ZodString;
544
+ timestamp: import("zod").ZodNumber;
545
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
546
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
547
+ id: import("zod").ZodString;
548
+ timestamp: import("zod").ZodNumber;
549
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
550
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
551
+ id: import("zod").ZodString;
552
+ timestamp: import("zod").ZodNumber;
553
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
554
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
555
+ total: import("zod").ZodNumber;
556
+ limit: import("zod").ZodNumber;
557
+ offset: import("zod").ZodNumber;
558
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
559
+ object: import("zod").ZodLiteral<"list">;
560
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
561
+ id: import("zod").ZodString;
562
+ timestamp: import("zod").ZodNumber;
563
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
564
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
565
+ id: import("zod").ZodString;
566
+ timestamp: import("zod").ZodNumber;
567
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
568
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
569
+ id: import("zod").ZodString;
570
+ timestamp: import("zod").ZodNumber;
571
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
572
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
573
+ total: import("zod").ZodNumber;
574
+ limit: import("zod").ZodNumber;
575
+ offset: import("zod").ZodNumber;
576
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
577
+ object: import("zod").ZodLiteral<"list">;
578
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
579
+ id: import("zod").ZodString;
580
+ timestamp: import("zod").ZodNumber;
581
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
582
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
583
+ id: import("zod").ZodString;
584
+ timestamp: import("zod").ZodNumber;
585
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
586
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
587
+ id: import("zod").ZodString;
588
+ timestamp: import("zod").ZodNumber;
589
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
590
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
591
+ total: import("zod").ZodNumber;
592
+ limit: import("zod").ZodNumber;
593
+ offset: import("zod").ZodNumber;
594
+ }, import("zod").ZodTypeAny, "passthrough">>>;
595
+ }, import("zod").ZodTypeAny, "passthrough">>;
462
596
  /**
463
597
  * Waits for a file to finish processing by polling the getFile endpoint until the file
464
598
  * reaches a terminal state (completed, failed, or not_applicable) or until maxAttempts is reached.
@@ -599,6 +733,38 @@ declare class EnhancedCollectionsApi {
599
733
  id: import("zod").ZodString;
600
734
  object: import("zod").ZodLiteral<"collection">;
601
735
  }, import("zod").ZodTypeAny, "passthrough">>;
736
+ updateCollection(collectionId: string, params: {
737
+ name?: string;
738
+ description?: string;
739
+ }): Promise<{
740
+ id: string;
741
+ object: "collection";
742
+ name: string;
743
+ description?: (string | null) | undefined;
744
+ collection_type: "media-descriptions" | "entities" | "rich-transcripts";
745
+ extract_config?: Partial<{
746
+ prompt: string;
747
+ schema: {};
748
+ enable_video_level_entities: boolean;
749
+ enable_segment_level_entities: boolean;
750
+ }> | undefined;
751
+ transcribe_config?: Partial<{
752
+ enable_summary: boolean;
753
+ enable_speech: boolean;
754
+ enable_scene_text: boolean;
755
+ enable_visual_scene_description: boolean;
756
+ }> | undefined;
757
+ describe_config?: Partial<{
758
+ enable_summary: boolean;
759
+ enable_speech: boolean;
760
+ enable_scene_text: boolean;
761
+ enable_visual_scene_description: boolean;
762
+ }> | undefined;
763
+ default_segmentation_config?: import("../generated/common").SegmentationConfig | undefined;
764
+ default_thumbnails_config?: ThumbnailsConfig | undefined;
765
+ created_at: number;
766
+ file_count: number;
767
+ }>;
602
768
  addVideoByUrl({ collectionId, url, params }: {
603
769
  collectionId: string;
604
770
  url: string;
@@ -680,11 +846,14 @@ declare class EnhancedCollectionsApi {
680
846
  file_id: import("zod").ZodString;
681
847
  object: import("zod").ZodLiteral<"collection_file">;
682
848
  }, import("zod").ZodTypeAny, "passthrough">>;
683
- getEntities(collectionId: string, fileId: string): Promise<import("zod").objectOutputType<{
849
+ getEntities(collectionId: string, fileId: string, params?: {
850
+ limit?: number;
851
+ offset?: number;
852
+ }): Promise<import("zod").objectOutputType<{
684
853
  collection_id: import("zod").ZodString;
685
854
  file_id: import("zod").ZodString;
686
855
  entities: import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>;
687
- segment_entities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
856
+ segment_entities: import("zod").ZodArray<import("zod").ZodObject<{
688
857
  start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
689
858
  end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
690
859
  entities: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
@@ -696,7 +865,10 @@ declare class EnhancedCollectionsApi {
696
865
  start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
697
866
  end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
698
867
  entities: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
699
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
868
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">;
869
+ total: import("zod").ZodNumber;
870
+ limit: import("zod").ZodNumber;
871
+ offset: import("zod").ZodNumber;
700
872
  }, import("zod").ZodTypeAny, "passthrough">>;
701
873
  getTranscripts(collectionId: string, fileId: string, limit?: number, offset?: number, response_format?: "markdown" | "json"): Promise<import("zod").objectOutputType<{
702
874
  collection_id: import("zod").ZodString;
@@ -3084,6 +3256,9 @@ declare class EnhancedSegmentsApi {
3084
3256
  thumbnail_url?: string | undefined;
3085
3257
  }> | undefined;
3086
3258
  }>;
3259
+ deleteSegmentJob(jobId: string): Promise<import("zod").objectOutputType<{
3260
+ id: import("zod").ZodString;
3261
+ }, import("zod").ZodTypeAny, "passthrough">>;
3087
3262
  waitForReady(jobId: string, options?: WaitForReadyOptions): Promise<{
3088
3263
  job_id: string;
3089
3264
  file_id: string;
@@ -3108,6 +3283,500 @@ declare class EnhancedSegmentsApi {
3108
3283
  }> | undefined;
3109
3284
  }>;
3110
3285
  }
3286
+ declare class EnhancedWebhooksApi {
3287
+ private readonly api;
3288
+ constructor(api: typeof WebhooksApi);
3289
+ listWebhooks(params?: {
3290
+ limit?: number;
3291
+ offset?: number;
3292
+ sort?: "asc" | "desc";
3293
+ }): Promise<{
3294
+ object: "list";
3295
+ data: Array<{
3296
+ id: string;
3297
+ object: "webhook";
3298
+ created_at: number;
3299
+ webhook_secret: string;
3300
+ endpoint: string;
3301
+ active: boolean;
3302
+ description?: string | undefined;
3303
+ subscribed_events: Array<"describe.job.processing" | "describe.job.completed" | "describe.job.failed" | "extract.job.processing" | "extract.job.completed" | "extract.job.failed" | "file.job.processing" | "file.job.completed" | "file.job.failed" | "file.job.deleted" | "collection.file.job.processing" | "collection.file.job.completed" | "collection.file.job.failed" | "collection.file.job.deleted" | "segment.job.processing" | "segment.job.completed" | "segment.job.failed">;
3304
+ }>;
3305
+ total: number;
3306
+ limit: number;
3307
+ offset: number;
3308
+ }>;
3309
+ getWebhook(webhookId: string): Promise<{
3310
+ id: string;
3311
+ object: "webhook";
3312
+ created_at: number;
3313
+ webhook_secret: string;
3314
+ endpoint: string;
3315
+ active: boolean;
3316
+ description?: string | undefined;
3317
+ subscribed_events: Array<"describe.job.processing" | "describe.job.completed" | "describe.job.failed" | "extract.job.processing" | "extract.job.completed" | "extract.job.failed" | "file.job.processing" | "file.job.completed" | "file.job.failed" | "file.job.deleted" | "collection.file.job.processing" | "collection.file.job.completed" | "collection.file.job.failed" | "collection.file.job.deleted" | "segment.job.processing" | "segment.job.completed" | "segment.job.failed">;
3318
+ }>;
3319
+ createWebhook(params: {
3320
+ endpoint: string;
3321
+ description?: string;
3322
+ subscribed_events?: WebhookEvents[];
3323
+ }): Promise<{
3324
+ id: string;
3325
+ object: "webhook";
3326
+ created_at: number;
3327
+ webhook_secret: string;
3328
+ endpoint: string;
3329
+ active: boolean;
3330
+ description?: string | undefined;
3331
+ subscribed_events: Array<"describe.job.processing" | "describe.job.completed" | "describe.job.failed" | "extract.job.processing" | "extract.job.completed" | "extract.job.failed" | "file.job.processing" | "file.job.completed" | "file.job.failed" | "file.job.deleted" | "collection.file.job.processing" | "collection.file.job.completed" | "collection.file.job.failed" | "collection.file.job.deleted" | "segment.job.processing" | "segment.job.completed" | "segment.job.failed">;
3332
+ }>;
3333
+ updateWebhook(webhookId: string, params: {
3334
+ endpoint: string;
3335
+ description?: string;
3336
+ subscribed_events?: WebhookEvents[];
3337
+ active?: boolean;
3338
+ }): Promise<{
3339
+ id: string;
3340
+ object: "webhook";
3341
+ created_at: number;
3342
+ webhook_secret: string;
3343
+ endpoint: string;
3344
+ active: boolean;
3345
+ description?: string | undefined;
3346
+ subscribed_events: Array<"describe.job.processing" | "describe.job.completed" | "describe.job.failed" | "extract.job.processing" | "extract.job.completed" | "extract.job.failed" | "file.job.processing" | "file.job.completed" | "file.job.failed" | "file.job.deleted" | "collection.file.job.processing" | "collection.file.job.completed" | "collection.file.job.failed" | "collection.file.job.deleted" | "segment.job.processing" | "segment.job.completed" | "segment.job.failed">;
3347
+ }>;
3348
+ deleteWebhook(webhookId: string): Promise<import("zod").objectOutputType<{
3349
+ id: import("zod").ZodString;
3350
+ object: import("zod").ZodLiteral<"webhook">;
3351
+ }, import("zod").ZodTypeAny, "passthrough">>;
3352
+ }
3353
+ declare class EnhancedFramesApi {
3354
+ private readonly api;
3355
+ constructor(api: typeof FramesApi);
3356
+ getFrameExtraction(frameExtractionId: string, params?: {
3357
+ limit?: number;
3358
+ offset?: number;
3359
+ }): Promise<import("zod").objectOutputType<{
3360
+ frame_extraction_id: import("zod").ZodString;
3361
+ status: import("zod").ZodEnum<["pending", "processing", "completed", "failed"]>;
3362
+ created_at: import("zod").ZodNumber;
3363
+ file_id: import("zod").ZodString;
3364
+ frame_extraction_config: import("zod").ZodObject<{
3365
+ strategy: import("zod").ZodLiteral<"uniform">;
3366
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
3367
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3368
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3369
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3370
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3371
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3372
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3373
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3374
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3375
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3376
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
3377
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3378
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3379
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3380
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3381
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3382
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3383
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3384
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3385
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3386
+ strategy: import("zod").ZodLiteral<"uniform">;
3387
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
3388
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3389
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3390
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3391
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3392
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3393
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3394
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3395
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3396
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3397
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
3398
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3399
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3400
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3401
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3402
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3403
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3404
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3405
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3406
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3407
+ strategy: import("zod").ZodLiteral<"uniform">;
3408
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
3409
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3410
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3411
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3412
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3413
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3414
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3415
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3416
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3417
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3418
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
3419
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3420
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3421
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3422
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3423
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3424
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3425
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3426
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3427
+ }, import("zod").ZodTypeAny, "passthrough">>;
3428
+ frame_count: import("zod").ZodOptional<import("zod").ZodNumber>;
3429
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
3430
+ object: import("zod").ZodLiteral<"list">;
3431
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3432
+ id: import("zod").ZodString;
3433
+ timestamp: import("zod").ZodNumber;
3434
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3435
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3436
+ id: import("zod").ZodString;
3437
+ timestamp: import("zod").ZodNumber;
3438
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3439
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3440
+ id: import("zod").ZodString;
3441
+ timestamp: import("zod").ZodNumber;
3442
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3443
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
3444
+ total: import("zod").ZodNumber;
3445
+ limit: import("zod").ZodNumber;
3446
+ offset: import("zod").ZodNumber;
3447
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3448
+ object: import("zod").ZodLiteral<"list">;
3449
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3450
+ id: import("zod").ZodString;
3451
+ timestamp: import("zod").ZodNumber;
3452
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3453
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3454
+ id: import("zod").ZodString;
3455
+ timestamp: import("zod").ZodNumber;
3456
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3457
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3458
+ id: import("zod").ZodString;
3459
+ timestamp: import("zod").ZodNumber;
3460
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3461
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
3462
+ total: import("zod").ZodNumber;
3463
+ limit: import("zod").ZodNumber;
3464
+ offset: import("zod").ZodNumber;
3465
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3466
+ object: import("zod").ZodLiteral<"list">;
3467
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3468
+ id: import("zod").ZodString;
3469
+ timestamp: import("zod").ZodNumber;
3470
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3471
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3472
+ id: import("zod").ZodString;
3473
+ timestamp: import("zod").ZodNumber;
3474
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3475
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3476
+ id: import("zod").ZodString;
3477
+ timestamp: import("zod").ZodNumber;
3478
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3479
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
3480
+ total: import("zod").ZodNumber;
3481
+ limit: import("zod").ZodNumber;
3482
+ offset: import("zod").ZodNumber;
3483
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3484
+ }, import("zod").ZodTypeAny, "passthrough">>;
3485
+ deleteFrameExtraction(frameExtractionId: string): Promise<import("zod").objectOutputType<{
3486
+ id: import("zod").ZodString;
3487
+ }, import("zod").ZodTypeAny, "passthrough">>;
3488
+ waitForReady(frameExtractionId: string, options?: WaitForReadyOptions): Promise<import("zod").objectOutputType<{
3489
+ frame_extraction_id: import("zod").ZodString;
3490
+ status: import("zod").ZodEnum<["pending", "processing", "completed", "failed"]>;
3491
+ created_at: import("zod").ZodNumber;
3492
+ file_id: import("zod").ZodString;
3493
+ frame_extraction_config: import("zod").ZodObject<{
3494
+ strategy: import("zod").ZodLiteral<"uniform">;
3495
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
3496
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3497
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3498
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3499
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3500
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3501
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3502
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3503
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3504
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3505
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
3506
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3507
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3508
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3509
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3510
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3511
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3512
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3513
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3514
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3515
+ strategy: import("zod").ZodLiteral<"uniform">;
3516
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
3517
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3518
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3519
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3520
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3521
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3522
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3523
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3524
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3525
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3526
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
3527
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3528
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3529
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3530
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3531
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3532
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3533
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3534
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3535
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3536
+ strategy: import("zod").ZodLiteral<"uniform">;
3537
+ uniform_config: import("zod").ZodOptional<import("zod").ZodObject<{
3538
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3539
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3540
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3541
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3542
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3543
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3544
+ frames_per_second: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3545
+ max_width: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
3546
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3547
+ thumbnails_config: import("zod").ZodOptional<import("zod").ZodObject<{
3548
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3549
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3550
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3551
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3552
+ enable_frame_thumbnails: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
3553
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3554
+ start_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3555
+ end_time_seconds: import("zod").ZodOptional<import("zod").ZodNumber>;
3556
+ }, import("zod").ZodTypeAny, "passthrough">>;
3557
+ frame_count: import("zod").ZodOptional<import("zod").ZodNumber>;
3558
+ data: import("zod").ZodOptional<import("zod").ZodObject<{
3559
+ object: import("zod").ZodLiteral<"list">;
3560
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3561
+ id: import("zod").ZodString;
3562
+ timestamp: import("zod").ZodNumber;
3563
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3564
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3565
+ id: import("zod").ZodString;
3566
+ timestamp: import("zod").ZodNumber;
3567
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3568
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3569
+ id: import("zod").ZodString;
3570
+ timestamp: import("zod").ZodNumber;
3571
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3572
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
3573
+ total: import("zod").ZodNumber;
3574
+ limit: import("zod").ZodNumber;
3575
+ offset: import("zod").ZodNumber;
3576
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3577
+ object: import("zod").ZodLiteral<"list">;
3578
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3579
+ id: import("zod").ZodString;
3580
+ timestamp: import("zod").ZodNumber;
3581
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3582
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3583
+ id: import("zod").ZodString;
3584
+ timestamp: import("zod").ZodNumber;
3585
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3586
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3587
+ id: import("zod").ZodString;
3588
+ timestamp: import("zod").ZodNumber;
3589
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3590
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
3591
+ total: import("zod").ZodNumber;
3592
+ limit: import("zod").ZodNumber;
3593
+ offset: import("zod").ZodNumber;
3594
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3595
+ object: import("zod").ZodLiteral<"list">;
3596
+ frames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3597
+ id: import("zod").ZodString;
3598
+ timestamp: import("zod").ZodNumber;
3599
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3600
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
3601
+ id: import("zod").ZodString;
3602
+ timestamp: import("zod").ZodNumber;
3603
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3604
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
3605
+ id: import("zod").ZodString;
3606
+ timestamp: import("zod").ZodNumber;
3607
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
3608
+ }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
3609
+ total: import("zod").ZodNumber;
3610
+ limit: import("zod").ZodNumber;
3611
+ offset: import("zod").ZodNumber;
3612
+ }, import("zod").ZodTypeAny, "passthrough">>>;
3613
+ }, import("zod").ZodTypeAny, "passthrough">>;
3614
+ }
3615
+ declare class EnhancedFaceDetectionApi {
3616
+ private readonly api;
3617
+ constructor(api: typeof Face_DetectionApi);
3618
+ createFaceDetection(params: {
3619
+ url: string;
3620
+ frame_extraction_id?: string;
3621
+ frame_extraction_config?: FrameExtractionConfig;
3622
+ }): Promise<{
3623
+ face_detection_id: string;
3624
+ frame_extraction_id?: string | undefined;
3625
+ file_id?: string | undefined;
3626
+ status: "pending" | "processing" | "completed" | "failed";
3627
+ created_at: number;
3628
+ data?: Partial<{
3629
+ object: "list";
3630
+ total: number;
3631
+ limit: number;
3632
+ offset: number;
3633
+ faces: Array<{
3634
+ id: string;
3635
+ face_bounding_box: import("../generated/common").FaceBoundingBox;
3636
+ frame_id: string;
3637
+ timestamp: number;
3638
+ thumbnail_url?: string | undefined;
3639
+ }>;
3640
+ }> | undefined;
3641
+ }>;
3642
+ getFaceDetection(faceDetectionId: string, params?: {
3643
+ limit?: number;
3644
+ offset?: number;
3645
+ }): Promise<{
3646
+ face_detection_id: string;
3647
+ frame_extraction_id?: string | undefined;
3648
+ file_id?: string | undefined;
3649
+ status: "pending" | "processing" | "completed" | "failed";
3650
+ created_at: number;
3651
+ data?: Partial<{
3652
+ object: "list";
3653
+ total: number;
3654
+ limit: number;
3655
+ offset: number;
3656
+ faces: Array<{
3657
+ id: string;
3658
+ face_bounding_box: import("../generated/common").FaceBoundingBox;
3659
+ frame_id: string;
3660
+ timestamp: number;
3661
+ thumbnail_url?: string | undefined;
3662
+ }>;
3663
+ }> | undefined;
3664
+ }>;
3665
+ deleteFaceDetection(faceDetectionId: string): Promise<import("zod").objectOutputType<{
3666
+ id: import("zod").ZodString;
3667
+ }, import("zod").ZodTypeAny, "passthrough">>;
3668
+ waitForReady(faceDetectionId: string, options?: WaitForReadyOptions): Promise<{
3669
+ face_detection_id: string;
3670
+ frame_extraction_id?: string | undefined;
3671
+ file_id?: string | undefined;
3672
+ status: "pending" | "processing" | "completed" | "failed";
3673
+ created_at: number;
3674
+ data?: Partial<{
3675
+ object: "list";
3676
+ total: number;
3677
+ limit: number;
3678
+ offset: number;
3679
+ faces: Array<{
3680
+ id: string;
3681
+ face_bounding_box: import("../generated/common").FaceBoundingBox;
3682
+ frame_id: string;
3683
+ timestamp: number;
3684
+ thumbnail_url?: string | undefined;
3685
+ }>;
3686
+ }> | undefined;
3687
+ }>;
3688
+ }
3689
+ declare class EnhancedFaceMatchApi {
3690
+ private readonly api;
3691
+ constructor(api: typeof Face_MatchApi);
3692
+ createFaceMatch(params: {
3693
+ source_image: {
3694
+ url?: string;
3695
+ base64_image?: string;
3696
+ file_path?: string;
3697
+ };
3698
+ target_video_url: string;
3699
+ max_faces?: number;
3700
+ face_detection_id?: string;
3701
+ frame_extraction_id?: string;
3702
+ frame_extraction_config?: FrameExtractionConfig;
3703
+ }): Promise<{
3704
+ face_match_id: string;
3705
+ face_detection_id?: string | undefined;
3706
+ frame_extraction_id?: string | undefined;
3707
+ file_id?: string | undefined;
3708
+ status: "pending" | "processing" | "completed" | "failed";
3709
+ created_at: number;
3710
+ source_face_bounding_box?: (import("../generated/common").FaceBoundingBox | null) | undefined;
3711
+ data?: Partial<{
3712
+ object: "list";
3713
+ total: number;
3714
+ limit: number;
3715
+ offset: number;
3716
+ faces_matches: Array<{
3717
+ id: string;
3718
+ face_bounding_box: import("../generated/common").FaceBoundingBox;
3719
+ similarity: number;
3720
+ frame_id: string;
3721
+ timestamp: number;
3722
+ thumbnail_url?: string | undefined;
3723
+ }>;
3724
+ }> | undefined;
3725
+ }>;
3726
+ getFaceMatch(faceMatchId: string, params?: {
3727
+ limit?: number;
3728
+ offset?: number;
3729
+ }): Promise<{
3730
+ face_match_id: string;
3731
+ face_detection_id?: string | undefined;
3732
+ frame_extraction_id?: string | undefined;
3733
+ file_id?: string | undefined;
3734
+ status: "pending" | "processing" | "completed" | "failed";
3735
+ created_at: number;
3736
+ source_face_bounding_box?: (import("../generated/common").FaceBoundingBox | null) | undefined;
3737
+ data?: Partial<{
3738
+ object: "list";
3739
+ total: number;
3740
+ limit: number;
3741
+ offset: number;
3742
+ faces_matches: Array<{
3743
+ id: string;
3744
+ face_bounding_box: import("../generated/common").FaceBoundingBox;
3745
+ similarity: number;
3746
+ frame_id: string;
3747
+ timestamp: number;
3748
+ thumbnail_url?: string | undefined;
3749
+ }>;
3750
+ }> | undefined;
3751
+ }>;
3752
+ deleteFaceMatch(faceMatchId: string): Promise<import("zod").objectOutputType<{
3753
+ face_match_id: import("zod").ZodString;
3754
+ object: import("zod").ZodLiteral<"face_match">;
3755
+ }, import("zod").ZodTypeAny, "passthrough">>;
3756
+ waitForReady(faceMatchId: string, options?: WaitForReadyOptions): Promise<{
3757
+ face_match_id: string;
3758
+ face_detection_id?: string | undefined;
3759
+ frame_extraction_id?: string | undefined;
3760
+ file_id?: string | undefined;
3761
+ status: "pending" | "processing" | "completed" | "failed";
3762
+ created_at: number;
3763
+ source_face_bounding_box?: (import("../generated/common").FaceBoundingBox | null) | undefined;
3764
+ data?: Partial<{
3765
+ object: "list";
3766
+ total: number;
3767
+ limit: number;
3768
+ offset: number;
3769
+ faces_matches: Array<{
3770
+ id: string;
3771
+ face_bounding_box: import("../generated/common").FaceBoundingBox;
3772
+ similarity: number;
3773
+ frame_id: string;
3774
+ timestamp: number;
3775
+ thumbnail_url?: string | undefined;
3776
+ }>;
3777
+ }> | undefined;
3778
+ }>;
3779
+ }
3111
3780
  /**
3112
3781
  * Main CloudGlue client class that provides access to all API functionality
3113
3782
  * through enhanced, user-friendly interfaces
@@ -3157,6 +3826,26 @@ export declare class CloudGlue {
3157
3826
  */
3158
3827
  readonly describe: EnhancedDescribeApi;
3159
3828
  readonly segments: EnhancedSegmentsApi;
3829
+ /**
3830
+ * Frames API for managing frame extractions
3831
+ * Provides methods for extracting and managing video frames
3832
+ */
3833
+ readonly frames: EnhancedFramesApi;
3834
+ /**
3835
+ * Face Detection API for detecting faces in videos
3836
+ * Provides methods for analyzing videos to detect faces
3837
+ */
3838
+ readonly faceDetection: EnhancedFaceDetectionApi;
3839
+ /**
3840
+ * Face Match API for matching faces across videos
3841
+ * Provides methods for finding specific faces in videos
3842
+ */
3843
+ readonly faceMatch: EnhancedFaceMatchApi;
3844
+ /**
3845
+ * Webhooks API for managing webhooks
3846
+ * Provides methods for creating and managing webhooks
3847
+ */
3848
+ readonly webhooks: EnhancedWebhooksApi;
3160
3849
  constructor(config?: CloudGlueConfig);
3161
3850
  }
3162
3851
  export {};