@avallon-labs/sdk 3.4.0-staging.150 → 3.5.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 CHANGED
@@ -2190,6 +2190,29 @@ type GetOAuthUrlParams = {
2190
2190
  code_challenge: string;
2191
2191
  };
2192
2192
 
2193
+ /**
2194
+ * Generated by orval v8.1.0 🍺
2195
+ * Do not edit manually.
2196
+ * Avallon API
2197
+ * OpenAPI spec version: 1.0.0
2198
+ */
2199
+ type GetSessionToken200 = {
2200
+ access_token: string;
2201
+ tenant_id: string;
2202
+ expires_in: number;
2203
+ };
2204
+
2205
+ /**
2206
+ * Generated by orval v8.1.0 🍺
2207
+ * Do not edit manually.
2208
+ * Avallon API
2209
+ * OpenAPI spec version: 1.0.0
2210
+ */
2211
+ type GetSessionTokenBody = {
2212
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2213
+ tenant_id?: string;
2214
+ };
2215
+
2193
2216
  /**
2194
2217
  * Generated by orval v8.1.0 🍺
2195
2218
  * Do not edit manually.
@@ -3985,6 +4008,37 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
3985
4008
  isLoading: swr__internal.IsLoadingResponse<Data, Config>;
3986
4009
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
3987
4010
  };
4011
+ /**
4012
+ * Exchange a Supabase identity token for a tenant-scoped Core Plane access token.
4013
+
4014
+ - If `tenant_id` is provided, validates the user is a member of that tenant.
4015
+ - If `tenant_id` is omitted, selects the user's default (oldest) tenant.
4016
+ - Call this endpoint again with a different `tenant_id` to switch tenants.
4017
+ * @summary Create or switch tenant session
4018
+ */
4019
+ declare const getGetSessionTokenUrl: () => string;
4020
+ declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
4021
+ declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$c<typeof customFetchNoAuth>) => (_: Key, { arg }: {
4022
+ arg: GetSessionTokenBody;
4023
+ }) => Promise<GetSessionToken200>;
4024
+ declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
4025
+ type GetSessionTokenMutationResult = NonNullable<Awaited<ReturnType<typeof getSessionToken>>>;
4026
+ /**
4027
+ * @summary Create or switch tenant session
4028
+ */
4029
+ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
4030
+ swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited<ReturnType<typeof getSessionToken>>> & {
4031
+ swrKey?: string;
4032
+ };
4033
+ request?: SecondParameter$c<typeof customFetchNoAuth>;
4034
+ }) => {
4035
+ isMutating: boolean;
4036
+ trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
4037
+ reset: () => void;
4038
+ data: GetSessionToken200 | undefined;
4039
+ error: TError | undefined;
4040
+ swrKey: string | readonly ["/v1/auth/session"];
4041
+ };
3988
4042
 
3989
4043
  type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
