@avallon-labs/sdk 23.7.0 → 23.8.0-staging.529

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -262,6 +262,23 @@ interface AddToolsToVoiceAgentResponse {
262
262
  * Avallon API
263
263
  * OpenAPI spec version: 1.0.0
264
264
  */
265
+ /**
266
+ * Role granted to this API key
267
+ */
268
+ type ApiKeyRole = (typeof ApiKeyRole)[keyof typeof ApiKeyRole];
269
+ declare const ApiKeyRole: {
270
+ readonly admin: "admin";
271
+ readonly avallon_admin: "avallon_admin";
272
+ readonly member: "member";
273
+ };
274
+
275
+ /**
276
+ * Generated by orval v8.1.0 🍺
277
+ * Do not edit manually.
278
+ * Avallon API
279
+ * OpenAPI spec version: 1.0.0
280
+ */
281
+
265
282
  interface ApiKey {
266
283
  /** Unique identifier for the API key */
267
284
  id: string;
@@ -269,6 +286,8 @@ interface ApiKey {
269
286
  name: string;
270
287
  /** First 12 characters of the key (e.g. ak_live_abc1) */
271
288
  key_prefix: string;
289
+ /** Role granted to this API key */
290
+ role: ApiKeyRole;
272
291
  /** Last usage timestamp, if ever used */
273
292
  last_used_at?: string;
274
293
  /** Expiration date, if set */
@@ -287,6 +306,23 @@ interface ApiKey {
287
306
  * Avallon API
288
307
  * OpenAPI spec version: 1.0.0
289
308
  */
309
+ /**
310
+ * Role granted to this API key
311
+ */
312
+ type ApiKeyCreatedRole = (typeof ApiKeyCreatedRole)[keyof typeof ApiKeyCreatedRole];
313
+ declare const ApiKeyCreatedRole: {
314
+ readonly admin: "admin";
315
+ readonly avallon_admin: "avallon_admin";
316
+ readonly member: "member";
317
+ };
318
+
319
+ /**
320
+ * Generated by orval v8.1.0 🍺
321
+ * Do not edit manually.
322
+ * Avallon API
323
+ * OpenAPI spec version: 1.0.0
324
+ */
325
+
290
326
  interface ApiKeyCreated {
291
327
  /** Unique identifier for the API key */
292
328
  id: string;
@@ -294,10 +330,18 @@ interface ApiKeyCreated {
294
330
  name: string;
295
331
  /** First 12 characters of the key (e.g. ak_live_abc1) */
296
332
  key_prefix: string;
333
+ /** Role granted to this API key */
334
+ role: ApiKeyCreatedRole;
335
+ /** Last usage timestamp, if ever used */
336
+ last_used_at?: string;
297
337
  /** Expiration date, if set */
298
338
  expires_at?: string;
339
+ /** Revocation timestamp, if revoked */
340
+ revoked_at?: string;
299
341
  /** Creation timestamp */
300
342
  created_at: string;
343
+ /** Last update timestamp */
344
+ updated_at: string;
301
345
  /** The full API key — only returned once at creation */
302
346
  api_key: string;
303
347
  }
@@ -1270,6 +1314,22 @@ declare const CreateApiKeyBodyEnvironment: {
1270
1314
  readonly live: "live";
1271
1315
  };
1272
1316
 
1317
+ /**
1318
+ * Generated by orval v8.1.0 🍺
1319
+ * Do not edit manually.
1320
+ * Avallon API
1321
+ * OpenAPI spec version: 1.0.0
1322
+ */
1323
+ /**
1324
+ * Role granted to this API key (defaults to admin). Caller's role caps the maximum grantable role.
1325
+ */
1326
+ type CreateApiKeyBodyRole = (typeof CreateApiKeyBodyRole)[keyof typeof CreateApiKeyBodyRole];
1327
+ declare const CreateApiKeyBodyRole: {
1328
+ readonly admin: "admin";
1329
+ readonly avallon_admin: "avallon_admin";
1330
+ readonly member: "member";
1331
+ };
1332
+
1273
1333
  /**
1274
1334
  * Generated by orval v8.1.0 🍺
1275
1335
  * Do not edit manually.
@@ -1288,6 +1348,8 @@ type CreateApiKeyBody = {
1288
1348
  expires_at?: string;
1289
1349
  /** Target environment for the key */
1290
1350
  environment?: CreateApiKeyBodyEnvironment;
1351
+ /** Role granted to this API key (defaults to admin). Caller's role caps the maximum grantable role. */
1352
+ role?: CreateApiKeyBodyRole;
1291
1353
  };
1292
1354
 
1293
1355
  /**
@@ -4262,6 +4324,34 @@ interface ToolList {
4262
4324
  tools: CodeToolSummary[];
4263
4325
  }
4264
4326
 
4327
+ /**
4328
+ * Generated by orval v8.1.0 🍺
4329
+ * Do not edit manually.
4330
+ * Avallon API
4331
+ * OpenAPI spec version: 1.0.0
4332
+ */
4333
+ /**
4334
+ * New role to grant this API key. Caller's role caps the maximum grantable role.
4335
+ */
4336
+ type UpdateApiKeyBodyRole = (typeof UpdateApiKeyBodyRole)[keyof typeof UpdateApiKeyBodyRole];
4337
+ declare const UpdateApiKeyBodyRole: {
4338
+ readonly admin: "admin";
4339
+ readonly avallon_admin: "avallon_admin";
4340
+ readonly member: "member";
4341
+ };
4342
+
4343
+ /**
4344
+ * Generated by orval v8.1.0 🍺
4345
+ * Do not edit manually.
4346
+ * Avallon API
4347
+ * OpenAPI spec version: 1.0.0
4348
+ */
4349
+
4350
+ type UpdateApiKeyBody = {
4351
+ /** New role to grant this API key. Caller's role caps the maximum grantable role. */
4352
+ role: UpdateApiKeyBodyRole;
4353
+ };
4354
+
4265
4355
  /**
4266
4356
  * Generated by orval v8.1.0 🍺
4267
4357
  * Do not edit manually.
@@ -4975,6 +5065,8 @@ interface WorkerToolList {
4975
5065
 
4976
5066
  type WorkerWebhookList = Webhook[];
4977
5067
 
5068
+ type AwaitedInput$m<T> = PromiseLike<T> | T;
5069
+ type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
4978
5070
  type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
4979
5071
  /**
4980
5072
  * List all API keys for your tenant.
@@ -4987,12 +5079,12 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
4987
5079
  declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
4988
5080
  declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ApiKeyList>;
4989
5081
  declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
4990
- type ListApiKeysQueryResult = NonNullable<Awaited<ReturnType<typeof listApiKeys>>>;
5082
+ type ListApiKeysQueryResult = NonNullable<Awaited$m<ReturnType<typeof listApiKeys>>>;
4991
5083
  /**
4992
5084
  * @summary List API keys
4993
5085
  */
4994
5086
  declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
4995
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listApiKeys>>, TError> & {
5087
+ swr?: SWRConfiguration<Awaited$m<ReturnType<typeof listApiKeys>>, TError> & {
4996
5088
  swrKey?: Key;
4997
5089
  enabled?: boolean;
4998
5090
  };
@@ -5019,12 +5111,12 @@ declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$m<typeo
5019
5111
  arg: CreateApiKeyBody;
5020
5112
  }) => Promise<ApiKeyCreated>;
5021
5113
  declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
5022
- type CreateApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof createApiKey>>>;
5114
+ type CreateApiKeyMutationResult = NonNullable<Awaited$m<ReturnType<typeof createApiKey>>>;
5023
5115
  /**
5024
5116
  * @summary Create an API key
5025
5117
  */
5026
5118
  declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
5027
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
5119
+ swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$m<ReturnType<typeof createApiKey>>> & {
5028
5120
  swrKey?: string;
5029
5121
  };
5030
5122
  request?: SecondParameter$m<typeof customFetch>;
@@ -5050,12 +5142,12 @@ declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParam
5050
5142
  arg: Arguments;
5051
5143
  }) => Promise<ConfirmationResponse>;
5052
5144
  declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
5053
- type RevokeApiKeyMutationResult = NonNullable<Awaited<ReturnType<typeof revokeApiKey>>>;
5145
+ type RevokeApiKeyMutationResult = NonNullable<Awaited$m<ReturnType<typeof revokeApiKey>>>;
5054
5146
  /**
5055
5147
  * @summary Revoke an API key
5056
5148
  */
5057
5149
  declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5058
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
5150
+ swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$m<ReturnType<typeof revokeApiKey>>> & {
5059
5151
  swrKey?: string;
5060
5152
  };
5061
5153
  request?: SecondParameter$m<typeof customFetch>;
@@ -5067,7 +5159,38 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
5067
5159
  error: TError | undefined;
5068
5160
  swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
5069
5161
  };
5162
+ /**
5163
+ * Update mutable fields of an API key. Currently only `role` can be updated.
5164
+
5165
+ The caller's role caps the maximum role they can grant — an `admin` cannot promote a key to `avallon_admin`.
5166
+ * @summary Update API key
5167
+ */
5168
+ declare const getUpdateApiKeyUrl: (id: string) => string;
5169
+ declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<ApiKey>;
5170
+ declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
5171
+ arg: UpdateApiKeyBody;
5172
+ }) => Promise<ApiKey>;
5173
+ declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
5174
+ type UpdateApiKeyMutationResult = NonNullable<Awaited$m<ReturnType<typeof updateApiKey>>>;
5175
+ /**
5176
+ * @summary Update API key
5177
+ */
5178
+ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5179
+ swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$m<ReturnType<typeof updateApiKey>>> & {
5180
+ swrKey?: string;
5181
+ };
5182
+ request?: SecondParameter$m<typeof customFetch>;
5183
+ }) => {
5184
+ isMutating: boolean;
5185
+ trigger: swr_mutation.TriggerWithArgs<ApiKey, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
5186
+ reset: () => void;
5187
+ data: ApiKey | undefined;
5188
+ error: TError | undefined;
5189
+ swrKey: string | readonly [`/platform/api-keys/${string}`];
5190
+ };
5070
5191
 
5192
+ type AwaitedInput$l<T> = PromiseLike<T> | T;
5193
+ type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
5071
5194
  type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
5072
5195
  /**
5073
5196
  * Upload a document as a base64-encoded artifact for processing.
@@ -5088,12 +5211,12 @@ declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$l<typ
5088
5211
  arg: CreateArtifactBody;
5089
5212
  }) => Promise<ArtifactCreated>;
5090
5213
  declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
5091
- type CreateArtifactMutationResult = NonNullable<Awaited<ReturnType<typeof createArtifact>>>;
5214
+ type CreateArtifactMutationResult = NonNullable<Awaited$l<ReturnType<typeof createArtifact>>>;
5092
5215
  /**
5093
5216
  * @summary Create artifact
5094
5217
  */
5095
5218
  declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
5096
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited<ReturnType<typeof createArtifact>>> & {
5219
+ swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$l<ReturnType<typeof createArtifact>>> & {
5097
5220
  swrKey?: string;
5098
5221
  };
5099
5222
  request?: SecondParameter$l<typeof customFetch>;
@@ -5120,12 +5243,12 @@ Multiple metadata filters can be combined (AND logic).
5120
5243
  declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
5121
5244
  declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ArtifactList>;
5122
5245
  declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
5123
- type ListArtifactsQueryResult = NonNullable<Awaited<ReturnType<typeof listArtifacts>>>;
5246
+ type ListArtifactsQueryResult = NonNullable<Awaited$l<ReturnType<typeof listArtifacts>>>;
5124
5247
  /**
5125
5248
  * @summary List artifacts
5126
5249
  */
5127
5250
  declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
5128
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listArtifacts>>, TError> & {
5251
+ swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listArtifacts>>, TError> & {
5129
5252
  swrKey?: Key;
5130
5253
  enabled?: boolean;
5131
5254
  };
@@ -5145,12 +5268,12 @@ declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: Lis
5145
5268
  declare const getGetArtifactUrl: (id: string) => string;
5146
5269
  declare const getArtifact: (id: string, options?: RequestInit) => Promise<ArtifactDetail>;
5147
5270
  declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
5148
- type GetArtifactQueryResult = NonNullable<Awaited<ReturnType<typeof getArtifact>>>;
5271
+ type GetArtifactQueryResult = NonNullable<Awaited$l<ReturnType<typeof getArtifact>>>;
5149
5272
  /**
5150
5273
  * @summary Get artifact
5151
5274
  */
5152
5275
  declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5153
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getArtifact>>, TError> & {
5276
+ swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getArtifact>>, TError> & {
5154
5277
  swrKey?: Key;
5155
5278
  enabled?: boolean;
5156
5279
  };
@@ -5170,12 +5293,12 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
5170
5293
  declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
5171
5294
  declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<ArtifactMetadataKeys>;
5172
5295
  declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
5173
- type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited<ReturnType<typeof getArtifactMetadataKeys>>>;
5296
+ type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$l<ReturnType<typeof getArtifactMetadataKeys>>>;
5174
5297
  /**
5175
5298
  * @summary Get artifact metadata keys
5176
5299
  */
5177
5300
  declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
5178
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
5301
+ swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
5179
5302
  swrKey?: Key;
5180
5303
  enabled?: boolean;
5181
5304
  };
@@ -5198,12 +5321,12 @@ declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter
5198
5321
  arg: GetArtifactUploadUrlBody;
5199
5322
  }) => Promise<GetArtifactUploadUrl200>;
5200
5323
  declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
5201
- type GetArtifactUploadUrlMutationResult = NonNullable<Awaited<ReturnType<typeof getArtifactUploadUrl>>>;
5324
+ type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$l<ReturnType<typeof getArtifactUploadUrl>>>;
5202
5325
  /**
5203
5326
  * @summary Request a pre-signed URL for direct large file upload
5204
5327
  */
5205
5328
  declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
5206
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited<ReturnType<typeof getArtifactUploadUrl>>> & {
5329
+ swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$l<ReturnType<typeof getArtifactUploadUrl>>> & {
5207
5330
  swrKey?: string;
5208
5331
  };
5209
5332
  request?: SecondParameter$l<typeof customFetch>;
@@ -5225,12 +5348,12 @@ declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: S
5225
5348
  arg: UpdateArtifactMetadataBody;
5226
5349
  }) => Promise<ArtifactDetail>;
