@avallon-labs/sdk 43.0.0 → 43.1.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 +548 -319
- package/dist/index.js +158 -74
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6831,6 +6831,131 @@ type ListJobsParams = {
|
|
|
6831
6831
|
scheduled_before?: string;
|
|
6832
6832
|
};
|
|
6833
6833
|
|
|
6834
|
+
/**
|
|
6835
|
+
* Generated by orval v8.1.0 🍺
|
|
6836
|
+
* Do not edit manually.
|
|
6837
|
+
* Avallon API
|
|
6838
|
+
* OpenAPI spec version: 1.0.0
|
|
6839
|
+
*/
|
|
6840
|
+
type ListNotificationsEnvelopeMeta = {
|
|
6841
|
+
total: number;
|
|
6842
|
+
};
|
|
6843
|
+
|
|
6844
|
+
/**
|
|
6845
|
+
* Generated by orval v8.1.0 🍺
|
|
6846
|
+
* Do not edit manually.
|
|
6847
|
+
* Avallon API
|
|
6848
|
+
* OpenAPI spec version: 1.0.0
|
|
6849
|
+
*/
|
|
6850
|
+
/**
|
|
6851
|
+
* Identifiers the notification points at, for linking. Its keys depend on `type`.
|
|
6852
|
+
*/
|
|
6853
|
+
type NotificationData = {
|
|
6854
|
+
worker_id: string;
|
|
6855
|
+
run_id: string;
|
|
6856
|
+
};
|
|
6857
|
+
|
|
6858
|
+
/**
|
|
6859
|
+
* Generated by orval v8.1.0 🍺
|
|
6860
|
+
* Do not edit manually.
|
|
6861
|
+
* Avallon API
|
|
6862
|
+
* OpenAPI spec version: 1.0.0
|
|
6863
|
+
*/
|
|
6864
|
+
type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
|
|
6865
|
+
declare const NotificationType: {
|
|
6866
|
+
readonly worker_issue_reported: "worker_issue_reported";
|
|
6867
|
+
};
|
|
6868
|
+
|
|
6869
|
+
/**
|
|
6870
|
+
* Generated by orval v8.1.0 🍺
|
|
6871
|
+
* Do not edit manually.
|
|
6872
|
+
* Avallon API
|
|
6873
|
+
* OpenAPI spec version: 1.0.0
|
|
6874
|
+
*/
|
|
6875
|
+
|
|
6876
|
+
interface Notification {
|
|
6877
|
+
id: string;
|
|
6878
|
+
type: NotificationType;
|
|
6879
|
+
/** Headline to display */
|
|
6880
|
+
title: string;
|
|
6881
|
+
/** Body text to display */
|
|
6882
|
+
body: string;
|
|
6883
|
+
/** Identifiers the notification points at, for linking. Its keys depend on `type`. */
|
|
6884
|
+
data: NotificationData;
|
|
6885
|
+
/**
|
|
6886
|
+
* Actor that raised the notification
|
|
6887
|
+
* @pattern ^(?:worker|user):[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
|
|
6888
|
+
*/
|
|
6889
|
+
created_by: string;
|
|
6890
|
+
created_at: string;
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
/**
|
|
6894
|
+
* Generated by orval v8.1.0 🍺
|
|
6895
|
+
* Do not edit manually.
|
|
6896
|
+
* Avallon API
|
|
6897
|
+
* OpenAPI spec version: 1.0.0
|
|
6898
|
+
*/
|
|
6899
|
+
|
|
6900
|
+
type NotificationList = Notification[];
|
|
6901
|
+
|
|
6902
|
+
/**
|
|
6903
|
+
* Generated by orval v8.1.0 🍺
|
|
6904
|
+
* Do not edit manually.
|
|
6905
|
+
* Avallon API
|
|
6906
|
+
* OpenAPI spec version: 1.0.0
|
|
6907
|
+
*/
|
|
6908
|
+
|
|
6909
|
+
interface ListNotificationsEnvelope {
|
|
6910
|
+
data: NotificationList;
|
|
6911
|
+
message: string;
|
|
6912
|
+
meta: ListNotificationsEnvelopeMeta;
|
|
6913
|
+
}
|
|
6914
|
+
|
|
6915
|
+
/**
|
|
6916
|
+
* Generated by orval v8.1.0 🍺
|
|
6917
|
+
* Do not edit manually.
|
|
6918
|
+
* Avallon API
|
|
6919
|
+
* OpenAPI spec version: 1.0.0
|
|
6920
|
+
*/
|
|
6921
|
+
type ListNotificationsSortBy = (typeof ListNotificationsSortBy)[keyof typeof ListNotificationsSortBy];
|
|
6922
|
+
declare const ListNotificationsSortBy: {
|
|
6923
|
+
readonly created_at: "created_at";
|
|
6924
|
+
};
|
|
6925
|
+
|
|
6926
|
+
/**
|
|
6927
|
+
* Generated by orval v8.1.0 🍺
|
|
6928
|
+
* Do not edit manually.
|
|
6929
|
+
* Avallon API
|
|
6930
|
+
* OpenAPI spec version: 1.0.0
|
|
6931
|
+
*/
|
|
6932
|
+
type ListNotificationsSortOrder = (typeof ListNotificationsSortOrder)[keyof typeof ListNotificationsSortOrder];
|
|
6933
|
+
declare const ListNotificationsSortOrder: {
|
|
6934
|
+
readonly asc: "asc";
|
|
6935
|
+
readonly desc: "desc";
|
|
6936
|
+
};
|
|
6937
|
+
|
|
6938
|
+
/**
|
|
6939
|
+
* Generated by orval v8.1.0 🍺
|
|
6940
|
+
* Do not edit manually.
|
|
6941
|
+
* Avallon API
|
|
6942
|
+
* OpenAPI spec version: 1.0.0
|
|
6943
|
+
*/
|
|
6944
|
+
|
|
6945
|
+
type ListNotificationsParams = {
|
|
6946
|
+
/**
|
|
6947
|
+
* @minimum 1
|
|
6948
|
+
* @maximum 100
|
|
6949
|
+
*/
|
|
6950
|
+
count?: number;
|
|
6951
|
+
/**
|
|
6952
|
+
* @minimum 0
|
|
6953
|
+
*/
|
|
6954
|
+
offset?: number;
|
|
6955
|
+
sort_by?: ListNotificationsSortBy;
|
|
6956
|
+
sort_order?: ListNotificationsSortOrder;
|
|
6957
|
+
};
|
|
6958
|
+
|
|
6834
6959
|
/**
|
|
6835
6960
|
* Generated by orval v8.1.0 🍺
|
|
6836
6961
|
* Do not edit manually.
|
|
@@ -7860,6 +7985,44 @@ interface ListWorkerWebhooksEnvelope {
|
|
|
7860
7985
|
message: string;
|
|
7861
7986
|
}
|
|
7862
7987
|
|
|
7988
|
+
/**
|
|
7989
|
+
* Generated by orval v8.1.0 🍺
|
|
7990
|
+
* Do not edit manually.
|
|
7991
|
+
* Avallon API
|
|
7992
|
+
* OpenAPI spec version: 1.0.0
|
|
7993
|
+
*/
|
|
7994
|
+
type NotifyAdminBody = {
|
|
7995
|
+
/**
|
|
7996
|
+
* What went wrong and what you need, in plain language. Write it for a person who is not watching this run: say what you were trying to do, what blocked you, and what you would need to continue.
|
|
7997
|
+
* @minLength 1
|
|
7998
|
+
* @maxLength 2000
|
|
7999
|
+
*/
|
|
8000
|
+
message: string;
|
|
8001
|
+
};
|
|
8002
|
+
|
|
8003
|
+
/**
|
|
8004
|
+
* Generated by orval v8.1.0 🍺
|
|
8005
|
+
* Do not edit manually.
|
|
8006
|
+
* Avallon API
|
|
8007
|
+
* OpenAPI spec version: 1.0.0
|
|
8008
|
+
*/
|
|
8009
|
+
interface WorkerNotifyAdminResult {
|
|
8010
|
+
/** Identifier of the report that was recorded */
|
|
8011
|
+
id: string;
|
|
8012
|
+
}
|
|
8013
|
+
|
|
8014
|
+
/**
|
|
8015
|
+
* Generated by orval v8.1.0 🍺
|
|
8016
|
+
* Do not edit manually.
|
|
8017
|
+
* Avallon API
|
|
8018
|
+
* OpenAPI spec version: 1.0.0
|
|
8019
|
+
*/
|
|
8020
|
+
|
|
8021
|
+
interface NotifyAdminEnvelope {
|
|
8022
|
+
data: WorkerNotifyAdminResult;
|
|
8023
|
+
message: string;
|
|
8024
|
+
}
|
|
8025
|
+
|
|
7863
8026
|
/**
|
|
7864
8027
|
* Generated by orval v8.1.0 🍺
|
|
7865
8028
|
* Do not edit manually.
|
|
@@ -9494,9 +9657,9 @@ interface WorkerListToolsEnvelope {
|
|
|
9494
9657
|
message: string;
|
|
9495
9658
|
}
|
|
9496
9659
|
|
|
9497
|
-
type AwaitedInput$
|
|
9498
|
-
type Awaited$
|
|
9499
|
-
type SecondParameter$
|
|
9660
|
+
type AwaitedInput$q<T> = PromiseLike<T> | T;
|
|
9661
|
+
type Awaited$q<O> = O extends AwaitedInput$q<infer T> ? T : never;
|
|
9662
|
+
type SecondParameter$q<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9500
9663
|
/**
|
|
9501
9664
|
* Retrieve a tenant-scoped time series for a single processing-volume metric.
|
|
9502
9665
|
|
|
@@ -9508,16 +9671,16 @@ Pick a `metric` (worker runs, documents, or pages), a date range, a bucket `gran
|
|
|
9508
9671
|
declare const getGetAnalyticsTimeSeriesUrl: (params: GetAnalyticsTimeSeriesParams) => string;
|
|
9509
9672
|
declare const getAnalyticsTimeSeries: (params: GetAnalyticsTimeSeriesParams, options?: RequestInit) => Promise<GetAnalyticsTimeSeriesEnvelope>;
|
|
9510
9673
|
declare const getGetAnalyticsTimeSeriesKey: (params: GetAnalyticsTimeSeriesParams) => readonly ["/v1/analytics/timeseries", ...GetAnalyticsTimeSeriesParams[]];
|
|
9511
|
-
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$
|
|
9674
|
+
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$q<ReturnType<typeof getAnalyticsTimeSeries>>>;
|
|
9512
9675
|
/**
|
|
9513
9676
|
* @summary Get analytics time series
|
|
9514
9677
|
*/
|
|
9515
9678
|
declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(params: GetAnalyticsTimeSeriesParams, options?: {
|
|
9516
|
-
swr?: SWRConfiguration<Awaited$
|
|
9679
|
+
swr?: SWRConfiguration<Awaited$q<ReturnType<typeof getAnalyticsTimeSeries>>, TError> & {
|
|
9517
9680
|
swrKey?: Key;
|
|
9518
9681
|
enabled?: boolean;
|
|
9519
9682
|
};
|
|
9520
|
-
request?: SecondParameter$
|
|
9683
|
+
request?: SecondParameter$q<typeof customFetch>;
|
|
9521
9684
|
}) => {
|
|
9522
9685
|
data: GetAnalyticsTimeSeriesEnvelope | undefined;
|
|
9523
9686
|
error: TError | undefined;
|
|
@@ -9527,9 +9690,9 @@ declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(par
|
|
|
9527
9690
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
9528
9691
|
};
|
|
9529
9692
|
|
|
9530
|
-
type AwaitedInput$
|
|
9531
|
-
type Awaited$
|
|
9532
|
-
type SecondParameter$
|
|
9693
|
+
type AwaitedInput$p<T> = PromiseLike<T> | T;
|
|
9694
|
+
type Awaited$p<O> = O extends AwaitedInput$p<infer T> ? T : never;
|
|
9695
|
+
type SecondParameter$p<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9533
9696
|
/**
|
|
9534
9697
|
* List all API keys for your tenant.
|
|
9535
9698
|
|
|
@@ -9541,16 +9704,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
9541
9704
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
9542
9705
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ListApiKeysEnvelope>;
|
|
9543
9706
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
9544
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
9707
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$p<ReturnType<typeof listApiKeys>>>;
|
|
9545
9708
|
/**
|
|
9546
9709
|
* @summary List API keys
|
|
9547
9710
|
*/
|
|
9548
9711
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
9549
|
-
swr?: SWRConfiguration<Awaited$
|
|
9712
|
+
swr?: SWRConfiguration<Awaited$p<ReturnType<typeof listApiKeys>>, TError> & {
|
|
9550
9713
|
swrKey?: Key;
|
|
9551
9714
|
enabled?: boolean;
|
|
9552
9715
|
};
|
|
9553
|
-
request?: SecondParameter$
|
|
9716
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
9554
9717
|
}) => {
|
|
9555
9718
|
data: ListApiKeysEnvelope | undefined;
|
|
9556
9719
|
error: TError | undefined;
|
|
@@ -9569,19 +9732,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
9569
9732
|
*/
|
|
9570
9733
|
declare const getCreateApiKeyUrl: () => string;
|
|
9571
9734
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<CreateApiKeyEnvelope>;
|
|
9572
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
9735
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
9573
9736
|
arg: CreateApiKeyBody;
|
|
9574
9737
|
}) => Promise<CreateApiKeyEnvelope>;
|
|
9575
9738
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
9576
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
9739
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$p<ReturnType<typeof createApiKey>>>;
|
|
9577
9740
|
/**
|
|
9578
9741
|
* @summary Create an API key
|
|
9579
9742
|
*/
|
|
9580
9743
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9581
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
9744
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$p<ReturnType<typeof createApiKey>>> & {
|
|
9582
9745
|
swrKey?: string;
|
|
9583
9746
|
};
|
|
9584
|
-
request?: SecondParameter$
|
|
9747
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
9585
9748
|
}) => {
|
|
9586
9749
|
isMutating: boolean;
|
|
9587
9750
|
trigger: swr_mutation.TriggerWithArgs<CreateApiKeyEnvelope, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -9600,19 +9763,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
9600
9763
|
*/
|
|
9601
9764
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
9602
9765
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<RevokeApiKeyEnvelope>;
|
|
9603
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
9766
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$p<typeof customFetch>) => (_: Key, __: {
|
|
9604
9767
|
arg: Arguments;
|
|
9605
9768
|
}) => Promise<RevokeApiKeyEnvelope>;
|
|
9606
9769
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
9607
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
9770
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$p<ReturnType<typeof revokeApiKey>>>;
|
|
9608
9771
|
/**
|
|
9609
9772
|
* @summary Revoke an API key
|
|
9610
9773
|
*/
|
|
9611
9774
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9612
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
9775
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$p<ReturnType<typeof revokeApiKey>>> & {
|
|
9613
9776
|
swrKey?: string;
|
|
9614
9777
|
};
|
|
9615
|
-
request?: SecondParameter$
|
|
9778
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
9616
9779
|
}) => {
|
|
9617
9780
|
isMutating: boolean;
|
|
9618
9781
|
trigger: swr_mutation.TriggerWithOptionsArgs<RevokeApiKeyEnvelope, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -9629,19 +9792,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
9629
9792
|
*/
|
|
9630
9793
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
9631
9794
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<UpdateApiKeyEnvelope>;
|
|
9632
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
9795
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$p<typeof customFetch>) => (_: Key, { arg }: {
|
|
9633
9796
|
arg: UpdateApiKeyBody;
|
|
9634
9797
|
}) => Promise<UpdateApiKeyEnvelope>;
|
|
9635
9798
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
9636
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
9799
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$p<ReturnType<typeof updateApiKey>>>;
|
|
9637
9800
|
/**
|
|
9638
9801
|
* @summary Update API key
|
|
9639
9802
|
*/
|
|
9640
9803
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9641
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
9804
|
+
swr?: SWRMutationConfiguration<Awaited$p<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$p<ReturnType<typeof updateApiKey>>> & {
|
|
9642
9805
|
swrKey?: string;
|
|
9643
9806
|
};
|
|
9644
|
-
request?: SecondParameter$
|
|
9807
|
+
request?: SecondParameter$p<typeof customFetch>;
|
|
9645
9808
|
}) => {
|
|
9646
9809
|
isMutating: boolean;
|
|
9647
9810
|
trigger: swr_mutation.TriggerWithArgs<UpdateApiKeyEnvelope, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -9651,9 +9814,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
9651
9814
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
9652
9815
|
};
|
|
9653
9816
|
|
|
9654
|
-
type AwaitedInput$
|
|
9655
|
-
type Awaited$
|
|
9656
|
-
type SecondParameter$
|
|
9817
|
+
type AwaitedInput$o<T> = PromiseLike<T> | T;
|
|
9818
|
+
type Awaited$o<O> = O extends AwaitedInput$o<infer T> ? T : never;
|
|
9819
|
+
type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9657
9820
|
/**
|
|
9658
9821
|
* Upload a document as a base64-encoded artifact for processing.
|
|
9659
9822
|
|
|
@@ -9669,19 +9832,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
9669
9832
|
*/
|
|
9670
9833
|
declare const getCreateArtifactUrl: () => string;
|
|
9671
9834
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<CreateArtifactEnvelope>;
|
|
9672
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
9835
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$o<typeof customFetch>) => (_: Key, { arg }: {
|
|
9673
9836
|
arg: CreateArtifactBody;
|
|
9674
9837
|
}) => Promise<CreateArtifactEnvelope>;
|
|
9675
9838
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
9676
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
9839
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$o<ReturnType<typeof createArtifact>>>;
|
|
9677
9840
|
/**
|
|
9678
9841
|
* @summary Create artifact
|
|
9679
9842
|
*/
|
|
9680
9843
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9681
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
9844
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$o<ReturnType<typeof createArtifact>>> & {
|
|
9682
9845
|
swrKey?: string;
|
|
9683
9846
|
};
|
|
9684
|
-
request?: SecondParameter$
|
|
9847
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9685
9848
|
}) => {
|
|
9686
9849
|
isMutating: boolean;
|
|
9687
9850
|
trigger: swr_mutation.TriggerWithArgs<CreateArtifactEnvelope, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -9711,16 +9874,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
9711
9874
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
9712
9875
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ListArtifactsEnvelope>;
|
|
9713
9876
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
9714
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
9877
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$o<ReturnType<typeof listArtifacts>>>;
|
|
9715
9878
|
/**
|
|
9716
9879
|
* @summary List artifacts
|
|
9717
9880
|
*/
|
|
9718
9881
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
9719
|
-
swr?: SWRConfiguration<Awaited$
|
|
9882
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof listArtifacts>>, TError> & {
|
|
9720
9883
|
swrKey?: Key;
|
|
9721
9884
|
enabled?: boolean;
|
|
9722
9885
|
};
|
|
9723
|
-
request?: SecondParameter$
|
|
9886
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9724
9887
|
}) => {
|
|
9725
9888
|
data: ListArtifactsEnvelope | undefined;
|
|
9726
9889
|
error: TError | undefined;
|
|
@@ -9738,16 +9901,16 @@ The response always includes `content_with_chunkids_md`: the parsed content anno
|
|
|
9738
9901
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
9739
9902
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<GetArtifactEnvelope>;
|
|
9740
9903
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
9741
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
9904
|
+
type GetArtifactQueryResult = NonNullable<Awaited$o<ReturnType<typeof getArtifact>>>;
|
|
9742
9905
|
/**
|
|
9743
9906
|
* @summary Get artifact
|
|
9744
9907
|
*/
|
|
9745
9908
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9746
|
-
swr?: SWRConfiguration<Awaited$
|
|
9909
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getArtifact>>, TError> & {
|
|
9747
9910
|
swrKey?: Key;
|
|
9748
9911
|
enabled?: boolean;
|
|
9749
9912
|
};
|
|
9750
|
-
request?: SecondParameter$
|
|
9913
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9751
9914
|
}) => {
|
|
9752
9915
|
data: GetArtifactEnvelope | undefined;
|
|
9753
9916
|
error: TError | undefined;
|
|
@@ -9762,19 +9925,19 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
9762
9925
|
*/
|
|
9763
9926
|
declare const getDeleteArtifactUrl: (id: string) => string;
|
|
9764
9927
|
declare const deleteArtifact: (id: string, options?: RequestInit) => Promise<DeleteArtifactEnvelope>;
|
|
9765
|
-
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$
|
|
9928
|
+
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$o<typeof customFetch>) => (_: Key, __: {
|
|
9766
9929
|
arg: Arguments;
|
|
9767
9930
|
}) => Promise<DeleteArtifactEnvelope>;
|
|
9768
9931
|
declare const getDeleteArtifactMutationKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
9769
|
-
type DeleteArtifactMutationResult = NonNullable<Awaited$
|
|
9932
|
+
type DeleteArtifactMutationResult = NonNullable<Awaited$o<ReturnType<typeof deleteArtifact>>>;
|
|
9770
9933
|
/**
|
|
9771
9934
|
* @summary Delete artifact
|
|
9772
9935
|
*/
|
|
9773
9936
|
declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9774
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
9937
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof deleteArtifact>>, TError, Key, Arguments, Awaited$o<ReturnType<typeof deleteArtifact>>> & {
|
|
9775
9938
|
swrKey?: string;
|
|
9776
9939
|
};
|
|
9777
|
-
request?: SecondParameter$
|
|
9940
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9778
9941
|
}) => {
|
|
9779
9942
|
isMutating: boolean;
|
|
9780
9943
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteArtifactEnvelope, TError, string | readonly [`/v1/artifacts/${string}`], Arguments>;
|
|
@@ -9790,16 +9953,16 @@ declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
9790
9953
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
9791
9954
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<GetArtifactMetadataKeysEnvelope>;
|
|
9792
9955
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
9793
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
9956
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$o<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
9794
9957
|
/**
|
|
9795
9958
|
* @summary Get artifact metadata keys
|
|
9796
9959
|
*/
|
|
9797
9960
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
9798
|
-
swr?: SWRConfiguration<Awaited$
|
|
9961
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
9799
9962
|
swrKey?: Key;
|
|
9800
9963
|
enabled?: boolean;
|
|
9801
9964
|
};
|
|
9802
|
-
request?: SecondParameter$
|
|
9965
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9803
9966
|
}) => {
|
|
9804
9967
|
data: GetArtifactMetadataKeysEnvelope | undefined;
|
|
9805
9968
|
error: TError | undefined;
|
|
@@ -9817,16 +9980,16 @@ Define the scope with bracket notation (e.g. `scope[email_id]=abc-123`). At leas
|
|
|
9817
9980
|
declare const getGetArtifactStatusSummaryUrl: (params: GetArtifactStatusSummaryParams) => string;
|
|
9818
9981
|
declare const getArtifactStatusSummary: (params: GetArtifactStatusSummaryParams, options?: RequestInit) => Promise<GetArtifactStatusSummaryEnvelope>;
|
|
9819
9982
|
declare const getGetArtifactStatusSummaryKey: (params: GetArtifactStatusSummaryParams) => readonly ["/v1/artifacts/status-summary", ...GetArtifactStatusSummaryParams[]];
|
|
9820
|
-
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$
|
|
9983
|
+
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$o<ReturnType<typeof getArtifactStatusSummary>>>;
|
|
9821
9984
|
/**
|
|
9822
9985
|
* @summary Get artifact status summary
|
|
9823
9986
|
*/
|
|
9824
9987
|
declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(params: GetArtifactStatusSummaryParams, options?: {
|
|
9825
|
-
swr?: SWRConfiguration<Awaited$
|
|
9988
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getArtifactStatusSummary>>, TError> & {
|
|
9826
9989
|
swrKey?: Key;
|
|
9827
9990
|
enabled?: boolean;
|
|
9828
9991
|
};
|
|
9829
|
-
request?: SecondParameter$
|
|
9992
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9830
9993
|
}) => {
|
|
9831
9994
|
data: GetArtifactStatusSummaryEnvelope | undefined;
|
|
9832
9995
|
error: TError | undefined;
|
|
@@ -9841,19 +10004,19 @@ declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(p
|
|
|
9841
10004
|
*/
|
|
9842
10005
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
9843
10006
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrlEnvelope>;
|
|
9844
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
10007
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$o<typeof customFetch>) => (_: Key, { arg }: {
|
|
9845
10008
|
arg: GetArtifactUploadUrlBody;
|
|
9846
10009
|
}) => Promise<GetArtifactUploadUrlEnvelope>;
|
|
9847
10010
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
9848
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
10011
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$o<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
9849
10012
|
/**
|
|
9850
10013
|
* @summary Request a pre-signed URL for direct large file upload
|
|
9851
10014
|
*/
|
|
9852
10015
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9853
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10016
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$o<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
9854
10017
|
swrKey?: string;
|
|
9855
10018
|
};
|
|
9856
|
-
request?: SecondParameter$
|
|
10019
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9857
10020
|
}) => {
|
|
9858
10021
|
isMutating: boolean;
|
|
9859
10022
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrlEnvelope, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -9868,19 +10031,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
9868
10031
|
*/
|
|
9869
10032
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
9870
10033
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<UpdateArtifactMetadataEnvelope>;
|
|
9871
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
10034
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$o<typeof customFetch>) => (_: Key, { arg }: {
|
|
9872
10035
|
arg: UpdateArtifactMetadataBody;
|
|
9873
10036
|
}) => Promise<UpdateArtifactMetadataEnvelope>;
|
|
9874
10037
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
9875
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
10038
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$o<ReturnType<typeof updateArtifactMetadata>>>;
|
|
9876
10039
|
/**
|
|
9877
10040
|
* @summary Update artifact metadata
|
|
9878
10041
|
*/
|
|
9879
10042
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
9880
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10043
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$o<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
9881
10044
|
swrKey?: string;
|
|
9882
10045
|
};
|
|
9883
|
-
request?: SecondParameter$
|
|
10046
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9884
10047
|
}) => {
|
|
9885
10048
|
isMutating: boolean;
|
|
9886
10049
|
trigger: swr_mutation.TriggerWithArgs<UpdateArtifactMetadataEnvelope, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -9897,19 +10060,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
9897
10060
|
*/
|
|
9898
10061
|
declare const getUploadFileUrl: () => string;
|
|
9899
10062
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileEnvelope>;
|
|
9900
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
10063
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$o<typeof customFetch>) => (_: Key, { arg }: {
|
|
9901
10064
|
arg: UploadFileBody;
|
|
9902
10065
|
}) => Promise<UploadFileEnvelope>;
|
|
9903
10066
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
9904
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
10067
|
+
type UploadFileMutationResult = NonNullable<Awaited$o<ReturnType<typeof uploadFile>>>;
|
|
9905
10068
|
/**
|
|
9906
10069
|
* @summary Upload a file for processing
|
|
9907
10070
|
*/
|
|
9908
10071
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9909
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10072
|
+
swr?: SWRMutationConfiguration<Awaited$o<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$o<ReturnType<typeof uploadFile>>> & {
|
|
9910
10073
|
swrKey?: string;
|
|
9911
10074
|
};
|
|
9912
|
-
request?: SecondParameter$
|
|
10075
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
9913
10076
|
}) => {
|
|
9914
10077
|
isMutating: boolean;
|
|
9915
10078
|
trigger: swr_mutation.TriggerWithArgs<UploadFileEnvelope, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -9919,28 +10082,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
9919
10082
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
9920
10083
|
};
|
|
9921
10084
|
|
|
9922
|
-
type AwaitedInput$
|
|
9923
|
-
type Awaited$
|
|
9924
|
-
type SecondParameter$
|
|
10085
|
+
type AwaitedInput$n<T> = PromiseLike<T> | T;
|
|
10086
|
+
type Awaited$n<O> = O extends AwaitedInput$n<infer T> ? T : never;
|
|
10087
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
9925
10088
|
/**
|
|
9926
10089
|
* 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.
|
|
9927
10090
|
* @summary Sign up
|
|
9928
10091
|
*/
|
|
9929
10092
|
declare const getSignUpUrl: () => string;
|
|
9930
10093
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<SignUpEnvelope>;
|
|
9931
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
10094
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
9932
10095
|
arg: SignUpBody;
|
|
9933
10096
|
}) => Promise<SignUpEnvelope>;
|
|
9934
10097
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
9935
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
10098
|
+
type SignUpMutationResult = NonNullable<Awaited$n<ReturnType<typeof signUp>>>;
|
|
9936
10099
|
/**
|
|
9937
10100
|
* @summary Sign up
|
|
9938
10101
|
*/
|
|
9939
10102
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9940
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10103
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$n<ReturnType<typeof signUp>>> & {
|
|
9941
10104
|
swrKey?: string;
|
|
9942
10105
|
};
|
|
9943
|
-
request?: SecondParameter$
|
|
10106
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
9944
10107
|
}) => {
|
|
9945
10108
|
isMutating: boolean;
|
|
9946
10109
|
trigger: swr_mutation.TriggerWithArgs<SignUpEnvelope, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -9959,19 +10122,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
9959
10122
|
*/
|
|
9960
10123
|
declare const getSignInUrl: () => string;
|
|
9961
10124
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<SignInEnvelope>;
|
|
9962
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
10125
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
9963
10126
|
arg: SignInBody;
|
|
9964
10127
|
}) => Promise<SignInEnvelope>;
|
|
9965
10128
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
9966
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
10129
|
+
type SignInMutationResult = NonNullable<Awaited$n<ReturnType<typeof signIn>>>;
|
|
9967
10130
|
/**
|
|
9968
10131
|
* @summary Sign in
|
|
9969
10132
|
*/
|
|
9970
10133
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9971
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10134
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$n<ReturnType<typeof signIn>>> & {
|
|
9972
10135
|
swrKey?: string;
|
|
9973
10136
|
};
|
|
9974
|
-
request?: SecondParameter$
|
|
10137
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
9975
10138
|
}) => {
|
|
9976
10139
|
isMutating: boolean;
|
|
9977
10140
|
trigger: swr_mutation.TriggerWithArgs<SignInEnvelope, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -9986,19 +10149,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
9986
10149
|
*/
|
|
9987
10150
|
declare const getRequestPasswordResetUrl: () => string;
|
|
9988
10151
|
declare const requestPasswordReset: (requestPasswordResetBody: RequestPasswordResetBody, options?: RequestInit) => Promise<RequestPasswordResetEnvelope>;
|
|
9989
|
-
declare const getRequestPasswordResetMutationFetcher: (options?: SecondParameter$
|
|
10152
|
+
declare const getRequestPasswordResetMutationFetcher: (options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
9990
10153
|
arg: RequestPasswordResetBody;
|
|
9991
10154
|
}) => Promise<RequestPasswordResetEnvelope>;
|
|
9992
10155
|
declare const getRequestPasswordResetMutationKey: () => readonly ["/v1/auth/request-password-reset"];
|
|
9993
|
-
type RequestPasswordResetMutationResult = NonNullable<Awaited$
|
|
10156
|
+
type RequestPasswordResetMutationResult = NonNullable<Awaited$n<ReturnType<typeof requestPasswordReset>>>;
|
|
9994
10157
|
/**
|
|
9995
10158
|
* @summary Request password reset
|
|
9996
10159
|
*/
|
|
9997
10160
|
declare const useRequestPasswordReset: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
9998
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10161
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof requestPasswordReset>>, TError, Key, RequestPasswordResetBody, Awaited$n<ReturnType<typeof requestPasswordReset>>> & {
|
|
9999
10162
|
swrKey?: string;
|
|
10000
10163
|
};
|
|
10001
|
-
request?: SecondParameter$
|
|
10164
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10002
10165
|
}) => {
|
|
10003
10166
|
isMutating: boolean;
|
|
10004
10167
|
trigger: swr_mutation.TriggerWithArgs<RequestPasswordResetEnvelope, TError, string | readonly ["/v1/auth/request-password-reset"], RequestPasswordResetBody>;
|
|
@@ -10013,19 +10176,19 @@ declare const useRequestPasswordReset: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
10013
10176
|
*/
|
|
10014
10177
|
declare const getResetPasswordUrl: () => string;
|
|
10015
10178
|
declare const resetPassword: (resetPasswordBody: ResetPasswordBody, options?: RequestInit) => Promise<ResetPasswordEnvelope>;
|
|
10016
|
-
declare const getResetPasswordMutationFetcher: (options?: SecondParameter$
|
|
10179
|
+
declare const getResetPasswordMutationFetcher: (options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10017
10180
|
arg: ResetPasswordBody;
|
|
10018
10181
|
}) => Promise<ResetPasswordEnvelope>;
|
|
10019
10182
|
declare const getResetPasswordMutationKey: () => readonly ["/v1/auth/reset-password"];
|
|
10020
|
-
type ResetPasswordMutationResult = NonNullable<Awaited$
|
|
10183
|
+
type ResetPasswordMutationResult = NonNullable<Awaited$n<ReturnType<typeof resetPassword>>>;
|
|
10021
10184
|
/**
|
|
10022
10185
|
* @summary Reset password
|
|
10023
10186
|
*/
|
|
10024
10187
|
declare const useResetPassword: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10025
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10188
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof resetPassword>>, TError, Key, ResetPasswordBody, Awaited$n<ReturnType<typeof resetPassword>>> & {
|
|
10026
10189
|
swrKey?: string;
|
|
10027
10190
|
};
|
|
10028
|
-
request?: SecondParameter$
|
|
10191
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10029
10192
|
}) => {
|
|
10030
10193
|
isMutating: boolean;
|
|
10031
10194
|
trigger: swr_mutation.TriggerWithArgs<ResetPasswordEnvelope, TError, string | readonly ["/v1/auth/reset-password"], ResetPasswordBody>;
|
|
@@ -10040,19 +10203,19 @@ declare const useResetPassword: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10040
10203
|
*/
|
|
10041
10204
|
declare const getRefreshTokenUrl: () => string;
|
|
10042
10205
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<RefreshTokenEnvelope>;
|
|
10043
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
10206
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10044
10207
|
arg: RefreshTokenBody;
|
|
10045
10208
|
}) => Promise<RefreshTokenEnvelope>;
|
|
10046
10209
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
10047
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
10210
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$n<ReturnType<typeof refreshToken>>>;
|
|
10048
10211
|
/**
|
|
10049
10212
|
* @summary Refresh authentication token
|
|
10050
10213
|
*/
|
|
10051
10214
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10052
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10215
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$n<ReturnType<typeof refreshToken>>> & {
|
|
10053
10216
|
swrKey?: string;
|
|
10054
10217
|
};
|
|
10055
|
-
request?: SecondParameter$
|
|
10218
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10056
10219
|
}) => {
|
|
10057
10220
|
isMutating: boolean;
|
|
10058
10221
|
trigger: swr_mutation.TriggerWithArgs<RefreshTokenEnvelope, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -10072,16 +10235,16 @@ For enterprise SSO, pass `provider=sso` together with the user's `email`; the em
|
|
|
10072
10235
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
10073
10236
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<GetOAuthUrlEnvelope>;
|
|
10074
10237
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
10075
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
10238
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$n<ReturnType<typeof getOAuthUrl>>>;
|
|
10076
10239
|
/**
|
|
10077
10240
|
* @summary Get OAuth sign-in URL
|
|
10078
10241
|
*/
|
|
10079
10242
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
10080
|
-
swr?: SWRConfiguration<Awaited$
|
|
10243
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
10081
10244
|
swrKey?: Key;
|
|
10082
10245
|
enabled?: boolean;
|
|
10083
10246
|
};
|
|
10084
|
-
request?: SecondParameter$
|
|
10247
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10085
10248
|
}) => {
|
|
10086
10249
|
data: GetOAuthUrlEnvelope | undefined;
|
|
10087
10250
|
error: TError | undefined;
|
|
@@ -10101,19 +10264,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
10101
10264
|
*/
|
|
10102
10265
|
declare const getGetSessionTokenUrl: () => string;
|
|
10103
10266
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionTokenEnvelope>;
|
|
10104
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
10267
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
10105
10268
|
arg: GetSessionTokenBody;
|
|
10106
10269
|
}) => Promise<GetSessionTokenEnvelope>;
|
|
10107
10270
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
10108
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
10271
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$n<ReturnType<typeof getSessionToken>>>;
|
|
10109
10272
|
/**
|
|
10110
10273
|
* @summary Create or switch tenant session
|
|
10111
10274
|
*/
|
|
10112
10275
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10113
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10276
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$n<ReturnType<typeof getSessionToken>>> & {
|
|
10114
10277
|
swrKey?: string;
|
|
10115
10278
|
};
|
|
10116
|
-
request?: SecondParameter$
|
|
10279
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10117
10280
|
}) => {
|
|
10118
10281
|
isMutating: boolean;
|
|
10119
10282
|
trigger: swr_mutation.TriggerWithArgs<GetSessionTokenEnvelope, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -10129,16 +10292,16 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
10129
10292
|
declare const getGetPartnerJwksUrl: (partner: string) => string;
|
|
10130
10293
|
declare const getPartnerJwks: (partner: string, options?: RequestInit) => Promise<PartnerJwks>;
|
|
10131
10294
|
declare const getGetPartnerJwksKey: (partner: string) => readonly [`/.well-known/partners/${string}/jwks.json`];
|
|
10132
|
-
type GetPartnerJwksQueryResult = NonNullable<Awaited$
|
|
10295
|
+
type GetPartnerJwksQueryResult = NonNullable<Awaited$n<ReturnType<typeof getPartnerJwks>>>;
|
|
10133
10296
|
/**
|
|
10134
10297
|
* @summary Get partner JWKS
|
|
10135
10298
|
*/
|
|
10136
10299
|
declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: string, options?: {
|
|
10137
|
-
swr?: SWRConfiguration<Awaited$
|
|
10300
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof getPartnerJwks>>, TError> & {
|
|
10138
10301
|
swrKey?: Key;
|
|
10139
10302
|
enabled?: boolean;
|
|
10140
10303
|
};
|
|
10141
|
-
request?: SecondParameter$
|
|
10304
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10142
10305
|
}) => {
|
|
10143
10306
|
data: PartnerJwks | undefined;
|
|
10144
10307
|
error: TError | undefined;
|
|
@@ -10153,19 +10316,19 @@ declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: st
|
|
|
10153
10316
|
*/
|
|
10154
10317
|
declare const getPartnerLaunchUrl: (params?: PartnerLaunchParams) => string;
|
|
10155
10318
|
declare const partnerLaunch: (params?: PartnerLaunchParams, options?: RequestInit) => Promise<unknown>;
|
|
10156
|
-
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$
|
|
10319
|
+
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$n<typeof customFetchNoAuth>) => (_: Key, __: {
|
|
10157
10320
|
arg: Arguments;
|
|
10158
10321
|
}) => Promise<unknown>;
|
|
10159
10322
|
declare const getPartnerLaunchMutationKey: (params?: PartnerLaunchParams) => readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
10160
|
-
type PartnerLaunchMutationResult = NonNullable<Awaited$
|
|
10323
|
+
type PartnerLaunchMutationResult = NonNullable<Awaited$n<ReturnType<typeof partnerLaunch>>>;
|
|
10161
10324
|
/**
|
|
10162
10325
|
* @summary Partner launch (SSO)
|
|
10163
10326
|
*/
|
|
10164
10327
|
declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunchEnvelope | ErrorResponse>>(params?: PartnerLaunchParams, options?: {
|
|
10165
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10328
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof partnerLaunch>>, TError, Key, Arguments, Awaited$n<ReturnType<typeof partnerLaunch>>> & {
|
|
10166
10329
|
swrKey?: string;
|
|
10167
10330
|
};
|
|
10168
|
-
request?: SecondParameter$
|
|
10331
|
+
request?: SecondParameter$n<typeof customFetchNoAuth>;
|
|
10169
10332
|
}) => {
|
|
10170
10333
|
isMutating: boolean;
|
|
10171
10334
|
trigger: swr_mutation.TriggerWithOptionsArgs<unknown, TError, string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]], Arguments>;
|
|
@@ -10175,28 +10338,28 @@ declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunchEnvelope | Erro
|
|
|
10175
10338
|
swrKey: string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
10176
10339
|
};
|
|
10177
10340
|
|
|
10178
|
-
type AwaitedInput$
|
|
10179
|
-
type Awaited$
|
|
10180
|
-
type SecondParameter$
|
|
10341
|
+
type AwaitedInput$m<T> = PromiseLike<T> | T;
|
|
10342
|
+
type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
|
|
10343
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10181
10344
|
/**
|
|
10182
10345
|
* 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.
|
|
10183
10346
|
* @summary Create feedback on a call message
|
|
10184
10347
|
*/
|
|
10185
10348
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
10186
10349
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<CreateCallFeedbackEnvelope>;
|
|
10187
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
10350
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
10188
10351
|
arg: CreateFeedbackRequest;
|
|
10189
10352
|
}) => Promise<CreateCallFeedbackEnvelope>;
|
|
10190
10353
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
10191
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
10354
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$m<ReturnType<typeof createCallFeedback>>>;
|
|
10192
10355
|
/**
|
|
10193
10356
|
* @summary Create feedback on a call message
|
|
10194
10357
|
*/
|
|
10195
10358
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10196
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10359
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$m<ReturnType<typeof createCallFeedback>>> & {
|
|
10197
10360
|
swrKey?: string;
|
|
10198
10361
|
};
|
|
10199
|
-
request?: SecondParameter$
|
|
10362
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10200
10363
|
}) => {
|
|
10201
10364
|
isMutating: boolean;
|
|
10202
10365
|
trigger: swr_mutation.TriggerWithArgs<CreateCallFeedbackEnvelope, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -10212,16 +10375,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
10212
10375
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
10213
10376
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<ListCallFeedbackEnvelope>;
|
|
10214
10377
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
10215
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
10378
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$m<ReturnType<typeof listCallFeedback>>>;
|
|
10216
10379
|
/**
|
|
10217
10380
|
* @summary List feedback for a call
|
|
10218
10381
|
*/
|
|
10219
10382
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
10220
|
-
swr?: SWRConfiguration<Awaited$
|
|
10383
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
10221
10384
|
swrKey?: Key;
|
|
10222
10385
|
enabled?: boolean;
|
|
10223
10386
|
};
|
|
10224
|
-
request?: SecondParameter$
|
|
10387
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10225
10388
|
}) => {
|
|
10226
10389
|
data: ListCallFeedbackEnvelope | undefined;
|
|
10227
10390
|
error: TError | undefined;
|
|
@@ -10236,19 +10399,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
10236
10399
|
*/
|
|
10237
10400
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
10238
10401
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<DeleteCallFeedbackEnvelope>;
|
|
10239
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
10402
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, __: {
|
|
10240
10403
|
arg: Arguments;
|
|
10241
10404
|
}) => Promise<DeleteCallFeedbackEnvelope>;
|
|
10242
10405
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
10243
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
10406
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$m<ReturnType<typeof deleteCallFeedback>>>;
|
|
10244
10407
|
/**
|
|
10245
10408
|
* @summary Delete feedback
|
|
10246
10409
|
*/
|
|
10247
10410
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
10248
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10411
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$m<ReturnType<typeof deleteCallFeedback>>> & {
|
|
10249
10412
|
swrKey?: string;
|
|
10250
10413
|
};
|
|
10251
|
-
request?: SecondParameter$
|
|
10414
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
10252
10415
|
}) => {
|
|
10253
10416
|
isMutating: boolean;
|
|
10254
10417
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteCallFeedbackEnvelope, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -10258,9 +10421,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
10258
10421
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
10259
10422
|
};
|
|
10260
10423
|
|
|
10261
|
-
type AwaitedInput$
|
|
10262
|
-
type Awaited$
|
|
10263
|
-
type SecondParameter$
|
|
10424
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
10425
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
10426
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10264
10427
|
/**
|
|
10265
10428
|
* List all calls, with pagination, filtering, and sorting.
|
|
10266
10429
|
|
|
@@ -10286,16 +10449,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
10286
10449
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
10287
10450
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<ListCallsEnvelope>;
|
|
10288
10451
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
10289
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
10452
|
+
type ListCallsQueryResult = NonNullable<Awaited$l<ReturnType<typeof listCalls>>>;
|
|
10290
10453
|
/**
|
|
10291
10454
|
* @summary List calls
|
|
10292
10455
|
*/
|
|
10293
10456
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
10294
|
-
swr?: SWRConfiguration<Awaited$
|
|
10457
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof listCalls>>, TError> & {
|
|
10295
10458
|
swrKey?: Key;
|
|
10296
10459
|
enabled?: boolean;
|
|
10297
10460
|
};
|
|
10298
|
-
request?: SecondParameter$
|
|
10461
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10299
10462
|
}) => {
|
|
10300
10463
|
data: ListCallsEnvelope | undefined;
|
|
10301
10464
|
error: TError | undefined;
|
|
@@ -10313,16 +10476,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
10313
10476
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
10314
10477
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<GetCallEnvelope>;
|
|
10315
10478
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
10316
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
10479
|
+
type GetCallQueryResult = NonNullable<Awaited$l<ReturnType<typeof getCall>>>;
|
|
10317
10480
|
/**
|
|
10318
10481
|
* @summary Get call
|
|
10319
10482
|
*/
|
|
10320
10483
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
10321
|
-
swr?: SWRConfiguration<Awaited$
|
|
10484
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getCall>>, TError> & {
|
|
10322
10485
|
swrKey?: Key;
|
|
10323
10486
|
enabled?: boolean;
|
|
10324
10487
|
};
|
|
10325
|
-
request?: SecondParameter$
|
|
10488
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10326
10489
|
}) => {
|
|
10327
10490
|
data: GetCallEnvelope | undefined;
|
|
10328
10491
|
error: TError | undefined;
|
|
@@ -10338,16 +10501,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
10338
10501
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
10339
10502
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<GetCallEvaluationEnvelope>;
|
|
10340
10503
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
10341
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
10504
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$l<ReturnType<typeof getCallEvaluation>>>;
|
|
10342
10505
|
/**
|
|
10343
10506
|
* @summary Get call evaluation
|
|
10344
10507
|
*/
|
|
10345
10508
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10346
|
-
swr?: SWRConfiguration<Awaited$
|
|
10509
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
10347
10510
|
swrKey?: Key;
|
|
10348
10511
|
enabled?: boolean;
|
|
10349
10512
|
};
|
|
10350
|
-
request?: SecondParameter$
|
|
10513
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10351
10514
|
}) => {
|
|
10352
10515
|
data: GetCallEvaluationEnvelope | undefined;
|
|
10353
10516
|
error: TError | undefined;
|
|
@@ -10365,16 +10528,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
10365
10528
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
10366
10529
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<GetCallAnalyticsEnvelope>;
|
|
10367
10530
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
10368
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
10531
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$l<ReturnType<typeof getCallAnalytics>>>;
|
|
10369
10532
|
/**
|
|
10370
10533
|
* @summary Get call analytics
|
|
10371
10534
|
*/
|
|
10372
10535
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
10373
|
-
swr?: SWRConfiguration<Awaited$
|
|
10536
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
10374
10537
|
swrKey?: Key;
|
|
10375
10538
|
enabled?: boolean;
|
|
10376
10539
|
};
|
|
10377
|
-
request?: SecondParameter$
|
|
10540
|
+
request?: SecondParameter$l<typeof customFetch>;
|
|
10378
10541
|
}) => {
|
|
10379
10542
|
data: GetCallAnalyticsEnvelope | undefined;
|
|
10380
10543
|
error: TError | undefined;
|
|
@@ -10384,9 +10547,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
10384
10547
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
10385
10548
|
};
|
|
10386
10549
|
|
|
10387
|
-
type AwaitedInput$
|
|
10388
|
-
type Awaited$
|
|
10389
|
-
type SecondParameter$
|
|
10550
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
10551
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
10552
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10390
10553
|
/**
|
|
10391
10554
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
10392
10555
|
* @summary List cases
|
|
@@ -10394,16 +10557,16 @@ type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
10394
10557
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
10395
10558
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<ListCasesEnvelope>;
|
|
10396
10559
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
10397
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
10560
|
+
type ListCasesQueryResult = NonNullable<Awaited$k<ReturnType<typeof listCases>>>;
|
|
10398
10561
|
/**
|
|
10399
10562
|
* @summary List cases
|
|
10400
10563
|
*/
|
|
10401
10564
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
10402
|
-
swr?: SWRConfiguration<Awaited$
|
|
10565
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listCases>>, TError> & {
|
|
10403
10566
|
swrKey?: Key;
|
|
10404
10567
|
enabled?: boolean;
|
|
10405
10568
|
};
|
|
10406
|
-
request?: SecondParameter$
|
|
10569
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10407
10570
|
}) => {
|
|
10408
10571
|
data: ListCasesEnvelope | undefined;
|
|
10409
10572
|
error: TError | undefined;
|
|
@@ -10420,19 +10583,19 @@ Case ids are tenant-scoped opaque keys (e.g. "clm-1", "STD-001") and are normali
|
|
|
10420
10583
|
*/
|
|
10421
10584
|
declare const getCreateCaseUrl: () => string;
|
|
10422
10585
|
declare const createCase: (createCaseBody: CreateCaseBody, options?: RequestInit) => Promise<CreateCaseEnvelope>;
|
|
10423
|
-
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$
|
|
10586
|
+
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
10424
10587
|
arg: CreateCaseBody;
|
|
10425
10588
|
}) => Promise<CreateCaseEnvelope>;
|
|
10426
10589
|
declare const getCreateCaseMutationKey: () => readonly ["/v1/cases"];
|
|
10427
|
-
type CreateCaseMutationResult = NonNullable<Awaited$
|
|
10590
|
+
type CreateCaseMutationResult = NonNullable<Awaited$k<ReturnType<typeof createCase>>>;
|
|
10428
10591
|
/**
|
|
10429
10592
|
* @summary Create case
|
|
10430
10593
|
*/
|
|
10431
10594
|
declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10432
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10595
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof createCase>>, TError, Key, CreateCaseBody, Awaited$k<ReturnType<typeof createCase>>> & {
|
|
10433
10596
|
swrKey?: string;
|
|
10434
10597
|
};
|
|
10435
|
-
request?: SecondParameter$
|
|
10598
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10436
10599
|
}) => {
|
|
10437
10600
|
isMutating: boolean;
|
|
10438
10601
|
trigger: swr_mutation.TriggerWithArgs<CreateCaseEnvelope, TError, string | readonly ["/v1/cases"], CreateCaseBody>;
|
|
@@ -10448,16 +10611,16 @@ declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
10448
10611
|
declare const getSearchCasesUrl: (params: SearchCasesParams) => string;
|
|
10449
10612
|
declare const searchCases: (params: SearchCasesParams, options?: RequestInit) => Promise<SearchCasesEnvelope>;
|
|
10450
10613
|
declare const getSearchCasesKey: (params: SearchCasesParams) => readonly ["/v1/cases/search", ...SearchCasesParams[]];
|
|
10451
|
-
type SearchCasesQueryResult = NonNullable<Awaited$
|
|
10614
|
+
type SearchCasesQueryResult = NonNullable<Awaited$k<ReturnType<typeof searchCases>>>;
|
|
10452
10615
|
/**
|
|
10453
10616
|
* @summary Search cases
|
|
10454
10617
|
*/
|
|
10455
10618
|
declare const useSearchCases: <TError = ErrorType<ErrorResponse>>(params: SearchCasesParams, options?: {
|
|
10456
|
-
swr?: SWRConfiguration<Awaited$
|
|
10619
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof searchCases>>, TError> & {
|
|
10457
10620
|
swrKey?: Key;
|
|
10458
10621
|
enabled?: boolean;
|
|
10459
10622
|
};
|
|
10460
|
-
request?: SecondParameter$
|
|
10623
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10461
10624
|
}) => {
|
|
10462
10625
|
data: SearchCasesEnvelope | undefined;
|
|
10463
10626
|
error: TError | undefined;
|
|
@@ -10476,16 +10639,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
10476
10639
|
declare const getGetCaseUrl: (id: string) => string;
|
|
10477
10640
|
declare const getCase: (id: string, options?: RequestInit) => Promise<GetCaseEnvelope>;
|
|
10478
10641
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
10479
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
10642
|
+
type GetCaseQueryResult = NonNullable<Awaited$k<ReturnType<typeof getCase>>>;
|
|
10480
10643
|
/**
|
|
10481
10644
|
* @summary Get case
|
|
10482
10645
|
*/
|
|
10483
10646
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10484
|
-
swr?: SWRConfiguration<Awaited$
|
|
10647
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof getCase>>, TError> & {
|
|
10485
10648
|
swrKey?: Key;
|
|
10486
10649
|
enabled?: boolean;
|
|
10487
10650
|
};
|
|
10488
|
-
request?: SecondParameter$
|
|
10651
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10489
10652
|
}) => {
|
|
10490
10653
|
data: GetCaseEnvelope | undefined;
|
|
10491
10654
|
error: TError | undefined;
|
|
@@ -10502,19 +10665,19 @@ The case and every entity must already exist in the tenant — unknown ids retur
|
|
|
10502
10665
|
*/
|
|
10503
10666
|
declare const getAddCaseLinksUrl: (id: string) => string;
|
|
10504
10667
|
declare const addCaseLinks: (id: string, addCaseLinksBody: AddCaseLinksBody, options?: RequestInit) => Promise<AddCaseLinksEnvelope>;
|
|
10505
|
-
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$
|
|
10668
|
+
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
10506
10669
|
arg: AddCaseLinksBody;
|
|
10507
10670
|
}) => Promise<AddCaseLinksEnvelope>;
|
|
10508
10671
|
declare const getAddCaseLinksMutationKey: (id: string) => readonly [`/v1/cases/${string}/links`];
|
|
10509
|
-
type AddCaseLinksMutationResult = NonNullable<Awaited$
|
|
10672
|
+
type AddCaseLinksMutationResult = NonNullable<Awaited$k<ReturnType<typeof addCaseLinks>>>;
|
|
10510
10673
|
/**
|
|
10511
10674
|
* @summary Add case links
|
|
10512
10675
|
*/
|
|
10513
10676
|
declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
10514
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10677
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof addCaseLinks>>, TError, Key, AddCaseLinksBody, Awaited$k<ReturnType<typeof addCaseLinks>>> & {
|
|
10515
10678
|
swrKey?: string;
|
|
10516
10679
|
};
|
|
10517
|
-
request?: SecondParameter$
|
|
10680
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10518
10681
|
}) => {
|
|
10519
10682
|
isMutating: boolean;
|
|
10520
10683
|
trigger: swr_mutation.TriggerWithArgs<AddCaseLinksEnvelope, TError, string | readonly [`/v1/cases/${string}/links`], AddCaseLinksBody>;
|
|
@@ -10530,16 +10693,16 @@ declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
10530
10693
|
declare const getListCaseLinksUrl: (id: string, params?: ListCaseLinksParams) => string;
|
|
10531
10694
|
declare const listCaseLinks: (id: string, params?: ListCaseLinksParams, options?: RequestInit) => Promise<ListCaseLinksEnvelope>;
|
|
10532
10695
|
declare const getListCaseLinksKey: (id: string, params?: ListCaseLinksParams) => readonly [`/v1/cases/${string}/links`, ...ListCaseLinksParams[]];
|
|
10533
|
-
type ListCaseLinksQueryResult = NonNullable<Awaited$
|
|
10696
|
+
type ListCaseLinksQueryResult = NonNullable<Awaited$k<ReturnType<typeof listCaseLinks>>>;
|
|
10534
10697
|
/**
|
|
10535
10698
|
* @summary List case links
|
|
10536
10699
|
*/
|
|
10537
10700
|
declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCaseLinksParams, options?: {
|
|
10538
|
-
swr?: SWRConfiguration<Awaited$
|
|
10701
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listCaseLinks>>, TError> & {
|
|
10539
10702
|
swrKey?: Key;
|
|
10540
10703
|
enabled?: boolean;
|
|
10541
10704
|
};
|
|
10542
|
-
request?: SecondParameter$
|
|
10705
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10543
10706
|
}) => {
|
|
10544
10707
|
data: ListCaseLinksEnvelope | undefined;
|
|
10545
10708
|
error: TError | undefined;
|
|
@@ -10554,19 +10717,19 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
10554
10717
|
*/
|
|
10555
10718
|
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string) => string;
|
|
10556
10719
|
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkEnvelope>;
|
|
10557
|
-
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: SecondParameter$
|
|
10720
|
+
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, __: {
|
|
10558
10721
|
arg: Arguments;
|
|
10559
10722
|
}) => Promise<RemoveCaseLinkEnvelope>;
|
|
10560
10723
|
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}`];
|
|
10561
|
-
type RemoveCaseLinkMutationResult = NonNullable<Awaited$
|
|
10724
|
+
type RemoveCaseLinkMutationResult = NonNullable<Awaited$k<ReturnType<typeof removeCaseLink>>>;
|
|
10562
10725
|
/**
|
|
10563
10726
|
* @summary Remove case link
|
|
10564
10727
|
*/
|
|
10565
10728
|
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "schedule" | "worker_run", entityId: string, options?: {
|
|
10566
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10729
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$k<ReturnType<typeof removeCaseLink>>> & {
|
|
10567
10730
|
swrKey?: string;
|
|
10568
10731
|
};
|
|
10569
|
-
request?: SecondParameter$
|
|
10732
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
10570
10733
|
}) => {
|
|
10571
10734
|
isMutating: boolean;
|
|
10572
10735
|
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkEnvelope, TError, string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/schedule/${string}` | `/v1/cases/${string}/links/worker_run/${string}`], Arguments>;
|
|
@@ -10576,28 +10739,28 @@ declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
10576
10739
|
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}`];
|
|
10577
10740
|
};
|
|
10578
10741
|
|
|
10579
|
-
type AwaitedInput$
|
|
10580
|
-
type Awaited$
|
|
10581
|
-
type SecondParameter$
|
|
10742
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
10743
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
10744
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10582
10745
|
/**
|
|
10583
10746
|
* Create a new chat agent with a name and prompt.
|
|
10584
10747
|
* @summary Create chat agent
|
|
10585
10748
|
*/
|
|
10586
10749
|
declare const getCreateChatAgentUrl: () => string;
|
|
10587
10750
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<CreateChatAgentEnvelope>;
|
|
10588
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
10751
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
10589
10752
|
arg: CreateChatAgentBody;
|
|
10590
10753
|
}) => Promise<CreateChatAgentEnvelope>;
|
|
10591
10754
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
10592
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
10755
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$j<ReturnType<typeof createChatAgent>>>;
|
|
10593
10756
|
/**
|
|
10594
10757
|
* @summary Create chat agent
|
|
10595
10758
|
*/
|
|
10596
10759
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10597
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10760
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$j<ReturnType<typeof createChatAgent>>> & {
|
|
10598
10761
|
swrKey?: string;
|
|
10599
10762
|
};
|
|
10600
|
-
request?: SecondParameter$
|
|
10763
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10601
10764
|
}) => {
|
|
10602
10765
|
isMutating: boolean;
|
|
10603
10766
|
trigger: swr_mutation.TriggerWithArgs<CreateChatAgentEnvelope, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -10613,16 +10776,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
10613
10776
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
10614
10777
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ListChatAgentsEnvelope>;
|
|
10615
10778
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
10616
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
10779
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$j<ReturnType<typeof listChatAgents>>>;
|
|
10617
10780
|
/**
|
|
10618
10781
|
* @summary List chat agents
|
|
10619
10782
|
*/
|
|
10620
10783
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
10621
|
-
swr?: SWRConfiguration<Awaited$
|
|
10784
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listChatAgents>>, TError> & {
|
|
10622
10785
|
swrKey?: Key;
|
|
10623
10786
|
enabled?: boolean;
|
|
10624
10787
|
};
|
|
10625
|
-
request?: SecondParameter$
|
|
10788
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10626
10789
|
}) => {
|
|
10627
10790
|
data: ListChatAgentsEnvelope | undefined;
|
|
10628
10791
|
error: TError | undefined;
|
|
@@ -10638,16 +10801,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
10638
10801
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
10639
10802
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<GetChatAgentEnvelope>;
|
|
10640
10803
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10641
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
10804
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$j<ReturnType<typeof getChatAgent>>>;
|
|
10642
10805
|
/**
|
|
10643
10806
|
* @summary Get chat agent
|
|
10644
10807
|
*/
|
|
10645
10808
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10646
|
-
swr?: SWRConfiguration<Awaited$
|
|
10809
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getChatAgent>>, TError> & {
|
|
10647
10810
|
swrKey?: Key;
|
|
10648
10811
|
enabled?: boolean;
|
|
10649
10812
|
};
|
|
10650
|
-
request?: SecondParameter$
|
|
10813
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10651
10814
|
}) => {
|
|
10652
10815
|
data: GetChatAgentEnvelope | undefined;
|
|
10653
10816
|
error: TError | undefined;
|
|
@@ -10662,19 +10825,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
10662
10825
|
*/
|
|
10663
10826
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
10664
10827
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<UpdateChatAgentEnvelope>;
|
|
10665
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
10828
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
10666
10829
|
arg: UpdateChatAgentRequest;
|
|
10667
10830
|
}) => Promise<UpdateChatAgentEnvelope>;
|
|
10668
10831
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10669
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
10832
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$j<ReturnType<typeof updateChatAgent>>>;
|
|
10670
10833
|
/**
|
|
10671
10834
|
* @summary Update chat agent
|
|
10672
10835
|
*/
|
|
10673
10836
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10674
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10837
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$j<ReturnType<typeof updateChatAgent>>> & {
|
|
10675
10838
|
swrKey?: string;
|
|
10676
10839
|
};
|
|
10677
|
-
request?: SecondParameter$
|
|
10840
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10678
10841
|
}) => {
|
|
10679
10842
|
isMutating: boolean;
|
|
10680
10843
|
trigger: swr_mutation.TriggerWithArgs<UpdateChatAgentEnvelope, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -10689,19 +10852,19 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
10689
10852
|
*/
|
|
10690
10853
|
declare const getDeleteChatAgentUrl: (chatAgentId: string) => string;
|
|
10691
10854
|
declare const deleteChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<DeleteChatAgentEnvelope>;
|
|
10692
|
-
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
10855
|
+
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, __: {
|
|
10693
10856
|
arg: Arguments;
|
|
10694
10857
|
}) => Promise<DeleteChatAgentEnvelope>;
|
|
10695
10858
|
declare const getDeleteChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
10696
|
-
type DeleteChatAgentMutationResult = NonNullable<Awaited$
|
|
10859
|
+
type DeleteChatAgentMutationResult = NonNullable<Awaited$j<ReturnType<typeof deleteChatAgent>>>;
|
|
10697
10860
|
/**
|
|
10698
10861
|
* @summary Delete chat agent
|
|
10699
10862
|
*/
|
|
10700
10863
|
declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10701
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10864
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof deleteChatAgent>>, TError, Key, Arguments, Awaited$j<ReturnType<typeof deleteChatAgent>>> & {
|
|
10702
10865
|
swrKey?: string;
|
|
10703
10866
|
};
|
|
10704
|
-
request?: SecondParameter$
|
|
10867
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10705
10868
|
}) => {
|
|
10706
10869
|
isMutating: boolean;
|
|
10707
10870
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteChatAgentEnvelope, TError, string | readonly [`/v1/chat-agents/${string}`], Arguments>;
|
|
@@ -10717,16 +10880,16 @@ declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
10717
10880
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
10718
10881
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<GetChatAgentPromptEnvelope>;
|
|
10719
10882
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
10720
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
10883
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$j<ReturnType<typeof getChatAgentPrompt>>>;
|
|
10721
10884
|
/**
|
|
10722
10885
|
* @summary Get chat agent prompt
|
|
10723
10886
|
*/
|
|
10724
10887
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10725
|
-
swr?: SWRConfiguration<Awaited$
|
|
10888
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
10726
10889
|
swrKey?: Key;
|
|
10727
10890
|
enabled?: boolean;
|
|
10728
10891
|
};
|
|
10729
|
-
request?: SecondParameter$
|
|
10892
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10730
10893
|
}) => {
|
|
10731
10894
|
data: GetChatAgentPromptEnvelope | undefined;
|
|
10732
10895
|
error: TError | undefined;
|
|
@@ -10741,19 +10904,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
10741
10904
|
*/
|
|
10742
10905
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
10743
10906
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<UpdateChatAgentPromptEnvelope>;
|
|
10744
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
10907
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$j<typeof customFetch>) => (_: Key, { arg }: {
|
|
10745
10908
|
arg: UpdateChatAgentPromptBody;
|
|
10746
10909
|
}) => Promise<UpdateChatAgentPromptEnvelope>;
|
|
10747
10910
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
10748
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
10911
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$j<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
10749
10912
|
/**
|
|
10750
10913
|
* @summary Update chat agent prompt
|
|
10751
10914
|
*/
|
|
10752
10915
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10753
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10916
|
+
swr?: SWRMutationConfiguration<Awaited$j<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$j<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
10754
10917
|
swrKey?: string;
|
|
10755
10918
|
};
|
|
10756
|
-
request?: SecondParameter$
|
|
10919
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
10757
10920
|
}) => {
|
|
10758
10921
|
isMutating: boolean;
|
|
10759
10922
|
trigger: swr_mutation.TriggerWithArgs<UpdateChatAgentPromptEnvelope, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -10763,28 +10926,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
10763
10926
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
10764
10927
|
};
|
|
10765
10928
|
|
|
10766
|
-
type AwaitedInput$
|
|
10767
|
-
type Awaited$
|
|
10768
|
-
type SecondParameter$
|
|
10929
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
10930
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
10931
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10769
10932
|
/**
|
|
10770
10933
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
10771
10934
|
* @summary Create a chat
|
|
10772
10935
|
*/
|
|
10773
10936
|
declare const getCreateChatUrl: () => string;
|
|
10774
10937
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<CreateChatEnvelope>;
|
|
10775
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
10938
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
10776
10939
|
arg: CreateChatBody;
|
|
10777
10940
|
}) => Promise<CreateChatEnvelope>;
|
|
10778
10941
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
10779
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
10942
|
+
type CreateChatMutationResult = NonNullable<Awaited$i<ReturnType<typeof createChat>>>;
|
|
10780
10943
|
/**
|
|
10781
10944
|
* @summary Create a chat
|
|
10782
10945
|
*/
|
|
10783
10946
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10784
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
10947
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$i<ReturnType<typeof createChat>>> & {
|
|
10785
10948
|
swrKey?: string;
|
|
10786
10949
|
};
|
|
10787
|
-
request?: SecondParameter$
|
|
10950
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
10788
10951
|
}) => {
|
|
10789
10952
|
isMutating: boolean;
|
|
10790
10953
|
trigger: swr_mutation.TriggerWithArgs<CreateChatEnvelope, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -10803,16 +10966,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
10803
10966
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
10804
10967
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<GetChatEnvelope>;
|
|
10805
10968
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
10806
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
10969
|
+
type GetChatQueryResult = NonNullable<Awaited$i<ReturnType<typeof getChat>>>;
|
|
10807
10970
|
/**
|
|
10808
10971
|
* @summary Get a chat
|
|
10809
10972
|
*/
|
|
10810
10973
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
10811
|
-
swr?: SWRConfiguration<Awaited$
|
|
10974
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getChat>>, TError> & {
|
|
10812
10975
|
swrKey?: Key;
|
|
10813
10976
|
enabled?: boolean;
|
|
10814
10977
|
};
|
|
10815
|
-
request?: SecondParameter$
|
|
10978
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
10816
10979
|
}) => {
|
|
10817
10980
|
data: GetChatEnvelope | undefined;
|
|
10818
10981
|
error: TError | undefined;
|
|
@@ -10828,16 +10991,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
10828
10991
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
10829
10992
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<GetPublicChatAgentEnvelope>;
|
|
10830
10993
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
10831
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
10994
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$i<ReturnType<typeof getPublicChatAgent>>>;
|
|
10832
10995
|
/**
|
|
10833
10996
|
* @summary Get a chat agent (public)
|
|
10834
10997
|
*/
|
|
10835
10998
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
10836
|
-
swr?: SWRConfiguration<Awaited$
|
|
10999
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
10837
11000
|
swrKey?: Key;
|
|
10838
11001
|
enabled?: boolean;
|
|
10839
11002
|
};
|
|
10840
|
-
request?: SecondParameter$
|
|
11003
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
10841
11004
|
}) => {
|
|
10842
11005
|
data: GetPublicChatAgentEnvelope | undefined;
|
|
10843
11006
|
error: TError | undefined;
|
|
@@ -10855,19 +11018,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
10855
11018
|
*/
|
|
10856
11019
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
10857
11020
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<PostChatMessageEnvelope>;
|
|
10858
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
11021
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
10859
11022
|
arg: PostChatMessageBody;
|
|
10860
11023
|
}) => Promise<PostChatMessageEnvelope>;
|
|
10861
11024
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
10862
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
11025
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$i<ReturnType<typeof postChatMessage>>>;
|
|
10863
11026
|
/**
|
|
10864
11027
|
* @summary Post a message to a chat
|
|
10865
11028
|
*/
|
|
10866
11029
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
10867
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11030
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$i<ReturnType<typeof postChatMessage>>> & {
|
|
10868
11031
|
swrKey?: string;
|
|
10869
11032
|
};
|
|
10870
|
-
request?: SecondParameter$
|
|
11033
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
10871
11034
|
}) => {
|
|
10872
11035
|
isMutating: boolean;
|
|
10873
11036
|
trigger: swr_mutation.TriggerWithArgs<PostChatMessageEnvelope, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -10883,16 +11046,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
10883
11046
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
10884
11047
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ListChatsEnvelope>;
|
|
10885
11048
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
10886
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
11049
|
+
type ListChatsQueryResult = NonNullable<Awaited$i<ReturnType<typeof listChats>>>;
|
|
10887
11050
|
/**
|
|
10888
11051
|
* @summary List chats
|
|
10889
11052
|
*/
|
|
10890
11053
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
10891
|
-
swr?: SWRConfiguration<Awaited$
|
|
11054
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listChats>>, TError> & {
|
|
10892
11055
|
swrKey?: Key;
|
|
10893
11056
|
enabled?: boolean;
|
|
10894
11057
|
};
|
|
10895
|
-
request?: SecondParameter$
|
|
11058
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
10896
11059
|
}) => {
|
|
10897
11060
|
data: ListChatsEnvelope | undefined;
|
|
10898
11061
|
error: TError | undefined;
|
|
@@ -10908,16 +11071,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
10908
11071
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
10909
11072
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ListChatMessagesEnvelope>;
|
|
10910
11073
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
10911
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
11074
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$i<ReturnType<typeof listChatMessages>>>;
|
|
10912
11075
|
/**
|
|
10913
11076
|
* @summary List chat messages
|
|
10914
11077
|
*/
|
|
10915
11078
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
10916
|
-
swr?: SWRConfiguration<Awaited$
|
|
11079
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listChatMessages>>, TError> & {
|
|
10917
11080
|
swrKey?: Key;
|
|
10918
11081
|
enabled?: boolean;
|
|
10919
11082
|
};
|
|
10920
|
-
request?: SecondParameter$
|
|
11083
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
10921
11084
|
}) => {
|
|
10922
11085
|
data: ListChatMessagesEnvelope | undefined;
|
|
10923
11086
|
error: TError | undefined;
|
|
@@ -10927,9 +11090,9 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
10927
11090
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
10928
11091
|
};
|
|
10929
11092
|
|
|
10930
|
-
type AwaitedInput$
|
|
10931
|
-
type Awaited$
|
|
10932
|
-
type SecondParameter$
|
|
11093
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
11094
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
11095
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10933
11096
|
/**
|
|
10934
11097
|
* List the organization's dispatches, newest occurrence first.
|
|
10935
11098
|
|
|
@@ -10951,16 +11114,16 @@ Requires the `schedules:read` permission.
|
|
|
10951
11114
|
declare const getListDispatchesUrl: (params?: ListDispatchesParams) => string;
|
|
10952
11115
|
declare const listDispatches: (params?: ListDispatchesParams, options?: RequestInit) => Promise<ListDispatchesEnvelope>;
|
|
10953
11116
|
declare const getListDispatchesKey: (params?: ListDispatchesParams) => readonly ["/v1/dispatches", ...ListDispatchesParams[]];
|
|
10954
|
-
type ListDispatchesQueryResult = NonNullable<Awaited$
|
|
11117
|
+
type ListDispatchesQueryResult = NonNullable<Awaited$h<ReturnType<typeof listDispatches>>>;
|
|
10955
11118
|
/**
|
|
10956
11119
|
* @summary List dispatches
|
|
10957
11120
|
*/
|
|
10958
11121
|
declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: ListDispatchesParams, options?: {
|
|
10959
|
-
swr?: SWRConfiguration<Awaited$
|
|
11122
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listDispatches>>, TError> & {
|
|
10960
11123
|
swrKey?: Key;
|
|
10961
11124
|
enabled?: boolean;
|
|
10962
11125
|
};
|
|
10963
|
-
request?: SecondParameter$
|
|
11126
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
10964
11127
|
}) => {
|
|
10965
11128
|
data: ListDispatchesEnvelope | undefined;
|
|
10966
11129
|
error: TError | undefined;
|
|
@@ -10970,9 +11133,9 @@ declare const useListDispatches: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
10970
11133
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
10971
11134
|
};
|
|
10972
11135
|
|
|
10973
|
-
type AwaitedInput$
|
|
10974
|
-
type Awaited$
|
|
10975
|
-
type SecondParameter$
|
|
11136
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
11137
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
11138
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
10976
11139
|
/**
|
|
10977
11140
|
* **DO NOT USE.** This endpoint is deprecated and will be removed.
|
|
10978
11141
|
|
|
@@ -10984,20 +11147,20 @@ Use `POST /v1/emails/send` to send an email or `POST /v1/emails/{emailId}/reply`
|
|
|
10984
11147
|
*/
|
|
10985
11148
|
declare const getCreateEmailUrl: () => string;
|
|
10986
11149
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<CreateEmailEnvelope>;
|
|
10987
|
-
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$
|
|
11150
|
+
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
10988
11151
|
arg: CreateEmailBody;
|
|
10989
11152
|
}) => Promise<CreateEmailEnvelope>;
|
|
10990
11153
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
10991
|
-
type CreateEmailMutationResult = NonNullable<Awaited$
|
|
11154
|
+
type CreateEmailMutationResult = NonNullable<Awaited$g<ReturnType<typeof createEmail>>>;
|
|
10992
11155
|
/**
|
|
10993
11156
|
* @deprecated
|
|
10994
11157
|
* @summary Create email (deprecated)
|
|
10995
11158
|
*/
|
|
10996
11159
|
declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
10997
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11160
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited$g<ReturnType<typeof createEmail>>> & {
|
|
10998
11161
|
swrKey?: string;
|
|
10999
11162
|
};
|
|
11000
|
-
request?: SecondParameter$
|
|
11163
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11001
11164
|
}) => {
|
|
11002
11165
|
isMutating: boolean;
|
|
11003
11166
|
trigger: swr_mutation.TriggerWithArgs<CreateEmailEnvelope, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
|
|
@@ -11017,16 +11180,16 @@ Filter by email agent, sender, recipient, content search, or case.
|
|
|
11017
11180
|
declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
|
|
11018
11181
|
declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<ListEmailsEnvelope>;
|
|
11019
11182
|
declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
|
|
11020
|
-
type ListEmailsQueryResult = NonNullable<Awaited$
|
|
11183
|
+
type ListEmailsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listEmails>>>;
|
|
11021
11184
|
/**
|
|
11022
11185
|
* @summary List emails
|
|
11023
11186
|
*/
|
|
11024
11187
|
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
|
|
11025
|
-
swr?: SWRConfiguration<Awaited$
|
|
11188
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listEmails>>, TError> & {
|
|
11026
11189
|
swrKey?: Key;
|
|
11027
11190
|
enabled?: boolean;
|
|
11028
11191
|
};
|
|
11029
|
-
request?: SecondParameter$
|
|
11192
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11030
11193
|
}) => {
|
|
11031
11194
|
data: ListEmailsEnvelope | undefined;
|
|
11032
11195
|
error: TError | undefined;
|
|
@@ -11042,16 +11205,16 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
|
|
|
11042
11205
|
declare const getGetEmailUrl: (emailId: string) => string;
|
|
11043
11206
|
declare const getEmail: (emailId: string, options?: RequestInit) => Promise<GetEmailEnvelope>;
|
|
11044
11207
|
declare const getGetEmailKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
11045
|
-
type GetEmailQueryResult = NonNullable<Awaited$
|
|
11208
|
+
type GetEmailQueryResult = NonNullable<Awaited$g<ReturnType<typeof getEmail>>>;
|
|
11046
11209
|
/**
|
|
11047
11210
|
* @summary Get email
|
|
11048
11211
|
*/
|
|
11049
11212
|
declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11050
|
-
swr?: SWRConfiguration<Awaited$
|
|
11213
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getEmail>>, TError> & {
|
|
11051
11214
|
swrKey?: Key;
|
|
11052
11215
|
enabled?: boolean;
|
|
11053
11216
|
};
|
|
11054
|
-
request?: SecondParameter$
|
|
11217
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11055
11218
|
}) => {
|
|
11056
11219
|
data: GetEmailEnvelope | undefined;
|
|
11057
11220
|
error: TError | undefined;
|
|
@@ -11066,19 +11229,19 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
11066
11229
|
*/
|
|
11067
11230
|
declare const getDeleteEmailUrl: (emailId: string) => string;
|
|
11068
11231
|
declare const deleteEmail: (emailId: string, options?: RequestInit) => Promise<DeleteEmailEnvelope>;
|
|
11069
|
-
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
11232
|
+
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$g<typeof customFetch>) => (_: Key, __: {
|
|
11070
11233
|
arg: Arguments;
|
|
11071
11234
|
}) => Promise<DeleteEmailEnvelope>;
|
|
11072
11235
|
declare const getDeleteEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
11073
|
-
type DeleteEmailMutationResult = NonNullable<Awaited$
|
|
11236
|
+
type DeleteEmailMutationResult = NonNullable<Awaited$g<ReturnType<typeof deleteEmail>>>;
|
|
11074
11237
|
/**
|
|
11075
11238
|
* @summary Delete email
|
|
11076
11239
|
*/
|
|
11077
11240
|
declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11078
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11241
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof deleteEmail>>, TError, Key, Arguments, Awaited$g<ReturnType<typeof deleteEmail>>> & {
|
|
11079
11242
|
swrKey?: string;
|
|
11080
11243
|
};
|
|
11081
|
-
request?: SecondParameter$
|
|
11244
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11082
11245
|
}) => {
|
|
11083
11246
|
isMutating: boolean;
|
|
11084
11247
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteEmailEnvelope, TError, string | readonly [`/v1/emails/${string}`], Arguments>;
|
|
@@ -11094,16 +11257,16 @@ declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: strin
|
|
|
11094
11257
|
declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
|
|
11095
11258
|
declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<ListEmailThreadsEnvelope>;
|
|
11096
11259
|
declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
|
|
11097
|
-
type ListEmailThreadsQueryResult = NonNullable<Awaited$
|
|
11260
|
+
type ListEmailThreadsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listEmailThreads>>>;
|
|
11098
11261
|
/**
|
|
11099
11262
|
* @summary List email threads
|
|
11100
11263
|
*/
|
|
11101
11264
|
declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
|
|
11102
|
-
swr?: SWRConfiguration<Awaited$
|
|
11265
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listEmailThreads>>, TError> & {
|
|
11103
11266
|
swrKey?: Key;
|
|
11104
11267
|
enabled?: boolean;
|
|
11105
11268
|
};
|
|
11106
|
-
request?: SecondParameter$
|
|
11269
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11107
11270
|
}) => {
|
|
11108
11271
|
data: ListEmailThreadsEnvelope | undefined;
|
|
11109
11272
|
error: TError | undefined;
|
|
@@ -11122,19 +11285,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
11122
11285
|
*/
|
|
11123
11286
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
11124
11287
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<ReplyToEmailEnvelope>;
|
|
11125
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
11288
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
11126
11289
|
arg: ReplyToEmailBody;
|
|
11127
11290
|
}) => Promise<ReplyToEmailEnvelope>;
|
|
11128
11291
|
declare const getReplyToEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}/reply`];
|
|
11129
|
-
type ReplyToEmailMutationResult = NonNullable<Awaited$
|
|
11292
|
+
type ReplyToEmailMutationResult = NonNullable<Awaited$g<ReturnType<typeof replyToEmail>>>;
|
|
11130
11293
|
/**
|
|
11131
11294
|
* @summary Reply to email
|
|
11132
11295
|
*/
|
|
11133
11296
|
declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
11134
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11297
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited$g<ReturnType<typeof replyToEmail>>> & {
|
|
11135
11298
|
swrKey?: string;
|
|
11136
11299
|
};
|
|
11137
|
-
request?: SecondParameter$
|
|
11300
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11138
11301
|
}) => {
|
|
11139
11302
|
isMutating: boolean;
|
|
11140
11303
|
trigger: swr_mutation.TriggerWithArgs<ReplyToEmailEnvelope, TError, string | readonly [`/v1/emails/${string}/reply`], ReplyToEmailBody>;
|
|
@@ -11151,19 +11314,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
11151
11314
|
*/
|
|
11152
11315
|
declare const getSendEmailUrl: () => string;
|
|
11153
11316
|
declare const sendEmail: (sendEmailBody: SendEmailBody, options?: RequestInit) => Promise<SendEmailEnvelope>;
|
|
11154
|
-
declare const getSendEmailMutationFetcher: (options?: SecondParameter$
|
|
11317
|
+
declare const getSendEmailMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
11155
11318
|
arg: SendEmailBody;
|
|
11156
11319
|
}) => Promise<SendEmailEnvelope>;
|
|
11157
11320
|
declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
|
|
11158
|
-
type SendEmailMutationResult = NonNullable<Awaited$
|
|
11321
|
+
type SendEmailMutationResult = NonNullable<Awaited$g<ReturnType<typeof sendEmail>>>;
|
|
11159
11322
|
/**
|
|
11160
11323
|
* @summary Send email
|
|
11161
11324
|
*/
|
|
11162
11325
|
declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11163
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11326
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited$g<ReturnType<typeof sendEmail>>> & {
|
|
11164
11327
|
swrKey?: string;
|
|
11165
11328
|
};
|
|
11166
|
-
request?: SecondParameter$
|
|
11329
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
11167
11330
|
}) => {
|
|
11168
11331
|
isMutating: boolean;
|
|
11169
11332
|
trigger: swr_mutation.TriggerWithArgs<SendEmailEnvelope, TError, string | readonly ["/v1/emails/send"], SendEmailBody>;
|
|
@@ -11173,9 +11336,9 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
11173
11336
|
swrKey: string | readonly ["/v1/emails/send"];
|
|
11174
11337
|
};
|
|
11175
11338
|
|
|
11176
|
-
type AwaitedInput$
|
|
11177
|
-
type Awaited$
|
|
11178
|
-
type SecondParameter$
|
|
11339
|
+
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
11340
|
+
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
11341
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11179
11342
|
/**
|
|
11180
11343
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
11181
11344
|
|
|
@@ -11192,16 +11355,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
11192
11355
|
declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
|
|
11193
11356
|
declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ListExtractorJobsEnvelope>;
|
|
11194
11357
|
declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
|
|
11195
|
-
type ListExtractorJobsQueryResult = NonNullable<Awaited$
|
|
11358
|
+
type ListExtractorJobsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listExtractorJobs>>>;
|
|
11196
11359
|
/**
|
|
11197
11360
|
* @summary List extractor jobs
|
|
11198
11361
|
*/
|
|
11199
11362
|
declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
|
|
11200
|
-
swr?: SWRConfiguration<Awaited$
|
|
11363
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listExtractorJobs>>, TError> & {
|
|
11201
11364
|
swrKey?: Key;
|
|
11202
11365
|
enabled?: boolean;
|
|
11203
11366
|
};
|
|
11204
|
-
request?: SecondParameter$
|
|
11367
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11205
11368
|
}) => {
|
|
11206
11369
|
data: ListExtractorJobsEnvelope | undefined;
|
|
11207
11370
|
error: TError | undefined;
|
|
@@ -11218,19 +11381,19 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
11218
11381
|
*/
|
|
11219
11382
|
declare const getCreateExtractorJobUrl: () => string;
|
|
11220
11383
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<CreateExtractorJobEnvelope>;
|
|
11221
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
11384
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
11222
11385
|
arg: CreateExtractorJobBody;
|
|
11223
11386
|
}) => Promise<CreateExtractorJobEnvelope>;
|
|
11224
11387
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
11225
|
-
type CreateExtractorJobMutationResult = NonNullable<Awaited$
|
|
11388
|
+
type CreateExtractorJobMutationResult = NonNullable<Awaited$f<ReturnType<typeof createExtractorJob>>>;
|
|
11226
11389
|
/**
|
|
11227
11390
|
* @summary Create extractor job
|
|
11228
11391
|
*/
|
|
11229
11392
|
declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11230
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11393
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited$f<ReturnType<typeof createExtractorJob>>> & {
|
|
11231
11394
|
swrKey?: string;
|
|
11232
11395
|
};
|
|
11233
|
-
request?: SecondParameter$
|
|
11396
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11234
11397
|
}) => {
|
|
11235
11398
|
isMutating: boolean;
|
|
11236
11399
|
trigger: swr_mutation.TriggerWithArgs<CreateExtractorJobEnvelope, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -11246,16 +11409,16 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
11246
11409
|
declare const getGetExtractorJobUrl: (id: string) => string;
|
|
11247
11410
|
declare const getExtractorJob: (id: string, options?: RequestInit) => Promise<GetExtractorJobEnvelope>;
|
|
11248
11411
|
declare const getGetExtractorJobKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
|
|
11249
|
-
type GetExtractorJobQueryResult = NonNullable<Awaited$
|
|
11412
|
+
type GetExtractorJobQueryResult = NonNullable<Awaited$f<ReturnType<typeof getExtractorJob>>>;
|
|
11250
11413
|
/**
|
|
11251
11414
|
* @summary Get extractor job
|
|
11252
11415
|
*/
|
|
11253
11416
|
declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11254
|
-
swr?: SWRConfiguration<Awaited$
|
|
11417
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getExtractorJob>>, TError> & {
|
|
11255
11418
|
swrKey?: Key;
|
|
11256
11419
|
enabled?: boolean;
|
|
11257
11420
|
};
|
|
11258
|
-
request?: SecondParameter$
|
|
11421
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
11259
11422
|
}) => {
|
|
11260
11423
|
data: GetExtractorJobEnvelope | undefined;
|
|
11261
11424
|
error: TError | undefined;
|
|
@@ -11265,28 +11428,28 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11265
11428
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11266
11429
|
};
|
|
11267
11430
|
|
|
11268
|
-
type AwaitedInput$
|
|
11269
|
-
type Awaited$
|
|
11270
|
-
type SecondParameter$
|
|
11431
|
+
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
11432
|
+
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
11433
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11271
11434
|
/**
|
|
11272
11435
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
11273
11436
|
* @summary Create extractor
|
|
11274
11437
|
*/
|
|
11275
11438
|
declare const getCreateExtractorUrl: () => string;
|
|
11276
11439
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<CreateExtractorEnvelope>;
|
|
11277
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
11440
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
11278
11441
|
arg: CreateExtractorBody;
|
|
11279
11442
|
}) => Promise<CreateExtractorEnvelope>;
|
|
11280
11443
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
11281
|
-
type CreateExtractorMutationResult = NonNullable<Awaited$
|
|
11444
|
+
type CreateExtractorMutationResult = NonNullable<Awaited$e<ReturnType<typeof createExtractor>>>;
|
|
11282
11445
|
/**
|
|
11283
11446
|
* @summary Create extractor
|
|
11284
11447
|
*/
|
|
11285
11448
|
declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11286
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11449
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited$e<ReturnType<typeof createExtractor>>> & {
|
|
11287
11450
|
swrKey?: string;
|
|
11288
11451
|
};
|
|
11289
|
-
request?: SecondParameter$
|
|
11452
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11290
11453
|
}) => {
|
|
11291
11454
|
isMutating: boolean;
|
|
11292
11455
|
trigger: swr_mutation.TriggerWithArgs<CreateExtractorEnvelope, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -11304,16 +11467,16 @@ Filter by name using the `name` query parameter.
|
|
|
11304
11467
|
declare const getListExtractorsUrl: (params?: ListExtractorsParams) => string;
|
|
11305
11468
|
declare const listExtractors: (params?: ListExtractorsParams, options?: RequestInit) => Promise<ListExtractorsEnvelope>;
|
|
11306
11469
|
declare const getListExtractorsKey: (params?: ListExtractorsParams) => readonly ["/v1/extractors", ...ListExtractorsParams[]];
|
|
11307
|
-
type ListExtractorsQueryResult = NonNullable<Awaited$
|
|
11470
|
+
type ListExtractorsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listExtractors>>>;
|
|
11308
11471
|
/**
|
|
11309
11472
|
* @summary List extractors
|
|
11310
11473
|
*/
|
|
11311
11474
|
declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorsParams, options?: {
|
|
11312
|
-
swr?: SWRConfiguration<Awaited$
|
|
11475
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listExtractors>>, TError> & {
|
|
11313
11476
|
swrKey?: Key;
|
|
11314
11477
|
enabled?: boolean;
|
|
11315
11478
|
};
|
|
11316
|
-
request?: SecondParameter$
|
|
11479
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11317
11480
|
}) => {
|
|
11318
11481
|
data: ListExtractorsEnvelope | undefined;
|
|
11319
11482
|
error: TError | undefined;
|
|
@@ -11329,16 +11492,16 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
11329
11492
|
declare const getGetExtractorUrl: (id: string) => string;
|
|
11330
11493
|
declare const getExtractor: (id: string, options?: RequestInit) => Promise<GetExtractorEnvelope>;
|
|
11331
11494
|
declare const getGetExtractorKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11332
|
-
type GetExtractorQueryResult = NonNullable<Awaited$
|
|
11495
|
+
type GetExtractorQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtractor>>>;
|
|
11333
11496
|
/**
|
|
11334
11497
|
* @summary Get extractor
|
|
11335
11498
|
*/
|
|
11336
11499
|
declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11337
|
-
swr?: SWRConfiguration<Awaited$
|
|
11500
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtractor>>, TError> & {
|
|
11338
11501
|
swrKey?: Key;
|
|
11339
11502
|
enabled?: boolean;
|
|
11340
11503
|
};
|
|
11341
|
-
request?: SecondParameter$
|
|
11504
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11342
11505
|
}) => {
|
|
11343
11506
|
data: GetExtractorEnvelope | undefined;
|
|
11344
11507
|
error: TError | undefined;
|
|
@@ -11353,19 +11516,19 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
11353
11516
|
*/
|
|
11354
11517
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
11355
11518
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<UpdateExtractorEnvelope>;
|
|
11356
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
11519
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
11357
11520
|
arg: UpdateExtractorBody;
|
|
11358
11521
|
}) => Promise<UpdateExtractorEnvelope>;
|
|
11359
11522
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11360
|
-
type UpdateExtractorMutationResult = NonNullable<Awaited$
|
|
11523
|
+
type UpdateExtractorMutationResult = NonNullable<Awaited$e<ReturnType<typeof updateExtractor>>>;
|
|
11361
11524
|
/**
|
|
11362
11525
|
* @summary Update extractor
|
|
11363
11526
|
*/
|
|
11364
11527
|
declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11365
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11528
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited$e<ReturnType<typeof updateExtractor>>> & {
|
|
11366
11529
|
swrKey?: string;
|
|
11367
11530
|
};
|
|
11368
|
-
request?: SecondParameter$
|
|
11531
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11369
11532
|
}) => {
|
|
11370
11533
|
isMutating: boolean;
|
|
11371
11534
|
trigger: swr_mutation.TriggerWithArgs<UpdateExtractorEnvelope, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -11380,19 +11543,19 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11380
11543
|
*/
|
|
11381
11544
|
declare const getDeleteExtractorUrl: (id: string) => string;
|
|
11382
11545
|
declare const deleteExtractor: (id: string, options?: RequestInit) => Promise<DeleteExtractorEnvelope>;
|
|
11383
|
-
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
11546
|
+
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$e<typeof customFetch>) => (_: Key, __: {
|
|
11384
11547
|
arg: Arguments;
|
|
11385
11548
|
}) => Promise<DeleteExtractorEnvelope>;
|
|
11386
11549
|
declare const getDeleteExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
11387
|
-
type DeleteExtractorMutationResult = NonNullable<Awaited$
|
|
11550
|
+
type DeleteExtractorMutationResult = NonNullable<Awaited$e<ReturnType<typeof deleteExtractor>>>;
|
|
11388
11551
|
/**
|
|
11389
11552
|
* @summary Delete extractor
|
|
11390
11553
|
*/
|
|
11391
11554
|
declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11392
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11555
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof deleteExtractor>>, TError, Key, Arguments, Awaited$e<ReturnType<typeof deleteExtractor>>> & {
|
|
11393
11556
|
swrKey?: string;
|
|
11394
11557
|
};
|
|
11395
|
-
request?: SecondParameter$
|
|
11558
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
11396
11559
|
}) => {
|
|
11397
11560
|
isMutating: boolean;
|
|
11398
11561
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteExtractorEnvelope, TError, string | readonly [`/v1/extractors/${string}`], Arguments>;
|
|
@@ -11402,9 +11565,9 @@ declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
11402
11565
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
11403
11566
|
};
|
|
11404
11567
|
|
|
11405
|
-
type AwaitedInput$
|
|
11406
|
-
type Awaited$
|
|
11407
|
-
type SecondParameter$
|
|
11568
|
+
type AwaitedInput$d<T> = PromiseLike<T> | T;
|
|
11569
|
+
type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
|
|
11570
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11408
11571
|
/**
|
|
11409
11572
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
11410
11573
|
* @summary Get extract
|
|
@@ -11412,16 +11575,16 @@ type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
11412
11575
|
declare const getGetExtractUrl: (id: string) => string;
|
|
11413
11576
|
declare const getExtract: (id: string, options?: RequestInit) => Promise<GetExtractEnvelope>;
|
|
11414
11577
|
declare const getGetExtractKey: (id: string) => readonly [`/v1/extracts/${string}`];
|
|
11415
|
-
type GetExtractQueryResult = NonNullable<Awaited$
|
|
11578
|
+
type GetExtractQueryResult = NonNullable<Awaited$d<ReturnType<typeof getExtract>>>;
|
|
11416
11579
|
/**
|
|
11417
11580
|
* @summary Get extract
|
|
11418
11581
|
*/
|
|
11419
11582
|
declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11420
|
-
swr?: SWRConfiguration<Awaited$
|
|
11583
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof getExtract>>, TError> & {
|
|
11421
11584
|
swrKey?: Key;
|
|
11422
11585
|
enabled?: boolean;
|
|
11423
11586
|
};
|
|
11424
|
-
request?: SecondParameter$
|
|
11587
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11425
11588
|
}) => {
|
|
11426
11589
|
data: GetExtractEnvelope | undefined;
|
|
11427
11590
|
error: TError | undefined;
|
|
@@ -11437,16 +11600,16 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
11437
11600
|
declare const getGetExtractCitationsUrl: (id: string) => string;
|
|
11438
11601
|
declare const getExtractCitations: (id: string, options?: RequestInit) => Promise<GetExtractCitationsEnvelope>;
|
|
11439
11602
|
declare const getGetExtractCitationsKey: (id: string) => readonly [`/v1/extracts/${string}/citations`];
|
|
11440
|
-
type GetExtractCitationsQueryResult = NonNullable<Awaited$
|
|
11603
|
+
type GetExtractCitationsQueryResult = NonNullable<Awaited$d<ReturnType<typeof getExtractCitations>>>;
|
|
11441
11604
|
/**
|
|
11442
11605
|
* @summary Get extract citations
|
|
11443
11606
|
*/
|
|
11444
11607
|
declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
11445
|
-
swr?: SWRConfiguration<Awaited$
|
|
11608
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof getExtractCitations>>, TError> & {
|
|
11446
11609
|
swrKey?: Key;
|
|
11447
11610
|
enabled?: boolean;
|
|
11448
11611
|
};
|
|
11449
|
-
request?: SecondParameter$
|
|
11612
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11450
11613
|
}) => {
|
|
11451
11614
|
data: GetExtractCitationsEnvelope | undefined;
|
|
11452
11615
|
error: TError | undefined;
|
|
@@ -11469,16 +11632,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
11469
11632
|
declare const getListExtractsUrl: (params?: ListExtractsParams) => string;
|
|
11470
11633
|
declare const listExtracts: (params?: ListExtractsParams, options?: RequestInit) => Promise<ListExtractsEnvelope>;
|
|
11471
11634
|
declare const getListExtractsKey: (params?: ListExtractsParams) => readonly ["/v1/extracts", ...ListExtractsParams[]];
|
|
11472
|
-
type ListExtractsQueryResult = NonNullable<Awaited$
|
|
11635
|
+
type ListExtractsQueryResult = NonNullable<Awaited$d<ReturnType<typeof listExtracts>>>;
|
|
11473
11636
|
/**
|
|
11474
11637
|
* @summary List extracts
|
|
11475
11638
|
*/
|
|
11476
11639
|
declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: ListExtractsParams, options?: {
|
|
11477
|
-
swr?: SWRConfiguration<Awaited$
|
|
11640
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listExtracts>>, TError> & {
|
|
11478
11641
|
swrKey?: Key;
|
|
11479
11642
|
enabled?: boolean;
|
|
11480
11643
|
};
|
|
11481
|
-
request?: SecondParameter$
|
|
11644
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
11482
11645
|
}) => {
|
|
11483
11646
|
data: ListExtractsEnvelope | undefined;
|
|
11484
11647
|
error: TError | undefined;
|
|
@@ -11488,9 +11651,9 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
11488
11651
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11489
11652
|
};
|
|
11490
11653
|
|
|
11491
|
-
type AwaitedInput$
|
|
11492
|
-
type Awaited$
|
|
11493
|
-
type SecondParameter$
|
|
11654
|
+
type AwaitedInput$c<T> = PromiseLike<T> | T;
|
|
11655
|
+
type Awaited$c<O> = O extends AwaitedInput$c<infer T> ? T : never;
|
|
11656
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11494
11657
|
/**
|
|
11495
11658
|
* Check whether a given email username is available for creating a new inbox.
|
|
11496
11659
|
|
|
@@ -11501,16 +11664,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11501
11664
|
declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
|
|
11502
11665
|
declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<CheckInboxAvailabilityEnvelope>;
|
|
11503
11666
|
declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
|
|
11504
|
-
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$
|
|
11667
|
+
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$c<ReturnType<typeof checkInboxAvailability>>>;
|
|
11505
11668
|
/**
|
|
11506
11669
|
* @summary Check email username availability
|
|
11507
11670
|
*/
|
|
11508
11671
|
declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
|
|
11509
|
-
swr?: SWRConfiguration<Awaited$
|
|
11672
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof checkInboxAvailability>>, TError> & {
|
|
11510
11673
|
swrKey?: Key;
|
|
11511
11674
|
enabled?: boolean;
|
|
11512
11675
|
};
|
|
11513
|
-
request?: SecondParameter$
|
|
11676
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
11514
11677
|
}) => {
|
|
11515
11678
|
data: CheckInboxAvailabilityEnvelope | undefined;
|
|
11516
11679
|
error: TError | undefined;
|
|
@@ -11532,19 +11695,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11532
11695
|
*/
|
|
11533
11696
|
declare const getCreateInboxUrl: () => string;
|
|
11534
11697
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<CreateInboxEnvelope>;
|
|
11535
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
11698
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
11536
11699
|
arg: CreateInboxBody;
|
|
11537
11700
|
}) => Promise<CreateInboxEnvelope>;
|
|
11538
11701
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
11539
|
-
type CreateInboxMutationResult = NonNullable<Awaited$
|
|
11702
|
+
type CreateInboxMutationResult = NonNullable<Awaited$c<ReturnType<typeof createInbox>>>;
|
|
11540
11703
|
/**
|
|
11541
11704
|
* @summary Create inbox
|
|
11542
11705
|
*/
|
|
11543
11706
|
declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
11544
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11707
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited$c<ReturnType<typeof createInbox>>> & {
|
|
11545
11708
|
swrKey?: string;
|
|
11546
11709
|
};
|
|
11547
|
-
request?: SecondParameter$
|
|
11710
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
11548
11711
|
}) => {
|
|
11549
11712
|
isMutating: boolean;
|
|
11550
11713
|
trigger: swr_mutation.TriggerWithArgs<CreateInboxEnvelope, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -11563,16 +11726,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11563
11726
|
declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
|
|
11564
11727
|
declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<ListInboxesEnvelope>;
|
|
11565
11728
|
declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
|
|
11566
|
-
type ListInboxesQueryResult = NonNullable<Awaited$
|
|
11729
|
+
type ListInboxesQueryResult = NonNullable<Awaited$c<ReturnType<typeof listInboxes>>>;
|
|
11567
11730
|
/**
|
|
11568
11731
|
* @summary List inboxes
|
|
11569
11732
|
*/
|
|
11570
11733
|
declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
|
|
11571
|
-
swr?: SWRConfiguration<Awaited$
|
|
11734
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof listInboxes>>, TError> & {
|
|
11572
11735
|
swrKey?: Key;
|
|
11573
11736
|
enabled?: boolean;
|
|
11574
11737
|
};
|
|
11575
|
-
request?: SecondParameter$
|
|
11738
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
11576
11739
|
}) => {
|
|
11577
11740
|
data: ListInboxesEnvelope | undefined;
|
|
11578
11741
|
error: TError | undefined;
|
|
@@ -11590,19 +11753,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11590
11753
|
*/
|
|
11591
11754
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
11592
11755
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<UpdateInboxEnvelope>;
|
|
11593
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
11756
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, { arg }: {
|
|
11594
11757
|
arg: UpdateInboxBody;
|
|
11595
11758
|
}) => Promise<UpdateInboxEnvelope>;
|
|
11596
11759
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
11597
|
-
type UpdateInboxMutationResult = NonNullable<Awaited$
|
|
11760
|
+
type UpdateInboxMutationResult = NonNullable<Awaited$c<ReturnType<typeof updateInbox>>>;
|
|
11598
11761
|
/**
|
|
11599
11762
|
* @summary Update inbox
|
|
11600
11763
|
*/
|
|
11601
11764
|
declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
11602
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11765
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited$c<ReturnType<typeof updateInbox>>> & {
|
|
11603
11766
|
swrKey?: string;
|
|
11604
11767
|
};
|
|
11605
|
-
request?: SecondParameter$
|
|
11768
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
11606
11769
|
}) => {
|
|
11607
11770
|
isMutating: boolean;
|
|
11608
11771
|
trigger: swr_mutation.TriggerWithArgs<UpdateInboxEnvelope, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -11617,19 +11780,19 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
11617
11780
|
*/
|
|
11618
11781
|
declare const getDeleteInboxUrl: (inboxId: string) => string;
|
|
11619
11782
|
declare const deleteInbox: (inboxId: string, options?: RequestInit) => Promise<DeleteInboxEnvelope>;
|
|
11620
|
-
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
11783
|
+
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$c<typeof customFetch>) => (_: Key, __: {
|
|
11621
11784
|
arg: Arguments;
|
|
11622
11785
|
}) => Promise<DeleteInboxEnvelope>;
|
|
11623
11786
|
declare const getDeleteInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
11624
|
-
type DeleteInboxMutationResult = NonNullable<Awaited$
|
|
11787
|
+
type DeleteInboxMutationResult = NonNullable<Awaited$c<ReturnType<typeof deleteInbox>>>;
|
|
11625
11788
|
/**
|
|
11626
11789
|
* @summary Delete inbox
|
|
11627
11790
|
*/
|
|
11628
11791
|
declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
11629
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11792
|
+
swr?: SWRMutationConfiguration<Awaited$c<ReturnType<typeof deleteInbox>>, TError, Key, Arguments, Awaited$c<ReturnType<typeof deleteInbox>>> & {
|
|
11630
11793
|
swrKey?: string;
|
|
11631
11794
|
};
|
|
11632
|
-
request?: SecondParameter$
|
|
11795
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
11633
11796
|
}) => {
|
|
11634
11797
|
isMutating: boolean;
|
|
11635
11798
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteInboxEnvelope, TError, string | readonly [`/v1/inboxes/${string}`], Arguments>;
|
|
@@ -11639,9 +11802,9 @@ declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
11639
11802
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
11640
11803
|
};
|
|
11641
11804
|
|
|
11642
|
-
type AwaitedInput$
|
|
11643
|
-
type Awaited$
|
|
11644
|
-
type SecondParameter$
|
|
11805
|
+
type AwaitedInput$b<T> = PromiseLike<T> | T;
|
|
11806
|
+
type Awaited$b<O> = O extends AwaitedInput$b<infer T> ? T : never;
|
|
11807
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11645
11808
|
/**
|
|
11646
11809
|
* Schedule a new outbound call job for a voice agent.
|
|
11647
11810
|
|
|
@@ -11661,19 +11824,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11661
11824
|
*/
|
|
11662
11825
|
declare const getScheduleJobUrl: (voiceAgentId: string) => string;
|
|
11663
11826
|
declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<ScheduleJobEnvelope>;
|
|
11664
|
-
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
11827
|
+
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
11665
11828
|
arg: ScheduleJobBody;
|
|
11666
11829
|
}) => Promise<ScheduleJobEnvelope>;
|
|
11667
11830
|
declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
|
|
11668
|
-
type ScheduleJobMutationResult = NonNullable<Awaited$
|
|
11831
|
+
type ScheduleJobMutationResult = NonNullable<Awaited$b<ReturnType<typeof scheduleJob>>>;
|
|
11669
11832
|
/**
|
|
11670
11833
|
* @summary Schedule an outbound job
|
|
11671
11834
|
*/
|
|
11672
11835
|
declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
|
|
11673
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11836
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited$b<ReturnType<typeof scheduleJob>>> & {
|
|
11674
11837
|
swrKey?: string;
|
|
11675
11838
|
};
|
|
11676
|
-
request?: SecondParameter$
|
|
11839
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
11677
11840
|
}) => {
|
|
11678
11841
|
isMutating: boolean;
|
|
11679
11842
|
trigger: swr_mutation.TriggerWithArgs<ScheduleJobEnvelope, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
|
|
@@ -11697,16 +11860,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11697
11860
|
declare const getListJobsUrl: (params: ListJobsParams) => string;
|
|
11698
11861
|
declare const listJobs: (params: ListJobsParams, options?: RequestInit) => Promise<ListJobsEnvelope>;
|
|
11699
11862
|
declare const getListJobsKey: (params: ListJobsParams) => readonly ["/v1/voice-agents/jobs", ...ListJobsParams[]];
|
|
11700
|
-
type ListJobsQueryResult = NonNullable<Awaited$
|
|
11863
|
+
type ListJobsQueryResult = NonNullable<Awaited$b<ReturnType<typeof listJobs>>>;
|
|
11701
11864
|
/**
|
|
11702
11865
|
* @summary List outbound jobs
|
|
11703
11866
|
*/
|
|
11704
11867
|
declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsParams, options?: {
|
|
11705
|
-
swr?: SWRConfiguration<Awaited$
|
|
11868
|
+
swr?: SWRConfiguration<Awaited$b<ReturnType<typeof listJobs>>, TError> & {
|
|
11706
11869
|
swrKey?: Key;
|
|
11707
11870
|
enabled?: boolean;
|
|
11708
11871
|
};
|
|
11709
|
-
request?: SecondParameter$
|
|
11872
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
11710
11873
|
}) => {
|
|
11711
11874
|
data: ListJobsEnvelope | undefined;
|
|
11712
11875
|
error: TError | undefined;
|
|
@@ -11724,19 +11887,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
11724
11887
|
*/
|
|
11725
11888
|
declare const getCancelJobUrl: (jobId: string) => string;
|
|
11726
11889
|
declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<CancelJobEnvelope>;
|
|
11727
|
-
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$
|
|
11890
|
+
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, __: {
|
|
11728
11891
|
arg: Arguments;
|
|
11729
11892
|
}) => Promise<CancelJobEnvelope>;
|
|
11730
11893
|
declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
11731
|
-
type CancelJobMutationResult = NonNullable<Awaited$
|
|
11894
|
+
type CancelJobMutationResult = NonNullable<Awaited$b<ReturnType<typeof cancelJob>>>;
|
|
11732
11895
|
/**
|
|
11733
11896
|
* @summary Cancel an outbound job
|
|
11734
11897
|
*/
|
|
11735
11898
|
declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, options?: {
|
|
11736
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
11899
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited$b<ReturnType<typeof cancelJob>>> & {
|
|
11737
11900
|
swrKey?: string;
|
|
11738
11901
|
};
|
|
11739
|
-
request?: SecondParameter$
|
|
11902
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
11740
11903
|
}) => {
|
|
11741
11904
|
isMutating: boolean;
|
|
11742
11905
|
trigger: swr_mutation.TriggerWithOptionsArgs<CancelJobEnvelope, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
|
|
@@ -11746,6 +11909,41 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
11746
11909
|
swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
11747
11910
|
};
|
|
11748
11911
|
|
|
11912
|
+
type AwaitedInput$a<T> = PromiseLike<T> | T;
|
|
11913
|
+
type Awaited$a<O> = O extends AwaitedInput$a<infer T> ? T : never;
|
|
11914
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
11915
|
+
/**
|
|
11916
|
+
* List the organization's notifications, newest first.
|
|
11917
|
+
|
|
11918
|
+
A notification is a durable record that something happened and that somebody should know about it. Notifications are not yet addressed to individual people, so everyone in the organization sees the same feed.
|
|
11919
|
+
|
|
11920
|
+
`title` and `body` are the display text — render them as-is rather than deriving your own wording from `type`, so every surface says the same thing. `data` carries the identifiers the notification points at, so a client can link to the thing it is about; which keys are present depends on `type`.
|
|
11921
|
+
|
|
11922
|
+
Today the only `type` is `worker_issue_reported`: a worker hit a problem during a run and reported it. Its `body` is the worker's own message, and its `data` is the reporting `worker_id` and `run_id`.
|
|
11923
|
+
* @summary List notifications
|
|
11924
|
+
*/
|
|
11925
|
+
declare const getListNotificationsUrl: (params?: ListNotificationsParams) => string;
|
|
11926
|
+
declare const listNotifications: (params?: ListNotificationsParams, options?: RequestInit) => Promise<ListNotificationsEnvelope>;
|
|
11927
|
+
declare const getListNotificationsKey: (params?: ListNotificationsParams) => readonly ["/v1/notifications", ...ListNotificationsParams[]];
|
|
11928
|
+
type ListNotificationsQueryResult = NonNullable<Awaited$a<ReturnType<typeof listNotifications>>>;
|
|
11929
|
+
/**
|
|
11930
|
+
* @summary List notifications
|
|
11931
|
+
*/
|
|
11932
|
+
declare const useListNotifications: <TError = ErrorType<ErrorResponse>>(params?: ListNotificationsParams, options?: {
|
|
11933
|
+
swr?: SWRConfiguration<Awaited$a<ReturnType<typeof listNotifications>>, TError> & {
|
|
11934
|
+
swrKey?: Key;
|
|
11935
|
+
enabled?: boolean;
|
|
11936
|
+
};
|
|
11937
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
11938
|
+
}) => {
|
|
11939
|
+
data: ListNotificationsEnvelope | undefined;
|
|
11940
|
+
error: TError | undefined;
|
|
11941
|
+
mutate: swr.KeyedMutator<ListNotificationsEnvelope>;
|
|
11942
|
+
isValidating: boolean;
|
|
11943
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
11944
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
11945
|
+
};
|
|
11946
|
+
|
|
11749
11947
|
type AwaitedInput$9<T> = PromiseLike<T> | T;
|
|
11750
11948
|
type Awaited$9<O> = O extends AwaitedInput$9<infer T> ? T : never;
|
|
11751
11949
|
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -13494,6 +13692,37 @@ declare const useWorkerExecuteTool: <TError = ErrorType<ErrorResponse>>(id: stri
|
|
|
13494
13692
|
data: WorkerExecuteToolEnvelope | undefined;
|
|
13495
13693
|
swrKey: string | readonly [`/worker/v1/tools/${string}/execute`];
|
|
13496
13694
|
};
|
|
13695
|
+
/**
|
|
13696
|
+
* Report a problem to the people who run this organization.
|
|
13697
|
+
|
|
13698
|
+
Use this for something a human has to resolve — a login that no longer works, a document you cannot read, a system that will not let you in, instructions that contradict what you found. The report goes to the organization's notifications; nobody sees it while the run is happening, so it does not unblock you now. Carry on with what you can still do, or stop, and say in your final report that you raised it.
|
|
13699
|
+
|
|
13700
|
+
Do not use it for progress updates or for anything you can work around yourself.
|
|
13701
|
+
* @summary Notify an admin
|
|
13702
|
+
*/
|
|
13703
|
+
declare const getNotifyAdminUrl: () => string;
|
|
13704
|
+
declare const notifyAdmin: (notifyAdminBody: NotifyAdminBody, options?: RequestInit) => Promise<NotifyAdminEnvelope>;
|
|
13705
|
+
declare const getNotifyAdminMutationFetcher: (options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
|
|
13706
|
+
arg: NotifyAdminBody;
|
|
13707
|
+
}) => Promise<NotifyAdminEnvelope>;
|
|
13708
|
+
declare const getNotifyAdminMutationKey: () => readonly ["/worker/v1/notifications"];
|
|
13709
|
+
type NotifyAdminMutationResult = NonNullable<Awaited$1<ReturnType<typeof notifyAdmin>>>;
|
|
13710
|
+
/**
|
|
13711
|
+
* @summary Notify an admin
|
|
13712
|
+
*/
|
|
13713
|
+
declare const useNotifyAdmin: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
13714
|
+
swr?: SWRMutationConfiguration<Awaited$1<ReturnType<typeof notifyAdmin>>, TError, Key, NotifyAdminBody, Awaited$1<ReturnType<typeof notifyAdmin>>> & {
|
|
13715
|
+
swrKey?: string;
|
|
13716
|
+
};
|
|
13717
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
13718
|
+
}) => {
|
|
13719
|
+
isMutating: boolean;
|
|
13720
|
+
trigger: swr_mutation.TriggerWithArgs<NotifyAdminEnvelope, TError, string | readonly ["/worker/v1/notifications"], NotifyAdminBody>;
|
|
13721
|
+
reset: () => void;
|
|
13722
|
+
error: TError | undefined;
|
|
13723
|
+
data: NotifyAdminEnvelope | undefined;
|
|
13724
|
+
swrKey: string | readonly ["/worker/v1/notifications"];
|
|
13725
|
+
};
|
|
13497
13726
|
|
|
13498
13727
|
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
13499
13728
|
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
@@ -13838,4 +14067,4 @@ declare const useGetWorkerVersionChangeSummary: <TError = ErrorType<ErrorRespons
|
|
|
13838
14067
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
13839
14068
|
};
|
|
13840
14069
|
|
|
13841
|
-
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksEnvelope, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentEnvelope, 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, CallDetailEnvironment, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, CallEnvironment, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobEnvelope, type CancelJobMutationResult, type CancelWorkerRunEnvelope, type CancelWorkerRunMutationResult, type CaseDetail, type CaseLink, CaseLinkEntityType, type CaseLinkList, type CaseList, type CaseSearchResult, type CaseSummary, type ChatAgent, type ChatAgentCreated, type ChatAgentDetail, type ChatAgentList, type ChatAgentPrompt, type ChatAgentPromptUpdated, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, type CheckInboxAvailabilityEnvelope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookEnvelope, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyEnvelope, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactEnvelope, type CreateArtifactMutationResult, type CreateCallFeedbackEnvelope, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseEnvelope, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentEnvelope, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatEnvelope, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailEnvelope, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorEnvelope, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobEnvelope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookEnvelope, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxEnvelope, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookEnvelope, type CreateInboxWebhookMutationResult, type CreateScheduleBody, CreateScheduleBodyEnvironmentsItem, type CreateScheduleEnvelope, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretEnvelope, type CreateSecretMutationResult, type CreateToolBody, type CreateToolEnvelope, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentEnvelope, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerEnvelope, type CreateWorkerMutationResult, type CreateWorkerRunBody, CreateWorkerRunBodyEnvironment, type CreateWorkerRunBodyScope, type CreateWorkerRunEnvelope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookEnvelope, type CreateWorkerWebhookMutationResult, type DeleteArtifactEnvelope, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackEnvelope, type DeleteCallFeedbackMutationResult, type DeleteChatAgentEnvelope, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailEnvelope, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorEnvelope, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxEnvelope, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteScheduleEnvelope, type DeleteScheduleMutationResult, type DeleteScheduleResponse, type DeleteSecretEnvelope, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolEnvelope, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentEnvelope, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteVoiceAgentEnvelope, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookEnvelope, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerEnvelope, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Dispatch, DispatchEnvironment, type DispatchList, DispatchStatus, type DispatchTarget, DispatchTargetType, type DispatchTrigger, DispatchTriggerType, type Email, type 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 ExecuteCodeEnvelope, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractSummary, type ExtractSummaryProcessorScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetAnalyticsTimeSeriesEnvelope, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactEnvelope, type GetArtifactMetadataKeysEnvelope, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryEnvelope, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlEnvelope, type GetArtifactUploadUrlEnvelopeData, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsEnvelope, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEnvelope, type GetCallEvaluationEnvelope, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseEnvelope, type GetCaseQueryResult, type GetChatAgentEnvelope, type GetChatAgentPromptEnvelope, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatEnvelope, type GetChatQueryResult, type GetEmailEnvelope, type GetEmailQueryResult, type GetExtractCitationsEnvelope, type GetExtractCitationsEnvelopeData, type GetExtractCitationsEnvelopeDataChunks, type GetExtractCitationsEnvelopeDataChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractEnvelope, type GetExtractQueryResult, type GetExtractorEnvelope, type GetExtractorJobEnvelope, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlEnvelope, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileEnvelope, type GetProfileQueryResult, type GetPublicChatAgentEnvelope, type GetPublicChatAgentQueryResult, type GetScheduleEnvelope, type GetScheduleQueryResult, type GetSecretEnvelope, type GetSecretQueryResult, type GetSessionTokenBody, type GetSessionTokenEnvelope, type GetSessionTokenEnvelopeData, type GetSessionTokenMutationResult, type GetToolEnvelope, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentEnvelope, type GetVoiceAgentPlaceholdersEnvelope, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptEnvelope, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryEnvelope, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionEnvelope, type GetVoiceAgentVersionQueryResult, type GetWebhookEnvelope, type GetWebhookQueryResult, type GetWorkerEnvelope, type GetWorkerPromptEnvelope, type GetWorkerPromptParams, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunEnvelope, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type GetWorkerVersionChangeSummaryEnvelope, type GetWorkerVersionChangeSummaryQueryResult, type GetWorkerVersionEnvelope, type GetWorkerVersionQueryResult, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberEnvelope, type InviteTeamMemberMutationResult, type ListAgentWebhooksEnvelope, type ListAgentWebhooksQueryResult, type ListApiKeysEnvelope, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsEnvelope, type ListArtifactsEnvelopeMeta, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, ListArtifactsStatus, type ListCallFeedbackEnvelope, type ListCallFeedbackEnvelopeMeta, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsEnvelope, type ListCallsEnvelopeMeta, ListCallsEnvironment, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksEnvelope, type ListCaseLinksEnvelopeMeta, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesEnvelope, type ListCasesEnvelopeMeta, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsEnvelope, type ListChatAgentsEnvelopeMeta, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesEnvelope, type ListChatMessagesEnvelopeMeta, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsEnvelope, type ListChatsEnvelopeMeta, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListDispatchesEnvelope, type ListDispatchesEnvelopeMeta, type ListDispatchesParams, type ListDispatchesQueryResult, ListDispatchesSortBy, ListDispatchesSortOrder, ListDispatchesTriggerType, type ListEmailThreadsEnvelope, type ListEmailThreadsEnvelopeMeta, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsEnvelope, type ListEmailsEnvelopeMeta, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsEnvelope, type ListExtractorJobsEnvelopeMeta, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsEnvelope, type ListExtractorsEnvelopeMeta, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsEnvelope, type ListExtractsEnvelopeMeta, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksEnvelope, type ListInboxWebhooksQueryResult, type ListInboxesEnvelope, type ListInboxesEnvelopeMeta, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsEnvelope, type ListJobsEnvelopeMeta, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListSchedulesEnvelope, type ListSchedulesEnvelopeMeta, ListSchedulesEnvironment, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesRuleType, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsEnvelope, type ListSecretsEnvelopeMeta, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsEnvelope, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersEnvelope, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsEnvelope, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsEnvelope, type ListVoiceAgentVersionsEnvelopeMeta, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsEnvelope, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesEnvelope, type ListWebhookDeliveriesEnvelopeMeta, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksEnvelope, type ListWebhooksQueryResult, type ListWorkerModelsEnvelope, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesEnvelope, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsEnvelope, type ListWorkerRunsEnvelopeMeta, ListWorkerRunsEnvironment, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerVersionsEnvelope, type ListWorkerVersionsEnvelopeMeta, type ListWorkerVersionsParams, type ListWorkerVersionsQueryResult, ListWorkerVersionsSortBy, ListWorkerVersionsSortOrder, type ListWorkerWebhooksEnvelope, type ListWorkerWebhooksQueryResult, type ListWorkersEnvelope, type ListWorkersEnvelopeMeta, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunchEnvelope, type PartnerLaunchEnvelopeData, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageEnvelope, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionEnvelope, type PromoteVoiceAgentVersionMutationResult, type PromoteWorkerVersionBody, type PromoteWorkerVersionEnvelope, type PromoteWorkerVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PromotedWorkerVersion, type PublicChatAgent, type RecurrencePattern, type RecurrencePatternOutput, type RefreshTokenBody, type RefreshTokenEnvelope, type RefreshTokenMutationResult, type RemoveCaseLinkEnvelope, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailEnvelope, type ReplyToEmailMutationResult, type RequestPasswordResetBody, type RequestPasswordResetEnvelope, type RequestPasswordResetMutationResult, type RequestPasswordResetResponse, type ResendTeamInvitationEnvelope, type ResendTeamInvitationMutationResult, type ResetPasswordBody, type ResetPasswordEnvelope, type ResetPasswordMutationResult, type ResetPasswordResponse, type RevokeApiKeyEnvelope, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type Schedule, type ScheduleAction, type ScheduleActionOutput, ScheduleEnvironmentsItem, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobEnvelope, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesEnvelope, type SearchCasesEnvelopeMeta, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailEnvelope, type SendEmailMutationResult, type SignInBody, type SignInEnvelope, type SignInMutationResult, type SignUpBody, type SignUpEnvelope, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookEnvelope, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyEnvelope, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataEnvelope, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsEnvelope, type UpdateCallControlsMutationResult, type UpdateChatAgentEnvelope, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptEnvelope, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorEnvelope, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxEnvelope, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleEnvelope, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateScheduleBody, UpdateScheduleBodyEnvironmentsItem, type UpdateScheduleEnvelope, type UpdateScheduleMutationResult, type UpdateSecretBody, type UpdateSecretEnvelope, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolEnvelope, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentBodyNoiseCancellation, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentEnvelope, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsEnvelope, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptEnvelope, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerEnvelope, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsEnvelope, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptEnvelope, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeEnvelope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileEnvelope, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, VoiceAgentVersionActiveEnvironmentsItem, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailActiveEnvironmentsItem, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type VoiceAgentWithTestPhoneNumber, VoiceAgentWithTestPhoneNumberBackgroundSounds, VoiceAgentWithTestPhoneNumberDirection, VoiceAgentWithTestPhoneNumberLanguage, VoiceAgentWithTestPhoneNumberLlmModel, VoiceAgentWithTestPhoneNumberNoiseCancellation, VoiceAgentWithTestPhoneNumberSttModel, VoiceAgentWithTestPhoneNumberTtsModel, VoiceAgentWithTestPhoneNumberTtsProvider, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, WorkerEnvironment, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolEnvelope, type WorkerExecuteToolMutationResult, type WorkerGetToolEnvelope, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsEnvelope, type WorkerListToolsQueryResult, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, WorkerPermission, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, WorkerRunCreatedEnvironment, type WorkerRunCreatedScope, WorkerRunCreatedStatus, WorkerRunEnvironment, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, WorkerRunStatus, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerVersion, type WorkerVersionChangeSummary, type WorkerVersionDetail, type WorkerVersionDetailSchema, type WorkerVersionList, type WorkerVersions, 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, getGetWorkerVersionChangeSummaryKey, getGetWorkerVersionChangeSummaryUrl, getGetWorkerVersionKey, getGetWorkerVersionUrl, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListDispatchesKey, getListDispatchesUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerVersionsKey, getListWorkerVersionsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPromoteWorkerVersionMutationFetcher, getPromoteWorkerVersionMutationKey, getPromoteWorkerVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRequestPasswordResetMutationFetcher, getRequestPasswordResetMutationKey, getRequestPasswordResetUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, getResetPasswordMutationFetcher, getResetPasswordMutationKey, getResetPasswordUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getRevokeTeamInvitationMutationFetcher, getRevokeTeamInvitationMutationKey, getRevokeTeamInvitationUrl, getSchedule, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSearchCasesKey, getSearchCasesUrl, getSecret, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentPromptMutationFetcher, getUpdateChatAgentPromptMutationKey, getUpdateChatAgentPromptUrl, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateScheduleMutationFetcher, getUpdateScheduleMutationKey, getUpdateScheduleUrl, getUpdateSecretMutationFetcher, getUpdateSecretMutationKey, getUpdateSecretUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, 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, getWorkerVersion, getWorkerVersionChangeSummary, 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, listWorkerVersions, listWorkerWebhooks, listWorkers, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, promoteWorkerVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, requestPasswordReset, resendTeamInvitation, resetPassword, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSchedule, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, 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, useGetWorkerVersion, useGetWorkerVersionChangeSummary, 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, useListWorkerVersions, useListWorkerWebhooks, useListWorkers, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, usePromoteWorkerVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useRequestPasswordReset, useResendTeamInvitation, useResetPassword, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|
|
14070
|
+
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksEnvelope, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentEnvelope, 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, CallDetailEnvironment, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, CallEnvironment, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobEnvelope, type CancelJobMutationResult, type CancelWorkerRunEnvelope, type CancelWorkerRunMutationResult, type CaseDetail, type CaseLink, CaseLinkEntityType, type CaseLinkList, type CaseList, type CaseSearchResult, type CaseSummary, type ChatAgent, type ChatAgentCreated, type ChatAgentDetail, type ChatAgentList, type ChatAgentPrompt, type ChatAgentPromptUpdated, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, type CheckInboxAvailabilityEnvelope, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookEnvelope, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyEnvelope, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactEnvelope, type CreateArtifactMutationResult, type CreateCallFeedbackEnvelope, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseEnvelope, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentEnvelope, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatEnvelope, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailEnvelope, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorEnvelope, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobEnvelope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookEnvelope, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxEnvelope, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookEnvelope, type CreateInboxWebhookMutationResult, type CreateScheduleBody, CreateScheduleBodyEnvironmentsItem, type CreateScheduleEnvelope, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretEnvelope, type CreateSecretMutationResult, type CreateToolBody, type CreateToolEnvelope, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentEnvelope, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerEnvelope, type CreateWorkerMutationResult, type CreateWorkerRunBody, CreateWorkerRunBodyEnvironment, type CreateWorkerRunBodyScope, type CreateWorkerRunEnvelope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookEnvelope, type CreateWorkerWebhookMutationResult, type DeleteArtifactEnvelope, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackEnvelope, type DeleteCallFeedbackMutationResult, type DeleteChatAgentEnvelope, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailEnvelope, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorEnvelope, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxEnvelope, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteScheduleEnvelope, type DeleteScheduleMutationResult, type DeleteScheduleResponse, type DeleteSecretEnvelope, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolEnvelope, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentEnvelope, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteVoiceAgentEnvelope, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookEnvelope, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerEnvelope, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Dispatch, DispatchEnvironment, type DispatchList, DispatchStatus, type DispatchTarget, DispatchTargetType, type DispatchTrigger, DispatchTriggerType, type Email, type 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 ExecuteCodeEnvelope, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractSummary, type ExtractSummaryProcessorScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetAnalyticsTimeSeriesEnvelope, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactEnvelope, type GetArtifactMetadataKeysEnvelope, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryEnvelope, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlEnvelope, type GetArtifactUploadUrlEnvelopeData, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsEnvelope, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEnvelope, type GetCallEvaluationEnvelope, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseEnvelope, type GetCaseQueryResult, type GetChatAgentEnvelope, type GetChatAgentPromptEnvelope, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatEnvelope, type GetChatQueryResult, type GetEmailEnvelope, type GetEmailQueryResult, type GetExtractCitationsEnvelope, type GetExtractCitationsEnvelopeData, type GetExtractCitationsEnvelopeDataChunks, type GetExtractCitationsEnvelopeDataChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractEnvelope, type GetExtractQueryResult, type GetExtractorEnvelope, type GetExtractorJobEnvelope, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlEnvelope, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileEnvelope, type GetProfileQueryResult, type GetPublicChatAgentEnvelope, type GetPublicChatAgentQueryResult, type GetScheduleEnvelope, type GetScheduleQueryResult, type GetSecretEnvelope, type GetSecretQueryResult, type GetSessionTokenBody, type GetSessionTokenEnvelope, type GetSessionTokenEnvelopeData, type GetSessionTokenMutationResult, type GetToolEnvelope, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentEnvelope, type GetVoiceAgentPlaceholdersEnvelope, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptEnvelope, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryEnvelope, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionEnvelope, type GetVoiceAgentVersionQueryResult, type GetWebhookEnvelope, type GetWebhookQueryResult, type GetWorkerEnvelope, type GetWorkerPromptEnvelope, type GetWorkerPromptParams, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunEnvelope, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type GetWorkerVersionChangeSummaryEnvelope, type GetWorkerVersionChangeSummaryQueryResult, type GetWorkerVersionEnvelope, type GetWorkerVersionQueryResult, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberEnvelope, type InviteTeamMemberMutationResult, type ListAgentWebhooksEnvelope, type ListAgentWebhooksQueryResult, type ListApiKeysEnvelope, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsEnvelope, type ListArtifactsEnvelopeMeta, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, ListArtifactsStatus, type ListCallFeedbackEnvelope, type ListCallFeedbackEnvelopeMeta, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsEnvelope, type ListCallsEnvelopeMeta, ListCallsEnvironment, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksEnvelope, type ListCaseLinksEnvelopeMeta, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesEnvelope, type ListCasesEnvelopeMeta, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsEnvelope, type ListChatAgentsEnvelopeMeta, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesEnvelope, type ListChatMessagesEnvelopeMeta, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsEnvelope, type ListChatsEnvelopeMeta, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListDispatchesEnvelope, type ListDispatchesEnvelopeMeta, type ListDispatchesParams, type ListDispatchesQueryResult, ListDispatchesSortBy, ListDispatchesSortOrder, ListDispatchesTriggerType, type ListEmailThreadsEnvelope, type ListEmailThreadsEnvelopeMeta, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsEnvelope, type ListEmailsEnvelopeMeta, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsEnvelope, type ListExtractorJobsEnvelopeMeta, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsEnvelope, type ListExtractorsEnvelopeMeta, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsEnvelope, type ListExtractsEnvelopeMeta, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksEnvelope, type ListInboxWebhooksQueryResult, type ListInboxesEnvelope, type ListInboxesEnvelopeMeta, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsEnvelope, type ListJobsEnvelopeMeta, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListNotificationsEnvelope, type ListNotificationsEnvelopeMeta, type ListNotificationsParams, type ListNotificationsQueryResult, ListNotificationsSortBy, ListNotificationsSortOrder, type ListSchedulesEnvelope, type ListSchedulesEnvelopeMeta, ListSchedulesEnvironment, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesRuleType, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsEnvelope, type ListSecretsEnvelopeMeta, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsEnvelope, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersEnvelope, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsEnvelope, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsEnvelope, type ListVoiceAgentVersionsEnvelopeMeta, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsEnvelope, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesEnvelope, type ListWebhookDeliveriesEnvelopeMeta, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksEnvelope, type ListWebhooksQueryResult, type ListWorkerModelsEnvelope, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesEnvelope, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsEnvelope, type ListWorkerRunsEnvelopeMeta, ListWorkerRunsEnvironment, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerVersionsEnvelope, type ListWorkerVersionsEnvelopeMeta, type ListWorkerVersionsParams, type ListWorkerVersionsQueryResult, ListWorkerVersionsSortBy, ListWorkerVersionsSortOrder, type ListWorkerWebhooksEnvelope, type ListWorkerWebhooksQueryResult, type ListWorkersEnvelope, type ListWorkersEnvelopeMeta, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type Notification, type NotificationData, type NotificationList, NotificationType, type NotifyAdminBody, type NotifyAdminEnvelope, type NotifyAdminMutationResult, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunchEnvelope, type PartnerLaunchEnvelopeData, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageEnvelope, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionEnvelope, type PromoteVoiceAgentVersionMutationResult, type PromoteWorkerVersionBody, type PromoteWorkerVersionEnvelope, type PromoteWorkerVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PromotedWorkerVersion, type PublicChatAgent, type RecurrencePattern, type RecurrencePatternOutput, type RefreshTokenBody, type RefreshTokenEnvelope, type RefreshTokenMutationResult, type RemoveCaseLinkEnvelope, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailEnvelope, type ReplyToEmailMutationResult, type RequestPasswordResetBody, type RequestPasswordResetEnvelope, type RequestPasswordResetMutationResult, type RequestPasswordResetResponse, type ResendTeamInvitationEnvelope, type ResendTeamInvitationMutationResult, type ResetPasswordBody, type ResetPasswordEnvelope, type ResetPasswordMutationResult, type ResetPasswordResponse, type RevokeApiKeyEnvelope, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type Schedule, type ScheduleAction, type ScheduleActionOutput, ScheduleEnvironmentsItem, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobEnvelope, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesEnvelope, type SearchCasesEnvelopeMeta, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailEnvelope, type SendEmailMutationResult, type SignInBody, type SignInEnvelope, type SignInMutationResult, type SignUpBody, type SignUpEnvelope, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookEnvelope, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyEnvelope, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataEnvelope, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsEnvelope, type UpdateCallControlsMutationResult, type UpdateChatAgentEnvelope, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptEnvelope, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorEnvelope, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxEnvelope, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleEnvelope, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateScheduleBody, UpdateScheduleBodyEnvironmentsItem, type UpdateScheduleEnvelope, type UpdateScheduleMutationResult, type UpdateSecretBody, type UpdateSecretEnvelope, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolEnvelope, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentBodyNoiseCancellation, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentEnvelope, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsEnvelope, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptEnvelope, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerEnvelope, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsEnvelope, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptEnvelope, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeEnvelope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileEnvelope, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, VoiceAgentVersionActiveEnvironmentsItem, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailActiveEnvironmentsItem, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type VoiceAgentWithTestPhoneNumber, VoiceAgentWithTestPhoneNumberBackgroundSounds, VoiceAgentWithTestPhoneNumberDirection, VoiceAgentWithTestPhoneNumberLanguage, VoiceAgentWithTestPhoneNumberLlmModel, VoiceAgentWithTestPhoneNumberNoiseCancellation, VoiceAgentWithTestPhoneNumberSttModel, VoiceAgentWithTestPhoneNumberTtsModel, VoiceAgentWithTestPhoneNumberTtsProvider, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, WorkerEnvironment, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolEnvelope, type WorkerExecuteToolMutationResult, type WorkerGetToolEnvelope, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsEnvelope, type WorkerListToolsQueryResult, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerNotifyAdminResult, WorkerPermission, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, WorkerRunCreatedEnvironment, type WorkerRunCreatedScope, WorkerRunCreatedStatus, WorkerRunEnvironment, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, WorkerRunStatus, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerVersion, type WorkerVersionChangeSummary, type WorkerVersionDetail, type WorkerVersionDetailSchema, type WorkerVersionList, type WorkerVersions, 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, getGetWorkerVersionChangeSummaryKey, getGetWorkerVersionChangeSummaryUrl, getGetWorkerVersionKey, getGetWorkerVersionUrl, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListDispatchesKey, getListDispatchesUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListNotificationsKey, getListNotificationsUrl, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerVersionsKey, getListWorkerVersionsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getNotifyAdminMutationFetcher, getNotifyAdminMutationKey, getNotifyAdminUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPromoteWorkerVersionMutationFetcher, getPromoteWorkerVersionMutationKey, getPromoteWorkerVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRequestPasswordResetMutationFetcher, getRequestPasswordResetMutationKey, getRequestPasswordResetUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, getResetPasswordMutationFetcher, getResetPasswordMutationKey, getResetPasswordUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getRevokeTeamInvitationMutationFetcher, getRevokeTeamInvitationMutationKey, getRevokeTeamInvitationUrl, getSchedule, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSearchCasesKey, getSearchCasesUrl, getSecret, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentPromptMutationFetcher, getUpdateChatAgentPromptMutationKey, getUpdateChatAgentPromptUrl, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateScheduleMutationFetcher, getUpdateScheduleMutationKey, getUpdateScheduleUrl, getUpdateSecretMutationFetcher, getUpdateSecretMutationKey, getUpdateSecretUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, 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, getWorkerVersion, getWorkerVersionChangeSummary, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listDispatches, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listNotifications, listSchedules, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerVersions, listWorkerWebhooks, listWorkers, notifyAdmin, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, promoteWorkerVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, requestPasswordReset, resendTeamInvitation, resetPassword, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSchedule, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, 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, useGetWorkerVersion, useGetWorkerVersionChangeSummary, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListDispatches, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListNotifications, useListSchedules, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerVersions, useListWorkerWebhooks, useListWorkers, useNotifyAdmin, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, usePromoteWorkerVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useRequestPasswordReset, useResendTeamInvitation, useResetPassword, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|