mitra-interactions-sdk 1.0.58-beta.7 → 1.0.58-beta.9

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.mts CHANGED
@@ -536,10 +536,6 @@ interface AgentMessage {
536
536
  createdAt: string;
537
537
  metadata?: Record<string, unknown> | null;
538
538
  }
539
- interface GetAgentChatsOptions {
540
- /** Sobrescreve o projectId configurado globalmente. */
541
- projectId?: number;
542
- }
543
539
  type ChatManageAction = 'list' | 'rename' | 'delete';
544
540
  interface ManageAgentChatListOptions {
545
541
  action: 'list';
@@ -586,7 +582,7 @@ interface GetAgentTaskOpenOptions {
586
582
  taskId: string;
587
583
  }
588
584
  type GetAgentTaskOptions = GetAgentTaskCreateOptions | GetAgentTaskOpenOptions;
589
- type AgentTaskStatus = 'opening' | 'idle' | 'streaming' | 'cancelled' | 'error' | 'closed';
585
+ type AgentTaskStatus = 'opening' | 'idle' | 'uploading' | 'streaming' | 'cancelled' | 'error' | 'closed';
590
586
  interface QueuedItem {
591
587
  id: string;
592
588
  text: string;
@@ -596,6 +592,26 @@ interface QueuedItem {
596
592
  status: 'pending' | 'sending';
597
593
  injected?: boolean;
598
594
  }
595
+ /** Tipo de arquivo de um anexo (espelha o pipeline do backend). */
596
+ type AgentAttachmentType = 'image' | 'pdf' | 'csv' | 'excel' | 'word' | 'powerpoint' | 'text' | 'code' | 'json' | 'zip' | 'audio' | 'unknown';
597
+ /**
598
+ * Anexo enviado junto com um prompt. O arquivo precisa estar hospedado numa
599
+ * URL pública (use uploadFilePublicMitra pra obter). O backend baixa, valida,
600
+ * transforma (comprime imagem, extrai texto de pdf/docx/xlsx...) e escreve no
601
+ * sandbox antes de rodar o agente.
602
+ */
603
+ interface AgentAttachment {
604
+ /** URL pública do arquivo (ex: retorno de uploadFilePublicMitra). */
605
+ url: string;
606
+ /** Nome do arquivo (ex: 'planilha.xlsx'). */
607
+ name: string;
608
+ /** Tipo do arquivo. */
609
+ type: AgentAttachmentType;
610
+ /** MIME type (ex: 'image/png'). */
611
+ mimeType: string;
612
+ /** Tamanho em bytes. */
613
+ size: number;
614
+ }
599
615
  interface SendOptions {
600
616
  agentType?: AgentType;
601
617
  /**
@@ -604,6 +620,13 @@ interface SendOptions {
604
620
  * default da session. Se omitido, usa o default da session / agentType.
605
621
  */
606
622
  modelId?: string;
623
+ /**
624
+ * Arquivos anexados ao prompt. A SDK detecta o tipo, sobe cada um (URL pública)
625
+ * e monta os anexos — o consumidor só passa os File (do drop/input). O upload
626
+ * acontece no send (status muda pra 'uploading'); falha de upload sai pelo
627
+ * evento 'error'. Mesmo comportamento do chat do mitra-nuxt.
628
+ */
629
+ files?: File[];
607
630
  }
608
631
  interface AgentDeltaEvent {
609
632
  delta: string;
@@ -873,7 +896,6 @@ interface MitraInstance {
873
896
  sendPasswordResetCode(options: SendPasswordResetCodeOptions): Promise<Record<string, unknown>>;
874
897
  validatePasswordResetCode(options: ValidatePasswordResetCodeOptions): Promise<Record<string, unknown>>;
875
898
  resetPassword(options: ResetPasswordOptions): Promise<Record<string, unknown>>;
876
- getAgentChats(options?: GetAgentChatsOptions): Promise<AgentChat[]>;
877
899
  getAgentTask(options: GetAgentTaskOptions): AgentTaskSession;
878
900
  manageAgentChat(options: ManageAgentChatOptions): Promise<unknown>;
879
901
  manageAgentCredential(options: ManageAgentCredentialOptions | ConnectAgentCredentialOptions): Promise<unknown>;
@@ -1009,7 +1031,7 @@ declare function resetPasswordMitra(options: ResetPasswordOptions): Promise<Reco
1009
1031
  * Mitra Interactions SDK — Agent Chat
1010
1032
  *
1011
1033
  * Hub do WebSocket compartilhado e factories da API pública:
1012
- * - getAgentChatsMitra({ projectId? })
1034
+ * - manageAgentChatMitra({ action: 'list' | 'rename' | 'delete', ... })
1013
1035
  * - getAgentTaskMitra({ create | taskId, ... })
1014
1036
  *
1015
1037
  * O WS é singleton: todas as sessions usam UMA conexão. O roteamento
@@ -1031,11 +1053,6 @@ declare function resetPasswordMitra(options: ResetPasswordOptions): Promise<Reco
1031
1053
  declare function manageAgentChatMitra(options: ManageAgentChatListOptions): Promise<AgentChat[]>;
1032
1054
  declare function manageAgentChatMitra(options: ManageAgentChatRenameOptions): Promise<RenameAgentChatResult>;
1033
1055
  declare function manageAgentChatMitra(options: ManageAgentChatDeleteOptions): Promise<DeleteAgentChatResult>;
1034
- /**
1035
- * Lista chats do user para um projeto. Alias fino de
1036
- * manageAgentChatMitra({ action: 'list' }).
1037
- */
1038
- declare function getAgentChatsMitra(options?: GetAgentChatsOptions): Promise<AgentChat[]>;
1039
1056
  /**
1040
1057
  * Abre um handle de chat (session). Use:
1041
1058
  * - `{ create: true }` para iniciar um chat novo
@@ -1256,4 +1273,4 @@ declare function setProfileScreensMitra(options: SetProfileScreensOptions): Prom
1256
1273
  */
1257
1274
  declare function setProfileServerFunctionsMitra(options: SetProfileServerFunctionsOptions): Promise<SetProfilePermissionResponse>;
1258
1275
 
1259
- export { type AgentApiKeyTarget, type AgentAuthMeta, type AgentChat, type AgentDeltaEvent, type AgentErrorEvent, type AgentMessage, type AgentModelGroup, type AgentModelOption, type AgentProviderListItem, type AgentQueueChangeEvent, type AgentStatusChangeEvent, type AgentSubscriptionAccount, type AgentSubscriptionTarget, type AgentTaskCreatedEvent, type AgentTaskEventMap, type AgentTaskEventName, type AgentTaskSession, type AgentTaskStatus, type AgentToolEvent, type AgentTurnEndEvent, type AgentType, type AuthAgentCredentialOptions, type AuthAgentCredentialResult, type AuthClaudeResult, type AuthCodexResult, type AuthMethod, type CallIntegrationOptions, type CallIntegrationResponse, type ChatManageAction, type ConnectAgentCredentialOptions, type ConnectAgentSubscriptionResult, type ConnectableSubscriptionTarget, type CreateProfileOptions, type CreateProfileResponse, type CreateRecordOptions, type CreateRecordsBatchOptions, type CredentialAccessType, type CredentialAction, type CredentialTarget, type DeleteAgentChatResult, type DeleteProfileOptions, type DeleteProfileResponse, type DeleteRecordOptions, type EmailLoginOptions, type EmailResendCodeOptions, type EmailSignupOptions, type EmailVerifyCodeOptions, type ExecuteDataLoaderOptions, type ExecuteDataLoaderResponse, type ExecuteDbActionOptions, type ExecuteDbActionResponse, type ExecutePublicServerFunctionAsyncResponse, type ExecutePublicServerFunctionOptions, type ExecutePublicServerFunctionResponse, type ExecuteServerFunctionAsyncOptions, type ExecuteServerFunctionAsyncResponse, type ExecuteServerFunctionOptions, type ExecuteServerFunctionResponse, type GetAgentChatsOptions, type GetAgentTaskCreateOptions, type GetAgentTaskOpenOptions, type GetAgentTaskOptions, type GetProfileDetailsOptions, type GetProfileDetailsResponse, type GetPublicServerFunctionExecutionOptions, type GetPublicServerFunctionExecutionResponse, type GetRecordOptions, type GetVariableOptions, type GetVariableResponse, type IntegrationResponse, type ListAgentModelsResult, type ListAgentProvidersResult, type ListIntegrationsOptions, type ListProfilesOptions, type ListProfilesResponse, type ListRecordsOptions, type ListRecordsResponse, type ListVariablesOptions, type ListVariablesResponse, type LoginOptions, type LoginResponse, type ManageAgentChatDeleteOptions, type ManageAgentChatListOptions, type ManageAgentChatOptions, type ManageAgentChatRenameOptions, type ManageAgentCredentialOptions, type ManageAgentCredentialResult, type MitraConfig, type MitraInstance, type PatchRecordOptions, type ProfileTableRef, type QueuedItem, type RenameAgentChatResult, type ResetPasswordOptions, type RunActionOptions, type RunActionResponse, type SendOptions, type SendPasswordResetCodeOptions, type SetFileStatusOptions, type SetFileStatusResponse, type SetProfileActionsOptions, type SetProfileDmlTablesOptions, type SetProfilePermissionResponse, type SetProfileScreensOptions, type SetProfileSelectTablesOptions, type SetProfileServerFunctionsOptions, type SetProfileUsersOptions, type SetVariableOptions, type SetVariableResponse, type StopServerFunctionExecutionOptions, type StopServerFunctionExecutionResponse, type UpdateProfileOptions, type UpdateProfileResponse, type UpdateRecordOptions, type UploadFileOptions, type UploadFileResponse, type ValidatePasswordResetCodeOptions, callIntegrationMitra, closeChatMitra, configureSdkMitra, createMitraInstance, createProfileMitra, createRecordMitra, createRecordsBatchMitra, deleteProfileMitra, deleteRecordMitra, emailLoginMitra, emailResendCodeMitra, emailSignupMitra, emailVerifyCodeMitra, executeDataLoaderMitra, executeDbActionMitra, executePublicServerFunctionAsyncMitra, executePublicServerFunctionMitra, executeServerFunctionAsyncMitra, executeServerFunctionMitra, getAgentChatsMitra, getAgentTaskMitra, getConfig, getProfileDetailsMitra, getPublicServerFunctionExecutionMitra, getRecordMitra, getVariableMitra, listIntegrationsMitra, listProfilesMitra, listRecordsMitra, listVariablesMitra, loginMitra, loginWithEmailMitra, loginWithGoogleMitra, loginWithMicrosoftMitra, manageAgentChatMitra, manageAgentCredentialMitra, openChatMitra, patchRecordMitra, refreshTokenSilently, resetPasswordMitra, resolveProjectId, runActionMitra, sendPasswordResetCodeMitra, setFileStatusMitra, setProfileActionsMitra, setProfileDmlTablesMitra, setProfileScreensMitra, setProfileSelectTablesMitra, setProfileServerFunctionsMitra, setProfileUsersMitra, setVariableMitra, stopServerFunctionExecutionMitra, updateProfileMitra, updateRecordMitra, uploadFileLoadableMitra, uploadFilePublicMitra, validatePasswordResetCodeMitra };
1276
+ export { type AgentApiKeyTarget, type AgentAttachment, type AgentAttachmentType, type AgentAuthMeta, type AgentChat, type AgentDeltaEvent, type AgentErrorEvent, type AgentMessage, type AgentModelGroup, type AgentModelOption, type AgentProviderListItem, type AgentQueueChangeEvent, type AgentStatusChangeEvent, type AgentSubscriptionAccount, type AgentSubscriptionTarget, type AgentTaskCreatedEvent, type AgentTaskEventMap, type AgentTaskEventName, type AgentTaskSession, type AgentTaskStatus, type AgentToolEvent, type AgentTurnEndEvent, type AgentType, type AuthAgentCredentialOptions, type AuthAgentCredentialResult, type AuthClaudeResult, type AuthCodexResult, type AuthMethod, type CallIntegrationOptions, type CallIntegrationResponse, type ChatManageAction, type ConnectAgentCredentialOptions, type ConnectAgentSubscriptionResult, type ConnectableSubscriptionTarget, type CreateProfileOptions, type CreateProfileResponse, type CreateRecordOptions, type CreateRecordsBatchOptions, type CredentialAccessType, type CredentialAction, type CredentialTarget, type DeleteAgentChatResult, type DeleteProfileOptions, type DeleteProfileResponse, type DeleteRecordOptions, type EmailLoginOptions, type EmailResendCodeOptions, type EmailSignupOptions, type EmailVerifyCodeOptions, type ExecuteDataLoaderOptions, type ExecuteDataLoaderResponse, type ExecuteDbActionOptions, type ExecuteDbActionResponse, type ExecutePublicServerFunctionAsyncResponse, type ExecutePublicServerFunctionOptions, type ExecutePublicServerFunctionResponse, type ExecuteServerFunctionAsyncOptions, type ExecuteServerFunctionAsyncResponse, type ExecuteServerFunctionOptions, type ExecuteServerFunctionResponse, type GetAgentTaskCreateOptions, type GetAgentTaskOpenOptions, type GetAgentTaskOptions, type GetProfileDetailsOptions, type GetProfileDetailsResponse, type GetPublicServerFunctionExecutionOptions, type GetPublicServerFunctionExecutionResponse, type GetRecordOptions, type GetVariableOptions, type GetVariableResponse, type IntegrationResponse, type ListAgentModelsResult, type ListAgentProvidersResult, type ListIntegrationsOptions, type ListProfilesOptions, type ListProfilesResponse, type ListRecordsOptions, type ListRecordsResponse, type ListVariablesOptions, type ListVariablesResponse, type LoginOptions, type LoginResponse, type ManageAgentChatDeleteOptions, type ManageAgentChatListOptions, type ManageAgentChatOptions, type ManageAgentChatRenameOptions, type ManageAgentCredentialOptions, type ManageAgentCredentialResult, type MitraConfig, type MitraInstance, type PatchRecordOptions, type ProfileTableRef, type QueuedItem, type RenameAgentChatResult, type ResetPasswordOptions, type RunActionOptions, type RunActionResponse, type SendOptions, type SendPasswordResetCodeOptions, type SetFileStatusOptions, type SetFileStatusResponse, type SetProfileActionsOptions, type SetProfileDmlTablesOptions, type SetProfilePermissionResponse, type SetProfileScreensOptions, type SetProfileSelectTablesOptions, type SetProfileServerFunctionsOptions, type SetProfileUsersOptions, type SetVariableOptions, type SetVariableResponse, type StopServerFunctionExecutionOptions, type StopServerFunctionExecutionResponse, type UpdateProfileOptions, type UpdateProfileResponse, type UpdateRecordOptions, type UploadFileOptions, type UploadFileResponse, type ValidatePasswordResetCodeOptions, callIntegrationMitra, closeChatMitra, configureSdkMitra, createMitraInstance, createProfileMitra, createRecordMitra, createRecordsBatchMitra, deleteProfileMitra, deleteRecordMitra, emailLoginMitra, emailResendCodeMitra, emailSignupMitra, emailVerifyCodeMitra, executeDataLoaderMitra, executeDbActionMitra, executePublicServerFunctionAsyncMitra, executePublicServerFunctionMitra, executeServerFunctionAsyncMitra, executeServerFunctionMitra, getAgentTaskMitra, getConfig, getProfileDetailsMitra, getPublicServerFunctionExecutionMitra, getRecordMitra, getVariableMitra, listIntegrationsMitra, listProfilesMitra, listRecordsMitra, listVariablesMitra, loginMitra, loginWithEmailMitra, loginWithGoogleMitra, loginWithMicrosoftMitra, manageAgentChatMitra, manageAgentCredentialMitra, openChatMitra, patchRecordMitra, refreshTokenSilently, resetPasswordMitra, resolveProjectId, runActionMitra, sendPasswordResetCodeMitra, setFileStatusMitra, setProfileActionsMitra, setProfileDmlTablesMitra, setProfileScreensMitra, setProfileSelectTablesMitra, setProfileServerFunctionsMitra, setProfileUsersMitra, setVariableMitra, stopServerFunctionExecutionMitra, updateProfileMitra, updateRecordMitra, uploadFileLoadableMitra, uploadFilePublicMitra, validatePasswordResetCodeMitra };
package/dist/index.d.ts CHANGED
@@ -536,10 +536,6 @@ interface AgentMessage {
536
536
  createdAt: string;
537
537
  metadata?: Record<string, unknown> | null;
538
538
  }
539
- interface GetAgentChatsOptions {
540
- /** Sobrescreve o projectId configurado globalmente. */
541
- projectId?: number;
542
- }
543
539
  type ChatManageAction = 'list' | 'rename' | 'delete';
544
540
  interface ManageAgentChatListOptions {
545
541
  action: 'list';
@@ -586,7 +582,7 @@ interface GetAgentTaskOpenOptions {
586
582
  taskId: string;
587
583
  }
588
584
  type GetAgentTaskOptions = GetAgentTaskCreateOptions | GetAgentTaskOpenOptions;
589
- type AgentTaskStatus = 'opening' | 'idle' | 'streaming' | 'cancelled' | 'error' | 'closed';
585
+ type AgentTaskStatus = 'opening' | 'idle' | 'uploading' | 'streaming' | 'cancelled' | 'error' | 'closed';
590
586
  interface QueuedItem {
591
587
  id: string;
592
588
  text: string;
@@ -596,6 +592,26 @@ interface QueuedItem {
596
592
  status: 'pending' | 'sending';
597
593
  injected?: boolean;
598
594
  }
595
+ /** Tipo de arquivo de um anexo (espelha o pipeline do backend). */
596
+ type AgentAttachmentType = 'image' | 'pdf' | 'csv' | 'excel' | 'word' | 'powerpoint' | 'text' | 'code' | 'json' | 'zip' | 'audio' | 'unknown';
597
+ /**
598
+ * Anexo enviado junto com um prompt. O arquivo precisa estar hospedado numa
599
+ * URL pública (use uploadFilePublicMitra pra obter). O backend baixa, valida,
600
+ * transforma (comprime imagem, extrai texto de pdf/docx/xlsx...) e escreve no
601
+ * sandbox antes de rodar o agente.
602
+ */
603
+ interface AgentAttachment {
604
+ /** URL pública do arquivo (ex: retorno de uploadFilePublicMitra). */
605
+ url: string;
606
+ /** Nome do arquivo (ex: 'planilha.xlsx'). */
607
+ name: string;
608
+ /** Tipo do arquivo. */
609
+ type: AgentAttachmentType;
610
+ /** MIME type (ex: 'image/png'). */
611
+ mimeType: string;
612
+ /** Tamanho em bytes. */
613
+ size: number;
614
+ }
599
615
  interface SendOptions {
600
616
  agentType?: AgentType;
601
617
  /**
@@ -604,6 +620,13 @@ interface SendOptions {
604
620
  * default da session. Se omitido, usa o default da session / agentType.
605
621
  */
606
622
  modelId?: string;
623
+ /**
624
+ * Arquivos anexados ao prompt. A SDK detecta o tipo, sobe cada um (URL pública)
625
+ * e monta os anexos — o consumidor só passa os File (do drop/input). O upload
626
+ * acontece no send (status muda pra 'uploading'); falha de upload sai pelo
627
+ * evento 'error'. Mesmo comportamento do chat do mitra-nuxt.
628
+ */
629
+ files?: File[];
607
630
  }
608
631
  interface AgentDeltaEvent {
609
632
  delta: string;
@@ -873,7 +896,6 @@ interface MitraInstance {
873
896
  sendPasswordResetCode(options: SendPasswordResetCodeOptions): Promise<Record<string, unknown>>;
874
897
  validatePasswordResetCode(options: ValidatePasswordResetCodeOptions): Promise<Record<string, unknown>>;
875
898
  resetPassword(options: ResetPasswordOptions): Promise<Record<string, unknown>>;
876
- getAgentChats(options?: GetAgentChatsOptions): Promise<AgentChat[]>;
877
899
  getAgentTask(options: GetAgentTaskOptions): AgentTaskSession;
878
900
  manageAgentChat(options: ManageAgentChatOptions): Promise<unknown>;
879
901
  manageAgentCredential(options: ManageAgentCredentialOptions | ConnectAgentCredentialOptions): Promise<unknown>;
@@ -1009,7 +1031,7 @@ declare function resetPasswordMitra(options: ResetPasswordOptions): Promise<Reco
1009
1031
  * Mitra Interactions SDK — Agent Chat
1010
1032
  *
1011
1033
  * Hub do WebSocket compartilhado e factories da API pública:
1012
- * - getAgentChatsMitra({ projectId? })
1034
+ * - manageAgentChatMitra({ action: 'list' | 'rename' | 'delete', ... })
1013
1035
  * - getAgentTaskMitra({ create | taskId, ... })
1014
1036
  *
1015
1037
  * O WS é singleton: todas as sessions usam UMA conexão. O roteamento
@@ -1031,11 +1053,6 @@ declare function resetPasswordMitra(options: ResetPasswordOptions): Promise<Reco
1031
1053
  declare function manageAgentChatMitra(options: ManageAgentChatListOptions): Promise<AgentChat[]>;
1032
1054
  declare function manageAgentChatMitra(options: ManageAgentChatRenameOptions): Promise<RenameAgentChatResult>;
1033
1055
  declare function manageAgentChatMitra(options: ManageAgentChatDeleteOptions): Promise<DeleteAgentChatResult>;
1034
- /**
1035
- * Lista chats do user para um projeto. Alias fino de
1036
- * manageAgentChatMitra({ action: 'list' }).
1037
- */
1038
- declare function getAgentChatsMitra(options?: GetAgentChatsOptions): Promise<AgentChat[]>;
1039
1056
  /**
1040
1057
  * Abre um handle de chat (session). Use:
1041
1058
  * - `{ create: true }` para iniciar um chat novo
@@ -1256,4 +1273,4 @@ declare function setProfileScreensMitra(options: SetProfileScreensOptions): Prom
1256
1273
  */
1257
1274
  declare function setProfileServerFunctionsMitra(options: SetProfileServerFunctionsOptions): Promise<SetProfilePermissionResponse>;
1258
1275
 
1259
- export { type AgentApiKeyTarget, type AgentAuthMeta, type AgentChat, type AgentDeltaEvent, type AgentErrorEvent, type AgentMessage, type AgentModelGroup, type AgentModelOption, type AgentProviderListItem, type AgentQueueChangeEvent, type AgentStatusChangeEvent, type AgentSubscriptionAccount, type AgentSubscriptionTarget, type AgentTaskCreatedEvent, type AgentTaskEventMap, type AgentTaskEventName, type AgentTaskSession, type AgentTaskStatus, type AgentToolEvent, type AgentTurnEndEvent, type AgentType, type AuthAgentCredentialOptions, type AuthAgentCredentialResult, type AuthClaudeResult, type AuthCodexResult, type AuthMethod, type CallIntegrationOptions, type CallIntegrationResponse, type ChatManageAction, type ConnectAgentCredentialOptions, type ConnectAgentSubscriptionResult, type ConnectableSubscriptionTarget, type CreateProfileOptions, type CreateProfileResponse, type CreateRecordOptions, type CreateRecordsBatchOptions, type CredentialAccessType, type CredentialAction, type CredentialTarget, type DeleteAgentChatResult, type DeleteProfileOptions, type DeleteProfileResponse, type DeleteRecordOptions, type EmailLoginOptions, type EmailResendCodeOptions, type EmailSignupOptions, type EmailVerifyCodeOptions, type ExecuteDataLoaderOptions, type ExecuteDataLoaderResponse, type ExecuteDbActionOptions, type ExecuteDbActionResponse, type ExecutePublicServerFunctionAsyncResponse, type ExecutePublicServerFunctionOptions, type ExecutePublicServerFunctionResponse, type ExecuteServerFunctionAsyncOptions, type ExecuteServerFunctionAsyncResponse, type ExecuteServerFunctionOptions, type ExecuteServerFunctionResponse, type GetAgentChatsOptions, type GetAgentTaskCreateOptions, type GetAgentTaskOpenOptions, type GetAgentTaskOptions, type GetProfileDetailsOptions, type GetProfileDetailsResponse, type GetPublicServerFunctionExecutionOptions, type GetPublicServerFunctionExecutionResponse, type GetRecordOptions, type GetVariableOptions, type GetVariableResponse, type IntegrationResponse, type ListAgentModelsResult, type ListAgentProvidersResult, type ListIntegrationsOptions, type ListProfilesOptions, type ListProfilesResponse, type ListRecordsOptions, type ListRecordsResponse, type ListVariablesOptions, type ListVariablesResponse, type LoginOptions, type LoginResponse, type ManageAgentChatDeleteOptions, type ManageAgentChatListOptions, type ManageAgentChatOptions, type ManageAgentChatRenameOptions, type ManageAgentCredentialOptions, type ManageAgentCredentialResult, type MitraConfig, type MitraInstance, type PatchRecordOptions, type ProfileTableRef, type QueuedItem, type RenameAgentChatResult, type ResetPasswordOptions, type RunActionOptions, type RunActionResponse, type SendOptions, type SendPasswordResetCodeOptions, type SetFileStatusOptions, type SetFileStatusResponse, type SetProfileActionsOptions, type SetProfileDmlTablesOptions, type SetProfilePermissionResponse, type SetProfileScreensOptions, type SetProfileSelectTablesOptions, type SetProfileServerFunctionsOptions, type SetProfileUsersOptions, type SetVariableOptions, type SetVariableResponse, type StopServerFunctionExecutionOptions, type StopServerFunctionExecutionResponse, type UpdateProfileOptions, type UpdateProfileResponse, type UpdateRecordOptions, type UploadFileOptions, type UploadFileResponse, type ValidatePasswordResetCodeOptions, callIntegrationMitra, closeChatMitra, configureSdkMitra, createMitraInstance, createProfileMitra, createRecordMitra, createRecordsBatchMitra, deleteProfileMitra, deleteRecordMitra, emailLoginMitra, emailResendCodeMitra, emailSignupMitra, emailVerifyCodeMitra, executeDataLoaderMitra, executeDbActionMitra, executePublicServerFunctionAsyncMitra, executePublicServerFunctionMitra, executeServerFunctionAsyncMitra, executeServerFunctionMitra, getAgentChatsMitra, getAgentTaskMitra, getConfig, getProfileDetailsMitra, getPublicServerFunctionExecutionMitra, getRecordMitra, getVariableMitra, listIntegrationsMitra, listProfilesMitra, listRecordsMitra, listVariablesMitra, loginMitra, loginWithEmailMitra, loginWithGoogleMitra, loginWithMicrosoftMitra, manageAgentChatMitra, manageAgentCredentialMitra, openChatMitra, patchRecordMitra, refreshTokenSilently, resetPasswordMitra, resolveProjectId, runActionMitra, sendPasswordResetCodeMitra, setFileStatusMitra, setProfileActionsMitra, setProfileDmlTablesMitra, setProfileScreensMitra, setProfileSelectTablesMitra, setProfileServerFunctionsMitra, setProfileUsersMitra, setVariableMitra, stopServerFunctionExecutionMitra, updateProfileMitra, updateRecordMitra, uploadFileLoadableMitra, uploadFilePublicMitra, validatePasswordResetCodeMitra };
1276
+ export { type AgentApiKeyTarget, type AgentAttachment, type AgentAttachmentType, type AgentAuthMeta, type AgentChat, type AgentDeltaEvent, type AgentErrorEvent, type AgentMessage, type AgentModelGroup, type AgentModelOption, type AgentProviderListItem, type AgentQueueChangeEvent, type AgentStatusChangeEvent, type AgentSubscriptionAccount, type AgentSubscriptionTarget, type AgentTaskCreatedEvent, type AgentTaskEventMap, type AgentTaskEventName, type AgentTaskSession, type AgentTaskStatus, type AgentToolEvent, type AgentTurnEndEvent, type AgentType, type AuthAgentCredentialOptions, type AuthAgentCredentialResult, type AuthClaudeResult, type AuthCodexResult, type AuthMethod, type CallIntegrationOptions, type CallIntegrationResponse, type ChatManageAction, type ConnectAgentCredentialOptions, type ConnectAgentSubscriptionResult, type ConnectableSubscriptionTarget, type CreateProfileOptions, type CreateProfileResponse, type CreateRecordOptions, type CreateRecordsBatchOptions, type CredentialAccessType, type CredentialAction, type CredentialTarget, type DeleteAgentChatResult, type DeleteProfileOptions, type DeleteProfileResponse, type DeleteRecordOptions, type EmailLoginOptions, type EmailResendCodeOptions, type EmailSignupOptions, type EmailVerifyCodeOptions, type ExecuteDataLoaderOptions, type ExecuteDataLoaderResponse, type ExecuteDbActionOptions, type ExecuteDbActionResponse, type ExecutePublicServerFunctionAsyncResponse, type ExecutePublicServerFunctionOptions, type ExecutePublicServerFunctionResponse, type ExecuteServerFunctionAsyncOptions, type ExecuteServerFunctionAsyncResponse, type ExecuteServerFunctionOptions, type ExecuteServerFunctionResponse, type GetAgentTaskCreateOptions, type GetAgentTaskOpenOptions, type GetAgentTaskOptions, type GetProfileDetailsOptions, type GetProfileDetailsResponse, type GetPublicServerFunctionExecutionOptions, type GetPublicServerFunctionExecutionResponse, type GetRecordOptions, type GetVariableOptions, type GetVariableResponse, type IntegrationResponse, type ListAgentModelsResult, type ListAgentProvidersResult, type ListIntegrationsOptions, type ListProfilesOptions, type ListProfilesResponse, type ListRecordsOptions, type ListRecordsResponse, type ListVariablesOptions, type ListVariablesResponse, type LoginOptions, type LoginResponse, type ManageAgentChatDeleteOptions, type ManageAgentChatListOptions, type ManageAgentChatOptions, type ManageAgentChatRenameOptions, type ManageAgentCredentialOptions, type ManageAgentCredentialResult, type MitraConfig, type MitraInstance, type PatchRecordOptions, type ProfileTableRef, type QueuedItem, type RenameAgentChatResult, type ResetPasswordOptions, type RunActionOptions, type RunActionResponse, type SendOptions, type SendPasswordResetCodeOptions, type SetFileStatusOptions, type SetFileStatusResponse, type SetProfileActionsOptions, type SetProfileDmlTablesOptions, type SetProfilePermissionResponse, type SetProfileScreensOptions, type SetProfileSelectTablesOptions, type SetProfileServerFunctionsOptions, type SetProfileUsersOptions, type SetVariableOptions, type SetVariableResponse, type StopServerFunctionExecutionOptions, type StopServerFunctionExecutionResponse, type UpdateProfileOptions, type UpdateProfileResponse, type UpdateRecordOptions, type UploadFileOptions, type UploadFileResponse, type ValidatePasswordResetCodeOptions, callIntegrationMitra, closeChatMitra, configureSdkMitra, createMitraInstance, createProfileMitra, createRecordMitra, createRecordsBatchMitra, deleteProfileMitra, deleteRecordMitra, emailLoginMitra, emailResendCodeMitra, emailSignupMitra, emailVerifyCodeMitra, executeDataLoaderMitra, executeDbActionMitra, executePublicServerFunctionAsyncMitra, executePublicServerFunctionMitra, executeServerFunctionAsyncMitra, executeServerFunctionMitra, getAgentTaskMitra, getConfig, getProfileDetailsMitra, getPublicServerFunctionExecutionMitra, getRecordMitra, getVariableMitra, listIntegrationsMitra, listProfilesMitra, listRecordsMitra, listVariablesMitra, loginMitra, loginWithEmailMitra, loginWithGoogleMitra, loginWithMicrosoftMitra, manageAgentChatMitra, manageAgentCredentialMitra, openChatMitra, patchRecordMitra, refreshTokenSilently, resetPasswordMitra, resolveProjectId, runActionMitra, sendPasswordResetCodeMitra, setFileStatusMitra, setProfileActionsMitra, setProfileDmlTablesMitra, setProfileScreensMitra, setProfileSelectTablesMitra, setProfileServerFunctionsMitra, setProfileUsersMitra, setVariableMitra, stopServerFunctionExecutionMitra, updateProfileMitra, updateRecordMitra, uploadFileLoadableMitra, uploadFilePublicMitra, validatePasswordResetCodeMitra };