5227
5350
  declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
5228
- type UpdateArtifactMetadataMutationResult = NonNullable<Awaited<ReturnType<typeof updateArtifactMetadata>>>;
5351
+ type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$l<ReturnType<typeof updateArtifactMetadata>>>;
5229
5352
  /**
5230
5353
  * @summary Update artifact metadata
5231
5354
  */
5232
5355
  declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5233
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited<ReturnType<typeof updateArtifactMetadata>>> & {
5356
+ swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$l<ReturnType<typeof updateArtifactMetadata>>> & {
5234
5357
  swrKey?: string;
5235
5358
  };
5236
5359
  request?: SecondParameter$l<typeof customFetch>;
@@ -5254,12 +5377,12 @@ declare const getUploadFileMutationFetcher: (options?: SecondParameter$l<typeof
5254
5377
  arg: UploadFileBody;
5255
5378
  }) => Promise<UploadFileResponse>;
5256
5379
  declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
5257
- type UploadFileMutationResult = NonNullable<Awaited<ReturnType<typeof uploadFile>>>;
5380
+ type UploadFileMutationResult = NonNullable<Awaited$l<ReturnType<typeof uploadFile>>>;
5258
5381
  /**
5259
5382
  * @summary Upload a file for processing
5260
5383
  */
5261
5384
  declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
5262
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited<ReturnType<typeof uploadFile>>> & {
5385
+ swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$l<ReturnType<typeof uploadFile>>> & {
5263
5386
  swrKey?: string;
5264
5387
  };
5265
5388
  request?: SecondParameter$l<typeof customFetch>;
@@ -5272,6 +5395,8 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
5272
5395
  swrKey: string | readonly ["/v1/upload-file"];
5273
5396
  };
5274
5397
 
5398
+ type AwaitedInput$k<T> = PromiseLike<T> | T;
5399
+ type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
5275
5400
  type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
5276
5401
  /**
5277
5402
  * Create a new user account with email and password.
@@ -5283,12 +5408,12 @@ declare const getSignUpMutationFetcher: (options?: SecondParameter$k<typeof cust
5283
5408
  arg: SignUpBody;
5284
5409
  }) => Promise<EmptyResponse>;
5285
5410
  declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
5286
- type SignUpMutationResult = NonNullable<Awaited<ReturnType<typeof signUp>>>;
5411
+ type SignUpMutationResult = NonNullable<Awaited$k<ReturnType<typeof signUp>>>;
5287
5412
  /**
5288
5413
  * @summary Sign up
5289
5414
  */
5290
5415
  declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
5291
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited<ReturnType<typeof signUp>>> & {
5416
+ swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$k<ReturnType<typeof signUp>>> & {
5292
5417
  swrKey?: string;
5293
5418
  };
5294
5419
  request?: SecondParameter$k<typeof customFetchNoAuth>;
@@ -5314,12 +5439,12 @@ declare const getSignInMutationFetcher: (options?: SecondParameter$k<typeof cust
5314
5439
  arg: SignInBody;
5315
5440
  }) => Promise<AuthTokens>;
5316
5441
  declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
5317
- type SignInMutationResult = NonNullable<Awaited<ReturnType<typeof signIn>>>;
5442
+ type SignInMutationResult = NonNullable<Awaited$k<ReturnType<typeof signIn>>>;
5318
5443
  /**
5319
5444
  * @summary Sign in
5320
5445
  */
5321
5446
  declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
5322
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited<ReturnType<typeof signIn>>> & {
5447
+ swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$k<ReturnType<typeof signIn>>> & {
5323
5448
  swrKey?: string;
5324
5449
  };
5325
5450
  request?: SecondParameter$k<typeof customFetchNoAuth>;
@@ -5341,12 +5466,12 @@ declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$k<typeo
5341
5466
  arg: RefreshTokenBody;
5342
5467
  }) => Promise<AuthTokens>;
5343
5468
  declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
5344
- type RefreshTokenMutationResult = NonNullable<Awaited<ReturnType<typeof refreshToken>>>;
5469
+ type RefreshTokenMutationResult = NonNullable<Awaited$k<ReturnType<typeof refreshToken>>>;
5345
5470
  /**
5346
5471
  * @summary Refresh authentication token
5347
5472
  */
5348
5473
  declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
5349
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited<ReturnType<typeof refreshToken>>> & {
5474
+ swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$k<ReturnType<typeof refreshToken>>> & {
5350
5475
  swrKey?: string;
5351
5476
  };
5352
5477
  request?: SecondParameter$k<typeof customFetchNoAuth>;
@@ -5365,12 +5490,12 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
5365
5490
  declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
5366
5491
  declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
5367
5492
  declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
5368
- type GetOAuthUrlQueryResult = NonNullable<Awaited<ReturnType<typeof getOAuthUrl>>>;
5493
+ type GetOAuthUrlQueryResult = NonNullable<Awaited$k<ReturnType<typeof getOAuthUrl>>>;
5369
5494
  /**
5370
5495
  * @summary Get OAuth sign-in URL
5371
5496
  */
5372
5497
  declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
5373
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getOAuthUrl>>, TError> & {
5498
+ swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getOAuthUrl>>, TError> & {
5374
5499
  swrKey?: Key;
5375
5500
  enabled?: boolean;
5376
5501
  };
@@ -5397,12 +5522,12 @@ declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$k<ty
5397
5522
  arg: GetSessionTokenBody;
5398
5523
  }) => Promise<GetSessionToken200>;
5399
5524
  declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
5400
- type GetSessionTokenMutationResult = NonNullable<Awaited<ReturnType<typeof getSessionToken>>>;
5525
+ type GetSessionTokenMutationResult = NonNullable<Awaited$k<ReturnType<typeof getSessionToken>>>;
5401
5526
  /**
5402
5527
  * @summary Create or switch tenant session
5403
5528
  */
5404
5529
  declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
5405
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited<ReturnType<typeof getSessionToken>>> & {
5530
+ swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$k<ReturnType<typeof getSessionToken>>> & {
5406
5531
  swrKey?: string;
5407
5532
  };
5408
5533
  request?: SecondParameter$k<typeof customFetchNoAuth>;
@@ -5415,6 +5540,8 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
5415
5540
  swrKey: string | readonly ["/v1/auth/session"];
5416
5541
  };
5417
5542
 
5543
+ type AwaitedInput$j<T> = PromiseLike<T> | T;
5544
+ type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
5418
5545
  type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
5419
5546
  /**
5420
5547
  * 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.
@@ -5426,12 +5553,12 @@ declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: Secon
5426
5553
  arg: CreateFeedbackRequest;
5427
5554
  }) => Promise<Feedback>;
5428
5555
  declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
5429
- type CreateCallFeedbackMutationResult = NonNullable<Awaited<ReturnType<typeof createCallFeedback>>>;
5556
+ type CreateCallFeedbackMutationResult = NonNullable<Awaited$j<ReturnType<typeof createCallFeedback>>>;
5430
5557
  /**
5431
5558
  * @summary Create feedback on a call message
5432
5559
  */
5433
5560
  declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5434
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited<ReturnType<typeof createCallFeedback>>> & {
5561
+ swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$j<ReturnType<typeof createCallFeedback>>> & {
5435
5562
  swrKey?: string;
5436
5563
  };
5437
5564
  request?: SecondParameter$j<typeof customFetch>;
@@ -5450,12 +5577,12 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
5450
5577
  declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
5451
5578
  declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<Feedback[]>;
5452
5579
  declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
5453
- type ListCallFeedbackQueryResult = NonNullable<Awaited<ReturnType<typeof listCallFeedback>>>;
5580
+ type ListCallFeedbackQueryResult = NonNullable<Awaited$j<ReturnType<typeof listCallFeedback>>>;
5454
5581
  /**
5455
5582
  * @summary List feedback for a call
5456
5583
  */
5457
5584
  declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
5458
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listCallFeedback>>, TError> & {
5585
+ swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listCallFeedback>>, TError> & {
5459
5586
  swrKey?: Key;
5460
5587
  enabled?: boolean;
5461
5588
  };
@@ -5478,12 +5605,12 @@ declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: str
5478
5605
  arg: Arguments;
5479
5606
  }) => Promise<null>;
5480
5607
  declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
5481
- type DeleteCallFeedbackMutationResult = NonNullable<Awaited<ReturnType<typeof deleteCallFeedback>>>;
5608
+ type DeleteCallFeedbackMutationResult = NonNullable<Awaited$j<ReturnType<typeof deleteCallFeedback>>>;
5482
5609
  /**
5483
5610
  * @summary Delete feedback
5484
5611
  */
5485
5612
  declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
5486
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteCallFeedback>>> & {
5613
+ swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$j<ReturnType<typeof deleteCallFeedback>>> & {
5487
5614
  swrKey?: string;
5488
5615
  };
5489
5616
  request?: SecondParameter$j<typeof customFetch>;
@@ -5496,6 +5623,8 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
5496
5623
  swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
5497
5624
  };
5498
5625
 
5626
+ type AwaitedInput$i<T> = PromiseLike<T> | T;
5627
+ type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
5499
5628
  type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
5500
5629
  /**
5501
5630
  * List all calls, with pagination, filtering, and sorting.
@@ -5508,12 +5637,12 @@ Filter by agent, direction, status, time range, phone number, and more. Phone nu
5508
5637
  declare const getListCallsUrl: (params?: ListCallsParams) => string;
5509
5638
  declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<CallList>;
5510
5639
  declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
5511
- type ListCallsQueryResult = NonNullable<Awaited<ReturnType<typeof listCalls>>>;
5640
+ type ListCallsQueryResult = NonNullable<Awaited$i<ReturnType<typeof listCalls>>>;
5512
5641
  /**
5513
5642
  * @summary List calls
5514
5643
  */
5515
5644
  declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
