@avallon-labs/sdk 17.2.0 → 17.4.0-staging.409

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 CHANGED
@@ -1610,6 +1610,7 @@ declare const EmailDirection: {
1610
1610
 
1611
1611
  interface Email {
1612
1612
  id: string;
1613
+ thread_id: string;
1613
1614
  inbox_id: string | null;
1614
1615
  /** @deprecated */
1615
1616
  email_agent_id: string | null;
@@ -1673,6 +1674,7 @@ declare const EmailDetailDirection: {
1673
1674
 
1674
1675
  interface EmailDetail {
1675
1676
  id: string;
1677
+ thread_id: string;
1676
1678
  inbox_id: string | null;
1677
1679
  /** @deprecated */
1678
1680
  email_agent_id: string | null;
@@ -1709,6 +1711,29 @@ declare const EmailReplyResultValue: {
1709
1711
  };
1710
1712
  type EmailReplyResult = typeof EmailReplyResultValue;
1711
1713
 
1714
+ /**
1715
+ * Generated by orval v8.1.0 🍺
1716
+ * Do not edit manually.
1717
+ * Avallon API
1718
+ * OpenAPI spec version: 1.0.0
1719
+ */
1720
+ interface EmailThread {
1721
+ thread_id: string;
1722
+ subject: string | null;
1723
+ last_email_at: string;
1724
+ first_sender: string;
1725
+ message_count: number;
1726
+ }
1727
+
1728
+ /**
1729
+ * Generated by orval v8.1.0 🍺
1730
+ * Do not edit manually.
1731
+ * Avallon API
1732
+ * OpenAPI spec version: 1.0.0
1733
+ */
1734
+
1735
+ type EmailThreadList = EmailThread[];
1736
+
1712
1737
  /**
1713
1738
  * Generated by orval v8.1.0 🍺
1714
1739
  * Do not edit manually.
@@ -2808,6 +2833,10 @@ declare const ListEmailsSortOrder: {
2808
2833
 
2809
2834
  type ListEmailsParams = {
2810
2835
  inbox_id?: string;
2836
+ /**
2837
+ * @minLength 1
2838
+ */
2839
+ thread_id?: string;
2811
2840
  /**
2812
2841
  * @deprecated
2813
2842
  */
@@ -2832,6 +2861,51 @@ type ListEmailsParams = {
2832
2861
  sort_order?: ListEmailsSortOrder;
2833
2862
  };
2834
2863
 
2864
+ /**
2865
+ * Generated by orval v8.1.0 🍺
2866
+ * Do not edit manually.
2867
+ * Avallon API
2868
+ * OpenAPI spec version: 1.0.0
2869
+ */
2870
+ type ListEmailThreadsSortBy = (typeof ListEmailThreadsSortBy)[keyof typeof ListEmailThreadsSortBy];
2871
+ declare const ListEmailThreadsSortBy: {
2872
+ readonly last_email_at: "last_email_at";
2873
+ };
2874
+
2875
+ /**
2876
+ * Generated by orval v8.1.0 🍺
2877
+ * Do not edit manually.
2878
+ * Avallon API
2879
+ * OpenAPI spec version: 1.0.0
2880
+ */
2881
+ type ListEmailThreadsSortOrder = (typeof ListEmailThreadsSortOrder)[keyof typeof ListEmailThreadsSortOrder];
2882
+ declare const ListEmailThreadsSortOrder: {
2883
+ readonly asc: "asc";
2884
+ readonly desc: "desc";
2885
+ };
2886
+
2887
+ /**
2888
+ * Generated by orval v8.1.0 🍺
2889
+ * Do not edit manually.
2890
+ * Avallon API
2891
+ * OpenAPI spec version: 1.0.0
2892
+ */
2893
+
2894
+ type ListEmailThreadsParams = {
2895
+ inbox_id?: string;
2896
+ /**
2897
+ * @minimum 1
2898
+ * @maximum 100
2899
+ */
2900
+ count?: number;
2901
+ /**
2902
+ * @minimum 0
2903
+ */
2904
+ offset?: number;
2905
+ sort_by?: ListEmailThreadsSortBy;
2906
+ sort_order?: ListEmailThreadsSortOrder;
2907
+ };
2908
+
2835
2909
  /**
2836
2910
  * Generated by orval v8.1.0 🍺
2837
2911
  * Do not edit manually.
@@ -3652,38 +3726,6 @@ type UpdateCallControlsBody = {
3652
3726
  transfer_phone_number?: string | null;
3653
3727
  };
3654
3728
 
3655
- /**
3656
- * Generated by orval v8.1.0 🍺
3657
- * Do not edit manually.
3658
- * Avallon API
3659
- * OpenAPI spec version: 1.0.0
3660
- */
3661
- type UpdatedExtractorJobScope = {
3662
- [key: string]: unknown;
3663
- };
3664
-
3665
- /**
3666
- * Generated by orval v8.1.0 🍺
3667
- * Do not edit manually.
3668
- * Avallon API
3669
- * OpenAPI spec version: 1.0.0
3670
- */
3671
-
3672
- interface UpdatedExtractorJob {
3673
- id: string;
3674
- extractor_id: string;
3675
- extractor_version: number;
3676
- extractor_name: string;
3677
- status: string;
3678
- scope: UpdatedExtractorJobScope;
3679
- created_at: string;
3680
- started_at: string | null;
3681
- completed_at: string | null;
3682
- processing_duration_ms: number | null;
3683
- extract_id: string | null;
3684
- error: string | null;
3685
- }
3686
-
3687
3729
  /**
3688
3730
  * Generated by orval v8.1.0 🍺
3689
3731
  * Do not edit manually.
@@ -3705,27 +3747,6 @@ type UpdateExtractorBody = {
3705
3747
  schema: UpdateExtractorBodySchema;
3706
3748
  };
3707
3749
 
3708
- /**
3709
- * Generated by orval v8.1.0 🍺
3710
- * Do not edit manually.
3711
- * Avallon API
3712
- * OpenAPI spec version: 1.0.0
3713
- */
3714
- type UpdateExtractorJobScopeBodyScope = {
3715
- [key: string]: unknown;
3716
- };
3717
-
3718
- /**
3719
- * Generated by orval v8.1.0 🍺
3720
- * Do not edit manually.
3721
- * Avallon API
3722
- * OpenAPI spec version: 1.0.0
3723
- */
3724
-
3725
- type UpdateExtractorJobScopeBody = {
3726
- scope: UpdateExtractorJobScopeBodyScope;
3727
- };
3728
-
3729
3750
  /**
3730
3751
  * Generated by orval v8.1.0 🍺
3731
3752
  * Do not edit manually.
@@ -3944,6 +3965,27 @@ interface UpdateVoiceAgentResponse {
3944
3965
  agent: VoiceAgent;
3945
3966
  }
3946
3967
 
3968
+ /**
3969
+ * Generated by orval v8.1.0 🍺
3970
+ * Do not edit manually.
3971
+ * Avallon API
3972
+ * OpenAPI spec version: 1.0.0
3973
+ */
3974
+ type UpdateWorkerRunScopeBodyScope = {
3975
+ [key: string]: unknown;
3976
+ };
3977
+
3978
+ /**
3979
+ * Generated by orval v8.1.0 🍺
3980
+ * Do not edit manually.
3981
+ * Avallon API
3982
+ * OpenAPI spec version: 1.0.0
3983
+ */
3984
+
3985
+ type UpdateWorkerRunScopeBody = {
3986
+ scope: UpdateWorkerRunScopeBodyScope;
3987
+ };
3988
+
3947
3989
  /**
3948
3990
  * Generated by orval v8.1.0 🍺
3949
3991
  * Do not edit manually.
@@ -4990,6 +5032,31 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
4990
5032
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
4991
5033
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
4992
5034
  };
5035
+ /**
5036
+ * List email threads with pagination. Each thread includes the subject of the first email, the sender of the first email, and the date of the last email.
5037
+ * @summary List email threads
5038
+ */
5039
+ declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
5040
+ declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<EmailThreadList>;
5041
+ declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
5042
+ type ListEmailThreadsQueryResult = NonNullable<Awaited<ReturnType<typeof listEmailThreads>>>;
5043
+ /**
5044
+ * @summary List email threads
5045
+ */
5046
+ declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
5047
+ swr?: SWRConfiguration<Awaited<ReturnType<typeof listEmailThreads>>, TError> & {
5048
+ swrKey?: Key;
5049
+ enabled?: boolean;
5050
+ };
5051
+ request?: SecondParameter$b<typeof customFetch>;
5052
+ }) => {
5053
+ data: EmailThreadList | undefined;
5054
+ error: TError | undefined;
5055
+ mutate: swr.KeyedMutator<EmailThreadList>;
5056
+ isValidating: boolean;
5057
+ isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5058
+ swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5059
+ };
4993
5060
  /**
4994
5061
  * Reply to an existing email thread via Nylas. The reply is sent to the original sender.
4995
5062
  * @summary Reply to email
@@ -5113,37 +5180,6 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
5113
5180
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
5114
5181
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
5115
5182
  };
5116
- /**
5117
- * Merge-update scope on an existing extractor job. Provided keys are added or overwritten; other existing keys are preserved.
5118
-
5119
- **Deprecated:** Use `PATCH /v1/worker-runs/{id}/scope` instead.
5120
- * @deprecated
5121
- * @summary Update extractor job scope (deprecated)
5122
- */
5123
- declare const getUpdateExtractorJobScopeUrl: (id: string) => string;
5124
- declare const updateExtractorJobScope: (id: string, updateExtractorJobScopeBody: UpdateExtractorJobScopeBody, options?: RequestInit) => Promise<UpdatedExtractorJob>;
5125
- declare const getUpdateExtractorJobScopeMutationFetcher: (id: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
5126
- arg: UpdateExtractorJobScopeBody;
5127
- }) => Promise<UpdatedExtractorJob>;
5128
- declare const getUpdateExtractorJobScopeMutationKey: (id: string) => readonly [`/v1/extractor-jobs/${string}/scope`];
5129
- type UpdateExtractorJobScopeMutationResult = NonNullable<Awaited<ReturnType<typeof updateExtractorJobScope>>>;
5130
- /**
5131
- * @deprecated
5132
- * @summary Update extractor job scope (deprecated)
5133
- */
5134
- declare const useUpdateExtractorJobScope: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
5135
- swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateExtractorJobScope>>, TError, Key, UpdateExtractorJobScopeBody, Awaited<ReturnType<typeof updateExtractorJobScope>>> & {
5136
- swrKey?: string;
5137
- };
5138
- request?: SecondParameter$a<typeof customFetch>;
5139
- }) => {
5140
- isMutating: boolean;
5141
- trigger: swr_mutation.TriggerWithArgs<UpdatedExtractorJob, TError, string | readonly [`/v1/extractor-jobs/${string}/scope`], UpdateExtractorJobScopeBody>;
5142
- reset: () => void;
5143
- data: UpdatedExtractorJob | undefined;
5144
- error: TError | undefined;
5145
- swrKey: string | readonly [`/v1/extractor-jobs/${string}/scope`];
5146
- };
5147
5183
 
