@avallon-labs/sdk 24.5.0 → 25.0.0-staging.637
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 +173 -406
- package/dist/index.js +116 -215
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1113,116 +1113,6 @@ type CheckInboxAvailabilityParams = {
|
|
|
1113
1113
|
username: string;
|
|
1114
1114
|
};
|
|
1115
1115
|
|
|
1116
|
-
/**
|
|
1117
|
-
* Generated by orval v8.1.0 🍺
|
|
1118
|
-
* Do not edit manually.
|
|
1119
|
-
* Avallon API
|
|
1120
|
-
* OpenAPI spec version: 1.0.0
|
|
1121
|
-
*/
|
|
1122
|
-
interface ClaimCreated {
|
|
1123
|
-
claim_id: string;
|
|
1124
|
-
created_at: string;
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* Generated by orval v8.1.0 🍺
|
|
1129
|
-
* Do not edit manually.
|
|
1130
|
-
* Avallon API
|
|
1131
|
-
* OpenAPI spec version: 1.0.0
|
|
1132
|
-
*/
|
|
1133
|
-
type ClaimDetailArtifactsItem = {
|
|
1134
|
-
id: string;
|
|
1135
|
-
document_name: string;
|
|
1136
|
-
created_at: string;
|
|
1137
|
-
};
|
|
1138
|
-
|
|
1139
|
-
/**
|
|
1140
|
-
* Generated by orval v8.1.0 🍺
|
|
1141
|
-
* Do not edit manually.
|
|
1142
|
-
* Avallon API
|
|
1143
|
-
* OpenAPI spec version: 1.0.0
|
|
1144
|
-
*/
|
|
1145
|
-
type ClaimDetailClaim = {
|
|
1146
|
-
id: string;
|
|
1147
|
-
created_at: string;
|
|
1148
|
-
updated_at: string;
|
|
1149
|
-
};
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* Generated by orval v8.1.0 🍺
|
|
1153
|
-
* Do not edit manually.
|
|
1154
|
-
* Avallon API
|
|
1155
|
-
* OpenAPI spec version: 1.0.0
|
|
1156
|
-
*/
|
|
1157
|
-
type ClaimDetailExtractorJob = {
|
|
1158
|
-
id: string;
|
|
1159
|
-
status: string;
|
|
1160
|
-
extract_id: string | null;
|
|
1161
|
-
} | null;
|
|
1162
|
-
|
|
1163
|
-
/**
|
|
1164
|
-
* Generated by orval v8.1.0 🍺
|
|
1165
|
-
* Do not edit manually.
|
|
1166
|
-
* Avallon API
|
|
1167
|
-
* OpenAPI spec version: 1.0.0
|
|
1168
|
-
*/
|
|
1169
|
-
type ClaimDetailSourcesItem = {
|
|
1170
|
-
type: string;
|
|
1171
|
-
direction: string;
|
|
1172
|
-
id: string;
|
|
1173
|
-
from: string;
|
|
1174
|
-
to: string[];
|
|
1175
|
-
subject: string | null;
|
|
1176
|
-
body_html: string | null;
|
|
1177
|
-
sent_at: string;
|
|
1178
|
-
/** @deprecated */
|
|
1179
|
-
received_at: string;
|
|
1180
|
-
};
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* Generated by orval v8.1.0 🍺
|
|
1184
|
-
* Do not edit manually.
|
|
1185
|
-
* Avallon API
|
|
1186
|
-
* OpenAPI spec version: 1.0.0
|
|
1187
|
-
*/
|
|
1188
|
-
|
|
1189
|
-
interface ClaimDetail {
|
|
1190
|
-
claim: ClaimDetailClaim;
|
|
1191
|
-
sources: ClaimDetailSourcesItem[];
|
|
1192
|
-
artifacts: ClaimDetailArtifactsItem[];
|
|
1193
|
-
extractor_job: ClaimDetailExtractorJob;
|
|
1194
|
-
extract: unknown | null;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* Generated by orval v8.1.0 🍺
|
|
1199
|
-
* Do not edit manually.
|
|
1200
|
-
* Avallon API
|
|
1201
|
-
* OpenAPI spec version: 1.0.0
|
|
1202
|
-
*/
|
|
1203
|
-
type ClaimListClaimsItem = {
|
|
1204
|
-
id: string;
|
|
1205
|
-
created_at: string;
|
|
1206
|
-
latest_source: unknown | null;
|
|
1207
|
-
job_status: string | null;
|
|
1208
|
-
};
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* Generated by orval v8.1.0 🍺
|
|
1212
|
-
* Do not edit manually.
|
|
1213
|
-
* Avallon API
|
|
1214
|
-
* OpenAPI spec version: 1.0.0
|
|
1215
|
-
*/
|
|
1216
|
-
|
|
1217
|
-
interface ClaimList {
|
|
1218
|
-
claims: ClaimListClaimsItem[];
|
|
1219
|
-
/**
|
|
1220
|
-
* do not use. use the property in the meta object instead.
|
|
1221
|
-
* @deprecated
|
|
1222
|
-
*/
|
|
1223
|
-
total: number;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
1116
|
/**
|
|
1227
1117
|
* Generated by orval v8.1.0 🍺
|
|
1228
1118
|
* Do not edit manually.
|
|
@@ -1504,7 +1394,6 @@ declare const CreateEmailBodyDirection: {
|
|
|
1504
1394
|
*/
|
|
1505
1395
|
|
|
1506
1396
|
type CreateEmailBody = {
|
|
1507
|
-
claim_id?: string;
|
|
1508
1397
|
direction: CreateEmailBodyDirection;
|
|
1509
1398
|
from: string;
|
|
1510
1399
|
/** @minItems 1 */
|
|
@@ -1517,6 +1406,8 @@ type CreateEmailBody = {
|
|
|
1517
1406
|
sent_at?: string;
|
|
1518
1407
|
/** @deprecated */
|
|
1519
1408
|
received_at?: string;
|
|
1409
|
+
/** @deprecated */
|
|
1410
|
+
claim_id?: string;
|
|
1520
1411
|
};
|
|
1521
1412
|
|
|
1522
1413
|
/**
|
|
@@ -2021,7 +1912,6 @@ declare const EmailCreatedDirection: {
|
|
|
2021
1912
|
|
|
2022
1913
|
interface EmailCreated {
|
|
2023
1914
|
email_id: string;
|
|
2024
|
-
claim_id: string | null;
|
|
2025
1915
|
direction: EmailCreatedDirection;
|
|
2026
1916
|
from: string;
|
|
2027
1917
|
to: string[];
|
|
@@ -2029,6 +1919,8 @@ interface EmailCreated {
|
|
|
2029
1919
|
sent_at: string;
|
|
2030
1920
|
/** @deprecated */
|
|
2031
1921
|
received_at: string;
|
|
1922
|
+
/** @deprecated */
|
|
1923
|
+
claim_id: string | null;
|
|
2032
1924
|
created_at: string;
|
|
2033
1925
|
}
|
|
2034
1926
|
|
|
@@ -2057,6 +1949,7 @@ interface EmailDetail {
|
|
|
2057
1949
|
inbox_id: string | null;
|
|
2058
1950
|
/** @deprecated */
|
|
2059
1951
|
email_agent_id: string | null;
|
|
1952
|
+
/** @deprecated */
|
|
2060
1953
|
claim_id: string | null;
|
|
2061
1954
|
direction: EmailDetailDirection;
|
|
2062
1955
|
from: string;
|
|
@@ -3488,50 +3381,6 @@ type ListChatsParams = {
|
|
|
3488
3381
|
sort_order?: ListChatsSortOrder;
|
|
3489
3382
|
};
|
|
3490
3383
|
|
|
3491
|
-
/**
|
|
3492
|
-
* Generated by orval v8.1.0 🍺
|
|
3493
|
-
* Do not edit manually.
|
|
3494
|
-
* Avallon API
|
|
3495
|
-
* OpenAPI spec version: 1.0.0
|
|
3496
|
-
*/
|
|
3497
|
-
type ListClaimsSortBy = (typeof ListClaimsSortBy)[keyof typeof ListClaimsSortBy];
|
|
3498
|
-
declare const ListClaimsSortBy: {
|
|
3499
|
-
readonly created_at: "created_at";
|
|
3500
|
-
};
|
|
3501
|
-
|
|
3502
|
-
/**
|
|
3503
|
-
* Generated by orval v8.1.0 🍺
|
|
3504
|
-
* Do not edit manually.
|
|
3505
|
-
* Avallon API
|
|
3506
|
-
* OpenAPI spec version: 1.0.0
|
|
3507
|
-
*/
|
|
3508
|
-
type ListClaimsSortOrder = (typeof ListClaimsSortOrder)[keyof typeof ListClaimsSortOrder];
|
|
3509
|
-
declare const ListClaimsSortOrder: {
|
|
3510
|
-
readonly asc: "asc";
|
|
3511
|
-
readonly desc: "desc";
|
|
3512
|
-
};
|
|
3513
|
-
|
|
3514
|
-
/**
|
|
3515
|
-
* Generated by orval v8.1.0 🍺
|
|
3516
|
-
* Do not edit manually.
|
|
3517
|
-
* Avallon API
|
|
3518
|
-
* OpenAPI spec version: 1.0.0
|
|
3519
|
-
*/
|
|
3520
|
-
|
|
3521
|
-
type ListClaimsParams = {
|
|
3522
|
-
/**
|
|
3523
|
-
* @minimum 1
|
|
3524
|
-
* @maximum 100
|
|
3525
|
-
*/
|
|
3526
|
-
count?: number;
|
|
3527
|
-
/**
|
|
3528
|
-
* @minimum 0
|
|
3529
|
-
*/
|
|
3530
|
-
offset?: number;
|
|
3531
|
-
sort_by?: ListClaimsSortBy;
|
|
3532
|
-
sort_order?: ListClaimsSortOrder;
|
|
3533
|
-
};
|
|
3534
|
-
|
|
3535
3384
|
/**
|
|
3536
3385
|
* Generated by orval v8.1.0 🍺
|
|
3537
3386
|
* Do not edit manually.
|
|
@@ -4543,7 +4392,7 @@ type SendEmailBody = {
|
|
|
4543
4392
|
subject: string;
|
|
4544
4393
|
/** @minLength 1 */
|
|
4545
4394
|
body_text: string;
|
|
4546
|
-
/** @
|
|
4395
|
+
/** @deprecated */
|
|
4547
4396
|
claim_id?: string;
|
|
4548
4397
|
/** @maxItems 10 */
|
|
4549
4398
|
attachments?: SendEmailBodyAttachmentsItem[];
|
|
@@ -5633,9 +5482,9 @@ interface WorkerToolList {
|
|
|
5633
5482
|
|
|
5634
5483
|
type WorkerWebhookList = Webhook[];
|
|
5635
5484
|
|
|
5636
|
-
type AwaitedInput$
|
|
5637
|
-
type Awaited$
|
|
5638
|
-
type SecondParameter$
|
|
5485
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
5486
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
5487
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5639
5488
|
/**
|
|
5640
5489
|
* List all API keys for your tenant.
|
|
5641
5490
|
|
|
@@ -5647,16 +5496,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
5647
5496
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
5648
5497
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ApiKeyList>;
|
|
5649
5498
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
5650
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
5499
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$l<ReturnType<typeof listApiKeys>>>;
|
|
5651
5500
|
/**
|
|
5652
5501
|
* @summary List API keys
|
|
5653
5502
|
*/
|
|
5654
5503
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
5655
|
-
swr?: SWRConfiguration<Awaited$
|
|
5504
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listApiKeys>>, TError> & {
|
|
5656
5505
|
swrKey?: Key;
|
|
5657
5506
|
enabled?: boolean;
|
|
5658
5507
|
};
|
|
5659
|
-
request?: SecondParameter$
|
|
5508
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5660
5509
|
}) => {
|
|
5661
5510
|
data: ApiKeyList | undefined;
|
|
5662
5511
|
error: TError | undefined;
|
|
@@ -5675,19 +5524,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
5675
5524
|
*/
|
|
5676
5525
|
declare const getCreateApiKeyUrl: () => string;
|
|
5677
5526
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
5678
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
5527
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
5679
5528
|
arg: CreateApiKeyBody;
|
|
5680
5529
|
}) => Promise<ApiKeyCreated>;
|
|
5681
5530
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
5682
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
5531
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$l<ReturnType<typeof createApiKey>>>;
|
|
5683
5532
|
/**
|
|
5684
5533
|
* @summary Create an API key
|
|
5685
5534
|
*/
|
|
5686
5535
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
5687
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5536
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$l<ReturnType<typeof createApiKey>>> & {
|
|
5688
5537
|
swrKey?: string;
|
|
5689
5538
|
};
|
|
5690
|
-
request?: SecondParameter$
|
|
5539
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5691
5540
|
}) => {
|
|
5692
5541
|
isMutating: boolean;
|
|
5693
5542
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -5706,19 +5555,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
5706
5555
|
*/
|
|
5707
5556
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
5708
5557
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
5709
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
5558
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, __: {
|
|
5710
5559
|
arg: Arguments;
|
|
5711
5560
|
}) => Promise<ConfirmationResponse>;
|
|
5712
5561
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
5713
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
5562
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$l<ReturnType<typeof revokeApiKey>>>;
|
|
5714
5563
|
/**
|
|
5715
5564
|
* @summary Revoke an API key
|
|
5716
5565
|
*/
|
|
5717
5566
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
5718
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5567
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$l<ReturnType<typeof revokeApiKey>>> & {
|
|
5719
5568
|
swrKey?: string;
|
|
5720
5569
|
};
|
|
5721
|
-
request?: SecondParameter$
|
|
5570
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5722
5571
|
}) => {
|
|
5723
5572
|
isMutating: boolean;
|
|
5724
5573
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -5735,19 +5584,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
5735
5584
|
*/
|
|
5736
5585
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
5737
5586
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<ApiKey>;
|
|
5738
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
5587
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
5739
5588
|
arg: UpdateApiKeyBody;
|
|
5740
5589
|
}) => Promise<ApiKey>;
|
|
5741
5590
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
5742
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
5591
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$l<ReturnType<typeof updateApiKey>>>;
|
|
5743
5592
|
/**
|
|
5744
5593
|
* @summary Update API key
|
|
5745
5594
|
*/
|
|
5746
5595
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
5747
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5596
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$l<ReturnType<typeof updateApiKey>>> & {
|
|
5748
5597
|
swrKey?: string;
|
|
5749
5598
|
};
|
|
5750
|
-
request?: SecondParameter$
|
|
5599
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
5751
5600
|
}) => {
|
|
5752
5601
|
isMutating: boolean;
|
|
5753
5602
|
trigger: swr_mutation.TriggerWithArgs<ApiKey, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -5757,9 +5606,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
5757
5606
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
5758
5607
|
};
|
|
5759
5608
|
|
|
5760
|
-
type AwaitedInput$
|
|
5761
|
-
type Awaited$
|
|
5762
|
-
type SecondParameter$
|
|
5609
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
5610
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
5611
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5763
5612
|
/**
|
|
5764
5613
|
* Upload a document as a base64-encoded artifact for processing.
|
|
5765
5614
|
|
|
@@ -5775,19 +5624,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
5775
5624
|
*/
|
|
5776
5625
|
declare const getCreateArtifactUrl: () => string;
|
|
5777
5626
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
5778
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
5627
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
5779
5628
|
arg: CreateArtifactBody;
|
|
5780
5629
|
}) => Promise<ArtifactCreated>;
|
|
5781
5630
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
5782
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
5631
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$k<ReturnType<typeof createArtifact>>>;
|
|
5783
5632
|
/**
|
|
5784
5633
|
* @summary Create artifact
|
|
5785
5634
|
*/
|
|
5786
5635
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
5787
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5636
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$k<ReturnType<typeof createArtifact>>> & {
|
|
5788
5637
|
swrKey?: string;
|
|
5789
5638
|
};
|
|
5790
|
-
request?: SecondParameter$
|
|
5639
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5791
5640
|
}) => {
|
|
5792
5641
|
isMutating: boolean;
|
|
5793
5642
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -5811,16 +5660,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
5811
5660
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
5812
5661
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ArtifactList>;
|
|
5813
5662
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
5814
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
5663
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$k<ReturnType<typeof listArtifacts>>>;
|
|
5815
5664
|
/**
|
|
5816
5665
|
* @summary List artifacts
|
|
5817
5666
|
*/
|
|
5818
5667
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
5819
|
-
swr?: SWRConfiguration<Awaited$
|
|
5668
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listArtifacts>>, TError> & {
|
|
5820
5669
|
swrKey?: Key;
|
|
5821
5670
|
enabled?: boolean;
|
|
5822
5671
|
};
|
|
5823
|
-
request?: SecondParameter$
|
|
5672
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5824
5673
|
}) => {
|
|
5825
5674
|
data: ArtifactList | undefined;
|
|
5826
5675
|
error: TError | undefined;
|
|
@@ -5836,16 +5685,16 @@ declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: Lis
|
|
|
5836
5685
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
5837
5686
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
5838
5687
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
5839
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
5688
|
+
type GetArtifactQueryResult = NonNullable<Awaited$k<ReturnType<typeof getArtifact>>>;
|
|
5840
5689
|
/**
|
|
5841
5690
|
* @summary Get artifact
|
|
5842
5691
|
*/
|
|
5843
5692
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
5844
|
-
swr?: SWRConfiguration<Awaited$
|
|
5693
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getArtifact>>, TError> & {
|
|
5845
5694
|
swrKey?: Key;
|
|
5846
5695
|
enabled?: boolean;
|
|
5847
5696
|
};
|
|
5848
|
-
request?: SecondParameter$
|
|
5697
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5849
5698
|
}) => {
|
|
5850
5699
|
data: ArtifactDetail | undefined;
|
|
5851
5700
|
error: TError | undefined;
|
|
@@ -5861,16 +5710,16 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
5861
5710
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
5862
5711
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<ArtifactMetadataKeys>;
|
|
5863
5712
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
5864
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
5713
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$k<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
5865
5714
|
/**
|
|
5866
5715
|
* @summary Get artifact metadata keys
|
|
5867
5716
|
*/
|
|
5868
5717
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
5869
|
-
swr?: SWRConfiguration<Awaited$
|
|
5718
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
5870
5719
|
swrKey?: Key;
|
|
5871
5720
|
enabled?: boolean;
|
|
5872
5721
|
};
|
|
5873
|
-
request?: SecondParameter$
|
|
5722
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5874
5723
|
}) => {
|
|
5875
5724
|
data: ArtifactMetadataKeys | undefined;
|
|
5876
5725
|
error: TError | undefined;
|
|
@@ -5885,19 +5734,19 @@ declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
5885
5734
|
*/
|
|
5886
5735
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
5887
5736
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
5888
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
5737
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
5889
5738
|
arg: GetArtifactUploadUrlBody;
|
|
5890
5739
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
5891
5740
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
5892
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
5741
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$k<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
5893
5742
|
/**
|
|
5894
5743
|
* @summary Request a pre-signed URL for direct large file upload
|
|
5895
5744
|
*/
|
|
5896
5745
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
5897
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5746
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$k<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
5898
5747
|
swrKey?: string;
|
|
5899
5748
|
};
|
|
5900
|
-
request?: SecondParameter$
|
|
5749
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5901
5750
|
}) => {
|
|
5902
5751
|
isMutating: boolean;
|
|
5903
5752
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -5912,19 +5761,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
5912
5761
|
*/
|
|
5913
5762
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
5914
5763
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
5915
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
5764
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
5916
5765
|
arg: UpdateArtifactMetadataBody;
|
|
5917
5766
|
}) => Promise<ArtifactDetail>;
|
|
5918
5767
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
5919
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
5768
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$k<ReturnType<typeof updateArtifactMetadata>>>;
|
|
5920
5769
|
/**
|
|
5921
5770
|
* @summary Update artifact metadata
|
|
5922
5771
|
*/
|
|
5923
5772
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
5924
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5773
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$k<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
5925
5774
|
swrKey?: string;
|
|
5926
5775
|
};
|
|
5927
|
-
request?: SecondParameter$
|
|
5776
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5928
5777
|
}) => {
|
|
5929
5778
|
isMutating: boolean;
|
|
5930
5779
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -5941,19 +5790,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
5941
5790
|
*/
|
|
5942
5791
|
declare const getUploadFileUrl: () => string;
|
|
5943
5792
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
5944
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
5793
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
5945
5794
|
arg: UploadFileBody;
|
|
5946
5795
|
}) => Promise<UploadFileResponse>;
|
|
5947
5796
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
5948
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
5797
|
+
type UploadFileMutationResult = NonNullable<Awaited$k<ReturnType<typeof uploadFile>>>;
|
|
5949
5798
|
/**
|
|
5950
5799
|
* @summary Upload a file for processing
|
|
5951
5800
|
*/
|
|
5952
5801
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
5953
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5802
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$k<ReturnType<typeof uploadFile>>> & {
|
|
5954
5803
|
swrKey?: string;
|
|
5955
5804
|
};
|
|
5956
|
-
request?: SecondParameter$
|
|
5805
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
5957
5806
|
}) => {
|
|
5958
5807
|
isMutating: boolean;
|
|
5959
5808
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -5963,28 +5812,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
5963
5812
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
5964
5813
|
};
|
|
5965
5814
|
|
|
5966
|
-
type AwaitedInput$
|
|
5967
|
-
type Awaited$
|
|
5968
|
-
type SecondParameter$
|
|
5815
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
5816
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
5817
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5969
5818
|
/**
|
|
5970
5819
|
* Create a new user account with email and password.
|
|
5971
5820
|
* @summary Sign up
|
|
5972
5821
|
*/
|
|
5973
5822
|
declare const getSignUpUrl: () => string;
|
|
5974
5823
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<EmptyResponse>;
|
|
5975
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
5824
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$j<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
5976
5825
|
arg: SignUpBody;
|
|
5977
5826
|
}) => Promise<EmptyResponse>;
|
|
5978
5827
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
5979
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
5828
|
+
type SignUpMutationResult = NonNullable<Awaited$j<ReturnType<typeof signUp>>>;
|
|
5980
5829
|
/**
|
|
5981
5830
|
* @summary Sign up
|
|
5982
5831
|
*/
|
|
5983
5832
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
5984
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5833
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$j<ReturnType<typeof signUp>>> & {
|
|
5985
5834
|
swrKey?: string;
|
|
5986
5835
|
};
|
|
5987
|
-
request?: SecondParameter$
|
|
5836
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
5988
5837
|
}) => {
|
|
5989
5838
|
isMutating: boolean;
|
|
5990
5839
|
trigger: swr_mutation.TriggerWithArgs<EmptyResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -6003,19 +5852,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6003
5852
|
*/
|
|
6004
5853
|
declare const getSignInUrl: () => string;
|
|
6005
5854
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6006
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
5855
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$j<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6007
5856
|
arg: SignInBody;
|
|
6008
5857
|
}) => Promise<AuthTokens>;
|
|
6009
5858
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
6010
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
5859
|
+
type SignInMutationResult = NonNullable<Awaited$j<ReturnType<typeof signIn>>>;
|
|
6011
5860
|
/**
|
|
6012
5861
|
* @summary Sign in
|
|
6013
5862
|
*/
|
|
6014
5863
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6015
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5864
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$j<ReturnType<typeof signIn>>> & {
|
|
6016
5865
|
swrKey?: string;
|
|
6017
5866
|
};
|
|
6018
|
-
request?: SecondParameter$
|
|
5867
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6019
5868
|
}) => {
|
|
6020
5869
|
isMutating: boolean;
|
|
6021
5870
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -6030,19 +5879,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6030
5879
|
*/
|
|
6031
5880
|
declare const getRefreshTokenUrl: () => string;
|
|
6032
5881
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6033
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
5882
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$j<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6034
5883
|
arg: RefreshTokenBody;
|
|
6035
5884
|
}) => Promise<AuthTokens>;
|
|
6036
5885
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
6037
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
5886
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$j<ReturnType<typeof refreshToken>>>;
|
|
6038
5887
|
/**
|
|
6039
5888
|
* @summary Refresh authentication token
|
|
6040
5889
|
*/
|
|
6041
5890
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6042
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5891
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$j<ReturnType<typeof refreshToken>>> & {
|
|
6043
5892
|
swrKey?: string;
|
|
6044
5893
|
};
|
|
6045
|
-
request?: SecondParameter$
|
|
5894
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6046
5895
|
}) => {
|
|
6047
5896
|
isMutating: boolean;
|
|
6048
5897
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -6058,16 +5907,16 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6058
5907
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
6059
5908
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
|
|
6060
5909
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
6061
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
5910
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$j<ReturnType<typeof getOAuthUrl>>>;
|
|
6062
5911
|
/**
|
|
6063
5912
|
* @summary Get OAuth sign-in URL
|
|
6064
5913
|
*/
|
|
6065
5914
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
6066
|
-
swr?: SWRConfiguration<Awaited$
|
|
5915
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
6067
5916
|
swrKey?: Key;
|
|
6068
5917
|
enabled?: boolean;
|
|
6069
5918
|
};
|
|
6070
|
-
request?: SecondParameter$
|
|
5919
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6071
5920
|
}) => {
|
|
6072
5921
|
data: OAuthUrl | undefined;
|
|
6073
5922
|
error: TError | undefined;
|
|
@@ -6077,8 +5926,9 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
6077
5926
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6078
5927
|
};
|
|
6079
5928
|
/**
|
|
6080
|
-
* Exchange
|
|
5929
|
+
* Exchange an identity token (Supabase or WorkOS) for a tenant-scoped Core Plane access token.
|
|
6081
5930
|
|
|
5931
|
+
- The endpoint detects the token's issuer and verifies it against the matching provider.
|
|
6082
5932
|
- If `tenant_id` is provided, validates the user is a member of that tenant.
|
|
6083
5933
|
- If `tenant_id` is omitted, selects the user's default (oldest) tenant.
|
|
6084
5934
|
- Call this endpoint again with a different `tenant_id` to switch tenants.
|
|
@@ -6086,19 +5936,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
6086
5936
|
*/
|
|
6087
5937
|
declare const getGetSessionTokenUrl: () => string;
|
|
6088
5938
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
6089
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
5939
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$j<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6090
5940
|
arg: GetSessionTokenBody;
|
|
6091
5941
|
}) => Promise<GetSessionToken200>;
|
|
6092
5942
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
6093
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
5943
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$j<ReturnType<typeof getSessionToken>>>;
|
|
6094
5944
|
/**
|
|
6095
5945
|
* @summary Create or switch tenant session
|
|
6096
5946
|
*/
|
|
6097
5947
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6098
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5948
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$j<ReturnType<typeof getSessionToken>>> & {
|
|
6099
5949
|
swrKey?: string;
|
|
6100
5950
|
};
|
|
6101
|
-
request?: SecondParameter$
|
|
5951
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6102
5952
|
}) => {
|
|
6103
5953
|
isMutating: boolean;
|
|
6104
5954
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -6113,19 +5963,19 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
6113
5963
|
*/
|
|
6114
5964
|
declare const getExperimentalSignUpUrl: () => string;
|
|
6115
5965
|
declare const experimentalSignUp: (experimentalSignUpBody: ExperimentalSignUpBody, options?: RequestInit) => Promise<ExperimentalSignUpResponse>;
|
|
6116
|
-
declare const getExperimentalSignUpMutationFetcher: (options?: SecondParameter$
|
|
5966
|
+
declare const getExperimentalSignUpMutationFetcher: (options?: SecondParameter$j<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6117
5967
|
arg: ExperimentalSignUpBody;
|
|
6118
5968
|
}) => Promise<ExperimentalSignUpResponse>;
|
|
6119
5969
|
declare const getExperimentalSignUpMutationKey: () => readonly ["/experimental/auth/sign-up"];
|
|
6120
|
-
type ExperimentalSignUpMutationResult = NonNullable<Awaited$
|
|
5970
|
+
type ExperimentalSignUpMutationResult = NonNullable<Awaited$j<ReturnType<typeof experimentalSignUp>>>;
|
|
6121
5971
|
/**
|
|
6122
5972
|
* @summary Sign up (experimental)
|
|
6123
5973
|
*/
|
|
6124
5974
|
declare const useExperimentalSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6125
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
5975
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof experimentalSignUp>>, TError, Key, ExperimentalSignUpBody, Awaited$j<ReturnType<typeof experimentalSignUp>>> & {
|
|
6126
5976
|
swrKey?: string;
|
|
6127
5977
|
};
|
|
6128
|
-
request?: SecondParameter$
|
|
5978
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6129
5979
|
}) => {
|
|
6130
5980
|
isMutating: boolean;
|
|
6131
5981
|
trigger: swr_mutation.TriggerWithArgs<ExperimentalSignUpResponse, TError, string | readonly ["/experimental/auth/sign-up"], ExperimentalSignUpBody>;
|
|
@@ -6144,19 +5994,19 @@ declare const useExperimentalSignUp: <TError = ErrorType<ErrorResponse>>(options
|
|
|
6144
5994
|
*/
|
|
6145
5995
|
declare const getExperimentalSignInUrl: () => string;
|
|
6146
5996
|
declare const experimentalSignIn: (experimentalSignInBody: ExperimentalSignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6147
|
-
declare const getExperimentalSignInMutationFetcher: (options?: SecondParameter$
|
|
5997
|
+
declare const getExperimentalSignInMutationFetcher: (options?: SecondParameter$j<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6148
5998
|
arg: ExperimentalSignInBody;
|
|
6149
5999
|
}) => Promise<AuthTokens>;
|
|
6150
6000
|
declare const getExperimentalSignInMutationKey: () => readonly ["/experimental/auth/sign-in"];
|
|
6151
|
-
type ExperimentalSignInMutationResult = NonNullable<Awaited$
|
|
6001
|
+
type ExperimentalSignInMutationResult = NonNullable<Awaited$j<ReturnType<typeof experimentalSignIn>>>;
|
|
6152
6002
|
/**
|
|
6153
6003
|
* @summary Sign in (experimental)
|
|
6154
6004
|
*/
|
|
6155
6005
|
declare const useExperimentalSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6156
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6006
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof experimentalSignIn>>, TError, Key, ExperimentalSignInBody, Awaited$j<ReturnType<typeof experimentalSignIn>>> & {
|
|
6157
6007
|
swrKey?: string;
|
|
6158
6008
|
};
|
|
6159
|
-
request?: SecondParameter$
|
|
6009
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6160
6010
|
}) => {
|
|
6161
6011
|
isMutating: boolean;
|
|
6162
6012
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/experimental/auth/sign-in"], ExperimentalSignInBody>;
|
|
@@ -6172,16 +6022,16 @@ declare const useExperimentalSignIn: <TError = ErrorType<ErrorResponse>>(options
|
|
|
6172
6022
|
declare const getExperimentalGetOAuthUrlUrl: (params: ExperimentalGetOAuthUrlParams) => string;
|
|
6173
6023
|
declare const experimentalGetOAuthUrl: (params: ExperimentalGetOAuthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
|
|
6174
6024
|
declare const getExperimentalGetOAuthUrlKey: (params: ExperimentalGetOAuthUrlParams) => readonly ["/experimental/auth/oauth-url", ...ExperimentalGetOAuthUrlParams[]];
|
|
6175
|
-
type ExperimentalGetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
6025
|
+
type ExperimentalGetOAuthUrlQueryResult = NonNullable<Awaited$j<ReturnType<typeof experimentalGetOAuthUrl>>>;
|
|
6176
6026
|
/**
|
|
6177
6027
|
* @summary Get OAuth sign-in URL (experimental)
|
|
6178
6028
|
*/
|
|
6179
6029
|
declare const useExperimentalGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: ExperimentalGetOAuthUrlParams, options?: {
|
|
6180
|
-
swr?: SWRConfiguration<Awaited$
|
|
6030
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof experimentalGetOAuthUrl>>, TError> & {
|
|
6181
6031
|
swrKey?: Key;
|
|
6182
6032
|
enabled?: boolean;
|
|
6183
6033
|
};
|
|
6184
|
-
request?: SecondParameter$
|
|
6034
|
+
request?: SecondParameter$j<typeof customFetchNoAuth>;
|
|
6185
6035
|
}) => {
|
|
6186
6036
|
data: OAuthUrl | undefined;
|
|
6187
6037
|
error: TError | undefined;
|
|
@@ -6191,28 +6041,28 @@ declare const useExperimentalGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(pa
|
|
|
6191
6041
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6192
6042
|
};
|
|
6193
6043
|
|
|
6194
|
-
type AwaitedInput$
|
|
6195
|
-
type Awaited$
|
|
6196
|
-
type SecondParameter$
|
|
6044
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
6045
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
6046
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6197
6047
|
/**
|
|
6198
6048
|
* Create feedback for a specific message in a call. Requires user (JWT) authentication; the author is derived from the authenticated user's profile and API-key callers are rejected.
|
|
6199
6049
|
* @summary Create feedback on a call message
|
|
6200
6050
|
*/
|
|
6201
6051
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
6202
6052
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
6203
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
6053
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
6204
6054
|
arg: CreateFeedbackRequest;
|
|
6205
6055
|
}) => Promise<Feedback>;
|
|
6206
6056
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
6207
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
6057
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$i<ReturnType<typeof createCallFeedback>>>;
|
|
6208
6058
|
/**
|
|
6209
6059
|
* @summary Create feedback on a call message
|
|
6210
6060
|
*/
|
|
6211
6061
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6212
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6062
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$i<ReturnType<typeof createCallFeedback>>> & {
|
|
6213
6063
|
swrKey?: string;
|
|
6214
6064
|
};
|
|
6215
|
-
request?: SecondParameter$
|
|
6065
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
6216
6066
|
}) => {
|
|
6217
6067
|
isMutating: boolean;
|
|
6218
6068
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -6228,16 +6078,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
6228
6078
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
6229
6079
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<Feedback[]>;
|
|
6230
6080
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
6231
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
6081
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$i<ReturnType<typeof listCallFeedback>>>;
|
|
6232
6082
|
/**
|
|
6233
6083
|
* @summary List feedback for a call
|
|
6234
6084
|
*/
|
|
6235
6085
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
6236
|
-
swr?: SWRConfiguration<Awaited$
|
|
6086
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
6237
6087
|
swrKey?: Key;
|
|
6238
6088
|
enabled?: boolean;
|
|
6239
6089
|
};
|
|
6240
|
-
request?: SecondParameter$
|
|
6090
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
6241
6091
|
}) => {
|
|
6242
6092
|
data: Feedback[] | undefined;
|
|
6243
6093
|
error: TError | undefined;
|
|
@@ -6252,19 +6102,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
6252
6102
|
*/
|
|
6253
6103
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
6254
6104
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
6255
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
6105
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, __: {
|
|
6256
6106
|
arg: Arguments;
|
|
6257
6107
|
}) => Promise<null>;
|
|
6258
6108
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
6259
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
6109
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$i<ReturnType<typeof deleteCallFeedback>>>;
|
|
6260
6110
|
/**
|
|
6261
6111
|
* @summary Delete feedback
|
|
6262
6112
|
*/
|
|
6263
6113
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
6264
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6114
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$i<ReturnType<typeof deleteCallFeedback>>> & {
|
|
6265
6115
|
swrKey?: string;
|
|
6266
6116
|
};
|
|
6267
|
-
request?: SecondParameter$
|
|
6117
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
6268
6118
|
}) => {
|
|
6269
6119
|
isMutating: boolean;
|
|
6270
6120
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -6274,9 +6124,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
6274
6124
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
6275
6125
|
};
|
|
6276
6126
|
|
|
6277
|
-
type AwaitedInput$
|
|
6278
|
-
type Awaited$
|
|
6279
|
-
type SecondParameter$
|
|
6127
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
6128
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
6129
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6280
6130
|
/**
|
|
6281
6131
|
* List all calls, with pagination, filtering, and sorting.
|
|
6282
6132
|
|
|
@@ -6296,16 +6146,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
6296
6146
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
6297
6147
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<CallList>;
|
|
6298
6148
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
6299
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
6149
|
+
type ListCallsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listCalls>>>;
|
|
6300
6150
|
/**
|
|
6301
6151
|
* @summary List calls
|
|
6302
6152
|
*/
|
|
6303
6153
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
6304
|
-
swr?: SWRConfiguration<Awaited$
|
|
6154
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listCalls>>, TError> & {
|
|
6305
6155
|
swrKey?: Key;
|
|
6306
6156
|
enabled?: boolean;
|
|
6307
6157
|
};
|
|
6308
|
-
request?: SecondParameter$
|
|
6158
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
6309
6159
|
}) => {
|
|
6310
6160
|
data: CallList | undefined;
|
|
6311
6161
|
error: TError | undefined;
|
|
@@ -6323,16 +6173,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
6323
6173
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
6324
6174
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<CallDetail>;
|
|
6325
6175
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
6326
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
6176
|
+
type GetCallQueryResult = NonNullable<Awaited$h<ReturnType<typeof getCall>>>;
|
|
6327
6177
|
/**
|
|
6328
6178
|
* @summary Get call
|
|
6329
6179
|
*/
|
|
6330
6180
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
6331
|
-
swr?: SWRConfiguration<Awaited$
|
|
6181
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getCall>>, TError> & {
|
|
6332
6182
|
swrKey?: Key;
|
|
6333
6183
|
enabled?: boolean;
|
|
6334
6184
|
};
|
|
6335
|
-
request?: SecondParameter$
|
|
6185
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
6336
6186
|
}) => {
|
|
6337
6187
|
data: CallDetail | undefined;
|
|
6338
6188
|
error: TError | undefined;
|
|
@@ -6348,16 +6198,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
6348
6198
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
6349
6199
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<CallEvaluation>;
|
|
6350
6200
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
6351
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
6201
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$h<ReturnType<typeof getCallEvaluation>>>;
|
|
6352
6202
|
/**
|
|
6353
6203
|
* @summary Get call evaluation
|
|
6354
6204
|
*/
|
|
6355
6205
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6356
|
-
swr?: SWRConfiguration<Awaited$
|
|
6206
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
6357
6207
|
swrKey?: Key;
|
|
6358
6208
|
enabled?: boolean;
|
|
6359
6209
|
};
|
|
6360
|
-
request?: SecondParameter$
|
|
6210
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
6361
6211
|
}) => {
|
|
6362
6212
|
data: CallEvaluation | undefined;
|
|
6363
6213
|
error: TError | undefined;
|
|
@@ -6375,16 +6225,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
6375
6225
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
6376
6226
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<CallAnalytics>;
|
|
6377
6227
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
6378
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
6228
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$h<ReturnType<typeof getCallAnalytics>>>;
|
|
6379
6229
|
/**
|
|
6380
6230
|
* @summary Get call analytics
|
|
6381
6231
|
*/
|
|
6382
6232
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
6383
|
-
swr?: SWRConfiguration<Awaited$
|
|
6233
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
6384
6234
|
swrKey?: Key;
|
|
6385
6235
|
enabled?: boolean;
|
|
6386
6236
|
};
|
|
6387
|
-
request?: SecondParameter$
|
|
6237
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
6388
6238
|
}) => {
|
|
6389
6239
|
data: CallAnalytics | undefined;
|
|
6390
6240
|
error: TError | undefined;
|
|
@@ -6394,9 +6244,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
6394
6244
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6395
6245
|
};
|
|
6396
6246
|
|
|
6397
|
-
type AwaitedInput$
|
|
6398
|
-
type Awaited$
|
|
6399
|
-
type SecondParameter$
|
|
6247
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
6248
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
6249
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6400
6250
|
/**
|
|
6401
6251
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
6402
6252
|
* @summary List cases
|
|
@@ -6404,16 +6254,16 @@ type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
6404
6254
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
6405
6255
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<CaseList>;
|
|
6406
6256
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
6407
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
6257
|
+
type ListCasesQueryResult = NonNullable<Awaited$g<ReturnType<typeof listCases>>>;
|
|
6408
6258
|
/**
|
|
6409
6259
|
* @summary List cases
|
|
6410
6260
|
*/
|
|
6411
6261
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
6412
|
-
swr?: SWRConfiguration<Awaited$
|
|
6262
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listCases>>, TError> & {
|
|
6413
6263
|
swrKey?: Key;
|
|
6414
6264
|
enabled?: boolean;
|
|
6415
6265
|
};
|
|
6416
|
-
request?: SecondParameter$
|
|
6266
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
6417
6267
|
}) => {
|
|
6418
6268
|
data: CaseList | undefined;
|
|
6419
6269
|
error: TError | undefined;
|
|
@@ -6432,16 +6282,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
6432
6282
|
declare const getGetCaseUrl: (id: string) => string;
|
|
6433
6283
|
declare const getCase: (id: string, options?: RequestInit) => Promise<CaseDetail>;
|
|
6434
6284
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
6435
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
6285
|
+
type GetCaseQueryResult = NonNullable<Awaited$g<ReturnType<typeof getCase>>>;
|
|
6436
6286
|
/**
|
|
6437
6287
|
* @summary Get case
|
|
6438
6288
|
*/
|
|
6439
6289
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6440
|
-
swr?: SWRConfiguration<Awaited$
|
|
6290
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getCase>>, TError> & {
|
|
6441
6291
|
swrKey?: Key;
|
|
6442
6292
|
enabled?: boolean;
|
|
6443
6293
|
};
|
|
6444
|
-
request?: SecondParameter$
|
|
6294
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
6445
6295
|
}) => {
|
|
6446
6296
|
data: CaseDetail | undefined;
|
|
6447
6297
|
error: TError | undefined;
|
|
@@ -6451,28 +6301,28 @@ declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
6451
6301
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6452
6302
|
};
|
|
6453
6303
|
|
|
6454
|
-
type AwaitedInput$
|
|
6455
|
-
type Awaited$
|
|
6456
|
-
type SecondParameter$
|
|
6304
|
+
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
6305
|
+
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
6306
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6457
6307
|
/**
|
|
6458
6308
|
* Create a new chat agent with a name and prompt.
|
|
6459
6309
|
* @summary Create chat agent
|
|
6460
6310
|
*/
|
|
6461
6311
|
declare const getCreateChatAgentUrl: () => string;
|
|
6462
6312
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<ChatAgentCreated>;
|
|
6463
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
6313
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
6464
6314
|
arg: CreateChatAgentBody;
|
|
6465
6315
|
}) => Promise<ChatAgentCreated>;
|
|
6466
6316
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
6467
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
6317
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$f<ReturnType<typeof createChatAgent>>>;
|
|
6468
6318
|
/**
|
|
6469
6319
|
* @summary Create chat agent
|
|
6470
6320
|
*/
|
|
6471
6321
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6472
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6322
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$f<ReturnType<typeof createChatAgent>>> & {
|
|
6473
6323
|
swrKey?: string;
|
|
6474
6324
|
};
|
|
6475
|
-
request?: SecondParameter$
|
|
6325
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
6476
6326
|
}) => {
|
|
6477
6327
|
isMutating: boolean;
|
|
6478
6328
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentCreated, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -6488,16 +6338,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
6488
6338
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
6489
6339
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ChatAgentList>;
|
|
6490
6340
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
6491
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
6341
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listChatAgents>>>;
|
|
6492
6342
|
/**
|
|
6493
6343
|
* @summary List chat agents
|
|
6494
6344
|
*/
|
|
6495
6345
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
6496
|
-
swr?: SWRConfiguration<Awaited$
|
|
6346
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listChatAgents>>, TError> & {
|
|
6497
6347
|
swrKey?: Key;
|
|
6498
6348
|
enabled?: boolean;
|
|
6499
6349
|
};
|
|
6500
|
-
request?: SecondParameter$
|
|
6350
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
6501
6351
|
}) => {
|
|
6502
6352
|
data: ChatAgentList | undefined;
|
|
6503
6353
|
error: TError | undefined;
|
|
@@ -6513,16 +6363,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
6513
6363
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
6514
6364
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentDetail>;
|
|
6515
6365
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
6516
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
6366
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$f<ReturnType<typeof getChatAgent>>>;
|
|
6517
6367
|
/**
|
|
6518
6368
|
* @summary Get chat agent
|
|
6519
6369
|
*/
|
|
6520
6370
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
6521
|
-
swr?: SWRConfiguration<Awaited$
|
|
6371
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getChatAgent>>, TError> & {
|
|
6522
6372
|
swrKey?: Key;
|
|
6523
6373
|
enabled?: boolean;
|
|
6524
6374
|
};
|
|
6525
|
-
request?: SecondParameter$
|
|
6375
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
6526
6376
|
}) => {
|
|
6527
6377
|
data: ChatAgentDetail | undefined;
|
|
6528
6378
|
error: TError | undefined;
|
|
@@ -6537,19 +6387,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
6537
6387
|
*/
|
|
6538
6388
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
6539
6389
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<ChatAgent>;
|
|
6540
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
6390
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
6541
6391
|
arg: UpdateChatAgentRequest;
|
|
6542
6392
|
}) => Promise<ChatAgent>;
|
|
6543
6393
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
6544
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
6394
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$f<ReturnType<typeof updateChatAgent>>>;
|
|
6545
6395
|
/**
|
|
6546
6396
|
* @summary Update chat agent
|
|
6547
6397
|
*/
|
|
6548
6398
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
6549
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6399
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$f<ReturnType<typeof updateChatAgent>>> & {
|
|
6550
6400
|
swrKey?: string;
|
|
6551
6401
|
};
|
|
6552
|
-
request?: SecondParameter$
|
|
6402
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
6553
6403
|
}) => {
|
|
6554
6404
|
isMutating: boolean;
|
|
6555
6405
|
trigger: swr_mutation.TriggerWithArgs<ChatAgent, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -6565,16 +6415,16 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
6565
6415
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
6566
6416
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentPrompt>;
|
|
6567
6417
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
6568
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
6418
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$f<ReturnType<typeof getChatAgentPrompt>>>;
|
|
6569
6419
|
/**
|
|
6570
6420
|
* @summary Get chat agent prompt
|
|
6571
6421
|
*/
|
|
6572
6422
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
6573
|
-
swr?: SWRConfiguration<Awaited$
|
|
6423
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
6574
6424
|
swrKey?: Key;
|
|
6575
6425
|
enabled?: boolean;
|
|
6576
6426
|
};
|
|
6577
|
-
request?: SecondParameter$
|
|
6427
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
6578
6428
|
}) => {
|
|
6579
6429
|
data: ChatAgentPrompt | undefined;
|
|
6580
6430
|
error: TError | undefined;
|
|
@@ -6589,19 +6439,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
6589
6439
|
*/
|
|
6590
6440
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
6591
6441
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<ChatAgentPromptUpdated>;
|
|
6592
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
6442
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
6593
6443
|
arg: UpdateChatAgentPromptBody;
|
|
6594
6444
|
}) => Promise<ChatAgentPromptUpdated>;
|
|
6595
6445
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
6596
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
6446
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$f<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
6597
6447
|
/**
|
|
6598
6448
|
* @summary Update chat agent prompt
|
|
6599
6449
|
*/
|
|
6600
6450
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
6601
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6451
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$f<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
6602
6452
|
swrKey?: string;
|
|
6603
6453
|
};
|
|
6604
|
-
request?: SecondParameter$
|
|
6454
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
6605
6455
|
}) => {
|
|
6606
6456
|
isMutating: boolean;
|
|
6607
6457
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentPromptUpdated, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -6611,28 +6461,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
6611
6461
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
6612
6462
|
};
|
|
6613
6463
|
|
|
6614
|
-
type AwaitedInput$
|
|
6615
|
-
type Awaited$
|
|
6616
|
-
type SecondParameter$
|
|
6464
|
+
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
6465
|
+
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
6466
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6617
6467
|
/**
|
|
6618
6468
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
6619
6469
|
* @summary Create a chat
|
|
6620
6470
|
*/
|
|
6621
6471
|
declare const getCreateChatUrl: () => string;
|
|
6622
6472
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<ChatCreated>;
|
|
6623
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
6473
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
6624
6474
|
arg: CreateChatBody;
|
|
6625
6475
|
}) => Promise<ChatCreated>;
|
|
6626
6476
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
6627
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
6477
|
+
type CreateChatMutationResult = NonNullable<Awaited$e<ReturnType<typeof createChat>>>;
|
|
6628
6478
|
/**
|
|
6629
6479
|
* @summary Create a chat
|
|
6630
6480
|
*/
|
|
6631
6481
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6632
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6482
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$e<ReturnType<typeof createChat>>> & {
|
|
6633
6483
|
swrKey?: string;
|
|
6634
6484
|
};
|
|
6635
|
-
request?: SecondParameter$
|
|
6485
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
6636
6486
|
}) => {
|
|
6637
6487
|
isMutating: boolean;
|
|
6638
6488
|
trigger: swr_mutation.TriggerWithArgs<ChatCreated, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -6648,16 +6498,16 @@ declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6648
6498
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
6649
6499
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<ChatHistory>;
|
|
6650
6500
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
6651
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
6501
|
+
type GetChatQueryResult = NonNullable<Awaited$e<ReturnType<typeof getChat>>>;
|
|
6652
6502
|
/**
|
|
6653
6503
|
* @summary Get a chat
|
|
6654
6504
|
*/
|
|
6655
6505
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
6656
|
-
swr?: SWRConfiguration<Awaited$
|
|
6506
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getChat>>, TError> & {
|
|
6657
6507
|
swrKey?: Key;
|
|
6658
6508
|
enabled?: boolean;
|
|
6659
6509
|
};
|
|
6660
|
-
request?: SecondParameter$
|
|
6510
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
6661
6511
|
}) => {
|
|
6662
6512
|
data: ChatHistory | undefined;
|
|
6663
6513
|
error: TError | undefined;
|
|
@@ -6673,16 +6523,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
6673
6523
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
6674
6524
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<PublicChatAgent>;
|
|
6675
6525
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
6676
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
6526
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$e<ReturnType<typeof getPublicChatAgent>>>;
|
|
6677
6527
|
/**
|
|
6678
6528
|
* @summary Get a chat agent (public)
|
|
6679
6529
|
*/
|
|
6680
6530
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
6681
|
-
swr?: SWRConfiguration<Awaited$
|
|
6531
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
6682
6532
|
swrKey?: Key;
|
|
6683
6533
|
enabled?: boolean;
|
|
6684
6534
|
};
|
|
6685
|
-
request?: SecondParameter$
|
|
6535
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
6686
6536
|
}) => {
|
|
6687
6537
|
data: PublicChatAgent | undefined;
|
|
6688
6538
|
error: TError | undefined;
|
|
@@ -6697,19 +6547,19 @@ declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
6697
6547
|
*/
|
|
6698
6548
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
6699
6549
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<ChatMessageCreated>;
|
|
6700
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
6550
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
6701
6551
|
arg: PostChatMessageBody;
|
|
6702
6552
|
}) => Promise<ChatMessageCreated>;
|
|
6703
6553
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
6704
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
6554
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$e<ReturnType<typeof postChatMessage>>>;
|
|
6705
6555
|
/**
|
|
6706
6556
|
* @summary Post a message to a chat
|
|
6707
6557
|
*/
|
|
6708
6558
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
6709
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6559
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$e<ReturnType<typeof postChatMessage>>> & {
|
|
6710
6560
|
swrKey?: string;
|
|
6711
6561
|
};
|
|
6712
|
-
request?: SecondParameter$
|
|
6562
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
6713
6563
|
}) => {
|
|
6714
6564
|
isMutating: boolean;
|
|
6715
6565
|
trigger: swr_mutation.TriggerWithArgs<ChatMessageCreated, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -6725,16 +6575,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
6725
6575
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
6726
6576
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ChatList>;
|
|
6727
6577
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
6728
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
6578
|
+
type ListChatsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listChats>>>;
|
|
6729
6579
|
/**
|
|
6730
6580
|
* @summary List chats
|
|
6731
6581
|
*/
|
|
6732
6582
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
6733
|
-
swr?: SWRConfiguration<Awaited$
|
|
6583
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listChats>>, TError> & {
|
|
6734
6584
|
swrKey?: Key;
|
|
6735
6585
|
enabled?: boolean;
|
|
6736
6586
|
};
|
|
6737
|
-
request?: SecondParameter$
|
|
6587
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
6738
6588
|
}) => {
|
|
6739
6589
|
data: ChatList | undefined;
|
|
6740
6590
|
error: TError | undefined;
|
|
@@ -6750,16 +6600,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
6750
6600
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
6751
6601
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ChatMessageList>;
|
|
6752
6602
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
6753
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
6603
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$e<ReturnType<typeof listChatMessages>>>;
|
|
6754
6604
|
/**
|
|
6755
6605
|
* @summary List chat messages
|
|
6756
6606
|
*/
|
|
6757
6607
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
6758
|
-
swr?: SWRConfiguration<Awaited$
|
|
6608
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listChatMessages>>, TError> & {
|
|
6759
6609
|
swrKey?: Key;
|
|
6760
6610
|
enabled?: boolean;
|
|
6761
6611
|
};
|
|
6762
|
-
request?: SecondParameter$
|
|
6612
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
6763
6613
|
}) => {
|
|
6764
6614
|
data: ChatMessageList | undefined;
|
|
6765
6615
|
error: TError | undefined;
|
|
@@ -6769,94 +6619,11 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
6769
6619
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6770
6620
|
};
|
|
6771
6621
|
|
|
6772
|
-
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
6773
|
-
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
6774
|
-
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6775
|
-
/**
|
|
6776
|
-
* Create a new empty claim. Returns the claim ID and the creation timestamp.
|
|
6777
|
-
* @summary Create claim
|
|
6778
|
-
*/
|
|
6779
|
-
declare const getCreateClaimUrl: () => string;
|
|
6780
|
-
declare const createClaim: (options?: RequestInit) => Promise<ClaimCreated>;
|
|
6781
|
-
declare const getCreateClaimMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, __: {
|
|
6782
|
-
arg: Arguments;
|
|
6783
|
-
}) => Promise<ClaimCreated>;
|
|
6784
|
-
declare const getCreateClaimMutationKey: () => readonly ["/v1/claims"];
|
|
6785
|
-
type CreateClaimMutationResult = NonNullable<Awaited$e<ReturnType<typeof createClaim>>>;
|
|
6786
|
-
/**
|
|
6787
|
-
* @summary Create claim
|
|
6788
|
-
*/
|
|
6789
|
-
declare const useCreateClaim: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6790
|
-
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof createClaim>>, TError, Key, Arguments, Awaited$e<ReturnType<typeof createClaim>>> & {
|
|
6791
|
-
swrKey?: string;
|
|
6792
|
-
};
|
|
6793
|
-
request?: SecondParameter$e<typeof customFetch>;
|
|
6794
|
-
}) => {
|
|
6795
|
-
isMutating: boolean;
|
|
6796
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<ClaimCreated, TError, string | readonly ["/v1/claims"], Arguments>;
|
|
6797
|
-
reset: () => void;
|
|
6798
|
-
data: ClaimCreated | undefined;
|
|
6799
|
-
error: TError | undefined;
|
|
6800
|
-
swrKey: string | readonly ["/v1/claims"];
|
|
6801
|
-
};
|
|
6802
|
-
/**
|
|
6803
|
-
* List all claims with pagination and sorting options.
|
|
6804
|
-
* @summary List claims
|
|
6805
|
-
*/
|
|
6806
|
-
declare const getListClaimsUrl: (params?: ListClaimsParams) => string;
|
|
6807
|
-
declare const listClaims: (params?: ListClaimsParams, options?: RequestInit) => Promise<ClaimList>;
|
|
6808
|
-
declare const getListClaimsKey: (params?: ListClaimsParams) => readonly ["/v1/claims", ...ListClaimsParams[]];
|
|
6809
|
-
type ListClaimsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listClaims>>>;
|
|
6810
|
-
/**
|
|
6811
|
-
* @summary List claims
|
|
6812
|
-
*/
|
|
6813
|
-
declare const useListClaims: <TError = ErrorType<ErrorResponse>>(params?: ListClaimsParams, options?: {
|
|
6814
|
-
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listClaims>>, TError> & {
|
|
6815
|
-
swrKey?: Key;
|
|
6816
|
-
enabled?: boolean;
|
|
6817
|
-
};
|
|
6818
|
-
request?: SecondParameter$e<typeof customFetch>;
|
|
6819
|
-
}) => {
|
|
6820
|
-
data: ClaimList | undefined;
|
|
6821
|
-
error: TError | undefined;
|
|
6822
|
-
mutate: swr.KeyedMutator<ClaimList>;
|
|
6823
|
-
isValidating: boolean;
|
|
6824
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
6825
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
6826
|
-
};
|
|
6827
|
-
/**
|
|
6828
|
-
* Retrieve detailed information about a claim, including its sources (emails), artifacts (documents), extractor job status, and extracted data.
|
|
6829
|
-
* @summary Get claim detail
|
|
6830
|
-
*/
|
|
6831
|
-
declare const getGetClaimDetailUrl: (id: string) => string;
|
|
6832
|
-
declare const getClaimDetail: (id: string, options?: RequestInit) => Promise<ClaimDetail>;
|
|
6833
|
-
declare const getGetClaimDetailKey: (id: string) => readonly [`/v1/claims/${string}`];
|
|
6834
|
-
type GetClaimDetailQueryResult = NonNullable<Awaited$e<ReturnType<typeof getClaimDetail>>>;
|
|
6835
|
-
/**
|
|
6836
|
-
* @summary Get claim detail
|
|
6837
|
-
*/
|
|
6838
|
-
declare const useGetClaimDetail: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6839
|
-
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getClaimDetail>>, TError> & {
|
|
6840
|
-
swrKey?: Key;
|
|
6841
|
-
enabled?: boolean;
|
|
6842
|
-
};
|
|
6843
|
-
request?: SecondParameter$e<typeof customFetch>;
|
|
6844
|
-
}) => {
|
|
6845
|
-
data: ClaimDetail | undefined;
|
|
6846
|
-
error: TError | undefined;
|
|
6847
|
-
mutate: swr.KeyedMutator<ClaimDetail>;
|
|
6848
|
-
isValidating: boolean;
|
|
6849
|
-
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
6850
|
-
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
6851
|
-
};
|
|
6852
|
-
|
|
6853
6622
|
type AwaitedInput$d<T> = PromiseLike<T> | T;
|
|
6854
6623
|
type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
|
|
6855
6624
|
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6856
6625
|
/**
|
|
6857
6626
|
* Ingest an email into the system.
|
|
6858
|
-
|
|
6859
|
-
Optionally associate the email with an existing claim via `claim_id`.
|
|
6860
6627
|
* @summary Create email
|
|
6861
6628
|
*/
|
|
6862
6629
|
declare const getCreateEmailUrl: () => string;
|
|
@@ -8943,4 +8710,4 @@ declare const useUpdateWorkerPrompt: <TError = ErrorType<ErrorResponse>>(workerI
|
|
|
8943
8710
|
swrKey: string | readonly [`/v1/workers/${string}/prompt`];
|
|
8944
8711
|
};
|
|
8945
8712
|
|
|
8946
|
-
export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CancelWorkerRunMutationResult, type CaseDetail, type CaseList, type CaseSummary, type CaseSummaryCreatedBy, type ChatAgent, type ChatAgentCreated, type ChatAgentDetail, type ChatAgentList, type ChatAgentPrompt, type ChatAgentPromptUpdated, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, ExperimentalGetOAuthUrlCodeChallengeMethod, type ExperimentalGetOAuthUrlParams, ExperimentalGetOAuthUrlProvider, type ExperimentalGetOAuthUrlQueryResult, type ExperimentalSignInBody, type ExperimentalSignInMutationResult, type ExperimentalSignUpBody, type ExperimentalSignUpMutationResult, type ExperimentalSignUpResponse, 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 GetCaseQueryResult, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetPublicChatAgentQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionQueryResult, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PublicChatAgent, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolMutationResult, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createChat, createChatAgent, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, experimentalGetOAuthUrl, experimentalSignIn, experimentalSignUp, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCancelWorkerRunMutationFetcher, getCancelWorkerRunMutationKey, getCancelWorkerRunUrl, getCase, getChat, getChatAgent, getChatAgentPrompt, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExperimentalGetOAuthUrlKey, getExperimentalGetOAuthUrlUrl, getExperimentalSignInMutationFetcher, getExperimentalSignInMutationKey, getExperimentalSignInUrl, getExperimentalSignUpMutationFetcher, getExperimentalSignUpMutationKey, getExperimentalSignUpUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetCaseKey, getGetCaseUrl, getGetChatAgentKey, getGetChatAgentPromptKey, getGetChatAgentPromptUrl, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetPublicChatAgentKey, getGetPublicChatAgentUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetVoiceAgentVersionChangeSummaryKey, getGetVoiceAgentVersionChangeSummaryUrl, getGetVoiceAgentVersionKey, getGetVoiceAgentVersionUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentPromptMutationFetcher, getUpdateChatAgentPromptMutationKey, getUpdateChatAgentPromptUrl, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCases, listChatAgents, listChatMessages, listChats, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, postChatMessage, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateChat, useCreateChatAgent, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useExperimentalGetOAuthUrl, useExperimentalSignIn, useExperimentalSignUp, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetCase, useGetChat, useGetChatAgent, useGetChatAgentPrompt, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetPublicChatAgent, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetVoiceAgentVersion, useGetVoiceAgentVersionChangeSummary, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCases, useListChatAgents, useListChatMessages, useListChats, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePostChatMessage, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|
|
8713
|
+
export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CancelWorkerRunMutationResult, type CaseDetail, type CaseList, type CaseSummary, type CaseSummaryCreatedBy, type ChatAgent, type ChatAgentCreated, type ChatAgentDetail, type ChatAgentList, type ChatAgentPrompt, type ChatAgentPromptUpdated, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, ExperimentalGetOAuthUrlCodeChallengeMethod, type ExperimentalGetOAuthUrlParams, ExperimentalGetOAuthUrlProvider, type ExperimentalGetOAuthUrlQueryResult, type ExperimentalSignInBody, type ExperimentalSignInMutationResult, type ExperimentalSignUpBody, type ExperimentalSignUpMutationResult, type ExperimentalSignUpResponse, 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 GetCaseQueryResult, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatQueryResult, 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 GetPublicChatAgentQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionQueryResult, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type 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 ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PublicChatAgent, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolMutationResult, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createChat, createChatAgent, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, experimentalGetOAuthUrl, experimentalSignIn, experimentalSignUp, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCancelWorkerRunMutationFetcher, getCancelWorkerRunMutationKey, getCancelWorkerRunUrl, getCase, getChat, getChatAgent, getChatAgentPrompt, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, 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, getExperimentalGetOAuthUrlKey, getExperimentalGetOAuthUrlUrl, getExperimentalSignInMutationFetcher, getExperimentalSignInMutationKey, getExperimentalSignInUrl, getExperimentalSignUpMutationFetcher, getExperimentalSignUpMutationKey, getExperimentalSignUpUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetCaseKey, getGetCaseUrl, getGetChatAgentKey, getGetChatAgentPromptKey, getGetChatAgentPromptUrl, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetPublicChatAgentKey, getGetPublicChatAgentUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetVoiceAgentVersionChangeSummaryKey, getGetVoiceAgentVersionChangeSummaryUrl, getGetVoiceAgentVersionKey, getGetVoiceAgentVersionUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentPromptMutationFetcher, getUpdateChatAgentPromptMutationKey, getUpdateChatAgentPromptUrl, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCases, listChatAgents, listChatMessages, listChats, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, postChatMessage, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateChat, useCreateChatAgent, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useExperimentalGetOAuthUrl, useExperimentalSignIn, useExperimentalSignUp, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetCase, useGetChat, useGetChatAgent, useGetChatAgentPrompt, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetPublicChatAgent, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetVoiceAgentVersion, useGetVoiceAgentVersionChangeSummary, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCases, useListChatAgents, useListChatMessages, useListChats, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePostChatMessage, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|