5516
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listCalls>>, TError> & {
5645
+ swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listCalls>>, TError> & {
5517
5646
  swrKey?: Key;
5518
5647
  enabled?: boolean;
5519
5648
  };
@@ -5535,12 +5664,12 @@ Set `include_messages=true` to include the full message transcript.
5535
5664
  declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
5536
5665
  declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<CallDetail>;
5537
5666
  declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
5538
- type GetCallQueryResult = NonNullable<Awaited<ReturnType<typeof getCall>>>;
5667
+ type GetCallQueryResult = NonNullable<Awaited$i<ReturnType<typeof getCall>>>;
5539
5668
  /**
5540
5669
  * @summary Get call
5541
5670
  */
5542
5671
  declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
5543
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getCall>>, TError> & {
5672
+ swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getCall>>, TError> & {
5544
5673
  swrKey?: Key;
5545
5674
  enabled?: boolean;
5546
5675
  };
@@ -5560,12 +5689,12 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
5560
5689
  declare const getGetCallEvaluationUrl: (id: string) => string;
5561
5690
  declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<CallEvaluation>;
5562
5691
  declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
5563
- type GetCallEvaluationQueryResult = NonNullable<Awaited<ReturnType<typeof getCallEvaluation>>>;
5692
+ type GetCallEvaluationQueryResult = NonNullable<Awaited$i<ReturnType<typeof getCallEvaluation>>>;
5564
5693
  /**
5565
5694
  * @summary Get call evaluation
5566
5695
  */
5567
5696
  declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5568
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getCallEvaluation>>, TError> & {
5697
+ swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getCallEvaluation>>, TError> & {
5569
5698
  swrKey?: Key;
5570
5699
  enabled?: boolean;
5571
5700
  };
@@ -5587,12 +5716,12 @@ Includes summary statistics, call volume over time, evaluation scores, score and
5587
5716
  declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
5588
5717
  declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<CallAnalytics>;
5589
5718
  declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
5590
- type GetCallAnalyticsQueryResult = NonNullable<Awaited<ReturnType<typeof getCallAnalytics>>>;
5719
+ type GetCallAnalyticsQueryResult = NonNullable<Awaited$i<ReturnType<typeof getCallAnalytics>>>;
5591
5720
  /**
5592
5721
  * @summary Get call analytics
5593
5722
  */
5594
5723
  declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
5595
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getCallAnalytics>>, TError> & {
5724
+ swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getCallAnalytics>>, TError> & {
5596
5725
  swrKey?: Key;
5597
5726
  enabled?: boolean;
5598
5727
  };
@@ -5606,6 +5735,8 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
5606
5735
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5607
5736
  };
5608
5737
 
5738
+ type AwaitedInput$h<T> = PromiseLike<T> | T;
5739
+ type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
5609
5740
  type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
5610
5741
  /**
5611
5742
  * List all cases for the current tenant, paginated and sortable.
@@ -5614,12 +5745,12 @@ type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1]
5614
5745
  declare const getListCasesUrl: (params?: ListCasesParams) => string;
5615
5746
  declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<CaseList>;
5616
5747
  declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
5617
- type ListCasesQueryResult = NonNullable<Awaited<ReturnType<typeof listCases>>>;
5748
+ type ListCasesQueryResult = NonNullable<Awaited$h<ReturnType<typeof listCases>>>;
5618
5749
  /**
5619
5750
  * @summary List cases
5620
5751
  */
5621
5752
  declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
5622
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listCases>>, TError> & {
5753
+ swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listCases>>, TError> & {
5623
5754
  swrKey?: Key;
5624
5755
  enabled?: boolean;
5625
5756
  };
@@ -5633,6 +5764,8 @@ declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCas
5633
5764
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5634
5765
  };
5635
5766
 
5767
+ type AwaitedInput$g<T> = PromiseLike<T> | T;
5768
+ type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
5636
5769
  type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
5637
5770
  /**
5638
5771
  * Create a new chat agent with a name and prompt.
@@ -5644,12 +5777,12 @@ declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$g<ty
5644
5777
  arg: CreateChatAgentBody;
5645
5778
  }) => Promise<ChatAgentCreated>;
5646
5779
  declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
5647
- type CreateChatAgentMutationResult = NonNullable<Awaited<ReturnType<typeof createChatAgent>>>;
5780
+ type CreateChatAgentMutationResult = NonNullable<Awaited$g<ReturnType<typeof createChatAgent>>>;
5648
5781
  /**
5649
5782
  * @summary Create chat agent
5650
5783
  */
5651
5784
  declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
5652
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited<ReturnType<typeof createChatAgent>>> & {
5785
+ swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$g<ReturnType<typeof createChatAgent>>> & {
5653
5786
  swrKey?: string;
5654
5787
  };
5655
5788
  request?: SecondParameter$g<typeof customFetch>;
@@ -5668,12 +5801,12 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
5668
5801
  declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
5669
5802
  declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ChatAgentList>;
5670
5803
  declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
5671
- type ListChatAgentsQueryResult = NonNullable<Awaited<ReturnType<typeof listChatAgents>>>;
5804
+ type ListChatAgentsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listChatAgents>>>;
5672
5805
  /**
5673
5806
  * @summary List chat agents
5674
5807
  */
5675
5808
  declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
5676
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listChatAgents>>, TError> & {
5809
+ swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listChatAgents>>, TError> & {
5677
5810
  swrKey?: Key;
5678
5811
  enabled?: boolean;
5679
5812
  };
@@ -5693,12 +5826,12 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
5693
5826
  declare const getGetChatAgentUrl: (chatAgentId: string) => string;
5694
5827
  declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgent>;
5695
5828
  declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
5696
- type GetChatAgentQueryResult = NonNullable<Awaited<ReturnType<typeof getChatAgent>>>;
5829
+ type GetChatAgentQueryResult = NonNullable<Awaited$g<ReturnType<typeof getChatAgent>>>;
5697
5830
  /**
5698
5831
  * @summary Get chat agent
5699
5832
  */
5700
5833
  declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
5701
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getChatAgent>>, TError> & {
5834
+ swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getChatAgent>>, TError> & {
5702
5835
  swrKey?: Key;
5703
5836
  enabled?: boolean;
5704
5837
  };
@@ -5721,12 +5854,12 @@ declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?:
5721
5854
  arg: UpdateChatAgentRequest;
5722
5855
  }) => Promise<ChatAgent>;
5723
5856
  declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
5724
- type UpdateChatAgentMutationResult = NonNullable<Awaited<ReturnType<typeof updateChatAgent>>>;
5857
+ type UpdateChatAgentMutationResult = NonNullable<Awaited$g<ReturnType<typeof updateChatAgent>>>;
5725
5858
  /**
5726
5859
  * @summary Update chat agent
5727
5860
  */
5728
5861
  declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
5729
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited<ReturnType<typeof updateChatAgent>>> & {
5862
+ swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$g<ReturnType<typeof updateChatAgent>>> & {
5730
5863
  swrKey?: string;
5731
5864
  };
5732
5865
  request?: SecondParameter$g<typeof customFetch>;
@@ -5739,6 +5872,8 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
5739
5872
  swrKey: string | readonly [`/v1/chat-agents/${string}`];
5740
5873
  };
5741
5874
 
5875
+ type AwaitedInput$f<T> = PromiseLike<T> | T;
5876
+ type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
5742
5877
  type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
5743
5878
  /**
5744
5879
  * Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
@@ -5750,12 +5885,12 @@ declare const getCreateChatMutationFetcher: (options?: SecondParameter$f<typeof
5750
5885
  arg: CreateChatBody;
5751
5886
  }) => Promise<ChatCreated>;
5752
5887
  declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
5753
- type CreateChatMutationResult = NonNullable<Awaited<ReturnType<typeof createChat>>>;
5888
+ type CreateChatMutationResult = NonNullable<Awaited$f<ReturnType<typeof createChat>>>;
5754
5889
  /**
5755
5890
  * @summary Create a chat
5756
5891
  */
5757
5892
  declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
5758
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited<ReturnType<typeof createChat>>> & {
5893
+ swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$f<ReturnType<typeof createChat>>> & {
5759
5894
  swrKey?: string;
5760
5895
  };
5761
5896
  request?: SecondParameter$f<typeof customFetch>;
@@ -5774,12 +5909,12 @@ declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
5774
5909
  declare const getGetChatUrl: (chatId: string) => string;
5775
5910
  declare const getChat: (chatId: string, options?: RequestInit) => Promise<ChatHistory>;
5776
5911
  declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
5777
- type GetChatQueryResult = NonNullable<Awaited<ReturnType<typeof getChat>>>;
5912
+ type GetChatQueryResult = NonNullable<Awaited$f<ReturnType<typeof getChat>>>;
5778
5913
  /**
5779
5914
  * @summary Get a chat
5780
5915
  */
5781
5916
  declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
5782
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getChat>>, TError> & {
5917
+ swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getChat>>, TError> & {
5783
5918
  swrKey?: Key;
5784
5919
  enabled?: boolean;
5785
5920
  };
@@ -5802,12 +5937,12 @@ declare const getPostChatMessageMutationFetcher: (chatId: string, options?: Seco
5802
5937
  arg: PostChatMessageBody;
5803
5938
  }) => Promise<ChatMessageCreated>;
5804
5939
  declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
5805
- type PostChatMessageMutationResult = NonNullable<Awaited<ReturnType<typeof postChatMessage>>>;
5940
+ type PostChatMessageMutationResult = NonNullable<Awaited$f<ReturnType<typeof postChatMessage>>>;
5806
5941
  /**
5807
5942
  * @summary Post a message to a chat
5808
5943
  */
5809
5944
  declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
5810
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited<ReturnType<typeof postChatMessage>>> & {
5945
+ swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$f<ReturnType<typeof postChatMessage>>> & {
5811
5946
  swrKey?: string;
5812
5947
  };
5813
5948
  request?: SecondParameter$f<typeof customFetch>;
@@ -5826,12 +5961,12 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
5826
5961
  declare const getListChatsUrl: (params?: ListChatsParams) => string;
5827
5962
  declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ChatList>;
5828
5963
  declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
5829
- type ListChatsQueryResult = NonNullable<Awaited<ReturnType<typeof listChats>>>;
5964
+ type ListChatsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listChats>>>;
5830
5965
  /**
5831
5966
  * @summary List chats
5832
5967
  */
5833
5968
  declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
5834
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listChats>>, TError> & {
5969
+ swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listChats>>, TError> & {
5835
5970
  swrKey?: Key;
5836
5971
  enabled?: boolean;
5837
5972
  };
@@ -5851,12 +5986,12 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
5851
5986
  declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
5852
5987
  declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ChatMessageList>;
5853
5988
  declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
5854
- type ListChatMessagesQueryResult = NonNullable<Awaited<ReturnType<typeof listChatMessages>>>;
5989
+ type ListChatMessagesQueryResult = NonNullable<Awaited$f<ReturnType<typeof listChatMessages>>>;
5855
5990
  /**
5856
5991
  * @summary List chat messages
5857
5992
  */
5858
5993
  declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
5859
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listChatMessages>>, TError> & {
5994
+ swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listChatMessages>>, TError> & {
5860
5995
  swrKey?: Key;
5861
5996
  enabled?: boolean;
5862
5997
  };
@@ -5870,6 +6005,8 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
5870
6005
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5871
6006
  };
5872
6007
 
6008
+ type AwaitedInput$e<T> = PromiseLike<T> | T;
6009
+ type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
5873
6010
  type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
5874
6011
  /**
5875
6012
  * Create a new empty claim. Returns the claim ID and the creation timestamp.
@@ -5881,12 +6018,12 @@ declare const getCreateClaimMutationFetcher: (options?: SecondParameter$e<typeof
5881
6018
  arg: Arguments;
5882
6019
  }) => Promise<ClaimCreated>;
5883
6020
  declare const getCreateClaimMutationKey: () => readonly ["/v1/claims"];
5884
- type CreateClaimMutationResult = NonNullable<Awaited<ReturnType<typeof createClaim>>>;
6021
+ type CreateClaimMutationResult = NonNullable<Awaited$e<ReturnType<typeof createClaim>>>;
5885
6022
  /**
5886
6023
  * @summary Create claim
5887
6024
  */
5888
6025
  declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
5889
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited<ReturnType<typeof createClaim>>> & {
6026
+ swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited$e<ReturnType<typeof createClaim>>> & {
5890
6027
  swrKey?: string;
5891
6028
  };
5892
6029
  request?: SecondParameter$e<typeof customFetch>;
@@ -5905,12 +6042,12 @@ declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
5905
6042
  declare const getListClaimsUrl: (params?: ListClaimsParams) => string;
5906
6043
  declare const listClaims: (params?: ListClaimsParams, options?: RequestInit) => Promise<ClaimList>;
5907
6044
  declare const getListClaimsKey: (params?: ListClaimsParams) => readonly ["/v1/claims", ...ListClaimsParams[]];
5908
- type ListClaimsQueryResult = NonNullable<Awaited<ReturnType<typeof listClaims>>>;
6045
+ type ListClaimsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listClaims>>>;
5909
6046
  /**
5910
6047
  * @summary List claims
5911
6048
  */
5912
6049
  declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListClaimsParams, options?: {
5913
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listClaims>>, TError> & {
6050
+ swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listClaims>>, TError> & {
5914
6051
  swrKey?: Key;
5915
6052
  enabled?: boolean;
5916
6053
  };
@@ -5930,12 +6067,12 @@ declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListCl
5930
6067
  declare const getGetClaimDetailUrl: (id: string) => string;
5931
6068
  declare const getClaimDetail: (id: string, options?: RequestInit) => Promise<ClaimDetail>;
5932
6069
  declare const getGetClaimDetailKey: (id: string) => readonly [`/v1/claims/${string}`];
5933
- type GetClaimDetailQueryResult = NonNullable<Awaited<ReturnType<typeof getClaimDetail>>>;
6070
+ type GetClaimDetailQueryResult = NonNullable<Awaited$e<ReturnType<typeof getClaimDetail>>>;
5934
6071
  /**
5935
6072
  * @summary Get claim detail
5936
6073
  */
5937
6074
  declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5938
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getClaimDetail>>, TError> & {
6075
+ swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getClaimDetail>>, TError> & {
5939
6076
  swrKey?: Key;
5940
6077
  enabled?: boolean;
5941
6078
  };
@@ -5949,6 +6086,8 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
5949
6086
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
5950
6087
  };
5951
6088
 
6089
+ type AwaitedInput$d<T> = PromiseLike<T> | T;
6090
+ type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
5952
6091
  type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
5953
6092
  /**
5954
6093
  * Ingest an email into the system.
@@ -5962,12 +6101,12 @@ declare const getCreateEmailMutationFetcher: (options?: SecondParameter$d<typeof
5962
6101
  arg: CreateEmailBody;
5963
6102
  }) => Promise<EmailCreated>;
5964
6103
  declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
5965
- type CreateEmailMutationResult = NonNullable<Awaited<ReturnType<typeof createEmail>>>;
6104
+ type CreateEmailMutationResult = NonNullable<Awaited$d<ReturnType<typeof createEmail>>>;
5966
6105
  /**
5967
6106
  * @summary Create email
5968
6107
  */
5969
6108
  declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
5970
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited<ReturnType<typeof createEmail>>> & {
6109
+ swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited$d<ReturnType<typeof createEmail>>> & {
5971
6110
  swrKey?: string;
5972
6111
  };
5973
6112
  request?: SecondParameter$d<typeof customFetch>;
@@ -5990,12 +6129,12 @@ Filter by email agent, sender, recipient, or content search.
5990
6129
  declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
5991
6130
  declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<EmailList>;
5992
6131
  declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
5993
- type ListEmailsQueryResult = NonNullable<Awaited<ReturnType<typeof listEmails>>>;
6132
+ type ListEmailsQueryResult = NonNullable<Awaited$d<ReturnType<typeof listEmails>>>;
5994
6133
  /**
5995
6134
  * @summary List emails
5996
6135
  */
5997
6136
  declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
5998
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listEmails>>, TError> & {
6137
+ swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listEmails>>, TError> & {
5999
6138
  swrKey?: Key;
6000
6139
  enabled?: boolean;
6001
6140
  };
@@ -6015,12 +6154,12 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
6015
6154
  declare const getGetEmailUrl: (emailId: string) => string;
6016
6155
  declare const getEmail: (emailId: string, options?: RequestInit) => Promise<EmailDetail>;
6017
6156
  declare const getGetEmailKey: (emailId: string) => readonly [`/v1/emails/${string}`];
6018
- type GetEmailQueryResult = NonNullable<Awaited<ReturnType<typeof getEmail>>>;
6157
+ type GetEmailQueryResult = NonNullable<Awaited$d<ReturnType<typeof getEmail>>>;
6019
6158
  /**
6020
6159
  * @summary Get email
6021
6160
  */
6022
6161
  declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
6023
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getEmail>>, TError> & {
6162
+ swr?: SWRConfiguration<Awaited$d<ReturnType<typeof getEmail>>, TError> & {
6024
6163
  swrKey?: Key;
6025
6164
  enabled?: boolean;
6026
6165
  };
@@ -6040,12 +6179,12 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
6040
6179
  declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
6041
6180
  declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<EmailThreadList>;
6042
6181
  declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
6043
- type ListEmailThreadsQueryResult = NonNullable<Awaited<ReturnType<typeof listEmailThreads>>>;
6182
+ type ListEmailThreadsQueryResult = NonNullable<Awaited$d<ReturnType<typeof listEmailThreads>>>;
6044
6183
  /**
6045
6184
  * @summary List email threads
6046
6185
  */
6047
6186
  declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
6048
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listEmailThreads>>, TError> & {
6187
+ swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listEmailThreads>>, TError> & {
6049
6188
  swrKey?: Key;
6050
6189
  enabled?: boolean;
6051
6190
  };
@@ -6070,12 +6209,12 @@ declare const getReplyToEmailMutationFetcher: (emailId: string, options?: Second
6070
6209
  readonly sent: true;
6071
6210
  }>;
6072
6211
  declare const getReplyToEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}/reply`];
6073
- type ReplyToEmailMutationResult = NonNullable<Awaited<ReturnType<typeof replyToEmail>>>;
6212
+ type ReplyToEmailMutationResult = NonNullable<Awaited$d<ReturnType<typeof replyToEmail>>>;
6074
6213
  /**
6075
6214
  * @summary Reply to email
6076
6215
  */
6077
6216
  declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
6078
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited<ReturnType<typeof replyToEmail>>> & {
6217
+ swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited$d<ReturnType<typeof replyToEmail>>> & {
6079
6218
  swrKey?: string;
6080
6219
  };
6081
6220
  request?: SecondParameter$d<typeof customFetch>;
@@ -6101,12 +6240,12 @@ declare const getSendEmailMutationFetcher: (options?: SecondParameter$d<typeof c
6101
6240
  arg: SendEmailBody;
6102
6241
  }) => Promise<EmailSendResult>;
6103
6242
  declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
6104
- type SendEmailMutationResult = NonNullable<Awaited<ReturnType<typeof sendEmail>>>;
6243
+ type SendEmailMutationResult = NonNullable<Awaited$d<ReturnType<typeof sendEmail>>>;
6105
6244
  /**
6106
6245
  * @summary Send email
6107
6246
  */
6108
6247
  declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
6109
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited<ReturnType<typeof sendEmail>>> & {
6248
+ swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited$d<ReturnType<typeof sendEmail>>> & {
6110
6249
  swrKey?: string;
6111
6250
  };
6112
6251
  request?: SecondParameter$d<typeof customFetch>;
@@ -6119,6 +6258,8 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
6119
6258
  swrKey: string | readonly ["/v1/emails/send"];
6120
6259
  };
6121
6260
 
6261
+ type AwaitedInput$c<T> = PromiseLike<T> | T;
6262
+ type Awaited$c<O> = O extends AwaitedInput$c<infer T> ? T : never;
6122
6263
  type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
6123
6264
  /**
6124
6265
  * List all extraction jobs with pagination, filtering, and sorting.
@@ -6136,12 +6277,12 @@ Multiple scope filters can be combined (AND logic).
6136
6277
  declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
6137
6278
  declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ExtractorJobList>;
6138
6279
  declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
6139
- type ListExtractorJobsQueryResult = NonNullable<Awaited<ReturnType<typeof listExtractorJobs>>>;
6280
+ type ListExtractorJobsQueryResult = NonNullable<Awaited$c<ReturnType<typeof listExtractorJobs>>>;
6140
6281
  /**
6141
6282
  * @summary List extractor jobs
6142
6283
  */
6143
6284
  declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
6144
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listExtractorJobs>>, TError> & {
6285
+ swr?: SWRConfiguration<Awaited$c<ReturnType<typeof listExtractorJobs>>, TError> & {
6145
6286
  swrKey?: Key;
6146
6287
  enabled?: boolean;
6147
6288
  };
@@ -6166,12 +6307,12 @@ declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$c
6166
6307
  arg: CreateExtractorJobBody;
6167
6308
  }) => Promise<ExtractorJobCreated>;
6168
6309
  declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
6169
- type CreateExtractorJobMutationResult = NonNullable<Awaited<ReturnType<typeof createExtractorJob>>>;
6310
+ type CreateExtractorJobMutationResult = NonNullable<Awaited$c<ReturnType<typeof createExtractorJob>>>;
6170
6311
  /**
6171
6312
  * @summary Create extractor job
6172
6313
  */
6173
6314
  declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options?: {
6174
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited<ReturnType<typeof createExtractorJob>>> & {
6315
+ swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited$c<ReturnType<typeof createExtractorJob>>> & {
6175
6316
  swrKey?: string;
6176
6317
  };
6177
6318
  request?: SecondParameter$c<typeof customFetch>;
@@ -6190,12 +6331,12 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
6190
6331
  declare const getGetExtractorJobUrl: (id: string) => string;
6191
6332
  declare const getExtractorJob: (id: string, options?: RequestInit) => Promise<GetExtractorJobResponse>;
6192
6333
  declare const getGetExtractorJobKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
6193
- type GetExtractorJobQueryResult = NonNullable<Awaited<ReturnType<typeof getExtractorJob>>>;
6334
+ type GetExtractorJobQueryResult = NonNullable<Awaited$c<ReturnType<typeof getExtractorJob>>>;
6194
6335
  /**
6195
6336
  * @summary Get extractor job
6196
6337
  */
6197
6338
  declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6198
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getExtractorJob>>, TError> & {
6339
+ swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getExtractorJob>>, TError> & {
6199
6340
  swrKey?: Key;
6200
6341
  enabled?: boolean;
6201
6342
  };
@@ -6209,6 +6350,8 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
6209
6350
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
6210
6351
  };
6211
6352
 
6353
+ type AwaitedInput$b<T> = PromiseLike<T> | T;
6354
+ type Awaited$b<O> = O extends AwaitedInput$b<infer T> ? T : never;
6212
6355
  type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
6213
6356
  /**
6214
6357
  * Create a new extractor with a name and JSON schema defining the extraction output format.
@@ -6220,12 +6363,12 @@ declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$b<ty
6220
6363
  arg: CreateExtractorBody;
6221
6364
  }) => Promise<ExtractorCreated>;
6222
6365
  declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
6223
- type CreateExtractorMutationResult = NonNullable<Awaited<ReturnType<typeof createExtractor>>>;
6366
+ type CreateExtractorMutationResult = NonNullable<Awaited$b<ReturnType<typeof createExtractor>>>;
6224
6367
  /**
6225
6368
  * @summary Create extractor
6226
6369
  */
6227
6370
  declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?: {
6228
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited<ReturnType<typeof createExtractor>>> & {
6371
+ swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited$b<ReturnType<typeof createExtractor>>> & {
6229
6372
  swrKey?: string;
6230
6373
  };
6231
6374
  request?: SecondParameter$b<typeof customFetch>;
@@ -6246,12 +6389,12 @@ Filter by name using the `name` query parameter.
6246
6389
  declare const getListExtractorsUrl: (params?: ListExtractorsParams) => string;
6247
6390
  declare const listExtractors: (params?: ListExtractorsParams, options?: RequestInit) => Promise<ExtractorList>;
6248
6391
  declare const getListExtractorsKey: (params?: ListExtractorsParams) => readonly ["/v1/extractors", ...ListExtractorsParams[]];
6249
- type ListExtractorsQueryResult = NonNullable<Awaited<ReturnType<typeof listExtractors>>>;
6392
+ type ListExtractorsQueryResult = NonNullable<Awaited$b<ReturnType<typeof listExtractors>>>;
6250
6393
  /**
6251
6394
  * @summary List extractors
6252
6395
  */
6253
6396
  declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorsParams, options?: {
6254
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listExtractors>>, TError> & {
6397
+ swr?: SWRConfiguration<Awaited$b<ReturnType<typeof listExtractors>>, TError> & {
6255
6398
  swrKey?: Key;
6256
6399
  enabled?: boolean;
6257
6400
  };
@@ -6271,12 +6414,12 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
6271
6414
  declare const getGetExtractorUrl: (id: string) => string;
6272
6415
  declare const getExtractor: (id: string, options?: RequestInit) => Promise<GetExtractorResponse>;
6273
6416
  declare const getGetExtractorKey: (id: string) => readonly [`/v1/extractors/${string}`];
6274
- type GetExtractorQueryResult = NonNullable<Awaited<ReturnType<typeof getExtractor>>>;
6417
+ type GetExtractorQueryResult = NonNullable<Awaited$b<ReturnType<typeof getExtractor>>>;
6275
6418
  /**
6276
6419
  * @summary Get extractor
6277
6420
  */
6278
6421
  declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6279
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getExtractor>>, TError> & {
6422
+ swr?: SWRConfiguration<Awaited$b<ReturnType<typeof getExtractor>>, TError> & {
6280
6423
  swrKey?: Key;
6281
6424
  enabled?: boolean;
6282
6425
  };
@@ -6299,12 +6442,12 @@ declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondPa
6299
6442
  arg: UpdateExtractorBody;
6300
6443
  }) => Promise<ExtractorUpdated>;
6301
6444
  declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
6302
- type UpdateExtractorMutationResult = NonNullable<Awaited<ReturnType<typeof updateExtractor>>>;
6445
+ type UpdateExtractorMutationResult = NonNullable<Awaited$b<ReturnType<typeof updateExtractor>>>;
6303
6446
  /**
6304
6447
  * @summary Update extractor
6305
6448
  */
6306
6449
  declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6307
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited<ReturnType<typeof updateExtractor>>> & {
6450
+ swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited$b<ReturnType<typeof updateExtractor>>> & {
6308
6451
  swrKey?: string;
6309
6452
  };
6310
6453
  request?: SecondParameter$b<typeof customFetch>;
@@ -6317,6 +6460,8 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
6317
6460
  swrKey: string | readonly [`/v1/extractors/${string}`];
6318
6461
  };
6319
6462
 
6463
+ type AwaitedInput$a<T> = PromiseLike<T> | T;
6464
+ type Awaited$a<O> = O extends AwaitedInput$a<infer T> ? T : never;
6320
6465
  type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
6321
6466
  /**
6322
6467
  * Retrieve a single extract by ID, including the extraction result data.
@@ -6325,12 +6470,12 @@ type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1]
6325
6470
  declare const getGetExtractUrl: (id: string) => string;
6326
6471
  declare const getExtract: (id: string, options?: RequestInit) => Promise<Extract>;
6327
6472
  declare const getGetExtractKey: (id: string) => readonly [`/v1/extracts/${string}`];
6328
- type GetExtractQueryResult = NonNullable<Awaited<ReturnType<typeof getExtract>>>;
6473
+ type GetExtractQueryResult = NonNullable<Awaited$a<ReturnType<typeof getExtract>>>;
6329
6474
  /**
6330
6475
  * @summary Get extract
6331
6476
  */
6332
6477
  declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6333
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getExtract>>, TError> & {
6478
+ swr?: SWRConfiguration<Awaited$a<ReturnType<typeof getExtract>>, TError> & {
6334
6479
  swrKey?: Key;
6335
6480
  enabled?: boolean;
6336
6481
  };
@@ -6350,12 +6495,12 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
6350
6495
  declare const getGetExtractCitationsUrl: (id: string) => string;
6351
6496
  declare const getExtractCitations: (id: string, options?: RequestInit) => Promise<GetExtractCitations200>;
6352
6497
  declare const getGetExtractCitationsKey: (id: string) => readonly [`/v1/extracts/${string}/citations`];
6353
- type GetExtractCitationsQueryResult = NonNullable<Awaited<ReturnType<typeof getExtractCitations>>>;
6498
+ type GetExtractCitationsQueryResult = NonNullable<Awaited$a<ReturnType<typeof getExtractCitations>>>;
6354
6499
  /**
6355
6500
  * @summary Get extract citations
6356
6501
  */
6357
6502
  declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6358
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getExtractCitations>>, TError> & {
6503
+ swr?: SWRConfiguration<Awaited$a<ReturnType<typeof getExtractCitations>>, TError> & {
6359
6504
  swrKey?: Key;
6360
6505
  enabled?: boolean;
6361
6506
  };
@@ -6382,12 +6527,12 @@ Multiple scope filters can be combined (AND logic).
6382
6527
  declare const getListExtractsUrl: (params?: ListExtractsParams) => string;
6383
6528
  declare const listExtracts: (params?: ListExtractsParams, options?: RequestInit) => Promise<ExtractList>;
6384
6529
  declare const getListExtractsKey: (params?: ListExtractsParams) => readonly ["/v1/extracts", ...ListExtractsParams[]];
6385
- type ListExtractsQueryResult = NonNullable<Awaited<ReturnType<typeof listExtracts>>>;
6530
+ type ListExtractsQueryResult = NonNullable<Awaited$a<ReturnType<typeof listExtracts>>>;
6386
6531
  /**
6387
6532
  * @summary List extracts
6388
6533
  */
6389
6534
  declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: ListExtractsParams, options?: {
6390
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listExtracts>>, TError> & {
6535
+ swr?: SWRConfiguration<Awaited$a<ReturnType<typeof listExtracts>>, TError> & {
6391
6536
  swrKey?: Key;
6392
6537
  enabled?: boolean;
6393
6538
  };
@@ -6401,6 +6546,8 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
6401
6546
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
6402
6547
  };
6403
6548
 
6549
+ type AwaitedInput$9<T> = PromiseLike<T> | T;
6550
+ type Awaited$9<O> = O extends AwaitedInput$9<infer T> ? T : never;
6404
6551
  type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
6405
6552
  /**
6406
6553
  * Check whether a given email username is available for creating a new inbox.
@@ -6412,12 +6559,12 @@ For compatibility this endpoint is also available using the following (deprecate
6412
6559
  declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
6413
6560
  declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<InboxAvailability>;
6414
6561
  declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
6415
- type CheckInboxAvailabilityQueryResult = NonNullable<Awaited<ReturnType<typeof checkInboxAvailability>>>;
6562
+ type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$9<ReturnType<typeof checkInboxAvailability>>>;
6416
6563
  /**
6417
6564
  * @summary Check email username availability
6418
6565
  */
6419
6566
  declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
6420
- swr?: SWRConfiguration<Awaited<ReturnType<typeof checkInboxAvailability>>, TError> & {
6567
+ swr?: SWRConfiguration<Awaited$9<ReturnType<typeof checkInboxAvailability>>, TError> & {
6421
6568
  swrKey?: Key;
6422
6569
  enabled?: boolean;
6423
6570
  };
@@ -6447,12 +6594,12 @@ declare const getCreateInboxMutationFetcher: (options?: SecondParameter$9<typeof
6447
6594
  arg: CreateInboxBody;
6448
6595
  }) => Promise<Inbox>;
6449
6596
  declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
6450
- type CreateInboxMutationResult = NonNullable<Awaited<ReturnType<typeof createInbox>>>;
6597
+ type CreateInboxMutationResult = NonNullable<Awaited$9<ReturnType<typeof createInbox>>>;
6451
6598
  /**
6452
6599
  * @summary Create inbox
6453
6600
  */
6454
6601
  declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
6455
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited<ReturnType<typeof createInbox>>> & {
6602
+ swr?: SWRMutationConfiguration<Awaited$9<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited$9<ReturnType<typeof createInbox>>> & {
6456
6603
  swrKey?: string;
6457
6604
  };
6458
6605
  request?: SecondParameter$9<typeof customFetch>;
@@ -6474,12 +6621,12 @@ For compatibility this endpoint is also available using the following (deprecate
6474
6621
  declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
6475
6622
  declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<InboxList>;
6476
6623
  declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
6477
- type ListInboxesQueryResult = NonNullable<Awaited<ReturnType<typeof listInboxes>>>;
6624
+ type ListInboxesQueryResult = NonNullable<Awaited$9<ReturnType<typeof listInboxes>>>;
6478
6625
  /**
6479
6626
  * @summary List inboxes
6480
6627
  */
6481
6628
  declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
6482
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listInboxes>>, TError> & {
6629
+ swr?: SWRConfiguration<Awaited$9<ReturnType<typeof listInboxes>>, TError> & {
6483
6630
  swrKey?: Key;
6484
6631
  enabled?: boolean;
6485
6632
  };
@@ -6505,12 +6652,12 @@ declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondP
6505
6652
  arg: UpdateInboxBody;
6506
6653
  }) => Promise<Inbox>;
6507
6654
  declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
6508
- type UpdateInboxMutationResult = NonNullable<Awaited<ReturnType<typeof updateInbox>>>;
6655
+ type UpdateInboxMutationResult = NonNullable<Awaited$9<ReturnType<typeof updateInbox>>>;
6509
6656
  /**
6510
6657
  * @summary Update inbox
6511
6658
  */
6512
6659
  declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
6513
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited<ReturnType<typeof updateInbox>>> & {
6660
+ swr?: SWRMutationConfiguration<Awaited$9<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited$9<ReturnType<typeof updateInbox>>> & {
6514
6661
  swrKey?: string;
6515
6662
  };
6516
6663
  request?: SecondParameter$9<typeof customFetch>;
@@ -6523,6 +6670,8 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
6523
6670
  swrKey: string | readonly [`/v1/inboxes/${string}`];
6524
6671
  };
6525
6672
 
6673
+ type AwaitedInput$8<T> = PromiseLike<T> | T;
6674
+ type Awaited$8<O> = O extends AwaitedInput$8<infer T> ? T : never;
6526
6675
  type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
6527
6676
  /**
6528
6677
  * Schedule a new outbound call job for a voice agent.
@@ -6543,12 +6692,12 @@ declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: Se
6543
6692
  arg: ScheduleJobBody;
6544
6693
  }) => Promise<OutboundJob>;
6545
6694
  declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
6546
- type ScheduleJobMutationResult = NonNullable<Awaited<ReturnType<typeof scheduleJob>>>;
6695
+ type ScheduleJobMutationResult = NonNullable<Awaited$8<ReturnType<typeof scheduleJob>>>;
6547
6696
  /**
6548
6697
  * @summary Schedule an outbound job
6549
6698
  */
6550
6699
  declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
6551
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited<ReturnType<typeof scheduleJob>>> & {
6700
+ swr?: SWRMutationConfiguration<Awaited$8<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited$8<ReturnType<typeof scheduleJob>>> & {
6552
6701
  swrKey?: string;
6553
6702
  };
6554
6703
  request?: SecondParameter$8<typeof customFetch>;
@@ -6575,12 +6724,12 @@ For compatibility this endpoint is also available using the following (deprecate
6575
6724
  declare const getListJobsUrl: (params: ListJobsParams) => string;
6576
6725
  declare const listJobs: (params: ListJobsParams, options?: RequestInit) => Promise<OutboundJobList>;
6577
6726
  declare const getListJobsKey: (params: ListJobsParams) => readonly ["/v1/voice-agents/jobs", ...ListJobsParams[]];
6578
- type ListJobsQueryResult = NonNullable<Awaited<ReturnType<typeof listJobs>>>;
6727
+ type ListJobsQueryResult = NonNullable<Awaited$8<ReturnType<typeof listJobs>>>;
6579
6728
  /**
6580
6729
  * @summary List outbound jobs
6581
6730
  */
6582
6731
  declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsParams, options?: {
6583
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listJobs>>, TError> & {
6732
+ swr?: SWRConfiguration<Awaited$8<ReturnType<typeof listJobs>>, TError> & {
6584
6733
  swrKey?: Key;
6585
6734
  enabled?: boolean;
6586
6735
  };
@@ -6606,12 +6755,12 @@ declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParam
6606
6755
  arg: Arguments;
6607
6756
  }) => Promise<OutboundJob>;
6608
6757
  declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
6609
- type CancelJobMutationResult = NonNullable<Awaited<ReturnType<typeof cancelJob>>>;
6758
+ type CancelJobMutationResult = NonNullable<Awaited$8<ReturnType<typeof cancelJob>>>;
6610
6759
  /**
6611
6760
  * @summary Cancel an outbound job
6612
6761
  */
6613
6762
  declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, options?: {
6614
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelJob>>> & {
6763
+ swr?: SWRMutationConfiguration<Awaited$8<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited$8<ReturnType<typeof cancelJob>>> & {
6615
6764
  swrKey?: string;
6616
6765
  };
6617
6766
  request?: SecondParameter$8<typeof customFetch>;
@@ -6624,6 +6773,8 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
6624
6773
  swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
6625
6774
  };
6626
6775
 
6776
+ type AwaitedInput$7<T> = PromiseLike<T> | T;
6777
+ type Awaited$7<O> = O extends AwaitedInput$7<infer T> ? T : never;
6627
6778
  type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
6628
6779
  /**
6629
6780
  * Retrieve the current user's profile information. This endpoint requires a user session and cannot be used with API Keys.
@@ -6632,12 +6783,12 @@ type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1]
6632
6783
  declare const getGetProfileUrl: () => string;
6633
6784
  declare const getProfile: (options?: RequestInit) => Promise<Profile>;
6634
6785
  declare const getGetProfileKey: () => readonly ["/v1/profile"];
6635
- type GetProfileQueryResult = NonNullable<Awaited<ReturnType<typeof getProfile>>>;
6786
+ type GetProfileQueryResult = NonNullable<Awaited$7<ReturnType<typeof getProfile>>>;
6636
6787
  /**
6637
6788
  * @summary Get profile
6638
6789
  */
6639
6790
  declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
6640
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getProfile>>, TError> & {
6791
+ swr?: SWRConfiguration<Awaited$7<ReturnType<typeof getProfile>>, TError> & {
6641
6792
  swrKey?: Key;
6642
6793
  enabled?: boolean;
6643
6794
  };
@@ -6651,6 +6802,8 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
6651
6802
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
6652
6803
  };
6653
6804
 
6805
+ type AwaitedInput$6<T> = PromiseLike<T> | T;
6806
+ type Awaited$6<O> = O extends AwaitedInput$6<infer T> ? T : never;
6654
6807
  type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
6655
6808
  /**
6656
6809
  * List all members in the current tenant.
@@ -6659,12 +6812,12 @@ type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1]
6659
6812
  declare const getListTeamMembersUrl: () => string;
6660
6813
  declare const listTeamMembers: (options?: RequestInit) => Promise<ListTeamMembersResponse>;
6661
6814
  declare const getListTeamMembersKey: () => readonly ["/v1/team/members"];
6662
- type ListTeamMembersQueryResult = NonNullable<Awaited<ReturnType<typeof listTeamMembers>>>;
6815
+ type ListTeamMembersQueryResult = NonNullable<Awaited$6<ReturnType<typeof listTeamMembers>>>;
6663
6816
  /**
6664
6817
  * @summary List team members
6665
6818
  */
6666
6819
  declare const useListTeamMembers: <TError = ErrorType<ErrorResponse>>(options?: {
6667
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listTeamMembers>>, TError> & {
6820
+ swr?: SWRConfiguration<Awaited$6<ReturnType<typeof listTeamMembers>>, TError> & {
6668
6821
  swrKey?: Key;
6669
6822
  enabled?: boolean;
6670
6823
  };
@@ -6687,12 +6840,12 @@ declare const getUpdateMemberRoleMutationFetcher: (id: string, options?: SecondP
6687
6840
  arg: UpdateMemberRoleBody;
6688
6841
  }) => Promise<TeamMember>;
6689
6842
  declare const getUpdateMemberRoleMutationKey: (id: string) => readonly [`/v1/team/members/${string}`];
6690
- type UpdateMemberRoleMutationResult = NonNullable<Awaited<ReturnType<typeof updateMemberRole>>>;
6843
+ type UpdateMemberRoleMutationResult = NonNullable<Awaited$6<ReturnType<typeof updateMemberRole>>>;
6691
6844
  /**
6692
6845
  * @summary Update member role
6693
6846
  */
6694
6847
  declare const useUpdateMemberRole: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6695
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMemberRole>>, TError, Key, UpdateMemberRoleBody, Awaited<ReturnType<typeof updateMemberRole>>> & {
6848
+ swr?: SWRMutationConfiguration<Awaited$6<ReturnType<typeof updateMemberRole>>, TError, Key, UpdateMemberRoleBody, Awaited$6<ReturnType<typeof updateMemberRole>>> & {
6696
6849
  swrKey?: string;
6697
6850
  };
6698
6851
  request?: SecondParameter$6<typeof customFetch>;
@@ -6714,12 +6867,12 @@ declare const getRemoveMemberMutationFetcher: (id: string, options?: SecondParam
6714
6867
  arg: Arguments;
6715
6868
  }) => Promise<RemoveMemberResponse>;
6716
6869
  declare const getRemoveMemberMutationKey: (id: string) => readonly [`/v1/team/members/${string}`];
6717
- type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<typeof removeMember>>>;
6870
+ type RemoveMemberMutationResult = NonNullable<Awaited$6<ReturnType<typeof removeMember>>>;
6718
6871
  /**
6719
6872
  * @summary Remove team member
6720
6873
  */
6721
6874
  declare const useRemoveMember: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6722
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof removeMember>>, TError, Key, Arguments, Awaited<ReturnType<typeof removeMember>>> & {
6875
+ swr?: SWRMutationConfiguration<Awaited$6<ReturnType<typeof removeMember>>, TError, Key, Arguments, Awaited$6<ReturnType<typeof removeMember>>> & {
6723
6876
  swrKey?: string;
6724
6877
  };
6725
6878
  request?: SecondParameter$6<typeof customFetch>;
@@ -6732,6 +6885,8 @@ declare const useRemoveMember: <TError = ErrorType<ErrorResponse>>(id: string, o
6732
6885
  swrKey: string | readonly [`/v1/team/members/${string}`];
6733
6886
  };
6734
6887
 
6888
+ type AwaitedInput$5<T> = PromiseLike<T> | T;
6889
+ type Awaited$5<O> = O extends AwaitedInput$5<infer T> ? T : never;
6735
6890
  type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
6736
6891
  /**
6737
6892
  * Create a new code tool that can be attached to agents. Provide the tool's name, code, description, and optionally an API key.
@@ -6743,12 +6898,12 @@ declare const getCreateToolMutationFetcher: (options?: SecondParameter$5<typeof
6743
6898
  arg: CreateToolBody;
6744
6899
  }) => Promise<CodeToolCreated>;
6745
6900
  declare const getCreateToolMutationKey: () => readonly ["/v1/tools"];
6746
- type CreateToolMutationResult = NonNullable<Awaited<ReturnType<typeof createTool>>>;
6901
+ type CreateToolMutationResult = NonNullable<Awaited$5<ReturnType<typeof createTool>>>;
6747
6902
  /**
6748
6903
  * @summary Create tool
6749
6904
  */
6750
6905
  declare const useCreateTool: <TError = ErrorType<ErrorResponse>>(options?: {
6751
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createTool>>, TError, Key, CreateToolBody, Awaited<ReturnType<typeof createTool>>> & {
6906
+ swr?: SWRMutationConfiguration<Awaited$5<ReturnType<typeof createTool>>, TError, Key, CreateToolBody, Awaited$5<ReturnType<typeof createTool>>> & {
6752
6907
  swrKey?: string;
6753
6908
  };
6754
6909
  request?: SecondParameter$5<typeof customFetch>;
@@ -6769,12 +6924,12 @@ Optionally filter by `call_agent_id` to list only tools attached to a specific a
6769
6924
  declare const getListToolsUrl: (params?: ListToolsParams) => string;
6770
6925
  declare const listTools: (params?: ListToolsParams, options?: RequestInit) => Promise<ToolList>;
6771
6926
  declare const getListToolsKey: (params?: ListToolsParams) => readonly ["/v1/tools", ...ListToolsParams[]];
6772
- type ListToolsQueryResult = NonNullable<Awaited<ReturnType<typeof listTools>>>;
6927
+ type ListToolsQueryResult = NonNullable<Awaited$5<ReturnType<typeof listTools>>>;
6773
6928
  /**
6774
6929
  * @summary List tools
6775
6930
  */
6776
6931
  declare const useListTools: <TError = ErrorType<ErrorResponse>>(params?: ListToolsParams, options?: {
6777
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listTools>>, TError> & {
6932
+ swr?: SWRConfiguration<Awaited$5<ReturnType<typeof listTools>>, TError> & {
6778
6933
  swrKey?: Key;
6779
6934
  enabled?: boolean;
6780
6935
  };
@@ -6797,12 +6952,12 @@ declare const getExecuteCodeMutationFetcher: (id: string, options?: SecondParame
6797
6952
  arg: ExecuteCodeBody;
6798
6953
  }) => Promise<ToolExecutionResult>;
6799
6954
  declare const getExecuteCodeMutationKey: (id: string) => readonly [`/v1/tools/${string}/execute`];
6800
- type ExecuteCodeMutationResult = NonNullable<Awaited<ReturnType<typeof executeCode>>>;
6955
+ type ExecuteCodeMutationResult = NonNullable<Awaited$5<ReturnType<typeof executeCode>>>;
6801
6956
  /**
6802
6957
  * @summary Execute tool
6803
6958
  */
6804
6959
  declare const useExecuteCode: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6805
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof executeCode>>, TError, Key, ExecuteCodeBody, Awaited<ReturnType<typeof executeCode>>> & {
6960
+ swr?: SWRMutationConfiguration<Awaited$5<ReturnType<typeof executeCode>>, TError, Key, ExecuteCodeBody, Awaited$5<ReturnType<typeof executeCode>>> & {
6806
6961
  swrKey?: string;
6807
6962
  };
6808
6963
  request?: SecondParameter$5<typeof customFetch>;
@@ -6821,12 +6976,12 @@ declare const useExecuteCode: <TError = ErrorType<ErrorResponse>>(id: string, op
6821
6976
  declare const getGetToolUrl: (id: string) => string;
6822
6977
  declare const getTool: (id: string, options?: RequestInit) => Promise<GetToolResponse>;
6823
6978
  declare const getGetToolKey: (id: string) => readonly [`/v1/tools/${string}`];
6824
- type GetToolQueryResult = NonNullable<Awaited<ReturnType<typeof getTool>>>;
6979
+ type GetToolQueryResult = NonNullable<Awaited$5<ReturnType<typeof getTool>>>;
6825
6980
  /**
6826
6981
  * @summary Get tool
6827
6982
  */
6828
6983
  declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6829
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getTool>>, TError> & {
6984
+ swr?: SWRConfiguration<Awaited$5<ReturnType<typeof getTool>>, TError> & {
6830
6985
  swrKey?: Key;
6831
6986
  enabled?: boolean;
6832
6987
  };
@@ -6849,12 +7004,12 @@ declare const getUpdateToolMutationFetcher: (id: string, options?: SecondParamet
6849
7004
  arg: UpdateToolBody;
6850
7005
  }) => Promise<CodeToolUpdated>;
6851
7006
  declare const getUpdateToolMutationKey: (id: string) => readonly [`/v1/tools/${string}`];
6852
- type UpdateToolMutationResult = NonNullable<Awaited<ReturnType<typeof updateTool>>>;
7007
+ type UpdateToolMutationResult = NonNullable<Awaited$5<ReturnType<typeof updateTool>>>;
6853
7008
  /**
6854
7009
  * @summary Update tool
6855
7010
  */
6856
7011
  declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
6857
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateTool>>, TError, Key, UpdateToolBody, Awaited<ReturnType<typeof updateTool>>> & {
7012
+ swr?: SWRMutationConfiguration<Awaited$5<ReturnType<typeof updateTool>>, TError, Key, UpdateToolBody, Awaited$5<ReturnType<typeof updateTool>>> & {
6858
7013
  swrKey?: string;
6859
7014
  };
6860
7015
  request?: SecondParameter$5<typeof customFetch>;
@@ -6867,6 +7022,8 @@ declare const useUpdateTool: <TError = ErrorType<ErrorResponse>>(id: string, opt
6867
7022
  swrKey: string | readonly [`/v1/tools/${string}`];
6868
7023
  };
6869
7024
 
7025
+ type AwaitedInput$4<T> = PromiseLike<T> | T;
7026
+ type Awaited$4<O> = O extends AwaitedInput$4<infer T> ? T : never;
6870
7027
  type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
6871
7028
  /**
6872
7029
  * List all voice agents for your tenant.
@@ -6886,12 +7043,12 @@ For compatibility this endpoint is also available using the following (deprecate
6886
7043
  declare const getListVoiceAgentsUrl: (params?: ListVoiceAgentsParams) => string;
6887
7044
  declare const listVoiceAgents: (params?: ListVoiceAgentsParams, options?: RequestInit) => Promise<VoiceAgentList>;
6888
7045
  declare const getListVoiceAgentsKey: (params?: ListVoiceAgentsParams) => readonly ["/v1/voice-agents", ...ListVoiceAgentsParams[]];
6889
- type ListVoiceAgentsQueryResult = NonNullable<Awaited<ReturnType<typeof listVoiceAgents>>>;
7046
+ type ListVoiceAgentsQueryResult = NonNullable<Awaited$4<ReturnType<typeof listVoiceAgents>>>;
6890
7047
  /**
6891
7048
  * @summary List voice agents
6892
7049
  */
6893
7050
  declare const useListVoiceAgents: <TError = ErrorType<ErrorResponse>>(params?: ListVoiceAgentsParams, options?: {
6894
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listVoiceAgents>>, TError> & {
7051
+ swr?: SWRConfiguration<Awaited$4<ReturnType<typeof listVoiceAgents>>, TError> & {
6895
7052
  swrKey?: Key;
6896
7053
  enabled?: boolean;
6897
7054
  };
@@ -6925,12 +7082,12 @@ declare const getCreateVoiceAgentMutationFetcher: (options?: SecondParameter$4<t
6925
7082
  arg: CreateVoiceAgentBody;
6926
7083
  }) => Promise<CreateVoiceAgentResponse>;
6927
7084
  declare const getCreateVoiceAgentMutationKey: () => readonly ["/v1/voice-agents"];
6928
- type CreateVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof createVoiceAgent>>>;
7085
+ type CreateVoiceAgentMutationResult = NonNullable<Awaited$4<ReturnType<typeof createVoiceAgent>>>;
6929
7086
  /**
6930
7087
  * @summary Create voice agent
6931
7088
  */
6932
7089
  declare const useCreateVoiceAgent: <TError = ErrorType<ErrorResponse>>(options?: {
6933
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createVoiceAgent>>, TError, Key, CreateVoiceAgentBody, Awaited<ReturnType<typeof createVoiceAgent>>> & {
7090
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof createVoiceAgent>>, TError, Key, CreateVoiceAgentBody, Awaited$4<ReturnType<typeof createVoiceAgent>>> & {
6934
7091
  swrKey?: string;
6935
7092
  };
6936
7093
  request?: SecondParameter$4<typeof customFetch>;
@@ -6952,12 +7109,12 @@ For compatibility this endpoint is also available using the following (deprecate
6952
7109
  declare const getGetVoiceAgentUrl: (voiceAgentId: string) => string;
6953
7110
  declare const getVoiceAgent: (voiceAgentId: string, options?: RequestInit) => Promise<GetVoiceAgentResponse>;
6954
7111
  declare const getGetVoiceAgentKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}`];
6955
- type GetVoiceAgentQueryResult = NonNullable<Awaited<ReturnType<typeof getVoiceAgent>>>;
7112
+ type GetVoiceAgentQueryResult = NonNullable<Awaited$4<ReturnType<typeof getVoiceAgent>>>;
6956
7113
  /**
6957
7114
  * @summary Get voice agent
6958
7115
  */
6959
7116
  declare const useGetVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
6960
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getVoiceAgent>>, TError> & {
7117
+ swr?: SWRConfiguration<Awaited$4<ReturnType<typeof getVoiceAgent>>, TError> & {
6961
7118
  swrKey?: Key;
6962
7119
  enabled?: boolean;
6963
7120
  };
@@ -6982,12 +7139,12 @@ declare const getUpdateVoiceAgentMutationFetcher: (voiceAgentId: string, options
6982
7139
  arg: UpdateVoiceAgentBody;
6983
7140
  }) => Promise<UpdateVoiceAgentResponse>;
6984
7141
  declare const getUpdateVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}`];
6985
- type UpdateVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof updateVoiceAgent>>>;
7142
+ type UpdateVoiceAgentMutationResult = NonNullable<Awaited$4<ReturnType<typeof updateVoiceAgent>>>;
6986
7143
  /**
6987
7144
  * @summary Update voice agent
6988
7145
  */
6989
7146
  declare const useUpdateVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
6990
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgent>>, TError, Key, UpdateVoiceAgentBody, Awaited<ReturnType<typeof updateVoiceAgent>>> & {
7147
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof updateVoiceAgent>>, TError, Key, UpdateVoiceAgentBody, Awaited$4<ReturnType<typeof updateVoiceAgent>>> & {
6991
7148
  swrKey?: string;
6992
7149
  };
6993
7150
  request?: SecondParameter$4<typeof customFetch>;
@@ -7012,12 +7169,12 @@ declare const getAddToolsToVoiceAgentMutationFetcher: (voiceAgentId: string, opt
7012
7169
  arg: AddToolsToVoiceAgentBody;
7013
7170
  }) => Promise<AddToolsToVoiceAgentResponse>;
7014
7171
  declare const getAddToolsToVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
7015
- type AddToolsToVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof addToolsToVoiceAgent>>>;
7172
+ type AddToolsToVoiceAgentMutationResult = NonNullable<Awaited$4<ReturnType<typeof addToolsToVoiceAgent>>>;
7016
7173
  /**
7017
7174
  * @summary Add tools to voice agent
7018
7175
  */
7019
7176
  declare const useAddToolsToVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7020
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof addToolsToVoiceAgent>>, TError, Key, AddToolsToVoiceAgentBody, Awaited<ReturnType<typeof addToolsToVoiceAgent>>> & {
7177
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof addToolsToVoiceAgent>>, TError, Key, AddToolsToVoiceAgentBody, Awaited$4<ReturnType<typeof addToolsToVoiceAgent>>> & {
7021
7178
  swrKey?: string;
7022
7179
  };
7023
7180
  request?: SecondParameter$4<typeof customFetch>;
@@ -7042,12 +7199,12 @@ declare const getDeleteToolsFromVoiceAgentMutationFetcher: (voiceAgentId: string
7042
7199
  arg: DeleteToolsFromVoiceAgentBody;
7043
7200
  }) => Promise<DeleteToolsFromVoiceAgentResponse>;
7044
7201
  declare const getDeleteToolsFromVoiceAgentMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/tools`];
7045
- type DeleteToolsFromVoiceAgentMutationResult = NonNullable<Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>>;
7202
+ type DeleteToolsFromVoiceAgentMutationResult = NonNullable<Awaited$4<ReturnType<typeof deleteToolsFromVoiceAgent>>>;
7046
7203
  /**
7047
7204
  * @summary Remove tools from voice agent
7048
7205
  */
7049
7206
  declare const useDeleteToolsFromVoiceAgent: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7050
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>, TError, Key, DeleteToolsFromVoiceAgentBody, Awaited<ReturnType<typeof deleteToolsFromVoiceAgent>>> & {
7207
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof deleteToolsFromVoiceAgent>>, TError, Key, DeleteToolsFromVoiceAgentBody, Awaited$4<ReturnType<typeof deleteToolsFromVoiceAgent>>> & {
7051
7208
  swrKey?: string;
7052
7209
  };
7053
7210
  request?: SecondParameter$4<typeof customFetch>;
@@ -7069,12 +7226,12 @@ For compatibility this endpoint is also available using the following (deprecate
7069
7226
  declare const getGetVoiceAgentPlaceholdersUrl: (voiceAgentId: string) => string;
7070
7227
  declare const getVoiceAgentPlaceholders: (voiceAgentId: string, options?: RequestInit) => Promise<VoiceAgentPlaceholders>;
7071
7228
  declare const getGetVoiceAgentPlaceholdersKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/placeholders`];
7072
- type GetVoiceAgentPlaceholdersQueryResult = NonNullable<Awaited<ReturnType<typeof getVoiceAgentPlaceholders>>>;
7229
+ type GetVoiceAgentPlaceholdersQueryResult = NonNullable<Awaited$4<ReturnType<typeof getVoiceAgentPlaceholders>>>;
7073
7230
  /**
7074
7231
  * @summary Get voice agent placeholders
7075
7232
  */
7076
7233
  declare const useGetVoiceAgentPlaceholders: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7077
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getVoiceAgentPlaceholders>>, TError> & {
7234
+ swr?: SWRConfiguration<Awaited$4<ReturnType<typeof getVoiceAgentPlaceholders>>, TError> & {
7078
7235
  swrKey?: Key;
7079
7236
  enabled?: boolean;
7080
7237
  };
@@ -7094,12 +7251,12 @@ declare const useGetVoiceAgentPlaceholders: <TError = ErrorType<ErrorResponse>>(
7094
7251
  declare const getGetVoiceAgentPromptUrl: (voiceAgentId: string) => string;
7095
7252
  declare const getVoiceAgentPrompt: (voiceAgentId: string, options?: RequestInit) => Promise<VoiceAgentPrompt>;
7096
7253
  declare const getGetVoiceAgentPromptKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/prompt`];
7097
- type GetVoiceAgentPromptQueryResult = NonNullable<Awaited<ReturnType<typeof getVoiceAgentPrompt>>>;
7254
+ type GetVoiceAgentPromptQueryResult = NonNullable<Awaited$4<ReturnType<typeof getVoiceAgentPrompt>>>;
7098
7255
  /**
7099
7256
  * @summary Get voice agent prompt
7100
7257
  */
7101
7258
  declare const useGetVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7102
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getVoiceAgentPrompt>>, TError> & {
7259
+ swr?: SWRConfiguration<Awaited$4<ReturnType<typeof getVoiceAgentPrompt>>, TError> & {
7103
7260
  swrKey?: Key;
7104
7261
  enabled?: boolean;
7105
7262
  };
@@ -7122,12 +7279,12 @@ declare const getUpdateVoiceAgentPromptMutationFetcher: (voiceAgentId: string, o
7122
7279
  arg: UpdateVoiceAgentPromptBody;
7123
7280
  }) => Promise<VoiceAgentPromptUpdated>;
7124
7281
  declare const getUpdateVoiceAgentPromptMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/prompt`];
7125
- type UpdateVoiceAgentPromptMutationResult = NonNullable<Awaited<ReturnType<typeof updateVoiceAgentPrompt>>>;
7282
+ type UpdateVoiceAgentPromptMutationResult = NonNullable<Awaited$4<ReturnType<typeof updateVoiceAgentPrompt>>>;
7126
7283
  /**
7127
7284
  * @summary Update voice agent prompt
7128
7285
  */
7129
7286
  declare const useUpdateVoiceAgentPrompt: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7130
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgentPrompt>>, TError, Key, UpdateVoiceAgentPromptBody, Awaited<ReturnType<typeof updateVoiceAgentPrompt>>> & {
7287
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof updateVoiceAgentPrompt>>, TError, Key, UpdateVoiceAgentPromptBody, Awaited$4<ReturnType<typeof updateVoiceAgentPrompt>>> & {
7131
7288
  swrKey?: string;
7132
7289
  };
7133
7290
  request?: SecondParameter$4<typeof customFetch>;
@@ -7152,12 +7309,12 @@ declare const getUpdateVoiceAgentModelsMutationFetcher: (voiceAgentId: string, o
7152
7309
  arg: UpdateVoiceAgentModelsBody;
7153
7310
  }) => Promise<UpdateVoiceAgentModelsResponse>;
7154
7311
  declare const getUpdateVoiceAgentModelsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/models`];
7155
- type UpdateVoiceAgentModelsMutationResult = NonNullable<Awaited<ReturnType<typeof updateVoiceAgentModels>>>;
7312
+ type UpdateVoiceAgentModelsMutationResult = NonNullable<Awaited$4<ReturnType<typeof updateVoiceAgentModels>>>;
7156
7313
  /**
7157
7314
  * @summary Update voice agent models
7158
7315
  */
7159
7316
  declare const useUpdateVoiceAgentModels: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7160
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateVoiceAgentModels>>, TError, Key, UpdateVoiceAgentModelsBody, Awaited<ReturnType<typeof updateVoiceAgentModels>>> & {
7317
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof updateVoiceAgentModels>>, TError, Key, UpdateVoiceAgentModelsBody, Awaited$4<ReturnType<typeof updateVoiceAgentModels>>> & {
7161
7318
  swrKey?: string;
7162
7319
  };
7163
7320
  request?: SecondParameter$4<typeof customFetch>;
@@ -7184,12 +7341,12 @@ declare const getUpdateCallControlsMutationFetcher: (voiceAgentId: string, optio
7184
7341
  arg: UpdateCallControlsBody;
7185
7342
  }) => Promise<UpdateVoiceAgentCallControlsResponse>;
7186
7343
  declare const getUpdateCallControlsMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/call-controls`];
7187
- type UpdateCallControlsMutationResult = NonNullable<Awaited<ReturnType<typeof updateCallControls>>>;
7344
+ type UpdateCallControlsMutationResult = NonNullable<Awaited$4<ReturnType<typeof updateCallControls>>>;
7188
7345
  /**
7189
7346
  * @summary Update voice agent call controls
7190
7347
  */
7191
7348
  declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7192
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateCallControls>>, TError, Key, UpdateCallControlsBody, Awaited<ReturnType<typeof updateCallControls>>> & {
7349
+ swr?: SWRMutationConfiguration<Awaited$4<ReturnType<typeof updateCallControls>>, TError, Key, UpdateCallControlsBody, Awaited$4<ReturnType<typeof updateCallControls>>> & {
7193
7350
  swrKey?: string;
7194
7351
  };
7195
7352
  request?: SecondParameter$4<typeof customFetch>;
@@ -7202,6 +7359,8 @@ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAg
7202
7359
  swrKey: string | readonly [`/v1/voice-agents/${string}/call-controls`];
7203
7360
  };
7204
7361
 
7362
+ type AwaitedInput$3<T> = PromiseLike<T> | T;
7363
+ type Awaited$3<O> = O extends AwaitedInput$3<infer T> ? T : never;
7205
7364
  type SecondParameter$3<T extends (...args: never) => unknown> = Parameters<T>[1];
7206
7365
  /**
7207
7366
  * Create a webhook that fires when events occur for the specified worker.
@@ -7213,12 +7372,12 @@ declare const getCreateWorkerWebhookMutationFetcher: (workerId: string, options?
7213
7372
  arg: CreateWorkerWebhookBody;
7214
7373
  }) => Promise<Webhook>;
7215
7374
  declare const getCreateWorkerWebhookMutationKey: (workerId: string) => readonly [`/v1/workers/${string}/webhooks`];
7216
- type CreateWorkerWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof createWorkerWebhook>>>;
7375
+ type CreateWorkerWebhookMutationResult = NonNullable<Awaited$3<ReturnType<typeof createWorkerWebhook>>>;
7217
7376
  /**
7218
7377
  * @summary Create worker webhook
7219
7378
  */
7220
7379
  declare const useCreateWorkerWebhook: <TError = ErrorType<ErrorResponse>>(workerId: string, options?: {
7221
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerWebhook>>, TError, Key, CreateWorkerWebhookBody, Awaited<ReturnType<typeof createWorkerWebhook>>> & {
7380
+ swr?: SWRMutationConfiguration<Awaited$3<ReturnType<typeof createWorkerWebhook>>, TError, Key, CreateWorkerWebhookBody, Awaited$3<ReturnType<typeof createWorkerWebhook>>> & {
7222
7381
  swrKey?: string;
7223
7382
  };
7224
7383
  request?: SecondParameter$3<typeof customFetch>;
@@ -7237,12 +7396,12 @@ declare const useCreateWorkerWebhook: <TError = ErrorType<ErrorResponse>>(worker
7237
7396
  declare const getListWorkerWebhooksUrl: (workerId: string) => string;
7238
7397
  declare const listWorkerWebhooks: (workerId: string, options?: RequestInit) => Promise<WorkerWebhookList>;
7239
7398
  declare const getListWorkerWebhooksKey: (workerId: string) => readonly [`/v1/workers/${string}/webhooks`];
7240
- type ListWorkerWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerWebhooks>>>;
7399
+ type ListWorkerWebhooksQueryResult = NonNullable<Awaited$3<ReturnType<typeof listWorkerWebhooks>>>;
7241
7400
  /**
7242
7401
  * @summary List worker webhooks
7243
7402
  */
7244
7403
  declare const useListWorkerWebhooks: <TError = ErrorType<ErrorResponse>>(workerId: string, options?: {
7245
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerWebhooks>>, TError> & {
7404
+ swr?: SWRConfiguration<Awaited$3<ReturnType<typeof listWorkerWebhooks>>, TError> & {
7246
7405
  swrKey?: Key;
7247
7406
  enabled?: boolean;
7248
7407
  };
@@ -7268,12 +7427,12 @@ declare const getCreateAgentWebhookMutationFetcher: (voiceAgentId: string, optio
7268
7427
  arg: CreateAgentWebhookBody;
7269
7428
  }) => Promise<Webhook>;
7270
7429
  declare const getCreateAgentWebhookMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/webhooks`];
7271
- type CreateAgentWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof createAgentWebhook>>>;
7430
+ type CreateAgentWebhookMutationResult = NonNullable<Awaited$3<ReturnType<typeof createAgentWebhook>>>;
7272
7431
  /**
7273
7432
  * @summary Create voice agent webhook
7274
7433
  */
7275
7434
  declare const useCreateAgentWebhook: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7276
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createAgentWebhook>>, TError, Key, CreateAgentWebhookBody, Awaited<ReturnType<typeof createAgentWebhook>>> & {
7435
+ swr?: SWRMutationConfiguration<Awaited$3<ReturnType<typeof createAgentWebhook>>, TError, Key, CreateAgentWebhookBody, Awaited$3<ReturnType<typeof createAgentWebhook>>> & {
7277
7436
  swrKey?: string;
7278
7437
  };
7279
7438
  request?: SecondParameter$3<typeof customFetch>;
@@ -7295,12 +7454,12 @@ For compatibility this endpoint is also available using the following (deprecate
7295
7454
  declare const getListAgentWebhooksUrl: (voiceAgentId: string) => string;
7296
7455
  declare const listAgentWebhooks: (voiceAgentId: string, options?: RequestInit) => Promise<VoiceAgentWebhookList>;
7297
7456
  declare const getListAgentWebhooksKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/webhooks`];
7298
- type ListAgentWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listAgentWebhooks>>>;
7457
+ type ListAgentWebhooksQueryResult = NonNullable<Awaited$3<ReturnType<typeof listAgentWebhooks>>>;
7299
7458
  /**
7300
7459
  * @summary List voice agent webhooks
7301
7460
  */
7302
7461
  declare const useListAgentWebhooks: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
7303
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listAgentWebhooks>>, TError> & {
7462
+ swr?: SWRConfiguration<Awaited$3<ReturnType<typeof listAgentWebhooks>>, TError> & {
7304
7463
  swrKey?: Key;
7305
7464
  enabled?: boolean;
7306
7465
  };
@@ -7326,12 +7485,12 @@ declare const getCreateInboxWebhookMutationFetcher: (inboxId: string, options?:
7326
7485
  arg: CreateInboxWebhookBody;
7327
7486
  }) => Promise<Webhook>;
7328
7487
  declare const getCreateInboxWebhookMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}/webhooks`];
7329
- type CreateInboxWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof createInboxWebhook>>>;
7488
+ type CreateInboxWebhookMutationResult = NonNullable<Awaited$3<ReturnType<typeof createInboxWebhook>>>;
7330
7489
  /**
7331
7490
  * @summary Create inbox webhook
7332
7491
  */
7333
7492
  declare const useCreateInboxWebhook: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
7334
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInboxWebhook>>, TError, Key, CreateInboxWebhookBody, Awaited<ReturnType<typeof createInboxWebhook>>> & {
7493
+ swr?: SWRMutationConfiguration<Awaited$3<ReturnType<typeof createInboxWebhook>>, TError, Key, CreateInboxWebhookBody, Awaited$3<ReturnType<typeof createInboxWebhook>>> & {
7335
7494
  swrKey?: string;
7336
7495
  };
7337
7496
  request?: SecondParameter$3<typeof customFetch>;
@@ -7353,12 +7512,12 @@ For compatibility this endpoint is also available using the following (deprecate
7353
7512
  declare const getListInboxWebhooksUrl: (inboxId: string) => string;
7354
7513
  declare const listInboxWebhooks: (inboxId: string, options?: RequestInit) => Promise<InboxWebhookList>;
7355
7514
  declare const getListInboxWebhooksKey: (inboxId: string) => readonly [`/v1/inboxes/${string}/webhooks`];
7356
- type ListInboxWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listInboxWebhooks>>>;
7515
+ type ListInboxWebhooksQueryResult = NonNullable<Awaited$3<ReturnType<typeof listInboxWebhooks>>>;
7357
7516
  /**
7358
7517
  * @summary List inbox webhooks
7359
7518
  */
7360
7519
  declare const useListInboxWebhooks: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
7361
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listInboxWebhooks>>, TError> & {
7520
+ swr?: SWRConfiguration<Awaited$3<ReturnType<typeof listInboxWebhooks>>, TError> & {
7362
7521
  swrKey?: Key;
7363
7522
  enabled?: boolean;
7364
7523
  };
@@ -7381,12 +7540,12 @@ declare const getCreateExtractorWebhookMutationFetcher: (id: string, options?: S
7381
7540
  arg: CreateExtractorWebhookBody;
7382
7541
  }) => Promise<Webhook>;
7383
7542
  declare const getCreateExtractorWebhookMutationKey: (id: string) => readonly [`/v1/extractors/${string}/webhooks`];
7384
- type CreateExtractorWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof createExtractorWebhook>>>;
7543
+ type CreateExtractorWebhookMutationResult = NonNullable<Awaited$3<ReturnType<typeof createExtractorWebhook>>>;
7385
7544
  /**
7386
7545
  * @summary Create extractor webhook
7387
7546
  */
7388
7547
  declare const useCreateExtractorWebhook: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
7389
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorWebhook>>, TError, Key, CreateExtractorWebhookBody, Awaited<ReturnType<typeof createExtractorWebhook>>> & {
7548
+ swr?: SWRMutationConfiguration<Awaited$3<ReturnType<typeof createExtractorWebhook>>, TError, Key, CreateExtractorWebhookBody, Awaited$3<ReturnType<typeof createExtractorWebhook>>> & {
7390
7549
  swrKey?: string;
7391
7550
  };
7392
7551
  request?: SecondParameter$3<typeof customFetch>;
@@ -7405,12 +7564,12 @@ declare const useCreateExtractorWebhook: <TError = ErrorType<ErrorResponse>>(id:
7405
7564
  declare const getListWebhooksUrl: (id: string) => string;
7406
7565
  declare const listWebhooks: (id: string, options?: RequestInit) => Promise<ExtractorWebhookList>;
7407
7566
  declare const getListWebhooksKey: (id: string) => readonly [`/v1/extractors/${string}/webhooks`];
7408
- type ListWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listWebhooks>>>;
7567
+ type ListWebhooksQueryResult = NonNullable<Awaited$3<ReturnType<typeof listWebhooks>>>;
7409
7568
  /**
7410
7569
  * @summary List extractor webhooks
7411
7570
  */
7412
7571
  declare const useListWebhooks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
7413
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listWebhooks>>, TError> & {
7572
+ swr?: SWRConfiguration<Awaited$3<ReturnType<typeof listWebhooks>>, TError> & {
7414
7573
  swrKey?: Key;
7415
7574
  enabled?: boolean;
7416
7575
  };
@@ -7433,12 +7592,12 @@ declare const getDeleteWebhookMutationFetcher: (id: string, options?: SecondPara
7433
7592
  arg: Arguments;
7434
7593
  }) => Promise<DeleteWebhookResponse>;
7435
7594
  declare const getDeleteWebhookMutationKey: (id: string) => readonly [`/v1/webhooks/${string}`];
7436
- type DeleteWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof deleteWebhook>>>;
7595
+ type DeleteWebhookMutationResult = NonNullable<Awaited$3<ReturnType<typeof deleteWebhook>>>;
7437
7596
  /**
7438
7597
  * @summary Delete webhook
7439
7598
  */
7440
7599
  declare const useDeleteWebhook: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
7441
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteWebhook>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteWebhook>>> & {
7600
+ swr?: SWRMutationConfiguration<Awaited$3<ReturnType<typeof deleteWebhook>>, TError, Key, Arguments, Awaited$3<ReturnType<typeof deleteWebhook>>> & {
7442
7601
  swrKey?: string;
7443
7602
  };
7444
7603
  request?: SecondParameter$3<typeof customFetch>;
@@ -7457,12 +7616,12 @@ declare const useDeleteWebhook: <TError = ErrorType<ErrorResponse>>(id: string,
7457
7616
  declare const getGetWebhookUrl: (id: string) => string;
7458
7617
  declare const getWebhook: (id: string, options?: RequestInit) => Promise<Webhook>;
7459
7618
  declare const getGetWebhookKey: (id: string) => readonly [`/v1/webhooks/${string}`];
7460
- type GetWebhookQueryResult = NonNullable<Awaited<ReturnType<typeof getWebhook>>>;
7619
+ type GetWebhookQueryResult = NonNullable<Awaited$3<ReturnType<typeof getWebhook>>>;
7461
7620
  /**
7462
7621
  * @summary Get webhook
7463
7622
  */
7464
7623
  declare const useGetWebhook: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
7465
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getWebhook>>, TError> & {
7624
+ swr?: SWRConfiguration<Awaited$3<ReturnType<typeof getWebhook>>, TError> & {
7466
7625
  swrKey?: Key;
7467
7626
  enabled?: boolean;
7468
7627
  };
@@ -7482,12 +7641,12 @@ declare const useGetWebhook: <TError = ErrorType<ErrorResponse>>(id: string, opt
7482
7641
  declare const getListWebhookDeliveriesUrl: (id: string, params?: ListWebhookDeliveriesParams) => string;
7483
7642
  declare const listWebhookDeliveries: (id: string, params?: ListWebhookDeliveriesParams, options?: RequestInit) => Promise<WebhookDeliveryList>;
7484
7643
  declare const getListWebhookDeliveriesKey: (id: string, params?: ListWebhookDeliveriesParams) => readonly [`/v1/webhooks/${string}/deliveries`, ...ListWebhookDeliveriesParams[]];
7485
- type ListWebhookDeliveriesQueryResult = NonNullable<Awaited<ReturnType<typeof listWebhookDeliveries>>>;
7644
+ type ListWebhookDeliveriesQueryResult = NonNullable<Awaited$3<ReturnType<typeof listWebhookDeliveries>>>;
7486
7645
  /**
7487
7646
  * @summary List webhook deliveries
7488
7647
  */
7489
7648
  declare const useListWebhookDeliveries: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListWebhookDeliveriesParams, options?: {
7490
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listWebhookDeliveries>>, TError> & {
7649
+ swr?: SWRConfiguration<Awaited$3<ReturnType<typeof listWebhookDeliveries>>, TError> & {
7491
7650
  swrKey?: Key;
7492
7651
  enabled?: boolean;
7493
7652
  };
@@ -7510,12 +7669,12 @@ declare const getTestWebhookMutationFetcher: (id: string, options?: SecondParame
7510
7669
  arg: Arguments;
7511
7670
  }) => Promise<WebhookTestResult>;
7512
7671
  declare const getTestWebhookMutationKey: (id: string) => readonly [`/v1/webhooks/${string}/test`];
7513
- type TestWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof testWebhook>>>;
7672
+ type TestWebhookMutationResult = NonNullable<Awaited$3<ReturnType<typeof testWebhook>>>;
7514
7673
  /**
7515
7674
  * @summary Test webhook
7516
7675
  */
7517
7676
  declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
7518
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof testWebhook>>, TError, Key, Arguments, Awaited<ReturnType<typeof testWebhook>>> & {
7677
+ swr?: SWRMutationConfiguration<Awaited$3<ReturnType<typeof testWebhook>>, TError, Key, Arguments, Awaited$3<ReturnType<typeof testWebhook>>> & {
7519
7678
  swrKey?: string;
7520
7679
  };
7521
7680
  request?: SecondParameter$3<typeof customFetch>;
@@ -7528,6 +7687,8 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
7528
7687
  swrKey: string | readonly [`/v1/webhooks/${string}/test`];
7529
7688
  };
7530
7689
 
7690
+ type AwaitedInput$2<T> = PromiseLike<T> | T;
7691
+ type Awaited$2<O> = O extends AwaitedInput$2<infer T> ? T : never;
7531
7692
  type SecondParameter$2<T extends (...args: never) => unknown> = Parameters<T>[1];
7532
7693
  /**
7533
7694
  * List all worker runs with pagination, filtering, and sorting.
@@ -7544,12 +7705,12 @@ Multiple scope filters can be combined (AND logic).
7544
7705
  declare const getListWorkerRunsUrl: (params?: ListWorkerRunsParams) => string;
7545
7706
  declare const listWorkerRuns: (params?: ListWorkerRunsParams, options?: RequestInit) => Promise<WorkerRunList>;
7546
7707
  declare const getListWorkerRunsKey: (params?: ListWorkerRunsParams) => readonly ["/v1/worker-runs", ...ListWorkerRunsParams[]];
7547
- type ListWorkerRunsQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerRuns>>>;
7708
+ type ListWorkerRunsQueryResult = NonNullable<Awaited$2<ReturnType<typeof listWorkerRuns>>>;
7548
7709
  /**
7549
7710
  * @summary List worker runs
7550
7711
  */
7551
7712
  declare const useListWorkerRuns: <TError = ErrorType<ErrorResponse>>(params?: ListWorkerRunsParams, options?: {
7552
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerRuns>>, TError> & {
7713
+ swr?: SWRConfiguration<Awaited$2<ReturnType<typeof listWorkerRuns>>, TError> & {
7553
7714
  swrKey?: Key;
7554
7715
  enabled?: boolean;
7555
7716
  };
@@ -7574,12 +7735,12 @@ declare const getCreateWorkerRunMutationFetcher: (options?: SecondParameter$2<ty
7574
7735
  arg: CreateWorkerRunBody;
7575
7736
  }) => Promise<WorkerRunCreated>;
7576
7737
  declare const getCreateWorkerRunMutationKey: () => readonly ["/v1/worker-runs"];
7577
- type CreateWorkerRunMutationResult = NonNullable<Awaited<ReturnType<typeof createWorkerRun>>>;
7738
+ type CreateWorkerRunMutationResult = NonNullable<Awaited$2<ReturnType<typeof createWorkerRun>>>;
7578
7739
  /**
7579
7740
  * @summary Create worker run
7580
7741
  */
7581
7742
  declare const useCreateWorkerRun: <TError = ErrorType<ErrorResponse>>(options?: {
7582
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerRun>>, TError, Key, CreateWorkerRunBody, Awaited<ReturnType<typeof createWorkerRun>>> & {
7743
+ swr?: SWRMutationConfiguration<Awaited$2<ReturnType<typeof createWorkerRun>>, TError, Key, CreateWorkerRunBody, Awaited$2<ReturnType<typeof createWorkerRun>>> & {
7583
7744
  swrKey?: string;
7584
7745
  };
7585
7746
  request?: SecondParameter$2<typeof customFetch>;
@@ -7598,12 +7759,12 @@ declare const useCreateWorkerRun: <TError = ErrorType<ErrorResponse>>(options?:
7598
7759
  declare const getGetWorkerRunUrl: (workerRunId: string) => string;
7599
7760
  declare const getWorkerRun: (workerRunId: string, options?: RequestInit) => Promise<WorkerRun>;
7600
7761
  declare const getGetWorkerRunKey: (workerRunId: string) => readonly [`/v1/worker-runs/${string}`];
7601
- type GetWorkerRunQueryResult = NonNullable<Awaited<ReturnType<typeof getWorkerRun>>>;
7762
+ type GetWorkerRunQueryResult = NonNullable<Awaited$2<ReturnType<typeof getWorkerRun>>>;
7602
7763
  /**
7603
7764
  * @summary Get worker run
7604
7765
  */
7605
7766
  declare const useGetWorkerRun: <TError = ErrorType<ErrorResponse>>(workerRunId: string, options?: {
7606
- swr?: SWRConfiguration<Awaited<ReturnType<typeof getWorkerRun>>, TError> & {
7767
+ swr?: SWRConfiguration<Awaited$2<ReturnType<typeof getWorkerRun>>, TError> & {
7607
7768
  swrKey?: Key;
7608
7769
  enabled?: boolean;
7609
7770
  };
@@ -7623,12 +7784,12 @@ declare const useGetWorkerRun: <TError = ErrorType<ErrorResponse>>(workerRunId:
7623
7784
  declare const getListWorkerRunMessagesUrl: (workerRunId: string, params?: ListWorkerRunMessagesParams) => string;
7624
7785
  declare const listWorkerRunMessages: (workerRunId: string, params?: ListWorkerRunMessagesParams, options?: RequestInit) => Promise<WorkerRunMessageList>;
7625
7786
  declare const getListWorkerRunMessagesKey: (workerRunId: string, params?: ListWorkerRunMessagesParams) => readonly [`/v1/worker-runs/${string}/messages`, ...ListWorkerRunMessagesParams[]];
7626
- type ListWorkerRunMessagesQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerRunMessages>>>;
7787
+ type ListWorkerRunMessagesQueryResult = NonNullable<Awaited$2<ReturnType<typeof listWorkerRunMessages>>>;
7627
7788
  /**
7628
7789
  * @summary List worker run messages
7629
7790
  */
7630
7791
  declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(workerRunId: string, params?: ListWorkerRunMessagesParams, options?: {
7631
- swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerRunMessages>>, TError> & {
7792
+ swr?: SWRConfiguration<Awaited$2<ReturnType<typeof listWorkerRunMessages>>, TError> & {
7632
7793
  swrKey?: Key;
7633
7794
  enabled?: boolean;
7634
7795
  };
@@ -7651,12 +7812,12 @@ declare const getUpdateWorkerRunScopeMutationFetcher: (workerRunId: string, opti
7651
7812
  arg: UpdateWorkerRunScopeBody;
7652
7813
  }) => Promise<WorkerRun>;
7653
7814
  declare const getUpdateWorkerRunScopeMutationKey: (workerRunId: string) => readonly [`/v1/worker-runs/${string}/scope`];
7654
- type UpdateWorkerRunScopeMutationResult = NonNullable<Awaited<ReturnType<typeof updateWorkerRunScope>>>;
7815
+ type UpdateWorkerRunScopeMutationResult = NonNullable<Awaited$2<ReturnType<typeof updateWorkerRunScope>>>;
7655
7816
  /**
7656
7817
  * @summary Update worker run scope
7657
7818
  */
7658
7819
  declare const useUpdateWorkerRunScope: <TError = ErrorType<ErrorResponse>>(workerRunId: string, options?: {
7659
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateWorkerRunScope>>, TError, Key, UpdateWorkerRunScopeBody, Awaited<ReturnType<typeof updateWorkerRunScope>>> & {
7820
+ swr?: SWRMutationConfiguration<Awaited$2<ReturnType<typeof updateWorkerRunScope>>, TError, Key, UpdateWorkerRunScopeBody, Awaited$2<ReturnType<typeof updateWorkerRunScope>>> & {
7660
7821
  swrKey?: string;
7661
7822
  };
7662
7823
  request?: SecondParameter$2<typeof customFetch>;
@@ -7669,6 +7830,8 @@ declare const useUpdateWorkerRunScope: <TError = ErrorType<ErrorResponse>>(worke
7669
7830
  swrKey: string | readonly [`/v1/worker-runs/${string}/scope`];
7670
7831
  };
7671
7832
 
7833
+ type AwaitedInput$1<T> = PromiseLike<T> | T;
7834
+ type Awaited$1<O> = O extends AwaitedInput$1<infer T> ? T : never;
7672
7835
  type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
7673
7836
  /**
7674
7837
  * List tools attached to the calling worker. Worker-only endpoint.
@@ -7677,12 +7840,12 @@ type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1]
7677
7840
  declare const getWorkerListToolsUrl: () => string;
7678
7841
  declare const workerListTools: (options?: RequestInit) => Promise<WorkerToolList>;
7679
7842
  declare const getWorkerListToolsKey: () => readonly ["/worker/v1/tools"];
7680
- type WorkerListToolsQueryResult = NonNullable<Awaited<ReturnType<typeof workerListTools>>>;
7843
+ type WorkerListToolsQueryResult = NonNullable<Awaited$1<ReturnType<typeof workerListTools>>>;
7681
7844
  /**
7682
7845
  * @summary List worker tools
7683
7846
  */
7684
7847
  declare const useWorkerListTools: <TError = ErrorType<ErrorResponse>>(options?: {
7685
- swr?: SWRConfiguration<Awaited<ReturnType<typeof workerListTools>>, TError> & {
7848
+ swr?: SWRConfiguration<Awaited$1<ReturnType<typeof workerListTools>>, TError> & {
7686
7849
  swrKey?: Key;
7687
7850
  enabled?: boolean;
7688
7851
  };
@@ -7702,12 +7865,12 @@ declare const useWorkerListTools: <TError = ErrorType<ErrorResponse>>(options?:
7702
7865
  declare const getWorkerGetToolUrl: (id: string) => string;
7703
7866
  declare const workerGetTool: (id: string, options?: RequestInit) => Promise<GetWorkerToolResponse>;
7704
7867
  declare const getWorkerGetToolKey: (id: string) => readonly [`/worker/v1/tools/${string}`];
7705
- type WorkerGetToolQueryResult = NonNullable<Awaited<ReturnType<typeof workerGetTool>>>;
7868
+ type WorkerGetToolQueryResult = NonNullable<Awaited$1<ReturnType<typeof workerGetTool>>>;
7706
7869
  /**
7707
7870
  * @summary Get worker tool
7708
7871
  */
7709
7872
  declare const useWorkerGetTool: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
7710
- swr?: SWRConfiguration<Awaited<ReturnType<typeof workerGetTool>>, TError> & {
7873
+ swr?: SWRConfiguration<Awaited$1<ReturnType<typeof workerGetTool>>, TError> & {
7711
7874
  swrKey?: Key;
7712
7875
  enabled?: boolean;
7713
7876
  };
@@ -7721,6 +7884,8 @@ declare const useWorkerGetTool: <TError = ErrorType<ErrorResponse>>(id: string,
7721
7884
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
7722
7885
  };
7723
7886
 
7887
+ type AwaitedInput<T> = PromiseLike<T> | T;
7888
+ type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
7724
7889
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
7725
7890
  /**
7726
7891
  * Create a new worker with a name, prompt, and env vars.
@@ -7881,4 +8046,4 @@ declare const useUpdateWorkerPrompt: <TError = ErrorType<ErrorResponse>>(workerI
7881
8046
  swrKey: string | readonly [`/v1/workers/${string}/prompt`];
7882
8047
  };
7883
8048
 
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 };
8049
+ export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, 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, CreateApiKeyBodyRole, 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 UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, 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, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, 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, updateApiKey, 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, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerGetTool, useWorkerListTools, workerGetTool, workerListTools };