voice-router-dev 0.1.1 → 0.1.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.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,41 @@
1
+ /**
2
+ * Unified audio encoding types for Voice Router SDK
3
+ *
4
+ * These types provide strict typing for audio formats across all providers,
5
+ * preventing common bugs like passing unsupported encoding formats.
6
+ */
7
+ /**
8
+ * Unified audio encoding formats supported across providers
9
+ *
10
+ * - `linear16`: PCM 16-bit linear (universal support)
11
+ * - `mulaw`: μ-law 8-bit (Gladia, Deepgram)
12
+ * - `alaw`: A-law 8-bit (Gladia only)
13
+ * - `flac`: FLAC codec (Deepgram only)
14
+ * - `opus`: Opus codec (Deepgram only)
15
+ * - `speex`: Speex codec (Deepgram only)
16
+ * - `amr-nb`: AMR narrowband (Deepgram only)
17
+ * - `amr-wb`: AMR wideband (Deepgram only)
18
+ * - `g729`: G.729 codec (Deepgram only)
19
+ */
20
+ type AudioEncoding = "linear16" | "mulaw" | "alaw" | "flac" | "opus" | "speex" | "amr-nb" | "amr-wb" | "g729";
21
+ /**
22
+ * Standard sample rates (Hz) for audio streaming
23
+ */
24
+ type AudioSampleRate = 8000 | 16000 | 32000 | 44100 | 48000;
25
+ /**
26
+ * Standard bit depths for PCM audio
27
+ */
28
+ type AudioBitDepth = 8 | 16 | 24 | 32;
29
+ /**
30
+ * Audio channel configurations
31
+ */
32
+ type AudioChannels = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
33
+
1
34
  /**
2
35
  * Unified types for the Voice Router SDK
3
36
  * These types provide a provider-agnostic interface for transcription services
4
37
  */
38
+
5
39
  /**
6
40
  * Supported transcription providers
7
41
  */