3990
4044
  /**
@@ -5252,4 +5306,4 @@ declare const useTestWebhook: <TError = ErrorType<ErrorResponse>>(id: string, op
5252
5306
  swrKey: string | readonly [`/v1/webhooks/${string}/test`];
5253
5307
  };
5254
5308
 
5255
- export { type AddToolsToAgentBody, type AddToolsToAgentMutationResult, type AddToolsToAgentResponse, type Agent, AgentBackgroundSounds, AgentDirection, AgentLanguage, type AgentList, AgentLlmModel, type AgentPrompt, AgentSttModel, AgentTtsModel, AgentTtsProvider, type AgentWebhookList, type ApiKey, type ApiKeyCreated, type ApiKeyList, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, 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 CancelExtractorJobMutationResult, type CancelJobMutationResult, type CanceledExtractorJob, type CanceledExtractorJobScope, type CheckEmailUsernameAvailabilityParams, type CheckEmailUsernameAvailabilityQueryResult, 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 CreateAgentBody, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, type CreateAgentMutationResult, type CreateAgentResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailAgentBody, type CreateEmailAgentMutationResult, type CreateEmailAgentWebhookBody, type CreateEmailAgentWebhookMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateToolBody, type CreateToolMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromAgentBody, type DeleteToolsFromAgentMutationResult, type DeleteToolsFromAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailAgent, type EmailAgentList, type EmailAgentWebhookList, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailUsernameAvailability, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractScope, type ExtractSummary, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetAgentPromptQueryResult, type GetAgentQueryResult, type GetAgentResponse, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetProfileQueryResult, type GetToolQueryResult, type GetToolResponse, type GetWebhookQueryResult, type ListAgentWebhooksQueryResult, type ListAgentsParams, type ListAgentsQueryResult, 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 ListEmailAgentWebhooksQueryResult, type ListEmailAgentsParams, type ListEmailAgentsQueryResult, ListEmailAgentsSortBy, ListEmailAgentsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, 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 UpdateAgentModelsBody, UpdateAgentModelsBodyLanguage, UpdateAgentModelsBodyLlmModel, UpdateAgentModelsBodySttModel, UpdateAgentModelsBodyTtsModel, UpdateAgentModelsBodyTtsProvider, type UpdateAgentModelsMutationResult, type UpdateAgentModelsResponse, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateCallControlsResponse, type UpdateEmailAgentBody, type UpdateEmailAgentMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, addToolsToAgent, cancelExtractorJob, cancelJob, checkEmailUsernameAvailability, configure, createAgent, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createEmailAgent, createEmailAgentWebhook, createExtractor, createExtractorJob, createExtractorWebhook, createTool, deleteCallFeedback, deleteToolsFromAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToAgentMutationFetcher, getAddToolsToAgentMutationKey, getAddToolsToAgentUrl, getAgent, getAgentPrompt, getArtifact, getArtifactMetadataKeys, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckEmailUsernameAvailabilityKey, getCheckEmailUsernameAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailAgentMutationFetcher, getCreateEmailAgentMutationKey, getCreateEmailAgentUrl, getCreateEmailAgentWebhookMutationFetcher, getCreateEmailAgentWebhookMutationKey, getCreateEmailAgentWebhookUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromAgentMutationFetcher, getDeleteToolsFromAgentMutationKey, getDeleteToolsFromAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractor, getExtractorJob, getGetAgentKey, getGetAgentPromptKey, getGetAgentPromptUrl, getGetAgentUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetToolKey, getGetToolUrl, getGetWebhookKey, getGetWebhookUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailAgentWebhooksKey, getListEmailAgentWebhooksUrl, getListEmailAgentsKey, getListEmailAgentsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateAgentModelsMutationFetcher, getUpdateAgentModelsMutationKey, getUpdateAgentModelsUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateEmailAgentMutationFetcher, getUpdateEmailAgentMutationKey, getUpdateEmailAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getWebhook, listAgentWebhooks, listAgents, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailAgentWebhooks, listEmailAgents, listEmails, listExtractorJobs, listExtractors, listExtracts, listJobs, listTools, listWebhookDeliveries, listWebhooks, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateAgentModels, updateCallControls, updateEmailAgent, updateExtractor, updateTool, uploadFile, useAddToolsToAgent, useCancelExtractorJob, useCancelJob, useCheckEmailUsernameAvailability, useCreateAgent, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateEmailAgent, useCreateEmailAgentWebhook, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateTool, useDeleteCallFeedback, useDeleteToolsFromAgent, useDeleteWebhook, useExecuteCode, useGetAgent, useGetAgentPrompt, useGetArtifact, useGetArtifactMetadataKeys, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetTool, useGetWebhook, useListAgentWebhooks, useListAgents, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailAgentWebhooks, useListEmailAgents, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListJobs, useListTools, useListWebhookDeliveries, useListWebhooks, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateAgentModels, useUpdateCallControls, useUpdateEmailAgent, useUpdateExtractor, useUpdateTool, useUploadFile };
5309
+ export { type AddToolsToAgentBody, type AddToolsToAgentMutationResult, type AddToolsToAgentResponse, type Agent, AgentBackgroundSounds, AgentDirection, AgentLanguage, type AgentList, AgentLlmModel, type AgentPrompt, AgentSttModel, AgentTtsModel, AgentTtsProvider, type AgentWebhookList, type ApiKey, type ApiKeyCreated, type ApiKeyList, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, 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 CancelExtractorJobMutationResult, type CancelJobMutationResult, type CanceledExtractorJob, type CanceledExtractorJobScope, type CheckEmailUsernameAvailabilityParams, type CheckEmailUsernameAvailabilityQueryResult, 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 CreateAgentBody, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, type CreateAgentMutationResult, type CreateAgentResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateClaimMutationResult, type CreateEmailAgentBody, type CreateEmailAgentMutationResult, type CreateEmailAgentWebhookBody, type CreateEmailAgentWebhookMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateToolBody, type CreateToolMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromAgentBody, type DeleteToolsFromAgentMutationResult, type DeleteToolsFromAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailAgent, type EmailAgentList, type EmailAgentWebhookList, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailUsernameAvailability, type EmptyResponse, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractScope, type ExtractSummary, type ExtractSummaryScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, ExtractorJobExtractorType, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, type GetAgentPromptQueryResult, type GetAgentQueryResult, type GetAgentResponse, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetClaimDetailQueryResult, type GetEmailQueryResult, 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 GetWebhookQueryResult, type ListAgentWebhooksQueryResult, type ListAgentsParams, type ListAgentsQueryResult, 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 ListEmailAgentWebhooksQueryResult, type ListEmailAgentsParams, type ListEmailAgentsQueryResult, ListEmailAgentsSortBy, ListEmailAgentsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type OAuthUrl, type OutboundJob, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type Profile, type ProfileTenant, type ProfileTenants, type RefreshTokenBody, type RefreshTokenMutationResult, 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 UpdateAgentModelsBody, UpdateAgentModelsBodyLanguage, UpdateAgentModelsBodyLlmModel, UpdateAgentModelsBodySttModel, UpdateAgentModelsBodyTtsModel, UpdateAgentModelsBodyTtsProvider, type UpdateAgentModelsMutationResult, type UpdateAgentModelsResponse, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateCallControlsResponse, type UpdateEmailAgentBody, type UpdateEmailAgentMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, addToolsToAgent, cancelExtractorJob, cancelJob, checkEmailUsernameAvailability, configure, createAgent, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createEmailAgent, createEmailAgentWebhook, createExtractor, createExtractorJob, createExtractorWebhook, createTool, deleteCallFeedback, deleteToolsFromAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToAgentMutationFetcher, getAddToolsToAgentMutationKey, getAddToolsToAgentUrl, getAgent, getAgentPrompt, getArtifact, getArtifactMetadataKeys, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckEmailUsernameAvailabilityKey, getCheckEmailUsernameAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailAgentMutationFetcher, getCreateEmailAgentMutationKey, getCreateEmailAgentUrl, getCreateEmailAgentWebhookMutationFetcher, getCreateEmailAgentWebhookMutationKey, getCreateEmailAgentWebhookUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromAgentMutationFetcher, getDeleteToolsFromAgentMutationKey, getDeleteToolsFromAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractor, getExtractorJob, getGetAgentKey, getGetAgentPromptKey, getGetAgentPromptUrl, getGetAgentUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetWebhookKey, getGetWebhookUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailAgentWebhooksKey, getListEmailAgentWebhooksUrl, getListEmailAgentsKey, getListEmailAgentsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateAgentModelsMutationFetcher, getUpdateAgentModelsMutationKey, getUpdateAgentModelsUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateEmailAgentMutationFetcher, getUpdateEmailAgentMutationKey, getUpdateEmailAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getWebhook, listAgentWebhooks, listAgents, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailAgentWebhooks, listEmailAgents, listEmails, listExtractorJobs, listExtractors, listExtracts, listJobs, listTools, listWebhookDeliveries, listWebhooks, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateAgentModels, updateCallControls, updateEmailAgent, updateExtractor, updateTool, uploadFile, useAddToolsToAgent, useCancelExtractorJob, useCancelJob, useCheckEmailUsernameAvailability, useCreateAgent, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateEmailAgent, useCreateEmailAgentWebhook, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateTool, useDeleteCallFeedback, useDeleteToolsFromAgent, useDeleteWebhook, useExecuteCode, useGetAgent, useGetAgentPrompt, useGetArtifact, useGetArtifactMetadataKeys, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetWebhook, useListAgentWebhooks, useListAgents, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailAgentWebhooks, useListEmailAgents, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListJobs, useListTools, useListWebhookDeliveries, useListWebhooks, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateAgentModels, useUpdateCallControls, useUpdateEmailAgent, useUpdateExtractor, useUpdateTool, useUploadFile };
package/dist/index.js CHANGED
@@ -656,6 +656,33 @@ var useGetOAuthUrl = (params, options) => {
656
656
  ...query
657
657
  };
658
658
  };
659
+ var getGetSessionTokenUrl = () => {
660
+ return `/v1/auth/session`;
661
+ };
662
+ var getSessionToken = async (getSessionTokenBody, options) => {
663
+ return customFetchNoAuth(getGetSessionTokenUrl(), {
664
+ ...options,
665
+ method: "POST",
666
+ headers: { "Content-Type": "application/json", ...options?.headers },
667
+ body: JSON.stringify(getSessionTokenBody)
668
+ });
669
+ };
670
+ var getGetSessionTokenMutationFetcher = (options) => {
671
+ return (_, { arg }) => {
672
+ return getSessionToken(arg, options);
673
+ };
674
+ };
675
+ var getGetSessionTokenMutationKey = () => [`/v1/auth/session`];
676
+ var useGetSessionToken = (options) => {
677
+ const { swr: swrOptions, request: requestOptions } = options ?? {};
678
+ const swrKey = swrOptions?.swrKey ?? getGetSessionTokenMutationKey();
679
+ const swrFn = getGetSessionTokenMutationFetcher(requestOptions);
680
+ const query = useSWRMutation(swrKey, swrFn, swrOptions);
681
+ return {
682
+ swrKey,
683
+ ...query
684
+ };
685
+ };
659
686
  var getCreateCallFeedbackUrl = (id) => {
660
687
  return `/v1/calls/${id}/feedback`;
661
688
  };
@@ -2341,6 +2368,6 @@ var UpdateAgentModelsBodyTtsProvider = {
2341
2368
  google: "google"
2342
2369
  };
2343
2370
 
2344
- export { AgentBackgroundSounds, AgentDirection, AgentLanguage, AgentLlmModel, AgentSttModel, AgentTtsModel, AgentTtsProvider, AvallonError, CallDetailDirection, CallDirection, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, EmailCreatedDirection, EmailDetailDirection, EmailDirection, ExtractorJobExtractorType, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListClaimsSortBy, ListClaimsSortOrder, ListEmailAgentsSortBy, ListEmailAgentsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, OutboundJobStatus, UpdateAgentModelsBodyLanguage, UpdateAgentModelsBodyLlmModel, UpdateAgentModelsBodySttModel, UpdateAgentModelsBodyTtsModel, UpdateAgentModelsBodyTtsProvider, addToolsToAgent, cancelExtractorJob, cancelJob, checkEmailUsernameAvailability, configure, createAgent, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createEmailAgent, createEmailAgentWebhook, createExtractor, createExtractorJob, createExtractorWebhook, createTool, deleteCallFeedback, deleteToolsFromAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToAgentMutationFetcher, getAddToolsToAgentMutationKey, getAddToolsToAgentUrl, getAgent, getAgentPrompt, getArtifact, getArtifactMetadataKeys, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckEmailUsernameAvailabilityKey, getCheckEmailUsernameAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailAgentMutationFetcher, getCreateEmailAgentMutationKey, getCreateEmailAgentUrl, getCreateEmailAgentWebhookMutationFetcher, getCreateEmailAgentWebhookMutationKey, getCreateEmailAgentWebhookUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromAgentMutationFetcher, getDeleteToolsFromAgentMutationKey, getDeleteToolsFromAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractor, getExtractorJob, getGetAgentKey, getGetAgentPromptKey, getGetAgentPromptUrl, getGetAgentUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetToolKey, getGetToolUrl, getGetWebhookKey, getGetWebhookUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailAgentWebhooksKey, getListEmailAgentWebhooksUrl, getListEmailAgentsKey, getListEmailAgentsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateAgentModelsMutationFetcher, getUpdateAgentModelsMutationKey, getUpdateAgentModelsUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateEmailAgentMutationFetcher, getUpdateEmailAgentMutationKey, getUpdateEmailAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getWebhook, listAgentWebhooks, listAgents, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailAgentWebhooks, listEmailAgents, listEmails, listExtractorJobs, listExtractors, listExtracts, listJobs, listTools, listWebhookDeliveries, listWebhooks, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateAgentModels, updateCallControls, updateEmailAgent, updateExtractor, updateTool, uploadFile, useAddToolsToAgent, useCancelExtractorJob, useCancelJob, useCheckEmailUsernameAvailability, useCreateAgent, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateEmailAgent, useCreateEmailAgentWebhook, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateTool, useDeleteCallFeedback, useDeleteToolsFromAgent, useDeleteWebhook, useExecuteCode, useGetAgent, useGetAgentPrompt, useGetArtifact, useGetArtifactMetadataKeys, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetTool, useGetWebhook, useListAgentWebhooks, useListAgents, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailAgentWebhooks, useListEmailAgents, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListJobs, useListTools, useListWebhookDeliveries, useListWebhooks, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateAgentModels, useUpdateCallControls, useUpdateEmailAgent, useUpdateExtractor, useUpdateTool, useUploadFile };
2371
+ export { AgentBackgroundSounds, AgentDirection, AgentLanguage, AgentLlmModel, AgentSttModel, AgentTtsModel, AgentTtsProvider, AvallonError, CallDetailDirection, CallDirection, CreateAgentBodyDirection, CreateAgentBodyLanguage, CreateAgentBodyLlmModel, CreateAgentBodySttModel, CreateAgentBodyTtsModel, CreateAgentBodyTtsProvider, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, EmailCreatedDirection, EmailDetailDirection, EmailDirection, ExtractorJobExtractorType, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListClaimsSortBy, ListClaimsSortOrder, ListEmailAgentsSortBy, ListEmailAgentsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, OutboundJobStatus, UpdateAgentModelsBodyLanguage, UpdateAgentModelsBodyLlmModel, UpdateAgentModelsBodySttModel, UpdateAgentModelsBodyTtsModel, UpdateAgentModelsBodyTtsProvider, addToolsToAgent, cancelExtractorJob, cancelJob, checkEmailUsernameAvailability, configure, createAgent, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createEmailAgent, createEmailAgentWebhook, createExtractor, createExtractorJob, createExtractorWebhook, createTool, deleteCallFeedback, deleteToolsFromAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToAgentMutationFetcher, getAddToolsToAgentMutationKey, getAddToolsToAgentUrl, getAgent, getAgentPrompt, getArtifact, getArtifactMetadataKeys, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCheckEmailUsernameAvailabilityKey, getCheckEmailUsernameAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentMutationFetcher, getCreateAgentMutationKey, getCreateAgentUrl, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailAgentMutationFetcher, getCreateEmailAgentMutationKey, getCreateEmailAgentUrl, getCreateEmailAgentWebhookMutationFetcher, getCreateEmailAgentWebhookMutationKey, getCreateEmailAgentWebhookUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromAgentMutationFetcher, getDeleteToolsFromAgentMutationKey, getDeleteToolsFromAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractor, getExtractorJob, getGetAgentKey, getGetAgentPromptKey, getGetAgentPromptUrl, getGetAgentUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetWebhookKey, getGetWebhookUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgentsKey, getListAgentsUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListClaimsKey, getListClaimsUrl, getListEmailAgentWebhooksKey, getListEmailAgentWebhooksUrl, getListEmailAgentsKey, getListEmailAgentsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListJobsKey, getListJobsUrl, getListToolsKey, getListToolsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateAgentModelsMutationFetcher, getUpdateAgentModelsMutationKey, getUpdateAgentModelsUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateEmailAgentMutationFetcher, getUpdateEmailAgentMutationKey, getUpdateEmailAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getWebhook, listAgentWebhooks, listAgents, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmailAgentWebhooks, listEmailAgents, listEmails, listExtractorJobs, listExtractors, listExtracts, listJobs, listTools, listWebhookDeliveries, listWebhooks, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateAgentModels, updateCallControls, updateEmailAgent, updateExtractor, updateTool, uploadFile, useAddToolsToAgent, useCancelExtractorJob, useCancelJob, useCheckEmailUsernameAvailability, useCreateAgent, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateEmailAgent, useCreateEmailAgentWebhook, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateTool, useDeleteCallFeedback, useDeleteToolsFromAgent, useDeleteWebhook, useExecuteCode, useGetAgent, useGetAgentPrompt, useGetArtifact, useGetArtifactMetadataKeys, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetWebhook, useListAgentWebhooks, useListAgents, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmailAgentWebhooks, useListEmailAgents, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListJobs, useListTools, useListWebhookDeliveries, useListWebhooks, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateAgentModels, useUpdateCallControls, useUpdateEmailAgent, useUpdateExtractor, useUpdateTool, useUploadFile };
2345
2372
  //# sourceMappingURL=index.js.map
2346
2373
  //# sourceMappingURL=index.js.map