@avallon-labs/sdk 17.5.0 → 18.0.0-staging.424
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 +245 -112
- package/dist/index.js +175 -100
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -318,19 +318,6 @@ type ArtifactMetadata = {
|
|
|
318
318
|
[key: string]: unknown;
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
/**
|
|
322
|
-
* Generated by orval v8.1.0 🍺
|
|
323
|
-
* Do not edit manually.
|
|
324
|
-
* Avallon API
|
|
325
|
-
* OpenAPI spec version: 1.0.0
|
|
326
|
-
*/
|
|
327
|
-
type ArtifactStatus = (typeof ArtifactStatus)[keyof typeof ArtifactStatus];
|
|
328
|
-
declare const ArtifactStatus: {
|
|
329
|
-
readonly processing: "processing";
|
|
330
|
-
readonly completed: "completed";
|
|
331
|
-
readonly failed: "failed";
|
|
332
|
-
};
|
|
333
|
-
|
|
334
321
|
/**
|
|
335
322
|
* Generated by orval v8.1.0 🍺
|
|
336
323
|
* Do not edit manually.
|
|
@@ -346,7 +333,6 @@ interface Artifact {
|
|
|
346
333
|
created_at_document: string | null;
|
|
347
334
|
updated_at: string;
|
|
348
335
|
has_content: boolean;
|
|
349
|
-
status: ArtifactStatus;
|
|
350
336
|
}
|
|
351
337
|
|
|
352
338
|
/**
|
|
@@ -381,19 +367,6 @@ type ArtifactDetailDataMetadata = {
|
|
|
381
367
|
[key: string]: unknown;
|
|
382
368
|
};
|
|
383
369
|
|
|
384
|
-
/**
|
|
385
|
-
* Generated by orval v8.1.0 🍺
|
|
386
|
-
* Do not edit manually.
|
|
387
|
-
* Avallon API
|
|
388
|
-
* OpenAPI spec version: 1.0.0
|
|
389
|
-
*/
|
|
390
|
-
type ArtifactDetailDataStatus = (typeof ArtifactDetailDataStatus)[keyof typeof ArtifactDetailDataStatus];
|
|
391
|
-
declare const ArtifactDetailDataStatus: {
|
|
392
|
-
readonly processing: "processing";
|
|
393
|
-
readonly completed: "completed";
|
|
394
|
-
readonly failed: "failed";
|
|
395
|
-
};
|
|
396
|
-
|
|
397
370
|
/**
|
|
398
371
|
* Generated by orval v8.1.0 🍺
|
|
399
372
|
* Do not edit manually.
|
|
@@ -410,7 +383,6 @@ type ArtifactDetailData = {
|
|
|
410
383
|
created_at_document: string | null;
|
|
411
384
|
updated_at: string;
|
|
412
385
|
content_md: string | null;
|
|
413
|
-
status: ArtifactDetailDataStatus;
|
|
414
386
|
};
|
|
415
387
|
|
|
416
388
|
/**
|
|
@@ -3188,6 +3160,44 @@ type ListJobsParams = {
|
|
|
3188
3160
|
scheduled_before?: string;
|
|
3189
3161
|
};
|
|
3190
3162
|
|
|
3163
|
+
/**
|
|
3164
|
+
* Generated by orval v8.1.0 🍺
|
|
3165
|
+
* Do not edit manually.
|
|
3166
|
+
* Avallon API
|
|
3167
|
+
* OpenAPI spec version: 1.0.0
|
|
3168
|
+
*/
|
|
3169
|
+
type TeamMemberRole = (typeof TeamMemberRole)[keyof typeof TeamMemberRole];
|
|
3170
|
+
declare const TeamMemberRole: {
|
|
3171
|
+
readonly admin: "admin";
|
|
3172
|
+
readonly member: "member";
|
|
3173
|
+
};
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Generated by orval v8.1.0 🍺
|
|
3177
|
+
* Do not edit manually.
|
|
3178
|
+
* Avallon API
|
|
3179
|
+
* OpenAPI spec version: 1.0.0
|
|
3180
|
+
*/
|
|
3181
|
+
|
|
3182
|
+
interface TeamMember {
|
|
3183
|
+
id: string;
|
|
3184
|
+
first_name: string | null;
|
|
3185
|
+
last_name: string | null;
|
|
3186
|
+
email: string;
|
|
3187
|
+
role: TeamMemberRole;
|
|
3188
|
+
created_at: string;
|
|
3189
|
+
updated_at: string;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* Generated by orval v8.1.0 🍺
|
|
3194
|
+
* Do not edit manually.
|
|
3195
|
+
* Avallon API
|
|
3196
|
+
* OpenAPI spec version: 1.0.0
|
|
3197
|
+
*/
|
|
3198
|
+
|
|
3199
|
+
type ListTeamMembersResponse = TeamMember[];
|
|
3200
|
+
|
|
3191
3201
|
/**
|
|
3192
3202
|
* Generated by orval v8.1.0 🍺
|
|
3193
3203
|
* Do not edit manually.
|
|
@@ -3564,6 +3574,16 @@ type RefreshTokenBody = {
|
|
|
3564
3574
|
refresh_token: string;
|
|
3565
3575
|
};
|
|
3566
3576
|
|
|
3577
|
+
/**
|
|
3578
|
+
* Generated by orval v8.1.0 🍺
|
|
3579
|
+
* Do not edit manually.
|
|
3580
|
+
* Avallon API
|
|
3581
|
+
* OpenAPI spec version: 1.0.0
|
|
3582
|
+
*/
|
|
3583
|
+
interface RemoveMemberResponse {
|
|
3584
|
+
[key: string]: unknown;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3567
3587
|
/**
|
|
3568
3588
|
* Generated by orval v8.1.0 🍺
|
|
3569
3589
|
* Do not edit manually.
|
|
@@ -3794,6 +3814,38 @@ type UpdateInboxBody = {
|
|
|
3794
3814
|
processor?: UpdateInboxBodyProcessor;
|
|
3795
3815
|
};
|
|
3796
3816
|
|
|
3817
|
+
/**
|
|
3818
|
+
* Generated by orval v8.1.0 🍺
|
|
3819
|
+
* Do not edit manually.
|
|
3820
|
+
* Avallon API
|
|
3821
|
+
* OpenAPI spec version: 1.0.0
|
|
3822
|
+
*/
|
|
3823
|
+
type UpdateMemberRoleBodyRole = (typeof UpdateMemberRoleBodyRole)[keyof typeof UpdateMemberRoleBodyRole];
|
|
3824
|
+
declare const UpdateMemberRoleBodyRole: {
|
|
3825
|
+
readonly admin: "admin";
|
|
3826
|
+
readonly member: "member";
|
|
3827
|
+
};
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* Generated by orval v8.1.0 🍺
|
|
3831
|
+
* Do not edit manually.
|
|
3832
|
+
* Avallon API
|
|
3833
|
+
* OpenAPI spec version: 1.0.0
|
|
3834
|
+
*/
|
|
3835
|
+
|
|
3836
|
+
type UpdateMemberRoleBody = {
|
|
3837
|
+
role: UpdateMemberRoleBodyRole;
|
|
3838
|
+
};
|
|
3839
|
+
|
|
3840
|
+
/**
|
|
3841
|
+
* Generated by orval v8.1.0 🍺
|
|
3842
|
+
* Do not edit manually.
|
|
3843
|
+
* Avallon API
|
|
3844
|
+
* OpenAPI spec version: 1.0.0
|
|
3845
|
+
*/
|
|
3846
|
+
|
|
3847
|
+
type UpdateMemberRoleResponse = TeamMember;
|
|
3848
|
+
|
|
3797
3849
|
/**
|
|
3798
3850
|
* Generated by orval v8.1.0 🍺
|
|
3799
3851
|
* Do not edit manually.
|
|
@@ -4263,7 +4315,7 @@ type WorkerRunMessageList = WorkerRunMessage[];
|
|
|
4263
4315
|
|
|
4264
4316
|
type WorkerWebhookList = Webhook[];
|
|
4265
4317
|
|
|
4266
|
-
type SecondParameter$
|
|
4318
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4267
4319
|
/**
|
|
4268
4320
|
* List all API keys for your tenant.
|
|
4269
4321
|
|
|
@@ -4284,7 +4336,7 @@ declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListA
|
|
|
4284
4336
|
swrKey?: Key;
|
|
4285
4337
|
enabled?: boolean;
|
|
4286
4338
|
};
|
|
4287
|
-
request?: SecondParameter$
|
|
4339
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
4288
4340
|
}) => {
|
|
4289
4341
|
data: ApiKeyList | undefined;
|
|
4290
4342
|
error: TError | undefined;
|
|
@@ -4303,7 +4355,7 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
4303
4355
|
*/
|
|
4304
4356
|
declare const getCreateApiKeyUrl: () => string;
|
|
4305
4357
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
4306
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
4358
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
4307
4359
|
arg: CreateApiKeyBody;
|
|
4308
4360
|
}) => Promise<ApiKeyCreated>;
|
|
4309
4361
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
@@ -4315,7 +4367,7 @@ declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4315
4367
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited<ReturnType<typeof createApiKey>>> & {
|
|
4316
4368
|
swrKey?: string;
|
|
4317
4369
|
};
|
|
4318
|
-
request?: SecondParameter$
|
|
4370
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
4319
4371
|
}) => {
|
|
4320
4372
|
isMutating: boolean;
|
|
4321
4373
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -4334,7 +4386,7 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
4334
4386
|
*/
|
|
4335
4387
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
4336
4388
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
4337
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
4389
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, __: {
|
|
4338
4390
|
arg: Arguments;
|
|
4339
4391
|
}) => Promise<ConfirmationResponse>;
|
|
4340
4392
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
@@ -4346,7 +4398,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
4346
4398
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited<ReturnType<typeof revokeApiKey>>> & {
|
|
4347
4399
|
swrKey?: string;
|
|
4348
4400
|
};
|
|
4349
|
-
request?: SecondParameter$
|
|
4401
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
4350
4402
|
}) => {
|
|
4351
4403
|
isMutating: boolean;
|
|
4352
4404
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -4356,7 +4408,7 @@ declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
4356
4408
|
swrKey: string | readonly [`/platform/api-keys/${string}/revoke`];
|
|
4357
4409
|
};
|
|
4358
4410
|
|
|
4359
|
-
type SecondParameter$
|
|
4411
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4360
4412
|
/**
|
|
4361
4413
|
* Upload a document as a base64-encoded artifact for processing.
|
|
4362
4414
|
|
|
@@ -4372,7 +4424,7 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
4372
4424
|
*/
|
|
4373
4425
|
declare const getCreateArtifactUrl: () => string;
|
|
4374
4426
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
4375
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
4427
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
4376
4428
|
arg: CreateArtifactBody;
|
|
4377
4429
|
}) => Promise<ArtifactCreated>;
|
|
4378
4430
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
@@ -4384,7 +4436,7 @@ declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4384
4436
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited<ReturnType<typeof createArtifact>>> & {
|
|
4385
4437
|
swrKey?: string;
|
|
4386
4438
|
};
|
|
4387
|
-
request?: SecondParameter$
|
|
4439
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4388
4440
|
}) => {
|
|
4389
4441
|
isMutating: boolean;
|
|
4390
4442
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -4417,7 +4469,7 @@ declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: Lis
|
|
|
4417
4469
|
swrKey?: Key;
|
|
4418
4470
|
enabled?: boolean;
|
|
4419
4471
|
};
|
|
4420
|
-
request?: SecondParameter$
|
|
4472
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4421
4473
|
}) => {
|
|
4422
4474
|
data: ArtifactList | undefined;
|
|
4423
4475
|
error: TError | undefined;
|
|
@@ -4442,7 +4494,7 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
4442
4494
|
swrKey?: Key;
|
|
4443
4495
|
enabled?: boolean;
|
|
4444
4496
|
};
|
|
4445
|
-
request?: SecondParameter$
|
|
4497
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4446
4498
|
}) => {
|
|
4447
4499
|
data: ArtifactDetail | undefined;
|
|
4448
4500
|
error: TError | undefined;
|
|
@@ -4467,7 +4519,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
4467
4519
|
swrKey?: Key;
|
|
4468
4520
|
enabled?: boolean;
|
|
4469
4521
|
};
|
|
4470
|
-
request?: SecondParameter$
|
|
4522
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4471
4523
|
}) => {
|
|
4472
4524
|
data: ArtifactMetadataKeys | undefined;
|
|
4473
4525
|
error: TError | undefined;
|
|
@@ -4482,7 +4534,7 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
4482
4534
|
*/
|
|
4483
4535
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
4484
4536
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
4485
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
4537
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
4486
4538
|
arg: GetArtifactUploadUrlBody;
|
|
4487
4539
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
4488
4540
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
@@ -4494,7 +4546,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
4494
4546
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
4495
4547
|
swrKey?: string;
|
|
4496
4548
|
};
|
|
4497
|
-
request?: SecondParameter$
|
|
4549
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4498
4550
|
}) => {
|
|
4499
4551
|
isMutating: boolean;
|
|
4500
4552
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -4509,7 +4561,7 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
4509
4561
|
*/
|
|
4510
4562
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
4511
4563
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
4512
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
4564
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
4513
4565
|
arg: UpdateArtifactMetadataBody;
|
|
4514
4566
|
}) => Promise<ArtifactDetail>;
|
|
4515
4567
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
@@ -4521,7 +4573,7 @@ declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id:
|
|
|
4521
4573
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
4522
4574
|
swrKey?: string;
|
|
4523
4575
|
};
|
|
4524
|
-
request?: SecondParameter$
|
|
4576
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4525
4577
|
}) => {
|
|
4526
4578
|
isMutating: boolean;
|
|
4527
4579
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -4538,7 +4590,7 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
4538
4590
|
*/
|
|
4539
4591
|
declare const getUploadFileUrl: () => string;
|
|
4540
4592
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
4541
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
4593
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
4542
4594
|
arg: UploadFileBody;
|
|
4543
4595
|
}) => Promise<UploadFileResponse>;
|
|
4544
4596
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
@@ -4550,7 +4602,7 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4550
4602
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited<ReturnType<typeof uploadFile>>> & {
|
|
4551
4603
|
swrKey?: string;
|
|
4552
4604
|
};
|
|
4553
|
-
request?: SecondParameter$
|
|
4605
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
4554
4606
|
}) => {
|
|
4555
4607
|
isMutating: boolean;
|
|
4556
4608
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -4560,14 +4612,14 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4560
4612
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
4561
4613
|
};
|
|
4562
4614
|
|
|
4563
|
-
type SecondParameter$
|
|
4615
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4564
4616
|
/**
|
|
4565
4617
|
* Create a new user account with email and password.
|
|
4566
4618
|
* @summary Sign up
|
|
4567
4619
|
*/
|
|
4568
4620
|
declare const getSignUpUrl: () => string;
|
|
4569
4621
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
|
|
4570
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
4622
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$g<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4571
4623
|
arg: SignUpBody;
|
|
4572
4624
|
}) => Promise<EmptyResponse>;
|
|
4573
4625
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
@@ -4579,7 +4631,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4579
4631
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited<ReturnType<typeof signUp>>> & {
|
|
4580
4632
|
swrKey?: string;
|
|
4581
4633
|
};
|
|
4582
|
-
request?: SecondParameter$
|
|
4634
|
+
request?: SecondParameter$g<typeof customFetchNoAuth>;
|
|
4583
4635
|
}) => {
|
|
4584
4636
|
isMutating: boolean;
|
|
4585
4637
|
trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -4598,7 +4650,7 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4598
4650
|
*/
|
|
4599
4651
|
declare const getSignInUrl: () => string;
|
|
4600
4652
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
4601
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
4653
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$g<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4602
4654
|
arg: SignInBody;
|
|
4603
4655
|
}) => Promise<AuthTokens>;
|
|
4604
4656
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
@@ -4610,7 +4662,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4610
4662
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited<ReturnType<typeof signIn>>> & {
|
|
4611
4663
|
swrKey?: string;
|
|
4612
4664
|
};
|
|
4613
|
-
request?: SecondParameter$
|
|
4665
|
+
request?: SecondParameter$g<typeof customFetchNoAuth>;
|
|
4614
4666
|
}) => {
|
|
4615
4667
|
isMutating: boolean;
|
|
4616
4668
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -4625,7 +4677,7 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4625
4677
|
*/
|
|
4626
4678
|
declare const getRefreshTokenUrl: () => string;
|
|
4627
4679
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
4628
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
4680
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$g<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4629
4681
|
arg: RefreshTokenBody;
|
|
4630
4682
|
}) => Promise<AuthTokens>;
|
|
4631
4683
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
@@ -4637,7 +4689,7 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4637
4689
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited<ReturnType<typeof refreshToken>>> & {
|
|
4638
4690
|
swrKey?: string;
|
|
4639
4691
|
};
|
|
4640
|
-
request?: SecondParameter$
|
|
4692
|
+
request?: SecondParameter$g<typeof customFetchNoAuth>;
|
|
4641
4693
|
}) => {
|
|
4642
4694
|
isMutating: boolean;
|
|
4643
4695
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -4662,7 +4714,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
4662
4714
|
swrKey?: Key;
|
|
4663
4715
|
enabled?: boolean;
|
|
4664
4716
|
};
|
|
4665
|
-
request?: SecondParameter$
|
|
4717
|
+
request?: SecondParameter$g<typeof customFetchNoAuth>;
|
|
4666
4718
|
}) => {
|
|
4667
4719
|
data: OAuthUrl | undefined;
|
|
4668
4720
|
error: TError | undefined;
|
|
@@ -4681,7 +4733,7 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
4681
4733
|
*/
|
|
4682
4734
|
declare const getGetSessionTokenUrl: () => string;
|
|
4683
4735
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
4684
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
4736
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$g<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
4685
4737
|
arg: GetSessionTokenBody;
|
|
4686
4738
|
}) => Promise<GetSessionToken200>;
|
|
4687
4739
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
@@ -4693,7 +4745,7 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
4693
4745
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited<ReturnType<typeof getSessionToken>>> & {
|
|
4694
4746
|
swrKey?: string;
|
|
4695
4747
|
};
|
|
4696
|
-
request?: SecondParameter$
|
|
4748
|
+
request?: SecondParameter$g<typeof customFetchNoAuth>;
|
|
4697
4749
|
}) => {
|
|
4698
4750
|
isMutating: boolean;
|
|
4699
4751
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -4703,14 +4755,14 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
4703
4755
|
swrKey: string | readonly ["/v1/auth/session"];
|
|
4704
4756
|
};
|
|
4705
4757
|
|
|
4706
|
-
type SecondParameter$
|
|
4758
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4707
4759
|
/**
|
|
4708
4760
|
* Create feedback for a specific message in a call. Author is derived from the authenticated user.
|
|
4709
4761
|
* @summary Create feedback on a call message
|
|
4710
4762
|
*/
|
|
4711
4763
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
4712
4764
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
4713
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
4765
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
4714
4766
|
arg: CreateFeedbackRequest;
|
|
4715
4767
|
}) => Promise<Feedback>;
|
|
4716
4768
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
@@ -4722,7 +4774,7 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4722
4774
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited<ReturnType<typeof createCallFeedback>>> & {
|
|
4723
4775
|
swrKey?: string;
|
|
4724
4776
|
};
|
|
4725
|
-
request?: SecondParameter$
|
|
4777
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
4726
4778
|
}) => {
|
|
4727
4779
|
isMutating: boolean;
|
|
4728
4780
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -4747,7 +4799,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
4747
4799
|
swrKey?: Key;
|
|
4748
4800
|
enabled?: boolean;
|
|
4749
4801
|
};
|
|
4750
|
-
request?: SecondParameter$
|
|
4802
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
4751
4803
|
}) => {
|
|
4752
4804
|
data: Feedback[] | undefined;
|
|
4753
4805
|
error: TError | undefined;
|
|
@@ -4762,7 +4814,7 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
4762
4814
|
*/
|
|
4763
4815
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
4764
4816
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
4765
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
4817
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, __: {
|
|
4766
4818
|
arg: Arguments;
|
|
4767
4819
|
}) => Promise<null>;
|
|
4768
4820
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
@@ -4774,7 +4826,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4774
4826
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited<ReturnType<typeof deleteCallFeedback>>> & {
|
|
4775
4827
|
swrKey?: string;
|
|
4776
4828
|
};
|
|
4777
|
-
request?: SecondParameter$
|
|
4829
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
4778
4830
|
}) => {
|
|
4779
4831
|
isMutating: boolean;
|
|
4780
4832
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -4784,7 +4836,7 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
4784
4836
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
4785
4837
|
};
|
|
4786
4838
|
|
|
4787
|
-
type SecondParameter$
|
|
4839
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4788
4840
|
/**
|
|
4789
4841
|
* List all calls, with pagination, filtering, and sorting.
|
|
4790
4842
|
|
|
@@ -4805,7 +4857,7 @@ declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCal
|
|
|
4805
4857
|
swrKey?: Key;
|
|
4806
4858
|
enabled?: boolean;
|
|
4807
4859
|
};
|
|
4808
|
-
request?: SecondParameter$
|
|
4860
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4809
4861
|
}) => {
|
|
4810
4862
|
data: CallList | undefined;
|
|
4811
4863
|
error: TError | undefined;
|
|
@@ -4832,7 +4884,7 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
4832
4884
|
swrKey?: Key;
|
|
4833
4885
|
enabled?: boolean;
|
|
4834
4886
|
};
|
|
4835
|
-
request?: SecondParameter$
|
|
4887
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4836
4888
|
}) => {
|
|
4837
4889
|
data: CallDetail | undefined;
|
|
4838
4890
|
error: TError | undefined;
|
|
@@ -4857,7 +4909,7 @@ declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: stri
|
|
|
4857
4909
|
swrKey?: Key;
|
|
4858
4910
|
enabled?: boolean;
|
|
4859
4911
|
};
|
|
4860
|
-
request?: SecondParameter$
|
|
4912
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4861
4913
|
}) => {
|
|
4862
4914
|
data: CallEvaluation | undefined;
|
|
4863
4915
|
error: TError | undefined;
|
|
@@ -4884,7 +4936,7 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
4884
4936
|
swrKey?: Key;
|
|
4885
4937
|
enabled?: boolean;
|
|
4886
4938
|
};
|
|
4887
|
-
request?: SecondParameter$
|
|
4939
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
4888
4940
|
}) => {
|
|
4889
4941
|
data: CallAnalytics | undefined;
|
|
4890
4942
|
error: TError | undefined;
|
|
@@ -4894,14 +4946,14 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
4894
4946
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
4895
4947
|
};
|
|
4896
4948
|
|
|
4897
|
-
type SecondParameter$
|
|
4949
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4898
4950
|
/**
|
|
4899
4951
|
* Create a new empty claim. Returns the claim ID and the creation timestamp.
|
|
4900
4952
|
* @summary Create claim
|
|
4901
4953
|
*/
|
|
4902
4954
|
declare const getCreateClaimUrl: () => string;
|
|
4903
4955
|
declare const createClaim: (options?: RequestInit) => Promise<ClaimCreated>;
|
|
4904
|
-
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$
|
|
4956
|
+
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, __: {
|
|
4905
4957
|
arg: Arguments;
|
|
4906
4958
|
}) => Promise<ClaimCreated>;
|
|
4907
4959
|
declare const getCreateClaimMutationKey: () => readonly ["/v1/claims"];
|
|
@@ -4913,7 +4965,7 @@ declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4913
4965
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited<ReturnType<typeof createClaim>>> & {
|
|
4914
4966
|
swrKey?: string;
|
|
4915
4967
|
};
|
|
4916
|
-
request?: SecondParameter$
|
|
4968
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4917
4969
|
}) => {
|
|
4918
4970
|
isMutating: boolean;
|
|
4919
4971
|
trigger: swr_mutation.TriggerWithOptionsArgs<ClaimCreated, TError, string | readonly ["/v1/claims"], Arguments>;
|
|
@@ -4938,7 +4990,7 @@ declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListCl
|
|
|
4938
4990
|
swrKey?: Key;
|
|
4939
4991
|
enabled?: boolean;
|
|
4940
4992
|
};
|
|
4941
|
-
request?: SecondParameter$
|
|
4993
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4942
4994
|
}) => {
|
|
4943
4995
|
data: ClaimList | undefined;
|
|
4944
4996
|
error: TError | undefined;
|
|
@@ -4963,7 +5015,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
4963
5015
|
swrKey?: Key;
|
|
4964
5016
|
enabled?: boolean;
|
|
4965
5017
|
};
|
|
4966
|
-
request?: SecondParameter$
|
|
5018
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
4967
5019
|
}) => {
|
|
4968
5020
|
data: ClaimDetail | undefined;
|
|
4969
5021
|
error: TError | undefined;
|
|
@@ -4973,7 +5025,7 @@ declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
4973
5025
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
4974
5026
|
};
|
|
4975
5027
|
|
|
4976
|
-
type SecondParameter$
|
|
5028
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
4977
5029
|
/**
|
|
4978
5030
|
* Ingest an email into the system.
|
|
4979
5031
|
|
|
@@ -4982,7 +5034,7 @@ Optionally associate the email with an existing claim via `claim_id`.
|
|
|
4982
5034
|
*/
|
|
4983
5035
|
declare const getCreateEmailUrl: () => string;
|
|
4984
5036
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
|
|
4985
|
-
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$
|
|
5037
|
+
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
4986
5038
|
arg: CreateEmailBody;
|
|
4987
5039
|
}) => Promise<EmailCreated>;
|
|
4988
5040
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
@@ -4994,7 +5046,7 @@ declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
4994
5046
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited<ReturnType<typeof createEmail>>> & {
|
|
4995
5047
|
swrKey?: string;
|
|
4996
5048
|
};
|
|
4997
|
-
request?: SecondParameter$
|
|
5049
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
4998
5050
|
}) => {
|
|
4999
5051
|
isMutating: boolean;
|
|
5000
5052
|
trigger: swr_mutation.TriggerWithArgs<EmailCreated, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
|
|
@@ -5023,7 +5075,7 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
|
|
|
5023
5075
|
swrKey?: Key;
|
|
5024
5076
|
enabled?: boolean;
|
|
5025
5077
|
};
|
|
5026
|
-
request?: SecondParameter$
|
|
5078
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
5027
5079
|
}) => {
|
|
5028
5080
|
data: EmailList | undefined;
|
|
5029
5081
|
error: TError | undefined;
|
|
@@ -5048,7 +5100,7 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
5048
5100
|
swrKey?: Key;
|
|
5049
5101
|
enabled?: boolean;
|
|
5050
5102
|
};
|
|
5051
|
-
request?: SecondParameter$
|
|
5103
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
5052
5104
|
}) => {
|
|
5053
5105
|
data: EmailDetail | undefined;
|
|
5054
5106
|
error: TError | undefined;
|
|
@@ -5073,7 +5125,7 @@ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
5073
5125
|
swrKey?: Key;
|
|
5074
5126
|
enabled?: boolean;
|
|
5075
5127
|
};
|
|
5076
|
-
request?: SecondParameter$
|
|
5128
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
5077
5129
|
}) => {
|
|
5078
5130
|
data: EmailThreadList | undefined;
|
|
5079
5131
|
error: TError | undefined;
|
|
@@ -5088,7 +5140,7 @@ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
5088
5140
|
*/
|
|
5089
5141
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
5090
5142
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<EmailReplyResult>;
|
|
5091
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
5143
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
5092
5144
|
arg: ReplyToEmailBody;
|
|
5093
5145
|
}) => Promise<{
|
|
5094
5146
|
readonly sent: true;
|
|
@@ -5102,7 +5154,7 @@ declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: stri
|
|
|
5102
5154
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited<ReturnType<typeof replyToEmail>>> & {
|
|
5103
5155
|
swrKey?: string;
|
|
5104
5156
|
};
|
|
5105
|
-
request?: SecondParameter$
|
|
5157
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
5106
5158
|
}) => {
|
|
5107
5159
|
isMutating: boolean;
|
|
5108
5160
|
trigger: swr_mutation.TriggerWithArgs<{
|
|
@@ -5116,7 +5168,7 @@ declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: stri
|
|
|
5116
5168
|
swrKey: string | readonly [`/v1/emails/${string}/reply`];
|
|
5117
5169
|
};
|
|
5118
5170
|
|
|
5119
|
-
type SecondParameter$
|
|
5171
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5120
5172
|
/**
|
|
5121
5173
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
5122
5174
|
|
|
@@ -5142,7 +5194,7 @@ declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?:
|
|
|
5142
5194
|
swrKey?: Key;
|
|
5143
5195
|
enabled?: boolean;
|
|
5144
5196
|
};
|
|
5145
|
-
request?: SecondParameter$
|
|
5197
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
5146
5198
|
}) => {
|
|
5147
5199
|
data: ExtractorJobList | undefined;
|
|
5148
5200
|
error: TError | undefined;
|
|
@@ -5159,7 +5211,7 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
5159
5211
|
*/
|
|
5160
5212
|
declare const getCreateExtractorJobUrl: () => string;
|
|
5161
5213
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<ExtractorJobCreated>;
|
|
5162
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
5214
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
5163
5215
|
arg: CreateExtractorJobBody;
|
|
5164
5216
|
}) => Promise<ExtractorJobCreated>;
|
|
5165
5217
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
@@ -5171,7 +5223,7 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
5171
5223
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited<ReturnType<typeof createExtractorJob>>> & {
|
|
5172
5224
|
swrKey?: string;
|
|
5173
5225
|
};
|
|
5174
|
-
request?: SecondParameter$
|
|
5226
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
5175
5227
|
}) => {
|
|
5176
5228
|
isMutating: boolean;
|
|
5177
5229
|
trigger: swr_mutation.TriggerWithArgs<ExtractorJobCreated, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -5196,7 +5248,7 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
5196
5248
|
swrKey?: Key;
|
|
5197
5249
|
enabled?: boolean;
|
|
5198
5250
|
};
|
|
5199
|
-
request?: SecondParameter$
|
|
5251
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
5200
5252
|
}) => {
|
|
5201
5253
|
data: GetExtractorJobResponse | undefined;
|
|
5202
5254
|
error: TError | undefined;
|
|
@@ -5206,14 +5258,14 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
5206
5258
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5207
5259
|
};
|
|
5208
5260
|
|
|
5209
|
-
type SecondParameter$
|
|
5261
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5210
5262
|
/**
|
|
5211
5263
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
5212
5264
|
* @summary Create extractor
|
|
5213
5265
|
*/
|
|
5214
5266
|
declare const getCreateExtractorUrl: () => string;
|
|
5215
5267
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<ExtractorCreated>;
|
|
5216
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
5268
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
|
|
5217
5269
|
arg: CreateExtractorBody;
|
|
5218
5270
|
}) => Promise<ExtractorCreated>;
|
|
5219
5271
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
@@ -5225,7 +5277,7 @@ declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
5225
5277
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited<ReturnType<typeof createExtractor>>> & {
|
|
5226
5278
|
swrKey?: string;
|
|
5227
5279
|
};
|
|
5228
|
-
request?: SecondParameter$
|
|
5280
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
5229
5281
|
}) => {
|
|
5230
5282
|
isMutating: boolean;
|
|
5231
5283
|
trigger: swr_mutation.TriggerWithArgs<ExtractorCreated, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -5252,7 +5304,7 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
5252
5304
|
swrKey?: Key;
|
|
5253
5305
|
enabled?: boolean;
|
|
5254
5306
|
};
|
|
5255
|
-
request?: SecondParameter$
|
|
5307
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
5256
5308
|
}) => {
|
|
5257
5309
|
data: ExtractorList | undefined;
|
|
5258
5310
|
error: TError | undefined;
|
|
@@ -5277,7 +5329,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
5277
5329
|
swrKey?: Key;
|
|
5278
5330
|
enabled?: boolean;
|
|
5279
5331
|
};
|
|
5280
|
-
request?: SecondParameter$
|
|
5332
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
5281
5333
|
}) => {
|
|
5282
5334
|
data: GetExtractorResponse | undefined;
|
|
5283
5335
|
error: TError | undefined;
|
|
@@ -5292,7 +5344,7 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
5292
5344
|
*/
|
|
5293
5345
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
5294
5346
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<ExtractorUpdated>;
|
|
5295
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
5347
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
|
|
5296
5348
|
arg: UpdateExtractorBody;
|
|
5297
5349
|
}) => Promise<ExtractorUpdated>;
|
|
5298
5350
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
@@ -5304,7 +5356,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
5304
5356
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited<ReturnType<typeof updateExtractor>>> & {
|
|
5305
5357
|
swrKey?: string;
|
|
5306
5358
|
};
|
|
5307
|
-
request?: SecondParameter$
|
|
5359
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
5308
5360
|
}) => {
|
|
5309
5361
|
isMutating: boolean;
|
|
5310
5362
|
trigger: swr_mutation.TriggerWithArgs<ExtractorUpdated, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -5314,7 +5366,7 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
5314
5366
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
5315
5367
|
};
|
|
5316
5368
|
|
|
5317
|
-
type SecondParameter$
|
|
5369
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5318
5370
|
/**
|
|
5319
5371
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
5320
5372
|
* @summary Get extract
|
|
@@ -5331,7 +5383,7 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
5331
5383
|
swrKey?: Key;
|
|
5332
5384
|
enabled?: boolean;
|
|
5333
5385
|
};
|
|
5334
|
-
request?: SecondParameter$
|
|
5386
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
5335
5387
|
}) => {
|
|
5336
5388
|
data: Extract | undefined;
|
|
5337
5389
|
error: TError | undefined;
|
|
@@ -5356,7 +5408,7 @@ declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: st
|
|
|
5356
5408
|
swrKey?: Key;
|
|
5357
5409
|
enabled?: boolean;
|
|
5358
5410
|
};
|
|
5359
|
-
request?: SecondParameter$
|
|
5411
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
5360
5412
|
}) => {
|
|
5361
5413
|
data: GetExtractCitations200 | undefined;
|
|
5362
5414
|
error: TError | undefined;
|
|
@@ -5388,7 +5440,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
5388
5440
|
swrKey?: Key;
|
|
5389
5441
|
enabled?: boolean;
|
|
5390
5442
|
};
|
|
5391
|
-
request?: SecondParameter$
|
|
5443
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
5392
5444
|
}) => {
|
|
5393
5445
|
data: ExtractList | undefined;
|
|
5394
5446
|
error: TError | undefined;
|
|
@@ -5398,7 +5450,7 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
5398
5450
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5399
5451
|
};
|
|
5400
5452
|
|
|
5401
|
-
type SecondParameter$
|
|
5453
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5402
5454
|
/**
|
|
5403
5455
|
* Check whether a given email username is available for creating a new inbox.
|
|
5404
5456
|
|
|
@@ -5418,7 +5470,7 @@ declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(par
|
|
|
5418
5470
|
swrKey?: Key;
|
|
5419
5471
|
enabled?: boolean;
|
|
5420
5472
|
};
|
|
5421
|
-
request?: SecondParameter$
|
|
5473
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
5422
5474
|
}) => {
|
|
5423
5475
|
data: InboxAvailability | undefined;
|
|
5424
5476
|
error: TError | undefined;
|
|
@@ -5440,7 +5492,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5440
5492
|
*/
|
|
5441
5493
|
declare const getCreateInboxUrl: () => string;
|
|
5442
5494
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
5443
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
5495
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
|
|
5444
5496
|
arg: CreateInboxBody;
|
|
5445
5497
|
}) => Promise<Inbox>;
|
|
5446
5498
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
@@ -5452,7 +5504,7 @@ declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5452
5504
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited<ReturnType<typeof createInbox>>> & {
|
|
5453
5505
|
swrKey?: string;
|
|
5454
5506
|
};
|
|
5455
|
-
request?: SecondParameter$
|
|
5507
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
5456
5508
|
}) => {
|
|
5457
5509
|
isMutating: boolean;
|
|
5458
5510
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -5480,7 +5532,7 @@ declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListI
|
|
|
5480
5532
|
swrKey?: Key;
|
|
5481
5533
|
enabled?: boolean;
|
|
5482
5534
|
};
|
|
5483
|
-
request?: SecondParameter$
|
|
5535
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
5484
5536
|
}) => {
|
|
5485
5537
|
data: InboxList | undefined;
|
|
5486
5538
|
error: TError | undefined;
|
|
@@ -5498,7 +5550,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5498
5550
|
*/
|
|
5499
5551
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
5500
5552
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
5501
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
5553
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
|
|
5502
5554
|
arg: UpdateInboxBody;
|
|
5503
5555
|
}) => Promise<Inbox>;
|
|
5504
5556
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
@@ -5510,7 +5562,7 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
5510
5562
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited<ReturnType<typeof updateInbox>>> & {
|
|
5511
5563
|
swrKey?: string;
|
|
5512
5564
|
};
|
|
5513
|
-
request?: SecondParameter$
|
|
5565
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
5514
5566
|
}) => {
|
|
5515
5567
|
isMutating: boolean;
|
|
5516
5568
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -5520,7 +5572,7 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
5520
5572
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
5521
5573
|
};
|
|
5522
5574
|
|
|
5523
|
-
type SecondParameter$
|
|
5575
|
+
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5524
5576
|
/**
|
|
5525
5577
|
* Schedule a new outbound call job for a voice agent.
|
|
5526
5578
|
|
|
@@ -5536,7 +5588,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5536
5588
|
*/
|
|
5537
5589
|
declare const getScheduleJobUrl: (voiceAgentId: string) => string;
|
|
5538
5590
|
declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
|
|
5539
|
-
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
5591
|
+
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$7<typeof customFetch>) => (_: Key, { arg }: {
|
|
5540
5592
|
arg: ScheduleJobBody;
|
|
5541
5593
|
}) => Promise<OutboundJob>;
|
|
5542
5594
|
declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
|
|
@@ -5548,7 +5600,7 @@ declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId:
|
|
|
5548
5600
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited<ReturnType<typeof scheduleJob>>> & {
|
|
5549
5601
|
swrKey?: string;
|
|
5550
5602
|
};
|
|
5551
|
-
request?: SecondParameter$
|
|
5603
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
5552
5604
|
}) => {
|
|
5553
5605
|
isMutating: boolean;
|
|
5554
5606
|
trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
|
|
@@ -5581,7 +5633,7 @@ declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsP
|
|
|
5581
5633
|
swrKey?: Key;
|
|
5582
5634
|
enabled?: boolean;
|
|
5583
5635
|
};
|
|
5584
|
-
request?: SecondParameter$
|
|
5636
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
5585
5637
|
}) => {
|
|
5586
5638
|
data: OutboundJobList | undefined;
|
|
5587
5639
|
error: TError | undefined;
|
|
@@ -5599,7 +5651,7 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
5599
5651
|
*/
|
|
5600
5652
|
declare const getCancelJobUrl: (jobId: string) => string;
|
|
5601
5653
|
declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<OutboundJob>;
|
|
5602
|
-
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$
|
|
5654
|
+
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$7<typeof customFetch>) => (_: Key, __: {
|
|
5603
5655
|
arg: Arguments;
|
|
5604
5656
|
}) => Promise<OutboundJob>;
|
|
5605
5657
|
declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
@@ -5611,7 +5663,7 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
5611
5663
|
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited<ReturnType<typeof cancelJob>>> & {
|
|
5612
5664
|
swrKey?: string;
|
|
5613
5665
|
};
|
|
5614
|
-
request?: SecondParameter$
|
|
5666
|
+
request?: SecondParameter$7<typeof customFetch>;
|
|
5615
5667
|
}) => {
|
|
5616
5668
|
isMutating: boolean;
|
|
5617
5669
|
trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
|
|
@@ -5621,7 +5673,7 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
5621
5673
|
swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
5622
5674
|
};
|
|
5623
5675
|
|
|
5624
|
-
type SecondParameter$
|
|
5676
|
+
type SecondParameter$6<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5625
5677
|
/**
|
|
5626
5678
|
* Retrieve the current user's profile information. This endpoint requires a user session and cannot be used with API Keys.
|
|
5627
5679
|
* @summary Get profile
|
|
@@ -5638,7 +5690,7 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5638
5690
|
swrKey?: Key;
|
|
5639
5691
|
enabled?: boolean;
|
|
5640
5692
|
};
|
|
5641
|
-
request?: SecondParameter$
|
|
5693
|
+
request?: SecondParameter$6<typeof customFetch>;
|
|
5642
5694
|
}) => {
|
|
5643
5695
|
data: Profile | undefined;
|
|
5644
5696
|
error: TError | undefined;
|
|
@@ -5648,6 +5700,87 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5648
5700
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5649
5701
|
};
|
|
5650
5702
|
|
|
5703
|
+
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5704
|
+
/**
|
|
5705
|
+
* List all members in the current tenant.
|
|
5706
|
+
* @summary List team members
|
|
5707
|
+
*/
|
|
5708
|
+
declare const getListTeamMembersUrl: () => string;
|
|
5709
|
+
declare const listTeamMembers: (options?: RequestInit) => Promise<ListTeamMembersResponse>;
|
|
5710
|
+
declare const getListTeamMembersKey: () => readonly ["/v1/team/members"];
|
|
5711
|
+
type ListTeamMembersQueryResult = NonNullable<Awaited<ReturnType<typeof listTeamMembers>>>;
|
|
5712
|
+
/**
|
|
5713
|
+
* @summary List team members
|
|
5714
|
+
*/
|
|
5715
|
+
declare const useListTeamMembers: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
5716
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listTeamMembers>>, TError> & {
|
|
5717
|
+
swrKey?: Key;
|
|
5718
|
+
enabled?: boolean;
|
|
5719
|
+
};
|
|
5720
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
5721
|
+
}) => {
|
|
5722
|
+
data: ListTeamMembersResponse | undefined;
|
|
5723
|
+
error: TError | undefined;
|
|
5724
|
+
mutate: swr.KeyedMutator<ListTeamMembersResponse>;
|
|
5725
|
+
isValidating: boolean;
|
|
5726
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
5727
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
5728
|
+
};
|
|
5729
|
+
/**
|
|
5730
|
+
* Change the role of a team member.
|
|
5731
|
+
* @summary Update member role
|
|
5732
|
+
*/
|
|
5733
|
+
declare const getUpdateMemberRoleUrl: (id: string) => string;
|
|
5734
|
+
declare const updateMemberRole: (id: string, updateMemberRoleBody: UpdateMemberRoleBody, options?: RequestInit) => Promise<TeamMember>;
|
|
5735
|
+
declare const getUpdateMemberRoleMutationFetcher: (id: string, options?: SecondParameter$5<typeof customFetch>) => (_: Key, { arg }: {
|
|
5736
|
+
arg: UpdateMemberRoleBody;
|
|
5737
|
+
}) => Promise<TeamMember>;
|
|
5738
|
+
declare const getUpdateMemberRoleMutationKey: (id: string) => readonly [`/v1/team/members/${string}`];
|
|
5739
|
+
type UpdateMemberRoleMutationResult = NonNullable<Awaited<ReturnType<typeof updateMemberRole>>>;
|
|
5740
|
+
/**
|
|
5741
|
+
* @summary Update member role
|
|
5742
|
+
*/
|
|
5743
|
+
declare const useUpdateMemberRole: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
5744
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateMemberRole>>, TError, Key, UpdateMemberRoleBody, Awaited<ReturnType<typeof updateMemberRole>>> & {
|
|
5745
|
+
swrKey?: string;
|
|
5746
|
+
};
|
|
5747
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
5748
|
+
}) => {
|
|
5749
|
+
isMutating: boolean;
|
|
5750
|
+
trigger: swr_mutation.TriggerWithArgs<TeamMember, TError, string | readonly [`/v1/team/members/${string}`], UpdateMemberRoleBody>;
|
|
5751
|
+
reset: () => void;
|
|
5752
|
+
data: TeamMember | undefined;
|
|
5753
|
+
error: TError | undefined;
|
|
5754
|
+
swrKey: string | readonly [`/v1/team/members/${string}`];
|
|
5755
|
+
};
|
|
5756
|
+
/**
|
|
5757
|
+
* Soft-delete a team member, revoking access on the next token refresh.
|
|
5758
|
+
* @summary Remove team member
|
|
5759
|
+
*/
|
|
5760
|
+
declare const getRemoveMemberUrl: (id: string) => string;
|
|
5761
|
+
declare const removeMember: (id: string, options?: RequestInit) => Promise<RemoveMemberResponse>;
|
|
5762
|
+
declare const getRemoveMemberMutationFetcher: (id: string, options?: SecondParameter$5<typeof customFetch>) => (_: Key, __: {
|
|
5763
|
+
arg: Arguments;
|
|
5764
|
+
}) => Promise<RemoveMemberResponse>;
|
|
5765
|
+
declare const getRemoveMemberMutationKey: (id: string) => readonly [`/v1/team/members/${string}`];
|
|
5766
|
+
type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<typeof removeMember>>>;
|
|
5767
|
+
/**
|
|
5768
|
+
* @summary Remove team member
|
|
5769
|
+
*/
|
|
5770
|
+
declare const useRemoveMember: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
5771
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof removeMember>>, TError, Key, Arguments, Awaited<ReturnType<typeof removeMember>>> & {
|
|
5772
|
+
swrKey?: string;
|
|
5773
|
+
};
|
|
5774
|
+
request?: SecondParameter$5<typeof customFetch>;
|
|
5775
|
+
}) => {
|
|
5776
|
+
isMutating: boolean;
|
|
5777
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveMemberResponse, TError, string | readonly [`/v1/team/members/${string}`], Arguments>;
|
|
5778
|
+
reset: () => void;
|
|
5779
|
+
data: RemoveMemberResponse | undefined;
|
|
5780
|
+
error: TError | undefined;
|
|
5781
|
+
swrKey: string | readonly [`/v1/team/members/${string}`];
|
|
5782
|
+
};
|
|
5783
|
+
|
|
5651
5784
|
type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5652
5785
|
/**
|
|
5653
5786
|
* Create a new code tool that can be attached to agents. Provide the tool's name, code, description, and optionally an API key.
|
|
@@ -6641,4 +6774,4 @@ declare const useUpdateWorker: <TError = ErrorType<ErrorResponse>>(workerId: str
|
|
|
6641
6774
|
swrKey: string | readonly [`/v1/workers/${string}`];
|
|
6642
6775
|
};
|
|
6643
6776
|
|
|
6644
|
-
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, ArtifactDetailDataStatus, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, ArtifactStatus, 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 CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, 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 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 GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type Inbox, type InboxAvailability, type InboxList, 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 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 ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type ReplyToEmailBody, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMutationResult, 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 VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type WorkerCreated, type WorkerCreatedSchema, type WorkerList, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, replyToEmail, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateInbox, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateWorker, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateInbox, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateWorker, useUpdateWorkerRunScope, useUploadFile };
|
|
6777
|
+
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 CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, 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 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 GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type Inbox, type InboxAvailability, type InboxList, 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 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 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 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 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 UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMutationResult, 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 VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type WorkerCreated, type WorkerCreatedSchema, type WorkerList, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, 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, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateWorker, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateWorker, useUpdateWorkerRunScope, useUploadFile };
|