@avallon-labs/sdk 37.3.0-staging.935 → 37.4.0
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 +391 -196
- package/dist/index.js +141 -70
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2307,6 +2307,95 @@ interface DeleteWorkerResponse {
|
|
|
2307
2307
|
[key: string]: unknown;
|
|
2308
2308
|
}
|
|
2309
2309
|
|
|
2310
|
+
/**
|
|
2311
|
+
* Generated by orval v8.1.0 🍺
|
|
2312
|
+
* Do not edit manually.
|
|
2313
|
+
* Avallon API
|
|
2314
|
+
* OpenAPI spec version: 1.0.0
|
|
2315
|
+
*/
|
|
2316
|
+
type DispatchStatus = (typeof DispatchStatus)[keyof typeof DispatchStatus];
|
|
2317
|
+
declare const DispatchStatus: {
|
|
2318
|
+
readonly pending: "pending";
|
|
2319
|
+
readonly dispatched: "dispatched";
|
|
2320
|
+
readonly abandoned: "abandoned";
|
|
2321
|
+
};
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Generated by orval v8.1.0 🍺
|
|
2325
|
+
* Do not edit manually.
|
|
2326
|
+
* Avallon API
|
|
2327
|
+
* OpenAPI spec version: 1.0.0
|
|
2328
|
+
*/
|
|
2329
|
+
type DispatchTargetType = (typeof DispatchTargetType)[keyof typeof DispatchTargetType];
|
|
2330
|
+
declare const DispatchTargetType: {
|
|
2331
|
+
readonly worker_run: "worker_run";
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* Generated by orval v8.1.0 🍺
|
|
2336
|
+
* Do not edit manually.
|
|
2337
|
+
* Avallon API
|
|
2338
|
+
* OpenAPI spec version: 1.0.0
|
|
2339
|
+
*/
|
|
2340
|
+
|
|
2341
|
+
interface DispatchTarget {
|
|
2342
|
+
type: DispatchTargetType;
|
|
2343
|
+
id: string;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
/**
|
|
2347
|
+
* Generated by orval v8.1.0 🍺
|
|
2348
|
+
* Do not edit manually.
|
|
2349
|
+
* Avallon API
|
|
2350
|
+
* OpenAPI spec version: 1.0.0
|
|
2351
|
+
*/
|
|
2352
|
+
type DispatchTriggerType = (typeof DispatchTriggerType)[keyof typeof DispatchTriggerType];
|
|
2353
|
+
declare const DispatchTriggerType: {
|
|
2354
|
+
readonly schedule: "schedule";
|
|
2355
|
+
};
|
|
2356
|
+
|
|
2357
|
+
/**
|
|
2358
|
+
* Generated by orval v8.1.0 🍺
|
|
2359
|
+
* Do not edit manually.
|
|
2360
|
+
* Avallon API
|
|
2361
|
+
* OpenAPI spec version: 1.0.0
|
|
2362
|
+
*/
|
|
2363
|
+
|
|
2364
|
+
interface DispatchTrigger {
|
|
2365
|
+
type: DispatchTriggerType;
|
|
2366
|
+
id: string;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Generated by orval v8.1.0 🍺
|
|
2371
|
+
* Do not edit manually.
|
|
2372
|
+
* Avallon API
|
|
2373
|
+
* OpenAPI spec version: 1.0.0
|
|
2374
|
+
*/
|
|
2375
|
+
|
|
2376
|
+
interface Dispatch {
|
|
2377
|
+
id: string;
|
|
2378
|
+
trigger: DispatchTrigger;
|
|
2379
|
+
target: DispatchTarget | null;
|
|
2380
|
+
due_at: string;
|
|
2381
|
+
expires_at: string;
|
|
2382
|
+
status: DispatchStatus;
|
|
2383
|
+
/**
|
|
2384
|
+
* @minimum -9007199254740991
|
|
2385
|
+
* @maximum 9007199254740991
|
|
2386
|
+
*/
|
|
2387
|
+
attempts: number;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* Generated by orval v8.1.0 🍺
|
|
2392
|
+
* Do not edit manually.
|
|
2393
|
+
* Avallon API
|
|
2394
|
+
* OpenAPI spec version: 1.0.0
|
|
2395
|
+
*/
|
|
2396
|
+
|
|
2397
|
+
type DispatchList = Dispatch[];
|
|
2398
|
+
|
|
2310
2399
|
/**
|
|
2311
2400
|
* Generated by orval v8.1.0 🍺
|
|
2312
2401
|
* Do not edit manually.
|
|
@@ -4004,6 +4093,69 @@ type ListChatsParams = {
|
|
|
4004
4093
|
sort_order?: ListChatsSortOrder;
|
|
4005
4094
|
};
|
|
4006
4095
|
|
|
4096
|
+
/**
|
|
4097
|
+
* Generated by orval v8.1.0 🍺
|
|
4098
|
+
* Do not edit manually.
|
|
4099
|
+
* Avallon API
|
|
4100
|
+
* OpenAPI spec version: 1.0.0
|
|
4101
|
+
*/
|
|
4102
|
+
type ListDispatchesSortBy = (typeof ListDispatchesSortBy)[keyof typeof ListDispatchesSortBy];
|
|
4103
|
+
declare const ListDispatchesSortBy: {
|
|
4104
|
+
readonly due_at: "due_at";
|
|
4105
|
+
};
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* Generated by orval v8.1.0 🍺
|
|
4109
|
+
* Do not edit manually.
|
|
4110
|
+
* Avallon API
|
|
4111
|
+
* OpenAPI spec version: 1.0.0
|
|
4112
|
+
*/
|
|
4113
|
+
type ListDispatchesSortOrder = (typeof ListDispatchesSortOrder)[keyof typeof ListDispatchesSortOrder];
|
|
4114
|
+
declare const ListDispatchesSortOrder: {
|
|
4115
|
+
readonly asc: "asc";
|
|
4116
|
+
readonly desc: "desc";
|
|
4117
|
+
};
|
|
4118
|
+
|
|
4119
|
+
/**
|
|
4120
|
+
* Generated by orval v8.1.0 🍺
|
|
4121
|
+
* Do not edit manually.
|
|
4122
|
+
* Avallon API
|
|
4123
|
+
* OpenAPI spec version: 1.0.0
|
|
4124
|
+
*/
|
|
4125
|
+
type ListDispatchesTriggerType = (typeof ListDispatchesTriggerType)[keyof typeof ListDispatchesTriggerType];
|
|
4126
|
+
declare const ListDispatchesTriggerType: {
|
|
4127
|
+
readonly schedule: "schedule";
|
|
4128
|
+
};
|
|
4129
|
+
|
|
4130
|
+
/**
|
|
4131
|
+
* Generated by orval v8.1.0 🍺
|
|
4132
|
+
* Do not edit manually.
|
|
4133
|
+
* Avallon API
|
|
4134
|
+
* OpenAPI spec version: 1.0.0
|
|
4135
|
+
*/
|
|
4136
|
+
|
|
4137
|
+
type ListDispatchesParams = {
|
|
4138
|
+
/**
|
|
4139
|
+
* Only dispatches produced by this kind of trigger
|
|
4140
|
+
*/
|
|
4141
|
+
trigger_type?: ListDispatchesTriggerType;
|
|
4142
|
+
/**
|
|
4143
|
+
* Only dispatches produced by this trigger. Requires `trigger_type`.
|
|
4144
|
+
*/
|
|
4145
|
+
trigger_id?: string;
|
|
4146
|
+
/**
|
|
4147
|
+
* @minimum 1
|
|
4148
|
+
* @maximum 100
|
|
4149
|
+
*/
|
|
4150
|
+
count?: number;
|
|
4151
|
+
/**
|
|
4152
|
+
* @minimum 0
|
|
4153
|
+
*/
|
|
4154
|
+
offset?: number;
|
|
4155
|
+
sort_by?: ListDispatchesSortBy;
|
|
4156
|
+
sort_order?: ListDispatchesSortOrder;
|
|
4157
|
+
};
|
|
4158
|
+
|
|
4007
4159
|
/**
|
|
4008
4160
|
* Generated by orval v8.1.0 🍺
|
|
4009
4161
|
* Do not edit manually.
|
|
@@ -6813,9 +6965,9 @@ interface WorkerToolList {
|
|
|
6813
6965
|
|
|
6814
6966
|
type WorkerWebhookList = Webhook[];
|
|
6815
6967
|
|
|
6816
|
-
type AwaitedInput$
|
|
6817
|
-
type Awaited$
|
|
6818
|
-
type SecondParameter$
|
|
6968
|
+
type AwaitedInput$p<T> = PromiseLike<T> | T;
|
|
6969
|
+
type Awaited$p<O> = O extends AwaitedInput$p<infer T> ? T : never;
|
|
6970
|
+
type SecondParameter$p<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6819
6971
|
/**
|
|
6820
6972
|
* Retrieve a tenant-scoped time series for a single processing-volume metric.
|
|
6821
6973
|
|
|
@@ -6827,16 +6979,16 @@ Pick a `metric` (worker runs, documents, or pages), a date range, a bucket `gran
|
|
|
6827
6979
|
declare const getGetAnalyticsTimeSeriesUrl: (params: GetAnalyticsTimeSeriesParams) => string;
|
|
6828
6980
|
declare const getAnalyticsTimeSeries: (params: GetAnalyticsTimeSeriesParams, options?: RequestInit) => Promise<AnalyticsTimeSeries[]>;
|
|
6829
6981
|
declare const getGetAnalyticsTimeSeriesKey: (params: GetAnalyticsTimeSeriesParams) => readonly ["/v1/analytics/timeseries", ...GetAnalyticsTimeSeriesParams[]];
|
|
6830
|
-
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$
|
|
6982
|
+
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$p<ReturnType<typeof getAnalyticsTimeSeries>>>;
|
|
6831
6983
|
/**
|
|
6832
6984
|
* @summary Get analytics time series
|
|
6833
6985
|
*/
|
|
6834
6986
|
declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(params: GetAnalyticsTimeSeriesParams, options?: {
|
|
6835
|
-
swr?: SWRConfiguration<Awaited$
|
|
6987
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof getAnalyticsTimeSeries>>, TError> & {
|
|
6836
6988
|
swrKey?: Key;
|
|
6837
6989
|
enabled?: boolean;
|
|
6838
6990
|
};
|
|
6839
|
-
request?: SecondParameter$
|
|
6991
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
6840
6992
|
}) => {
|
|
6841
6993
|
data: AnalyticsTimeSeries[] | undefined;
|
|
6842
6994
|
error: TError | undefined;
|
|
@@ -6846,9 +6998,9 @@ declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(par
|
|
|
6846
6998
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6847
6999
|
};
|
|
6848
7000
|
|
|
6849
|
-
type AwaitedInput$
|
|
6850
|
-
type Awaited$
|
|
6851
|
-
type SecondParameter$
|
|
7001
|
+
type AwaitedInput$o<T> = PromiseLike<T> | T;
|
|
7002
|
+
type Awaited$o<O> = O extends AwaitedInput$o<infer T> ? T : never;
|
|
7003
|
+
type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6852
7004
|
/**
|
|
6853
7005
|
* List all API keys for your tenant.
|
|
6854
7006
|
|
|
@@ -6860,16 +7012,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
6860
7012
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
6861
7013
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ApiKeyList>;
|
|
6862
7014
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
6863
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
7015
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$o<ReturnType<typeof listApiKeys>>>;
|
|
6864
7016
|
/**
|
|
6865
7017
|
* @summary List API keys
|
|
6866
7018
|
*/
|
|
6867
7019
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
6868
|
-
swr?: SWRConfiguration<Awaited$
|
|
7020
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof listApiKeys>>, TError> & {
|
|
6869
7021
|
swrKey?: Key;
|
|
6870
7022
|
enabled?: boolean;
|
|
6871
7023
|
};
|
|
6872
|
-
request?: SecondParameter$
|
|
7024
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
6873
7025
|
}) => {
|
|
6874
7026
|
data: ApiKeyList | undefined;
|
|
6875
7027
|
error: TError | undefined;
|
|
@@ -6888,19 +7040,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
6888
7040
|
*/
|
|
6889
7041
|
declare const getCreateApiKeyUrl: () => string;
|
|
6890
7042
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
6891
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
7043
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$o<typeof customFetch>) => (_: Key, { arg }: {
|
|
6892
7044
|
arg: CreateApiKeyBody;
|
|
6893
7045
|
}) => Promise<ApiKeyCreated>;
|
|
6894
7046
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
6895
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
7047
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$o<ReturnType<typeof createApiKey>>>;
|
|
6896
7048
|
/**
|
|
6897
7049
|
* @summary Create an API key
|
|
6898
7050
|
*/
|
|
6899
7051
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6900
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7052
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$o<ReturnType<typeof createApiKey>>> & {
|
|
6901
7053
|
swrKey?: string;
|
|
6902
7054
|
};
|
|
6903
|
-
request?: SecondParameter$
|
|
7055
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
6904
7056
|
}) => {
|
|
6905
7057
|
isMutating: boolean;
|
|
6906
7058
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -6919,19 +7071,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
6919
7071
|
*/
|
|
6920
7072
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
6921
7073
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
6922
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
7074
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$o<typeof customFetch>) => (_: Key, __: {
|
|
6923
7075
|
arg: Arguments;
|
|
6924
7076
|
}) => Promise<ConfirmationResponse>;
|
|
6925
7077
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
6926
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
7078
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$o<ReturnType<typeof revokeApiKey>>>;
|
|
6927
7079
|
/**
|
|
6928
7080
|
* @summary Revoke an API key
|
|
6929
7081
|
*/
|
|
6930
7082
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6931
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7083
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$o<ReturnType<typeof revokeApiKey>>> & {
|
|
6932
7084
|
swrKey?: string;
|
|
6933
7085
|
};
|
|
6934
|
-
request?: SecondParameter$
|
|
7086
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
6935
7087
|
}) => {
|
|
6936
7088
|
isMutating: boolean;
|
|
6937
7089
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -6948,19 +7100,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
6948
7100
|
*/
|
|
6949
7101
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
6950
7102
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<ApiKey>;
|
|
6951
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
7103
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$o<typeof customFetch>) => (_: Key, { arg }: {
|
|
6952
7104
|
arg: UpdateApiKeyBody;
|
|
6953
7105
|
}) => Promise<ApiKey>;
|
|
6954
7106
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
6955
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
7107
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$o<ReturnType<typeof updateApiKey>>>;
|
|
6956
7108
|
/**
|
|
6957
7109
|
* @summary Update API key
|
|
6958
7110
|
*/
|
|
6959
7111
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6960
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7112
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$o<ReturnType<typeof updateApiKey>>> & {
|
|
6961
7113
|
swrKey?: string;
|
|
6962
7114
|
};
|
|
6963
|
-
request?: SecondParameter$
|
|
7115
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
6964
7116
|
}) => {
|
|
6965
7117
|
isMutating: boolean;
|
|
6966
7118
|
trigger: swr_mutation.TriggerWithArgs<ApiKey, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -6970,9 +7122,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6970
7122
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
6971
7123
|
};
|
|
6972
7124
|
|
|
6973
|
-
type AwaitedInput$
|
|
6974
|
-
type Awaited$
|
|
6975
|
-
type SecondParameter$
|
|
7125
|
+
type AwaitedInput$n<T> = PromiseLike<T> | T;
|
|
7126
|
+
type Awaited$n<O> = O extends AwaitedInput$n<infer T> ? T : never;
|
|
7127
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6976
7128
|
/**
|
|
6977
7129
|
* Upload a document as a base64-encoded artifact for processing.
|
|
6978
7130
|
|
|
@@ -6988,19 +7140,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
6988
7140
|
*/
|
|
6989
7141
|
declare const getCreateArtifactUrl: () => string;
|
|
6990
7142
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
6991
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
7143
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
6992
7144
|
arg: CreateArtifactBody;
|
|
6993
7145
|
}) => Promise<ArtifactCreated>;
|
|
6994
7146
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
6995
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
7147
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$n<ReturnType<typeof createArtifact>>>;
|
|
6996
7148
|
/**
|
|
6997
7149
|
* @summary Create artifact
|
|
6998
7150
|
*/
|
|
6999
7151
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7000
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7152
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$n<ReturnType<typeof createArtifact>>> & {
|
|
7001
7153
|
swrKey?: string;
|
|
7002
7154
|
};
|
|
7003
|
-
request?: SecondParameter$
|
|
7155
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7004
7156
|
}) => {
|
|
7005
7157
|
isMutating: boolean;
|
|
7006
7158
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -7024,16 +7176,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
7024
7176
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
7025
7177
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ArtifactList>;
|
|
7026
7178
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
7027
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
7179
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$n<ReturnType<typeof listArtifacts>>>;
|
|
7028
7180
|
/**
|
|
7029
7181
|
* @summary List artifacts
|
|
7030
7182
|
*/
|
|
7031
7183
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
7032
|
-
swr?: SWRConfiguration<Awaited$
|
|
7184
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof listArtifacts>>, TError> & {
|
|
7033
7185
|
swrKey?: Key;
|
|
7034
7186
|
enabled?: boolean;
|
|
7035
7187
|
};
|
|
7036
|
-
request?: SecondParameter$
|
|
7188
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7037
7189
|
}) => {
|
|
7038
7190
|
data: ArtifactList | undefined;
|
|
7039
7191
|
error: TError | undefined;
|
|
@@ -7051,16 +7203,16 @@ The response always includes `content_with_chunkids_md`: the parsed content anno
|
|
|
7051
7203
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
7052
7204
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
7053
7205
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
7054
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
7206
|
+
type GetArtifactQueryResult = NonNullable<Awaited$n<ReturnType<typeof getArtifact>>>;
|
|
7055
7207
|
/**
|
|
7056
7208
|
* @summary Get artifact
|
|
7057
7209
|
*/
|
|
7058
7210
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7059
|
-
swr?: SWRConfiguration<Awaited$
|
|
7211
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof getArtifact>>, TError> & {
|
|
7060
7212
|
swrKey?: Key;
|
|
7061
7213
|
enabled?: boolean;
|
|
7062
7214
|
};
|
|
7063
|
-
request?: SecondParameter$
|
|
7215
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7064
7216
|
}) => {
|
|
7065
7217
|
data: ArtifactDetail | undefined;
|
|
7066
7218
|
error: TError | undefined;
|
|
@@ -7075,19 +7227,19 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
7075
7227
|
*/
|
|
7076
7228
|
declare const getDeleteArtifactUrl: (id: string) => string;
|
|
7077
7229
|
declare const deleteArtifact: (id: string, options?: RequestInit) => Promise<DeleteArtifactResponse>;
|
|
7078
|
-
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$
|
|
7230
|
+
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, __: {
|
|
7079
7231
|
arg: Arguments;
|
|
7080
7232
|
}) => Promise<DeleteArtifactResponse>;
|
|
7081
7233
|
declare const getDeleteArtifactMutationKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
7082
|
-
type DeleteArtifactMutationResult = NonNullable<Awaited$
|
|
7234
|
+
type DeleteArtifactMutationResult = NonNullable<Awaited$n<ReturnType<typeof deleteArtifact>>>;
|
|
7083
7235
|
/**
|
|
7084
7236
|
* @summary Delete artifact
|
|
7085
7237
|
*/
|
|
7086
7238
|
declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7087
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7239
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof deleteArtifact>>, TError, Key, Arguments, Awaited$n<ReturnType<typeof deleteArtifact>>> & {
|
|
7088
7240
|
swrKey?: string;
|
|
7089
7241
|
};
|
|
7090
|
-
request?: SecondParameter$
|
|
7242
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7091
7243
|
}) => {
|
|
7092
7244
|
isMutating: boolean;
|
|
7093
7245
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteArtifactResponse, TError, string | readonly [`/v1/artifacts/${string}`], Arguments>;
|
|
@@ -7103,16 +7255,16 @@ declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7103
7255
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
7104
7256
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<ArtifactMetadataKeys>;
|
|
7105
7257
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
7106
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
7258
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$n<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
7107
7259
|
/**
|
|
7108
7260
|
* @summary Get artifact metadata keys
|
|
7109
7261
|
*/
|
|
7110
7262
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
7111
|
-
swr?: SWRConfiguration<Awaited$
|
|
7263
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
7112
7264
|
swrKey?: Key;
|
|
7113
7265
|
enabled?: boolean;
|
|
7114
7266
|
};
|
|
7115
|
-
request?: SecondParameter$
|
|
7267
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7116
7268
|
}) => {
|
|
7117
7269
|
data: ArtifactMetadataKeys | undefined;
|
|
7118
7270
|
error: TError | undefined;
|
|
@@ -7130,16 +7282,16 @@ Define the scope with bracket notation (e.g. `scope[email_id]=abc-123`). At leas
|
|
|
7130
7282
|
declare const getGetArtifactStatusSummaryUrl: (params: GetArtifactStatusSummaryParams) => string;
|
|
7131
7283
|
declare const getArtifactStatusSummary: (params: GetArtifactStatusSummaryParams, options?: RequestInit) => Promise<ArtifactStatusSummary>;
|
|
7132
7284
|
declare const getGetArtifactStatusSummaryKey: (params: GetArtifactStatusSummaryParams) => readonly ["/v1/artifacts/status-summary", ...GetArtifactStatusSummaryParams[]];
|
|
7133
|
-
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$
|
|
7285
|
+
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$n<ReturnType<typeof getArtifactStatusSummary>>>;
|
|
7134
7286
|
/**
|
|
7135
7287
|
* @summary Get artifact status summary
|
|
7136
7288
|
*/
|
|
7137
7289
|
declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(params: GetArtifactStatusSummaryParams, options?: {
|
|
7138
|
-
swr?: SWRConfiguration<Awaited$
|
|
7290
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof getArtifactStatusSummary>>, TError> & {
|
|
7139
7291
|
swrKey?: Key;
|
|
7140
7292
|
enabled?: boolean;
|
|
7141
7293
|
};
|
|
7142
|
-
request?: SecondParameter$
|
|
7294
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7143
7295
|
}) => {
|
|
7144
7296
|
data: ArtifactStatusSummary | undefined;
|
|
7145
7297
|
error: TError | undefined;
|
|
@@ -7154,19 +7306,19 @@ declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(p
|
|
|
7154
7306
|
*/
|
|
7155
7307
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
7156
7308
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
7157
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
7309
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
7158
7310
|
arg: GetArtifactUploadUrlBody;
|
|
7159
7311
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
7160
7312
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
7161
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
7313
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$n<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
7162
7314
|
/**
|
|
7163
7315
|
* @summary Request a pre-signed URL for direct large file upload
|
|
7164
7316
|
*/
|
|
7165
7317
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7166
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7318
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$n<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
7167
7319
|
swrKey?: string;
|
|
7168
7320
|
};
|
|
7169
|
-
request?: SecondParameter$
|
|
7321
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7170
7322
|
}) => {
|
|
7171
7323
|
isMutating: boolean;
|
|
7172
7324
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -7181,19 +7333,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
7181
7333
|
*/
|
|
7182
7334
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
7183
7335
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
7184
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
7336
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
7185
7337
|
arg: UpdateArtifactMetadataBody;
|
|
7186
7338
|
}) => Promise<ArtifactDetail>;
|
|
7187
7339
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
7188
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
7340
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$n<ReturnType<typeof updateArtifactMetadata>>>;
|
|
7189
7341
|
/**
|
|
7190
7342
|
* @summary Update artifact metadata
|
|
7191
7343
|
*/
|
|
7192
7344
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7193
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7345
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$n<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
7194
7346
|
swrKey?: string;
|
|
7195
7347
|
};
|
|
7196
|
-
request?: SecondParameter$
|
|
7348
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7197
7349
|
}) => {
|
|
7198
7350
|
isMutating: boolean;
|
|
7199
7351
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -7210,19 +7362,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
7210
7362
|
*/
|
|
7211
7363
|
declare const getUploadFileUrl: () => string;
|
|
7212
7364
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
7213
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
7365
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
7214
7366
|
arg: UploadFileBody;
|
|
7215
7367
|
}) => Promise<UploadFileResponse>;
|
|
7216
7368
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
7217
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
7369
|
+
type UploadFileMutationResult = NonNullable<Awaited$n<ReturnType<typeof uploadFile>>>;
|
|
7218
7370
|
/**
|
|
7219
7371
|
* @summary Upload a file for processing
|
|
7220
7372
|
*/
|
|
7221
7373
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7222
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7374
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$n<ReturnType<typeof uploadFile>>> & {
|
|
7223
7375
|
swrKey?: string;
|
|
7224
7376
|
};
|
|
7225
|
-
request?: SecondParameter$
|
|
7377
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
7226
7378
|
}) => {
|
|
7227
7379
|
isMutating: boolean;
|
|
7228
7380
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -7232,28 +7384,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
7232
7384
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
7233
7385
|
};
|
|
7234
7386
|
|
|
7235
|
-
type AwaitedInput$
|
|
7236
|
-
type Awaited$
|
|
7237
|
-
type SecondParameter$
|
|
7387
|
+
type AwaitedInput$m<T> = PromiseLike<T> | T;
|
|
7388
|
+
type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
|
|
7389
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7238
7390
|
/**
|
|
7239
7391
|
* 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.
|
|
7240
7392
|
* @summary Sign up
|
|
7241
7393
|
*/
|
|
7242
7394
|
declare const getSignUpUrl: () => string;
|
|
7243
7395
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<SignUpResponse>;
|
|
7244
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
7396
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$m<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
7245
7397
|
arg: SignUpBody;
|
|
7246
7398
|
}) => Promise<SignUpResponse>;
|
|
7247
7399
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
7248
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
7400
|
+
type SignUpMutationResult = NonNullable<Awaited$m<ReturnType<typeof signUp>>>;
|
|
7249
7401
|
/**
|
|
7250
7402
|
* @summary Sign up
|
|
7251
7403
|
*/
|
|
7252
7404
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7253
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7405
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$m<ReturnType<typeof signUp>>> & {
|
|
7254
7406
|
swrKey?: string;
|
|
7255
7407
|
};
|
|
7256
|
-
request?: SecondParameter$
|
|
7408
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7257
7409
|
}) => {
|
|
7258
7410
|
isMutating: boolean;
|
|
7259
7411
|
trigger: swr_mutation.TriggerWithArgs<SignUpResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -7272,19 +7424,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
7272
7424
|
*/
|
|
7273
7425
|
declare const getSignInUrl: () => string;
|
|
7274
7426
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
7275
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
7427
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$m<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
7276
7428
|
arg: SignInBody;
|
|
7277
7429
|
}) => Promise<AuthTokens>;
|
|
7278
7430
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
7279
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
7431
|
+
type SignInMutationResult = NonNullable<Awaited$m<ReturnType<typeof signIn>>>;
|
|
7280
7432
|
/**
|
|
7281
7433
|
* @summary Sign in
|
|
7282
7434
|
*/
|
|
7283
7435
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7284
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7436
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$m<ReturnType<typeof signIn>>> & {
|
|
7285
7437
|
swrKey?: string;
|
|
7286
7438
|
};
|
|
7287
|
-
request?: SecondParameter$
|
|
7439
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7288
7440
|
}) => {
|
|
7289
7441
|
isMutating: boolean;
|
|
7290
7442
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -7299,19 +7451,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
7299
7451
|
*/
|
|
7300
7452
|
declare const getRefreshTokenUrl: () => string;
|
|
7301
7453
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
7302
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
7454
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$m<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
7303
7455
|
arg: RefreshTokenBody;
|
|
7304
7456
|
}) => Promise<AuthTokens>;
|
|
7305
7457
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
7306
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
7458
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$m<ReturnType<typeof refreshToken>>>;
|
|
7307
7459
|
/**
|
|
7308
7460
|
* @summary Refresh authentication token
|
|
7309
7461
|
*/
|
|
7310
7462
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7311
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7463
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$m<ReturnType<typeof refreshToken>>> & {
|
|
7312
7464
|
swrKey?: string;
|
|
7313
7465
|
};
|
|
7314
|
-
request?: SecondParameter$
|
|
7466
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7315
7467
|
}) => {
|
|
7316
7468
|
isMutating: boolean;
|
|
7317
7469
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -7331,16 +7483,16 @@ For enterprise SSO, pass `provider=sso` together with the user's `email`; the em
|
|
|
7331
7483
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
7332
7484
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
|
|
7333
7485
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
7334
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
7486
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$m<ReturnType<typeof getOAuthUrl>>>;
|
|
7335
7487
|
/**
|
|
7336
7488
|
* @summary Get OAuth sign-in URL
|
|
7337
7489
|
*/
|
|
7338
7490
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
7339
|
-
swr?: SWRConfiguration<Awaited$
|
|
7491
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
7340
7492
|
swrKey?: Key;
|
|
7341
7493
|
enabled?: boolean;
|
|
7342
7494
|
};
|
|
7343
|
-
request?: SecondParameter$
|
|
7495
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7344
7496
|
}) => {
|
|
7345
7497
|
data: OAuthUrl | undefined;
|
|
7346
7498
|
error: TError | undefined;
|
|
@@ -7360,19 +7512,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
7360
7512
|
*/
|
|
7361
7513
|
declare const getGetSessionTokenUrl: () => string;
|
|
7362
7514
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
7363
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
7515
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$m<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
7364
7516
|
arg: GetSessionTokenBody;
|
|
7365
7517
|
}) => Promise<GetSessionToken200>;
|
|
7366
7518
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
7367
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
7519
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$m<ReturnType<typeof getSessionToken>>>;
|
|
7368
7520
|
/**
|
|
7369
7521
|
* @summary Create or switch tenant session
|
|
7370
7522
|
*/
|
|
7371
7523
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7372
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7524
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$m<ReturnType<typeof getSessionToken>>> & {
|
|
7373
7525
|
swrKey?: string;
|
|
7374
7526
|
};
|
|
7375
|
-
request?: SecondParameter$
|
|
7527
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7376
7528
|
}) => {
|
|
7377
7529
|
isMutating: boolean;
|
|
7378
7530
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -7388,16 +7540,16 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7388
7540
|
declare const getGetPartnerJwksUrl: (partner: string) => string;
|
|
7389
7541
|
declare const getPartnerJwks: (partner: string, options?: RequestInit) => Promise<PartnerJwks>;
|
|
7390
7542
|
declare const getGetPartnerJwksKey: (partner: string) => readonly [`/.well-known/partners/${string}/jwks.json`];
|
|
7391
|
-
type GetPartnerJwksQueryResult = NonNullable<Awaited$
|
|
7543
|
+
type GetPartnerJwksQueryResult = NonNullable<Awaited$m<ReturnType<typeof getPartnerJwks>>>;
|
|
7392
7544
|
/**
|
|
7393
7545
|
* @summary Get partner JWKS
|
|
7394
7546
|
*/
|
|
7395
7547
|
declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: string, options?: {
|
|
7396
|
-
swr?: SWRConfiguration<Awaited$
|
|
7548
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getPartnerJwks>>, TError> & {
|
|
7397
7549
|
swrKey?: Key;
|
|
7398
7550
|
enabled?: boolean;
|
|
7399
7551
|
};
|
|
7400
|
-
request?: SecondParameter$
|
|
7552
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7401
7553
|
}) => {
|
|
7402
7554
|
data: PartnerJwks | undefined;
|
|
7403
7555
|
error: TError | undefined;
|
|
@@ -7412,19 +7564,19 @@ declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: st
|
|
|
7412
7564
|
*/
|
|
7413
7565
|
declare const getPartnerLaunchUrl: (params?: PartnerLaunchParams) => string;
|
|
7414
7566
|
declare const partnerLaunch: (params?: PartnerLaunchParams, options?: RequestInit) => Promise<unknown>;
|
|
7415
|
-
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$
|
|
7567
|
+
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$m<typeof customFetchNoAuth>) => (_: Key, __: {
|
|
7416
7568
|
arg: Arguments;
|
|
7417
7569
|
}) => Promise<unknown>;
|
|
7418
7570
|
declare const getPartnerLaunchMutationKey: (params?: PartnerLaunchParams) => readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
7419
|
-
type PartnerLaunchMutationResult = NonNullable<Awaited$
|
|
7571
|
+
type PartnerLaunchMutationResult = NonNullable<Awaited$m<ReturnType<typeof partnerLaunch>>>;
|
|
7420
7572
|
/**
|
|
7421
7573
|
* @summary Partner launch (SSO)
|
|
7422
7574
|
*/
|
|
7423
7575
|
declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunch302 | ErrorResponse>>(params?: PartnerLaunchParams, options?: {
|
|
7424
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7576
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof partnerLaunch>>, TError, Key, Arguments, Awaited$m<ReturnType<typeof partnerLaunch>>> & {
|
|
7425
7577
|
swrKey?: string;
|
|
7426
7578
|
};
|
|
7427
|
-
request?: SecondParameter$
|
|
7579
|
+
request?: SecondParameter$m<typeof customFetchNoAuth>;
|
|
7428
7580
|
}) => {
|
|
7429
7581
|
isMutating: boolean;
|
|
7430
7582
|
trigger: swr_mutation.TriggerWithOptionsArgs<unknown, TError, string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]], Arguments>;
|
|
@@ -7434,28 +7586,28 @@ declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunch302 | ErrorResp
|
|
|
7434
7586
|
swrKey: string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
7435
7587
|
};
|
|
7436
7588
|
|
|
7437
|
-
type AwaitedInput$
|
|
7438
|
-
type Awaited$
|
|
7439
|
-
type SecondParameter$
|
|
7589
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
7590
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
7591
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7440
7592
|
/**
|
|
7441
7593
|
* 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.
|
|
7442
7594
|
* @summary Create feedback on a call message
|
|
7443
7595
|
*/
|
|
7444
7596
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
7445
7597
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
7446
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
7598
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, { arg }: {
|
|
7447
7599
|
arg: CreateFeedbackRequest;
|
|
7448
7600
|
}) => Promise<Feedback>;
|
|
7449
7601
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
7450
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
7602
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$l<ReturnType<typeof createCallFeedback>>>;
|
|
7451
7603
|
/**
|
|
7452
7604
|
* @summary Create feedback on a call message
|
|
7453
7605
|
*/
|
|
7454
7606
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7455
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7607
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$l<ReturnType<typeof createCallFeedback>>> & {
|
|
7456
7608
|
swrKey?: string;
|
|
7457
7609
|
};
|
|
7458
|
-
request?: SecondParameter$
|
|
7610
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
7459
7611
|
}) => {
|
|
7460
7612
|
isMutating: boolean;
|
|
7461
7613
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -7471,16 +7623,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
7471
7623
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
7472
7624
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<Feedback[]>;
|
|
7473
7625
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
7474
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
7626
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$l<ReturnType<typeof listCallFeedback>>>;
|
|
7475
7627
|
/**
|
|
7476
7628
|
* @summary List feedback for a call
|
|
7477
7629
|
*/
|
|
7478
7630
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
7479
|
-
swr?: SWRConfiguration<Awaited$
|
|
7631
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
7480
7632
|
swrKey?: Key;
|
|
7481
7633
|
enabled?: boolean;
|
|
7482
7634
|
};
|
|
7483
|
-
request?: SecondParameter$
|
|
7635
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
7484
7636
|
}) => {
|
|
7485
7637
|
data: Feedback[] | undefined;
|
|
7486
7638
|
error: TError | undefined;
|
|
@@ -7495,19 +7647,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
7495
7647
|
*/
|
|
7496
7648
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
7497
7649
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
7498
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
7650
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$l<typeof customFetch>) => (_: Key, __: {
|
|
7499
7651
|
arg: Arguments;
|
|
7500
7652
|
}) => Promise<null>;
|
|
7501
7653
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
7502
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
7654
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$l<ReturnType<typeof deleteCallFeedback>>>;
|
|
7503
7655
|
/**
|
|
7504
7656
|
* @summary Delete feedback
|
|
7505
7657
|
*/
|
|
7506
7658
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
7507
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7659
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$l<ReturnType<typeof deleteCallFeedback>>> & {
|
|
7508
7660
|
swrKey?: string;
|
|
7509
7661
|
};
|
|
7510
|
-
request?: SecondParameter$
|
|
7662
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
7511
7663
|
}) => {
|
|
7512
7664
|
isMutating: boolean;
|
|
7513
7665
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -7517,9 +7669,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
7517
7669
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
7518
7670
|
};
|
|
7519
7671
|
|
|
7520
|
-
type AwaitedInput$
|
|
7521
|
-
type Awaited$
|
|
7522
|
-
type SecondParameter$
|
|
7672
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
7673
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
7674
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7523
7675
|
/**
|
|
7524
7676
|
* List all calls, with pagination, filtering, and sorting.
|
|
7525
7677
|
|
|
@@ -7539,16 +7691,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
7539
7691
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
7540
7692
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<CallList>;
|
|
7541
7693
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
7542
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
7694
|
+
type ListCallsQueryResult = NonNullable<Awaited$k<ReturnType<typeof listCalls>>>;
|
|
7543
7695
|
/**
|
|
7544
7696
|
* @summary List calls
|
|
7545
7697
|
*/
|
|
7546
7698
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
7547
|
-
swr?: SWRConfiguration<Awaited$
|
|
7699
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listCalls>>, TError> & {
|
|
7548
7700
|
swrKey?: Key;
|
|
7549
7701
|
enabled?: boolean;
|
|
7550
7702
|
};
|
|
7551
|
-
request?: SecondParameter$
|
|
7703
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7552
7704
|
}) => {
|
|
7553
7705
|
data: CallList | undefined;
|
|
7554
7706
|
error: TError | undefined;
|
|
@@ -7566,16 +7718,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
7566
7718
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
7567
7719
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<CallDetail>;
|
|
7568
7720
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
7569
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
7721
|
+
type GetCallQueryResult = NonNullable<Awaited$k<ReturnType<typeof getCall>>>;
|
|
7570
7722
|
/**
|
|
7571
7723
|
* @summary Get call
|
|
7572
7724
|
*/
|
|
7573
7725
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
7574
|
-
swr?: SWRConfiguration<Awaited$
|
|
7726
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getCall>>, TError> & {
|
|
7575
7727
|
swrKey?: Key;
|
|
7576
7728
|
enabled?: boolean;
|
|
7577
7729
|
};
|
|
7578
|
-
request?: SecondParameter$
|
|
7730
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7579
7731
|
}) => {
|
|
7580
7732
|
data: CallDetail | undefined;
|
|
7581
7733
|
error: TError | undefined;
|
|
@@ -7591,16 +7743,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
7591
7743
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
7592
7744
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<CallEvaluation>;
|
|
7593
7745
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
7594
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
7746
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$k<ReturnType<typeof getCallEvaluation>>>;
|
|
7595
7747
|
/**
|
|
7596
7748
|
* @summary Get call evaluation
|
|
7597
7749
|
*/
|
|
7598
7750
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7599
|
-
swr?: SWRConfiguration<Awaited$
|
|
7751
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
7600
7752
|
swrKey?: Key;
|
|
7601
7753
|
enabled?: boolean;
|
|
7602
7754
|
};
|
|
7603
|
-
request?: SecondParameter$
|
|
7755
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7604
7756
|
}) => {
|
|
7605
7757
|
data: CallEvaluation | undefined;
|
|
7606
7758
|
error: TError | undefined;
|
|
@@ -7618,16 +7770,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
7618
7770
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
7619
7771
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<CallAnalytics>;
|
|
7620
7772
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
7621
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
7773
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$k<ReturnType<typeof getCallAnalytics>>>;
|
|
7622
7774
|
/**
|
|
7623
7775
|
* @summary Get call analytics
|
|
7624
7776
|
*/
|
|
7625
7777
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
7626
|
-
swr?: SWRConfiguration<Awaited$
|
|
7778
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
7627
7779
|
swrKey?: Key;
|
|
7628
7780
|
enabled?: boolean;
|
|
7629
7781
|
};
|
|
7630
|
-
request?: SecondParameter$
|
|
7782
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7631
7783
|
}) => {
|
|
7632
7784
|
data: CallAnalytics | undefined;
|
|
7633
7785
|
error: TError | undefined;
|
|
@@ -7637,9 +7789,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
7637
7789
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7638
7790
|
};
|
|
7639
7791
|
|
|
7640
|
-
type AwaitedInput$
|
|
7641
|
-
type Awaited$
|
|
7642
|
-
type SecondParameter$
|
|
7792
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
7793
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
7794
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7643
7795
|
/**
|
|
7644
7796
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
7645
7797
|
* @summary List cases
|
|
@@ -7647,16 +7799,16 @@ type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
7647
7799
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
7648
7800
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<CaseList>;
|
|
7649
7801
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
7650
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
7802
|
+
type ListCasesQueryResult = NonNullable<Awaited$j<ReturnType<typeof listCases>>>;
|
|
7651
7803
|
/**
|
|
7652
7804
|
* @summary List cases
|
|
7653
7805
|
*/
|
|
7654
7806
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
7655
|
-
swr?: SWRConfiguration<Awaited$
|
|
7807
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listCases>>, TError> & {
|
|
7656
7808
|
swrKey?: Key;
|
|
7657
7809
|
enabled?: boolean;
|
|
7658
7810
|
};
|
|
7659
|
-
request?: SecondParameter$
|
|
7811
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7660
7812
|
}) => {
|
|
7661
7813
|
data: CaseList | undefined;
|
|
7662
7814
|
error: TError | undefined;
|
|
@@ -7673,19 +7825,19 @@ Case ids are tenant-scoped opaque keys (e.g. "clm-1", "STD-001") and are normali
|
|
|
7673
7825
|
*/
|
|
7674
7826
|
declare const getCreateCaseUrl: () => string;
|
|
7675
7827
|
declare const createCase: (createCaseBody: CreateCaseBody, options?: RequestInit) => Promise<CreateCaseResponse>;
|
|
7676
|
-
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$
|
|
7828
|
+
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
7677
7829
|
arg: CreateCaseBody;
|
|
7678
7830
|
}) => Promise<CreateCaseResponse>;
|
|
7679
7831
|
declare const getCreateCaseMutationKey: () => readonly ["/v1/cases"];
|
|
7680
|
-
type CreateCaseMutationResult = NonNullable<Awaited$
|
|
7832
|
+
type CreateCaseMutationResult = NonNullable<Awaited$j<ReturnType<typeof createCase>>>;
|
|
7681
7833
|
/**
|
|
7682
7834
|
* @summary Create case
|
|
7683
7835
|
*/
|
|
7684
7836
|
declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7685
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7837
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof createCase>>, TError, Key, CreateCaseBody, Awaited$j<ReturnType<typeof createCase>>> & {
|
|
7686
7838
|
swrKey?: string;
|
|
7687
7839
|
};
|
|
7688
|
-
request?: SecondParameter$
|
|
7840
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7689
7841
|
}) => {
|
|
7690
7842
|
isMutating: boolean;
|
|
7691
7843
|
trigger: swr_mutation.TriggerWithArgs<CreateCaseResponse, TError, string | readonly ["/v1/cases"], CreateCaseBody>;
|
|
@@ -7701,16 +7853,16 @@ declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
7701
7853
|
declare const getSearchCasesUrl: (params: SearchCasesParams) => string;
|
|
7702
7854
|
declare const searchCases: (params: SearchCasesParams, options?: RequestInit) => Promise<CaseSearchResult>;
|
|
7703
7855
|
declare const getSearchCasesKey: (params: SearchCasesParams) => readonly ["/v1/cases/search", ...SearchCasesParams[]];
|
|
7704
|
-
type SearchCasesQueryResult = NonNullable<Awaited$
|
|
7856
|
+
type SearchCasesQueryResult = NonNullable<Awaited$j<ReturnType<typeof searchCases>>>;
|
|
7705
7857
|
/**
|
|
7706
7858
|
* @summary Search cases
|
|
7707
7859
|
*/
|
|
7708
7860
|
declare const useSearchCases: <TError = ErrorType<ErrorResponse>>(params: SearchCasesParams, options?: {
|
|
7709
|
-
swr?: SWRConfiguration<Awaited$
|
|
7861
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof searchCases>>, TError> & {
|
|
7710
7862
|
swrKey?: Key;
|
|
7711
7863
|
enabled?: boolean;
|
|
7712
7864
|
};
|
|
7713
|
-
request?: SecondParameter$
|
|
7865
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7714
7866
|
}) => {
|
|
7715
7867
|
data: CaseSearchResult | undefined;
|
|
7716
7868
|
error: TError | undefined;
|
|
@@ -7729,16 +7881,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
7729
7881
|
declare const getGetCaseUrl: (id: string) => string;
|
|
7730
7882
|
declare const getCase: (id: string, options?: RequestInit) => Promise<CaseDetail>;
|
|
7731
7883
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
7732
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
7884
|
+
type GetCaseQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCase>>>;
|
|
7733
7885
|
/**
|
|
7734
7886
|
* @summary Get case
|
|
7735
7887
|
*/
|
|
7736
7888
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7737
|
-
swr?: SWRConfiguration<Awaited$
|
|
7889
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCase>>, TError> & {
|
|
7738
7890
|
swrKey?: Key;
|
|
7739
7891
|
enabled?: boolean;
|
|
7740
7892
|
};
|
|
7741
|
-
request?: SecondParameter$
|
|
7893
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7742
7894
|
}) => {
|
|
7743
7895
|
data: CaseDetail | undefined;
|
|
7744
7896
|
error: TError | undefined;
|
|
@@ -7755,19 +7907,19 @@ The case and every entity must already exist in the tenant — unknown ids retur
|
|
|
7755
7907
|
*/
|
|
7756
7908
|
declare const getAddCaseLinksUrl: (id: string) => string;
|
|
7757
7909
|
declare const addCaseLinks: (id: string, addCaseLinksBody: AddCaseLinksBody, options?: RequestInit) => Promise<AddCaseLinksResponse>;
|
|
7758
|
-
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$
|
|
7910
|
+
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
7759
7911
|
arg: AddCaseLinksBody;
|
|
7760
7912
|
}) => Promise<AddCaseLinksResponse>;
|
|
7761
7913
|
declare const getAddCaseLinksMutationKey: (id: string) => readonly [`/v1/cases/${string}/links`];
|
|
7762
|
-
type AddCaseLinksMutationResult = NonNullable<Awaited$
|
|
7914
|
+
type AddCaseLinksMutationResult = NonNullable<Awaited$j<ReturnType<typeof addCaseLinks>>>;
|
|
7763
7915
|
/**
|
|
7764
7916
|
* @summary Add case links
|
|
7765
7917
|
*/
|
|
7766
7918
|
declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7767
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7919
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof addCaseLinks>>, TError, Key, AddCaseLinksBody, Awaited$j<ReturnType<typeof addCaseLinks>>> & {
|
|
7768
7920
|
swrKey?: string;
|
|
7769
7921
|
};
|
|
7770
|
-
request?: SecondParameter$
|
|
7922
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7771
7923
|
}) => {
|
|
7772
7924
|
isMutating: boolean;
|
|
7773
7925
|
trigger: swr_mutation.TriggerWithArgs<AddCaseLinksResponse, TError, string | readonly [`/v1/cases/${string}/links`], AddCaseLinksBody>;
|
|
@@ -7783,16 +7935,16 @@ declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
7783
7935
|
declare const getListCaseLinksUrl: (id: string, params?: ListCaseLinksParams) => string;
|
|
7784
7936
|
declare const listCaseLinks: (id: string, params?: ListCaseLinksParams, options?: RequestInit) => Promise<CaseLinkList>;
|
|
7785
7937
|
declare const getListCaseLinksKey: (id: string, params?: ListCaseLinksParams) => readonly [`/v1/cases/${string}/links`, ...ListCaseLinksParams[]];
|
|
7786
|
-
type ListCaseLinksQueryResult = NonNullable<Awaited$
|
|
7938
|
+
type ListCaseLinksQueryResult = NonNullable<Awaited$j<ReturnType<typeof listCaseLinks>>>;
|
|
7787
7939
|
/**
|
|
7788
7940
|
* @summary List case links
|
|
7789
7941
|
*/
|
|
7790
7942
|
declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCaseLinksParams, options?: {
|
|
7791
|
-
swr?: SWRConfiguration<Awaited$
|
|
7943
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listCaseLinks>>, TError> & {
|
|
7792
7944
|
swrKey?: Key;
|
|
7793
7945
|
enabled?: boolean;
|
|
7794
7946
|
};
|
|
7795
|
-
request?: SecondParameter$
|
|
7947
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7796
7948
|
}) => {
|
|
7797
7949
|
data: CaseLinkList | undefined;
|
|
7798
7950
|
error: TError | undefined;
|
|
@@ -7807,19 +7959,19 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7807
7959
|
*/
|
|
7808
7960
|
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string) => string;
|
|
7809
7961
|
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkResponse>;
|
|
7810
|
-
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: SecondParameter$
|
|
7962
|
+
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, __: {
|
|
7811
7963
|
arg: Arguments;
|
|
7812
7964
|
}) => Promise<RemoveCaseLinkResponse>;
|
|
7813
7965
|
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}`];
|
|
7814
|
-
type RemoveCaseLinkMutationResult = NonNullable<Awaited$
|
|
7966
|
+
type RemoveCaseLinkMutationResult = NonNullable<Awaited$j<ReturnType<typeof removeCaseLink>>>;
|
|
7815
7967
|
/**
|
|
7816
7968
|
* @summary Remove case link
|
|
7817
7969
|
*/
|
|
7818
7970
|
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: {
|
|
7819
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7971
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$j<ReturnType<typeof removeCaseLink>>> & {
|
|
7820
7972
|
swrKey?: string;
|
|
7821
7973
|
};
|
|
7822
|
-
request?: SecondParameter$
|
|
7974
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7823
7975
|
}) => {
|
|
7824
7976
|
isMutating: boolean;
|
|
7825
7977
|
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkResponse, 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>;
|
|
@@ -7829,28 +7981,28 @@ declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7829
7981
|
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}`];
|
|
7830
7982
|
};
|
|
7831
7983
|
|
|
7832
|
-
type AwaitedInput$
|
|
7833
|
-
type Awaited$
|
|
7834
|
-
type SecondParameter$
|
|
7984
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
7985
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
7986
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7835
7987
|
/**
|
|
7836
7988
|
* Create a new chat agent with a name and prompt.
|
|
7837
7989
|
* @summary Create chat agent
|
|
7838
7990
|
*/
|
|
7839
7991
|
declare const getCreateChatAgentUrl: () => string;
|
|
7840
7992
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<ChatAgentCreated>;
|
|
7841
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
7993
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7842
7994
|
arg: CreateChatAgentBody;
|
|
7843
7995
|
}) => Promise<ChatAgentCreated>;
|
|
7844
7996
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
7845
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
7997
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$i<ReturnType<typeof createChatAgent>>>;
|
|
7846
7998
|
/**
|
|
7847
7999
|
* @summary Create chat agent
|
|
7848
8000
|
*/
|
|
7849
8001
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7850
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8002
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$i<ReturnType<typeof createChatAgent>>> & {
|
|
7851
8003
|
swrKey?: string;
|
|
7852
8004
|
};
|
|
7853
|
-
request?: SecondParameter$
|
|
8005
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7854
8006
|
}) => {
|
|
7855
8007
|
isMutating: boolean;
|
|
7856
8008
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentCreated, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -7866,16 +8018,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7866
8018
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
7867
8019
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ChatAgentList>;
|
|
7868
8020
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
7869
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
8021
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$i<ReturnType<typeof listChatAgents>>>;
|
|
7870
8022
|
/**
|
|
7871
8023
|
* @summary List chat agents
|
|
7872
8024
|
*/
|
|
7873
8025
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
7874
|
-
swr?: SWRConfiguration<Awaited$
|
|
8026
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listChatAgents>>, TError> & {
|
|
7875
8027
|
swrKey?: Key;
|
|
7876
8028
|
enabled?: boolean;
|
|
7877
8029
|
};
|
|
7878
|
-
request?: SecondParameter$
|
|
8030
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7879
8031
|
}) => {
|
|
7880
8032
|
data: ChatAgentList | undefined;
|
|
7881
8033
|
error: TError | undefined;
|
|
@@ -7891,16 +8043,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
7891
8043
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
7892
8044
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentDetail>;
|
|
7893
8045
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7894
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
8046
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$i<ReturnType<typeof getChatAgent>>>;
|
|
7895
8047
|
/**
|
|
7896
8048
|
* @summary Get chat agent
|
|
7897
8049
|
*/
|
|
7898
8050
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7899
|
-
swr?: SWRConfiguration<Awaited$
|
|
8051
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getChatAgent>>, TError> & {
|
|
7900
8052
|
swrKey?: Key;
|
|
7901
8053
|
enabled?: boolean;
|
|
7902
8054
|
};
|
|
7903
|
-
request?: SecondParameter$
|
|
8055
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7904
8056
|
}) => {
|
|
7905
8057
|
data: ChatAgentDetail | undefined;
|
|
7906
8058
|
error: TError | undefined;
|
|
@@ -7915,19 +8067,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
7915
8067
|
*/
|
|
7916
8068
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
7917
8069
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<ChatAgent>;
|
|
7918
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
8070
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7919
8071
|
arg: UpdateChatAgentRequest;
|
|
7920
8072
|
}) => Promise<ChatAgent>;
|
|
7921
8073
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7922
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
8074
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$i<ReturnType<typeof updateChatAgent>>>;
|
|
7923
8075
|
/**
|
|
7924
8076
|
* @summary Update chat agent
|
|
7925
8077
|
*/
|
|
7926
8078
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7927
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8079
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$i<ReturnType<typeof updateChatAgent>>> & {
|
|
7928
8080
|
swrKey?: string;
|
|
7929
8081
|
};
|
|
7930
|
-
request?: SecondParameter$
|
|
8082
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7931
8083
|
}) => {
|
|
7932
8084
|
isMutating: boolean;
|
|
7933
8085
|
trigger: swr_mutation.TriggerWithArgs<ChatAgent, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -7942,19 +8094,19 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
7942
8094
|
*/
|
|
7943
8095
|
declare const getDeleteChatAgentUrl: (chatAgentId: string) => string;
|
|
7944
8096
|
declare const deleteChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<DeleteChatAgentResponse>;
|
|
7945
|
-
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
8097
|
+
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, __: {
|
|
7946
8098
|
arg: Arguments;
|
|
7947
8099
|
}) => Promise<DeleteChatAgentResponse>;
|
|
7948
8100
|
declare const getDeleteChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7949
|
-
type DeleteChatAgentMutationResult = NonNullable<Awaited$
|
|
8101
|
+
type DeleteChatAgentMutationResult = NonNullable<Awaited$i<ReturnType<typeof deleteChatAgent>>>;
|
|
7950
8102
|
/**
|
|
7951
8103
|
* @summary Delete chat agent
|
|
7952
8104
|
*/
|
|
7953
8105
|
declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7954
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8106
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof deleteChatAgent>>, TError, Key, Arguments, Awaited$i<ReturnType<typeof deleteChatAgent>>> & {
|
|
7955
8107
|
swrKey?: string;
|
|
7956
8108
|
};
|
|
7957
|
-
request?: SecondParameter$
|
|
8109
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7958
8110
|
}) => {
|
|
7959
8111
|
isMutating: boolean;
|
|
7960
8112
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteChatAgentResponse, TError, string | readonly [`/v1/chat-agents/${string}`], Arguments>;
|
|
@@ -7970,16 +8122,16 @@ declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
7970
8122
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
7971
8123
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentPrompt>;
|
|
7972
8124
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7973
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
8125
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$i<ReturnType<typeof getChatAgentPrompt>>>;
|
|
7974
8126
|
/**
|
|
7975
8127
|
* @summary Get chat agent prompt
|
|
7976
8128
|
*/
|
|
7977
8129
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7978
|
-
swr?: SWRConfiguration<Awaited$
|
|
8130
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
7979
8131
|
swrKey?: Key;
|
|
7980
8132
|
enabled?: boolean;
|
|
7981
8133
|
};
|
|
7982
|
-
request?: SecondParameter$
|
|
8134
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7983
8135
|
}) => {
|
|
7984
8136
|
data: ChatAgentPrompt | undefined;
|
|
7985
8137
|
error: TError | undefined;
|
|
@@ -7994,19 +8146,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
7994
8146
|
*/
|
|
7995
8147
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
7996
8148
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<ChatAgentPromptUpdated>;
|
|
7997
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
8149
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7998
8150
|
arg: UpdateChatAgentPromptBody;
|
|
7999
8151
|
}) => Promise<ChatAgentPromptUpdated>;
|
|
8000
8152
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
8001
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
8153
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$i<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
8002
8154
|
/**
|
|
8003
8155
|
* @summary Update chat agent prompt
|
|
8004
8156
|
*/
|
|
8005
8157
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
8006
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8158
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$i<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
8007
8159
|
swrKey?: string;
|
|
8008
8160
|
};
|
|
8009
|
-
request?: SecondParameter$
|
|
8161
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
8010
8162
|
}) => {
|
|
8011
8163
|
isMutating: boolean;
|
|
8012
8164
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentPromptUpdated, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -8016,28 +8168,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
8016
8168
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
8017
8169
|
};
|
|
8018
8170
|
|
|
8019
|
-
type AwaitedInput$
|
|
8020
|
-
type Awaited$
|
|
8021
|
-
type SecondParameter$
|
|
8171
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
8172
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
8173
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8022
8174
|
/**
|
|
8023
8175
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
8024
8176
|
* @summary Create a chat
|
|
8025
8177
|
*/
|
|
8026
8178
|
declare const getCreateChatUrl: () => string;
|
|
8027
8179
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<ChatCreated>;
|
|
8028
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
8180
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
8029
8181
|
arg: CreateChatBody;
|
|
8030
8182
|
}) => Promise<ChatCreated>;
|
|
8031
8183
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
8032
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
8184
|
+
type CreateChatMutationResult = NonNullable<Awaited$h<ReturnType<typeof createChat>>>;
|
|
8033
8185
|
/**
|
|
8034
8186
|
* @summary Create a chat
|
|
8035
8187
|
*/
|
|
8036
8188
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8037
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8189
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$h<ReturnType<typeof createChat>>> & {
|
|
8038
8190
|
swrKey?: string;
|
|
8039
8191
|
};
|
|
8040
|
-
request?: SecondParameter$
|
|
8192
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
8041
8193
|
}) => {
|
|
8042
8194
|
isMutating: boolean;
|
|
8043
8195
|
trigger: swr_mutation.TriggerWithArgs<ChatCreated, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -8056,16 +8208,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8056
8208
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
8057
8209
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<ChatHistory>;
|
|
8058
8210
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
8059
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
8211
|
+
type GetChatQueryResult = NonNullable<Awaited$h<ReturnType<typeof getChat>>>;
|
|
8060
8212
|
/**
|
|
8061
8213
|
* @summary Get a chat
|
|
8062
8214
|
*/
|
|
8063
8215
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
8064
|
-
swr?: SWRConfiguration<Awaited$
|
|
8216
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getChat>>, TError> & {
|
|
8065
8217
|
swrKey?: Key;
|
|
8066
8218
|
enabled?: boolean;
|
|
8067
8219
|
};
|
|
8068
|
-
request?: SecondParameter$
|
|
8220
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
8069
8221
|
}) => {
|
|
8070
8222
|
data: ChatHistory | undefined;
|
|
8071
8223
|
error: TError | undefined;
|
|
@@ -8081,16 +8233,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
8081
8233
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
8082
8234
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<PublicChatAgent>;
|
|
8083
8235
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
8084
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
8236
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$h<ReturnType<typeof getPublicChatAgent>>>;
|
|
8085
8237
|
/**
|
|
8086
8238
|
* @summary Get a chat agent (public)
|
|
8087
8239
|
*/
|
|
8088
8240
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
8089
|
-
swr?: SWRConfiguration<Awaited$
|
|
8241
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
8090
8242
|
swrKey?: Key;
|
|
8091
8243
|
enabled?: boolean;
|
|
8092
8244
|
};
|
|
8093
|
-
request?: SecondParameter$
|
|
8245
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
8094
8246
|
}) => {
|
|
8095
8247
|
data: PublicChatAgent | undefined;
|
|
8096
8248
|
error: TError | undefined;
|
|
@@ -8108,19 +8260,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8108
8260
|
*/
|
|
8109
8261
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
8110
8262
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<ChatMessageCreated>;
|
|
8111
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
8263
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
8112
8264
|
arg: PostChatMessageBody;
|
|
8113
8265
|
}) => Promise<ChatMessageCreated>;
|
|
8114
8266
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
8115
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
8267
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$h<ReturnType<typeof postChatMessage>>>;
|
|
8116
8268
|
/**
|
|
8117
8269
|
* @summary Post a message to a chat
|
|
8118
8270
|
*/
|
|
8119
8271
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
8120
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8272
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$h<ReturnType<typeof postChatMessage>>> & {
|
|
8121
8273
|
swrKey?: string;
|
|
8122
8274
|
};
|
|
8123
|
-
request?: SecondParameter$
|
|
8275
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
8124
8276
|
}) => {
|
|
8125
8277
|
isMutating: boolean;
|
|
8126
8278
|
trigger: swr_mutation.TriggerWithArgs<ChatMessageCreated, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -8136,16 +8288,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
8136
8288
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
8137
8289
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ChatList>;
|
|
8138
8290
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
8139
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
8291
|
+
type ListChatsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listChats>>>;
|
|
8140
8292
|
/**
|
|
8141
8293
|
* @summary List chats
|
|
8142
8294
|
*/
|
|
8143
8295
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
8144
|
-
swr?: SWRConfiguration<Awaited$
|
|
8296
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listChats>>, TError> & {
|
|
8145
8297
|
swrKey?: Key;
|
|
8146
8298
|
enabled?: boolean;
|
|
8147
8299
|
};
|
|
8148
|
-
request?: SecondParameter$
|
|
8300
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
8149
8301
|
}) => {
|
|
8150
8302
|
data: ChatList | undefined;
|
|
8151
8303
|
error: TError | undefined;
|
|
@@ -8161,16 +8313,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
8161
8313
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
8162
8314
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ChatMessageList>;
|
|
8163
8315
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
8164
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
8316
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$h<ReturnType<typeof listChatMessages>>>;
|
|
8165
8317
|
/**
|
|
8166
8318
|
* @summary List chat messages
|
|
8167
8319
|
*/
|
|
8168
8320
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
8169
|
-
swr?: SWRConfiguration<Awaited$
|
|
8321
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listChatMessages>>, TError> & {
|
|
8170
8322
|
swrKey?: Key;
|
|
8171
8323
|
enabled?: boolean;
|
|
8172
8324
|
};
|
|
8173
|
-
request?: SecondParameter$
|
|
8325
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
8174
8326
|
}) => {
|
|
8175
8327
|
data: ChatMessageList | undefined;
|
|
8176
8328
|
error: TError | undefined;
|
|
@@ -8180,6 +8332,49 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
8180
8332
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8181
8333
|
};
|
|
8182
8334
|
|
|
8335
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
8336
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
8337
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8338
|
+
/**
|
|
8339
|
+
* List the organization's dispatches, newest occurrence first.
|
|
8340
|
+
|
|
8341
|
+
A dispatch is one occurrence of a trigger: every time a schedule fires, it produces exactly one dispatch, which is then carried out. Listing them shows what a trigger has actually done, including occurrences that never produced a worker run.
|
|
8342
|
+
|
|
8343
|
+
- `pending` — not carried out yet: waiting to be picked up, in flight, or waiting on a retry after an earlier pickup did not complete.
|
|
8344
|
+
- `dispatched` — carried out.
|
|
8345
|
+
- `abandoned` — gave up, because the occurrence passed its `expires_at` deadline before it could be carried out.
|
|
8346
|
+
|
|
8347
|
+
`attempts` counts how many times the occurrence has been picked up, not how many times it failed: a dispatch carried out on the first pickup ends at `attempts: 1`, and a higher count means earlier pickups did not complete.
|
|
8348
|
+
|
|
8349
|
+
`target` is what the occurrence produced — today always a worker run. It is null until the dispatch is carried out, and stays null on one that was abandoned.
|
|
8350
|
+
|
|
8351
|
+
Narrow to one trigger with `trigger_type` and `trigger_id` — for a schedule, `trigger_id` is the schedule's ID. `trigger_id` requires `trigger_type`.
|
|
8352
|
+
|
|
8353
|
+
Requires the `schedules:read` permission.
|
|
8354
|
+
* @summary List dispatches
|
|
8355
|
+
*/
|
|
8356
|
+
declare const getListDispatchesUrl: (params?: ListDispatchesParams) => string;
|
|
8357
|
+
declare const listDispatches: (params?: ListDispatchesParams, options?: RequestInit) => Promise<DispatchList>;
|
|
8358
|
+
declare const getListDispatchesKey: (params?: ListDispatchesParams) => readonly ["/v1/dispatches", ...ListDispatchesParams[]];
|
|
8359
|
+
type ListDispatchesQueryResult = NonNullable<Awaited$g<ReturnType<typeof listDispatches>>>;
|
|
8360
|
+
/**
|
|
8361
|
+
* @summary List dispatches
|
|
8362
|
+
*/
|
|
8363
|
+
declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: ListDispatchesParams, options?: {
|
|
8364
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listDispatches>>, TError> & {
|
|
8365
|
+
swrKey?: Key;
|
|
8366
|
+
enabled?: boolean;
|
|
8367
|
+
};
|
|
8368
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
8369
|
+
}) => {
|
|
8370
|
+
data: DispatchList | undefined;
|
|
8371
|
+
error: TError | undefined;
|
|
8372
|
+
mutate: swr.KeyedMutator<DispatchList>;
|
|
8373
|
+
isValidating: boolean;
|
|
8374
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
8375
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8376
|
+
};
|
|
8377
|
+
|
|
8183
8378
|
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
8184
8379
|
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
8185
8380
|
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -10930,4 +11125,4 @@ declare const useUpdateWorkerMcps: <TError = ErrorType<ErrorResponse>>(workerId:
|
|
|
10930
11125
|
swrKey: string | readonly [`/v1/workers/${string}/mcps`];
|
|
10931
11126
|
};
|
|
10932
11127
|
|
|
10933
|
-
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, 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, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CancelWorkerRunMutationResult, type CaseDetail, type 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 CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateScheduleBody, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackMutationResult, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteScheduleMutationResult, type DeleteScheduleResponse, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, 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, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseQueryResult, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileQueryResult, type GetPublicChatAgentQueryResult, type GetScheduleQueryResult, type GetSecretQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionQueryResult, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberMutationResult, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, ListArtifactsStatus, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesRuleType, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunch302, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PublicChatAgent, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailMutationResult, type ResendTeamInvitationMutationResult, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type RevokeTeamInvitationResponse, type Schedule, type ScheduleAction, type ScheduleActionOutput, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateScheduleBody, type UpdateScheduleMutationResult, type UpdateSecretBody, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, 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, type WebhookScope, type WebhookTestResult, type Worker, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolMutationResult, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addCaseLinks, addToolsToVoiceAgent, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createCase, createChat, createChatAgent, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createSchedule, createSecret, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteArtifact, deleteCallFeedback, deleteChatAgent, deleteEmail, deleteExtractor, deleteInbox, deleteSchedule, deleteSecret, deleteTool, deleteToolsFromVoiceAgent, deleteVoiceAgent, deleteWebhook, deleteWorker, executeCode, generateCodeChallenge, generateCodeVerifier, getAddCaseLinksMutationFetcher, getAddCaseLinksMutationKey, getAddCaseLinksUrl, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, 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, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, 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, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, 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, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, 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, getUpdateWorkerMcpsMutationFetcher, getUpdateWorkerMcpsMutationKey, getUpdateWorkerMcpsUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listSchedules, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, resendTeamInvitation, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSchedule, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerMcps, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddCaseLinks, useAddToolsToVoiceAgent, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateCase, useCreateChat, useCreateChatAgent, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateSchedule, useCreateSecret, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteArtifact, useDeleteCallFeedback, useDeleteChatAgent, useDeleteEmail, useDeleteExtractor, useDeleteInbox, useDeleteSchedule, useDeleteSecret, useDeleteTool, useDeleteToolsFromVoiceAgent, 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, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListSchedules, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useResendTeamInvitation, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|
|
11128
|
+
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, 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, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CancelWorkerRunMutationResult, type CaseDetail, type 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 CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateScheduleBody, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackMutationResult, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteScheduleMutationResult, type DeleteScheduleResponse, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Dispatch, type DispatchList, DispatchStatus, type DispatchTarget, DispatchTargetType, type DispatchTrigger, DispatchTriggerType, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, 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, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseQueryResult, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileQueryResult, type GetPublicChatAgentQueryResult, type GetScheduleQueryResult, type GetSecretQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionQueryResult, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberMutationResult, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, ListArtifactsStatus, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListDispatchesParams, type ListDispatchesQueryResult, ListDispatchesSortBy, ListDispatchesSortOrder, ListDispatchesTriggerType, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesRuleType, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunch302, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PublicChatAgent, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailMutationResult, type ResendTeamInvitationMutationResult, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type RevokeTeamInvitationResponse, type Schedule, type ScheduleAction, type ScheduleActionOutput, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateScheduleBody, type UpdateScheduleMutationResult, type UpdateSecretBody, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, 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, type WebhookScope, type WebhookTestResult, type Worker, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolMutationResult, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addCaseLinks, addToolsToVoiceAgent, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createCase, createChat, createChatAgent, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createSchedule, createSecret, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteArtifact, deleteCallFeedback, deleteChatAgent, deleteEmail, deleteExtractor, deleteInbox, deleteSchedule, deleteSecret, deleteTool, deleteToolsFromVoiceAgent, deleteVoiceAgent, deleteWebhook, deleteWorker, executeCode, generateCodeChallenge, generateCodeVerifier, getAddCaseLinksMutationFetcher, getAddCaseLinksMutationKey, getAddCaseLinksUrl, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, 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, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, 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, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, 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, 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, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, 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, getUpdateWorkerMcpsMutationFetcher, getUpdateWorkerMcpsMutationKey, getUpdateWorkerMcpsUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listDispatches, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listSchedules, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, resendTeamInvitation, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSchedule, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerMcps, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddCaseLinks, useAddToolsToVoiceAgent, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateCase, useCreateChat, useCreateChatAgent, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateSchedule, useCreateSecret, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteArtifact, useDeleteCallFeedback, useDeleteChatAgent, useDeleteEmail, useDeleteExtractor, useDeleteInbox, useDeleteSchedule, useDeleteSecret, useDeleteTool, useDeleteToolsFromVoiceAgent, 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, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListDispatches, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListSchedules, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useResendTeamInvitation, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|