@avallon-labs/sdk 47.3.0 → 47.4.0-staging.1083
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 +662 -310
- package/dist/index.js +241 -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.
|
|
@@ -2899,6 +2991,7 @@ declare const WorkerPermission: {
|
|
|
2899
2991
|
readonly "outbound-jobs:schedule": "outbound-jobs:schedule";
|
|
2900
2992
|
readonly "cases:write": "cases:write";
|
|
2901
2993
|
readonly "schedules:write": "schedules:write";
|
|
2994
|
+
readonly "information-requests:write": "information-requests:write";
|
|
2902
2995
|
};
|
|
2903
2996
|
|
|
2904
2997
|
/**
|
|
@@ -3453,6 +3546,7 @@ type DispatchTriggerType = (typeof DispatchTriggerType)[keyof typeof DispatchTri
|
|
|
3453
3546
|
declare const DispatchTriggerType: {
|
|
3454
3547
|
readonly schedule: "schedule";
|
|
3455
3548
|
readonly email: "email";
|
|
3549
|
+
readonly information_request: "information_request";
|
|
3456
3550
|
};
|
|
3457
3551
|
|
|
3458
3552
|
/**
|
|
@@ -4414,6 +4508,18 @@ interface GetExtractorJobEnvelope {
|
|
|
4414
4508
|
message: string;
|
|
4415
4509
|
}
|
|
4416
4510
|
|
|
4511
|
+
/**
|
|
4512
|
+
* Generated by orval v8.1.0 🍺
|
|
4513
|
+
* Do not edit manually.
|
|
4514
|
+
* Avallon API
|
|
4515
|
+
* OpenAPI spec version: 1.0.0
|
|
4516
|
+
*/
|
|
4517
|
+
|
|
4518
|
+
interface GetInformationRequestEnvelope {
|
|
4519
|
+
data: InformationRequest;
|
|
4520
|
+
message: string;
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4417
4523
|
/**
|
|
4418
4524
|
* Generated by orval v8.1.0 🍺
|
|
4419
4525
|
* Do not edit manually.
|
|
@@ -4501,6 +4607,8 @@ declare const ProfilePermissionsItem: {
|
|
|
4501
4607
|
readonly "api-keys:write": "api-keys:write";
|
|
4502
4608
|
readonly "teams:write": "teams:write";
|
|
4503
4609
|
readonly "cases:write": "cases:write";
|
|
4610
|
+
readonly "information-requests:write": "information-requests:write";
|
|
4611
|
+
readonly "information-requests:resolve": "information-requests:resolve";
|
|
4504
4612
|
readonly "feedback:write": "feedback:write";
|
|
4505
4613
|
readonly "outbound-jobs:write": "outbound-jobs:write";
|
|
4506
4614
|
readonly "outbound-jobs:schedule": "outbound-jobs:schedule";
|
|
@@ -5329,6 +5437,15 @@ type InboxList = Inbox[];
|
|
|
5329
5437
|
|
|
5330
5438
|
type InboxWebhookList = Webhook[];
|
|
5331
5439
|
|
|
5440
|
+
/**
|
|
5441
|
+
* Generated by orval v8.1.0 🍺
|
|
5442
|
+
* Do not edit manually.
|
|
5443
|
+
* Avallon API
|
|
5444
|
+
* OpenAPI spec version: 1.0.0
|
|
5445
|
+
*/
|
|
5446
|
+
|
|
5447
|
+
type InformationRequestList = InformationRequest[];
|
|
5448
|
+
|
|
5332
5449
|
/**
|
|
5333
5450
|
* Generated by orval v8.1.0 🍺
|
|
5334
5451
|
* Do not edit manually.
|
|
@@ -5785,6 +5902,7 @@ declare const ListCaseLinksEntityType: {
|
|
|
5785
5902
|
readonly chat: "chat";
|
|
5786
5903
|
readonly email: "email";
|
|
5787
5904
|
readonly extract: "extract";
|
|
5905
|
+
readonly information_request: "information_request";
|
|
5788
5906
|
readonly schedule: "schedule";
|
|
5789
5907
|
readonly worker_run: "worker_run";
|
|
5790
5908
|
};
|
|
@@ -6210,6 +6328,7 @@ type ListDispatchesTriggerType = (typeof ListDispatchesTriggerType)[keyof typeof
|
|
|
6210
6328
|
declare const ListDispatchesTriggerType: {
|
|
6211
6329
|
readonly schedule: "schedule";
|
|
6212
6330
|
readonly email: "email";
|
|
6331
|
+
readonly information_request: "information_request";
|
|
6213
6332
|
};
|
|
6214
6333
|
|
|
6215
6334
|
/**
|
|
@@ -6788,6 +6907,94 @@ type ListInboxWebhooksParams = {
|
|
|
6788
6907
|
environment?: ListInboxWebhooksEnvironment;
|
|
6789
6908
|
};
|
|
6790
6909
|
|
|
6910
|
+
/**
|
|
6911
|
+
* Generated by orval v8.1.0 🍺
|
|
6912
|
+
* Do not edit manually.
|
|
6913
|
+
* Avallon API
|
|
6914
|
+
* OpenAPI spec version: 1.0.0
|
|
6915
|
+
*/
|
|
6916
|
+
type ListInformationRequestsEnvelopeMeta = {
|
|
6917
|
+
total: number;
|
|
6918
|
+
};
|
|
6919
|
+
|
|
6920
|
+
/**
|
|
6921
|
+
* Generated by orval v8.1.0 🍺
|
|
6922
|
+
* Do not edit manually.
|
|
6923
|
+
* Avallon API
|
|
6924
|
+
* OpenAPI spec version: 1.0.0
|
|
6925
|
+
*/
|
|
6926
|
+
|
|
6927
|
+
interface ListInformationRequestsEnvelope {
|
|
6928
|
+
data: InformationRequestList;
|
|
6929
|
+
message: string;
|
|
6930
|
+
meta: ListInformationRequestsEnvelopeMeta;
|
|
6931
|
+
}
|
|
6932
|
+
|
|
6933
|
+
/**
|
|
6934
|
+
* Generated by orval v8.1.0 🍺
|
|
6935
|
+
* Do not edit manually.
|
|
6936
|
+
* Avallon API
|
|
6937
|
+
* OpenAPI spec version: 1.0.0
|
|
6938
|
+
*/
|
|
6939
|
+
type ListInformationRequestsResolved = (typeof ListInformationRequestsResolved)[keyof typeof ListInformationRequestsResolved];
|
|
6940
|
+
declare const ListInformationRequestsResolved: {
|
|
6941
|
+
readonly true: "true";
|
|
6942
|
+
readonly false: "false";
|
|
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
|
+
type ListInformationRequestsSortBy = (typeof ListInformationRequestsSortBy)[keyof typeof ListInformationRequestsSortBy];
|
|
6952
|
+
declare const ListInformationRequestsSortBy: {
|
|
6953
|
+
readonly created_at: "created_at";
|
|
6954
|
+
};
|
|
6955
|
+
|
|
6956
|
+
/**
|
|
6957
|
+
* Generated by orval v8.1.0 🍺
|
|
6958
|
+
* Do not edit manually.
|
|
6959
|
+
* Avallon API
|
|
6960
|
+
* OpenAPI spec version: 1.0.0
|
|
6961
|
+
*/
|
|
6962
|
+
type ListInformationRequestsSortOrder = (typeof ListInformationRequestsSortOrder)[keyof typeof ListInformationRequestsSortOrder];
|
|
6963
|
+
declare const ListInformationRequestsSortOrder: {
|
|
6964
|
+
readonly asc: "asc";
|
|
6965
|
+
readonly desc: "desc";
|
|
6966
|
+
};
|
|
6967
|
+
|
|
6968
|
+
/**
|
|
6969
|
+
* Generated by orval v8.1.0 🍺
|
|
6970
|
+
* Do not edit manually.
|
|
6971
|
+
* Avallon API
|
|
6972
|
+
* OpenAPI spec version: 1.0.0
|
|
6973
|
+
*/
|
|
6974
|
+
|
|
6975
|
+
type ListInformationRequestsParams = {
|
|
6976
|
+
/**
|
|
6977
|
+
* Only resolved (`true`) or only open (`false`) requests. Omit for both.
|
|
6978
|
+
*/
|
|
6979
|
+
resolved?: ListInformationRequestsResolved;
|
|
6980
|
+
/**
|
|
6981
|
+
* Only requests linked to this case. Values are normalized server-side (trimmed and lowercased).
|
|
6982
|
+
* @minLength 1
|
|
6983
|
+
*/
|
|
6984
|
+
case_id?: string;
|
|
6985
|
+
/**
|
|
6986
|
+
* @minimum 1
|
|
6987
|
+
* @maximum 100
|
|
6988
|
+
*/
|
|
6989
|
+
count?: number;
|
|
6990
|
+
/**
|
|
6991
|
+
* @minimum 0
|
|
6992
|
+
*/
|
|
6993
|
+
offset?: number;
|
|
6994
|
+
sort_by?: ListInformationRequestsSortBy;
|
|
6995
|
+
sort_order?: ListInformationRequestsSortOrder;
|
|
6996
|
+
};
|
|
6997
|
+
|
|
6791
6998
|
/**
|
|
6792
6999
|
* Generated by orval v8.1.0 🍺
|
|
6793
7000
|
* Do not edit manually.
|
|
@@ -8480,6 +8687,33 @@ interface ResetPasswordEnvelope {
|
|
|
8480
8687
|
message: string;
|
|
8481
8688
|
}
|
|
8482
8689
|
|
|
8690
|
+
/**
|
|
8691
|
+
* Generated by orval v8.1.0 🍺
|
|
8692
|
+
* Do not edit manually.
|
|
8693
|
+
* Avallon API
|
|
8694
|
+
* OpenAPI spec version: 1.0.0
|
|
8695
|
+
*/
|
|
8696
|
+
type ResolveInformationRequestBody = {
|
|
8697
|
+
/**
|
|
8698
|
+
* The information the asker was missing, in plain language
|
|
8699
|
+
* @minLength 1
|
|
8700
|
+
* @maxLength 10000
|
|
8701
|
+
*/
|
|
8702
|
+
resolution: string;
|
|
8703
|
+
};
|
|
8704
|
+
|
|
8705
|
+
/**
|
|
8706
|
+
* Generated by orval v8.1.0 🍺
|
|
8707
|
+
* Do not edit manually.
|
|
8708
|
+
* Avallon API
|
|
8709
|
+
* OpenAPI spec version: 1.0.0
|
|
8710
|
+
*/
|
|
8711
|
+
|
|
8712
|
+
interface ResolveInformationRequestEnvelope {
|
|
8713
|
+
data: InformationRequest;
|
|
8714
|
+
message: string;
|
|
8715
|
+
}
|
|
8716
|
+
|
|
8483
8717
|
/**
|
|
8484
8718
|
* Generated by orval v8.1.0 🍺
|
|
8485
8719
|
* Do not edit manually.
|
|
@@ -9803,9 +10037,9 @@ type WorkerListToolsParams = {
|
|
|
9803
10037
|
sort_order?: WorkerListToolsSortOrder;
|
|
9804
10038
|
};
|
|
9805
10039
|
|
|
9806
|
-
type AwaitedInput$
|
|
9807
|
-
type Awaited$
|
|
9808
|
-
type SecondParameter$
|
|
10040
|
+
type AwaitedInput$r<T> = PromiseLike<T> | T;
|
|
10041
|
+
type Awaited$r<O> = O extends AwaitedInput$r<infer T> ? T : never;
|
|
10042
|
+
type SecondParameter$r<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9809
10043
|
/**
|
|
9810
10044
|
* Retrieve a tenant-scoped time series for a single processing-volume metric.
|
|
9811
10045
|
|
|
@@ -9817,16 +10051,16 @@ Pick a `metric` (worker runs, documents, or pages), a date range, a bucket `gran
|
|
|
9817
10051
|
declare const getGetAnalyticsTimeSeriesUrl: (params: GetAnalyticsTimeSeriesParams) => string;
|
|
9818
10052
|
declare const getAnalyticsTimeSeries: (params: GetAnalyticsTimeSeriesParams, options?: RequestInit) => Promise<GetAnalyticsTimeSeriesEnvelope>;
|
|
9819
10053
|
declare const getGetAnalyticsTimeSeriesKey: (params: GetAnalyticsTimeSeriesParams) => readonly ["/v1/analytics/timeseries", ...GetAnalyticsTimeSeriesParams[]];
|
|
9820
|
-
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$
|
|
10054
|
+
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$r<ReturnType<typeof getAnalyticsTimeSeries>>>;
|
|
9821
10055
|
/**
|
|
9822
10056
|
* @summary Get analytics time series
|
|
9823
10057
|
*/
|
|
9824
10058
|
declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(params: GetAnalyticsTimeSeriesParams, options?: {
|
|
9825
|
-
swr?: SWRConfiguration<Awaited$
|
|
10059
|
+
swr?: SWRConfiguration<Awaited$r<ReturnType<typeof getAnalyticsTimeSeries>>, TError> & {
|
|
9826
10060
|
swrKey?: Key;
|
|
9827
10061
|
enabled?: boolean;
|
|
9828
10062
|
};
|
|
9829
|
-
request?: SecondParameter$
|
|
10063
|
+
request?: SecondParameter$r<typeof customFetch>;
|
|
9830
10064
|
}) => {
|
|
9831
10065
|
data: GetAnalyticsTimeSeriesEnvelope | undefined;
|
|
9832
10066
|
error: TError | undefined;
|
|
@@ -9836,9 +10070,9 @@ declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(par
|
|
|
9836
10070
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
9837
10071
|
};
|
|
9838
10072
|
|
|
9839
|
-
type AwaitedInput$
|
|
9840
|
-
type Awaited$
|
|
9841
|
-
type SecondParameter$
|
|
10073
|
+
type AwaitedInput$q<T> = PromiseLike<T> | T;
|
|
10074
|
+
type Awaited$q<O> = O extends AwaitedInput$q<infer T> ? T : never;
|
|
10075
|
+
type SecondParameter$q<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9842
10076
|
/**
|
|
9843
10077
|
* List all API keys for your tenant.
|
|
9844
10078
|
|
|
@@ -9850,16 +10084,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
9850
10084
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
9851
10085
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ListApiKeysEnvelope>;
|
|
9852
10086
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
9853
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
10087
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$q<ReturnType<typeof listApiKeys>>>;
|
|
9854
10088
|
/**
|
|
9855
10089
|
* @summary List API keys
|
|
9856
10090
|
*/
|
|
9857
10091
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
9858
|
-
swr?: SWRConfiguration<Awaited$
|
|
10092
|
+
swr?: SWRConfiguration<Awaited$q<ReturnType<typeof listApiKeys>>, TError> & {
|
|
9859
10093
|
swrKey?: Key;
|
|
9860
10094
|
enabled?: boolean;
|
|
9861
10095
|
};
|
|
9862
|
-
request?: SecondParameter$
|
|
10096
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9863
10097
|
}) => {
|
|
9864
10098
|
data: ListApiKeysEnvelope | undefined;
|
|
9865
10099
|
error: TError | undefined;
|
|
@@ -9878,19 +10112,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
9878
10112
|
*/
|
|
9879
10113
|
declare const getCreateApiKeyUrl: () => string;
|
|
9880
10114
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<CreateApiKeyEnvelope>;
|
|
9881
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
10115
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$q<typeof customFetch>) => (_: Key, { arg }: {
|
|
9882
10116
|
arg: CreateApiKeyBody;
|
|
9883
10117
|
}) => Promise<CreateApiKeyEnvelope>;
|
|
9884
10118
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
9885
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
10119
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$q<ReturnType<typeof createApiKey>>>;
|
|
9886
10120
|
/**
|
|
9887
10121
|
* @summary Create an API key
|
|
9888
10122
|
*/
|
|
9889
10123
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9890
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10124
|
+
swr?: SWRMutationConfiguration<Awaited$q<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$q<ReturnType<typeof createApiKey>>> & {
|
|
9891
10125
|
swrKey?: string;
|
|
9892
10126
|
};
|
|
9893
|
-
request?: SecondParameter$
|
|
10127
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9894
10128
|
}) => {
|
|
9895
10129
|
isMutating: boolean;
|
|
9896
10130
|
trigger: swr_mutation.TriggerWithArgs<CreateApiKeyEnvelope, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -9909,19 +10143,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
9909
10143
|
*/
|
|
9910
10144
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
9911
10145
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<RevokeApiKeyEnvelope>;
|
|
9912
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
10146
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$q<typeof customFetch>) => (_: Key, __: {
|
|
9913
10147
|
arg: Arguments;
|
|
9914
10148
|
}) => Promise<RevokeApiKeyEnvelope>;
|
|
9915
10149
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
9916
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
10150
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$q<ReturnType<typeof revokeApiKey>>>;
|
|
9917
10151
|
/**
|
|
9918
10152
|
* @summary Revoke an API key
|
|
9919
10153
|
*/
|
|
9920
10154
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9921
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10155
|
+
swr?: SWRMutationConfiguration<Awaited$q<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$q<ReturnType<typeof revokeApiKey>>> & {
|
|
9922
10156
|
swrKey?: string;
|
|
9923
10157
|
};
|
|
9924
|
-
request?: SecondParameter$
|
|
10158
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9925
10159
|
}) => {
|
|
9926
10160
|
isMutating: boolean;
|
|
9927
10161
|
trigger: swr_mutation.TriggerWithOptionsArgs<RevokeApiKeyEnvelope, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -9938,19 +10172,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
9938
10172
|
*/
|
|
9939
10173
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
9940
10174
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<UpdateApiKeyEnvelope>;
|
|
9941
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
10175
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$q<typeof customFetch>) => (_: Key, { arg }: {
|
|
9942
10176
|
arg: UpdateApiKeyBody;
|
|
9943
10177
|
}) => Promise<UpdateApiKeyEnvelope>;
|
|
9944
10178
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
9945
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
10179
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$q<ReturnType<typeof updateApiKey>>>;
|
|
9946
10180
|
/**
|
|
9947
10181
|
* @summary Update API key
|
|
9948
10182
|
*/
|
|
9949
10183
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9950
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10184
|
+
swr?: SWRMutationConfiguration<Awaited$q<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$q<ReturnType<typeof updateApiKey>>> & {
|
|
9951
10185
|
swrKey?: string;
|
|
9952
10186
|
};
|
|
9953
|
-
request?: SecondParameter$
|
|
10187
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9954
10188
|
}) => {
|
|
9955
10189
|
isMutating: boolean;
|
|
9956
10190
|
trigger: swr_mutation.TriggerWithArgs<UpdateApiKeyEnvelope, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -9960,9 +10194,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
9960
10194
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
9961
10195
|
};
|
|
9962
10196
|
|
|
9963
|
-
type AwaitedInput$
|
|
9964
|
-
type Awaited$
|
|
9965
|
-
type SecondParameter$
|
|
10197
|
+
type AwaitedInput$p<T> = PromiseLike<T> | T;
|
|
10198
|
+
type Awaited$p<O> = O extends AwaitedInput$p<infer T> ? T : never;
|
|
10199
|
+
type SecondParameter$p<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9966
10200
|
/**
|
|
9967
10201
|
* Upload a document as a base64-encoded artifact for processing.
|
|
9968
10202
|
|
|
@@ -9978,19 +10212,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
9978
10212
|
*/
|
|
9979
10213
|
declare const getCreateArtifactUrl: () => string;
|
|
9980
10214
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<CreateArtifactEnvelope>;
|
|
9981
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
10215
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
9982
10216
|
arg: CreateArtifactBody;
|
|
9983
10217
|
}) => Promise<CreateArtifactEnvelope>;
|
|
9984
10218
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
9985
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
10219
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$p<ReturnType<typeof createArtifact>>>;
|
|
9986
10220
|
/**
|
|
9987
10221
|
* @summary Create artifact
|
|
9988
10222
|
*/
|
|
9989
10223
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9990
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10224
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$p<ReturnType<typeof createArtifact>>> & {
|
|
9991
10225
|
swrKey?: string;
|
|
9992
10226
|
};
|
|
9993
|
-
request?: SecondParameter$
|
|
10227
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
9994
10228
|
}) => {
|
|
9995
10229
|
isMutating: boolean;
|
|
9996
10230
|
trigger: swr_mutation.TriggerWithArgs<CreateArtifactEnvelope, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -10020,16 +10254,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
10020
10254
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
10021
10255
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ListArtifactsEnvelope>;
|
|
10022
10256
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
10023
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
10257
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$p<ReturnType<typeof listArtifacts>>>;
|
|
10024
10258
|
/**
|
|
10025
10259
|
* @summary List artifacts
|
|
10026
10260
|
*/
|
|
10027
10261
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
10028
|
-
swr?: SWRConfiguration<Awaited$
|
|
10262
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof listArtifacts>>, TError> & {
|
|
10029
10263
|
swrKey?: Key;
|
|
10030
10264
|
enabled?: boolean;
|
|
10031
10265
|
};
|
|
10032
|
-
request?: SecondParameter$
|
|
10266
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10033
10267
|
}) => {
|
|
10034
10268
|
data: ListArtifactsEnvelope | undefined;
|
|
10035
10269
|
error: TError | undefined;
|
|
@@ -10047,16 +10281,16 @@ The response always includes `content_with_chunkids_md`: the parsed content anno
|
|
|
10047
10281
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
10048
10282
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<GetArtifactEnvelope>;
|
|
10049
10283
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
10050
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
10284
|
+
type GetArtifactQueryResult = NonNullable<Awaited$p<ReturnType<typeof getArtifact>>>;
|
|
10051
10285
|
/**
|
|
10052
10286
|
* @summary Get artifact
|
|
10053
10287
|
*/
|
|
10054
10288
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10055
|
-
swr?: SWRConfiguration<Awaited$
|
|
10289
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getArtifact>>, TError> & {
|
|
10056
10290
|
swrKey?: Key;
|
|
10057
10291
|
enabled?: boolean;
|
|
10058
10292
|
};
|
|
10059
|
-
request?: SecondParameter$
|
|
10293
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10060
10294
|
}) => {
|
|
10061
10295
|
data: GetArtifactEnvelope | undefined;
|
|
10062
10296
|
error: TError | undefined;
|
|
@@ -10071,19 +10305,19 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
10071
10305
|
*/
|
|
10072
10306
|
declare const getDeleteArtifactUrl: (id: string) => string;
|
|
10073
10307
|
declare const deleteArtifact: (id: string, options?: RequestInit) => Promise<DeleteArtifactEnvelope>;
|
|
10074
|
-
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$
|
|
10308
|
+
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$p<typeof customFetch>) => (_: Key, __: {
|
|
10075
10309
|
arg: Arguments;
|
|
10076
10310
|
}) => Promise<DeleteArtifactEnvelope>;
|
|
10077
10311
|
declare const getDeleteArtifactMutationKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
10078
|
-
type DeleteArtifactMutationResult = NonNullable<Awaited$
|
|
10312
|
+
type DeleteArtifactMutationResult = NonNullable<Awaited$p<ReturnType<typeof deleteArtifact>>>;
|
|
10079
10313
|
/**
|
|
10080
10314
|
* @summary Delete artifact
|
|
10081
10315
|
*/
|
|
10082
10316
|
declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10083
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10317
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof deleteArtifact>>, TError, Key, Arguments, Awaited$p<ReturnType<typeof deleteArtifact>>> & {
|
|
10084
10318
|
swrKey?: string;
|
|
10085
10319
|
};
|
|
10086
|
-
request?: SecondParameter$
|
|
10320
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10087
10321
|
}) => {
|
|
10088
10322
|
isMutating: boolean;
|
|
10089
10323
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteArtifactEnvelope, TError, string | readonly [`/v1/artifacts/${string}`], Arguments>;
|
|
@@ -10099,16 +10333,16 @@ declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
10099
10333
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
10100
10334
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<GetArtifactMetadataKeysEnvelope>;
|
|
10101
10335
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
10102
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
10336
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$p<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
10103
10337
|
/**
|
|
10104
10338
|
* @summary Get artifact metadata keys
|
|
10105
10339
|
*/
|
|
10106
10340
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
10107
|
-
swr?: SWRConfiguration<Awaited$
|
|
10341
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
10108
10342
|
swrKey?: Key;
|
|
10109
10343
|
enabled?: boolean;
|
|
10110
10344
|
};
|
|
10111
|
-
request?: SecondParameter$
|
|
10345
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10112
10346
|
}) => {
|
|
10113
10347
|
data: GetArtifactMetadataKeysEnvelope | undefined;
|
|
10114
10348
|
error: TError | undefined;
|
|
@@ -10126,16 +10360,16 @@ Define the scope with bracket notation (e.g. `scope[email_id]=abc-123`). At leas
|
|
|
10126
10360
|
declare const getGetArtifactStatusSummaryUrl: (params: GetArtifactStatusSummaryParams) => string;
|
|
10127
10361
|
declare const getArtifactStatusSummary: (params: GetArtifactStatusSummaryParams, options?: RequestInit) => Promise<GetArtifactStatusSummaryEnvelope>;
|
|
10128
10362
|
declare const getGetArtifactStatusSummaryKey: (params: GetArtifactStatusSummaryParams) => readonly ["/v1/artifacts/status-summary", ...GetArtifactStatusSummaryParams[]];
|
|
10129
|
-
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$
|
|
10363
|
+
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$p<ReturnType<typeof getArtifactStatusSummary>>>;
|
|
10130
10364
|
/**
|
|
10131
10365
|
* @summary Get artifact status summary
|
|
10132
10366
|
*/
|
|
10133
10367
|
declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(params: GetArtifactStatusSummaryParams, options?: {
|
|
10134
|
-
swr?: SWRConfiguration<Awaited$
|
|
10368
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getArtifactStatusSummary>>, TError> & {
|
|
10135
10369
|
swrKey?: Key;
|
|
10136
10370
|
enabled?: boolean;
|
|
10137
10371
|
};
|
|
10138
|
-
request?: SecondParameter$
|
|
10372
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10139
10373
|
}) => {
|
|
10140
10374
|
data: GetArtifactStatusSummaryEnvelope | undefined;
|
|
10141
10375
|
error: TError | undefined;
|
|
@@ -10150,19 +10384,19 @@ declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(p
|
|
|
10150
10384
|
*/
|
|
10151
10385
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
10152
10386
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrlEnvelope>;
|
|
10153
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
10387
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
10154
10388
|
arg: GetArtifactUploadUrlBody;
|
|
10155
10389
|
}) => Promise<GetArtifactUploadUrlEnvelope>;
|
|
10156
10390
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
10157
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
10391
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$p<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
10158
10392
|
/**
|
|
10159
10393
|
* @summary Request a pre-signed URL for direct large file upload
|
|
10160
10394
|
*/
|
|
10161
10395
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10162
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10396
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$p<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
10163
10397
|
swrKey?: string;
|
|
10164
10398
|
};
|
|
10165
|
-
request?: SecondParameter$
|
|
10399
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10166
10400
|
}) => {
|
|
10167
10401
|
isMutating: boolean;
|
|
10168
10402
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrlEnvelope, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -10177,19 +10411,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
10177
10411
|
*/
|
|
10178
10412
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
10179
10413
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<UpdateArtifactMetadataEnvelope>;
|
|
10180
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
10414
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
10181
10415
|
arg: UpdateArtifactMetadataBody;
|
|
10182
10416
|
}) => Promise<UpdateArtifactMetadataEnvelope>;
|
|
10183
10417
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
10184
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
10418
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$p<ReturnType<typeof updateArtifactMetadata>>>;
|
|
10185
10419
|
/**
|
|
10186
10420
|
* @summary Update artifact metadata
|
|
10187
10421
|
*/
|
|
10188
10422
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10189
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10423
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$p<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
10190
10424
|
swrKey?: string;
|
|
10191
10425
|
};
|
|
10192
|
-
request?: SecondParameter$
|
|
10426
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10193
10427
|
}) => {
|
|
10194
10428
|
isMutating: boolean;
|
|
10195
10429
|
trigger: swr_mutation.TriggerWithArgs<UpdateArtifactMetadataEnvelope, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -10206,19 +10440,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
10206
10440
|
*/
|
|
10207
10441
|
declare const getUploadFileUrl: () => string;
|
|
10208
10442
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileEnvelope>;
|
|
10209
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
10443
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
10210
10444
|
arg: UploadFileBody;
|
|
10211
10445
|
}) => Promise<UploadFileEnvelope>;
|
|
10212
10446
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
10213
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
10447
|
+
type UploadFileMutationResult = NonNullable<Awaited$p<ReturnType<typeof uploadFile>>>;
|
|
10214
10448
|
/**
|
|
10215
10449
|
* @summary Upload a file for processing
|
|
10216
10450
|
*/
|
|
10217
10451
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10218
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10452
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$p<ReturnType<typeof uploadFile>>> & {
|
|
10219
10453
|
swrKey?: string;
|
|
10220
10454
|
};
|
|
10221
|
-
request?: SecondParameter$
|
|
10455
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
10222
10456
|
}) => {
|
|
10223
10457
|
isMutating: boolean;
|
|
10224
10458
|
trigger: swr_mutation.TriggerWithArgs<UploadFileEnvelope, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -10228,28 +10462,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10228
10462
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
10229
10463
|
};
|
|
10230
10464
|
|
|
10231
|
-
type AwaitedInput$
|
|
10232
|
-
type Awaited$
|
|
10233
|
-
type SecondParameter$
|
|
10465
|
+
type AwaitedInput$o<T> = PromiseLike<T> | T;
|
|
10466
|
+
type Awaited$o<O> = O extends AwaitedInput$o<infer T> ? T : never;
|
|
10467
|
+
type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10234
10468
|
/**
|
|
10235
10469
|
* 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
10470
|
* @summary Sign up
|
|
10237
10471
|
*/
|
|
10238
10472
|
declare const getSignUpUrl: () => string;
|
|
10239
10473
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<SignUpEnvelope>;
|
|
10240
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
10474
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10241
10475
|
arg: SignUpBody;
|
|
10242
10476
|
}) => Promise<SignUpEnvelope>;
|
|
10243
10477
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
10244
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
10478
|
+
type SignUpMutationResult = NonNullable<Awaited$o<ReturnType<typeof signUp>>>;
|
|
10245
10479
|
/**
|
|
10246
10480
|
* @summary Sign up
|
|
10247
10481
|
*/
|
|
10248
10482
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10249
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10483
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$o<ReturnType<typeof signUp>>> & {
|
|
10250
10484
|
swrKey?: string;
|
|
10251
10485
|
};
|
|
10252
|
-
request?: SecondParameter$
|
|
10486
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10253
10487
|
}) => {
|
|
10254
10488
|
isMutating: boolean;
|
|
10255
10489
|
trigger: swr_mutation.TriggerWithArgs<SignUpEnvelope, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -10268,19 +10502,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10268
10502
|
*/
|
|
10269
10503
|
declare const getSignInUrl: () => string;
|
|
10270
10504
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<SignInEnvelope>;
|
|
10271
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
10505
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10272
10506
|
arg: SignInBody;
|
|
10273
10507
|
}) => Promise<SignInEnvelope>;
|
|
10274
10508
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
10275
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
10509
|
+
type SignInMutationResult = NonNullable<Awaited$o<ReturnType<typeof signIn>>>;
|
|
10276
10510
|
/**
|
|
10277
10511
|
* @summary Sign in
|
|
10278
10512
|
*/
|
|
10279
10513
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10280
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10514
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$o<ReturnType<typeof signIn>>> & {
|
|
10281
10515
|
swrKey?: string;
|
|
10282
10516
|
};
|
|
10283
|
-
request?: SecondParameter$
|
|
10517
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10284
10518
|
}) => {
|
|
10285
10519
|
isMutating: boolean;
|
|
10286
10520
|
trigger: swr_mutation.TriggerWithArgs<SignInEnvelope, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -10295,19 +10529,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10295
10529
|
*/
|
|
10296
10530
|
declare const getRequestPasswordResetUrl: () => string;
|
|
10297
10531
|
declare const requestPasswordReset: (requestPasswordResetBody: RequestPasswordResetBody, options?: RequestInit) => Promise<RequestPasswordResetEnvelope>;
|
|
10298
|
-
declare const getRequestPasswordResetMutationFetcher: (options?: SecondParameter$
|
|
10532
|
+
declare const getRequestPasswordResetMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10299
10533
|
arg: RequestPasswordResetBody;
|
|
10300
10534
|
}) => Promise<RequestPasswordResetEnvelope>;
|
|
10301
10535
|
declare const getRequestPasswordResetMutationKey: () => readonly ["/v1/auth/request-password-reset"];
|
|
10302
|
-
type RequestPasswordResetMutationResult = NonNullable<Awaited$
|
|
10536
|
+
type RequestPasswordResetMutationResult = NonNullable<Awaited$o<ReturnType<typeof requestPasswordReset>>>;
|
|
10303
10537
|
/**
|
|
10304
10538
|
* @summary Request password reset
|
|
10305
10539
|
*/
|
|
10306
10540
|
declare const useRequestPasswordReset: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10307
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10541
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof requestPasswordReset>>, TError, Key, RequestPasswordResetBody, Awaited$o<ReturnType<typeof requestPasswordReset>>> & {
|
|
10308
10542
|
swrKey?: string;
|
|
10309
10543
|
};
|
|
10310
|
-
request?: SecondParameter$
|
|
10544
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10311
10545
|
}) => {
|
|
10312
10546
|
isMutating: boolean;
|
|
10313
10547
|
trigger: swr_mutation.TriggerWithArgs<RequestPasswordResetEnvelope, TError, string | readonly ["/v1/auth/request-password-reset"], RequestPasswordResetBody>;
|
|
@@ -10322,19 +10556,19 @@ declare const useRequestPasswordReset: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
10322
10556
|
*/
|
|
10323
10557
|
declare const getResetPasswordUrl: () => string;
|
|
10324
10558
|
declare const resetPassword: (resetPasswordBody: ResetPasswordBody, options?: RequestInit) => Promise<ResetPasswordEnvelope>;
|
|
10325
|
-
declare const getResetPasswordMutationFetcher: (options?: SecondParameter$
|
|
10559
|
+
declare const getResetPasswordMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10326
10560
|
arg: ResetPasswordBody;
|
|
10327
10561
|
}) => Promise<ResetPasswordEnvelope>;
|
|
10328
10562
|
declare const getResetPasswordMutationKey: () => readonly ["/v1/auth/reset-password"];
|
|
10329
|
-
type ResetPasswordMutationResult = NonNullable<Awaited$
|
|
10563
|
+
type ResetPasswordMutationResult = NonNullable<Awaited$o<ReturnType<typeof resetPassword>>>;
|
|
10330
10564
|
/**
|
|
10331
10565
|
* @summary Reset password
|
|
10332
10566
|
*/
|
|
10333
10567
|
declare const useResetPassword: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10334
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10568
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof resetPassword>>, TError, Key, ResetPasswordBody, Awaited$o<ReturnType<typeof resetPassword>>> & {
|
|
10335
10569
|
swrKey?: string;
|
|
10336
10570
|
};
|
|
10337
|
-
request?: SecondParameter$
|
|
10571
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10338
10572
|
}) => {
|
|
10339
10573
|
isMutating: boolean;
|
|
10340
10574
|
trigger: swr_mutation.TriggerWithArgs<ResetPasswordEnvelope, TError, string | readonly ["/v1/auth/reset-password"], ResetPasswordBody>;
|
|
@@ -10349,19 +10583,19 @@ declare const useResetPassword: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10349
10583
|
*/
|
|
10350
10584
|
declare const getRefreshTokenUrl: () => string;
|
|
10351
10585
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<RefreshTokenEnvelope>;
|
|
10352
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
10586
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10353
10587
|
arg: RefreshTokenBody;
|
|
10354
10588
|
}) => Promise<RefreshTokenEnvelope>;
|
|
10355
10589
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
10356
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
10590
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$o<ReturnType<typeof refreshToken>>>;
|
|
10357
10591
|
/**
|
|
10358
10592
|
* @summary Refresh authentication token
|
|
10359
10593
|
*/
|
|
10360
10594
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10361
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10595
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$o<ReturnType<typeof refreshToken>>> & {
|
|
10362
10596
|
swrKey?: string;
|
|
10363
10597
|
};
|
|
10364
|
-
request?: SecondParameter$
|
|
10598
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10365
10599
|
}) => {
|
|
10366
10600
|
isMutating: boolean;
|
|
10367
10601
|
trigger: swr_mutation.TriggerWithArgs<RefreshTokenEnvelope, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -10381,16 +10615,16 @@ For enterprise SSO, pass `provider=sso` together with the user's `email`; the em
|
|
|
10381
10615
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
10382
10616
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<GetOAuthUrlEnvelope>;
|
|
10383
10617
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
10384
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
10618
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$o<ReturnType<typeof getOAuthUrl>>>;
|
|
10385
10619
|
/**
|
|
10386
10620
|
* @summary Get OAuth sign-in URL
|
|
10387
10621
|
*/
|
|
10388
10622
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
10389
|
-
swr?: SWRConfiguration<Awaited$
|
|
10623
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
10390
10624
|
swrKey?: Key;
|
|
10391
10625
|
enabled?: boolean;
|
|
10392
10626
|
};
|
|
10393
|
-
request?: SecondParameter$
|
|
10627
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10394
10628
|
}) => {
|
|
10395
10629
|
data: GetOAuthUrlEnvelope | undefined;
|
|
10396
10630
|
error: TError | undefined;
|
|
@@ -10409,19 +10643,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
10409
10643
|
*/
|
|
10410
10644
|
declare const getGetSessionTokenUrl: () => string;
|
|
10411
10645
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionTokenEnvelope>;
|
|
10412
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
10646
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10413
10647
|
arg: GetSessionTokenBody;
|
|
10414
10648
|
}) => Promise<GetSessionTokenEnvelope>;
|
|
10415
10649
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
10416
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
10650
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$o<ReturnType<typeof getSessionToken>>>;
|
|
10417
10651
|
/**
|
|
10418
10652
|
* @summary Create or switch tenant session
|
|
10419
10653
|
*/
|
|
10420
10654
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10421
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10655
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$o<ReturnType<typeof getSessionToken>>> & {
|
|
10422
10656
|
swrKey?: string;
|
|
10423
10657
|
};
|
|
10424
|
-
request?: SecondParameter$
|
|
10658
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10425
10659
|
}) => {
|
|
10426
10660
|
isMutating: boolean;
|
|
10427
10661
|
trigger: swr_mutation.TriggerWithArgs<GetSessionTokenEnvelope, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -10437,16 +10671,16 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
10437
10671
|
declare const getGetPartnerJwksUrl: (partner: string) => string;
|
|
10438
10672
|
declare const getPartnerJwks: (partner: string, options?: RequestInit) => Promise<PartnerJwks>;
|
|
10439
10673
|
declare const getGetPartnerJwksKey: (partner: string) => readonly [`/.well-known/partners/${string}/jwks.json`];
|
|
10440
|
-
type GetPartnerJwksQueryResult = NonNullable<Awaited$
|
|
10674
|
+
type GetPartnerJwksQueryResult = NonNullable<Awaited$o<ReturnType<typeof getPartnerJwks>>>;
|
|
10441
10675
|
/**
|
|
10442
10676
|
* @summary Get partner JWKS
|
|
10443
10677
|
*/
|
|
10444
10678
|
declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: string, options?: {
|
|
10445
|
-
swr?: SWRConfiguration<Awaited$
|
|
10679
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getPartnerJwks>>, TError> & {
|
|
10446
10680
|
swrKey?: Key;
|
|
10447
10681
|
enabled?: boolean;
|
|
10448
10682
|
};
|
|
10449
|
-
request?: SecondParameter$
|
|
10683
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10450
10684
|
}) => {
|
|
10451
10685
|
data: PartnerJwks | undefined;
|
|
10452
10686
|
error: TError | undefined;
|
|
@@ -10461,19 +10695,19 @@ declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: st
|
|
|
10461
10695
|
*/
|
|
10462
10696
|
declare const getPartnerLaunchUrl: (params?: PartnerLaunchParams) => string;
|
|
10463
10697
|
declare const partnerLaunch: (params?: PartnerLaunchParams, options?: RequestInit) => Promise<unknown>;
|
|
10464
|
-
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$
|
|
10698
|
+
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$o<typeof customFetchNoAuth>) => (_: Key, __: {
|
|
10465
10699
|
arg: Arguments;
|
|
10466
10700
|
}) => Promise<unknown>;
|
|
10467
10701
|
declare const getPartnerLaunchMutationKey: (params?: PartnerLaunchParams) => readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
10468
|
-
type PartnerLaunchMutationResult = NonNullable<Awaited$
|
|
10702
|
+
type PartnerLaunchMutationResult = NonNullable<Awaited$o<ReturnType<typeof partnerLaunch>>>;
|
|
10469
10703
|
/**
|
|
10470
10704
|
* @summary Partner launch (SSO)
|
|
10471
10705
|
*/
|
|
10472
10706
|
declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunchEnvelope | ErrorResponse>>(params?: PartnerLaunchParams, options?: {
|
|
10473
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10707
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof partnerLaunch>>, TError, Key, Arguments, Awaited$o<ReturnType<typeof partnerLaunch>>> & {
|
|
10474
10708
|
swrKey?: string;
|
|
10475
10709
|
};
|
|
10476
|
-
request?: SecondParameter$
|
|
10710
|
+
request?: SecondParameter$o<typeof customFetchNoAuth>;
|
|
10477
10711
|
}) => {
|
|
10478
10712
|
isMutating: boolean;
|
|
10479
10713
|
trigger: swr_mutation.TriggerWithOptionsArgs<unknown, TError, string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]], Arguments>;
|
|
@@ -10483,28 +10717,28 @@ declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunchEnvelope | Erro
|
|
|
10483
10717
|
swrKey: string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
10484
10718
|
};
|
|
10485
10719
|
|
|
10486
|
-
type AwaitedInput$
|
|
10487
|
-
type Awaited$
|
|
10488
|
-
type SecondParameter$
|
|
10720
|
+
type AwaitedInput$n<T> = PromiseLike<T> | T;
|
|
10721
|
+
type Awaited$n<O> = O extends AwaitedInput$n<infer T> ? T : never;
|
|
10722
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10489
10723
|
/**
|
|
10490
10724
|
* 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
10725
|
* @summary Create feedback on a call message
|
|
10492
10726
|
*/
|
|
10493
10727
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
10494
10728
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<CreateCallFeedbackEnvelope>;
|
|
10495
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
10729
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
10496
10730
|
arg: CreateFeedbackRequest;
|
|
10497
10731
|
}) => Promise<CreateCallFeedbackEnvelope>;
|
|
10498
10732
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
10499
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
10733
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$n<ReturnType<typeof createCallFeedback>>>;
|
|
10500
10734
|
/**
|
|
10501
10735
|
* @summary Create feedback on a call message
|
|
10502
10736
|
*/
|
|
10503
10737
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10504
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10738
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$n<ReturnType<typeof createCallFeedback>>> & {
|
|
10505
10739
|
swrKey?: string;
|
|
10506
10740
|
};
|
|
10507
|
-
request?: SecondParameter$
|
|
10741
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
10508
10742
|
}) => {
|
|
10509
10743
|
isMutating: boolean;
|
|
10510
10744
|
trigger: swr_mutation.TriggerWithArgs<CreateCallFeedbackEnvelope, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -10520,16 +10754,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
10520
10754
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
10521
10755
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<ListCallFeedbackEnvelope>;
|
|
10522
10756
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
10523
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
10757
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$n<ReturnType<typeof listCallFeedback>>>;
|
|
10524
10758
|
/**
|
|
10525
10759
|
* @summary List feedback for a call
|
|
10526
10760
|
*/
|
|
10527
10761
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
10528
|
-
swr?: SWRConfiguration<Awaited$
|
|
10762
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
10529
10763
|
swrKey?: Key;
|
|
10530
10764
|
enabled?: boolean;
|
|
10531
10765
|
};
|
|
10532
|
-
request?: SecondParameter$
|
|
10766
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
10533
10767
|
}) => {
|
|
10534
10768
|
data: ListCallFeedbackEnvelope | undefined;
|
|
10535
10769
|
error: TError | undefined;
|
|
@@ -10544,19 +10778,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
10544
10778
|
*/
|
|
10545
10779
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
10546
10780
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<DeleteCallFeedbackEnvelope>;
|
|
10547
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
10781
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, __: {
|
|
10548
10782
|
arg: Arguments;
|
|
10549
10783
|
}) => Promise<DeleteCallFeedbackEnvelope>;
|
|
10550
10784
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
10551
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
10785
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$n<ReturnType<typeof deleteCallFeedback>>>;
|
|
10552
10786
|
/**
|
|
10553
10787
|
* @summary Delete feedback
|
|
10554
10788
|
*/
|
|
10555
10789
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
10556
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10790
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$n<ReturnType<typeof deleteCallFeedback>>> & {
|
|
10557
10791
|
swrKey?: string;
|
|
10558
10792
|
};
|
|
10559
|
-
request?: SecondParameter$
|
|
10793
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
10560
10794
|
}) => {
|
|
10561
10795
|
isMutating: boolean;
|
|
10562
10796
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteCallFeedbackEnvelope, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -10566,9 +10800,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
10566
10800
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
10567
10801
|
};
|
|
10568
10802
|
|
|
10569
|
-
type AwaitedInput$
|
|
10570
|
-
type Awaited$
|
|
10571
|
-
type SecondParameter$
|
|
10803
|
+
type AwaitedInput$m<T> = PromiseLike<T> | T;
|
|
10804
|
+
type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
|
|
10805
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10572
10806
|
/**
|
|
10573
10807
|
* List all calls, with pagination, filtering, and sorting.
|
|
10574
10808
|
|
|
@@ -10594,16 +10828,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
10594
10828
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
10595
10829
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<ListCallsEnvelope>;
|
|
10596
10830
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
10597
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
10831
|
+
type ListCallsQueryResult = NonNullable<Awaited$m<ReturnType<typeof listCalls>>>;
|
|
10598
10832
|
/**
|
|
10599
10833
|
* @summary List calls
|
|
10600
10834
|
*/
|
|
10601
10835
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
10602
|
-
swr?: SWRConfiguration<Awaited$
|
|
10836
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof listCalls>>, TError> & {
|
|
10603
10837
|
swrKey?: Key;
|
|
10604
10838
|
enabled?: boolean;
|
|
10605
10839
|
};
|
|
10606
|
-
request?: SecondParameter$
|
|
10840
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10607
10841
|
}) => {
|
|
10608
10842
|
data: ListCallsEnvelope | undefined;
|
|
10609
10843
|
error: TError | undefined;
|
|
@@ -10621,16 +10855,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
10621
10855
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
10622
10856
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<GetCallEnvelope>;
|
|
10623
10857
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
10624
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
10858
|
+
type GetCallQueryResult = NonNullable<Awaited$m<ReturnType<typeof getCall>>>;
|
|
10625
10859
|
/**
|
|
10626
10860
|
* @summary Get call
|
|
10627
10861
|
*/
|
|
10628
10862
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
10629
|
-
swr?: SWRConfiguration<Awaited$
|
|
10863
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getCall>>, TError> & {
|
|
10630
10864
|
swrKey?: Key;
|
|
10631
10865
|
enabled?: boolean;
|
|
10632
10866
|
};
|
|
10633
|
-
request?: SecondParameter$
|
|
10867
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10634
10868
|
}) => {
|
|
10635
10869
|
data: GetCallEnvelope | undefined;
|
|
10636
10870
|
error: TError | undefined;
|
|
@@ -10646,16 +10880,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
10646
10880
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
10647
10881
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<GetCallEvaluationEnvelope>;
|
|
10648
10882
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
10649
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
10883
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$m<ReturnType<typeof getCallEvaluation>>>;
|
|
10650
10884
|
/**
|
|
10651
10885
|
* @summary Get call evaluation
|
|
10652
10886
|
*/
|
|
10653
10887
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10654
|
-
swr?: SWRConfiguration<Awaited$
|
|
10888
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
10655
10889
|
swrKey?: Key;
|
|
10656
10890
|
enabled?: boolean;
|
|
10657
10891
|
};
|
|
10658
|
-
request?: SecondParameter$
|
|
10892
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10659
10893
|
}) => {
|
|
10660
10894
|
data: GetCallEvaluationEnvelope | undefined;
|
|
10661
10895
|
error: TError | undefined;
|
|
@@ -10673,16 +10907,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
10673
10907
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
10674
10908
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<GetCallAnalyticsEnvelope>;
|
|
10675
10909
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
10676
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
10910
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$m<ReturnType<typeof getCallAnalytics>>>;
|
|
10677
10911
|
/**
|
|
10678
10912
|
* @summary Get call analytics
|
|
10679
10913
|
*/
|
|
10680
10914
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
10681
|
-
swr?: SWRConfiguration<Awaited$
|
|
10915
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
10682
10916
|
swrKey?: Key;
|
|
10683
10917
|
enabled?: boolean;
|
|
10684
10918
|
};
|
|
10685
|
-
request?: SecondParameter$
|
|
10919
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10686
10920
|
}) => {
|
|
10687
10921
|
data: GetCallAnalyticsEnvelope | undefined;
|
|
10688
10922
|
error: TError | undefined;
|
|
@@ -10692,9 +10926,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
10692
10926
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
10693
10927
|
};
|
|
10694
10928
|
|
|
10695
|
-
type AwaitedInput$
|
|
10696
|
-
type Awaited$
|
|
10697
|
-
type SecondParameter$
|
|
10929
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
10930
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
10931
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10698
10932
|
/**
|
|
10699
10933
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
10700
10934
|
* @summary List cases
|
|
@@ -10702,16 +10936,16 @@ type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
10702
10936
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
10703
10937
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<ListCasesEnvelope>;
|
|
10704
10938
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
10705
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
10939
|
+
type ListCasesQueryResult = NonNullable<Awaited$l<ReturnType<typeof listCases>>>;
|
|
10706
10940
|
/**
|
|
10707
10941
|
* @summary List cases
|
|
10708
10942
|
*/
|
|
10709
10943
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
10710
|
-
swr?: SWRConfiguration<Awaited$
|
|
10944
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listCases>>, TError> & {
|
|
10711
10945
|
swrKey?: Key;
|
|
10712
10946
|
enabled?: boolean;
|
|
10713
10947
|
};
|
|
10714
|
-
request?: SecondParameter$
|
|
10948
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10715
10949
|
}) => {
|
|
10716
10950
|
data: ListCasesEnvelope | undefined;
|
|
10717
10951
|
error: TError | undefined;
|
|
@@ -10728,19 +10962,19 @@ Case ids are tenant-scoped opaque keys (e.g. "clm-1", "STD-001") and are normali
|
|
|
10728
10962
|
*/
|
|
10729
10963
|
declare const getCreateCaseUrl: () => string;
|
|
10730
10964
|
declare const createCase: (createCaseBody: CreateCaseBody, options?: RequestInit) => Promise<CreateCaseEnvelope>;
|
|
10731
|
-
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$
|
|
10965
|
+
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
10732
10966
|
arg: CreateCaseBody;
|
|
10733
10967
|
}) => Promise<CreateCaseEnvelope>;
|
|
10734
10968
|
declare const getCreateCaseMutationKey: () => readonly ["/v1/cases"];
|
|
10735
|
-
type CreateCaseMutationResult = NonNullable<Awaited$
|
|
10969
|
+
type CreateCaseMutationResult = NonNullable<Awaited$l<ReturnType<typeof createCase>>>;
|
|
10736
10970
|
/**
|
|
10737
10971
|
* @summary Create case
|
|
10738
10972
|
*/
|
|
10739
10973
|
declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10740
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10974
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof createCase>>, TError, Key, CreateCaseBody, Awaited$l<ReturnType<typeof createCase>>> & {
|
|
10741
10975
|
swrKey?: string;
|
|
10742
10976
|
};
|
|
10743
|
-
request?: SecondParameter$
|
|
10977
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10744
10978
|
}) => {
|
|
10745
10979
|
isMutating: boolean;
|
|
10746
10980
|
trigger: swr_mutation.TriggerWithArgs<CreateCaseEnvelope, TError, string | readonly ["/v1/cases"], CreateCaseBody>;
|
|
@@ -10756,16 +10990,16 @@ declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10756
10990
|
declare const getSearchCasesUrl: (params: SearchCasesParams) => string;
|
|
10757
10991
|
declare const searchCases: (params: SearchCasesParams, options?: RequestInit) => Promise<SearchCasesEnvelope>;
|
|
10758
10992
|
declare const getSearchCasesKey: (params: SearchCasesParams) => readonly ["/v1/cases/search", ...SearchCasesParams[]];
|
|
10759
|
-
type SearchCasesQueryResult = NonNullable<Awaited$
|
|
10993
|
+
type SearchCasesQueryResult = NonNullable<Awaited$l<ReturnType<typeof searchCases>>>;
|
|
10760
10994
|
/**
|
|
10761
10995
|
* @summary Search cases
|
|
10762
10996
|
*/
|
|
10763
10997
|
declare const useSearchCases: <TError = ErrorType<ErrorResponse>>(params: SearchCasesParams, options?: {
|
|
10764
|
-
swr?: SWRConfiguration<Awaited$
|
|
10998
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof searchCases>>, TError> & {
|
|
10765
10999
|
swrKey?: Key;
|
|
10766
11000
|
enabled?: boolean;
|
|
10767
11001
|
};
|
|
10768
|
-
request?: SecondParameter$
|
|
11002
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10769
11003
|
}) => {
|
|
10770
11004
|
data: SearchCasesEnvelope | undefined;
|
|
10771
11005
|
error: TError | undefined;
|
|
@@ -10784,16 +11018,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
10784
11018
|
declare const getGetCaseUrl: (id: string) => string;
|
|
10785
11019
|
declare const getCase: (id: string, options?: RequestInit) => Promise<GetCaseEnvelope>;
|
|
10786
11020
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
10787
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
11021
|
+
type GetCaseQueryResult = NonNullable<Awaited$l<ReturnType<typeof getCase>>>;
|
|
10788
11022
|
/**
|
|
10789
11023
|
* @summary Get case
|
|
10790
11024
|
*/
|
|
10791
11025
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10792
|
-
swr?: SWRConfiguration<Awaited$
|
|
11026
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getCase>>, TError> & {
|
|
10793
11027
|
swrKey?: Key;
|
|
10794
11028
|
enabled?: boolean;
|
|
10795
11029
|
};
|
|
10796
|
-
request?: SecondParameter$
|
|
11030
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10797
11031
|
}) => {
|
|
10798
11032
|
data: GetCaseEnvelope | undefined;
|
|
10799
11033
|
error: TError | undefined;
|
|
@@ -10803,26 +11037,26 @@ declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
10803
11037
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
10804
11038
|
};
|
|
10805
11039
|
/**
|
|
10806
|
-
* Link one or more entities (artifacts, calls, chats, emails, extracts, schedules, worker runs) to a case.
|
|
11040
|
+
* Link one or more entities (artifacts, calls, chats, emails, extracts, information requests, schedules, worker runs) to a case.
|
|
10807
11041
|
|
|
10808
11042
|
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
11043
|
* @summary Add case links
|
|
10810
11044
|
*/
|
|
10811
11045
|
declare const getAddCaseLinksUrl: (id: string) => string;
|
|
10812
11046
|
declare const addCaseLinks: (id: string, addCaseLinksBody: AddCaseLinksBody, options?: RequestInit) => Promise<AddCaseLinksEnvelope>;
|
|
10813
|
-
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$
|
|
11047
|
+
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
10814
11048
|
arg: AddCaseLinksBody;
|
|
10815
11049
|
}) => Promise<AddCaseLinksEnvelope>;
|
|
10816
11050
|
declare const getAddCaseLinksMutationKey: (id: string) => readonly [`/v1/cases/${string}/links`];
|
|
10817
|
-
type AddCaseLinksMutationResult = NonNullable<Awaited$
|
|
11051
|
+
type AddCaseLinksMutationResult = NonNullable<Awaited$l<ReturnType<typeof addCaseLinks>>>;
|
|
10818
11052
|
/**
|
|
10819
11053
|
* @summary Add case links
|
|
10820
11054
|
*/
|
|
10821
11055
|
declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10822
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11056
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof addCaseLinks>>, TError, Key, AddCaseLinksBody, Awaited$l<ReturnType<typeof addCaseLinks>>> & {
|
|
10823
11057
|
swrKey?: string;
|
|
10824
11058
|
};
|
|
10825
|
-
request?: SecondParameter$
|
|
11059
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10826
11060
|
}) => {
|
|
10827
11061
|
isMutating: boolean;
|
|
10828
11062
|
trigger: swr_mutation.TriggerWithArgs<AddCaseLinksEnvelope, TError, string | readonly [`/v1/cases/${string}/links`], AddCaseLinksBody>;
|
|
@@ -10838,16 +11072,16 @@ declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
10838
11072
|
declare const getListCaseLinksUrl: (id: string, params?: ListCaseLinksParams) => string;
|
|
10839
11073
|
declare const listCaseLinks: (id: string, params?: ListCaseLinksParams, options?: RequestInit) => Promise<ListCaseLinksEnvelope>;
|
|
10840
11074
|
declare const getListCaseLinksKey: (id: string, params?: ListCaseLinksParams) => readonly [`/v1/cases/${string}/links`, ...ListCaseLinksParams[]];
|
|
10841
|
-
type ListCaseLinksQueryResult = NonNullable<Awaited$
|
|
11075
|
+
type ListCaseLinksQueryResult = NonNullable<Awaited$l<ReturnType<typeof listCaseLinks>>>;
|
|
10842
11076
|
/**
|
|
10843
11077
|
* @summary List case links
|
|
10844
11078
|
*/
|
|
10845
11079
|
declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCaseLinksParams, options?: {
|
|
10846
|
-
swr?: SWRConfiguration<Awaited$
|
|
11080
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listCaseLinks>>, TError> & {
|
|
10847
11081
|
swrKey?: Key;
|
|
10848
11082
|
enabled?: boolean;
|
|
10849
11083
|
};
|
|
10850
|
-
request?: SecondParameter$
|
|
11084
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10851
11085
|
}) => {
|
|
10852
11086
|
data: ListCaseLinksEnvelope | undefined;
|
|
10853
11087
|
error: TError | undefined;
|
|
@@ -10860,52 +11094,52 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
10860
11094
|
* Remove the link between a case and an entity. Removal is idempotent: removing a link that does not exist succeeds without effect.
|
|
10861
11095
|
* @summary Remove case link
|
|
10862
11096
|
*/
|
|
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$
|
|
11097
|
+
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string) => string;
|
|
11098
|
+
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkEnvelope>;
|
|
11099
|
+
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
11100
|
arg: Arguments;
|
|
10867
11101
|
}) => 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$
|
|
11102
|
+
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}`];
|
|
11103
|
+
type RemoveCaseLinkMutationResult = NonNullable<Awaited$l<ReturnType<typeof removeCaseLink>>>;
|
|
10870
11104
|
/**
|
|
10871
11105
|
* @summary Remove case link
|
|
10872
11106
|
*/
|
|
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$
|
|
11107
|
+
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "information_request" | "schedule" | "worker_run", entityId: string, options?: {
|
|
11108
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$l<ReturnType<typeof removeCaseLink>>> & {
|
|
10875
11109
|
swrKey?: string;
|
|
10876
11110
|
};
|
|
10877
|
-
request?: SecondParameter$
|
|
11111
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10878
11112
|
}) => {
|
|
10879
11113
|
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>;
|
|
11114
|
+
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
11115
|
reset: () => void;
|
|
10882
11116
|
error: TError | undefined;
|
|
10883
11117
|
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}`];
|
|
11118
|
+
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
11119
|
};
|
|
10886
11120
|
|
|
10887
|
-
type AwaitedInput$
|
|
10888
|
-
type Awaited$
|
|
10889
|
-
type SecondParameter$
|
|
11121
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
11122
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
11123
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10890
11124
|
/**
|
|
10891
11125
|
* Create a new chat agent with a name and prompt.
|
|
10892
11126
|
* @summary Create chat agent
|
|
10893
11127
|
*/
|
|
10894
11128
|
declare const getCreateChatAgentUrl: () => string;
|
|
10895
11129
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<CreateChatAgentEnvelope>;
|
|
10896
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
11130
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
10897
11131
|
arg: CreateChatAgentBody;
|
|
10898
11132
|
}) => Promise<CreateChatAgentEnvelope>;
|
|
10899
11133
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
10900
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
11134
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$k<ReturnType<typeof createChatAgent>>>;
|
|
10901
11135
|
/**
|
|
10902
11136
|
* @summary Create chat agent
|
|
10903
11137
|
*/
|
|
10904
11138
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10905
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11139
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$k<ReturnType<typeof createChatAgent>>> & {
|
|
10906
11140
|
swrKey?: string;
|
|
10907
11141
|
};
|
|
10908
|
-
request?: SecondParameter$
|
|
11142
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10909
11143
|
}) => {
|
|
10910
11144
|
isMutating: boolean;
|
|
10911
11145
|
trigger: swr_mutation.TriggerWithArgs<CreateChatAgentEnvelope, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -10921,16 +11155,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
10921
11155
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
10922
11156
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ListChatAgentsEnvelope>;
|
|
10923
11157
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
10924
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
11158
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$k<ReturnType<typeof listChatAgents>>>;
|
|
10925
11159
|
/**
|
|
10926
11160
|
* @summary List chat agents
|
|
10927
11161
|
*/
|
|
10928
11162
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
10929
|
-
swr?: SWRConfiguration<Awaited$
|
|
11163
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listChatAgents>>, TError> & {
|
|
10930
11164
|
swrKey?: Key;
|
|
10931
11165
|
enabled?: boolean;
|
|
10932
11166
|
};
|
|
10933
|
-
request?: SecondParameter$
|
|
11167
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10934
11168
|
}) => {
|
|
10935
11169
|
data: ListChatAgentsEnvelope | undefined;
|
|
10936
11170
|
error: TError | undefined;
|
|
@@ -10946,16 +11180,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
10946
11180
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
10947
11181
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<GetChatAgentEnvelope>;
|
|
10948
11182
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10949
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
11183
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$k<ReturnType<typeof getChatAgent>>>;
|
|
10950
11184
|
/**
|
|
10951
11185
|
* @summary Get chat agent
|
|
10952
11186
|
*/
|
|
10953
11187
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10954
|
-
swr?: SWRConfiguration<Awaited$
|
|
11188
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getChatAgent>>, TError> & {
|
|
10955
11189
|
swrKey?: Key;
|
|
10956
11190
|
enabled?: boolean;
|
|
10957
11191
|
};
|
|
10958
|
-
request?: SecondParameter$
|
|
11192
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10959
11193
|
}) => {
|
|
10960
11194
|
data: GetChatAgentEnvelope | undefined;
|
|
10961
11195
|
error: TError | undefined;
|
|
@@ -10970,19 +11204,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
10970
11204
|
*/
|
|
10971
11205
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
10972
11206
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<UpdateChatAgentEnvelope>;
|
|
10973
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
11207
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
10974
11208
|
arg: UpdateChatAgentRequest;
|
|
10975
11209
|
}) => Promise<UpdateChatAgentEnvelope>;
|
|
10976
11210
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10977
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
11211
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$k<ReturnType<typeof updateChatAgent>>>;
|
|
10978
11212
|
/**
|
|
10979
11213
|
* @summary Update chat agent
|
|
10980
11214
|
*/
|
|
10981
11215
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10982
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11216
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$k<ReturnType<typeof updateChatAgent>>> & {
|
|
10983
11217
|
swrKey?: string;
|
|
10984
11218
|
};
|
|
10985
|
-
request?: SecondParameter$
|
|
11219
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10986
11220
|
}) => {
|
|
10987
11221
|
isMutating: boolean;
|
|
10988
11222
|
trigger: swr_mutation.TriggerWithArgs<UpdateChatAgentEnvelope, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -10997,19 +11231,19 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
10997
11231
|
*/
|
|
10998
11232
|
declare const getDeleteChatAgentUrl: (chatAgentId: string) => string;
|
|
10999
11233
|
declare const deleteChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<DeleteChatAgentEnvelope>;
|
|
11000
|
-
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
11234
|
+
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, __: {
|
|
11001
11235
|
arg: Arguments;
|
|
11002
11236
|
}) => Promise<DeleteChatAgentEnvelope>;
|
|
11003
11237
|
declare const getDeleteChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
11004
|
-
type DeleteChatAgentMutationResult = NonNullable<Awaited$
|
|
11238
|
+
type DeleteChatAgentMutationResult = NonNullable<Awaited$k<ReturnType<typeof deleteChatAgent>>>;
|
|
11005
11239
|
/**
|
|
11006
11240
|
* @summary Delete chat agent
|
|
11007
11241
|
*/
|
|
11008
11242
|
declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11009
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11243
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof deleteChatAgent>>, TError, Key, Arguments, Awaited$k<ReturnType<typeof deleteChatAgent>>> & {
|
|
11010
11244
|
swrKey?: string;
|
|
11011
11245
|
};
|
|
11012
|
-
request?: SecondParameter$
|
|
11246
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
11013
11247
|
}) => {
|
|
11014
11248
|
isMutating: boolean;
|
|
11015
11249
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteChatAgentEnvelope, TError, string | readonly [`/v1/chat-agents/${string}`], Arguments>;
|
|
@@ -11025,16 +11259,16 @@ declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
11025
11259
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
11026
11260
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<GetChatAgentPromptEnvelope>;
|
|
11027
11261
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
11028
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
11262
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$k<ReturnType<typeof getChatAgentPrompt>>>;
|
|
11029
11263
|
/**
|
|
11030
11264
|
* @summary Get chat agent prompt
|
|
11031
11265
|
*/
|
|
11032
11266
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11033
|
-
swr?: SWRConfiguration<Awaited$
|
|
11267
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
11034
11268
|
swrKey?: Key;
|
|
11035
11269
|
enabled?: boolean;
|
|
11036
11270
|
};
|
|
11037
|
-
request?: SecondParameter$
|
|
11271
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
11038
11272
|
}) => {
|
|
11039
11273
|
data: GetChatAgentPromptEnvelope | undefined;
|
|
11040
11274
|
error: TError | undefined;
|
|
@@ -11049,19 +11283,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
11049
11283
|
*/
|
|
11050
11284
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
11051
11285
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<UpdateChatAgentPromptEnvelope>;
|
|
11052
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
11286
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
11053
11287
|
arg: UpdateChatAgentPromptBody;
|
|
11054
11288
|
}) => Promise<UpdateChatAgentPromptEnvelope>;
|
|
11055
11289
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
11056
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
11290
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$k<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
11057
11291
|
/**
|
|
11058
11292
|
* @summary Update chat agent prompt
|
|
11059
11293
|
*/
|
|
11060
11294
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11061
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11295
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$k<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
11062
11296
|
swrKey?: string;
|
|
11063
11297
|
};
|
|
11064
|
-
request?: SecondParameter$
|
|
11298
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
11065
11299
|
}) => {
|
|
11066
11300
|
isMutating: boolean;
|
|
11067
11301
|
trigger: swr_mutation.TriggerWithArgs<UpdateChatAgentPromptEnvelope, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -11071,28 +11305,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
11071
11305
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
11072
11306
|
};
|
|
11073
11307
|
|
|
11074
|
-
type AwaitedInput$
|
|
11075
|
-
type Awaited$
|
|
11076
|
-
type SecondParameter$
|
|
11308
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
11309
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
11310
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11077
11311
|
/**
|
|
11078
11312
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
11079
11313
|
* @summary Create a chat
|
|
11080
11314
|
*/
|
|
11081
11315
|
declare const getCreateChatUrl: () => string;
|
|
11082
11316
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<CreateChatEnvelope>;
|
|
11083
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
11317
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
11084
11318
|
arg: CreateChatBody;
|
|
11085
11319
|
}) => Promise<CreateChatEnvelope>;
|
|
11086
11320
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
11087
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
11321
|
+
type CreateChatMutationResult = NonNullable<Awaited$j<ReturnType<typeof createChat>>>;
|
|
11088
11322
|
/**
|
|
11089
11323
|
* @summary Create a chat
|
|
11090
11324
|
*/
|
|
11091
11325
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11092
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11326
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$j<ReturnType<typeof createChat>>> & {
|
|
11093
11327
|
swrKey?: string;
|
|
11094
11328
|
};
|
|
11095
|
-
request?: SecondParameter$
|
|
11329
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11096
11330
|
}) => {
|
|
11097
11331
|
isMutating: boolean;
|
|
11098
11332
|
trigger: swr_mutation.TriggerWithArgs<CreateChatEnvelope, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -11111,16 +11345,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11111
11345
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
11112
11346
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<GetChatEnvelope>;
|
|
11113
11347
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
11114
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
11348
|
+
type GetChatQueryResult = NonNullable<Awaited$j<ReturnType<typeof getChat>>>;
|
|
11115
11349
|
/**
|
|
11116
11350
|
* @summary Get a chat
|
|
11117
11351
|
*/
|
|
11118
11352
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
11119
|
-
swr?: SWRConfiguration<Awaited$
|
|
11353
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getChat>>, TError> & {
|
|
11120
11354
|
swrKey?: Key;
|
|
11121
11355
|
enabled?: boolean;
|
|
11122
11356
|
};
|
|
11123
|
-
request?: SecondParameter$
|
|
11357
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11124
11358
|
}) => {
|
|
11125
11359
|
data: GetChatEnvelope | undefined;
|
|
11126
11360
|
error: TError | undefined;
|
|
@@ -11136,16 +11370,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
11136
11370
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
11137
11371
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<GetPublicChatAgentEnvelope>;
|
|
11138
11372
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
11139
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
11373
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$j<ReturnType<typeof getPublicChatAgent>>>;
|
|
11140
11374
|
/**
|
|
11141
11375
|
* @summary Get a chat agent (public)
|
|
11142
11376
|
*/
|
|
11143
11377
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
11144
|
-
swr?: SWRConfiguration<Awaited$
|
|
11378
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
11145
11379
|
swrKey?: Key;
|
|
11146
11380
|
enabled?: boolean;
|
|
11147
11381
|
};
|
|
11148
|
-
request?: SecondParameter$
|
|
11382
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11149
11383
|
}) => {
|
|
11150
11384
|
data: GetPublicChatAgentEnvelope | undefined;
|
|
11151
11385
|
error: TError | undefined;
|
|
@@ -11163,19 +11397,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11163
11397
|
*/
|
|
11164
11398
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
11165
11399
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<PostChatMessageEnvelope>;
|
|
11166
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
11400
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
11167
11401
|
arg: PostChatMessageBody;
|
|
11168
11402
|
}) => Promise<PostChatMessageEnvelope>;
|
|
11169
11403
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
11170
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
11404
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$j<ReturnType<typeof postChatMessage>>>;
|
|
11171
11405
|
/**
|
|
11172
11406
|
* @summary Post a message to a chat
|
|
11173
11407
|
*/
|
|
11174
11408
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
11175
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11409
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$j<ReturnType<typeof postChatMessage>>> & {
|
|
11176
11410
|
swrKey?: string;
|
|
11177
11411
|
};
|
|
11178
|
-
request?: SecondParameter$
|
|
11412
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11179
11413
|
}) => {
|
|
11180
11414
|
isMutating: boolean;
|
|
11181
11415
|
trigger: swr_mutation.TriggerWithArgs<PostChatMessageEnvelope, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -11191,16 +11425,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
11191
11425
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
11192
11426
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ListChatsEnvelope>;
|
|
11193
11427
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
11194
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
11428
|
+
type ListChatsQueryResult = NonNullable<Awaited$j<ReturnType<typeof listChats>>>;
|
|
11195
11429
|
/**
|
|
11196
11430
|
* @summary List chats
|
|
11197
11431
|
*/
|
|
11198
11432
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
11199
|
-
swr?: SWRConfiguration<Awaited$
|
|
11433
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listChats>>, TError> & {
|
|
11200
11434
|
swrKey?: Key;
|
|
11201
11435
|
enabled?: boolean;
|
|
11202
11436
|
};
|
|
11203
|
-
request?: SecondParameter$
|
|
11437
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11204
11438
|
}) => {
|
|
11205
11439
|
data: ListChatsEnvelope | undefined;
|
|
11206
11440
|
error: TError | undefined;
|
|
@@ -11216,16 +11450,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
11216
11450
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
11217
11451
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ListChatMessagesEnvelope>;
|
|
11218
11452
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
11219
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
11453
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$j<ReturnType<typeof listChatMessages>>>;
|
|
11220
11454
|
/**
|
|
11221
11455
|
* @summary List chat messages
|
|
11222
11456
|
*/
|
|
11223
11457
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
11224
|
-
swr?: SWRConfiguration<Awaited$
|
|
11458
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listChatMessages>>, TError> & {
|
|
11225
11459
|
swrKey?: Key;
|
|
11226
11460
|
enabled?: boolean;
|
|
11227
11461
|
};
|
|
11228
|
-
request?: SecondParameter$
|
|
11462
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
11229
11463
|
}) => {
|
|
11230
11464
|
data: ListChatMessagesEnvelope | undefined;
|
|
11231
11465
|
error: TError | undefined;
|
|
@@ -11235,13 +11469,13 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
11235
11469
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11236
11470
|
};
|
|
11237
11471
|
|
|
11238
|
-
type AwaitedInput$
|
|
11239
|
-
type Awaited$
|
|
11240
|
-
type SecondParameter$
|
|
11472
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
11473
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
11474
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11241
11475
|
/**
|
|
11242
11476
|
* List the organization's dispatches, newest occurrence first.
|
|
11243
11477
|
|
|
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,
|
|
11478
|
+
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
11479
|
|
|
11246
11480
|
- `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
11481
|
- `dispatched` — carried out.
|
|
@@ -11251,22 +11485,22 @@ A dispatch is one occurrence of a trigger in one environment, carried out on its
|
|
|
11251
11485
|
|
|
11252
11486
|
`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
11487
|
|
|
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`.
|
|
11488
|
+
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
11489
|
* @summary List dispatches
|
|
11256
11490
|
*/
|
|
11257
11491
|
declare const getListDispatchesUrl: (params?: ListDispatchesParams) => string;
|
|
11258
11492
|
declare const listDispatches: (params?: ListDispatchesParams, options?: RequestInit) => Promise<ListDispatchesEnvelope>;
|
|
11259
11493
|
declare const getListDispatchesKey: (params?: ListDispatchesParams) => readonly ["/v1/dispatches", ...ListDispatchesParams[]];
|
|
11260
|
-
type ListDispatchesQueryResult = NonNullable<Awaited$
|
|
11494
|
+
type ListDispatchesQueryResult = NonNullable<Awaited$i<ReturnType<typeof listDispatches>>>;
|
|
11261
11495
|
/**
|
|
11262
11496
|
* @summary List dispatches
|
|
11263
11497
|
*/
|
|
11264
11498
|
declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: ListDispatchesParams, options?: {
|
|
11265
|
-
swr?: SWRConfiguration<Awaited$
|
|
11499
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listDispatches>>, TError> & {
|
|
11266
11500
|
swrKey?: Key;
|
|
11267
11501
|
enabled?: boolean;
|
|
11268
11502
|
};
|
|
11269
|
-
request?: SecondParameter$
|
|
11503
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
11270
11504
|
}) => {
|
|
11271
11505
|
data: ListDispatchesEnvelope | undefined;
|
|
11272
11506
|
error: TError | undefined;
|
|
@@ -11276,9 +11510,9 @@ declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
11276
11510
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11277
11511
|
};
|
|
11278
11512
|
|
|
11279
|
-
type AwaitedInput$
|
|
11280
|
-
type Awaited$
|
|
11281
|
-
type SecondParameter$
|
|
11513
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
11514
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
11515
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11282
11516
|
/**
|
|
11283
11517
|
* Retrieve detailed information about a specific email, including full body content.
|
|
11284
11518
|
* @summary Get email
|
|
@@ -11286,16 +11520,16 @@ type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
11286
11520
|
declare const getGetEmailUrl: (emailId: string) => string;
|
|
11287
11521
|
declare const getEmail: (emailId: string, options?: RequestInit) => Promise<GetEmailEnvelope>;
|
|
11288
11522
|
declare const getGetEmailKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
11289
|
-
type GetEmailQueryResult = NonNullable<Awaited$
|
|
11523
|
+
type GetEmailQueryResult = NonNullable<Awaited$h<ReturnType<typeof getEmail>>>;
|
|
11290
11524
|
/**
|
|
11291
11525
|
* @summary Get email
|
|
11292
11526
|
*/
|
|
11293
11527
|
declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11294
|
-
swr?: SWRConfiguration<Awaited$
|
|
11528
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getEmail>>, TError> & {
|
|
11295
11529
|
swrKey?: Key;
|
|
11296
11530
|
enabled?: boolean;
|
|
11297
11531
|
};
|
|
11298
|
-
request?: SecondParameter$
|
|
11532
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11299
11533
|
}) => {
|
|
11300
11534
|
data: GetEmailEnvelope | undefined;
|
|
11301
11535
|
error: TError | undefined;
|
|
@@ -11310,19 +11544,19 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
11310
11544
|
*/
|
|
11311
11545
|
declare const getDeleteEmailUrl: (emailId: string) => string;
|
|
11312
11546
|
declare const deleteEmail: (emailId: string, options?: RequestInit) => Promise<DeleteEmailEnvelope>;
|
|
11313
|
-
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
11547
|
+
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
11314
11548
|
arg: Arguments;
|
|
11315
11549
|
}) => Promise<DeleteEmailEnvelope>;
|
|
11316
11550
|
declare const getDeleteEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
11317
|
-
type DeleteEmailMutationResult = NonNullable<Awaited$
|
|
11551
|
+
type DeleteEmailMutationResult = NonNullable<Awaited$h<ReturnType<typeof deleteEmail>>>;
|
|
11318
11552
|
/**
|
|
11319
11553
|
* @summary Delete email
|
|
11320
11554
|
*/
|
|
11321
11555
|
declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11322
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11556
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof deleteEmail>>, TError, Key, Arguments, Awaited$h<ReturnType<typeof deleteEmail>>> & {
|
|
11323
11557
|
swrKey?: string;
|
|
11324
11558
|
};
|
|
11325
|
-
request?: SecondParameter$
|
|
11559
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11326
11560
|
}) => {
|
|
11327
11561
|
isMutating: boolean;
|
|
11328
11562
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteEmailEnvelope, TError, string | readonly [`/v1/emails/${string}`], Arguments>;
|
|
@@ -11342,16 +11576,16 @@ Filter by email agent, sender, recipient, content search, or case.
|
|
|
11342
11576
|
declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
|
|
11343
11577
|
declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<ListEmailsEnvelope>;
|
|
11344
11578
|
declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
|
|
11345
|
-
type ListEmailsQueryResult = NonNullable<Awaited$
|
|
11579
|
+
type ListEmailsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listEmails>>>;
|
|
11346
11580
|
/**
|
|
11347
11581
|
* @summary List emails
|
|
11348
11582
|
*/
|
|
11349
11583
|
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
|
|
11350
|
-
swr?: SWRConfiguration<Awaited$
|
|
11584
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listEmails>>, TError> & {
|
|
11351
11585
|
swrKey?: Key;
|
|
11352
11586
|
enabled?: boolean;
|
|
11353
11587
|
};
|
|
11354
|
-
request?: SecondParameter$
|
|
11588
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11355
11589
|
}) => {
|
|
11356
11590
|
data: ListEmailsEnvelope | undefined;
|
|
11357
11591
|
error: TError | undefined;
|
|
@@ -11371,16 +11605,16 @@ Filter by inbox or environment. Without an `environment` filter, live and test t
|
|
|
11371
11605
|
declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
|
|
11372
11606
|
declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<ListEmailThreadsEnvelope>;
|
|
11373
11607
|
declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
|
|
11374
|
-
type ListEmailThreadsQueryResult = NonNullable<Awaited$
|
|
11608
|
+
type ListEmailThreadsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listEmailThreads>>>;
|
|
11375
11609
|
/**
|
|
11376
11610
|
* @summary List email threads
|
|
11377
11611
|
*/
|
|
11378
11612
|
declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
|
|
11379
|
-
swr?: SWRConfiguration<Awaited$
|
|
11613
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listEmailThreads>>, TError> & {
|
|
11380
11614
|
swrKey?: Key;
|
|
11381
11615
|
enabled?: boolean;
|
|
11382
11616
|
};
|
|
11383
|
-
request?: SecondParameter$
|
|
11617
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11384
11618
|
}) => {
|
|
11385
11619
|
data: ListEmailThreadsEnvelope | undefined;
|
|
11386
11620
|
error: TError | undefined;
|
|
@@ -11399,19 +11633,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
11399
11633
|
*/
|
|
11400
11634
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
11401
11635
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<ReplyToEmailEnvelope>;
|
|
11402
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
11636
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
11403
11637
|
arg: ReplyToEmailBody;
|
|
11404
11638
|
}) => Promise<ReplyToEmailEnvelope>;
|
|
11405
11639
|
declare const getReplyToEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}/reply`];
|
|
11406
|
-
type ReplyToEmailMutationResult = NonNullable<Awaited$
|
|
11640
|
+
type ReplyToEmailMutationResult = NonNullable<Awaited$h<ReturnType<typeof replyToEmail>>>;
|
|
11407
11641
|
/**
|
|
11408
11642
|
* @summary Reply to email
|
|
11409
11643
|
*/
|
|
11410
11644
|
declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11411
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11645
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited$h<ReturnType<typeof replyToEmail>>> & {
|
|
11412
11646
|
swrKey?: string;
|
|
11413
11647
|
};
|
|
11414
|
-
request?: SecondParameter$
|
|
11648
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11415
11649
|
}) => {
|
|
11416
11650
|
isMutating: boolean;
|
|
11417
11651
|
trigger: swr_mutation.TriggerWithArgs<ReplyToEmailEnvelope, TError, string | readonly [`/v1/emails/${string}/reply`], ReplyToEmailBody>;
|
|
@@ -11428,19 +11662,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
11428
11662
|
*/
|
|
11429
11663
|
declare const getSendEmailUrl: () => string;
|
|
11430
11664
|
declare const sendEmail: (sendEmailBody: SendEmailBody, options?: RequestInit) => Promise<SendEmailEnvelope>;
|
|
11431
|
-
declare const getSendEmailMutationFetcher: (options?: SecondParameter$
|
|
11665
|
+
declare const getSendEmailMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
11432
11666
|
arg: SendEmailBody;
|
|
11433
11667
|
}) => Promise<SendEmailEnvelope>;
|
|
11434
11668
|
declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
|
|
11435
|
-
type SendEmailMutationResult = NonNullable<Awaited$
|
|
11669
|
+
type SendEmailMutationResult = NonNullable<Awaited$h<ReturnType<typeof sendEmail>>>;
|
|
11436
11670
|
/**
|
|
11437
11671
|
* @summary Send email
|
|
11438
11672
|
*/
|
|
11439
11673
|
declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11440
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11674
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited$h<ReturnType<typeof sendEmail>>> & {
|
|
11441
11675
|
swrKey?: string;
|
|
11442
11676
|
};
|
|
11443
|
-
request?: SecondParameter$
|
|
11677
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
11444
11678
|
}) => {
|
|
11445
11679
|
isMutating: boolean;
|
|
11446
11680
|
trigger: swr_mutation.TriggerWithArgs<SendEmailEnvelope, TError, string | readonly ["/v1/emails/send"], SendEmailBody>;
|
|
@@ -11450,9 +11684,9 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
11450
11684
|
swrKey: string | readonly ["/v1/emails/send"];
|
|
11451
11685
|
};
|
|
11452
11686
|
|
|
11453
|
-
type AwaitedInput$
|
|
11454
|
-
type Awaited$
|
|
11455
|
-
type SecondParameter$
|
|
11687
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
11688
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
11689
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11456
11690
|
/**
|
|
11457
11691
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
11458
11692
|
|
|
@@ -11469,16 +11703,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
11469
11703
|
declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
|
|
11470
11704
|
declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ListExtractorJobsEnvelope>;
|
|
11471
11705
|
declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
|
|
11472
|
-
type ListExtractorJobsQueryResult = NonNullable<Awaited$
|
|
11706
|
+
type ListExtractorJobsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listExtractorJobs>>>;
|
|
11473
11707
|
/**
|
|
11474
11708
|
* @summary List extractor jobs
|
|
11475
11709
|
*/
|
|
11476
11710
|
declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
|
|
11477
|
-
swr?: SWRConfiguration<Awaited$
|
|
11711
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listExtractorJobs>>, TError> & {
|
|
11478
11712
|
swrKey?: Key;
|
|
11479
11713
|
enabled?: boolean;
|
|
11480
11714
|
};
|
|
11481
|
-
request?: SecondParameter$
|
|
11715
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11482
11716
|
}) => {
|
|
11483
11717
|
data: ListExtractorJobsEnvelope | undefined;
|
|
11484
11718
|
error: TError | undefined;
|
|
@@ -11495,19 +11729,19 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
11495
11729
|
*/
|
|
11496
11730
|
declare const getCreateExtractorJobUrl: () => string;
|
|
11497
11731
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<CreateExtractorJobEnvelope>;
|
|
11498
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
11732
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
11499
11733
|
arg: CreateExtractorJobBody;
|
|
11500
11734
|
}) => Promise<CreateExtractorJobEnvelope>;
|
|
11501
11735
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
11502
|
-
type CreateExtractorJobMutationResult = NonNullable<Awaited$
|
|
11736
|
+
type CreateExtractorJobMutationResult = NonNullable<Awaited$g<ReturnType<typeof createExtractorJob>>>;
|
|
11503
11737
|
/**
|
|
11504
11738
|
* @summary Create extractor job
|
|
11505
11739
|
*/
|
|
11506
11740
|
declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11507
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11741
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited$g<ReturnType<typeof createExtractorJob>>> & {
|
|
11508
11742
|
swrKey?: string;
|
|
11509
11743
|
};
|
|
11510
|
-
request?: SecondParameter$
|
|
11744
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11511
11745
|
}) => {
|
|
11512
11746
|
isMutating: boolean;
|
|
11513
11747
|
trigger: swr_mutation.TriggerWithArgs<CreateExtractorJobEnvelope, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -11523,16 +11757,16 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
11523
11757
|
declare const getGetExtractorJobUrl: (id: string) => string;
|
|
11524
11758
|
declare const getExtractorJob: (id: string, options?: RequestInit) => Promise<GetExtractorJobEnvelope>;
|
|
11525
11759
|
declare const getGetExtractorJobKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
|
|
11526
|
-
type GetExtractorJobQueryResult = NonNullable<Awaited$
|
|
11760
|
+
type GetExtractorJobQueryResult = NonNullable<Awaited$g<ReturnType<typeof getExtractorJob>>>;
|
|
11527
11761
|
/**
|
|
11528
11762
|
* @summary Get extractor job
|
|
11529
11763
|
*/
|
|
11530
11764
|
declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11531
|
-
swr?: SWRConfiguration<Awaited$
|
|
11765
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getExtractorJob>>, TError> & {
|
|
11532
11766
|
swrKey?: Key;
|
|
11533
11767
|
enabled?: boolean;
|
|
11534
11768
|
};
|
|
11535
|
-
request?: SecondParameter$
|
|
11769
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11536
11770
|
}) => {
|
|
11537
11771
|
data: GetExtractorJobEnvelope | undefined;
|
|
11538
11772
|
error: TError | undefined;
|
|
@@ -11542,28 +11776,28 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11542
11776
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11543
11777
|
};
|
|
11544
11778
|
|
|
11545
|
-
type AwaitedInput$
|
|
11546
|
-
type Awaited$
|
|
11547
|
-
type SecondParameter$
|
|
11779
|
+
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
11780
|
+
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
11781
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11548
11782
|
/**
|
|
11549
11783
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
11550
11784
|
* @summary Create extractor
|
|
11551
11785
|
*/
|
|
11552
11786
|
declare const getCreateExtractorUrl: () => string;
|
|
11553
11787
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<CreateExtractorEnvelope>;
|
|
11554
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
11788
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
11555
11789
|
arg: CreateExtractorBody;
|
|
11556
11790
|
}) => Promise<CreateExtractorEnvelope>;
|
|
11557
11791
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
11558
|
-
type CreateExtractorMutationResult = NonNullable<Awaited$
|
|
11792
|
+
type CreateExtractorMutationResult = NonNullable<Awaited$f<ReturnType<typeof createExtractor>>>;
|
|
11559
11793
|
/**
|
|
11560
11794
|
* @summary Create extractor
|
|
11561
11795
|
*/
|
|
11562
11796
|
declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11563
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11797
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited$f<ReturnType<typeof createExtractor>>> & {
|
|
11564
11798
|
swrKey?: string;
|
|
11565
11799
|
};
|
|
11566
|
-
request?: SecondParameter$
|
|
11800
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11567
11801
|
}) => {
|
|
11568
11802
|
isMutating: boolean;
|
|
11569
11803
|
trigger: swr_mutation.TriggerWithArgs<CreateExtractorEnvelope, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -11581,16 +11815,16 @@ Filter by name using the `name` query parameter.
|
|
|
11581
11815
|
declare const getListExtractorsUrl: (params?: ListExtractorsParams) => string;
|
|
11582
11816
|
declare const listExtractors: (params?: ListExtractorsParams, options?: RequestInit) => Promise<ListExtractorsEnvelope>;
|
|
11583
11817
|
declare const getListExtractorsKey: (params?: ListExtractorsParams) => readonly ["/v1/extractors", ...ListExtractorsParams[]];
|
|
11584
|
-
type ListExtractorsQueryResult = NonNullable<Awaited$
|
|
11818
|
+
type ListExtractorsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listExtractors>>>;
|
|
11585
11819
|
/**
|
|
11586
11820
|
* @summary List extractors
|
|
11587
11821
|
*/
|
|
11588
11822
|
declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorsParams, options?: {
|
|
11589
|
-
swr?: SWRConfiguration<Awaited$
|
|
11823
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listExtractors>>, TError> & {
|
|
11590
11824
|
swrKey?: Key;
|
|
11591
11825
|
enabled?: boolean;
|
|
11592
11826
|
};
|
|
11593
|
-
request?: SecondParameter$
|
|
11827
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11594
11828
|
}) => {
|
|
11595
11829
|
data: ListExtractorsEnvelope | undefined;
|
|
11596
11830
|
error: TError | undefined;
|
|
@@ -11606,16 +11840,16 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
11606
11840
|
declare const getGetExtractorUrl: (id: string) => string;
|
|
11607
11841
|
declare const getExtractor: (id: string, options?: RequestInit) => Promise<GetExtractorEnvelope>;
|
|
11608
11842
|
declare const getGetExtractorKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11609
|
-
type GetExtractorQueryResult = NonNullable<Awaited$
|
|
11843
|
+
type GetExtractorQueryResult = NonNullable<Awaited$f<ReturnType<typeof getExtractor>>>;
|
|
11610
11844
|
/**
|
|
11611
11845
|
* @summary Get extractor
|
|
11612
11846
|
*/
|
|
11613
11847
|
declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11614
|
-
swr?: SWRConfiguration<Awaited$
|
|
11848
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getExtractor>>, TError> & {
|
|
11615
11849
|
swrKey?: Key;
|
|
11616
11850
|
enabled?: boolean;
|
|
11617
11851
|
};
|
|
11618
|
-
request?: SecondParameter$
|
|
11852
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11619
11853
|
}) => {
|
|
11620
11854
|
data: GetExtractorEnvelope | undefined;
|
|
11621
11855
|
error: TError | undefined;
|
|
@@ -11630,19 +11864,19 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
11630
11864
|
*/
|
|
11631
11865
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
11632
11866
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<UpdateExtractorEnvelope>;
|
|
11633
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
11867
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
11634
11868
|
arg: UpdateExtractorBody;
|
|
11635
11869
|
}) => Promise<UpdateExtractorEnvelope>;
|
|
11636
11870
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11637
|
-
type UpdateExtractorMutationResult = NonNullable<Awaited$
|
|
11871
|
+
type UpdateExtractorMutationResult = NonNullable<Awaited$f<ReturnType<typeof updateExtractor>>>;
|
|
11638
11872
|
/**
|
|
11639
11873
|
* @summary Update extractor
|
|
11640
11874
|
*/
|
|
11641
11875
|
declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11642
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11876
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited$f<ReturnType<typeof updateExtractor>>> & {
|
|
11643
11877
|
swrKey?: string;
|
|
11644
11878
|
};
|
|
11645
|
-
request?: SecondParameter$
|
|
11879
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11646
11880
|
}) => {
|
|
11647
11881
|
isMutating: boolean;
|
|
11648
11882
|
trigger: swr_mutation.TriggerWithArgs<UpdateExtractorEnvelope, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -11657,19 +11891,19 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11657
11891
|
*/
|
|
11658
11892
|
declare const getDeleteExtractorUrl: (id: string) => string;
|
|
11659
11893
|
declare const deleteExtractor: (id: string, options?: RequestInit) => Promise<DeleteExtractorEnvelope>;
|
|
11660
|
-
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
11894
|
+
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, __: {
|
|
11661
11895
|
arg: Arguments;
|
|
11662
11896
|
}) => Promise<DeleteExtractorEnvelope>;
|
|
11663
11897
|
declare const getDeleteExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11664
|
-
type DeleteExtractorMutationResult = NonNullable<Awaited$
|
|
11898
|
+
type DeleteExtractorMutationResult = NonNullable<Awaited$f<ReturnType<typeof deleteExtractor>>>;
|
|
11665
11899
|
/**
|
|
11666
11900
|
* @summary Delete extractor
|
|
11667
11901
|
*/
|
|
11668
11902
|
declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11669
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11903
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof deleteExtractor>>, TError, Key, Arguments, Awaited$f<ReturnType<typeof deleteExtractor>>> & {
|
|
11670
11904
|
swrKey?: string;
|
|
11671
11905
|
};
|
|
11672
|
-
request?: SecondParameter$
|
|
11906
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11673
11907
|
}) => {
|
|
11674
11908
|
isMutating: boolean;
|
|
11675
11909
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteExtractorEnvelope, TError, string | readonly [`/v1/extractors/${string}`], Arguments>;
|
|
@@ -11679,9 +11913,9 @@ declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11679
11913
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
11680
11914
|
};
|
|
11681
11915
|
|
|
11682
|
-
type AwaitedInput$
|
|
11683
|
-
type Awaited$
|
|
11684
|
-
type SecondParameter$
|
|
11916
|
+
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
11917
|
+
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
11918
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11685
11919
|
/**
|
|
11686
11920
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
11687
11921
|
* @summary Get extract
|
|
@@ -11689,16 +11923,16 @@ type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
11689
11923
|
declare const getGetExtractUrl: (id: string) => string;
|
|
11690
11924
|
declare const getExtract: (id: string, options?: RequestInit) => Promise<GetExtractEnvelope>;
|
|
11691
11925
|
declare const getGetExtractKey: (id: string) => readonly [`/v1/extracts/${string}`];
|
|
11692
|
-
type GetExtractQueryResult = NonNullable<Awaited$
|
|
11926
|
+
type GetExtractQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtract>>>;
|
|
11693
11927
|
/**
|
|
11694
11928
|
* @summary Get extract
|
|
11695
11929
|
*/
|
|
11696
11930
|
declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11697
|
-
swr?: SWRConfiguration<Awaited$
|
|
11931
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtract>>, TError> & {
|
|
11698
11932
|
swrKey?: Key;
|
|
11699
11933
|
enabled?: boolean;
|
|
11700
11934
|
};
|
|
11701
|
-
request?: SecondParameter$
|
|
11935
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11702
11936
|
}) => {
|
|
11703
11937
|
data: GetExtractEnvelope | undefined;
|
|
11704
11938
|
error: TError | undefined;
|
|
@@ -11714,16 +11948,16 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
11714
11948
|
declare const getGetExtractCitationsUrl: (id: string) => string;
|
|
11715
11949
|
declare const getExtractCitations: (id: string, options?: RequestInit) => Promise<GetExtractCitationsEnvelope>;
|
|
11716
11950
|
declare const getGetExtractCitationsKey: (id: string) => readonly [`/v1/extracts/${string}/citations`];
|
|
11717
|
-
type GetExtractCitationsQueryResult = NonNullable<Awaited$
|
|
11951
|
+
type GetExtractCitationsQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtractCitations>>>;
|
|
11718
11952
|
/**
|
|
11719
11953
|
* @summary Get extract citations
|
|
11720
11954
|
*/
|
|
11721
11955
|
declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11722
|
-
swr?: SWRConfiguration<Awaited$
|
|
11956
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtractCitations>>, TError> & {
|
|
11723
11957
|
swrKey?: Key;
|
|
11724
11958
|
enabled?: boolean;
|
|
11725
11959
|
};
|
|
11726
|
-
request?: SecondParameter$
|
|
11960
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11727
11961
|
}) => {
|
|
11728
11962
|
data: GetExtractCitationsEnvelope | undefined;
|
|
11729
11963
|
error: TError | undefined;
|
|
@@ -11746,16 +11980,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
11746
11980
|
declare const getListExtractsUrl: (params?: ListExtractsParams) => string;
|
|
11747
11981
|
declare const listExtracts: (params?: ListExtractsParams, options?: RequestInit) => Promise<ListExtractsEnvelope>;
|
|
11748
11982
|
declare const getListExtractsKey: (params?: ListExtractsParams) => readonly ["/v1/extracts", ...ListExtractsParams[]];
|
|
11749
|
-
type ListExtractsQueryResult = NonNullable<Awaited$
|
|
11983
|
+
type ListExtractsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listExtracts>>>;
|
|
11750
11984
|
/**
|
|
11751
11985
|
* @summary List extracts
|
|
11752
11986
|
*/
|
|
11753
11987
|
declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: ListExtractsParams, options?: {
|
|
11754
|
-
swr?: SWRConfiguration<Awaited$
|
|
11988
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listExtracts>>, TError> & {
|
|
11755
11989
|
swrKey?: Key;
|
|
11756
11990
|
enabled?: boolean;
|
|
11757
11991
|
};
|
|
11758
|
-
request?: SecondParameter$
|
|
11992
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11759
11993
|
}) => {
|
|
11760
11994
|
data: ListExtractsEnvelope | undefined;
|
|
11761
11995
|
error: TError | undefined;
|
|
@@ -11765,9 +11999,9 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
11765
11999
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11766
12000
|
};
|
|
11767
12001
|
|
|
11768
|
-
type AwaitedInput$
|
|
11769
|
-
type Awaited$
|
|
11770
|
-
type SecondParameter$
|
|
12002
|
+
type AwaitedInput$d<T> = PromiseLike<T> | T;
|
|
12003
|
+
type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
|
|
12004
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11771
12005
|
/**
|
|
11772
12006
|
* Check whether a given email username is available for creating a new inbox.
|
|
11773
12007
|
|
|
@@ -11778,16 +12012,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11778
12012
|
declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
|
|
11779
12013
|
declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<CheckInboxAvailabilityEnvelope>;
|
|
11780
12014
|
declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
|
|
11781
|
-
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$
|
|
12015
|
+
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$d<ReturnType<typeof checkInboxAvailability>>>;
|
|
11782
12016
|
/**
|
|
11783
12017
|
* @summary Check email username availability
|
|
11784
12018
|
*/
|
|
11785
12019
|
declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
|
|
11786
|
-
swr?: SWRConfiguration<Awaited$
|
|
12020
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof checkInboxAvailability>>, TError> & {
|
|
11787
12021
|
swrKey?: Key;
|
|
11788
12022
|
enabled?: boolean;
|
|
11789
12023
|
};
|
|
11790
|
-
request?: SecondParameter$
|
|
12024
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11791
12025
|
}) => {
|
|
11792
12026
|
data: CheckInboxAvailabilityEnvelope | undefined;
|
|
11793
12027
|
error: TError | undefined;
|
|
@@ -11809,19 +12043,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11809
12043
|
*/
|
|
11810
12044
|
declare const getCreateInboxUrl: () => string;
|
|
11811
12045
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<CreateInboxEnvelope>;
|
|
11812
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
12046
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
11813
12047
|
arg: CreateInboxBody;
|
|
11814
12048
|
}) => Promise<CreateInboxEnvelope>;
|
|
11815
12049
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
11816
|
-
type CreateInboxMutationResult = NonNullable<Awaited$
|
|
12050
|
+
type CreateInboxMutationResult = NonNullable<Awaited$d<ReturnType<typeof createInbox>>>;
|
|
11817
12051
|
/**
|
|
11818
12052
|
* @summary Create inbox
|
|
11819
12053
|
*/
|
|
11820
12054
|
declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11821
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
12055
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited$d<ReturnType<typeof createInbox>>> & {
|
|
11822
12056
|
swrKey?: string;
|
|
11823
12057
|
};
|
|
11824
|
-
request?: SecondParameter$
|
|
12058
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11825
12059
|
}) => {
|
|
11826
12060
|
isMutating: boolean;
|
|
11827
12061
|
trigger: swr_mutation.TriggerWithArgs<CreateInboxEnvelope, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -11840,16 +12074,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11840
12074
|
declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
|
|
11841
12075
|
declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<ListInboxesEnvelope>;
|
|
11842
12076
|
declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
|
|
11843
|
-
type ListInboxesQueryResult = NonNullable<Awaited$
|
|
12077
|
+
type ListInboxesQueryResult = NonNullable<Awaited$d<ReturnType<typeof listInboxes>>>;
|
|
11844
12078
|
/**
|
|
11845
12079
|
* @summary List inboxes
|
|
11846
12080
|
*/
|
|
11847
12081
|
declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
|
|
11848
|
-
swr?: SWRConfiguration<Awaited$
|
|
12082
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listInboxes>>, TError> & {
|
|
11849
12083
|
swrKey?: Key;
|
|
11850
12084
|
enabled?: boolean;
|
|
11851
12085
|
};
|
|
11852
|
-
request?: SecondParameter$
|
|
12086
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11853
12087
|
}) => {
|
|
11854
12088
|
data: ListInboxesEnvelope | undefined;
|
|
11855
12089
|
error: TError | undefined;
|
|
@@ -11867,19 +12101,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11867
12101
|
*/
|
|
11868
12102
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
11869
12103
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<UpdateInboxEnvelope>;
|
|
11870
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
12104
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
11871
12105
|
arg: UpdateInboxBody;
|
|
11872
12106
|
}) => Promise<UpdateInboxEnvelope>;
|
|
11873
12107
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
11874
|
-
type UpdateInboxMutationResult = NonNullable<Awaited$
|
|
12108
|
+
type UpdateInboxMutationResult = NonNullable<Awaited$d<ReturnType<typeof updateInbox>>>;
|
|
11875
12109
|
/**
|
|
11876
12110
|
* @summary Update inbox
|
|
11877
12111
|
*/
|
|
11878
12112
|
declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
11879
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
12113
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited$d<ReturnType<typeof updateInbox>>> & {
|
|
11880
12114
|
swrKey?: string;
|
|
11881
12115
|
};
|
|
11882
|
-
request?: SecondParameter$
|
|
12116
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11883
12117
|
}) => {
|
|
11884
12118
|
isMutating: boolean;
|
|
11885
12119
|
trigger: swr_mutation.TriggerWithArgs<UpdateInboxEnvelope, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -11894,19 +12128,19 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
11894
12128
|
*/
|
|
11895
12129
|
declare const getDeleteInboxUrl: (inboxId: string) => string;
|
|
11896
12130
|
declare const deleteInbox: (inboxId: string, options?: RequestInit) => Promise<DeleteInboxEnvelope>;
|
|
11897
|
-
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
12131
|
+
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, __: {
|
|
11898
12132
|
arg: Arguments;
|
|
11899
12133
|
}) => Promise<DeleteInboxEnvelope>;
|
|
11900
12134
|
declare const getDeleteInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
11901
|
-
type DeleteInboxMutationResult = NonNullable<Awaited$
|
|
12135
|
+
type DeleteInboxMutationResult = NonNullable<Awaited$d<ReturnType<typeof deleteInbox>>>;
|
|
11902
12136
|
/**
|
|
11903
12137
|
* @summary Delete inbox
|
|
11904
12138
|
*/
|
|
11905
12139
|
declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
11906
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
12140
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof deleteInbox>>, TError, Key, Arguments, Awaited$d<ReturnType<typeof deleteInbox>>> & {
|
|
11907
12141
|
swrKey?: string;
|
|
11908
12142
|
};
|
|
11909
|
-
request?: SecondParameter$
|
|
12143
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11910
12144
|
}) => {
|
|
11911
12145
|
isMutating: boolean;
|
|
11912
12146
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteInboxEnvelope, TError, string | readonly [`/v1/inboxes/${string}`], Arguments>;
|
|
@@ -11916,6 +12150,124 @@ declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
11916
12150
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
11917
12151
|
};
|
|
11918
12152
|
|
|
12153
|
+
type AwaitedInput$c<T> = PromiseLike<T> | T;
|
|
12154
|
+
type Awaited$c<O> = O extends AwaitedInput$c<infer T> ? T : never;
|
|
12155
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
12156
|
+
/**
|
|
12157
|
+
* Ask a person for a specific fact you cannot establish yourself.
|
|
12158
|
+
|
|
12159
|
+
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.
|
|
12160
|
+
|
|
12161
|
+
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.
|
|
12162
|
+
|
|
12163
|
+
**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.
|
|
12164
|
+
|
|
12165
|
+
Do not use it for progress updates, or for anything you can work out yourself.
|
|
12166
|
+
* @summary Ask for information
|
|
12167
|
+
*/
|
|
12168
|
+
declare const getCreateInformationRequestUrl: () => string;
|
|
12169
|
+
declare const createInformationRequest: (createInformationRequestBody: CreateInformationRequestBody, options?: RequestInit) => Promise<CreateInformationRequestEnvelope>;
|
|
12170
|
+
declare const getCreateInformationRequestMutationFetcher: (options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
12171
|
+
arg: CreateInformationRequestBody;
|
|
12172
|
+
}) => Promise<CreateInformationRequestEnvelope>;
|
|
12173
|
+
declare const getCreateInformationRequestMutationKey: () => readonly ["/v1/information-requests"];
|
|
12174
|
+
type CreateInformationRequestMutationResult = NonNullable<Awaited$c<ReturnType<typeof createInformationRequest>>>;
|
|
12175
|
+
/**
|
|
12176
|
+
* @summary Ask for information
|
|
12177
|
+
*/
|
|
12178
|
+
declare const useCreateInformationRequest: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
12179
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof createInformationRequest>>, TError, Key, CreateInformationRequestBody, Awaited$c<ReturnType<typeof createInformationRequest>>> & {
|
|
12180
|
+
swrKey?: string;
|
|
12181
|
+
};
|
|
12182
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12183
|
+
}) => {
|
|
12184
|
+
isMutating: boolean;
|
|
12185
|
+
trigger: swr_mutation.TriggerWithArgs<CreateInformationRequestEnvelope, TError, string | readonly ["/v1/information-requests"], CreateInformationRequestBody>;
|
|
12186
|
+
reset: () => void;
|
|
12187
|
+
error: TError | undefined;
|
|
12188
|
+
data: CreateInformationRequestEnvelope | undefined;
|
|
12189
|
+
swrKey: string | readonly ["/v1/information-requests"];
|
|
12190
|
+
};
|
|
12191
|
+
/**
|
|
12192
|
+
* List the organization's information requests, newest first.
|
|
12193
|
+
|
|
12194
|
+
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.
|
|
12195
|
+
* @summary List information requests
|
|
12196
|
+
*/
|
|
12197
|
+
declare const getListInformationRequestsUrl: (params?: ListInformationRequestsParams) => string;
|
|
12198
|
+
declare const listInformationRequests: (params?: ListInformationRequestsParams, options?: RequestInit) => Promise<ListInformationRequestsEnvelope>;
|
|
12199
|
+
declare const getListInformationRequestsKey: (params?: ListInformationRequestsParams) => readonly ["/v1/information-requests", ...ListInformationRequestsParams[]];
|
|
12200
|
+
type ListInformationRequestsQueryResult = NonNullable<Awaited$c<ReturnType<typeof listInformationRequests>>>;
|
|
12201
|
+
/**
|
|
12202
|
+
* @summary List information requests
|
|
12203
|
+
*/
|
|
12204
|
+
declare const useListInformationRequests: <TError = ErrorType<ErrorResponse>>(params?: ListInformationRequestsParams, options?: {
|
|
12205
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof listInformationRequests>>, TError> & {
|
|
12206
|
+
swrKey?: Key;
|
|
12207
|
+
enabled?: boolean;
|
|
12208
|
+
};
|
|
12209
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12210
|
+
}) => {
|
|
12211
|
+
data: ListInformationRequestsEnvelope | undefined;
|
|
12212
|
+
error: TError | undefined;
|
|
12213
|
+
mutate: swr.KeyedMutator<ListInformationRequestsEnvelope>;
|
|
12214
|
+
isValidating: boolean;
|
|
12215
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
12216
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
12217
|
+
};
|
|
12218
|
+
/**
|
|
12219
|
+
* Retrieve a single information request by its ID.
|
|
12220
|
+
* @summary Get information request
|
|
12221
|
+
*/
|
|
12222
|
+
declare const getGetInformationRequestUrl: (informationRequestId: string) => string;
|
|
12223
|
+
declare const getInformationRequest: (informationRequestId: string, options?: RequestInit) => Promise<GetInformationRequestEnvelope>;
|
|
12224
|
+
declare const getGetInformationRequestKey: (informationRequestId: string) => readonly [`/v1/information-requests/${string}`];
|
|
12225
|
+
type GetInformationRequestQueryResult = NonNullable<Awaited$c<ReturnType<typeof getInformationRequest>>>;
|
|
12226
|
+
/**
|
|
12227
|
+
* @summary Get information request
|
|
12228
|
+
*/
|
|
12229
|
+
declare const useGetInformationRequest: <TError = ErrorType<ErrorResponse>>(informationRequestId: string, options?: {
|
|
12230
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getInformationRequest>>, TError> & {
|
|
12231
|
+
swrKey?: Key;
|
|
12232
|
+
enabled?: boolean;
|
|
12233
|
+
};
|
|
12234
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12235
|
+
}) => {
|
|
12236
|
+
data: GetInformationRequestEnvelope | undefined;
|
|
12237
|
+
error: TError | undefined;
|
|
12238
|
+
mutate: swr.KeyedMutator<GetInformationRequestEnvelope>;
|
|
12239
|
+
isValidating: boolean;
|
|
12240
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
12241
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
12242
|
+
};
|
|
12243
|
+
/**
|
|
12244
|
+
* Resolve an open information request by providing an answer/resolution.
|
|
12245
|
+
* @summary Resolve information request
|
|
12246
|
+
*/
|
|
12247
|
+
declare const getResolveInformationRequestUrl: (informationRequestId: string) => string;
|
|
12248
|
+
declare const resolveInformationRequest: (informationRequestId: string, resolveInformationRequestBody: ResolveInformationRequestBody, options?: RequestInit) => Promise<ResolveInformationRequestEnvelope>;
|
|
12249
|
+
declare const getResolveInformationRequestMutationFetcher: (informationRequestId: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
12250
|
+
arg: ResolveInformationRequestBody;
|
|
12251
|
+
}) => Promise<ResolveInformationRequestEnvelope>;
|
|
12252
|
+
declare const getResolveInformationRequestMutationKey: (informationRequestId: string) => readonly [`/v1/information-requests/${string}/resolve`];
|
|
12253
|
+
type ResolveInformationRequestMutationResult = NonNullable<Awaited$c<ReturnType<typeof resolveInformationRequest>>>;
|
|
12254
|
+
/**
|
|
12255
|
+
* @summary Resolve information request
|
|
12256
|
+
*/
|
|
12257
|
+
declare const useResolveInformationRequest: <TError = ErrorType<ErrorResponse>>(informationRequestId: string, options?: {
|
|
12258
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof resolveInformationRequest>>, TError, Key, ResolveInformationRequestBody, Awaited$c<ReturnType<typeof resolveInformationRequest>>> & {
|
|
12259
|
+
swrKey?: string;
|
|
12260
|
+
};
|
|
12261
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
12262
|
+
}) => {
|
|
12263
|
+
isMutating: boolean;
|
|
12264
|
+
trigger: swr_mutation.TriggerWithArgs<ResolveInformationRequestEnvelope, TError, string | readonly [`/v1/information-requests/${string}/resolve`], ResolveInformationRequestBody>;
|
|
12265
|
+
reset: () => void;
|
|
12266
|
+
error: TError | undefined;
|
|
12267
|
+
data: ResolveInformationRequestEnvelope | undefined;
|
|
12268
|
+
swrKey: string | readonly [`/v1/information-requests/${string}/resolve`];
|
|
12269
|
+
};
|
|
12270
|
+
|
|
11919
12271
|
type AwaitedInput$b<T> = PromiseLike<T> | T;
|
|
11920
12272
|
type Awaited$b<O> = O extends AwaitedInput$b<infer T> ? T : never;
|
|
11921
12273
|
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -14130,4 +14482,4 @@ declare const useGetWorkerVersionChangeSummary: <TError = ErrorType<ErrorRespons
|
|
|
14130
14482
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
14131
14483
|
};
|
|
14132
14484
|
|
|
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 };
|
|
14485
|
+
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, 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, 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 };
|