5148
5184
  type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
5149
5185
  /**
@@ -6444,6 +6480,33 @@ declare const useListWorkerRunMessages: <TError = ErrorType<ErrorResponse>>(work
6444
6480
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
6445
6481
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
6446
6482
  };
6483
+ /**
6484
+ * Merge-update scope on an existing worker run. Provided keys are added or overwritten; other existing keys are preserved.
6485
+ * @summary Update worker run scope
6486
+ */
6487
+ declare const getUpdateWorkerRunScopeUrl: (workerRunId: string) => string;
6488
+ declare const updateWorkerRunScope: (workerRunId: string, updateWorkerRunScopeBody: UpdateWorkerRunScopeBody, options?: RequestInit) => Promise<WorkerRun>;
6489
+ declare const getUpdateWorkerRunScopeMutationFetcher: (workerRunId: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
6490
+ arg: UpdateWorkerRunScopeBody;
6491
+ }) => Promise<WorkerRun>;
6492
+ declare const getUpdateWorkerRunScopeMutationKey: (workerRunId: string) => readonly [`/v1/worker-runs/${string}/scope`];
6493
+ type UpdateWorkerRunScopeMutationResult = NonNullable<Awaited<ReturnType<typeof updateWorkerRunScope>>>;
6494
+ /**
6495
+ * @summary Update worker run scope
6496
+ */
6497
+ declare const useUpdateWorkerRunScope: <TError = ErrorType<ErrorResponse>>(workerRunId: string, options?: {
6498
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof updateWorkerRunScope>>, TError, Key, UpdateWorkerRunScopeBody, Awaited<ReturnType<typeof updateWorkerRunScope>>> & {
6499
+ swrKey?: string;
6500
+ };
6501
+ request?: SecondParameter$1<typeof customFetch>;
6502
+ }) => {
6503
+ isMutating: boolean;
6504
+ trigger: swr_mutation.TriggerWithArgs<WorkerRun, TError, string | readonly [`/v1/worker-runs/${string}/scope`], UpdateWorkerRunScopeBody>;
6505
+ reset: () => void;
6506
+ data: WorkerRun | undefined;
6507
+ error: TError | undefined;
6508
+ swrKey: string | readonly [`/v1/worker-runs/${string}/scope`];
6509
+ };
6447
6510
 
