@avallon-labs/sdk 0.0.0-0ca09b5e → 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
@@ -540,6 +540,83 @@ interface ErrorResponse {
540
540
  message: string;
541
541
  }
542
542
 
543
+ /**
544
+ * Generated by orval v8.1.0 🍺
545
+ * Do not edit manually.
546
+ * Avallon API
547
+ * OpenAPI spec version: 1.0.0
548
+ */
549
+ /**
550
+ * Type of extractor
551
+ */
552
+ type ExtractorJobExtractorType = (typeof ExtractorJobExtractorType)[keyof typeof ExtractorJobExtractorType];
553
+ declare const ExtractorJobExtractorType: {
554
+ readonly basic: "basic";
555
+ readonly agentic: "agentic";
556
+ };
557
+
558
+ /**
559
+ * Generated by orval v8.1.0 🍺
560
+ * Do not edit manually.
561
+ * Avallon API
562
+ * OpenAPI spec version: 1.0.0
563
+ */
564
+ /**
565
+ * Job scope metadata (e.g. claim_id, email_id)
566
+ */
567
+ type ExtractorJobScope = {
568
+ [key: string]: unknown;
569
+ };
570
+
571
+ /**
572
+ * Generated by orval v8.1.0 🍺
573
+ * Do not edit manually.
574
+ * Avallon API
575
+ * OpenAPI spec version: 1.0.0
576
+ */
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
+ }
610
+
611
+ /**
612
+ * Generated by orval v8.1.0 🍺
613
+ * Do not edit manually.
614
+ * Avallon API
615
+ * OpenAPI spec version: 1.0.0
616
+ */
617
+
618
+ type ExtractorJobList = ExtractorJob[];
619
+
543
620
  /**
544
621
  * Generated by orval v8.1.0 🍺
545
622
  * Do not edit manually.
@@ -592,6 +669,49 @@ type GetV1AuthOauthUrlParams = {
592
669
  code_challenge: string;
593
670
  };
594
671
 
672
+ /**
673
+ * Generated by orval v8.1.0 🍺
674
+ * Do not edit manually.
675
+ * Avallon API
676
+ * OpenAPI spec version: 1.0.0
677
+ */
678
+ type GetV1ExtractorJobsId200DataScope = {
679
+ [key: string]: unknown;
680
+ };
681
+
682
+ /**
683
+ * Generated by orval v8.1.0 🍺
684
+ * Do not edit manually.
685
+ * Avallon API
686
+ * OpenAPI spec version: 1.0.0
687
+ */
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;
702
+ };
703
+
704
+ /**
705
+ * Generated by orval v8.1.0 🍺
706
+ * Do not edit manually.
707
+ * Avallon API
708
+ * OpenAPI spec version: 1.0.0
709
+ */
710
+
711
+ type GetV1ExtractorJobsId200 = {
712
+ data: GetV1ExtractorJobsId200Data;
713
+ };
714
+
595
715
  /**
596
716
  * Generated by orval v8.1.0 🍺
597
717
  * Do not edit manually.
@@ -631,6 +751,108 @@ type ListApiKeysParams = {
631
751
  include_revoked?: ListApiKeysIncludeRevoked;
632
752
  };
633
753
 
754
+ /**
755
+ * Generated by orval v8.1.0 🍺
756
+ * Do not edit manually.
757
+ * Avallon API
758
+ * OpenAPI spec version: 1.0.0
759
+ */
760
+ type ListExtractorJobsExtractorType = (typeof ListExtractorJobsExtractorType)[keyof typeof ListExtractorJobsExtractorType];
761
+ declare const ListExtractorJobsExtractorType: {
762
+ readonly basic: "basic";
763
+ readonly agentic: "agentic";
764
+ };
765
+
766
+ /**
767
+ * Generated by orval v8.1.0 🍺
768
+ * Do not edit manually.
769
+ * Avallon API
770
+ * OpenAPI spec version: 1.0.0
771
+ */
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";
777
+ };
778
+
779
+ /**
780
+ * Generated by orval v8.1.0 🍺
781
+ * Do not edit manually.
782
+ * Avallon API
783
+ * OpenAPI spec version: 1.0.0
784
+ */
785
+ type ListExtractorJobsSortOrder = (typeof ListExtractorJobsSortOrder)[keyof typeof ListExtractorJobsSortOrder];
786
+ declare const ListExtractorJobsSortOrder: {
787
+ readonly asc: "asc";
788
+ readonly desc: "desc";
789
+ };
790
+
791
+ /**
792
+ * Generated by orval v8.1.0 🍺
793
+ * Do not edit manually.
794
+ * Avallon API
795
+ * OpenAPI spec version: 1.0.0
796
+ */
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";
804
+ };
805
+
806
+ /**
807
+ * Generated by orval v8.1.0 🍺
808
+ * Do not edit manually.
809
+ * Avallon API
810
+ * OpenAPI spec version: 1.0.0
811
+ */
812
+
813
+ type ListExtractorJobsParams = {
814
+ /**
815
+ * Number of results to return
816
+ * @minimum 1
817
+ * @maximum 100
818
+ */
819
+ count?: number;
820
+ /**
821
+ * Number of results to skip for pagination
822
+ * @minimum 0
823
+ */
824
+ offset?: number;
825
+ /**
826
+ * Field to sort by
827
+ */
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;
854
+ };
855
+
634
856
  /**
635
857
  * Generated by orval v8.1.0 🍺
636
858
  * Do not edit manually.
@@ -686,7 +908,88 @@ type PostV1AuthSignUpBody = {
686
908
  password: string;
687
909
  };
688
910
 
689
- type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
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 = {
918
+ [key: string]: unknown;
919
+ };
920
+
921
+ /**
922
+ * Generated by orval v8.1.0 🍺
923
+ * Do not edit manually.
924
+ * Avallon API
925
+ * OpenAPI spec version: 1.0.0
926
+ */
927
+
928
+ type PostV1ExtractorJobs200 = {
929
+ id: string;
930
+ extractor_id: string;
931
+ extractor_version: number;
932
+ scope: PostV1ExtractorJobs200Scope;
933
+ status: string;
934
+ created_at: string;
935
+ };
936
+
937
+ /**
938
+ * Generated by orval v8.1.0 🍺
939
+ * Do not edit manually.
940
+ * Avallon API
941
+ * OpenAPI spec version: 1.0.0
942
+ */
943
+ type PostV1ExtractorJobsBodyScope = {
944
+ [key: string]: string | number | boolean | null;
945
+ };
946
+
947
+ /**
948
+ * Generated by orval v8.1.0 🍺
949
+ * Do not edit manually.
950
+ * Avallon API
951
+ * OpenAPI spec version: 1.0.0
952
+ */
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;
958
+ };
959
+
960
+ /**
961
+ * Generated by orval v8.1.0 🍺
962
+ * Do not edit manually.
963
+ * Avallon API
964
+ * OpenAPI spec version: 1.0.0
965
+ */
966
+ type PostV1ExtractorJobsIdCancel200Scope = {
967
+ [key: string]: unknown;
968
+ };
969
+
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;
990
+ };
991
+
992
+ type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
690
993
  /**
691
994
  * List all agents for your tenant.
692
995
 
@@ -711,7 +1014,7 @@ declare const useListAgents: <TError = ErrorType<ErrorResponse>>(params?: ListAg
711
1014
  swrKey?: Key;
712
1015
  enabled?: boolean;
713
1016
  };
714
- request?: SecondParameter$2<typeof customFetch>;
1017
+ request?: SecondParameter$4<typeof customFetch>;
715
1018
  }) => {
716
1019
  data: AgentList | undefined;
717
1020
  error: TError | undefined;
@@ -734,7 +1037,7 @@ Returns the created agent with its ID and configuration.
734
1037
  */
