@vaiftech/client 1.0.7 → 1.0.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
@@ -5539,7 +5539,7 @@ type AIModelProvider = "openai" | "anthropic";
5539
5539
  /**
5540
5540
  * Generation types supported by the AI workspace
5541
5541
  */
5542
- type GenerationType = "schema" | "storage" | "functions" | "backend" | "fullstack";
5542
+ type GenerationType$1 = "schema" | "storage" | "functions" | "backend" | "fullstack";
5543
5543
  /**
5544
5544
  * Model capabilities
5545
5545
  */
@@ -5609,7 +5609,7 @@ interface WorkspaceTurn {
5609
5609
  reasoningContent?: string;
5610
5610
  outputContent?: string;
5611
5611
  generatedCode?: Record<string, string>;
5612
- clarificationQuestions?: ClarificationQuestion[];
5612
+ clarificationQuestions?: ClarificationQuestion$1[];
5613
5613
  clarificationResponses?: ClarificationResponses;
5614
5614
  inputTokens: number;
5615
5615
  outputTokens: number;
@@ -5677,7 +5677,7 @@ type ClarificationCategory = "architecture" | "features" | "data_model" | "auth"
5677
5677
  /**
5678
5678
  * A clarification question
5679
5679
  */
5680
- interface ClarificationQuestion {
5680
+ interface ClarificationQuestion$1 {
5681
5681
  id: string;
5682
5682
  question: string;
5683
5683
  type: ClarificationQuestionType;
@@ -5712,7 +5712,7 @@ interface ExtractedRequirements {
5712
5712
  interface ClarificationAnalysisResult {
5713
5713
  needsClarification: boolean;
5714
5714
  confidence: "low" | "medium" | "high";
5715
- questions: ClarificationQuestion[];
5715
+ questions: ClarificationQuestion$1[];
5716
5716
  extractedRequirements: ExtractedRequirements;
5717
5717
  suggestedApproach?: string;
5718
5718
  }
@@ -5722,7 +5722,7 @@ interface ClarificationAnalysisResult {
5722
5722
  interface SubmitPromptResult {
5723
5723
  turn: WorkspaceTurn;
5724
5724
  needsClarification: boolean;
5725
- questions: ClarificationQuestion[];
5725
+ questions: ClarificationQuestion$1[];
5726
5726
  suggestedApproach?: string;
5727
5727
  extractedRequirements: ExtractedRequirements;
5728
5728
  }
@@ -6079,7 +6079,7 @@ interface AIModule {
6079
6079
  */
6080
6080
  getSuggestions(input: {
6081
6081
  projectId: string;
6082
- generationTypes: GenerationType[];
6082
+ generationTypes: GenerationType$1[];
6083
6083
  }): Promise<{
6084
6084
  suggestions: string[];
6085
6085
  }>;
@@ -6199,6 +6199,59 @@ interface AIModule {
6199
6199
  role: string;
6200
6200
  }>;
6201
6201
  }>;
6202
+ /**
6203
+ * Get project limits for an organization based on their plan
6204
+ */
6205
+ getProjectLimits(orgId: string): Promise<{
6206
+ ok: boolean;
6207
+ plan: string;
6208
+ projectsMax: number;
6209
+ projectsCurrent: number;
6210
+ canCreateMore: boolean;
6211
+ upgradeRequired: boolean;
6212
+ }>;
6213
+ /**
6214
+ * Create a new project with AI-generated schema
6215
+ */
6216
+ createProjectWithSchema(input: {
6217
+ orgId: string;
6218
+ projectName: string;
6219
+ schema: {
6220
+ schemaVersion: "1.0";
6221
+ tables: Array<{
6222
+ name: string;
6223
+ columns: Array<{
6224
+ name: string;
6225
+ type: string;
6226
+ primaryKey?: boolean;
6227
+ unique?: boolean;
6228
+ nullable?: boolean;
6229
+ default?: string;
6230
+ }>;
6231
+ indexes?: Array<{
6232
+ name: string;
6233
+ columns: string[];
6234
+ unique?: boolean;
6235
+ }>;
6236
+ }>;
6237
+ };
6238
+ }): Promise<{
6239
+ ok: boolean;
6240
+ project: {
6241
+ id: string;
6242
+ name: string;
6243
+ orgId: string;
6244
+ slug: string;
6245
+ createdAt: string;
6246
+ };
6247
+ schema: {
6248
+ tableCount: number;
6249
+ columnCount: number;
6250
+ };
6251
+ creditsUsed: number;
6252
+ applySchemaUrl: string;
6253
+ message: string;
6254
+ }>;
6202
6255
  }
6203
6256
 
6204
6257
  /**
@@ -7392,6 +7445,307 @@ interface MongoDBModule {
7392
7445
  command<R = unknown>(command: Record<string, unknown>): Promise<R>;
7393
7446
  }
7394
7447
 
7448
+ /**
7449
+ * Copilot intent categories
7450
+ */
7451
+ type CopilotIntentCategory = "generation" | "modification" | "optimization" | "integration" | "query" | "conversation";
7452
+ /**
7453
+ * Generation types supported by Copilot
7454
+ */
7455
+ type GenerationType = "schema" | "storage" | "functions" | "backend" | "fullstack";
7456
+ /**
7457
+ * Classification methods
7458
+ */
7459
+ type ClassificationMethod = "ai" | "pattern" | "hybrid";
7460
+ /**
7461
+ * Extracted entity from a prompt
7462
+ */
7463
+ interface ExtractedEntity {
7464
+ type: "table" | "field" | "function" | "service" | "feature" | "value";
7465
+ value: string;
7466
+ span?: {
7467
+ start: number;
7468
+ end: number;
7469
+ };
7470
+ confidence?: number;
7471
+ context?: string;
7472
+ relationships?: Array<{
7473
+ relatedEntity: string;
7474
+ relationshipType: string;
7475
+ }>;
7476
+ aiExtracted?: boolean;
7477
+ }
7478
+ /**
7479
+ * Clarification question
7480
+ */
7481
+ interface ClarificationQuestion {
7482
+ id: string;
7483
+ question: string;
7484
+ type: "choice" | "text" | "confirm" | "multi-select";
7485
+ options?: Array<{
7486
+ value: string;
7487
+ label: string;
7488
+ description?: string;
7489
+ }>;
7490
+ required: boolean;
7491
+ }
7492
+ /**
7493
+ * Plan step
7494
+ */
7495
+ interface CopilotPlanStep {
7496
+ id: string;
7497
+ templateId?: string;
7498
+ name?: string;
7499
+ description: string;
7500
+ generationType?: GenerationType;
7501
+ dependencies?: string[];
7502
+ order?: number;
7503
+ estimatedTokens: number;
7504
+ estimatedCredits?: number;
7505
+ canParallelize?: boolean;
7506
+ status?: "pending" | "in_progress" | "completed" | "failed" | "skipped";
7507
+ entityFocus?: string[];
7508
+ }
7509
+ /**
7510
+ * Copilot execution plan
7511
+ */
7512
+ interface CopilotPlan {
7513
+ id: string;
7514
+ intent: string;
7515
+ confidence?: number;
7516
+ description?: string;
7517
+ steps: CopilotPlanStep[];
7518
+ parallelGroups?: string[][];
7519
+ estimatedTokens: number;
7520
+ estimatedCredits: number;
7521
+ complexityMultiplier?: number;
7522
+ requiresClarification?: boolean;
7523
+ clarificationQuestions?: ClarificationQuestion[];
7524
+ status: "pending" | "pending_clarification" | "ready" | "in_progress" | "completed" | "failed" | "cancelled";
7525
+ aiGenerated?: boolean;
7526
+ entityMapping?: Record<string, string[]>;
7527
+ createdAt?: string;
7528
+ }
7529
+ /**
7530
+ * Copilot session
7531
+ */
7532
+ interface CopilotSession {
7533
+ id: string;
7534
+ projectId: string;
7535
+ userId?: string;
7536
+ title?: string;
7537
+ summary?: string;
7538
+ status: "active" | "completed" | "archived" | "error";
7539
+ intentHistory?: string[];
7540
+ generationTypes?: GenerationType[];
7541
+ messageCount: number;
7542
+ totalCreditsUsed?: number;
7543
+ createdAt: string;
7544
+ updatedAt?: string;
7545
+ lastMessageAt?: string;
7546
+ }
7547
+ /**
7548
+ * Copilot message
7549
+ */
7550
+ interface CopilotMessage {
7551
+ id: string;
7552
+ sessionId?: string;
7553
+ role: "user" | "assistant" | "system";
7554
+ content: string;
7555
+ intent?: string;
7556
+ plan?: CopilotPlan;
7557
+ artifacts?: GeneratedArtifacts;
7558
+ clarificationQuestions?: ClarificationQuestion[];
7559
+ suggestions?: string[];
7560
+ executed?: boolean;
7561
+ creditsCharged?: number;
7562
+ createdAt: string;
7563
+ }
7564
+ /**
7565
+ * Generated artifacts from Copilot
7566
+ */
7567
+ interface GeneratedArtifacts {
7568
+ schema?: {
7569
+ tables: Array<{
7570
+ name: string;
7571
+ columns: Array<{
7572
+ name: string;
7573
+ type: string;
7574
+ nullable?: boolean;
7575
+ }>;
7576
+ }>;
7577
+ };
7578
+ functions?: Array<{
7579
+ name: string;
7580
+ code: string;
7581
+ }>;
7582
+ storage?: Array<{
7583
+ name: string;
7584
+ config: Record<string, unknown>;
7585
+ }>;
7586
+ files?: Record<string, string>;
7587
+ }
7588
+ /**
7589
+ * Chat request input
7590
+ */
7591
+ interface CopilotChatInput {
7592
+ projectId: string;
7593
+ sessionId?: string;
7594
+ message: string;
7595
+ attachments?: Array<{
7596
+ type: "schema" | "function" | "file" | "context";
7597
+ name?: string;
7598
+ content: string;
7599
+ }>;
7600
+ generationTypes?: GenerationType[];
7601
+ modelId?: string;
7602
+ }
7603
+ /**
7604
+ * Chat response
7605
+ */
7606
+ interface CopilotChatResponse {
7607
+ ok: true;
7608
+ sessionId: string;
7609
+ messageId: string;
7610
+ response: {
7611
+ type: "clarification" | "plan" | "generation" | "explanation" | "action" | "error";
7612
+ content: string;
7613
+ questions?: ClarificationQuestion[];
7614
+ plan?: CopilotPlan;
7615
+ artifacts?: GeneratedArtifacts;
7616
+ };
7617
+ context: {
7618
+ turnNumber: number;
7619
+ tokensUsed: number;
7620
+ creditsCharged: number;
7621
+ classificationMethod?: ClassificationMethod;
7622
+ modelCategory: string;
7623
+ };
7624
+ suggestions?: string[];
7625
+ }
7626
+ /**
7627
+ * Intent classification result
7628
+ */
7629
+ interface IntentClassification {
7630
+ intent: string;
7631
+ primaryIntent: string;
7632
+ secondaryIntents: string[];
7633
+ category: CopilotIntentCategory;
7634
+ confidence: number;
7635
+ entities: ExtractedEntity[];
7636
+ isVague: boolean;
7637
+ requiresClarification: boolean;
7638
+ clarificationQuestions: ClarificationQuestion[];
7639
+ classificationMethod?: ClassificationMethod;
7640
+ aiConfidence?: number;
7641
+ patternConfidence?: number;
7642
+ intentHierarchy?: Array<{
7643
+ intent: string;
7644
+ confidence: number;
7645
+ reasoning: string;
7646
+ }>;
7647
+ suggestedSequence?: string[];
7648
+ }
7649
+ /**
7650
+ * Classification feedback input
7651
+ */
7652
+ interface ClassificationFeedbackInput {
7653
+ sessionId: string;
7654
+ messageId: string;
7655
+ feedbackType: "correct" | "incorrect" | "partial";
7656
+ correctedIntent?: string;
7657
+ userFeedback?: string;
7658
+ }
7659
+ /**
7660
+ * Classification statistics
7661
+ */
7662
+ interface ClassificationStats {
7663
+ totalClassifications: number;
7664
+ accuracyRate: number;
7665
+ intentDistribution: Record<string, number>;
7666
+ commonMisclassifications: Array<{
7667
+ from: string;
7668
+ to: string;
7669
+ count: number;
7670
+ }>;
7671
+ }
7672
+ /**
7673
+ * Execute plan input
7674
+ */
7675
+ interface ExecutePlanInput {
7676
+ sessionId: string;
7677
+ planId: string;
7678
+ stepIds?: string[];
7679
+ dryRun?: boolean;
7680
+ }
7681
+ /**
7682
+ * Execute plan result
7683
+ */
7684
+ interface ExecutePlanResult {
7685
+ ok: boolean;
7686
+ dryRun?: boolean;
7687
+ plan?: CopilotPlan;
7688
+ results: Array<{
7689
+ stepId: string;
7690
+ status: "pending" | "success" | "failed" | "skipped";
7691
+ description?: string;
7692
+ output?: unknown;
7693
+ durationMs?: number;
7694
+ tokensUsed?: number;
7695
+ creditsCharged?: number;
7696
+ error?: string;
7697
+ }>;
7698
+ artifacts?: GeneratedArtifacts;
7699
+ error?: string;
7700
+ }
7701
+ interface CopilotModule {
7702
+ /**
7703
+ * Send a chat message to the Copilot
7704
+ */
7705
+ chat(input: CopilotChatInput): Promise<CopilotChatResponse>;
7706
+ /**
7707
+ * List sessions for a project
7708
+ */
7709
+ listSessions(projectId: string): Promise<{
7710
+ sessions: CopilotSession[];
7711
+ }>;
7712
+ /**
7713
+ * Get a session with its messages
7714
+ */
7715
+ getSession(sessionId: string): Promise<{
7716
+ session: CopilotSession;
7717
+ messages: CopilotMessage[];
7718
+ }>;
7719
+ /**
7720
+ * Update session metadata (title)
7721
+ */
7722
+ updateSession(sessionId: string, data: {
7723
+ title?: string;
7724
+ }): Promise<{
7725
+ ok: boolean;
7726
+ }>;
7727
+ /**
7728
+ * Archive/delete a session
7729
+ */
7730
+ deleteSession(sessionId: string): Promise<{
7731
+ ok: boolean;
7732
+ }>;
7733
+ /**
7734
+ * Execute a plan from a session
7735
+ */
7736
+ executePlan(input: ExecutePlanInput): Promise<ExecutePlanResult>;
7737
+ /**
7738
+ * Submit classification feedback for learning
7739
+ */
7740
+ submitFeedback(input: ClassificationFeedbackInput): Promise<{
7741
+ ok: boolean;
7742
+ }>;
7743
+ /**
7744
+ * Get classification statistics (admin)
7745
+ */
7746
+ getClassificationStats(): Promise<ClassificationStats>;
7747
+ }
7748
+
7395
7749
  /**
7396
7750
  * Main VAIF client interface
7397
7751
  */
@@ -7505,6 +7859,23 @@ interface VaifClient {
7505
7859
  * ```
7506
7860
  */
7507
7861
  mongodb: MongoDBModule;
7862
+ /**
7863
+ * VAIF Copilot AI assistant operations
7864
+ *
7865
+ * @example
7866
+ * ```ts
7867
+ * // Chat with Copilot
7868
+ * const response = await vaif.copilot.chat({
7869
+ * projectId: 'proj_123',
7870
+ * message: 'Create a users table with email and name',
7871
+ * generationTypes: ['schema'],
7872
+ * });
7873
+ *
7874
+ * // Get session history
7875
+ * const { sessions } = await vaif.copilot.listSessions('proj_123');
7876
+ * ```
7877
+ */
7878
+ copilot: CopilotModule;
7508
7879
  /**
7509
7880
  * Create a realtime client for WebSocket subscriptions
7510
7881
  *
@@ -7611,4 +7982,4 @@ declare class VaifNotFoundError extends VaifError {
7611
7982
  */
7612
7983
  declare function isVaifError(error: unknown): error is VaifError;
7613
7984
 
7614
- export { type AIModule, type AIPlan, type AIPlanStep, type AIProjectOverrides, type AISettings, type AIUsageBreakdown, type AIUsageResult, type AddBillingContactInput, type AdminListOptions, type AdminModule, type AdminOrg, type AdminOrgDetails, type AdminOrgMember, type AdminOrgProfile, type AdminOverviewResponse, type AdminProject, type AdminProjectDetails, type AdminUser, type AdminUserDetails, type AggregateClause, type AggregateFunction, type AggregateOptions, type AggregateResult, type AnalyticsConfig, type AndFilter, type ApiErrorResponse, type ApiKey, type ApiParam, type ApiResponse, type ApplyInput, type ApplyResponse, type AuthModule, type AuthResponse, type BaseEntity, type BatchCreateOptions, type BatchCreateResult, type BatchDeleteResult$1 as BatchDeleteResult, type BatchInvokeInput, type BatchInvokeResult, type BatchUpdateOptions, type BatchUpdateResult, type BillingContact, type BillingModule, type BillingSummary, type BootstrapData, type BootstrapEntitlements, type BootstrapModule, type BootstrapPlanLimits, type BootstrapUser, type BroadcastEvent, type BroadcastOptions, type BudgetStatus, type ChangePasswordInput, type ChangelogFeature, type ChannelOptions, type ChannelType, type CheckEntitlementInput, type CheckEntitlementResponse, type CheckoutInput, type CheckoutResponse, type CodeLanguage, type ColumnDefinition, type ColumnType, type ComponentStatus, type ConfigureOAuthInput, type ConnectionState, type Conversation, type ConversationMessage, type CopyOptions, type CreateApiKeyInput, type CreateApiKeyResponse, type CreateBucketInput, type CreateBucketOptions, type CreateConversationInput, type CreateDeployTokenInput, type CreateDeployTokenResult, type CreateDocApiEndpointInput, type CreateDocChangelogInput, type CreateDocExampleInput, type CreateDocPageInput, type CreateDocSdkExampleInput, type CreateDocSdkInput, type CreateEnvVarInput, type CreateFlagInput, type CreateFunctionInput, type CreateIncidentInput, type CreateOrgInput, type CreateProjectFromTemplateResponse, type CreateProjectInput, type CreateProjectResponse, type CreateSecretInput, type CreateSubscriptionInput, type CursorPaginationOptions, type CursorPaginationResult, type DLQListOptions, type DLQMessage, type DataModule, type DbChangeEvent, type DbOperation, type DeleteOptions, type DeleteResponse, type DeleteSecretResult, type DeliveryStatus, type DeployOptions, type DeployResult, type DeployToken, type Deployment, type DeploymentStep, type DeploymentWithSteps, type DeploymentsModule, type DiscordConfig, type DlqDelivery, type DocApiEndpoint, type DocChangelogEntry, type DocExample, type DocPage, type DocSdk, type DocSdkExample, type DocSearchResult, type DocsModule, type DownloadOptions, type EmailConfig, type EmailVerificationConfirmInput, type EmailVerificationRequestInput, type EnableAllRealtimeInput, type EnableAllRealtimeResult, type EntitlementsResponse, type EnvVar, type Environment, type ErrorEvent, type Event, type EventFilter, type EventHandler, type EventSource, type ExampleEndpoint, type ExampleFunction, type ExampleRealtimeEvent, type ExplainPlanInput, type ExplainPlanResult, type ExportCodeInput, type ExportCodeResult, type FeatureFlag, type FileMetadata, type FlagsModule, type FunctionEnvVar, type FunctionInvocation, type FunctionLog, type RetryConfig as FunctionRetryConfig, type FunctionRuntime, type FunctionVersion, type FunctionsModule, type GenerateEndpointInput, type GenerateEndpointResult, type GenerateFunctionInput, type GenerateFunctionResult, type GeneratePlanInput, type GeneratePlanResult, type GeneratedFile, type GetProjectResponse, type HttpMethod, type ImageTransformOptions, type IncidentAlert, type IncidentSeverity, type IncidentStatus, type IncludeClause, type IndexDefinition, type InstallApplyResponse, type InstallPreviewResponse, type InstallRealtimeInput, type InstallRealtimeResult, type IntegrationsModule, type InviteMemberInput, type InvokeInput, type InvokeOptions, type InvokeResult, type IsolationLevel, type ItemResponse, type ListDeliveriesOptions, type ListEventsOptions, type ListFilesOptions, type ListFilesResponse, type ListFunctionsOptions, type ListInvocationsOptions, type ListResponse, type LoginOptions, type MFAChallenge, type MFAMethod, type MFASetupResponse, type MFAVerifyResponse, type MagicLinkRequestInput, type MagicLinkVerifyInput, type MessageRole, type Migration, type MigrationResult, type Mode, type MongoAggregateOptions, type MongoArrayOperator, type MongoCollectionClient, type MongoComparisonOperator, type MongoCursor, type MongoDBModule, type MongoDeleteResult, type MongoDistinctOptions, type MongoElementOperator, type MongoEvaluationOperator, type MongoFilter, type MongoFindAndModifyResult, type MongoFindOneAndDeleteOptions, type MongoFindOneAndUpdateOptions, type MongoFindOptions, type MongoInsertManyResult, type MongoInsertOneResult, type MongoLogicalOperator, type MongoPipelineStage, type MongoProjection, type MongoSort, type MongoUpdateOperators, type MongoUpdateOptions, type MongoUpdateResult, type MoveOptions, type MultipartUpload, type MultipartUploadOptions, type NotFilter, type OAuthCallbackInput, type OAuthConnection, type OAuthModule, type OAuthProvider, type OAuthProviderType, type OAuthSignInOptions, type OAuthSignInResponse, type OrFilter, type OrderByClause, type Org, type OrgBilling, type OrgMember, type OrgMembership, type OrgProfile, type OrgsModule, type PageInfo, type PaginatedResult, type PasswordResetConfirmInput, type PasswordResetRequestInput, type PendingInvite, type PhoneVerificationConfirmInput, type PhoneVerificationRequestInput, type PlanDefinition, type PlanLimits, type PlanName, type PlanStep, type PlansResponse, type PortalInput, type PortalResponse, type PresenceEntry, type PresenceEvent, type PresenceState, type PresenceStateEvent, type PresenceTrackOptions, type PresignedUrl, type PreviewInput, type PreviewResponse, type Project, type ProjectMetrics, type ProjectResource, type ProjectResourcesResponse, type ProjectStats, type ProjectsModule, type PromoteInput, type PromoteResult, type Provider, type PublishEventInput, type PublishEventResult, type QueryOptions, type QueueStats, type QueueTotals, type RealtimeChannel, type RealtimeClient, type RealtimeClientEvent, type RealtimeConfig, type RealtimeConnection, type RealtimeEvent, type RealtimeEventType, type RealtimeMonitoringEvent, type RealtimeMonitoringModule, type RealtimeStats, type RealtimeStatus, type RealtimeSubscription, type RefreshTokenResponse, type Region, type RetryConfig$1 as RetryConfig, type RollbackResult, type SaveSchemaInput, type SavedSchema, type ScheduleConfig, type SchemaDefinition, type SchemaModule, type Secret, type SecretsModule, type SecurityAuditLog, type SecurityModule, type SecurityOverview, type SendMessageInput, type Session, type SetDedicatedDbInput, type SignUpOptions, type SignedUrlResponse, type SlackConfig, type StandardEventName, type StatusComponent, type StorageBucket, type StorageDashboardModule, type StorageFile, type StorageModule, type SubscribeOptions, type Subscription, type SubscriptionConfig, type SubscriptionFilter, type SubscriptionType, type TableClient, type TableDefinition, type TaskType, type Template, type TemplateCategory, type TemplateDefinition, type TemplateVersion, type TemplateVisibility, type TemplatesModule, type TransactionOperation, type TransactionOptions, type TransactionResult, type TypedEventHandler, type TypedFunction, type UnsubscribeFn, type UpdateAIProjectOverridesInput, type UpdateAISettingsInput, type UpdateBucketInput, type UpdateBucketOptions, type UpdateComponentStatusInput, type UpdateDocPageInput, type UpdateDocSdkInput, type UpdateEnvVarInput, type UpdateFlagInput, type UpdateFunctionInput, type UpdateOrgProfileInput, type UpdateProfileInput, type UpdateProjectInput, type UpdateRegionInput, type UpdateSubscriptionInput, type UploadFromUrlOptions, type UploadOptions, type UploadPart, type UploadResult$1 as UploadResult, type UpsertOptions, type Usage, type UsageEntry, type User, type UserActivity, type UserMembership, VaifAuthError, type VaifClient, type VaifClientConfig, VaifError, type VaifFunction, VaifNetworkError, VaifNotFoundError, VaifRateLimitError, VaifValidationError, type VerifySignatureOptions, type WebhookConfig, type WebhookDelivery, type WelcomeEvent, type WhereClause, type WhereFilter, type WhereOperator, createVaifClient, isVaifError };
7985
+ export { type AIModule, type AIPlan, type AIPlanStep, type AIProjectOverrides, type AISettings, type AIUsageBreakdown, type AIUsageResult, type AddBillingContactInput, type AdminListOptions, type AdminModule, type AdminOrg, type AdminOrgDetails, type AdminOrgMember, type AdminOrgProfile, type AdminOverviewResponse, type AdminProject, type AdminProjectDetails, type AdminUser, type AdminUserDetails, type AggregateClause, type AggregateFunction, type AggregateOptions, type AggregateResult, type AnalyticsConfig, type AndFilter, type ApiErrorResponse, type ApiKey, type ApiParam, type ApiResponse, type ApplyInput, type ApplyResponse, type AuthModule, type AuthResponse, type BaseEntity, type BatchCreateOptions, type BatchCreateResult, type BatchDeleteResult$1 as BatchDeleteResult, type BatchInvokeInput, type BatchInvokeResult, type BatchUpdateOptions, type BatchUpdateResult, type BillingContact, type BillingModule, type BillingSummary, type BootstrapData, type BootstrapEntitlements, type BootstrapModule, type BootstrapPlanLimits, type BootstrapUser, type BroadcastEvent, type BroadcastOptions, type BudgetStatus, type ChangePasswordInput, type ChangelogFeature, type ChannelOptions, type ChannelType, type CheckEntitlementInput, type CheckEntitlementResponse, type CheckoutInput, type CheckoutResponse, type ClassificationFeedbackInput, type ClassificationMethod, type ClassificationStats, type CodeLanguage, type ColumnDefinition, type ColumnType, type ComponentStatus, type ConfigureOAuthInput, type ConnectionState, type Conversation, type ConversationMessage, type CopilotChatInput, type CopilotChatResponse, type ClarificationQuestion as CopilotClarificationQuestion, type GenerationType as CopilotGenerationType, type CopilotIntentCategory, type CopilotMessage, type CopilotModule, type CopilotPlan, type CopilotPlanStep, type CopilotSession, type CopyOptions, type CreateApiKeyInput, type CreateApiKeyResponse, type CreateBucketInput, type CreateBucketOptions, type CreateConversationInput, type CreateDeployTokenInput, type CreateDeployTokenResult, type CreateDocApiEndpointInput, type CreateDocChangelogInput, type CreateDocExampleInput, type CreateDocPageInput, type CreateDocSdkExampleInput, type CreateDocSdkInput, type CreateEnvVarInput, type CreateFlagInput, type CreateFunctionInput, type CreateIncidentInput, type CreateOrgInput, type CreateProjectFromTemplateResponse, type CreateProjectInput, type CreateProjectResponse, type CreateSecretInput, type CreateSubscriptionInput, type CursorPaginationOptions, type CursorPaginationResult, type DLQListOptions, type DLQMessage, type DataModule, type DbChangeEvent, type DbOperation, type DeleteOptions, type DeleteResponse, type DeleteSecretResult, type DeliveryStatus, type DeployOptions, type DeployResult, type DeployToken, type Deployment, type DeploymentStep, type DeploymentWithSteps, type DeploymentsModule, type DiscordConfig, type DlqDelivery, type DocApiEndpoint, type DocChangelogEntry, type DocExample, type DocPage, type DocSdk, type DocSdkExample, type DocSearchResult, type DocsModule, type DownloadOptions, type EmailConfig, type EmailVerificationConfirmInput, type EmailVerificationRequestInput, type EnableAllRealtimeInput, type EnableAllRealtimeResult, type EntitlementsResponse, type EnvVar, type Environment, type ErrorEvent, type Event, type EventFilter, type EventHandler, type EventSource, type ExampleEndpoint, type ExampleFunction, type ExampleRealtimeEvent, type ExecutePlanInput, type ExecutePlanResult, type ExplainPlanInput, type ExplainPlanResult, type ExportCodeInput, type ExportCodeResult, type ExtractedEntity, type FeatureFlag, type FileMetadata, type FlagsModule, type FunctionEnvVar, type FunctionInvocation, type FunctionLog, type RetryConfig as FunctionRetryConfig, type FunctionRuntime, type FunctionVersion, type FunctionsModule, type GenerateEndpointInput, type GenerateEndpointResult, type GenerateFunctionInput, type GenerateFunctionResult, type GeneratePlanInput, type GeneratePlanResult, type GeneratedArtifacts, type GeneratedFile, type GetProjectResponse, type HttpMethod, type ImageTransformOptions, type IncidentAlert, type IncidentSeverity, type IncidentStatus, type IncludeClause, type IndexDefinition, type InstallApplyResponse, type InstallPreviewResponse, type InstallRealtimeInput, type InstallRealtimeResult, type IntegrationsModule, type IntentClassification, type InviteMemberInput, type InvokeInput, type InvokeOptions, type InvokeResult, type IsolationLevel, type ItemResponse, type ListDeliveriesOptions, type ListEventsOptions, type ListFilesOptions, type ListFilesResponse, type ListFunctionsOptions, type ListInvocationsOptions, type ListResponse, type LoginOptions, type MFAChallenge, type MFAMethod, type MFASetupResponse, type MFAVerifyResponse, type MagicLinkRequestInput, type MagicLinkVerifyInput, type MessageRole, type Migration, type MigrationResult, type Mode, type MongoAggregateOptions, type MongoArrayOperator, type MongoCollectionClient, type MongoComparisonOperator, type MongoCursor, type MongoDBModule, type MongoDeleteResult, type MongoDistinctOptions, type MongoElementOperator, type MongoEvaluationOperator, type MongoFilter, type MongoFindAndModifyResult, type MongoFindOneAndDeleteOptions, type MongoFindOneAndUpdateOptions, type MongoFindOptions, type MongoInsertManyResult, type MongoInsertOneResult, type MongoLogicalOperator, type MongoPipelineStage, type MongoProjection, type MongoSort, type MongoUpdateOperators, type MongoUpdateOptions, type MongoUpdateResult, type MoveOptions, type MultipartUpload, type MultipartUploadOptions, type NotFilter, type OAuthCallbackInput, type OAuthConnection, type OAuthModule, type OAuthProvider, type OAuthProviderType, type OAuthSignInOptions, type OAuthSignInResponse, type OrFilter, type OrderByClause, type Org, type OrgBilling, type OrgMember, type OrgMembership, type OrgProfile, type OrgsModule, type PageInfo, type PaginatedResult, type PasswordResetConfirmInput, type PasswordResetRequestInput, type PendingInvite, type PhoneVerificationConfirmInput, type PhoneVerificationRequestInput, type PlanDefinition, type PlanLimits, type PlanName, type PlanStep, type PlansResponse, type PortalInput, type PortalResponse, type PresenceEntry, type PresenceEvent, type PresenceState, type PresenceStateEvent, type PresenceTrackOptions, type PresignedUrl, type PreviewInput, type PreviewResponse, type Project, type ProjectMetrics, type ProjectResource, type ProjectResourcesResponse, type ProjectStats, type ProjectsModule, type PromoteInput, type PromoteResult, type Provider, type PublishEventInput, type PublishEventResult, type QueryOptions, type QueueStats, type QueueTotals, type RealtimeChannel, type RealtimeClient, type RealtimeClientEvent, type RealtimeConfig, type RealtimeConnection, type RealtimeEvent, type RealtimeEventType, type RealtimeMonitoringEvent, type RealtimeMonitoringModule, type RealtimeStats, type RealtimeStatus, type RealtimeSubscription, type RefreshTokenResponse, type Region, type RetryConfig$1 as RetryConfig, type RollbackResult, type SaveSchemaInput, type SavedSchema, type ScheduleConfig, type SchemaDefinition, type SchemaModule, type Secret, type SecretsModule, type SecurityAuditLog, type SecurityModule, type SecurityOverview, type SendMessageInput, type Session, type SetDedicatedDbInput, type SignUpOptions, type SignedUrlResponse, type SlackConfig, type StandardEventName, type StatusComponent, type StorageBucket, type StorageDashboardModule, type StorageFile, type StorageModule, type SubscribeOptions, type Subscription, type SubscriptionConfig, type SubscriptionFilter, type SubscriptionType, type TableClient, type TableDefinition, type TaskType, type Template, type TemplateCategory, type TemplateDefinition, type TemplateVersion, type TemplateVisibility, type TemplatesModule, type TransactionOperation, type TransactionOptions, type TransactionResult, type TypedEventHandler, type TypedFunction, type UnsubscribeFn, type UpdateAIProjectOverridesInput, type UpdateAISettingsInput, type UpdateBucketInput, type UpdateBucketOptions, type UpdateComponentStatusInput, type UpdateDocPageInput, type UpdateDocSdkInput, type UpdateEnvVarInput, type UpdateFlagInput, type UpdateFunctionInput, type UpdateOrgProfileInput, type UpdateProfileInput, type UpdateProjectInput, type UpdateRegionInput, type UpdateSubscriptionInput, type UploadFromUrlOptions, type UploadOptions, type UploadPart, type UploadResult$1 as UploadResult, type UpsertOptions, type Usage, type UsageEntry, type User, type UserActivity, type UserMembership, VaifAuthError, type VaifClient, type VaifClientConfig, VaifError, type VaifFunction, VaifNetworkError, VaifNotFoundError, VaifRateLimitError, VaifValidationError, type VerifySignatureOptions, type WebhookConfig, type WebhookDelivery, type WelcomeEvent, type WhereClause, type WhereFilter, type WhereOperator, createVaifClient, isVaifError };