@simonpeacocks/peacockery-voice-client 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/schema.d.ts +95 -3
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -851,13 +851,16 @@ export interface paths {
851
851
  "application/json": {
852
852
  /** @enum {string} */
853
853
  alignment: "mfa";
854
+ automatic_transcription_languages: "en"[];
854
855
  /** @enum {string} */
855
856
  diarization: "nemotron-3";
856
857
  languages: ("en" | "zh")[];
858
+ max_duration_seconds: null;
857
859
  /** @enum {number} */
858
- max_duration_seconds: 900;
860
+ max_speakers: 8;
861
+ max_upload_bytes: null;
859
862
  /** @enum {number} */
860
- max_upload_bytes: 268435456;
863
+ result_retention_seconds: 86400;
861
864
  /** @enum {string} */
862
865
  speaker_identity: "anonymous_recording_local";
863
866
  /** @enum {boolean} */
@@ -2357,6 +2360,84 @@ export interface paths {
2357
2360
  patch?: never;
2358
2361
  trace?: never;
2359
2362
  };
2363
+ "/v1/uploads/{upload_id}/transfer": {
2364
+ parameters: {
2365
+ query?: never;
2366
+ header?: never;
2367
+ path?: never;
2368
+ cookie?: never;
2369
+ };
2370
+ get?: never;
2371
+ put?: never;
2372
+ /** Renew an upload transfer URL */
2373
+ post: {
2374
+ parameters: {
2375
+ query?: never;
2376
+ header?: never;
2377
+ path: {
2378
+ upload_id: string;
2379
+ };
2380
+ cookie?: never;
2381
+ };
2382
+ requestBody: {
2383
+ content: {
2384
+ "application/json": components["schemas"]["UploadTransferRefreshRequest"];
2385
+ };
2386
+ };
2387
+ responses: {
2388
+ /** @description Renewed transfer URL for the owned pending upload. Multipart requests renew one selected part. */
2389
+ 200: {
2390
+ headers: {
2391
+ [name: string]: unknown;
2392
+ };
2393
+ content: {
2394
+ "application/json": components["schemas"]["UploadReservationResponse"];
2395
+ };
2396
+ };
2397
+ /** @description Invalid part selection. */
2398
+ 400: {
2399
+ headers: {
2400
+ [name: string]: unknown;
2401
+ };
2402
+ content: {
2403
+ "application/json": components["schemas"]["ErrorResponse"];
2404
+ };
2405
+ };
2406
+ /** @description Unauthorized. */
2407
+ 401: {
2408
+ headers: {
2409
+ [name: string]: unknown;
2410
+ };
2411
+ content: {
2412
+ "application/json": components["schemas"]["ErrorResponse"];
2413
+ };
2414
+ };
2415
+ /** @description Upload unavailable. */
2416
+ 404: {
2417
+ headers: {
2418
+ [name: string]: unknown;
2419
+ };
2420
+ content: {
2421
+ "application/json": components["schemas"]["ErrorResponse"];
2422
+ };
2423
+ };
2424
+ /** @description Upload already completed. */
2425
+ 409: {
2426
+ headers: {
2427
+ [name: string]: unknown;
2428
+ };
2429
+ content: {
2430
+ "application/json": components["schemas"]["ErrorResponse"];
2431
+ };
2432
+ };
2433
+ };
2434
+ };
2435
+ delete?: never;
2436
+ options?: never;
2437
+ head?: never;
2438
+ patch?: never;
2439
+ trace?: never;
2440
+ };
2360
2441
  "/v1/usage/daily": {
2361
2442
  parameters: {
2362
2443
  query?: never;
@@ -2466,6 +2547,9 @@ export interface components {
2466
2547
  };
2467
2548
  upload_id: string;
2468
2549
  };
2550
+ UploadTransferRefreshRequest: {
2551
+ part_number?: number;
2552
+ };
2469
2553
  UploadReservationRequest: {
2470
2554
  content_type: string;
2471
2555
  filename?: string;
@@ -2778,6 +2862,13 @@ export interface components {
2778
2862
  processing_seconds: number;
2779
2863
  rejected_intervals: number;
2780
2864
  runtime: string;
2865
+ segmentation?: {
2866
+ boundary_context_seconds: number;
2867
+ chunk_count: number;
2868
+ /** @enum {string} */
2869
+ method: "mfa_transcript_vad" | "cohere_vad_windows";
2870
+ vad_revision: string;
2871
+ };
2781
2872
  /** @enum {boolean} */
2782
2873
  speaker_adaptation: false;
2783
2874
  transcript_sha256: string;
@@ -2848,7 +2939,7 @@ export interface components {
2848
2939
  transcription_job_id?: string;
2849
2940
  };
2850
2941
  AnalysisRequest: {
2851
- /** @description Completed owned upload: at most 256 MiB and 900 seconds of audio */
2942
+ /** @description Completed owned upload; long recordings are processed in chunks */
2852
2943
  input_key: string;
2853
2944
  /**
2854
2945
  * @description Language-specific MFA bundle; use homogeneous-language recordings
@@ -2856,6 +2947,7 @@ export interface components {
2856
2947
  */
2857
2948
  language: "en" | "zh";
2858
2949
  session_id?: string;
2950
+ /** @description Original transcript; required for Mandarin, optional for English */
2859
2951
  transcript?: string;
2860
2952
  };
2861
2953
  SpeakerLabels: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonpeacocks/peacockery-voice-client",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Generated TypeScript client for the Peacockery Voice API",
5
5
  "repository": {
6
6
  "type": "git",