@vaiftech/client 1.0.5 → 1.0.7

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
@@ -2955,6 +2955,7 @@ interface PreviewInput {
2955
2955
  projectId: string;
2956
2956
  envId?: string;
2957
2957
  definition: SchemaDefinition;
2958
+ allowDestructive?: boolean;
2958
2959
  }
2959
2960
  /**
2960
2961
  * Response from schema preview
@@ -2974,6 +2975,8 @@ interface ApplyInput {
2974
2975
  envId?: string;
2975
2976
  definition: SchemaDefinition;
2976
2977
  migrationName?: string;
2978
+ allowDestructive?: boolean;
2979
+ fromAiWorkspace?: boolean;
2977
2980
  }
2978
2981
  /**
2979
2982
  * Migration result from apply
@@ -4730,6 +4733,152 @@ interface SystemSetting {
4730
4733
  isSecret: boolean;
4731
4734
  updatedAt: string | null;
4732
4735
  }
4736
+ /**
4737
+ * AI Model for admin management
4738
+ */
4739
+ interface AdminAIModel {
4740
+ id: string;
4741
+ provider: "openai" | "anthropic";
4742
+ modelId: string;
4743
+ displayName: string;
4744
+ tier: "free" | "paid" | "enterprise";
4745
+ creditMultiplier: string;
4746
+ maxInputTokens: number;
4747
+ maxOutputTokens: number;
4748
+ supportsStreaming: boolean;
4749
+ supportsVision: boolean;
4750
+ supportsToolUse: boolean;
4751
+ isEnabled: boolean;
4752
+ copilotName: string | null;
4753
+ copilotTagline: string | null;
4754
+ disabledMessage: string | null;
4755
+ createdAt: string;
4756
+ updatedAt: string;
4757
+ }
4758
+ /**
4759
+ * Create AI model input
4760
+ */
4761
+ interface CreateAIModelInput {
4762
+ provider: "openai" | "anthropic";
4763
+ modelId: string;
4764
+ displayName: string;
4765
+ tier?: "free" | "paid" | "enterprise";
4766
+ creditMultiplier?: number;
4767
+ maxInputTokens?: number;
4768
+ maxOutputTokens?: number;
4769
+ supportsStreaming?: boolean;
4770
+ supportsVision?: boolean;
4771
+ supportsToolUse?: boolean;
4772
+ isEnabled?: boolean;
4773
+ copilotName?: string;
4774
+ copilotTagline?: string;
4775
+ }
4776
+ /**
4777
+ * Update AI model input
4778
+ */
4779
+ interface UpdateAIModelInput {
4780
+ displayName?: string;
4781
+ tier?: "free" | "paid" | "enterprise";
4782
+ creditMultiplier?: number;
4783
+ isEnabled?: boolean;
4784
+ maxInputTokens?: number;
4785
+ maxOutputTokens?: number;
4786
+ supportsStreaming?: boolean;
4787
+ supportsVision?: boolean;
4788
+ supportsToolUse?: boolean;
4789
+ copilotName?: string;
4790
+ copilotTagline?: string;
4791
+ disabledMessage?: string;
4792
+ }
4793
+ /**
4794
+ * AI Workspace Session
4795
+ */
4796
+ interface AdminAISession {
4797
+ id: string;
4798
+ userId: string;
4799
+ projectId: string | null;
4800
+ title: string | null;
4801
+ sessionType: string | null;
4802
+ status: string;
4803
+ primaryModelId: string | null;
4804
+ totalInputTokens: number | null;
4805
+ totalOutputTokens: number | null;
4806
+ totalCreditsUsed: string | null;
4807
+ createdAt: string;
4808
+ updatedAt: string;
4809
+ userEmail: string | null;
4810
+ userName: string | null;
4811
+ projectName: string | null;
4812
+ }
4813
+ /**
4814
+ * AI Workspace Turn
4815
+ */
4816
+ interface AdminAITurn {
4817
+ id: string;
4818
+ sessionId: string;
4819
+ turnIndex: number;
4820
+ turnType: string;
4821
+ inputContent: string | null;
4822
+ outputContent: string | null;
4823
+ inputTokens: number | null;
4824
+ outputTokens: number | null;
4825
+ modelUsed: string | null;
4826
+ status: string;
4827
+ createdAt: string;
4828
+ }
4829
+ /**
4830
+ * Generated Backend
4831
+ */
4832
+ interface AdminGeneratedBackend {
4833
+ id: string;
4834
+ userId: string;
4835
+ projectId: string | null;
4836
+ sessionId: string | null;
4837
+ name: string;
4838
+ description: string | null;
4839
+ status: string;
4840
+ generationTypes: string[] | null;
4841
+ framework: string | null;
4842
+ language: string | null;
4843
+ fileCount: number | null;
4844
+ totalLines: number | null;
4845
+ files: Record<string, string> | null;
4846
+ createdAt: string;
4847
+ userEmail: string | null;
4848
+ userName: string | null;
4849
+ }
4850
+ /**
4851
+ * Prompt Template
4852
+ */
4853
+ interface AdminPromptTemplate {
4854
+ id: string;
4855
+ name: string;
4856
+ slug: string;
4857
+ category: string;
4858
+ description: string | null;
4859
+ systemPrompt: string;
4860
+ userPromptTemplate: string | null;
4861
+ variables: string[];
4862
+ isSystem: boolean;
4863
+ isEnabled: boolean;
4864
+ createdAt: string;
4865
+ updatedAt: string;
4866
+ }
4867
+ /**
4868
+ * Context Snapshot
4869
+ */
4870
+ interface AdminContextSnapshot {
4871
+ id: string;
4872
+ projectId: string;
4873
+ totalTokens: number | null;
4874
+ schemaTokens: number | null;
4875
+ storageTokens: number | null;
4876
+ functionsTokens: number | null;
4877
+ isValid: boolean;
4878
+ createdAt: string;
4879
+ expiresAt: string | null;
4880
+ projectName: string | null;
4881
+ }
4733
4882
  /**
4734
4883
  * Admin module interface
4735
4884
  */
