@avallon-labs/sdk 12.2.0 → 12.3.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 +81 -1
- package/dist/index.js +91 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1521,6 +1521,25 @@ type CreateWorkerBody = {
|
|
|
1521
1521
|
mcp_type?: "ventiv" | "klear" | "avallon" | null;
|
|
1522
1522
|
};
|
|
1523
1523
|
|
|
1524
|
+
/**
|
|
1525
|
+
* Generated by orval v8.1.0 🍺
|
|
1526
|
+
* Do not edit manually.
|
|
1527
|
+
* Avallon API
|
|
1528
|
+
* OpenAPI spec version: 1.0.0
|
|
1529
|
+
*/
|
|
1530
|
+
type CreateWorkerWebhookBody = {
|
|
1531
|
+
/**
|
|
1532
|
+
* @minLength 1
|
|
1533
|
+
* @maxLength 256
|
|
1534
|
+
*/
|
|
1535
|
+
name: string;
|
|
1536
|
+
/** @maxLength 2048 */
|
|
1537
|
+
url: string;
|
|
1538
|
+
auth_header_name?: string | null;
|
|
1539
|
+
auth_header_value?: string | null;
|
|
1540
|
+
enabled?: boolean;
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1524
1543
|
/**
|
|
1525
1544
|
* Generated by orval v8.1.0 🍺
|
|
1526
1545
|
* Do not edit manually.
|
|
@@ -3743,6 +3762,15 @@ interface WorkerSummary {
|
|
|
3743
3762
|
|
|
3744
3763
|
type WorkerList = WorkerSummary[];
|
|
3745
3764
|
|
|
3765
|
+
/**
|
|
3766
|
+
* Generated by orval v8.1.0 🍺
|
|
3767
|
+
* Do not edit manually.
|
|
3768
|
+
* Avallon API
|
|
3769
|
+
* OpenAPI spec version: 1.0.0
|
|
3770
|
+
*/
|
|
3771
|
+
|
|
3772
|
+
type WorkerWebhookList = Webhook[];
|
|
3773
|
+
|
|
3746
3774
|
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
3747
3775
|
/**
|
|
3748
3776
|
* List all API keys for your tenant.
|
|
@@ -5540,6 +5568,58 @@ declare const useUpdateCallControls: <TError = ErrorType<ErrorResponse>>(voiceAg
|
|
|
5540
5568
|
};
|
|
5541
5569
|
|
|
5542
5570
|
type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
5571
|
+
/**
|
|
5572
|
+
* Create a webhook that fires when events occur for the specified worker.
|
|
5573
|
+
* @summary Create worker webhook
|
|
5574
|
+
*/
|
|
5575
|
+
declare const getCreateWorkerWebhookUrl: (workerId: string) => string;
|
|
5576
|
+
declare const createWorkerWebhook: (workerId: string, createWorkerWebhookBody: CreateWorkerWebhookBody, options?: RequestInit) => Promise<Webhook>;
|
|
5577
|
+
declare const getCreateWorkerWebhookMutationFetcher: (workerId: string, options?: SecondParameter$1<typeof customFetch>) => (_: Key, { arg }: {
|
|
5578
|
+
arg: CreateWorkerWebhookBody;
|
|
5579
|
+
}) => Promise<Webhook>;
|
|
5580
|
+
declare const getCreateWorkerWebhookMutationKey: (workerId: string) => readonly [`/v1/workers/${string}/webhooks`];
|
|
5581
|
+
type CreateWorkerWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof createWorkerWebhook>>>;
|
|
5582
|
+
/**
|
|
5583
|
+
* @summary Create worker webhook
|
|
5584
|
+
*/
|
|
5585
|
+
declare const useCreateWorkerWebhook: <TError = ErrorType<ErrorResponse>>(workerId: string, options?: {
|
|
5586
|
+
swr?: SWRMutationConfiguration<Awaited<ReturnType<typeof createWorkerWebhook>>, TError, Key, CreateWorkerWebhookBody, Awaited<ReturnType<typeof createWorkerWebhook>>> & {
|
|
5587
|
+
swrKey?: string;
|
|
5588
|
+
};
|
|
5589
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
5590
|
+
}) => {
|
|
5591
|
+
isMutating: boolean;
|
|
5592
|
+
trigger: swr_mutation.TriggerWithArgs<Webhook, TError, string | readonly [`/v1/workers/${string}/webhooks`], CreateWorkerWebhookBody>;
|
|
5593
|
+
reset: () => void;
|
|
5594
|
+
data: Webhook | undefined;
|
|
5595
|
+
error: TError | undefined;
|
|
5596
|
+
swrKey: string | readonly [`/v1/workers/${string}/webhooks`];
|
|
5597
|
+
};
|
|
5598
|
+
/**
|
|
5599
|
+
* List all webhooks configured for a specific worker.
|
|
5600
|
+
* @summary List worker webhooks
|
|
5601
|
+
*/
|
|
5602
|
+
declare const getListWorkerWebhooksUrl: (workerId: string) => string;
|
|
5603
|
+
declare const listWorkerWebhooks: (workerId: string, options?: RequestInit) => Promise<WorkerWebhookList>;
|
|
5604
|
+
declare const getListWorkerWebhooksKey: (workerId: string) => readonly [`/v1/workers/${string}/webhooks`];
|
|
5605
|
+
type ListWorkerWebhooksQueryResult = NonNullable<Awaited<ReturnType<typeof listWorkerWebhooks>>>;
|
|
5606
|
+
/**
|
|
5607
|
+
* @summary List worker webhooks
|
|
5608
|
+
*/
|
|
5609
|
+
declare const useListWorkerWebhooks: <TError = ErrorType<ErrorResponse>>(workerId: string, options?: {
|
|
5610
|
+
swr?: SWRConfiguration<Awaited<ReturnType<typeof listWorkerWebhooks>>, TError> & {
|
|
5611
|
+
swrKey?: Key;
|
|
5612
|
+
enabled?: boolean;
|
|
5613
|
+
};
|
|
5614
|
+
request?: SecondParameter$1<typeof customFetch>;
|
|
5615
|
+
}) => {
|
|
5616
|
+
data: WorkerWebhookList | undefined;
|
|
5617
|
+
error: TError | undefined;
|
|
5618
|
+
mutate: swr.KeyedMutator<WorkerWebhookList>;
|
|
5619
|
+
isValidating: boolean;
|
|
5620
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
5621
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
5622
|
+
};
|
|
5543
5623
|
/**
|
|
5544
5624
|
* Create a webhook that fires when events occur for the specified voice agent.
|
|
5545
5625
|
|
|
@@ -5894,4 +5974,4 @@ declare const useGetWorker: <TError = ErrorType<ErrorResponse>>(workerId: string
|
|
|
5894
5974
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
5895
5975
|
};
|
|
5896
5976
|
|
|
5897
|
-
export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type AgenticJobMessage, type AgenticJobMessageList, type AgenticJobMessageMessage, 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 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, CreateExtractorJobBodyExtractorType, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, type DeleteCallFeedbackMutationResult, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, 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 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 Inbox, type InboxAvailability, type InboxList, type InboxWebhookList, type ListAgentWebhooksQueryResult, type ListAgenticJobMessagesParams, type ListAgenticJobMessagesQueryResult, 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, ListExtractorJobsExtractorType, 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 ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, 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 UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, 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 WorkerSummary, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, 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, getCreateWorkerUrl, 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, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgenticJobMessagesKey, getListAgenticJobMessagesUrl, 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, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, 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, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, listAgentWebhooks, listAgenticJobMessages, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkers, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useListAgentWebhooks, useListAgenticJobMessages, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkers, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };
|
|
5977
|
+
export { type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type AgenticJobMessage, type AgenticJobMessageList, type AgenticJobMessageMessage, 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 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, CreateExtractorJobBodyExtractorType, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerBodyEnvVars, type CreateWorkerMutationResult, 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 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 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 Inbox, type InboxAvailability, type InboxList, type InboxWebhookList, type ListAgentWebhooksQueryResult, type ListAgenticJobMessagesParams, type ListAgenticJobMessagesQueryResult, 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, ListExtractorJobsExtractorType, 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 ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, 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 UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorJobScopeBody, type UpdateExtractorJobScopeBodyScope, type UpdateExtractorJobScopeMutationResult, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, 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 WorkerSummary, type WorkerWebhookList, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, 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, 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, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgenticJobMessagesKey, getListAgenticJobMessagesUrl, 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, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, 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, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, listAgentWebhooks, listAgenticJobMessages, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerWebhooks, listWorkers, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, 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, useListAgentWebhooks, useListAgenticJobMessages, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerWebhooks, useListWorkers, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import useSwr16 from 'swr';
|
|
2
|
-
import
|
|
2
|
+
import useSWRMutation13 from 'swr/mutation';
|
|
3
3
|
|
|
4
4
|
// src/fetcher.ts
|
|
5
5
|
var config = {
|
|
@@ -146,7 +146,7 @@ var useCreateApiKey = (options) => {
|
|
|
146
146
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
147
147
|
const swrKey = swrOptions?.swrKey ?? getCreateApiKeyMutationKey();
|
|
148
148
|
const swrFn = getCreateApiKeyMutationFetcher(requestOptions);
|
|
149
|
-
const query =
|
|
149
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
150
150
|
return {
|
|
151
151
|
swrKey,
|
|
152
152
|
...query
|
|
@@ -171,7 +171,7 @@ var useRevokeApiKey = (id, options) => {
|
|
|
171
171
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
172
172
|
const swrKey = swrOptions?.swrKey ?? getRevokeApiKeyMutationKey(id);
|
|
173
173
|
const swrFn = getRevokeApiKeyMutationFetcher(id, requestOptions);
|
|
174
|
-
const query =
|
|
174
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
175
175
|
return {
|
|
176
176
|
swrKey,
|
|
177
177
|
...query
|
|
@@ -198,7 +198,7 @@ var useCreateArtifact = (options) => {
|
|
|
198
198
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
199
199
|
const swrKey = swrOptions?.swrKey ?? getCreateArtifactMutationKey();
|
|
200
200
|
const swrFn = getCreateArtifactMutationFetcher(requestOptions);
|
|
201
|
-
const query =
|
|
201
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
202
202
|
return {
|
|
203
203
|
swrKey,
|
|
204
204
|
...query
|
|
@@ -317,7 +317,7 @@ var useGetArtifactUploadUrl = (options) => {
|
|
|
317
317
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
318
318
|
const swrKey = swrOptions?.swrKey ?? getGetArtifactUploadUrlMutationKey();
|
|
319
319
|
const swrFn = getGetArtifactUploadUrlMutationFetcher(requestOptions);
|
|
320
|
-
const query =
|
|
320
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
321
321
|
return {
|
|
322
322
|
swrKey,
|
|
323
323
|
...query
|
|
@@ -344,7 +344,7 @@ var useUpdateArtifactMetadata = (id, options) => {
|
|
|
344
344
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
345
345
|
const swrKey = swrOptions?.swrKey ?? getUpdateArtifactMetadataMutationKey(id);
|
|
346
346
|
const swrFn = getUpdateArtifactMetadataMutationFetcher(id, requestOptions);
|
|
347
|
-
const query =
|
|
347
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
348
348
|
return {
|
|
349
349
|
swrKey,
|
|
350
350
|
...query
|
|
@@ -371,7 +371,7 @@ var useUploadFile = (options) => {
|
|
|
371
371
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
372
372
|
const swrKey = swrOptions?.swrKey ?? getUploadFileMutationKey();
|
|
373
373
|
const swrFn = getUploadFileMutationFetcher(requestOptions);
|
|
374
|
-
const query =
|
|
374
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
375
375
|
return {
|
|
376
376
|
swrKey,
|
|
377
377
|
...query
|
|
@@ -398,7 +398,7 @@ var useSignUp = (options) => {
|
|
|
398
398
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
399
399
|
const swrKey = swrOptions?.swrKey ?? getSignUpMutationKey();
|
|
400
400
|
const swrFn = getSignUpMutationFetcher(requestOptions);
|
|
401
|
-
const query =
|
|
401
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
402
402
|
return {
|
|
403
403
|
swrKey,
|
|
404
404
|
...query
|
|
@@ -425,7 +425,7 @@ var useSignIn = (options) => {
|
|
|
425
425
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
426
426
|
const swrKey = swrOptions?.swrKey ?? getSignInMutationKey();
|
|
427
427
|
const swrFn = getSignInMutationFetcher(requestOptions);
|
|
428
|
-
const query =
|
|
428
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
429
429
|
return {
|
|
430
430
|
swrKey,
|
|
431
431
|
...query
|
|
@@ -452,7 +452,7 @@ var useRefreshToken = (options) => {
|
|
|
452
452
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
453
453
|
const swrKey = swrOptions?.swrKey ?? getRefreshTokenMutationKey();
|
|
454
454
|
const swrFn = getRefreshTokenMutationFetcher(requestOptions);
|
|
455
|
-
const query =
|
|
455
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
456
456
|
return {
|
|
457
457
|
swrKey,
|
|
458
458
|
...query
|
|
@@ -511,7 +511,7 @@ var useGetSessionToken = (options) => {
|
|
|
511
511
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
512
512
|
const swrKey = swrOptions?.swrKey ?? getGetSessionTokenMutationKey();
|
|
513
513
|
const swrFn = getGetSessionTokenMutationFetcher(requestOptions);
|
|
514
|
-
const query =
|
|
514
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
515
515
|
return {
|
|
516
516
|
swrKey,
|
|
517
517
|
...query
|
|
@@ -538,7 +538,7 @@ var useCreateCallFeedback = (id, options) => {
|
|
|
538
538
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
539
539
|
const swrKey = swrOptions?.swrKey ?? getCreateCallFeedbackMutationKey(id);
|
|
540
540
|
const swrFn = getCreateCallFeedbackMutationFetcher(id, requestOptions);
|
|
541
|
-
const query =
|
|
541
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
542
542
|
return {
|
|
543
543
|
swrKey,
|
|
544
544
|
...query
|
|
@@ -599,7 +599,7 @@ var useDeleteCallFeedback = (id, feedbackId, options) => {
|
|
|
599
599
|
feedbackId,
|
|
600
600
|
requestOptions
|
|
601
601
|
);
|
|
602
|
-
const query =
|
|
602
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
603
603
|
return {
|
|
604
604
|
swrKey,
|
|
605
605
|
...query
|
|
@@ -745,7 +745,7 @@ var useCreateClaim = (options) => {
|
|
|
745
745
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
746
746
|
const swrKey = swrOptions?.swrKey ?? getCreateClaimMutationKey();
|
|
747
747
|
const swrFn = getCreateClaimMutationFetcher(requestOptions);
|
|
748
|
-
const query =
|
|
748
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
749
749
|
return {
|
|
750
750
|
swrKey,
|
|
751
751
|
...query
|
|
@@ -829,7 +829,7 @@ var useCreateEmail = (options) => {
|
|
|
829
829
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
830
830
|
const swrKey = swrOptions?.swrKey ?? getCreateEmailMutationKey();
|
|
831
831
|
const swrFn = getCreateEmailMutationFetcher(requestOptions);
|
|
832
|
-
const query =
|
|
832
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
833
833
|
return {
|
|
834
834
|
swrKey,
|
|
835
835
|
...query
|
|
@@ -945,7 +945,7 @@ var useCreateExtractorJob = (options) => {
|
|
|
945
945
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
946
946
|
const swrKey = swrOptions?.swrKey ?? getCreateExtractorJobMutationKey();
|
|
947
947
|
const swrFn = getCreateExtractorJobMutationFetcher(requestOptions);
|
|
948
|
-
const query =
|
|
948
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
949
949
|
return {
|
|
950
950
|
swrKey,
|
|
951
951
|
...query
|
|
@@ -995,7 +995,7 @@ var useCancelExtractorJob = (id, options) => {
|
|
|
995
995
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
996
996
|
const swrKey = swrOptions?.swrKey ?? getCancelExtractorJobMutationKey(id);
|
|
997
997
|
const swrFn = getCancelExtractorJobMutationFetcher(id, requestOptions);
|
|
998
|
-
const query =
|
|
998
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
999
999
|
return {
|
|
1000
1000
|
swrKey,
|
|
1001
1001
|
...query
|
|
@@ -1057,7 +1057,7 @@ var useUpdateExtractorJobScope = (id, options) => {
|
|
|
1057
1057
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1058
1058
|
const swrKey = swrOptions?.swrKey ?? getUpdateExtractorJobScopeMutationKey(id);
|
|
1059
1059
|
const swrFn = getUpdateExtractorJobScopeMutationFetcher(id, requestOptions);
|
|
1060
|
-
const query =
|
|
1060
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1061
1061
|
return {
|
|
1062
1062
|
swrKey,
|
|
1063
1063
|
...query
|
|
@@ -1084,7 +1084,7 @@ var useCreateExtractor = (options) => {
|
|
|
1084
1084
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1085
1085
|
const swrKey = swrOptions?.swrKey ?? getCreateExtractorMutationKey();
|
|
1086
1086
|
const swrFn = getCreateExtractorMutationFetcher(requestOptions);
|
|
1087
|
-
const query =
|
|
1087
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1088
1088
|
return {
|
|
1089
1089
|
swrKey,
|
|
1090
1090
|
...query
|
|
@@ -1168,7 +1168,7 @@ var useUpdateExtractor = (id, options) => {
|
|
|
1168
1168
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1169
1169
|
const swrKey = swrOptions?.swrKey ?? getUpdateExtractorMutationKey(id);
|
|
1170
1170
|
const swrFn = getUpdateExtractorMutationFetcher(id, requestOptions);
|
|
1171
|
-
const query =
|
|
1171
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1172
1172
|
return {
|
|
1173
1173
|
swrKey,
|
|
1174
1174
|
...query
|
|
@@ -1309,7 +1309,7 @@ var useCreateInbox = (options) => {
|
|
|
1309
1309
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1310
1310
|
const swrKey = swrOptions?.swrKey ?? getCreateInboxMutationKey();
|
|
1311
1311
|
const swrFn = getCreateInboxMutationFetcher(requestOptions);
|
|
1312
|
-
const query =
|
|
1312
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1313
1313
|
return {
|
|
1314
1314
|
swrKey,
|
|
1315
1315
|
...query
|
|
@@ -1368,7 +1368,7 @@ var useUpdateInbox = (inboxId, options) => {
|
|
|
1368
1368
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1369
1369
|
const swrKey = swrOptions?.swrKey ?? getUpdateInboxMutationKey(inboxId);
|
|
1370
1370
|
const swrFn = getUpdateInboxMutationFetcher(inboxId, requestOptions);
|
|
1371
|
-
const query =
|
|
1371
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1372
1372
|
return {
|
|
1373
1373
|
swrKey,
|
|
1374
1374
|
...query
|
|
@@ -1395,7 +1395,7 @@ var useScheduleJob = (voiceAgentId, options) => {
|
|
|
1395
1395
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1396
1396
|
const swrKey = swrOptions?.swrKey ?? getScheduleJobMutationKey(voiceAgentId);
|
|
1397
1397
|
const swrFn = getScheduleJobMutationFetcher(voiceAgentId, requestOptions);
|
|
1398
|
-
const query =
|
|
1398
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1399
1399
|
return {
|
|
1400
1400
|
swrKey,
|
|
1401
1401
|
...query
|
|
@@ -1452,7 +1452,7 @@ var useCancelJob = (jobId, options) => {
|
|
|
1452
1452
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1453
1453
|
const swrKey = swrOptions?.swrKey ?? getCancelJobMutationKey(jobId);
|
|
1454
1454
|
const swrFn = getCancelJobMutationFetcher(jobId, requestOptions);
|
|
1455
|
-
const query =
|
|
1455
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1456
1456
|
return {
|
|
1457
1457
|
swrKey,
|
|
1458
1458
|
...query
|
|
@@ -1504,7 +1504,7 @@ var useCreateTool = (options) => {
|
|
|
1504
1504
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1505
1505
|
const swrKey = swrOptions?.swrKey ?? getCreateToolMutationKey();
|
|
1506
1506
|
const swrFn = getCreateToolMutationFetcher(requestOptions);
|
|
1507
|
-
const query =
|
|
1507
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1508
1508
|
return {
|
|
1509
1509
|
swrKey,
|
|
1510
1510
|
...query
|
|
@@ -1563,7 +1563,7 @@ var useExecuteCode = (id, options) => {
|
|
|
1563
1563
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1564
1564
|
const swrKey = swrOptions?.swrKey ?? getExecuteCodeMutationKey(id);
|
|
1565
1565
|
const swrFn = getExecuteCodeMutationFetcher(id, requestOptions);
|
|
1566
|
-
const query =
|
|
1566
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1567
1567
|
return {
|
|
1568
1568
|
swrKey,
|
|
1569
1569
|
...query
|
|
@@ -1615,7 +1615,7 @@ var useUpdateTool = (id, options) => {
|
|
|
1615
1615
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1616
1616
|
const swrKey = swrOptions?.swrKey ?? getUpdateToolMutationKey(id);
|
|
1617
1617
|
const swrFn = getUpdateToolMutationFetcher(id, requestOptions);
|
|
1618
|
-
const query =
|
|
1618
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1619
1619
|
return {
|
|
1620
1620
|
swrKey,
|
|
1621
1621
|
...query
|
|
@@ -1674,7 +1674,7 @@ var useCreateVoiceAgent = (options) => {
|
|
|
1674
1674
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1675
1675
|
const swrKey = swrOptions?.swrKey ?? getCreateVoiceAgentMutationKey();
|
|
1676
1676
|
const swrFn = getCreateVoiceAgentMutationFetcher(requestOptions);
|
|
1677
|
-
const query =
|
|
1677
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1678
1678
|
return {
|
|
1679
1679
|
swrKey,
|
|
1680
1680
|
...query
|
|
@@ -1732,7 +1732,7 @@ var useAddToolsToVoiceAgent = (voiceAgentId, options) => {
|
|
|
1732
1732
|
voiceAgentId,
|
|
1733
1733
|
requestOptions
|
|
1734
1734
|
);
|
|
1735
|
-
const query =
|
|
1735
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1736
1736
|
return {
|
|
1737
1737
|
swrKey,
|
|
1738
1738
|
...query
|
|
@@ -1765,7 +1765,7 @@ var useDeleteToolsFromVoiceAgent = (voiceAgentId, options) => {
|
|
|
1765
1765
|
voiceAgentId,
|
|
1766
1766
|
requestOptions
|
|
1767
1767
|
);
|
|
1768
|
-
const query =
|
|
1768
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1769
1769
|
return {
|
|
1770
1770
|
swrKey,
|
|
1771
1771
|
...query
|
|
@@ -1826,7 +1826,7 @@ var useUpdateVoiceAgentModels = (voiceAgentId, options) => {
|
|
|
1826
1826
|
voiceAgentId,
|
|
1827
1827
|
requestOptions
|
|
1828
1828
|
);
|
|
1829
|
-
const query =
|
|
1829
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1830
1830
|
return {
|
|
1831
1831
|
swrKey,
|
|
1832
1832
|
...query
|
|
@@ -1859,7 +1859,59 @@ var useUpdateCallControls = (voiceAgentId, options) => {
|
|
|
1859
1859
|
voiceAgentId,
|
|
1860
1860
|
requestOptions
|
|
1861
1861
|
);
|
|
1862
|
-
const query =
|
|
1862
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1863
|
+
return {
|
|
1864
|
+
swrKey,
|
|
1865
|
+
...query
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
var getCreateWorkerWebhookUrl = (workerId) => {
|
|
1869
|
+
return `/v1/workers/${workerId}/webhooks`;
|
|
1870
|
+
};
|
|
1871
|
+
var createWorkerWebhook = async (workerId, createWorkerWebhookBody, options) => {
|
|
1872
|
+
return customFetch(getCreateWorkerWebhookUrl(workerId), {
|
|
1873
|
+
...options,
|
|
1874
|
+
method: "POST",
|
|
1875
|
+
headers: { "Content-Type": "application/json", ...options?.headers },
|
|
1876
|
+
body: JSON.stringify(createWorkerWebhookBody)
|
|
1877
|
+
});
|
|
1878
|
+
};
|
|
1879
|
+
var getCreateWorkerWebhookMutationFetcher = (workerId, options) => {
|
|
1880
|
+
return (_, { arg }) => {
|
|
1881
|
+
return createWorkerWebhook(workerId, arg, options);
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1884
|
+
var getCreateWorkerWebhookMutationKey = (workerId) => [`/v1/workers/${workerId}/webhooks`];
|
|
1885
|
+
var useCreateWorkerWebhook = (workerId, options) => {
|
|
1886
|
+
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1887
|
+
const swrKey = swrOptions?.swrKey ?? getCreateWorkerWebhookMutationKey(workerId);
|
|
1888
|
+
const swrFn = getCreateWorkerWebhookMutationFetcher(workerId, requestOptions);
|
|
1889
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1890
|
+
return {
|
|
1891
|
+
swrKey,
|
|
1892
|
+
...query
|
|
1893
|
+
};
|
|
1894
|
+
};
|
|
1895
|
+
var getListWorkerWebhooksUrl = (workerId) => {
|
|
1896
|
+
return `/v1/workers/${workerId}/webhooks`;
|
|
1897
|
+
};
|
|
1898
|
+
var listWorkerWebhooks = async (workerId, options) => {
|
|
1899
|
+
return customFetch(getListWorkerWebhooksUrl(workerId), {
|
|
1900
|
+
...options,
|
|
1901
|
+
method: "GET"
|
|
1902
|
+
});
|
|
1903
|
+
};
|
|
1904
|
+
var getListWorkerWebhooksKey = (workerId) => [`/v1/workers/${workerId}/webhooks`];
|
|
1905
|
+
var useListWorkerWebhooks = (workerId, options) => {
|
|
1906
|
+
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1907
|
+
const isEnabled = swrOptions?.enabled !== false && !!workerId;
|
|
1908
|
+
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWorkerWebhooksKey(workerId) : null);
|
|
1909
|
+
const swrFn = () => listWorkerWebhooks(workerId, requestOptions);
|
|
1910
|
+
const query = useSwr16(
|
|
1911
|
+
swrKey,
|
|
1912
|
+
swrFn,
|
|
1913
|
+
swrOptions
|
|
1914
|
+
);
|
|
1863
1915
|
return {
|
|
1864
1916
|
swrKey,
|
|
1865
1917
|
...query
|
|
@@ -1889,7 +1941,7 @@ var useCreateAgentWebhook = (voiceAgentId, options) => {
|
|
|
1889
1941
|
voiceAgentId,
|
|
1890
1942
|
requestOptions
|
|
1891
1943
|
);
|
|
1892
|
-
const query =
|
|
1944
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1893
1945
|
return {
|
|
1894
1946
|
swrKey,
|
|
1895
1947
|
...query
|
|
@@ -1944,7 +1996,7 @@ var useCreateInboxWebhook = (inboxId, options) => {
|
|
|
1944
1996
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1945
1997
|
const swrKey = swrOptions?.swrKey ?? getCreateInboxWebhookMutationKey(inboxId);
|
|
1946
1998
|
const swrFn = getCreateInboxWebhookMutationFetcher(inboxId, requestOptions);
|
|
1947
|
-
const query =
|
|
1999
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
1948
2000
|
return {
|
|
1949
2001
|
swrKey,
|
|
1950
2002
|
...query
|
|
@@ -1996,7 +2048,7 @@ var useCreateExtractorWebhook = (id, options) => {
|
|
|
1996
2048
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
1997
2049
|
const swrKey = swrOptions?.swrKey ?? getCreateExtractorWebhookMutationKey(id);
|
|
1998
2050
|
const swrFn = getCreateExtractorWebhookMutationFetcher(id, requestOptions);
|
|
1999
|
-
const query =
|
|
2051
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
2000
2052
|
return {
|
|
2001
2053
|
swrKey,
|
|
2002
2054
|
...query
|
|
@@ -2046,7 +2098,7 @@ var useDeleteWebhook = (id, options) => {
|
|
|
2046
2098
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
2047
2099
|
const swrKey = swrOptions?.swrKey ?? getDeleteWebhookMutationKey(id);
|
|
2048
2100
|
const swrFn = getDeleteWebhookMutationFetcher(id, requestOptions);
|
|
2049
|
-
const query =
|
|
2101
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
2050
2102
|
return {
|
|
2051
2103
|
swrKey,
|
|
2052
2104
|
...query
|
|
@@ -2131,7 +2183,7 @@ var useTestWebhook = (id, options) => {
|
|
|
2131
2183
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
2132
2184
|
const swrKey = swrOptions?.swrKey ?? getTestWebhookMutationKey(id);
|
|
2133
2185
|
const swrFn = getTestWebhookMutationFetcher(id, requestOptions);
|
|
2134
|
-
const query =
|
|
2186
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
2135
2187
|
return {
|
|
2136
2188
|
swrKey,
|
|
2137
2189
|
...query
|
|
@@ -2158,7 +2210,7 @@ var useCreateWorker = (options) => {
|
|
|
2158
2210
|
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
2159
2211
|
const swrKey = swrOptions?.swrKey ?? getCreateWorkerMutationKey();
|
|
2160
2212
|
const swrFn = getCreateWorkerMutationFetcher(requestOptions);
|
|
2161
|
-
const query =
|
|
2213
|
+
const query = useSWRMutation13(swrKey, swrFn, swrOptions);
|
|
2162
2214
|
return {
|
|
2163
2215
|
swrKey,
|
|
2164
2216
|
...query
|
|
@@ -2647,6 +2699,6 @@ var VoiceAgentTtsProvider = {
|
|
|
2647
2699
|
"aws-polly": "aws-polly"
|
|
2648
2700
|
};
|
|
2649
2701
|
|
|
2650
|
-
export { AvallonError, CallDetailDirection, CallDirection, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, CreateExtractorJobBodyExtractorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, EmailCreatedDirection, EmailDetailDirection, EmailDirection, ExtractorJobExtractorType, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListClaimsSortBy, ListClaimsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListInboxesSortBy, ListInboxesSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, ListWorkersSortBy, ListWorkersSortOrder, OutboundJobStatus, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, VoiceAgentLlmModel, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, 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, getCreateWorkerUrl, 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, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgenticJobMessagesKey, getListAgenticJobMessagesUrl, 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, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, 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, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, listAgentWebhooks, listAgenticJobMessages, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkers, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useListAgentWebhooks, useListAgenticJobMessages, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkers, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };
|
|
2702
|
+
export { AvallonError, CallDetailDirection, CallDirection, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, CreateExtractorJobBodyExtractorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, EmailCreatedDirection, EmailDetailDirection, EmailDirection, ExtractorJobExtractorType, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListClaimsSortBy, ListClaimsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsExtractorType, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListInboxesSortBy, ListInboxesSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, ListWorkersSortBy, ListWorkersSortOrder, OutboundJobStatus, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, VoiceAgentLlmModel, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, addToolsToVoiceAgent, cancelExtractorJob, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelExtractorJobMutationFetcher, getCancelExtractorJobMutationKey, getCancelExtractorJobUrl, 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, 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, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListAgenticJobMessagesKey, getListAgenticJobMessagesUrl, 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, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, 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, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPrompt, getWebhook, getWorker, listAgentWebhooks, listAgenticJobMessages, listApiKeys, listArtifacts, listCallFeedback, listCalls, listClaims, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerWebhooks, listWorkers, refreshToken, revokeApiKey, scheduleJob, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateExtractor, updateExtractorJobScope, updateInbox, updateTool, updateVoiceAgentModels, uploadFile, useAddToolsToVoiceAgent, useCancelExtractorJob, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, 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, useListAgentWebhooks, useListAgenticJobMessages, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListClaims, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerWebhooks, useListWorkers, useRefreshToken, useRevokeApiKey, useScheduleJob, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateExtractor, useUpdateExtractorJobScope, useUpdateInbox, useUpdateTool, useUpdateVoiceAgentModels, useUploadFile };
|
|
2651
2703
|
//# sourceMappingURL=index.js.map
|
|
2652
2704
|
//# sourceMappingURL=index.js.map
|