@avallon-labs/sdk 13.0.0 → 14.0.0-staging.331
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 +449 -158
- package/dist/index.js +145 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1183,6 +1183,9 @@ type CreateExtractorBody = {
|
|
|
1183
1183
|
* Avallon API
|
|
1184
1184
|
* OpenAPI spec version: 1.0.0
|
|
1185
1185
|
*/
|
|
1186
|
+
/**
|
|
1187
|
+
* @deprecated
|
|
1188
|
+
*/
|
|
1186
1189
|
type CreateExtractorJobBodyExtractorType = (typeof CreateExtractorJobBodyExtractorType)[keyof typeof CreateExtractorJobBodyExtractorType];
|
|
1187
1190
|
declare const CreateExtractorJobBodyExtractorType: {
|
|
1188
1191
|
readonly basic: "basic";
|
|
@@ -1208,6 +1211,7 @@ type CreateExtractorJobBodyScope = {
|
|
|
1208
1211
|
|
|
1209
1212
|
type CreateExtractorJobBody = {
|
|
1210
1213
|
extractor_id: string;
|
|
1214
|
+
/** @deprecated */
|
|
1211
1215
|
extractor_type?: CreateExtractorJobBodyExtractorType;
|
|
1212
1216
|
scope: CreateExtractorJobBodyScope;
|
|
1213
1217
|
};
|
|
@@ -1489,6 +1493,28 @@ type CreateWorkerBody = {
|
|
|
1489
1493
|
mcp_type?: "ventiv" | "klear" | "avallon" | null;
|
|
1490
1494
|
};
|
|
1491
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* Generated by orval v8.1.0 🍺
|
|
1498
|
+
* Do not edit manually.
|
|
1499
|
+
* Avallon API
|
|
1500
|
+
* OpenAPI spec version: 1.0.0
|
|
1501
|
+
*/
|
|
1502
|
+
type CreateWorkerRunBodyScope = {
|
|
1503
|
+
[key: string]: string | number | boolean | null;
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Generated by orval v8.1.0 🍺
|
|
1508
|
+
* Do not edit manually.
|
|
1509
|
+
* Avallon API
|
|
1510
|
+
* OpenAPI spec version: 1.0.0
|
|
1511
|
+
*/
|
|
1512
|
+
|
|
1513
|
+
type CreateWorkerRunBody = {
|
|
1514
|
+
worker_id: string;
|
|
1515
|
+
scope: CreateWorkerRunBodyScope;
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1492
1518
|
/**
|
|
1493
1519
|
* Generated by orval v8.1.0 🍺
|
|
1494
1520
|
* Do not edit manually.
|
|
@@ -1827,6 +1853,7 @@ interface ExtractorCreated {
|
|
|
1827
1853
|
*/
|
|
1828
1854
|
/**
|
|
1829
1855
|
* Type of extractor
|
|
1856
|
+
* @deprecated
|
|
1830
1857
|
*/
|
|
1831
1858
|
type ExtractorJobExtractorType = (typeof ExtractorJobExtractorType)[keyof typeof ExtractorJobExtractorType];
|
|
1832
1859
|
declare const ExtractorJobExtractorType: {
|
|
@@ -1867,7 +1894,10 @@ interface ExtractorJob {
|
|
|
1867
1894
|
extractor_version: number;
|
|
1868
1895
|
/** Name of the extractor */
|
|
1869
1896
|
extractor_name: string;
|
|
1870
|
-
/**
|
|
1897
|
+
/**
|
|
1898
|
+
* Type of extractor
|
|
1899
|
+
* @deprecated
|
|
1900
|
+
*/
|
|
1871
1901
|
extractor_type: ExtractorJobExtractorType;
|
|
1872
1902
|
/** Current job status */
|
|
1873
1903
|
status: string;
|
|
@@ -2271,6 +2301,63 @@ interface GetVoiceAgentResponse {
|
|
|
2271
2301
|
agent: VoiceAgent;
|
|
2272
2302
|
}
|
|
2273
2303
|
|
|
2304
|
+
/**
|
|
2305
|
+
* Generated by orval v8.1.0 🍺
|
|
2306
|
+
* Do not edit manually.
|
|
2307
|
+
* Avallon API
|
|
2308
|
+
* OpenAPI spec version: 1.0.0
|
|
2309
|
+
*/
|
|
2310
|
+
/**
|
|
2311
|
+
* Run scope metadata (e.g. claim_id, email_id)
|
|
2312
|
+
*/
|
|
2313
|
+
type WorkerRunScope = {
|
|
2314
|
+
[key: string]: unknown;
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* Generated by orval v8.1.0 🍺
|
|
2319
|
+
* Do not edit manually.
|
|
2320
|
+
* Avallon API
|
|
2321
|
+
* OpenAPI spec version: 1.0.0
|
|
2322
|
+
*/
|
|
2323
|
+
|
|
2324
|
+
interface WorkerRun {
|
|
2325
|
+
/** Unique run identifier */
|
|
2326
|
+
id: string;
|
|
2327
|
+
/** ID of the worker */
|
|
2328
|
+
worker_id: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* Version of the worker at run creation time
|
|
2331
|
+
* @minimum -9007199254740991
|
|
2332
|
+
* @maximum 9007199254740991
|
|
2333
|
+
*/
|
|
2334
|
+
worker_version: number;
|
|
2335
|
+
/** Name of the worker */
|
|
2336
|
+
worker_name: string;
|
|
2337
|
+
/** Current run status */
|
|
2338
|
+
status: string;
|
|
2339
|
+
/** Run scope metadata (e.g. claim_id, email_id) */
|
|
2340
|
+
scope: WorkerRunScope;
|
|
2341
|
+
/** ISO 8601 timestamp when the run was created */
|
|
2342
|
+
created_at: string;
|
|
2343
|
+
/** ISO 8601 timestamp when processing started */
|
|
2344
|
+
started_at: string | null;
|
|
2345
|
+
/** ISO 8601 timestamp when processing finished */
|
|
2346
|
+
completed_at: string | null;
|
|
2347
|
+
/** Processing duration in milliseconds */
|
|
2348
|
+
processing_duration_ms: number | null;
|
|
2349
|
+
error: string | null;
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* Generated by orval v8.1.0 🍺
|
|
2354
|
+
* Do not edit manually.
|
|
2355
|
+
* Avallon API
|
|
2356
|
+
* OpenAPI spec version: 1.0.0
|
|
2357
|
+
*/
|
|
2358
|
+
|
|
2359
|
+
type GetWorkerRunResponse = WorkerRun;
|
|
2360
|
+
|
|
2274
2361
|
/**
|
|
2275
2362
|
* Generated by orval v8.1.0 🍺
|
|
2276
2363
|
* Do not edit manually.
|
|
@@ -2715,6 +2802,7 @@ type ListExtractorJobsParams = {
|
|
|
2715
2802
|
status?: ListExtractorJobsStatus;
|
|
2716
2803
|
/**
|
|
2717
2804
|
* Filter by extractor type
|
|
2805
|
+
* @deprecated
|
|
2718
2806
|
*/
|
|
2719
2807
|
extractor_type?: ListExtractorJobsExtractorType;
|
|
2720
2808
|
/**
|
|
@@ -3019,6 +3107,77 @@ type ListWorkerRunMessagesParams = {
|
|
|
3019
3107
|
count?: number;
|
|
3020
3108
|
};
|
|
3021
3109
|
|
|
3110
|
+
/**
|
|
3111
|
+
* Generated by orval v8.1.0 🍺
|
|
3112
|
+
* Do not edit manually.
|
|
3113
|
+
* Avallon API
|
|
3114
|
+
* OpenAPI spec version: 1.0.0
|
|
3115
|
+
*/
|
|
3116
|
+
type ListWorkerRunsSortBy = (typeof ListWorkerRunsSortBy)[keyof typeof ListWorkerRunsSortBy];
|
|
3117
|
+
declare const ListWorkerRunsSortBy: {
|
|
3118
|
+
readonly created_at: "created_at";
|
|
3119
|
+
readonly started_at: "started_at";
|
|
3120
|
+
readonly completed_at: "completed_at";
|
|
3121
|
+
};
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* Generated by orval v8.1.0 🍺
|
|
3125
|
+
* Do not edit manually.
|
|
3126
|
+
* Avallon API
|
|
3127
|
+
* OpenAPI spec version: 1.0.0
|
|
3128
|
+
*/
|
|
3129
|
+
type ListWorkerRunsSortOrder = (typeof ListWorkerRunsSortOrder)[keyof typeof ListWorkerRunsSortOrder];
|
|
3130
|
+
declare const ListWorkerRunsSortOrder: {
|
|
3131
|
+
readonly asc: "asc";
|
|
3132
|
+
readonly desc: "desc";
|
|
3133
|
+
};
|
|
3134
|
+
|
|
3135
|
+
/**
|
|
3136
|
+
* Generated by orval v8.1.0 🍺
|
|
3137
|
+
* Do not edit manually.
|
|
3138
|
+
* Avallon API
|
|
3139
|
+
* OpenAPI spec version: 1.0.0
|
|
3140
|
+
*/
|
|
3141
|
+
type ListWorkerRunsStatus = (typeof ListWorkerRunsStatus)[keyof typeof ListWorkerRunsStatus];
|
|
3142
|
+
declare const ListWorkerRunsStatus: {
|
|
3143
|
+
readonly queued: "queued";
|
|
3144
|
+
readonly in_progress: "in_progress";
|
|
3145
|
+
readonly completed: "completed";
|
|
3146
|
+
readonly failed: "failed";
|
|
3147
|
+
readonly canceled: "canceled";
|
|
3148
|
+
};
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* Generated by orval v8.1.0 🍺
|
|
3152
|
+
* Do not edit manually.
|
|
3153
|
+
* Avallon API
|
|
3154
|
+
* OpenAPI spec version: 1.0.0
|
|
3155
|
+
*/
|
|
3156
|
+
|
|
3157
|
+
type ListWorkerRunsParams = {
|
|
3158
|
+
status?: ListWorkerRunsStatus;
|
|
3159
|
+
worker_id?: string;
|
|
3160
|
+
created_after?: string;
|
|
3161
|
+
created_before?: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* @minimum 1
|
|
3164
|
+
* @maximum 100
|
|
3165
|
+
*/
|
|
3166
|
+
count?: number;
|
|
3167
|
+
/**
|
|
3168
|
+
* @minimum 0
|
|
3169
|
+
*/
|
|
3170
|
+
offset?: number;
|
|
3171
|
+
sort_by?: ListWorkerRunsSortBy;
|
|
3172
|
+
sort_order?: ListWorkerRunsSortOrder;
|
|
3173
|
+
/**
|
|
3174
|
+
* Filter by scope keys using bracket notation (e.g. scope[call_id]=abc-123). Multiple filters are combined with AND logic.
|
|
3175
|
+
*/
|
|
3176
|
+
scope?: {
|
|
3177
|
+
[key: string]: string;
|
|
3178
|
+
};
|
|
3179
|
+
};
|
|
3180
|
+
|
|
3022
3181
|
/**
|
|
3023
3182
|
* Generated by orval v8.1.0 🍺
|
|
3024
3183
|
* Do not edit manually.
|
|
@@ -3733,6 +3892,41 @@ interface WorkerSummary {
|
|
|
3733
3892
|
|
|
3734
3893
|
type WorkerList = WorkerSummary[];
|
|
3735
3894
|
|
|
3895
|
+
/**
|
|
3896
|
+
* Generated by orval v8.1.0 🍺
|
|
3897
|
+
* Do not edit manually.
|
|
3898
|
+
* Avallon API
|
|
3899
|
+
* OpenAPI spec version: 1.0.0
|
|
3900
|
+
*/
|
|
3901
|
+
type WorkerRunCreatedScope = {
|
|
3902
|
+
[key: string]: unknown;
|
|
3903
|
+
};
|
|
3904
|
+
|
|
3905
|
+
/**
|
|
3906
|
+
* Generated by orval v8.1.0 🍺
|
|
3907
|
+
* Do not edit manually.
|
|
3908
|
+
* Avallon API
|
|
3909
|
+
* OpenAPI spec version: 1.0.0
|
|
3910
|
+
*/
|
|
3911
|
+
|
|
3912
|
+
interface WorkerRunCreated {
|
|
3913
|
+
id: string;
|
|
3914
|
+
worker_id: string;
|
|
3915
|
+
worker_version: number;
|
|
3916
|
+
scope: WorkerRunCreatedScope;
|
|
3917
|
+
status: string;
|
|
3918
|
+
created_at: string;
|
|
3919
|
+
}
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* Generated by orval v8.1.0 🍺
|
|
3923
|
+
* Do not edit manually.
|
|
3924
|
+
* Avallon API
|
|
3925
|
+
* OpenAPI spec version: 1.0.0
|
|
3926
|
+
*/
|
|
3927
|
+
|
|
3928
|
+
type WorkerRunList = WorkerRun[];
|
|
3929
|
+
|
|
3736
3930
|
/**
|
|
3737
3931
|
* Generated by orval v8.1.0 🍺
|
|
3738
3932
|
* Do not edit manually.
|
|
@@ -3752,7 +3946,7 @@ type WorkerRunMessageMessage = {
|
|
|
3752
3946
|
|
|
3753
3947
|
interface WorkerRunMessage {
|
|
3754
3948
|
id: string;
|
|
3755
|
-
|
|
3949
|
+
worker_run_id: string;
|
|
3756
3950
|
message: WorkerRunMessageMessage;
|
|
3757
3951
|
emitted_at: string;
|
|
3758
3952
|
created_at: string;
|
|
@@ -3776,7 +3970,7 @@ type WorkerRunMessageList = WorkerRunMessage[];
|
|
|
3776
3970
|
|
|
3777
3971
|
type WorkerWebhookList = Webhook[];
|
|
3778
3972
|
|
|
3779
|
-
type SecondParameter$
|
|
3973
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
3780
3974
|
/**
|
|
3781
3975
|
* List all API keys for your tenant.
|
|
3782
3976
|
|
|
@@ -3797,7 +3991,7 @@ declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListA
|
|
|
3797
3991
|
swrKey?: Key;
|
|
3798
3992
|
enabled?: boolean;
|
|
3799
3993
|
};
|
|
3800
|
-
request?: SecondParameter$
|
|
3994
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
3801
3995
|
}) => {
|
|
3802
3996
|
data: ApiKeyList | undefined;
|
|
3803
3997
|
error: TError | undefined;
|
|
@@ -3816,7 +4010,7 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
3816
4010
|
*/
|
|
3817
4011
|
declare const getCreateApiKeyUrl: () => string;
|
|
3818
4012
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
3819
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
4013
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
3820
4014
|
arg: CreateApiKeyBody;
|
|
3821
4015
|
}) => Promise<ApiKeyCreated>;
|
|
3822
4016
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
@@ -3828,7 +4022,7 @@ declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
3828
4022
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
|
|
3829
4023
|
swrKey?: string;
|
|
3830
4024
|
};
|
|
3831
|
-
request?: SecondParameter$
|
|
4025
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
3832
4026
|
}) => {
|
|
3833
4027
|
isMutating: boolean;
|
|
3834
4028
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -3847,7 +4041,7 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
3847
4041
|
*/
|
|
3848
4042
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
3849
4043
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
3850
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
4044
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
3851
4045
|
arg: Arguments;
|
|
3852
4046
|
}) => Promise<ConfirmationResponse>;
|
|
3853
4047
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
@@ -3859,7 +4053,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
3859
4053
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
|
|
3860
4054
|
swrKey?: string;
|
|
3861
4055
|
};
|
|
3862
|
-
request?: SecondParameter$
|
|
4056
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
3863
4057
|
}) => {
|
|
3864
4058
|
isMutating: boolean;
|
|
3865
4059
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -3869,7 +4063,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
3869
4063
|
swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
|
|
3870
4064
|
};
|
|
3871
4065
|
|
|
3872
|
-
type SecondParameter$
|
|
4066
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
3873
4067
|
/**
|
|
3874
4068
|
* Upload a document as a base64-encoded artifact for processing.
|
|
3875
4069
|
|
|
@@ -3885,7 +4079,7 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
3885
4079
|
*/
|
|
3886
4080
|
declare const getCreateArtifactUrl: () => string;
|
|
3887
4081
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
3888
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
4082
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
3889
4083
|
arg: CreateArtifactBody;
|
|
3890
4084
|
}) => Promise<ArtifactCreated>;
|
|
3891
4085
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
@@ -3897,7 +4091,7 @@ declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
3897
4091
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited<ReturnType<typeof createArtifact>>> & {
|
|
3898
4092
|
swrKey?: string;
|
|
3899
4093
|
};
|
|
3900
|
-
request?: SecondParameter$
|
|
4094
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
3901
4095
|
}) => {
|
|
3902
4096
|
isMutating: boolean;
|
|
3903
4097
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -3930,7 +4124,7 @@ declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: Lis
|
|
|
3930
4124
|
swrKey?: Key;
|
|
3931
4125
|
enabled?: boolean;
|
|
3932
4126
|
};
|
|
3933
|
-
request?: SecondParameter$
|
|
4127
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
3934
4128
|
}) => {
|
|
3935
4129
|
data: ArtifactList | undefined;
|
|
3936
4130
|
error: TError | undefined;
|
|
@@ -3955,7 +4149,7 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
3955
4149
|
swrKey?: Key;
|
|
3956
4150
|
enabled?: boolean;
|
|
3957
4151
|
};
|
|
3958
|
-
request?: SecondParameter$
|
|
4152
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
3959
4153
|
}) => {
|
|
3960
4154
|
data: ArtifactDetail | undefined;
|
|
3961
4155
|
error: TError | undefined;
|
|
@@ -3980,7 +4174,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
3980
4174
|
swrKey?: Key;
|
|
3981
4175
|
enabled?: boolean;
|
|
3982
4176
|
};
|
|
3983
|
-
request?: SecondParameter$
|
|
4177
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
3984
4178
|
}) => {
|
|
3985
4179
|
data: ArtifactMetadataKeys | undefined;
|
|
3986
4180
|
error: TError | undefined;
|
|
@@ -3995,7 +4189,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
3995
4189
|
*/
|
|
3996
4190
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
3997
4191
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
3998
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
4192
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
3999
4193
|
arg: GetArtifactUploadUrlBody;
|
|
4000
4194
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
4001
4195
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
@@ -4007,7 +4201,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
4007
4201
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
4008
4202
|
swrKey?: string;
|
|
4009
4203
|
};
|
|
4010
|
-
request?: SecondParameter$
|
|
4204
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
4011
4205
|
}) => {
|
|
4012
4206
|
isMutating: boolean;
|
|
4013
4207
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -4022,7 +4216,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
4022
4216
|
*/
|
|
4023
4217
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
4024
4218
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
4025
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
4219
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
4026
4220
|
arg: UpdateArtifactMetadataBody;
|
|
4027
4221
|
}) => Promise<ArtifactDetail>;
|
|
4028
4222
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
@@ -4034,7 +4228,7 @@ declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
4034
4228
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
4035
4229
|
swrKey?: string;
|
|
4036
4230
|
};
|
|
4037
|
-
request?: SecondParameter$
|
|
4231
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
4038
4232
|
}) => {
|
|
4039
4233
|
isMutating: boolean;
|
|
4040
4234
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -4051,7 +4245,7 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
4051
4245
|
*/
|
|
4052
4246
|
declare const getUploadFileUrl: () => string;
|
|
4053
4247
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
4054
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
4248
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
4055
4249
|
arg: UploadFileBody;
|
|
4056
4250
|
}) => Promise<UploadFileResponse>;
|
|
4057
4251
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
@@ -4063,7 +4257,7 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4063
4257
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited<ReturnType<typeof uploadFile>>> & {
|
|
4064
4258
|
swrKey?: string;
|
|
4065
4259
|
};
|
|
4066
|
-
request?: SecondParameter$
|
|
4260
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
4067
4261
|
}) => {
|
|
4068
4262
|
isMutating: boolean;
|
|
4069
4263
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -4073,14 +4267,14 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4073
4267
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
4074
4268
|
};
|
|
4075
4269
|
|
|
4076
|
-
type SecondParameter$
|
|
4270
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4077
4271
|
/**
|
|
4078
4272
|
* Create a new user account with email and password.
|
|
4079
4273
|
* @summary Sign up
|
|
4080
4274
|
*/
|
|
4081
4275
|
declare const getSignUpUrl: () => string;
|
|
4082
4276
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
|
|
4083
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
4277
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$f<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4084
4278
|
arg: SignUpBody;
|
|
4085
4279
|
}) => Promise<EmptyResponse>;
|
|
4086
4280
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
@@ -4092,7 +4286,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4092
4286
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited<ReturnType<typeof signUp>>> & {
|
|
4093
4287
|
swrKey?: string;
|
|
4094
4288
|
};
|
|
4095
|
-
request?: SecondParameter$
|
|
4289
|
+
request?: SecondParameter$f<typeof customFetchNoAuth>;
|
|
4096
4290
|
}) => {
|
|
4097
4291
|
isMutating: boolean;
|
|
4098
4292
|
trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -4111,7 +4305,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4111
4305
|
*/
|
|
4112
4306
|
declare const getSignInUrl: () => string;
|
|
4113
4307
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
4114
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
4308
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$f<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4115
4309
|
arg: SignInBody;
|
|
4116
4310
|
}) => Promise<AuthTokens>;
|
|
4117
4311
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
@@ -4123,7 +4317,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4123
4317
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited<ReturnType<typeof signIn>>> & {
|
|
4124
4318
|
swrKey?: string;
|
|
4125
4319
|
};
|
|
4126
|
-
request?: SecondParameter$
|
|
4320
|
+
request?: SecondParameter$f<typeof customFetchNoAuth>;
|
|
4127
4321
|
}) => {
|
|
4128
4322
|
isMutating: boolean;
|
|
4129
4323
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -4138,7 +4332,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4138
4332
|
*/
|
|
4139
4333
|
declare const getRefreshTokenUrl: () => string;
|
|
4140
4334
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
4141
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
4335
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$f<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4142
4336
|
arg: RefreshTokenBody;
|
|
4143
4337
|
}) => Promise<AuthTokens>;
|
|
4144
4338
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
@@ -4150,7 +4344,7 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4150
4344
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited<ReturnType<typeof refreshToken>>> & {
|
|
4151
4345
|
swrKey?: string;
|
|
4152
4346
|
};
|
|
4153
|
-
request?: SecondParameter$
|
|
4347
|
+
request?: SecondParameter$f<typeof customFetchNoAuth>;
|
|
4154
4348
|
}) => {
|
|
4155
4349
|
isMutating: boolean;
|
|
4156
4350
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -4175,7 +4369,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
4175
4369
|
swrKey?: Key;
|
|
4176
4370
|
enabled?: boolean;
|
|
4177
4371
|
};
|
|
4178
|
-
request?: SecondParameter$
|
|
4372
|
+
request?: SecondParameter$f<typeof customFetchNoAuth>;
|
|
4179
4373
|
}) => {
|
|
4180
4374
|
data: OAuthUrl | undefined;
|
|
4181
4375
|
error: TError | undefined;
|
|
@@ -4194,7 +4388,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
4194
4388
|
*/
|
|
4195
4389
|
declare const getGetSessionTokenUrl: () => string;
|
|
4196
4390
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
4197
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
4391
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$f<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4198
4392
|
arg: GetSessionTokenBody;
|
|
4199
4393
|
}) => Promise<GetSessionToken200>;
|
|
4200
4394
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
@@ -4206,7 +4400,7 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
4206
4400
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited<ReturnType<typeof getSessionToken>>> & {
|
|
4207
4401
|
swrKey?: string;
|
|
4208
4402
|
};
|
|
4209
|
-
request?: SecondParameter$
|
|
4403
|
+
request?: SecondParameter$f<typeof customFetchNoAuth>;
|
|
4210
4404
|
}) => {
|
|
4211
4405
|
isMutating: boolean;
|
|
4212
4406
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -4216,14 +4410,14 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
4216
4410
|
swrKey: string | readonly ["/v1/auth/session"];
|
|
4217
4411
|
};
|
|
4218
4412
|
|
|
4219
|
-
type SecondParameter$
|
|
4413
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4220
4414
|
/**
|
|
4221
4415
|
* Create feedback for a specific message in a call. Author is derived from the authenticated user.
|
|
4222
4416
|
* @summary Create feedback on a call message
|
|
4223
4417
|
*/
|
|
4224
4418
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
4225
4419
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
4226
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
4420
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
4227
4421
|
arg: CreateFeedbackRequest;
|
|
4228
4422
|
}) => Promise<Feedback>;
|
|
4229
4423
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
@@ -4235,7 +4429,7 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4235
4429
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited<ReturnType<typeof createCallFeedback>>> & {
|
|
4236
4430
|
swrKey?: string;
|
|
4237
4431
|
};
|
|
4238
|
-
request?: SecondParameter$
|
|
4432
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4239
4433
|
}) => {
|
|
4240
4434
|
isMutating: boolean;
|
|
4241
4435
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -4260,7 +4454,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
4260
4454
|
swrKey?: Key;
|
|
4261
4455
|
enabled?: boolean;
|
|
4262
4456
|
};
|
|
4263
|
-
request?: SecondParameter$
|
|
4457
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4264
4458
|
}) => {
|
|
4265
4459
|
data: Feedback[] | undefined;
|
|
4266
4460
|
error: TError | undefined;
|
|
@@ -4275,7 +4469,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
4275
4469
|
*/
|
|
4276
4470
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
4277
4471
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
4278
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
4472
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, __: {
|
|
4279
4473
|
arg: Arguments;
|
|
4280
4474
|
}) => Promise<null>;
|
|
4281
4475
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
@@ -4287,7 +4481,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4287
4481
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteCallFeedback>>> & {
|
|
4288
4482
|
swrKey?: string;
|
|
4289
4483
|
};
|
|
4290
|
-
request?: SecondParameter$
|
|
4484
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4291
4485
|
}) => {
|
|
4292
4486
|
isMutating: boolean;
|
|
4293
4487
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -4297,7 +4491,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4297
4491
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
4298
4492
|
};
|
|
4299
4493
|
|
|
4300
|
-
type SecondParameter$
|
|
4494
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4301
4495
|
/**
|
|
4302
4496
|
* List all calls, with pagination, filtering, and sorting.
|
|
4303
4497
|
|
|
@@ -4318,7 +4512,7 @@ declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCal
|
|
|
4318
4512
|
swrKey?: Key;
|
|
4319
4513
|
enabled?: boolean;
|
|
4320
4514
|
};
|
|
4321
|
-
request?: SecondParameter$
|
|
4515
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4322
4516
|
}) => {
|
|
4323
4517
|
data: CallList | undefined;
|
|
4324
4518
|
error: TError | undefined;
|
|
@@ -4345,7 +4539,7 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
4345
4539
|
swrKey?: Key;
|
|
4346
4540
|
enabled?: boolean;
|
|
4347
4541
|
};
|
|
4348
|
-
request?: SecondParameter$
|
|
4542
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4349
4543
|
}) => {
|
|
4350
4544
|
data: CallDetail | undefined;
|
|
4351
4545
|
error: TError | undefined;
|
|
@@ -4370,7 +4564,7 @@ declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: stri
|
|
|
4370
4564
|
swrKey?: Key;
|
|
4371
4565
|
enabled?: boolean;
|
|
4372
4566
|
};
|
|
4373
|
-
request?: SecondParameter$
|
|
4567
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4374
4568
|
}) => {
|
|
4375
4569
|
data: CallEvaluation | undefined;
|
|
4376
4570
|
error: TError | undefined;
|
|
@@ -4397,7 +4591,7 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
4397
4591
|
swrKey?: Key;
|
|
4398
4592
|
enabled?: boolean;
|
|
4399
4593
|
};
|
|
4400
|
-
request?: SecondParameter$
|
|
4594
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4401
4595
|
}) => {
|
|
4402
4596
|
data: CallAnalytics | undefined;
|
|
4403
4597
|
error: TError | undefined;
|
|
@@ -4407,14 +4601,14 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
4407
4601
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
4408
4602
|
};
|
|
4409
4603
|
|
|
4410
|
-
type SecondParameter$
|
|
4604
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4411
4605
|
/**
|
|
4412
4606
|
* Create a new empty claim. Returns the claim ID and the creation timestamp.
|
|
4413
4607
|
* @summary Create claim
|
|
4414
4608
|
*/
|
|
4415
4609
|
declare const getCreateClaimUrl: () => string;
|
|
4416
4610
|
declare const createClaim: (options?: RequestInit) => Promise<ClaimCreated>;
|
|
4417
|
-
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$
|
|
4611
|
+
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$c<typeof customFetch>) => (_: Key, __: {
|
|
4418
4612
|
arg: Arguments;
|
|
4419
4613
|
}) => Promise<ClaimCreated>;
|
|
4420
4614
|
declare const getCreateClaimMutationKey: () => readonly ["/v1/claims"];
|
|
@@ -4426,7 +4620,7 @@ declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4426
4620
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited<ReturnType<typeof createClaim>>> & {
|
|
4427
4621
|
swrKey?: string;
|
|
4428
4622
|
};
|
|
4429
|
-
request?: SecondParameter$
|
|
4623
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
4430
4624
|
}) => {
|
|
4431
4625
|
isMutating: boolean;
|
|
4432
4626
|
trigger: swr_mutation.TriggerWithOptionsArgs<ClaimCreated, TError, string | readonly ["/v1/claims"], Arguments>;
|
|
@@ -4451,7 +4645,7 @@ declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListCl
|
|
|
4451
4645
|
swrKey?: Key;
|
|
4452
4646
|
enabled?: boolean;
|
|
4453
4647
|
};
|
|
4454
|
-
request?: SecondParameter$
|
|
4648
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
4455
4649
|
}) => {
|
|
4456
4650
|
data: ClaimList | undefined;
|
|
4457
4651
|
error: TError | undefined;
|
|
@@ -4476,7 +4670,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
4476
4670
|
swrKey?: Key;
|
|
4477
4671
|
enabled?: boolean;
|
|
4478
4672
|
};
|
|
4479
|
-
request?: SecondParameter$
|
|
4673
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
4480
4674
|
}) => {
|
|
4481
4675
|
data: ClaimDetail | undefined;
|
|
4482
4676
|
error: TError | undefined;
|
|
@@ -4486,7 +4680,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
4486
4680
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
4487
4681
|
};
|
|
4488
4682
|
|
|
4489
|
-
type SecondParameter$
|
|
4683
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4490
4684
|
/**
|
|
4491
4685
|
* Ingest an email into the system.
|
|
4492
4686
|
|
|
@@ -4495,7 +4689,7 @@ Optionally associate the email with an existing claim via `claim_id`.
|
|
|
4495
4689
|
*/
|
|
4496
4690
|
declare const getCreateEmailUrl: () => string;
|
|
4497
4691
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
|
|
4498
|
-
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$
|
|
4692
|
+
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
4499
4693
|
arg: CreateEmailBody;
|
|
4500
4694
|
}) => Promise<EmailCreated>;
|
|
4501
4695
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
@@ -4507,7 +4701,7 @@ declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4507
4701
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited<ReturnType<typeof createEmail>>> & {
|
|
4508
4702
|
swrKey?: string;
|
|
4509
4703
|
};
|
|
4510
|
-
request?: SecondParameter$
|
|
4704
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
4511
4705
|
}) => {
|
|
4512
4706
|
isMutating: boolean;
|
|
4513
4707
|
trigger: swr_mutation.TriggerWithArgs<EmailCreated, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
|
|
@@ -4536,7 +4730,7 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
|
|
|
4536
4730
|
swrKey?: Key;
|
|
4537
4731
|
enabled?: boolean;
|
|
4538
4732
|
};
|
|
4539
|
-
request?: SecondParameter$
|
|
4733
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
4540
4734
|
}) => {
|
|
4541
4735
|
data: EmailList | undefined;
|
|
4542
4736
|
error: TError | undefined;
|
|
@@ -4561,7 +4755,7 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
4561
4755
|
swrKey?: Key;
|
|
4562
4756
|
enabled?: boolean;
|
|
4563
4757
|
};
|
|
4564
|
-
request?: SecondParameter$
|
|
4758
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
4565
4759
|
}) => {
|
|
4566
4760
|
data: EmailDetail | undefined;
|
|
4567
4761
|
error: TError | undefined;
|
|
@@ -4571,7 +4765,7 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
4571
4765
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
4572
4766
|
};
|
|
4573
4767
|
|
|
4574
|
-
type SecondParameter$
|
|
4768
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4575
4769
|
/**
|
|
4576
4770
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
4577
4771
|
|
|
@@ -4600,7 +4794,7 @@ declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
4600
4794
|
swrKey?: Key;
|
|
4601
4795
|
enabled?: boolean;
|
|
4602
4796
|
};
|
|
4603
|
-
request?: SecondParameter$
|
|
4797
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
4604
4798
|
}) => {
|
|
4605
4799
|
data: ExtractorJobList | undefined;
|
|
4606
4800
|
error: TError | undefined;
|
|
@@ -4617,7 +4811,7 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
4617
4811
|
*/
|
|
4618
4812
|
declare const getCreateExtractorJobUrl: () => string;
|
|
4619
4813
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<ExtractorJobCreated>;
|
|
4620
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
4814
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
|
|
4621
4815
|
arg: CreateExtractorJobBody;
|
|
4622
4816
|
}) => Promise<ExtractorJobCreated>;
|
|
4623
4817
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
@@ -4629,7 +4823,7 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
4629
4823
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited<ReturnType<typeof createExtractorJob>>> & {
|
|
4630
4824
|
swrKey?: string;
|
|
4631
4825
|
};
|
|
4632
|
-
request?: SecondParameter$
|
|
4826
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
4633
4827
|
}) => {
|
|
4634
4828
|
isMutating: boolean;
|
|
4635
4829
|
trigger: swr_mutation.TriggerWithArgs<ExtractorJobCreated, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -4654,7 +4848,7 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
4654
4848
|
swrKey?: Key;
|
|
4655
4849
|
enabled?: boolean;
|
|
4656
4850
|
};
|
|
4657
|
-
request?: SecondParameter$
|
|
4851
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
4658
4852
|
}) => {
|
|
4659
4853
|
data: GetExtractorJobResponse | undefined;
|
|
4660
4854
|
error: TError | undefined;
|
|
@@ -4665,23 +4859,27 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
4665
4859
|
};
|
|
4666
4860
|
/**
|
|
4667
4861
|
* Cancel a queued or in-progress extractor job. Returns the updated job with its new status.
|
|
4668
|
-
|
|
4862
|
+
|
|
4863
|
+
**Deprecated:** Use `POST /v1/worker-runs/{id}/cancel` instead.
|
|
4864
|
+
* @deprecated
|
|
4865
|
+
* @summary Cancel extractor job (deprecated)
|
|
4669
4866
|
*/
|
|
4670
4867
|
declare const getCancelExtractorJobUrl: (id: string) => string;
|
|
4671
4868
|
declare const cancelExtractorJob: (id: string, options?: RequestInit) => Promise<CanceledExtractorJob>;
|
|
4672
|
-
declare const getCancelExtractorJobMutationFetcher: (id: string, options?: SecondParameter$
|
|
4869
|
+
declare const getCancelExtractorJobMutationFetcher: (id: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, __: {
|
|
4673
4870
|
arg: Arguments;
|
|
4674
4871
|
}) => Promise<CanceledExtractorJob>;
|
|
4675
4872
|
declare const getCancelExtractorJobMutationKey: (id: string) => readonly [`/v1/extractor-jobs/${string}/cancel`];
|
|
4676
4873
|
type CancelExtractorJobMutationResult = NonNullable<Awaited<ReturnType<typeof cancelExtractorJob>>>;
|
|
4677
4874
|
/**
|
|
4678
|
-
* @
|
|
4875
|
+
* @deprecated
|
|
4876
|
+
* @summary Cancel extractor job (deprecated)
|
|
4679
4877
|
*/
|
|
4680
4878
|
declare const useCancelExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
4681
4879
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelExtractorJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelExtractorJob>>> & {
|
|
4682
4880
|
swrKey?: string;
|
|
4683
4881
|
};
|
|
4684
|
-
request?: SecondParameter$
|
|
4882
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
4685
4883
|
}) => {
|
|
4686
4884
|
isMutating: boolean;
|
|
4687
4885
|
trigger: swr_mutation.TriggerWithOptionsArgs<CanceledExtractorJob, TError, string | readonly [`/v1/extractor-jobs/${string}/cancel`], Arguments>;
|
|
@@ -4690,50 +4888,29 @@ declare const useCancelExtractorJob: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4690
4888
|
error: TError | undefined;
|
|
4691
4889
|
swrKey: string | readonly [`/v1/extractor-jobs/${string}/cancel`];
|
|
4692
4890
|
};
|
|
4693
|
-
/**
|
|
4694
|
-
* Retrieve agent messages emitted during a worker run, ordered by emission time. Supports cursor-style pagination via `after` and `count`.
|
|
4695
|
-
* @summary List agentic job messages
|
|
4696
|
-
*/
|
|
4697
|
-
declare const getListWorkerRunMessagesUrl: (id: string, params?: ListWorkerRunMessagesParams) => string;
|
|
4698
|
-
declare const listWorkerRunMessages: (id: string, params?: ListWorkerRunMessagesParams, options?: RequestInit) => Promise<WorkerRunMessageList>;
|
|
4699
|
-
declare const getListWorkerRunMessagesKey: (id: string, params?: ListWorkerRunMessagesParams) => readonly [`/v1/extractor-jobs/${string}/messages`, ...ListWorkerRunMessagesParams[]];
|
|
4700
|
-
type ListWorkerRunMessagesQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerRunMessages>>>;
|
|
4701
|
-
/**
|
|
4702
|
-
* @summary List agentic job messages
|
|
4703
|
-
*/
|
|
4704
|
-
declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListWorkerRunMessagesParams, options?: {
|
|
4705
|
-
swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerRunMessages>>, TError> & {
|
|
4706
|
-
swrKey?: Key;
|
|
4707
|
-
enabled?: boolean;
|
|
4708
|
-
};
|
|
4709
|
-
request?: SecondParameter$9<typeof customFetch>;
|
|
4710
|
-
}) => {
|
|
4711
|
-
data: WorkerRunMessageList | undefined;
|
|
4712
|
-
error: TError | undefined;
|
|
4713
|
-
mutate: swr.KeyedMutator<WorkerRunMessageList>;
|
|
4714
|
-
isValidating: boolean;
|
|
4715
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
4716
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
4717
|
-
};
|
|
4718
4891
|
/**
|
|
4719
4892
|
* Merge-update scope on an existing extractor job. Provided keys are added or overwritten; other existing keys are preserved.
|
|
4720
|
-
|
|
4893
|
+
|
|
4894
|
+
**Deprecated:** Use `PATCH /v1/worker-runs/{id}/scope` instead.
|
|
4895
|
+
* @deprecated
|
|
4896
|
+
* @summary Update extractor job scope (deprecated)
|
|
4721
4897
|
*/
|
|
4722
4898
|
declare const getUpdateExtractorJobScopeUrl: (id: string) => string;
|
|
4723
4899
|
declare const updateExtractorJobScope: (id: string, updateExtractorJobScopeBody: UpdateExtractorJobScopeBody, options?: RequestInit) => Promise<UpdatedExtractorJob>;
|
|
4724
|
-
declare const getUpdateExtractorJobScopeMutationFetcher: (id: string, options?: SecondParameter$
|
|
4900
|
+
declare const getUpdateExtractorJobScopeMutationFetcher: (id: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
|
|
4725
4901
|
arg: UpdateExtractorJobScopeBody;
|
|
4726
4902
|
}) => Promise<UpdatedExtractorJob>;
|
|
4727
4903
|
declare const getUpdateExtractorJobScopeMutationKey: (id: string) => readonly [`/v1/extractor-jobs/${string}/scope`];
|
|
4728
4904
|
type UpdateExtractorJobScopeMutationResult = NonNullable<Awaited<ReturnType<typeof updateExtractorJobScope>>>;
|
|
4729
4905
|
/**
|
|
4730
|
-
* @
|
|
4906
|
+
* @deprecated
|
|
4907
|
+
* @summary Update extractor job scope (deprecated)
|
|
4731
4908
|
*/
|
|
4732
4909
|
declare const useUpdateExtractorJobScope: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
4733
4910
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractorJobScope>>, TError, Key, UpdateExtractorJobScopeBody, Awaited<ReturnType<typeof updateExtractorJobScope>>> & {
|
|
4734
4911
|
swrKey?: string;
|
|
4735
4912
|
};
|
|
4736
|
-
request?: SecondParameter$
|
|
4913
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
4737
4914
|
}) => {
|
|
4738
4915
|
isMutating: boolean;
|
|
4739
4916
|
trigger: swr_mutation.TriggerWithArgs<UpdatedExtractorJob, TError, string | readonly [`/v1/extractor-jobs/${string}/scope`], UpdateExtractorJobScopeBody>;
|
|
@@ -4743,14 +4920,14 @@ declare const useUpdateExtractorJobScope: <TError = ErrorType<ErrorResponse>>(id
|
|
|
4743
4920
|
swrKey: string | readonly [`/v1/extractor-jobs/${string}/scope`];
|
|
4744
4921
|
};
|
|
4745
4922
|
|
|
4746
|
-
type SecondParameter$
|
|
4923
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4747
4924
|
/**
|
|
4748
4925
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
4749
4926
|
* @summary Create extractor
|
|
4750
4927
|
*/
|
|
4751
4928
|
declare const getCreateExtractorUrl: () => string;
|
|
4752
4929
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<ExtractorCreated>;
|
|
4753
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
4930
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$9<typeof customFetch>) => (_: Key, { arg }: {
|
|
4754
4931
|
arg: CreateExtractorBody;
|
|
4755
4932
|
}) => Promise<ExtractorCreated>;
|
|
4756
4933
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
@@ -4762,7 +4939,7 @@ declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
4762
4939
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited<ReturnType<typeof createExtractor>>> & {
|
|
4763
4940
|
swrKey?: string;
|
|
4764
4941
|
};
|
|
4765
|
-
request?: SecondParameter$
|
|
4942
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
4766
4943
|
}) => {
|
|
4767
4944
|
isMutating: boolean;
|
|
4768
4945
|
trigger: swr_mutation.TriggerWithArgs<ExtractorCreated, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -4789,7 +4966,7 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
4789
4966
|
swrKey?: Key;
|
|
4790
4967
|
enabled?: boolean;
|
|
4791
4968
|
};
|
|
4792
|
-
request?: SecondParameter$
|
|
4969
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
4793
4970
|
}) => {
|
|
4794
4971
|
data: ExtractorList | undefined;
|
|
4795
4972
|
error: TError | undefined;
|
|
@@ -4814,7 +4991,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
4814
4991
|
swrKey?: Key;
|
|
4815
4992
|
enabled?: boolean;
|
|
4816
4993
|
};
|
|
4817
|
-
request?: SecondParameter$
|
|
4994
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
4818
4995
|
}) => {
|
|
4819
4996
|
data: GetExtractorResponse | undefined;
|
|
4820
4997
|
error: TError | undefined;
|
|
@@ -4829,7 +5006,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
4829
5006
|
*/
|
|
4830
5007
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
4831
5008
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<ExtractorUpdated>;
|
|
4832
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
5009
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$9<typeof customFetch>) => (_: Key, { arg }: {
|
|
4833
5010
|
arg: UpdateExtractorBody;
|
|
4834
5011
|
}) => Promise<ExtractorUpdated>;
|
|
4835
5012
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
@@ -4841,7 +5018,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
4841
5018
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited<ReturnType<typeof updateExtractor>>> & {
|
|
4842
5019
|
swrKey?: string;
|
|
4843
5020
|
};
|
|
4844
|
-
request?: SecondParameter$
|
|
5021
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
4845
5022
|
}) => {
|
|
4846
5023
|
isMutating: boolean;
|
|
4847
5024
|
trigger: swr_mutation.TriggerWithArgs<ExtractorUpdated, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -4851,7 +5028,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
4851
5028
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
4852
5029
|
};
|
|
4853
5030
|
|
|
4854
|
-
type SecondParameter$
|
|
5031
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4855
5032
|
/**
|
|
4856
5033
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
4857
5034
|
* @summary Get extract
|
|
@@ -4868,7 +5045,7 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
4868
5045
|
swrKey?: Key;
|
|
4869
5046
|
enabled?: boolean;
|
|
4870
5047
|
};
|
|
4871
|
-
request?: SecondParameter$
|
|
5048
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
4872
5049
|
}) => {
|
|
4873
5050
|
data: Extract | undefined;
|
|
4874
5051
|
error: TError | undefined;
|
|
@@ -4893,7 +5070,7 @@ declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: st
|
|
|
4893
5070
|
swrKey?: Key;
|
|
4894
5071
|
enabled?: boolean;
|
|
4895
5072
|
};
|
|
4896
|
-
request?: SecondParameter$
|
|
5073
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
4897
5074
|
}) => {
|
|
4898
5075
|
data: GetExtractCitations200 | undefined;
|
|
4899
5076
|
error: TError | undefined;
|
|
@@ -4925,7 +5102,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
4925
5102
|
swrKey?: Key;
|
|
4926
5103
|
enabled?: boolean;
|
|
4927
5104
|
};
|
|
4928
|
-
request?: SecondParameter$
|
|
5105
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
4929
5106
|
}) => {
|
|
4930
5107
|
data: ExtractList | undefined;
|
|
4931
5108
|
error: TError | undefined;
|
|
@@ -4935,7 +5112,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
4935
5112
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
4936
5113
|
};
|
|
4937
5114
|
|
|
4938
|
-
type SecondParameter$
|
|
5115
|
+
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4939
5116
|
/**
|
|
4940
5117
|
* Check whether a given email username is available for creating a new inbox.
|
|
4941
5118
|
|
|
@@ -4955,7 +5132,7 @@ declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(par
|
|
|
4955
5132
|
swrKey?: Key;
|
|
4956
5133
|
enabled?: boolean;
|
|
4957
5134
|
};
|
|
4958
|
-
request?: SecondParameter$
|
|
5135
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
4959
5136
|
}) => {
|
|
4960
5137
|
data: InboxAvailability | undefined;
|
|
4961
5138
|
error: TError | undefined;
|
|
@@ -4975,7 +5152,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
4975
5152
|
*/
|
|
4976
5153
|
declare const getCreateInboxUrl: () => string;
|
|
4977
5154
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
4978
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
5155
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$7<typeof customFetch>) => (_: Key, { arg }: {
|
|
4979
5156
|
arg: CreateInboxBody;
|
|
4980
5157
|
}) => Promise<Inbox>;
|
|
4981
5158
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
@@ -4987,7 +5164,7 @@ declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4987
5164
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited<ReturnType<typeof createInbox>>> & {
|
|
4988
5165
|
swrKey?: string;
|
|
4989
5166
|
};
|
|
4990
|
-
request?: SecondParameter$
|
|
5167
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
4991
5168
|
}) => {
|
|
4992
5169
|
isMutating: boolean;
|
|
4993
5170
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -5015,7 +5192,7 @@ declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListI
|
|
|
5015
5192
|
swrKey?: Key;
|
|
5016
5193
|
enabled?: boolean;
|
|
5017
5194
|
};
|
|
5018
|
-
request?: SecondParameter$
|
|
5195
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
5019
5196
|
}) => {
|
|
5020
5197
|
data: InboxList | undefined;
|
|
5021
5198
|
error: TError | undefined;
|
|
@@ -5033,7 +5210,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5033
5210
|
*/
|
|
5034
5211
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
5035
5212
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
5036
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
5213
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$7<typeof customFetch>) => (_: Key, { arg }: {
|
|
5037
5214
|
arg: UpdateInboxBody;
|
|
5038
5215
|
}) => Promise<Inbox>;
|
|
5039
5216
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
@@ -5045,7 +5222,7 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
5045
5222
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited<ReturnType<typeof updateInbox>>> & {
|
|
5046
5223
|
swrKey?: string;
|
|
5047
5224
|
};
|
|
5048
|
-
request?: SecondParameter$
|
|
5225
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
5049
5226
|
}) => {
|
|
5050
5227
|
isMutating: boolean;
|
|
5051
5228
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -5055,7 +5232,7 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
5055
5232
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
5056
5233
|
};
|
|
5057
5234
|
|
|
5058
|
-
type SecondParameter$
|
|
5235
|
+
type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5059
5236
|
/**
|
|
5060
5237
|
* Schedule a new outbound call job for a voice agent.
|
|
5061
5238
|
|
|
@@ -5071,7 +5248,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5071
5248
|
*/
|
|
5072
5249
|
declare const getScheduleJobUrl: (voiceAgentId: string) => string;
|
|
5073
5250
|
declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
|
|
5074
|
-
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5251
|
+
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$6<typeof customFetch>) => (_: Key, { arg }: {
|
|
5075
5252
|
arg: ScheduleJobBody;
|
|
5076
5253
|
}) => Promise<OutboundJob>;
|
|
5077
5254
|
declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
|
|
@@ -5083,7 +5260,7 @@ declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId:
|
|
|
5083
5260
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited<ReturnType<typeof scheduleJob>>> & {
|
|
5084
5261
|
swrKey?: string;
|
|
5085
5262
|
};
|
|
5086
|
-
request?: SecondParameter$
|
|
5263
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
5087
5264
|
}) => {
|
|
5088
5265
|
isMutating: boolean;
|
|
5089
5266
|
trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
|
|
@@ -5116,7 +5293,7 @@ declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsP
|
|
|
5116
5293
|
swrKey?: Key;
|
|
5117
5294
|
enabled?: boolean;
|
|
5118
5295
|
};
|
|
5119
|
-
request?: SecondParameter$
|
|
5296
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
5120
5297
|
}) => {
|
|
5121
5298
|
data: OutboundJobList | undefined;
|
|
5122
5299
|
error: TError | undefined;
|
|
@@ -5134,7 +5311,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5134
5311
|
*/
|
|
5135
5312
|
declare const getCancelJobUrl: (jobId: string) => string;
|
|
5136
5313
|
declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<OutboundJob>;
|
|
5137
|
-
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$
|
|
5314
|
+
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$6<typeof customFetch>) => (_: Key, __: {
|
|
5138
5315
|
arg: Arguments;
|
|
5139
5316
|
}) => Promise<OutboundJob>;
|
|
5140
5317
|
declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
@@ -5146,7 +5323,7 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
5146
5323
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelJob>>> & {
|
|
5147
5324
|
swrKey?: string;
|
|
5148
5325
|
};
|
|
5149
|
-
request?: SecondParameter$
|
|
5326
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
5150
5327
|
}) => {
|
|
5151
5328
|
isMutating: boolean;
|
|
5152
5329
|
trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
|
|
@@ -5156,7 +5333,7 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
5156
5333
|
swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
5157
5334
|
};
|
|
5158
5335
|
|
|
5159
|
-
type SecondParameter$
|
|
5336
|
+
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5160
5337
|
/**
|
|
5161
5338
|
* Retrieve the current user's profile information.
|
|
5162
5339
|
* @summary Get profile
|
|
@@ -5173,7 +5350,7 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5173
5350
|
swrKey?: Key;
|
|
5174
5351
|
enabled?: boolean;
|
|
5175
5352
|
};
|
|
5176
|
-
request?: SecondParameter$
|
|
5353
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
5177
5354
|
}) => {
|
|
5178
5355
|
data: Profile | undefined;
|
|
5179
5356
|
error: TError | undefined;
|
|
@@ -5183,14 +5360,14 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5183
5360
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5184
5361
|
};
|
|
5185
5362
|
|
|
5186
|
-
type SecondParameter$
|
|
5363
|
+
type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5187
5364
|
/**
|
|
5188
5365
|
* Create a new code tool that can be attached to agents. Provide the tool's name, code, description, and optionally an API key.
|
|
5189
5366
|
* @summary Create tool
|
|
5190
5367
|
*/
|
|
5191
5368
|
declare const getCreateToolUrl: () => string;
|
|
5192
5369
|
declare const createTool: (createToolBody: CreateToolBody, options?: RequestInit) => Promise<CodeToolCreated>;
|
|
5193
|
-
declare const getCreateToolMutationFetcher: (options?: SecondParameter$
|
|
5370
|
+
declare const getCreateToolMutationFetcher: (options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
5194
5371
|
arg: CreateToolBody;
|
|
5195
5372
|
}) => Promise<CodeToolCreated>;
|
|
5196
5373
|
declare const getCreateToolMutationKey: () => readonly ["/v1/tools"];
|
|
@@ -5202,7 +5379,7 @@ declare const useCreateTool: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5202
5379
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createTool>>, TError, Key, CreateToolBody, Awaited<ReturnType<typeof createTool>>> & {
|
|
5203
5380
|
swrKey?: string;
|
|
5204
5381
|
};
|
|
5205
|
-
request?: SecondParameter$
|
|
5382
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
5206
5383
|
}) => {
|
|
5207
5384
|
isMutating: boolean;
|
|
5208
5385
|
trigger: swr_mutation.TriggerWithArgs<CodeToolCreated, TError, string | readonly ["/v1/tools"], CreateToolBody>;
|
|
@@ -5229,7 +5406,7 @@ declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToo
|
|
|
5229
5406
|
swrKey?: Key;
|
|
5230
5407
|
enabled?: boolean;
|
|
5231
5408
|
};
|
|
5232
|
-
request?: SecondParameter$
|
|
5409
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
5233
5410
|
}) => {
|
|
5234
5411
|
data: ToolList | undefined;
|
|
5235
5412
|
error: TError | undefined;
|
|
@@ -5244,7 +5421,7 @@ declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToo
|
|
|
5244
5421
|
*/
|
|
5245
5422
|
declare const getExecuteCodeUrl: (id: string) => string;
|
|
5246
5423
|
declare const executeCode: (id: string, executeCodeBody: ExecuteCodeBody, options?: RequestInit) => Promise<ToolExecutionResult>;
|
|
5247
|
-
declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParameter$
|
|
5424
|
+
declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
5248
5425
|
arg: ExecuteCodeBody;
|
|
5249
5426
|
}) => Promise<ToolExecutionResult>;
|
|
5250
5427
|
declare const getExecuteCodeMutationKey: (id: string) => readonly [`/v1/tools/${string}/execute`];
|
|
@@ -5256,7 +5433,7 @@ declare const useExecuteCode: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
5256
5433
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof executeCode>>, TError, Key, ExecuteCodeBody, Awaited<ReturnType<typeof executeCode>>> & {
|
|
5257
5434
|
swrKey?: string;
|
|
5258
5435
|
};
|
|
5259
|
-
request?: SecondParameter$
|
|
5436
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
5260
5437
|
}) => {
|
|
5261
5438
|
isMutating: boolean;
|
|
5262
5439
|
trigger: swr_mutation.TriggerWithArgs<ToolExecutionResult, TError, string | readonly [`/v1/tools/${string}/execute`], ExecuteCodeBody>;
|
|
@@ -5281,7 +5458,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
5281
5458
|
swrKey?: Key;
|
|
5282
5459
|
enabled?: boolean;
|
|
5283
5460
|
};
|
|
5284
|
-
request?: SecondParameter$
|
|
5461
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
5285
5462
|
}) => {
|
|
5286
5463
|
data: GetToolResponse | undefined;
|
|
5287
5464
|
error: TError | undefined;
|
|
@@ -5296,7 +5473,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
5296
5473
|
*/
|
|
5297
5474
|
declare const getUpdateToolUrl: (id: string) => string;
|
|
5298
5475
|
declare const updateTool: (id: string, updateToolBody: UpdateToolBody, options?: RequestInit) => Promise<CodeToolUpdated>;
|
|
5299
|
-
declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParameter$
|
|
5476
|
+
declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
5300
5477
|
arg: UpdateToolBody;
|
|
5301
5478
|
}) => Promise<CodeToolUpdated>;
|
|
5302
5479
|
declare const getUpdateToolMutationKey: (id: string) => readonly [`/v1/tools/${string}`];
|
|
@@ -5308,7 +5485,7 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
5308
5485
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateTool>>, TError, Key, UpdateToolBody, Awaited<ReturnType<typeof updateTool>>> & {
|
|
5309
5486
|
swrKey?: string;
|
|
5310
5487
|
};
|
|
5311
|
-
request?: SecondParameter$
|
|
5488
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
5312
5489
|
}) => {
|
|
5313
5490
|
isMutating: boolean;
|
|
5314
5491
|
trigger: swr_mutation.TriggerWithArgs<CodeToolUpdated, TError, string | readonly [`/v1/tools/${string}`], UpdateToolBody>;
|
|
@@ -5318,7 +5495,7 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
5318
5495
|
swrKey: string | readonly [`/v1/tools/${string}`];
|
|
5319
5496
|
};
|
|
5320
5497
|
|
|
5321
|
-
type SecondParameter$
|
|
5498
|
+
type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5322
5499
|
/**
|
|
5323
5500
|
* List all voice agents for your tenant.
|
|
5324
5501
|
|
|
@@ -5346,7 +5523,7 @@ declare const useListVoiceAgents: <TError = ErrorType<ErrorResponse>>(params?: L
|
|
|
5346
5523
|
swrKey?: Key;
|
|
5347
5524
|
enabled?: boolean;
|
|
5348
5525
|
};
|
|
5349
|
-
request?: SecondParameter$
|
|
5526
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5350
5527
|
}) => {
|
|
5351
5528
|
data: VoiceAgentList | undefined;
|
|
5352
5529
|
error: TError | undefined;
|
|
@@ -5372,7 +5549,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5372
5549
|
*/
|
|
5373
5550
|
declare const getCreateVoiceAgentUrl: () => string;
|
|
5374
5551
|
declare const createVoiceAgent: (createVoiceAgentBody: CreateVoiceAgentBody, options?: RequestInit) => Promise<CreateVoiceAgentResponse>;
|
|
5375
|
-
declare const getCreateVoiceAgentMutationFetcher: (options?: SecondParameter$
|
|
5552
|
+
declare const getCreateVoiceAgentMutationFetcher: (options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
5376
5553
|
arg: CreateVoiceAgentBody;
|
|
5377
5554
|
}) => Promise<CreateVoiceAgentResponse>;
|
|
5378
5555
|
declare const getCreateVoiceAgentMutationKey: () => readonly ["/v1/voice-agents"];
|
|
@@ -5384,7 +5561,7 @@ declare const useCreateVoiceAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
5384
5561
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createVoiceAgent>>, TError, Key, CreateVoiceAgentBody, Awaited<ReturnType<typeof createVoiceAgent>>> & {
|
|
5385
5562
|
swrKey?: string;
|
|
5386
5563
|
};
|
|
5387
|
-
request?: SecondParameter$
|
|
5564
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5388
5565
|
}) => {
|
|
5389
5566
|
isMutating: boolean;
|
|
5390
5567
|
trigger: swr_mutation.TriggerWithArgs<CreateVoiceAgentResponse, TError, string | readonly ["/v1/voice-agents"], CreateVoiceAgentBody>;
|
|
@@ -5412,7 +5589,7 @@ declare const useGetVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId
|
|
|
5412
5589
|
swrKey?: Key;
|
|
5413
5590
|
enabled?: boolean;
|
|
5414
5591
|
};
|
|
5415
|
-
request?: SecondParameter$
|
|
5592
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5416
5593
|
}) => {
|
|
5417
5594
|
data: GetVoiceAgentResponse | undefined;
|
|
5418
5595
|
error: TError | undefined;
|
|
@@ -5430,7 +5607,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5430
5607
|
*/
|
|
5431
5608
|
declare const getAddToolsToVoiceAgentUrl: (voiceAgentId: string) => string;
|
|
5432
5609
|
declare const addToolsToVoiceAgent: (voiceAgentId: string, addToolsToVoiceAgentBody: AddToolsToVoiceAgentBody, options?: RequestInit) => Promise<AddToolsToVoiceAgentResponse>;
|
|
5433
|
-
declare const getAddToolsToVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5610
|
+
declare const getAddToolsToVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
5434
5611
|
arg: AddToolsToVoiceAgentBody;
|
|
5435
5612
|
}) => Promise<AddToolsToVoiceAgentResponse>;
|
|
5436
5613
|
declare const getAddToolsToVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
|
|
@@ -5442,7 +5619,7 @@ declare const useAddToolsToVoiceAgent: <TError = ErrorType<ErrorResponse>>(voice
|
|
|
5442
5619
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof addToolsToVoiceAgent>>, TError, Key, AddToolsToVoiceAgentBody, Awaited<ReturnType<typeof addToolsToVoiceAgent>>> & {
|
|
5443
5620
|
swrKey?: string;
|
|
5444
5621
|
};
|
|
5445
|
-
request?: SecondParameter$
|
|
5622
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5446
5623
|
}) => {
|
|
5447
5624
|
isMutating: boolean;
|
|
5448
5625
|
trigger: swr_mutation.TriggerWithArgs<AddToolsToVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}/tools`], AddToolsToVoiceAgentBody>;
|
|
@@ -5460,7 +5637,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5460
5637
|
*/
|
|
5461
5638
|
declare const getDeleteToolsFromVoiceAgentUrl: (voiceAgentId: string) => string;
|
|
5462
5639
|
declare const deleteToolsFromVoiceAgent: (voiceAgentId: string, deleteToolsFromVoiceAgentBody: DeleteToolsFromVoiceAgentBody, options?: RequestInit) => Promise<DeleteToolsFromVoiceAgentResponse>;
|
|
5463
|
-
declare const getDeleteToolsFromVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5640
|
+
declare const getDeleteToolsFromVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
5464
5641
|
arg: DeleteToolsFromVoiceAgentBody;
|
|
5465
5642
|
}) => Promise<DeleteToolsFromVoiceAgentResponse>;
|
|
5466
5643
|
declare const getDeleteToolsFromVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
|
|
@@ -5472,7 +5649,7 @@ declare const useDeleteToolsFromVoiceAgent: <TError = ErrorType<ErrorResponse>>(
|
|
|
5472
5649
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>, TError, Key, DeleteToolsFromVoiceAgentBody, Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>> & {
|
|
5473
5650
|
swrKey?: string;
|
|
5474
5651
|
};
|
|
5475
|
-
request?: SecondParameter$
|
|
5652
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5476
5653
|
}) => {
|
|
5477
5654
|
isMutating: boolean;
|
|
5478
5655
|
trigger: swr_mutation.TriggerWithArgs<DeleteToolsFromVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}/tools`], DeleteToolsFromVoiceAgentBody>;
|
|
@@ -5500,7 +5677,7 @@ declare const useGetVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voiceA
|
|
|
5500
5677
|
swrKey?: Key;
|
|
5501
5678
|
enabled?: boolean;
|
|
5502
5679
|
};
|
|
5503
|
-
request?: SecondParameter$
|
|
5680
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5504
5681
|
}) => {
|
|
5505
5682
|
data: VoiceAgentPrompt | undefined;
|
|
5506
5683
|
error: TError | undefined;
|
|
@@ -5518,7 +5695,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5518
5695
|
*/
|
|
5519
5696
|
declare const getUpdateVoiceAgentModelsUrl: (voiceAgentId: string) => string;
|
|
5520
5697
|
declare const updateVoiceAgentModels: (voiceAgentId: string, updateVoiceAgentModelsBody: UpdateVoiceAgentModelsBody, options?: RequestInit) => Promise<UpdateVoiceAgentModelsResponse>;
|
|
5521
|
-
declare const getUpdateVoiceAgentModelsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5698
|
+
declare const getUpdateVoiceAgentModelsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
5522
5699
|
arg: UpdateVoiceAgentModelsBody;
|
|
5523
5700
|
}) => Promise<UpdateVoiceAgentModelsResponse>;
|
|
5524
5701
|
declare const getUpdateVoiceAgentModelsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/models`];
|
|
@@ -5530,7 +5707,7 @@ declare const useUpdateVoiceAgentModels: <TError = ErrorType<ErrorResponse>>(voi
|
|
|
5530
5707
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgentModels>>, TError, Key, UpdateVoiceAgentModelsBody, Awaited<ReturnType<typeof updateVoiceAgentModels>>> & {
|
|
5531
5708
|
swrKey?: string;
|
|
5532
5709
|
};
|
|
5533
|
-
request?: SecondParameter$
|
|
5710
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5534
5711
|
}) => {
|
|
5535
5712
|
isMutating: boolean;
|
|
5536
5713
|
trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentModelsResponse, TError, string | readonly [`/v1/voice-agents/${string}/models`], UpdateVoiceAgentModelsBody>;
|
|
@@ -5550,7 +5727,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5550
5727
|
*/
|
|
5551
5728
|
declare const getUpdateCallControlsUrl: (voiceAgentId: string) => string;
|
|
5552
5729
|
declare const updateCallControls: (voiceAgentId: string, updateCallControlsBody: UpdateCallControlsBody, options?: RequestInit) => Promise<UpdateVoiceAgentCallControlsResponse>;
|
|
5553
|
-
declare const getUpdateCallControlsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5730
|
+
declare const getUpdateCallControlsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
5554
5731
|
arg: UpdateCallControlsBody;
|
|
5555
5732
|
}) => Promise<UpdateVoiceAgentCallControlsResponse>;
|
|
5556
5733
|
declare const getUpdateCallControlsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/call-controls`];
|
|
@@ -5562,7 +5739,7 @@ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
5562
5739
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateCallControls>>, TError, Key, UpdateCallControlsBody, Awaited<ReturnType<typeof updateCallControls>>> & {
|
|
5563
5740
|
swrKey?: string;
|
|
5564
5741
|
};
|
|
5565
|
-
request?: SecondParameter$
|
|
5742
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
5566
5743
|
}) => {
|
|
5567
5744
|
isMutating: boolean;
|
|
5568
5745
|
trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentCallControlsResponse, TError, string | readonly [`/v1/voice-agents/${string}/call-controls`], UpdateCallControlsBody>;
|
|
@@ -5572,14 +5749,14 @@ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
5572
5749
|
swrKey: string | readonly [`/v1/voice-agents/${string}/call-controls`];
|
|
5573
5750
|
};
|
|
5574
5751
|
|
|
5575
|
-
type SecondParameter$
|
|
5752
|
+
type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5576
5753
|
/**
|
|
5577
5754
|
* Create a webhook that fires when events occur for the specified worker.
|
|
5578
5755
|
* @summary Create worker webhook
|
|
5579
5756
|
*/
|
|
5580
5757
|
declare const getCreateWorkerWebhookUrl: (workerId: string) => string;
|
|
5581
5758
|
declare const createWorkerWebhook: (workerId: string, createWorkerWebhookBody: CreateWorkerWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
5582
|
-
declare const getCreateWorkerWebhookMutationFetcher: (workerId: string, options?: SecondParameter$
|
|
5759
|
+
declare const getCreateWorkerWebhookMutationFetcher: (workerId: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
|
|
5583
5760
|
arg: CreateWorkerWebhookBody;
|
|
5584
5761
|
}) => Promise<Webhook>;
|
|
5585
5762
|
declare const getCreateWorkerWebhookMutationKey: (workerId: string) => readonly [`/v1/workers/${string}/webhooks`];
|
|
@@ -5591,7 +5768,7 @@ declare const useCreateWorkerWebhook: <TError = ErrorType<ErrorResponse>>(worker
|
|
|
5591
5768
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerWebhook>>, TError, Key, CreateWorkerWebhookBody, Awaited<ReturnType<typeof createWorkerWebhook>>> & {
|
|
5592
5769
|
swrKey?: string;
|
|
5593
5770
|
};
|
|
5594
|
-
request?: SecondParameter$
|
|
5771
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5595
5772
|
}) => {
|
|
5596
5773
|
isMutating: boolean;
|
|
5597
5774
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/workers/${string}/webhooks`], CreateWorkerWebhookBody>;
|
|
@@ -5616,7 +5793,7 @@ declare const useListWorkerWebhooks: <TError = ErrorType<ErrorResponse>>(workerI
|
|
|
5616
5793
|
swrKey?: Key;
|
|
5617
5794
|
enabled?: boolean;
|
|
5618
5795
|
};
|
|
5619
|
-
request?: SecondParameter$
|
|
5796
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5620
5797
|
}) => {
|
|
5621
5798
|
data: WorkerWebhookList | undefined;
|
|
5622
5799
|
error: TError | undefined;
|
|
@@ -5634,7 +5811,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5634
5811
|
*/
|
|
5635
5812
|
declare const getCreateAgentWebhookUrl: (voiceAgentId: string) => string;
|
|
5636
5813
|
declare const createAgentWebhook: (voiceAgentId: string, createAgentWebhookBody: CreateAgentWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
5637
|
-
declare const getCreateAgentWebhookMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5814
|
+
declare const getCreateAgentWebhookMutationFetcher: (voiceAgentId: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
|
|
5638
5815
|
arg: CreateAgentWebhookBody;
|
|
5639
5816
|
}) => Promise<Webhook>;
|
|
5640
5817
|
declare const getCreateAgentWebhookMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/webhooks`];
|
|
@@ -5646,7 +5823,7 @@ declare const useCreateAgentWebhook: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
5646
5823
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgentWebhook>>, TError, Key, CreateAgentWebhookBody, Awaited<ReturnType<typeof createAgentWebhook>>> & {
|
|
5647
5824
|
swrKey?: string;
|
|
5648
5825
|
};
|
|
5649
|
-
request?: SecondParameter$
|
|
5826
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5650
5827
|
}) => {
|
|
5651
5828
|
isMutating: boolean;
|
|
5652
5829
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/voice-agents/${string}/webhooks`], CreateAgentWebhookBody>;
|
|
@@ -5674,7 +5851,7 @@ declare const useListAgentWebhooks: <TError = ErrorType<ErrorResponse>>(voiceAge
|
|
|
5674
5851
|
swrKey?: Key;
|
|
5675
5852
|
enabled?: boolean;
|
|
5676
5853
|
};
|
|
5677
|
-
request?: SecondParameter$
|
|
5854
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5678
5855
|
}) => {
|
|
5679
5856
|
data: VoiceAgentWebhookList | undefined;
|
|
5680
5857
|
error: TError | undefined;
|
|
@@ -5692,7 +5869,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5692
5869
|
*/
|
|
5693
5870
|
declare const getCreateInboxWebhookUrl: (inboxId: string) => string;
|
|
5694
5871
|
declare const createInboxWebhook: (inboxId: string, createInboxWebhookBody: CreateInboxWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
5695
|
-
declare const getCreateInboxWebhookMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
5872
|
+
declare const getCreateInboxWebhookMutationFetcher: (inboxId: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
|
|
5696
5873
|
arg: CreateInboxWebhookBody;
|
|
5697
5874
|
}) => Promise<Webhook>;
|
|
5698
5875
|
declare const getCreateInboxWebhookMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}/webhooks`];
|
|
@@ -5704,7 +5881,7 @@ declare const useCreateInboxWebhook: <TError = ErrorType<ErrorResponse>>(inboxId
|
|
|
5704
5881
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInboxWebhook>>, TError, Key, CreateInboxWebhookBody, Awaited<ReturnType<typeof createInboxWebhook>>> & {
|
|
5705
5882
|
swrKey?: string;
|
|
5706
5883
|
};
|
|
5707
|
-
request?: SecondParameter$
|
|
5884
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5708
5885
|
}) => {
|
|
5709
5886
|
isMutating: boolean;
|
|
5710
5887
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/inboxes/${string}/webhooks`], CreateInboxWebhookBody>;
|
|
@@ -5732,7 +5909,7 @@ declare const useListInboxWebhooks: <TError = ErrorType<ErrorResponse>>(inboxId:
|
|
|
5732
5909
|
swrKey?: Key;
|
|
5733
5910
|
enabled?: boolean;
|
|
5734
5911
|
};
|
|
5735
|
-
request?: SecondParameter$
|
|
5912
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5736
5913
|
}) => {
|
|
5737
5914
|
data: InboxWebhookList | undefined;
|
|
5738
5915
|
error: TError | undefined;
|
|
@@ -5747,7 +5924,7 @@ declare const useListInboxWebhooks: <TError = ErrorType<ErrorResponse>>(inboxId:
|
|
|
5747
5924
|
*/
|
|
5748
5925
|
declare const getCreateExtractorWebhookUrl: (id: string) => string;
|
|
5749
5926
|
declare const createExtractorWebhook: (id: string, createExtractorWebhookBody: CreateExtractorWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
5750
|
-
declare const getCreateExtractorWebhookMutationFetcher: (id: string, options?: SecondParameter$
|
|
5927
|
+
declare const getCreateExtractorWebhookMutationFetcher: (id: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
|
|
5751
5928
|
arg: CreateExtractorWebhookBody;
|
|
5752
5929
|
}) => Promise<Webhook>;
|
|
5753
5930
|
declare const getCreateExtractorWebhookMutationKey: (id: string) => readonly [`/v1/extractors/${string}/webhooks`];
|
|
@@ -5759,7 +5936,7 @@ declare const useCreateExtractorWebhook: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
5759
5936
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorWebhook>>, TError, Key, CreateExtractorWebhookBody, Awaited<ReturnType<typeof createExtractorWebhook>>> & {
|
|
5760
5937
|
swrKey?: string;
|
|
5761
5938
|
};
|
|
5762
|
-
request?: SecondParameter$
|
|
5939
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5763
5940
|
}) => {
|
|
5764
5941
|
isMutating: boolean;
|
|
5765
5942
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/extractors/${string}/webhooks`], CreateExtractorWebhookBody>;
|
|
@@ -5784,7 +5961,7 @@ declare const useListWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
5784
5961
|
swrKey?: Key;
|
|
5785
5962
|
enabled?: boolean;
|
|
5786
5963
|
};
|
|
5787
|
-
request?: SecondParameter$
|
|
5964
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5788
5965
|
}) => {
|
|
5789
5966
|
data: ExtractorWebhookList | undefined;
|
|
5790
5967
|
error: TError | undefined;
|
|
@@ -5799,7 +5976,7 @@ declare const useListWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
5799
5976
|
*/
|
|
5800
5977
|
declare const getDeleteWebhookUrl: (id: string) => string;
|
|
5801
5978
|
declare const deleteWebhook: (id: string, options?: RequestInit) => Promise<DeleteWebhookResponse>;
|
|
5802
|
-
declare const getDeleteWebhookMutationFetcher: (id: string, options?: SecondParameter$
|
|
5979
|
+
declare const getDeleteWebhookMutationFetcher: (id: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, __: {
|
|
5803
5980
|
arg: Arguments;
|
|
5804
5981
|
}) => Promise<DeleteWebhookResponse>;
|
|
5805
5982
|
declare const getDeleteWebhookMutationKey: (id: string) => readonly [`/v1/webhooks/${string}`];
|
|
@@ -5811,7 +5988,7 @@ declare const useDeleteWebhook: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
5811
5988
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteWebhook>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteWebhook>>> & {
|
|
5812
5989
|
swrKey?: string;
|
|
5813
5990
|
};
|
|
5814
|
-
request?: SecondParameter$
|
|
5991
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5815
5992
|
}) => {
|
|
5816
5993
|
isMutating: boolean;
|
|
5817
5994
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteWebhookResponse, TError, string | readonly [`/v1/webhooks/${string}`], Arguments>;
|
|
@@ -5836,7 +6013,7 @@ declare const useGetWebhook: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
5836
6013
|
swrKey?: Key;
|
|
5837
6014
|
enabled?: boolean;
|
|
5838
6015
|
};
|
|
5839
|
-
request?: SecondParameter$
|
|
6016
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5840
6017
|
}) => {
|
|
5841
6018
|
data: Webhook | undefined;
|
|
5842
6019
|
error: TError | undefined;
|
|
@@ -5861,7 +6038,7 @@ declare const useListWebhookDeliveries: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
5861
6038
|
swrKey?: Key;
|
|
5862
6039
|
enabled?: boolean;
|
|
5863
6040
|
};
|
|
5864
|
-
request?: SecondParameter$
|
|
6041
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5865
6042
|
}) => {
|
|
5866
6043
|
data: WebhookDeliveryList | undefined;
|
|
5867
6044
|
error: TError | undefined;
|
|
@@ -5876,7 +6053,7 @@ declare const useListWebhookDeliveries: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
5876
6053
|
*/
|
|
5877
6054
|
declare const getTestWebhookUrl: (id: string) => string;
|
|
5878
6055
|
declare const testWebhook: (id: string, options?: RequestInit) => Promise<WebhookTestResult>;
|
|
5879
|
-
declare const getTestWebhookMutationFetcher: (id: string, options?: SecondParameter$
|
|
6056
|
+
declare const getTestWebhookMutationFetcher: (id: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, __: {
|
|
5880
6057
|
arg: Arguments;
|
|
5881
6058
|
}) => Promise<WebhookTestResult>;
|
|
5882
6059
|
declare const getTestWebhookMutationKey: (id: string) => readonly [`/v1/webhooks/${string}/test`];
|
|
@@ -5888,7 +6065,7 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
5888
6065
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof testWebhook>>, TError, Key, Arguments, Awaited<ReturnType<typeof testWebhook>>> & {
|
|
5889
6066
|
swrKey?: string;
|
|
5890
6067
|
};
|
|
5891
|
-
request?: SecondParameter$
|
|
6068
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
5892
6069
|
}) => {
|
|
5893
6070
|
isMutating: boolean;
|
|
5894
6071
|
trigger: swr_mutation.TriggerWithOptionsArgs<WebhookTestResult, TError, string | readonly [`/v1/webhooks/${string}/test`], Arguments>;
|
|
@@ -5898,6 +6075,120 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
5898
6075
|
swrKey: string | readonly [`/v1/webhooks/${string}/test`];
|
|
5899
6076
|
};
|
|
5900
6077
|
|
|
6078
|
+
type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6079
|
+
/**
|
|
6080
|
+
* List all worker runs with pagination, filtering, and sorting.
|
|
6081
|
+
|
|
6082
|
+
**Scope Filtering:**
|
|
6083
|
+
|
|
6084
|
+
Use bracket notation to filter by scope keys:
|
|
6085
|
+
- `scope[call_id]=abc-123`
|
|
6086
|
+
- `scope[email_id]=xyz-456`
|
|
6087
|
+
|
|
6088
|
+
Multiple scope filters can be combined (AND logic).
|
|
6089
|
+
* @summary List worker runs
|
|
6090
|
+
*/
|
|
6091
|
+
declare const getListWorkerRunsUrl: (params?: ListWorkerRunsParams) => string;
|
|
6092
|
+
declare const listWorkerRuns: (params?: ListWorkerRunsParams, options?: RequestInit) => Promise<WorkerRunList>;
|
|
6093
|
+
declare const getListWorkerRunsKey: (params?: ListWorkerRunsParams) => readonly ["/v1/worker-runs", ...ListWorkerRunsParams[]];
|
|
6094
|
+
type ListWorkerRunsQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerRuns>>>;
|
|
6095
|
+
/**
|
|
6096
|
+
* @summary List worker runs
|
|
6097
|
+
*/
|
|
6098
|
+
declare const useListWorkerRuns: <TError = ErrorType<ErrorResponse>>(params?: ListWorkerRunsParams, options?: {
|
|
6099
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerRuns>>, TError> & {
|
|
6100
|
+
swrKey?: Key;
|
|
6101
|
+
enabled?: boolean;
|
|
6102
|
+
};
|
|
6103
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
6104
|
+
}) => {
|
|
6105
|
+
data: WorkerRunList | undefined;
|
|
6106
|
+
error: TError | undefined;
|
|
6107
|
+
mutate: swr.KeyedMutator<WorkerRunList>;
|
|
6108
|
+
isValidating: boolean;
|
|
6109
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
6110
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6111
|
+
};
|
|
6112
|
+
/**
|
|
6113
|
+
* Create a new worker run for the specified worker.
|
|
6114
|
+
|
|
6115
|
+
Provide a non-empty `scope` object to define what the worker should process (e.g. `{ "claim_id": "abc-123" }`).
|
|
6116
|
+
* @summary Create worker run
|
|
6117
|
+
*/
|
|
6118
|
+
declare const getCreateWorkerRunUrl: () => string;
|
|
6119
|
+
declare const createWorkerRun: (createWorkerRunBody: CreateWorkerRunBody, options?: RequestInit) => Promise<WorkerRunCreated>;
|
|
6120
|
+
declare const getCreateWorkerRunMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
|
|
6121
|
+
arg: CreateWorkerRunBody;
|
|
6122
|
+
}) => Promise<WorkerRunCreated>;
|
|
6123
|
+
declare const getCreateWorkerRunMutationKey: () => readonly ["/v1/worker-runs"];
|
|
6124
|
+
type CreateWorkerRunMutationResult = NonNullable<Awaited<ReturnType<typeof createWorkerRun>>>;
|
|
6125
|
+
/**
|
|
6126
|
+
* @summary Create worker run
|
|
6127
|
+
*/
|
|
6128
|
+
declare const useCreateWorkerRun: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6129
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerRun>>, TError, Key, CreateWorkerRunBody, Awaited<ReturnType<typeof createWorkerRun>>> & {
|
|
6130
|
+
swrKey?: string;
|
|
6131
|
+
};
|
|
6132
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
6133
|
+
}) => {
|
|
6134
|
+
isMutating: boolean;
|
|
6135
|
+
trigger: swr_mutation.TriggerWithArgs<WorkerRunCreated, TError, string | readonly ["/v1/worker-runs"], CreateWorkerRunBody>;
|
|
6136
|
+
reset: () => void;
|
|
6137
|
+
data: WorkerRunCreated | undefined;
|
|
6138
|
+
error: TError | undefined;
|
|
6139
|
+
swrKey: string | readonly ["/v1/worker-runs"];
|
|
6140
|
+
};
|
|
6141
|
+
/**
|
|
6142
|
+
* Retrieve detailed information about a specific worker run, including its status, timing, and errors.
|
|
6143
|
+
* @summary Get worker run
|
|
6144
|
+
*/
|
|
6145
|
+
declare const getGetWorkerRunUrl: (workerRunId: string) => string;
|
|
6146
|
+
declare const getWorkerRun: (workerRunId: string, options?: RequestInit) => Promise<WorkerRun>;
|
|
6147
|
+
declare const getGetWorkerRunKey: (workerRunId: string) => readonly [`/v1/worker-runs/${string}`];
|
|
6148
|
+
type GetWorkerRunQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkerRun>>>;
|
|
6149
|
+
/**
|
|
6150
|
+
* @summary Get worker run
|
|
6151
|
+
*/
|
|
6152
|
+
declare const useGetWorkerRun: <TError = ErrorType<ErrorResponse>>(workerRunId: string, options?: {
|
|
6153
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof getWorkerRun>>, TError> & {
|
|
6154
|
+
swrKey?: Key;
|
|
6155
|
+
enabled?: boolean;
|
|
6156
|
+
};
|
|
6157
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
6158
|
+
}) => {
|
|
6159
|
+
data: WorkerRun | undefined;
|
|
6160
|
+
error: TError | undefined;
|
|
6161
|
+
mutate: swr.KeyedMutator<WorkerRun>;
|
|
6162
|
+
isValidating: boolean;
|
|
6163
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
6164
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6165
|
+
};
|
|
6166
|
+
/**
|
|
6167
|
+
* Retrieve messages emitted during a worker run, ordered by emission time. Supports cursor-style pagination via `after` and `count`.
|
|
6168
|
+
* @summary List worker run messages
|
|
6169
|
+
*/
|
|
6170
|
+
declare const getListWorkerRunMessagesUrl: (workerRunId: string, params?: ListWorkerRunMessagesParams) => string;
|
|
6171
|
+
declare const listWorkerRunMessages: (workerRunId: string, params?: ListWorkerRunMessagesParams, options?: RequestInit) => Promise<WorkerRunMessageList>;
|
|
6172
|
+
declare const getListWorkerRunMessagesKey: (workerRunId: string, params?: ListWorkerRunMessagesParams) => readonly [`/v1/worker-runs/${string}/messages`, ...ListWorkerRunMessagesParams[]];
|
|
6173
|
+
type ListWorkerRunMessagesQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerRunMessages>>>;
|
|
6174
|
+
/**
|
|
6175
|
+
* @summary List worker run messages
|
|
6176
|
+
*/
|
|
6177
|
+
declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(workerRunId: string, params?: ListWorkerRunMessagesParams, options?: {
|
|
6178
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerRunMessages>>, TError> & {
|
|
6179
|
+
swrKey?: Key;
|
|
6180
|
+
enabled?: boolean;
|
|
6181
|
+
};
|
|
6182
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
6183
|
+
}) => {
|
|
6184
|
+
data: WorkerRunMessageList | undefined;
|
|
6185
|
+
error: TError | undefined;
|
|
6186
|
+
mutate: swr.KeyedMutator<WorkerRunMessageList>;
|
|
6187
|
+
isValidating: boolean;
|
|
6188
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
6189
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6190
|
+
};
|
|
6191
|
+
|
|
5901
6192
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5902
6193
|
/**
|
|
5903
6194
|
* Create a new worker with a name, E2B template, and instruction template.
|
|
@@ -5979,4 +6270,4 @@ declare const useGetWorker: <TError = ErrorType<ErrorResponse>>(workerId: string
|
|
|
5979
6270
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5980
6271
|
};
|
|
5981
6272
|
|
|
5982
|
-
export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, type ApiKeyList, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelExtractorJobMutationResult, type CancelJobMutationResult, type CanceledExtractorJob, type CanceledExtractorJobScope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, CreateExtractorJobBodyExtractorType, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractScope, type ExtractSummary, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerQueryResult, type Inbox, type InboxAvailability, type InboxList, type InboxWebhookList, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdatedExtractorJob, type UpdatedExtractorJobScope, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type WorkerCreated, type WorkerCreatedSchema, type WorkerList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorJobScopeMutationFetcher, getUpdateExtractorJobScopeMutationKey, getUpdateExtractorJobScopeUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerWebhooks, listWorkers, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerWebhooks, useListWorkers, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };
|
|
6273
|
+
export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, type ApiKeyList, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelExtractorJobMutationResult, type CancelJobMutationResult, type CanceledExtractorJob, type CanceledExtractorJobScope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, CreateExtractorJobBodyExtractorType, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractScope, type ExtractSummary, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type Inbox, type InboxAvailability, type InboxList, type InboxWebhookList, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdatedExtractorJob, type UpdatedExtractorJobScope, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type WorkerCreated, type WorkerCreatedSchema, type WorkerList, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorJobScopeMutationFetcher, getUpdateExtractorJobScopeMutationKey, getUpdateExtractorJobScopeUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };
|