@avallon-labs/sdk 0.0.0-40188bf9 → 0.0.0-427d68da

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
@@ -26,7 +26,9 @@ declare function getConfig(): AvallonConfig;
26
26
  declare function customFetch<T>(url: string, options: RequestInit): Promise<T>;
27
27
  /** Unauthenticated fetch - for auth flow endpoints (sign-in, sign-up, etc.) */
28
28
  declare function customFetchNoAuth<T>(url: string, options: RequestInit): Promise<T>;
29
- /** Typed error class for API errors */
29
+ /** Orval uses this to type the `error` field in SWR hooks as AvallonError */
30
+ type ErrorType<E> = AvallonError;
31
+ /** Typed error class for API errors. Thrown by customFetch on non-2xx responses. */
30
32
  declare class AvallonError extends Error {
31
33
  readonly status: number;
32
34
  readonly body: {
@@ -98,8 +100,8 @@ declare function generateCodeChallenge(verifier: string): Promise<string>;
98
100
  * Avallon API
99
101
  * OpenAPI spec version: 1.0.0
100
102
  */
101
- type CreateAgent200DataAgentBackgroundSounds = (typeof CreateAgent200DataAgentBackgroundSounds)[keyof typeof CreateAgent200DataAgentBackgroundSounds];
102
- declare const CreateAgent200DataAgentBackgroundSounds: {
103
+ type AgentBackgroundSounds = (typeof AgentBackgroundSounds)[keyof typeof AgentBackgroundSounds];
104
+ declare const AgentBackgroundSounds: {
103
105
  readonly enabled: "enabled";
104
106
  readonly disabled: "disabled";
105
107
  };
@@ -110,8 +112,8 @@ declare const CreateAgent200DataAgentBackgroundSounds: {
110
112
  * Avallon API
111
113
  * OpenAPI spec version: 1.0.0
112
114
  */
113
- type CreateAgent200DataAgentDirection = (typeof CreateAgent200DataAgentDirection)[keyof typeof CreateAgent200DataAgentDirection];
114
- declare const CreateAgent200DataAgentDirection: {
115
+ type AgentDirection = (typeof AgentDirection)[keyof typeof AgentDirection];
116
+ declare const AgentDirection: {
115
117
  readonly INBOUND: "INBOUND";
116
118
  readonly OUTBOUND: "OUTBOUND";
117
119
  };
@@ -122,8 +124,8 @@ declare const CreateAgent200DataAgentDirection: {
122
124
  * Avallon API
123
125
  * OpenAPI spec version: 1.0.0
124
126
  */
125
- type CreateAgent200DataAgentLanguage = (typeof CreateAgent200DataAgentLanguage)[keyof typeof CreateAgent200DataAgentLanguage];
126
- declare const CreateAgent200DataAgentLanguage: {
127
+ type AgentLanguage = (typeof AgentLanguage)[keyof typeof AgentLanguage];
128
+ declare const AgentLanguage: {
127
129
  readonly "en-US": "en-US";
128
130
  readonly "de-DE": "de-DE";
129
131
  };
@@ -134,8 +136,8 @@ declare const CreateAgent200DataAgentLanguage: {
134
136
  * Avallon API
135
137
  * OpenAPI spec version: 1.0.0
136
138
  */
137
- type CreateAgent200DataAgentLlmModel = (typeof CreateAgent200DataAgentLlmModel)[keyof typeof CreateAgent200DataAgentLlmModel];
138
- declare const CreateAgent200DataAgentLlmModel: {
139
+ type AgentLlmModel = (typeof AgentLlmModel)[keyof typeof AgentLlmModel];
140
+ declare const AgentLlmModel: {
139
141
  readonly GPT41: "GPT4.1";
140
142
  readonly "AZURE-GPT4o": "AZURE-GPT4o";
141
143
  readonly "AZURE-GPT41": "AZURE-GPT4.1";
@@ -156,8 +158,8 @@ declare const CreateAgent200DataAgentLlmModel: {
156
158
  * Avallon API
157
159
  * OpenAPI spec version: 1.0.0
158
160
  */
159
- type CreateAgent200DataAgentSttModel = (typeof CreateAgent200DataAgentSttModel)[keyof typeof CreateAgent200DataAgentSttModel];
160
- declare const CreateAgent200DataAgentSttModel: {
161
+ type AgentSttModel = (typeof AgentSttModel)[keyof typeof AgentSttModel];
162
+ declare const AgentSttModel: {
161
163
  readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
162
164
  readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
163
165
  readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
@@ -169,8 +171,8 @@ declare const CreateAgent200DataAgentSttModel: {
169
171
  * Avallon API
170
172
  * OpenAPI spec version: 1.0.0
171
173
  */
172
- type CreateAgent200DataAgentTtsModel = (typeof CreateAgent200DataAgentTtsModel)[keyof typeof CreateAgent200DataAgentTtsModel];
173
- declare const CreateAgent200DataAgentTtsModel: {
174
+ type AgentTtsModel = (typeof AgentTtsModel)[keyof typeof AgentTtsModel];
175
+ declare const AgentTtsModel: {
174
176
  readonly eleven_flash_v2_5: "eleven_flash_v2_5";
175
177
  readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
176
178
  readonly "sonic-multilingual": "sonic-multilingual";
@@ -184,8 +186,8 @@ declare const CreateAgent200DataAgentTtsModel: {
184
186
  * Avallon API
185
187
  * OpenAPI spec version: 1.0.0
186
188
  */
187
- type CreateAgent200DataAgentTtsProvider = (typeof CreateAgent200DataAgentTtsProvider)[keyof typeof CreateAgent200DataAgentTtsProvider];
188
- declare const CreateAgent200DataAgentTtsProvider: {
189
+ type AgentTtsProvider = (typeof AgentTtsProvider)[keyof typeof AgentTtsProvider];
190
+ declare const AgentTtsProvider: {
189
191
  readonly elevenlabs: "elevenlabs";
190
192
  readonly cartesia: "cartesia";
191
193
  readonly google: "google";
@@ -198,25 +200,25 @@ declare const CreateAgent200DataAgentTtsProvider: {
198
200
  * OpenAPI spec version: 1.0.0
199
201
  */
200
202
 
201
- type CreateAgent200DataAgent = {
203
+ interface Agent {
202
204
  id: string;
203
205
  tenant_id: string;
204
206
  agent_name: string;
205
- direction: CreateAgent200DataAgentDirection;
206
- llm_model: CreateAgent200DataAgentLlmModel;
207
- tts_provider: CreateAgent200DataAgentTtsProvider;
208
- tts_model: CreateAgent200DataAgentTtsModel;
209
- language: CreateAgent200DataAgentLanguage;
207
+ direction: AgentDirection;
208
+ llm_model: AgentLlmModel;
209
+ tts_provider: AgentTtsProvider;
210
+ tts_model: AgentTtsModel;
211
+ language: AgentLanguage;
210
212
  tts_voice_id: string;
211
- stt_model: CreateAgent200DataAgentSttModel;
213
+ stt_model: AgentSttModel;
212
214
  transfer_phone_number: string | null;
213
- background_sounds: CreateAgent200DataAgentBackgroundSounds;
215
+ background_sounds: AgentBackgroundSounds;
214
216
  created_at: string;
215
217
  updated_at: string;
216
218
  phone_number: string | null;
217
219
  dial_pad: boolean;
218
220
  end_call: boolean;
219
- };
221
+ }
220
222
 
221
223
  /**
222
224
  * Generated by orval v8.1.0 🍺
@@ -225,9 +227,74 @@ type CreateAgent200DataAgent = {
225
227
  * OpenAPI spec version: 1.0.0
226
228
  */
227
229
 
228
- type CreateAgent200Data = {
229
- agent: CreateAgent200DataAgent;
230
- };
230
+ interface AgentList {
231
+ agents: Agent[];
232
+ /**
233
+ * Total number of agents
234
+ * @minimum -9007199254740991
235
+ * @maximum 9007199254740991
236
+ */
237
+ total: number;
238
+ }
239
+
240
+ /**
241
+ * Generated by orval v8.1.0 🍺
242
+ * Do not edit manually.
243
+ * Avallon API
244
+ * OpenAPI spec version: 1.0.0
245
+ */
246
+ interface ApiKey {
247
+ /** Unique identifier for the API key */
248
+ id: string;
249
+ /** Human-readable name for the API key */
250
+ name: string;
251
+ /** First 12 characters of the key (e.g. ak_live_abc1) */
252
+ key_prefix: string;
253
+ /** Last usage timestamp, if ever used */
254
+ last_used_at?: string;
255
+ /** Expiration date, if set */
256
+ expires_at?: string;
257
+ /** Revocation timestamp, if revoked */
258
+ revoked_at?: string;
259
+ /** Creation timestamp */
260
+ created_at: string;
261
+ /** Last update timestamp */
262
+ updated_at: string;
263
+ }
264
+
265
+ /**
266
+ * Generated by orval v8.1.0 🍺
267
+ * Do not edit manually.
268
+ * Avallon API
269
+ * OpenAPI spec version: 1.0.0
270
+ */
271
+ interface ApiKeyCreated {
272
+ /** Unique identifier for the API key */
273
+ id: string;
274
+ /** Human-readable name for the API key */
275
+ name: string;
276
+ /** First 12 characters of the key (e.g. ak_live_abc1) */
277
+ key_prefix: string;
278
+ /** Expiration date, if set */
279
+ expires_at?: string;
280
+ /** Creation timestamp */
281
+ created_at: string;
282
+ /** The full API key — only returned once at creation */
283
+ api_key: string;
284
+ }
285
+
286
+ /**
287
+ * Generated by orval v8.1.0 🍺
288
+ * Do not edit manually.
289
+ * Avallon API
290
+ * OpenAPI spec version: 1.0.0
291
+ */
292
+
293
+ interface ApiKeyList {
294
+ data: ApiKey[];
295
+ /** Total number of keys returned */
296
+ count: number;
297
+ }
231
298
 
232
299
  /**
233
300
  * Generated by orval v8.1.0 🍺
@@ -235,11 +302,22 @@ type CreateAgent200Data = {
235
302
  * Avallon API
236
303
  * OpenAPI spec version: 1.0.0
237
304
  */
305
+ interface AuthTokens {
306
+ access_token: string;
307
+ refresh_token: string;
308
+ expires_at: string;
309
+ }
238
310
 
239
- type CreateAgent200 = {
240
- data: CreateAgent200Data;
311
+ /**
312
+ * Generated by orval v8.1.0 🍺
313
+ * Do not edit manually.
314
+ * Avallon API
315
+ * OpenAPI spec version: 1.0.0
316
+ */
317
+ interface ConfirmationResponse {
318
+ /** Confirmation message */
241
319
  message: string;
242
- };
320
+ }
243
321
 
244
322
  /**
245
323
  * Generated by orval v8.1.0 🍺
@@ -383,27 +461,6 @@ type CreateAgentBody = {
383
461
  end_call?: boolean;
384
462
  };
385
463
 
386
- /**
387
- * Generated by orval v8.1.0 🍺
388
- * Do not edit manually.
389
- * Avallon API
390
- * OpenAPI spec version: 1.0.0
391
- */
392
- type CreateApiKey200Data = {
393
- /** Unique identifier for the API key */
394
- id: string;
395
- /** Human-readable name for the API key */
396
- name: string;
397
- /** First 12 characters of the key (e.g. ak_live_abc1) */
398
- key_prefix: string;
399
- /** Expiration date, if set */
400
- expires_at?: string;
401
- /** Creation timestamp */
402
- created_at: string;
403
- /** The full API key — only returned once at creation */
404
- api_key: string;
405
- };
406
-
407
464
  /**
408
465
  * Generated by orval v8.1.0 🍺
409
466
  * Do not edit manually.
@@ -411,10 +468,9 @@ type CreateApiKey200Data = {
411
468
  * OpenAPI spec version: 1.0.0
412
469
  */
413
470
 
414
- type CreateApiKey200 = {
415
- data: CreateApiKey200Data;
416
- message: string;
417
- };
471
+ interface CreateAgentResponse {
472
+ agent: Agent;
473
+ }
418
474
 
419
475
  /**
420
476
  * Generated by orval v8.1.0 🍺
@@ -451,6 +507,16 @@ type CreateApiKeyBody = {
451
507
  environment?: CreateApiKeyBodyEnvironment;
452
508
  };
453
509
 
510
+ /**
511
+ * Generated by orval v8.1.0 🍺
512
+ * Do not edit manually.
513
+ * Avallon API
514
+ * OpenAPI spec version: 1.0.0
515
+ */
516
+ interface EmptyResponse {
517
+ [key: string]: unknown;
518
+ }
519
+
454
520
  /**
455
521
  * Generated by orval v8.1.0 🍺
456
522
  * Do not edit manually.
@@ -480,22 +546,13 @@ interface ErrorResponse {
480
546
  * Avallon API
481
547
  * OpenAPI spec version: 1.0.0
482
548
  */
483
- type GetAgent200DataAgentBackgroundSounds = (typeof GetAgent200DataAgentBackgroundSounds)[keyof typeof GetAgent200DataAgentBackgroundSounds];
484
- declare const GetAgent200DataAgentBackgroundSounds: {
485
- readonly enabled: "enabled";
486
- readonly disabled: "disabled";
487
- };
488
-
489
549
  /**
490
- * Generated by orval v8.1.0 🍺
491
- * Do not edit manually.
492
- * Avallon API
493
- * OpenAPI spec version: 1.0.0
550
+ * Type of extractor
494
551
  */
495
- type GetAgent200DataAgentDirection = (typeof GetAgent200DataAgentDirection)[keyof typeof GetAgent200DataAgentDirection];
496
- declare const GetAgent200DataAgentDirection: {
497
- readonly INBOUND: "INBOUND";
498
- readonly OUTBOUND: "OUTBOUND";
552
+ type ExtractorJobExtractorType = (typeof ExtractorJobExtractorType)[keyof typeof ExtractorJobExtractorType];
553
+ declare const ExtractorJobExtractorType: {
554
+ readonly basic: "basic";
555
+ readonly agentic: "agentic";
499
556
  };
500
557
 
501
558
  /**
@@ -504,10 +561,11 @@ declare const GetAgent200DataAgentDirection: {
504
561
  * Avallon API
505
562
  * OpenAPI spec version: 1.0.0
506
563
  */
507
- type GetAgent200DataAgentLanguage = (typeof GetAgent200DataAgentLanguage)[keyof typeof GetAgent200DataAgentLanguage];
508
- declare const GetAgent200DataAgentLanguage: {
509
- readonly "en-US": "en-US";
510
- readonly "de-DE": "de-DE";
564
+ /**
565
+ * Job scope metadata (e.g. claim_id, email_id)
566
+ */
567
+ type ExtractorJobScope = {
568
+ [key: string]: unknown;
511
569
  };
512
570
 
513
571
  /**
@@ -516,21 +574,39 @@ declare const GetAgent200DataAgentLanguage: {
516
574
  * Avallon API
517
575
  * OpenAPI spec version: 1.0.0
518
576
  */
519
- type GetAgent200DataAgentLlmModel = (typeof GetAgent200DataAgentLlmModel)[keyof typeof GetAgent200DataAgentLlmModel];
520
- declare const GetAgent200DataAgentLlmModel: {
521
- readonly GPT41: "GPT4.1";
522
- readonly "AZURE-GPT4o": "AZURE-GPT4o";
523
- readonly "AZURE-GPT41": "AZURE-GPT4.1";
524
- readonly "GPT-5": "GPT-5";
525
- readonly "GPT-5-low": "GPT-5-low";
526
- readonly "GPT-5-high": "GPT-5-high";
527
- readonly "GPT-51-chat-latest": "GPT-5.1-chat-latest";
528
- readonly "GPT-51-no-reasoning": "GPT-5.1-no-reasoning";
529
- readonly "GEMINI-15-flash": "GEMINI-1.5-flash";
530
- readonly "GEMINI-25-flash": "GEMINI-2.5-flash";
531
- readonly "GEMINI-25-flash-lite": "GEMINI-2.5-flash-lite";
532
- readonly "GEMINI-3-flash": "GEMINI-3-flash";
533
- };
577
+
578
+ interface ExtractorJob {
579
+ /** Unique job identifier */
580
+ id: string;
581
+ /** ID of the extractor that created this job */
582
+ extractor_id: string;
583
+ /**
584
+ * Version of the extractor at job creation time
585
+ * @minimum -9007199254740991
586
+ * @maximum 9007199254740991
587
+ */
588
+ extractor_version: number;
589
+ /** Name of the extractor */
590
+ extractor_name: string;
591
+ /** Type of extractor */
592
+ extractor_type: ExtractorJobExtractorType;
593
+ /** Current job status */
594
+ status: string;
595
+ /** Job scope metadata (e.g. claim_id, email_id) */
596
+ scope: ExtractorJobScope;
597
+ /** ISO 8601 timestamp when the job was created */
598
+ created_at: string;
599
+ /** ISO 8601 timestamp when processing started */
600
+ started_at: string | null;
601
+ /** ISO 8601 timestamp when processing finished */
602
+ completed_at: string | null;
603
+ /** Processing duration in milliseconds */
604
+ processing_duration_ms: number | null;
605
+ /** ID of the resulting extract, if completed */
606
+ extract_id: string | null;
607
+ /** Error message if the job failed */
608
+ error: string | null;
609
+ }
534
610
 
535
611
  /**
536
612
  * Generated by orval v8.1.0 🍺
@@ -538,12 +614,8 @@ declare const GetAgent200DataAgentLlmModel: {
538
614
  * Avallon API
539
615
  * OpenAPI spec version: 1.0.0
540
616
  */
541
- type GetAgent200DataAgentSttModel = (typeof GetAgent200DataAgentSttModel)[keyof typeof GetAgent200DataAgentSttModel];
542
- declare const GetAgent200DataAgentSttModel: {
543
- readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
544
- readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
545
- readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
546
- };
617
+
618
+ type ExtractorJobList = ExtractorJob[];
547
619
 
548
620
  /**
549
621
  * Generated by orval v8.1.0 🍺
@@ -551,14 +623,10 @@ declare const GetAgent200DataAgentSttModel: {
551
623
  * Avallon API
552
624
  * OpenAPI spec version: 1.0.0
553
625
  */
554
- type GetAgent200DataAgentTtsModel = (typeof GetAgent200DataAgentTtsModel)[keyof typeof GetAgent200DataAgentTtsModel];
555
- declare const GetAgent200DataAgentTtsModel: {
556
- readonly eleven_flash_v2_5: "eleven_flash_v2_5";
557
- readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
558
- readonly "sonic-multilingual": "sonic-multilingual";
559
- readonly "sonic-3": "sonic-3";
560
- readonly chirp_3: "chirp_3";
561
- };
626
+
627
+ interface GetAgentResponse {
628
+ agent: Agent;
629
+ }
562
630
 
563
631
  /**
564
632
  * Generated by orval v8.1.0 🍺
@@ -566,11 +634,10 @@ declare const GetAgent200DataAgentTtsModel: {
566
634
  * Avallon API
567
635
  * OpenAPI spec version: 1.0.0
568
636
  */
569
- type GetAgent200DataAgentTtsProvider = (typeof GetAgent200DataAgentTtsProvider)[keyof typeof GetAgent200DataAgentTtsProvider];
570
- declare const GetAgent200DataAgentTtsProvider: {
571
- readonly elevenlabs: "elevenlabs";
572
- readonly cartesia: "cartesia";
573
- readonly google: "google";
637
+ type GetV1AuthOauthUrlCodeChallengeMethod = (typeof GetV1AuthOauthUrlCodeChallengeMethod)[keyof typeof GetV1AuthOauthUrlCodeChallengeMethod];
638
+ declare const GetV1AuthOauthUrlCodeChallengeMethod: {
639
+ readonly plain: "plain";
640
+ readonly s256: "s256";
574
641
  };
575
642
 
576
643
  /**
@@ -579,25 +646,10 @@ declare const GetAgent200DataAgentTtsProvider: {
579
646
  * Avallon API
580
647
  * OpenAPI spec version: 1.0.0
581
648
  */
582
-
583
- type GetAgent200DataAgent = {
584
- id: string;
585
- tenant_id: string;
586
- agent_name: string;
587
- direction: GetAgent200DataAgentDirection;
588
- llm_model: GetAgent200DataAgentLlmModel;
589
- tts_provider: GetAgent200DataAgentTtsProvider;
590
- tts_model: GetAgent200DataAgentTtsModel;
591
- language: GetAgent200DataAgentLanguage;
592
- tts_voice_id: string;
593
- stt_model: GetAgent200DataAgentSttModel;
594
- transfer_phone_number: string | null;
595
- background_sounds: GetAgent200DataAgentBackgroundSounds;
596
- created_at: string;
597
- updated_at: string;
598
- phone_number: string | null;
599
- dial_pad: boolean;
600
- end_call: boolean;
649
+ type GetV1AuthOauthUrlProvider = (typeof GetV1AuthOauthUrlProvider)[keyof typeof GetV1AuthOauthUrlProvider];
650
+ declare const GetV1AuthOauthUrlProvider: {
651
+ readonly google: "google";
652
+ readonly microsoft: "microsoft";
601
653
  };
602
654
 
603
655
  /**
@@ -607,8 +659,14 @@ type GetAgent200DataAgent = {
607
659
  * OpenAPI spec version: 1.0.0
608
660
  */
609
661
 
610
- type GetAgent200Data = {
611
- agent: GetAgent200DataAgent;
662
+ type GetV1AuthOauthUrlParams = {
663
+ provider: GetV1AuthOauthUrlProvider;
664
+ redirect_uri: string;
665
+ code_challenge_method: GetV1AuthOauthUrlCodeChallengeMethod;
666
+ /**
667
+ * @minLength 1
668
+ */
669
+ code_challenge: string;
612
670
  };
613
671
 
614
672
  /**
@@ -617,10 +675,8 @@ type GetAgent200Data = {
617
675
  * Avallon API
618
676
  * OpenAPI spec version: 1.0.0
619
677
  */
620
-
621
- type GetAgent200 = {
622
- data: GetAgent200Data;
623
- message: string;
678
+ type GetV1ExtractorJobsId200DataScope = {
679
+ [key: string]: unknown;
624
680
  };
625
681
 
626
682
  /**
@@ -629,8 +685,20 @@ type GetAgent200 = {
629
685
  * Avallon API
630
686
  * OpenAPI spec version: 1.0.0
631
687
  */
632
- type GetV1AuthOauthUrl200Data = {
633
- url: string;
688
+
689
+ type GetV1ExtractorJobsId200Data = {
690
+ id: string;
691
+ extractor_id: string;
692
+ extractor_version: number;
693
+ extractor_name: string;
694
+ status: string;
695
+ scope: GetV1ExtractorJobsId200DataScope;
696
+ created_at: string;
697
+ started_at: string | null;
698
+ completed_at: string | null;
699
+ processing_duration_ms: number | null;
700
+ extract_id: string | null;
701
+ error: string | null;
634
702
  };
635
703
 
636
704
  /**
@@ -640,9 +708,8 @@ type GetV1AuthOauthUrl200Data = {
640
708
  * OpenAPI spec version: 1.0.0
641
709
  */
642
710
 
643
- type GetV1AuthOauthUrl200 = {
644
- data: GetV1AuthOauthUrl200Data;
645
- message: string;
711
+ type GetV1ExtractorJobsId200 = {
712
+ data: GetV1ExtractorJobsId200Data;
646
713
  };
647
714
 
648
715
  /**
@@ -651,10 +718,11 @@ type GetV1AuthOauthUrl200 = {
651
718
  * Avallon API
652
719
  * OpenAPI spec version: 1.0.0
653
720
  */
654
- type GetV1AuthOauthUrlCodeChallengeMethod = (typeof GetV1AuthOauthUrlCodeChallengeMethod)[keyof typeof GetV1AuthOauthUrlCodeChallengeMethod];
655
- declare const GetV1AuthOauthUrlCodeChallengeMethod: {
656
- readonly plain: "plain";
657
- readonly s256: "s256";
721
+ type ListAgentsParams = {
722
+ /**
723
+ * Filter by exact agent name
724
+ */
725
+ agent_name?: string;
658
726
  };
659
727
 
660
728
  /**
@@ -663,10 +731,10 @@ declare const GetV1AuthOauthUrlCodeChallengeMethod: {
663
731
  * Avallon API
664
732
  * OpenAPI spec version: 1.0.0
665
733
  */
666
- type GetV1AuthOauthUrlProvider = (typeof GetV1AuthOauthUrlProvider)[keyof typeof GetV1AuthOauthUrlProvider];
667
- declare const GetV1AuthOauthUrlProvider: {
668
- readonly google: "google";
669
- readonly microsoft: "microsoft";
734
+ type ListApiKeysIncludeRevoked = (typeof ListApiKeysIncludeRevoked)[keyof typeof ListApiKeysIncludeRevoked];
735
+ declare const ListApiKeysIncludeRevoked: {
736
+ readonly true: "true";
737
+ readonly false: "false";
670
738
  };
671
739
 
672
740
  /**
@@ -676,14 +744,11 @@ declare const GetV1AuthOauthUrlProvider: {
676
744
  * OpenAPI spec version: 1.0.0
677
745
  */
678
746
 
679
- type GetV1AuthOauthUrlParams = {
680
- provider: GetV1AuthOauthUrlProvider;
681
- redirect_uri: string;
682
- code_challenge_method: GetV1AuthOauthUrlCodeChallengeMethod;
747
+ type ListApiKeysParams = {
683
748
  /**
684
- * @minLength 1
749
+ * Include revoked keys in the response
685
750
  */
686
- code_challenge: string;
751
+ include_revoked?: ListApiKeysIncludeRevoked;
687
752
  };
688
753
 
689
754
  /**
@@ -692,10 +757,10 @@ type GetV1AuthOauthUrlParams = {
692
757
  * Avallon API
693
758
  * OpenAPI spec version: 1.0.0
694
759
  */
695
- type ListAgents200DataAgentsItemBackgroundSounds = (typeof ListAgents200DataAgentsItemBackgroundSounds)[keyof typeof ListAgents200DataAgentsItemBackgroundSounds];
696
- declare const ListAgents200DataAgentsItemBackgroundSounds: {
697
- readonly enabled: "enabled";
698
- readonly disabled: "disabled";
760
+ type ListExtractorJobsExtractorType = (typeof ListExtractorJobsExtractorType)[keyof typeof ListExtractorJobsExtractorType];
761
+ declare const ListExtractorJobsExtractorType: {
762
+ readonly basic: "basic";
763
+ readonly agentic: "agentic";
699
764
  };
700
765
 
701
766
  /**
@@ -704,10 +769,11 @@ declare const ListAgents200DataAgentsItemBackgroundSounds: {
704
769
  * Avallon API
705
770
  * OpenAPI spec version: 1.0.0
706
771
  */
707
- type ListAgents200DataAgentsItemDirection = (typeof ListAgents200DataAgentsItemDirection)[keyof typeof ListAgents200DataAgentsItemDirection];
708
- declare const ListAgents200DataAgentsItemDirection: {
709
- readonly INBOUND: "INBOUND";
710
- readonly OUTBOUND: "OUTBOUND";
772
+ type ListExtractorJobsSortBy = (typeof ListExtractorJobsSortBy)[keyof typeof ListExtractorJobsSortBy];
773
+ declare const ListExtractorJobsSortBy: {
774
+ readonly created_at: "created_at";
775
+ readonly started_at: "started_at";
776
+ readonly completed_at: "completed_at";
711
777
  };
712
778
 
713
779
  /**
@@ -716,10 +782,10 @@ declare const ListAgents200DataAgentsItemDirection: {
716
782
  * Avallon API
717
783
  * OpenAPI spec version: 1.0.0
718
784
  */
719
- type ListAgents200DataAgentsItemLanguage = (typeof ListAgents200DataAgentsItemLanguage)[keyof typeof ListAgents200DataAgentsItemLanguage];
720
- declare const ListAgents200DataAgentsItemLanguage: {
721
- readonly "en-US": "en-US";
722
- readonly "de-DE": "de-DE";
785
+ type ListExtractorJobsSortOrder = (typeof ListExtractorJobsSortOrder)[keyof typeof ListExtractorJobsSortOrder];
786
+ declare const ListExtractorJobsSortOrder: {
787
+ readonly asc: "asc";
788
+ readonly desc: "desc";
723
789
  };
724
790
 
725
791
  /**
@@ -728,20 +794,13 @@ declare const ListAgents200DataAgentsItemLanguage: {
728
794
  * Avallon API
729
795
  * OpenAPI spec version: 1.0.0
730
796
  */
731
- type ListAgents200DataAgentsItemLlmModel = (typeof ListAgents200DataAgentsItemLlmModel)[keyof typeof ListAgents200DataAgentsItemLlmModel];
732
- declare const ListAgents200DataAgentsItemLlmModel: {
733
- readonly GPT41: "GPT4.1";
734
- readonly "AZURE-GPT4o": "AZURE-GPT4o";
735
- readonly "AZURE-GPT41": "AZURE-GPT4.1";
736
- readonly "GPT-5": "GPT-5";
737
- readonly "GPT-5-low": "GPT-5-low";
738
- readonly "GPT-5-high": "GPT-5-high";
739
- readonly "GPT-51-chat-latest": "GPT-5.1-chat-latest";
740
- readonly "GPT-51-no-reasoning": "GPT-5.1-no-reasoning";
741
- readonly "GEMINI-15-flash": "GEMINI-1.5-flash";
742
- readonly "GEMINI-25-flash": "GEMINI-2.5-flash";
743
- readonly "GEMINI-25-flash-lite": "GEMINI-2.5-flash-lite";
744
- readonly "GEMINI-3-flash": "GEMINI-3-flash";
797
+ type ListExtractorJobsStatus = (typeof ListExtractorJobsStatus)[keyof typeof ListExtractorJobsStatus];
798
+ declare const ListExtractorJobsStatus: {
799
+ readonly queued: "queued";
800
+ readonly in_progress: "in_progress";
801
+ readonly completed: "completed";
802
+ readonly failed: "failed";
803
+ readonly canceled: "canceled";
745
804
  };
746
805
 
747
806
  /**
@@ -750,196 +809,48 @@ declare const ListAgents200DataAgentsItemLlmModel: {
750
809
  * Avallon API
751
810
  * OpenAPI spec version: 1.0.0
752
811
  */
753
- type ListAgents200DataAgentsItemSttModel = (typeof ListAgents200DataAgentsItemSttModel)[keyof typeof ListAgents200DataAgentsItemSttModel];
754
- declare const ListAgents200DataAgentsItemSttModel: {
755
- readonly "DEEPGRAM-NOVA-2-GENERAL": "DEEPGRAM-NOVA-2-GENERAL";
756
- readonly "DEEPGRAM-NOVA-3-GENERAL": "DEEPGRAM-NOVA-3-GENERAL";
757
- readonly "AWS-TRANSCRIBE": "AWS-TRANSCRIBE";
758
- };
759
812
 
760
- /**
761
- * Generated by orval v8.1.0 🍺
762
- * Do not edit manually.
763
- * Avallon API
764
- * OpenAPI spec version: 1.0.0
765
- */
766
- type ListAgents200DataAgentsItemTtsModel = (typeof ListAgents200DataAgentsItemTtsModel)[keyof typeof ListAgents200DataAgentsItemTtsModel];
767
- declare const ListAgents200DataAgentsItemTtsModel: {
768
- readonly eleven_flash_v2_5: "eleven_flash_v2_5";
769
- readonly eleven_turbo_v2_5: "eleven_turbo_v2_5";
770
- readonly "sonic-multilingual": "sonic-multilingual";
771
- readonly "sonic-3": "sonic-3";
772
- readonly chirp_3: "chirp_3";
773
- };
774
-
775
- /**
776
- * Generated by orval v8.1.0 🍺
777
- * Do not edit manually.
778
- * Avallon API
779
- * OpenAPI spec version: 1.0.0
780
- */
781
- type ListAgents200DataAgentsItemTtsProvider = (typeof ListAgents200DataAgentsItemTtsProvider)[keyof typeof ListAgents200DataAgentsItemTtsProvider];
782
- declare const ListAgents200DataAgentsItemTtsProvider: {
783
- readonly elevenlabs: "elevenlabs";
784
- readonly cartesia: "cartesia";
785
- readonly google: "google";
786
- };
787
-
788
- /**
789
- * Generated by orval v8.1.0 🍺
790
- * Do not edit manually.
791
- * Avallon API
792
- * OpenAPI spec version: 1.0.0
793
- */
794
-
795
- type ListAgents200DataAgentsItem = {
796
- id: string;
797
- tenant_id: string;
798
- agent_name: string;
799
- direction: ListAgents200DataAgentsItemDirection;
800
- llm_model: ListAgents200DataAgentsItemLlmModel;
801
- tts_provider: ListAgents200DataAgentsItemTtsProvider;
802
- tts_model: ListAgents200DataAgentsItemTtsModel;
803
- language: ListAgents200DataAgentsItemLanguage;
804
- tts_voice_id: string;
805
- stt_model: ListAgents200DataAgentsItemSttModel;
806
- transfer_phone_number: string | null;
807
- background_sounds: ListAgents200DataAgentsItemBackgroundSounds;
808
- created_at: string;
809
- updated_at: string;
810
- phone_number: string | null;
811
- dial_pad: boolean;
812
- end_call: boolean;
813
- };
814
-
815
- /**
816
- * Generated by orval v8.1.0 🍺
817
- * Do not edit manually.
818
- * Avallon API
819
- * OpenAPI spec version: 1.0.0
820
- */
821
-
822
- type ListAgents200Data = {
823
- agents: ListAgents200DataAgentsItem[];
813
+ type ListExtractorJobsParams = {
824
814
  /**
825
- * Total number of agents
826
- * @minimum -9007199254740991
827
- * @maximum 9007199254740991
815
+ * Number of results to return
816
+ * @minimum 1
817
+ * @maximum 100
828
818
  */
829
- total: number;
830
- };
831
-
832
- /**
833
- * Generated by orval v8.1.0 🍺
834
- * Do not edit manually.
835
- * Avallon API
836
- * OpenAPI spec version: 1.0.0
837
- */
838
-
839
- type ListAgents200 = {
840
- data: ListAgents200Data;
841
- message: string;
842
- };
843
-
844
- /**
845
- * Generated by orval v8.1.0 🍺
846
- * Do not edit manually.
847
- * Avallon API
848
- * OpenAPI spec version: 1.0.0
849
- */
850
- type ListAgentsParams = {
819
+ count?: number;
851
820
  /**
852
- * Filter by exact agent name
821
+ * Number of results to skip for pagination
822
+ * @minimum 0
853
823
  */
854
- agent_name?: string;
855
- };
856
-
857
- /**
858
- * Generated by orval v8.1.0 🍺
859
- * Do not edit manually.
860
- * Avallon API
861
- * OpenAPI spec version: 1.0.0
862
- */
863
- type ListApiKeys200DataDataItem = {
864
- /** Unique identifier for the API key */
865
- id: string;
866
- /** Human-readable name for the API key */
867
- name: string;
868
- /** First 12 characters of the key (e.g. ak_live_abc1) */
869
- key_prefix: string;
870
- /** Last usage timestamp, if ever used */
871
- last_used_at?: string;
872
- /** Expiration date, if set */
873
- expires_at?: string;
874
- /** Revocation timestamp, if revoked */
875
- revoked_at?: string;
876
- /** Creation timestamp */
877
- created_at: string;
878
- /** Last update timestamp */
879
- updated_at: string;
880
- };
881
-
882
- /**
883
- * Generated by orval v8.1.0 🍺
884
- * Do not edit manually.
885
- * Avallon API
886
- * OpenAPI spec version: 1.0.0
887
- */
888
-
889
- type ListApiKeys200Data = {
890
- data: ListApiKeys200DataDataItem[];
891
- /** Total number of keys returned */
892
- count: number;
893
- };
894
-
895
- /**
896
- * Generated by orval v8.1.0 🍺
897
- * Do not edit manually.
898
- * Avallon API
899
- * OpenAPI spec version: 1.0.0
900
- */
901
-
902
- type ListApiKeys200 = {
903
- data: ListApiKeys200Data;
904
- message: string;
905
- };
906
-
907
- /**
908
- * Generated by orval v8.1.0 🍺
909
- * Do not edit manually.
910
- * Avallon API
911
- * OpenAPI spec version: 1.0.0
912
- */
913
- type ListApiKeysIncludeRevoked = (typeof ListApiKeysIncludeRevoked)[keyof typeof ListApiKeysIncludeRevoked];
914
- declare const ListApiKeysIncludeRevoked: {
915
- readonly true: "true";
916
- readonly false: "false";
917
- };
918
-
919
- /**
920
- * Generated by orval v8.1.0 🍺
921
- * Do not edit manually.
922
- * Avallon API
923
- * OpenAPI spec version: 1.0.0
924
- */
925
-
926
- type ListApiKeysParams = {
824
+ offset?: number;
927
825
  /**
928
- * Include revoked keys in the response
826
+ * Field to sort by
929
827
  */
930
- include_revoked?: ListApiKeysIncludeRevoked;
931
- };
932
-
933
- /**
934
- * Generated by orval v8.1.0 🍺
935
- * Do not edit manually.
936
- * Avallon API
937
- * OpenAPI spec version: 1.0.0
938
- */
939
- type PostV1AuthRefreshToken200Data = {
940
- access_token: string;
941
- refresh_token: string;
942
- expires_at: string;
828
+ sort_by?: ListExtractorJobsSortBy;
829
+ /**
830
+ * Sort direction
831
+ */
832
+ sort_order?: ListExtractorJobsSortOrder;
833
+ /**
834
+ * Filter by job status
835
+ */
836
+ status?: ListExtractorJobsStatus;
837
+ /**
838
+ * Filter by extractor type
839
+ */
840
+ extractor_type?: ListExtractorJobsExtractorType;
841
+ /**
842
+ * Filter by extractor ID
843
+ * @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
844
+ */
845
+ extractor_id?: string;
846
+ /**
847
+ * Filter jobs created after this date (ISO 8601)
848
+ */
849
+ created_after?: string;
850
+ /**
851
+ * Filter jobs created before this date (ISO 8601)
852
+ */
853
+ created_before?: string;
943
854
  };
944
855
 
945
856
  /**
@@ -948,11 +859,9 @@ type PostV1AuthRefreshToken200Data = {
948
859
  * Avallon API
949
860
  * OpenAPI spec version: 1.0.0
950
861
  */
951
-
952
- type PostV1AuthRefreshToken200 = {
953
- data: PostV1AuthRefreshToken200Data;
954
- message: string;
955
- };
862
+ interface OAuthUrl {
863
+ url: string;
864
+ }
956
865
 
957
866
  /**
958
867
  * Generated by orval v8.1.0 🍺
@@ -965,30 +874,6 @@ type PostV1AuthRefreshTokenBody = {
965
874
  refresh_token: string;
966
875
  };
967
876
 
968
- /**
969
- * Generated by orval v8.1.0 🍺
970
- * Do not edit manually.
971
- * Avallon API
972
- * OpenAPI spec version: 1.0.0
973
- */
974
- type PostV1AuthSignIn200Data = {
975
- access_token: string;
976
- refresh_token: string;
977
- expires_at: string;
978
- };
979
-
980
- /**
981
- * Generated by orval v8.1.0 🍺
982
- * Do not edit manually.
983
- * Avallon API
984
- * OpenAPI spec version: 1.0.0
985
- */
986
-
987
- type PostV1AuthSignIn200 = {
988
- data: PostV1AuthSignIn200Data;
989
- message: string;
990
- };
991
-
992
877
  /**
993
878
  * Generated by orval v8.1.0 🍺
994
879
  * Do not edit manually.
@@ -1017,7 +902,19 @@ type PostV1AuthSignInBody = {
1017
902
  * Avallon API
1018
903
  * OpenAPI spec version: 1.0.0
1019
904
  */
1020
- type PostV1AuthSignUp200Data = {
905
+ type PostV1AuthSignUpBody = {
906
+ /** @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ */
907
+ email: string;
908
+ password: string;
909
+ };
910
+
911
+ /**
912
+ * Generated by orval v8.1.0 🍺
913
+ * Do not edit manually.
914
+ * Avallon API
915
+ * OpenAPI spec version: 1.0.0
916
+ */
917
+ type PostV1ExtractorJobs200Scope = {
1021
918
  [key: string]: unknown;
1022
919
  };
1023
920
 
@@ -1028,9 +925,13 @@ type PostV1AuthSignUp200Data = {
1028
925
  * OpenAPI spec version: 1.0.0
1029
926
  */
1030
927
 
1031
- type PostV1AuthSignUp200 = {
1032
- data: PostV1AuthSignUp200Data;
1033
- message: string;
928
+ type PostV1ExtractorJobs200 = {
929
+ id: string;
930
+ extractor_id: string;
931
+ extractor_version: number;
932
+ scope: PostV1ExtractorJobs200Scope;
933
+ status: string;
934
+ created_at: string;
1034
935
  };
1035
936
 
1036
937
  /**
@@ -1039,10 +940,8 @@ type PostV1AuthSignUp200 = {
1039
940
  * Avallon API
1040
941
  * OpenAPI spec version: 1.0.0
1041
942
  */
1042
- type PostV1AuthSignUpBody = {
1043
- /** @pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ */
1044
- email: string;
1045
- password: string;
943
+ type PostV1ExtractorJobsBodyScope = {
944
+ [key: string]: string | number | boolean | null;
1046
945
  };
1047
946
 
1048
947
  /**
@@ -1051,9 +950,11 @@ type PostV1AuthSignUpBody = {
1051
950
  * Avallon API
1052
951
  * OpenAPI spec version: 1.0.0
1053
952
  */
1054
- type RevokeApiKey200Data = {
1055
- /** Confirmation message */
1056
- message: string;
953
+
954
+ type PostV1ExtractorJobsBody = {
955
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
956
+ extractor_id: string;
957
+ scope: PostV1ExtractorJobsBodyScope;
1057
958
  };
1058
959
 
1059
960
  /**
@@ -1062,13 +963,33 @@ type RevokeApiKey200Data = {
1062
963
  * Avallon API
1063
964
  * OpenAPI spec version: 1.0.0
1064
965
  */
966
+ type PostV1ExtractorJobsIdCancel200Scope = {
967
+ [key: string]: unknown;
968
+ };
1065
969
 
1066
- type RevokeApiKey200 = {
1067
- data: RevokeApiKey200Data;
1068
- message: string;
970
+ /**
971
+ * Generated by orval v8.1.0 🍺
972
+ * Do not edit manually.
973
+ * Avallon API
974
+ * OpenAPI spec version: 1.0.0
975
+ */
976
+
977
+ type PostV1ExtractorJobsIdCancel200 = {
978
+ id: string;
979
+ extractor_id: string;
980
+ extractor_version: number;
981
+ extractor_name: string;
982
+ status: string;
983
+ scope: PostV1ExtractorJobsIdCancel200Scope;
984
+ created_at: string;
985
+ started_at: string | null;
986
+ completed_at: string | null;
987
+ processing_duration_ms: number | null;
988
+ extract_id: string | null;
989
+ error: string | null;
1069
990
  };
1070
991
 
1071
- type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
992
+ type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
1072
993
  /**
1073
994
  * List all agents for your tenant.
1074
995
 
@@ -1081,50 +1002,23 @@ Filter agents by name using the `agent_name` query parameter (exact match).
1081
1002
  Returns an array of all agents with their configurations and a total count.
1082
1003
  * @summary List agents
1083
1004
  */
1084
- type listAgentsResponse200 = {
1085
- data: ListAgents200;
1086
- status: 200;
1087
- };
1088
- type listAgentsResponse400 = {
1089
- data: ErrorResponse;
1090
- status: 400;
1091
- };
1092
- type listAgentsResponse401 = {
1093
- data: ErrorResponse;
1094
- status: 401;
1095
- };
1096
- type listAgentsResponse409 = {
1097
- data: ErrorResponse;
1098
- status: 409;
1099
- };
1100
- type listAgentsResponse500 = {
1101
- data: ErrorResponse;
1102
- status: 500;
1103
- };
1104
- type listAgentsResponseSuccess = listAgentsResponse200 & {
1105
- headers: Headers;
1106
- };
1107
- type listAgentsResponseError = (listAgentsResponse400 | listAgentsResponse401 | listAgentsResponse409 | listAgentsResponse500) & {
1108
- headers: Headers;
1109
- };
1110
- type listAgentsResponse = listAgentsResponseSuccess | listAgentsResponseError;
1111
1005
  declare const getListAgentsUrl: (params?: ListAgentsParams) => string;
1112
- declare const listAgents: (params?: ListAgentsParams, options?: RequestInit) => Promise<listAgentsResponse>;
1006
+ declare const listAgents: (params?: ListAgentsParams, options?: RequestInit) => Promise<AgentList>;
1113
1007
  declare const getListAgentsKey: (params?: ListAgentsParams) => readonly ["/v1/agents", ...ListAgentsParams[]];
1114
1008
  type ListAgentsQueryResult = NonNullable<Awaited<ReturnType<typeof listAgents>>>;
1115
1009
  /**
1116
1010
  * @summary List agents
1117
1011
  */
1118
- declare const useListAgents: <TError = ErrorResponse>(params?: ListAgentsParams, options?: {
1012
+ declare const useListAgents: <TError = ErrorType<ErrorResponse>>(params?: ListAgentsParams, options?: {
1119
1013
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listAgents>>, TError> & {
1120
1014
  swrKey?: Key;
1121
1015
  enabled?: boolean;
1122
1016
  };
1123
- request?: SecondParameter$2<typeof customFetch>;
1017
+ request?: SecondParameter$4<typeof customFetch>;
1124
1018
  }) => {
1125
- data: listAgentsResponse | undefined;
1019
+ data: AgentList | undefined;
1126
1020
  error: TError | undefined;
1127
- mutate: swr.KeyedMutator<listAgentsResponse>;
1021
+ mutate: swr.KeyedMutator<AgentList>;
1128
1022
  isValidating: boolean;
1129
1023
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1130
1024
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
@@ -1141,114 +1035,56 @@ All fields in the request body are required except `phone_number_id` and `transf
1141
1035
  Returns the created agent with its ID and configuration.
1142
1036
  * @summary Create agent
1143
1037
  */
1144
- type createAgentResponse200 = {
1145
- data: CreateAgent200;
1146
- status: 200;
1147
- };
1148
- type createAgentResponse400 = {
1149
- data: ErrorResponse;
1150
- status: 400;
1151
- };
1152
- type createAgentResponse401 = {
1153
- data: ErrorResponse;
1154
- status: 401;
1155
- };
1156
- type createAgentResponse409 = {
1157
- data: ErrorResponse;
1158
- status: 409;
1159
- };
1160
- type createAgentResponse500 = {
1161
- data: ErrorResponse;
1162
- status: 500;
1163
- };
1164
- type createAgentResponseSuccess = createAgentResponse200 & {
1165
- headers: Headers;
1166
- };
1167
- type createAgentResponseError = (createAgentResponse400 | createAgentResponse401 | createAgentResponse409 | createAgentResponse500) & {
1168
- headers: Headers;
1169
- };
1170
- type createAgentResponse = createAgentResponseSuccess | createAgentResponseError;
1171
1038
  declare const getCreateAgentUrl: () => string;
1172
- declare const createAgent: (createAgentBody: CreateAgentBody, options?: RequestInit) => Promise<createAgentResponse>;
1173
- declare const getCreateAgentMutationFetcher: (options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
1039
+ declare const createAgent: (createAgentBody: CreateAgentBody, options?: RequestInit) => Promise<CreateAgentResponse>;
1040
+ declare const getCreateAgentMutationFetcher: (options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
1174
1041
  arg: CreateAgentBody;
1175
- }) => Promise<createAgentResponse>;
1042
+ }) => Promise<CreateAgentResponse>;
1176
1043
  declare const getCreateAgentMutationKey: () => readonly ["/v1/agents"];
1177
1044
  type CreateAgentMutationResult = NonNullable<Awaited<ReturnType<typeof createAgent>>>;
1178
1045
  /**
1179
1046
  * @summary Create agent
1180
1047
  */
1181
- declare const useCreateAgent: <TError = ErrorResponse>(options?: {
1048
+ declare const useCreateAgent: <TError = ErrorType<ErrorResponse>>(options?: {
1182
1049
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgent>>, TError, Key, CreateAgentBody, Awaited<ReturnType<typeof createAgent>>> & {
1183
1050
  swrKey?: string;
1184
1051
  };
1185
- request?: SecondParameter$2<typeof customFetch>;
1052
+ request?: SecondParameter$4<typeof customFetch>;
1186
1053
  }) => {
1187
1054
  isMutating: boolean;
1188
- trigger: swr_mutation.TriggerWithArgs<createAgentResponse, TError, string | readonly ["/v1/agents"], CreateAgentBody>;
1055
+ trigger: swr_mutation.TriggerWithArgs<CreateAgentResponse, TError, string | readonly ["/v1/agents"], CreateAgentBody>;
1189
1056
  reset: () => void;
1057
+ data: CreateAgentResponse | undefined;
1190
1058
  error: TError | undefined;
1191
- data: createAgentResponse | undefined;
1192
1059
  swrKey: string | readonly ["/v1/agents"];
1193
1060
  };
1194
1061
  /**
1195
1062
  * Retrieve a single agent by ID.
1196
1063
  * @summary Get agent
1197
1064
  */
1198
- type getAgentResponse200 = {
1199
- data: GetAgent200;
1200
- status: 200;
1201
- };
1202
- type getAgentResponse400 = {
1203
- data: ErrorResponse;
1204
- status: 400;
1205
- };
1206
- type getAgentResponse401 = {
1207
- data: ErrorResponse;
1208
- status: 401;
1209
- };
1210
- type getAgentResponse404 = {
1211
- data: ErrorResponse;
1212
- status: 404;
1213
- };
1214
- type getAgentResponse409 = {
1215
- data: ErrorResponse;
1216
- status: 409;
1217
- };
1218
- type getAgentResponse500 = {
1219
- data: ErrorResponse;
1220
- status: 500;
1221
- };
1222
- type getAgentResponseSuccess = getAgentResponse200 & {
1223
- headers: Headers;
1224
- };
1225
- type getAgentResponseError = (getAgentResponse400 | getAgentResponse401 | getAgentResponse404 | getAgentResponse409 | getAgentResponse500) & {
1226
- headers: Headers;
1227
- };
1228
- type getAgentResponse = getAgentResponseSuccess | getAgentResponseError;
1229
1065
  declare const getGetAgentUrl: (id: string) => string;
1230
- declare const getAgent: (id: string, options?: RequestInit) => Promise<getAgentResponse>;
1066
+ declare const getAgent: (id: string, options?: RequestInit) => Promise<GetAgentResponse>;
1231
1067
  declare const getGetAgentKey: (id: string) => readonly [`/v1/agents/${string}`];
1232
1068
  type GetAgentQueryResult = NonNullable<Awaited<ReturnType<typeof getAgent>>>;
1233
1069
  /**
1234
1070
  * @summary Get agent
1235
1071
  */
1236
- declare const useGetAgent: <TError = ErrorResponse>(id: string, options?: {
1072
+ declare const useGetAgent: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
1237
1073
  swr?: SWRConfiguration<Awaited<ReturnType<typeof getAgent>>, TError> & {
1238
1074
  swrKey?: Key;
1239
1075
  enabled?: boolean;
1240
1076
  };
1241
- request?: SecondParameter$2<typeof customFetch>;
1077
+ request?: SecondParameter$4<typeof customFetch>;
1242
1078
  }) => {
1243
- data: getAgentResponse | undefined;
1079
+ data: GetAgentResponse | undefined;
1244
1080
  error: TError | undefined;
1245
- mutate: swr.KeyedMutator<getAgentResponse>;
1081
+ mutate: swr.KeyedMutator<GetAgentResponse>;
1246
1082
  isValidating: boolean;
1247
1083
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1248
1084
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
1249
1085
  };
1250
1086
 
1251
- type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
1087
+ type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
1252
1088
  /**
1253
1089
  * List all API keys for your tenant.
1254
1090
 
@@ -1257,50 +1093,23 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
1257
1093
  **Note:** The full API key value is never returned — only the key prefix is shown.
1258
1094
  * @summary List API keys
1259
1095
  */
1260
- type listApiKeysResponse200 = {
1261
- data: ListApiKeys200;
1262
- status: 200;
1263
- };
1264
- type listApiKeysResponse400 = {
1265
- data: ErrorResponse;
1266
- status: 400;
1267
- };
1268
- type listApiKeysResponse401 = {
1269
- data: ErrorResponse;
1270
- status: 401;
1271
- };
1272
- type listApiKeysResponse409 = {
1273
- data: ErrorResponse;
1274
- status: 409;
1275
- };
1276
- type listApiKeysResponse500 = {
1277
- data: ErrorResponse;
1278
- status: 500;
1279
- };
1280
- type listApiKeysResponseSuccess = listApiKeysResponse200 & {
1281
- headers: Headers;
1282
- };
1283
- type listApiKeysResponseError = (listApiKeysResponse400 | listApiKeysResponse401 | listApiKeysResponse409 | listApiKeysResponse500) & {
1284
- headers: Headers;
1285
- };
1286
- type listApiKeysResponse = listApiKeysResponseSuccess | listApiKeysResponseError;
1287
1096
  declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
1288
- declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<listApiKeysResponse>;
1097
+ declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ApiKeyList>;
1289
1098
  declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
1290
1099
  type ListApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listApiKeys>>>;
1291
1100
  /**
1292
1101
  * @summary List API keys
1293
1102
  */
1294
- declare const useListApiKeys: <TError = ErrorResponse>(params?: ListApiKeysParams, options?: {
1103
+ declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
1295
1104
  swr?: SWRConfiguration<Awaited<ReturnType<typeof listApiKeys>>, TError> & {
1296
1105
  swrKey?: Key;
1297
1106
  enabled?: boolean;
1298
1107
  };
1299
- request?: SecondParameter$1<typeof customFetch>;
1108
+ request?: SecondParameter$3<typeof customFetch>;
1300
1109
  }) => {
1301
- data: listApiKeysResponse | undefined;
1110
+ data: ApiKeyList | undefined;
1302
1111
  error: TError | undefined;
1303
- mutate: swr.KeyedMutator<listApiKeysResponse>;
1112
+ mutate: swr.KeyedMutator<ApiKeyList>;
1304
1113
  isValidating: boolean;
1305
1114
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1306
1115
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
@@ -1313,54 +1122,27 @@ declare const useListApiKeys: <TError = ErrorResponse>(params?: ListApiKeysParam
1313
1122
  Keys are scoped to an environment (`test` or `live`) and optionally accept an expiration date.
1314
1123
  * @summary Create an API key
1315
1124
  */
1316
- type createApiKeyResponse200 = {
1317
- data: CreateApiKey200;
1318
- status: 200;
1319
- };
1320
- type createApiKeyResponse400 = {
1321
- data: ErrorResponse;
1322
- status: 400;
1323
- };
1324
- type createApiKeyResponse401 = {
1325
- data: ErrorResponse;
1326
- status: 401;
1327
- };
1328
- type createApiKeyResponse409 = {
1329
- data: ErrorResponse;
1330
- status: 409;
1331
- };
1332
- type createApiKeyResponse500 = {
1333
- data: ErrorResponse;
1334
- status: 500;
1335
- };
1336
- type createApiKeyResponseSuccess = createApiKeyResponse200 & {
1337
- headers: Headers;
1338
- };
1339
- type createApiKeyResponseError = (createApiKeyResponse400 | createApiKeyResponse401 | createApiKeyResponse409 | createApiKeyResponse500) & {
1340
- headers: Headers;
1341
- };
1342
- type createApiKeyResponse = createApiKeyResponseSuccess | createApiKeyResponseError;
1343
1125
  declare const getCreateApiKeyUrl: () => string;
1344
- declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<createApiKeyResponse>;
1345
- declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
1126
+ declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
1127
+ declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
1346
1128
  arg: CreateApiKeyBody;
1347
- }) => Promise<createApiKeyResponse>;
1129
+ }) => Promise<ApiKeyCreated>;
1348
1130
  declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
1349
1131
  type CreateApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createApiKey>>>;
1350
1132
  /**
1351
1133
  * @summary Create an API key
1352
1134
  */
1353
- declare const useCreateApiKey: <TError = ErrorResponse>(options?: {
1135
+ declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
1354
1136
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
1355
1137
  swrKey?: string;
1356
1138
  };
1357
- request?: SecondParameter$1<typeof customFetch>;
1139
+ request?: SecondParameter$3<typeof customFetch>;
1358
1140
  }) => {
1359
1141
  isMutating: boolean;
1360
- trigger: swr_mutation.TriggerWithArgs<createApiKeyResponse, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
1142
+ trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
1361
1143
  reset: () => void;
1144
+ data: ApiKeyCreated | undefined;
1362
1145
  error: TError | undefined;
1363
- data: createApiKeyResponse | undefined;
1364
1146
  swrKey: string | readonly ["/platform/api-keys"];
1365
1147
  };
1366
1148
  /**
@@ -1371,247 +1153,207 @@ This operation is irreversible — revoked keys cannot be re-enabled. Create a n
1371
1153
  Returns 409 if the key is already revoked, 404 if the key does not exist.
1372
1154
  * @summary Revoke an API key
1373
1155
  */
1374
- type revokeApiKeyResponse200 = {
1375
- data: RevokeApiKey200;
1376
- status: 200;
1377
- };
1378
- type revokeApiKeyResponse400 = {
1379
- data: ErrorResponse;
1380
- status: 400;
1381
- };
1382
- type revokeApiKeyResponse401 = {
1383
- data: ErrorResponse;
1384
- status: 401;
1385
- };
1386
- type revokeApiKeyResponse404 = {
1387
- data: ErrorResponse;
1388
- status: 404;
1389
- };
1390
- type revokeApiKeyResponse409 = {
1391
- data: ErrorResponse;
1392
- status: 409;
1393
- };
1394
- type revokeApiKeyResponse500 = {
1395
- data: ErrorResponse;
1396
- status: 500;
1397
- };
1398
- type revokeApiKeyResponseSuccess = revokeApiKeyResponse200 & {
1399
- headers: Headers;
1400
- };
1401
- type revokeApiKeyResponseError = (revokeApiKeyResponse400 | revokeApiKeyResponse401 | revokeApiKeyResponse404 | revokeApiKeyResponse409 | revokeApiKeyResponse500) & {
1402
- headers: Headers;
1403
- };
1404
- type revokeApiKeyResponse = revokeApiKeyResponseSuccess | revokeApiKeyResponseError;
1405
1156
  declare const getRevokeApiKeyUrl: (id: string) => string;
1406
- declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<revokeApiKeyResponse>;
1407
- declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, __: {
1157
+ declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
1158
+ declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, __: {
1408
1159
  arg: Arguments;
1409
- }) => Promise<revokeApiKeyResponse>;
1160
+ }) => Promise<ConfirmationResponse>;
1410
1161
  declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
1411
1162
  type RevokeApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof revokeApiKey>>>;
1412
1163
  /**
1413
1164
  * @summary Revoke an API key
1414
1165
  */
1415
- declare const useRevokeApiKey: <TError = ErrorResponse>(id: string, options?: {
1166
+ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
1416
1167
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
1417
1168
  swrKey?: string;
1418
1169
  };
1419
- request?: SecondParameter$1<typeof customFetch>;
1170
+ request?: SecondParameter$3<typeof customFetch>;
1420
1171
  }) => {
1421
1172
  isMutating: boolean;
1422
- trigger: swr_mutation.TriggerWithOptionsArgs<revokeApiKeyResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
1173
+ trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
1423
1174
  reset: () => void;
1175
+ data: ConfirmationResponse | undefined;
1424
1176
  error: TError | undefined;
1425
- data: revokeApiKeyResponse | undefined;
1426
1177
  swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
1427
1178
  };
1428
1179
 
1429
- type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
1430
- type postV1AuthSignUpResponse200 = {
1431
- data: PostV1AuthSignUp200;
1432
- status: 200;
1433
- };
1434
- type postV1AuthSignUpResponse400 = {
1435
- data: ErrorResponse;
1436
- status: 400;
1437
- };
1438
- type postV1AuthSignUpResponse401 = {
1439
- data: ErrorResponse;
1440
- status: 401;
1441
- };
1442
- type postV1AuthSignUpResponse409 = {
1443
- data: ErrorResponse;
1444
- status: 409;
1445
- };
1446
- type postV1AuthSignUpResponse500 = {
1447
- data: ErrorResponse;
1448
- status: 500;
1449
- };
1450
- type postV1AuthSignUpResponseSuccess = postV1AuthSignUpResponse200 & {
1451
- headers: Headers;
1452
- };
1453
- type postV1AuthSignUpResponseError = (postV1AuthSignUpResponse400 | postV1AuthSignUpResponse401 | postV1AuthSignUpResponse409 | postV1AuthSignUpResponse500) & {
1454
- headers: Headers;
1455
- };
1456
- type postV1AuthSignUpResponse = postV1AuthSignUpResponseSuccess | postV1AuthSignUpResponseError;
1180
+ type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
1457
1181
  declare const getPostV1AuthSignUpUrl: () => string;
1458
- declare const postV1AuthSignUp: (postV1AuthSignUpBody: PostV1AuthSignUpBody, options?: RequestInit) => Promise<postV1AuthSignUpResponse>;
1459
- declare const getPostV1AuthSignUpMutationFetcher: (options?: SecondParameter<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1182
+ declare const postV1AuthSignUp: (postV1AuthSignUpBody: PostV1AuthSignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
1183
+ declare const getPostV1AuthSignUpMutationFetcher: (options?: SecondParameter$2<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1460
1184
  arg: PostV1AuthSignUpBody;
1461
- }) => Promise<postV1AuthSignUpResponse>;
1185
+ }) => Promise<EmptyResponse>;
1462
1186
  declare const getPostV1AuthSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
1463
1187
  type PostV1AuthSignUpMutationResult = NonNullable<Awaited<ReturnType<typeof postV1AuthSignUp>>>;
1464
- declare const usePostV1AuthSignUp: <TError = ErrorResponse>(options?: {
1188
+ declare const usePostV1AuthSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
1465
1189
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1AuthSignUp>>, TError, Key, PostV1AuthSignUpBody, Awaited<ReturnType<typeof postV1AuthSignUp>>> & {
1466
1190
  swrKey?: string;
1467
1191
  };
1468
- request?: SecondParameter<typeof customFetchNoAuth>;
1192
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
1469
1193
  }) => {
1470
1194
  isMutating: boolean;
1471
- trigger: swr_mutation.TriggerWithArgs<postV1AuthSignUpResponse, TError, string | readonly ["/v1/auth/sign-up"], PostV1AuthSignUpBody>;
1195
+ trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], PostV1AuthSignUpBody>;
1472
1196
  reset: () => void;
1197
+ data: EmptyResponse | undefined;
1473
1198
  error: TError | undefined;
1474
- data: postV1AuthSignUpResponse | undefined;
1475
1199
  swrKey: string | readonly ["/v1/auth/sign-up"];
1476
1200
  };
1477
- type postV1AuthSignInResponse200 = {
1478
- data: PostV1AuthSignIn200;
1479
- status: 200;
1480
- };
1481
- type postV1AuthSignInResponse400 = {
1482
- data: ErrorResponse;
1483
- status: 400;
1484
- };
1485
- type postV1AuthSignInResponse401 = {
1486
- data: ErrorResponse;
1487
- status: 401;
1488
- };
1489
- type postV1AuthSignInResponse409 = {
1490
- data: ErrorResponse;
1491
- status: 409;
1492
- };
1493
- type postV1AuthSignInResponse500 = {
1494
- data: ErrorResponse;
1495
- status: 500;
1496
- };
1497
- type postV1AuthSignInResponseSuccess = postV1AuthSignInResponse200 & {
1498
- headers: Headers;
1499
- };
1500
- type postV1AuthSignInResponseError = (postV1AuthSignInResponse400 | postV1AuthSignInResponse401 | postV1AuthSignInResponse409 | postV1AuthSignInResponse500) & {
1501
- headers: Headers;
1502
- };
1503
- type postV1AuthSignInResponse = postV1AuthSignInResponseSuccess | postV1AuthSignInResponseError;
1504
1201
  declare const getPostV1AuthSignInUrl: () => string;
1505
- declare const postV1AuthSignIn: (postV1AuthSignInBody: PostV1AuthSignInBody, options?: RequestInit) => Promise<postV1AuthSignInResponse>;
1506
- declare const getPostV1AuthSignInMutationFetcher: (options?: SecondParameter<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1202
+ declare const postV1AuthSignIn: (postV1AuthSignInBody: PostV1AuthSignInBody, options?: RequestInit) => Promise<AuthTokens>;
1203
+ declare const getPostV1AuthSignInMutationFetcher: (options?: SecondParameter$2<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1507
1204
  arg: PostV1AuthSignInBody;
1508
- }) => Promise<postV1AuthSignInResponse>;
1205
+ }) => Promise<AuthTokens>;
1509
1206
  declare const getPostV1AuthSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
1510
1207
  type PostV1AuthSignInMutationResult = NonNullable<Awaited<ReturnType<typeof postV1AuthSignIn>>>;
1511
- declare const usePostV1AuthSignIn: <TError = ErrorResponse>(options?: {
1208
+ declare const usePostV1AuthSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
1512
1209
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1AuthSignIn>>, TError, Key, PostV1AuthSignInBody, Awaited<ReturnType<typeof postV1AuthSignIn>>> & {
1513
1210
  swrKey?: string;
1514
1211
  };
1515
- request?: SecondParameter<typeof customFetchNoAuth>;
1212
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
1516
1213
  }) => {
1517
1214
  isMutating: boolean;
1518
- trigger: swr_mutation.TriggerWithArgs<postV1AuthSignInResponse, TError, string | readonly ["/v1/auth/sign-in"], PostV1AuthSignInBody>;
1215
+ trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], PostV1AuthSignInBody>;
1519
1216
  reset: () => void;
1217
+ data: AuthTokens | undefined;
1520
1218
  error: TError | undefined;
1521
- data: postV1AuthSignInResponse | undefined;
1522
1219
  swrKey: string | readonly ["/v1/auth/sign-in"];
1523
1220
  };
1524
- type postV1AuthRefreshTokenResponse200 = {
1525
- data: PostV1AuthRefreshToken200;
1526
- status: 200;
1527
- };
1528
- type postV1AuthRefreshTokenResponse400 = {
1529
- data: ErrorResponse;
1530
- status: 400;
1531
- };
1532
- type postV1AuthRefreshTokenResponse401 = {
1533
- data: ErrorResponse;
1534
- status: 401;
1535
- };
1536
- type postV1AuthRefreshTokenResponse409 = {
1537
- data: ErrorResponse;
1538
- status: 409;
1539
- };
1540
- type postV1AuthRefreshTokenResponse500 = {
1541
- data: ErrorResponse;
1542
- status: 500;
1543
- };
1544
- type postV1AuthRefreshTokenResponseSuccess = postV1AuthRefreshTokenResponse200 & {
1545
- headers: Headers;
1546
- };
1547
- type postV1AuthRefreshTokenResponseError = (postV1AuthRefreshTokenResponse400 | postV1AuthRefreshTokenResponse401 | postV1AuthRefreshTokenResponse409 | postV1AuthRefreshTokenResponse500) & {
1548
- headers: Headers;
1549
- };
1550
- type postV1AuthRefreshTokenResponse = postV1AuthRefreshTokenResponseSuccess | postV1AuthRefreshTokenResponseError;
1551
1221
  declare const getPostV1AuthRefreshTokenUrl: () => string;
1552
- declare const postV1AuthRefreshToken: (postV1AuthRefreshTokenBody: PostV1AuthRefreshTokenBody, options?: RequestInit) => Promise<postV1AuthRefreshTokenResponse>;
1553
- declare const getPostV1AuthRefreshTokenMutationFetcher: (options?: SecondParameter<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1222
+ declare const postV1AuthRefreshToken: (postV1AuthRefreshTokenBody: PostV1AuthRefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
1223
+ declare const getPostV1AuthRefreshTokenMutationFetcher: (options?: SecondParameter$2<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1554
1224
  arg: PostV1AuthRefreshTokenBody;
1555
- }) => Promise<postV1AuthRefreshTokenResponse>;
1225
+ }) => Promise<AuthTokens>;
1556
1226
  declare const getPostV1AuthRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
1557
1227
  type PostV1AuthRefreshTokenMutationResult = NonNullable<Awaited<ReturnType<typeof postV1AuthRefreshToken>>>;
1558
- declare const usePostV1AuthRefreshToken: <TError = ErrorResponse>(options?: {
1228
+ declare const usePostV1AuthRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
1559
1229
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1AuthRefreshToken>>, TError, Key, PostV1AuthRefreshTokenBody, Awaited<ReturnType<typeof postV1AuthRefreshToken>>> & {
1560
1230
  swrKey?: string;
1561
1231
  };
1562
- request?: SecondParameter<typeof customFetchNoAuth>;
1232
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
1563
1233
  }) => {
1564
1234
  isMutating: boolean;
1565
- trigger: swr_mutation.TriggerWithArgs<postV1AuthRefreshTokenResponse, TError, string | readonly ["/v1/auth/refresh-token"], PostV1AuthRefreshTokenBody>;
1235
+ trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], PostV1AuthRefreshTokenBody>;
1566
1236
  reset: () => void;
1237
+ data: AuthTokens | undefined;
1567
1238
  error: TError | undefined;
1568
- data: postV1AuthRefreshTokenResponse | undefined;
1569
1239
  swrKey: string | readonly ["/v1/auth/refresh-token"];
1570
1240
  };
1571
- type getV1AuthOauthUrlResponse200 = {
1572
- data: GetV1AuthOauthUrl200;
1573
- status: 200;
1574
- };
1575
- type getV1AuthOauthUrlResponse400 = {
1576
- data: ErrorResponse;
1577
- status: 400;
1578
- };
1579
- type getV1AuthOauthUrlResponse401 = {
1580
- data: ErrorResponse;
1581
- status: 401;
1582
- };
1583
- type getV1AuthOauthUrlResponse409 = {
1584
- data: ErrorResponse;
1585
- status: 409;
1586
- };
1587
- type getV1AuthOauthUrlResponse500 = {
1588
- data: ErrorResponse;
1589
- status: 500;
1590
- };
1591
- type getV1AuthOauthUrlResponseSuccess = getV1AuthOauthUrlResponse200 & {
1592
- headers: Headers;
1593
- };
1594
- type getV1AuthOauthUrlResponseError = (getV1AuthOauthUrlResponse400 | getV1AuthOauthUrlResponse401 | getV1AuthOauthUrlResponse409 | getV1AuthOauthUrlResponse500) & {
1595
- headers: Headers;
1596
- };
1597
- type getV1AuthOauthUrlResponse = getV1AuthOauthUrlResponseSuccess | getV1AuthOauthUrlResponseError;
1598
1241
  declare const getGetV1AuthOauthUrlUrl: (params: GetV1AuthOauthUrlParams) => string;
1599
- declare const getV1AuthOauthUrl: (params: GetV1AuthOauthUrlParams, options?: RequestInit) => Promise<getV1AuthOauthUrlResponse>;
1242
+ declare const getV1AuthOauthUrl: (params: GetV1AuthOauthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
1600
1243
  declare const getGetV1AuthOauthUrlKey: (params: GetV1AuthOauthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetV1AuthOauthUrlParams[]];
1601
1244
  type GetV1AuthOauthUrlQueryResult = NonNullable<Awaited<ReturnType<typeof getV1AuthOauthUrl>>>;
1602
- declare const useGetV1AuthOauthUrl: <TError = ErrorResponse>(params: GetV1AuthOauthUrlParams, options?: {
1245
+ declare const useGetV1AuthOauthUrl: <TError = ErrorType<ErrorResponse>>(params: GetV1AuthOauthUrlParams, options?: {
1603
1246
  swr?: SWRConfiguration<Awaited<ReturnType<typeof getV1AuthOauthUrl>>, TError> & {
1604
1247
  swrKey?: Key;
1605
1248
  enabled?: boolean;
1606
1249
  };
1607
- request?: SecondParameter<typeof customFetchNoAuth>;
1250
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
1251
+ }) => {
1252
+ data: OAuthUrl | undefined;
1253
+ error: TError | undefined;
1254
+ mutate: swr.KeyedMutator<OAuthUrl>;
1255
+ isValidating: boolean;
1256
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1257
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
1258
+ };
1259
+
1260
+ type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
1261
+ declare const getPostV1ExtractorJobsUrl: () => string;
1262
+ declare const postV1ExtractorJobs: (postV1ExtractorJobsBody: PostV1ExtractorJobsBody, options?: RequestInit) => Promise<PostV1ExtractorJobs200>;
1263
+ declare const getPostV1ExtractorJobsMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
1264
+ arg: PostV1ExtractorJobsBody;
1265
+ }) => Promise<PostV1ExtractorJobs200>;
1266
+ declare const getPostV1ExtractorJobsMutationKey: () => readonly ["/v1/extractor-jobs"];
1267
+ type PostV1ExtractorJobsMutationResult = NonNullable<Awaited<ReturnType<typeof postV1ExtractorJobs>>>;
1268
+ declare const usePostV1ExtractorJobs: <TError = ErrorType<ErrorResponse>>(options?: {
1269
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1ExtractorJobs>>, TError, Key, PostV1ExtractorJobsBody, Awaited<ReturnType<typeof postV1ExtractorJobs>>> & {
1270
+ swrKey?: string;
1271
+ };
1272
+ request?: SecondParameter$1<typeof customFetch>;
1273
+ }) => {
1274
+ isMutating: boolean;
1275
+ trigger: swr_mutation.TriggerWithArgs<PostV1ExtractorJobs200, TError, string | readonly ["/v1/extractor-jobs"], PostV1ExtractorJobsBody>;
1276
+ reset: () => void;
1277
+ data: PostV1ExtractorJobs200 | undefined;
1278
+ error: TError | undefined;
1279
+ swrKey: string | readonly ["/v1/extractor-jobs"];
1280
+ };
1281
+ declare const getGetV1ExtractorJobsIdUrl: (id: string) => string;
1282
+ declare const getV1ExtractorJobsId: (id: string, options?: RequestInit) => Promise<GetV1ExtractorJobsId200>;
1283
+ declare const getGetV1ExtractorJobsIdKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
1284
+ type GetV1ExtractorJobsIdQueryResult = NonNullable<Awaited<ReturnType<typeof getV1ExtractorJobsId>>>;
1285
+ declare const useGetV1ExtractorJobsId: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
1286
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof getV1ExtractorJobsId>>, TError> & {
1287
+ swrKey?: Key;
1288
+ enabled?: boolean;
1289
+ };
1290
+ request?: SecondParameter$1<typeof customFetch>;
1291
+ }) => {
1292
+ data: GetV1ExtractorJobsId200 | undefined;
1293
+ error: TError | undefined;
1294
+ mutate: swr.KeyedMutator<GetV1ExtractorJobsId200>;
1295
+ isValidating: boolean;
1296
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1297
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
1298
+ };
1299
+ declare const getPostV1ExtractorJobsIdCancelUrl: (id: string) => string;
1300
+ declare const postV1ExtractorJobsIdCancel: (id: string, options?: RequestInit) => Promise<PostV1ExtractorJobsIdCancel200>;
1301
+ declare const getPostV1ExtractorJobsIdCancelMutationFetcher: (id: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, __: {
1302
+ arg: Arguments;
1303
+ }) => Promise<PostV1ExtractorJobsIdCancel200>;
1304
+ declare const getPostV1ExtractorJobsIdCancelMutationKey: (id: string) => readonly [`/v1/extractor-jobs/${string}/cancel`];
1305
+ type PostV1ExtractorJobsIdCancelMutationResult = NonNullable<Awaited<ReturnType<typeof postV1ExtractorJobsIdCancel>>>;
1306
+ declare const usePostV1ExtractorJobsIdCancel: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
1307
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1ExtractorJobsIdCancel>>, TError, Key, Arguments, Awaited<ReturnType<typeof postV1ExtractorJobsIdCancel>>> & {
1308
+ swrKey?: string;
1309
+ };
1310
+ request?: SecondParameter$1<typeof customFetch>;
1311
+ }) => {
1312
+ isMutating: boolean;
1313
+ trigger: swr_mutation.TriggerWithOptionsArgs<PostV1ExtractorJobsIdCancel200, TError, string | readonly [`/v1/extractor-jobs/${string}/cancel`], Arguments>;
1314
+ reset: () => void;
1315
+ data: PostV1ExtractorJobsIdCancel200 | undefined;
1316
+ error: TError | undefined;
1317
+ swrKey: string | readonly [`/v1/extractor-jobs/${string}/cancel`];
1318
+ };
1319
+
1320
+ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
1321
+ /**
1322
+ * List all extraction jobs with pagination, filtering, and sorting.
1323
+
1324
+ **Type Filtering:**
1325
+
1326
+ Filter by `extractor_type` to see only `basic` or `agentic` jobs. Omit to return all types.
1327
+
1328
+ **Scope Filtering:**
1329
+
1330
+ Use bracket notation to filter by scope keys:
1331
+ - `scope[call_id]=abc-123`
1332
+ - `scope[email_id]=xyz-456`
1333
+
1334
+ Multiple scope filters can be combined (AND logic).
1335
+ * @summary List extractor jobs
1336
+ */
1337
+ declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
1338
+ declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ExtractorJobList>;
1339
+ declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
1340
+ type ListExtractorJobsQueryResult = NonNullable<Awaited<ReturnType<typeof listExtractorJobs>>>;
1341
+ /**
1342
+ * @summary List extractor jobs
1343
+ */
1344
+ declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
1345
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof listExtractorJobs>>, TError> & {
1346
+ swrKey?: Key;
1347
+ enabled?: boolean;
1348
+ };
1349
+ request?: SecondParameter<typeof customFetch>;
1608
1350
  }) => {
1609
- data: getV1AuthOauthUrlResponse | undefined;
1351
+ data: ExtractorJobList | undefined;
1610
1352
  error: TError | undefined;
1611
- mutate: swr.KeyedMutator<getV1AuthOauthUrlResponse>;
1353
+ mutate: swr.KeyedMutator<ExtractorJobList>;
1612
1354
  isValidating: boolean;
1613
1355
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1614
1356
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
1615
1357
  };
1616
1358
 
1617
- export { type AvallonConfig, AvallonError, type CreateAgent200, type CreateAgent200Data, type CreateAgent200DataAgent, CreateAgent200DataAgentBackgroundSounds, CreateAgent200DataAgentDirection, CreateAgent200DataAgentLanguage, CreateAgent200DataAgentLlmModel, CreateAgent200DataAgentSttModel, CreateAgent200DataAgentTtsModel, CreateAgent200DataAgentTtsProvider, type CreateAgentBody, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, type CreateAgentMutationResult, type CreateApiKey200, type CreateApiKey200Data, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type ErrorResponse, type ErrorResponseData, type GetAgent200, type GetAgent200Data, type GetAgent200DataAgent, GetAgent200DataAgentBackgroundSounds, GetAgent200DataAgentDirection, GetAgent200DataAgentLanguage, GetAgent200DataAgentLlmModel, GetAgent200DataAgentSttModel, GetAgent200DataAgentTtsModel, GetAgent200DataAgentTtsProvider, type GetAgentQueryResult, type GetV1AuthOauthUrl200, type GetV1AuthOauthUrl200Data, GetV1AuthOauthUrlCodeChallengeMethod, type GetV1AuthOauthUrlParams, GetV1AuthOauthUrlProvider, type GetV1AuthOauthUrlQueryResult, type ListAgents200, type ListAgents200Data, type ListAgents200DataAgentsItem, ListAgents200DataAgentsItemBackgroundSounds, ListAgents200DataAgentsItemDirection, ListAgents200DataAgentsItemLanguage, ListAgents200DataAgentsItemLlmModel, ListAgents200DataAgentsItemSttModel, ListAgents200DataAgentsItemTtsModel, ListAgents200DataAgentsItemTtsProvider, type ListAgentsParams, type ListAgentsQueryResult, type ListApiKeys200, type ListApiKeys200Data, type ListApiKeys200DataDataItem, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type PostV1AuthRefreshToken200, type PostV1AuthRefreshToken200Data, type PostV1AuthRefreshTokenBody, type PostV1AuthRefreshTokenMutationResult, type PostV1AuthSignIn200, type PostV1AuthSignIn200Data, type PostV1AuthSignInBody, type PostV1AuthSignInMutationResult, type PostV1AuthSignUp200, type PostV1AuthSignUp200Data, type PostV1AuthSignUpBody, type PostV1AuthSignUpMutationResult, type RevokeApiKey200, type RevokeApiKey200Data, type RevokeApiKeyMutationResult, configure, createAgent, type createAgentResponse, type createAgentResponse200, type createAgentResponse400, type createAgentResponse401, type createAgentResponse409, type createAgentResponse500, type createAgentResponseError, type createAgentResponseSuccess, createApiKey, type createApiKeyResponse, type createApiKeyResponse200, type createApiKeyResponse400, type createApiKeyResponse401, type createApiKeyResponse409, type createApiKeyResponse500, type createApiKeyResponseError, type createApiKeyResponseSuccess, generateCodeChallenge, generateCodeVerifier, getAgent, type getAgentResponse, type getAgentResponse200, type getAgentResponse400, type getAgentResponse401, type getAgentResponse404, type getAgentResponse409, type getAgentResponse500, type getAgentResponseError, type getAgentResponseSuccess, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getGetAgentKey, getGetAgentUrl, getGetV1AuthOauthUrlKey, getGetV1AuthOauthUrlUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getPostV1AuthRefreshTokenMutationFetcher, getPostV1AuthRefreshTokenMutationKey, getPostV1AuthRefreshTokenUrl, getPostV1AuthSignInMutationFetcher, getPostV1AuthSignInMutationKey, getPostV1AuthSignInUrl, getPostV1AuthSignUpMutationFetcher, getPostV1AuthSignUpMutationKey, getPostV1AuthSignUpUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getV1AuthOauthUrl, type getV1AuthOauthUrlResponse, type getV1AuthOauthUrlResponse200, type getV1AuthOauthUrlResponse400, type getV1AuthOauthUrlResponse401, type getV1AuthOauthUrlResponse409, type getV1AuthOauthUrlResponse500, type getV1AuthOauthUrlResponseError, type getV1AuthOauthUrlResponseSuccess, listAgents, type listAgentsResponse, type listAgentsResponse200, type listAgentsResponse400, type listAgentsResponse401, type listAgentsResponse409, type listAgentsResponse500, type listAgentsResponseError, type listAgentsResponseSuccess, listApiKeys, type listApiKeysResponse, type listApiKeysResponse200, type listApiKeysResponse400, type listApiKeysResponse401, type listApiKeysResponse409, type listApiKeysResponse500, type listApiKeysResponseError, type listApiKeysResponseSuccess, postV1AuthRefreshToken, type postV1AuthRefreshTokenResponse, type postV1AuthRefreshTokenResponse200, type postV1AuthRefreshTokenResponse400, type postV1AuthRefreshTokenResponse401, type postV1AuthRefreshTokenResponse409, type postV1AuthRefreshTokenResponse500, type postV1AuthRefreshTokenResponseError, type postV1AuthRefreshTokenResponseSuccess, postV1AuthSignIn, type postV1AuthSignInResponse, type postV1AuthSignInResponse200, type postV1AuthSignInResponse400, type postV1AuthSignInResponse401, type postV1AuthSignInResponse409, type postV1AuthSignInResponse500, type postV1AuthSignInResponseError, type postV1AuthSignInResponseSuccess, postV1AuthSignUp, type postV1AuthSignUpResponse, type postV1AuthSignUpResponse200, type postV1AuthSignUpResponse400, type postV1AuthSignUpResponse401, type postV1AuthSignUpResponse409, type postV1AuthSignUpResponse500, type postV1AuthSignUpResponseError, type postV1AuthSignUpResponseSuccess, revokeApiKey, type revokeApiKeyResponse, type revokeApiKeyResponse200, type revokeApiKeyResponse400, type revokeApiKeyResponse401, type revokeApiKeyResponse404, type revokeApiKeyResponse409, type revokeApiKeyResponse500, type revokeApiKeyResponseError, type revokeApiKeyResponseSuccess, useCreateAgent, useCreateApiKey, useGetAgent, useGetV1AuthOauthUrl, useListAgents, useListApiKeys, usePostV1AuthRefreshToken, usePostV1AuthSignIn, usePostV1AuthSignUp, useRevokeApiKey };
1359
+ export { type Agent, AgentBackgroundSounds, AgentDirection, AgentLanguage, type AgentList, AgentLlmModel, AgentSttModel, AgentTtsModel, AgentTtsProvider, type ApiKey, type ApiKeyCreated, type ApiKeyList, type AuthTokens, type AvallonConfig, AvallonError, type ConfirmationResponse, type CreateAgentBody, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, type CreateAgentMutationResult, type CreateAgentResponse, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExtractorJob, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type GetAgentQueryResult, type GetAgentResponse, GetV1AuthOauthUrlCodeChallengeMethod, type GetV1AuthOauthUrlParams, GetV1AuthOauthUrlProvider, type GetV1AuthOauthUrlQueryResult, type GetV1ExtractorJobsId200, type GetV1ExtractorJobsId200Data, type GetV1ExtractorJobsId200DataScope, type GetV1ExtractorJobsIdQueryResult, type ListAgentsParams, type ListAgentsQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type OAuthUrl, type PostV1AuthRefreshTokenBody, type PostV1AuthRefreshTokenMutationResult, type PostV1AuthSignInBody, type PostV1AuthSignInMutationResult, type PostV1AuthSignUpBody, type PostV1AuthSignUpMutationResult, type PostV1ExtractorJobs200, type PostV1ExtractorJobs200Scope, type PostV1ExtractorJobsBody, type PostV1ExtractorJobsBodyScope, type PostV1ExtractorJobsIdCancel200, type PostV1ExtractorJobsIdCancel200Scope, type PostV1ExtractorJobsIdCancelMutationResult, type PostV1ExtractorJobsMutationResult, type RevokeApiKeyMutationResult, configure, createAgent, createApiKey, generateCodeChallenge, generateCodeVerifier, getAgent, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getGetAgentKey, getGetAgentUrl, getGetV1AuthOauthUrlKey, getGetV1AuthOauthUrlUrl, getGetV1ExtractorJobsIdKey, getGetV1ExtractorJobsIdUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getPostV1AuthRefreshTokenMutationFetcher, getPostV1AuthRefreshTokenMutationKey, getPostV1AuthRefreshTokenUrl, getPostV1AuthSignInMutationFetcher, getPostV1AuthSignInMutationKey, getPostV1AuthSignInUrl, getPostV1AuthSignUpMutationFetcher, getPostV1AuthSignUpMutationKey, getPostV1AuthSignUpUrl, getPostV1ExtractorJobsIdCancelMutationFetcher, getPostV1ExtractorJobsIdCancelMutationKey, getPostV1ExtractorJobsIdCancelUrl, getPostV1ExtractorJobsMutationFetcher, getPostV1ExtractorJobsMutationKey, getPostV1ExtractorJobsUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getV1AuthOauthUrl, getV1ExtractorJobsId, listAgents, listApiKeys, listExtractorJobs, postV1AuthRefreshToken, postV1AuthSignIn, postV1AuthSignUp, postV1ExtractorJobs, postV1ExtractorJobsIdCancel, revokeApiKey, useCreateAgent, useCreateApiKey, useGetAgent, useGetV1AuthOauthUrl, useGetV1ExtractorJobsId, useListAgents, useListApiKeys, useListExtractorJobs, usePostV1AuthRefreshToken, usePostV1AuthSignIn, usePostV1AuthSignUp, usePostV1ExtractorJobs, usePostV1ExtractorJobsIdCancel, useRevokeApiKey };