@@ -4863,6 +5012,105 @@ interface AdminModule {
4863
5012
  ok: boolean;
4864
5013
  key: string;
4865
5014
  }>;
5015
+ listAIModels(): Promise<{
5016
+ ok: boolean;
5017
+ models: AdminAIModel[];
5018
+ }>;
5019
+ getAIModel(modelId: string): Promise<{
5020
+ ok: boolean;
5021
+ model: AdminAIModel;
5022
+ }>;
5023
+ createAIModel(data: CreateAIModelInput): Promise<{
5024
+ ok: boolean;
5025
+ model: AdminAIModel;
5026
+ }>;
5027
+ updateAIModel(modelId: string, data: UpdateAIModelInput): Promise<{
5028
+ ok: boolean;
5029
+ model: AdminAIModel;
5030
+ }>;
5031
+ deleteAIModel(modelId: string): Promise<{
5032
+ ok: boolean;
5033
+ }>;
5034
+ toggleAIModel(modelId: string, enabled?: boolean, disabledMessage?: string): Promise<{
5035
+ ok: boolean;
5036
+ model: AdminAIModel;
5037
+ }>;
5038
+ listAISessions(options?: AdminListOptions): Promise<{
5039
+ ok: boolean;
5040
+ sessions: AdminAISession[];
5041
+ total: number;
5042
+ }>;
5043
+ getAISession(sessionId: string): Promise<{
5044
+ ok: boolean;
5045
+ session: AdminAISession;
5046
+ turns: AdminAITurn[];
5047
+ }>;
5048
+ deleteAISession(sessionId: string): Promise<{
5049
+ ok: boolean;
5050
+ }>;
5051
+ listGeneratedBackends(options?: AdminListOptions & {
5052
+ status?: string;
5053
+ }): Promise<{
5054
+ ok: boolean;
5055
+ backends: AdminGeneratedBackend[];
5056
+ total: number;
5057
+ }>;
5058
+ getGeneratedBackend(backendId: string): Promise<{
5059
+ ok: boolean;
5060
+ backend: AdminGeneratedBackend;
5061
+ }>;
5062
+ deleteGeneratedBackend(backendId: string): Promise<{
5063
+ ok: boolean;
5064
+ }>;
5065
+ listPromptTemplates(options?: AdminListOptions & {
5066
+ category?: string;
5067
+ }): Promise<{
5068
+ ok: boolean;
5069
+ templates: AdminPromptTemplate[];
5070
+ total: number;
5071
+ }>;
5072
+ createPromptTemplate(data: {
5073
+ name: string;
5074
+ slug: string;
5075
+ category: string;
5076
+ description?: string;
5077
+ systemPrompt: string;
5078
+ userPromptTemplate?: string;
5079
+ variables?: string[];
5080
+ isEnabled?: boolean;
5081
+ }): Promise<{
5082
+ ok: boolean;
5083
+ template: AdminPromptTemplate;
5084
+ }>;
5085
+ updatePromptTemplate(templateId: string, data: Partial<{
5086
+ name: string;
5087
+ slug: string;
5088
+ category: string;
5089
+ description: string;
5090
+ systemPrompt: string;
5091
+ userPromptTemplate: string;
5092
+ variables: string[];
5093
+ isEnabled: boolean;
5094
+ }>): Promise<{
5095
+ ok: boolean;
5096
+ template: AdminPromptTemplate;
5097
+ }>;
5098
+ deletePromptTemplate(templateId: string): Promise<{
5099
+ ok: boolean;
5100
+ }>;
5101
+ listContextSnapshots(options?: AdminListOptions & {
5102
+ projectId?: string;
5103
+ }): Promise<{
5104
+ ok: boolean;
5105
+ snapshots: AdminContextSnapshot[];
5106
+ total: number;
5107
+ }>;
5108
+ invalidateContextSnapshot(snapshotId: string): Promise<{
5109
+ ok: boolean;
5110
+ }>;
5111
+ deleteContextSnapshot(snapshotId: string): Promise<{
5112
+ ok: boolean;
5113
+ }>;
4866
5114
  }