735
1038
  declare const getCreateAgentUrl: () => string;
736
1039
  declare const createAgent: (createAgentBody: CreateAgentBody, options?: RequestInit) => Promise<CreateAgentResponse>;
737
- declare const getCreateAgentMutationFetcher: (options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
1040
+ declare const getCreateAgentMutationFetcher: (options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
738
1041
  arg: CreateAgentBody;
739
1042
  }) => Promise<CreateAgentResponse>;
740
1043
  declare const getCreateAgentMutationKey: () => readonly ["/v1/agents"];
@@ -746,7 +1049,7 @@ declare const useCreateAgent: <TError = ErrorType<ErrorResponse>>(options?: {
746
1049
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgent>>, TError, Key, CreateAgentBody, Awaited<ReturnType<typeof createAgent>>> & {
747
1050
  swrKey?: string;
748
1051
  };
749
- request?: SecondParameter$2<typeof customFetch>;
1052
+ request?: SecondParameter$4<typeof customFetch>;
750
1053
  }) => {
751
1054
  isMutating: boolean;
752
1055
  trigger: swr_mutation.TriggerWithArgs<CreateAgentResponse, TError, string | readonly ["/v1/agents"], CreateAgentBody>;
@@ -771,7 +1074,7 @@ declare const useGetAgent: <TError = ErrorType<ErrorResponse>>(id: string, optio
771
1074
  swrKey?: Key;
772
1075
  enabled?: boolean;
773
1076
  };
774
- request?: SecondParameter$2<typeof customFetch>;
1077
+ request?: SecondParameter$4<typeof customFetch>;
775
1078
  }) => {
776
1079
  data: GetAgentResponse | undefined;
777
1080
  error: TError | undefined;
@@ -781,7 +1084,7 @@ declare const useGetAgent: <TError = ErrorType<ErrorResponse>>(id: string, optio
781
1084
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
782
1085
  };
783
1086
 
784
- type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
1087
+ type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
785
1088
  /**
786
1089
  * List all API keys for your tenant.
787
1090
 
@@ -802,7 +1105,7 @@ declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListA
802
1105
  swrKey?: Key;
803
1106
  enabled?: boolean;
804
1107
  };
805
- request?: SecondParameter$1<typeof customFetch>;
1108
+ request?: SecondParameter$3<typeof customFetch>;
806
1109
  }) => {
807
1110
  data: ApiKeyList | undefined;
808
1111
  error: TError | undefined;
@@ -821,7 +1124,7 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
821
1124
  */
822
1125
  declare const getCreateApiKeyUrl: () => string;
823
1126
  declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
824
- declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
1127
+ declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
825
1128
  arg: CreateApiKeyBody;
826
1129
  }) => Promise<ApiKeyCreated>;
