@vaiftech/client 1.0.9 → 1.0.11
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 +693 -2
- package/dist/index.d.ts +693 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -2632,11 +2632,76 @@ interface Environment {
|
|
|
2632
2632
|
url?: string;
|
|
2633
2633
|
customDomain?: string | null;
|
|
2634
2634
|
customDomainVerified?: boolean;
|
|
2635
|
+
customDomainCnameVerified?: boolean;
|
|
2636
|
+
customDomainSslStatus?: "pending" | "provisioning" | "active" | "failed" | null;
|
|
2637
|
+
customDomainSslExpiresAt?: string | null;
|
|
2635
2638
|
isActive?: boolean;
|
|
2636
2639
|
config?: Record<string, unknown>;
|
|
2637
2640
|
createdAt: string;
|
|
2638
2641
|
updatedAt: string;
|
|
2639
2642
|
}
|
|
2643
|
+
/**
|
|
2644
|
+
* Domain status response
|
|
2645
|
+
*/
|
|
2646
|
+
interface DomainStatus {
|
|
2647
|
+
configured: boolean;
|
|
2648
|
+
customDomain: string | null;
|
|
2649
|
+
status: "pending" | "txt_verified" | "cname_verified" | "ssl_provisioning" | "active" | "failed" | null;
|
|
2650
|
+
txtVerification?: {
|
|
2651
|
+
verified: boolean;
|
|
2652
|
+
host: string;
|
|
2653
|
+
value: string;
|
|
2654
|
+
};
|
|
2655
|
+
cnameVerification?: {
|
|
2656
|
+
verified: boolean;
|
|
2657
|
+
host: string;
|
|
2658
|
+
target: string;
|
|
2659
|
+
};
|
|
2660
|
+
ssl?: {
|
|
2661
|
+
status: string | null;
|
|
2662
|
+
expiresAt: string | null;
|
|
2663
|
+
};
|
|
2664
|
+
autoUrl?: string;
|
|
2665
|
+
}
|
|
2666
|
+
/**
|
|
2667
|
+
* Domain verification instructions
|
|
2668
|
+
*/
|
|
2669
|
+
interface DomainVerificationInstructions {
|
|
2670
|
+
customDomain: string;
|
|
2671
|
+
verified: boolean;
|
|
2672
|
+
verificationToken: string;
|
|
2673
|
+
instructions: {
|
|
2674
|
+
method: string;
|
|
2675
|
+
host: string;
|
|
2676
|
+
value: string;
|
|
2677
|
+
ttl: number;
|
|
2678
|
+
note: string;
|
|
2679
|
+
};
|
|
2680
|
+
cnameInstructions: {
|
|
2681
|
+
method: string;
|
|
2682
|
+
host: string;
|
|
2683
|
+
value: string;
|
|
2684
|
+
ttl: number;
|
|
2685
|
+
note: string;
|
|
2686
|
+
};
|
|
2687
|
+
}
|
|
2688
|
+
/**
|
|
2689
|
+
* Domain verification result
|
|
2690
|
+
*/
|
|
2691
|
+
interface DomainVerificationResult {
|
|
2692
|
+
verified: boolean;
|
|
2693
|
+
message: string;
|
|
2694
|
+
cnameTarget?: string;
|
|
2695
|
+
}
|
|
2696
|
+
/**
|
|
2697
|
+
* SSL provisioning result
|
|
2698
|
+
*/
|
|
2699
|
+
interface SslProvisioningResult {
|
|
2700
|
+
status: "provisioning" | "active";
|
|
2701
|
+
message: string;
|
|
2702
|
+
estimatedTime?: string;
|
|
2703
|
+
expiresAt?: string;
|
|
2704
|
+
}
|
|
2640
2705
|
/**
|
|
2641
2706
|
* Create project input
|
|
2642
2707
|
*/
|
|
@@ -2687,14 +2752,22 @@ interface CreateApiKeyResponse {
|
|
|
2687
2752
|
apiKeyId: string;
|
|
2688
2753
|
apiKey: string;
|
|
2689
2754
|
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Options for listing projects
|
|
2757
|
+
*/
|
|
2758
|
+
interface ListProjectsOptions {
|
|
2759
|
+
/** Filter by organization ID */
|
|
2760
|
+
orgId?: string;
|
|
2761
|
+
}
|
|
2690
2762
|
/**
|
|
2691
2763
|
* Projects module interface
|
|
2692
2764
|
*/
|
|
2693
2765
|
interface ProjectsModule {
|
|
2694
2766
|
/**
|
|
2695
2767
|
* List all projects for the authenticated user
|
|
2768
|
+
* @param options Optional filters (orgId)
|
|
2696
2769
|
*/
|
|
2697
|
-
list(): Promise<Project[]>;
|
|
2770
|
+
list(options?: ListProjectsOptions): Promise<Project[]>;
|
|
2698
2771
|
/**
|
|
2699
2772
|
* Get a single project by ID
|
|
2700
2773
|
*/
|
|
@@ -2723,6 +2796,42 @@ interface ProjectsModule {
|
|
|
2723
2796
|
* Rotate an API key
|
|
2724
2797
|
*/
|
|
2725
2798
|
rotateApiKey(projectId: string, keyId: string): Promise<CreateApiKeyResponse>;
|
|
2799
|
+
/**
|
|
2800
|
+
* Set a custom domain for an environment
|
|
2801
|
+
*/
|
|
2802
|
+
setCustomDomain(projectId: string, envId: string, domain: string | null): Promise<{
|
|
2803
|
+
environment: Environment;
|
|
2804
|
+
}>;
|
|
2805
|
+
/**
|
|
2806
|
+
* Get domain verification instructions
|
|
2807
|
+
*/
|
|
2808
|
+
getDomainVerificationInstructions(projectId: string, envId: string): Promise<DomainVerificationInstructions>;
|
|
2809
|
+
/**
|
|
2810
|
+
* Verify TXT record for custom domain
|
|
2811
|
+
*/
|
|
2812
|
+
verifyDomainTxt(projectId: string, envId: string): Promise<DomainVerificationResult>;
|
|
2813
|
+
/**
|
|
2814
|
+
* Verify CNAME record for custom domain
|
|
2815
|
+
*/
|
|
2816
|
+
verifyDomainCname(projectId: string, envId: string): Promise<DomainVerificationResult>;
|
|
2817
|
+
/**
|
|
2818
|
+
* Get full domain status
|
|
2819
|
+
*/
|
|
2820
|
+
getDomainStatus(projectId: string, envId: string): Promise<DomainStatus>;
|
|
2821
|
+
/**
|
|
2822
|
+
* Provision SSL certificate for custom domain
|
|
2823
|
+
*/
|
|
2824
|
+
provisionSsl(projectId: string, envId: string): Promise<SslProvisioningResult>;
|
|
2825
|
+
/**
|
|
2826
|
+
* Remove custom domain from an environment
|
|
2827
|
+
*/
|
|
2828
|
+
removeCustomDomain(projectId: string, envId: string): Promise<{
|
|
2829
|
+
environment: Environment;
|
|
2830
|
+
}>;
|
|
2831
|
+
/**
|
|
2832
|
+
* List all API keys for a project
|
|
2833
|
+
*/
|
|
2834
|
+
listApiKeys(projectId: string): Promise<ApiKey[]>;
|
|
2726
2835
|
}
|
|
2727
2836
|
|
|
2728
2837
|
/**
|
|
@@ -2899,6 +3008,10 @@ interface OrgsModule {
|
|
|
2899
3008
|
* Update a member's role in an organization
|
|
2900
3009
|
*/
|
|
2901
3010
|
updateMemberRole(orgId: string, userId: string, role: "admin" | "member" | "viewer"): Promise<OrgMember>;
|
|
3011
|
+
/**
|
|
3012
|
+
* Get the current user's membership in an organization
|
|
3013
|
+
*/
|
|
3014
|
+
getMyMembership(orgId: string): Promise<OrgMembership | null>;
|
|
2902
3015
|
}
|
|
2903
3016
|
|
|
2904
3017
|
/**
|
|
@@ -4879,6 +4992,374 @@ interface AdminContextSnapshot {
|
|
|
4879
4992
|
expiresAt: string | null;
|
|
4880
4993
|
projectName: string | null;
|
|
4881
4994
|
}
|
|
4995
|
+
/**
|
|
4996
|
+
* Copilot Overview response (Admin)
|
|
4997
|
+
*/
|
|
4998
|
+
interface AdminCopilotOverview {
|
|
4999
|
+
overview: {
|
|
5000
|
+
totalSessions: number;
|
|
5001
|
+
sessions24h: number;
|
|
5002
|
+
totalMessages: number;
|
|
5003
|
+
messages24h: number;
|
|
5004
|
+
totalCreditsUsed: number;
|
|
5005
|
+
sessionsByStatus: Record<string, number>;
|
|
5006
|
+
};
|
|
5007
|
+
classification: {
|
|
5008
|
+
stats: Array<{
|
|
5009
|
+
method: string;
|
|
5010
|
+
total: number;
|
|
5011
|
+
correct: number;
|
|
5012
|
+
accuracy: string;
|
|
5013
|
+
}>;
|
|
5014
|
+
intentDistribution: Array<{
|
|
5015
|
+
intent: string;
|
|
5016
|
+
count: number;
|
|
5017
|
+
}>;
|
|
5018
|
+
};
|
|
5019
|
+
execution: {
|
|
5020
|
+
total: number;
|
|
5021
|
+
completed: number;
|
|
5022
|
+
failed: number;
|
|
5023
|
+
rolledBack: number;
|
|
5024
|
+
successRate: string;
|
|
5025
|
+
} | null;
|
|
5026
|
+
trends: {
|
|
5027
|
+
dailySessions: Array<{
|
|
5028
|
+
date: string;
|
|
5029
|
+
count: number;
|
|
5030
|
+
}>;
|
|
5031
|
+
};
|
|
5032
|
+
}
|
|
5033
|
+
/**
|
|
5034
|
+
* Copilot Session (Admin)
|
|
5035
|
+
*/
|
|
5036
|
+
interface AdminCopilotSession {
|
|
5037
|
+
id: string;
|
|
5038
|
+
projectId: string;
|
|
5039
|
+
userId: string;
|
|
5040
|
+
title: string | null;
|
|
5041
|
+
status: string;
|
|
5042
|
+
messageCount: number;
|
|
5043
|
+
totalTokens: number;
|
|
5044
|
+
totalCreditsUsed: string | null;
|
|
5045
|
+
generationTypes: string[];
|
|
5046
|
+
primaryModelId: string | null;
|
|
5047
|
+
createdAt: string;
|
|
5048
|
+
updatedAt: string;
|
|
5049
|
+
lastMessageAt: string | null;
|
|
5050
|
+
userEmail: string | null;
|
|
5051
|
+
userName: string | null;
|
|
5052
|
+
projectName: string | null;
|
|
5053
|
+
}
|
|
5054
|
+
/**
|
|
5055
|
+
* Copilot Message (Admin)
|
|
5056
|
+
*/
|
|
5057
|
+
interface AdminCopilotMessage {
|
|
5058
|
+
id: string;
|
|
5059
|
+
sessionId: string;
|
|
5060
|
+
role: string;
|
|
5061
|
+
content: string;
|
|
5062
|
+
intent: string | null;
|
|
5063
|
+
category: string | null;
|
|
5064
|
+
confidence: number | null;
|
|
5065
|
+
inputTokens: number | null;
|
|
5066
|
+
outputTokens: number | null;
|
|
5067
|
+
modelUsed: string | null;
|
|
5068
|
+
creditsUsed: string | null;
|
|
5069
|
+
createdAt: string;
|
|
5070
|
+
}
|
|
5071
|
+
/**
|
|
5072
|
+
* Copilot Plan (Admin)
|
|
5073
|
+
*/
|
|
5074
|
+
interface AdminCopilotPlan {
|
|
5075
|
+
id: string;
|
|
5076
|
+
sessionId: string;
|
|
5077
|
+
messageId: string | null;
|
|
5078
|
+
intent: string;
|
|
5079
|
+
status: string;
|
|
5080
|
+
description: string | null;
|
|
5081
|
+
steps: unknown[];
|
|
5082
|
+
createdAt: string;
|
|
5083
|
+
}
|
|
5084
|
+
/**
|
|
5085
|
+
* Copilot Execution (Admin)
|
|
5086
|
+
*/
|
|
5087
|
+
interface AdminCopilotExecution {
|
|
5088
|
+
id: string;
|
|
5089
|
+
planId: string;
|
|
5090
|
+
sessionId: string;
|
|
5091
|
+
projectId: string;
|
|
5092
|
+
status: string;
|
|
5093
|
+
currentStepIndex: number | null;
|
|
5094
|
+
completedStepIds: string[];
|
|
5095
|
+
failedStepIds: string[];
|
|
5096
|
+
skippedStepIds: string[];
|
|
5097
|
+
startedAt: string | null;
|
|
5098
|
+
completedAt: string | null;
|
|
5099
|
+
error: string | null;
|
|
5100
|
+
createdAt: string;
|
|
5101
|
+
}
|
|
5102
|
+
/**
|
|
5103
|
+
* Copilot Session Details response (Admin)
|
|
5104
|
+
*/
|
|
5105
|
+
interface AdminCopilotSessionDetails {
|
|
5106
|
+
session: AdminCopilotSession & {
|
|
5107
|
+
summary: string | null;
|
|
5108
|
+
intentHistory: string[] | null;
|
|
5109
|
+
};
|
|
5110
|
+
messages: AdminCopilotMessage[];
|
|
5111
|
+
plans: AdminCopilotPlan[];
|
|
5112
|
+
executions: AdminCopilotExecution[];
|
|
5113
|
+
}
|
|
5114
|
+
/**
|
|
5115
|
+
* Copilot Memory (Admin)
|
|
5116
|
+
*/
|
|
5117
|
+
interface AdminCopilotMemory {
|
|
5118
|
+
id: string;
|
|
5119
|
+
projectId: string;
|
|
5120
|
+
sessionId: string | null;
|
|
5121
|
+
memoryType: string;
|
|
5122
|
+
content: string;
|
|
5123
|
+
importance: string;
|
|
5124
|
+
entities: string[];
|
|
5125
|
+
messageIds: string[];
|
|
5126
|
+
confidence: string;
|
|
5127
|
+
accessCount: number;
|
|
5128
|
+
lastAccessedAt: string;
|
|
5129
|
+
expiresAt: string | null;
|
|
5130
|
+
createdAt: string;
|
|
5131
|
+
projectName: string | null;
|
|
5132
|
+
}
|
|
5133
|
+
/**
|
|
5134
|
+
* Memory list options
|
|
5135
|
+
*/
|
|
5136
|
+
interface AdminMemoryListOptions extends AdminListOptions {
|
|
5137
|
+
projectId?: string;
|
|
5138
|
+
memoryType?: string;
|
|
5139
|
+
importance?: string;
|
|
5140
|
+
}
|
|
5141
|
+
/**
|
|
5142
|
+
* Memory stats response
|
|
5143
|
+
*/
|
|
5144
|
+
interface AdminMemoryStats {
|
|
5145
|
+
totalMemories: number;
|
|
5146
|
+
byType: Record<string, number>;
|
|
5147
|
+
byImportance: Record<string, number>;
|
|
5148
|
+
avgConfidence: number;
|
|
5149
|
+
mostAccessed: Array<{
|
|
5150
|
+
id: string;
|
|
5151
|
+
content: string;
|
|
5152
|
+
memoryType: string;
|
|
5153
|
+
accessCount: number;
|
|
5154
|
+
projectName: string | null;
|
|
5155
|
+
}>;
|
|
5156
|
+
byProject: Array<{
|
|
5157
|
+
projectId: string;
|
|
5158
|
+
projectName: string | null;
|
|
5159
|
+
count: number;
|
|
5160
|
+
}>;
|
|
5161
|
+
recentMemories: number;
|
|
5162
|
+
expiredMemories: number;
|
|
5163
|
+
}
|
|
5164
|
+
/**
|
|
5165
|
+
* Memory update input
|
|
5166
|
+
*/
|
|
5167
|
+
interface AdminMemoryUpdateInput {
|
|
5168
|
+
content?: string;
|
|
5169
|
+
importance?: "critical" | "high" | "medium" | "low";
|
|
5170
|
+
memoryType?: string;
|
|
5171
|
+
entities?: string[];
|
|
5172
|
+
confidence?: number;
|
|
5173
|
+
expiresAt?: string | null;
|
|
5174
|
+
}
|
|
5175
|
+
/**
|
|
5176
|
+
* Training data export options
|
|
5177
|
+
*/
|
|
5178
|
+
interface TrainingDataExportOptions {
|
|
5179
|
+
format?: "jsonl" | "conversations" | "classification" | "memories";
|
|
5180
|
+
dataType?: "all" | "conversations" | "classification" | "memories";
|
|
5181
|
+
minConfidence?: number;
|
|
5182
|
+
limit?: number;
|
|
5183
|
+
includeExecuted?: boolean;
|
|
5184
|
+
includeSuccessful?: boolean;
|
|
5185
|
+
}
|
|
5186
|
+
/**
|
|
5187
|
+
* Training data export response
|
|
5188
|
+
*/
|
|
5189
|
+
interface TrainingDataExportResponse {
|
|
5190
|
+
format: string;
|
|
5191
|
+
dataType: string;
|
|
5192
|
+
recordCount: number;
|
|
5193
|
+
data: any[];
|
|
5194
|
+
entityPatterns: Array<{
|
|
5195
|
+
entityType: string;
|
|
5196
|
+
pattern: string;
|
|
5197
|
+
patternType: string;
|
|
5198
|
+
confidence: string;
|
|
5199
|
+
usageCount: number;
|
|
5200
|
+
}>;
|
|
5201
|
+
exportedAt: string;
|
|
5202
|
+
metadata: {
|
|
5203
|
+
minConfidence: number;
|
|
5204
|
+
includeExecuted: boolean;
|
|
5205
|
+
includeSuccessful: boolean;
|
|
5206
|
+
};
|
|
5207
|
+
}
|
|
5208
|
+
/**
|
|
5209
|
+
* AI Workspace Session
|
|
5210
|
+
*/
|
|
5211
|
+
interface AdminAIWorkspaceSession {
|
|
5212
|
+
id: string;
|
|
5213
|
+
projectId: string;
|
|
5214
|
+
userId: string;
|
|
5215
|
+
title: string | null;
|
|
5216
|
+
taskType: string | null;
|
|
5217
|
+
status: string;
|
|
5218
|
+
messageCount: number;
|
|
5219
|
+
totalTokens: number;
|
|
5220
|
+
totalCostCents: number;
|
|
5221
|
+
createdAt: string;
|
|
5222
|
+
updatedAt: string;
|
|
5223
|
+
userEmail: string | null;
|
|
5224
|
+
userName: string | null;
|
|
5225
|
+
projectName: string | null;
|
|
5226
|
+
}
|
|
5227
|
+
interface AdminAIWorkspaceMessage {
|
|
5228
|
+
id: string;
|
|
5229
|
+
conversationId: string;
|
|
5230
|
+
role: string;
|
|
5231
|
+
content: string;
|
|
5232
|
+
metadata: Record<string, any>;
|
|
5233
|
+
tokenCount: number;
|
|
5234
|
+
costCents: number;
|
|
5235
|
+
createdAt: string;
|
|
5236
|
+
}
|
|
5237
|
+
interface AdminAIWorkspaceOverview {
|
|
5238
|
+
overview: {
|
|
5239
|
+
totalSessions: number;
|
|
5240
|
+
sessions24h: number;
|
|
5241
|
+
totalMessages: number;
|
|
5242
|
+
messages24h: number;
|
|
5243
|
+
totalTokens: number;
|
|
5244
|
+
totalCostCents: number;
|
|
5245
|
+
sessionsByStatus: Record<string, number>;
|
|
5246
|
+
sessionsByTaskType: Record<string, number>;
|
|
5247
|
+
};
|
|
5248
|
+
trends: {
|
|
5249
|
+
dailySessions: Array<{
|
|
5250
|
+
date: string;
|
|
5251
|
+
count: number;
|
|
5252
|
+
}>;
|
|
5253
|
+
};
|
|
5254
|
+
}
|
|
5255
|
+
interface AdminAIWorkspaceSessionDetails {
|
|
5256
|
+
session: AdminAIWorkspaceSession & {
|
|
5257
|
+
context: Record<string, any>;
|
|
5258
|
+
};
|
|
5259
|
+
messages: AdminAIWorkspaceMessage[];
|
|
5260
|
+
}
|
|
5261
|
+
/**
|
|
5262
|
+
* API Error Log
|
|
5263
|
+
*/
|
|
5264
|
+
interface AdminApiError {
|
|
5265
|
+
id: string;
|
|
5266
|
+
requestId: string | null;
|
|
5267
|
+
method: string;
|
|
5268
|
+
path: string;
|
|
5269
|
+
userId: string | null;
|
|
5270
|
+
projectId: string | null;
|
|
5271
|
+
orgId: string | null;
|
|
5272
|
+
errorCode: string | null;
|
|
5273
|
+
errorMessage: string;
|
|
5274
|
+
errorStack: string | null;
|
|
5275
|
+
requestBody: Record<string, unknown> | null;
|
|
5276
|
+
responseStatus: number;
|
|
5277
|
+
metadata: Record<string, unknown>;
|
|
5278
|
+
environment: string;
|
|
5279
|
+
serverRegion: string | null;
|
|
5280
|
+
createdAt: string;
|
|
5281
|
+
resolvedAt: string | null;
|
|
5282
|
+
resolvedBy: string | null;
|
|
5283
|
+
resolutionNotes: string | null;
|
|
5284
|
+
userName?: string | null;
|
|
5285
|
+
userEmail?: string | null;
|
|
5286
|
+
projectName?: string | null;
|
|
5287
|
+
orgName?: string | null;
|
|
5288
|
+
}
|
|
5289
|
+
/**
|
|
5290
|
+
* Error log list options
|
|
5291
|
+
*/
|
|
5292
|
+
interface AdminErrorListOptions extends AdminListOptions {
|
|
5293
|
+
path?: string;
|
|
5294
|
+
errorCode?: string;
|
|
5295
|
+
status?: "unresolved" | "resolved" | "all";
|
|
5296
|
+
environment?: string;
|
|
5297
|
+
startDate?: string;
|
|
5298
|
+
endDate?: string;
|
|
5299
|
+
}
|
|
5300
|
+
/**
|
|
5301
|
+
* Error stats response
|
|
5302
|
+
*/
|
|
5303
|
+
interface AdminErrorStats {
|
|
5304
|
+
total: number;
|
|
5305
|
+
unresolved: number;
|
|
5306
|
+
resolved: number;
|
|
5307
|
+
last24h: number;
|
|
5308
|
+
last7d: number;
|
|
5309
|
+
byErrorCode: Array<{
|
|
5310
|
+
errorCode: string;
|
|
5311
|
+
count: number;
|
|
5312
|
+
}>;
|
|
5313
|
+
byPath: Array<{
|
|
5314
|
+
path: string;
|
|
5315
|
+
count: number;
|
|
5316
|
+
}>;
|
|
5317
|
+
byResponseStatus: Array<{
|
|
5318
|
+
status: number;
|
|
5319
|
+
count: number;
|
|
5320
|
+
}>;
|
|
5321
|
+
}
|
|
5322
|
+
/**
|
|
5323
|
+
* Training data stats response
|
|
5324
|
+
*/
|
|
5325
|
+
interface TrainingDataStats {
|
|
5326
|
+
conversations: {
|
|
5327
|
+
totalSessions: number;
|
|
5328
|
+
totalMessages: number;
|
|
5329
|
+
completedSessions: number;
|
|
5330
|
+
executedSessions: number;
|
|
5331
|
+
};
|
|
5332
|
+
classification: {
|
|
5333
|
+
totalFeedback: number;
|
|
5334
|
+
correctClassifications: number;
|
|
5335
|
+
incorrectClassifications: number;
|
|
5336
|
+
accuracy: string;
|
|
5337
|
+
};
|
|
5338
|
+
memories: {
|
|
5339
|
+
total: number;
|
|
5340
|
+
avgConfidence: number;
|
|
5341
|
+
highImportanceCount: number;
|
|
5342
|
+
};
|
|
5343
|
+
entityPatterns: {
|
|
5344
|
+
total: number;
|
|
5345
|
+
active: number;
|
|
5346
|
+
avgConfidence: number;
|
|
5347
|
+
};
|
|
5348
|
+
intentDistribution: Array<{
|
|
5349
|
+
intent: string;
|
|
5350
|
+
count: number;
|
|
5351
|
+
}>;
|
|
5352
|
+
recommendations: {
|
|
5353
|
+
readyForFineTuning: boolean;
|
|
5354
|
+
suggestedMinSessions: number;
|
|
5355
|
+
suggestedMinFeedback: number;
|
|
5356
|
+
dataQuality: {
|
|
5357
|
+
score: number;
|
|
5358
|
+
level: string;
|
|
5359
|
+
details: string[];
|
|
5360
|
+
};
|
|
5361
|
+
};
|
|
5362
|
+
}
|
|
4882
5363
|
/**
|
|
4883
5364
|
* Admin module interface
|
|
4884
5365
|
*/
|
|
@@ -5111,6 +5592,67 @@ interface AdminModule {
|
|
|
5111
5592
|
deleteContextSnapshot(snapshotId: string): Promise<{
|
|
5112
5593
|
ok: boolean;
|
|
5113
5594
|
}>;
|
|
5595
|
+
getCopilotOverview(): Promise<AdminCopilotOverview>;
|
|
5596
|
+
listCopilotSessions(options?: AdminListOptions & {
|
|
5597
|
+
status?: string;
|
|
5598
|
+
}): Promise<{
|
|
5599
|
+
sessions: AdminCopilotSession[];
|
|
5600
|
+
total: number;
|
|
5601
|
+
}>;
|
|
5602
|
+
getCopilotSession(sessionId: string): Promise<AdminCopilotSessionDetails>;
|
|
5603
|
+
deleteCopilotSession(sessionId: string): Promise<{
|
|
5604
|
+
ok: boolean;
|
|
5605
|
+
}>;
|
|
5606
|
+
listCopilotMemories(options?: AdminMemoryListOptions): Promise<{
|
|
5607
|
+
memories: AdminCopilotMemory[];
|
|
5608
|
+
total: number;
|
|
5609
|
+
}>;
|
|
5610
|
+
getCopilotMemoryStats(): Promise<AdminMemoryStats>;
|
|
5611
|
+
getCopilotMemory(memoryId: string): Promise<{
|
|
5612
|
+
memory: AdminCopilotMemory;
|
|
5613
|
+
}>;
|
|
5614
|
+
updateCopilotMemory(memoryId: string, input: AdminMemoryUpdateInput): Promise<{
|
|
5615
|
+
memory: AdminCopilotMemory;
|
|
5616
|
+
}>;
|
|
5617
|
+
deleteCopilotMemory(memoryId: string): Promise<{
|
|
5618
|
+
ok: boolean;
|
|
5619
|
+
}>;
|
|
5620
|
+
cleanupExpiredMemories(): Promise<{
|
|
5621
|
+
ok: boolean;
|
|
5622
|
+
deletedCount: number;
|
|
5623
|
+
}>;
|
|
5624
|
+
exportTrainingData(options?: TrainingDataExportOptions): Promise<TrainingDataExportResponse>;
|
|
5625
|
+
getTrainingDataStats(): Promise<TrainingDataStats>;
|
|
5626
|
+
listErrors(options?: AdminErrorListOptions): Promise<{
|
|
5627
|
+
errors: AdminApiError[];
|
|
5628
|
+
total: number;
|
|
5629
|
+
}>;
|
|
5630
|
+
getErrorStats(): Promise<AdminErrorStats>;
|
|
5631
|
+
getError(errorId: string): Promise<{
|
|
5632
|
+
error: AdminApiError;
|
|
5633
|
+
}>;
|
|
5634
|
+
resolveError(errorId: string, notes?: string): Promise<{
|
|
5635
|
+
ok: boolean;
|
|
5636
|
+
}>;
|
|
5637
|
+
deleteError(errorId: string): Promise<{
|
|
5638
|
+
ok: boolean;
|
|
5639
|
+
}>;
|
|
5640
|
+
bulkDeleteErrors(olderThanDays?: number): Promise<{
|
|
5641
|
+
ok: boolean;
|
|
5642
|
+
deletedCount: number;
|
|
5643
|
+
}>;
|
|
5644
|
+
getAIWorkspaceOverview(): Promise<AdminAIWorkspaceOverview>;
|
|
5645
|
+
listAIWorkspaceSessions(options?: AdminListOptions & {
|
|
5646
|
+
status?: string;
|
|
5647
|
+
taskType?: string;
|
|
5648
|
+
}): Promise<{
|
|
5649
|
+
sessions: AdminAIWorkspaceSession[];
|
|
5650
|
+
total: number;
|
|
5651
|
+
}>;
|
|
5652
|
+
getAIWorkspaceSession(sessionId: string): Promise<AdminAIWorkspaceSessionDetails>;
|
|
5653
|
+
deleteAIWorkspaceSession(sessionId: string): Promise<{
|
|
5654
|
+
ok: boolean;
|
|
5655
|
+
}>;
|
|
5114
5656
|
}
|
|
5115
5657
|
|
|
5116
5658
|
/**
|
|
@@ -6080,6 +6622,7 @@ interface AIModule {
|
|
|
6080
6622
|
getSuggestions(input: {
|
|
6081
6623
|
projectId: string;
|
|
6082
6624
|
generationTypes: GenerationType$1[];
|
|
6625
|
+
modelId?: string;
|
|
6083
6626
|
}): Promise<{
|
|
6084
6627
|
suggestions: string[];
|
|
6085
6628
|
}>;
|
|
@@ -6132,6 +6675,17 @@ interface AIModule {
|
|
|
6132
6675
|
* Submit a modification request to existing generated code
|
|
6133
6676
|
*/
|
|
6134
6677
|
submitModification(sessionId: string, input: SubmitModificationInput): Promise<SubmitModificationResult>;
|
|
6678
|
+
/**
|
|
6679
|
+
* Submit feedback for a workspace turn
|
|
6680
|
+
*/
|
|
6681
|
+
submitFeedback(sessionId: string, input: {
|
|
6682
|
+
messageId: string;
|
|
6683
|
+
feedbackType: "correct" | "incorrect" | "partial";
|
|
6684
|
+
correctedIntent?: string;
|
|
6685
|
+
userFeedback?: string;
|
|
6686
|
+
}): Promise<{
|
|
6687
|
+
ok: boolean;
|
|
6688
|
+
}>;
|
|
6135
6689
|
};
|
|
6136
6690
|
/**
|
|
6137
6691
|
* Generated backend operations
|
|
@@ -6187,6 +6741,143 @@ interface AIModule {
|
|
|
6187
6741
|
status: string;
|
|
6188
6742
|
};
|
|
6189
6743
|
}>;
|
|
6744
|
+
/**
|
|
6745
|
+
* Apply a generated backend to an EXISTING VAIF project
|
|
6746
|
+
* Unlike deploy which creates a new project, this applies schema/storage/functions to current project
|
|
6747
|
+
* Also saves generated code to a versioned storage bucket
|
|
6748
|
+
*/
|
|
6749
|
+
apply(backendId: string, input: {
|
|
6750
|
+
projectId: string;
|
|
6751
|
+
}): Promise<{
|
|
6752
|
+
ok: boolean;
|
|
6753
|
+
project: {
|
|
6754
|
+
id: string;
|
|
6755
|
+
name: string;
|
|
6756
|
+
orgId: string;
|
|
6757
|
+
slug: string;
|
|
6758
|
+
};
|
|
6759
|
+
backend: {
|
|
6760
|
+
id: string;
|
|
6761
|
+
name: string;
|
|
6762
|
+
status: string;
|
|
6763
|
+
};
|
|
6764
|
+
schemaApplied: boolean;
|
|
6765
|
+
schemaError: string | null;
|
|
6766
|
+
storageApplied: boolean;
|
|
6767
|
+
storageError: string | null;
|
|
6768
|
+
bucketsCreated: number;
|
|
6769
|
+
functionsApplied: boolean;
|
|
6770
|
+
functionsError: string | null;
|
|
6771
|
+
functionsCreated: number;
|
|
6772
|
+
/** Whether generated code was saved to storage */
|
|
6773
|
+
codeSaved: boolean;
|
|
6774
|
+
/** Error if code save failed */
|
|
6775
|
+
codeError: string | null;
|
|
6776
|
+
/** Storage path where code was saved (e.g., ai-generated-code/2024-01-15_backend-name) */
|
|
6777
|
+
codeStoragePath: string | null;
|
|
6778
|
+
}>;
|
|
6779
|
+
/**
|
|
6780
|
+
* Deploy a generated backend to Cloud Run (live deployment)
|
|
6781
|
+
*/
|
|
6782
|
+
deployLive(backendId: string, config: {
|
|
6783
|
+
environment: "preview" | "staging" | "production";
|
|
6784
|
+
region?: string;
|
|
6785
|
+
memory?: string;
|
|
6786
|
+
cpu?: string;
|
|
6787
|
+
minInstances?: number;
|
|
6788
|
+
maxInstances?: number;
|
|
6789
|
+
}): Promise<{
|
|
6790
|
+
ok: boolean;
|
|
6791
|
+
deploymentId: string;
|
|
6792
|
+
status: string;
|
|
6793
|
+
buildId?: string;
|
|
6794
|
+
message?: string;
|
|
6795
|
+
}>;
|
|
6796
|
+
/**
|
|
6797
|
+
* Get all deployments for a backend
|
|
6798
|
+
*/
|
|
6799
|
+
getDeployments(backendId: string): Promise<{
|
|
6800
|
+
deployments: Array<{
|
|
6801
|
+
id: string;
|
|
6802
|
+
deployId: string;
|
|
6803
|
+
environment: string;
|
|
6804
|
+
region: string;
|
|
6805
|
+
status: string;
|
|
6806
|
+
url?: string;
|
|
6807
|
+
gcpServiceName?: string;
|
|
6808
|
+
resources: Record<string, unknown>;
|
|
6809
|
+
errorMessage?: string;
|
|
6810
|
+
createdAt: string;
|
|
6811
|
+
deployedAt?: string;
|
|
6812
|
+
terminatedAt?: string;
|
|
6813
|
+
}>;
|
|
6814
|
+
}>;
|
|
6815
|
+
};
|
|
6816
|
+
/**
|
|
6817
|
+
* Live deployment operations (Cloud Run)
|
|
6818
|
+
*/
|
|
6819
|
+
deployments: {
|
|
6820
|
+
/**
|
|
6821
|
+
* Get deployment limits for a project based on plan
|
|
6822
|
+
*/
|
|
6823
|
+
getLimits(projectId: string): Promise<{
|
|
6824
|
+
ok: boolean;
|
|
6825
|
+
plan: string;
|
|
6826
|
+
limits: {
|
|
6827
|
+
enabled: boolean;
|
|
6828
|
+
maxDeployments: number;
|
|
6829
|
+
memoryOptions: string[];
|
|
6830
|
+
cpuOptions: string[];
|
|
6831
|
+
maxInstances: number;
|
|
6832
|
+
};
|
|
6833
|
+
activeDeployments: number;
|
|
6834
|
+
canDeploy: boolean;
|
|
6835
|
+
}>;
|
|
6836
|
+
/**
|
|
6837
|
+
* Get deployment status
|
|
6838
|
+
*/
|
|
6839
|
+
getStatus(deploymentId: string): Promise<{
|
|
6840
|
+
deploymentId: string;
|
|
6841
|
+
status: "pending" | "building" | "deploying" | "active" | "failed" | "terminated";
|
|
6842
|
+
url?: string;
|
|
6843
|
+
buildProgress?: number;
|
|
6844
|
+
buildStatus?: string;
|
|
6845
|
+
serviceStatus?: string;
|
|
6846
|
+
logs?: string[];
|
|
6847
|
+
error?: string;
|
|
6848
|
+
deployedAt?: string;
|
|
6849
|
+
}>;
|
|
6850
|
+
/**
|
|
6851
|
+
* Get deployment logs
|
|
6852
|
+
*/
|
|
6853
|
+
getLogs(deploymentId: string, options?: {
|
|
6854
|
+
limit?: number;
|
|
6855
|
+
severity?: string;
|
|
6856
|
+
}): Promise<{
|
|
6857
|
+
logs: Array<{
|
|
6858
|
+
timestamp: string;
|
|
6859
|
+
severity: string;
|
|
6860
|
+
message: string;
|
|
6861
|
+
resource?: string;
|
|
6862
|
+
}>;
|
|
6863
|
+
source: "build" | "runtime" | "stored";
|
|
6864
|
+
}>;
|
|
6865
|
+
/**
|
|
6866
|
+
* Terminate a deployment
|
|
6867
|
+
*/
|
|
6868
|
+
terminate(deploymentId: string): Promise<{
|
|
6869
|
+
ok: boolean;
|
|
6870
|
+
message?: string;
|
|
6871
|
+
}>;
|
|
6872
|
+
/**
|
|
6873
|
+
* Redeploy an existing deployment
|
|
6874
|
+
*/
|
|
6875
|
+
redeploy(deploymentId: string): Promise<{
|
|
6876
|
+
ok: boolean;
|
|
6877
|
+
deploymentId: string;
|
|
6878
|
+
status: string;
|
|
6879
|
+
message?: string;
|
|
6880
|
+
}>;
|
|
6190
6881
|
};
|
|
6191
6882
|
/**
|
|
6192
6883
|
* Get user's organizations for deploy selection
|
|
@@ -7982,4 +8673,4 @@ declare class VaifNotFoundError extends VaifError {
|
|
|
7982
8673
|
*/
|
|
7983
8674
|
declare function isVaifError(error: unknown): error is VaifError;
|
|
7984
8675
|
|
|
7985
|
-
export { type AIModule, type AIPlan, type AIPlanStep, type AIProjectOverrides, type AISettings, type AIUsageBreakdown, type AIUsageResult, type AddBillingContactInput, type AdminListOptions, type AdminModule, type AdminOrg, type AdminOrgDetails, type AdminOrgMember, type AdminOrgProfile, type AdminOverviewResponse, type AdminProject, type AdminProjectDetails, type AdminUser, type AdminUserDetails, type AggregateClause, type AggregateFunction, type AggregateOptions, type AggregateResult, type AnalyticsConfig, type AndFilter, type ApiErrorResponse, type ApiKey, type ApiParam, type ApiResponse, type ApplyInput, type ApplyResponse, type AuthModule, type AuthResponse, type BaseEntity, type BatchCreateOptions, type BatchCreateResult, type BatchDeleteResult$1 as BatchDeleteResult, type BatchInvokeInput, type BatchInvokeResult, type BatchUpdateOptions, type BatchUpdateResult, type BillingContact, type BillingModule, type BillingSummary, type BootstrapData, type BootstrapEntitlements, type BootstrapModule, type BootstrapPlanLimits, type BootstrapUser, type BroadcastEvent, type BroadcastOptions, type BudgetStatus, type ChangePasswordInput, type ChangelogFeature, type ChannelOptions, type ChannelType, type CheckEntitlementInput, type CheckEntitlementResponse, type CheckoutInput, type CheckoutResponse, type ClassificationFeedbackInput, type ClassificationMethod, type ClassificationStats, type CodeLanguage, type ColumnDefinition, type ColumnType, type ComponentStatus, type ConfigureOAuthInput, type ConnectionState, type Conversation, type ConversationMessage, type CopilotChatInput, type CopilotChatResponse, type ClarificationQuestion as CopilotClarificationQuestion, type GenerationType as CopilotGenerationType, type CopilotIntentCategory, type CopilotMessage, type CopilotModule, type CopilotPlan, type CopilotPlanStep, type CopilotSession, type CopyOptions, type CreateApiKeyInput, type CreateApiKeyResponse, type CreateBucketInput, type CreateBucketOptions, type CreateConversationInput, type CreateDeployTokenInput, type CreateDeployTokenResult, type CreateDocApiEndpointInput, type CreateDocChangelogInput, type CreateDocExampleInput, type CreateDocPageInput, type CreateDocSdkExampleInput, type CreateDocSdkInput, type CreateEnvVarInput, type CreateFlagInput, type CreateFunctionInput, type CreateIncidentInput, type CreateOrgInput, type CreateProjectFromTemplateResponse, type CreateProjectInput, type CreateProjectResponse, type CreateSecretInput, type CreateSubscriptionInput, type CursorPaginationOptions, type CursorPaginationResult, type DLQListOptions, type DLQMessage, type DataModule, type DbChangeEvent, type DbOperation, type DeleteOptions, type DeleteResponse, type DeleteSecretResult, type DeliveryStatus, type DeployOptions, type DeployResult, type DeployToken, type Deployment, type DeploymentStep, type DeploymentWithSteps, type DeploymentsModule, type DiscordConfig, type DlqDelivery, type DocApiEndpoint, type DocChangelogEntry, type DocExample, type DocPage, type DocSdk, type DocSdkExample, type DocSearchResult, type DocsModule, type DownloadOptions, type EmailConfig, type EmailVerificationConfirmInput, type EmailVerificationRequestInput, type EnableAllRealtimeInput, type EnableAllRealtimeResult, type EntitlementsResponse, type EnvVar, type Environment, type ErrorEvent, type Event, type EventFilter, type EventHandler, type EventSource, type ExampleEndpoint, type ExampleFunction, type ExampleRealtimeEvent, type ExecutePlanInput, type ExecutePlanResult, type ExplainPlanInput, type ExplainPlanResult, type ExportCodeInput, type ExportCodeResult, type ExtractedEntity, type FeatureFlag, type FileMetadata, type FlagsModule, type FunctionEnvVar, type FunctionInvocation, type FunctionLog, type RetryConfig as FunctionRetryConfig, type FunctionRuntime, type FunctionVersion, type FunctionsModule, type GenerateEndpointInput, type GenerateEndpointResult, type GenerateFunctionInput, type GenerateFunctionResult, type GeneratePlanInput, type GeneratePlanResult, type GeneratedArtifacts, type GeneratedFile, type GetProjectResponse, type HttpMethod, type ImageTransformOptions, type IncidentAlert, type IncidentSeverity, type IncidentStatus, type IncludeClause, type IndexDefinition, type InstallApplyResponse, type InstallPreviewResponse, type InstallRealtimeInput, type InstallRealtimeResult, type IntegrationsModule, type IntentClassification, type InviteMemberInput, type InvokeInput, type InvokeOptions, type InvokeResult, type IsolationLevel, type ItemResponse, type ListDeliveriesOptions, type ListEventsOptions, type ListFilesOptions, type ListFilesResponse, type ListFunctionsOptions, type ListInvocationsOptions, type ListResponse, type LoginOptions, type MFAChallenge, type MFAMethod, type MFASetupResponse, type MFAVerifyResponse, type MagicLinkRequestInput, type MagicLinkVerifyInput, type MessageRole, type Migration, type MigrationResult, type Mode, type MongoAggregateOptions, type MongoArrayOperator, type MongoCollectionClient, type MongoComparisonOperator, type MongoCursor, type MongoDBModule, type MongoDeleteResult, type MongoDistinctOptions, type MongoElementOperator, type MongoEvaluationOperator, type MongoFilter, type MongoFindAndModifyResult, type MongoFindOneAndDeleteOptions, type MongoFindOneAndUpdateOptions, type MongoFindOptions, type MongoInsertManyResult, type MongoInsertOneResult, type MongoLogicalOperator, type MongoPipelineStage, type MongoProjection, type MongoSort, type MongoUpdateOperators, type MongoUpdateOptions, type MongoUpdateResult, type MoveOptions, type MultipartUpload, type MultipartUploadOptions, type NotFilter, type OAuthCallbackInput, type OAuthConnection, type OAuthModule, type OAuthProvider, type OAuthProviderType, type OAuthSignInOptions, type OAuthSignInResponse, type OrFilter, type OrderByClause, type Org, type OrgBilling, type OrgMember, type OrgMembership, type OrgProfile, type OrgsModule, type PageInfo, type PaginatedResult, type PasswordResetConfirmInput, type PasswordResetRequestInput, type PendingInvite, type PhoneVerificationConfirmInput, type PhoneVerificationRequestInput, type PlanDefinition, type PlanLimits, type PlanName, type PlanStep, type PlansResponse, type PortalInput, type PortalResponse, type PresenceEntry, type PresenceEvent, type PresenceState, type PresenceStateEvent, type PresenceTrackOptions, type PresignedUrl, type PreviewInput, type PreviewResponse, type Project, type ProjectMetrics, type ProjectResource, type ProjectResourcesResponse, type ProjectStats, type ProjectsModule, type PromoteInput, type PromoteResult, type Provider, type PublishEventInput, type PublishEventResult, type QueryOptions, type QueueStats, type QueueTotals, type RealtimeChannel, type RealtimeClient, type RealtimeClientEvent, type RealtimeConfig, type RealtimeConnection, type RealtimeEvent, type RealtimeEventType, type RealtimeMonitoringEvent, type RealtimeMonitoringModule, type RealtimeStats, type RealtimeStatus, type RealtimeSubscription, type RefreshTokenResponse, type Region, type RetryConfig$1 as RetryConfig, type RollbackResult, type SaveSchemaInput, type SavedSchema, type ScheduleConfig, type SchemaDefinition, type SchemaModule, type Secret, type SecretsModule, type SecurityAuditLog, type SecurityModule, type SecurityOverview, type SendMessageInput, type Session, type SetDedicatedDbInput, type SignUpOptions, type SignedUrlResponse, type SlackConfig, type StandardEventName, type StatusComponent, type StorageBucket, type StorageDashboardModule, type StorageFile, type StorageModule, type SubscribeOptions, type Subscription, type SubscriptionConfig, type SubscriptionFilter, type SubscriptionType, type TableClient, type TableDefinition, type TaskType, type Template, type TemplateCategory, type TemplateDefinition, type TemplateVersion, type TemplateVisibility, type TemplatesModule, type TransactionOperation, type TransactionOptions, type TransactionResult, type TypedEventHandler, type TypedFunction, type UnsubscribeFn, type UpdateAIProjectOverridesInput, type UpdateAISettingsInput, type UpdateBucketInput, type UpdateBucketOptions, type UpdateComponentStatusInput, type UpdateDocPageInput, type UpdateDocSdkInput, type UpdateEnvVarInput, type UpdateFlagInput, type UpdateFunctionInput, type UpdateOrgProfileInput, type UpdateProfileInput, type UpdateProjectInput, type UpdateRegionInput, type UpdateSubscriptionInput, type UploadFromUrlOptions, type UploadOptions, type UploadPart, type UploadResult$1 as UploadResult, type UpsertOptions, type Usage, type UsageEntry, type User, type UserActivity, type UserMembership, VaifAuthError, type VaifClient, type VaifClientConfig, VaifError, type VaifFunction, VaifNetworkError, VaifNotFoundError, VaifRateLimitError, VaifValidationError, type VerifySignatureOptions, type WebhookConfig, type WebhookDelivery, type WelcomeEvent, type WhereClause, type WhereFilter, type WhereOperator, createVaifClient, isVaifError };
|
|
8676
|
+
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 ErrorEvent, type Event, type EventFilter, type EventHandler, type EventSource, type ExampleEndpoint, type ExampleFunction, type ExampleRealtimeEvent, type ExecutePlanInput, type ExecutePlanResult, type ExplainPlanInput, type ExplainPlanResult, type ExportCodeInput, type ExportCodeResult, type ExtractedEntity, type FeatureFlag, type FileMetadata, type FlagsModule, type FunctionEnvVar, type FunctionInvocation, type FunctionLog, type RetryConfig as FunctionRetryConfig, type FunctionRuntime, type FunctionVersion, type FunctionsModule, type GenerateEndpointInput, type GenerateEndpointResult, type GenerateFunctionInput, type GenerateFunctionResult, type GeneratePlanInput, type GeneratePlanResult, type GeneratedArtifacts, type GeneratedFile, type GetProjectResponse, type HttpMethod, type ImageTransformOptions, type IncidentAlert, type IncidentSeverity, type IncidentStatus, type IncludeClause, type IndexDefinition, type InstallApplyResponse, type InstallPreviewResponse, type InstallRealtimeInput, type InstallRealtimeResult, type IntegrationsModule, type IntentClassification, type InviteMemberInput, type InvokeInput, type InvokeOptions, type InvokeResult, type IsolationLevel, type ItemResponse, type ListDeliveriesOptions, type ListEventsOptions, type ListFilesOptions, type ListFilesResponse, type ListFunctionsOptions, type ListInvocationsOptions, type ListResponse, type LoginOptions, type MFAChallenge, type MFAMethod, type MFASetupResponse, type MFAVerifyResponse, type MagicLinkRequestInput, type MagicLinkVerifyInput, type MessageRole, type Migration, type MigrationResult, type Mode, type MongoAggregateOptions, type MongoArrayOperator, type MongoCollectionClient, type MongoComparisonOperator, type MongoCursor, type MongoDBModule, type MongoDeleteResult, type MongoDistinctOptions, type MongoElementOperator, type MongoEvaluationOperator, type MongoFilter, type MongoFindAndModifyResult, type MongoFindOneAndDeleteOptions, type MongoFindOneAndUpdateOptions, type MongoFindOptions, type MongoInsertManyResult, type MongoInsertOneResult, type MongoLogicalOperator, type MongoPipelineStage, type MongoProjection, type MongoSort, type MongoUpdateOperators, type MongoUpdateOptions, type MongoUpdateResult, type MoveOptions, type MultipartUpload, type MultipartUploadOptions, type NotFilter, type OAuthCallbackInput, type OAuthConnection, type OAuthModule, type OAuthProvider, type OAuthProviderType, type OAuthSignInOptions, type OAuthSignInResponse, type OrFilter, type OrderByClause, type Org, type OrgBilling, type OrgMember, type OrgMembership, type OrgProfile, type OrgsModule, type PageInfo, type PaginatedResult, type PasswordResetConfirmInput, type PasswordResetRequestInput, type PendingInvite, type PhoneVerificationConfirmInput, type PhoneVerificationRequestInput, type PlanDefinition, type PlanLimits, type PlanName, type PlanStep, type PlansResponse, type PortalInput, type PortalResponse, type PresenceEntry, type PresenceEvent, type PresenceState, type PresenceStateEvent, type PresenceTrackOptions, type PresignedUrl, type PreviewInput, type PreviewResponse, type Project, type ProjectMetrics, type ProjectResource, type ProjectResourcesResponse, type ProjectStats, type ProjectsModule, type PromoteInput, type PromoteResult, type Provider, type PublishEventInput, type PublishEventResult, type QueryOptions, type QueueStats, type QueueTotals, type RealtimeChannel, type RealtimeClient, type RealtimeClientEvent, type RealtimeConfig, type RealtimeConnection, type RealtimeEvent, type RealtimeEventType, type RealtimeMonitoringEvent, type RealtimeMonitoringModule, type RealtimeStats, type RealtimeStatus, type RealtimeSubscription, type RefreshTokenResponse, type Region, type RetryConfig$1 as RetryConfig, type RollbackResult, type SaveSchemaInput, type SavedSchema, type ScheduleConfig, type SchemaDefinition, type SchemaModule, type Secret, type SecretsModule, type SecurityAuditLog, type SecurityModule, type SecurityOverview, type SendMessageInput, type Session, type SetDedicatedDbInput, type SignUpOptions, type SignedUrlResponse, type SlackConfig, type StandardEventName, type StatusComponent, type StorageBucket, type StorageDashboardModule, type StorageFile, type StorageModule, type SubscribeOptions, type Subscription, type SubscriptionConfig, type SubscriptionFilter, type SubscriptionType, type TableClient, type TableDefinition, type TaskType, type Template, type TemplateCategory, type TemplateDefinition, type TemplateVersion, type TemplateVisibility, type TemplatesModule, type 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, VaifError, type VaifFunction, VaifNetworkError, VaifNotFoundError, VaifRateLimitError, VaifValidationError, type VerifySignatureOptions, type WebhookConfig, type WebhookDelivery, type WelcomeEvent, type WhereClause, type WhereFilter, type WhereOperator, createVaifClient, isVaifError };
|