4867
5115
 
4868
5116
  /**
@@ -5327,8 +5575,14 @@ interface AvailableModelsResult {
5327
5575
  reasoning: string;
5328
5576
  quick: string;
5329
5577
  };
5330
- plan: string;
5331
- modelTier: AIModelTier;
5578
+ /** @deprecated Use userPlan instead */
5579
+ plan?: string;
5580
+ /** @deprecated Use userTier instead */
5581
+ modelTier?: AIModelTier;
5582
+ /** User's current plan (free, starter, pro, agency, studio_plus, enterprise) */
5583
+ userPlan: string;
5584
+ /** User's model tier access (free, paid, enterprise) */
5585
+ userTier: AIModelTier;
5332
5586
  maxContextTokens: number;
5333
5587
  }
5334
5588
  /**
@@ -5544,6 +5798,21 @@ interface GenerateBackendInput {
5544
5798
  name: string;
5545
5799
  config?: Partial<BackendGenerationConfig>;
5546
5800
  }
5801
+ /**
5802
+ * Input for submitting a modification request
5803
+ */
5804
+ interface SubmitModificationInput {
5805
+ prompt: string;
5806
+ modelId: string;
5807
+ existingCode?: Record<string, string>;
5808
+ }
5809
+ /**
5810
+ * Result of a modification request
5811
+ */
5812
+ interface SubmitModificationResult {
5813
+ turn?: WorkspaceTurn;
5814
+ modifiedFiles?: Record<string, string>;
5815
+ }
5547
5816
  /**
5548
5817
  * Project context for AI operations
5549
5818
  */