827
1130
  declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
@@ -833,7 +1136,7 @@ declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
833
1136
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
834
1137
  swrKey?: string;
835
1138
  };
836
- request?: SecondParameter$1<typeof customFetch>;
1139
+ request?: SecondParameter$3<typeof customFetch>;
837
1140
  }) => {
838
1141
  isMutating: boolean;
839
1142
  trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
@@ -852,7 +1155,7 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
852
1155
  */
853
1156
  declare const getRevokeApiKeyUrl: (id: string) => string;
854
1157
  declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
855
- declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, __: {
1158
+ declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, __: {
856
1159
  arg: Arguments;
857
1160
  }) => Promise<ConfirmationResponse>;
858
1161
  declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
@@ -864,7 +1167,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
864
1167
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
865
1168
  swrKey?: string;
866
1169
  };
867
- request?: SecondParameter$1<typeof customFetch>;
1170
+ request?: SecondParameter$3<typeof customFetch>;
868
1171
  }) => {
869
1172
  isMutating: boolean;
870
1173
  trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
@@ -874,10 +1177,10 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
874
1177
  swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
875
1178
  };
876
1179
 
877
- type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
1180
+ type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
878
1181
  declare const getPostV1AuthSignUpUrl: () => string;
879
1182
  declare const postV1AuthSignUp: (postV1AuthSignUpBody: PostV1AuthSignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
880
- declare const getPostV1AuthSignUpMutationFetcher: (options?: SecondParameter<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1183
+ declare const getPostV1AuthSignUpMutationFetcher: (options?: SecondParameter$2<typeof customFetchNoAuth>) => (_: Key, { arg }: {
881
1184
  arg: PostV1AuthSignUpBody;
882
1185
  }) => Promise<EmptyResponse>;
883
1186
  declare const getPostV1AuthSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
@@ -886,7 +1189,7 @@ declare const usePostV1AuthSignUp: <TError = ErrorType<ErrorResponse>>(options?:
886
1189
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1AuthSignUp>>, TError, Key, PostV1AuthSignUpBody, Awaited<ReturnType<typeof postV1AuthSignUp>>> & {
887
1190
  swrKey?: string;
888
1191
  };
889
- request?: SecondParameter<typeof customFetchNoAuth>;
1192
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
890
1193
  }) => {
891
1194
  isMutating: boolean;
892
1195
  trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], PostV1AuthSignUpBody>;
@@ -897,7 +1200,7 @@ declare const usePostV1AuthSignUp: <TError = ErrorType<ErrorResponse>>(options?:
897
1200
  };
898
1201
  declare const getPostV1AuthSignInUrl: () => string;
899
1202
  declare const postV1AuthSignIn: (postV1AuthSignInBody: PostV1AuthSignInBody, options?: RequestInit) => Promise<AuthTokens>;
900
- declare const getPostV1AuthSignInMutationFetcher: (options?: SecondParameter<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1203
+ declare const getPostV1AuthSignInMutationFetcher: (options?: SecondParameter$2<typeof customFetchNoAuth>) => (_: Key, { arg }: {
901
1204
  arg: PostV1AuthSignInBody;
902
1205
  }) => Promise<AuthTokens>;
903
1206
  declare const getPostV1AuthSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
@@ -906,7 +1209,7 @@ declare const usePostV1AuthSignIn: <TError = ErrorType<ErrorResponse>>(options?:
906
1209
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1AuthSignIn>>, TError, Key, PostV1AuthSignInBody, Awaited<ReturnType<typeof postV1AuthSignIn>>> & {
907
1210
  swrKey?: string;
908
1211
  };
909
- request?: SecondParameter<typeof customFetchNoAuth>;
1212
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
910
1213
  }) => {
911
1214
  isMutating: boolean;
912
1215
  trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], PostV1AuthSignInBody>;
@@ -917,7 +1220,7 @@ declare const usePostV1AuthSignIn: <TError = ErrorType<ErrorResponse>>(options?:
917
1220
  };
918
1221
  declare const getPostV1AuthRefreshTokenUrl: () => string;
919
1222
  declare const postV1AuthRefreshToken: (postV1AuthRefreshTokenBody: PostV1AuthRefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
920
- declare const getPostV1AuthRefreshTokenMutationFetcher: (options?: SecondParameter<typeof customFetchNoAuth>) => (_: Key, { arg }: {
1223
+ declare const getPostV1AuthRefreshTokenMutationFetcher: (options?: SecondParameter$2<typeof customFetchNoAuth>) => (_: Key, { arg }: {
921
1224
  arg: PostV1AuthRefreshTokenBody;
922
1225
  }) => Promise<AuthTokens>;
923
1226
  declare const getPostV1AuthRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
@@ -926,7 +1229,7 @@ declare const usePostV1AuthRefreshToken: <TError = ErrorType<ErrorResponse>>(opt
926
1229
  swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postV1AuthRefreshToken>>, TError, Key, PostV1AuthRefreshTokenBody, Awaited<ReturnType<typeof postV1AuthRefreshToken>>> & {
927
1230
  swrKey?: string;
928
1231
  };
929
- request?: SecondParameter<typeof customFetchNoAuth>;
1232
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
930
1233
  }) => {
931
1234
  isMutating: boolean;
932
1235
  trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], PostV1AuthRefreshTokenBody>;
@@ -944,7 +1247,7 @@ declare const useGetV1AuthOauthUrl: <TError = ErrorType<ErrorResponse>>(params:
944
1247
  swrKey?: Key;
945
1248
  enabled?: boolean;
946
1249
  };
947
- request?: SecondParameter<typeof customFetchNoAuth>;
1250
+ request?: SecondParameter$2<typeof customFetchNoAuth>;
948
1251
  }) => {
949
1252
  data: OAuthUrl | undefined;
950
1253
  error: TError | undefined;
@@ -954,4 +1257,103 @@ declare const useGetV1AuthOauthUrl: <TError = ErrorType<ErrorResponse>>(params:
954
1257
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
955
1258
  };
956
1259
 
957
- 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 GetAgentQueryResult, type GetAgentResponse, GetV1AuthOauthUrlCodeChallengeMethod, type GetV1AuthOauthUrlParams, GetV1AuthOauthUrlProvider, type GetV1AuthOauthUrlQueryResult, type ListAgentsParams, type ListAgentsQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type OAuthUrl, type PostV1AuthRefreshTokenBody, type PostV1AuthRefreshTokenMutationResult, type PostV1AuthSignInBody, type PostV1AuthSignInMutationResult, type PostV1AuthSignUpBody, type PostV1AuthSignUpMutationResult, type RevokeApiKeyMutationResult, configure, createAgent, createApiKey, generateCodeChallenge, generateCodeVerifier, getAgent, 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, listAgents, listApiKeys, postV1AuthRefreshToken, postV1AuthSignIn, postV1AuthSignUp, revokeApiKey, useCreateAgent, useCreateApiKey, useGetAgent, useGetV1AuthOauthUrl, useListAgents, useListApiKeys, usePostV1AuthRefreshToken, usePostV1AuthSignIn, usePostV1AuthSignUp, useRevokeApiKey };
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>;
1350
+ }) => {
1351
+ data: ExtractorJobList | undefined;
1352
+ error: TError | undefined;
1353
+ mutate: swr.KeyedMutator<ExtractorJobList>;
1354
+ isValidating: boolean;
1355
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
1356
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
1357
+ };
1358
+
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 };