@avallon-labs/sdk 23.5.0 → 23.7.0-staging.522
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 +278 -165
- package/dist/index.js +51 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2742,6 +2742,41 @@ interface WorkerRun {
|
|
|
2742
2742
|
|
|
2743
2743
|
type GetWorkerRunResponse = WorkerRun;
|
|
2744
2744
|
|
|
2745
|
+
/**
|
|
2746
|
+
* Generated by orval v8.1.0 🍺
|
|
2747
|
+
* Do not edit manually.
|
|
2748
|
+
* Avallon API
|
|
2749
|
+
* OpenAPI spec version: 1.0.0
|
|
2750
|
+
*/
|
|
2751
|
+
type WorkerToolSchema = {
|
|
2752
|
+
[key: string]: unknown;
|
|
2753
|
+
};
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* Generated by orval v8.1.0 🍺
|
|
2757
|
+
* Do not edit manually.
|
|
2758
|
+
* Avallon API
|
|
2759
|
+
* OpenAPI spec version: 1.0.0
|
|
2760
|
+
*/
|
|
2761
|
+
|
|
2762
|
+
interface WorkerTool {
|
|
2763
|
+
id: string;
|
|
2764
|
+
name: string;
|
|
2765
|
+
description: string;
|
|
2766
|
+
schema: WorkerToolSchema;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* Generated by orval v8.1.0 🍺
|
|
2771
|
+
* Do not edit manually.
|
|
2772
|
+
* Avallon API
|
|
2773
|
+
* OpenAPI spec version: 1.0.0
|
|
2774
|
+
*/
|
|
2775
|
+
|
|
2776
|
+
interface GetWorkerToolResponse {
|
|
2777
|
+
tool: WorkerTool;
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2745
2780
|
/**
|
|
2746
2781
|
* Generated by orval v8.1.0 🍺
|
|
2747
2782
|
* Do not edit manually.
|
|
@@ -4582,6 +4617,8 @@ type UpdateWorkerBody = {
|
|
|
4582
4617
|
/** @minLength 1 */
|
|
4583
4618
|
name?: string;
|
|
4584
4619
|
schema?: UpdateWorkerBodySchema;
|
|
4620
|
+
/** Replace the worker's attached tool set. Omit to leave unchanged; pass [] to clear. */
|
|
4621
|
+
tools?: string[];
|
|
4585
4622
|
};
|
|
4586
4623
|
|
|
4587
4624
|
/**
|
|
@@ -4788,6 +4825,7 @@ interface Worker {
|
|
|
4788
4825
|
created_at: string;
|
|
4789
4826
|
updated_at: string;
|
|
4790
4827
|
schema: WorkerSchema;
|
|
4828
|
+
tool_ids: string[];
|
|
4791
4829
|
}
|
|
4792
4830
|
|
|
4793
4831
|
/**
|
|
@@ -4905,6 +4943,29 @@ interface WorkerRunMessage {
|
|
|
4905
4943
|
|
|
4906
4944
|
type WorkerRunMessageList = WorkerRunMessage[];
|
|
4907
4945
|
|
|
4946
|
+
/**
|
|
4947
|
+
* Generated by orval v8.1.0 🍺
|
|
4948
|
+
* Do not edit manually.
|
|
4949
|
+
* Avallon API
|
|
4950
|
+
* OpenAPI spec version: 1.0.0
|
|
4951
|
+
*/
|
|
4952
|
+
interface WorkerToolSummary {
|
|
4953
|
+
id: string;
|
|
4954
|
+
name: string;
|
|
4955
|
+
description: string;
|
|
4956
|
+
}
|
|
4957
|
+
|
|
4958
|
+
/**
|
|
4959
|
+
* Generated by orval v8.1.0 🍺
|
|
4960
|
+
* Do not edit manually.
|
|
4961
|
+
* Avallon API
|
|
4962
|
+
* OpenAPI spec version: 1.0.0
|
|
4963
|
+
*/
|
|
4964
|
+
|
|
4965
|
+
interface WorkerToolList {
|
|
4966
|
+
tools: WorkerToolSummary[];
|
|
4967
|
+
}
|
|
4968
|
+
|
|
4908
4969
|
/**
|
|
4909
4970
|
* Generated by orval v8.1.0 🍺
|
|
4910
4971
|
* Do not edit manually.
|
|
@@ -4914,7 +4975,7 @@ type WorkerRunMessageList = WorkerRunMessage[];
|
|
|
4914
4975
|
|
|
4915
4976
|
type WorkerWebhookList = Webhook[];
|
|
4916
4977
|
|
|
4917
|
-
type SecondParameter$
|
|
4978
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4918
4979
|
/**
|
|
4919
4980
|
* List all API keys for your tenant.
|
|
4920
4981
|
|
|
@@ -4935,7 +4996,7 @@ declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListA
|
|
|
4935
4996
|
swrKey?: Key;
|
|
4936
4997
|
enabled?: boolean;
|
|
4937
4998
|
};
|
|
4938
|
-
request?: SecondParameter$
|
|
4999
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
4939
5000
|
}) => {
|
|
4940
5001
|
data: ApiKeyList | undefined;
|
|
4941
5002
|
error: TError | undefined;
|
|
@@ -4954,7 +5015,7 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
4954
5015
|
*/
|
|
4955
5016
|
declare const getCreateApiKeyUrl: () => string;
|
|
4956
5017
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
4957
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
5018
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
4958
5019
|
arg: CreateApiKeyBody;
|
|
4959
5020
|
}) => Promise<ApiKeyCreated>;
|
|
4960
5021
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
@@ -4966,7 +5027,7 @@ declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4966
5027
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
|
|
4967
5028
|
swrKey?: string;
|
|
4968
5029
|
};
|
|
4969
|
-
request?: SecondParameter$
|
|
5030
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
4970
5031
|
}) => {
|
|
4971
5032
|
isMutating: boolean;
|
|
4972
5033
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -4985,7 +5046,7 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
4985
5046
|
*/
|
|
4986
5047
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
4987
5048
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
4988
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
5049
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, __: {
|
|
4989
5050
|
arg: Arguments;
|
|
4990
5051
|
}) => Promise<ConfirmationResponse>;
|
|
4991
5052
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
@@ -4997,7 +5058,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
4997
5058
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
|
|
4998
5059
|
swrKey?: string;
|
|
4999
5060
|
};
|
|
5000
|
-
request?: SecondParameter$
|
|
5061
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
5001
5062
|
}) => {
|
|
5002
5063
|
isMutating: boolean;
|
|
5003
5064
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -5007,7 +5068,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
5007
5068
|
swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
|
|
5008
5069
|
};
|
|
5009
5070
|
|
|
5010
|
-
type SecondParameter$
|
|
5071
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5011
5072
|
/**
|
|
5012
5073
|
* Upload a document as a base64-encoded artifact for processing.
|
|
5013
5074
|
|
|
@@ -5023,7 +5084,7 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
5023
5084
|
*/
|
|
5024
5085
|
declare const getCreateArtifactUrl: () => string;
|
|
5025
5086
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
5026
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
5087
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
5027
5088
|
arg: CreateArtifactBody;
|
|
5028
5089
|
}) => Promise<ArtifactCreated>;
|
|
5029
5090
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
@@ -5035,7 +5096,7 @@ declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5035
5096
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited<ReturnType<typeof createArtifact>>> & {
|
|
5036
5097
|
swrKey?: string;
|
|
5037
5098
|
};
|
|
5038
|
-
request?: SecondParameter$
|
|
5099
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5039
5100
|
}) => {
|
|
5040
5101
|
isMutating: boolean;
|
|
5041
5102
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -5068,7 +5129,7 @@ declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: Lis
|
|
|
5068
5129
|
swrKey?: Key;
|
|
5069
5130
|
enabled?: boolean;
|
|
5070
5131
|
};
|
|
5071
|
-
request?: SecondParameter$
|
|
5132
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5072
5133
|
}) => {
|
|
5073
5134
|
data: ArtifactList | undefined;
|
|
5074
5135
|
error: TError | undefined;
|
|
@@ -5093,7 +5154,7 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
5093
5154
|
swrKey?: Key;
|
|
5094
5155
|
enabled?: boolean;
|
|
5095
5156
|
};
|
|
5096
|
-
request?: SecondParameter$
|
|
5157
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5097
5158
|
}) => {
|
|
5098
5159
|
data: ArtifactDetail | undefined;
|
|
5099
5160
|
error: TError | undefined;
|
|
@@ -5118,7 +5179,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
5118
5179
|
swrKey?: Key;
|
|
5119
5180
|
enabled?: boolean;
|
|
5120
5181
|
};
|
|
5121
|
-
request?: SecondParameter$
|
|
5182
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5122
5183
|
}) => {
|
|
5123
5184
|
data: ArtifactMetadataKeys | undefined;
|
|
5124
5185
|
error: TError | undefined;
|
|
@@ -5133,7 +5194,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
5133
5194
|
*/
|
|
5134
5195
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
5135
5196
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
5136
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
5197
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
5137
5198
|
arg: GetArtifactUploadUrlBody;
|
|
5138
5199
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
5139
5200
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
@@ -5145,7 +5206,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
5145
5206
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
5146
5207
|
swrKey?: string;
|
|
5147
5208
|
};
|
|
5148
|
-
request?: SecondParameter$
|
|
5209
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5149
5210
|
}) => {
|
|
5150
5211
|
isMutating: boolean;
|
|
5151
5212
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -5160,7 +5221,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
5160
5221
|
*/
|
|
5161
5222
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
5162
5223
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
5163
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
5224
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
5164
5225
|
arg: UpdateArtifactMetadataBody;
|
|
5165
5226
|
}) => Promise<ArtifactDetail>;
|
|
5166
5227
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
@@ -5172,7 +5233,7 @@ declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
5172
5233
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
5173
5234
|
swrKey?: string;
|
|
5174
5235
|
};
|
|
5175
|
-
request?: SecondParameter$
|
|
5236
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5176
5237
|
}) => {
|
|
5177
5238
|
isMutating: boolean;
|
|
5178
5239
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -5189,7 +5250,7 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
5189
5250
|
*/
|
|
5190
5251
|
declare const getUploadFileUrl: () => string;
|
|
5191
5252
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
5192
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
5253
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
5193
5254
|
arg: UploadFileBody;
|
|
5194
5255
|
}) => Promise<UploadFileResponse>;
|
|
5195
5256
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
@@ -5201,7 +5262,7 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5201
5262
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited<ReturnType<typeof uploadFile>>> & {
|
|
5202
5263
|
swrKey?: string;
|
|
5203
5264
|
};
|
|
5204
|
-
request?: SecondParameter$
|
|
5265
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5205
5266
|
}) => {
|
|
5206
5267
|
isMutating: boolean;
|
|
5207
5268
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -5211,14 +5272,14 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5211
5272
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
5212
5273
|
};
|
|
5213
5274
|
|
|
5214
|
-
type SecondParameter$
|
|
5275
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5215
5276
|
/**
|
|
5216
5277
|
* Create a new user account with email and password.
|
|
5217
5278
|
* @summary Sign up
|
|
5218
5279
|
*/
|
|
5219
5280
|
declare const getSignUpUrl: () => string;
|
|
5220
5281
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
|
|
5221
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
5282
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$k<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
5222
5283
|
arg: SignUpBody;
|
|
5223
5284
|
}) => Promise<EmptyResponse>;
|
|
5224
5285
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
@@ -5230,7 +5291,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5230
5291
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited<ReturnType<typeof signUp>>> & {
|
|
5231
5292
|
swrKey?: string;
|
|
5232
5293
|
};
|
|
5233
|
-
request?: SecondParameter$
|
|
5294
|
+
request?: SecondParameter$k<typeof customFetchNoAuth>;
|
|
5234
5295
|
}) => {
|
|
5235
5296
|
isMutating: boolean;
|
|
5236
5297
|
trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -5249,7 +5310,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5249
5310
|
*/
|
|
5250
5311
|
declare const getSignInUrl: () => string;
|
|
5251
5312
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
5252
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
5313
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$k<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
5253
5314
|
arg: SignInBody;
|
|
5254
5315
|
}) => Promise<AuthTokens>;
|
|
5255
5316
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
@@ -5261,7 +5322,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5261
5322
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited<ReturnType<typeof signIn>>> & {
|
|
5262
5323
|
swrKey?: string;
|
|
5263
5324
|
};
|
|
5264
|
-
request?: SecondParameter$
|
|
5325
|
+
request?: SecondParameter$k<typeof customFetchNoAuth>;
|
|
5265
5326
|
}) => {
|
|
5266
5327
|
isMutating: boolean;
|
|
5267
5328
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -5276,7 +5337,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5276
5337
|
*/
|
|
5277
5338
|
declare const getRefreshTokenUrl: () => string;
|
|
5278
5339
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
5279
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
5340
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$k<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
5280
5341
|
arg: RefreshTokenBody;
|
|
5281
5342
|
}) => Promise<AuthTokens>;
|
|
5282
5343
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
@@ -5288,7 +5349,7 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5288
5349
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited<ReturnType<typeof refreshToken>>> & {
|
|
5289
5350
|
swrKey?: string;
|
|
5290
5351
|
};
|
|
5291
|
-
request?: SecondParameter$
|
|
5352
|
+
request?: SecondParameter$k<typeof customFetchNoAuth>;
|
|
5292
5353
|
}) => {
|
|
5293
5354
|
isMutating: boolean;
|
|
5294
5355
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -5313,7 +5374,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
5313
5374
|
swrKey?: Key;
|
|
5314
5375
|
enabled?: boolean;
|
|
5315
5376
|
};
|
|
5316
|
-
request?: SecondParameter$
|
|
5377
|
+
request?: SecondParameter$k<typeof customFetchNoAuth>;
|
|
5317
5378
|
}) => {
|
|
5318
5379
|
data: OAuthUrl | undefined;
|
|
5319
5380
|
error: TError | undefined;
|
|
@@ -5332,7 +5393,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
5332
5393
|
*/
|
|
5333
5394
|
declare const getGetSessionTokenUrl: () => string;
|
|
5334
5395
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
5335
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
5396
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$k<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
5336
5397
|
arg: GetSessionTokenBody;
|
|
5337
5398
|
}) => Promise<GetSessionToken200>;
|
|
5338
5399
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
@@ -5344,7 +5405,7 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
5344
5405
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited<ReturnType<typeof getSessionToken>>> & {
|
|
5345
5406
|
swrKey?: string;
|
|
5346
5407
|
};
|
|
5347
|
-
request?: SecondParameter$
|
|
5408
|
+
request?: SecondParameter$k<typeof customFetchNoAuth>;
|
|
5348
5409
|
}) => {
|
|
5349
5410
|
isMutating: boolean;
|
|
5350
5411
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -5354,14 +5415,14 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
5354
5415
|
swrKey: string | readonly ["/v1/auth/session"];
|
|
5355
5416
|
};
|
|
5356
5417
|
|
|
5357
|
-
type SecondParameter$
|
|
5418
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5358
5419
|
/**
|
|
5359
5420
|
* Create feedback for a specific message in a call. Requires user (JWT) authentication; the author is derived from the authenticated user's profile and API-key callers are rejected.
|
|
5360
5421
|
* @summary Create feedback on a call message
|
|
5361
5422
|
*/
|
|
5362
5423
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
5363
5424
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
5364
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
5425
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
5365
5426
|
arg: CreateFeedbackRequest;
|
|
5366
5427
|
}) => Promise<Feedback>;
|
|
5367
5428
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
@@ -5373,7 +5434,7 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
5373
5434
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited<ReturnType<typeof createCallFeedback>>> & {
|
|
5374
5435
|
swrKey?: string;
|
|
5375
5436
|
};
|
|
5376
|
-
request?: SecondParameter$
|
|
5437
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
5377
5438
|
}) => {
|
|
5378
5439
|
isMutating: boolean;
|
|
5379
5440
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -5398,7 +5459,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
5398
5459
|
swrKey?: Key;
|
|
5399
5460
|
enabled?: boolean;
|
|
5400
5461
|
};
|
|
5401
|
-
request?: SecondParameter$
|
|
5462
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
5402
5463
|
}) => {
|
|
5403
5464
|
data: Feedback[] | undefined;
|
|
5404
5465
|
error: TError | undefined;
|
|
@@ -5413,7 +5474,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
5413
5474
|
*/
|
|
5414
5475
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
5415
5476
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
5416
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
5477
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, __: {
|
|
5417
5478
|
arg: Arguments;
|
|
5418
5479
|
}) => Promise<null>;
|
|
5419
5480
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
@@ -5425,7 +5486,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
5425
5486
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteCallFeedback>>> & {
|
|
5426
5487
|
swrKey?: string;
|
|
5427
5488
|
};
|
|
5428
|
-
request?: SecondParameter$
|
|
5489
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
5429
5490
|
}) => {
|
|
5430
5491
|
isMutating: boolean;
|
|
5431
5492
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -5435,7 +5496,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
5435
5496
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
5436
5497
|
};
|
|
5437
5498
|
|
|
5438
|
-
type SecondParameter$
|
|
5499
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5439
5500
|
/**
|
|
5440
5501
|
* List all calls, with pagination, filtering, and sorting.
|
|
5441
5502
|
|
|
@@ -5456,7 +5517,7 @@ declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCal
|
|
|
5456
5517
|
swrKey?: Key;
|
|
5457
5518
|
enabled?: boolean;
|
|
5458
5519
|
};
|
|
5459
|
-
request?: SecondParameter$
|
|
5520
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
5460
5521
|
}) => {
|
|
5461
5522
|
data: CallList | undefined;
|
|
5462
5523
|
error: TError | undefined;
|
|
@@ -5483,7 +5544,7 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
5483
5544
|
swrKey?: Key;
|
|
5484
5545
|
enabled?: boolean;
|
|
5485
5546
|
};
|
|
5486
|
-
request?: SecondParameter$
|
|
5547
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
5487
5548
|
}) => {
|
|
5488
5549
|
data: CallDetail | undefined;
|
|
5489
5550
|
error: TError | undefined;
|
|
@@ -5508,7 +5569,7 @@ declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: stri
|
|
|
5508
5569
|
swrKey?: Key;
|
|
5509
5570
|
enabled?: boolean;
|
|
5510
5571
|
};
|
|
5511
|
-
request?: SecondParameter$
|
|
5572
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
5512
5573
|
}) => {
|
|
5513
5574
|
data: CallEvaluation | undefined;
|
|
5514
5575
|
error: TError | undefined;
|
|
@@ -5535,7 +5596,7 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
5535
5596
|
swrKey?: Key;
|
|
5536
5597
|
enabled?: boolean;
|
|
5537
5598
|
};
|
|
5538
|
-
request?: SecondParameter$
|
|
5599
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
5539
5600
|
}) => {
|
|
5540
5601
|
data: CallAnalytics | undefined;
|
|
5541
5602
|
error: TError | undefined;
|
|
@@ -5545,7 +5606,7 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
5545
5606
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5546
5607
|
};
|
|
5547
5608
|
|
|
5548
|
-
type SecondParameter$
|
|
5609
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5549
5610
|
/**
|
|
5550
5611
|
* List all cases for the current tenant, paginated and sortable.
|
|
5551
5612
|
* @summary List cases
|
|
@@ -5562,7 +5623,7 @@ declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCas
|
|
|
5562
5623
|
swrKey?: Key;
|
|
5563
5624
|
enabled?: boolean;
|
|
5564
5625
|
};
|
|
5565
|
-
request?: SecondParameter$
|
|
5626
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
5566
5627
|
}) => {
|
|
5567
5628
|
data: CaseList | undefined;
|
|
5568
5629
|
error: TError | undefined;
|
|
@@ -5572,14 +5633,14 @@ declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCas
|
|
|
5572
5633
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5573
5634
|
};
|
|
5574
5635
|
|
|
5575
|
-
type SecondParameter$
|
|
5636
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5576
5637
|
/**
|
|
5577
5638
|
* Create a new chat agent with a name and prompt.
|
|
5578
5639
|
* @summary Create chat agent
|
|
5579
5640
|
*/
|
|
5580
5641
|
declare const getCreateChatAgentUrl: () => string;
|
|
5581
5642
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<ChatAgentCreated>;
|
|
5582
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
5643
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
5583
5644
|
arg: CreateChatAgentBody;
|
|
5584
5645
|
}) => Promise<ChatAgentCreated>;
|
|
5585
5646
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
@@ -5591,7 +5652,7 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
5591
5652
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited<ReturnType<typeof createChatAgent>>> & {
|
|
5592
5653
|
swrKey?: string;
|
|
5593
5654
|
};
|
|
5594
|
-
request?: SecondParameter$
|
|
5655
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
5595
5656
|
}) => {
|
|
5596
5657
|
isMutating: boolean;
|
|
5597
5658
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentCreated, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -5616,7 +5677,7 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
5616
5677
|
swrKey?: Key;
|
|
5617
5678
|
enabled?: boolean;
|
|
5618
5679
|
};
|
|
5619
|
-
request?: SecondParameter$
|
|
5680
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
5620
5681
|
}) => {
|
|
5621
5682
|
data: ChatAgentList | undefined;
|
|
5622
5683
|
error: TError | undefined;
|
|
@@ -5641,7 +5702,7 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
5641
5702
|
swrKey?: Key;
|
|
5642
5703
|
enabled?: boolean;
|
|
5643
5704
|
};
|
|
5644
|
-
request?: SecondParameter$
|
|
5705
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
5645
5706
|
}) => {
|
|
5646
5707
|
data: ChatAgent | undefined;
|
|
5647
5708
|
error: TError | undefined;
|
|
@@ -5656,7 +5717,7 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
5656
5717
|
*/
|
|
5657
5718
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
5658
5719
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<ChatAgent>;
|
|
5659
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
5720
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
5660
5721
|
arg: UpdateChatAgentRequest;
|
|
5661
5722
|
}) => Promise<ChatAgent>;
|
|
5662
5723
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
@@ -5668,7 +5729,7 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
5668
5729
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited<ReturnType<typeof updateChatAgent>>> & {
|
|
5669
5730
|
swrKey?: string;
|
|
5670
5731
|
};
|
|
5671
|
-
request?: SecondParameter$
|
|
5732
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
5672
5733
|
}) => {
|
|
5673
5734
|
isMutating: boolean;
|
|
5674
5735
|
trigger: swr_mutation.TriggerWithArgs<ChatAgent, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -5678,14 +5739,14 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
5678
5739
|
swrKey: string | readonly [`/v1/chat-agents/${string}`];
|
|
5679
5740
|
};
|
|
5680
5741
|
|
|
5681
|
-
type SecondParameter$
|
|
5742
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5682
5743
|
/**
|
|
5683
5744
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
5684
5745
|
* @summary Create a chat
|
|
5685
5746
|
*/
|
|
5686
5747
|
declare const getCreateChatUrl: () => string;
|
|
5687
5748
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<ChatCreated>;
|
|
5688
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
5749
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
5689
5750
|
arg: CreateChatBody;
|
|
5690
5751
|
}) => Promise<ChatCreated>;
|
|
5691
5752
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
@@ -5697,7 +5758,7 @@ declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5697
5758
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited<ReturnType<typeof createChat>>> & {
|
|
5698
5759
|
swrKey?: string;
|
|
5699
5760
|
};
|
|
5700
|
-
request?: SecondParameter$
|
|
5761
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
5701
5762
|
}) => {
|
|
5702
5763
|
isMutating: boolean;
|
|
5703
5764
|
trigger: swr_mutation.TriggerWithArgs<ChatCreated, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -5722,7 +5783,7 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
5722
5783
|
swrKey?: Key;
|
|
5723
5784
|
enabled?: boolean;
|
|
5724
5785
|
};
|
|
5725
|
-
request?: SecondParameter$
|
|
5786
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
5726
5787
|
}) => {
|
|
5727
5788
|
data: ChatHistory | undefined;
|
|
5728
5789
|
error: TError | undefined;
|
|
@@ -5737,7 +5798,7 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
5737
5798
|
*/
|
|
5738
5799
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
5739
5800
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<ChatMessageCreated>;
|
|
5740
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
5801
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
5741
5802
|
arg: PostChatMessageBody;
|
|
5742
5803
|
}) => Promise<ChatMessageCreated>;
|
|
5743
5804
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
@@ -5749,7 +5810,7 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
5749
5810
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited<ReturnType<typeof postChatMessage>>> & {
|
|
5750
5811
|
swrKey?: string;
|
|
5751
5812
|
};
|
|
5752
|
-
request?: SecondParameter$
|
|
5813
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
5753
5814
|
}) => {
|
|
5754
5815
|
isMutating: boolean;
|
|
5755
5816
|
trigger: swr_mutation.TriggerWithArgs<ChatMessageCreated, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -5774,7 +5835,7 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
5774
5835
|
swrKey?: Key;
|
|
5775
5836
|
enabled?: boolean;
|
|
5776
5837
|
};
|
|
5777
|
-
request?: SecondParameter$
|
|
5838
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
5778
5839
|
}) => {
|
|
5779
5840
|
data: ChatList | undefined;
|
|
5780
5841
|
error: TError | undefined;
|
|
@@ -5799,7 +5860,7 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
5799
5860
|
swrKey?: Key;
|
|
5800
5861
|
enabled?: boolean;
|
|
5801
5862
|
};
|
|
5802
|
-
request?: SecondParameter$
|
|
5863
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
5803
5864
|
}) => {
|
|
5804
5865
|
data: ChatMessageList | undefined;
|
|
5805
5866
|
error: TError | undefined;
|
|
@@ -5809,14 +5870,14 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
5809
5870
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5810
5871
|
};
|
|
5811
5872
|
|
|
5812
|
-
type SecondParameter$
|
|
5873
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5813
5874
|
/**
|
|
5814
5875
|
* Create a new empty claim. Returns the claim ID and the creation timestamp.
|
|
5815
5876
|
* @summary Create claim
|
|
5816
5877
|
*/
|
|
5817
5878
|
declare const getCreateClaimUrl: () => string;
|
|
5818
5879
|
declare const createClaim: (options?: RequestInit) => Promise<ClaimCreated>;
|
|
5819
|
-
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$
|
|
5880
|
+
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, __: {
|
|
5820
5881
|
arg: Arguments;
|
|
5821
5882
|
}) => Promise<ClaimCreated>;
|
|
5822
5883
|
declare const getCreateClaimMutationKey: () => readonly ["/v1/claims"];
|
|
@@ -5828,7 +5889,7 @@ declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5828
5889
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited<ReturnType<typeof createClaim>>> & {
|
|
5829
5890
|
swrKey?: string;
|
|
5830
5891
|
};
|
|
5831
|
-
request?: SecondParameter$
|
|
5892
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
5832
5893
|
}) => {
|
|
5833
5894
|
isMutating: boolean;
|
|
5834
5895
|
trigger: swr_mutation.TriggerWithOptionsArgs<ClaimCreated, TError, string | readonly ["/v1/claims"], Arguments>;
|
|
@@ -5853,7 +5914,7 @@ declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListCl
|
|
|
5853
5914
|
swrKey?: Key;
|
|
5854
5915
|
enabled?: boolean;
|
|
5855
5916
|
};
|
|
5856
|
-
request?: SecondParameter$
|
|
5917
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
5857
5918
|
}) => {
|
|
5858
5919
|
data: ClaimList | undefined;
|
|
5859
5920
|
error: TError | undefined;
|
|
@@ -5878,7 +5939,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
5878
5939
|
swrKey?: Key;
|
|
5879
5940
|
enabled?: boolean;
|
|
5880
5941
|
};
|
|
5881
|
-
request?: SecondParameter$
|
|
5942
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
5882
5943
|
}) => {
|
|
5883
5944
|
data: ClaimDetail | undefined;
|
|
5884
5945
|
error: TError | undefined;
|
|
@@ -5888,7 +5949,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
5888
5949
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
5889
5950
|
};
|
|
5890
5951
|
|
|
5891
|
-
type SecondParameter$
|
|
5952
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5892
5953
|
/**
|
|
5893
5954
|
* Ingest an email into the system.
|
|
5894
5955
|
|
|
@@ -5897,7 +5958,7 @@ Optionally associate the email with an existing claim via `claim_id`.
|
|
|
5897
5958
|
*/
|
|
5898
5959
|
declare const getCreateEmailUrl: () => string;
|
|
5899
5960
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
|
|
5900
|
-
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$
|
|
5961
|
+
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
5901
5962
|
arg: CreateEmailBody;
|
|
5902
5963
|
}) => Promise<EmailCreated>;
|
|
5903
5964
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
@@ -5909,7 +5970,7 @@ declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5909
5970
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited<ReturnType<typeof createEmail>>> & {
|
|
5910
5971
|
swrKey?: string;
|
|
5911
5972
|
};
|
|
5912
|
-
request?: SecondParameter$
|
|
5973
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
5913
5974
|
}) => {
|
|
5914
5975
|
isMutating: boolean;
|
|
5915
5976
|
trigger: swr_mutation.TriggerWithArgs<EmailCreated, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
|
|
@@ -5938,7 +5999,7 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
|
|
|
5938
5999
|
swrKey?: Key;
|
|
5939
6000
|
enabled?: boolean;
|
|
5940
6001
|
};
|
|
5941
|
-
request?: SecondParameter$
|
|
6002
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
5942
6003
|
}) => {
|
|
5943
6004
|
data: EmailList | undefined;
|
|
5944
6005
|
error: TError | undefined;
|
|
@@ -5963,7 +6024,7 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
5963
6024
|
swrKey?: Key;
|
|
5964
6025
|
enabled?: boolean;
|
|
5965
6026
|
};
|
|
5966
|
-
request?: SecondParameter$
|
|
6027
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
5967
6028
|
}) => {
|
|
5968
6029
|
data: EmailDetail | undefined;
|
|
5969
6030
|
error: TError | undefined;
|
|
@@ -5988,7 +6049,7 @@ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
5988
6049
|
swrKey?: Key;
|
|
5989
6050
|
enabled?: boolean;
|
|
5990
6051
|
};
|
|
5991
|
-
request?: SecondParameter$
|
|
6052
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
5992
6053
|
}) => {
|
|
5993
6054
|
data: EmailThreadList | undefined;
|
|
5994
6055
|
error: TError | undefined;
|
|
@@ -6003,7 +6064,7 @@ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
6003
6064
|
*/
|
|
6004
6065
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
6005
6066
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<EmailReplyResult>;
|
|
6006
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
6067
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
6007
6068
|
arg: ReplyToEmailBody;
|
|
6008
6069
|
}) => Promise<{
|
|
6009
6070
|
readonly sent: true;
|
|
@@ -6017,7 +6078,7 @@ declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: stri
|
|
|
6017
6078
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited<ReturnType<typeof replyToEmail>>> & {
|
|
6018
6079
|
swrKey?: string;
|
|
6019
6080
|
};
|
|
6020
|
-
request?: SecondParameter$
|
|
6081
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
6021
6082
|
}) => {
|
|
6022
6083
|
isMutating: boolean;
|
|
6023
6084
|
trigger: swr_mutation.TriggerWithArgs<{
|
|
@@ -6036,7 +6097,7 @@ declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: stri
|
|
|
6036
6097
|
*/
|
|
6037
6098
|
declare const getSendEmailUrl: () => string;
|
|
6038
6099
|
declare const sendEmail: (sendEmailBody: SendEmailBody, options?: RequestInit) => Promise<EmailSendResult>;
|
|
6039
|
-
declare const getSendEmailMutationFetcher: (options?: SecondParameter$
|
|
6100
|
+
declare const getSendEmailMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
6040
6101
|
arg: SendEmailBody;
|
|
6041
6102
|
}) => Promise<EmailSendResult>;
|
|
6042
6103
|
declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
|
|
@@ -6048,7 +6109,7 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6048
6109
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited<ReturnType<typeof sendEmail>>> & {
|
|
6049
6110
|
swrKey?: string;
|
|
6050
6111
|
};
|
|
6051
|
-
request?: SecondParameter$
|
|
6112
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
6052
6113
|
}) => {
|
|
6053
6114
|
isMutating: boolean;
|
|
6054
6115
|
trigger: swr_mutation.TriggerWithArgs<EmailSendResult, TError, string | readonly ["/v1/emails/send"], SendEmailBody>;
|
|
@@ -6058,7 +6119,7 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6058
6119
|
swrKey: string | readonly ["/v1/emails/send"];
|
|
6059
6120
|
};
|
|
6060
6121
|
|
|
6061
|
-
type SecondParameter$
|
|
6122
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6062
6123
|
/**
|
|
6063
6124
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
6064
6125
|
|
|
@@ -6084,7 +6145,7 @@ declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
6084
6145
|
swrKey?: Key;
|
|
6085
6146
|
enabled?: boolean;
|
|
6086
6147
|
};
|
|
6087
|
-
request?: SecondParameter$
|
|
6148
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
6088
6149
|
}) => {
|
|
6089
6150
|
data: ExtractorJobList | undefined;
|
|
6090
6151
|
error: TError | undefined;
|
|
@@ -6101,7 +6162,7 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
6101
6162
|
*/
|
|
6102
6163
|
declare const getCreateExtractorJobUrl: () => string;
|
|
6103
6164
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<ExtractorJobCreated>;
|
|
6104
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
6165
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
6105
6166
|
arg: CreateExtractorJobBody;
|
|
6106
6167
|
}) => Promise<ExtractorJobCreated>;
|
|
6107
6168
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
@@ -6113,7 +6174,7 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
6113
6174
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited<ReturnType<typeof createExtractorJob>>> & {
|
|
6114
6175
|
swrKey?: string;
|
|
6115
6176
|
};
|
|
6116
|
-
request?: SecondParameter$
|
|
6177
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
6117
6178
|
}) => {
|
|
6118
6179
|
isMutating: boolean;
|
|
6119
6180
|
trigger: swr_mutation.TriggerWithArgs<ExtractorJobCreated, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -6138,7 +6199,7 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
6138
6199
|
swrKey?: Key;
|
|
6139
6200
|
enabled?: boolean;
|
|
6140
6201
|
};
|
|
6141
|
-
request?: SecondParameter$
|
|
6202
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
6142
6203
|
}) => {
|
|
6143
6204
|
data: GetExtractorJobResponse | undefined;
|
|
6144
6205
|
error: TError | undefined;
|
|
@@ -6148,14 +6209,14 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
6148
6209
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6149
6210
|
};
|
|
6150
6211
|
|
|
6151
|
-
type SecondParameter$
|
|
6212
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6152
6213
|
/**
|
|
6153
6214
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
6154
6215
|
* @summary Create extractor
|
|
6155
6216
|
*/
|
|
6156
6217
|
declare const getCreateExtractorUrl: () => string;
|
|
6157
6218
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<ExtractorCreated>;
|
|
6158
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
6219
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
6159
6220
|
arg: CreateExtractorBody;
|
|
6160
6221
|
}) => Promise<ExtractorCreated>;
|
|
6161
6222
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
@@ -6167,7 +6228,7 @@ declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
6167
6228
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited<ReturnType<typeof createExtractor>>> & {
|
|
6168
6229
|
swrKey?: string;
|
|
6169
6230
|
};
|
|
6170
|
-
request?: SecondParameter$
|
|
6231
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
6171
6232
|
}) => {
|
|
6172
6233
|
isMutating: boolean;
|
|
6173
6234
|
trigger: swr_mutation.TriggerWithArgs<ExtractorCreated, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -6194,7 +6255,7 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
6194
6255
|
swrKey?: Key;
|
|
6195
6256
|
enabled?: boolean;
|
|
6196
6257
|
};
|
|
6197
|
-
request?: SecondParameter$
|
|
6258
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
6198
6259
|
}) => {
|
|
6199
6260
|
data: ExtractorList | undefined;
|
|
6200
6261
|
error: TError | undefined;
|
|
@@ -6219,7 +6280,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6219
6280
|
swrKey?: Key;
|
|
6220
6281
|
enabled?: boolean;
|
|
6221
6282
|
};
|
|
6222
|
-
request?: SecondParameter$
|
|
6283
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
6223
6284
|
}) => {
|
|
6224
6285
|
data: GetExtractorResponse | undefined;
|
|
6225
6286
|
error: TError | undefined;
|
|
@@ -6234,7 +6295,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6234
6295
|
*/
|
|
6235
6296
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
6236
6297
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<ExtractorUpdated>;
|
|
6237
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
6298
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
6238
6299
|
arg: UpdateExtractorBody;
|
|
6239
6300
|
}) => Promise<ExtractorUpdated>;
|
|
6240
6301
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
@@ -6246,7 +6307,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
6246
6307
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited<ReturnType<typeof updateExtractor>>> & {
|
|
6247
6308
|
swrKey?: string;
|
|
6248
6309
|
};
|
|
6249
|
-
request?: SecondParameter$
|
|
6310
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
6250
6311
|
}) => {
|
|
6251
6312
|
isMutating: boolean;
|
|
6252
6313
|
trigger: swr_mutation.TriggerWithArgs<ExtractorUpdated, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -6256,7 +6317,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
6256
6317
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
6257
6318
|
};
|
|
6258
6319
|
|
|
6259
|
-
type SecondParameter$
|
|
6320
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6260
6321
|
/**
|
|
6261
6322
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
6262
6323
|
* @summary Get extract
|
|
@@ -6273,7 +6334,7 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
6273
6334
|
swrKey?: Key;
|
|
6274
6335
|
enabled?: boolean;
|
|
6275
6336
|
};
|
|
6276
|
-
request?: SecondParameter$
|
|
6337
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
6277
6338
|
}) => {
|
|
6278
6339
|
data: Extract | undefined;
|
|
6279
6340
|
error: TError | undefined;
|
|
@@ -6298,7 +6359,7 @@ declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: st
|
|
|
6298
6359
|
swrKey?: Key;
|
|
6299
6360
|
enabled?: boolean;
|
|
6300
6361
|
};
|
|
6301
|
-
request?: SecondParameter$
|
|
6362
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
6302
6363
|
}) => {
|
|
6303
6364
|
data: GetExtractCitations200 | undefined;
|
|
6304
6365
|
error: TError | undefined;
|
|
@@ -6330,7 +6391,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
6330
6391
|
swrKey?: Key;
|
|
6331
6392
|
enabled?: boolean;
|
|
6332
6393
|
};
|
|
6333
|
-
request?: SecondParameter$
|
|
6394
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
6334
6395
|
}) => {
|
|
6335
6396
|
data: ExtractList | undefined;
|
|
6336
6397
|
error: TError | undefined;
|
|
@@ -6340,7 +6401,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
6340
6401
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6341
6402
|
};
|
|
6342
6403
|
|
|
6343
|
-
type SecondParameter$
|
|
6404
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6344
6405
|
/**
|
|
6345
6406
|
* Check whether a given email username is available for creating a new inbox.
|
|
6346
6407
|
|
|
@@ -6360,7 +6421,7 @@ declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(par
|
|
|
6360
6421
|
swrKey?: Key;
|
|
6361
6422
|
enabled?: boolean;
|
|
6362
6423
|
};
|
|
6363
|
-
request?: SecondParameter$
|
|
6424
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
6364
6425
|
}) => {
|
|
6365
6426
|
data: InboxAvailability | undefined;
|
|
6366
6427
|
error: TError | undefined;
|
|
@@ -6382,7 +6443,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6382
6443
|
*/
|
|
6383
6444
|
declare const getCreateInboxUrl: () => string;
|
|
6384
6445
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
6385
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
6446
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$9<typeof customFetch>) => (_: Key, { arg }: {
|
|
6386
6447
|
arg: CreateInboxBody;
|
|
6387
6448
|
}) => Promise<Inbox>;
|
|
6388
6449
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
@@ -6394,7 +6455,7 @@ declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6394
6455
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited<ReturnType<typeof createInbox>>> & {
|
|
6395
6456
|
swrKey?: string;
|
|
6396
6457
|
};
|
|
6397
|
-
request?: SecondParameter$
|
|
6458
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
6398
6459
|
}) => {
|
|
6399
6460
|
isMutating: boolean;
|
|
6400
6461
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -6422,7 +6483,7 @@ declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListI
|
|
|
6422
6483
|
swrKey?: Key;
|
|
6423
6484
|
enabled?: boolean;
|
|
6424
6485
|
};
|
|
6425
|
-
request?: SecondParameter$
|
|
6486
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
6426
6487
|
}) => {
|
|
6427
6488
|
data: InboxList | undefined;
|
|
6428
6489
|
error: TError | undefined;
|
|
@@ -6440,7 +6501,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6440
6501
|
*/
|
|
6441
6502
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
6442
6503
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
6443
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
6504
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$9<typeof customFetch>) => (_: Key, { arg }: {
|
|
6444
6505
|
arg: UpdateInboxBody;
|
|
6445
6506
|
}) => Promise<Inbox>;
|
|
6446
6507
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
@@ -6452,7 +6513,7 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
6452
6513
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited<ReturnType<typeof updateInbox>>> & {
|
|
6453
6514
|
swrKey?: string;
|
|
6454
6515
|
};
|
|
6455
|
-
request?: SecondParameter$
|
|
6516
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
6456
6517
|
}) => {
|
|
6457
6518
|
isMutating: boolean;
|
|
6458
6519
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -6462,7 +6523,7 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
6462
6523
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
6463
6524
|
};
|
|
6464
6525
|
|
|
6465
|
-
type SecondParameter$
|
|
6526
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6466
6527
|
/**
|
|
6467
6528
|
* Schedule a new outbound call job for a voice agent.
|
|
6468
6529
|
|
|
@@ -6478,7 +6539,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6478
6539
|
*/
|
|
6479
6540
|
declare const getScheduleJobUrl: (voiceAgentId: string) => string;
|
|
6480
6541
|
declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
|
|
6481
|
-
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
6542
|
+
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
|
|
6482
6543
|
arg: ScheduleJobBody;
|
|
6483
6544
|
}) => Promise<OutboundJob>;
|
|
6484
6545
|
declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
|
|
@@ -6490,7 +6551,7 @@ declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId:
|
|
|
6490
6551
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited<ReturnType<typeof scheduleJob>>> & {
|
|
6491
6552
|
swrKey?: string;
|
|
6492
6553
|
};
|
|
6493
|
-
request?: SecondParameter$
|
|
6554
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
6494
6555
|
}) => {
|
|
6495
6556
|
isMutating: boolean;
|
|
6496
6557
|
trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
|
|
@@ -6523,7 +6584,7 @@ declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsP
|
|
|
6523
6584
|
swrKey?: Key;
|
|
6524
6585
|
enabled?: boolean;
|
|
6525
6586
|
};
|
|
6526
|
-
request?: SecondParameter$
|
|
6587
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
6527
6588
|
}) => {
|
|
6528
6589
|
data: OutboundJobList | undefined;
|
|
6529
6590
|
error: TError | undefined;
|
|
@@ -6541,7 +6602,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6541
6602
|
*/
|
|
6542
6603
|
declare const getCancelJobUrl: (jobId: string) => string;
|
|
6543
6604
|
declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<OutboundJob>;
|
|
6544
|
-
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$
|
|
6605
|
+
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, __: {
|
|
6545
6606
|
arg: Arguments;
|
|
6546
6607
|
}) => Promise<OutboundJob>;
|
|
6547
6608
|
declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
@@ -6553,7 +6614,7 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
6553
6614
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelJob>>> & {
|
|
6554
6615
|
swrKey?: string;
|
|
6555
6616
|
};
|
|
6556
|
-
request?: SecondParameter$
|
|
6617
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
6557
6618
|
}) => {
|
|
6558
6619
|
isMutating: boolean;
|
|
6559
6620
|
trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
|
|
@@ -6563,7 +6624,7 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
6563
6624
|
swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
6564
6625
|
};
|
|
6565
6626
|
|
|
6566
|
-
type SecondParameter$
|
|
6627
|
+
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6567
6628
|
/**
|
|
6568
6629
|
* Retrieve the current user's profile information. This endpoint requires a user session and cannot be used with API Keys.
|
|
6569
6630
|
* @summary Get profile
|
|
@@ -6580,7 +6641,7 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6580
6641
|
swrKey?: Key;
|
|
6581
6642
|
enabled?: boolean;
|
|
6582
6643
|
};
|
|
6583
|
-
request?: SecondParameter$
|
|
6644
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
6584
6645
|
}) => {
|
|
6585
6646
|
data: Profile | undefined;
|
|
6586
6647
|
error: TError | undefined;
|
|
@@ -6590,7 +6651,7 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6590
6651
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6591
6652
|
};
|
|
6592
6653
|
|
|
6593
|
-
type SecondParameter$
|
|
6654
|
+
type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6594
6655
|
/**
|
|
6595
6656
|
* List all members in the current tenant.
|
|
6596
6657
|
* @summary List team members
|
|
@@ -6607,7 +6668,7 @@ declare const useListTeamMembers: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
6607
6668
|
swrKey?: Key;
|
|
6608
6669
|
enabled?: boolean;
|
|
6609
6670
|
};
|
|
6610
|
-
request?: SecondParameter$
|
|
6671
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
6611
6672
|
}) => {
|
|
6612
6673
|
data: ListTeamMembersResponse | undefined;
|
|
6613
6674
|
error: TError | undefined;
|
|
@@ -6622,7 +6683,7 @@ declare const useListTeamMembers: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
6622
6683
|
*/
|
|
6623
6684
|
declare const getUpdateMemberRoleUrl: (id: string) => string;
|
|
6624
6685
|
declare const updateMemberRole: (id: string, updateMemberRoleBody: UpdateMemberRoleBody, options?: RequestInit) => Promise<TeamMember>;
|
|
6625
|
-
declare const getUpdateMemberRoleMutationFetcher: (id: string, options?: SecondParameter$
|
|
6686
|
+
declare const getUpdateMemberRoleMutationFetcher: (id: string, options?: SecondParameter$6<typeof customFetch>) => (_: Key, { arg }: {
|
|
6626
6687
|
arg: UpdateMemberRoleBody;
|
|
6627
6688
|
}) => Promise<TeamMember>;
|
|
6628
6689
|
declare const getUpdateMemberRoleMutationKey: (id: string) => readonly [`/v1/team/members/${string}`];
|
|
@@ -6634,7 +6695,7 @@ declare const useUpdateMemberRole: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
6634
6695
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMemberRole>>, TError, Key, UpdateMemberRoleBody, Awaited<ReturnType<typeof updateMemberRole>>> & {
|
|
6635
6696
|
swrKey?: string;
|
|
6636
6697
|
};
|
|
6637
|
-
request?: SecondParameter$
|
|
6698
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
6638
6699
|
}) => {
|
|
6639
6700
|
isMutating: boolean;
|
|
6640
6701
|
trigger: swr_mutation.TriggerWithArgs<TeamMember, TError, string | readonly [`/v1/team/members/${string}`], UpdateMemberRoleBody>;
|
|
@@ -6649,7 +6710,7 @@ declare const useUpdateMemberRole: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
6649
6710
|
*/
|
|
6650
6711
|
declare const getRemoveMemberUrl: (id: string) => string;
|
|
6651
6712
|
declare const removeMember: (id: string, options?: RequestInit) => Promise<RemoveMemberResponse>;
|
|
6652
|
-
declare const getRemoveMemberMutationFetcher: (id: string, options?: SecondParameter$
|
|
6713
|
+
declare const getRemoveMemberMutationFetcher: (id: string, options?: SecondParameter$6<typeof customFetch>) => (_: Key, __: {
|
|
6653
6714
|
arg: Arguments;
|
|
6654
6715
|
}) => Promise<RemoveMemberResponse>;
|
|
6655
6716
|
declare const getRemoveMemberMutationKey: (id: string) => readonly [`/v1/team/members/${string}`];
|
|
@@ -6661,7 +6722,7 @@ declare const useRemoveMember: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6661
6722
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof removeMember>>, TError, Key, Arguments, Awaited<ReturnType<typeof removeMember>>> & {
|
|
6662
6723
|
swrKey?: string;
|
|
6663
6724
|
};
|
|
6664
|
-
request?: SecondParameter$
|
|
6725
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
6665
6726
|
}) => {
|
|
6666
6727
|
isMutating: boolean;
|
|
6667
6728
|
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveMemberResponse, TError, string | readonly [`/v1/team/members/${string}`], Arguments>;
|
|
@@ -6671,14 +6732,14 @@ declare const useRemoveMember: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6671
6732
|
swrKey: string | readonly [`/v1/team/members/${string}`];
|
|
6672
6733
|
};
|
|
6673
6734
|
|
|
6674
|
-
type SecondParameter$
|
|
6735
|
+
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6675
6736
|
/**
|
|
6676
6737
|
* Create a new code tool that can be attached to agents. Provide the tool's name, code, description, and optionally an API key.
|
|
6677
6738
|
* @summary Create tool
|
|
6678
6739
|
*/
|
|
6679
6740
|
declare const getCreateToolUrl: () => string;
|
|
6680
6741
|
declare const createTool: (createToolBody: CreateToolBody, options?: RequestInit) => Promise<CodeToolCreated>;
|
|
6681
|
-
declare const getCreateToolMutationFetcher: (options?: SecondParameter$
|
|
6742
|
+
declare const getCreateToolMutationFetcher: (options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
|
|
6682
6743
|
arg: CreateToolBody;
|
|
6683
6744
|
}) => Promise<CodeToolCreated>;
|
|
6684
6745
|
declare const getCreateToolMutationKey: () => readonly ["/v1/tools"];
|
|
@@ -6690,7 +6751,7 @@ declare const useCreateTool: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6690
6751
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createTool>>, TError, Key, CreateToolBody, Awaited<ReturnType<typeof createTool>>> & {
|
|
6691
6752
|
swrKey?: string;
|
|
6692
6753
|
};
|
|
6693
|
-
request?: SecondParameter$
|
|
6754
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
6694
6755
|
}) => {
|
|
6695
6756
|
isMutating: boolean;
|
|
6696
6757
|
trigger: swr_mutation.TriggerWithArgs<CodeToolCreated, TError, string | readonly ["/v1/tools"], CreateToolBody>;
|
|
@@ -6717,7 +6778,7 @@ declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToo
|
|
|
6717
6778
|
swrKey?: Key;
|
|
6718
6779
|
enabled?: boolean;
|
|
6719
6780
|
};
|
|
6720
|
-
request?: SecondParameter$
|
|
6781
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
6721
6782
|
}) => {
|
|
6722
6783
|
data: ToolList | undefined;
|
|
6723
6784
|
error: TError | undefined;
|
|
@@ -6732,7 +6793,7 @@ declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToo
|
|
|
6732
6793
|
*/
|
|
6733
6794
|
declare const getExecuteCodeUrl: (id: string) => string;
|
|
6734
6795
|
declare const executeCode: (id: string, executeCodeBody: ExecuteCodeBody, options?: RequestInit) => Promise<ToolExecutionResult>;
|
|
6735
|
-
declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParameter$
|
|
6796
|
+
declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
|
|
6736
6797
|
arg: ExecuteCodeBody;
|
|
6737
6798
|
}) => Promise<ToolExecutionResult>;
|
|
6738
6799
|
declare const getExecuteCodeMutationKey: (id: string) => readonly [`/v1/tools/${string}/execute`];
|
|
@@ -6744,7 +6805,7 @@ declare const useExecuteCode: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
6744
6805
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof executeCode>>, TError, Key, ExecuteCodeBody, Awaited<ReturnType<typeof executeCode>>> & {
|
|
6745
6806
|
swrKey?: string;
|
|
6746
6807
|
};
|
|
6747
|
-
request?: SecondParameter$
|
|
6808
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
6748
6809
|
}) => {
|
|
6749
6810
|
isMutating: boolean;
|
|
6750
6811
|
trigger: swr_mutation.TriggerWithArgs<ToolExecutionResult, TError, string | readonly [`/v1/tools/${string}/execute`], ExecuteCodeBody>;
|
|
@@ -6769,7 +6830,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
6769
6830
|
swrKey?: Key;
|
|
6770
6831
|
enabled?: boolean;
|
|
6771
6832
|
};
|
|
6772
|
-
request?: SecondParameter$
|
|
6833
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
6773
6834
|
}) => {
|
|
6774
6835
|
data: GetToolResponse | undefined;
|
|
6775
6836
|
error: TError | undefined;
|
|
@@ -6784,7 +6845,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
6784
6845
|
*/
|
|
6785
6846
|
declare const getUpdateToolUrl: (id: string) => string;
|
|
6786
6847
|
declare const updateTool: (id: string, updateToolBody: UpdateToolBody, options?: RequestInit) => Promise<CodeToolUpdated>;
|
|
6787
|
-
declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParameter$
|
|
6848
|
+
declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
|
|
6788
6849
|
arg: UpdateToolBody;
|
|
6789
6850
|
}) => Promise<CodeToolUpdated>;
|
|
6790
6851
|
declare const getUpdateToolMutationKey: (id: string) => readonly [`/v1/tools/${string}`];
|
|
@@ -6796,7 +6857,7 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
6796
6857
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateTool>>, TError, Key, UpdateToolBody, Awaited<ReturnType<typeof updateTool>>> & {
|
|
6797
6858
|
swrKey?: string;
|
|
6798
6859
|
};
|
|
6799
|
-
request?: SecondParameter$
|
|
6860
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
6800
6861
|
}) => {
|
|
6801
6862
|
isMutating: boolean;
|
|
6802
6863
|
trigger: swr_mutation.TriggerWithArgs<CodeToolUpdated, TError, string | readonly [`/v1/tools/${string}`], UpdateToolBody>;
|
|
@@ -6806,7 +6867,7 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
6806
6867
|
swrKey: string | readonly [`/v1/tools/${string}`];
|
|
6807
6868
|
};
|
|
6808
6869
|
|
|
6809
|
-
type SecondParameter$
|
|
6870
|
+
type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6810
6871
|
/**
|
|
6811
6872
|
* List all voice agents for your tenant.
|
|
6812
6873
|
|
|
@@ -6834,7 +6895,7 @@ declare const useListVoiceAgents: <TError = ErrorType<ErrorResponse>>(params?: L
|
|
|
6834
6895
|
swrKey?: Key;
|
|
6835
6896
|
enabled?: boolean;
|
|
6836
6897
|
};
|
|
6837
|
-
request?: SecondParameter$
|
|
6898
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
6838
6899
|
}) => {
|
|
6839
6900
|
data: VoiceAgentList | undefined;
|
|
6840
6901
|
error: TError | undefined;
|
|
@@ -6860,7 +6921,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6860
6921
|
*/
|
|
6861
6922
|
declare const getCreateVoiceAgentUrl: () => string;
|
|
6862
6923
|
declare const createVoiceAgent: (createVoiceAgentBody: CreateVoiceAgentBody, options?: RequestInit) => Promise<CreateVoiceAgentResponse>;
|
|
6863
|
-
declare const getCreateVoiceAgentMutationFetcher: (options?: SecondParameter$
|
|
6924
|
+
declare const getCreateVoiceAgentMutationFetcher: (options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
6864
6925
|
arg: CreateVoiceAgentBody;
|
|
6865
6926
|
}) => Promise<CreateVoiceAgentResponse>;
|
|
6866
6927
|
declare const getCreateVoiceAgentMutationKey: () => readonly ["/v1/voice-agents"];
|
|
@@ -6872,7 +6933,7 @@ declare const useCreateVoiceAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
6872
6933
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createVoiceAgent>>, TError, Key, CreateVoiceAgentBody, Awaited<ReturnType<typeof createVoiceAgent>>> & {
|
|
6873
6934
|
swrKey?: string;
|
|
6874
6935
|
};
|
|
6875
|
-
request?: SecondParameter$
|
|
6936
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
6876
6937
|
}) => {
|
|
6877
6938
|
isMutating: boolean;
|
|
6878
6939
|
trigger: swr_mutation.TriggerWithArgs<CreateVoiceAgentResponse, TError, string | readonly ["/v1/voice-agents"], CreateVoiceAgentBody>;
|
|
@@ -6900,7 +6961,7 @@ declare const useGetVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId
|
|
|
6900
6961
|
swrKey?: Key;
|
|
6901
6962
|
enabled?: boolean;
|
|
6902
6963
|
};
|
|
6903
|
-
request?: SecondParameter$
|
|
6964
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
6904
6965
|
}) => {
|
|
6905
6966
|
data: GetVoiceAgentResponse | undefined;
|
|
6906
6967
|
error: TError | undefined;
|
|
@@ -6917,7 +6978,7 @@ To change the processor assignment, `call_processor_id` and `call_processor_type
|
|
|
6917
6978
|
*/
|
|
6918
6979
|
declare const getUpdateVoiceAgentUrl: (voiceAgentId: string) => string;
|
|
6919
6980
|
declare const updateVoiceAgent: (voiceAgentId: string, updateVoiceAgentBody: UpdateVoiceAgentBody, options?: RequestInit) => Promise<UpdateVoiceAgentResponse>;
|
|
6920
|
-
declare const getUpdateVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
6981
|
+
declare const getUpdateVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
6921
6982
|
arg: UpdateVoiceAgentBody;
|
|
6922
6983
|
}) => Promise<UpdateVoiceAgentResponse>;
|
|
6923
6984
|
declare const getUpdateVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}`];
|
|
@@ -6929,7 +6990,7 @@ declare const useUpdateVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgen
|
|
|
6929
6990
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgent>>, TError, Key, UpdateVoiceAgentBody, Awaited<ReturnType<typeof updateVoiceAgent>>> & {
|
|
6930
6991
|
swrKey?: string;
|
|
6931
6992
|
};
|
|
6932
|
-
request?: SecondParameter$
|
|
6993
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
6933
6994
|
}) => {
|
|
6934
6995
|
isMutating: boolean;
|
|
6935
6996
|
trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}`], UpdateVoiceAgentBody>;
|
|
@@ -6947,7 +7008,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6947
7008
|
*/
|
|
6948
7009
|
declare const getAddToolsToVoiceAgentUrl: (voiceAgentId: string) => string;
|
|
6949
7010
|
declare const addToolsToVoiceAgent: (voiceAgentId: string, addToolsToVoiceAgentBody: AddToolsToVoiceAgentBody, options?: RequestInit) => Promise<AddToolsToVoiceAgentResponse>;
|
|
6950
|
-
declare const getAddToolsToVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
7011
|
+
declare const getAddToolsToVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
6951
7012
|
arg: AddToolsToVoiceAgentBody;
|
|
6952
7013
|
}) => Promise<AddToolsToVoiceAgentResponse>;
|
|
6953
7014
|
declare const getAddToolsToVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
|
|
@@ -6959,7 +7020,7 @@ declare const useAddToolsToVoiceAgent: <TError = ErrorType<ErrorResponse>>(voice
|
|
|
6959
7020
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof addToolsToVoiceAgent>>, TError, Key, AddToolsToVoiceAgentBody, Awaited<ReturnType<typeof addToolsToVoiceAgent>>> & {
|
|
6960
7021
|
swrKey?: string;
|
|
6961
7022
|
};
|
|
6962
|
-
request?: SecondParameter$
|
|
7023
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
6963
7024
|
}) => {
|
|
6964
7025
|
isMutating: boolean;
|
|
6965
7026
|
trigger: swr_mutation.TriggerWithArgs<AddToolsToVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}/tools`], AddToolsToVoiceAgentBody>;
|
|
@@ -6977,7 +7038,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
6977
7038
|
*/
|
|
6978
7039
|
declare const getDeleteToolsFromVoiceAgentUrl: (voiceAgentId: string) => string;
|
|
6979
7040
|
declare const deleteToolsFromVoiceAgent: (voiceAgentId: string, deleteToolsFromVoiceAgentBody: DeleteToolsFromVoiceAgentBody, options?: RequestInit) => Promise<DeleteToolsFromVoiceAgentResponse>;
|
|
6980
|
-
declare const getDeleteToolsFromVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
7041
|
+
declare const getDeleteToolsFromVoiceAgentMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
6981
7042
|
arg: DeleteToolsFromVoiceAgentBody;
|
|
6982
7043
|
}) => Promise<DeleteToolsFromVoiceAgentResponse>;
|
|
6983
7044
|
declare const getDeleteToolsFromVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
|
|
@@ -6989,7 +7050,7 @@ declare const useDeleteToolsFromVoiceAgent: <TError = ErrorType<ErrorResponse>>(
|
|
|
6989
7050
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>, TError, Key, DeleteToolsFromVoiceAgentBody, Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>> & {
|
|
6990
7051
|
swrKey?: string;
|
|
6991
7052
|
};
|
|
6992
|
-
request?: SecondParameter$
|
|
7053
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
6993
7054
|
}) => {
|
|
6994
7055
|
isMutating: boolean;
|
|
6995
7056
|
trigger: swr_mutation.TriggerWithArgs<DeleteToolsFromVoiceAgentResponse, TError, string | readonly [`/v1/voice-agents/${string}/tools`], DeleteToolsFromVoiceAgentBody>;
|
|
@@ -7017,7 +7078,7 @@ declare const useGetVoiceAgentPlaceholders: <TError = ErrorType<ErrorResponse>>(
|
|
|
7017
7078
|
swrKey?: Key;
|
|
7018
7079
|
enabled?: boolean;
|
|
7019
7080
|
};
|
|
7020
|
-
request?: SecondParameter$
|
|
7081
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
7021
7082
|
}) => {
|
|
7022
7083
|
data: VoiceAgentPlaceholders | undefined;
|
|
7023
7084
|
error: TError | undefined;
|
|
@@ -7042,7 +7103,7 @@ declare const useGetVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voiceA
|
|
|
7042
7103
|
swrKey?: Key;
|
|
7043
7104
|
enabled?: boolean;
|
|
7044
7105
|
};
|
|
7045
|
-
request?: SecondParameter$
|
|
7106
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
7046
7107
|
}) => {
|
|
7047
7108
|
data: VoiceAgentPrompt | undefined;
|
|
7048
7109
|
error: TError | undefined;
|
|
@@ -7057,7 +7118,7 @@ declare const useGetVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voiceA
|
|
|
7057
7118
|
*/
|
|
7058
7119
|
declare const getUpdateVoiceAgentPromptUrl: (voiceAgentId: string) => string;
|
|
7059
7120
|
declare const updateVoiceAgentPrompt: (voiceAgentId: string, updateVoiceAgentPromptBody: UpdateVoiceAgentPromptBody, options?: RequestInit) => Promise<VoiceAgentPromptUpdated>;
|
|
7060
|
-
declare const getUpdateVoiceAgentPromptMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
7121
|
+
declare const getUpdateVoiceAgentPromptMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
7061
7122
|
arg: UpdateVoiceAgentPromptBody;
|
|
7062
7123
|
}) => Promise<VoiceAgentPromptUpdated>;
|
|
7063
7124
|
declare const getUpdateVoiceAgentPromptMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/prompt`];
|
|
@@ -7069,7 +7130,7 @@ declare const useUpdateVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voi
|
|
|
7069
7130
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgentPrompt>>, TError, Key, UpdateVoiceAgentPromptBody, Awaited<ReturnType<typeof updateVoiceAgentPrompt>>> & {
|
|
7070
7131
|
swrKey?: string;
|
|
7071
7132
|
};
|
|
7072
|
-
request?: SecondParameter$
|
|
7133
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
7073
7134
|
}) => {
|
|
7074
7135
|
isMutating: boolean;
|
|
7075
7136
|
trigger: swr_mutation.TriggerWithArgs<VoiceAgentPromptUpdated, TError, string | readonly [`/v1/voice-agents/${string}/prompt`], UpdateVoiceAgentPromptBody>;
|
|
@@ -7087,7 +7148,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7087
7148
|
*/
|
|
7088
7149
|
declare const getUpdateVoiceAgentModelsUrl: (voiceAgentId: string) => string;
|
|
7089
7150
|
declare const updateVoiceAgentModels: (voiceAgentId: string, updateVoiceAgentModelsBody: UpdateVoiceAgentModelsBody, options?: RequestInit) => Promise<UpdateVoiceAgentModelsResponse>;
|
|
7090
|
-
declare const getUpdateVoiceAgentModelsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
7151
|
+
declare const getUpdateVoiceAgentModelsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
7091
7152
|
arg: UpdateVoiceAgentModelsBody;
|
|
7092
7153
|
}) => Promise<UpdateVoiceAgentModelsResponse>;
|
|
7093
7154
|
declare const getUpdateVoiceAgentModelsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/models`];
|
|
@@ -7099,7 +7160,7 @@ declare const useUpdateVoiceAgentModels: <TError = ErrorType<ErrorResponse>>(voi
|
|
|
7099
7160
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgentModels>>, TError, Key, UpdateVoiceAgentModelsBody, Awaited<ReturnType<typeof updateVoiceAgentModels>>> & {
|
|
7100
7161
|
swrKey?: string;
|
|
7101
7162
|
};
|
|
7102
|
-
request?: SecondParameter$
|
|
7163
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
7103
7164
|
}) => {
|
|
7104
7165
|
isMutating: boolean;
|
|
7105
7166
|
trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentModelsResponse, TError, string | readonly [`/v1/voice-agents/${string}/models`], UpdateVoiceAgentModelsBody>;
|
|
@@ -7119,7 +7180,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7119
7180
|
*/
|
|
7120
7181
|
declare const getUpdateCallControlsUrl: (voiceAgentId: string) => string;
|
|
7121
7182
|
declare const updateCallControls: (voiceAgentId: string, updateCallControlsBody: UpdateCallControlsBody, options?: RequestInit) => Promise<UpdateVoiceAgentCallControlsResponse>;
|
|
7122
|
-
declare const getUpdateCallControlsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
7183
|
+
declare const getUpdateCallControlsMutationFetcher: (voiceAgentId: string, options?: SecondParameter$4<typeof customFetch>) => (_: Key, { arg }: {
|
|
7123
7184
|
arg: UpdateCallControlsBody;
|
|
7124
7185
|
}) => Promise<UpdateVoiceAgentCallControlsResponse>;
|
|
7125
7186
|
declare const getUpdateCallControlsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/call-controls`];
|
|
@@ -7131,7 +7192,7 @@ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
7131
7192
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateCallControls>>, TError, Key, UpdateCallControlsBody, Awaited<ReturnType<typeof updateCallControls>>> & {
|
|
7132
7193
|
swrKey?: string;
|
|
7133
7194
|
};
|
|
7134
|
-
request?: SecondParameter$
|
|
7195
|
+
request?: SecondParameter$4<typeof customFetch>;
|
|
7135
7196
|
}) => {
|
|
7136
7197
|
isMutating: boolean;
|
|
7137
7198
|
trigger: swr_mutation.TriggerWithArgs<UpdateVoiceAgentCallControlsResponse, TError, string | readonly [`/v1/voice-agents/${string}/call-controls`], UpdateCallControlsBody>;
|
|
@@ -7141,14 +7202,14 @@ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
7141
7202
|
swrKey: string | readonly [`/v1/voice-agents/${string}/call-controls`];
|
|
7142
7203
|
};
|
|
7143
7204
|
|
|
7144
|
-
type SecondParameter$
|
|
7205
|
+
type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7145
7206
|
/**
|
|
7146
7207
|
* Create a webhook that fires when events occur for the specified worker.
|
|
7147
7208
|
* @summary Create worker webhook
|
|
7148
7209
|
*/
|
|
7149
7210
|
declare const getCreateWorkerWebhookUrl: (workerId: string) => string;
|
|
7150
7211
|
declare const createWorkerWebhook: (workerId: string, createWorkerWebhookBody: CreateWorkerWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
7151
|
-
declare const getCreateWorkerWebhookMutationFetcher: (workerId: string, options?: SecondParameter$
|
|
7212
|
+
declare const getCreateWorkerWebhookMutationFetcher: (workerId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
7152
7213
|
arg: CreateWorkerWebhookBody;
|
|
7153
7214
|
}) => Promise<Webhook>;
|
|
7154
7215
|
declare const getCreateWorkerWebhookMutationKey: (workerId: string) => readonly [`/v1/workers/${string}/webhooks`];
|
|
@@ -7160,7 +7221,7 @@ declare const useCreateWorkerWebhook: <TError = ErrorType<ErrorResponse>>(worker
|
|
|
7160
7221
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerWebhook>>, TError, Key, CreateWorkerWebhookBody, Awaited<ReturnType<typeof createWorkerWebhook>>> & {
|
|
7161
7222
|
swrKey?: string;
|
|
7162
7223
|
};
|
|
7163
|
-
request?: SecondParameter$
|
|
7224
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7164
7225
|
}) => {
|
|
7165
7226
|
isMutating: boolean;
|
|
7166
7227
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/workers/${string}/webhooks`], CreateWorkerWebhookBody>;
|
|
@@ -7185,7 +7246,7 @@ declare const useListWorkerWebhooks: <TError = ErrorType<ErrorResponse>>(workerI
|
|
|
7185
7246
|
swrKey?: Key;
|
|
7186
7247
|
enabled?: boolean;
|
|
7187
7248
|
};
|
|
7188
|
-
request?: SecondParameter$
|
|
7249
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7189
7250
|
}) => {
|
|
7190
7251
|
data: WorkerWebhookList | undefined;
|
|
7191
7252
|
error: TError | undefined;
|
|
@@ -7203,7 +7264,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7203
7264
|
*/
|
|
7204
7265
|
declare const getCreateAgentWebhookUrl: (voiceAgentId: string) => string;
|
|
7205
7266
|
declare const createAgentWebhook: (voiceAgentId: string, createAgentWebhookBody: CreateAgentWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
7206
|
-
declare const getCreateAgentWebhookMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
7267
|
+
declare const getCreateAgentWebhookMutationFetcher: (voiceAgentId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
7207
7268
|
arg: CreateAgentWebhookBody;
|
|
7208
7269
|
}) => Promise<Webhook>;
|
|
7209
7270
|
declare const getCreateAgentWebhookMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/webhooks`];
|
|
@@ -7215,7 +7276,7 @@ declare const useCreateAgentWebhook: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
7215
7276
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgentWebhook>>, TError, Key, CreateAgentWebhookBody, Awaited<ReturnType<typeof createAgentWebhook>>> & {
|
|
7216
7277
|
swrKey?: string;
|
|
7217
7278
|
};
|
|
7218
|
-
request?: SecondParameter$
|
|
7279
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7219
7280
|
}) => {
|
|
7220
7281
|
isMutating: boolean;
|
|
7221
7282
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/voice-agents/${string}/webhooks`], CreateAgentWebhookBody>;
|
|
@@ -7243,7 +7304,7 @@ declare const useListAgentWebhooks: <TError = ErrorType<ErrorResponse>>(voiceAge
|
|
|
7243
7304
|
swrKey?: Key;
|
|
7244
7305
|
enabled?: boolean;
|
|
7245
7306
|
};
|
|
7246
|
-
request?: SecondParameter$
|
|
7307
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7247
7308
|
}) => {
|
|
7248
7309
|
data: VoiceAgentWebhookList | undefined;
|
|
7249
7310
|
error: TError | undefined;
|
|
@@ -7261,7 +7322,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7261
7322
|
*/
|
|
7262
7323
|
declare const getCreateInboxWebhookUrl: (inboxId: string) => string;
|
|
7263
7324
|
declare const createInboxWebhook: (inboxId: string, createInboxWebhookBody: CreateInboxWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
7264
|
-
declare const getCreateInboxWebhookMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
7325
|
+
declare const getCreateInboxWebhookMutationFetcher: (inboxId: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
7265
7326
|
arg: CreateInboxWebhookBody;
|
|
7266
7327
|
}) => Promise<Webhook>;
|
|
7267
7328
|
declare const getCreateInboxWebhookMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}/webhooks`];
|
|
@@ -7273,7 +7334,7 @@ declare const useCreateInboxWebhook: <TError = ErrorType<ErrorResponse>>(inboxId
|
|
|
7273
7334
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInboxWebhook>>, TError, Key, CreateInboxWebhookBody, Awaited<ReturnType<typeof createInboxWebhook>>> & {
|
|
7274
7335
|
swrKey?: string;
|
|
7275
7336
|
};
|
|
7276
|
-
request?: SecondParameter$
|
|
7337
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7277
7338
|
}) => {
|
|
7278
7339
|
isMutating: boolean;
|
|
7279
7340
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/inboxes/${string}/webhooks`], CreateInboxWebhookBody>;
|
|
@@ -7301,7 +7362,7 @@ declare const useListInboxWebhooks: <TError = ErrorType<ErrorResponse>>(inboxId:
|
|
|
7301
7362
|
swrKey?: Key;
|
|
7302
7363
|
enabled?: boolean;
|
|
7303
7364
|
};
|
|
7304
|
-
request?: SecondParameter$
|
|
7365
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7305
7366
|
}) => {
|
|
7306
7367
|
data: InboxWebhookList | undefined;
|
|
7307
7368
|
error: TError | undefined;
|
|
@@ -7316,7 +7377,7 @@ declare const useListInboxWebhooks: <TError = ErrorType<ErrorResponse>>(inboxId:
|
|
|
7316
7377
|
*/
|
|
7317
7378
|
declare const getCreateExtractorWebhookUrl: (id: string) => string;
|
|
7318
7379
|
declare const createExtractorWebhook: (id: string, createExtractorWebhookBody: CreateExtractorWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
7319
|
-
declare const getCreateExtractorWebhookMutationFetcher: (id: string, options?: SecondParameter$
|
|
7380
|
+
declare const getCreateExtractorWebhookMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, { arg }: {
|
|
7320
7381
|
arg: CreateExtractorWebhookBody;
|
|
7321
7382
|
}) => Promise<Webhook>;
|
|
7322
7383
|
declare const getCreateExtractorWebhookMutationKey: (id: string) => readonly [`/v1/extractors/${string}/webhooks`];
|
|
@@ -7328,7 +7389,7 @@ declare const useCreateExtractorWebhook: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
7328
7389
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorWebhook>>, TError, Key, CreateExtractorWebhookBody, Awaited<ReturnType<typeof createExtractorWebhook>>> & {
|
|
7329
7390
|
swrKey?: string;
|
|
7330
7391
|
};
|
|
7331
|
-
request?: SecondParameter$
|
|
7392
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7332
7393
|
}) => {
|
|
7333
7394
|
isMutating: boolean;
|
|
7334
7395
|
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/extractors/${string}/webhooks`], CreateExtractorWebhookBody>;
|
|
@@ -7353,7 +7414,7 @@ declare const useListWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
7353
7414
|
swrKey?: Key;
|
|
7354
7415
|
enabled?: boolean;
|
|
7355
7416
|
};
|
|
7356
|
-
request?: SecondParameter$
|
|
7417
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7357
7418
|
}) => {
|
|
7358
7419
|
data: ExtractorWebhookList | undefined;
|
|
7359
7420
|
error: TError | undefined;
|
|
@@ -7368,7 +7429,7 @@ declare const useListWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
7368
7429
|
*/
|
|
7369
7430
|
declare const getDeleteWebhookUrl: (id: string) => string;
|
|
7370
7431
|
declare const deleteWebhook: (id: string, options?: RequestInit) => Promise<DeleteWebhookResponse>;
|
|
7371
|
-
declare const getDeleteWebhookMutationFetcher: (id: string, options?: SecondParameter$
|
|
7432
|
+
declare const getDeleteWebhookMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, __: {
|
|
7372
7433
|
arg: Arguments;
|
|
7373
7434
|
}) => Promise<DeleteWebhookResponse>;
|
|
7374
7435
|
declare const getDeleteWebhookMutationKey: (id: string) => readonly [`/v1/webhooks/${string}`];
|
|
@@ -7380,7 +7441,7 @@ declare const useDeleteWebhook: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7380
7441
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteWebhook>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteWebhook>>> & {
|
|
7381
7442
|
swrKey?: string;
|
|
7382
7443
|
};
|
|
7383
|
-
request?: SecondParameter$
|
|
7444
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7384
7445
|
}) => {
|
|
7385
7446
|
isMutating: boolean;
|
|
7386
7447
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteWebhookResponse, TError, string | readonly [`/v1/webhooks/${string}`], Arguments>;
|
|
@@ -7405,7 +7466,7 @@ declare const useGetWebhook: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
7405
7466
|
swrKey?: Key;
|
|
7406
7467
|
enabled?: boolean;
|
|
7407
7468
|
};
|
|
7408
|
-
request?: SecondParameter$
|
|
7469
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7409
7470
|
}) => {
|
|
7410
7471
|
data: Webhook | undefined;
|
|
7411
7472
|
error: TError | undefined;
|
|
@@ -7430,7 +7491,7 @@ declare const useListWebhookDeliveries: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
7430
7491
|
swrKey?: Key;
|
|
7431
7492
|
enabled?: boolean;
|
|
7432
7493
|
};
|
|
7433
|
-
request?: SecondParameter$
|
|
7494
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7434
7495
|
}) => {
|
|
7435
7496
|
data: WebhookDeliveryList | undefined;
|
|
7436
7497
|
error: TError | undefined;
|
|
@@ -7445,7 +7506,7 @@ declare const useListWebhookDeliveries: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
7445
7506
|
*/
|
|
7446
7507
|
declare const getTestWebhookUrl: (id: string) => string;
|
|
7447
7508
|
declare const testWebhook: (id: string, options?: RequestInit) => Promise<WebhookTestResult>;
|
|
7448
|
-
declare const getTestWebhookMutationFetcher: (id: string, options?: SecondParameter$
|
|
7509
|
+
declare const getTestWebhookMutationFetcher: (id: string, options?: SecondParameter$3<typeof customFetch>) => (_: Key, __: {
|
|
7449
7510
|
arg: Arguments;
|
|
7450
7511
|
}) => Promise<WebhookTestResult>;
|
|
7451
7512
|
declare const getTestWebhookMutationKey: (id: string) => readonly [`/v1/webhooks/${string}/test`];
|
|
@@ -7457,7 +7518,7 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
7457
7518
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof testWebhook>>, TError, Key, Arguments, Awaited<ReturnType<typeof testWebhook>>> & {
|
|
7458
7519
|
swrKey?: string;
|
|
7459
7520
|
};
|
|
7460
|
-
request?: SecondParameter$
|
|
7521
|
+
request?: SecondParameter$3<typeof customFetch>;
|
|
7461
7522
|
}) => {
|
|
7462
7523
|
isMutating: boolean;
|
|
7463
7524
|
trigger: swr_mutation.TriggerWithOptionsArgs<WebhookTestResult, TError, string | readonly [`/v1/webhooks/${string}/test`], Arguments>;
|
|
@@ -7467,7 +7528,7 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
7467
7528
|
swrKey: string | readonly [`/v1/webhooks/${string}/test`];
|
|
7468
7529
|
};
|
|
7469
7530
|
|
|
7470
|
-
type SecondParameter$
|
|
7531
|
+
type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7471
7532
|
/**
|
|
7472
7533
|
* List all worker runs with pagination, filtering, and sorting.
|
|
7473
7534
|
|
|
@@ -7492,7 +7553,7 @@ declare const useListWorkerRuns: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
7492
7553
|
swrKey?: Key;
|
|
7493
7554
|
enabled?: boolean;
|
|
7494
7555
|
};
|
|
7495
|
-
request?: SecondParameter$
|
|
7556
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
7496
7557
|
}) => {
|
|
7497
7558
|
data: WorkerRunList | undefined;
|
|
7498
7559
|
error: TError | undefined;
|
|
@@ -7509,7 +7570,7 @@ Provide a non-empty `scope` object to define what the worker should process (e.g
|
|
|
7509
7570
|
*/
|
|
7510
7571
|
declare const getCreateWorkerRunUrl: () => string;
|
|
7511
7572
|
declare const createWorkerRun: (createWorkerRunBody: CreateWorkerRunBody, options?: RequestInit) => Promise<WorkerRunCreated>;
|
|
7512
|
-
declare const getCreateWorkerRunMutationFetcher: (options?: SecondParameter$
|
|
7573
|
+
declare const getCreateWorkerRunMutationFetcher: (options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
|
|
7513
7574
|
arg: CreateWorkerRunBody;
|
|
7514
7575
|
}) => Promise<WorkerRunCreated>;
|
|
7515
7576
|
declare const getCreateWorkerRunMutationKey: () => readonly ["/v1/worker-runs"];
|
|
@@ -7521,7 +7582,7 @@ declare const useCreateWorkerRun: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7521
7582
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerRun>>, TError, Key, CreateWorkerRunBody, Awaited<ReturnType<typeof createWorkerRun>>> & {
|
|
7522
7583
|
swrKey?: string;
|
|
7523
7584
|
};
|
|
7524
|
-
request?: SecondParameter$
|
|
7585
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
7525
7586
|
}) => {
|
|
7526
7587
|
isMutating: boolean;
|
|
7527
7588
|
trigger: swr_mutation.TriggerWithArgs<WorkerRunCreated, TError, string | readonly ["/v1/worker-runs"], CreateWorkerRunBody>;
|
|
@@ -7546,7 +7607,7 @@ declare const useGetWorkerRun: <TError = ErrorType<ErrorResponse>>(workerRunId:
|
|
|
7546
7607
|
swrKey?: Key;
|
|
7547
7608
|
enabled?: boolean;
|
|
7548
7609
|
};
|
|
7549
|
-
request?: SecondParameter$
|
|
7610
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
7550
7611
|
}) => {
|
|
7551
7612
|
data: WorkerRun | undefined;
|
|
7552
7613
|
error: TError | undefined;
|
|
@@ -7571,7 +7632,7 @@ declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(work
|
|
|
7571
7632
|
swrKey?: Key;
|
|
7572
7633
|
enabled?: boolean;
|
|
7573
7634
|
};
|
|
7574
|
-
request?: SecondParameter$
|
|
7635
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
7575
7636
|
}) => {
|
|
7576
7637
|
data: WorkerRunMessageList | undefined;
|
|
7577
7638
|
error: TError | undefined;
|
|
@@ -7586,7 +7647,7 @@ declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(work
|
|
|
7586
7647
|
*/
|
|
7587
7648
|
declare const getUpdateWorkerRunScopeUrl: (workerRunId: string) => string;
|
|
7588
7649
|
declare const updateWorkerRunScope: (workerRunId: string, updateWorkerRunScopeBody: UpdateWorkerRunScopeBody, options?: RequestInit) => Promise<WorkerRun>;
|
|
7589
|
-
declare const getUpdateWorkerRunScopeMutationFetcher: (workerRunId: string, options?: SecondParameter$
|
|
7650
|
+
declare const getUpdateWorkerRunScopeMutationFetcher: (workerRunId: string, options?: SecondParameter$2<typeof customFetch>) => (_: Key, { arg }: {
|
|
7590
7651
|
arg: UpdateWorkerRunScopeBody;
|
|
7591
7652
|
}) => Promise<WorkerRun>;
|
|
7592
7653
|
declare const getUpdateWorkerRunScopeMutationKey: (workerRunId: string) => readonly [`/v1/worker-runs/${string}/scope`];
|
|
@@ -7598,7 +7659,7 @@ declare const useUpdateWorkerRunScope: <TError = ErrorType<ErrorResponse>>(worke
|
|
|
7598
7659
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateWorkerRunScope>>, TError, Key, UpdateWorkerRunScopeBody, Awaited<ReturnType<typeof updateWorkerRunScope>>> & {
|
|
7599
7660
|
swrKey?: string;
|
|
7600
7661
|
};
|
|
7601
|
-
request?: SecondParameter$
|
|
7662
|
+
request?: SecondParameter$2<typeof customFetch>;
|
|
7602
7663
|
}) => {
|
|
7603
7664
|
isMutating: boolean;
|
|
7604
7665
|
trigger: swr_mutation.TriggerWithArgs<WorkerRun, TError, string | readonly [`/v1/worker-runs/${string}/scope`], UpdateWorkerRunScopeBody>;
|
|
@@ -7608,6 +7669,58 @@ declare const useUpdateWorkerRunScope: <TError = ErrorType<ErrorResponse>>(worke
|
|
|
7608
7669
|
swrKey: string | readonly [`/v1/worker-runs/${string}/scope`];
|
|
7609
7670
|
};
|
|
7610
7671
|
|
|
7672
|
+
type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7673
|
+
/**
|
|
7674
|
+
* List tools attached to the calling worker. Worker-only endpoint.
|
|
7675
|
+
* @summary List worker tools
|
|
7676
|
+
*/
|
|
7677
|
+
declare const getWorkerListToolsUrl: () => string;
|
|
7678
|
+
declare const workerListTools: (options?: RequestInit) => Promise<WorkerToolList>;
|
|
7679
|
+
declare const getWorkerListToolsKey: () => readonly ["/worker/v1/tools"];
|
|
7680
|
+
type WorkerListToolsQueryResult = NonNullable<Awaited<ReturnType<typeof workerListTools>>>;
|
|
7681
|
+
/**
|
|
7682
|
+
* @summary List worker tools
|
|
7683
|
+
*/
|
|
7684
|
+
declare const useWorkerListTools: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7685
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof workerListTools>>, TError> & {
|
|
7686
|
+
swrKey?: Key;
|
|
7687
|
+
enabled?: boolean;
|
|
7688
|
+
};
|
|
7689
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
7690
|
+
}) => {
|
|
7691
|
+
data: WorkerToolList | undefined;
|
|
7692
|
+
error: TError | undefined;
|
|
7693
|
+
mutate: swr.KeyedMutator<WorkerToolList>;
|
|
7694
|
+
isValidating: boolean;
|
|
7695
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
7696
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7697
|
+
};
|
|
7698
|
+
/**
|
|
7699
|
+
* Retrieve a tool attached to the calling worker, including its invocation schema. Worker-only endpoint.
|
|
7700
|
+
* @summary Get worker tool
|
|
7701
|
+
*/
|
|
7702
|
+
declare const getWorkerGetToolUrl: (id: string) => string;
|
|
7703
|
+
declare const workerGetTool: (id: string, options?: RequestInit) => Promise<GetWorkerToolResponse>;
|
|
7704
|
+
declare const getWorkerGetToolKey: (id: string) => readonly [`/worker/v1/tools/${string}`];
|
|
7705
|
+
type WorkerGetToolQueryResult = NonNullable<Awaited<ReturnType<typeof workerGetTool>>>;
|
|
7706
|
+
/**
|
|
7707
|
+
* @summary Get worker tool
|
|
7708
|
+
*/
|
|
7709
|
+
declare const useWorkerGetTool: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7710
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof workerGetTool>>, TError> & {
|
|
7711
|
+
swrKey?: Key;
|
|
7712
|
+
enabled?: boolean;
|
|
7713
|
+
};
|
|
7714
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
7715
|
+
}) => {
|
|
7716
|
+
data: GetWorkerToolResponse | undefined;
|
|
7717
|
+
error: TError | undefined;
|
|
7718
|
+
mutate: swr.KeyedMutator<GetWorkerToolResponse>;
|
|
7719
|
+
isValidating: boolean;
|
|
7720
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
7721
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7722
|
+
};
|
|
7723
|
+
|
|
7611
7724
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7612
7725
|
/**
|
|
7613
7726
|
* Create a new worker with a name, prompt, and env vars.
|
|
@@ -7689,7 +7802,7 @@ declare const useGetWorker: <TError = ErrorType<ErrorResponse>>(workerId: string
|
|
|
7689
7802
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7690
7803
|
};
|
|
7691
7804
|
/**
|
|
7692
|
-
* Update the configuration of a worker.
|
|
7805
|
+
* Update the configuration of a worker, including the attached tool set.
|
|
7693
7806
|
* @summary Update worker
|
|
7694
7807
|
*/
|
|
7695
7808
|
declare const getUpdateWorkerUrl: (workerId: string) => string;
|
|
@@ -7768,4 +7881,4 @@ declare const useUpdateWorkerPrompt: <TError = ErrorType<ErrorResponse>>(workerI
|
|
|
7768
7881
|
swrKey: string | readonly [`/v1/workers/${string}/prompt`];
|
|
7769
7882
|
};
|
|
7770
7883
|
|
|
7771
|
-
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 CancelJobMutationResult, type CaseList, type CaseSummary, type CaseSummaryCreatedBy, type ChatAgent, type ChatAgentCreated, type ChatAgentList, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, 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 CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, 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 EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractScope, type ExtractSummary, type ExtractSummaryProcessorScope, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, 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 GetChatAgentQueryResult, type GetChatQueryResult, 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 GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, 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 ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, 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 ListTeamMembersQueryResult, type ListTeamMembersResponse, 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 PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SendEmailBody, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, type WorkerList, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createChat, createChatAgent, 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, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getChat, getChatAgent, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, 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, getGetChatAgentKey, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerPrompt, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCases, listChatAgents, listChatMessages, listChats, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, postChatMessage, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, sendEmail, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateChatAgent, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateChat, useCreateChatAgent, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetChat, useGetChatAgent, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCases, useListChatAgents, useListChatMessages, useListChats, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePostChatMessage, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile };
|
|
7884
|
+
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 CancelJobMutationResult, type CaseList, type CaseSummary, type CaseSummaryCreatedBy, type ChatAgent, type ChatAgentCreated, type ChatAgentList, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, 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 CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, 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 EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractScope, type ExtractSummary, type ExtractSummaryProcessorScope, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, 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 GetChatAgentQueryResult, type GetChatQueryResult, 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 GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, 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 ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, 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 ListTeamMembersQueryResult, type ListTeamMembersResponse, 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 PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SendEmailBody, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createChat, createChatAgent, 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, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getChat, getChatAgent, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, 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, getGetChatAgentKey, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCases, listChatAgents, listChatMessages, listChats, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, postChatMessage, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, sendEmail, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateChatAgent, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateChat, useCreateChatAgent, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetChat, useGetChatAgent, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCases, useListChatAgents, useListChatMessages, useListChats, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePostChatMessage, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerGetTool, useWorkerListTools, workerGetTool, workerListTools };
|