@@ -5859,6 +6128,10 @@ interface AIModule {
5859
6128
  * Generate backend code for a session
5860
6129
  */
5861
6130
  generate(sessionId: string, input: GenerateBackendInput): Promise<GenerateBackendResult>;
6131
+ /**
6132
+ * Submit a modification request to existing generated code
6133
+ */
6134
+ submitModification(sessionId: string, input: SubmitModificationInput): Promise<SubmitModificationResult>;
5862
6135
  };
5863
6136
  /**
5864
6137
  * Generated backend operations
@@ -5892,7 +6165,40 @@ interface AIModule {
5892
6165
  delete(backendId: string): Promise<{
5893
6166
  ok: boolean;
5894
6167
  }>;
6168
+ /**
6169
+ * Deploy a generated backend as a new VAIF project
6170
+ */
6171
+ deploy(backendId: string, input: {
6172
+ orgId: string;
6173
+ projectName: string;
6174
+ description?: string;
6175
+ }): Promise<{
6176
+ ok: boolean;
6177
+ project: {
6178
+ id: string;
6179
+ name: string;
6180
+ orgId: string;
6181
+ description?: string;
6182
+ createdAt: string;
6183
+ };
6184
+ backend: {
6185
+ id: string;
6186
+ name: string;
6187
+ status: string;
6188
+ };
6189
+ }>;
5895
6190
  };
6191
+ /**
6192
+ * Get user's organizations for deploy selection
6193
+ */
6194
+ getUserOrganizations(): Promise<{
6195
+ organizations: Array<{
6196
+ id: string;
6197
+ name: string;
6198
+ createdAt: string;
6199
+ role: string;
6200
+ }>;
6201
+ }>;
5896
6202
  }
5897
6203
 
5898
6204
  /**
@@ -5907,6 +6213,37 @@ interface BootstrapUser {
5907
6213
  timezone?: string;
5908
6214
  createdAt: string;
5909
6215
  }
6216
+ /**
6217
+ * Plan limits included in bootstrap
6218
+ */
6219
+ interface BootstrapPlanLimits {
6220
+ projectsMax: number;
6221
+ apiRequestsMonthly: number;
6222
+ storageGb: number;
6223
+ functionInvocationsMonthly: number;
6224
+ realtimeConnectionsMax: number;
6225
+ realtimeMessagesMonthly: number;
6226
+ aiCreditsMonthly: number;
6227
+ databaseRowsMax: number;
6228
+ teamMembersMax: number;
6229
+ }
6230
+ /**
6231
+ * Entitlements data from bootstrap
6232
+ */
6233
+ interface BootstrapEntitlements {
6234
+ /** User's current plan (free, starter, pro, agency, studio_plus, enterprise) */
6235
+ plan: string;
6236
+ /** Subscription status */
6237
+ status: string;
6238
+ /** Plan limits */
6239
+ limits: BootstrapPlanLimits;
6240
+ /** AI model tier access (free, paid, enterprise) */
6241
+ aiModelTier: string;
6242
+ /** Current billing period end date */
6243
+ currentPeriodEnd?: string;
6244
+ /** Whether subscription will cancel at period end */
6245
+ cancelAtPeriodEnd: boolean;
6246
+ }
5910
6247
  /**
5911
6248
  * Bootstrap response containing all initial data
5912
6249
  */
@@ -5917,6 +6254,8 @@ interface BootstrapData {
5917
6254
  role: string;
5918
6255
  })[];
5919
6256
  projects: Project[];
6257
+ /** User's plan entitlements (based on primary org) */
6258
+ entitlements: BootstrapEntitlements | null;
5920
6259
  }
5921
6260
  /**
5922
6261
  * Bootstrap module interface
@@ -7272,4 +7611,4 @@ declare class VaifNotFoundError extends VaifError {
7272
7611
  */
7273
7612
  declare function isVaifError(error: unknown): error is VaifError;
7274
7613
 
7275
- 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 BootstrapModule, 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 };
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 };