@vaiftech/client 1.2.0 → 1.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.mts CHANGED
@@ -1691,14 +1691,19 @@ interface VaifFunction {
1691
1691
  name: string;
1692
1692
  description: string | null;
1693
1693
  entrypoint: string;
1694
- runtime: FunctionRuntime;
1694
+ runtime: string;
1695
1695
  sourceCode: string | null;
1696
1696
  enabled: boolean;
1697
1697
  timeoutMs: number;
1698
1698
  memoryMb: number;
1699
1699
  schedule: string | null;
1700
1700
  lastRunAt: string | null;
1701
- version: number;
1701
+ lastInvokedAt: string | null;
1702
+ invocationCount: number;
1703
+ avgDurationMs: number;
1704
+ deployStatus: string;
1705
+ deployedAt: string | null;
1706
+ deployError: string | null;
1702
1707
  httpEndpoint?: string;
1703
1708
  createdAt: string;
1704
1709
  updatedAt: string;
@@ -1706,7 +1711,7 @@ interface VaifFunction {
1706
1711
  /**
1707
1712
  * Function runtime options
1708
1713
  */
1709
- type FunctionRuntime = "node18" | "node20" | "node22" | "deno" | "bun" | "python3.11" | "python3.12";
1714
+ type FunctionRuntime = "nodejs18" | "nodejs20" | "python311" | "go121" | "deno" | "bun";
1710
1715
  /**
1711
1716
  * Create function input
1712
1717
  */
@@ -1812,12 +1817,10 @@ interface FunctionInvocation {
1812
1817
  functionId: string;
1813
1818
  projectId: string;
1814
1819
  envId: string | null;
1815
- status: "pending" | "running" | "success" | "error" | "timeout";
1820
+ status: "success" | "error" | "timeout";
1816
1821
  durationMs: number;
1817
1822
  statusCode: number | null;
1818
1823
  errorMessage: string | null;
1819
- version: number;
1820
- requestId: string;
1821
1824
  createdAt: string;
1822
1825
  }
1823
1826
  /**
@@ -2787,6 +2790,11 @@ interface Project {
2787
2790
  orgId: string;
2788
2791
  name: string;
2789
2792
  slug?: string;
2793
+ description?: string | null;
2794
+ defaultEnvironment?: string;
2795
+ timezone?: string;
2796
+ regionKey?: string;
2797
+ features?: Record<string, boolean>;
2790
2798
  createdAt: string;
2791
2799
  updatedAt: string;
2792
2800
  }
@@ -2928,6 +2936,86 @@ interface ListProjectsOptions {
2928
2936
  /** Filter by organization ID */
2929
2937
  orgId?: string;
2930
2938
  }
2939
+ /**
2940
+ * Update project input
2941
+ */
2942
+ interface UpdateProjectInput {
2943
+ name?: string;
2944
+ description?: string | null;
2945
+ defaultEnvironment?: string;
2946
+ timezone?: string;
2947
+ features?: Record<string, boolean>;
2948
+ }
2949
+ /**
2950
+ * Compute settings
2951
+ */
2952
+ interface ComputeSettings {
2953
+ tier: string;
2954
+ diskSize: number;
2955
+ region: string;
2956
+ autoScaling: boolean;
2957
+ maxInstances: number;
2958
+ }
2959
+ /**
2960
+ * Update compute settings input
2961
+ */
2962
+ interface UpdateComputeSettingsInput {
2963
+ tier?: "starter" | "pro" | "scale" | "enterprise";
2964
+ diskSize?: number;
2965
+ autoScaling?: boolean;
2966
+ maxInstances?: number;
2967
+ }
2968
+ /**
2969
+ * API settings
2970
+ */
2971
+ interface ApiSettingsResponse {
2972
+ apiVersion: string;
2973
+ rateLimit: number;
2974
+ corsEnabled: boolean;
2975
+ corsOrigins: string[];
2976
+ customDomain: string;
2977
+ baseUrl: string;
2978
+ projectEndpoint: string;
2979
+ }
2980
+ /**
2981
+ * Update API settings input
2982
+ */
2983
+ interface UpdateApiSettingsInput {
2984
+ apiVersion?: string;
2985
+ rateLimit?: number;
2986
+ corsEnabled?: boolean;
2987
+ corsOrigins?: string[];
2988
+ customDomain?: string;
2989
+ }
2990
+ /**
2991
+ * JWT settings
2992
+ */
2993
+ interface JwtSettingsResponse {
2994
+ algorithm: string;
2995
+ accessTokenExpiry: number;
2996
+ refreshTokenExpiry: number;
2997
+ refreshTokenEnabled: boolean;
2998
+ rotateOnUse: boolean;
2999
+ secretHint: string;
3000
+ lastRotated: string | null;
3001
+ }
3002
+ /**
3003
+ * Update JWT settings input
3004
+ */
3005
+ interface UpdateJwtSettingsInput {
3006
+ algorithm?: string;
3007
+ accessTokenExpiry?: number;
3008
+ refreshTokenExpiry?: number;
3009
+ refreshTokenEnabled?: boolean;
3010
+ rotateOnUse?: boolean;
3011
+ }
3012
+ /**
3013
+ * Addons configuration
3014
+ */
3015
+ interface AddonsResponse {
3016
+ enabledAddons: string[];
3017
+ currentTier: string;
3018
+ }
2931
3019
  /**
2932
3020
  * Projects module interface
2933
3021
  */
@@ -2945,6 +3033,57 @@ interface ProjectsModule {
2945
3033
  * Create a new project
2946
3034
  */
2947
3035
  create(input: CreateProjectInput): Promise<CreateProjectResponse>;
3036
+ /**
3037
+ * Update a project
3038
+ */
3039
+ update(projectId: string, input: UpdateProjectInput): Promise<{
3040
+ project: Project;
3041
+ }>;
3042
+ /**
3043
+ * Delete a project
3044
+ */
3045
+ delete(projectId: string): Promise<{
3046
+ ok: boolean;
3047
+ }>;
3048
+ /**
3049
+ * Get compute settings for a project
3050
+ */
3051
+ getComputeSettings(projectId: string): Promise<ComputeSettings>;
3052
+ /**
3053
+ * Update compute settings for a project
3054
+ */
3055
+ updateComputeSettings(projectId: string, input: UpdateComputeSettingsInput): Promise<ComputeSettings>;
3056
+ /**
3057
+ * Get API settings for a project
3058
+ */
3059
+ getApiSettings(projectId: string): Promise<ApiSettingsResponse>;
3060
+ /**
3061
+ * Update API settings for a project
3062
+ */
3063
+ updateApiSettings(projectId: string, input: UpdateApiSettingsInput): Promise<ApiSettingsResponse>;
3064
+ /**
3065
+ * Get JWT settings for a project
3066
+ */
3067
+ getJwtSettings(projectId: string): Promise<JwtSettingsResponse>;
3068
+ /**
3069
+ * Update JWT settings for a project
3070
+ */
3071
+ updateJwtSettings(projectId: string, input: UpdateJwtSettingsInput): Promise<JwtSettingsResponse>;
3072
+ /**
3073
+ * Rotate the JWT secret for a project
3074
+ */
3075
+ rotateJwtSecret(projectId: string): Promise<{
3076
+ secretHint: string;
3077
+ lastRotated: string;
3078
+ }>;
3079
+ /**
3080
+ * Get addon configuration for a project
3081
+ */
3082
+ getAddons(projectId: string): Promise<AddonsResponse>;
3083
+ /**
3084
+ * Update addon configuration for a project
3085
+ */
3086
+ updateAddons(projectId: string, enabledAddons: string[]): Promise<AddonsResponse>;
2948
3087
  /**
2949
3088
  * Get API keys for a project
2950
3089
  */
@@ -3420,13 +3559,12 @@ interface Deployment {
3420
3559
  id: string;
3421
3560
  projectId: string;
3422
3561
  envId: string | null;
3423
- schemaId: string | null;
3424
3562
  version: string | null;
3425
- status: "pending" | "building" | "applied" | "failed" | "rolled_back";
3563
+ status: "pending" | "in_progress" | "building" | "applied" | "failed" | "rolled_back";
3426
3564
  triggeredBy: string | null;
3427
3565
  summary: string | null;
3428
3566
  createdAt: string;
3429
- completedAt: string | null;
3567
+ appliedAt: string | null;
3430
3568
  steps?: DeploymentStep[];
3431
3569
  }
3432
3570
  /**
@@ -3442,7 +3580,6 @@ interface PromoteInput {
3442
3580
  projectId: string;
3443
3581
  sourceEnv: "dev" | "staging";
3444
3582
  targetEnv: "staging" | "prod";
3445
- schemaId?: string;
3446
3583
  }
3447
3584
  /**
3448
3585
  * Promote result
@@ -4891,9 +5028,9 @@ interface CreateIncidentInput {
4891
5028
  envId?: string;
4892
5029
  }
4893
5030
  /**
4894
- * Update project input
5031
+ * Admin update project input (region/tenancy)
4895
5032
  */
4896
- interface UpdateProjectInput {
5033
+ interface AdminUpdateProjectInput {
4897
5034
  regionKey?: string;
4898
5035
  tenancyType?: "shared" | "dedicated_db" | "dedicated_all";
4899
5036
  }
@@ -4934,12 +5071,13 @@ interface UpdateComponentStatusInput {
4934
5071
  interface QueueStats {
4935
5072
  id: string;
4936
5073
  name: string;
4937
- status: "active" | "paused" | "error";
5074
+ status: "active" | "paused" | "unknown";
4938
5075
  waiting: number;
4939
5076
  active: number;
4940
5077
  delayed: number;
4941
5078
  failed: number;
4942
5079
  completed: number;
5080
+ paused: number;
4943
5081
  }
4944
5082
  /**
4945
5083
  * Queue totals
@@ -4949,6 +5087,39 @@ interface QueueTotals {
4949
5087
  totalWaiting: number;
4950
5088
  totalDelayed: number;
4951
5089
  totalFailed: number;
5090
+ totalCompleted: number;
5091
+ }
5092
+ /**
5093
+ * System info (Node.js, OS, memory)
5094
+ */
5095
+ interface SystemInfo {
5096
+ node: {
5097
+ version: string;
5098
+ env: string;
5099
+ pid: number;
5100
+ uptime: number;
5101
+ arch: string;
5102
+ platform: string;
5103
+ };
5104
+ memory: {
5105
+ rss: number;
5106
+ heapTotal: number;
5107
+ heapUsed: number;
5108
+ external: number;
5109
+ arrayBuffers: number;
5110
+ };
5111
+ os: {
5112
+ hostname: string;
5113
+ type: string;
5114
+ release: string;
5115
+ arch: string;
5116
+ totalMemory: number;
5117
+ freeMemory: number;
5118
+ usedMemory: number;
5119
+ cpuCount: number;
5120
+ cpuModel: string;
5121
+ loadAverage: number[];
5122
+ };
4952
5123
  }
4953
5124
  /**
4954
5125
  * DLQ message
@@ -5579,7 +5750,7 @@ interface AdminModule {
5579
5750
  total: number;
5580
5751
  }>;
5581
5752
  getProject(projectId: string): Promise<AdminProjectDetails>;
5582
- updateProject(projectId: string, data: UpdateProjectInput): Promise<{
5753
+ updateProject(projectId: string, data: AdminUpdateProjectInput): Promise<{
5583
5754
  ok: boolean;
5584
5755
  projectId: string;
5585
5756
  resources: ProjectResource;
@@ -5615,6 +5786,7 @@ interface AdminModule {
5615
5786
  ok: boolean;
5616
5787
  component: StatusComponent;
5617
5788
  }>;
5789
+ getSystemInfo(): Promise<SystemInfo>;
5618
5790
  listQueues(): Promise<{
5619
5791
  queues: QueueStats[];
5620
5792
  totals: QueueTotals;
@@ -7155,6 +7327,15 @@ interface BootstrapInfrastructureEntitlements {
7155
7327
  activeInstances: number;
7156
7328
  includedTier: string | null;
7157
7329
  }
7330
+ /**
7331
+ * OAuth entitlements from bootstrap
7332
+ */
7333
+ interface BootstrapOAuthEntitlements {
7334
+ /** Max OAuth providers allowed (-1 = unlimited) */
7335
+ providersMax: number;
7336
+ /** Current number of configured OAuth providers */
7337
+ currentCount: number;
7338
+ }
7158
7339
  /**
7159
7340
  * Entitlements data from bootstrap
7160
7341
  */
@@ -7173,6 +7354,8 @@ interface BootstrapEntitlements {
7173
7354
  cancelAtPeriodEnd: boolean;
7174
7355
  /** Infrastructure entitlements (dedicated DB, etc.) */
7175
7356
  infrastructure?: BootstrapInfrastructureEntitlements;
7357
+ /** OAuth provider entitlements */
7358
+ oauth?: BootstrapOAuthEntitlements;
7176
7359
  }
7177
7360
  /**
7178
7361
  * Bootstrap response containing all initial data
@@ -7301,6 +7484,19 @@ interface CreateProjectFromTemplateResponse {
7301
7484
  templateInstall: InstallApplyResponse;
7302
7485
  quickstart: string;
7303
7486
  }
7487
+ /**
7488
+ * Create template input
7489
+ */
7490
+ interface CreateTemplateInput {
7491
+ name: string;
7492
+ slug: string;
7493
+ description?: string | null;
7494
+ category: string;
7495
+ visibility: TemplateVisibility;
7496
+ icon?: string | null;
7497
+ tags?: string[];
7498
+ orgId: string;
7499
+ }
7304
7500
  /**
7305
7501
  * Templates module interface
7306
7502
  */
@@ -7320,6 +7516,13 @@ interface TemplatesModule {
7320
7516
  template: Template;
7321
7517
  latestVersion: TemplateVersion | null;
7322
7518
  }>;
7519
+ /**
7520
+ * Create a new template
7521
+ */
7522
+ create(input: CreateTemplateInput): Promise<{
7523
+ ok: boolean;
7524
+ template: Template;
7525
+ }>;
7323
7526
  /**
7324
7527
  * Preview installing a template
7325
7528
  */
@@ -7397,6 +7600,15 @@ interface ConfigureOAuthInput {
7397
7600
  clientSecret: string;
7398
7601
  redirectUri: string;
7399
7602
  }
7603
+ /**
7604
+ * Update OAuth input
7605
+ */
7606
+ interface UpdateOAuthInput {
7607
+ clientId?: string;
7608
+ clientSecret?: string;
7609
+ redirectUri?: string;
7610
+ enabled?: boolean;
7611
+ }
7400
7612
  /**
7401
7613
  * OAuth module interface
7402
7614
  */
@@ -7413,21 +7625,16 @@ interface OAuthModule {
7413
7625
  message: string;
7414
7626
  }>;
7415
7627
  /**
7416
- * Enable an OAuth connection
7417
- */
7418
- enable(connectionId: string): Promise<{
7419
- ok: boolean;
7420
- }>;
7421
- /**
7422
- * Disable an OAuth connection
7628
+ * Update an OAuth provider configuration
7423
7629
  */
7424
- disable(connectionId: string): Promise<{
7630
+ update(orgId: string, provider: OAuthProvider, input: UpdateOAuthInput): Promise<{
7425
7631
  ok: boolean;
7632
+ connection: OAuthConnection;
7426
7633
  }>;
7427
7634
  /**
7428
- * Delete an OAuth connection
7635
+ * Delete an OAuth connection by provider
7429
7636
  */
7430
- delete(connectionId: string): Promise<{
7637
+ delete(orgId: string, provider: OAuthProvider): Promise<{
7431
7638
  ok: boolean;
7432
7639
  }>;
7433
7640
  }
@@ -8971,4 +9178,4 @@ declare function isVaifRateLimitError(error: unknown): error is VaifRateLimitErr
8971
9178
  */
8972
9179
  declare function isVaifNetworkError(error: unknown): error is VaifNetworkError;
8973
9180
 
8974
- export { type AIModule, type AIPlan, type AIPlanStep, type AIProjectOverrides, type AISettings, type AIUsageBreakdown, type AIUsageResult, type AddBillingContactInput, type AdminCopilotExecution, type AdminCopilotMemory, type AdminCopilotMessage, type AdminCopilotOverview, type AdminCopilotPlan, type AdminCopilotSession, type AdminCopilotSessionDetails, type AdminListOptions, type AdminMemoryListOptions, type AdminMemoryStats, type AdminMemoryUpdateInput, 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 ErrorContext, type ErrorEvent, type ErrorInterceptor, 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 InterceptorConfig, 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 RequestContext, type RequestInterceptor, type ResponseContext, type ResponseInterceptor, 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 TrainingDataExportOptions, type TrainingDataExportResponse, type TrainingDataStats, 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, VaifConflictError, VaifError, type VaifFunction, VaifNetworkError, VaifNotFoundError, VaifRateLimitError, VaifTimeoutError, VaifValidationError, type VerifySignatureOptions, type WebhookConfig, type WebhookDelivery, type WelcomeEvent, type WhereClause, type WhereFilter, type WhereOperator, createVaifClient, isVaifAuthError, isVaifError, isVaifNetworkError, isVaifNotFoundError, isVaifRateLimitError, isVaifValidationError };
9181
+ export { type AIModule, type AIPlan, type AIPlanStep, type AIProjectOverrides, type AISettings, type AIUsageBreakdown, type AIUsageResult, type AddBillingContactInput, type AddonsResponse, type AdminAIModel, type AdminAISession, type AdminAITurn, type AdminAIWorkspaceMessage, type AdminAIWorkspaceOverview, type AdminAIWorkspaceSession, type AdminAIWorkspaceSessionDetails, type AdminApiError, type AdminContextSnapshot, type AdminCopilotExecution, type AdminCopilotMemory, type AdminCopilotMessage, type AdminCopilotOverview, type AdminCopilotPlan, type AdminCopilotSession, type AdminCopilotSessionDetails, type AdminErrorListOptions, type AdminErrorStats, type FeatureFlag$1 as AdminFeatureFlag, type AdminGeneratedBackend, type AdminListOptions, type AdminMemoryListOptions, type AdminMemoryStats, type AdminMemoryUpdateInput, type AdminModule, type AdminOrg, type AdminOrgDetails, type AdminOrgMember, type AdminOrgProfile, type AdminOverviewResponse, type AdminProject, type AdminProjectDetails, type AdminPromptTemplate, type AdminUpdateProjectInput, 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 ApiSettingsResponse, 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 BootstrapOAuthEntitlements, 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 ComputeSettings, 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 CreateAIModelInput, 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 ErrorContext, type ErrorEvent, type ErrorInterceptor, 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 InterceptorConfig, type InviteMemberInput, type InvokeInput, type InvokeOptions, type InvokeResult, type IsolationLevel, type ItemResponse, type JwtSettingsResponse, 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 RequestContext, type RequestInterceptor, type ResponseContext, type ResponseInterceptor, 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 SuperAdmin, type SystemInfo, type SystemSetting, type TableClient, type TableDefinition, type TaskType, type Template, type TemplateCategory, type TemplateDefinition, type TemplateVersion, type TemplateVisibility, type TemplatesModule, type TrainingDataExportOptions, type TrainingDataExportResponse, type TrainingDataStats, type TransactionOperation, type TransactionOptions, type TransactionResult, type TypedEventHandler, type TypedFunction, type UnsubscribeFn, type UpdateAIModelInput, type UpdateAIProjectOverridesInput, type UpdateAISettingsInput, type UpdateApiSettingsInput, type UpdateBucketInput, type UpdateBucketOptions, type UpdateComponentStatusInput, type UpdateComputeSettingsInput, type UpdateDocPageInput, type UpdateDocSdkInput, type UpdateEnvVarInput, type UpdateFlagInput, type UpdateFunctionInput, type UpdateJwtSettingsInput, type UpdateOAuthInput, 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, VaifConflictError, VaifError, type VaifFunction, VaifNetworkError, VaifNotFoundError, VaifRateLimitError, VaifTimeoutError, VaifValidationError, type VerifySignatureOptions, type WebhookConfig, type WebhookDelivery, type WelcomeEvent, type WhereClause, type WhereFilter, type WhereOperator, createVaifClient, isVaifAuthError, isVaifError, isVaifNetworkError, isVaifNotFoundError, isVaifRateLimitError, isVaifValidationError };