@avallon-labs/sdk 47.3.0 → 47.5.0-staging.1084
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 +707 -311
- package/dist/index.js +253 -78
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ declare const AddCaseLinksBodyEntitiesItemEntityType: {
|
|
|
111
111
|
readonly chat: "chat";
|
|
112
112
|
readonly email: "email";
|
|
113
113
|
readonly extract: "extract";
|
|
114
|
+
readonly information_request: "information_request";
|
|
114
115
|
readonly schedule: "schedule";
|
|
115
116
|
readonly worker_run: "worker_run";
|
|
116
117
|
};
|
|
@@ -155,6 +156,7 @@ declare const CaseLinkEntityType: {
|
|
|
155
156
|
readonly chat: "chat";
|
|
156
157
|
readonly email: "email";
|
|
157
158
|
readonly extract: "extract";
|
|
159
|
+
readonly information_request: "information_request";
|
|
158
160
|
readonly schedule: "schedule";
|
|
159
161
|
readonly worker_run: "worker_run";
|
|
160
162
|
};
|
|
@@ -2168,6 +2170,96 @@ interface CreateInboxWebhookEnvelope {
|
|
|
2168
2170
|
message: string;
|
|
2169
2171
|
}
|
|
2170
2172
|
|
|
2173
|
+
/**
|
|
2174
|
+
* Generated by orval v8.1.0 🍺
|
|
2175
|
+
* Do not edit manually.
|
|
2176
|
+
* Avallon API
|
|
2177
|
+
* OpenAPI spec version: 1.0.0
|
|
2178
|
+
*/
|
|
2179
|
+
/**
|
|
2180
|
+
* Context to store alongside the question, for whoever picks it up.
|
|
2181
|
+
*/
|
|
2182
|
+
type CreateInformationRequestBodyMetadata = {
|
|
2183
|
+
[key: string]: unknown;
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* Generated by orval v8.1.0 🍺
|
|
2188
|
+
* Do not edit manually.
|
|
2189
|
+
* Avallon API
|
|
2190
|
+
* OpenAPI spec version: 1.0.0
|
|
2191
|
+
*/
|
|
2192
|
+
|
|
2193
|
+
type CreateInformationRequestBody = {
|
|
2194
|
+
/**
|
|
2195
|
+
* The single fact you need, as one question. Write it for a person who is not watching this run: say what you were doing, what you could not determine, and what would let you continue.
|
|
2196
|
+
* @minLength 1
|
|
2197
|
+
* @maxLength 2000
|
|
2198
|
+
*/
|
|
2199
|
+
question: string;
|
|
2200
|
+
/** Context to store alongside the question, for whoever picks it up. */
|
|
2201
|
+
metadata?: CreateInformationRequestBodyMetadata;
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* Generated by orval v8.1.0 🍺
|
|
2206
|
+
* Do not edit manually.
|
|
2207
|
+
* Avallon API
|
|
2208
|
+
* OpenAPI spec version: 1.0.0
|
|
2209
|
+
*/
|
|
2210
|
+
type InformationRequestEnvironment = (typeof InformationRequestEnvironment)[keyof typeof InformationRequestEnvironment];
|
|
2211
|
+
declare const InformationRequestEnvironment: {
|
|
2212
|
+
readonly live: "live";
|
|
2213
|
+
readonly test: "test";
|
|
2214
|
+
};
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Generated by orval v8.1.0 🍺
|
|
2218
|
+
* Do not edit manually.
|
|
2219
|
+
* Avallon API
|
|
2220
|
+
* OpenAPI spec version: 1.0.0
|
|
2221
|
+
*/
|
|
2222
|
+
type InformationRequestMetadata = {
|
|
2223
|
+
[key: string]: unknown;
|
|
2224
|
+
};
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Generated by orval v8.1.0 🍺
|
|
2228
|
+
* Do not edit manually.
|
|
2229
|
+
* Avallon API
|
|
2230
|
+
* OpenAPI spec version: 1.0.0
|
|
2231
|
+
*/
|
|
2232
|
+
|
|
2233
|
+
interface InformationRequest {
|
|
2234
|
+
id: string;
|
|
2235
|
+
/** What the asker needs to know */
|
|
2236
|
+
question: string;
|
|
2237
|
+
/** Null while the request is open */
|
|
2238
|
+
resolution: string | null;
|
|
2239
|
+
resolved_by: string | null;
|
|
2240
|
+
resolved_at: string | null;
|
|
2241
|
+
metadata: InformationRequestMetadata;
|
|
2242
|
+
environment: InformationRequestEnvironment;
|
|
2243
|
+
/**
|
|
2244
|
+
* Actor that raised the request
|
|
2245
|
+
* @pattern ^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
|
|
2246
|
+
*/
|
|
2247
|
+
created_by: string;
|
|
2248
|
+
created_at: string;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
/**
|
|
2252
|
+
* Generated by orval v8.1.0 🍺
|
|
2253
|
+
* Do not edit manually.
|
|
2254
|
+
* Avallon API
|
|
2255
|
+
* OpenAPI spec version: 1.0.0
|
|
2256
|
+
*/
|
|
2257
|
+
|
|
2258
|
+
interface CreateInformationRequestEnvelope {
|
|
2259
|
+
data: InformationRequest;
|
|
2260
|
+
message: string;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2171
2263
|
/**
|
|
2172
2264
|
* Generated by orval v8.1.0 🍺
|
|
2173
2265
|
* Do not edit manually.
|
|
@@ -2411,6 +2503,12 @@ type CreateSecretBody = {
|
|
|
2411
2503
|
* @maxLength 4096
|
|
2412
2504
|
*/
|
|
2413
2505
|
value: string;
|
|
2506
|
+
/**
|
|
2507
|
+
* The value test runs receive under the same env key. Write-only. Omit and test runs receive nothing for this secret.
|
|
2508
|
+
* @minLength 1
|
|
2509
|
+
* @maxLength 4096
|
|
2510
|
+
*/
|
|
2511
|
+
test_value?: string;
|
|
2414
2512
|
/** @maxLength 500 */
|
|
2415
2513
|
description?: string;
|
|
2416
2514
|
};
|
|
@@ -2430,6 +2528,8 @@ interface Secret {
|
|
|
2430
2528
|
env_key: string;
|
|
2431
2529
|
/** Optional description */
|
|
2432
2530
|
description: string | null;
|
|
2531
|
+
/** Whether a test value is set. Test runs receive nothing for this secret until it is. */
|
|
2532
|
+
has_test_value: boolean;
|
|
2433
2533
|
/** Creation timestamp */
|
|
2434
2534
|
created_at: string;
|
|
2435
2535
|
/** Last update timestamp (metadata or rotation) */
|
|
@@ -2899,6 +2999,7 @@ declare const WorkerPermission: {
|
|
|
2899
2999
|
readonly "outbound-jobs:schedule": "outbound-jobs:schedule";
|
|
2900
3000
|
readonly "cases:write": "cases:write";
|
|
2901
3001
|
readonly "schedules:write": "schedules:write";
|
|
3002
|
+
readonly "information-requests:write": "information-requests:write";
|
|
2902
3003
|
};
|
|
2903
3004
|
|
|
2904
3005
|
/**
|
|
@@ -3453,6 +3554,7 @@ type DispatchTriggerType = (typeof DispatchTriggerType)[keyof typeof DispatchTri
|
|
|
3453
3554
|
declare const DispatchTriggerType: {
|
|
3454
3555
|
readonly schedule: "schedule";
|
|
3455
3556
|
readonly email: "email";
|
|
3557
|
+
readonly information_request: "information_request";
|
|
3456
3558
|
};
|
|
3457
3559
|
|
|
3458
3560
|
/**
|
|
@@ -3702,6 +3804,21 @@ interface ErrorResponse {
|
|
|
3702
3804
|
message: string;
|
|
3703
3805
|
}
|
|
3704
3806
|
|
|
3807
|
+
/**
|
|
3808
|
+
* Generated by orval v8.1.0 🍺
|
|
3809
|
+
* Do not edit manually.
|
|
3810
|
+
* Avallon API
|
|
3811
|
+
* OpenAPI spec version: 1.0.0
|
|
3812
|
+
*/
|
|
3813
|
+
/**
|
|
3814
|
+
* Environment to run the tool in, which selects the secret values it receives. A worker run is pinned to its own environment; other callers default to live.
|
|
3815
|
+
*/
|
|
3816
|
+
type ExecuteCodeBodyEnvironment = (typeof ExecuteCodeBodyEnvironment)[keyof typeof ExecuteCodeBodyEnvironment];
|
|
3817
|
+
declare const ExecuteCodeBodyEnvironment: {
|
|
3818
|
+
readonly live: "live";
|
|
3819
|
+
readonly test: "test";
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3705
3822
|
/**
|
|
3706
3823
|
* Generated by orval v8.1.0 🍺
|
|
3707
3824
|
* Do not edit manually.
|
|
@@ -3721,6 +3838,8 @@ type ExecuteCodeBodyParams = {
|
|
|
3721
3838
|
|
|
3722
3839
|
type ExecuteCodeBody = {
|
|
3723
3840
|
params?: ExecuteCodeBodyParams;
|
|
3841
|
+
/** Environment to run the tool in, which selects the secret values it receives. A worker run is pinned to its own environment; other callers default to live. */
|
|
3842
|
+
environment?: ExecuteCodeBodyEnvironment;
|
|
3724
3843
|
};
|
|
3725
3844
|
|
|
3726
3845
|
/**
|
|
@@ -4414,6 +4533,18 @@ interface GetExtractorJobEnvelope {
|
|
|
4414
4533
|
message: string;
|
|
4415
4534
|
}
|
|
4416
4535
|
|
|
4536
|
+
/**
|
|
4537
|
+
* Generated by orval v8.1.0 🍺
|
|
4538
|
+
* Do not edit manually.
|
|
4539
|
+
* Avallon API
|
|
4540
|
+
* OpenAPI spec version: 1.0.0
|
|
4541
|
+
*/
|
|
4542
|
+
|
|
4543
|
+
interface GetInformationRequestEnvelope {
|
|
4544
|
+
data: InformationRequest;
|
|
4545
|
+
message: string;
|
|
4546
|
+
}
|
|
4547
|
+
|
|
4417
4548
|
/**
|
|
4418
4549
|
* Generated by orval v8.1.0 🍺
|
|
4419
4550
|
* Do not edit manually.
|
|
@@ -4501,6 +4632,8 @@ declare const ProfilePermissionsItem: {
|
|
|
4501
4632
|
readonly "api-keys:write": "api-keys:write";
|
|
4502
4633
|
readonly "teams:write": "teams:write";
|
|
4503
4634
|
readonly "cases:write": "cases:write";
|
|
4635
|
+
readonly "information-requests:write": "information-requests:write";
|
|
4636
|
+
readonly "information-requests:resolve": "information-requests:resolve";
|
|
4504
4637
|
readonly "feedback:write": "feedback:write";
|
|
4505
4638
|
readonly "outbound-jobs:write": "outbound-jobs:write";
|
|
4506
4639
|
readonly "outbound-jobs:schedule": "outbound-jobs:schedule";
|
|
@@ -5329,6 +5462,15 @@ type InboxList = Inbox[];
|
|
|
5329
5462
|
|
|
5330
5463
|
type InboxWebhookList = Webhook[];
|
|
5331
5464
|
|
|
5465
|
+
/**
|
|
5466
|
+
* Generated by orval v8.1.0 🍺
|
|
5467
|
+
* Do not edit manually.
|
|
5468
|
+
* Avallon API
|
|
5469
|
+
* OpenAPI spec version: 1.0.0
|
|
5470
|
+
*/
|
|
5471
|
+
|
|
5472
|
+
type InformationRequestList = InformationRequest[];
|
|
5473
|
+
|
|
5332
5474
|
/**
|
|
5333
5475
|
* Generated by orval v8.1.0 🍺
|
|
5334
5476
|
* Do not edit manually.
|
|
@@ -5785,6 +5927,7 @@ declare const ListCaseLinksEntityType: {
|
|
|
5785
5927
|
readonly chat: "chat";
|
|
5786
5928
|
readonly email: "email";
|
|
5787
5929
|
readonly extract: "extract";
|
|
5930
|
+
readonly information_request: "information_request";
|
|
5788
5931
|
readonly schedule: "schedule";
|
|
5789
5932
|
readonly worker_run: "worker_run";
|
|
5790
5933
|
};
|
|
@@ -6210,6 +6353,7 @@ type ListDispatchesTriggerType = (typeof ListDispatchesTriggerType)[keyof typeof
|
|
|
6210
6353
|
declare const ListDispatchesTriggerType: {
|
|
6211
6354
|
readonly schedule: "schedule";
|
|
6212
6355
|
readonly email: "email";
|
|
6356
|
+
readonly information_request: "information_request";
|
|
6213
6357
|
};
|
|
6214
6358
|
|
|
6215
6359
|
/**
|
|
@@ -6788,6 +6932,94 @@ type ListInboxWebhooksParams = {
|
|
|
6788
6932
|
environment?: ListInboxWebhooksEnvironment;
|
|
6789
6933
|
};
|
|
6790
6934
|
|
|
6935
|
+
/**
|
|
6936
|
+
* Generated by orval v8.1.0 🍺
|
|
6937
|
+
* Do not edit manually.
|
|
6938
|
+
* Avallon API
|
|
6939
|
+
* OpenAPI spec version: 1.0.0
|
|
6940
|
+
*/
|
|
6941
|
+
type ListInformationRequestsEnvelopeMeta = {
|
|
6942
|
+
total: number;
|
|
6943
|
+
};
|
|
6944
|
+
|
|
6945
|
+
/**
|
|
6946
|
+
* Generated by orval v8.1.0 🍺
|
|
6947
|
+
* Do not edit manually.
|
|
6948
|
+
* Avallon API
|
|
6949
|
+
* OpenAPI spec version: 1.0.0
|
|
6950
|
+
*/
|
|
6951
|
+
|
|
6952
|
+
interface ListInformationRequestsEnvelope {
|
|
6953
|
+
data: InformationRequestList;
|
|
6954
|
+
message: string;
|
|
6955
|
+
meta: ListInformationRequestsEnvelopeMeta;
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
/**
|
|
6959
|
+
* Generated by orval v8.1.0 🍺
|
|
6960
|
+
* Do not edit manually.
|
|
6961
|
+
* Avallon API
|
|
6962
|
+
* OpenAPI spec version: 1.0.0
|
|
6963
|
+
*/
|
|
6964
|
+
type ListInformationRequestsResolved = (typeof ListInformationRequestsResolved)[keyof typeof ListInformationRequestsResolved];
|
|
6965
|
+
declare const ListInformationRequestsResolved: {
|
|
6966
|
+
readonly true: "true";
|
|
6967
|
+
readonly false: "false";
|
|
6968
|
+
};
|
|
6969
|
+
|
|
6970
|
+
/**
|
|
6971
|
+
* Generated by orval v8.1.0 🍺
|
|
6972
|
+
* Do not edit manually.
|
|
6973
|
+
* Avallon API
|
|
6974
|
+
* OpenAPI spec version: 1.0.0
|
|
6975
|
+
*/
|
|
6976
|
+
type ListInformationRequestsSortBy = (typeof ListInformationRequestsSortBy)[keyof typeof ListInformationRequestsSortBy];
|
|
6977
|
+
declare const ListInformationRequestsSortBy: {
|
|
6978
|
+
readonly created_at: "created_at";
|
|
6979
|
+
};
|
|
6980
|
+
|
|
6981
|
+
/**
|
|
6982
|
+
* Generated by orval v8.1.0 🍺
|
|
6983
|
+
* Do not edit manually.
|
|
6984
|
+
* Avallon API
|
|
6985
|
+
* OpenAPI spec version: 1.0.0
|
|
6986
|
+
*/
|
|
6987
|
+
type ListInformationRequestsSortOrder = (typeof ListInformationRequestsSortOrder)[keyof typeof ListInformationRequestsSortOrder];
|
|
6988
|
+
declare const ListInformationRequestsSortOrder: {
|
|
6989
|
+
readonly asc: "asc";
|
|
6990
|
+
readonly desc: "desc";
|
|
6991
|
+
};
|
|
6992
|
+
|
|
6993
|
+
/**
|
|
6994
|
+
* Generated by orval v8.1.0 🍺
|
|
6995
|
+
* Do not edit manually.
|
|
6996
|
+
* Avallon API
|
|
6997
|
+
* OpenAPI spec version: 1.0.0
|
|
6998
|
+
*/
|
|
6999
|
+
|
|
7000
|
+
type ListInformationRequestsParams = {
|
|
7001
|
+
/**
|
|
7002
|
+
* Only resolved (`true`) or only open (`false`) requests. Omit for both.
|
|
7003
|
+
*/
|
|
7004
|
+
resolved?: ListInformationRequestsResolved;
|
|
7005
|
+
/**
|
|
7006
|
+
* Only requests linked to this case. Values are normalized server-side (trimmed and lowercased).
|
|
7007
|
+
* @minLength 1
|
|
7008
|
+
*/
|
|
7009
|
+
case_id?: string;
|
|
7010
|
+
/**
|
|
7011
|
+
* @minimum 1
|
|
7012
|
+
* @maximum 100
|
|
7013
|
+
*/
|
|
7014
|
+
count?: number;
|
|
7015
|
+
/**
|
|
7016
|
+
* @minimum 0
|
|
7017
|
+
*/
|
|
7018
|
+
offset?: number;
|
|
7019
|
+
sort_by?: ListInformationRequestsSortBy;
|
|
7020
|
+
sort_order?: ListInformationRequestsSortOrder;
|
|
7021
|
+
};
|
|
7022
|
+
|
|
6791
7023
|
/**
|
|
6792
7024
|
* Generated by orval v8.1.0 🍺
|
|
6793
7025
|
* Do not edit manually.
|
|
@@ -8480,6 +8712,33 @@ interface ResetPasswordEnvelope {
|
|
|
8480
8712
|
message: string;
|
|
8481
8713
|
}
|
|
8482
8714
|
|
|
8715
|
+
/**
|
|
8716
|
+
* Generated by orval v8.1.0 🍺
|
|
8717
|
+
* Do not edit manually.
|
|
8718
|
+
* Avallon API
|
|
8719
|
+
* OpenAPI spec version: 1.0.0
|
|
8720
|
+
*/
|
|
8721
|
+
type ResolveInformationRequestBody = {
|
|
8722
|
+
/**
|
|
8723
|
+
* The information the asker was missing, in plain language
|
|
8724
|
+
* @minLength 1
|
|
8725
|
+
* @maxLength 10000
|
|
8726
|
+
*/
|
|
8727
|
+
resolution: string;
|
|
8728
|
+
};
|
|
8729
|
+
|
|
8730
|
+
/**
|
|
8731
|
+
* Generated by orval v8.1.0 🍺
|
|
8732
|
+
* Do not edit manually.
|
|
8733
|
+
* Avallon API
|
|
8734
|
+
* OpenAPI spec version: 1.0.0
|
|
8735
|
+
*/
|
|
8736
|
+
|
|
8737
|
+
interface ResolveInformationRequestEnvelope {
|
|
8738
|
+
data: InformationRequest;
|
|
8739
|
+
message: string;
|
|
8740
|
+
}
|
|
8741
|
+
|
|
8483
8742
|
/**
|
|
8484
8743
|
* Generated by orval v8.1.0 🍺
|
|
8485
8744
|
* Do not edit manually.
|
|
@@ -9165,6 +9424,8 @@ type UpdateSecretBody = {
|
|
|
9165
9424
|
* @maxLength 4096
|
|
9166
9425
|
*/
|
|
9167
9426
|
value?: string;
|
|
9427
|
+
/** New value for test runs (rotation). Omit to leave unchanged; pass null to remove it so test runs receive nothing for this secret. */
|
|
9428
|
+
test_value?: string | null;
|
|
9168
9429
|
/** New description. Omit to leave unchanged; pass null to clear. */
|
|
9169
9430
|
description?: string | null;
|
|
9170
9431
|
};
|
|
@@ -9709,6 +9970,21 @@ interface UploadFileEnvelope {
|
|
|
9709
9970
|
message: string;
|
|
9710
9971
|
}
|
|
9711
9972
|
|
|
9973
|
+
/**
|
|
9974
|
+
* Generated by orval v8.1.0 🍺
|
|
9975
|
+
* Do not edit manually.
|
|
9976
|
+
* Avallon API
|
|
9977
|
+
* OpenAPI spec version: 1.0.0
|
|
9978
|
+
*/
|
|
9979
|
+
/**
|
|
9980
|
+
* Environment to run the tool in, which selects the secret values it receives. A worker run is pinned to its own environment; other callers default to live.
|
|
9981
|
+
*/
|
|
9982
|
+
type WorkerExecuteToolBodyEnvironment = (typeof WorkerExecuteToolBodyEnvironment)[keyof typeof WorkerExecuteToolBodyEnvironment];
|
|
9983
|
+
declare const WorkerExecuteToolBodyEnvironment: {
|
|
9984
|
+
readonly live: "live";
|
|
9985
|
+
readonly test: "test";
|
|
9986
|
+
};
|
|
9987
|
+
|
|
9712
9988
|
/**
|
|
9713
9989
|
* Generated by orval v8.1.0 🍺
|
|
9714
9990
|
* Do not edit manually.
|
|
@@ -9728,6 +10004,8 @@ type WorkerExecuteToolBodyParams = {
|
|
|
9728
10004
|
|
|
9729
10005
|
type WorkerExecuteToolBody = {
|
|
9730
10006
|
params?: WorkerExecuteToolBodyParams;
|
|
10007
|
+
/** Environment to run the tool in, which selects the secret values it receives. A worker run is pinned to its own environment; other callers default to live. */
|
|
10008
|
+
environment?: WorkerExecuteToolBodyEnvironment;
|
|
9731
10009
|
};
|
|
9732
10010
|
|
|
9733
10011
|
/**
|
|
@@ -9803,9 +10081,9 @@ type WorkerListToolsParams = {
|
|
|
9803
10081
|
sort_order?: WorkerListToolsSortOrder;
|
|
9804
10082
|
};
|
|
9805
10083
|
|
|
9806
|
-
type AwaitedInput$
|
|
9807
|
-
type Awaited$
|
|
9808
|
-
type SecondParameter$
|
|
10084
|
+
type AwaitedInput$r<T> = PromiseLike<T> | T;
|
|
10085
|
+
type Awaited$r<O> = O extends AwaitedInput$r<infer T> ? T : never;
|
|
10086
|
+
type SecondParameter$r<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9809
10087
|
/**
|
|
9810
10088
|
* Retrieve a tenant-scoped time series for a single processing-volume metric.
|
|
9811
10089
|
|
|
@@ -9817,16 +10095,16 @@ Pick a `metric` (worker runs, documents, or pages), a date range, a bucket `gran
|
|
|
9817
10095
|
declare const getGetAnalyticsTimeSeriesUrl: (params: GetAnalyticsTimeSeriesParams) => string;
|
|
9818
10096
|
declare const getAnalyticsTimeSeries: (params: GetAnalyticsTimeSeriesParams, options?: RequestInit) => Promise<GetAnalyticsTimeSeriesEnvelope>;
|
|
9819
10097
|
declare const getGetAnalyticsTimeSeriesKey: (params: GetAnalyticsTimeSeriesParams) => readonly ["/v1/analytics/timeseries", ...GetAnalyticsTimeSeriesParams[]];
|
|
9820
|
-
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$
|
|
10098
|
+
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$r<ReturnType<typeof getAnalyticsTimeSeries>>>;
|
|
9821
10099
|
/**
|
|
9822
10100
|
* @summary Get analytics time series
|
|
9823
10101
|
*/
|
|
9824
10102
|
declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(params: GetAnalyticsTimeSeriesParams, options?: {
|
|
9825
|
-
swr?: SWRConfiguration<Awaited$
|
|
10103
|
+
swr?: SWRConfiguration<Awaited$r<ReturnType<typeof getAnalyticsTimeSeries>>, TError> & {
|
|
9826
10104
|
swrKey?: Key;
|
|
9827
10105
|
enabled?: boolean;
|
|
9828
10106
|
};
|
|
9829
|
-
request?: SecondParameter$
|
|
10107
|
+
request?: SecondParameter$r<typeof customFetch>;
|
|
9830
10108
|
}) => {
|
|
9831
10109
|
data: GetAnalyticsTimeSeriesEnvelope | undefined;
|
|
9832
10110
|
error: TError | undefined;
|
|
@@ -9836,9 +10114,9 @@ declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(par
|
|
|
9836
10114
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
9837
10115
|
};
|
|
9838
10116
|
|
|
9839
|
-
type AwaitedInput$
|
|
9840
|
-
type Awaited$
|
|
9841
|
-
type SecondParameter$
|
|
10117
|
+
type AwaitedInput$q<T> = PromiseLike<T> | T;
|
|
10118
|
+
type Awaited$q<O> = O extends AwaitedInput$q<infer T> ? T : never;
|
|
10119
|
+
type SecondParameter$q<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9842
10120
|
/**
|
|
9843
10121
|
* List all API keys for your tenant.
|
|
9844
10122
|
|
|
@@ -9850,16 +10128,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
9850
10128
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
9851
10129
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ListApiKeysEnvelope>;
|
|
9852
10130
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
9853
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
10131
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$q<ReturnType<typeof listApiKeys>>>;
|
|
9854
10132
|
/**
|
|
9855
10133
|
* @summary List API keys
|
|
9856
10134
|
*/
|
|
9857
10135
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
9858
|
-
swr?: SWRConfiguration<Awaited$
|
|
10136
|
+
swr?: SWRConfiguration<Awaited$q<ReturnType<typeof listApiKeys>>, TError> & {
|
|
9859
10137
|
swrKey?: Key;
|
|
9860
10138
|
enabled?: boolean;
|
|
9861
10139
|
};
|
|
9862
|
-
request?: SecondParameter$
|
|
10140
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9863
10141
|
}) => {
|
|
9864
10142
|
data: ListApiKeysEnvelope | undefined;
|
|
9865
10143
|
error: TError | undefined;
|
|
@@ -9878,19 +10156,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
9878
10156
|
*/
|
|
9879
10157
|
declare const getCreateApiKeyUrl: () => string;
|
|
9880
10158
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<CreateApiKeyEnvelope>;
|
|
9881
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
10159
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$q<typeof customFetch>) => (_: Key, { arg }: {
|
|
9882
10160
|
arg: CreateApiKeyBody;
|
|
9883
10161
|
}) => Promise<CreateApiKeyEnvelope>;
|
|
9884
10162
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
9885
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
10163
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$q<ReturnType<typeof createApiKey>>>;
|
|
9886
10164
|
/**
|
|
9887
10165
|
* @summary Create an API key
|
|
9888
10166
|
*/
|
|
9889
10167
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9890
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10168
|
+
swr?: SWRMutationConfiguration<Awaited$q<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$q<ReturnType<typeof createApiKey>>> & {
|
|
9891
10169
|
swrKey?: string;
|
|
9892
10170
|
};
|
|
9893
|
-
request?: SecondParameter$
|
|
10171
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9894
10172
|
}) => {
|
|
9895
10173
|
isMutating: boolean;
|
|
9896
10174
|
trigger: swr_mutation.TriggerWithArgs<CreateApiKeyEnvelope, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -9909,19 +10187,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
9909
10187
|
*/
|
|
9910
10188
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
9911
10189
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<RevokeApiKeyEnvelope>;
|
|
9912
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
10190
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$q<typeof customFetch>) => (_: Key, __: {
|
|
9913
10191
|
arg: Arguments;
|
|
9914
10192
|
}) => Promise<RevokeApiKeyEnvelope>;
|
|
9915
10193
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
9916
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
10194
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$q<ReturnType<typeof revokeApiKey>>>;
|
|
9917
10195
|
/**
|
|
9918
10196
|
* @summary Revoke an API key
|
|
9919
10197
|
*/
|
|
9920
10198
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9921
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10199
|
+
swr?: SWRMutationConfiguration<Awaited$q<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$q<ReturnType<typeof revokeApiKey>>> & {
|
|
9922
10200
|
swrKey?: string;
|
|
9923
10201
|
};
|
|
9924
|
-
request?: SecondParameter$
|
|
10202
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9925
10203
|
}) => {
|
|
9926
10204
|
isMutating: boolean;
|
|
9927
10205
|
trigger: swr_mutation.TriggerWithOptionsArgs<RevokeApiKeyEnvelope, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -9938,19 +10216,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
9938
10216
|
*/
|
|
9939
10217
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
9940
10218
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<UpdateApiKeyEnvelope>;
|
|
9941
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
10219
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$q<typeof customFetch>) => (_: Key, { arg }: {
|
|
9942
10220
|
arg: UpdateApiKeyBody;
|
|
9943
10221
|
}) => Promise<UpdateApiKeyEnvelope>;
|
|
9944
10222
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
9945
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
10223
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$q<ReturnType<typeof updateApiKey>>>;
|
|
9946
10224
|
/**
|
|
9947
10225
|
* @summary Update API key
|
|
9948
10226
|
*/
|
|
9949
10227
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9950
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10228
|
+
swr?: SWRMutationConfiguration<Awaited$q<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$q<ReturnType<typeof updateApiKey>>> & {
|
|
9951
10229
|
swrKey?: string;
|
|
9952
10230
|
};
|
|
9953
|
-
request?: SecondParameter$
|
|
10231
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9954
10232
|
}) => {
|
|
9955
10233
|
isMutating: boolean;
|
|
9956
10234
|
trigger: swr_mutation.TriggerWithArgs<UpdateApiKeyEnvelope, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -9960,9 +10238,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
9960
10238
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
9961
10239
|
};
|
|
9962
10240
|
|
|
9963
|
-
type AwaitedInput$
|
|
9964
|
-
type Awaited$
|
|
9965
|
-
type SecondParameter$
|
|
10241
|
+
type AwaitedInput$p<T> = PromiseLike<T> | T;
|
|
10242
|
+
type Awaited$p<O> = O extends AwaitedInput$p<infer T> ? T : never;
|
|
10243
|
+
type SecondParameter$p<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9966
10244
|
/**
|
|
9967
10245
|
* Upload a document as a base64-encoded artifact for processing.
|
|
9968
10246
|
|
|
@@ -9978,19 +10256,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
9978
10256
|
*/
|
|
9979
10257
|
declare const getCreateArtifactUrl: () => string;
|
|
9980
10258
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<CreateArtifactEnvelope>;
|
|
9981
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
10259
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
9982
10260
|
arg: CreateArtifactBody;
|
|
9983
10261
|
}) => Promise<CreateArtifactEnvelope>;
|
|
9984
10262
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
9985
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
10263
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$p<ReturnType<typeof createArtifact>>>;
|
|
9986
10264
|
/**
|
|
9987
10265
|
* @summary Create artifact
|
|
9988
10266
|
*/
|
|
9989
10267
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9990
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10268
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$p<ReturnType<typeof createArtifact>>> & {
|
|
9991
10269
|
swrKey?: string;
|
|
9992
10270
|
};
|
|
9993
|
-
request?: SecondParameter$
|
|
10271
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
9994
10272
|
}) => {
|
|
9995
10273
|
isMutating: boolean;
|
|
9996
10274
|
trigger: swr_mutation.TriggerWithArgs<CreateArtifactEnvelope, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -10020,16 +10298,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
10020
10298
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
10021
10299
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ListArtifactsEnvelope>;
|
|
10022
10300
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
10023
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
10301
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$p<ReturnType<typeof listArtifacts>>>;
|
|
10024
10302
|
/**
|
|
10025
10303
|
* @summary List artifacts
|
|
10026
10304
|
*/
|
|
10027
10305
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
10028
|
-
swr?: SWRConfiguration<Awaited$
|
|
10306
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof listArtifacts>>, TError> & {
|
|
10029
10307
|
swrKey?: Key;
|
|
10030
10308
|
enabled?: boolean;
|
|
10031
10309
|
};
|
|
10032
|
-
request?: SecondParameter$
|
|
10310
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10033
10311
|
}) => {
|
|
10034
10312
|
data: ListArtifactsEnvelope | undefined;
|
|
10035
10313
|
error: TError | undefined;
|
|
@@ -10047,16 +10325,16 @@ The response always includes `content_with_chunkids_md`: the parsed content anno
|
|
|
10047
10325
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
10048
10326
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<GetArtifactEnvelope>;
|
|
10049
10327
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
10050
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
10328
|
+
type GetArtifactQueryResult = NonNullable<Awaited$p<ReturnType<typeof getArtifact>>>;
|
|
10051
10329
|
/**
|
|
10052
10330
|
* @summary Get artifact
|
|
10053
10331
|
*/
|
|
10054
10332
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10055
|
-
swr?: SWRConfiguration<Awaited$
|
|
10333
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getArtifact>>, TError> & {
|
|
10056
10334
|
swrKey?: Key;
|
|
10057
10335
|
enabled?: boolean;
|
|
10058
10336
|
};
|
|
10059
|
-
request?: SecondParameter$
|
|
10337
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10060
10338
|
}) => {
|
|
10061
10339
|
data: GetArtifactEnvelope | undefined;
|
|
10062
10340
|
error: TError | undefined;
|
|
@@ -10071,19 +10349,19 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
10071
10349
|
*/
|
|
10072
10350
|
declare const getDeleteArtifactUrl: (id: string) => string;
|
|
10073
10351
|
declare const deleteArtifact: (id: string, options?: RequestInit) => Promise<DeleteArtifactEnvelope>;
|
|
10074
|
-
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$
|
|
10352
|
+
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$p<typeof customFetch>) => (_: Key, __: {
|
|
10075
10353
|
arg: Arguments;
|
|
10076
10354
|
}) => Promise<DeleteArtifactEnvelope>;
|
|
10077
10355
|
declare const getDeleteArtifactMutationKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
10078
|
-
type DeleteArtifactMutationResult = NonNullable<Awaited$
|
|
10356
|
+
type DeleteArtifactMutationResult = NonNullable<Awaited$p<ReturnType<typeof deleteArtifact>>>;
|
|
10079
10357
|
/**
|
|
10080
10358
|
* @summary Delete artifact
|
|
10081
10359
|
*/
|
|
10082
10360
|
declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10083
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10361
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof deleteArtifact>>, TError, Key, Arguments, Awaited$p<ReturnType<typeof deleteArtifact>>> & {
|
|
10084
10362
|
swrKey?: string;
|
|
10085
10363
|
};
|
|
10086
|
-
request?: SecondParameter$
|
|
10364
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10087
10365
|
}) => {
|
|
10088
10366
|
isMutating: boolean;
|
|
10089
10367
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteArtifactEnvelope, TError, string | readonly [`/v1/artifacts/${string}`], Arguments>;
|
|
@@ -10099,16 +10377,16 @@ declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
10099
10377
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
10100
10378
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<GetArtifactMetadataKeysEnvelope>;
|
|
10101
10379
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
10102
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
10380
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$p<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
10103
10381
|
/**
|
|
10104
10382
|
* @summary Get artifact metadata keys
|
|
10105
10383
|
*/
|
|
10106
10384
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
10107
|
-
swr?: SWRConfiguration<Awaited$
|
|
10385
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
10108
10386
|
swrKey?: Key;
|
|
10109
10387
|
enabled?: boolean;
|
|
10110
10388
|
};
|
|
10111
|
-
request?: SecondParameter$
|
|
10389
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10112
10390
|
}) => {
|
|
10113
10391
|
data: GetArtifactMetadataKeysEnvelope | undefined;
|
|
10114
10392
|
error: TError | undefined;
|
|
@@ -10126,16 +10404,16 @@ Define the scope with bracket notation (e.g. `scope[email_id]=abc-123`). At leas
|
|
|
10126
10404
|
declare const getGetArtifactStatusSummaryUrl: (params: GetArtifactStatusSummaryParams) => string;
|
|
10127
10405
|
declare const getArtifactStatusSummary: (params: GetArtifactStatusSummaryParams, options?: RequestInit) => Promise<GetArtifactStatusSummaryEnvelope>;
|
|
10128
10406
|
declare const getGetArtifactStatusSummaryKey: (params: GetArtifactStatusSummaryParams) => readonly ["/v1/artifacts/status-summary", ...GetArtifactStatusSummaryParams[]];
|
|
10129
|
-
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$
|
|
10407
|
+
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$p<ReturnType<typeof getArtifactStatusSummary>>>;
|
|
10130
10408
|
/**
|
|
10131
10409
|
* @summary Get artifact status summary
|
|
10132
10410
|
*/
|
|
10133
10411
|
declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(params: GetArtifactStatusSummaryParams, options?: {
|
|
10134
|
-
swr?: SWRConfiguration<Awaited$
|
|
10412
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getArtifactStatusSummary>>, TError> & {
|
|
10135
10413
|
swrKey?: Key;
|
|
10136
10414
|
enabled?: boolean;
|
|
10137
10415
|
};
|
|
10138
|
-
request?: SecondParameter$
|
|
10416
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10139
10417
|
}) => {
|
|
10140
10418
|
data: GetArtifactStatusSummaryEnvelope | undefined;
|
|
10141
10419
|
error: TError | undefined;
|
|
@@ -10150,19 +10428,19 @@ declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(p
|
|
|
10150
10428
|
*/
|
|
10151
10429
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
10152
10430
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrlEnvelope>;
|
|
10153
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
10431
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
10154
10432
|
arg: GetArtifactUploadUrlBody;
|
|
10155
10433
|
}) => Promise<GetArtifactUploadUrlEnvelope>;
|
|
10156
10434
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
10157
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
10435
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$p<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
10158
10436
|
/**
|
|
10159
10437
|
* @summary Request a pre-signed URL for direct large file upload
|
|
10160
10438
|
*/
|
|
10161
10439
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10162
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10440
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$p<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
10163
10441
|
swrKey?: string;
|
|
10164
10442
|
};
|
|
10165
|
-
request?: SecondParameter$
|
|
10443
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10166
10444
|
}) => {
|
|
10167
10445
|
isMutating: boolean;
|
|
10168
10446
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrlEnvelope, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -10177,19 +10455,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
10177
10455
|
*/
|
|
10178
10456
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
10179
10457
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<UpdateArtifactMetadataEnvelope>;
|
|
10180
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
10458
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
10181
10459
|
arg: UpdateArtifactMetadataBody;
|
|
10182
10460
|
}) => Promise<UpdateArtifactMetadataEnvelope>;
|
|
10183
10461
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
10184
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
10462
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$p<ReturnType<typeof updateArtifactMetadata>>>;
|
|
10185
10463
|
/**
|
|
10186
10464
|
* @summary Update artifact metadata
|
|
10187
10465
|
*/
|
|
10188
10466
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10189
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10467
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$p<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
10190
10468
|
swrKey?: string;
|
|
10191
10469
|
};
|
|
10192
|
-
request?: SecondParameter$
|
|
10470
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10193
10471
|
}) => {
|
|
10194
10472
|
isMutating: boolean;
|
|
10195
10473
|
trigger: swr_mutation.TriggerWithArgs<UpdateArtifactMetadataEnvelope, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -10206,19 +10484,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
10206
10484
|
*/
|
|
10207
10485
|
declare const getUploadFileUrl: () => string;
|
|
10208
10486
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileEnvelope>;
|
|
10209
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
10487
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
10210
10488
|
arg: UploadFileBody;
|
|
10211
10489
|
}) => Promise<UploadFileEnvelope>;
|
|
10212
10490
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
10213
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
10491
|
+
type UploadFileMutationResult = NonNullable<Awaited$p<ReturnType<typeof uploadFile>>>;
|
|
10214
10492
|
/**
|
|
10215
10493
|
* @summary Upload a file for processing
|
|
10216
10494
|
*/
|
|
10217
10495
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10218
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10496
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$p<ReturnType<typeof uploadFile>>> & {
|
|
10219
10497
|
swrKey?: string;
|
|
10220
10498
|
};
|
|
10221
|
-
request?: SecondParameter$
|
|
10499
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10222
10500
|
}) => {
|
|
10223
10501
|
isMutating: boolean;
|
|
10224
10502
|
trigger: swr_mutation.TriggerWithArgs<UploadFileEnvelope, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -10228,28 +10506,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10228
10506
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
10229
10507
|
};
|
|
10230
10508
|
|
|
10231
|
-
type AwaitedInput$
|
|
10232
|
-
type Awaited$
|
|
10233
|
-
type SecondParameter$
|
|
10509
|
+
type AwaitedInput$o<T> = PromiseLike<T> | T;
|
|
10510
|
+
type Awaited$o<O> = O extends AwaitedInput$o<infer T> ? T : never;
|
|
10511
|
+
type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10234
10512
|
/**
|
|
10235
10513
|
* Create a new user account with email and password. When the response includes a pending_authentication_token, the account requires email verification: complete it via sign-in (type: email_otp) with the emailed one-time password and this token.
|
|
10236
10514
|
* @summary Sign up
|
|
10237
10515
|
*/
|
|
10238
10516
|
declare const getSignUpUrl: () => string;
|
|
10239
10517
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<SignUpEnvelope>;
|
|
10240
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
10518
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10241
10519
|
arg: SignUpBody;
|
|
10242
10520
|
}) => Promise<SignUpEnvelope>;
|
|
10243
10521
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
10244
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
10522
|
+
type SignUpMutationResult = NonNullable<Awaited$o<ReturnType<typeof signUp>>>;
|
|
10245
10523
|
/**
|
|
10246
10524
|
* @summary Sign up
|
|
10247
10525
|
*/
|
|
10248
10526
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10249
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10527
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$o<ReturnType<typeof signUp>>> & {
|
|
10250
10528
|
swrKey?: string;
|
|
10251
10529
|
};
|
|
10252
|
-
request?: SecondParameter$
|
|
10530
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10253
10531
|
}) => {
|
|
10254
10532
|
isMutating: boolean;
|
|
10255
10533
|
trigger: swr_mutation.TriggerWithArgs<SignUpEnvelope, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -10268,19 +10546,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10268
10546
|
*/
|
|
10269
10547
|
declare const getSignInUrl: () => string;
|
|
10270
10548
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<SignInEnvelope>;
|
|
10271
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
10549
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10272
10550
|
arg: SignInBody;
|
|
10273
10551
|
}) => Promise<SignInEnvelope>;
|
|
10274
10552
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
10275
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
10553
|
+
type SignInMutationResult = NonNullable<Awaited$o<ReturnType<typeof signIn>>>;
|
|
10276
10554
|
/**
|
|
10277
10555
|
* @summary Sign in
|
|
10278
10556
|
*/
|
|
10279
10557
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10280
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10558
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$o<ReturnType<typeof signIn>>> & {
|
|
10281
10559
|
swrKey?: string;
|
|
10282
10560
|
};
|
|
10283
|
-
request?: SecondParameter$
|
|
10561
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10284
10562
|
}) => {
|
|
10285
10563
|
isMutating: boolean;
|
|
10286
10564
|
trigger: swr_mutation.TriggerWithArgs<SignInEnvelope, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -10295,19 +10573,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10295
10573
|
*/
|
|
10296
10574
|
declare const getRequestPasswordResetUrl: () => string;
|
|
10297
10575
|
declare const requestPasswordReset: (requestPasswordResetBody: RequestPasswordResetBody, options?: RequestInit) => Promise<RequestPasswordResetEnvelope>;
|
|
10298
|
-
declare const getRequestPasswordResetMutationFetcher: (options?: SecondParameter$
|
|
10576
|
+
declare const getRequestPasswordResetMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10299
10577
|
arg: RequestPasswordResetBody;
|
|
10300
10578
|
}) => Promise<RequestPasswordResetEnvelope>;
|
|
10301
10579
|
declare const getRequestPasswordResetMutationKey: () => readonly ["/v1/auth/request-password-reset"];
|
|
10302
|
-
type RequestPasswordResetMutationResult = NonNullable<Awaited$
|
|
10580
|
+
type RequestPasswordResetMutationResult = NonNullable<Awaited$o<ReturnType<typeof requestPasswordReset>>>;
|
|
10303
10581
|
/**
|
|
10304
10582
|
* @summary Request password reset
|
|
10305
10583
|
*/
|
|
10306
10584
|
declare const useRequestPasswordReset: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10307
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10585
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof requestPasswordReset>>, TError, Key, RequestPasswordResetBody, Awaited$o<ReturnType<typeof requestPasswordReset>>> & {
|
|
10308
10586
|
swrKey?: string;
|
|
10309
10587
|
};
|
|
10310
|
-
request?: SecondParameter$
|
|
10588
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10311
10589
|
}) => {
|
|
10312
10590
|
isMutating: boolean;
|
|
10313
10591
|
trigger: swr_mutation.TriggerWithArgs<RequestPasswordResetEnvelope, TError, string | readonly ["/v1/auth/request-password-reset"], RequestPasswordResetBody>;
|
|
@@ -10322,19 +10600,19 @@ declare const useRequestPasswordReset: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
10322
10600
|
*/
|
|
10323
10601
|
declare const getResetPasswordUrl: () => string;
|
|
10324
10602
|
declare const resetPassword: (resetPasswordBody: ResetPasswordBody, options?: RequestInit) => Promise<ResetPasswordEnvelope>;
|
|
10325
|
-
declare const getResetPasswordMutationFetcher: (options?: SecondParameter$
|
|
10603
|
+
declare const getResetPasswordMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10326
10604
|
arg: ResetPasswordBody;
|
|
10327
10605
|
}) => Promise<ResetPasswordEnvelope>;
|
|
10328
10606
|
declare const getResetPasswordMutationKey: () => readonly ["/v1/auth/reset-password"];
|
|
10329
|
-
type ResetPasswordMutationResult = NonNullable<Awaited$
|
|
10607
|
+
type ResetPasswordMutationResult = NonNullable<Awaited$o<ReturnType<typeof resetPassword>>>;
|
|
10330
10608
|
/**
|
|
10331
10609
|
* @summary Reset password
|
|
10332
10610
|
*/
|
|
10333
10611
|
declare const useResetPassword: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10334
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10612
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof resetPassword>>, TError, Key, ResetPasswordBody, Awaited$o<ReturnType<typeof resetPassword>>> & {
|
|
10335
10613
|
swrKey?: string;
|
|
10336
10614
|
};
|
|
10337
|
-
request?: SecondParameter$
|
|
10615
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10338
10616
|
}) => {
|
|
10339
10617
|
isMutating: boolean;
|
|
10340
10618
|
trigger: swr_mutation.TriggerWithArgs<ResetPasswordEnvelope, TError, string | readonly ["/v1/auth/reset-password"], ResetPasswordBody>;
|
|
@@ -10349,19 +10627,19 @@ declare const useResetPassword: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10349
10627
|
*/
|
|
10350
10628
|
declare const getRefreshTokenUrl: () => string;
|
|
10351
10629
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<RefreshTokenEnvelope>;
|
|
10352
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
10630
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10353
10631
|
arg: RefreshTokenBody;
|
|
10354
10632
|
}) => Promise<RefreshTokenEnvelope>;
|
|
10355
10633
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
10356
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
10634
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$o<ReturnType<typeof refreshToken>>>;
|
|
10357
10635
|
/**
|
|
10358
10636
|
* @summary Refresh authentication token
|
|
10359
10637
|
*/
|
|
10360
10638
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10361
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10639
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$o<ReturnType<typeof refreshToken>>> & {
|
|
10362
10640
|
swrKey?: string;
|
|
10363
10641
|
};
|
|
10364
|
-
request?: SecondParameter$
|
|
10642
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10365
10643
|
}) => {
|
|
10366
10644
|
isMutating: boolean;
|
|
10367
10645
|
trigger: swr_mutation.TriggerWithArgs<RefreshTokenEnvelope, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -10381,16 +10659,16 @@ For enterprise SSO, pass `provider=sso` together with the user's `email`; the em
|
|
|
10381
10659
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
10382
10660
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<GetOAuthUrlEnvelope>;
|
|
10383
10661
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
10384
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
10662
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$o<ReturnType<typeof getOAuthUrl>>>;
|
|
10385
10663
|
/**
|
|
10386
10664
|
* @summary Get OAuth sign-in URL
|
|
10387
10665
|
*/
|
|
10388
10666
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
10389
|
-
swr?: SWRConfiguration<Awaited$
|
|
10667
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
10390
10668
|
swrKey?: Key;
|
|
10391
10669
|
enabled?: boolean;
|
|
10392
10670
|
};
|
|
10393
|
-
request?: SecondParameter$
|
|
10671
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10394
10672
|
}) => {
|
|
10395
10673
|
data: GetOAuthUrlEnvelope | undefined;
|
|
10396
10674
|
error: TError | undefined;
|
|
@@ -10409,19 +10687,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
10409
10687
|
*/
|
|
10410
10688
|
declare const getGetSessionTokenUrl: () => string;
|
|
10411
10689
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionTokenEnvelope>;
|
|
10412
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
10690
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10413
10691
|
arg: GetSessionTokenBody;
|
|
10414
10692
|
}) => Promise<GetSessionTokenEnvelope>;
|
|
10415
10693
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
10416
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
10694
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$o<ReturnType<typeof getSessionToken>>>;
|
|
10417
10695
|
/**
|
|
10418
10696
|
* @summary Create or switch tenant session
|
|
10419
10697
|
*/
|
|
10420
10698
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10421
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10699
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$o<ReturnType<typeof getSessionToken>>> & {
|
|
10422
10700
|
swrKey?: string;
|
|
10423
10701
|
};
|
|
10424
|
-
request?: SecondParameter$
|
|
10702
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10425
10703
|
}) => {
|
|
10426
10704
|
isMutating: boolean;
|
|
10427
10705
|
trigger: swr_mutation.TriggerWithArgs<GetSessionTokenEnvelope, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -10437,16 +10715,16 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
10437
10715
|
declare const getGetPartnerJwksUrl: (partner: string) => string;
|
|
10438
10716
|
declare const getPartnerJwks: (partner: string, options?: RequestInit) => Promise<PartnerJwks>;
|
|
10439
10717
|
declare const getGetPartnerJwksKey: (partner: string) => readonly [`/.well-known/partners/${string}/jwks.json`];
|
|
10440
|
-
type GetPartnerJwksQueryResult = NonNullable<Awaited$
|
|
10718
|
+
type GetPartnerJwksQueryResult = NonNullable<Awaited$o<ReturnType<typeof getPartnerJwks>>>;
|
|
10441
10719
|
/**
|
|
10442
10720
|
* @summary Get partner JWKS
|
|
10443
10721
|
*/
|
|
10444
10722
|
declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: string, options?: {
|
|
10445
|
-
swr?: SWRConfiguration<Awaited$
|
|
10723
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getPartnerJwks>>, TError> & {
|
|
10446
10724
|
swrKey?: Key;
|
|
10447
10725
|
enabled?: boolean;
|
|
10448
10726
|
};
|
|
10449
|
-
request?: SecondParameter$
|
|
10727
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10450
10728
|
}) => {
|
|
10451
10729
|
data: PartnerJwks | undefined;
|
|
10452
10730
|
error: TError | undefined;
|
|
@@ -10461,19 +10739,19 @@ declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: st
|
|
|
10461
10739
|
*/
|
|
10462
10740
|
declare const getPartnerLaunchUrl: (params?: PartnerLaunchParams) => string;
|
|
10463
10741
|
declare const partnerLaunch: (params?: PartnerLaunchParams, options?: RequestInit) => Promise<unknown>;
|
|
10464
|
-
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$
|
|
10742
|
+
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, __: {
|
|
10465
10743
|
arg: Arguments;
|
|
10466
10744
|
}) => Promise<unknown>;
|
|
10467
10745
|
declare const getPartnerLaunchMutationKey: (params?: PartnerLaunchParams) => readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
10468
|
-
type PartnerLaunchMutationResult = NonNullable<Awaited$
|
|
10746
|
+
type PartnerLaunchMutationResult = NonNullable<Awaited$o<ReturnType<typeof partnerLaunch>>>;
|
|
10469
10747
|
/**
|
|
10470
10748
|
* @summary Partner launch (SSO)
|
|
10471
10749
|
*/
|
|
10472
10750
|
declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunchEnvelope | ErrorResponse>>(params?: PartnerLaunchParams, options?: {
|
|
10473
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10751
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof partnerLaunch>>, TError, Key, Arguments, Awaited$o<ReturnType<typeof partnerLaunch>>> & {
|
|
10474
10752
|
swrKey?: string;
|
|
10475
10753
|
};
|
|
10476
|
-
request?: SecondParameter$
|
|
10754
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10477
10755
|
}) => {
|
|
10478
10756
|
isMutating: boolean;
|
|
10479
10757
|
trigger: swr_mutation.TriggerWithOptionsArgs<unknown, TError, string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]], Arguments>;
|
|
@@ -10483,28 +10761,28 @@ declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunchEnvelope | Erro
|
|
|
10483
10761
|
swrKey: string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
10484
10762
|
};
|
|
10485
10763
|
|
|
10486
|
-
type AwaitedInput$
|
|
10487
|
-
type Awaited$
|
|
10488
|
-
type SecondParameter$
|
|
10764
|
+
type AwaitedInput$n<T> = PromiseLike<T> | T;
|
|
10765
|
+
type Awaited$n<O> = O extends AwaitedInput$n<infer T> ? T : never;
|
|
10766
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10489
10767
|
/**
|
|
10490
10768
|
* 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.
|
|
10491
10769
|
* @summary Create feedback on a call message
|
|
10492
10770
|
*/
|
|
10493
10771
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
10494
10772
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<CreateCallFeedbackEnvelope>;
|
|
10495
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
10773
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
10496
10774
|
arg: CreateFeedbackRequest;
|
|
10497
10775
|
}) => Promise<CreateCallFeedbackEnvelope>;
|
|
10498
10776
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
10499
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
10777
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$n<ReturnType<typeof createCallFeedback>>>;
|
|
10500
10778
|
/**
|
|
10501
10779
|
* @summary Create feedback on a call message
|
|
10502
10780
|
*/
|
|
10503
10781
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10504
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10782
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$n<ReturnType<typeof createCallFeedback>>> & {
|
|
10505
10783
|
swrKey?: string;
|
|
10506
10784
|
};
|
|
10507
|
-
request?: SecondParameter$
|
|
10785
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
10508
10786
|
}) => {
|
|
10509
10787
|
isMutating: boolean;
|
|
10510
10788
|
trigger: swr_mutation.TriggerWithArgs<CreateCallFeedbackEnvelope, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -10520,16 +10798,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
10520
10798
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
10521
10799
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<ListCallFeedbackEnvelope>;
|
|
10522
10800
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
10523
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
10801
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$n<ReturnType<typeof listCallFeedback>>>;
|
|
10524
10802
|
/**
|
|
10525
10803
|
* @summary List feedback for a call
|
|
10526
10804
|
*/
|
|
10527
10805
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
10528
|
-
swr?: SWRConfiguration<Awaited$
|
|
10806
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
10529
10807
|
swrKey?: Key;
|
|
10530
10808
|
enabled?: boolean;
|
|
10531
10809
|
};
|
|
10532
|
-
request?: SecondParameter$
|
|
10810
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
10533
10811
|
}) => {
|
|
10534
10812
|
data: ListCallFeedbackEnvelope | undefined;
|
|
10535
10813
|
error: TError | undefined;
|
|
@@ -10544,19 +10822,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
10544
10822
|
*/
|
|
10545
10823
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
10546
10824
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<DeleteCallFeedbackEnvelope>;
|
|
10547
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
10825
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, __: {
|
|
10548
10826
|
arg: Arguments;
|
|
10549
10827
|
}) => Promise<DeleteCallFeedbackEnvelope>;
|
|
10550
10828
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
10551
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
10829
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$n<ReturnType<typeof deleteCallFeedback>>>;
|
|
10552
10830
|
/**
|
|
10553
10831
|
* @summary Delete feedback
|
|
10554
10832
|
*/
|
|
10555
10833
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
10556
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10834
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$n<ReturnType<typeof deleteCallFeedback>>> & {
|
|
10557
10835
|
swrKey?: string;
|
|
10558
10836
|
};
|
|
10559
|
-
request?: SecondParameter$
|
|
10837
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
10560
10838
|
}) => {
|
|
10561
10839
|
isMutating: boolean;
|
|
10562
10840
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteCallFeedbackEnvelope, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -10566,9 +10844,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
10566
10844
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
10567
10845
|
};
|
|
10568
10846
|
|
|
10569
|
-
type AwaitedInput$
|
|
10570
|
-
type Awaited$
|
|
10571
|
-
type SecondParameter$
|
|
10847
|
+
type AwaitedInput$m<T> = PromiseLike<T> | T;
|
|
10848
|
+
type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
|
|
10849
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10572
10850
|
/**
|
|
10573
10851
|
* List all calls, with pagination, filtering, and sorting.
|
|
10574
10852
|
|
|
@@ -10594,16 +10872,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
10594
10872
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
10595
10873
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<ListCallsEnvelope>;
|
|
10596
10874
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
10597
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
10875
|
+
type ListCallsQueryResult = NonNullable<Awaited$m<ReturnType<typeof listCalls>>>;
|
|
10598
10876
|
/**
|
|
10599
10877
|
* @summary List calls
|
|
10600
10878
|
*/
|
|
10601
10879
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
10602
|
-
swr?: SWRConfiguration<Awaited$
|
|
10880
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof listCalls>>, TError> & {
|
|
10603
10881
|
swrKey?: Key;
|
|
10604
10882
|
enabled?: boolean;
|
|
10605
10883
|
};
|
|
10606
|
-
request?: SecondParameter$
|
|
10884
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10607
10885
|
}) => {
|
|
10608
10886
|
data: ListCallsEnvelope | undefined;
|
|
10609
10887
|
error: TError | undefined;
|
|
@@ -10621,16 +10899,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
10621
10899
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
10622
10900
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<GetCallEnvelope>;
|
|
10623
10901
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
10624
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
10902
|
+
type GetCallQueryResult = NonNullable<Awaited$m<ReturnType<typeof getCall>>>;
|
|
10625
10903
|
/**
|
|
10626
10904
|
* @summary Get call
|
|
10627
10905
|
*/
|
|
10628
10906
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
10629
|
-
swr?: SWRConfiguration<Awaited$
|
|
10907
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getCall>>, TError> & {
|
|
10630
10908
|
swrKey?: Key;
|
|
10631
10909
|
enabled?: boolean;
|
|
10632
10910
|
};
|
|
10633
|
-
request?: SecondParameter$
|
|
10911
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10634
10912
|
}) => {
|
|
10635
10913
|
data: GetCallEnvelope | undefined;
|
|
10636
10914
|
error: TError | undefined;
|
|
@@ -10646,16 +10924,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
10646
10924
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
10647
10925
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<GetCallEvaluationEnvelope>;
|
|
10648
10926
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
10649
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
10927
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$m<ReturnType<typeof getCallEvaluation>>>;
|
|
10650
10928
|
/**
|
|
10651
10929
|
* @summary Get call evaluation
|
|
10652
10930
|
*/
|
|
10653
10931
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10654
|
-
swr?: SWRConfiguration<Awaited$
|
|
10932
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
10655
10933
|
swrKey?: Key;
|
|
10656
10934
|
enabled?: boolean;
|
|
10657
10935
|
};
|
|
10658
|
-
request?: SecondParameter$
|
|
10936
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10659
10937
|
}) => {
|
|
10660
10938
|
data: GetCallEvaluationEnvelope | undefined;
|
|
10661
10939
|
error: TError | undefined;
|
|
@@ -10673,16 +10951,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
10673
10951
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
10674
10952
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<GetCallAnalyticsEnvelope>;
|
|
10675
10953
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
10676
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
10954
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$m<ReturnType<typeof getCallAnalytics>>>;
|
|
10677
10955
|
/**
|
|
10678
10956
|
* @summary Get call analytics
|
|
10679
10957
|
*/
|
|
10680
10958
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
10681
|
-
swr?: SWRConfiguration<Awaited$
|
|
10959
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
10682
10960
|
swrKey?: Key;
|
|
10683
10961
|
enabled?: boolean;
|
|
10684
10962
|
};
|
|
10685
|
-
request?: SecondParameter$
|
|
10963
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10686
10964
|
}) => {
|
|
10687
10965
|
data: GetCallAnalyticsEnvelope | undefined;
|
|
10688
10966
|
error: TError | undefined;
|
|
@@ -10692,9 +10970,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
10692
10970
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
10693
10971
|
};
|
|
10694
10972
|
|
|
10695
|
-
type AwaitedInput$
|
|
10696
|
-
type Awaited$
|
|
10697
|
-
type SecondParameter$
|
|
10973
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
10974
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
10975
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10698
10976
|
/**
|
|
10699
10977
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
10700
10978
|
* @summary List cases
|
|
@@ -10702,16 +10980,16 @@ type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
10702
10980
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
10703
10981
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<ListCasesEnvelope>;
|
|
10704
10982
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
10705
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
10983
|
+
type ListCasesQueryResult = NonNullable<Awaited$l<ReturnType<typeof listCases>>>;
|
|
10706
10984
|
/**
|
|
10707
10985
|
* @summary List cases
|
|
10708
10986
|
*/
|
|
10709
10987
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
10710
|
-
swr?: SWRConfiguration<Awaited$
|
|
10988
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listCases>>, TError> & {
|
|
10711
10989
|
swrKey?: Key;
|
|
10712
10990
|
enabled?: boolean;
|
|
10713
10991
|
};
|
|
10714
|
-
request?: SecondParameter$
|
|
10992
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10715
10993
|
}) => {
|
|
10716
10994
|
data: ListCasesEnvelope | undefined;
|
|
10717
10995
|
error: TError | undefined;
|
|
@@ -10728,19 +11006,19 @@ Case ids are tenant-scoped opaque keys (e.g. "clm-1", "STD-001") and are normali
|
|
|
10728
11006
|
*/
|
|
10729
11007
|
declare const getCreateCaseUrl: () => string;
|
|
10730
11008
|
declare const createCase: (createCaseBody: CreateCaseBody, options?: RequestInit) => Promise<CreateCaseEnvelope>;
|
|
10731
|
-
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$
|
|
11009
|
+
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
10732
11010
|
arg: CreateCaseBody;
|
|
10733
11011
|
}) => Promise<CreateCaseEnvelope>;
|
|
10734
11012
|
declare const getCreateCaseMutationKey: () => readonly ["/v1/cases"];
|
|
10735
|
-
type CreateCaseMutationResult = NonNullable<Awaited$
|
|
11013
|
+
type CreateCaseMutationResult = NonNullable<Awaited$l<ReturnType<typeof createCase>>>;
|
|
10736
11014
|
/**
|
|
10737
11015
|
* @summary Create case
|
|
10738
11016
|
*/
|
|
10739
11017
|
declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10740
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11018
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof createCase>>, TError, Key, CreateCaseBody, Awaited$l<ReturnType<typeof createCase>>> & {
|
|
10741
11019
|
swrKey?: string;
|
|
10742
11020
|
};
|
|
10743
|
-
request?: SecondParameter$
|
|
11021
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10744
11022
|
}) => {
|
|
10745
11023
|
isMutating: boolean;
|
|
10746
11024
|
trigger: swr_mutation.TriggerWithArgs<CreateCaseEnvelope, TError, string | readonly ["/v1/cases"], CreateCaseBody>;
|
|
@@ -10756,16 +11034,16 @@ declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10756
11034
|
declare const getSearchCasesUrl: (params: SearchCasesParams) => string;
|
|
10757
11035
|
declare const searchCases: (params: SearchCasesParams, options?: RequestInit) => Promise<SearchCasesEnvelope>;
|
|
10758
11036
|
declare const getSearchCasesKey: (params: SearchCasesParams) => readonly ["/v1/cases/search", ...SearchCasesParams[]];
|
|
10759
|
-
type SearchCasesQueryResult = NonNullable<Awaited$
|
|
11037
|
+
type SearchCasesQueryResult = NonNullable<Awaited$l<ReturnType<typeof searchCases>>>;
|
|
10760
11038
|
/**
|
|
10761
11039
|
* @summary Search cases
|
|
10762
11040
|
*/
|
|
10763
11041
|
declare const useSearchCases: <TError = ErrorType<ErrorResponse>>(params: SearchCasesParams, options?: {
|
|
10764
|
-
swr?: SWRConfiguration<Awaited$
|
|
11042
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof searchCases>>, TError> & {
|
|
10765
11043
|
swrKey?: Key;
|
|
10766
11044
|
enabled?: boolean;
|
|
10767
11045
|
};
|
|
10768
|
-
request?: SecondParameter$
|
|
11046
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10769
11047
|
}) => {
|
|
10770
11048
|
data: SearchCasesEnvelope | undefined;
|
|
10771
11049
|
error: TError | undefined;
|
|
@@ -10784,16 +11062,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
10784
11062
|
declare const getGetCaseUrl: (id: string) => string;
|
|
10785
11063
|
declare const getCase: (id: string, options?: RequestInit) => Promise<GetCaseEnvelope>;
|
|
10786
11064
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
10787
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
11065
|
+
type GetCaseQueryResult = NonNullable<Awaited$l<ReturnType<typeof getCase>>>;
|
|
10788
11066
|
/**
|
|
10789
11067
|
* @summary Get case
|
|
10790
11068
|
*/
|
|
10791
11069
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10792
|
-
swr?: SWRConfiguration<Awaited$
|
|
11070
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getCase>>, TError> & {
|
|
10793
11071
|
swrKey?: Key;
|
|
10794
11072
|
enabled?: boolean;
|
|
10795
11073
|
};
|
|
10796
|
-
request?: SecondParameter$
|
|
11074
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10797
11075
|
}) => {
|
|
10798
11076
|
data: GetCaseEnvelope | undefined;
|
|
10799
11077
|
error: TError | undefined;
|
|
@@ -10803,26 +11081,26 @@ declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
10803
11081
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
10804
11082
|
};
|
|
10805
11083
|
/**
|
|
10806
|
-
* Link one or more entities (artifacts, calls, chats, emails, extracts, schedules, worker runs) to a case.
|
|
11084
|
+
* Link one or more entities (artifacts, calls, chats, emails, extracts, information requests, schedules, worker runs) to a case.
|
|
10807
11085
|
|
|
10808
11086
|
The case and every entity must already exist in the tenant — unknown ids return 404 and nothing is created. Adding is idempotent: re-linking an already linked entity returns the existing link with its original `created_at`.
|
|
10809
11087
|
* @summary Add case links
|
|
10810
11088
|
*/
|
|
10811
11089
|
declare const getAddCaseLinksUrl: (id: string) => string;
|
|
10812
11090
|
declare const addCaseLinks: (id: string, addCaseLinksBody: AddCaseLinksBody, options?: RequestInit) => Promise<AddCaseLinksEnvelope>;
|
|
10813
|
-
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$
|
|
11091
|
+
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
10814
11092
|
arg: AddCaseLinksBody;
|
|
10815
11093
|
}) => Promise<AddCaseLinksEnvelope>;
|
|
10816
11094
|
declare const getAddCaseLinksMutationKey: (id: string) => readonly [`/v1/cases/${string}/links`];
|
|
10817
|
-
type AddCaseLinksMutationResult = NonNullable<Awaited$
|
|
11095
|
+
type AddCaseLinksMutationResult = NonNullable<Awaited$l<ReturnType<typeof addCaseLinks>>>;
|
|
10818
11096
|
/**
|
|
10819
11097
|
* @summary Add case links
|
|
10820
11098
|
*/
|
|
10821
11099
|
declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10822
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11100
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof addCaseLinks>>, TError, Key, AddCaseLinksBody, Awaited$l<ReturnType<typeof addCaseLinks>>> & {
|
|
10823
11101
|
swrKey?: string;
|
|
10824
11102
|
};
|
|
10825
|
-
request?: SecondParameter$
|
|
11103
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10826
11104
|
}) => {
|
|
10827
11105
|
isMutating: boolean;
|
|
10828
11106
|
trigger: swr_mutation.TriggerWithArgs<AddCaseLinksEnvelope, TError, string | readonly [`/v1/cases/${string}/links`], AddCaseLinksBody>;
|
|
@@ -10838,16 +11116,16 @@ declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
10838
11116
|
declare const getListCaseLinksUrl: (id: string, params?: ListCaseLinksParams) => string;
|
|
10839
11117
|
declare const listCaseLinks: (id: string, params?: ListCaseLinksParams, options?: RequestInit) => Promise<ListCaseLinksEnvelope>;
|
|
10840
11118
|
declare const getListCaseLinksKey: (id: string, params?: ListCaseLinksParams) => readonly [`/v1/cases/${string}/links`, ...ListCaseLinksParams[]];
|
|
10841
|
-
type ListCaseLinksQueryResult = NonNullable<Awaited$
|
|
11119
|
+
type ListCaseLinksQueryResult = NonNullable<Awaited$l<ReturnType<typeof listCaseLinks>>>;
|
|
10842
11120
|
/**
|
|
10843
11121
|
* @summary List case links
|
|
10844
11122
|
*/
|
|
10845
11123
|
declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCaseLinksParams, options?: {
|
|
10846
|
-
swr?: SWRConfiguration<Awaited$
|
|
11124
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listCaseLinks>>, TError> & {
|
|
10847
11125
|
swrKey?: Key;
|
|
10848
11126
|
enabled?: boolean;
|
|
10849
11127
|
};
|
|
10850
|
-
request?: SecondParameter$
|
|
11128
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10851
11129
|
}) => {
|
|
10852
11130
|
data: ListCaseLinksEnvelope | undefined;
|
|
10853
11131
|
error: TError | undefined;
|
|
@@ -10860,52 +11138,52 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
10860
11138
|
* Remove the link between a case and an entity. Removal is idempotent: removing a link that does not exist succeeds without effect.
|
|
10861
11139
|
* @summary Remove case link
|
|
10862
11140
|
*/
|
|
10863
|
-
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string) => string;
|
|
10864
|
-
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkEnvelope>;
|
|
10865
|
-
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: SecondParameter$
|
|
11141
|
+
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string) => string;
|
|
11142
|
+
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkEnvelope>;
|
|
11143
|
+
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, __: {
|
|
10866
11144
|
arg: Arguments;
|
|
10867
11145
|
}) => Promise<RemoveCaseLinkEnvelope>;
|
|
10868
|
-
declare const getRemoveCaseLinkMutationKey: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string) => readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
10869
|
-
type RemoveCaseLinkMutationResult = NonNullable<Awaited$
|
|
11146
|
+
declare const getRemoveCaseLinkMutationKey: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string) => readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/information_request/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
11147
|
+
type RemoveCaseLinkMutationResult = NonNullable<Awaited$l<ReturnType<typeof removeCaseLink>>>;
|
|
10870
11148
|
/**
|
|
10871
11149
|
* @summary Remove case link
|
|
10872
11150
|
*/
|
|
10873
|
-
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: {
|
|
10874
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11151
|
+
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string, options?: {
|
|
11152
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$l<ReturnType<typeof removeCaseLink>>> & {
|
|
10875
11153
|
swrKey?: string;
|
|
10876
11154
|
};
|
|
10877
|
-
request?: SecondParameter$
|
|
11155
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10878
11156
|
}) => {
|
|
10879
11157
|
isMutating: boolean;
|
|
10880
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkEnvelope, TError, string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`], Arguments>;
|
|
11158
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkEnvelope, TError, string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/information_request/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`], Arguments>;
|
|
10881
11159
|
reset: () => void;
|
|
10882
11160
|
error: TError | undefined;
|
|
10883
11161
|
data: RemoveCaseLinkEnvelope | undefined;
|
|
10884
|
-
swrKey: string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
11162
|
+
swrKey: string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/information_request/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
10885
11163
|
};
|
|
10886
11164
|
|
|
10887
|
-
type AwaitedInput$
|
|
10888
|
-
type Awaited$
|
|
10889
|
-
type SecondParameter$
|
|
11165
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
11166
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
11167
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10890
11168
|
/**
|
|
10891
11169
|
* Create a new chat agent with a name and prompt.
|
|
10892
11170
|
* @summary Create chat agent
|
|
10893
11171
|
*/
|
|
10894
11172
|
declare const getCreateChatAgentUrl: () => string;
|
|
10895
11173
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<CreateChatAgentEnvelope>;
|
|
10896
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
11174
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
10897
11175
|
arg: CreateChatAgentBody;
|
|
10898
11176
|
}) => Promise<CreateChatAgentEnvelope>;
|
|
10899
11177
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
10900
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
11178
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$k<ReturnType<typeof createChatAgent>>>;
|
|
10901
11179
|
/**
|
|
10902
11180
|
* @summary Create chat agent
|
|
10903
11181
|
*/
|
|
10904
11182
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10905
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11183
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$k<ReturnType<typeof createChatAgent>>> & {
|
|
10906
11184
|
swrKey?: string;
|
|
10907
11185
|
};
|
|
10908
|
-
request?: SecondParameter$
|
|
11186
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10909
11187
|
}) => {
|
|
10910
11188
|
isMutating: boolean;
|
|
10911
11189
|
trigger: swr_mutation.TriggerWithArgs<CreateChatAgentEnvelope, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -10921,16 +11199,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
10921
11199
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
10922
11200
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ListChatAgentsEnvelope>;
|
|
10923
11201
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
10924
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
11202
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$k<ReturnType<typeof listChatAgents>>>;
|
|
10925
11203
|
/**
|
|
10926
11204
|
* @summary List chat agents
|
|
10927
11205
|
*/
|
|
10928
11206
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
10929
|
-
swr?: SWRConfiguration<Awaited$
|
|
11207
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listChatAgents>>, TError> & {
|
|
10930
11208
|
swrKey?: Key;
|
|
10931
11209
|
enabled?: boolean;
|
|
10932
11210
|
};
|
|
10933
|
-
request?: SecondParameter$
|
|
11211
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10934
11212
|
}) => {
|
|
10935
11213
|
data: ListChatAgentsEnvelope | undefined;
|
|
10936
11214
|
error: TError | undefined;
|
|
@@ -10946,16 +11224,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
10946
11224
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
10947
11225
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<GetChatAgentEnvelope>;
|
|
10948
11226
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10949
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
11227
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$k<ReturnType<typeof getChatAgent>>>;
|
|
10950
11228
|
/**
|
|
10951
11229
|
* @summary Get chat agent
|
|
10952
11230
|
*/
|
|
10953
11231
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10954
|
-
swr?: SWRConfiguration<Awaited$
|
|
11232
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getChatAgent>>, TError> & {
|
|
10955
11233
|
swrKey?: Key;
|
|
10956
11234
|
enabled?: boolean;
|
|
10957
11235
|
};
|
|
10958
|
-
request?: SecondParameter$
|
|
11236
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10959
11237
|
}) => {
|
|
10960
11238
|
data: GetChatAgentEnvelope | undefined;
|
|
10961
11239
|
error: TError | undefined;
|
|
@@ -10970,19 +11248,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
10970
11248
|
*/
|
|
10971
11249
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
10972
11250
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<UpdateChatAgentEnvelope>;
|
|
10973
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
11251
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
10974
11252
|
arg: UpdateChatAgentRequest;
|
|
10975
11253
|
}) => Promise<UpdateChatAgentEnvelope>;
|
|
10976
11254
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10977
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
11255
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$k<ReturnType<typeof updateChatAgent>>>;
|
|
10978
11256
|
/**
|
|
10979
11257
|
* @summary Update chat agent
|
|
10980
11258
|
*/
|
|
10981
11259
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10982
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11260
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$k<ReturnType<typeof updateChatAgent>>> & {
|
|
10983
11261
|
swrKey?: string;
|
|
10984
11262
|
};
|
|
10985
|
-
request?: SecondParameter$
|
|
11263
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10986
11264
|
}) => {
|
|
10987
11265
|
isMutating: boolean;
|
|
10988
11266
|
trigger: swr_mutation.TriggerWithArgs<UpdateChatAgentEnvelope, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -10997,19 +11275,19 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
10997
11275
|
*/
|
|
10998
11276
|
declare const getDeleteChatAgentUrl: (chatAgentId: string) => string;
|
|
10999
11277
|
declare const deleteChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<DeleteChatAgentEnvelope>;
|
|
11000
|
-
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
11278
|
+
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, __: {
|
|
11001
11279
|
arg: Arguments;
|
|
11002
11280
|
}) => Promise<DeleteChatAgentEnvelope>;
|
|
11003
11281
|
declare const getDeleteChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
11004
|
-
type DeleteChatAgentMutationResult = NonNullable<Awaited$
|
|
11282
|
+
type DeleteChatAgentMutationResult = NonNullable<Awaited$k<ReturnType<typeof deleteChatAgent>>>;
|
|
11005
11283
|
/**
|
|
11006
11284
|
* @summary Delete chat agent
|
|
11007
11285
|
*/
|
|
11008
11286
|
declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11009
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11287
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof deleteChatAgent>>, TError, Key, Arguments, Awaited$k<ReturnType<typeof deleteChatAgent>>> & {
|
|
11010
11288
|
swrKey?: string;
|
|
11011
11289
|
};
|
|
11012
|
-
request?: SecondParameter$
|
|
11290
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
11013
11291
|
}) => {
|
|
11014
11292
|
isMutating: boolean;
|
|
11015
11293
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteChatAgentEnvelope, TError, string | readonly [`/v1/chat-agents/${string}`], Arguments>;
|
|
@@ -11025,16 +11303,16 @@ declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
11025
11303
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
11026
11304
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<GetChatAgentPromptEnvelope>;
|
|
11027
11305
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
11028
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
11306
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$k<ReturnType<typeof getChatAgentPrompt>>>;
|
|
11029
11307
|
/**
|
|
11030
11308
|
* @summary Get chat agent prompt
|
|
11031
11309
|
*/
|
|
11032
11310
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11033
|
-
swr?: SWRConfiguration<Awaited$
|
|
11311
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
11034
11312
|
swrKey?: Key;
|
|
11035
11313
|
enabled?: boolean;
|
|
11036
11314
|
};
|
|
11037
|
-
request?: SecondParameter$
|
|
11315
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
11038
11316
|
}) => {
|
|
11039
11317
|
data: GetChatAgentPromptEnvelope | undefined;
|
|
11040
11318
|
error: TError | undefined;
|
|
@@ -11049,19 +11327,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
11049
11327
|
*/
|
|
11050
11328
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
11051
11329
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<UpdateChatAgentPromptEnvelope>;
|
|
11052
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
11330
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
11053
11331
|
arg: UpdateChatAgentPromptBody;
|
|
11054
11332
|
}) => Promise<UpdateChatAgentPromptEnvelope>;
|
|
11055
11333
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
11056
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
11334
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$k<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
11057
11335
|
/**
|
|
11058
11336
|
* @summary Update chat agent prompt
|
|
11059
11337
|
*/
|
|
11060
11338
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11061
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11339
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$k<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
11062
11340
|
swrKey?: string;
|
|
11063
11341
|
};
|
|
11064
|
-
request?: SecondParameter$
|
|
11342
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
11065
11343
|
}) => {
|
|
11066
11344
|
isMutating: boolean;
|
|
11067
11345
|
trigger: swr_mutation.TriggerWithArgs<UpdateChatAgentPromptEnvelope, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -11071,28 +11349,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
11071
11349
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
11072
11350
|
};
|
|
11073
11351
|
|
|
11074
|
-
type AwaitedInput$
|
|
11075
|
-
type Awaited$
|
|
11076
|
-
type SecondParameter$
|
|
11352
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
11353
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
11354
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11077
11355
|
/**
|
|
11078
11356
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
11079
11357
|
* @summary Create a chat
|
|
11080
11358
|
*/
|
|
11081
11359
|
declare const getCreateChatUrl: () => string;
|
|
11082
11360
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<CreateChatEnvelope>;
|
|
11083
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
11361
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
11084
11362
|
arg: CreateChatBody;
|
|
11085
11363
|
}) => Promise<CreateChatEnvelope>;
|
|
11086
11364
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
11087
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
11365
|
+
type CreateChatMutationResult = NonNullable<Awaited$j<ReturnType<typeof createChat>>>;
|
|
11088
11366
|
/**
|
|
11089
11367
|
* @summary Create a chat
|
|
11090
11368
|
*/
|
|
11091
11369
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11092
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11370
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$j<ReturnType<typeof createChat>>> & {
|
|
11093
11371
|
swrKey?: string;
|
|
11094
11372
|
};
|
|
11095
|
-
request?: SecondParameter$
|
|
11373
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11096
11374
|
}) => {
|
|
11097
11375
|
isMutating: boolean;
|
|
11098
11376
|
trigger: swr_mutation.TriggerWithArgs<CreateChatEnvelope, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -11111,16 +11389,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11111
11389
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
11112
11390
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<GetChatEnvelope>;
|
|
11113
11391
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
11114
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
11392
|
+
type GetChatQueryResult = NonNullable<Awaited$j<ReturnType<typeof getChat>>>;
|
|
11115
11393
|
/**
|
|
11116
11394
|
* @summary Get a chat
|
|
11117
11395
|
*/
|
|
11118
11396
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
11119
|
-
swr?: SWRConfiguration<Awaited$
|
|
11397
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getChat>>, TError> & {
|
|
11120
11398
|
swrKey?: Key;
|
|
11121
11399
|
enabled?: boolean;
|
|
11122
11400
|
};
|
|
11123
|
-
request?: SecondParameter$
|
|
11401
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11124
11402
|
}) => {
|
|
11125
11403
|
data: GetChatEnvelope | undefined;
|
|
11126
11404
|
error: TError | undefined;
|
|
@@ -11136,16 +11414,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
11136
11414
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
11137
11415
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<GetPublicChatAgentEnvelope>;
|
|
11138
11416
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
11139
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
11417
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$j<ReturnType<typeof getPublicChatAgent>>>;
|
|
11140
11418
|
/**
|
|
11141
11419
|
* @summary Get a chat agent (public)
|
|
11142
11420
|
*/
|
|
11143
11421
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11144
|
-
swr?: SWRConfiguration<Awaited$
|
|
11422
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
11145
11423
|
swrKey?: Key;
|
|
11146
11424
|
enabled?: boolean;
|
|
11147
11425
|
};
|
|
11148
|
-
request?: SecondParameter$
|
|
11426
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11149
11427
|
}) => {
|
|
11150
11428
|
data: GetPublicChatAgentEnvelope | undefined;
|
|
11151
11429
|
error: TError | undefined;
|
|
@@ -11163,19 +11441,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11163
11441
|
*/
|
|
11164
11442
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
11165
11443
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<PostChatMessageEnvelope>;
|
|
11166
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
11444
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
11167
11445
|
arg: PostChatMessageBody;
|
|
11168
11446
|
}) => Promise<PostChatMessageEnvelope>;
|
|
11169
11447
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
11170
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
11448
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$j<ReturnType<typeof postChatMessage>>>;
|
|
11171
11449
|
/**
|
|
11172
11450
|
* @summary Post a message to a chat
|
|
11173
11451
|
*/
|
|
11174
11452
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
11175
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11453
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$j<ReturnType<typeof postChatMessage>>> & {
|
|
11176
11454
|
swrKey?: string;
|
|
11177
11455
|
};
|
|
11178
|
-
request?: SecondParameter$
|
|
11456
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11179
11457
|
}) => {
|
|
11180
11458
|
isMutating: boolean;
|
|
11181
11459
|
trigger: swr_mutation.TriggerWithArgs<PostChatMessageEnvelope, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -11191,16 +11469,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
11191
11469
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
11192
11470
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ListChatsEnvelope>;
|
|
11193
11471
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
11194
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
11472
|
+
type ListChatsQueryResult = NonNullable<Awaited$j<ReturnType<typeof listChats>>>;
|
|
11195
11473
|
/**
|
|
11196
11474
|
* @summary List chats
|
|
11197
11475
|
*/
|
|
11198
11476
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
11199
|
-
swr?: SWRConfiguration<Awaited$
|
|
11477
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listChats>>, TError> & {
|
|
11200
11478
|
swrKey?: Key;
|
|
11201
11479
|
enabled?: boolean;
|
|
11202
11480
|
};
|
|
11203
|
-
request?: SecondParameter$
|
|
11481
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11204
11482
|
}) => {
|
|
11205
11483
|
data: ListChatsEnvelope | undefined;
|
|
11206
11484
|
error: TError | undefined;
|
|
@@ -11216,16 +11494,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
11216
11494
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
11217
11495
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ListChatMessagesEnvelope>;
|
|
11218
11496
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
11219
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
11497
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$j<ReturnType<typeof listChatMessages>>>;
|
|
11220
11498
|
/**
|
|
11221
11499
|
* @summary List chat messages
|
|
11222
11500
|
*/
|
|
11223
11501
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
11224
|
-
swr?: SWRConfiguration<Awaited$
|
|
11502
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listChatMessages>>, TError> & {
|
|
11225
11503
|
swrKey?: Key;
|
|
11226
11504
|
enabled?: boolean;
|
|
11227
11505
|
};
|
|
11228
|
-
request?: SecondParameter$
|
|
11506
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11229
11507
|
}) => {
|
|
11230
11508
|
data: ListChatMessagesEnvelope | undefined;
|
|
11231
11509
|
error: TError | undefined;
|
|
@@ -11235,13 +11513,13 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
11235
11513
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11236
11514
|
};
|
|
11237
11515
|
|
|
11238
|
-
type AwaitedInput$
|
|
11239
|
-
type Awaited$
|
|
11240
|
-
type SecondParameter$
|
|
11516
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
11517
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
11518
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11241
11519
|
/**
|
|
11242
11520
|
* List the organization's dispatches, newest occurrence first.
|
|
11243
11521
|
|
|
11244
|
-
A dispatch is one occurrence of a trigger in one environment, carried out on its own: a schedule produces one per environment it runs in every time it fires,
|
|
11522
|
+
A dispatch is one occurrence of a trigger in one environment, carried out on its own: a schedule produces one per environment it runs in every time it fires, an inbound email produces one for the environment its inbox received it in, and a resolved information request produces one that restarts the worker that asked. Listing them shows what a trigger has actually done, including occurrences that never produced anything.
|
|
11245
11523
|
|
|
11246
11524
|
- `pending` — not carried out yet: waiting to be picked up, in flight, or waiting on a retry after an earlier pickup did not complete.
|
|
11247
11525
|
- `dispatched` — carried out.
|
|
@@ -11251,22 +11529,22 @@ A dispatch is one occurrence of a trigger in one environment, carried out on its
|
|
|
11251
11529
|
|
|
11252
11530
|
`target` is what the occurrence produced — a worker run, or an extractor job for an email whose inbox extracts. It is null until the dispatch is carried out, and stays null on one that was abandoned.
|
|
11253
11531
|
|
|
11254
|
-
Narrow to one trigger with `trigger_type` and `trigger_id` — the schedule's ID for a schedule, the email's ID for an email. `trigger_id` requires `trigger_type`.
|
|
11532
|
+
Narrow to one trigger with `trigger_type` and `trigger_id` — the schedule's ID for a schedule, the email's ID for an email, the request's ID for an information request. `trigger_id` requires `trigger_type`.
|
|
11255
11533
|
* @summary List dispatches
|
|
11256
11534
|
*/
|
|
11257
11535
|
declare const getListDispatchesUrl: (params?: ListDispatchesParams) => string;
|
|
11258
11536
|
declare const listDispatches: (params?: ListDispatchesParams, options?: RequestInit) => Promise<ListDispatchesEnvelope>;
|
|
11259
11537
|
declare const getListDispatchesKey: (params?: ListDispatchesParams) => readonly ["/v1/dispatches", ...ListDispatchesParams[]];
|
|
11260
|
-
type ListDispatchesQueryResult = NonNullable<Awaited$
|
|
11538
|
+
type ListDispatchesQueryResult = NonNullable<Awaited$i<ReturnType<typeof listDispatches>>>;
|
|
11261
11539
|
/**
|
|
11262
11540
|
* @summary List dispatches
|
|
11263
11541
|
*/
|
|
11264
11542
|
declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: ListDispatchesParams, options?: {
|
|
11265
|
-
swr?: SWRConfiguration<Awaited$
|
|
11543
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listDispatches>>, TError> & {
|
|
11266
11544
|
swrKey?: Key;
|
|
11267
11545
|
enabled?: boolean;
|
|
11268
11546
|
};
|
|
11269
|
-
request?: SecondParameter$
|
|
11547
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
11270
11548
|
}) => {
|
|
11271
11549
|
data: ListDispatchesEnvelope | undefined;
|
|
11272
11550
|
error: TError | undefined;
|
|
@@ -11276,9 +11554,9 @@ declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
11276
11554
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11277
11555
|
};
|
|
11278
11556
|
|
|
11279
|
-
type AwaitedInput$
|
|
11280
|
-
type Awaited$
|
|
11281
|
-
type SecondParameter$
|
|
11557
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
11558
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
11559
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11282
11560
|
/**
|
|
11283
11561
|
* Retrieve detailed information about a specific email, including full body content.
|
|
11284
11562
|
* @summary Get email
|
|
@@ -11286,16 +11564,16 @@ type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
11286
11564
|
declare const getGetEmailUrl: (emailId: string) => string;
|
|
11287
11565
|
declare const getEmail: (emailId: string, options?: RequestInit) => Promise<GetEmailEnvelope>;
|
|
11288
11566
|
declare const getGetEmailKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
11289
|
-
type GetEmailQueryResult = NonNullable<Awaited$
|
|
11567
|
+
type GetEmailQueryResult = NonNullable<Awaited$h<ReturnType<typeof getEmail>>>;
|
|
11290
11568
|
/**
|
|
11291
11569
|
* @summary Get email
|
|
11292
11570
|
*/
|
|
11293
11571
|
declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11294
|
-
swr?: SWRConfiguration<Awaited$
|
|
11572
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getEmail>>, TError> & {
|
|
11295
11573
|
swrKey?: Key;
|
|
11296
11574
|
enabled?: boolean;
|
|
11297
11575
|
};
|
|
11298
|
-
request?: SecondParameter$
|
|
11576
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11299
11577
|
}) => {
|
|
11300
11578
|
data: GetEmailEnvelope | undefined;
|
|
11301
11579
|
error: TError | undefined;
|
|
@@ -11310,19 +11588,19 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
11310
11588
|
*/
|
|
11311
11589
|
declare const getDeleteEmailUrl: (emailId: string) => string;
|
|
11312
11590
|
declare const deleteEmail: (emailId: string, options?: RequestInit) => Promise<DeleteEmailEnvelope>;
|
|
11313
|
-
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
11591
|
+
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
11314
11592
|
arg: Arguments;
|
|
11315
11593
|
}) => Promise<DeleteEmailEnvelope>;
|
|
11316
11594
|
declare const getDeleteEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
11317
|
-
type DeleteEmailMutationResult = NonNullable<Awaited$
|
|
11595
|
+
type DeleteEmailMutationResult = NonNullable<Awaited$h<ReturnType<typeof deleteEmail>>>;
|
|
11318
11596
|
/**
|
|
11319
11597
|
* @summary Delete email
|
|
11320
11598
|
*/
|
|
11321
11599
|
declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11322
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11600
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof deleteEmail>>, TError, Key, Arguments, Awaited$h<ReturnType<typeof deleteEmail>>> & {
|
|
11323
11601
|
swrKey?: string;
|
|
11324
11602
|
};
|
|
11325
|
-
request?: SecondParameter$
|
|
11603
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11326
11604
|
}) => {
|
|
11327
11605
|
isMutating: boolean;
|
|
11328
11606
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteEmailEnvelope, TError, string | readonly [`/v1/emails/${string}`], Arguments>;
|
|
@@ -11342,16 +11620,16 @@ Filter by email agent, sender, recipient, content search, or case.
|
|
|
11342
11620
|
declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
|
|
11343
11621
|
declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<ListEmailsEnvelope>;
|
|
11344
11622
|
declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
|
|
11345
|
-
type ListEmailsQueryResult = NonNullable<Awaited$
|
|
11623
|
+
type ListEmailsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listEmails>>>;
|
|
11346
11624
|
/**
|
|
11347
11625
|
* @summary List emails
|
|
11348
11626
|
*/
|
|
11349
11627
|
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
|
|
11350
|
-
swr?: SWRConfiguration<Awaited$
|
|
11628
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listEmails>>, TError> & {
|
|
11351
11629
|
swrKey?: Key;
|
|
11352
11630
|
enabled?: boolean;
|
|
11353
11631
|
};
|
|
11354
|
-
request?: SecondParameter$
|
|
11632
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11355
11633
|
}) => {
|
|
11356
11634
|
data: ListEmailsEnvelope | undefined;
|
|
11357
11635
|
error: TError | undefined;
|
|
@@ -11371,16 +11649,16 @@ Filter by inbox or environment. Without an `environment` filter, live and test t
|
|
|
11371
11649
|
declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
|
|
11372
11650
|
declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<ListEmailThreadsEnvelope>;
|
|
11373
11651
|
declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
|
|
11374
|
-
type ListEmailThreadsQueryResult = NonNullable<Awaited$
|
|
11652
|
+
type ListEmailThreadsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listEmailThreads>>>;
|
|
11375
11653
|
/**
|
|
11376
11654
|
* @summary List email threads
|
|
11377
11655
|
*/
|
|
11378
11656
|
declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
|
|
11379
|
-
swr?: SWRConfiguration<Awaited$
|
|
11657
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listEmailThreads>>, TError> & {
|
|
11380
11658
|
swrKey?: Key;
|
|
11381
11659
|
enabled?: boolean;
|
|
11382
11660
|
};
|
|
11383
|
-
request?: SecondParameter$
|
|
11661
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11384
11662
|
}) => {
|
|
11385
11663
|
data: ListEmailThreadsEnvelope | undefined;
|
|
11386
11664
|
error: TError | undefined;
|
|
@@ -11399,19 +11677,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
11399
11677
|
*/
|
|
11400
11678
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
11401
11679
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<ReplyToEmailEnvelope>;
|
|
11402
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
11680
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
11403
11681
|
arg: ReplyToEmailBody;
|
|
11404
11682
|
}) => Promise<ReplyToEmailEnvelope>;
|
|
11405
11683
|
declare const getReplyToEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}/reply`];
|
|
11406
|
-
type ReplyToEmailMutationResult = NonNullable<Awaited$
|
|
11684
|
+
type ReplyToEmailMutationResult = NonNullable<Awaited$h<ReturnType<typeof replyToEmail>>>;
|
|
11407
11685
|
/**
|
|
11408
11686
|
* @summary Reply to email
|
|
11409
11687
|
*/
|
|
11410
11688
|
declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11411
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11689
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited$h<ReturnType<typeof replyToEmail>>> & {
|
|
11412
11690
|
swrKey?: string;
|
|
11413
11691
|
};
|
|
11414
|
-
request?: SecondParameter$
|
|
11692
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11415
11693
|
}) => {
|
|
11416
11694
|
isMutating: boolean;
|
|
11417
11695
|
trigger: swr_mutation.TriggerWithArgs<ReplyToEmailEnvelope, TError, string | readonly [`/v1/emails/${string}/reply`], ReplyToEmailBody>;
|
|
@@ -11428,19 +11706,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
11428
11706
|
*/
|
|
11429
11707
|
declare const getSendEmailUrl: () => string;
|
|
11430
11708
|
declare const sendEmail: (sendEmailBody: SendEmailBody, options?: RequestInit) => Promise<SendEmailEnvelope>;
|
|
11431
|
-
declare const getSendEmailMutationFetcher: (options?: SecondParameter$
|
|
11709
|
+
declare const getSendEmailMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
11432
11710
|
arg: SendEmailBody;
|
|
11433
11711
|
}) => Promise<SendEmailEnvelope>;
|
|
11434
11712
|
declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
|
|
11435
|
-
type SendEmailMutationResult = NonNullable<Awaited$
|
|
11713
|
+
type SendEmailMutationResult = NonNullable<Awaited$h<ReturnType<typeof sendEmail>>>;
|
|
11436
11714
|
/**
|
|
11437
11715
|
* @summary Send email
|
|
11438
11716
|
*/
|
|
11439
11717
|
declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11440
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11718
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited$h<ReturnType<typeof sendEmail>>> & {
|
|
11441
11719
|
swrKey?: string;
|
|
11442
11720
|
};
|
|
11443
|
-
request?: SecondParameter$
|
|
11721
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11444
11722
|
}) => {
|
|
11445
11723
|
isMutating: boolean;
|
|
11446
11724
|
trigger: swr_mutation.TriggerWithArgs<SendEmailEnvelope, TError, string | readonly ["/v1/emails/send"], SendEmailBody>;
|
|
@@ -11450,9 +11728,9 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
11450
11728
|
swrKey: string | readonly ["/v1/emails/send"];
|
|
11451
11729
|
};
|
|
11452
11730
|
|
|
11453
|
-
type AwaitedInput$
|
|
11454
|
-
type Awaited$
|
|
11455
|
-
type SecondParameter$
|
|
11731
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
11732
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
11733
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11456
11734
|
/**
|
|
11457
11735
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
11458
11736
|
|
|
@@ -11469,16 +11747,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
11469
11747
|
declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
|
|
11470
11748
|
declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ListExtractorJobsEnvelope>;
|
|
11471
11749
|
declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
|
|
11472
|
-
type ListExtractorJobsQueryResult = NonNullable<Awaited$
|
|
11750
|
+
type ListExtractorJobsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listExtractorJobs>>>;
|
|
11473
11751
|
/**
|
|
11474
11752
|
* @summary List extractor jobs
|
|
11475
11753
|
*/
|
|
11476
11754
|
declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
|
|
11477
|
-
swr?: SWRConfiguration<Awaited$
|
|
11755
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listExtractorJobs>>, TError> & {
|
|
11478
11756
|
swrKey?: Key;
|
|
11479
11757
|
enabled?: boolean;
|
|
11480
11758
|
};
|
|
11481
|
-
request?: SecondParameter$
|
|
11759
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11482
11760
|
}) => {
|
|
11483
11761
|
data: ListExtractorJobsEnvelope | undefined;
|
|
11484
11762
|
error: TError | undefined;
|
|
@@ -11495,19 +11773,19 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
11495
11773
|
*/
|
|
11496
11774
|
declare const getCreateExtractorJobUrl: () => string;
|
|
11497
11775
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<CreateExtractorJobEnvelope>;
|
|
11498
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
11776
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
11499
11777
|
arg: CreateExtractorJobBody;
|
|
11500
11778
|
}) => Promise<CreateExtractorJobEnvelope>;
|
|
11501
11779
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
11502
|
-
type CreateExtractorJobMutationResult = NonNullable<Awaited$
|
|
11780
|
+
type CreateExtractorJobMutationResult = NonNullable<Awaited$g<ReturnType<typeof createExtractorJob>>>;
|
|
11503
11781
|
/**
|
|
11504
11782
|
* @summary Create extractor job
|
|
11505
11783
|
*/
|
|
11506
11784
|
declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11507
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11785
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited$g<ReturnType<typeof createExtractorJob>>> & {
|
|
11508
11786
|
swrKey?: string;
|
|
11509
11787
|
};
|
|
11510
|
-
request?: SecondParameter$
|
|
11788
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11511
11789
|
}) => {
|
|
11512
11790
|
isMutating: boolean;
|
|
11513
11791
|
trigger: swr_mutation.TriggerWithArgs<CreateExtractorJobEnvelope, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -11523,16 +11801,16 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
11523
11801
|
declare const getGetExtractorJobUrl: (id: string) => string;
|
|
11524
11802
|
declare const getExtractorJob: (id: string, options?: RequestInit) => Promise<GetExtractorJobEnvelope>;
|
|
11525
11803
|
declare const getGetExtractorJobKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
|
|
11526
|
-
type GetExtractorJobQueryResult = NonNullable<Awaited$
|
|
11804
|
+
type GetExtractorJobQueryResult = NonNullable<Awaited$g<ReturnType<typeof getExtractorJob>>>;
|
|
11527
11805
|
/**
|
|
11528
11806
|
* @summary Get extractor job
|
|
11529
11807
|
*/
|
|
11530
11808
|
declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11531
|
-
swr?: SWRConfiguration<Awaited$
|
|
11809
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getExtractorJob>>, TError> & {
|
|
11532
11810
|
swrKey?: Key;
|
|
11533
11811
|
enabled?: boolean;
|
|
11534
11812
|
};
|
|
11535
|
-
request?: SecondParameter$
|
|
11813
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11536
11814
|
}) => {
|
|
11537
11815
|
data: GetExtractorJobEnvelope | undefined;
|
|
11538
11816
|
error: TError | undefined;
|
|
@@ -11542,28 +11820,28 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11542
11820
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11543
11821
|
};
|
|
11544
11822
|
|
|
11545
|
-
type AwaitedInput$
|
|
11546
|
-
type Awaited$
|
|
11547
|
-
type SecondParameter$
|
|
11823
|
+
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
11824
|
+
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
11825
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11548
11826
|
/**
|
|
11549
11827
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
11550
11828
|
* @summary Create extractor
|
|
11551
11829
|
*/
|
|
11552
11830
|
declare const getCreateExtractorUrl: () => string;
|
|
11553
11831
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<CreateExtractorEnvelope>;
|
|
11554
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
11832
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
11555
11833
|
arg: CreateExtractorBody;
|
|
11556
11834
|
}) => Promise<CreateExtractorEnvelope>;
|
|
11557
11835
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
11558
|
-
type CreateExtractorMutationResult = NonNullable<Awaited$
|
|
11836
|
+
type CreateExtractorMutationResult = NonNullable<Awaited$f<ReturnType<typeof createExtractor>>>;
|
|
11559
11837
|
/**
|
|
11560
11838
|
* @summary Create extractor
|
|
11561
11839
|
*/
|
|
11562
11840
|
declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11563
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11841
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited$f<ReturnType<typeof createExtractor>>> & {
|
|
11564
11842
|
swrKey?: string;
|
|
11565
11843
|
};
|
|
11566
|
-
request?: SecondParameter$
|
|
11844
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11567
11845
|
}) => {
|
|
11568
11846
|
isMutating: boolean;
|
|
11569
11847
|
trigger: swr_mutation.TriggerWithArgs<CreateExtractorEnvelope, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -11581,16 +11859,16 @@ Filter by name using the `name` query parameter.
|
|
|
11581
11859
|
declare const getListExtractorsUrl: (params?: ListExtractorsParams) => string;
|
|
11582
11860
|
declare const listExtractors: (params?: ListExtractorsParams, options?: RequestInit) => Promise<ListExtractorsEnvelope>;
|
|
11583
11861
|
declare const getListExtractorsKey: (params?: ListExtractorsParams) => readonly ["/v1/extractors", ...ListExtractorsParams[]];
|
|
11584
|
-
type ListExtractorsQueryResult = NonNullable<Awaited$
|
|
11862
|
+
type ListExtractorsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listExtractors>>>;
|
|
11585
11863
|
/**
|
|
11586
11864
|
* @summary List extractors
|
|
11587
11865
|
*/
|
|
11588
11866
|
declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorsParams, options?: {
|
|
11589
|
-
swr?: SWRConfiguration<Awaited$
|
|
11867
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listExtractors>>, TError> & {
|
|
11590
11868
|
swrKey?: Key;
|
|
11591
11869
|
enabled?: boolean;
|
|
11592
11870
|
};
|
|
11593
|
-
request?: SecondParameter$
|
|
11871
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11594
11872
|
}) => {
|
|
11595
11873
|
data: ListExtractorsEnvelope | undefined;
|
|
11596
11874
|
error: TError | undefined;
|
|
@@ -11606,16 +11884,16 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
11606
11884
|
declare const getGetExtractorUrl: (id: string) => string;
|
|
11607
11885
|
declare const getExtractor: (id: string, options?: RequestInit) => Promise<GetExtractorEnvelope>;
|
|
11608
11886
|
declare const getGetExtractorKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11609
|
-
type GetExtractorQueryResult = NonNullable<Awaited$
|
|
11887
|
+
type GetExtractorQueryResult = NonNullable<Awaited$f<ReturnType<typeof getExtractor>>>;
|
|
11610
11888
|
/**
|
|
11611
11889
|
* @summary Get extractor
|
|
11612
11890
|
*/
|
|
11613
11891
|
declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11614
|
-
swr?: SWRConfiguration<Awaited$
|
|
11892
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getExtractor>>, TError> & {
|
|
11615
11893
|
swrKey?: Key;
|
|
11616
11894
|
enabled?: boolean;
|
|
11617
11895
|
};
|
|
11618
|
-
request?: SecondParameter$
|
|
11896
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11619
11897
|
}) => {
|
|
11620
11898
|
data: GetExtractorEnvelope | undefined;
|
|
11621
11899
|
error: TError | undefined;
|
|
@@ -11630,19 +11908,19 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
11630
11908
|
*/
|
|
11631
11909
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
11632
11910
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<UpdateExtractorEnvelope>;
|
|
11633
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
11911
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
11634
11912
|
arg: UpdateExtractorBody;
|
|
11635
11913
|
}) => Promise<UpdateExtractorEnvelope>;
|
|
11636
11914
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11637
|
-
type UpdateExtractorMutationResult = NonNullable<Awaited$
|
|
11915
|
+
type UpdateExtractorMutationResult = NonNullable<Awaited$f<ReturnType<typeof updateExtractor>>>;
|
|
11638
11916
|
/**
|
|
11639
11917
|
* @summary Update extractor
|
|
11640
11918
|
*/
|
|
11641
11919
|
declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11642
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11920
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited$f<ReturnType<typeof updateExtractor>>> & {
|
|
11643
11921
|
swrKey?: string;
|
|
11644
11922
|
};
|
|
11645
|
-
request?: SecondParameter$
|
|
11923
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11646
11924
|
}) => {
|
|
11647
11925
|
isMutating: boolean;
|
|
11648
11926
|
trigger: swr_mutation.TriggerWithArgs<UpdateExtractorEnvelope, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -11657,19 +11935,19 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11657
11935
|
*/
|
|
11658
11936
|
declare const getDeleteExtractorUrl: (id: string) => string;
|
|
11659
11937
|
declare const deleteExtractor: (id: string, options?: RequestInit) => Promise<DeleteExtractorEnvelope>;
|
|
11660
|
-
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
11938
|
+
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, __: {
|
|
11661
11939
|
arg: Arguments;
|
|
11662
11940
|
}) => Promise<DeleteExtractorEnvelope>;
|
|
11663
11941
|
declare const getDeleteExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11664
|
-
type DeleteExtractorMutationResult = NonNullable<Awaited$
|
|
11942
|
+
type DeleteExtractorMutationResult = NonNullable<Awaited$f<ReturnType<typeof deleteExtractor>>>;
|
|
11665
11943
|
/**
|
|
11666
11944
|
* @summary Delete extractor
|
|
11667
11945
|
*/
|
|
11668
11946
|
declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11669
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11947
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof deleteExtractor>>, TError, Key, Arguments, Awaited$f<ReturnType<typeof deleteExtractor>>> & {
|
|
11670
11948
|
swrKey?: string;
|
|
11671
11949
|
};
|
|
11672
|
-
request?: SecondParameter$
|
|
11950
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11673
11951
|
}) => {
|
|
11674
11952
|
isMutating: boolean;
|
|
11675
11953
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteExtractorEnvelope, TError, string | readonly [`/v1/extractors/${string}`], Arguments>;
|
|
@@ -11679,9 +11957,9 @@ declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11679
11957
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
11680
11958
|
};
|
|
11681
11959
|
|
|
11682
|
-
type AwaitedInput$
|
|
11683
|
-
type Awaited$
|
|
11684
|
-
type SecondParameter$
|
|
11960
|
+
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
11961
|
+
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
11962
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11685
11963
|
/**
|
|
11686
11964
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
11687
11965
|
* @summary Get extract
|
|
@@ -11689,16 +11967,16 @@ type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
11689
11967
|
declare const getGetExtractUrl: (id: string) => string;
|
|
11690
11968
|
declare const getExtract: (id: string, options?: RequestInit) => Promise<GetExtractEnvelope>;
|
|
11691
11969
|
declare const getGetExtractKey: (id: string) => readonly [`/v1/extracts/${string}`];
|
|
11692
|
-
type GetExtractQueryResult = NonNullable<Awaited$
|
|
11970
|
+
type GetExtractQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtract>>>;
|
|
11693
11971
|
/**
|
|
11694
11972
|
* @summary Get extract
|
|
11695
11973
|
*/
|
|
11696
11974
|
declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11697
|
-
swr?: SWRConfiguration<Awaited$
|
|
11975
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtract>>, TError> & {
|
|
11698
11976
|
swrKey?: Key;
|
|
11699
11977
|
enabled?: boolean;
|
|
11700
11978
|
};
|
|
11701
|
-
request?: SecondParameter$
|
|
11979
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11702
11980
|
}) => {
|
|
11703
11981
|
data: GetExtractEnvelope | undefined;
|
|
11704
11982
|
error: TError | undefined;
|
|
@@ -11714,16 +11992,16 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
11714
11992
|
declare const getGetExtractCitationsUrl: (id: string) => string;
|
|
11715
11993
|
declare const getExtractCitations: (id: string, options?: RequestInit) => Promise<GetExtractCitationsEnvelope>;
|
|
11716
11994
|
declare const getGetExtractCitationsKey: (id: string) => readonly [`/v1/extracts/${string}/citations`];
|
|
11717
|
-
type GetExtractCitationsQueryResult = NonNullable<Awaited$
|
|
11995
|
+
type GetExtractCitationsQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtractCitations>>>;
|
|
11718
11996
|
/**
|
|
11719
11997
|
* @summary Get extract citations
|
|
11720
11998
|
*/
|
|
11721
11999
|
declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11722
|
-
swr?: SWRConfiguration<Awaited$
|
|
12000
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtractCitations>>, TError> & {
|
|
11723
12001
|
swrKey?: Key;
|
|
11724
12002
|
enabled?: boolean;
|
|
11725
12003
|
};
|
|
11726
|
-
request?: SecondParameter$
|
|
12004
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11727
12005
|
}) => {
|
|
11728
12006
|
data: GetExtractCitationsEnvelope | undefined;
|
|
11729
12007
|
error: TError | undefined;
|
|
@@ -11746,16 +12024,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
11746
12024
|
declare const getListExtractsUrl: (params?: ListExtractsParams) => string;
|
|
11747
12025
|
declare const listExtracts: (params?: ListExtractsParams, options?: RequestInit) => Promise<ListExtractsEnvelope>;
|
|
11748
12026
|
declare const getListExtractsKey: (params?: ListExtractsParams) => readonly ["/v1/extracts", ...ListExtractsParams[]];
|
|
11749
|
-
type ListExtractsQueryResult = NonNullable<Awaited$
|
|
12027
|
+
type ListExtractsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listExtracts>>>;
|
|
11750
12028
|
/**
|
|
11751
12029
|
* @summary List extracts
|
|
11752
12030
|
*/
|
|
11753
12031
|
declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: ListExtractsParams, options?: {
|
|
11754
|
-
swr?: SWRConfiguration<Awaited$
|
|
12032
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listExtracts>>, TError> & {
|
|
11755
12033
|
swrKey?: Key;
|
|
11756
12034
|
enabled?: boolean;
|
|
11757
12035
|
};
|
|
11758
|
-
request?: SecondParameter$
|
|
12036
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11759
12037
|
}) => {
|
|
11760
12038
|
data: ListExtractsEnvelope | undefined;
|
|
11761
12039
|
error: TError | undefined;
|
|
@@ -11765,9 +12043,9 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
11765
12043
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11766
12044
|
};
|
|
11767
12045
|
|
|
11768
|
-
type AwaitedInput$
|
|
11769
|
-
type Awaited$
|
|
11770
|
-
type SecondParameter$
|
|
12046
|
+
type AwaitedInput$d<T> = PromiseLike<T> | T;
|
|
12047
|
+
type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
|
|
12048
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11771
12049
|
/**
|
|
11772
12050
|
* Check whether a given email username is available for creating a new inbox.
|
|
11773
12051
|
|
|
@@ -11778,16 +12056,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11778
12056
|
declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
|
|
11779
12057
|
declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<CheckInboxAvailabilityEnvelope>;
|
|
11780
12058
|
declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
|
|
11781
|
-
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$
|
|
12059
|
+
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$d<ReturnType<typeof checkInboxAvailability>>>;
|
|
11782
12060
|
/**
|
|
11783
12061
|
* @summary Check email username availability
|
|
11784
12062
|
*/
|
|
11785
12063
|
declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
|
|
11786
|
-
swr?: SWRConfiguration<Awaited$
|
|
12064
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof checkInboxAvailability>>, TError> & {
|
|
11787
12065
|
swrKey?: Key;
|
|
11788
12066
|
enabled?: boolean;
|
|
11789
12067
|
};
|
|
11790
|
-
request?: SecondParameter$
|
|
12068
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11791
12069
|
}) => {
|
|
11792
12070
|
data: CheckInboxAvailabilityEnvelope | undefined;
|
|
11793
12071
|
error: TError | undefined;
|
|
@@ -11809,19 +12087,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11809
12087
|
*/
|
|
11810
12088
|
declare const getCreateInboxUrl: () => string;
|
|
11811
12089
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<CreateInboxEnvelope>;
|
|
11812
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
12090
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
11813
12091
|
arg: CreateInboxBody;
|
|
11814
12092
|
}) => Promise<CreateInboxEnvelope>;
|
|
11815
12093
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
11816
|
-
type CreateInboxMutationResult = NonNullable<Awaited$
|
|
12094
|
+
type CreateInboxMutationResult = NonNullable<Awaited$d<ReturnType<typeof createInbox>>>;
|
|
11817
12095
|
/**
|
|
11818
12096
|
* @summary Create inbox
|
|
11819
12097
|
*/
|
|
11820
12098
|
declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11821
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
12099
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited$d<ReturnType<typeof createInbox>>> & {
|
|
11822
12100
|
swrKey?: string;
|
|
11823
12101
|
};
|
|
11824
|
-
request?: SecondParameter$
|
|
12102
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11825
12103
|
}) => {
|
|
11826
12104
|
isMutating: boolean;
|
|
11827
12105
|
trigger: swr_mutation.TriggerWithArgs<CreateInboxEnvelope, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -11840,16 +12118,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11840
12118
|
declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
|
|
11841
12119
|
declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<ListInboxesEnvelope>;
|
|
11842
12120
|
declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
|
|
11843
|
-
type ListInboxesQueryResult = NonNullable<Awaited$
|
|
12121
|
+
type ListInboxesQueryResult = NonNullable<Awaited$d<ReturnType<typeof listInboxes>>>;
|
|
11844
12122
|
/**
|
|
11845
12123
|
* @summary List inboxes
|
|
11846
12124
|
*/
|
|
11847
12125
|
declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
|
|
11848
|
-
swr?: SWRConfiguration<Awaited$
|
|
12126
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listInboxes>>, TError> & {
|
|
11849
12127
|
swrKey?: Key;
|
|
11850
12128
|
enabled?: boolean;
|
|
11851
12129
|
};
|
|
11852
|
-
request?: SecondParameter$
|
|
12130
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11853
12131
|
}) => {
|
|
11854
12132
|
data: ListInboxesEnvelope | undefined;
|
|
11855
12133
|
error: TError | undefined;
|
|
@@ -11867,19 +12145,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11867
12145
|
*/
|
|
11868
12146
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
11869
12147
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<UpdateInboxEnvelope>;
|
|
11870
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
12148
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
11871
12149
|
arg: UpdateInboxBody;
|
|
11872
12150
|
}) => Promise<UpdateInboxEnvelope>;
|
|
11873
12151
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
11874
|
-
type UpdateInboxMutationResult = NonNullable<Awaited$
|
|
12152
|
+
type UpdateInboxMutationResult = NonNullable<Awaited$d<ReturnType<typeof updateInbox>>>;
|
|
11875
12153
|
/**
|
|
11876
12154
|
* @summary Update inbox
|
|
11877
12155
|
*/
|
|
11878
12156
|
declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
11879
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
12157
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited$d<ReturnType<typeof updateInbox>>> & {
|
|
11880
12158
|
swrKey?: string;
|
|
11881
12159
|
};
|
|
11882
|
-
request?: SecondParameter$
|
|
12160
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11883
12161
|
}) => {
|
|
11884
12162
|
isMutating: boolean;
|
|
11885
12163
|
trigger: swr_mutation.TriggerWithArgs<UpdateInboxEnvelope, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -11894,19 +12172,19 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
11894
12172
|
*/
|
|
11895
12173
|
declare const getDeleteInboxUrl: (inboxId: string) => string;
|
|
11896
12174
|
declare const deleteInbox: (inboxId: string, options?: RequestInit) => Promise<DeleteInboxEnvelope>;
|
|
11897
|
-
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
12175
|
+
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, __: {
|
|
11898
12176
|
arg: Arguments;
|
|
11899
12177
|
}) => Promise<DeleteInboxEnvelope>;
|
|
11900
12178
|
declare const getDeleteInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
11901
|
-
type DeleteInboxMutationResult = NonNullable<Awaited$
|
|
12179
|
+
type DeleteInboxMutationResult = NonNullable<Awaited$d<ReturnType<typeof deleteInbox>>>;
|
|
11902
12180
|
/**
|
|
11903
12181
|
* @summary Delete inbox
|
|
11904
12182
|
*/
|
|
11905
12183
|
declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
11906
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
12184
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof deleteInbox>>, TError, Key, Arguments, Awaited$d<ReturnType<typeof deleteInbox>>> & {
|
|
11907
12185
|
swrKey?: string;
|
|
11908
12186
|
};
|
|
11909
|
-
request?: SecondParameter$
|
|
12187
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11910
12188
|
}) => {
|
|
11911
12189
|
isMutating: boolean;
|
|
11912
12190
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteInboxEnvelope, TError, string | readonly [`/v1/inboxes/${string}`], Arguments>;
|
|
@@ -11916,6 +12194,124 @@ declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
11916
12194
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
11917
12195
|
};
|
|
11918
12196
|
|
|
12197
|
+
type AwaitedInput$c<T> = PromiseLike<T> | T;
|
|
12198
|
+
type Awaited$c<O> = O extends AwaitedInput$c<infer T> ? T : never;
|
|
12199
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
12200
|
+
/**
|
|
12201
|
+
* Ask a person for a specific fact you cannot establish yourself.
|
|
12202
|
+
|
|
12203
|
+
Use this when one missing piece of information is blocking you and only a human can supply it — which claim a document belongs to, which of two policies applies, what an ambiguous reference means. Ask one answerable question per request, and write it so it stands on its own: whoever resolves it sees your question and nothing else.
|
|
12204
|
+
|
|
12205
|
+
Immediately link the request to its case with `addCaseLinks` and `entity_type: "information_request"`. That is how it reaches the person working that case; unlinked, it sits in a queue nobody is looking at. Leave it unlinked only when you genuinely cannot tell which case it belongs to.
|
|
12206
|
+
|
|
12207
|
+
**This does not block or suspend you.** Nobody resolves it while this run is happening. Carry on with what you can still do, or stop, and say in your final report that you asked.
|
|
12208
|
+
|
|
12209
|
+
Do not use it for progress updates, or for anything you can work out yourself.
|
|
12210
|
+
* @summary Ask for information
|
|
12211
|
+
*/
|
|
12212
|
+
declare const getCreateInformationRequestUrl: () => string;
|
|
12213
|
+
declare const createInformationRequest: (createInformationRequestBody: CreateInformationRequestBody, options?: RequestInit) => Promise<CreateInformationRequestEnvelope>;
|
|
12214
|
+
declare const getCreateInformationRequestMutationFetcher: (options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
12215
|
+
arg: CreateInformationRequestBody;
|
|
12216
|
+
}) => Promise<CreateInformationRequestEnvelope>;
|
|
12217
|
+
declare const getCreateInformationRequestMutationKey: () => readonly ["/v1/information-requests"];
|
|
12218
|
+
type CreateInformationRequestMutationResult = NonNullable<Awaited$c<ReturnType<typeof createInformationRequest>>>;
|
|
12219
|
+
/**
|
|
12220
|
+
* @summary Ask for information
|
|
12221
|
+
*/
|
|
12222
|
+
declare const useCreateInformationRequest: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
12223
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof createInformationRequest>>, TError, Key, CreateInformationRequestBody, Awaited$c<ReturnType<typeof createInformationRequest>>> & {
|
|
12224
|
+
swrKey?: string;
|
|
12225
|
+
};
|
|
12226
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12227
|
+
}) => {
|
|
12228
|
+
isMutating: boolean;
|
|
12229
|
+
trigger: swr_mutation.TriggerWithArgs<CreateInformationRequestEnvelope, TError, string | readonly ["/v1/information-requests"], CreateInformationRequestBody>;
|
|
12230
|
+
reset: () => void;
|
|
12231
|
+
error: TError | undefined;
|
|
12232
|
+
data: CreateInformationRequestEnvelope | undefined;
|
|
12233
|
+
swrKey: string | readonly ["/v1/information-requests"];
|
|
12234
|
+
};
|
|
12235
|
+
/**
|
|
12236
|
+
* List the organization's information requests, newest first.
|
|
12237
|
+
|
|
12238
|
+
An information request is a specific question a worker could not settle on its own and needs a person to resolve. It stays open until somebody resolves it; there is no separate status field.
|
|
12239
|
+
* @summary List information requests
|
|
12240
|
+
*/
|
|
12241
|
+
declare const getListInformationRequestsUrl: (params?: ListInformationRequestsParams) => string;
|
|
12242
|
+
declare const listInformationRequests: (params?: ListInformationRequestsParams, options?: RequestInit) => Promise<ListInformationRequestsEnvelope>;
|
|
12243
|
+
declare const getListInformationRequestsKey: (params?: ListInformationRequestsParams) => readonly ["/v1/information-requests", ...ListInformationRequestsParams[]];
|
|
12244
|
+
type ListInformationRequestsQueryResult = NonNullable<Awaited$c<ReturnType<typeof listInformationRequests>>>;
|
|
12245
|
+
/**
|
|
12246
|
+
* @summary List information requests
|
|
12247
|
+
*/
|
|
12248
|
+
declare const useListInformationRequests: <TError = ErrorType<ErrorResponse>>(params?: ListInformationRequestsParams, options?: {
|
|
12249
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof listInformationRequests>>, TError> & {
|
|
12250
|
+
swrKey?: Key;
|
|
12251
|
+
enabled?: boolean;
|
|
12252
|
+
};
|
|
12253
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12254
|
+
}) => {
|
|
12255
|
+
data: ListInformationRequestsEnvelope | undefined;
|
|
12256
|
+
error: TError | undefined;
|
|
12257
|
+
mutate: swr.KeyedMutator<ListInformationRequestsEnvelope>;
|
|
12258
|
+
isValidating: boolean;
|
|
12259
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
12260
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
12261
|
+
};
|
|
12262
|
+
/**
|
|
12263
|
+
* Retrieve a single information request by its ID.
|
|
12264
|
+
* @summary Get information request
|
|
12265
|
+
*/
|
|
12266
|
+
declare const getGetInformationRequestUrl: (informationRequestId: string) => string;
|
|
12267
|
+
declare const getInformationRequest: (informationRequestId: string, options?: RequestInit) => Promise<GetInformationRequestEnvelope>;
|
|
12268
|
+
declare const getGetInformationRequestKey: (informationRequestId: string) => readonly [`/v1/information-requests/${string}`];
|
|
12269
|
+
type GetInformationRequestQueryResult = NonNullable<Awaited$c<ReturnType<typeof getInformationRequest>>>;
|
|
12270
|
+
/**
|
|
12271
|
+
* @summary Get information request
|
|
12272
|
+
*/
|
|
12273
|
+
declare const useGetInformationRequest: <TError = ErrorType<ErrorResponse>>(informationRequestId: string, options?: {
|
|
12274
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getInformationRequest>>, TError> & {
|
|
12275
|
+
swrKey?: Key;
|
|
12276
|
+
enabled?: boolean;
|
|
12277
|
+
};
|
|
12278
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12279
|
+
}) => {
|
|
12280
|
+
data: GetInformationRequestEnvelope | undefined;
|
|
12281
|
+
error: TError | undefined;
|
|
12282
|
+
mutate: swr.KeyedMutator<GetInformationRequestEnvelope>;
|
|
12283
|
+
isValidating: boolean;
|
|
12284
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
12285
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
12286
|
+
};
|
|
12287
|
+
/**
|
|
12288
|
+
* Resolve an open information request by providing an answer/resolution.
|
|
12289
|
+
* @summary Resolve information request
|
|
12290
|
+
*/
|
|
12291
|
+
declare const getResolveInformationRequestUrl: (informationRequestId: string) => string;
|
|
12292
|
+
declare const resolveInformationRequest: (informationRequestId: string, resolveInformationRequestBody: ResolveInformationRequestBody, options?: RequestInit) => Promise<ResolveInformationRequestEnvelope>;
|
|
12293
|
+
declare const getResolveInformationRequestMutationFetcher: (informationRequestId: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
12294
|
+
arg: ResolveInformationRequestBody;
|
|
12295
|
+
}) => Promise<ResolveInformationRequestEnvelope>;
|
|
12296
|
+
declare const getResolveInformationRequestMutationKey: (informationRequestId: string) => readonly [`/v1/information-requests/${string}/resolve`];
|
|
12297
|
+
type ResolveInformationRequestMutationResult = NonNullable<Awaited$c<ReturnType<typeof resolveInformationRequest>>>;
|
|
12298
|
+
/**
|
|
12299
|
+
* @summary Resolve information request
|
|
12300
|
+
*/
|
|
12301
|
+
declare const useResolveInformationRequest: <TError = ErrorType<ErrorResponse>>(informationRequestId: string, options?: {
|
|
12302
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof resolveInformationRequest>>, TError, Key, ResolveInformationRequestBody, Awaited$c<ReturnType<typeof resolveInformationRequest>>> & {
|
|
12303
|
+
swrKey?: string;
|
|
12304
|
+
};
|
|
12305
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12306
|
+
}) => {
|
|
12307
|
+
isMutating: boolean;
|
|
12308
|
+
trigger: swr_mutation.TriggerWithArgs<ResolveInformationRequestEnvelope, TError, string | readonly [`/v1/information-requests/${string}/resolve`], ResolveInformationRequestBody>;
|
|
12309
|
+
reset: () => void;
|
|
12310
|
+
error: TError | undefined;
|
|
12311
|
+
data: ResolveInformationRequestEnvelope | undefined;
|
|
12312
|
+
swrKey: string | readonly [`/v1/information-requests/${string}/resolve`];
|
|
12313
|
+
};
|
|
12314
|
+
|
|
11919
12315
|
type AwaitedInput$b<T> = PromiseLike<T> | T;
|
|
11920
12316
|
type Awaited$b<O> = O extends AwaitedInput$b<infer T> ? T : never;
|
|
11921
12317
|
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -12317,7 +12713,7 @@ declare const useGetSecret: <TError = ErrorType<ErrorResponse>>(secretId: string
|
|
|
12317
12713
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
12318
12714
|
};
|
|
12319
12715
|
/**
|
|
12320
|
-
* Update a secret's display name or description, or rotate its value. Rotation overwrites the stored value — previous values are not retrievable.
|
|
12716
|
+
* Update a secret's display name or description, or rotate its live or test value. Rotation overwrites the stored value — previous values are not retrievable.
|
|
12321
12717
|
|
|
12322
12718
|
The `env_key` is immutable: consumers of the secret receive the value under that key, so changing it would silently break them. Create a new secret instead.
|
|
12323
12719
|
|
|
@@ -14130,4 +14526,4 @@ declare const useGetWorkerVersionChangeSummary: <TError = ErrorType<ErrorRespons
|
|
|
14130
14526
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
14131
14527
|
};
|
|
14132
14528
|
|
|
14133
|
-
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksEnvelope, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AnalyticsTimeSeries, AnalyticsTimeSeriesGranularity, AnalyticsTimeSeriesMetric, type AnalyticsTimeSeriesPointsItem, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, ArtifactDetailDataStatus, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, ArtifactStatus, type ArtifactStatusSummary, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, CallDetailEnvironment, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, CallEnvironment, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobEnvelope, type CancelJobMutationResult, type CancelWorkerRunEnvelope, type CancelWorkerRunMutationResult, type CaseDetail, type CaseLink, CaseLinkEntityType, type CaseLinkList, type CaseList, type CaseSearchResult, type CaseSummary, 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 CheckInboxAvailabilityEnvelope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type ConfirmationResponse, type CreateAgentWebhookBody, CreateAgentWebhookBodyEnvironmentsItem, type CreateAgentWebhookEnvelope, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyEnvelope, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactEnvelope, type CreateArtifactMutationResult, type CreateCallFeedbackEnvelope, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseEnvelope, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentEnvelope, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatEnvelope, type CreateChatMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorEnvelope, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobEnvelope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, CreateExtractorWebhookBodyEnvironmentsItem, type CreateExtractorWebhookEnvelope, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxEnvelope, type CreateInboxMutationResult, type CreateInboxWebhookBody, CreateInboxWebhookBodyEnvironmentsItem, type CreateInboxWebhookEnvelope, type CreateInboxWebhookMutationResult, type CreateScheduleBody, CreateScheduleBodyEnvironmentsItem, type CreateScheduleEnvelope, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretEnvelope, type CreateSecretMutationResult, type CreateToolBody, type CreateToolEnvelope, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentEnvelope, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerEnvelope, type CreateWorkerMutationResult, type CreateWorkerRunBody, CreateWorkerRunBodyEnvironment, type CreateWorkerRunBodyScope, type CreateWorkerRunEnvelope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, CreateWorkerWebhookBodyEnvironmentsItem, type CreateWorkerWebhookEnvelope, type CreateWorkerWebhookMutationResult, type DeleteArtifactEnvelope, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackEnvelope, type DeleteCallFeedbackMutationResult, type DeleteChatAgentEnvelope, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailEnvelope, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorEnvelope, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxEnvelope, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteScheduleEnvelope, type DeleteScheduleMutationResult, type DeleteScheduleResponse, type DeleteSecretEnvelope, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolEnvelope, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteVoiceAgentEnvelope, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookEnvelope, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerEnvelope, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Dispatch, DispatchEnvironment, type DispatchList, DispatchStatus, type DispatchTarget, DispatchTargetType, type DispatchTrigger, DispatchTriggerType, type Email, type EmailDetail, EmailDetailDirection, EmailDetailEnvironment, EmailDirection, EmailEnvironment, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, EmailThreadEnvironment, type EmailThreadList, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeEnvelope, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractSummary, type ExtractSummaryProcessorScope, 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 GetAnalyticsTimeSeriesEnvelope, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactEnvelope, type GetArtifactMetadataKeysEnvelope, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryEnvelope, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlEnvelope, type GetArtifactUploadUrlEnvelopeData, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsEnvelope, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEnvelope, type GetCallEvaluationEnvelope, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseEnvelope, type GetCaseQueryResult, type GetChatAgentEnvelope, type GetChatAgentPromptEnvelope, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatEnvelope, type GetChatQueryResult, type GetEmailEnvelope, type GetEmailQueryResult, type GetExtractCitationsEnvelope, type GetExtractCitationsEnvelopeData, type GetExtractCitationsEnvelopeDataChunks, type GetExtractCitationsEnvelopeDataChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractEnvelope, type GetExtractQueryResult, type GetExtractorEnvelope, type GetExtractorJobEnvelope, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlEnvelope, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileEnvelope, type GetProfileQueryResult, type GetPublicChatAgentEnvelope, type GetPublicChatAgentQueryResult, type GetScheduleEnvelope, type GetScheduleQueryResult, type GetSecretEnvelope, type GetSecretQueryResult, type GetSessionTokenBody, type GetSessionTokenEnvelope, type GetSessionTokenEnvelopeData, type GetSessionTokenMutationResult, type GetToolEnvelope, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentEnvelope, type GetVoiceAgentPlaceholdersEnvelope, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptEnvelope, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryEnvelope, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionEnvelope, type GetVoiceAgentVersionQueryResult, type GetWebhookEnvelope, type GetWebhookQueryResult, type GetWorkerEnvelope, type GetWorkerPromptEnvelope, type GetWorkerPromptParams, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunEnvelope, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerVersionChangeSummaryEnvelope, type GetWorkerVersionChangeSummaryQueryResult, type GetWorkerVersionEnvelope, type GetWorkerVersionQueryResult, type Inbox, type InboxAddresses, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberEnvelope, type InviteTeamMemberMutationResult, type ListAgentWebhooksEnvelope, ListAgentWebhooksEnvironment, type ListAgentWebhooksParams, type ListAgentWebhooksQueryResult, type ListApiKeysEnvelope, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsEnvelope, type ListArtifactsEnvelopeMeta, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, ListArtifactsStatus, type ListCallFeedbackEnvelope, type ListCallFeedbackEnvelopeMeta, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsEnvelope, type ListCallsEnvelopeMeta, ListCallsEnvironment, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksEnvelope, type ListCaseLinksEnvelopeMeta, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesEnvelope, type ListCasesEnvelopeMeta, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsEnvelope, type ListChatAgentsEnvelopeMeta, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesEnvelope, type ListChatMessagesEnvelopeMeta, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsEnvelope, type ListChatsEnvelopeMeta, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListDispatchesEnvelope, type ListDispatchesEnvelopeMeta, type ListDispatchesParams, type ListDispatchesQueryResult, ListDispatchesSortBy, ListDispatchesSortOrder, ListDispatchesTriggerType, type ListEmailThreadsEnvelope, type ListEmailThreadsEnvelopeMeta, ListEmailThreadsEnvironment, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsEnvelope, type ListEmailsEnvelopeMeta, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsEnvelope, type ListExtractorJobsEnvelopeMeta, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsEnvelope, type ListExtractorsEnvelopeMeta, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsEnvelope, type ListExtractsEnvelopeMeta, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksEnvelope, ListInboxWebhooksEnvironment, type ListInboxWebhooksParams, type ListInboxWebhooksQueryResult, type ListInboxesEnvelope, type ListInboxesEnvelopeMeta, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsEnvelope, type ListJobsEnvelopeMeta, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListNotificationsEnvelope, type ListNotificationsEnvelopeMeta, type ListNotificationsParams, type ListNotificationsQueryResult, ListNotificationsSortBy, ListNotificationsSortOrder, type ListSchedulesEnvelope, type ListSchedulesEnvelopeMeta, ListSchedulesEnvironment, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesRuleType, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsEnvelope, type ListSecretsEnvelopeMeta, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsEnvelope, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersEnvelope, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsEnvelope, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsEnvelope, type ListVoiceAgentVersionsEnvelopeMeta, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsEnvelope, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesEnvelope, type ListWebhookDeliveriesEnvelopeMeta, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksEnvelope, ListWebhooksEnvironment, type ListWebhooksParams, type ListWebhooksQueryResult, type ListWorkerModelsEnvelope, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesEnvelope, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsEnvelope, type ListWorkerRunsEnvelopeMeta, ListWorkerRunsEnvironment, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerVersionsEnvelope, type ListWorkerVersionsEnvelopeMeta, type ListWorkerVersionsParams, type ListWorkerVersionsQueryResult, ListWorkerVersionsSortBy, ListWorkerVersionsSortOrder, type ListWorkerWebhooksEnvelope, ListWorkerWebhooksEnvironment, type ListWorkerWebhooksParams, type ListWorkerWebhooksQueryResult, type ListWorkersEnvelope, type ListWorkersEnvelopeMeta, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type Notification, type NotificationData, type NotificationList, NotificationType, type NotifyAdminBody, type NotifyAdminEnvelope, type NotifyAdminMutationResult, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunchEnvelope, type PartnerLaunchEnvelopeData, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageEnvelope, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionEnvelope, type PromoteVoiceAgentVersionMutationResult, type PromoteWorkerVersionBody, type PromoteWorkerVersionEnvelope, type PromoteWorkerVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PromotedWorkerVersion, type PublicChatAgent, type RecurrencePattern, type RecurrencePatternOutput, type RefreshTokenBody, type RefreshTokenEnvelope, type RefreshTokenMutationResult, type RemoveCaseLinkEnvelope, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailEnvelope, type ReplyToEmailMutationResult, type RequestPasswordResetBody, type RequestPasswordResetEnvelope, type RequestPasswordResetMutationResult, type RequestPasswordResetResponse, type ResendTeamInvitationEnvelope, type ResendTeamInvitationMutationResult, type ResetPasswordBody, type ResetPasswordEnvelope, type ResetPasswordMutationResult, type ResetPasswordResponse, type RevokeApiKeyEnvelope, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type Schedule, type ScheduleAction, type ScheduleActionOutput, ScheduleEnvironmentsItem, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobEnvelope, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesEnvelope, type SearchCasesEnvelopeMeta, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, SendEmailBodyEnvironment, type SendEmailEnvelope, type SendEmailMutationResult, type SignInBody, type SignInEnvelope, type SignInMutationResult, type SignUpBody, type SignUpEnvelope, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookBody, TestWebhookBodyEnvironment, type TestWebhookEnvelope, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyEnvelope, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataEnvelope, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsEnvelope, type UpdateCallControlsMutationResult, type UpdateChatAgentEnvelope, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptEnvelope, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorEnvelope, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxEnvelope, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleEnvelope, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateScheduleBody, UpdateScheduleBodyEnvironmentsItem, type UpdateScheduleEnvelope, type UpdateScheduleMutationResult, type UpdateSecretBody, type UpdateSecretEnvelope, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolEnvelope, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentBodyNoiseCancellation, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentEnvelope, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsEnvelope, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptEnvelope, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWebhookBody, type UpdateWebhookBodyAuth, UpdateWebhookBodyEnvironmentsItem, type UpdateWebhookEnvelope, type UpdateWebhookMutationResult, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerEnvelope, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsEnvelope, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptEnvelope, type UpdateWorkerPromptMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileEnvelope, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, VoiceAgentVersionActiveEnvironmentsItem, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailActiveEnvironmentsItem, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type VoiceAgentWithTestPhoneNumber, VoiceAgentWithTestPhoneNumberBackgroundSounds, VoiceAgentWithTestPhoneNumberDirection, VoiceAgentWithTestPhoneNumberLanguage, VoiceAgentWithTestPhoneNumberLlmModel, VoiceAgentWithTestPhoneNumberNoiseCancellation, VoiceAgentWithTestPhoneNumberSttModel, VoiceAgentWithTestPhoneNumberTtsModel, VoiceAgentWithTestPhoneNumberTtsProvider, type Webhook, type WebhookDelivery, type WebhookDeliveryList, WebhookEnvironmentsItem, type WebhookScope, type WebhookTestResult, type Worker, WorkerEnvironment, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolEnvelope, type WorkerExecuteToolMutationResult, type WorkerGetToolEnvelope, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsEnvelope, type WorkerListToolsParams, type WorkerListToolsQueryResult, WorkerListToolsSortBy, WorkerListToolsSortOrder, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerNotifyAdminResult, WorkerPermission, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, WorkerRunCreatedEnvironment, type WorkerRunCreatedScope, WorkerRunCreatedStatus, WorkerRunEnvironment, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, WorkerRunStatus, type WorkerSchema, type WorkerSummary, type WorkerVersion, type WorkerVersionChangeSummary, type WorkerVersionDetail, type WorkerVersionDetailSchema, type WorkerVersionList, type WorkerVersions, type WorkerWebhookList, addCaseLinks, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createCase, createChat, createChatAgent, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createSchedule, createSecret, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteArtifact, deleteCallFeedback, deleteChatAgent, deleteEmail, deleteExtractor, deleteInbox, deleteSchedule, deleteSecret, deleteTool, deleteVoiceAgent, deleteWebhook, deleteWorker, executeCode, generateCodeChallenge, generateCodeVerifier, getAddCaseLinksMutationFetcher, getAddCaseLinksMutationKey, getAddCaseLinksUrl, getAnalyticsTimeSeries, getArtifact, getArtifactMetadataKeys, getArtifactStatusSummary, 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, getCreateCaseMutationFetcher, getCreateCaseMutationKey, getCreateCaseUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateScheduleMutationFetcher, getCreateScheduleMutationKey, getCreateScheduleUrl, getCreateSecretMutationFetcher, getCreateSecretMutationKey, getCreateSecretUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteArtifactMutationFetcher, getDeleteArtifactMutationKey, getDeleteArtifactUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteChatAgentMutationFetcher, getDeleteChatAgentMutationKey, getDeleteChatAgentUrl, getDeleteEmailMutationFetcher, getDeleteEmailMutationKey, getDeleteEmailUrl, getDeleteExtractorMutationFetcher, getDeleteExtractorMutationKey, getDeleteExtractorUrl, getDeleteInboxMutationFetcher, getDeleteInboxMutationKey, getDeleteInboxUrl, getDeleteScheduleMutationFetcher, getDeleteScheduleMutationKey, getDeleteScheduleUrl, getDeleteSecretMutationFetcher, getDeleteSecretMutationKey, getDeleteSecretUrl, getDeleteToolMutationFetcher, getDeleteToolMutationKey, getDeleteToolUrl, getDeleteVoiceAgentMutationFetcher, getDeleteVoiceAgentMutationKey, getDeleteVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getDeleteWorkerMutationFetcher, getDeleteWorkerMutationKey, getDeleteWorkerUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetAnalyticsTimeSeriesKey, getGetAnalyticsTimeSeriesUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactStatusSummaryKey, getGetArtifactStatusSummaryUrl, 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, getGetPartnerJwksKey, getGetPartnerJwksUrl, getGetProfileKey, getGetProfileUrl, getGetPublicChatAgentKey, getGetPublicChatAgentUrl, getGetScheduleKey, getGetScheduleUrl, getGetSecretKey, getGetSecretUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetVoiceAgentVersionChangeSummaryKey, getGetVoiceAgentVersionChangeSummaryUrl, getGetVoiceAgentVersionKey, getGetVoiceAgentVersionUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getGetWorkerVersionChangeSummaryKey, getGetWorkerVersionChangeSummaryUrl, getGetWorkerVersionKey, getGetWorkerVersionUrl, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListDispatchesKey, getListDispatchesUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListNotificationsKey, getListNotificationsUrl, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerVersionsKey, getListWorkerVersionsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getNotifyAdminMutationFetcher, getNotifyAdminMutationKey, getNotifyAdminUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPromoteWorkerVersionMutationFetcher, getPromoteWorkerVersionMutationKey, getPromoteWorkerVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRequestPasswordResetMutationFetcher, getRequestPasswordResetMutationKey, getRequestPasswordResetUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, getResetPasswordMutationFetcher, getResetPasswordMutationKey, getResetPasswordUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getRevokeTeamInvitationMutationFetcher, getRevokeTeamInvitationMutationKey, getRevokeTeamInvitationUrl, getSchedule, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSearchCasesKey, getSearchCasesUrl, getSecret, 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, getUpdateScheduleMutationFetcher, getUpdateScheduleMutationKey, getUpdateScheduleUrl, getUpdateSecretMutationFetcher, getUpdateSecretMutationKey, getUpdateSecretUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWebhookMutationFetcher, getUpdateWebhookMutationKey, getUpdateWebhookUrl, getUpdateWorkerMcpsMutationFetcher, getUpdateWorkerMcpsMutationKey, getUpdateWorkerMcpsUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, getWorkerVersion, getWorkerVersionChangeSummary, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listDispatches, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listNotifications, listSchedules, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerVersions, listWorkerWebhooks, listWorkers, notifyAdmin, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, promoteWorkerVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, requestPasswordReset, resendTeamInvitation, resetPassword, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSchedule, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWebhook, updateWorker, updateWorkerMcps, updateWorkerPrompt, uploadFile, useAddCaseLinks, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateCase, useCreateChat, useCreateChatAgent, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateSchedule, useCreateSecret, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteArtifact, useDeleteCallFeedback, useDeleteChatAgent, useDeleteEmail, useDeleteExtractor, useDeleteInbox, useDeleteSchedule, useDeleteSecret, useDeleteTool, useDeleteVoiceAgent, useDeleteWebhook, useDeleteWorker, useExecuteCode, useGetAnalyticsTimeSeries, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactStatusSummary, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetCase, useGetChat, useGetChatAgent, useGetChatAgentPrompt, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetPartnerJwks, useGetProfile, useGetPublicChatAgent, useGetSchedule, useGetSecret, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetVoiceAgentVersion, useGetVoiceAgentVersionChangeSummary, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useGetWorkerVersion, useGetWorkerVersionChangeSummary, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListDispatches, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListNotifications, useListSchedules, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerVersions, useListWorkerWebhooks, useListWorkers, useNotifyAdmin, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, usePromoteWorkerVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useRequestPasswordReset, useResendTeamInvitation, useResetPassword, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWebhook, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|
|
14529
|
+
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksEnvelope, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AnalyticsTimeSeries, AnalyticsTimeSeriesGranularity, AnalyticsTimeSeriesMetric, type AnalyticsTimeSeriesPointsItem, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, ArtifactDetailDataStatus, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, ArtifactStatus, type ArtifactStatusSummary, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, CallDetailEnvironment, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, CallEnvironment, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobEnvelope, type CancelJobMutationResult, type CancelWorkerRunEnvelope, type CancelWorkerRunMutationResult, type CaseDetail, type CaseLink, CaseLinkEntityType, type CaseLinkList, type CaseList, type CaseSearchResult, type CaseSummary, 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 CheckInboxAvailabilityEnvelope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type ConfirmationResponse, type CreateAgentWebhookBody, CreateAgentWebhookBodyEnvironmentsItem, type CreateAgentWebhookEnvelope, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyEnvelope, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactEnvelope, type CreateArtifactMutationResult, type CreateCallFeedbackEnvelope, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseEnvelope, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentEnvelope, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatEnvelope, type CreateChatMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorEnvelope, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobEnvelope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, CreateExtractorWebhookBodyEnvironmentsItem, type CreateExtractorWebhookEnvelope, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxEnvelope, type CreateInboxMutationResult, type CreateInboxWebhookBody, CreateInboxWebhookBodyEnvironmentsItem, type CreateInboxWebhookEnvelope, type CreateInboxWebhookMutationResult, type CreateInformationRequestBody, type CreateInformationRequestBodyMetadata, type CreateInformationRequestEnvelope, type CreateInformationRequestMutationResult, type CreateScheduleBody, CreateScheduleBodyEnvironmentsItem, type CreateScheduleEnvelope, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretEnvelope, type CreateSecretMutationResult, type CreateToolBody, type CreateToolEnvelope, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentEnvelope, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerEnvelope, type CreateWorkerMutationResult, type CreateWorkerRunBody, CreateWorkerRunBodyEnvironment, type CreateWorkerRunBodyScope, type CreateWorkerRunEnvelope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, CreateWorkerWebhookBodyEnvironmentsItem, type CreateWorkerWebhookEnvelope, type CreateWorkerWebhookMutationResult, type DeleteArtifactEnvelope, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackEnvelope, type DeleteCallFeedbackMutationResult, type DeleteChatAgentEnvelope, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailEnvelope, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorEnvelope, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxEnvelope, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteScheduleEnvelope, type DeleteScheduleMutationResult, type DeleteScheduleResponse, type DeleteSecretEnvelope, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolEnvelope, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteVoiceAgentEnvelope, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookEnvelope, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerEnvelope, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Dispatch, DispatchEnvironment, type DispatchList, DispatchStatus, type DispatchTarget, DispatchTargetType, type DispatchTrigger, DispatchTriggerType, type Email, type EmailDetail, EmailDetailDirection, EmailDetailEnvironment, EmailDirection, EmailEnvironment, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, EmailThreadEnvironment, type EmailThreadList, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, ExecuteCodeBodyEnvironment, type ExecuteCodeBodyParams, type ExecuteCodeEnvelope, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractSummary, type ExtractSummaryProcessorScope, 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 GetAnalyticsTimeSeriesEnvelope, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactEnvelope, type GetArtifactMetadataKeysEnvelope, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryEnvelope, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlEnvelope, type GetArtifactUploadUrlEnvelopeData, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsEnvelope, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEnvelope, type GetCallEvaluationEnvelope, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseEnvelope, type GetCaseQueryResult, type GetChatAgentEnvelope, type GetChatAgentPromptEnvelope, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatEnvelope, type GetChatQueryResult, type GetEmailEnvelope, type GetEmailQueryResult, type GetExtractCitationsEnvelope, type GetExtractCitationsEnvelopeData, type GetExtractCitationsEnvelopeDataChunks, type GetExtractCitationsEnvelopeDataChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractEnvelope, type GetExtractQueryResult, type GetExtractorEnvelope, type GetExtractorJobEnvelope, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, type GetInformationRequestEnvelope, type GetInformationRequestQueryResult, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlEnvelope, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileEnvelope, type GetProfileQueryResult, type GetPublicChatAgentEnvelope, type GetPublicChatAgentQueryResult, type GetScheduleEnvelope, type GetScheduleQueryResult, type GetSecretEnvelope, type GetSecretQueryResult, type GetSessionTokenBody, type GetSessionTokenEnvelope, type GetSessionTokenEnvelopeData, type GetSessionTokenMutationResult, type GetToolEnvelope, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentEnvelope, type GetVoiceAgentPlaceholdersEnvelope, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptEnvelope, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryEnvelope, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionEnvelope, type GetVoiceAgentVersionQueryResult, type GetWebhookEnvelope, type GetWebhookQueryResult, type GetWorkerEnvelope, type GetWorkerPromptEnvelope, type GetWorkerPromptParams, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunEnvelope, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerVersionChangeSummaryEnvelope, type GetWorkerVersionChangeSummaryQueryResult, type GetWorkerVersionEnvelope, type GetWorkerVersionQueryResult, type Inbox, type InboxAddresses, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InformationRequest, InformationRequestEnvironment, type InformationRequestList, type InformationRequestMetadata, type InviteTeamMemberBody, type InviteTeamMemberEnvelope, type InviteTeamMemberMutationResult, type ListAgentWebhooksEnvelope, ListAgentWebhooksEnvironment, type ListAgentWebhooksParams, type ListAgentWebhooksQueryResult, type ListApiKeysEnvelope, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsEnvelope, type ListArtifactsEnvelopeMeta, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, ListArtifactsStatus, type ListCallFeedbackEnvelope, type ListCallFeedbackEnvelopeMeta, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsEnvelope, type ListCallsEnvelopeMeta, ListCallsEnvironment, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksEnvelope, type ListCaseLinksEnvelopeMeta, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesEnvelope, type ListCasesEnvelopeMeta, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsEnvelope, type ListChatAgentsEnvelopeMeta, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesEnvelope, type ListChatMessagesEnvelopeMeta, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsEnvelope, type ListChatsEnvelopeMeta, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListDispatchesEnvelope, type ListDispatchesEnvelopeMeta, type ListDispatchesParams, type ListDispatchesQueryResult, ListDispatchesSortBy, ListDispatchesSortOrder, ListDispatchesTriggerType, type ListEmailThreadsEnvelope, type ListEmailThreadsEnvelopeMeta, ListEmailThreadsEnvironment, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsEnvelope, type ListEmailsEnvelopeMeta, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsEnvelope, type ListExtractorJobsEnvelopeMeta, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsEnvelope, type ListExtractorsEnvelopeMeta, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsEnvelope, type ListExtractsEnvelopeMeta, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksEnvelope, ListInboxWebhooksEnvironment, type ListInboxWebhooksParams, type ListInboxWebhooksQueryResult, type ListInboxesEnvelope, type ListInboxesEnvelopeMeta, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListInformationRequestsEnvelope, type ListInformationRequestsEnvelopeMeta, type ListInformationRequestsParams, type ListInformationRequestsQueryResult, ListInformationRequestsResolved, ListInformationRequestsSortBy, ListInformationRequestsSortOrder, type ListJobsEnvelope, type ListJobsEnvelopeMeta, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListNotificationsEnvelope, type ListNotificationsEnvelopeMeta, type ListNotificationsParams, type ListNotificationsQueryResult, ListNotificationsSortBy, ListNotificationsSortOrder, type ListSchedulesEnvelope, type ListSchedulesEnvelopeMeta, ListSchedulesEnvironment, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesRuleType, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsEnvelope, type ListSecretsEnvelopeMeta, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsEnvelope, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersEnvelope, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsEnvelope, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsEnvelope, type ListVoiceAgentVersionsEnvelopeMeta, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsEnvelope, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesEnvelope, type ListWebhookDeliveriesEnvelopeMeta, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksEnvelope, ListWebhooksEnvironment, type ListWebhooksParams, type ListWebhooksQueryResult, type ListWorkerModelsEnvelope, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesEnvelope, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsEnvelope, type ListWorkerRunsEnvelopeMeta, ListWorkerRunsEnvironment, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerVersionsEnvelope, type ListWorkerVersionsEnvelopeMeta, type ListWorkerVersionsParams, type ListWorkerVersionsQueryResult, ListWorkerVersionsSortBy, ListWorkerVersionsSortOrder, type ListWorkerWebhooksEnvelope, ListWorkerWebhooksEnvironment, type ListWorkerWebhooksParams, type ListWorkerWebhooksQueryResult, type ListWorkersEnvelope, type ListWorkersEnvelopeMeta, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type Notification, type NotificationData, type NotificationList, NotificationType, type NotifyAdminBody, type NotifyAdminEnvelope, type NotifyAdminMutationResult, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunchEnvelope, type PartnerLaunchEnvelopeData, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageEnvelope, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionEnvelope, type PromoteVoiceAgentVersionMutationResult, type PromoteWorkerVersionBody, type PromoteWorkerVersionEnvelope, type PromoteWorkerVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PromotedWorkerVersion, type PublicChatAgent, type RecurrencePattern, type RecurrencePatternOutput, type RefreshTokenBody, type RefreshTokenEnvelope, type RefreshTokenMutationResult, type RemoveCaseLinkEnvelope, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailEnvelope, type ReplyToEmailMutationResult, type RequestPasswordResetBody, type RequestPasswordResetEnvelope, type RequestPasswordResetMutationResult, type RequestPasswordResetResponse, type ResendTeamInvitationEnvelope, type ResendTeamInvitationMutationResult, type ResetPasswordBody, type ResetPasswordEnvelope, type ResetPasswordMutationResult, type ResetPasswordResponse, type ResolveInformationRequestBody, type ResolveInformationRequestEnvelope, type ResolveInformationRequestMutationResult, type RevokeApiKeyEnvelope, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type Schedule, type ScheduleAction, type ScheduleActionOutput, ScheduleEnvironmentsItem, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobEnvelope, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesEnvelope, type SearchCasesEnvelopeMeta, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, SendEmailBodyEnvironment, type SendEmailEnvelope, type SendEmailMutationResult, type SignInBody, type SignInEnvelope, type SignInMutationResult, type SignUpBody, type SignUpEnvelope, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookBody, TestWebhookBodyEnvironment, type TestWebhookEnvelope, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyEnvelope, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataEnvelope, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsEnvelope, type UpdateCallControlsMutationResult, type UpdateChatAgentEnvelope, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptEnvelope, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorEnvelope, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxEnvelope, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleEnvelope, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateScheduleBody, UpdateScheduleBodyEnvironmentsItem, type UpdateScheduleEnvelope, type UpdateScheduleMutationResult, type UpdateSecretBody, type UpdateSecretEnvelope, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolEnvelope, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentBodyNoiseCancellation, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentEnvelope, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsEnvelope, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptEnvelope, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWebhookBody, type UpdateWebhookBodyAuth, UpdateWebhookBodyEnvironmentsItem, type UpdateWebhookEnvelope, type UpdateWebhookMutationResult, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerEnvelope, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsEnvelope, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptEnvelope, type UpdateWorkerPromptMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileEnvelope, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, VoiceAgentVersionActiveEnvironmentsItem, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailActiveEnvironmentsItem, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type VoiceAgentWithTestPhoneNumber, VoiceAgentWithTestPhoneNumberBackgroundSounds, VoiceAgentWithTestPhoneNumberDirection, VoiceAgentWithTestPhoneNumberLanguage, VoiceAgentWithTestPhoneNumberLlmModel, VoiceAgentWithTestPhoneNumberNoiseCancellation, VoiceAgentWithTestPhoneNumberSttModel, VoiceAgentWithTestPhoneNumberTtsModel, VoiceAgentWithTestPhoneNumberTtsProvider, type Webhook, type WebhookDelivery, type WebhookDeliveryList, WebhookEnvironmentsItem, type WebhookScope, type WebhookTestResult, type Worker, WorkerEnvironment, type WorkerExecuteToolBody, WorkerExecuteToolBodyEnvironment, type WorkerExecuteToolBodyParams, type WorkerExecuteToolEnvelope, type WorkerExecuteToolMutationResult, type WorkerGetToolEnvelope, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsEnvelope, type WorkerListToolsParams, type WorkerListToolsQueryResult, WorkerListToolsSortBy, WorkerListToolsSortOrder, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerNotifyAdminResult, WorkerPermission, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, WorkerRunCreatedEnvironment, type WorkerRunCreatedScope, WorkerRunCreatedStatus, WorkerRunEnvironment, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, WorkerRunStatus, type WorkerSchema, type WorkerSummary, type WorkerVersion, type WorkerVersionChangeSummary, type WorkerVersionDetail, type WorkerVersionDetailSchema, type WorkerVersionList, type WorkerVersions, type WorkerWebhookList, addCaseLinks, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createCase, createChat, createChatAgent, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createInformationRequest, createSchedule, createSecret, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteArtifact, deleteCallFeedback, deleteChatAgent, deleteEmail, deleteExtractor, deleteInbox, deleteSchedule, deleteSecret, deleteTool, deleteVoiceAgent, deleteWebhook, deleteWorker, executeCode, generateCodeChallenge, generateCodeVerifier, getAddCaseLinksMutationFetcher, getAddCaseLinksMutationKey, getAddCaseLinksUrl, getAnalyticsTimeSeries, getArtifact, getArtifactMetadataKeys, getArtifactStatusSummary, 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, getCreateCaseMutationFetcher, getCreateCaseMutationKey, getCreateCaseUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateInformationRequestMutationFetcher, getCreateInformationRequestMutationKey, getCreateInformationRequestUrl, getCreateScheduleMutationFetcher, getCreateScheduleMutationKey, getCreateScheduleUrl, getCreateSecretMutationFetcher, getCreateSecretMutationKey, getCreateSecretUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteArtifactMutationFetcher, getDeleteArtifactMutationKey, getDeleteArtifactUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteChatAgentMutationFetcher, getDeleteChatAgentMutationKey, getDeleteChatAgentUrl, getDeleteEmailMutationFetcher, getDeleteEmailMutationKey, getDeleteEmailUrl, getDeleteExtractorMutationFetcher, getDeleteExtractorMutationKey, getDeleteExtractorUrl, getDeleteInboxMutationFetcher, getDeleteInboxMutationKey, getDeleteInboxUrl, getDeleteScheduleMutationFetcher, getDeleteScheduleMutationKey, getDeleteScheduleUrl, getDeleteSecretMutationFetcher, getDeleteSecretMutationKey, getDeleteSecretUrl, getDeleteToolMutationFetcher, getDeleteToolMutationKey, getDeleteToolUrl, getDeleteVoiceAgentMutationFetcher, getDeleteVoiceAgentMutationKey, getDeleteVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getDeleteWorkerMutationFetcher, getDeleteWorkerMutationKey, getDeleteWorkerUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetAnalyticsTimeSeriesKey, getGetAnalyticsTimeSeriesUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactStatusSummaryKey, getGetArtifactStatusSummaryUrl, 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, getGetInformationRequestKey, getGetInformationRequestUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetPartnerJwksKey, getGetPartnerJwksUrl, getGetProfileKey, getGetProfileUrl, getGetPublicChatAgentKey, getGetPublicChatAgentUrl, getGetScheduleKey, getGetScheduleUrl, getGetSecretKey, getGetSecretUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetVoiceAgentVersionChangeSummaryKey, getGetVoiceAgentVersionChangeSummaryUrl, getGetVoiceAgentVersionKey, getGetVoiceAgentVersionUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getGetWorkerVersionChangeSummaryKey, getGetWorkerVersionChangeSummaryUrl, getGetWorkerVersionKey, getGetWorkerVersionUrl, getInformationRequest, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListDispatchesKey, getListDispatchesUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListInformationRequestsKey, getListInformationRequestsUrl, getListJobsKey, getListJobsUrl, getListNotificationsKey, getListNotificationsUrl, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerVersionsKey, getListWorkerVersionsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getNotifyAdminMutationFetcher, getNotifyAdminMutationKey, getNotifyAdminUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPromoteWorkerVersionMutationFetcher, getPromoteWorkerVersionMutationKey, getPromoteWorkerVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRequestPasswordResetMutationFetcher, getRequestPasswordResetMutationKey, getRequestPasswordResetUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, getResetPasswordMutationFetcher, getResetPasswordMutationKey, getResetPasswordUrl, getResolveInformationRequestMutationFetcher, getResolveInformationRequestMutationKey, getResolveInformationRequestUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getRevokeTeamInvitationMutationFetcher, getRevokeTeamInvitationMutationKey, getRevokeTeamInvitationUrl, getSchedule, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSearchCasesKey, getSearchCasesUrl, getSecret, 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, getUpdateScheduleMutationFetcher, getUpdateScheduleMutationKey, getUpdateScheduleUrl, getUpdateSecretMutationFetcher, getUpdateSecretMutationKey, getUpdateSecretUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWebhookMutationFetcher, getUpdateWebhookMutationKey, getUpdateWebhookUrl, getUpdateWorkerMcpsMutationFetcher, getUpdateWorkerMcpsMutationKey, getUpdateWorkerMcpsUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, getWorkerVersion, getWorkerVersionChangeSummary, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listDispatches, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listInformationRequests, listJobs, listNotifications, listSchedules, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerVersions, listWorkerWebhooks, listWorkers, notifyAdmin, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, promoteWorkerVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, requestPasswordReset, resendTeamInvitation, resetPassword, resolveInformationRequest, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSchedule, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWebhook, updateWorker, updateWorkerMcps, updateWorkerPrompt, uploadFile, useAddCaseLinks, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateCase, useCreateChat, useCreateChatAgent, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateInformationRequest, useCreateSchedule, useCreateSecret, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteArtifact, useDeleteCallFeedback, useDeleteChatAgent, useDeleteEmail, useDeleteExtractor, useDeleteInbox, useDeleteSchedule, useDeleteSecret, useDeleteTool, useDeleteVoiceAgent, useDeleteWebhook, useDeleteWorker, useExecuteCode, useGetAnalyticsTimeSeries, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactStatusSummary, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetCase, useGetChat, useGetChatAgent, useGetChatAgentPrompt, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetInformationRequest, useGetOAuthUrl, useGetPartnerJwks, useGetProfile, useGetPublicChatAgent, useGetSchedule, useGetSecret, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetVoiceAgentVersion, useGetVoiceAgentVersionChangeSummary, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useGetWorkerVersion, useGetWorkerVersionChangeSummary, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListDispatches, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListInformationRequests, useListJobs, useListNotifications, useListSchedules, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerVersions, useListWorkerWebhooks, useListWorkers, useNotifyAdmin, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, usePromoteWorkerVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useRequestPasswordReset, useResendTeamInvitation, useResetPassword, useResolveInformationRequest, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWebhook, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|