6448
6511
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
6449
6512
  /**
@@ -6526,4 +6589,4 @@ declare const useGetWorker: <TError = ErrorType<ErrorResponse>>(workerId: string
6526
6589
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
6527
6590
  };
6528
6591
 
6529
- export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, type ApiKeyList, 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 AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractScope, type ExtractSummary, type ExtractSummaryProcessorScope, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type ReplyToEmailBody, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentResponse, type UpdatedExtractorJob, type UpdatedExtractorJobScope, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type WorkerCreated, type WorkerCreatedSchema, type WorkerList, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorJobScopeMutationFetcher, getUpdateExtractorJobScopeMutationKey, getUpdateExtractorJobScopeUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, replyToEmail, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgent, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUploadFile };
6592
+ export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type ApiKey, type ApiKeyCreated, type ApiKeyList, 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 AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type ClaimCreated, type ClaimDetail, type ClaimDetailArtifactsItem, type ClaimDetailClaim, type ClaimDetailExtractorJob, type ClaimDetailSourcesItem, type ClaimList, type ClaimListClaimsItem, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailThread, type EmailThreadList, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractScope, type ExtractSummary, type ExtractSummaryProcessorScope, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetWebhookQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, type ListClaimsParams, type ListClaimsQueryResult, ListClaimsSortBy, ListClaimsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, type ReplyToEmailBody, type ReplyToEmailMutationResult, type RevokeApiKeyMutationResult, type ScheduleJobBody, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, type VoiceAgentPrompt, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentWebhookList, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type WorkerCreated, type WorkerCreatedSchema, type WorkerList, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, replyToEmail, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateInbox, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateInbox, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateWorkerRunScope, useUploadFile };
package/dist/index.js CHANGED
@@ -952,6 +952,44 @@ var useGetEmail = (emailId, options) => {
952
952
  ...query
953
953
  };
954
954
  };
955
+ var getListEmailThreadsUrl = (params) => {
956
+ const normalizedParams = new URLSearchParams();
957
+ Object.entries(params || {}).forEach(([key, value]) => {
958
+ if (value !== void 0) {
959
+ if (typeof value === "object" && value !== null && !Array.isArray(value)) {
960
+ for (const [sk, sv] of Object.entries(value)) {
961
+ if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
962
+ }
963
+ } else {
964
+ normalizedParams.append(key, value === null ? "null" : String(value));
965
+ }
966
+ }
967
+ });
968
+ const stringifiedParams = normalizedParams.toString();
969
+ return stringifiedParams.length > 0 ? `/v1/emails/threads?${stringifiedParams}` : `/v1/emails/threads`;
970
+ };
971
+ var listEmailThreads = async (params, options) => {
972
+ return customFetch(getListEmailThreadsUrl(params), {
973
+ ...options,
974
+ method: "GET"
975
+ });
976
+ };
977
+ var getListEmailThreadsKey = (params) => [`/v1/emails/threads`, ...params ? [params] : []];
978
+ var useListEmailThreads = (params, options) => {
979
+ const { swr: swrOptions, request: requestOptions } = options ?? {};
980
+ const isEnabled = swrOptions?.enabled !== false;
981
+ const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListEmailThreadsKey(params) : null);
982
+ const swrFn = () => listEmailThreads(params, requestOptions);
983
+ const query = useSwr16(
984
+ swrKey,
985
+ swrFn,
986
+ swrOptions
987
+ );
988
+ return {
989
+ swrKey,
990
+ ...query
991
+ };
992
+ };
955
993
  var getReplyToEmailUrl = (emailId) => {
956
994
  return `/v1/emails/${emailId}/reply`;
957
995
  };
@@ -1069,33 +1107,6 @@ var useGetExtractorJob = (id, options) => {
1069
1107
  ...query
1070
1108
  };
1071
1109
  };
1072
- var getUpdateExtractorJobScopeUrl = (id) => {
1073
- return `/v1/extractor-jobs/${id}/scope`;
1074
- };
1075
- var updateExtractorJobScope = async (id, updateExtractorJobScopeBody, options) => {
1076
- return customFetch(getUpdateExtractorJobScopeUrl(id), {
1077
- ...options,
1078
- method: "PATCH",
1079
- headers: { "Content-Type": "application/json", ...options?.headers },
1080
- body: JSON.stringify(updateExtractorJobScopeBody)
1081
- });
1082
- };
1083
- var getUpdateExtractorJobScopeMutationFetcher = (id, options) => {
1084
- return (_, { arg }) => {
1085
- return updateExtractorJobScope(id, arg, options);
1086
- };
1087
- };
1088
- var getUpdateExtractorJobScopeMutationKey = (id) => [`/v1/extractor-jobs/${id}/scope`];
1089
- var useUpdateExtractorJobScope = (id, options) => {
1090
- const { swr: swrOptions, request: requestOptions } = options ?? {};
1091
- const swrKey = swrOptions?.swrKey ?? getUpdateExtractorJobScopeMutationKey(id);
1092
- const swrFn = getUpdateExtractorJobScopeMutationFetcher(id, requestOptions);
1093
- const query = useSWRMutation12(swrKey, swrFn, swrOptions);
1094
- return {
1095
- swrKey,
1096
- ...query
1097
- };
1098
- };
1099
1110
  var getCreateExtractorUrl = () => {
1100
1111
  return `/v1/extractors`;
1101
1112
  };
@@ -2437,6 +2448,36 @@ var useListWorkerRunMessages = (workerRunId, params, options) => {
2437
2448
  ...query
2438
2449
  };
2439
2450
  };
2451
+ var getUpdateWorkerRunScopeUrl = (workerRunId) => {
2452
+ return `/v1/worker-runs/${workerRunId}/scope`;
2453
+ };
2454
+ var updateWorkerRunScope = async (workerRunId, updateWorkerRunScopeBody, options) => {
2455
+ return customFetch(getUpdateWorkerRunScopeUrl(workerRunId), {
2456
+ ...options,
2457
+ method: "PATCH",
2458
+ headers: { "Content-Type": "application/json", ...options?.headers },
2459
+ body: JSON.stringify(updateWorkerRunScopeBody)
2460
+ });
2461
+ };
2462
+ var getUpdateWorkerRunScopeMutationFetcher = (workerRunId, options) => {
2463
+ return (_, { arg }) => {
2464
+ return updateWorkerRunScope(workerRunId, arg, options);
2465
+ };
2466
+ };
2467
+ var getUpdateWorkerRunScopeMutationKey = (workerRunId) => [`/v1/worker-runs/${workerRunId}/scope`];
2468
+ var useUpdateWorkerRunScope = (workerRunId, options) => {
2469
+ const { swr: swrOptions, request: requestOptions } = options ?? {};
2470
+ const swrKey = swrOptions?.swrKey ?? getUpdateWorkerRunScopeMutationKey(workerRunId);
2471
+ const swrFn = getUpdateWorkerRunScopeMutationFetcher(
2472
+ workerRunId,
2473
+ requestOptions
2474
+ );
2475
+ const query = useSWRMutation12(swrKey, swrFn, swrOptions);
2476
+ return {
2477
+ swrKey,
2478
+ ...query
2479
+ };
2480
+ };
2440
2481
  var getCreateWorkerUrl = () => {
2441
2482
  return `/v1/workers`;
2442
2483
  };
@@ -2754,6 +2795,17 @@ var ListEmailsSortOrder = {
2754
2795
  desc: "desc"
2755
2796
  };
2756
2797
 
2798
+ // generated/models/listEmailThreadsSortBy.ts
2799
+ var ListEmailThreadsSortBy = {
2800
+ last_email_at: "last_email_at"
2801
+ };
2802
+
2803
+ // generated/models/listEmailThreadsSortOrder.ts
2804
+ var ListEmailThreadsSortOrder = {
2805
+ asc: "asc",
2806
+ desc: "desc"
2807
+ };
2808
+
2757
2809
  // generated/models/listExtractorJobsSortBy.ts
2758
2810
  var ListExtractorJobsSortBy = {
2759
2811
  created_at: "created_at",
@@ -3030,6 +3082,6 @@ var VoiceAgentTtsProvider = {
3030
3082
  "aws-polly": "aws-polly"
3031
3083
  };
3032
3084
 
3033
- export { ArtifactDetailDataStatus, ArtifactStatus, AvallonError, CallDetailDirection, CallDirection, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, CreateInboxBodyProcessorType, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, EmailCreatedDirection, EmailDetailDirection, EmailDirection, EmailReplyResultValue, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, InboxProcessorType, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListClaimsSortBy, ListClaimsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListInboxesSortBy, ListInboxesSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, ListWorkersSortBy, ListWorkersSortOrder, OutboundJobStatus, ProfilePermissionsItem, ProfileRole, UpdateInboxBodyProcessorType, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, VoiceAgentLlmModel, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorJobScopeMutationFetcher, getUpdateExtractorJobScopeMutationKey, getUpdateExtractorJobScopeUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, replyToEmail, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgent, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUploadFile };
3085
+ export { ArtifactDetailDataStatus, ArtifactStatus, AvallonError, CallDetailDirection, CallDirection, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, CreateInboxBodyProcessorType, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, EmailCreatedDirection, EmailDetailDirection, EmailDirection, EmailReplyResultValue, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, InboxProcessorType, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListClaimsSortBy, ListClaimsSortOrder, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListInboxesSortBy, ListInboxesSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, ListWorkersSortBy, ListWorkersSortOrder, OutboundJobStatus, ProfilePermissionsItem, ProfileRole, UpdateInboxBodyProcessorType, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, VoiceAgentLlmModel, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, refreshToken, replyToEmail, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateInbox, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, useRefreshToken, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateInbox, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateWorkerRunScope, useUploadFile };
3034
3086
  //# sourceMappingURL=index.js.map
3035
3087
  //# sourceMappingURL=index.js.map