@vaiftech/client 1.2.0 → 1.4.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
@@ -5345,6 +5516,24 @@ interface AdminMemoryUpdateInput {
5345
5516
  confidence?: number;
5346
5517
  expiresAt?: string | null;
5347
5518
  }
5519
+ /**
5520
+ * Classification feedback (Admin)
5521
+ */
5522
+ interface AdminClassificationFeedback {
5523
+ id: string;
5524
+ sessionId: string;
5525
+ messageId: string;
5526
+ originalPrompt: string | null;
5527
+ classifiedIntent: string | null;
5528
+ classifiedCategory: string | null;
5529
+ originalConfidence: number | null;
5530
+ feedbackType: string;
5531
+ correctedIntent: string | null;
5532
+ userFeedback: string | null;
5533
+ wasSuccessful: boolean | null;
5534
+ classificationMethod: string | null;
5535
+ createdAt: string;
5536
+ }
5348
5537
  /**
5349
5538
  * Training data export options
5350
5539
  */
@@ -5579,7 +5768,7 @@ interface AdminModule {
5579
5768
  total: number;
5580
5769
  }>;
5581
5770
  getProject(projectId: string): Promise<AdminProjectDetails>;
5582
- updateProject(projectId: string, data: UpdateProjectInput): Promise<{
5771
+ updateProject(projectId: string, data: AdminUpdateProjectInput): Promise<{
5583
5772
  ok: boolean;
5584
5773
  projectId: string;
5585
5774
  resources: ProjectResource;
@@ -5615,6 +5804,7 @@ interface AdminModule {
5615
5804
  ok: boolean;
5616
5805
  component: StatusComponent;
5617
5806
  }>;
5807
+ getSystemInfo(): Promise<SystemInfo>;
5618
5808
  listQueues(): Promise<{
5619
5809
  queues: QueueStats[];
5620
5810
  totals: QueueTotals;
@@ -5794,6 +5984,12 @@ interface AdminModule {
5794
5984
  ok: boolean;
5795
5985
  deletedCount: number;
5796
5986
  }>;
5987
+ listClassificationFeedback(options?: AdminListOptions & {
5988
+ feedbackType?: string;
5989
+ }): Promise<{
5990
+ feedback: AdminClassificationFeedback[];
5991
+ total: number;
5992
+ }>;
5797
5993
  exportTrainingData(options?: TrainingDataExportOptions): Promise<TrainingDataExportResponse>;
5798
5994
  getTrainingDataStats(): Promise<TrainingDataStats>;
5799
5995
  listErrors(options?: AdminErrorListOptions): Promise<{
@@ -7155,6 +7351,15 @@ interface BootstrapInfrastructureEntitlements {
7155
7351
  activeInstances: number;
7156
7352
  includedTier: string | null;
7157
7353
  }
7354
+ /**
7355
+ * OAuth entitlements from bootstrap
7356
+ */
7357
+ interface BootstrapOAuthEntitlements {
7358
+ /** Max OAuth providers allowed (-1 = unlimited) */
7359
+ providersMax: number;
7360
+ /** Current number of configured OAuth providers */
7361
+ currentCount: number;
7362
+ }
7158
7363
  /**
7159
7364
  * Entitlements data from bootstrap
7160
7365
  */
@@ -7173,6 +7378,8 @@ interface BootstrapEntitlements {
7173
7378
  cancelAtPeriodEnd: boolean;
7174
7379
  /** Infrastructure entitlements (dedicated DB, etc.) */
7175
7380
  infrastructure?: BootstrapInfrastructureEntitlements;
7381
+ /** OAuth provider entitlements */
7382
+ oauth?: BootstrapOAuthEntitlements;
7176
7383
  }
7177
7384
  /**
7178
7385
  * Bootstrap response containing all initial data
@@ -7301,6 +7508,19 @@ interface CreateProjectFromTemplateResponse {
7301
7508
  templateInstall: InstallApplyResponse;
7302
7509
  quickstart: string;
7303
7510
  }
7511
+ /**
7512
+ * Create template input
7513
+ */
7514
+ interface CreateTemplateInput {
7515
+ name: string;
7516
+ slug: string;
7517
+ description?: string | null;
7518
+ category: string;
7519
+ visibility: TemplateVisibility;
7520
+ icon?: string | null;
7521
+ tags?: string[];
7522
+ orgId: string;
7523
+ }
7304
7524
  /**
7305
7525
  * Templates module interface
7306
7526
  */
@@ -7320,6 +7540,13 @@ interface TemplatesModule {
7320
7540
  template: Template;
7321
7541
  latestVersion: TemplateVersion | null;
7322
7542
  }>;
7543
+ /**
7544
+ * Create a new template
7545
+ */
7546
+ create(input: CreateTemplateInput): Promise<{
7547
+ ok: boolean;
7548
+ template: Template;
7549
+ }>;
7323
7550
  /**
7324
7551
  * Preview installing a template
7325
7552
  */
@@ -7397,6 +7624,15 @@ interface ConfigureOAuthInput {
7397
7624
  clientSecret: string;
7398
7625
  redirectUri: string;
7399
7626
  }
7627
+ /**
7628
+ * Update OAuth input
7629
+ */
7630
+ interface UpdateOAuthInput {
7631
+ clientId?: string;
7632
+ clientSecret?: string;
7633
+ redirectUri?: string;
7634
+ enabled?: boolean;
7635
+ }
7400
7636
  /**
7401
7637
  * OAuth module interface
7402
7638
  */
@@ -7413,21 +7649,16 @@ interface OAuthModule {
7413
7649
  message: string;
7414
7650
  }>;
7415
7651
  /**
7416
- * Enable an OAuth connection
7417
- */
7418
- enable(connectionId: string): Promise<{
7419
- ok: boolean;
7420
- }>;
7421
- /**
7422
- * Disable an OAuth connection
7652
+ * Update an OAuth provider configuration
7423
7653
  */
7424
- disable(connectionId: string): Promise<{
7654
+ update(orgId: string, provider: OAuthProvider, input: UpdateOAuthInput): Promise<{
7425
7655
  ok: boolean;
7656
+ connection: OAuthConnection;
7426
7657
  }>;
7427
7658
  /**
7428
- * Delete an OAuth connection
7659
+ * Delete an OAuth connection by provider
7429
7660
  */
7430
- delete(connectionId: string): Promise<{
7661
+ delete(orgId: string, provider: OAuthProvider): Promise<{
7431
7662
  ok: boolean;
7432
7663
  }>;
7433
7664
  }
@@ -8971,4 +9202,4 @@ declare function isVaifRateLimitError(error: unknown): error is VaifRateLimitErr
8971
9202
  */
8972
9203
  declare function isVaifNetworkError(error: unknown): error is VaifNetworkError;
8973
9204
 
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 };
9205
+ 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 AdminClassificationFeedback, 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 };