@@ -213,14 +247,40 @@ interface AudioChunk {
213
247
  * Options for streaming transcription
214
248
  */
215
249
  interface StreamingOptions extends Omit<TranscribeOptions, "webhookUrl"> {
216
- /** Audio encoding format (e.g., 'linear16', 'mulaw') */
217
- encoding?: string;
218
- /** Sample rate in Hz (e.g., 16000, 48000) */
219
- sampleRate?: number;
220
- /** Number of audio channels (1 for mono, 2 for stereo) */
221
- channels?: number;
222
- /** Bit depth (e.g., 16, 24) */
223
- bitDepth?: number;
250
+ /**
251
+ * Audio encoding format
252
+ *
253
+ * Common formats:
254
+ * - `linear16`: PCM 16-bit (universal, recommended)
255
+ * - `mulaw`: μ-law telephony codec
256
+ * - `alaw`: A-law telephony codec
257
+ * - `flac`, `opus`, `speex`: Advanced codecs (Deepgram only)
258
+ *
259
+ * @see AudioEncoding for full list of supported formats
260
+ */
261
+ encoding?: AudioEncoding;
262
+ /**
263
+ * Sample rate in Hz
264
+ *
265
+ * Common rates: 8000, 16000, 32000, 44100, 48000
266
+ * Most providers recommend 16000 Hz for optimal quality/performance
267
+ */
268
+ sampleRate?: AudioSampleRate | number;
269
+ /**
270
+ * Number of audio channels
271
+ *
272
+ * - 1: Mono (recommended for transcription)
273
+ * - 2: Stereo
274
+ * - 3-8: Multi-channel (provider-specific support)
275
+ */
276
+ channels?: AudioChannels | number;
277
+ /**
278
+ * Bit depth for PCM audio
279
+ *
280
+ * Common depths: 8, 16, 24, 32
281
+ * 16-bit is standard for most applications
282
+ */
283
+ bitDepth?: AudioBitDepth | number;
224
284
  /** Enable interim results (partial transcripts) */
225
285
  interimResults?: boolean;
226
286
  /** Utterance end silence threshold in milliseconds */
@@ -2403,7 +2463,7 @@ declare class WebhookRouter {
2403
2463
  declare function createWebhookRouter(): WebhookRouter;
2404
2464
 
2405
2465
  /**
2406
- * Generated by orval v7.17.0 🍺
2466
+ * Generated by orval v7.9.0 🍺
2407
2467
  * Do not edit manually.
2408
2468
  * Gladia Control API
2409
2469
  * OpenAPI spec version: 1.0
@@ -2418,7 +2478,7 @@ interface AddonErrorDTO {
2418
2478
  }
2419
2479
 
2420
2480
  /**
2421
- * Generated by orval v7.17.0 🍺
2481
+ * Generated by orval v7.9.0 🍺
2422
2482
  * Do not edit manually.
2423
2483
  * Gladia Control API
2424
2484
  * OpenAPI spec version: 1.0
@@ -2439,7 +2499,20 @@ interface AudioChunkAckData {
2439
2499
  }
2440
2500
 
2441
2501
  /**
2442
- * Generated by orval v7.17.0 🍺
2502
+ * Generated by orval v7.9.0 🍺
2503
+ * Do not edit manually.
2504
+ * Gladia Control API
2505
+ * OpenAPI spec version: 1.0
2506
+ */
2507
+
2508
+ /**
2509
+ * The message data. "null" if the action was not successfully acknowledged
2510
+ * @nullable
2511
+ */
2512
+ type AudioChunkAckMessageData = AudioChunkAckData | null;
2513
+
2514
+ /**
2515
+ * Generated by orval v7.9.0 🍺
2443
2516
  * Do not edit manually.
2444
2517
  * Gladia Control API
2445
2518
  * OpenAPI spec version: 1.0
@@ -2450,7 +2523,7 @@ interface Error$2 {
2450
2523
  }
2451
2524
 
2452
2525
  /**
2453
- * Generated by orval v7.17.0 🍺
2526
+ * Generated by orval v7.9.0 🍺
2454
2527
  * Do not edit manually.
2455
2528
  * Gladia Control API
2456
2529
  * OpenAPI spec version: 1.0
@@ -2463,7 +2536,7 @@ interface Error$2 {
2463
2536
  type AudioChunkAckMessageError = Error$2 | null;
2464
2537
 
2465
2538
  /**
2466
- * Generated by orval v7.17.0 🍺
2539
+ * Generated by orval v7.9.0 🍺
2467
2540
  * Do not edit manually.
2468
2541
  * Gladia Control API
2469
2542
  * OpenAPI spec version: 1.0
@@ -2474,20 +2547,7 @@ declare const AudioChunkAckMessageType: {
2474
2547
  };
2475
2548
 
2476
2549
  /**
2477
- * Generated by orval v7.17.0 🍺
2478
- * Do not edit manually.
2479
- * Gladia Control API
2480
- * OpenAPI spec version: 1.0
2481
- */
2482
-
2483
- /**
2484
- * The message data. "null" if the action was not successfully acknowledged
2485
- * @nullable
2486
- */
2487
- type AudioChunkAckMessageData = AudioChunkAckData | null;
2488
-
2489
- /**
2490
- * Generated by orval v7.17.0 🍺
2550
+ * Generated by orval v7.9.0 🍺
2491
2551
  * Do not edit manually.
2492
2552
  * Gladia Control API
2493
2553
  * OpenAPI spec version: 1.0
@@ -2514,29 +2574,29 @@ interface AudioChunkAckMessage {
2514
2574
  }
2515
2575
 
2516
2576
  /**
2517
- * Generated by orval v7.17.0 🍺
2577
+ * Generated by orval v7.9.0 🍺
2518
2578
  * Do not edit manually.
2519
2579
  * Gladia Control API
2520
2580
  * OpenAPI spec version: 1.0
2521
2581
  */
2522
- type AudioChunkActionType = (typeof AudioChunkActionType)[keyof typeof AudioChunkActionType];
2523
- declare const AudioChunkActionType: {
2524
- readonly audio_chunk: "audio_chunk";
2525
- };
2582
+ interface AudioChunkActionData {
2583
+ /** Chunk encoded in base64. The chunk must contains complete frames */
2584
+ chunk: string;
2585
+ }
2526
2586
 
2527
2587
  /**
2528
- * Generated by orval v7.17.0 🍺
2588
+ * Generated by orval v7.9.0 🍺
2529
2589
  * Do not edit manually.
2530
2590
  * Gladia Control API
2531
2591
  * OpenAPI spec version: 1.0
2532
2592
  */
2533
- interface AudioChunkActionData {
2534
- /** Chunk encoded in base64. The chunk must contains complete frames */
2535
- chunk: string;
2536
- }
2593
+ type AudioChunkActionType = (typeof AudioChunkActionType)[keyof typeof AudioChunkActionType];
2594
+ declare const AudioChunkActionType: {
2595
+ readonly audio_chunk: "audio_chunk";
2596
+ };
2537
2597
 
2538
2598
  /**
2539
- * Generated by orval v7.17.0 🍺
2599
+ * Generated by orval v7.9.0 🍺
2540
2600
  * Do not edit manually.
2541
2601
  * Gladia Control API
2542
2602
  * OpenAPI spec version: 1.0
@@ -2549,7 +2609,7 @@ interface AudioChunkAction {
2549
2609
  }
2550
2610
 
2551
2611
  /**
2552
- * Generated by orval v7.17.0 🍺
2612
+ * Generated by orval v7.9.0 🍺
2553
2613
  * Do not edit manually.
2554
2614
  * Gladia Control API
2555
2615
  * OpenAPI spec version: 1.0
@@ -2562,7 +2622,7 @@ interface AudioChunkAction {
2562
2622
  type AudioToLlmDTOError = AddonErrorDTO | null;
2563
2623
 
2564
2624
  /**
2565
- * Generated by orval v7.17.0 🍺
2625
+ * Generated by orval v7.9.0 🍺
2566
2626
  * Do not edit manually.
2567
2627
  * Gladia Control API
2568
2628
  * OpenAPI spec version: 1.0
@@ -2581,7 +2641,7 @@ interface AudioToLlmResultDTO {
2581
2641
  }
2582
2642
 
2583
2643
  /**
2584
- * Generated by orval v7.17.0 🍺
2644
+ * Generated by orval v7.9.0 🍺
2585
2645
  * Do not edit manually.
2586
2646
  * Gladia Control API
2587
2647
  * OpenAPI spec version: 1.0
@@ -2594,7 +2654,7 @@ interface AudioToLlmResultDTO {
2594
2654
  type AudioToLlmDTOResults = AudioToLlmResultDTO | null;
2595
2655
 
2596
2656
  /**
2597
- * Generated by orval v7.17.0 🍺
2657
+ * Generated by orval v7.9.0 🍺
2598
2658
  * Do not edit manually.
2599
2659
  * Gladia Control API
2600
2660
  * OpenAPI spec version: 1.0
@@ -2620,7 +2680,7 @@ interface AudioToLlmDTO {
2620
2680
  }
2621
2681
 
2622
2682
  /**
2623
- * Generated by orval v7.17.0 🍺
2683
+ * Generated by orval v7.9.0 🍺
2624
2684
  * Do not edit manually.
2625
2685
  * Gladia Control API
2626
2686
  * OpenAPI spec version: 1.0
@@ -2634,7 +2694,7 @@ interface AudioToLlmListConfigDTO {
2634
2694
  }
2635
2695
 
2636
2696
  /**
2637
- * Generated by orval v7.17.0 🍺
2697
+ * Generated by orval v7.9.0 🍺
2638
2698
  * Do not edit manually.
2639
2699
  * Gladia Control API
2640
2700
  * OpenAPI spec version: 1.0
@@ -2647,7 +2707,7 @@ interface AudioToLlmListConfigDTO {
2647
2707
  type AudioToLlmListDTOError = AddonErrorDTO | null;
2648
2708
 
2649
2709
  /**
2650
- * Generated by orval v7.17.0 🍺
2710
+ * Generated by orval v7.9.0 🍺
2651
2711
  * Do not edit manually.
2652
2712
  * Gladia Control API
2653
2713
  * OpenAPI spec version: 1.0
@@ -2673,20 +2733,7 @@ interface AudioToLlmListDTO {
2673
2733
  }
2674
2734
 
2675
2735
  /**
2676
- * Generated by orval v7.17.0 🍺
2677
- * Do not edit manually.
2678
- * Gladia Control API
2679
- * OpenAPI spec version: 1.0
2680
- */
2681
- type AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour = (typeof AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour)[keyof typeof AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour];
2682
- declare const AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour: {
2683
- readonly automatic_single_language: "automatic single language";
2684
- readonly automatic_multiple_languages: "automatic multiple languages";
2685
- readonly manual: "manual";
2686
- };
2687
-
2688
- /**
2689
- * Generated by orval v7.17.0 🍺
2736
+ * Generated by orval v7.9.0 🍺
2690
2737
  * Do not edit manually.
2691
2738
  * Gladia Control API
2692
2739
  * OpenAPI spec version: 1.0
@@ -2795,7 +2842,35 @@ declare const AudioToTextControllerAudioTranscriptionBodyLanguage: {
2795
2842
  };
2796
2843
 
2797
2844
  /**
2798
- * Generated by orval v7.17.0 🍺
2845
+ * Generated by orval v7.9.0 🍺
2846
+ * Do not edit manually.
2847
+ * Gladia Control API
2848
+ * OpenAPI spec version: 1.0
2849
+ */
2850
+ type AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour = (typeof AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour)[keyof typeof AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour];
2851
+ declare const AudioToTextControllerAudioTranscriptionBodyLanguageBehaviour: {
2852
+ readonly automatic_single_language: "automatic single language";
2853
+ readonly automatic_multiple_languages: "automatic multiple languages";
2854
+ readonly manual: "manual";
2855
+ };
2856
+
2857
+ /**
2858
+ * Generated by orval v7.9.0 🍺
2859
+ * Do not edit manually.
2860
+ * Gladia Control API
2861
+ * OpenAPI spec version: 1.0
2862
+ */
2863
+ type AudioToTextControllerAudioTranscriptionBodyOutputFormat = (typeof AudioToTextControllerAudioTranscriptionBodyOutputFormat)[keyof typeof AudioToTextControllerAudioTranscriptionBodyOutputFormat];
2864
+ declare const AudioToTextControllerAudioTranscriptionBodyOutputFormat: {
2865
+ readonly json: "json";
2866
+ readonly srt: "srt";
2867
+ readonly vtt: "vtt";
2868
+ readonly plain: "plain";
2869
+ readonly txt: "txt";
2870
+ };
2871
+
2872
+ /**
2873
+ * Generated by orval v7.9.0 🍺
2799
2874
  * Do not edit manually.
2800
2875
  * Gladia Control API
2801
2876
  * OpenAPI spec version: 1.0
@@ -2905,22 +2980,7 @@ declare const AudioToTextControllerAudioTranscriptionBodyTargetTranslationLangua
2905
2980
  };
2906
2981
 
2907
2982
  /**
2908
- * Generated by orval v7.17.0 🍺
2909
- * Do not edit manually.
2910
- * Gladia Control API
2911
- * OpenAPI spec version: 1.0
2912
- */
2913
- type AudioToTextControllerAudioTranscriptionBodyOutputFormat = (typeof AudioToTextControllerAudioTranscriptionBodyOutputFormat)[keyof typeof AudioToTextControllerAudioTranscriptionBodyOutputFormat];
2914
- declare const AudioToTextControllerAudioTranscriptionBodyOutputFormat: {
2915
- readonly json: "json";
2916
- readonly srt: "srt";
2917
- readonly vtt: "vtt";
2918
- readonly plain: "plain";
2919
- readonly txt: "txt";
2920
- };
2921
-
2922
- /**
2923
- * Generated by orval v7.17.0 🍺
2983
+ * Generated by orval v7.9.0 🍺
2924
2984
  * Do not edit manually.
2925
2985
  * Gladia Control API
2926
2986
  * OpenAPI spec version: 1.0
@@ -2945,7 +3005,7 @@ type AudioToTextControllerAudioTranscriptionBody = {
2945
3005
  };
2946
3006
 
2947
3007
  /**
2948
- * Generated by orval v7.17.0 🍺
3008
+ * Generated by orval v7.9.0 🍺
2949
3009
  * Do not edit manually.
2950
3010
  * Gladia Control API
2951
3011
  * OpenAPI spec version: 1.0
@@ -2968,7 +3028,7 @@ interface AudioUploadMetadataDTO {
2968
3028
  }
2969
3029
 
2970
3030
  /**
2971
- * Generated by orval v7.17.0 🍺
3031
+ * Generated by orval v7.9.0 🍺
2972
3032
  * Do not edit manually.
2973
3033
  * Gladia Control API
2974
3034
  * OpenAPI spec version: 1.0
@@ -2982,7 +3042,7 @@ interface AudioUploadResponse {
2982
3042
  }
2983
3043
 
2984
3044
  /**
2985
- * Generated by orval v7.17.0 🍺
3045
+ * Generated by orval v7.9.0 🍺
2986
3046
  * Do not edit manually.
2987
3047
  * Gladia Control API
2988
3048
  * OpenAPI spec version: 1.0
@@ -3003,7 +3063,7 @@ interface BadRequestErrorResponse {
3003
3063
  }
3004
3064
 
3005
3065
  /**
3006
- * Generated by orval v7.17.0 🍺
3066
+ * Generated by orval v7.9.0 🍺
3007
3067
  * Do not edit manually.
3008
3068
  * Gladia Control API
3009
3069
  * OpenAPI spec version: 1.0
@@ -3032,7 +3092,7 @@ interface CallbackConfig {
3032
3092
  }
3033
3093
 
3034
3094
  /**
3035
- * Generated by orval v7.17.0 🍺
3095
+ * Generated by orval v7.9.0 🍺
3036
3096
  * Do not edit manually.
3037
3097
  * Gladia Control API
3038
3098
  * OpenAPI spec version: 1.0
@@ -3047,7 +3107,7 @@ declare const CallbackMethodEnum: {
3047
3107
  };
3048
3108
 
3049
3109
  /**
3050
- * Generated by orval v7.17.0 🍺
3110
+ * Generated by orval v7.9.0 🍺
3051
3111
  * Do not edit manually.
3052
3112
  * Gladia Control API
3053
3113
  * OpenAPI spec version: 1.0
@@ -3061,7 +3121,7 @@ interface CallbackConfigDto {
3061
3121
  }
3062
3122
 
3063
3123
  /**
3064
- * Generated by orval v7.17.0 🍺
3124
+ * Generated by orval v7.9.0 🍺
3065
3125
  * Do not edit manually.
3066
3126
  * Gladia Control API
3067
3127
  * OpenAPI spec version: 1.0
@@ -3072,7 +3132,7 @@ declare const CallbackLiveAudioChunkAckMessageEvent: {
3072
3132
  };
3073
3133
 
3074
3134
  /**
3075
- * Generated by orval v7.17.0 🍺
3135
+ * Generated by orval v7.9.0 🍺
3076
3136
  * Do not edit manually.
3077
3137
  * Gladia Control API
3078
3138
  * OpenAPI spec version: 1.0
@@ -3087,7 +3147,7 @@ interface CallbackLiveAudioChunkAckMessage {
3087
3147
  }
3088
3148
 
3089
3149
  /**
3090
- * Generated by orval v7.17.0 🍺
3150
+ * Generated by orval v7.9.0 🍺
3091
3151
  * Do not edit manually.
3092
3152
  * Gladia Control API
3093
3153
  * OpenAPI spec version: 1.0
@@ -3098,29 +3158,29 @@ declare const CallbackLiveEndRecordingMessageEvent: {
3098
3158
  };
3099
3159
 
3100
3160
  /**
3101
- * Generated by orval v7.17.0 🍺
3161
+ * Generated by orval v7.9.0 🍺
3102
3162
  * Do not edit manually.
3103
3163
  * Gladia Control API
3104
3164
  * OpenAPI spec version: 1.0
3105
3165
  */
3106
- type EndRecordingMessageType = (typeof EndRecordingMessageType)[keyof typeof EndRecordingMessageType];
3107
- declare const EndRecordingMessageType: {
3108
- readonly end_recording: "end_recording";
3109
- };
3166
+ interface EndRecordingMessageData {
3167
+ /** Total audio duration in seconds */
3168
+ recording_duration: number;
3169
+ }
3110
3170
 
3111
3171
  /**
3112
- * Generated by orval v7.17.0 🍺
3172
+ * Generated by orval v7.9.0 🍺
3113
3173
  * Do not edit manually.
3114
3174
  * Gladia Control API
3115
3175
  * OpenAPI spec version: 1.0
3116
3176
  */
3117
- interface EndRecordingMessageData {
3118
- /** Total audio duration in seconds */
3119
- recording_duration: number;
3120
- }
3177
+ type EndRecordingMessageType = (typeof EndRecordingMessageType)[keyof typeof EndRecordingMessageType];
3178
+ declare const EndRecordingMessageType: {
3179
+ readonly end_recording: "end_recording";
3180
+ };
3121
3181
 
3122
3182
  /**
3123
- * Generated by orval v7.17.0 🍺
3183
+ * Generated by orval v7.9.0 🍺
3124
3184
  * Do not edit manually.
3125
3185
  * Gladia Control API
3126
3186
  * OpenAPI spec version: 1.0
@@ -3137,7 +3197,7 @@ interface EndRecordingMessage {
3137
3197
  }
3138
3198
 
3139
3199
  /**
3140
- * Generated by orval v7.17.0 🍺
3200
+ * Generated by orval v7.9.0 🍺
3141
3201
  * Do not edit manually.
3142
3202
  * Gladia Control API
3143
3203
  * OpenAPI spec version: 1.0
@@ -3152,7 +3212,7 @@ interface CallbackLiveEndRecordingMessage {
3152
3212
  }
3153
3213
 
3154
3214
  /**
3155
- * Generated by orval v7.17.0 🍺
3215
+ * Generated by orval v7.9.0 🍺
3156
3216
  * Do not edit manually.
3157
3217
  * Gladia Control API
3158
3218
  * OpenAPI spec version: 1.0
@@ -3163,7 +3223,7 @@ declare const CallbackLiveEndSessionMessageEvent: {
3163
3223
  };
3164
3224
 
3165
3225
  /**
3166
- * Generated by orval v7.17.0 🍺
3226
+ * Generated by orval v7.9.0 🍺
3167
3227
  * Do not edit manually.
3168
3228
  * Gladia Control API
3169
3229
  * OpenAPI spec version: 1.0
@@ -3174,7 +3234,7 @@ declare const EndSessionMessageType: {
3174
3234
  };
3175
3235
 
3176
3236
  /**
3177
- * Generated by orval v7.17.0 🍺
3237
+ * Generated by orval v7.9.0 🍺
3178
3238
  * Do not edit manually.
3179
3239
  * Gladia Control API
3180
3240
  * OpenAPI spec version: 1.0
@@ -3189,7 +3249,7 @@ interface EndSessionMessage {
3189
3249
  }
3190
3250
 
3191
3251
  /**
3192
- * Generated by orval v7.17.0 🍺
3252
+ * Generated by orval v7.9.0 🍺
3193
3253
  * Do not edit manually.
3194
3254
  * Gladia Control API
3195
3255
  * OpenAPI spec version: 1.0
@@ -3204,7 +3264,7 @@ interface CallbackLiveEndSessionMessage {
3204
3264
  }
3205
3265
 
3206
3266
  /**
3207
- * Generated by orval v7.17.0 🍺
3267
+ * Generated by orval v7.9.0 🍺
3208
3268
  * Do not edit manually.
3209
3269
  * Gladia Control API
3210
3270
  * OpenAPI spec version: 1.0
@@ -3215,48 +3275,20 @@ declare const CallbackLiveNamedEntityRecognitionMessageEvent: {
3215
3275
  };
3216
3276
 
3217
3277
  /**
3218
- * Generated by orval v7.17.0 🍺
3219
- * Do not edit manually.
3220
- * Gladia Control API
3221
- * OpenAPI spec version: 1.0
3222
- */
3223
-
3224
- /**
3225
- * Error message if the addon failed
3226
- * @nullable
3227
- */
3228
- type NamedEntityRecognitionMessageError = Error$2 | null;
3229
-
3230
- /**
3231
- * Generated by orval v7.17.0 🍺
3232
- * Do not edit manually.
3233
- * Gladia Control API
3234
- * OpenAPI spec version: 1.0
3235
- */
3236
- type NamedEntityRecognitionMessageType = (typeof NamedEntityRecognitionMessageType)[keyof typeof NamedEntityRecognitionMessageType];
3237
- declare const NamedEntityRecognitionMessageType: {
3238
- readonly named_entity_recognition: "named_entity_recognition";
3239
- };
3240
-
3241
- /**
3242
- * Generated by orval v7.17.0 🍺
3278
+ * Generated by orval v7.9.0 🍺
3243
3279
  * Do not edit manually.
3244
3280
  * Gladia Control API
3245
3281
  * OpenAPI spec version: 1.0
3246
3282
  */
3247
- interface WordDTO {
3248
- /** Spoken word */
3249
- word: string;
3250
- /** Start timestamps in seconds of the spoken word */
3283
+ interface NamedEntityRecognitionResult {
3284
+ entity_type: string;
3285
+ text: string;
3251
3286
  start: number;
3252
- /** End timestamps in seconds of the spoken word */
3253
3287
  end: number;
3254
- /** Confidence on the transcribed word (1 = 100% confident) */
3255
- confidence: number;
3256
3288
  }
3257
3289
 
3258
3290
  /**
3259
- * Generated by orval v7.17.0 🍺
3291
+ * Generated by orval v7.9.0 🍺
3260
3292
  * Do not edit manually.
3261
3293
  * Gladia Control API
3262
3294
  * OpenAPI spec version: 1.0
@@ -3368,7 +3400,24 @@ declare const TranscriptionLanguageCodeEnum: {
3368
3400
  };
3369
3401
 
3370
3402
  /**
3371
- * Generated by orval v7.17.0 🍺
3403
+ * Generated by orval v7.9.0 🍺
3404
+ * Do not edit manually.
3405
+ * Gladia Control API
3406
+ * OpenAPI spec version: 1.0
3407
+ */
3408
+ interface WordDTO {
3409
+ /** Spoken word */
3410
+ word: string;
3411
+ /** Start timestamps in seconds of the spoken word */
3412
+ start: number;
3413
+ /** End timestamps in seconds of the spoken word */
3414
+ end: number;
3415
+ /** Confidence on the transcribed word (1 = 100% confident) */
3416
+ confidence: number;
3417
+ }
3418
+
3419
+ /**
3420
+ * Generated by orval v7.9.0 🍺
3372
3421
  * Do not edit manually.
3373
3422
  * Gladia Control API
3374
3423
  * OpenAPI spec version: 1.0
@@ -3400,20 +3449,7 @@ interface UtteranceDTO {
3400
3449
  }
3401
3450
 
3402
3451
  /**
3403
- * Generated by orval v7.17.0 🍺
3404
- * Do not edit manually.
3405
- * Gladia Control API
3406
- * OpenAPI spec version: 1.0
3407
- */
3408
- interface NamedEntityRecognitionResult {
3409
- entity_type: string;
3410
- text: string;
3411
- start: number;
3412
- end: number;
3413
- }
3414
-
3415
- /**
3416
- * Generated by orval v7.17.0 🍺
3452
+ * Generated by orval v7.9.0 🍺
3417
3453
  * Do not edit manually.
3418
3454
  * Gladia Control API
3419
3455
  * OpenAPI spec version: 1.0
@@ -3429,7 +3465,7 @@ interface NamedEntityRecognitionData {
3429
3465
  }
3430
3466
 
3431
3467
  /**
3432
- * Generated by orval v7.17.0 🍺
3468
+ * Generated by orval v7.9.0 🍺
3433
3469
  * Do not edit manually.
3434
3470
  * Gladia Control API
3435
3471
  * OpenAPI spec version: 1.0
@@ -3442,23 +3478,47 @@ interface NamedEntityRecognitionData {
3442
3478
  type NamedEntityRecognitionMessageData = NamedEntityRecognitionData | null;
3443
3479
 
3444
3480
  /**
3445
- * Generated by orval v7.17.0 🍺
3481
+ * Generated by orval v7.9.0 🍺
3446
3482
  * Do not edit manually.
3447
3483
  * Gladia Control API
3448
3484
  * OpenAPI spec version: 1.0
3449
3485
  */
3450
3486
 
3451
- interface NamedEntityRecognitionMessage {
3452
- /** Id of the live session */
3453
- session_id: string;
3454
- /** Date of creation of the message. The date is formatted as an ISO 8601 string */
3455
- created_at: string;
3456
- /**
3457
- * Error message if the addon failed
3458
- * @nullable
3459
- */
3460
- error: NamedEntityRecognitionMessageError;
3461
- type: NamedEntityRecognitionMessageType;
3487
+ /**
3488
+ * Error message if the addon failed
3489
+ * @nullable
3490
+ */
3491
+ type NamedEntityRecognitionMessageError = Error$2 | null;
3492
+
3493
+ /**
3494
+ * Generated by orval v7.9.0 🍺
3495
+ * Do not edit manually.
3496
+ * Gladia Control API
3497
+ * OpenAPI spec version: 1.0
3498
+ */
3499
+ type NamedEntityRecognitionMessageType = (typeof NamedEntityRecognitionMessageType)[keyof typeof NamedEntityRecognitionMessageType];
3500
+ declare const NamedEntityRecognitionMessageType: {
3501
+ readonly named_entity_recognition: "named_entity_recognition";
3502
+ };
3503
+
3504
+ /**
3505
+ * Generated by orval v7.9.0 🍺
3506
+ * Do not edit manually.
3507
+ * Gladia Control API
3508
+ * OpenAPI spec version: 1.0
3509
+ */
3510
+
3511
+ interface NamedEntityRecognitionMessage {
3512
+ /** Id of the live session */
3513
+ session_id: string;
3514
+ /** Date of creation of the message. The date is formatted as an ISO 8601 string */
3515
+ created_at: string;
3516
+ /**
3517
+ * Error message if the addon failed
3518
+ * @nullable
3519
+ */
3520
+ error: NamedEntityRecognitionMessageError;
3521
+ type: NamedEntityRecognitionMessageType;
3462
3522
  /**
3463
3523
  * The message data. "null" if the addon failed
3464
3524
  * @nullable
@@ -3467,7 +3527,7 @@ interface NamedEntityRecognitionMessage {
3467
3527
  }
3468
3528
 
3469
3529
  /**
3470
- * Generated by orval v7.17.0 🍺
3530
+ * Generated by orval v7.9.0 🍺
3471
3531
  * Do not edit manually.
3472
3532
  * Gladia Control API
3473
3533
  * OpenAPI spec version: 1.0
@@ -3482,7 +3542,7 @@ interface CallbackLiveNamedEntityRecognitionMessage {
3482
3542
  }
3483
3543
 
3484
3544
  /**
3485
- * Generated by orval v7.17.0 🍺
3545
+ * Generated by orval v7.9.0 🍺
3486
3546
  * Do not edit manually.
3487
3547
  * Gladia Control API
3488
3548
  * OpenAPI spec version: 1.0
@@ -3493,31 +3553,7 @@ declare const CallbackLivePostChapterizationMessageEvent: {
3493
3553
  };
3494
3554
 
3495
3555
  /**
3496
- * Generated by orval v7.17.0 🍺
3497
- * Do not edit manually.
3498
- * Gladia Control API
3499
- * OpenAPI spec version: 1.0
3500
- */
3501
-
3502
- /**
3503
- * Error message if the addon failed
3504
- * @nullable
3505
- */
3506
- type PostChapterizationMessageError = Error$2 | null;
3507
-
3508
- /**
3509
- * Generated by orval v7.17.0 🍺
3510
- * Do not edit manually.
3511
- * Gladia Control API
3512
- * OpenAPI spec version: 1.0
3513
- */
3514
- type PostChapterizationMessageType = (typeof PostChapterizationMessageType)[keyof typeof PostChapterizationMessageType];
3515
- declare const PostChapterizationMessageType: {
3516
- readonly post_chapterization: "post_chapterization";
3517
- };
3518
-
3519
- /**
3520
- * Generated by orval v7.17.0 🍺
3556
+ * Generated by orval v7.9.0 🍺
3521
3557
  * Do not edit manually.
3522
3558
  * Gladia Control API
3523
3559
  * OpenAPI spec version: 1.0
@@ -3531,7 +3567,7 @@ interface ChapterizationSentence {
3531
3567
  }
3532
3568
 
3533
3569
  /**
3534
- * Generated by orval v7.17.0 🍺
3570
+ * Generated by orval v7.9.0 🍺
3535
3571
  * Do not edit manually.
3536
3572
  * Gladia Control API
3537
3573
  * OpenAPI spec version: 1.0
@@ -3551,7 +3587,7 @@ interface PostChapterizationResult {
3551
3587
  }
3552
3588
 
3553
3589
  /**
3554
- * Generated by orval v7.17.0 🍺
3590
+ * Generated by orval v7.9.0 🍺
3555
3591
  * Do not edit manually.
3556
3592
  * Gladia Control API
3557
3593
  * OpenAPI spec version: 1.0
@@ -3563,7 +3599,7 @@ interface PostChapterizationMessageData {
3563
3599
  }
3564
3600
 
3565
3601
  /**
3566
- * Generated by orval v7.17.0 🍺
3602
+ * Generated by orval v7.9.0 🍺
3567
3603
  * Do not edit manually.
3568
3604
  * Gladia Control API
3569
3605
  * OpenAPI spec version: 1.0
@@ -3576,7 +3612,31 @@ interface PostChapterizationMessageData {
3576
3612
  type PostChapterizationMessageDataProperty = PostChapterizationMessageData | null;
3577
3613
 
3578
3614
  /**
3579
- * Generated by orval v7.17.0 🍺
3615
+ * Generated by orval v7.9.0 🍺
3616
+ * Do not edit manually.
3617
+ * Gladia Control API
3618
+ * OpenAPI spec version: 1.0
3619
+ */
3620
+
3621
+ /**
3622
+ * Error message if the addon failed
3623
+ * @nullable
3624
+ */
3625
+ type PostChapterizationMessageError = Error$2 | null;
3626
+
3627
+ /**
3628
+ * Generated by orval v7.9.0 🍺
3629
+ * Do not edit manually.
3630
+ * Gladia Control API
3631
+ * OpenAPI spec version: 1.0
3632
+ */
3633
+ type PostChapterizationMessageType = (typeof PostChapterizationMessageType)[keyof typeof PostChapterizationMessageType];
3634
+ declare const PostChapterizationMessageType: {
3635
+ readonly post_chapterization: "post_chapterization";
3636
+ };
3637
+
3638
+ /**
3639
+ * Generated by orval v7.9.0 🍺
3580
3640
  * Do not edit manually.
3581
3641
  * Gladia Control API
3582
3642
  * OpenAPI spec version: 1.0
@@ -3601,7 +3661,7 @@ interface PostChapterizationMessage {
3601
3661
  }
3602
3662
 
3603
3663
  /**
3604
- * Generated by orval v7.17.0 🍺
3664
+ * Generated by orval v7.9.0 🍺
3605
3665
  * Do not edit manually.
3606
3666
  * Gladia Control API
3607
3667
  * OpenAPI spec version: 1.0
@@ -3616,7 +3676,7 @@ interface CallbackLivePostChapterizationMessage {
3616
3676
  }
3617
3677
 
3618
3678
  /**
3619
- * Generated by orval v7.17.0 🍺
3679
+ * Generated by orval v7.9.0 🍺
3620
3680
  * Do not edit manually.
3621
3681
  * Gladia Control API
3622
3682
  * OpenAPI spec version: 1.0
@@ -3627,7 +3687,7 @@ declare const CallbackLivePostFinalTranscriptMessageEvent: {
3627
3687
  };
3628
3688
 
3629
3689
  /**
3630
- * Generated by orval v7.17.0 🍺
3690
+ * Generated by orval v7.9.0 🍺
3631
3691
  * Do not edit manually.
3632
3692
  * Gladia Control API
3633
3693
  * OpenAPI spec version: 1.0
@@ -3638,27 +3698,167 @@ declare const PostFinalTranscriptMessageType: {
3638
3698
  };
3639
3699
 
3640
3700
  /**
3641
- * Generated by orval v7.17.0 🍺
3701
+ * Generated by orval v7.9.0 🍺
3642
3702
  * Do not edit manually.
3643
3703
  * Gladia Control API
3644
3704
  * OpenAPI spec version: 1.0
3645
3705
  */
3646
- interface TranscriptionMetadataDTO {
3647
- /** Duration of the transcribed audio file */
3648
- audio_duration: number;
3706
+
3707
+ /**
3708
+ * `null` if `success` is `true`. Contains the error details of the failed model
3709
+ * @nullable
3710
+ */
3711
+ type ChapterizationDTOError = AddonErrorDTO | null;
3712
+
3713
+ /**
3714
+ * Generated by orval v7.9.0 🍺
3715
+ * Do not edit manually.
3716
+ * Gladia Control API
3717
+ * OpenAPI spec version: 1.0
3718
+ */
3719
+ /**
3720
+ * If `chapterization` has been enabled, will generate chapters name for different parts of the given audio.
3721
+ */
3722
+ type ChapterizationDTOResults = {
3723
+ [key: string]: unknown;
3724
+ };
3725
+
3726
+ /**
3727
+ * Generated by orval v7.9.0 🍺
3728
+ * Do not edit manually.
3729
+ * Gladia Control API
3730
+ * OpenAPI spec version: 1.0
3731
+ */
3732
+
3733
+ interface ChapterizationDTO {
3734
+ /** The audio intelligence model succeeded to get a valid output */
3735
+ success: boolean;
3736
+ /** The audio intelligence model returned an empty value */
3737
+ is_empty: boolean;
3738
+ /** Time audio intelligence model took to complete the task */
3739
+ exec_time: number;
3649
3740
  /**
3650
- * Number of distinct channels in the transcribed audio file
3651
- * @minimum 1
3741
+ * `null` if `success` is `true`. Contains the error details of the failed model
3742
+ * @nullable
3652
3743
  */
3653
- number_of_distinct_channels: number;
3654
- /** Billed duration in seconds (audio_duration * number_of_distinct_channels) */
3655
- billing_time: number;
3656
- /** Duration of the transcription in seconds */
3657
- transcription_time: number;
3744
+ error: ChapterizationDTOError;
3745
+ /** If `chapterization` has been enabled, will generate chapters name for different parts of the given audio. */
3746
+ results: ChapterizationDTOResults;
3658
3747
  }
3659
3748
 
3660
3749
  /**
3661
- * Generated by orval v7.17.0 🍺
3750
+ * Generated by orval v7.9.0 🍺
3751
+ * Do not edit manually.
3752
+ * Gladia Control API
3753
+ * OpenAPI spec version: 1.0
3754
+ */
3755
+
3756
+ /**
3757
+ * `null` if `success` is `true`. Contains the error details of the failed model
3758
+ * @nullable
3759
+ */
3760
+ type NamedEntityRecognitionDTOError = AddonErrorDTO | null;
3761
+
3762
+ /**
3763
+ * Generated by orval v7.9.0 🍺
3764
+ * Do not edit manually.
3765
+ * Gladia Control API
3766
+ * OpenAPI spec version: 1.0
3767
+ */
3768
+
3769
+ interface NamedEntityRecognitionDTO {
3770
+ /** The audio intelligence model succeeded to get a valid output */
3771
+ success: boolean;
3772
+ /** The audio intelligence model returned an empty value */
3773
+ is_empty: boolean;
3774
+ /** Time audio intelligence model took to complete the task */
3775
+ exec_time: number;
3776
+ /**
3777
+ * `null` if `success` is `true`. Contains the error details of the failed model
3778
+ * @nullable
3779
+ */
3780
+ error: NamedEntityRecognitionDTOError;
3781
+ /** If `named_entity_recognition` has been enabled, the detected entities. */
3782
+ entity: string;
3783
+ }
3784
+
3785
+ /**
3786
+ * Generated by orval v7.9.0 🍺
3787
+ * Do not edit manually.
3788
+ * Gladia Control API
3789
+ * OpenAPI spec version: 1.0
3790
+ */
3791
+
3792
+ /**
3793
+ * `null` if `success` is `true`. Contains the error details of the failed model
3794
+ * @nullable
3795
+ */
3796
+ type SentimentAnalysisDTOError = AddonErrorDTO | null;
3797
+
3798
+ /**
3799
+ * Generated by orval v7.9.0 🍺
3800
+ * Do not edit manually.
3801
+ * Gladia Control API
3802
+ * OpenAPI spec version: 1.0
3803
+ */
3804
+
3805
+ interface SentimentAnalysisDTO {
3806
+ /** The audio intelligence model succeeded to get a valid output */
3807
+ success: boolean;
3808
+ /** The audio intelligence model returned an empty value */
3809
+ is_empty: boolean;
3810
+ /** Time audio intelligence model took to complete the task */
3811
+ exec_time: number;
3812
+ /**
3813
+ * `null` if `success` is `true`. Contains the error details of the failed model
3814
+ * @nullable
3815
+ */
3816
+ error: SentimentAnalysisDTOError;
3817
+ /** If `sentiment_analysis` has been enabled, Gladia will analyze the sentiments and emotions of the audio */
3818
+ results: string;
3819
+ }
3820
+
3821
+ /**
3822
+ * Generated by orval v7.9.0 🍺
3823
+ * Do not edit manually.
3824
+ * Gladia Control API
3825
+ * OpenAPI spec version: 1.0
3826
+ */
3827
+
3828
+ /**
3829
+ * `null` if `success` is `true`. Contains the error details of the failed model
3830
+ * @nullable
3831
+ */
3832
+ type SummarizationDTOError = AddonErrorDTO | null;
3833
+
3834
+ /**
3835
+ * Generated by orval v7.9.0 🍺
3836
+ * Do not edit manually.
3837
+ * Gladia Control API
3838
+ * OpenAPI spec version: 1.0
3839
+ */
3840
+
3841
+ interface SummarizationDTO {
3842
+ /** The audio intelligence model succeeded to get a valid output */
3843
+ success: boolean;
3844
+ /** The audio intelligence model returned an empty value */
3845
+ is_empty: boolean;
3846
+ /** Time audio intelligence model took to complete the task */
3847
+ exec_time: number;
3848
+ /**
3849
+ * `null` if `success` is `true`. Contains the error details of the failed model
3850
+ * @nullable
3851
+ */
3852
+ error: SummarizationDTOError;
3853
+ /**
3854
+ * If `summarization` has been enabled, summary of the transcription
3855
+ * @nullable
3856
+ */
3857
+ results: string | null;
3858
+ }
3859
+
3860
+ /**
3861
+ * Generated by orval v7.9.0 🍺
3662
3862
  * Do not edit manually.
3663
3863
  * Gladia Control API
3664
3864
  * OpenAPI spec version: 1.0
@@ -3671,7 +3871,7 @@ interface TranscriptionMetadataDTO {
3671
3871
  type SentencesDTOError = AddonErrorDTO | null;
3672
3872
 
3673
3873
  /**
3674
- * Generated by orval v7.17.0 🍺
3874
+ * Generated by orval v7.9.0 🍺
3675
3875
  * Do not edit manually.
3676
3876
  * Gladia Control API
3677
3877
  * OpenAPI spec version: 1.0
@@ -3697,7 +3897,7 @@ interface SentencesDTO {
3697
3897
  }
3698
3898
 
3699
3899
  /**
3700
- * Generated by orval v7.17.0 🍺
3900
+ * Generated by orval v7.9.0 🍺
3701
3901
  * Do not edit manually.
3702
3902
  * Gladia Control API
3703
3903
  * OpenAPI spec version: 1.0
@@ -3712,7 +3912,7 @@ declare const SubtitlesFormatEnum: {
3712
3912
  };
3713
3913
 
3714
3914
  /**
3715
- * Generated by orval v7.17.0 🍺
3915
+ * Generated by orval v7.9.0 🍺
3716
3916
  * Do not edit manually.
3717
3917
  * Gladia Control API
3718
3918
  * OpenAPI spec version: 1.0
@@ -3726,7 +3926,7 @@ interface SubtitleDTO {
3726
3926
  }
3727
3927
 
3728
3928
  /**
3729
- * Generated by orval v7.17.0 🍺
3929
+ * Generated by orval v7.9.0 🍺
3730
3930
  * Do not edit manually.
3731
3931
  * Gladia Control API
3732
3932
  * OpenAPI spec version: 1.0
@@ -3746,33 +3946,40 @@ interface TranscriptionDTO {
3746
3946
  }
3747
3947
 
3748
3948
  /**
3749
- * Generated by orval v7.17.0 🍺
3949
+ * Generated by orval v7.9.0 🍺
3750
3950
  * Do not edit manually.
3751
3951
  * Gladia Control API
3752
3952
  * OpenAPI spec version: 1.0
3753
3953
  */
3954
+ interface TranscriptionMetadataDTO {
3955
+ /** Duration of the transcribed audio file */
3956
+ audio_duration: number;
3957
+ /**
3958
+ * Number of distinct channels in the transcribed audio file
3959
+ * @minimum 1
3960
+ */
3961
+ number_of_distinct_channels: number;
3962
+ /** Billed duration in seconds (audio_duration * number_of_distinct_channels) */
3963
+ billing_time: number;
3964
+ /** Duration of the transcription in seconds */
3965
+ transcription_time: number;
3966
+ }
3754
3967
 
3755
3968
  /**
3756
- * `null` if `success` is `true`. Contains the error details of the failed model
3757
- * @nullable
3758
- */
3759
- type TranslationDTOError = AddonErrorDTO | null;
3760
-
3761
- /**
3762
- * Generated by orval v7.17.0 🍺
3969
+ * Generated by orval v7.9.0 🍺
3763
3970
  * Do not edit manually.
3764
3971
  * Gladia Control API
3765
3972
  * OpenAPI spec version: 1.0
3766
3973
  */
3767
3974
 
3768
3975
  /**
3769
- * Contains the error details of the failed addon
3976
+ * `null` if `success` is `true`. Contains the error details of the failed model
3770
3977
  * @nullable
3771
3978
  */
3772
- type TranslationResultDTOError = AddonErrorDTO | null;
3979
+ type TranslationDTOError = AddonErrorDTO | null;
3773
3980
 
3774
3981
  /**
3775
- * Generated by orval v7.17.0 🍺
3982
+ * Generated by orval v7.9.0 🍺
3776
3983
  * Do not edit manually.
3777
3984
  * Gladia Control API
3778
3985
  * OpenAPI spec version: 1.0
@@ -3880,206 +4087,56 @@ declare const TranslationLanguageCodeEnum: {
3880
4087
  readonly vi: "vi";
3881
4088
  readonly wo: "wo";
3882
4089
  readonly yi: "yi";
3883
- readonly yo: "yo";
3884
- readonly zh: "zh";
3885
- };
3886
-
3887
- /**
3888
- * Generated by orval v7.17.0 🍺
3889
- * Do not edit manually.
3890
- * Gladia Control API
3891
- * OpenAPI spec version: 1.0
3892
- */
3893
-
3894
- interface TranslationResultDTO {
3895
- /**
3896
- * Contains the error details of the failed addon
3897
- * @nullable
3898
- */
3899
- error: TranslationResultDTOError;
3900
- /** All transcription on text format without any other information */
3901
- full_transcript: string;
3902
- /** All the detected languages in the audio sorted from the most detected to the less detected */
3903
- languages: TranslationLanguageCodeEnum[];
3904
- /** If `sentences` has been enabled, sentences results for this translation */
3905
- sentences?: SentencesDTO[];
3906
- /** If `subtitles` has been enabled, subtitles results for this translation */
3907
- subtitles?: SubtitleDTO[];
3908
- /** Transcribed speech utterances present in the audio */
3909
- utterances: UtteranceDTO[];
3910
- }
3911
-
3912
- /**
3913
- * Generated by orval v7.17.0 🍺
3914
- * Do not edit manually.
3915
- * Gladia Control API
3916
- * OpenAPI spec version: 1.0
3917
- */
3918
-
3919
- interface TranslationDTO {
3920
- /** The audio intelligence model succeeded to get a valid output */
3921
- success: boolean;
3922
- /** The audio intelligence model returned an empty value */
3923
- is_empty: boolean;
3924
- /** Time audio intelligence model took to complete the task */
3925
- exec_time: number;
3926
- /**
3927
- * `null` if `success` is `true`. Contains the error details of the failed model
3928
- * @nullable
3929
- */
3930
- error: TranslationDTOError;
3931
- /**
3932
- * List of translated transcriptions, one for each `target_languages`
3933
- * @nullable
3934
- */
3935
- results: TranslationResultDTO[] | null;
3936
- }
3937
-
3938
- /**
3939
- * Generated by orval v7.17.0 🍺
3940
- * Do not edit manually.
3941
- * Gladia Control API
3942
- * OpenAPI spec version: 1.0
3943
- */
3944
-
3945
- /**
3946
- * `null` if `success` is `true`. Contains the error details of the failed model
3947
- * @nullable
3948
- */
3949
- type SummarizationDTOError = AddonErrorDTO | null;
3950
-
3951
- /**
3952
- * Generated by orval v7.17.0 🍺
3953
- * Do not edit manually.
3954
- * Gladia Control API
3955
- * OpenAPI spec version: 1.0
3956
- */
3957
-
3958
- interface SummarizationDTO {
3959
- /** The audio intelligence model succeeded to get a valid output */
3960
- success: boolean;
3961
- /** The audio intelligence model returned an empty value */
3962
- is_empty: boolean;
3963
- /** Time audio intelligence model took to complete the task */
3964
- exec_time: number;
3965
- /**
3966
- * `null` if `success` is `true`. Contains the error details of the failed model
3967
- * @nullable
3968
- */
3969
- error: SummarizationDTOError;
3970
- /**
3971
- * If `summarization` has been enabled, summary of the transcription
3972
- * @nullable
3973
- */
3974
- results: string | null;
3975
- }
3976
-
3977
- /**
3978
- * Generated by orval v7.17.0 🍺
3979
- * Do not edit manually.
3980
- * Gladia Control API
3981
- * OpenAPI spec version: 1.0
3982
- */
3983
-
3984
- /**
3985
- * `null` if `success` is `true`. Contains the error details of the failed model
3986
- * @nullable
3987
- */
3988
- type NamedEntityRecognitionDTOError = AddonErrorDTO | null;
3989
-
3990
- /**
3991
- * Generated by orval v7.17.0 🍺
3992
- * Do not edit manually.
3993
- * Gladia Control API
3994
- * OpenAPI spec version: 1.0
3995
- */
3996
-
3997
- interface NamedEntityRecognitionDTO {
3998
- /** The audio intelligence model succeeded to get a valid output */
3999
- success: boolean;
4000
- /** The audio intelligence model returned an empty value */
4001
- is_empty: boolean;
4002
- /** Time audio intelligence model took to complete the task */
4003
- exec_time: number;
4004
- /**
4005
- * `null` if `success` is `true`. Contains the error details of the failed model
4006
- * @nullable
4007
- */
4008
- error: NamedEntityRecognitionDTOError;
4009
- /** If `named_entity_recognition` has been enabled, the detected entities. */
4010
- entity: string;
4011
- }
4090
+ readonly yo: "yo";
4091
+ readonly zh: "zh";
4092
+ };
4012
4093
 
4013
4094
  /**
4014
- * Generated by orval v7.17.0 🍺
4095
+ * Generated by orval v7.9.0 🍺
4015
4096
  * Do not edit manually.
4016
4097
  * Gladia Control API
4017
4098
  * OpenAPI spec version: 1.0
4018
4099
  */
4019
4100
 
4020
4101
  /**
4021
- * `null` if `success` is `true`. Contains the error details of the failed model
4102
+ * Contains the error details of the failed addon
4022
4103
  * @nullable
4023
4104
  */
4024
- type SentimentAnalysisDTOError = AddonErrorDTO | null;
4105
+ type TranslationResultDTOError = AddonErrorDTO | null;
4025
4106
 
4026
4107
  /**
4027
- * Generated by orval v7.17.0 🍺
4108
+ * Generated by orval v7.9.0 🍺
4028
4109
  * Do not edit manually.
4029
4110
  * Gladia Control API
4030
4111
  * OpenAPI spec version: 1.0
4031
4112
  */
4032
4113
 
4033
- interface SentimentAnalysisDTO {
4034
- /** The audio intelligence model succeeded to get a valid output */
4035
- success: boolean;
4036
- /** The audio intelligence model returned an empty value */
4037
- is_empty: boolean;
4038
- /** Time audio intelligence model took to complete the task */
4039
- exec_time: number;
4114
+ interface TranslationResultDTO {
4040
4115
  /**
4041
- * `null` if `success` is `true`. Contains the error details of the failed model
4116
+ * Contains the error details of the failed addon
4042
4117
  * @nullable
4043
4118
  */
4044
- error: SentimentAnalysisDTOError;
4045
- /** If `sentiment_analysis` has been enabled, Gladia will analyze the sentiments and emotions of the audio */
4046
- results: string;
4119
+ error: TranslationResultDTOError;
4120
+ /** All transcription on text format without any other information */
4121
+ full_transcript: string;
4122
+ /** All the detected languages in the audio sorted from the most detected to the less detected */
4123
+ languages: TranslationLanguageCodeEnum[];
4124
+ /** If `sentences` has been enabled, sentences results for this translation */
4125
+ sentences?: SentencesDTO[];
4126
+ /** If `subtitles` has been enabled, subtitles results for this translation */
4127
+ subtitles?: SubtitleDTO[];
4128
+ /** Transcribed speech utterances present in the audio */
4129
+ utterances: UtteranceDTO[];
4047
4130
  }
4048
4131
 
4049
4132
  /**
4050
- * Generated by orval v7.17.0 🍺
4051
- * Do not edit manually.
4052
- * Gladia Control API
4053
- * OpenAPI spec version: 1.0
4054
- */
4055
-
4056
- /**
4057
- * `null` if `success` is `true`. Contains the error details of the failed model
4058
- * @nullable
4059
- */
4060
- type ChapterizationDTOError = AddonErrorDTO | null;
4061
-
4062
- /**
4063
- * Generated by orval v7.17.0 🍺
4064
- * Do not edit manually.
4065
- * Gladia Control API
4066
- * OpenAPI spec version: 1.0
4067
- */
4068
- /**
4069
- * If `chapterization` has been enabled, will generate chapters name for different parts of the given audio.
4070
- */
4071
- type ChapterizationDTOResults = {
4072
- [key: string]: unknown;
4073
- };
4074
-
4075
- /**
4076
- * Generated by orval v7.17.0 🍺
4133
+ * Generated by orval v7.9.0 🍺
4077
4134
  * Do not edit manually.
4078
4135
  * Gladia Control API
4079
4136
  * OpenAPI spec version: 1.0
4080
4137
  */
4081
4138
 
4082
- interface ChapterizationDTO {
4139
+ interface TranslationDTO {
4083
4140
  /** The audio intelligence model succeeded to get a valid output */
4084
4141
  success: boolean;
4085
4142
  /** The audio intelligence model returned an empty value */
@@ -4090,13 +4147,16 @@ interface ChapterizationDTO {
4090
4147
  * `null` if `success` is `true`. Contains the error details of the failed model
4091
4148
  * @nullable
4092
4149
  */
4093
- error: ChapterizationDTOError;
4094
- /** If `chapterization` has been enabled, will generate chapters name for different parts of the given audio. */
4095
- results: ChapterizationDTOResults;
4150
+ error: TranslationDTOError;
4151
+ /**
4152
+ * List of translated transcriptions, one for each `target_languages`
4153
+ * @nullable
4154
+ */
4155
+ results: TranslationResultDTO[] | null;
4096
4156
  }
4097
4157
 
4098
4158
  /**
4099
- * Generated by orval v7.17.0 🍺
4159
+ * Generated by orval v7.9.0 🍺
4100
4160
  * Do not edit manually.
4101
4161
  * Gladia Control API
4102
4162
  * OpenAPI spec version: 1.0
@@ -4120,7 +4180,7 @@ interface StreamingTranscriptionResultDTO {
4120
4180
  }
4121
4181
 
4122
4182
  /**
4123
- * Generated by orval v7.17.0 🍺
4183
+ * Generated by orval v7.9.0 🍺
4124
4184
  * Do not edit manually.
4125
4185
  * Gladia Control API
4126
4186
  * OpenAPI spec version: 1.0
@@ -4137,7 +4197,7 @@ interface PostFinalTranscriptMessage {
4137
4197
  }
4138
4198
 
4139
4199
  /**
4140
- * Generated by orval v7.17.0 🍺
4200
+ * Generated by orval v7.9.0 🍺
4141
4201
  * Do not edit manually.
4142
4202
  * Gladia Control API
4143
4203
  * OpenAPI spec version: 1.0
@@ -4152,7 +4212,7 @@ interface CallbackLivePostFinalTranscriptMessage {
4152
4212
  }
4153
4213
 
4154
4214
  /**
4155
- * Generated by orval v7.17.0 🍺
4215
+ * Generated by orval v7.9.0 🍺
4156
4216
  * Do not edit manually.
4157
4217
  * Gladia Control API
4158
4218
  * OpenAPI spec version: 1.0
@@ -4163,55 +4223,55 @@ declare const CallbackLivePostSummarizationMessageEvent: {
4163
4223
  };
4164
4224
 
4165
4225
  /**
4166
- * Generated by orval v7.17.0 🍺
4226
+ * Generated by orval v7.9.0 🍺
4167
4227
  * Do not edit manually.
4168
4228
  * Gladia Control API
4169
4229
  * OpenAPI spec version: 1.0
4170
4230
  */
4231
+ interface PostSummarizationMessageData {
4232
+ /** The summarization */
4233
+ results: string;
4234
+ }
4171
4235
 
4172
4236
  /**
4173
- * Error message if the addon failed
4174
- * @nullable
4175
- */
4176
- type PostSummarizationMessageError = Error$2 | null;
4177
-
4178
- /**
4179
- * Generated by orval v7.17.0 🍺
4237
+ * Generated by orval v7.9.0 🍺
4180
4238
  * Do not edit manually.
4181
4239
  * Gladia Control API
4182
4240
  * OpenAPI spec version: 1.0
4183
4241
  */
4184
- type PostSummarizationMessageType = (typeof PostSummarizationMessageType)[keyof typeof PostSummarizationMessageType];
4185
- declare const PostSummarizationMessageType: {
4186
- readonly post_summarization: "post_summarization";
4187
- };
4188
4242
 
4189
4243
  /**
4190
- * Generated by orval v7.17.0 🍺
4191
- * Do not edit manually.
4192
- * Gladia Control API
4193
- * OpenAPI spec version: 1.0
4244
+ * The message data. "null" if the addon failed
4245
+ * @nullable
4194
4246
  */
4195
- interface PostSummarizationMessageData {
4196
- /** The summarization */
4197
- results: string;
4198
- }
4247
+ type PostSummarizationMessageDataProperty = PostSummarizationMessageData | null;
4199
4248
 
4200
4249
  /**
4201
- * Generated by orval v7.17.0 🍺
4250
+ * Generated by orval v7.9.0 🍺
4202
4251
  * Do not edit manually.
4203
4252
  * Gladia Control API
4204
4253
  * OpenAPI spec version: 1.0
4205
4254
  */
4206
4255
 
4207
4256
  /**
4208
- * The message data. "null" if the addon failed
4257
+ * Error message if the addon failed
4209
4258
  * @nullable
4210
4259
  */
4211
- type PostSummarizationMessageDataProperty = PostSummarizationMessageData | null;
4260
+ type PostSummarizationMessageError = Error$2 | null;
4212
4261
 
4213
4262
  /**
4214
- * Generated by orval v7.17.0 🍺
4263
+ * Generated by orval v7.9.0 🍺
4264
+ * Do not edit manually.
4265
+ * Gladia Control API
4266
+ * OpenAPI spec version: 1.0
4267
+ */
4268
+ type PostSummarizationMessageType = (typeof PostSummarizationMessageType)[keyof typeof PostSummarizationMessageType];
4269
+ declare const PostSummarizationMessageType: {
4270
+ readonly post_summarization: "post_summarization";
4271
+ };
4272
+
4273
+ /**
4274
+ * Generated by orval v7.9.0 🍺
4215
4275
  * Do not edit manually.
4216
4276
  * Gladia Control API
4217
4277
  * OpenAPI spec version: 1.0
@@ -4236,7 +4296,7 @@ interface PostSummarizationMessage {
4236
4296
  }
4237
4297
 
4238
4298
  /**
4239
- * Generated by orval v7.17.0 🍺
4299
+ * Generated by orval v7.9.0 🍺
4240
4300
  * Do not edit manually.
4241
4301
  * Gladia Control API
4242
4302
  * OpenAPI spec version: 1.0
@@ -4251,7 +4311,7 @@ interface CallbackLivePostSummarizationMessage {
4251
4311
  }
4252
4312
 
4253
4313
  /**
4254
- * Generated by orval v7.17.0 🍺
4314
+ * Generated by orval v7.9.0 🍺
4255
4315
  * Do not edit manually.
4256
4316
  * Gladia Control API
4257
4317
  * OpenAPI spec version: 1.0
@@ -4262,7 +4322,7 @@ declare const CallbackLivePostTranscriptMessageEvent: {
4262
4322
  };
4263
4323
 
4264
4324
  /**
4265
- * Generated by orval v7.17.0 🍺
4325
+ * Generated by orval v7.9.0 🍺
4266
4326
  * Do not edit manually.
4267
4327
  * Gladia Control API
4268
4328
  * OpenAPI spec version: 1.0
@@ -4273,7 +4333,7 @@ declare const PostTranscriptMessageType: {
4273
4333
  };
4274
4334
 
4275
4335
  /**
4276
- * Generated by orval v7.17.0 🍺
4336
+ * Generated by orval v7.9.0 🍺
4277
4337
  * Do not edit manually.
4278
4338
  * Gladia Control API
4279
4339
  * OpenAPI spec version: 1.0
@@ -4290,7 +4350,7 @@ interface PostTranscriptMessage {
4290
4350
  }
4291
4351
 
4292
4352
  /**
4293
- * Generated by orval v7.17.0 🍺
4353
+ * Generated by orval v7.9.0 🍺
4294
4354
  * Do not edit manually.
4295
4355
  * Gladia Control API
4296
4356
  * OpenAPI spec version: 1.0
@@ -4305,7 +4365,7 @@ interface CallbackLivePostTranscriptMessage {
4305
4365
  }
4306
4366
 
4307
4367
  /**
4308
- * Generated by orval v7.17.0 🍺
4368
+ * Generated by orval v7.9.0 🍺
4309
4369
  * Do not edit manually.
4310
4370
  * Gladia Control API
4311
4371
  * OpenAPI spec version: 1.0
@@ -4316,31 +4376,7 @@ declare const CallbackLiveSentimentAnalysisMessageEvent: {
4316
4376
  };
4317
4377
 
4318
4378
  /**
4319
- * Generated by orval v7.17.0 🍺
4320
- * Do not edit manually.
4321
- * Gladia Control API
4322
- * OpenAPI spec version: 1.0
4323
- */
4324
-
4325
- /**
4326
- * Error message if the addon failed
4327
- * @nullable
4328
- */
4329
- type SentimentAnalysisMessageError = Error$2 | null;
4330
-
4331
- /**
4332
- * Generated by orval v7.17.0 🍺
4333
- * Do not edit manually.
4334
- * Gladia Control API
4335
- * OpenAPI spec version: 1.0
4336
- */
4337
- type SentimentAnalysisMessageType = (typeof SentimentAnalysisMessageType)[keyof typeof SentimentAnalysisMessageType];
4338
- declare const SentimentAnalysisMessageType: {
4339
- readonly sentiment_analysis: "sentiment_analysis";
4340
- };
4341
-
4342
- /**
4343
- * Generated by orval v7.17.0 🍺
4379
+ * Generated by orval v7.9.0 🍺
4344
4380
  * Do not edit manually.
4345
4381
  * Gladia Control API
4346
4382
  * OpenAPI spec version: 1.0
@@ -4355,7 +4391,7 @@ interface SentimentAnalysisResult$1 {
4355
4391
  }
4356
4392
 
4357
4393
  /**
4358
- * Generated by orval v7.17.0 🍺
4394
+ * Generated by orval v7.9.0 🍺
4359
4395
  * Do not edit manually.
4360
4396
  * Gladia Control API
4361
4397
  * OpenAPI spec version: 1.0
@@ -4371,7 +4407,7 @@ interface SentimentAnalysisData {
4371
4407
  }
4372
4408
 
4373
4409
  /**
4374
- * Generated by orval v7.17.0 🍺
4410
+ * Generated by orval v7.9.0 🍺
4375
4411
  * Do not edit manually.
4376
4412
  * Gladia Control API
4377
4413
  * OpenAPI spec version: 1.0
@@ -4384,7 +4420,31 @@ interface SentimentAnalysisData {
4384
4420
  type SentimentAnalysisMessageData = SentimentAnalysisData | null;
4385
4421
 
4386
4422
  /**
4387
- * Generated by orval v7.17.0 🍺
4423
+ * Generated by orval v7.9.0 🍺
4424
+ * Do not edit manually.
4425
+ * Gladia Control API
4426
+ * OpenAPI spec version: 1.0
4427
+ */
4428
+
4429
+ /**
4430
+ * Error message if the addon failed
4431
+ * @nullable
4432
+ */
4433
+ type SentimentAnalysisMessageError = Error$2 | null;
4434
+
4435
+ /**
4436
+ * Generated by orval v7.9.0 🍺
4437
+ * Do not edit manually.
4438
+ * Gladia Control API
4439
+ * OpenAPI spec version: 1.0
4440
+ */
4441
+ type SentimentAnalysisMessageType = (typeof SentimentAnalysisMessageType)[keyof typeof SentimentAnalysisMessageType];
4442
+ declare const SentimentAnalysisMessageType: {
4443
+ readonly sentiment_analysis: "sentiment_analysis";
4444
+ };
4445
+
4446
+ /**
4447
+ * Generated by orval v7.9.0 🍺
4388
4448
  * Do not edit manually.
4389
4449
  * Gladia Control API
4390
4450
  * OpenAPI spec version: 1.0
@@ -4409,7 +4469,7 @@ interface SentimentAnalysisMessage {
4409
4469
  }
4410
4470
 
4411
4471
  /**
4412
- * Generated by orval v7.17.0 🍺
4472
+ * Generated by orval v7.9.0 🍺
4413
4473
  * Do not edit manually.
4414
4474
  * Gladia Control API
4415
4475
  * OpenAPI spec version: 1.0
@@ -4424,7 +4484,7 @@ interface CallbackLiveSentimentAnalysisMessage {
4424
4484
  }
4425
4485
 
4426
4486
  /**
4427
- * Generated by orval v7.17.0 🍺
4487
+ * Generated by orval v7.9.0 🍺
4428
4488
  * Do not edit manually.
4429
4489
  * Gladia Control API
4430
4490
  * OpenAPI spec version: 1.0
@@ -4435,7 +4495,7 @@ declare const CallbackLiveSpeechEndMessageEvent: {
4435
4495
  };
4436
4496
 
4437
4497
  /**
4438
- * Generated by orval v7.17.0 🍺
4498
+ * Generated by orval v7.9.0 🍺
4439
4499
  * Do not edit manually.
4440
4500
  * Gladia Control API
4441
4501
  * OpenAPI spec version: 1.0
@@ -4446,7 +4506,7 @@ declare const SpeechEndMessageType: {
4446
4506
  };
4447
4507
 
4448
4508
  /**
4449
- * Generated by orval v7.17.0 🍺
4509
+ * Generated by orval v7.9.0 🍺
4450
4510
  * Do not edit manually.
4451
4511
  * Gladia Control API
4452
4512
  * OpenAPI spec version: 1.0
@@ -4459,7 +4519,7 @@ interface SpeechMessageData {
4459
4519
  }
4460
4520
 
4461
4521
  /**
4462
- * Generated by orval v7.17.0 🍺
4522
+ * Generated by orval v7.9.0 🍺
4463
4523
  * Do not edit manually.
4464
4524
  * Gladia Control API
4465
4525
  * OpenAPI spec version: 1.0
@@ -4476,7 +4536,7 @@ interface SpeechEndMessage {
4476
4536
  }
4477
4537
 
4478
4538
  /**
4479
- * Generated by orval v7.17.0 🍺
4539
+ * Generated by orval v7.9.0 🍺
4480
4540
  * Do not edit manually.
4481
4541
  * Gladia Control API
4482
4542
  * OpenAPI spec version: 1.0
@@ -4491,7 +4551,7 @@ interface CallbackLiveSpeechEndMessage {
4491
4551
  }
4492
4552
 
4493
4553
  /**
4494
- * Generated by orval v7.17.0 🍺
4554
+ * Generated by orval v7.9.0 🍺
4495
4555
  * Do not edit manually.
4496
4556
  * Gladia Control API
4497
4557
  * OpenAPI spec version: 1.0
@@ -4502,7 +4562,7 @@ declare const CallbackLiveSpeechStartMessageEvent: {
4502
4562
  };
4503
4563
 
4504
4564
  /**
4505
- * Generated by orval v7.17.0 🍺
4565
+ * Generated by orval v7.9.0 🍺
4506
4566
  * Do not edit manually.
4507
4567
  * Gladia Control API
4508
4568
  * OpenAPI spec version: 1.0
@@ -4513,7 +4573,7 @@ declare const SpeechStartMessageType: {
4513
4573
  };
4514
4574
 
4515
4575
  /**
4516
- * Generated by orval v7.17.0 🍺
4576
+ * Generated by orval v7.9.0 🍺
4517
4577
  * Do not edit manually.
4518
4578
  * Gladia Control API
4519
4579
  * OpenAPI spec version: 1.0
@@ -4530,7 +4590,7 @@ interface SpeechStartMessage {
4530
4590
  }
4531
4591
 
4532
4592
  /**
4533
- * Generated by orval v7.17.0 🍺
4593
+ * Generated by orval v7.9.0 🍺
4534
4594
  * Do not edit manually.
4535
4595
  * Gladia Control API
4536
4596
  * OpenAPI spec version: 1.0
@@ -4545,7 +4605,7 @@ interface CallbackLiveSpeechStartMessage {
4545
4605
  }
4546
4606
 
4547
4607
  /**
4548
- * Generated by orval v7.17.0 🍺
4608
+ * Generated by orval v7.9.0 🍺
4549
4609
  * Do not edit manually.
4550
4610
  * Gladia Control API
4551
4611
  * OpenAPI spec version: 1.0
@@ -4556,7 +4616,7 @@ declare const CallbackLiveStartRecordingMessageEvent: {
4556
4616
  };
4557
4617
 
4558
4618
  /**
4559
- * Generated by orval v7.17.0 🍺
4619
+ * Generated by orval v7.9.0 🍺
4560
4620
  * Do not edit manually.
4561
4621
  * Gladia Control API
4562
4622
  * OpenAPI spec version: 1.0
@@ -4567,7 +4627,7 @@ declare const StartRecordingMessageType: {
4567
4627
  };
4568
4628
 
4569
4629
  /**
4570
- * Generated by orval v7.17.0 🍺
4630
+ * Generated by orval v7.9.0 🍺
4571
4631
  * Do not edit manually.
4572
4632
  * Gladia Control API
4573
4633
  * OpenAPI spec version: 1.0
@@ -4582,7 +4642,7 @@ interface StartRecordingMessage {
4582
4642
  }
4583
4643
 
4584
4644
  /**
4585
- * Generated by orval v7.17.0 🍺
4645
+ * Generated by orval v7.9.0 🍺
4586
4646
  * Do not edit manually.
4587
4647
  * Gladia Control API
4588
4648
  * OpenAPI spec version: 1.0
@@ -4597,7 +4657,7 @@ interface CallbackLiveStartRecordingMessage {
4597
4657
  }
4598
4658
 
4599
4659
  /**
4600
- * Generated by orval v7.17.0 🍺
4660
+ * Generated by orval v7.9.0 🍺
4601
4661
  * Do not edit manually.
4602
4662
  * Gladia Control API
4603
4663
  * OpenAPI spec version: 1.0
@@ -4608,7 +4668,7 @@ declare const CallbackLiveStartSessionMessageEvent: {
4608
4668
  };
4609
4669
 
4610
4670
  /**
4611
- * Generated by orval v7.17.0 🍺
4671
+ * Generated by orval v7.9.0 🍺
4612
4672
  * Do not edit manually.
4613
4673
  * Gladia Control API
4614
4674
  * OpenAPI spec version: 1.0
@@ -4619,7 +4679,7 @@ declare const StartSessionMessageType: {
4619
4679
  };
4620
4680
 
4621
4681
  /**
4622
- * Generated by orval v7.17.0 🍺
4682
+ * Generated by orval v7.9.0 🍺
4623
4683
  * Do not edit manually.
4624
4684
  * Gladia Control API
4625
4685
  * OpenAPI spec version: 1.0
@@ -4634,7 +4694,7 @@ interface StartSessionMessage {
4634
4694
  }
4635
4695
 
4636
4696
  /**
4637
- * Generated by orval v7.17.0 🍺
4697
+ * Generated by orval v7.9.0 🍺
4638
4698
  * Do not edit manually.
4639
4699
  * Gladia Control API
4640
4700
  * OpenAPI spec version: 1.0
@@ -4649,7 +4709,7 @@ interface CallbackLiveStartSessionMessage {
4649
4709
  }
4650
4710
 
4651
4711
  /**
4652
- * Generated by orval v7.17.0 🍺
4712
+ * Generated by orval v7.9.0 🍺
4653
4713
  * Do not edit manually.
4654
4714
  * Gladia Control API
4655
4715
  * OpenAPI spec version: 1.0
@@ -4660,57 +4720,57 @@ declare const CallbackLiveStopRecordingAckMessageEvent: {
4660
4720
  };
4661
4721
 
4662
4722
  /**
4663
- * Generated by orval v7.17.0 🍺
4723
+ * Generated by orval v7.9.0 🍺
4664
4724
  * Do not edit manually.
4665
4725
  * Gladia Control API
4666
4726
  * OpenAPI spec version: 1.0
4667
4727
  */
4728
+ interface StopRecordingAckData {
4729
+ /** Total audio duration in seconds */
4730
+ recording_duration: number;
4731
+ /** Audio duration left to process in seconds */
4732
+ recording_left_to_process: number;
4733
+ }
4668
4734
 
4669
4735
  /**
4670
- * Error message if the action was not successfully acknowledged
4671
- * @nullable
4672
- */
4673
- type StopRecordingAckMessageError = Error$2 | null;
4674
-
4675
- /**
4676
- * Generated by orval v7.17.0 🍺
4736
+ * Generated by orval v7.9.0 🍺
4677
4737
  * Do not edit manually.
4678
4738
  * Gladia Control API
4679
4739
  * OpenAPI spec version: 1.0
4680
4740
  */
4681
- type StopRecordingAckMessageType = (typeof StopRecordingAckMessageType)[keyof typeof StopRecordingAckMessageType];
4682
- declare const StopRecordingAckMessageType: {
4683
- readonly stop_recording: "stop_recording";
4684
- };
4685
4741
 
4686
4742
  /**
4687
- * Generated by orval v7.17.0 🍺
4688
- * Do not edit manually.
4689
- * Gladia Control API
4690
- * OpenAPI spec version: 1.0
4743
+ * The message data. "null" if the action was not successfully acknowledged
4744
+ * @nullable
4691
4745
  */
4692
- interface StopRecordingAckData {
4693
- /** Total audio duration in seconds */
4694
- recording_duration: number;
4695
- /** Audio duration left to process in seconds */
4696
- recording_left_to_process: number;
4697
- }
4746
+ type StopRecordingAckMessageData = StopRecordingAckData | null;
4698
4747
 
4699
4748
  /**
4700
- * Generated by orval v7.17.0 🍺
4749
+ * Generated by orval v7.9.0 🍺
4701
4750
  * Do not edit manually.
4702
4751
  * Gladia Control API
4703
4752
  * OpenAPI spec version: 1.0
4704
4753
  */
4705
4754
 
4706
4755
  /**
4707
- * The message data. "null" if the action was not successfully acknowledged
4756
+ * Error message if the action was not successfully acknowledged
4708
4757
  * @nullable
4709
4758
  */
4710
- type StopRecordingAckMessageData = StopRecordingAckData | null;
4759
+ type StopRecordingAckMessageError = Error$2 | null;
4711
4760
 
4712
4761
  /**
4713
- * Generated by orval v7.17.0 🍺
4762
+ * Generated by orval v7.9.0 🍺
4763
+ * Do not edit manually.
4764
+ * Gladia Control API
4765
+ * OpenAPI spec version: 1.0
4766
+ */
4767
+ type StopRecordingAckMessageType = (typeof StopRecordingAckMessageType)[keyof typeof StopRecordingAckMessageType];
4768
+ declare const StopRecordingAckMessageType: {
4769
+ readonly stop_recording: "stop_recording";
4770
+ };
4771
+
4772
+ /**
4773
+ * Generated by orval v7.9.0 🍺
4714
4774
  * Do not edit manually.
4715
4775
  * Gladia Control API
4716
4776
  * OpenAPI spec version: 1.0
@@ -4737,7 +4797,7 @@ interface StopRecordingAckMessage {
4737
4797
  }
4738
4798
 
4739
4799
  /**
4740
- * Generated by orval v7.17.0 🍺
4800
+ * Generated by orval v7.9.0 🍺
4741
4801
  * Do not edit manually.
4742
4802
  * Gladia Control API
4743
4803
  * OpenAPI spec version: 1.0
@@ -4752,7 +4812,7 @@ interface CallbackLiveStopRecordingAckMessage {
4752
4812
  }
4753
4813
 
4754
4814
  /**
4755
- * Generated by orval v7.17.0 🍺
4815
+ * Generated by orval v7.9.0 🍺
4756
4816
  * Do not edit manually.
4757
4817
  * Gladia Control API
4758
4818
  * OpenAPI spec version: 1.0
@@ -4763,18 +4823,7 @@ declare const CallbackLiveTranscriptMessageEvent: {
4763
4823
  };
4764
4824
 
4765
4825
  /**
4766
- * Generated by orval v7.17.0 🍺
4767
- * Do not edit manually.
4768
- * Gladia Control API
4769
- * OpenAPI spec version: 1.0
4770
- */
4771
- type TranscriptMessageType = (typeof TranscriptMessageType)[keyof typeof TranscriptMessageType];
4772
- declare const TranscriptMessageType: {
4773
- readonly transcript: "transcript";
4774
- };
4775
-
4776
- /**
4777
- * Generated by orval v7.17.0 🍺
4826
+ * Generated by orval v7.9.0 🍺
4778
4827
  * Do not edit manually.
4779
4828
  * Gladia Control API
4780
4829
  * OpenAPI spec version: 1.0
@@ -4790,7 +4839,18 @@ interface TranscriptMessageData {
4790
4839
  }
4791
4840
 
4792
4841
  /**
4793
- * Generated by orval v7.17.0 🍺
4842
+ * Generated by orval v7.9.0 🍺
4843
+ * Do not edit manually.
4844
+ * Gladia Control API
4845
+ * OpenAPI spec version: 1.0
4846
+ */
4847
+ type TranscriptMessageType = (typeof TranscriptMessageType)[keyof typeof TranscriptMessageType];
4848
+ declare const TranscriptMessageType: {
4849
+ readonly transcript: "transcript";
4850
+ };
4851
+
4852
+ /**
4853
+ * Generated by orval v7.9.0 🍺
4794
4854
  * Do not edit manually.
4795
4855
  * Gladia Control API
4796
4856
  * OpenAPI spec version: 1.0
@@ -4807,7 +4867,7 @@ interface TranscriptMessage {
4807
4867
  }
4808
4868
 
4809
4869
  /**
4810
- * Generated by orval v7.17.0 🍺
4870
+ * Generated by orval v7.9.0 🍺
4811
4871
  * Do not edit manually.
4812
4872
  * Gladia Control API
4813
4873
  * OpenAPI spec version: 1.0
@@ -4822,7 +4882,7 @@ interface CallbackLiveTranscriptMessage {
4822
4882
  }
4823
4883
 
4824
4884
  /**
4825
- * Generated by orval v7.17.0 🍺
4885
+ * Generated by orval v7.9.0 🍺
4826
4886
  * Do not edit manually.
4827
4887
  * Gladia Control API
4828
4888
  * OpenAPI spec version: 1.0
@@ -4833,31 +4893,7 @@ declare const CallbackLiveTranslationMessageEvent: {
4833
4893
  };
4834
4894
 
4835
4895
  /**
4836
- * Generated by orval v7.17.0 🍺
4837
- * Do not edit manually.
4838
- * Gladia Control API
4839
- * OpenAPI spec version: 1.0
4840
- */
4841
-
4842
- /**
4843
- * Error message if the addon failed
4844
- * @nullable
4845
- */
4846
- type TranslationMessageError = Error$2 | null;
4847
-
4848
- /**
4849
- * Generated by orval v7.17.0 🍺
4850
- * Do not edit manually.
4851
- * Gladia Control API
4852
- * OpenAPI spec version: 1.0
4853
- */
4854
- type TranslationMessageType = (typeof TranslationMessageType)[keyof typeof TranslationMessageType];
4855
- declare const TranslationMessageType: {
4856
- readonly translation: "translation";
4857
- };
4858
-
4859
- /**
4860
- * Generated by orval v7.17.0 🍺
4896
+ * Generated by orval v7.9.0 🍺
4861
4897
  * Do not edit manually.
4862
4898
  * Gladia Control API
4863
4899
  * OpenAPI spec version: 1.0
@@ -4877,7 +4913,7 @@ interface TranslationData {
4877
4913
  }
4878
4914
 
4879
4915
  /**
4880
- * Generated by orval v7.17.0 🍺
4916
+ * Generated by orval v7.9.0 🍺
4881
4917
  * Do not edit manually.
4882
4918
  * Gladia Control API
4883
4919
  * OpenAPI spec version: 1.0
@@ -4890,7 +4926,31 @@ interface TranslationData {
4890
4926
  type TranslationMessageData = TranslationData | null;
4891
4927
 
4892
4928
  /**
4893
- * Generated by orval v7.17.0 🍺
4929
+ * Generated by orval v7.9.0 🍺
4930
+ * Do not edit manually.
4931
+ * Gladia Control API
4932
+ * OpenAPI spec version: 1.0
4933
+ */
4934
+
4935
+ /**
4936
+ * Error message if the addon failed
4937
+ * @nullable
4938
+ */
4939
+ type TranslationMessageError = Error$2 | null;
4940
+
4941
+ /**
4942
+ * Generated by orval v7.9.0 🍺
4943
+ * Do not edit manually.
4944
+ * Gladia Control API
4945
+ * OpenAPI spec version: 1.0
4946
+ */
4947
+ type TranslationMessageType = (typeof TranslationMessageType)[keyof typeof TranslationMessageType];
4948
+ declare const TranslationMessageType: {
4949
+ readonly translation: "translation";
4950
+ };
4951
+
4952
+ /**
4953
+ * Generated by orval v7.9.0 🍺
4894
4954
  * Do not edit manually.
4895
4955
  * Gladia Control API
4896
4956
  * OpenAPI spec version: 1.0
@@ -4915,7 +4975,7 @@ interface TranslationMessage {
4915
4975
  }
4916
4976
 
4917
4977
  /**
4918
- * Generated by orval v7.17.0 🍺
4978
+ * Generated by orval v7.9.0 🍺
4919
4979
  * Do not edit manually.
4920
4980
  * Gladia Control API
4921
4981
  * OpenAPI spec version: 1.0
@@ -4930,7 +4990,21 @@ interface CallbackLiveTranslationMessage {
4930
4990
  }
4931
4991
 
4932
4992
  /**
4933
- * Generated by orval v7.17.0 🍺
4993
+ * Generated by orval v7.9.0 🍺
4994
+ * Do not edit manually.
4995
+ * Gladia Control API
4996
+ * OpenAPI spec version: 1.0
4997
+ */
4998
+ /**
4999
+ * Custom metadata given in the initial request
5000
+ * @nullable
5001
+ */
5002
+ type CallbackTranscriptionErrorPayloadCustomMetadata = {
5003
+ [key: string]: unknown;
5004
+ } | null;
5005
+
5006
+ /**
5007
+ * Generated by orval v7.9.0 🍺
4934
5008
  * Do not edit manually.
4935
5009
  * Gladia Control API
4936
5010
  * OpenAPI spec version: 1.0
@@ -4944,7 +5018,7 @@ declare const CallbackTranscriptionErrorPayloadEvent: {
4944
5018
  };
4945
5019
 
4946
5020
  /**
4947
- * Generated by orval v7.17.0 🍺
5021
+ * Generated by orval v7.9.0 🍺
4948
5022
  * Do not edit manually.
4949
5023
  * Gladia Control API
4950
5024
  * OpenAPI spec version: 1.0
@@ -4957,21 +5031,7 @@ interface ErrorDTO {
4957
5031
  }
4958
5032
 
4959
5033
  /**
4960
- * Generated by orval v7.17.0 🍺
4961
- * Do not edit manually.
4962
- * Gladia Control API
4963
- * OpenAPI spec version: 1.0
4964
- */
4965
- /**
4966
- * Custom metadata given in the initial request
4967
- * @nullable
4968
- */
4969
- type CallbackTranscriptionErrorPayloadCustomMetadata = {
4970
- [key: string]: unknown;
4971
- } | null;
4972
-
4973
- /**
4974
- * Generated by orval v7.17.0 🍺
5034
+ * Generated by orval v7.9.0 🍺
4975
5035
  * Do not edit manually.
4976
5036
  * Gladia Control API
4977
5037
  * OpenAPI spec version: 1.0
@@ -4992,7 +5052,21 @@ interface CallbackTranscriptionErrorPayload {
4992
5052
  }
4993
5053
 
4994
5054
  /**
4995
- * Generated by orval v7.17.0 🍺
5055
+ * Generated by orval v7.9.0 🍺
5056
+ * Do not edit manually.
5057
+ * Gladia Control API
5058
+ * OpenAPI spec version: 1.0
5059
+ */
5060
+ /**
5061
+ * Custom metadata given in the initial request
5062
+ * @nullable
5063
+ */
5064
+ type CallbackTranscriptionSuccessPayloadCustomMetadata = {
5065
+ [key: string]: unknown;
5066
+ } | null;
5067
+
5068
+ /**
5069
+ * Generated by orval v7.9.0 🍺
4996
5070
  * Do not edit manually.
4997
5071
  * Gladia Control API
4998
5072
  * OpenAPI spec version: 1.0
@@ -5006,7 +5080,7 @@ declare const CallbackTranscriptionSuccessPayloadEvent: {
5006
5080
  };
5007
5081
 
5008
5082
  /**
5009
- * Generated by orval v7.17.0 🍺
5083
+ * Generated by orval v7.9.0 🍺
5010
5084
  * Do not edit manually.
5011
5085
  * Gladia Control API
5012
5086
  * OpenAPI spec version: 1.0
@@ -5016,16 +5090,16 @@ declare const CallbackTranscriptionSuccessPayloadEvent: {
5016
5090
  * `null` if `success` is `true`. Contains the error details of the failed model
5017
5091
  * @nullable
5018
5092
  */
5019
- type ModerationDTOError = AddonErrorDTO | null;
5093
+ type DiarizationDTOError = AddonErrorDTO | null;
5020
5094
 
5021
5095
  /**
5022
- * Generated by orval v7.17.0 🍺
5096
+ * Generated by orval v7.9.0 🍺
5023
5097
  * Do not edit manually.
5024
5098
  * Gladia Control API
5025
5099
  * OpenAPI spec version: 1.0
5026
5100
  */
5027
5101
 
5028
- interface ModerationDTO {
5102
+ interface DiarizationDTO {
5029
5103
  /** The audio intelligence model succeeded to get a valid output */
5030
5104
  success: boolean;
5031
5105
  /** The audio intelligence model returned an empty value */
@@ -5036,16 +5110,13 @@ interface ModerationDTO {
5036
5110
  * `null` if `success` is `true`. Contains the error details of the failed model
5037
5111
  * @nullable
5038
5112
  */
5039
- error: ModerationDTOError;
5040
- /**
5041
- * If `moderation` has been enabled, moderated transcription
5042
- * @nullable
5043
- */
5044
- results: string | null;
5113
+ error: DiarizationDTOError;
5114
+ /** [Deprecated] If `diarization` has been enabled, the diarization result will appear here */
5115
+ results: UtteranceDTO[];
5045
5116
  }
5046
5117
 
5047
5118
  /**
5048
- * Generated by orval v7.17.0 🍺
5119
+ * Generated by orval v7.9.0 🍺
5049
5120
  * Do not edit manually.
5050
5121
  * Gladia Control API
5051
5122
  * OpenAPI spec version: 1.0
@@ -5055,16 +5126,16 @@ interface ModerationDTO {
5055
5126
  * `null` if `success` is `true`. Contains the error details of the failed model
5056
5127
  * @nullable
5057
5128
  */
5058
- type NamesConsistencyDTOError = AddonErrorDTO | null;
5129
+ type DisplayModeDTOError = AddonErrorDTO | null;
5059
5130
 
5060
5131
  /**
5061
- * Generated by orval v7.17.0 🍺
5132
+ * Generated by orval v7.9.0 🍺
5062
5133
  * Do not edit manually.
5063
5134
  * Gladia Control API
5064
5135
  * OpenAPI spec version: 1.0
5065
5136
  */
5066
5137
 
5067
- interface NamesConsistencyDTO {
5138
+ interface DisplayModeDTO {
5068
5139
  /** The audio intelligence model succeeded to get a valid output */
5069
5140
  success: boolean;
5070
5141
  /** The audio intelligence model returned an empty value */
@@ -5075,13 +5146,16 @@ interface NamesConsistencyDTO {
5075
5146
  * `null` if `success` is `true`. Contains the error details of the failed model
5076
5147
  * @nullable
5077
5148
  */
5078
- error: NamesConsistencyDTOError;
5079
- /** If `name_consistency` has been enabled, Gladia will improve the consistency of the names across the transcription */
5080
- results: string;
5149
+ error: DisplayModeDTOError;
5150
+ /**
5151
+ * If `display_mode` has been enabled, proposes an alternative display output.
5152
+ * @nullable
5153
+ */
5154
+ results: string[] | null;
5081
5155
  }
5082
5156
 
5083
5157
  /**
5084
- * Generated by orval v7.17.0 🍺
5158
+ * Generated by orval v7.9.0 🍺
5085
5159
  * Do not edit manually.
5086
5160
  * Gladia Control API
5087
5161
  * OpenAPI spec version: 1.0
@@ -5091,16 +5165,16 @@ interface NamesConsistencyDTO {
5091
5165
  * `null` if `success` is `true`. Contains the error details of the failed model
5092
5166
  * @nullable
5093
5167
  */
5094
- type SpeakerReidentificationDTOError = AddonErrorDTO | null;
5168
+ type ModerationDTOError = AddonErrorDTO | null;
5095
5169
 
5096
5170
  /**
5097
- * Generated by orval v7.17.0 🍺
5171
+ * Generated by orval v7.9.0 🍺
5098
5172
  * Do not edit manually.
5099
5173
  * Gladia Control API
5100
5174
  * OpenAPI spec version: 1.0
5101
5175
  */
5102
5176
 
5103
- interface SpeakerReidentificationDTO {
5177
+ interface ModerationDTO {
5104
5178
  /** The audio intelligence model succeeded to get a valid output */
5105
5179
  success: boolean;
5106
5180
  /** The audio intelligence model returned an empty value */
@@ -5111,13 +5185,16 @@ interface SpeakerReidentificationDTO {
5111
5185
  * `null` if `success` is `true`. Contains the error details of the failed model
5112
5186
  * @nullable
5113
5187
  */
5114
- error: SpeakerReidentificationDTOError;
5115
- /** If `speaker_reidentification` has been enabled, results of the AI speaker reidentification. */
5116
- results: string;
5188
+ error: ModerationDTOError;
5189
+ /**
5190
+ * If `moderation` has been enabled, moderated transcription
5191
+ * @nullable
5192
+ */
5193
+ results: string | null;
5117
5194
  }
5118
5195
 
5119
5196
  /**
5120
- * Generated by orval v7.17.0 🍺
5197
+ * Generated by orval v7.9.0 🍺
5121
5198
  * Do not edit manually.
5122
5199
  * Gladia Control API
5123
5200
  * OpenAPI spec version: 1.0
@@ -5127,16 +5204,16 @@ interface SpeakerReidentificationDTO {
5127
5204
  * `null` if `success` is `true`. Contains the error details of the failed model
5128
5205
  * @nullable
5129
5206
  */
5130
- type StructuredDataExtractionDTOError = AddonErrorDTO | null;
5207
+ type NamesConsistencyDTOError = AddonErrorDTO | null;
5131
5208
 
5132
5209
  /**
5133
- * Generated by orval v7.17.0 🍺
5210
+ * Generated by orval v7.9.0 🍺
5134
5211
  * Do not edit manually.
5135
5212
  * Gladia Control API
5136
5213
  * OpenAPI spec version: 1.0
5137
5214
  */
5138
5215
 
5139
- interface StructuredDataExtractionDTO {
5216
+ interface NamesConsistencyDTO {
5140
5217
  /** The audio intelligence model succeeded to get a valid output */
5141
5218
  success: boolean;
5142
5219
  /** The audio intelligence model returned an empty value */
@@ -5147,13 +5224,13 @@ interface StructuredDataExtractionDTO {
5147
5224
  * `null` if `success` is `true`. Contains the error details of the failed model
5148
5225
  * @nullable
5149
5226
  */
5150
- error: StructuredDataExtractionDTOError;
5151
- /** If `structured_data_extraction` has been enabled, results of the AI structured data extraction for the defined classes. */
5227
+ error: NamesConsistencyDTOError;
5228
+ /** If `name_consistency` has been enabled, Gladia will improve the consistency of the names across the transcription */
5152
5229
  results: string;
5153
5230
  }
5154
5231
 
5155
5232
  /**
5156
- * Generated by orval v7.17.0 🍺
5233
+ * Generated by orval v7.9.0 🍺
5157
5234
  * Do not edit manually.
5158
5235
  * Gladia Control API
5159
5236
  * OpenAPI spec version: 1.0
@@ -5163,16 +5240,16 @@ interface StructuredDataExtractionDTO {
5163
5240
  * `null` if `success` is `true`. Contains the error details of the failed model
5164
5241
  * @nullable
5165
5242
  */
5166
- type DisplayModeDTOError = AddonErrorDTO | null;
5243
+ type SpeakerReidentificationDTOError = AddonErrorDTO | null;
5167
5244
 
5168
5245
  /**
5169
- * Generated by orval v7.17.0 🍺
5246
+ * Generated by orval v7.9.0 🍺
5170
5247
  * Do not edit manually.
5171
5248
  * Gladia Control API
5172
5249
  * OpenAPI spec version: 1.0
5173
5250
  */
5174
5251
 
5175
- interface DisplayModeDTO {
5252
+ interface SpeakerReidentificationDTO {
5176
5253
  /** The audio intelligence model succeeded to get a valid output */
5177
5254
  success: boolean;
5178
5255
  /** The audio intelligence model returned an empty value */
@@ -5183,16 +5260,13 @@ interface DisplayModeDTO {
5183
5260
  * `null` if `success` is `true`. Contains the error details of the failed model
5184
5261
  * @nullable
5185
5262
  */
5186
- error: DisplayModeDTOError;
5187
- /**
5188
- * If `display_mode` has been enabled, proposes an alternative display output.
5189
- * @nullable
5190
- */
5191
- results: string[] | null;
5263
+ error: SpeakerReidentificationDTOError;
5264
+ /** If `speaker_reidentification` has been enabled, results of the AI speaker reidentification. */
5265
+ results: string;
5192
5266
  }
5193
5267
 
5194
5268
  /**
5195
- * Generated by orval v7.17.0 🍺
5269
+ * Generated by orval v7.9.0 🍺
5196
5270
  * Do not edit manually.
5197
5271
  * Gladia Control API
5198
5272
  * OpenAPI spec version: 1.0
@@ -5202,16 +5276,16 @@ interface DisplayModeDTO {
5202
5276
  * `null` if `success` is `true`. Contains the error details of the failed model
5203
5277
  * @nullable
5204
5278
  */
5205
- type DiarizationDTOError = AddonErrorDTO | null;
5279
+ type StructuredDataExtractionDTOError = AddonErrorDTO | null;
5206
5280
 
5207
5281
  /**
5208
- * Generated by orval v7.17.0 🍺
5282
+ * Generated by orval v7.9.0 🍺
5209
5283
  * Do not edit manually.
5210
5284
  * Gladia Control API
5211
5285
  * OpenAPI spec version: 1.0
5212
5286
  */
5213
5287
 
5214
- interface DiarizationDTO {
5288
+ interface StructuredDataExtractionDTO {
5215
5289
  /** The audio intelligence model succeeded to get a valid output */
5216
5290
  success: boolean;
5217
5291
  /** The audio intelligence model returned an empty value */
@@ -5222,13 +5296,13 @@ interface DiarizationDTO {
5222
5296
  * `null` if `success` is `true`. Contains the error details of the failed model
5223
5297
  * @nullable
5224
5298
  */
5225
- error: DiarizationDTOError;
5226
- /** [Deprecated] If `diarization` has been enabled, the diarization result will appear here */
5227
- results: UtteranceDTO[];
5299
+ error: StructuredDataExtractionDTOError;
5300
+ /** If `structured_data_extraction` has been enabled, results of the AI structured data extraction for the defined classes. */
5301
+ results: string;
5228
5302
  }
5229
5303
 
5230
5304
  /**
5231
- * Generated by orval v7.17.0 🍺
5305
+ * Generated by orval v7.9.0 🍺
5232
5306
  * Do not edit manually.
5233
5307
  * Gladia Control API
5234
5308
  * OpenAPI spec version: 1.0
@@ -5271,21 +5345,7 @@ interface TranscriptionResultDTO {
5271
5345
  }
5272
5346
 
5273
5347
  /**
5274
- * Generated by orval v7.17.0 🍺
5275
- * Do not edit manually.
5276
- * Gladia Control API
5277
- * OpenAPI spec version: 1.0
5278
- */
5279
- /**
5280
- * Custom metadata given in the initial request
5281
- * @nullable
5282
- */
5283
- type CallbackTranscriptionSuccessPayloadCustomMetadata = {
5284
- [key: string]: unknown;
5285
- } | null;
5286
-
5287
- /**
5288
- * Generated by orval v7.17.0 🍺
5348
+ * Generated by orval v7.9.0 🍺
5289
5349
  * Do not edit manually.
5290
5350
  * Gladia Control API
5291
5351
  * OpenAPI spec version: 1.0
@@ -5306,7 +5366,7 @@ interface CallbackTranscriptionSuccessPayload {
5306
5366
  }
5307
5367
 
5308
5368
  /**
5309
- * Generated by orval v7.17.0 🍺
5369
+ * Generated by orval v7.9.0 🍺
5310
5370
  * Do not edit manually.
5311
5371
  * Gladia Control API
5312
5372
  * OpenAPI spec version: 1.0
@@ -5318,7 +5378,7 @@ interface CodeSwitchingConfigDTO {
5318
5378
  }
5319
5379
 
5320
5380
  /**
5321
- * Generated by orval v7.17.0 🍺
5381
+ * Generated by orval v7.9.0 🍺
5322
5382
  * Do not edit manually.
5323
5383
  * Gladia Control API
5324
5384
  * OpenAPI spec version: 1.0
@@ -5331,7 +5391,7 @@ type CustomSpellingConfigDTOSpellingDictionary = {
5331
5391
  };
5332
5392
 
5333
5393
  /**
5334
- * Generated by orval v7.17.0 🍺
5394
+ * Generated by orval v7.9.0 🍺
5335
5395
  * Do not edit manually.
5336
5396
  * Gladia Control API
5337
5397
  * OpenAPI spec version: 1.0
@@ -5343,7 +5403,7 @@ interface CustomSpellingConfigDTO {
5343
5403
  }
5344
5404
 
5345
5405
  /**
5346
- * Generated by orval v7.17.0 🍺
5406
+ * Generated by orval v7.9.0 🍺
5347
5407
  * Do not edit manually.
5348
5408
  * Gladia Control API
5349
5409
  * OpenAPI spec version: 1.0
@@ -5365,7 +5425,7 @@ interface CustomVocabularyEntryDTO {
5365
5425
  }
5366
5426
 
5367
5427
  /**
5368
- * Generated by orval v7.17.0 🍺
5428
+ * Generated by orval v7.9.0 🍺
5369
5429
  * Do not edit manually.
5370
5430
  * Gladia Control API
5371
5431
  * OpenAPI spec version: 1.0
@@ -5374,7 +5434,7 @@ interface CustomVocabularyEntryDTO {
5374
5434
  type CustomVocabularyConfigDTOVocabularyItem = CustomVocabularyEntryDTO | string;
5375
5435
 
5376
5436
  /**
5377
- * Generated by orval v7.17.0 🍺
5437
+ * Generated by orval v7.9.0 🍺
5378
5438
  * Do not edit manually.
5379
5439
  * Gladia Control API
5380
5440
  * OpenAPI spec version: 1.0
@@ -5392,7 +5452,7 @@ interface CustomVocabularyConfigDTO {
5392
5452
  }
5393
5453
 
5394
5454
  /**
5395
- * Generated by orval v7.17.0 🍺
5455
+ * Generated by orval v7.9.0 🍺
5396
5456
  * Do not edit manually.
5397
5457
  * Gladia Control API
5398
5458
  * OpenAPI spec version: 1.0
@@ -5416,7 +5476,7 @@ interface DiarizationConfigDTO {
5416
5476
  }
5417
5477
 
5418
5478
  /**
5419
- * Generated by orval v7.17.0 🍺
5479
+ * Generated by orval v7.9.0 🍺
5420
5480
  * Do not edit manually.
5421
5481
  * Gladia Control API
5422
5482
  * OpenAPI spec version: 1.0
@@ -5427,7 +5487,7 @@ type FileControllerUploadV2BodyOne = {
5427
5487
  };
5428
5488
 
5429
5489
  /**
5430
- * Generated by orval v7.17.0 🍺
5490
+ * Generated by orval v7.9.0 🍺
5431
5491
  * Do not edit manually.
5432
5492
  * Gladia Control API
5433
5493
  * OpenAPI spec version: 1.0
@@ -5438,7 +5498,7 @@ type FileControllerUploadV2BodyTwo = {
5438
5498
  };
5439
5499
 
5440
5500
  /**
5441
- * Generated by orval v7.17.0 🍺
5501
+ * Generated by orval v7.9.0 🍺
5442
5502
  * Do not edit manually.
5443
5503
  * Gladia Control API
5444
5504
  * OpenAPI spec version: 1.0
@@ -5470,7 +5530,7 @@ interface FileResponse {
5470
5530
  }
5471
5531
 
5472
5532
  /**
5473
- * Generated by orval v7.17.0 🍺
5533
+ * Generated by orval v7.9.0 🍺
5474
5534
  * Do not edit manually.
5475
5535
  * Gladia Control API
5476
5536
  * OpenAPI spec version: 1.0
@@ -5489,7 +5549,7 @@ interface ForbiddenErrorResponse {
5489
5549
  }
5490
5550
 
5491
5551
  /**
5492
- * Generated by orval v7.17.0 🍺
5552
+ * Generated by orval v7.9.0 🍺
5493
5553
  * Do not edit manually.
5494
5554
  * Gladia Control API
5495
5555
  * OpenAPI spec version: 1.0
@@ -5501,7 +5561,7 @@ declare const HistoryControllerGetListV1KindItem: {
5501
5561
  };
5502
5562
 
5503
5563
  /**
5504
- * Generated by orval v7.17.0 🍺
5564
+ * Generated by orval v7.9.0 🍺
5505
5565
  * Do not edit manually.
5506
5566
  * Gladia Control API
5507
5567
  * OpenAPI spec version: 1.0
@@ -5515,7 +5575,7 @@ declare const HistoryControllerGetListV1StatusItem: {
5515
5575
  };
5516
5576
 
5517
5577
  /**
5518
- * Generated by orval v7.17.0 🍺
5578
+ * Generated by orval v7.9.0 🍺
5519
5579
  * Do not edit manually.
5520
5580
  * Gladia Control API
5521
5581
  * OpenAPI spec version: 1.0
@@ -5524,12 +5584,10 @@ declare const HistoryControllerGetListV1StatusItem: {
5524
5584
  type HistoryControllerGetListV1Params = {
5525
5585
  /**
5526
5586
  * The starting point for pagination. A value of 0 starts from the first item.
5527
- * @minimum 0
5528
5587
  */
5529
5588
  offset?: number;
5530
5589
  /**
5531
5590
  * The maximum number of items to return. Useful for pagination and controlling data payload size.
5532
- * @minimum 1
5533
5591
  */
5534
5592
  limit?: number;
5535
5593
  /**
@@ -5558,7 +5616,7 @@ type HistoryControllerGetListV1Params = {
5558
5616
  };
5559
5617
 
5560
5618
  /**
5561
- * Generated by orval v7.17.0 🍺
5619
+ * Generated by orval v7.9.0 🍺
5562
5620
  * Do not edit manually.
5563
5621
  * Gladia Control API
5564
5622
  * OpenAPI spec version: 1.0
@@ -5571,22 +5629,63 @@ interface InitPreRecordedTranscriptionResponse {
5571
5629
  }
5572
5630
 
5573
5631
  /**
5574
- * Generated by orval v7.17.0 🍺
5632
+ * Generated by orval v7.9.0 🍺
5633
+ * Do not edit manually.
5634
+ * Gladia Control API
5635
+ * OpenAPI spec version: 1.0
5636
+ */
5637
+ interface InitStreamingResponse {
5638
+ /** Id of the job */
5639
+ id: string;
5640
+ /** Creation date */
5641
+ created_at: string;
5642
+ /** The websocket url to connect to for sending audio data. The url will contain the temporary token to authenticate the session. */
5643
+ url: string;
5644
+ }
5645
+
5646
+ /**
5647
+ * Generated by orval v7.9.0 🍺
5648
+ * Do not edit manually.
5649
+ * Gladia Control API
5650
+ * OpenAPI spec version: 1.0
5651
+ */
5652
+ /**
5653
+ * Custom metadata you can attach to this transcription
5654
+ */
5655
+ type InitTranscriptionRequestCustomMetadata = {
5656
+ [key: string]: unknown;
5657
+ };
5658
+
5659
+ /**
5660
+ * Generated by orval v7.9.0 🍺
5661
+ * Do not edit manually.
5662
+ * Gladia Control API
5663
+ * OpenAPI spec version: 1.0
5664
+ */
5665
+
5666
+ interface LanguageConfig {
5667
+ /** If one language is set, it will be used for the transcription. Otherwise, language will be auto-detected by the model. */
5668
+ languages?: TranscriptionLanguageCodeEnum[];
5669
+ /** If true, language will be auto-detected on each utterance. Otherwise, language will be auto-detected on first utterance and then used for the rest of the transcription. If one language is set, this option will be ignored. */
5670
+ code_switching?: boolean;
5671
+ }
5672
+
5673
+ /**
5674
+ * Generated by orval v7.9.0 🍺
5575
5675
  * Do not edit manually.
5576
5676
  * Gladia Control API
5577
5677
  * OpenAPI spec version: 1.0
5578
5678
  */
5579
- interface InitStreamingResponse {
5580
- /** Id of the job */
5581
- id: string;
5582
- /** Creation date */
5583
- created_at: string;
5584
- /** The websocket url to connect to for sending audio data. The url will contain the temporary token to authenticate the session. */
5585
- url: string;
5679
+ interface StructuredDataExtractionConfigDTO {
5680
+ /**
5681
+ * The list of classes to extract from the audio transcription
5682
+ * @minItems 1
5683
+ */
5684
+ classes: unknown[][];
5586
5685
  }
5587
5686
 
5588
5687
  /**
5589
- * Generated by orval v7.17.0 🍺
5688
+ * Generated by orval v7.9.0 🍺
5590
5689
  * Do not edit manually.
5591
5690
  * Gladia Control API
5592
5691
  * OpenAPI spec version: 1.0
@@ -5601,7 +5700,7 @@ declare const SubtitlesStyleEnum: {
5601
5700
  };
5602
5701
 
5603
5702
  /**
5604
- * Generated by orval v7.17.0 🍺
5703
+ * Generated by orval v7.9.0 🍺
5605
5704
  * Do not edit manually.
5606
5705
  * Gladia Control API
5607
5706
  * OpenAPI spec version: 1.0
@@ -5640,49 +5739,7 @@ interface SubtitlesConfigDTO {
5640
5739
  }
5641
5740
 
5642
5741
  /**
5643
- * Generated by orval v7.17.0 🍺
5644
- * Do not edit manually.
5645
- * Gladia Control API
5646
- * OpenAPI spec version: 1.0
5647
- */
5648
- /**
5649
- * Model you want the translation model to use to translate
5650
- */
5651
- type TranslationModelEnum = (typeof TranslationModelEnum)[keyof typeof TranslationModelEnum];
5652
- declare const TranslationModelEnum: {
5653
- readonly base: "base";
5654
- readonly enhanced: "enhanced";
5655
- };
5656
-
5657
- /**
5658
- * Generated by orval v7.17.0 🍺
5659
- * Do not edit manually.
5660
- * Gladia Control API
5661
- * OpenAPI spec version: 1.0
5662
- */
5663
-
5664
- interface TranslationConfigDTO {
5665
- /**
5666
- * Target language in `iso639-1` format you want the transcription translated to
5667
- * @minItems 1
5668
- */
5669
- target_languages: TranslationLanguageCodeEnum[];
5670
- /** Model you want the translation model to use to translate */
5671
- model?: TranslationModelEnum;
5672
- /** Align translated utterances with the original ones */
5673
- match_original_utterances?: boolean;
5674
- /** Whether to apply lipsync to the translated transcription. */
5675
- lipsync?: boolean;
5676
- /** Enables or disables context-aware translation features that allow the model to adapt translations based on provided context. */
5677
- context_adaptation?: boolean;
5678
- /** Context information to improve translation accuracy */
5679
- context?: string;
5680
- /** Forces the translation to use informal language forms when available in the target language. */
5681
- informal?: boolean;
5682
- }
5683
-
5684
- /**
5685
- * Generated by orval v7.17.0 🍺
5742
+ * Generated by orval v7.9.0 🍺
5686
5743
  * Do not edit manually.
5687
5744
  * Gladia Control API
5688
5745
  * OpenAPI spec version: 1.0
@@ -5698,7 +5755,7 @@ declare const SummaryTypesEnum: {
5698
5755
  };
5699
5756
 
5700
5757
  /**
5701
- * Generated by orval v7.17.0 🍺
5758
+ * Generated by orval v7.9.0 🍺
5702
5759
  * Do not edit manually.
5703
5760
  * Gladia Control API
5704
5761
  * OpenAPI spec version: 1.0
@@ -5710,48 +5767,49 @@ interface SummarizationConfigDTO {
5710
5767
  }
5711
5768
 
5712
5769
  /**
5713
- * Generated by orval v7.17.0 🍺
5714
- * Do not edit manually.
5715
- * Gladia Control API
5716
- * OpenAPI spec version: 1.0
5717
- */
5718
- interface StructuredDataExtractionConfigDTO {
5719
- /**
5720
- * The list of classes to extract from the audio transcription
5721
- * @minItems 1
5722
- */
5723
- classes: unknown[][];
5724
- }
5725
-
5726
- /**
5727
- * Generated by orval v7.17.0 🍺
5770
+ * Generated by orval v7.9.0 🍺
5728
5771
  * Do not edit manually.
5729
5772
  * Gladia Control API
5730
5773
  * OpenAPI spec version: 1.0
5731
5774
  */
5732
5775
  /**
5733
- * Custom metadata you can attach to this transcription
5776
+ * Model you want the translation model to use to translate
5734
5777
  */
5735
- type InitTranscriptionRequestCustomMetadata = {
5736
- [key: string]: unknown;
5778
+ type TranslationModelEnum = (typeof TranslationModelEnum)[keyof typeof TranslationModelEnum];
5779
+ declare const TranslationModelEnum: {
5780
+ readonly base: "base";
5781
+ readonly enhanced: "enhanced";
5737
5782
  };
5738
5783
 
5739
5784
  /**
5740
- * Generated by orval v7.17.0 🍺
5785
+ * Generated by orval v7.9.0 🍺
5741
5786
  * Do not edit manually.
5742
5787
  * Gladia Control API
5743
5788
  * OpenAPI spec version: 1.0
5744
5789
  */
5745
5790
 
5746
- interface LanguageConfig {
5747
- /** If one language is set, it will be used for the transcription. Otherwise, language will be auto-detected by the model. */
5748
- languages?: TranscriptionLanguageCodeEnum[];
5749
- /** If true, language will be auto-detected on each utterance. Otherwise, language will be auto-detected on first utterance and then used for the rest of the transcription. If one language is set, this option will be ignored. */
5750
- code_switching?: boolean;
5791
+ interface TranslationConfigDTO {
5792
+ /**
5793
+ * Target language in `iso639-1` format you want the transcription translated to
5794
+ * @minItems 1
5795
+ */
5796
+ target_languages: TranslationLanguageCodeEnum[];
5797
+ /** Model you want the translation model to use to translate */
5798
+ model?: TranslationModelEnum;
5799
+ /** Align translated utterances with the original ones */
5800
+ match_original_utterances?: boolean;
5801
+ /** Whether to apply lipsync to the translated transcription. */
5802
+ lipsync?: boolean;
5803
+ /** Enables or disables context-aware translation features that allow the model to adapt translations based on provided context. */
5804
+ context_adaptation?: boolean;
5805
+ /** Context information to improve translation accuracy */
5806
+ context?: string;
5807
+ /** Forces the translation to use informal language forms when available in the target language. */
5808
+ informal?: boolean;
5751
5809
  }
5752
5810
 
5753
5811
  /**
5754
- * Generated by orval v7.17.0 🍺
5812
+ * Generated by orval v7.9.0 🍺
5755
5813
  * Do not edit manually.
5756
5814
  * Gladia Control API
5757
5815
  * OpenAPI spec version: 1.0
@@ -5849,24 +5907,7 @@ interface InitTranscriptionRequest {
5849
5907
  }
5850
5908
 
5851
5909
  /**
5852
- * Generated by orval v7.17.0 🍺
5853
- * Do not edit manually.
5854
- * Gladia Control API
5855
- * OpenAPI spec version: 1.0
5856
- */
5857
- /**
5858
- * "queued": the job has been queued. "processing": the job is being processed. "done": the job has been processed and the result is available. "error": an error occurred during the job's processing.
5859
- */
5860
- type PreRecordedResponseStatus = (typeof PreRecordedResponseStatus)[keyof typeof PreRecordedResponseStatus];
5861
- declare const PreRecordedResponseStatus: {
5862
- readonly queued: "queued";
5863
- readonly processing: "processing";
5864
- readonly done: "done";
5865
- readonly error: "error";
5866
- };
5867
-
5868
- /**
5869
- * Generated by orval v7.17.0 🍺
5910
+ * Generated by orval v7.9.0 🍺
5870
5911
  * Do not edit manually.
5871
5912
  * Gladia Control API
5872
5913
  * OpenAPI spec version: 1.0
@@ -5879,20 +5920,20 @@ type PreRecordedResponseCustomMetadata = {
5879
5920
  };
5880
5921
 
5881
5922
  /**
5882
- * Generated by orval v7.17.0 🍺
5923
+ * Generated by orval v7.9.0 🍺
5883
5924
  * Do not edit manually.
5884
5925
  * Gladia Control API
5885
5926
  * OpenAPI spec version: 1.0
5886
5927
  */
5928
+
5887
5929
  /**
5888
- * For debugging purposes, send data that could help to identify issues
5930
+ * The file data you uploaded. Can be null if status is "error"
5931
+ * @nullable
5889
5932
  */
5890
- type PreRecordedResponsePostSessionMetadata = {
5891
- [key: string]: unknown;
5892
- };
5933
+ type PreRecordedResponseFile = FileResponse | null;
5893
5934
 
5894
5935
  /**
5895
- * Generated by orval v7.17.0 🍺
5936
+ * Generated by orval v7.9.0 🍺
5896
5937
  * Do not edit manually.
5897
5938
  * Gladia Control API
5898
5939
  * OpenAPI spec version: 1.0
@@ -5903,20 +5944,20 @@ declare const PreRecordedResponseKind: {
5903
5944
  };
5904
5945
 
5905
5946
  /**
5906
- * Generated by orval v7.17.0 🍺
5947
+ * Generated by orval v7.9.0 🍺
5907
5948
  * Do not edit manually.
5908
5949
  * Gladia Control API
5909
5950
  * OpenAPI spec version: 1.0
5910
5951
  */
5911
-
5912
5952
  /**
5913
- * The file data you uploaded. Can be null if status is "error"
5914
- * @nullable
5953
+ * For debugging purposes, send data that could help to identify issues
5915
5954
  */
5916
- type PreRecordedResponseFile = FileResponse | null;
5955
+ type PreRecordedResponsePostSessionMetadata = {
5956
+ [key: string]: unknown;
5957
+ };
5917
5958
 
5918
5959
  /**
5919
- * Generated by orval v7.17.0 🍺
5960
+ * Generated by orval v7.9.0 🍺
5920
5961
  * Do not edit manually.
5921
5962
  * Gladia Control API
5922
5963
  * OpenAPI spec version: 1.0
@@ -6012,7 +6053,7 @@ interface PreRecordedRequestParamsResponse {
6012
6053
  }
6013
6054
 
6014
6055
  /**
6015
- * Generated by orval v7.17.0 🍺
6056
+ * Generated by orval v7.9.0 🍺
6016
6057
  * Do not edit manually.
6017
6058
  * Gladia Control API
6018
6059
  * OpenAPI spec version: 1.0
@@ -6025,7 +6066,7 @@ interface PreRecordedRequestParamsResponse {
6025
6066
  type PreRecordedResponseRequestParams = PreRecordedRequestParamsResponse | null;
6026
6067
 
6027
6068
  /**
6028
- * Generated by orval v7.17.0 🍺
6069
+ * Generated by orval v7.9.0 🍺
6029
6070
  * Do not edit manually.
6030
6071
  * Gladia Control API
6031
6072
  * OpenAPI spec version: 1.0
@@ -6038,7 +6079,24 @@ type PreRecordedResponseRequestParams = PreRecordedRequestParamsResponse | null;
6038
6079
  type PreRecordedResponseResult = TranscriptionResultDTO | null;
6039
6080
 
6040
6081
  /**
6041
- * Generated by orval v7.17.0 🍺
6082
+ * Generated by orval v7.9.0 🍺
6083
+ * Do not edit manually.
6084
+ * Gladia Control API
6085
+ * OpenAPI spec version: 1.0
6086
+ */
6087
+ /**
6088
+ * "queued": the job has been queued. "processing": the job is being processed. "done": the job has been processed and the result is available. "error": an error occurred during the job's processing.
6089
+ */
6090
+ type PreRecordedResponseStatus = (typeof PreRecordedResponseStatus)[keyof typeof PreRecordedResponseStatus];
6091
+ declare const PreRecordedResponseStatus: {
6092
+ readonly queued: "queued";
6093
+ readonly processing: "processing";
6094
+ readonly done: "done";
6095
+ readonly error: "error";
6096
+ };
6097
+
6098
+ /**
6099
+ * Generated by orval v7.9.0 🍺
6042
6100
  * Do not edit manually.
6043
6101
  * Gladia Control API
6044
6102
  * OpenAPI spec version: 1.0
@@ -6090,24 +6148,7 @@ interface PreRecordedResponse {
6090
6148
  }
6091
6149
 
6092
6150
  /**
6093
- * Generated by orval v7.17.0 🍺
6094
- * Do not edit manually.
6095
- * Gladia Control API
6096
- * OpenAPI spec version: 1.0
6097
- */
6098
- /**
6099
- * "queued": the job has been queued. "processing": the job is being processed. "done": the job has been processed and the result is available. "error": an error occurred during the job's processing.
6100
- */
6101
- type StreamingResponseStatus = (typeof StreamingResponseStatus)[keyof typeof StreamingResponseStatus];
6102
- declare const StreamingResponseStatus: {
6103
- readonly queued: "queued";
6104
- readonly processing: "processing";
6105
- readonly done: "done";
6106
- readonly error: "error";
6107
- };
6108
-
6109
- /**
6110
- * Generated by orval v7.17.0 🍺
6151
+ * Generated by orval v7.9.0 🍺
6111
6152
  * Do not edit manually.
6112
6153
  * Gladia Control API
6113
6154
  * OpenAPI spec version: 1.0
@@ -6120,31 +6161,7 @@ type StreamingResponseCustomMetadata = {
6120
6161
  };
6121
6162
 
6122
6163
  /**
6123
- * Generated by orval v7.17.0 🍺
6124
- * Do not edit manually.
6125
- * Gladia Control API
6126
- * OpenAPI spec version: 1.0
6127
- */
6128
- /**
6129
- * For debugging purposes, send data that could help to identify issues
6130
- */
6131
- type StreamingResponsePostSessionMetadata = {
6132
- [key: string]: unknown;
6133
- };
6134
-
6135
- /**
6136
- * Generated by orval v7.17.0 🍺
6137
- * Do not edit manually.
6138
- * Gladia Control API
6139
- * OpenAPI spec version: 1.0
6140
- */
6141
- type StreamingResponseKind = (typeof StreamingResponseKind)[keyof typeof StreamingResponseKind];
6142
- declare const StreamingResponseKind: {
6143
- readonly live: "live";
6144
- };
6145
-
6146
- /**
6147
- * Generated by orval v7.17.0 🍺
6164
+ * Generated by orval v7.9.0 🍺
6148
6165
  * Do not edit manually.
6149
6166
  * Gladia Control API
6150
6167
  * OpenAPI spec version: 1.0
@@ -6157,77 +6174,74 @@ declare const StreamingResponseKind: {
6157
6174
  type StreamingResponseFile = FileResponse | null;
6158
6175
 
6159
6176
  /**
6160
- * Generated by orval v7.17.0 🍺
6161
- * Do not edit manually.
6162
- * Gladia Control API
6163
- * OpenAPI spec version: 1.0
6164
- */
6165
- /**
6166
- * The encoding format of the audio stream. Supported formats:
6167
- - PCM: 8, 16, 24, and 32 bits
6168
- - A-law: 8 bits
6169
- - μ-law: 8 bits
6170
-
6171
- Note: No need to add WAV headers to raw audio as the API supports both formats.
6172
- */
6173
- type StreamingSupportedEncodingEnum = (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum];
6174
- declare const StreamingSupportedEncodingEnum: {
6175
- readonly "wav/pcm": "wav/pcm";
6176
- readonly "wav/alaw": "wav/alaw";
6177
- readonly "wav/ulaw": "wav/ulaw";
6178
- };
6179
-
6180
- /**
6181
- * Generated by orval v7.17.0 🍺
6177
+ * Generated by orval v7.9.0 🍺
6182
6178
  * Do not edit manually.
6183
6179
  * Gladia Control API
6184
6180
  * OpenAPI spec version: 1.0
6185
6181
  */
6186
- /**
6187
- * The bit depth of the audio stream
6188
- */
6189
- type StreamingSupportedBitDepthEnum = (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum];
6190
- declare const StreamingSupportedBitDepthEnum: {
6191
- readonly NUMBER_8: 8;
6192
- readonly NUMBER_16: 16;
6193
- readonly NUMBER_24: 24;
6194
- readonly NUMBER_32: 32;
6182
+ type StreamingResponseKind = (typeof StreamingResponseKind)[keyof typeof StreamingResponseKind];
6183
+ declare const StreamingResponseKind: {
6184
+ readonly live: "live";
6195
6185
  };
6196
6186
 
6197
6187
  /**
6198
- * Generated by orval v7.17.0 🍺
6188
+ * Generated by orval v7.9.0 🍺
6199
6189
  * Do not edit manually.
6200
6190
  * Gladia Control API
6201
6191
  * OpenAPI spec version: 1.0
6202
6192
  */
6203
- /**
6204
- * The sample rate of the audio stream
6205
- */
6206
- type StreamingSupportedSampleRateEnum = (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum];
6207
- declare const StreamingSupportedSampleRateEnum: {
6208
- readonly NUMBER_8000: 8000;
6209
- readonly NUMBER_16000: 16000;
6210
- readonly NUMBER_32000: 32000;
6211
- readonly NUMBER_44100: 44100;
6212
- readonly NUMBER_48000: 48000;
6193
+ /**
6194
+ * For debugging purposes, send data that could help to identify issues
6195
+ */
6196
+ type StreamingResponsePostSessionMetadata = {
6197
+ [key: string]: unknown;
6213
6198
  };
6214
6199
 
6215
6200
  /**
6216
- * Generated by orval v7.17.0 🍺
6201
+ * Generated by orval v7.9.0 🍺
6217
6202
  * Do not edit manually.
6218
6203
  * Gladia Control API
6219
6204
  * OpenAPI spec version: 1.0
6220
6205
  */
6206
+ interface MessagesConfig {
6207
+ /** If true, partial transcript will be sent to websocket. */
6208
+ receive_partial_transcripts?: boolean;
6209
+ /** If true, final transcript will be sent to websocket. */
6210
+ receive_final_transcripts?: boolean;
6211
+ /** If true, begin and end speech events will be sent to websocket. */
6212
+ receive_speech_events?: boolean;
6213
+ /** If true, pre-processing events will be sent to websocket. */
6214
+ receive_pre_processing_events?: boolean;
6215
+ /** If true, realtime processing events will be sent to websocket. */
6216
+ receive_realtime_processing_events?: boolean;
6217
+ /** If true, post-processing events will be sent to websocket. */
6218
+ receive_post_processing_events?: boolean;
6219
+ /** If true, acknowledgments will be sent to websocket. */
6220
+ receive_acknowledgments?: boolean;
6221
+ /** If true, errors will be sent to websocket. */
6222
+ receive_errors?: boolean;
6223
+ /** If true, lifecycle events will be sent to websocket. */
6224
+ receive_lifecycle_events?: boolean;
6225
+ }
6226
+
6221
6227
  /**
6222
- * The model used to process the audio. "solaria-1" is used by default.
6228
+ * Generated by orval v7.9.0 🍺
6229
+ * Do not edit manually.
6230
+ * Gladia Control API
6231
+ * OpenAPI spec version: 1.0
6223
6232
  */
6224
- type StreamingSupportedModels = (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels];
6225
- declare const StreamingSupportedModels: {
6226
- readonly "solaria-1": "solaria-1";
6227
- };
6233
+
6234
+ interface PostProcessingConfig {
6235
+ /** If true, generates summarization for the whole transcription. */
6236
+ summarization?: boolean;
6237
+ /** Summarization configuration, if `summarization` is enabled */
6238
+ summarization_config?: SummarizationConfigDTO;
6239
+ /** If true, generates chapters for the whole transcription. */
6240
+ chapterization?: boolean;
6241
+ }
6228
6242
 
6229
6243
  /**
6230
- * Generated by orval v7.17.0 🍺
6244
+ * Generated by orval v7.9.0 🍺
6231
6245
  * Do not edit manually.
6232
6246
  * Gladia Control API
6233
6247
  * OpenAPI spec version: 1.0
@@ -6244,7 +6258,7 @@ interface PreProcessingConfig {
6244
6258
  }
6245
6259
 
6246
6260
  /**
6247
- * Generated by orval v7.17.0 🍺
6261
+ * Generated by orval v7.9.0 🍺
6248
6262
  * Do not edit manually.
6249
6263
  * Gladia Control API
6250
6264
  * OpenAPI spec version: 1.0
@@ -6270,50 +6284,77 @@ interface RealtimeProcessingConfig {
6270
6284
  }
6271
6285
 
6272
6286
  /**
6273
- * Generated by orval v7.17.0 🍺
6287
+ * Generated by orval v7.9.0 🍺
6274
6288
  * Do not edit manually.
6275
6289
  * Gladia Control API
6276
6290
  * OpenAPI spec version: 1.0
6277
6291
  */
6292
+ /**
6293
+ * The bit depth of the audio stream
6294
+ */
6295
+ type StreamingSupportedBitDepthEnum = (typeof StreamingSupportedBitDepthEnum)[keyof typeof StreamingSupportedBitDepthEnum];
6296
+ declare const StreamingSupportedBitDepthEnum: {
6297
+ readonly NUMBER_8: 8;
6298
+ readonly NUMBER_16: 16;
6299
+ readonly NUMBER_24: 24;
6300
+ readonly NUMBER_32: 32;
6301
+ };
6278
6302
 
6279
- interface PostProcessingConfig {
6280
- /** If true, generates summarization for the whole transcription. */
6281
- summarization?: boolean;
6282
- /** Summarization configuration, if `summarization` is enabled */
6283
- summarization_config?: SummarizationConfigDTO;
6284
- /** If true, generates chapters for the whole transcription. */
6285
- chapterization?: boolean;
6286
- }
6303
+ /**
6304
+ * Generated by orval v7.9.0 🍺
6305
+ * Do not edit manually.
6306
+ * Gladia Control API
6307
+ * OpenAPI spec version: 1.0
6308
+ */
6309
+ /**
6310
+ * The encoding format of the audio stream. Supported formats:
6311
+ - PCM: 8, 16, 24, and 32 bits
6312
+ - A-law: 8 bits
6313
+ - μ-law: 8 bits
6314
+
6315
+ Note: No need to add WAV headers to raw audio as the API supports both formats.
6316
+ */
6317
+ type StreamingSupportedEncodingEnum = (typeof StreamingSupportedEncodingEnum)[keyof typeof StreamingSupportedEncodingEnum];
6318
+ declare const StreamingSupportedEncodingEnum: {
6319
+ readonly "wav/pcm": "wav/pcm";
6320
+ readonly "wav/alaw": "wav/alaw";
6321
+ readonly "wav/ulaw": "wav/ulaw";
6322
+ };
6287
6323
 
6288
6324
  /**
6289
- * Generated by orval v7.17.0 🍺
6325
+ * Generated by orval v7.9.0 🍺
6290
6326
  * Do not edit manually.
6291
6327
  * Gladia Control API
6292
6328
  * OpenAPI spec version: 1.0
6293
6329
  */
6294
- interface MessagesConfig {
6295
- /** If true, partial transcript will be sent to websocket. */
6296
- receive_partial_transcripts?: boolean;
6297
- /** If true, final transcript will be sent to websocket. */
6298
- receive_final_transcripts?: boolean;
6299
- /** If true, begin and end speech events will be sent to websocket. */
6300
- receive_speech_events?: boolean;
6301
- /** If true, pre-processing events will be sent to websocket. */
6302
- receive_pre_processing_events?: boolean;
6303
- /** If true, realtime processing events will be sent to websocket. */
6304
- receive_realtime_processing_events?: boolean;
6305
- /** If true, post-processing events will be sent to websocket. */
6306
- receive_post_processing_events?: boolean;
6307
- /** If true, acknowledgments will be sent to websocket. */
6308
- receive_acknowledgments?: boolean;
6309
- /** If true, errors will be sent to websocket. */
6310
- receive_errors?: boolean;
6311
- /** If true, lifecycle events will be sent to websocket. */
6312
- receive_lifecycle_events?: boolean;
6313
- }
6330
+ /**
6331
+ * The model used to process the audio. "solaria-1" is used by default.
6332
+ */
6333
+ type StreamingSupportedModels = (typeof StreamingSupportedModels)[keyof typeof StreamingSupportedModels];
6334
+ declare const StreamingSupportedModels: {
6335
+ readonly "solaria-1": "solaria-1";
6336
+ };
6314
6337
 
6315
6338
  /**
6316
- * Generated by orval v7.17.0 🍺
6339
+ * Generated by orval v7.9.0 🍺
6340
+ * Do not edit manually.
6341
+ * Gladia Control API
6342
+ * OpenAPI spec version: 1.0
6343
+ */
6344
+ /**
6345
+ * The sample rate of the audio stream
6346
+ */
6347
+ type StreamingSupportedSampleRateEnum = (typeof StreamingSupportedSampleRateEnum)[keyof typeof StreamingSupportedSampleRateEnum];
6348
+ declare const StreamingSupportedSampleRateEnum: {
6349
+ readonly NUMBER_8000: 8000;
6350
+ readonly NUMBER_16000: 16000;
6351
+ readonly NUMBER_32000: 32000;
6352
+ readonly NUMBER_44100: 44100;
6353
+ readonly NUMBER_48000: 48000;
6354
+ };
6355
+
6356
+ /**
6357
+ * Generated by orval v7.9.0 🍺
6317
6358
  * Do not edit manually.
6318
6359
  * Gladia Control API
6319
6360
  * OpenAPI spec version: 1.0
@@ -6368,7 +6409,7 @@ interface StreamingRequestParamsResponse {
6368
6409
  }
6369
6410
 
6370
6411
  /**
6371
- * Generated by orval v7.17.0 🍺
6412
+ * Generated by orval v7.9.0 🍺
6372
6413
  * Do not edit manually.
6373
6414
  * Gladia Control API
6374
6415
  * OpenAPI spec version: 1.0
@@ -6381,7 +6422,7 @@ interface StreamingRequestParamsResponse {
6381
6422
  type StreamingResponseRequestParams = StreamingRequestParamsResponse | null;
6382
6423
 
6383
6424
  /**
6384
- * Generated by orval v7.17.0 🍺
6425
+ * Generated by orval v7.9.0 🍺
6385
6426
  * Do not edit manually.
6386
6427
  * Gladia Control API
6387
6428
  * OpenAPI spec version: 1.0
@@ -6407,7 +6448,7 @@ interface StreamingTranscriptionResultWithMessagesDTO {
6407
6448
  }
6408
6449
 
6409
6450
  /**
6410
- * Generated by orval v7.17.0 🍺
6451
+ * Generated by orval v7.9.0 🍺
6411
6452
  * Do not edit manually.
6412
6453
  * Gladia Control API
6413
6454
  * OpenAPI spec version: 1.0
@@ -6420,7 +6461,24 @@ interface StreamingTranscriptionResultWithMessagesDTO {
6420
6461
  type StreamingResponseResult = StreamingTranscriptionResultWithMessagesDTO | null;
6421
6462
 
6422
6463
  /**
6423
- * Generated by orval v7.17.0 🍺
6464
+ * Generated by orval v7.9.0 🍺
6465
+ * Do not edit manually.
6466
+ * Gladia Control API
6467
+ * OpenAPI spec version: 1.0
6468
+ */
6469
+ /**
6470
+ * "queued": the job has been queued. "processing": the job is being processed. "done": the job has been processed and the result is available. "error": an error occurred during the job's processing.
6471
+ */
6472
+ type StreamingResponseStatus = (typeof StreamingResponseStatus)[keyof typeof StreamingResponseStatus];
6473
+ declare const StreamingResponseStatus: {
6474
+ readonly queued: "queued";
6475
+ readonly processing: "processing";
6476
+ readonly done: "done";
6477
+ readonly error: "error";
6478
+ };
6479
+
6480
+ /**
6481
+ * Generated by orval v7.9.0 🍺
6424
6482
  * Do not edit manually.
6425
6483
  * Gladia Control API
6426
6484
  * OpenAPI spec version: 1.0
@@ -6472,7 +6530,7 @@ interface StreamingResponse {
6472
6530
  }
6473
6531
 
6474
6532
  /**
6475
- * Generated by orval v7.17.0 🍺
6533
+ * Generated by orval v7.9.0 🍺
6476
6534
  * Do not edit manually.
6477
6535
  * Gladia Control API
6478
6536
  * OpenAPI spec version: 1.0
@@ -6481,7 +6539,7 @@ interface StreamingResponse {
6481
6539
  type ListHistoryResponseItemsItem = PreRecordedResponse | StreamingResponse;
6482
6540
 
6483
6541
  /**
6484
- * Generated by orval v7.17.0 🍺
6542
+ * Generated by orval v7.9.0 🍺
6485
6543
  * Do not edit manually.
6486
6544
  * Gladia Control API
6487
6545
  * OpenAPI spec version: 1.0
@@ -6502,7 +6560,7 @@ interface ListHistoryResponse {
6502
6560
  }
6503
6561
 
6504
6562
  /**
6505
- * Generated by orval v7.17.0 🍺
6563
+ * Generated by orval v7.9.0 🍺
6506
6564
  * Do not edit manually.
6507
6565
  * Gladia Control API
6508
6566
  * OpenAPI spec version: 1.0
@@ -6523,7 +6581,7 @@ interface ListPreRecordedResponse {
6523
6581
  }
6524
6582
 
6525
6583
  /**
6526
- * Generated by orval v7.17.0 🍺
6584
+ * Generated by orval v7.9.0 🍺
6527
6585
  * Do not edit manually.
6528
6586
  * Gladia Control API
6529
6587
  * OpenAPI spec version: 1.0
@@ -6544,7 +6602,7 @@ interface ListStreamingResponse {
6544
6602
  }
6545
6603
 
6546
6604
  /**
6547
- * Generated by orval v7.17.0 🍺
6605
+ * Generated by orval v7.9.0 🍺
6548
6606
  * Do not edit manually.
6549
6607
  * Gladia Control API
6550
6608
  * OpenAPI spec version: 1.0
@@ -6553,7 +6611,7 @@ interface ListStreamingResponse {
6553
6611
  type ListTranscriptionResponseItemsItem = PreRecordedResponse | StreamingResponse;
6554
6612
 
6555
6613
  /**
6556
- * Generated by orval v7.17.0 🍺
6614
+ * Generated by orval v7.9.0 🍺
6557
6615
  * Do not edit manually.
6558
6616
  * Gladia Control API
6559
6617
  * OpenAPI spec version: 1.0
@@ -6574,7 +6632,7 @@ interface ListTranscriptionResponse {
6574
6632
  }
6575
6633
 
6576
6634
  /**
6577
- * Generated by orval v7.17.0 🍺
6635
+ * Generated by orval v7.9.0 🍺
6578
6636
  * Do not edit manually.
6579
6637
  * Gladia Control API
6580
6638
  * OpenAPI spec version: 1.0
@@ -6585,7 +6643,7 @@ interface LiveEventPayload {
6585
6643
  }
6586
6644
 
6587
6645
  /**
6588
- * Generated by orval v7.17.0 🍺
6646
+ * Generated by orval v7.9.0 🍺
6589
6647
  * Do not edit manually.
6590
6648
  * Gladia Control API
6591
6649
  * OpenAPI spec version: 1.0
@@ -6604,7 +6662,7 @@ interface NotFoundErrorResponse {
6604
6662
  }
6605
6663
 
6606
6664
  /**
6607
- * Generated by orval v7.17.0 🍺
6665
+ * Generated by orval v7.9.0 🍺
6608
6666
  * Do not edit manually.
6609
6667
  * Gladia Control API
6610
6668
  * OpenAPI spec version: 1.0
@@ -6614,7 +6672,7 @@ interface PatchRequestParamsDTO {
6614
6672
  }
6615
6673
 
6616
6674
  /**
6617
- * Generated by orval v7.17.0 🍺
6675
+ * Generated by orval v7.9.0 🍺
6618
6676
  * Do not edit manually.
6619
6677
  * Gladia Control API
6620
6678
  * OpenAPI spec version: 1.0
@@ -6633,7 +6691,7 @@ interface PayloadTooLargeErrorResponse {
6633
6691
  }
6634
6692
 
6635
6693
  /**
6636
- * Generated by orval v7.17.0 🍺
6694
+ * Generated by orval v7.9.0 🍺
6637
6695
  * Do not edit manually.
6638
6696
  * Gladia Control API
6639
6697
  * OpenAPI spec version: 1.0
@@ -6647,7 +6705,7 @@ declare const PreRecordedControllerGetPreRecordedJobsV2StatusItem: {
6647
6705
  };
6648
6706
 
6649
6707
  /**
6650
- * Generated by orval v7.17.0 🍺
6708
+ * Generated by orval v7.9.0 🍺
6651
6709
  * Do not edit manually.
6652
6710
  * Gladia Control API
6653
6711
  * OpenAPI spec version: 1.0
@@ -6656,12 +6714,10 @@ declare const PreRecordedControllerGetPreRecordedJobsV2StatusItem: {
6656
6714
  type PreRecordedControllerGetPreRecordedJobsV2Params = {
6657
6715
  /**
6658
6716
  * The starting point for pagination. A value of 0 starts from the first item.
6659
- * @minimum 0
6660
6717
  */
6661
6718
  offset?: number;
6662
6719
  /**
6663
6720
  * The maximum number of items to return. Useful for pagination and controlling data payload size.
6664
- * @minimum 1
6665
6721
  */
6666
6722
  limit?: number;
6667
6723
  /**
@@ -6686,7 +6742,7 @@ type PreRecordedControllerGetPreRecordedJobsV2Params = {
6686
6742
  };
6687
6743
 
6688
6744
  /**
6689
- * Generated by orval v7.17.0 🍺
6745
+ * Generated by orval v7.9.0 🍺
6690
6746
  * Do not edit manually.
6691
6747
  * Gladia Control API
6692
6748
  * OpenAPI spec version: 1.0
@@ -6697,7 +6753,7 @@ interface PreRecordedEventPayload {
6697
6753
  }
6698
6754
 
6699
6755
  /**
6700
- * Generated by orval v7.17.0 🍺
6756
+ * Generated by orval v7.9.0 🍺
6701
6757
  * Do not edit manually.
6702
6758
  * Gladia Control API
6703
6759
  * OpenAPI spec version: 1.0
@@ -6708,7 +6764,7 @@ declare const StopRecordingActionType: {
6708
6764
  };
6709
6765
 
6710
6766
  /**
6711
- * Generated by orval v7.17.0 🍺
6767
+ * Generated by orval v7.9.0 🍺
6712
6768
  * Do not edit manually.
6713
6769
  * Gladia Control API
6714
6770
  * OpenAPI spec version: 1.0
@@ -6719,7 +6775,7 @@ interface StopRecordingAction {
6719
6775
  }
6720
6776
 
6721
6777
  /**
6722
- * Generated by orval v7.17.0 🍺
6778
+ * Generated by orval v7.9.0 🍺
6723
6779
  * Do not edit manually.
6724
6780
  * Gladia Control API
6725
6781
  * OpenAPI spec version: 1.0
@@ -6733,7 +6789,7 @@ declare const StreamingControllerGetStreamingJobsV2StatusItem: {
6733
6789
  };
6734
6790
 
6735
6791
  /**
6736
- * Generated by orval v7.17.0 🍺
6792
+ * Generated by orval v7.9.0 🍺
6737
6793
  * Do not edit manually.
6738
6794
  * Gladia Control API
6739
6795
  * OpenAPI spec version: 1.0
@@ -6742,12 +6798,10 @@ declare const StreamingControllerGetStreamingJobsV2StatusItem: {
6742
6798
  type StreamingControllerGetStreamingJobsV2Params = {
6743
6799
  /**
6744
6800
  * The starting point for pagination. A value of 0 starts from the first item.
6745
- * @minimum 0
6746
6801
  */
6747
6802
  offset?: number;
6748
6803
  /**
6749
6804
  * The maximum number of items to return. Useful for pagination and controlling data payload size.
6750
- * @minimum 1
6751
6805
  */
6752
6806
  limit?: number;
6753
6807
  /**
@@ -6772,7 +6826,7 @@ type StreamingControllerGetStreamingJobsV2Params = {
6772
6826
  };
6773
6827
 
6774
6828
  /**
6775
- * Generated by orval v7.17.0 🍺
6829
+ * Generated by orval v7.9.0 🍺
6776
6830
  * Do not edit manually.
6777
6831
  * Gladia Control API
6778
6832
  * OpenAPI spec version: 1.0
@@ -6784,7 +6838,7 @@ declare const StreamingSupportedRegions: {
6784
6838
  };
6785
6839
 
6786
6840
  /**
6787
- * Generated by orval v7.17.0 🍺
6841
+ * Generated by orval v7.9.0 🍺
6788
6842
  * Do not edit manually.
6789
6843
  * Gladia Control API
6790
6844
  * OpenAPI spec version: 1.0
@@ -6798,7 +6852,7 @@ type StreamingControllerInitStreamingSessionV2Params = {
6798
6852
  };
6799
6853
 
6800
6854
  /**
6801
- * Generated by orval v7.17.0 🍺
6855
+ * Generated by orval v7.9.0 🍺
6802
6856
  * Do not edit manually.
6803
6857
  * Gladia Control API
6804
6858
  * OpenAPI spec version: 1.0
@@ -6811,7 +6865,7 @@ type StreamingRequestCustomMetadata = {
6811
6865
  };
6812
6866
 
6813
6867
  /**
6814
- * Generated by orval v7.17.0 🍺
6868
+ * Generated by orval v7.9.0 🍺
6815
6869
  * Do not edit manually.
6816
6870
  * Gladia Control API
6817
6871
  * OpenAPI spec version: 1.0
@@ -6868,7 +6922,7 @@ interface StreamingRequest {
6868
6922
  }
6869
6923
 
6870
6924
  /**
6871
- * Generated by orval v7.17.0 🍺
6925
+ * Generated by orval v7.9.0 🍺
6872
6926
  * Do not edit manually.
6873
6927
  * Gladia Control API
6874
6928
  * OpenAPI spec version: 1.0
@@ -6877,7 +6931,7 @@ interface StreamingRequest {
6877
6931
  type TranscriptionControllerGetTranscriptV2200 = PreRecordedResponse | StreamingResponse;
6878
6932
 
6879
6933
  /**
6880
- * Generated by orval v7.17.0 🍺
6934
+ * Generated by orval v7.9.0 🍺
6881
6935
  * Do not edit manually.
6882
6936
  * Gladia Control API
6883
6937
  * OpenAPI spec version: 1.0
@@ -6889,7 +6943,7 @@ declare const TranscriptionControllerListV2KindItem: {
6889
6943
  };
6890
6944
 
6891
6945
  /**
6892
- * Generated by orval v7.17.0 🍺
6946
+ * Generated by orval v7.9.0 🍺
6893
6947
  * Do not edit manually.
6894
6948
  * Gladia Control API
6895
6949
  * OpenAPI spec version: 1.0
@@ -6903,7 +6957,7 @@ declare const TranscriptionControllerListV2StatusItem: {
6903
6957
  };
6904
6958
 
6905
6959
  /**
6906
- * Generated by orval v7.17.0 🍺
6960
+ * Generated by orval v7.9.0 🍺
6907
6961
  * Do not edit manually.
6908
6962
  * Gladia Control API
6909
6963
  * OpenAPI spec version: 1.0
@@ -6912,12 +6966,10 @@ declare const TranscriptionControllerListV2StatusItem: {
6912
6966
  type TranscriptionControllerListV2Params = {
6913
6967
  /**
6914
6968
  * The starting point for pagination. A value of 0 starts from the first item.
6915
- * @minimum 0
6916
6969
  */
6917
6970
  offset?: number;
6918
6971
  /**
6919
6972
  * The maximum number of items to return. Useful for pagination and controlling data payload size.
6920
- * @minimum 1
6921
6973
  */
6922
6974
  limit?: number;
6923
6975
  /**
@@ -6946,7 +6998,7 @@ type TranscriptionControllerListV2Params = {
6946
6998
  };
6947
6999
 
6948
7000
  /**
6949
- * Generated by orval v7.17.0 🍺
7001
+ * Generated by orval v7.9.0 🍺
6950
7002
  * Do not edit manually.
6951
7003
  * Gladia Control API
6952
7004
  * OpenAPI spec version: 1.0
@@ -6965,7 +7017,7 @@ interface UnauthorizedErrorResponse {
6965
7017
  }
6966
7018
 
6967
7019
  /**
6968
- * Generated by orval v7.17.0 🍺
7020
+ * Generated by orval v7.9.0 🍺
6969
7021
  * Do not edit manually.
6970
7022
  * Gladia Control API
6971
7023
  * OpenAPI spec version: 1.0
@@ -6984,7 +7036,7 @@ interface UnprocessableEntityErrorResponse {
6984
7036
  }
6985
7037
 
6986
7038
  /**
6987
- * Generated by orval v7.17.0 🍺
7039
+ * Generated by orval v7.9.0 🍺
6988
7040
  * Do not edit manually.
6989
7041
  * Gladia Control API
6990
7042
  * OpenAPI spec version: 1.0
@@ -6994,20 +7046,7 @@ interface UploadBody {
6994
7046
  }
6995
7047
 
6996
7048
  /**
6997
- * Generated by orval v7.17.0 🍺
6998
- * Do not edit manually.
6999
- * Gladia Control API
7000
- * OpenAPI spec version: 1.0
7001
- */
7002
- type VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour = (typeof VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour)[keyof typeof VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour];
7003
- declare const VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour: {
7004
- readonly automatic_single_language: "automatic single language";
7005
- readonly automatic_multiple_languages: "automatic multiple languages";
7006
- readonly manual: "manual";
7007
- };
7008
-
7009
- /**
7010
- * Generated by orval v7.17.0 🍺
7049
+ * Generated by orval v7.9.0 🍺
7011
7050
  * Do not edit manually.
7012
7051
  * Gladia Control API
7013
7052
  * OpenAPI spec version: 1.0
@@ -7116,7 +7155,35 @@ declare const VideoToTextControllerVideoTranscriptionBodyLanguage: {
7116
7155
  };
7117
7156
 
7118
7157
  /**
7119
- * Generated by orval v7.17.0 🍺
7158
+ * Generated by orval v7.9.0 🍺
7159
+ * Do not edit manually.
7160
+ * Gladia Control API
7161
+ * OpenAPI spec version: 1.0
7162
+ */
7163
+ type VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour = (typeof VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour)[keyof typeof VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour];
7164
+ declare const VideoToTextControllerVideoTranscriptionBodyLanguageBehaviour: {
7165
+ readonly automatic_single_language: "automatic single language";
7166
+ readonly automatic_multiple_languages: "automatic multiple languages";
7167
+ readonly manual: "manual";
7168
+ };
7169
+
7170
+ /**
7171
+ * Generated by orval v7.9.0 🍺
7172
+ * Do not edit manually.
7173
+ * Gladia Control API
7174
+ * OpenAPI spec version: 1.0
7175
+ */
7176
+ type VideoToTextControllerVideoTranscriptionBodyOutputFormat = (typeof VideoToTextControllerVideoTranscriptionBodyOutputFormat)[keyof typeof VideoToTextControllerVideoTranscriptionBodyOutputFormat];
7177
+ declare const VideoToTextControllerVideoTranscriptionBodyOutputFormat: {
7178
+ readonly json: "json";
7179
+ readonly srt: "srt";
7180
+ readonly vtt: "vtt";
7181
+ readonly plain: "plain";
7182
+ readonly txt: "txt";
7183
+ };
7184
+
7185
+ /**
7186
+ * Generated by orval v7.9.0 🍺
7120
7187
  * Do not edit manually.
7121
7188
  * Gladia Control API
7122
7189
  * OpenAPI spec version: 1.0
@@ -7226,22 +7293,7 @@ declare const VideoToTextControllerVideoTranscriptionBodyTargetTranslationLangua
7226
7293
  };
7227
7294
 
7228
7295
  /**
7229
- * Generated by orval v7.17.0 🍺
7230
- * Do not edit manually.
7231
- * Gladia Control API
7232
- * OpenAPI spec version: 1.0
7233
- */
7234
- type VideoToTextControllerVideoTranscriptionBodyOutputFormat = (typeof VideoToTextControllerVideoTranscriptionBodyOutputFormat)[keyof typeof VideoToTextControllerVideoTranscriptionBodyOutputFormat];
7235
- declare const VideoToTextControllerVideoTranscriptionBodyOutputFormat: {
7236
- readonly json: "json";
7237
- readonly srt: "srt";
7238
- readonly vtt: "vtt";
7239
- readonly plain: "plain";
7240
- readonly txt: "txt";
7241
- };
7242
-
7243
- /**
7244
- * Generated by orval v7.17.0 🍺
7296
+ * Generated by orval v7.9.0 🍺
7245
7297
  * Do not edit manually.
7246
7298
  * Gladia Control API
7247
7299
  * OpenAPI spec version: 1.0
@@ -7266,7 +7318,7 @@ type VideoToTextControllerVideoTranscriptionBody = {
7266
7318
  };
7267
7319
 
7268
7320
  /**
7269
- * Generated by orval v7.17.0 🍺
7321
+ * Generated by orval v7.9.0 🍺
7270
7322
  * Do not edit manually.
7271
7323
  * Gladia Control API
7272
7324
  * OpenAPI spec version: 1.0
@@ -7277,7 +7329,7 @@ declare const WebhookLiveEndRecordingPayloadEvent: {
7277
7329
  };
7278
7330
 
7279
7331
  /**
7280
- * Generated by orval v7.17.0 🍺
7332
+ * Generated by orval v7.9.0 🍺
7281
7333
  * Do not edit manually.
7282
7334
  * Gladia Control API
7283
7335
  * OpenAPI spec version: 1.0
@@ -7289,7 +7341,7 @@ interface WebhookLiveEndRecordingPayload {
7289
7341
  }
7290
7342
 
7291
7343
  /**
7292
- * Generated by orval v7.17.0 🍺
7344
+ * Generated by orval v7.9.0 🍺
7293
7345
  * Do not edit manually.
7294
7346
  * Gladia Control API
7295
7347
  * OpenAPI spec version: 1.0
@@ -7300,7 +7352,7 @@ declare const WebhookLiveEndSessionPayloadEvent: {
7300
7352
  };
7301
7353
 
7302
7354
  /**
7303
- * Generated by orval v7.17.0 🍺
7355
+ * Generated by orval v7.9.0 🍺
7304
7356
  * Do not edit manually.
7305
7357
  * Gladia Control API
7306
7358
  * OpenAPI spec version: 1.0
@@ -7312,7 +7364,7 @@ interface WebhookLiveEndSessionPayload {
7312
7364
  }
7313
7365
 
7314
7366
  /**
7315
- * Generated by orval v7.17.0 🍺
7367
+ * Generated by orval v7.9.0 🍺
7316
7368
  * Do not edit manually.
7317
7369
  * Gladia Control API
7318
7370
  * OpenAPI spec version: 1.0
@@ -7323,7 +7375,7 @@ declare const WebhookLiveStartRecordingPayloadEvent: {
7323
7375
  };
7324
7376
 
7325
7377
  /**
7326
- * Generated by orval v7.17.0 🍺
7378
+ * Generated by orval v7.9.0 🍺
7327
7379
  * Do not edit manually.
7328
7380
  * Gladia Control API
7329
7381
  * OpenAPI spec version: 1.0
@@ -7335,7 +7387,7 @@ interface WebhookLiveStartRecordingPayload {
7335
7387
  }
7336
7388
 
7337
7389
  /**
7338
- * Generated by orval v7.17.0 🍺
7390
+ * Generated by orval v7.9.0 🍺
7339
7391
  * Do not edit manually.
7340
7392
  * Gladia Control API
7341
7393
  * OpenAPI spec version: 1.0
@@ -7346,7 +7398,7 @@ declare const WebhookLiveStartSessionPayloadEvent: {
7346
7398
  };
7347
7399
 
7348
7400
  /**
7349
- * Generated by orval v7.17.0 🍺
7401
+ * Generated by orval v7.9.0 🍺
7350
7402
  * Do not edit manually.
7351
7403
  * Gladia Control API
7352
7404
  * OpenAPI spec version: 1.0
@@ -7358,7 +7410,7 @@ interface WebhookLiveStartSessionPayload {
7358
7410
  }
7359
7411
 
7360
7412
  /**
7361
- * Generated by orval v7.17.0 🍺
7413
+ * Generated by orval v7.9.0 🍺
7362
7414
  * Do not edit manually.
7363
7415
  * Gladia Control API
7364
7416
  * OpenAPI spec version: 1.0
@@ -7369,7 +7421,7 @@ declare const WebhookTranscriptionCreatedPayloadEvent: {
7369
7421
  };
7370
7422
 
7371
7423
  /**
7372
- * Generated by orval v7.17.0 🍺
7424
+ * Generated by orval v7.9.0 🍺
7373
7425
  * Do not edit manually.
7374
7426
  * Gladia Control API
7375
7427
  * OpenAPI spec version: 1.0
@@ -7381,7 +7433,7 @@ interface WebhookTranscriptionCreatedPayload {
7381
7433
  }
7382
7434
 
7383
7435
  /**
7384
- * Generated by orval v7.17.0 🍺
7436
+ * Generated by orval v7.9.0 🍺
7385
7437
  * Do not edit manually.
7386
7438
  * Gladia Control API
7387
7439
  * OpenAPI spec version: 1.0
@@ -7392,7 +7444,7 @@ declare const WebhookTranscriptionErrorPayloadEvent: {
7392
7444
  };
7393
7445
 
7394
7446
  /**
7395
- * Generated by orval v7.17.0 🍺
7447
+ * Generated by orval v7.9.0 🍺
7396
7448
  * Do not edit manually.
7397
7449
  * Gladia Control API
7398
7450
  * OpenAPI spec version: 1.0
@@ -7404,7 +7456,7 @@ interface WebhookTranscriptionErrorPayload {
7404
7456
  }
7405
7457
 
7406
7458
  /**
7407
- * Generated by orval v7.17.0 🍺
7459
+ * Generated by orval v7.9.0 🍺
7408
7460
  * Do not edit manually.
7409
7461
  * Gladia Control API
7410
7462
  * OpenAPI spec version: 1.0
@@ -7415,7 +7467,7 @@ declare const WebhookTranscriptionSuccessPayloadEvent: {
7415
7467
  };
7416
7468
 
7417
7469
  /**
7418
- * Generated by orval v7.17.0 🍺
7470
+ * Generated by orval v7.9.0 🍺
7419
7471
  * Do not edit manually.
7420
7472
  * Gladia Control API
7421
7473
  * OpenAPI spec version: 1.0
@@ -7427,7 +7479,7 @@ interface WebhookTranscriptionSuccessPayload {
7427
7479
  }
7428
7480
 
7429
7481
  /**
7430
- * Generated by orval v7.17.0 🍺
7482
+ * Generated by orval v7.9.0 🍺
7431
7483
  * Do not edit manually.
7432
7484
  * Gladia Control API
7433
7485
  * OpenAPI spec version: 1.0