@inkeep/agents-core 0.62.1 → 0.63.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/auth/auth-config-utils.js +1 -1
- package/dist/auth/auth.js +1 -1
- package/dist/auth/init.js +12 -2
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/data-access/index.d.ts +4 -7
- package/dist/data-access/index.js +4 -7
- package/dist/data-access/manage/agentFull.js +0 -116
- package/dist/data-access/manage/agents.d.ts +27 -27
- package/dist/data-access/manage/agents.js +0 -30
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/audit-queries.d.ts +1 -14
- package/dist/data-access/manage/audit-queries.js +2 -16
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/skills.d.ts +5 -5
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgents.d.ts +9 -9
- package/dist/data-access/manage/tools.d.ts +15 -15
- package/dist/data-access/manage/triggerCleanup.js +18 -7
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/apps.d.ts +4 -4
- package/dist/data-access/runtime/cascade-delete.d.ts +2 -0
- package/dist/data-access/runtime/cascade-delete.js +13 -6
- package/dist/data-access/runtime/conversations.d.ts +8 -8
- package/dist/data-access/runtime/messages.d.ts +3 -3
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -4
- package/dist/data-access/runtime/scheduledTriggers.d.ts +89 -0
- package/dist/data-access/runtime/scheduledTriggers.js +91 -0
- package/dist/data-access/runtime/schedulerState.d.ts +11 -0
- package/dist/data-access/runtime/schedulerState.js +30 -0
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/data-reconciliation/index.d.ts +2 -2
- package/dist/data-reconciliation/types.d.ts +1 -28
- package/dist/db/manage/manage-schema.d.ts +340 -694
- package/dist/db/manage/manage-schema.js +2 -4
- package/dist/db/runtime/runtime-schema.d.ts +811 -350
- package/dist/db/runtime/runtime-schema.js +38 -5
- package/dist/index.d.ts +11 -12
- package/dist/index.js +8 -10
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/types/entities.d.ts +12 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/utils/compute-next-run-at.d.ts +9 -0
- package/dist/utils/compute-next-run-at.js +18 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/schemas.d.ts +2714 -3694
- package/dist/validation/schemas.js +16 -32
- package/drizzle/runtime/0028_thick_squirrel_girl.sql +36 -0
- package/drizzle/runtime/meta/0028_snapshot.json +4661 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +2 -1
- package/dist/data-access/manage/scheduledTriggers.d.ts +0 -91
- package/dist/data-access/manage/scheduledTriggers.js +0 -87
- package/dist/data-access/manage/scheduledWorkflows.d.ts +0 -29
- package/dist/data-access/manage/scheduledWorkflows.js +0 -33
|
@@ -2,12 +2,12 @@ import { USAGE_GENERATION_TYPES } from "../../constants/otel-attributes.js";
|
|
|
2
2
|
import { Part } from "../../types/a2a.js";
|
|
3
3
|
import { AppType, ConversationMetadata, MessageContent, MessageMetadata, TaskMetadataConfig } from "../../types/utility.js";
|
|
4
4
|
import { account, deviceCode, invitation, member, organization, session, ssoProvider, user, verification } from "../../auth/auth-schema.js";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as drizzle_orm108 from "drizzle-orm";
|
|
6
|
+
import * as drizzle_orm_pg_core557 from "drizzle-orm/pg-core";
|
|
7
7
|
|
|
8
8
|
//#region src/db/runtime/runtime-schema.d.ts
|
|
9
9
|
declare namespace runtime_schema_d_exports {
|
|
10
|
-
export { GenerationType, USAGE_GENERATION_TYPES, account, apiKeys, apps, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, scheduledTriggerInvocations, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, userProfile, userProfileRelations, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackMcpToolAccessConfig, workAppSlackUserMappings, workAppSlackWorkspaces, workflowExecutions };
|
|
10
|
+
export { GenerationType, USAGE_GENERATION_TYPES, account, apiKeys, apps, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, scheduledTriggerInvocations, scheduledTriggers, schedulerState, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, userProfile, userProfileRelations, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackMcpToolAccessConfig, workAppSlackUserMappings, workAppSlackWorkspaces, workflowExecutions };
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Runtime projects table - source of truth for which projects exist in a tenant.
|
|
@@ -16,11 +16,11 @@ declare namespace runtime_schema_d_exports {
|
|
|
16
16
|
*
|
|
17
17
|
* Named 'project_metadata' to avoid conflict with the manage-schema 'projects' table.
|
|
18
18
|
*/
|
|
19
|
-
declare const projectMetadata:
|
|
19
|
+
declare const projectMetadata: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
20
20
|
name: "project_metadata";
|
|
21
21
|
schema: undefined;
|
|
22
22
|
columns: {
|
|
23
|
-
id:
|
|
23
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
24
24
|
name: "id";
|
|
25
25
|
tableName: "project_metadata";
|
|
26
26
|
dataType: "string";
|
|
@@ -39,7 +39,7 @@ declare const projectMetadata: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
39
39
|
}, {}, {
|
|
40
40
|
length: 256;
|
|
41
41
|
}>;
|
|
42
|
-
tenantId:
|
|
42
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
43
43
|
name: "tenant_id";
|
|
44
44
|
tableName: "project_metadata";
|
|
45
45
|
dataType: "string";
|
|
@@ -58,7 +58,7 @@ declare const projectMetadata: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
58
58
|
}, {}, {
|
|
59
59
|
length: 256;
|
|
60
60
|
}>;
|
|
61
|
-
createdAt:
|
|
61
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
62
62
|
name: "created_at";
|
|
63
63
|
tableName: "project_metadata";
|
|
64
64
|
dataType: "string";
|
|
@@ -75,7 +75,7 @@ declare const projectMetadata: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
75
75
|
identity: undefined;
|
|
76
76
|
generated: undefined;
|
|
77
77
|
}, {}, {}>;
|
|
78
|
-
createdBy:
|
|
78
|
+
createdBy: drizzle_orm_pg_core557.PgColumn<{
|
|
79
79
|
name: "created_by";
|
|
80
80
|
tableName: "project_metadata";
|
|
81
81
|
dataType: "string";
|
|
@@ -94,7 +94,7 @@ declare const projectMetadata: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
94
94
|
}, {}, {
|
|
95
95
|
length: 256;
|
|
96
96
|
}>;
|
|
97
|
-
mainBranchName:
|
|
97
|
+
mainBranchName: drizzle_orm_pg_core557.PgColumn<{
|
|
98
98
|
name: "main_branch_name";
|
|
99
99
|
tableName: "project_metadata";
|
|
100
100
|
dataType: "string";
|
|
@@ -116,11 +116,11 @@ declare const projectMetadata: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
116
116
|
};
|
|
117
117
|
dialect: "pg";
|
|
118
118
|
}>;
|
|
119
|
-
declare const conversations:
|
|
119
|
+
declare const conversations: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
120
120
|
name: "conversations";
|
|
121
121
|
schema: undefined;
|
|
122
122
|
columns: {
|
|
123
|
-
createdAt:
|
|
123
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
124
124
|
name: "created_at";
|
|
125
125
|
tableName: "conversations";
|
|
126
126
|
dataType: "string";
|
|
@@ -137,7 +137,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
137
137
|
identity: undefined;
|
|
138
138
|
generated: undefined;
|
|
139
139
|
}, {}, {}>;
|
|
140
|
-
updatedAt:
|
|
140
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
141
141
|
name: "updated_at";
|
|
142
142
|
tableName: "conversations";
|
|
143
143
|
dataType: "string";
|
|
@@ -154,7 +154,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
154
154
|
identity: undefined;
|
|
155
155
|
generated: undefined;
|
|
156
156
|
}, {}, {}>;
|
|
157
|
-
userId:
|
|
157
|
+
userId: drizzle_orm_pg_core557.PgColumn<{
|
|
158
158
|
name: "user_id";
|
|
159
159
|
tableName: "conversations";
|
|
160
160
|
dataType: "string";
|
|
@@ -173,7 +173,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
173
173
|
}, {}, {
|
|
174
174
|
length: 256;
|
|
175
175
|
}>;
|
|
176
|
-
agentId:
|
|
176
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
177
177
|
name: "agent_id";
|
|
178
178
|
tableName: "conversations";
|
|
179
179
|
dataType: "string";
|
|
@@ -192,7 +192,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
192
192
|
}, {}, {
|
|
193
193
|
length: 256;
|
|
194
194
|
}>;
|
|
195
|
-
activeSubAgentId:
|
|
195
|
+
activeSubAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
196
196
|
name: "active_sub_agent_id";
|
|
197
197
|
tableName: "conversations";
|
|
198
198
|
dataType: "string";
|
|
@@ -211,7 +211,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
211
211
|
}, {}, {
|
|
212
212
|
length: 256;
|
|
213
213
|
}>;
|
|
214
|
-
ref:
|
|
214
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
215
215
|
name: "ref";
|
|
216
216
|
tableName: "conversations";
|
|
217
217
|
dataType: "json";
|
|
@@ -238,7 +238,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
238
238
|
hash: string;
|
|
239
239
|
};
|
|
240
240
|
}>;
|
|
241
|
-
title:
|
|
241
|
+
title: drizzle_orm_pg_core557.PgColumn<{
|
|
242
242
|
name: "title";
|
|
243
243
|
tableName: "conversations";
|
|
244
244
|
dataType: "string";
|
|
@@ -255,7 +255,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
255
255
|
identity: undefined;
|
|
256
256
|
generated: undefined;
|
|
257
257
|
}, {}, {}>;
|
|
258
|
-
lastContextResolution:
|
|
258
|
+
lastContextResolution: drizzle_orm_pg_core557.PgColumn<{
|
|
259
259
|
name: "last_context_resolution";
|
|
260
260
|
tableName: "conversations";
|
|
261
261
|
dataType: "string";
|
|
@@ -272,7 +272,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
272
272
|
identity: undefined;
|
|
273
273
|
generated: undefined;
|
|
274
274
|
}, {}, {}>;
|
|
275
|
-
metadata:
|
|
275
|
+
metadata: drizzle_orm_pg_core557.PgColumn<{
|
|
276
276
|
name: "metadata";
|
|
277
277
|
tableName: "conversations";
|
|
278
278
|
dataType: "json";
|
|
@@ -291,7 +291,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
291
291
|
}, {}, {
|
|
292
292
|
$type: ConversationMetadata;
|
|
293
293
|
}>;
|
|
294
|
-
projectId:
|
|
294
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
295
295
|
name: "project_id";
|
|
296
296
|
tableName: "conversations";
|
|
297
297
|
dataType: "string";
|
|
@@ -310,7 +310,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
310
310
|
}, {}, {
|
|
311
311
|
length: 256;
|
|
312
312
|
}>;
|
|
313
|
-
tenantId:
|
|
313
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
314
314
|
name: "tenant_id";
|
|
315
315
|
tableName: "conversations";
|
|
316
316
|
dataType: "string";
|
|
@@ -329,7 +329,7 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
329
329
|
}, {}, {
|
|
330
330
|
length: 256;
|
|
331
331
|
}>;
|
|
332
|
-
id:
|
|
332
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
333
333
|
name: "id";
|
|
334
334
|
tableName: "conversations";
|
|
335
335
|
dataType: "string";
|
|
@@ -351,11 +351,11 @@ declare const conversations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
351
351
|
};
|
|
352
352
|
dialect: "pg";
|
|
353
353
|
}>;
|
|
354
|
-
declare const tasks:
|
|
354
|
+
declare const tasks: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
355
355
|
name: "tasks";
|
|
356
356
|
schema: undefined;
|
|
357
357
|
columns: {
|
|
358
|
-
createdAt:
|
|
358
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
359
359
|
name: "created_at";
|
|
360
360
|
tableName: "tasks";
|
|
361
361
|
dataType: "string";
|
|
@@ -372,7 +372,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
372
372
|
identity: undefined;
|
|
373
373
|
generated: undefined;
|
|
374
374
|
}, {}, {}>;
|
|
375
|
-
updatedAt:
|
|
375
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
376
376
|
name: "updated_at";
|
|
377
377
|
tableName: "tasks";
|
|
378
378
|
dataType: "string";
|
|
@@ -389,7 +389,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
389
389
|
identity: undefined;
|
|
390
390
|
generated: undefined;
|
|
391
391
|
}, {}, {}>;
|
|
392
|
-
contextId:
|
|
392
|
+
contextId: drizzle_orm_pg_core557.PgColumn<{
|
|
393
393
|
name: "context_id";
|
|
394
394
|
tableName: "tasks";
|
|
395
395
|
dataType: "string";
|
|
@@ -408,7 +408,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
408
408
|
}, {}, {
|
|
409
409
|
length: 256;
|
|
410
410
|
}>;
|
|
411
|
-
ref:
|
|
411
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
412
412
|
name: "ref";
|
|
413
413
|
tableName: "tasks";
|
|
414
414
|
dataType: "json";
|
|
@@ -435,7 +435,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
435
435
|
hash: string;
|
|
436
436
|
};
|
|
437
437
|
}>;
|
|
438
|
-
status:
|
|
438
|
+
status: drizzle_orm_pg_core557.PgColumn<{
|
|
439
439
|
name: "status";
|
|
440
440
|
tableName: "tasks";
|
|
441
441
|
dataType: "string";
|
|
@@ -454,7 +454,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
454
454
|
}, {}, {
|
|
455
455
|
length: 256;
|
|
456
456
|
}>;
|
|
457
|
-
metadata:
|
|
457
|
+
metadata: drizzle_orm_pg_core557.PgColumn<{
|
|
458
458
|
name: "metadata";
|
|
459
459
|
tableName: "tasks";
|
|
460
460
|
dataType: "json";
|
|
@@ -473,7 +473,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
473
473
|
}, {}, {
|
|
474
474
|
$type: TaskMetadataConfig;
|
|
475
475
|
}>;
|
|
476
|
-
subAgentId:
|
|
476
|
+
subAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
477
477
|
name: "sub_agent_id";
|
|
478
478
|
tableName: "tasks";
|
|
479
479
|
dataType: "string";
|
|
@@ -492,7 +492,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
492
492
|
}, {}, {
|
|
493
493
|
length: 256;
|
|
494
494
|
}>;
|
|
495
|
-
agentId:
|
|
495
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
496
496
|
name: "agent_id";
|
|
497
497
|
tableName: "tasks";
|
|
498
498
|
dataType: "string";
|
|
@@ -511,7 +511,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
511
511
|
}, {}, {
|
|
512
512
|
length: 256;
|
|
513
513
|
}>;
|
|
514
|
-
projectId:
|
|
514
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
515
515
|
name: "project_id";
|
|
516
516
|
tableName: "tasks";
|
|
517
517
|
dataType: "string";
|
|
@@ -530,7 +530,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
530
530
|
}, {}, {
|
|
531
531
|
length: 256;
|
|
532
532
|
}>;
|
|
533
|
-
tenantId:
|
|
533
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
534
534
|
name: "tenant_id";
|
|
535
535
|
tableName: "tasks";
|
|
536
536
|
dataType: "string";
|
|
@@ -549,7 +549,7 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
549
549
|
}, {}, {
|
|
550
550
|
length: 256;
|
|
551
551
|
}>;
|
|
552
|
-
id:
|
|
552
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
553
553
|
name: "id";
|
|
554
554
|
tableName: "tasks";
|
|
555
555
|
dataType: "string";
|
|
@@ -571,11 +571,11 @@ declare const tasks: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
571
571
|
};
|
|
572
572
|
dialect: "pg";
|
|
573
573
|
}>;
|
|
574
|
-
declare const workflowExecutions:
|
|
574
|
+
declare const workflowExecutions: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
575
575
|
name: "workflow_executions";
|
|
576
576
|
schema: undefined;
|
|
577
577
|
columns: {
|
|
578
|
-
createdAt:
|
|
578
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
579
579
|
name: "created_at";
|
|
580
580
|
tableName: "workflow_executions";
|
|
581
581
|
dataType: "string";
|
|
@@ -592,7 +592,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
592
592
|
identity: undefined;
|
|
593
593
|
generated: undefined;
|
|
594
594
|
}, {}, {}>;
|
|
595
|
-
updatedAt:
|
|
595
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
596
596
|
name: "updated_at";
|
|
597
597
|
tableName: "workflow_executions";
|
|
598
598
|
dataType: "string";
|
|
@@ -609,7 +609,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
609
609
|
identity: undefined;
|
|
610
610
|
generated: undefined;
|
|
611
611
|
}, {}, {}>;
|
|
612
|
-
agentId:
|
|
612
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
613
613
|
name: "agent_id";
|
|
614
614
|
tableName: "workflow_executions";
|
|
615
615
|
dataType: "string";
|
|
@@ -628,7 +628,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
628
628
|
}, {}, {
|
|
629
629
|
length: 256;
|
|
630
630
|
}>;
|
|
631
|
-
conversationId:
|
|
631
|
+
conversationId: drizzle_orm_pg_core557.PgColumn<{
|
|
632
632
|
name: "conversation_id";
|
|
633
633
|
tableName: "workflow_executions";
|
|
634
634
|
dataType: "string";
|
|
@@ -647,7 +647,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
647
647
|
}, {}, {
|
|
648
648
|
length: 256;
|
|
649
649
|
}>;
|
|
650
|
-
requestId:
|
|
650
|
+
requestId: drizzle_orm_pg_core557.PgColumn<{
|
|
651
651
|
name: "request_id";
|
|
652
652
|
tableName: "workflow_executions";
|
|
653
653
|
dataType: "string";
|
|
@@ -666,7 +666,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
666
666
|
}, {}, {
|
|
667
667
|
length: 256;
|
|
668
668
|
}>;
|
|
669
|
-
status:
|
|
669
|
+
status: drizzle_orm_pg_core557.PgColumn<{
|
|
670
670
|
name: "status";
|
|
671
671
|
tableName: "workflow_executions";
|
|
672
672
|
dataType: "string";
|
|
@@ -685,7 +685,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
685
685
|
}, {}, {
|
|
686
686
|
length: 50;
|
|
687
687
|
}>;
|
|
688
|
-
metadata:
|
|
688
|
+
metadata: drizzle_orm_pg_core557.PgColumn<{
|
|
689
689
|
name: "metadata";
|
|
690
690
|
tableName: "workflow_executions";
|
|
691
691
|
dataType: "json";
|
|
@@ -704,7 +704,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
704
704
|
}, {}, {
|
|
705
705
|
$type: Record<string, unknown>;
|
|
706
706
|
}>;
|
|
707
|
-
projectId:
|
|
707
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
708
708
|
name: "project_id";
|
|
709
709
|
tableName: "workflow_executions";
|
|
710
710
|
dataType: "string";
|
|
@@ -723,7 +723,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
723
723
|
}, {}, {
|
|
724
724
|
length: 256;
|
|
725
725
|
}>;
|
|
726
|
-
tenantId:
|
|
726
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
727
727
|
name: "tenant_id";
|
|
728
728
|
tableName: "workflow_executions";
|
|
729
729
|
dataType: "string";
|
|
@@ -742,7 +742,7 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
742
742
|
}, {}, {
|
|
743
743
|
length: 256;
|
|
744
744
|
}>;
|
|
745
|
-
id:
|
|
745
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
746
746
|
name: "id";
|
|
747
747
|
tableName: "workflow_executions";
|
|
748
748
|
dataType: "string";
|
|
@@ -764,11 +764,11 @@ declare const workflowExecutions: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
764
764
|
};
|
|
765
765
|
dialect: "pg";
|
|
766
766
|
}>;
|
|
767
|
-
declare const apiKeys:
|
|
767
|
+
declare const apiKeys: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
768
768
|
name: "api_keys";
|
|
769
769
|
schema: undefined;
|
|
770
770
|
columns: {
|
|
771
|
-
createdAt:
|
|
771
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
772
772
|
name: "created_at";
|
|
773
773
|
tableName: "api_keys";
|
|
774
774
|
dataType: "string";
|
|
@@ -785,7 +785,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
785
785
|
identity: undefined;
|
|
786
786
|
generated: undefined;
|
|
787
787
|
}, {}, {}>;
|
|
788
|
-
updatedAt:
|
|
788
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
789
789
|
name: "updated_at";
|
|
790
790
|
tableName: "api_keys";
|
|
791
791
|
dataType: "string";
|
|
@@ -802,7 +802,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
802
802
|
identity: undefined;
|
|
803
803
|
generated: undefined;
|
|
804
804
|
}, {}, {}>;
|
|
805
|
-
agentId:
|
|
805
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
806
806
|
name: "agent_id";
|
|
807
807
|
tableName: "api_keys";
|
|
808
808
|
dataType: "string";
|
|
@@ -821,7 +821,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
821
821
|
}, {}, {
|
|
822
822
|
length: 256;
|
|
823
823
|
}>;
|
|
824
|
-
publicId:
|
|
824
|
+
publicId: drizzle_orm_pg_core557.PgColumn<{
|
|
825
825
|
name: "public_id";
|
|
826
826
|
tableName: "api_keys";
|
|
827
827
|
dataType: "string";
|
|
@@ -840,7 +840,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
840
840
|
}, {}, {
|
|
841
841
|
length: 256;
|
|
842
842
|
}>;
|
|
843
|
-
keyHash:
|
|
843
|
+
keyHash: drizzle_orm_pg_core557.PgColumn<{
|
|
844
844
|
name: "key_hash";
|
|
845
845
|
tableName: "api_keys";
|
|
846
846
|
dataType: "string";
|
|
@@ -859,7 +859,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
859
859
|
}, {}, {
|
|
860
860
|
length: 256;
|
|
861
861
|
}>;
|
|
862
|
-
keyPrefix:
|
|
862
|
+
keyPrefix: drizzle_orm_pg_core557.PgColumn<{
|
|
863
863
|
name: "key_prefix";
|
|
864
864
|
tableName: "api_keys";
|
|
865
865
|
dataType: "string";
|
|
@@ -878,7 +878,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
878
878
|
}, {}, {
|
|
879
879
|
length: 256;
|
|
880
880
|
}>;
|
|
881
|
-
name:
|
|
881
|
+
name: drizzle_orm_pg_core557.PgColumn<{
|
|
882
882
|
name: "name";
|
|
883
883
|
tableName: "api_keys";
|
|
884
884
|
dataType: "string";
|
|
@@ -897,7 +897,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
897
897
|
}, {}, {
|
|
898
898
|
length: 256;
|
|
899
899
|
}>;
|
|
900
|
-
lastUsedAt:
|
|
900
|
+
lastUsedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
901
901
|
name: "last_used_at";
|
|
902
902
|
tableName: "api_keys";
|
|
903
903
|
dataType: "string";
|
|
@@ -914,7 +914,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
914
914
|
identity: undefined;
|
|
915
915
|
generated: undefined;
|
|
916
916
|
}, {}, {}>;
|
|
917
|
-
expiresAt:
|
|
917
|
+
expiresAt: drizzle_orm_pg_core557.PgColumn<{
|
|
918
918
|
name: "expires_at";
|
|
919
919
|
tableName: "api_keys";
|
|
920
920
|
dataType: "string";
|
|
@@ -931,7 +931,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
931
931
|
identity: undefined;
|
|
932
932
|
generated: undefined;
|
|
933
933
|
}, {}, {}>;
|
|
934
|
-
projectId:
|
|
934
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
935
935
|
name: "project_id";
|
|
936
936
|
tableName: "api_keys";
|
|
937
937
|
dataType: "string";
|
|
@@ -950,7 +950,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
950
950
|
}, {}, {
|
|
951
951
|
length: 256;
|
|
952
952
|
}>;
|
|
953
|
-
tenantId:
|
|
953
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
954
954
|
name: "tenant_id";
|
|
955
955
|
tableName: "api_keys";
|
|
956
956
|
dataType: "string";
|
|
@@ -969,7 +969,7 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
969
969
|
}, {}, {
|
|
970
970
|
length: 256;
|
|
971
971
|
}>;
|
|
972
|
-
id:
|
|
972
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
973
973
|
name: "id";
|
|
974
974
|
tableName: "api_keys";
|
|
975
975
|
dataType: "string";
|
|
@@ -991,11 +991,11 @@ declare const apiKeys: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
991
991
|
};
|
|
992
992
|
dialect: "pg";
|
|
993
993
|
}>;
|
|
994
|
-
declare const apps:
|
|
994
|
+
declare const apps: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
995
995
|
name: "apps";
|
|
996
996
|
schema: undefined;
|
|
997
997
|
columns: {
|
|
998
|
-
createdAt:
|
|
998
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
999
999
|
name: "created_at";
|
|
1000
1000
|
tableName: "apps";
|
|
1001
1001
|
dataType: "string";
|
|
@@ -1012,7 +1012,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1012
1012
|
identity: undefined;
|
|
1013
1013
|
generated: undefined;
|
|
1014
1014
|
}, {}, {}>;
|
|
1015
|
-
updatedAt:
|
|
1015
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1016
1016
|
name: "updated_at";
|
|
1017
1017
|
tableName: "apps";
|
|
1018
1018
|
dataType: "string";
|
|
@@ -1029,7 +1029,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1029
1029
|
identity: undefined;
|
|
1030
1030
|
generated: undefined;
|
|
1031
1031
|
}, {}, {}>;
|
|
1032
|
-
id:
|
|
1032
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
1033
1033
|
name: "id";
|
|
1034
1034
|
tableName: "apps";
|
|
1035
1035
|
dataType: "string";
|
|
@@ -1048,7 +1048,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1048
1048
|
}, {}, {
|
|
1049
1049
|
length: 256;
|
|
1050
1050
|
}>;
|
|
1051
|
-
tenantId:
|
|
1051
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
1052
1052
|
name: "tenant_id";
|
|
1053
1053
|
tableName: "apps";
|
|
1054
1054
|
dataType: "string";
|
|
@@ -1067,7 +1067,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1067
1067
|
}, {}, {
|
|
1068
1068
|
length: 256;
|
|
1069
1069
|
}>;
|
|
1070
|
-
projectId:
|
|
1070
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
1071
1071
|
name: "project_id";
|
|
1072
1072
|
tableName: "apps";
|
|
1073
1073
|
dataType: "string";
|
|
@@ -1086,7 +1086,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1086
1086
|
}, {}, {
|
|
1087
1087
|
length: 256;
|
|
1088
1088
|
}>;
|
|
1089
|
-
name:
|
|
1089
|
+
name: drizzle_orm_pg_core557.PgColumn<{
|
|
1090
1090
|
name: "name";
|
|
1091
1091
|
tableName: "apps";
|
|
1092
1092
|
dataType: "string";
|
|
@@ -1105,7 +1105,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1105
1105
|
}, {}, {
|
|
1106
1106
|
length: 256;
|
|
1107
1107
|
}>;
|
|
1108
|
-
description:
|
|
1108
|
+
description: drizzle_orm_pg_core557.PgColumn<{
|
|
1109
1109
|
name: "description";
|
|
1110
1110
|
tableName: "apps";
|
|
1111
1111
|
dataType: "string";
|
|
@@ -1122,7 +1122,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1122
1122
|
identity: undefined;
|
|
1123
1123
|
generated: undefined;
|
|
1124
1124
|
}, {}, {}>;
|
|
1125
|
-
type:
|
|
1125
|
+
type: drizzle_orm_pg_core557.PgColumn<{
|
|
1126
1126
|
name: "type";
|
|
1127
1127
|
tableName: "apps";
|
|
1128
1128
|
dataType: "string";
|
|
@@ -1142,7 +1142,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1142
1142
|
length: 64;
|
|
1143
1143
|
$type: AppType;
|
|
1144
1144
|
}>;
|
|
1145
|
-
defaultProjectId:
|
|
1145
|
+
defaultProjectId: drizzle_orm_pg_core557.PgColumn<{
|
|
1146
1146
|
name: "default_project_id";
|
|
1147
1147
|
tableName: "apps";
|
|
1148
1148
|
dataType: "string";
|
|
@@ -1161,7 +1161,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1161
1161
|
}, {}, {
|
|
1162
1162
|
length: 256;
|
|
1163
1163
|
}>;
|
|
1164
|
-
defaultAgentId:
|
|
1164
|
+
defaultAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
1165
1165
|
name: "default_agent_id";
|
|
1166
1166
|
tableName: "apps";
|
|
1167
1167
|
dataType: "string";
|
|
@@ -1180,7 +1180,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1180
1180
|
}, {}, {
|
|
1181
1181
|
length: 256;
|
|
1182
1182
|
}>;
|
|
1183
|
-
prompt:
|
|
1183
|
+
prompt: drizzle_orm_pg_core557.PgColumn<{
|
|
1184
1184
|
name: "prompt";
|
|
1185
1185
|
tableName: "apps";
|
|
1186
1186
|
dataType: "string";
|
|
@@ -1197,7 +1197,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1197
1197
|
identity: undefined;
|
|
1198
1198
|
generated: undefined;
|
|
1199
1199
|
}, {}, {}>;
|
|
1200
|
-
enabled:
|
|
1200
|
+
enabled: drizzle_orm_pg_core557.PgColumn<{
|
|
1201
1201
|
name: "enabled";
|
|
1202
1202
|
tableName: "apps";
|
|
1203
1203
|
dataType: "boolean";
|
|
@@ -1214,7 +1214,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1214
1214
|
identity: undefined;
|
|
1215
1215
|
generated: undefined;
|
|
1216
1216
|
}, {}, {}>;
|
|
1217
|
-
config:
|
|
1217
|
+
config: drizzle_orm_pg_core557.PgColumn<{
|
|
1218
1218
|
name: "config";
|
|
1219
1219
|
tableName: "apps";
|
|
1220
1220
|
dataType: "json";
|
|
@@ -1271,7 +1271,7 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1271
1271
|
api: Record<string, never>;
|
|
1272
1272
|
};
|
|
1273
1273
|
}>;
|
|
1274
|
-
lastUsedAt:
|
|
1274
|
+
lastUsedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1275
1275
|
name: "last_used_at";
|
|
1276
1276
|
tableName: "apps";
|
|
1277
1277
|
dataType: "string";
|
|
@@ -1298,11 +1298,11 @@ declare const apps: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1298
1298
|
* Application code must enforce referential integrity for triggerId.
|
|
1299
1299
|
* Can optionally link to conversations when the trigger creates one.
|
|
1300
1300
|
*/
|
|
1301
|
-
declare const triggerInvocations:
|
|
1301
|
+
declare const triggerInvocations: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
1302
1302
|
name: "trigger_invocations";
|
|
1303
1303
|
schema: undefined;
|
|
1304
1304
|
columns: {
|
|
1305
|
-
triggerId:
|
|
1305
|
+
triggerId: drizzle_orm_pg_core557.PgColumn<{
|
|
1306
1306
|
name: "trigger_id";
|
|
1307
1307
|
tableName: "trigger_invocations";
|
|
1308
1308
|
dataType: "string";
|
|
@@ -1321,7 +1321,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1321
1321
|
}, {}, {
|
|
1322
1322
|
length: 256;
|
|
1323
1323
|
}>;
|
|
1324
|
-
conversationId:
|
|
1324
|
+
conversationId: drizzle_orm_pg_core557.PgColumn<{
|
|
1325
1325
|
name: "conversation_id";
|
|
1326
1326
|
tableName: "trigger_invocations";
|
|
1327
1327
|
dataType: "string";
|
|
@@ -1340,7 +1340,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1340
1340
|
}, {}, {
|
|
1341
1341
|
length: 256;
|
|
1342
1342
|
}>;
|
|
1343
|
-
ref:
|
|
1343
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
1344
1344
|
name: "ref";
|
|
1345
1345
|
tableName: "trigger_invocations";
|
|
1346
1346
|
dataType: "json";
|
|
@@ -1367,7 +1367,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1367
1367
|
hash: string;
|
|
1368
1368
|
};
|
|
1369
1369
|
}>;
|
|
1370
|
-
status:
|
|
1370
|
+
status: drizzle_orm_pg_core557.PgColumn<{
|
|
1371
1371
|
name: "status";
|
|
1372
1372
|
tableName: "trigger_invocations";
|
|
1373
1373
|
dataType: "string";
|
|
@@ -1386,7 +1386,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1386
1386
|
}, {}, {
|
|
1387
1387
|
length: 20;
|
|
1388
1388
|
}>;
|
|
1389
|
-
requestPayload:
|
|
1389
|
+
requestPayload: drizzle_orm_pg_core557.PgColumn<{
|
|
1390
1390
|
name: "request_payload";
|
|
1391
1391
|
tableName: "trigger_invocations";
|
|
1392
1392
|
dataType: "json";
|
|
@@ -1403,7 +1403,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1403
1403
|
identity: undefined;
|
|
1404
1404
|
generated: undefined;
|
|
1405
1405
|
}, {}, {}>;
|
|
1406
|
-
transformedPayload:
|
|
1406
|
+
transformedPayload: drizzle_orm_pg_core557.PgColumn<{
|
|
1407
1407
|
name: "transformed_payload";
|
|
1408
1408
|
tableName: "trigger_invocations";
|
|
1409
1409
|
dataType: "json";
|
|
@@ -1420,7 +1420,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1420
1420
|
identity: undefined;
|
|
1421
1421
|
generated: undefined;
|
|
1422
1422
|
}, {}, {}>;
|
|
1423
|
-
errorMessage:
|
|
1423
|
+
errorMessage: drizzle_orm_pg_core557.PgColumn<{
|
|
1424
1424
|
name: "error_message";
|
|
1425
1425
|
tableName: "trigger_invocations";
|
|
1426
1426
|
dataType: "string";
|
|
@@ -1437,7 +1437,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1437
1437
|
identity: undefined;
|
|
1438
1438
|
generated: undefined;
|
|
1439
1439
|
}, {}, {}>;
|
|
1440
|
-
createdAt:
|
|
1440
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1441
1441
|
name: "created_at";
|
|
1442
1442
|
tableName: "trigger_invocations";
|
|
1443
1443
|
dataType: "string";
|
|
@@ -1454,7 +1454,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1454
1454
|
identity: undefined;
|
|
1455
1455
|
generated: undefined;
|
|
1456
1456
|
}, {}, {}>;
|
|
1457
|
-
agentId:
|
|
1457
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
1458
1458
|
name: "agent_id";
|
|
1459
1459
|
tableName: "trigger_invocations";
|
|
1460
1460
|
dataType: "string";
|
|
@@ -1473,7 +1473,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1473
1473
|
}, {}, {
|
|
1474
1474
|
length: 256;
|
|
1475
1475
|
}>;
|
|
1476
|
-
projectId:
|
|
1476
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
1477
1477
|
name: "project_id";
|
|
1478
1478
|
tableName: "trigger_invocations";
|
|
1479
1479
|
dataType: "string";
|
|
@@ -1492,7 +1492,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1492
1492
|
}, {}, {
|
|
1493
1493
|
length: 256;
|
|
1494
1494
|
}>;
|
|
1495
|
-
tenantId:
|
|
1495
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
1496
1496
|
name: "tenant_id";
|
|
1497
1497
|
tableName: "trigger_invocations";
|
|
1498
1498
|
dataType: "string";
|
|
@@ -1511,7 +1511,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1511
1511
|
}, {}, {
|
|
1512
1512
|
length: 256;
|
|
1513
1513
|
}>;
|
|
1514
|
-
id:
|
|
1514
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
1515
1515
|
name: "id";
|
|
1516
1516
|
tableName: "trigger_invocations";
|
|
1517
1517
|
dataType: "string";
|
|
@@ -1538,11 +1538,11 @@ declare const triggerInvocations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
1538
1538
|
* Enforces workspace -> tenant uniqueness and provides audit trail.
|
|
1539
1539
|
* Stores reference to Nango connection for token retrieval.
|
|
1540
1540
|
*/
|
|
1541
|
-
declare const workAppSlackWorkspaces:
|
|
1541
|
+
declare const workAppSlackWorkspaces: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
1542
1542
|
name: "work_app_slack_workspaces";
|
|
1543
1543
|
schema: undefined;
|
|
1544
1544
|
columns: {
|
|
1545
|
-
createdAt:
|
|
1545
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1546
1546
|
name: "created_at";
|
|
1547
1547
|
tableName: "work_app_slack_workspaces";
|
|
1548
1548
|
dataType: "string";
|
|
@@ -1559,7 +1559,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1559
1559
|
identity: undefined;
|
|
1560
1560
|
generated: undefined;
|
|
1561
1561
|
}, {}, {}>;
|
|
1562
|
-
updatedAt:
|
|
1562
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1563
1563
|
name: "updated_at";
|
|
1564
1564
|
tableName: "work_app_slack_workspaces";
|
|
1565
1565
|
dataType: "string";
|
|
@@ -1576,7 +1576,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1576
1576
|
identity: undefined;
|
|
1577
1577
|
generated: undefined;
|
|
1578
1578
|
}, {}, {}>;
|
|
1579
|
-
id:
|
|
1579
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
1580
1580
|
name: "id";
|
|
1581
1581
|
tableName: "work_app_slack_workspaces";
|
|
1582
1582
|
dataType: "string";
|
|
@@ -1595,7 +1595,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1595
1595
|
}, {}, {
|
|
1596
1596
|
length: 256;
|
|
1597
1597
|
}>;
|
|
1598
|
-
tenantId:
|
|
1598
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
1599
1599
|
name: "tenant_id";
|
|
1600
1600
|
tableName: "work_app_slack_workspaces";
|
|
1601
1601
|
dataType: "string";
|
|
@@ -1614,7 +1614,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1614
1614
|
}, {}, {
|
|
1615
1615
|
length: 256;
|
|
1616
1616
|
}>;
|
|
1617
|
-
slackTeamId:
|
|
1617
|
+
slackTeamId: drizzle_orm_pg_core557.PgColumn<{
|
|
1618
1618
|
name: "slack_team_id";
|
|
1619
1619
|
tableName: "work_app_slack_workspaces";
|
|
1620
1620
|
dataType: "string";
|
|
@@ -1633,7 +1633,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1633
1633
|
}, {}, {
|
|
1634
1634
|
length: 256;
|
|
1635
1635
|
}>;
|
|
1636
|
-
slackEnterpriseId:
|
|
1636
|
+
slackEnterpriseId: drizzle_orm_pg_core557.PgColumn<{
|
|
1637
1637
|
name: "slack_enterprise_id";
|
|
1638
1638
|
tableName: "work_app_slack_workspaces";
|
|
1639
1639
|
dataType: "string";
|
|
@@ -1652,7 +1652,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1652
1652
|
}, {}, {
|
|
1653
1653
|
length: 256;
|
|
1654
1654
|
}>;
|
|
1655
|
-
slackAppId:
|
|
1655
|
+
slackAppId: drizzle_orm_pg_core557.PgColumn<{
|
|
1656
1656
|
name: "slack_app_id";
|
|
1657
1657
|
tableName: "work_app_slack_workspaces";
|
|
1658
1658
|
dataType: "string";
|
|
@@ -1671,7 +1671,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1671
1671
|
}, {}, {
|
|
1672
1672
|
length: 256;
|
|
1673
1673
|
}>;
|
|
1674
|
-
slackTeamName:
|
|
1674
|
+
slackTeamName: drizzle_orm_pg_core557.PgColumn<{
|
|
1675
1675
|
name: "slack_team_name";
|
|
1676
1676
|
tableName: "work_app_slack_workspaces";
|
|
1677
1677
|
dataType: "string";
|
|
@@ -1690,7 +1690,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1690
1690
|
}, {}, {
|
|
1691
1691
|
length: 512;
|
|
1692
1692
|
}>;
|
|
1693
|
-
nangoProviderConfigKey:
|
|
1693
|
+
nangoProviderConfigKey: drizzle_orm_pg_core557.PgColumn<{
|
|
1694
1694
|
name: "nango_provider_config_key";
|
|
1695
1695
|
tableName: "work_app_slack_workspaces";
|
|
1696
1696
|
dataType: "string";
|
|
@@ -1709,7 +1709,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1709
1709
|
}, {}, {
|
|
1710
1710
|
length: 256;
|
|
1711
1711
|
}>;
|
|
1712
|
-
nangoConnectionId:
|
|
1712
|
+
nangoConnectionId: drizzle_orm_pg_core557.PgColumn<{
|
|
1713
1713
|
name: "nango_connection_id";
|
|
1714
1714
|
tableName: "work_app_slack_workspaces";
|
|
1715
1715
|
dataType: "string";
|
|
@@ -1728,7 +1728,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1728
1728
|
}, {}, {
|
|
1729
1729
|
length: 256;
|
|
1730
1730
|
}>;
|
|
1731
|
-
status:
|
|
1731
|
+
status: drizzle_orm_pg_core557.PgColumn<{
|
|
1732
1732
|
name: "status";
|
|
1733
1733
|
tableName: "work_app_slack_workspaces";
|
|
1734
1734
|
dataType: "string";
|
|
@@ -1747,7 +1747,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1747
1747
|
}, {}, {
|
|
1748
1748
|
length: 20;
|
|
1749
1749
|
}>;
|
|
1750
|
-
installedByUserId:
|
|
1750
|
+
installedByUserId: drizzle_orm_pg_core557.PgColumn<{
|
|
1751
1751
|
name: "installed_by_user_id";
|
|
1752
1752
|
tableName: "work_app_slack_workspaces";
|
|
1753
1753
|
dataType: "string";
|
|
@@ -1764,7 +1764,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1764
1764
|
identity: undefined;
|
|
1765
1765
|
generated: undefined;
|
|
1766
1766
|
}, {}, {}>;
|
|
1767
|
-
shouldAllowJoinFromWorkspace:
|
|
1767
|
+
shouldAllowJoinFromWorkspace: drizzle_orm_pg_core557.PgColumn<{
|
|
1768
1768
|
name: "should_allow_join_from_workspace";
|
|
1769
1769
|
tableName: "work_app_slack_workspaces";
|
|
1770
1770
|
dataType: "boolean";
|
|
@@ -1781,7 +1781,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1781
1781
|
identity: undefined;
|
|
1782
1782
|
generated: undefined;
|
|
1783
1783
|
}, {}, {}>;
|
|
1784
|
-
defaultAgentId:
|
|
1784
|
+
defaultAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
1785
1785
|
name: "default_agent_id";
|
|
1786
1786
|
tableName: "work_app_slack_workspaces";
|
|
1787
1787
|
dataType: "string";
|
|
@@ -1800,7 +1800,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1800
1800
|
}, {}, {
|
|
1801
1801
|
length: 256;
|
|
1802
1802
|
}>;
|
|
1803
|
-
defaultProjectId:
|
|
1803
|
+
defaultProjectId: drizzle_orm_pg_core557.PgColumn<{
|
|
1804
1804
|
name: "default_project_id";
|
|
1805
1805
|
tableName: "work_app_slack_workspaces";
|
|
1806
1806
|
dataType: "string";
|
|
@@ -1819,7 +1819,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1819
1819
|
}, {}, {
|
|
1820
1820
|
length: 256;
|
|
1821
1821
|
}>;
|
|
1822
|
-
defaultGrantAccessToMembers:
|
|
1822
|
+
defaultGrantAccessToMembers: drizzle_orm_pg_core557.PgColumn<{
|
|
1823
1823
|
name: "default_grant_access_to_members";
|
|
1824
1824
|
tableName: "work_app_slack_workspaces";
|
|
1825
1825
|
dataType: "boolean";
|
|
@@ -1844,11 +1844,11 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1825.PgTableWithColumns
|
|
|
1844
1844
|
* Enables Slack users to trigger agents after linking their accounts.
|
|
1845
1845
|
* Unique per tenant + clientId + slackTeamId + slackUserId.
|
|
1846
1846
|
*/
|
|
1847
|
-
declare const workAppSlackUserMappings:
|
|
1847
|
+
declare const workAppSlackUserMappings: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
1848
1848
|
name: "work_app_slack_user_mappings";
|
|
1849
1849
|
schema: undefined;
|
|
1850
1850
|
columns: {
|
|
1851
|
-
createdAt:
|
|
1851
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1852
1852
|
name: "created_at";
|
|
1853
1853
|
tableName: "work_app_slack_user_mappings";
|
|
1854
1854
|
dataType: "string";
|
|
@@ -1865,7 +1865,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1865
1865
|
identity: undefined;
|
|
1866
1866
|
generated: undefined;
|
|
1867
1867
|
}, {}, {}>;
|
|
1868
|
-
updatedAt:
|
|
1868
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
1869
1869
|
name: "updated_at";
|
|
1870
1870
|
tableName: "work_app_slack_user_mappings";
|
|
1871
1871
|
dataType: "string";
|
|
@@ -1882,7 +1882,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1882
1882
|
identity: undefined;
|
|
1883
1883
|
generated: undefined;
|
|
1884
1884
|
}, {}, {}>;
|
|
1885
|
-
id:
|
|
1885
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
1886
1886
|
name: "id";
|
|
1887
1887
|
tableName: "work_app_slack_user_mappings";
|
|
1888
1888
|
dataType: "string";
|
|
@@ -1901,7 +1901,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1901
1901
|
}, {}, {
|
|
1902
1902
|
length: 256;
|
|
1903
1903
|
}>;
|
|
1904
|
-
tenantId:
|
|
1904
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
1905
1905
|
name: "tenant_id";
|
|
1906
1906
|
tableName: "work_app_slack_user_mappings";
|
|
1907
1907
|
dataType: "string";
|
|
@@ -1920,7 +1920,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1920
1920
|
}, {}, {
|
|
1921
1921
|
length: 256;
|
|
1922
1922
|
}>;
|
|
1923
|
-
clientId:
|
|
1923
|
+
clientId: drizzle_orm_pg_core557.PgColumn<{
|
|
1924
1924
|
name: "client_id";
|
|
1925
1925
|
tableName: "work_app_slack_user_mappings";
|
|
1926
1926
|
dataType: "string";
|
|
@@ -1939,7 +1939,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1939
1939
|
}, {}, {
|
|
1940
1940
|
length: 256;
|
|
1941
1941
|
}>;
|
|
1942
|
-
slackUserId:
|
|
1942
|
+
slackUserId: drizzle_orm_pg_core557.PgColumn<{
|
|
1943
1943
|
name: "slack_user_id";
|
|
1944
1944
|
tableName: "work_app_slack_user_mappings";
|
|
1945
1945
|
dataType: "string";
|
|
@@ -1958,7 +1958,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1958
1958
|
}, {}, {
|
|
1959
1959
|
length: 256;
|
|
1960
1960
|
}>;
|
|
1961
|
-
slackTeamId:
|
|
1961
|
+
slackTeamId: drizzle_orm_pg_core557.PgColumn<{
|
|
1962
1962
|
name: "slack_team_id";
|
|
1963
1963
|
tableName: "work_app_slack_user_mappings";
|
|
1964
1964
|
dataType: "string";
|
|
@@ -1977,7 +1977,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1977
1977
|
}, {}, {
|
|
1978
1978
|
length: 256;
|
|
1979
1979
|
}>;
|
|
1980
|
-
slackEnterpriseId:
|
|
1980
|
+
slackEnterpriseId: drizzle_orm_pg_core557.PgColumn<{
|
|
1981
1981
|
name: "slack_enterprise_id";
|
|
1982
1982
|
tableName: "work_app_slack_user_mappings";
|
|
1983
1983
|
dataType: "string";
|
|
@@ -1996,7 +1996,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
1996
1996
|
}, {}, {
|
|
1997
1997
|
length: 256;
|
|
1998
1998
|
}>;
|
|
1999
|
-
inkeepUserId:
|
|
1999
|
+
inkeepUserId: drizzle_orm_pg_core557.PgColumn<{
|
|
2000
2000
|
name: "inkeep_user_id";
|
|
2001
2001
|
tableName: "work_app_slack_user_mappings";
|
|
2002
2002
|
dataType: "string";
|
|
@@ -2013,7 +2013,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
2013
2013
|
identity: undefined;
|
|
2014
2014
|
generated: undefined;
|
|
2015
2015
|
}, {}, {}>;
|
|
2016
|
-
slackUsername:
|
|
2016
|
+
slackUsername: drizzle_orm_pg_core557.PgColumn<{
|
|
2017
2017
|
name: "slack_username";
|
|
2018
2018
|
tableName: "work_app_slack_user_mappings";
|
|
2019
2019
|
dataType: "string";
|
|
@@ -2032,7 +2032,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
2032
2032
|
}, {}, {
|
|
2033
2033
|
length: 256;
|
|
2034
2034
|
}>;
|
|
2035
|
-
slackEmail:
|
|
2035
|
+
slackEmail: drizzle_orm_pg_core557.PgColumn<{
|
|
2036
2036
|
name: "slack_email";
|
|
2037
2037
|
tableName: "work_app_slack_user_mappings";
|
|
2038
2038
|
dataType: "string";
|
|
@@ -2051,7 +2051,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
2051
2051
|
}, {}, {
|
|
2052
2052
|
length: 256;
|
|
2053
2053
|
}>;
|
|
2054
|
-
linkedAt:
|
|
2054
|
+
linkedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2055
2055
|
name: "linked_at";
|
|
2056
2056
|
tableName: "work_app_slack_user_mappings";
|
|
2057
2057
|
dataType: "string";
|
|
@@ -2068,7 +2068,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
2068
2068
|
identity: undefined;
|
|
2069
2069
|
generated: undefined;
|
|
2070
2070
|
}, {}, {}>;
|
|
2071
|
-
lastUsedAt:
|
|
2071
|
+
lastUsedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2072
2072
|
name: "last_used_at";
|
|
2073
2073
|
tableName: "work_app_slack_user_mappings";
|
|
2074
2074
|
dataType: "string";
|
|
@@ -2093,11 +2093,11 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1825.PgTableWithColum
|
|
|
2093
2093
|
* Allows admins to set channel-specific agent defaults that override workspace defaults.
|
|
2094
2094
|
* Unique per tenant + slackTeamId + slackChannelId.
|
|
2095
2095
|
*/
|
|
2096
|
-
declare const workAppSlackChannelAgentConfigs:
|
|
2096
|
+
declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
2097
2097
|
name: "work_app_slack_channel_agent_configs";
|
|
2098
2098
|
schema: undefined;
|
|
2099
2099
|
columns: {
|
|
2100
|
-
createdAt:
|
|
2100
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2101
2101
|
name: "created_at";
|
|
2102
2102
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2103
2103
|
dataType: "string";
|
|
@@ -2114,7 +2114,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2114
2114
|
identity: undefined;
|
|
2115
2115
|
generated: undefined;
|
|
2116
2116
|
}, {}, {}>;
|
|
2117
|
-
updatedAt:
|
|
2117
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2118
2118
|
name: "updated_at";
|
|
2119
2119
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2120
2120
|
dataType: "string";
|
|
@@ -2131,7 +2131,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2131
2131
|
identity: undefined;
|
|
2132
2132
|
generated: undefined;
|
|
2133
2133
|
}, {}, {}>;
|
|
2134
|
-
id:
|
|
2134
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
2135
2135
|
name: "id";
|
|
2136
2136
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2137
2137
|
dataType: "string";
|
|
@@ -2150,7 +2150,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2150
2150
|
}, {}, {
|
|
2151
2151
|
length: 256;
|
|
2152
2152
|
}>;
|
|
2153
|
-
tenantId:
|
|
2153
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
2154
2154
|
name: "tenant_id";
|
|
2155
2155
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2156
2156
|
dataType: "string";
|
|
@@ -2169,7 +2169,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2169
2169
|
}, {}, {
|
|
2170
2170
|
length: 256;
|
|
2171
2171
|
}>;
|
|
2172
|
-
slackTeamId:
|
|
2172
|
+
slackTeamId: drizzle_orm_pg_core557.PgColumn<{
|
|
2173
2173
|
name: "slack_team_id";
|
|
2174
2174
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2175
2175
|
dataType: "string";
|
|
@@ -2188,7 +2188,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2188
2188
|
}, {}, {
|
|
2189
2189
|
length: 256;
|
|
2190
2190
|
}>;
|
|
2191
|
-
slackChannelId:
|
|
2191
|
+
slackChannelId: drizzle_orm_pg_core557.PgColumn<{
|
|
2192
2192
|
name: "slack_channel_id";
|
|
2193
2193
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2194
2194
|
dataType: "string";
|
|
@@ -2207,7 +2207,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2207
2207
|
}, {}, {
|
|
2208
2208
|
length: 256;
|
|
2209
2209
|
}>;
|
|
2210
|
-
slackChannelName:
|
|
2210
|
+
slackChannelName: drizzle_orm_pg_core557.PgColumn<{
|
|
2211
2211
|
name: "slack_channel_name";
|
|
2212
2212
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2213
2213
|
dataType: "string";
|
|
@@ -2226,7 +2226,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2226
2226
|
}, {}, {
|
|
2227
2227
|
length: 256;
|
|
2228
2228
|
}>;
|
|
2229
|
-
slackChannelType:
|
|
2229
|
+
slackChannelType: drizzle_orm_pg_core557.PgColumn<{
|
|
2230
2230
|
name: "slack_channel_type";
|
|
2231
2231
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2232
2232
|
dataType: "string";
|
|
@@ -2245,7 +2245,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2245
2245
|
}, {}, {
|
|
2246
2246
|
length: 50;
|
|
2247
2247
|
}>;
|
|
2248
|
-
projectId:
|
|
2248
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
2249
2249
|
name: "project_id";
|
|
2250
2250
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2251
2251
|
dataType: "string";
|
|
@@ -2264,7 +2264,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2264
2264
|
}, {}, {
|
|
2265
2265
|
length: 256;
|
|
2266
2266
|
}>;
|
|
2267
|
-
agentId:
|
|
2267
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2268
2268
|
name: "agent_id";
|
|
2269
2269
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2270
2270
|
dataType: "string";
|
|
@@ -2283,7 +2283,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2283
2283
|
}, {}, {
|
|
2284
2284
|
length: 256;
|
|
2285
2285
|
}>;
|
|
2286
|
-
configuredByUserId:
|
|
2286
|
+
configuredByUserId: drizzle_orm_pg_core557.PgColumn<{
|
|
2287
2287
|
name: "configured_by_user_id";
|
|
2288
2288
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2289
2289
|
dataType: "string";
|
|
@@ -2300,7 +2300,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2300
2300
|
identity: undefined;
|
|
2301
2301
|
generated: undefined;
|
|
2302
2302
|
}, {}, {}>;
|
|
2303
|
-
enabled:
|
|
2303
|
+
enabled: drizzle_orm_pg_core557.PgColumn<{
|
|
2304
2304
|
name: "enabled";
|
|
2305
2305
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2306
2306
|
dataType: "boolean";
|
|
@@ -2317,7 +2317,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2317
2317
|
identity: undefined;
|
|
2318
2318
|
generated: undefined;
|
|
2319
2319
|
}, {}, {}>;
|
|
2320
|
-
grantAccessToMembers:
|
|
2320
|
+
grantAccessToMembers: drizzle_orm_pg_core557.PgColumn<{
|
|
2321
2321
|
name: "grant_access_to_members";
|
|
2322
2322
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2323
2323
|
dataType: "boolean";
|
|
@@ -2337,15 +2337,397 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1825.PgTableWi
|
|
|
2337
2337
|
};
|
|
2338
2338
|
dialect: "pg";
|
|
2339
2339
|
}>;
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2340
|
+
declare const scheduledTriggers: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
2341
|
+
name: "scheduled_triggers";
|
|
2342
|
+
schema: undefined;
|
|
2343
|
+
columns: {
|
|
2344
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2345
|
+
name: "created_at";
|
|
2346
|
+
tableName: "scheduled_triggers";
|
|
2347
|
+
dataType: "string";
|
|
2348
|
+
columnType: "PgTimestampString";
|
|
2349
|
+
data: string;
|
|
2350
|
+
driverParam: string;
|
|
2351
|
+
notNull: true;
|
|
2352
|
+
hasDefault: true;
|
|
2353
|
+
isPrimaryKey: false;
|
|
2354
|
+
isAutoincrement: false;
|
|
2355
|
+
hasRuntimeDefault: false;
|
|
2356
|
+
enumValues: undefined;
|
|
2357
|
+
baseColumn: never;
|
|
2358
|
+
identity: undefined;
|
|
2359
|
+
generated: undefined;
|
|
2360
|
+
}, {}, {}>;
|
|
2361
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2362
|
+
name: "updated_at";
|
|
2363
|
+
tableName: "scheduled_triggers";
|
|
2364
|
+
dataType: "string";
|
|
2365
|
+
columnType: "PgTimestampString";
|
|
2366
|
+
data: string;
|
|
2367
|
+
driverParam: string;
|
|
2368
|
+
notNull: true;
|
|
2369
|
+
hasDefault: true;
|
|
2370
|
+
isPrimaryKey: false;
|
|
2371
|
+
isAutoincrement: false;
|
|
2372
|
+
hasRuntimeDefault: false;
|
|
2373
|
+
enumValues: undefined;
|
|
2374
|
+
baseColumn: never;
|
|
2375
|
+
identity: undefined;
|
|
2376
|
+
generated: undefined;
|
|
2377
|
+
}, {}, {}>;
|
|
2378
|
+
name: drizzle_orm_pg_core557.PgColumn<{
|
|
2379
|
+
name: "name";
|
|
2380
|
+
tableName: "scheduled_triggers";
|
|
2381
|
+
dataType: "string";
|
|
2382
|
+
columnType: "PgVarchar";
|
|
2383
|
+
data: string;
|
|
2384
|
+
driverParam: string;
|
|
2385
|
+
notNull: true;
|
|
2386
|
+
hasDefault: false;
|
|
2387
|
+
isPrimaryKey: false;
|
|
2388
|
+
isAutoincrement: false;
|
|
2389
|
+
hasRuntimeDefault: false;
|
|
2390
|
+
enumValues: [string, ...string[]];
|
|
2391
|
+
baseColumn: never;
|
|
2392
|
+
identity: undefined;
|
|
2393
|
+
generated: undefined;
|
|
2394
|
+
}, {}, {
|
|
2395
|
+
length: 256;
|
|
2396
|
+
}>;
|
|
2397
|
+
description: drizzle_orm_pg_core557.PgColumn<{
|
|
2398
|
+
name: "description";
|
|
2399
|
+
tableName: "scheduled_triggers";
|
|
2400
|
+
dataType: "string";
|
|
2401
|
+
columnType: "PgText";
|
|
2402
|
+
data: string;
|
|
2403
|
+
driverParam: string;
|
|
2404
|
+
notNull: false;
|
|
2405
|
+
hasDefault: false;
|
|
2406
|
+
isPrimaryKey: false;
|
|
2407
|
+
isAutoincrement: false;
|
|
2408
|
+
hasRuntimeDefault: false;
|
|
2409
|
+
enumValues: [string, ...string[]];
|
|
2410
|
+
baseColumn: never;
|
|
2411
|
+
identity: undefined;
|
|
2412
|
+
generated: undefined;
|
|
2413
|
+
}, {}, {}>;
|
|
2414
|
+
enabled: drizzle_orm_pg_core557.PgColumn<{
|
|
2415
|
+
name: "enabled";
|
|
2416
|
+
tableName: "scheduled_triggers";
|
|
2417
|
+
dataType: "boolean";
|
|
2418
|
+
columnType: "PgBoolean";
|
|
2419
|
+
data: boolean;
|
|
2420
|
+
driverParam: boolean;
|
|
2421
|
+
notNull: true;
|
|
2422
|
+
hasDefault: true;
|
|
2423
|
+
isPrimaryKey: false;
|
|
2424
|
+
isAutoincrement: false;
|
|
2425
|
+
hasRuntimeDefault: false;
|
|
2426
|
+
enumValues: undefined;
|
|
2427
|
+
baseColumn: never;
|
|
2428
|
+
identity: undefined;
|
|
2429
|
+
generated: undefined;
|
|
2430
|
+
}, {}, {}>;
|
|
2431
|
+
cronExpression: drizzle_orm_pg_core557.PgColumn<{
|
|
2432
|
+
name: "cron_expression";
|
|
2433
|
+
tableName: "scheduled_triggers";
|
|
2434
|
+
dataType: "string";
|
|
2435
|
+
columnType: "PgVarchar";
|
|
2436
|
+
data: string;
|
|
2437
|
+
driverParam: string;
|
|
2438
|
+
notNull: false;
|
|
2439
|
+
hasDefault: false;
|
|
2440
|
+
isPrimaryKey: false;
|
|
2441
|
+
isAutoincrement: false;
|
|
2442
|
+
hasRuntimeDefault: false;
|
|
2443
|
+
enumValues: [string, ...string[]];
|
|
2444
|
+
baseColumn: never;
|
|
2445
|
+
identity: undefined;
|
|
2446
|
+
generated: undefined;
|
|
2447
|
+
}, {}, {
|
|
2448
|
+
length: 256;
|
|
2449
|
+
}>;
|
|
2450
|
+
cronTimezone: drizzle_orm_pg_core557.PgColumn<{
|
|
2451
|
+
name: "cron_timezone";
|
|
2452
|
+
tableName: "scheduled_triggers";
|
|
2453
|
+
dataType: "string";
|
|
2454
|
+
columnType: "PgVarchar";
|
|
2455
|
+
data: string;
|
|
2456
|
+
driverParam: string;
|
|
2457
|
+
notNull: false;
|
|
2458
|
+
hasDefault: true;
|
|
2459
|
+
isPrimaryKey: false;
|
|
2460
|
+
isAutoincrement: false;
|
|
2461
|
+
hasRuntimeDefault: false;
|
|
2462
|
+
enumValues: [string, ...string[]];
|
|
2463
|
+
baseColumn: never;
|
|
2464
|
+
identity: undefined;
|
|
2465
|
+
generated: undefined;
|
|
2466
|
+
}, {}, {
|
|
2467
|
+
length: 64;
|
|
2468
|
+
}>;
|
|
2469
|
+
runAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2470
|
+
name: "run_at";
|
|
2471
|
+
tableName: "scheduled_triggers";
|
|
2472
|
+
dataType: "string";
|
|
2473
|
+
columnType: "PgTimestampString";
|
|
2474
|
+
data: string;
|
|
2475
|
+
driverParam: string;
|
|
2476
|
+
notNull: false;
|
|
2477
|
+
hasDefault: false;
|
|
2478
|
+
isPrimaryKey: false;
|
|
2479
|
+
isAutoincrement: false;
|
|
2480
|
+
hasRuntimeDefault: false;
|
|
2481
|
+
enumValues: undefined;
|
|
2482
|
+
baseColumn: never;
|
|
2483
|
+
identity: undefined;
|
|
2484
|
+
generated: undefined;
|
|
2485
|
+
}, {}, {}>;
|
|
2486
|
+
payload: drizzle_orm_pg_core557.PgColumn<{
|
|
2487
|
+
name: "payload";
|
|
2488
|
+
tableName: "scheduled_triggers";
|
|
2489
|
+
dataType: "json";
|
|
2490
|
+
columnType: "PgJsonb";
|
|
2491
|
+
data: Record<string, unknown> | null;
|
|
2492
|
+
driverParam: unknown;
|
|
2493
|
+
notNull: false;
|
|
2494
|
+
hasDefault: false;
|
|
2495
|
+
isPrimaryKey: false;
|
|
2496
|
+
isAutoincrement: false;
|
|
2497
|
+
hasRuntimeDefault: false;
|
|
2498
|
+
enumValues: undefined;
|
|
2499
|
+
baseColumn: never;
|
|
2500
|
+
identity: undefined;
|
|
2501
|
+
generated: undefined;
|
|
2502
|
+
}, {}, {
|
|
2503
|
+
$type: Record<string, unknown> | null;
|
|
2504
|
+
}>;
|
|
2505
|
+
messageTemplate: drizzle_orm_pg_core557.PgColumn<{
|
|
2506
|
+
name: "message_template";
|
|
2507
|
+
tableName: "scheduled_triggers";
|
|
2508
|
+
dataType: "string";
|
|
2509
|
+
columnType: "PgText";
|
|
2510
|
+
data: string;
|
|
2511
|
+
driverParam: string;
|
|
2512
|
+
notNull: false;
|
|
2513
|
+
hasDefault: false;
|
|
2514
|
+
isPrimaryKey: false;
|
|
2515
|
+
isAutoincrement: false;
|
|
2516
|
+
hasRuntimeDefault: false;
|
|
2517
|
+
enumValues: [string, ...string[]];
|
|
2518
|
+
baseColumn: never;
|
|
2519
|
+
identity: undefined;
|
|
2520
|
+
generated: undefined;
|
|
2521
|
+
}, {}, {}>;
|
|
2522
|
+
maxRetries: drizzle_orm_pg_core557.PgColumn<{
|
|
2523
|
+
name: "max_retries";
|
|
2524
|
+
tableName: "scheduled_triggers";
|
|
2525
|
+
dataType: "number";
|
|
2526
|
+
columnType: "PgInteger";
|
|
2527
|
+
data: number;
|
|
2528
|
+
driverParam: string | number;
|
|
2529
|
+
notNull: true;
|
|
2530
|
+
hasDefault: true;
|
|
2531
|
+
isPrimaryKey: false;
|
|
2532
|
+
isAutoincrement: false;
|
|
2533
|
+
hasRuntimeDefault: false;
|
|
2534
|
+
enumValues: undefined;
|
|
2535
|
+
baseColumn: never;
|
|
2536
|
+
identity: undefined;
|
|
2537
|
+
generated: undefined;
|
|
2538
|
+
}, {}, {}>;
|
|
2539
|
+
retryDelaySeconds: drizzle_orm_pg_core557.PgColumn<{
|
|
2540
|
+
name: "retry_delay_seconds";
|
|
2541
|
+
tableName: "scheduled_triggers";
|
|
2542
|
+
dataType: "number";
|
|
2543
|
+
columnType: "PgInteger";
|
|
2544
|
+
data: number;
|
|
2545
|
+
driverParam: string | number;
|
|
2546
|
+
notNull: true;
|
|
2547
|
+
hasDefault: true;
|
|
2548
|
+
isPrimaryKey: false;
|
|
2549
|
+
isAutoincrement: false;
|
|
2550
|
+
hasRuntimeDefault: false;
|
|
2551
|
+
enumValues: undefined;
|
|
2552
|
+
baseColumn: never;
|
|
2553
|
+
identity: undefined;
|
|
2554
|
+
generated: undefined;
|
|
2555
|
+
}, {}, {}>;
|
|
2556
|
+
timeoutSeconds: drizzle_orm_pg_core557.PgColumn<{
|
|
2557
|
+
name: "timeout_seconds";
|
|
2558
|
+
tableName: "scheduled_triggers";
|
|
2559
|
+
dataType: "number";
|
|
2560
|
+
columnType: "PgInteger";
|
|
2561
|
+
data: number;
|
|
2562
|
+
driverParam: string | number;
|
|
2563
|
+
notNull: true;
|
|
2564
|
+
hasDefault: true;
|
|
2565
|
+
isPrimaryKey: false;
|
|
2566
|
+
isAutoincrement: false;
|
|
2567
|
+
hasRuntimeDefault: false;
|
|
2568
|
+
enumValues: undefined;
|
|
2569
|
+
baseColumn: never;
|
|
2570
|
+
identity: undefined;
|
|
2571
|
+
generated: undefined;
|
|
2572
|
+
}, {}, {}>;
|
|
2573
|
+
runAsUserId: drizzle_orm_pg_core557.PgColumn<{
|
|
2574
|
+
name: "run_as_user_id";
|
|
2575
|
+
tableName: "scheduled_triggers";
|
|
2576
|
+
dataType: "string";
|
|
2577
|
+
columnType: "PgVarchar";
|
|
2578
|
+
data: string;
|
|
2579
|
+
driverParam: string;
|
|
2580
|
+
notNull: false;
|
|
2581
|
+
hasDefault: false;
|
|
2582
|
+
isPrimaryKey: false;
|
|
2583
|
+
isAutoincrement: false;
|
|
2584
|
+
hasRuntimeDefault: false;
|
|
2585
|
+
enumValues: [string, ...string[]];
|
|
2586
|
+
baseColumn: never;
|
|
2587
|
+
identity: undefined;
|
|
2588
|
+
generated: undefined;
|
|
2589
|
+
}, {}, {
|
|
2590
|
+
length: 256;
|
|
2591
|
+
}>;
|
|
2592
|
+
createdBy: drizzle_orm_pg_core557.PgColumn<{
|
|
2593
|
+
name: "created_by";
|
|
2594
|
+
tableName: "scheduled_triggers";
|
|
2595
|
+
dataType: "string";
|
|
2596
|
+
columnType: "PgVarchar";
|
|
2597
|
+
data: string;
|
|
2598
|
+
driverParam: string;
|
|
2599
|
+
notNull: false;
|
|
2600
|
+
hasDefault: false;
|
|
2601
|
+
isPrimaryKey: false;
|
|
2602
|
+
isAutoincrement: false;
|
|
2603
|
+
hasRuntimeDefault: false;
|
|
2604
|
+
enumValues: [string, ...string[]];
|
|
2605
|
+
baseColumn: never;
|
|
2606
|
+
identity: undefined;
|
|
2607
|
+
generated: undefined;
|
|
2608
|
+
}, {}, {
|
|
2609
|
+
length: 256;
|
|
2610
|
+
}>;
|
|
2611
|
+
nextRunAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2612
|
+
name: "next_run_at";
|
|
2613
|
+
tableName: "scheduled_triggers";
|
|
2614
|
+
dataType: "string";
|
|
2615
|
+
columnType: "PgTimestampString";
|
|
2616
|
+
data: string;
|
|
2617
|
+
driverParam: string;
|
|
2618
|
+
notNull: false;
|
|
2619
|
+
hasDefault: false;
|
|
2620
|
+
isPrimaryKey: false;
|
|
2621
|
+
isAutoincrement: false;
|
|
2622
|
+
hasRuntimeDefault: false;
|
|
2623
|
+
enumValues: undefined;
|
|
2624
|
+
baseColumn: never;
|
|
2625
|
+
identity: undefined;
|
|
2626
|
+
generated: undefined;
|
|
2627
|
+
}, {}, {}>;
|
|
2628
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
2629
|
+
name: "ref";
|
|
2630
|
+
tableName: "scheduled_triggers";
|
|
2631
|
+
dataType: "string";
|
|
2632
|
+
columnType: "PgVarchar";
|
|
2633
|
+
data: string;
|
|
2634
|
+
driverParam: string;
|
|
2635
|
+
notNull: true;
|
|
2636
|
+
hasDefault: true;
|
|
2637
|
+
isPrimaryKey: false;
|
|
2638
|
+
isAutoincrement: false;
|
|
2639
|
+
hasRuntimeDefault: false;
|
|
2640
|
+
enumValues: [string, ...string[]];
|
|
2641
|
+
baseColumn: never;
|
|
2642
|
+
identity: undefined;
|
|
2643
|
+
generated: undefined;
|
|
2644
|
+
}, {}, {
|
|
2645
|
+
length: 256;
|
|
2646
|
+
}>;
|
|
2647
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2648
|
+
name: "agent_id";
|
|
2649
|
+
tableName: "scheduled_triggers";
|
|
2650
|
+
dataType: "string";
|
|
2651
|
+
columnType: "PgVarchar";
|
|
2652
|
+
data: string;
|
|
2653
|
+
driverParam: string;
|
|
2654
|
+
notNull: true;
|
|
2655
|
+
hasDefault: false;
|
|
2656
|
+
isPrimaryKey: false;
|
|
2657
|
+
isAutoincrement: false;
|
|
2658
|
+
hasRuntimeDefault: false;
|
|
2659
|
+
enumValues: [string, ...string[]];
|
|
2660
|
+
baseColumn: never;
|
|
2661
|
+
identity: undefined;
|
|
2662
|
+
generated: undefined;
|
|
2663
|
+
}, {}, {
|
|
2664
|
+
length: 256;
|
|
2665
|
+
}>;
|
|
2666
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
2667
|
+
name: "project_id";
|
|
2668
|
+
tableName: "scheduled_triggers";
|
|
2669
|
+
dataType: "string";
|
|
2670
|
+
columnType: "PgVarchar";
|
|
2671
|
+
data: string;
|
|
2672
|
+
driverParam: string;
|
|
2673
|
+
notNull: true;
|
|
2674
|
+
hasDefault: false;
|
|
2675
|
+
isPrimaryKey: false;
|
|
2676
|
+
isAutoincrement: false;
|
|
2677
|
+
hasRuntimeDefault: false;
|
|
2678
|
+
enumValues: [string, ...string[]];
|
|
2679
|
+
baseColumn: never;
|
|
2680
|
+
identity: undefined;
|
|
2681
|
+
generated: undefined;
|
|
2682
|
+
}, {}, {
|
|
2683
|
+
length: 256;
|
|
2684
|
+
}>;
|
|
2685
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
2686
|
+
name: "tenant_id";
|
|
2687
|
+
tableName: "scheduled_triggers";
|
|
2688
|
+
dataType: "string";
|
|
2689
|
+
columnType: "PgVarchar";
|
|
2690
|
+
data: string;
|
|
2691
|
+
driverParam: string;
|
|
2692
|
+
notNull: true;
|
|
2693
|
+
hasDefault: false;
|
|
2694
|
+
isPrimaryKey: false;
|
|
2695
|
+
isAutoincrement: false;
|
|
2696
|
+
hasRuntimeDefault: false;
|
|
2697
|
+
enumValues: [string, ...string[]];
|
|
2698
|
+
baseColumn: never;
|
|
2699
|
+
identity: undefined;
|
|
2700
|
+
generated: undefined;
|
|
2701
|
+
}, {}, {
|
|
2702
|
+
length: 256;
|
|
2703
|
+
}>;
|
|
2704
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
2705
|
+
name: "id";
|
|
2706
|
+
tableName: "scheduled_triggers";
|
|
2707
|
+
dataType: "string";
|
|
2708
|
+
columnType: "PgVarchar";
|
|
2709
|
+
data: string;
|
|
2710
|
+
driverParam: string;
|
|
2711
|
+
notNull: true;
|
|
2712
|
+
hasDefault: false;
|
|
2713
|
+
isPrimaryKey: false;
|
|
2714
|
+
isAutoincrement: false;
|
|
2715
|
+
hasRuntimeDefault: false;
|
|
2716
|
+
enumValues: [string, ...string[]];
|
|
2717
|
+
baseColumn: never;
|
|
2718
|
+
identity: undefined;
|
|
2719
|
+
generated: undefined;
|
|
2720
|
+
}, {}, {
|
|
2721
|
+
length: 256;
|
|
2722
|
+
}>;
|
|
2723
|
+
};
|
|
2724
|
+
dialect: "pg";
|
|
2725
|
+
}>;
|
|
2726
|
+
declare const scheduledTriggerInvocations: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
2345
2727
|
name: "scheduled_trigger_invocations";
|
|
2346
2728
|
schema: undefined;
|
|
2347
2729
|
columns: {
|
|
2348
|
-
scheduledTriggerId:
|
|
2730
|
+
scheduledTriggerId: drizzle_orm_pg_core557.PgColumn<{
|
|
2349
2731
|
name: "scheduled_trigger_id";
|
|
2350
2732
|
tableName: "scheduled_trigger_invocations";
|
|
2351
2733
|
dataType: "string";
|
|
@@ -2364,7 +2746,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2364
2746
|
}, {}, {
|
|
2365
2747
|
length: 256;
|
|
2366
2748
|
}>;
|
|
2367
|
-
ref:
|
|
2749
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
2368
2750
|
name: "ref";
|
|
2369
2751
|
tableName: "scheduled_trigger_invocations";
|
|
2370
2752
|
dataType: "json";
|
|
@@ -2391,12 +2773,12 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2391
2773
|
hash: string;
|
|
2392
2774
|
};
|
|
2393
2775
|
}>;
|
|
2394
|
-
status:
|
|
2776
|
+
status: drizzle_orm_pg_core557.PgColumn<{
|
|
2395
2777
|
name: "status";
|
|
2396
2778
|
tableName: "scheduled_trigger_invocations";
|
|
2397
2779
|
dataType: "string";
|
|
2398
2780
|
columnType: "PgVarchar";
|
|
2399
|
-
data: "pending" | "
|
|
2781
|
+
data: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
2400
2782
|
driverParam: string;
|
|
2401
2783
|
notNull: true;
|
|
2402
2784
|
hasDefault: false;
|
|
@@ -2409,9 +2791,9 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2409
2791
|
generated: undefined;
|
|
2410
2792
|
}, {}, {
|
|
2411
2793
|
length: 50;
|
|
2412
|
-
$type: "pending" | "
|
|
2794
|
+
$type: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
2413
2795
|
}>;
|
|
2414
|
-
scheduledFor:
|
|
2796
|
+
scheduledFor: drizzle_orm_pg_core557.PgColumn<{
|
|
2415
2797
|
name: "scheduled_for";
|
|
2416
2798
|
tableName: "scheduled_trigger_invocations";
|
|
2417
2799
|
dataType: "string";
|
|
@@ -2428,7 +2810,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2428
2810
|
identity: undefined;
|
|
2429
2811
|
generated: undefined;
|
|
2430
2812
|
}, {}, {}>;
|
|
2431
|
-
startedAt:
|
|
2813
|
+
startedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2432
2814
|
name: "started_at";
|
|
2433
2815
|
tableName: "scheduled_trigger_invocations";
|
|
2434
2816
|
dataType: "string";
|
|
@@ -2445,7 +2827,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2445
2827
|
identity: undefined;
|
|
2446
2828
|
generated: undefined;
|
|
2447
2829
|
}, {}, {}>;
|
|
2448
|
-
completedAt:
|
|
2830
|
+
completedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2449
2831
|
name: "completed_at";
|
|
2450
2832
|
tableName: "scheduled_trigger_invocations";
|
|
2451
2833
|
dataType: "string";
|
|
@@ -2462,7 +2844,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2462
2844
|
identity: undefined;
|
|
2463
2845
|
generated: undefined;
|
|
2464
2846
|
}, {}, {}>;
|
|
2465
|
-
resolvedPayload:
|
|
2847
|
+
resolvedPayload: drizzle_orm_pg_core557.PgColumn<{
|
|
2466
2848
|
name: "resolved_payload";
|
|
2467
2849
|
tableName: "scheduled_trigger_invocations";
|
|
2468
2850
|
dataType: "json";
|
|
@@ -2481,7 +2863,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2481
2863
|
}, {}, {
|
|
2482
2864
|
$type: Record<string, unknown> | null;
|
|
2483
2865
|
}>;
|
|
2484
|
-
conversationIds:
|
|
2866
|
+
conversationIds: drizzle_orm_pg_core557.PgColumn<{
|
|
2485
2867
|
name: "conversation_ids";
|
|
2486
2868
|
tableName: "scheduled_trigger_invocations";
|
|
2487
2869
|
dataType: "json";
|
|
@@ -2500,7 +2882,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2500
2882
|
}, {}, {
|
|
2501
2883
|
$type: string[];
|
|
2502
2884
|
}>;
|
|
2503
|
-
attemptNumber:
|
|
2885
|
+
attemptNumber: drizzle_orm_pg_core557.PgColumn<{
|
|
2504
2886
|
name: "attempt_number";
|
|
2505
2887
|
tableName: "scheduled_trigger_invocations";
|
|
2506
2888
|
dataType: "number";
|
|
@@ -2517,7 +2899,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2517
2899
|
identity: undefined;
|
|
2518
2900
|
generated: undefined;
|
|
2519
2901
|
}, {}, {}>;
|
|
2520
|
-
idempotencyKey:
|
|
2902
|
+
idempotencyKey: drizzle_orm_pg_core557.PgColumn<{
|
|
2521
2903
|
name: "idempotency_key";
|
|
2522
2904
|
tableName: "scheduled_trigger_invocations";
|
|
2523
2905
|
dataType: "string";
|
|
@@ -2536,7 +2918,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2536
2918
|
}, {}, {
|
|
2537
2919
|
length: 256;
|
|
2538
2920
|
}>;
|
|
2539
|
-
createdAt:
|
|
2921
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2540
2922
|
name: "created_at";
|
|
2541
2923
|
tableName: "scheduled_trigger_invocations";
|
|
2542
2924
|
dataType: "string";
|
|
@@ -2553,7 +2935,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2553
2935
|
identity: undefined;
|
|
2554
2936
|
generated: undefined;
|
|
2555
2937
|
}, {}, {}>;
|
|
2556
|
-
agentId:
|
|
2938
|
+
agentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2557
2939
|
name: "agent_id";
|
|
2558
2940
|
tableName: "scheduled_trigger_invocations";
|
|
2559
2941
|
dataType: "string";
|
|
@@ -2572,7 +2954,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2572
2954
|
}, {}, {
|
|
2573
2955
|
length: 256;
|
|
2574
2956
|
}>;
|
|
2575
|
-
projectId:
|
|
2957
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
2576
2958
|
name: "project_id";
|
|
2577
2959
|
tableName: "scheduled_trigger_invocations";
|
|
2578
2960
|
dataType: "string";
|
|
@@ -2591,7 +2973,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2591
2973
|
}, {}, {
|
|
2592
2974
|
length: 256;
|
|
2593
2975
|
}>;
|
|
2594
|
-
tenantId:
|
|
2976
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
2595
2977
|
name: "tenant_id";
|
|
2596
2978
|
tableName: "scheduled_trigger_invocations";
|
|
2597
2979
|
dataType: "string";
|
|
@@ -2610,7 +2992,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2610
2992
|
}, {}, {
|
|
2611
2993
|
length: 256;
|
|
2612
2994
|
}>;
|
|
2613
|
-
id:
|
|
2995
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
2614
2996
|
name: "id";
|
|
2615
2997
|
tableName: "scheduled_trigger_invocations";
|
|
2616
2998
|
dataType: "string";
|
|
@@ -2632,11 +3014,90 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1825.PgTableWithCo
|
|
|
2632
3014
|
};
|
|
2633
3015
|
dialect: "pg";
|
|
2634
3016
|
}>;
|
|
2635
|
-
declare const
|
|
3017
|
+
declare const schedulerState: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
3018
|
+
name: "scheduler_state";
|
|
3019
|
+
schema: undefined;
|
|
3020
|
+
columns: {
|
|
3021
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3022
|
+
name: "created_at";
|
|
3023
|
+
tableName: "scheduler_state";
|
|
3024
|
+
dataType: "string";
|
|
3025
|
+
columnType: "PgTimestampString";
|
|
3026
|
+
data: string;
|
|
3027
|
+
driverParam: string;
|
|
3028
|
+
notNull: true;
|
|
3029
|
+
hasDefault: true;
|
|
3030
|
+
isPrimaryKey: false;
|
|
3031
|
+
isAutoincrement: false;
|
|
3032
|
+
hasRuntimeDefault: false;
|
|
3033
|
+
enumValues: undefined;
|
|
3034
|
+
baseColumn: never;
|
|
3035
|
+
identity: undefined;
|
|
3036
|
+
generated: undefined;
|
|
3037
|
+
}, {}, {}>;
|
|
3038
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3039
|
+
name: "updated_at";
|
|
3040
|
+
tableName: "scheduler_state";
|
|
3041
|
+
dataType: "string";
|
|
3042
|
+
columnType: "PgTimestampString";
|
|
3043
|
+
data: string;
|
|
3044
|
+
driverParam: string;
|
|
3045
|
+
notNull: true;
|
|
3046
|
+
hasDefault: true;
|
|
3047
|
+
isPrimaryKey: false;
|
|
3048
|
+
isAutoincrement: false;
|
|
3049
|
+
hasRuntimeDefault: false;
|
|
3050
|
+
enumValues: undefined;
|
|
3051
|
+
baseColumn: never;
|
|
3052
|
+
identity: undefined;
|
|
3053
|
+
generated: undefined;
|
|
3054
|
+
}, {}, {}>;
|
|
3055
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
3056
|
+
name: "id";
|
|
3057
|
+
tableName: "scheduler_state";
|
|
3058
|
+
dataType: "string";
|
|
3059
|
+
columnType: "PgVarchar";
|
|
3060
|
+
data: string;
|
|
3061
|
+
driverParam: string;
|
|
3062
|
+
notNull: true;
|
|
3063
|
+
hasDefault: false;
|
|
3064
|
+
isPrimaryKey: true;
|
|
3065
|
+
isAutoincrement: false;
|
|
3066
|
+
hasRuntimeDefault: false;
|
|
3067
|
+
enumValues: [string, ...string[]];
|
|
3068
|
+
baseColumn: never;
|
|
3069
|
+
identity: undefined;
|
|
3070
|
+
generated: undefined;
|
|
3071
|
+
}, {}, {
|
|
3072
|
+
length: 256;
|
|
3073
|
+
}>;
|
|
3074
|
+
currentRunId: drizzle_orm_pg_core557.PgColumn<{
|
|
3075
|
+
name: "current_run_id";
|
|
3076
|
+
tableName: "scheduler_state";
|
|
3077
|
+
dataType: "string";
|
|
3078
|
+
columnType: "PgVarchar";
|
|
3079
|
+
data: string;
|
|
3080
|
+
driverParam: string;
|
|
3081
|
+
notNull: false;
|
|
3082
|
+
hasDefault: false;
|
|
3083
|
+
isPrimaryKey: false;
|
|
3084
|
+
isAutoincrement: false;
|
|
3085
|
+
hasRuntimeDefault: false;
|
|
3086
|
+
enumValues: [string, ...string[]];
|
|
3087
|
+
baseColumn: never;
|
|
3088
|
+
identity: undefined;
|
|
3089
|
+
generated: undefined;
|
|
3090
|
+
}, {}, {
|
|
3091
|
+
length: 256;
|
|
3092
|
+
}>;
|
|
3093
|
+
};
|
|
3094
|
+
dialect: "pg";
|
|
3095
|
+
}>;
|
|
3096
|
+
declare const messages: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
2636
3097
|
name: "messages";
|
|
2637
3098
|
schema: undefined;
|
|
2638
3099
|
columns: {
|
|
2639
|
-
createdAt:
|
|
3100
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2640
3101
|
name: "created_at";
|
|
2641
3102
|
tableName: "messages";
|
|
2642
3103
|
dataType: "string";
|
|
@@ -2653,7 +3114,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2653
3114
|
identity: undefined;
|
|
2654
3115
|
generated: undefined;
|
|
2655
3116
|
}, {}, {}>;
|
|
2656
|
-
updatedAt:
|
|
3117
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
2657
3118
|
name: "updated_at";
|
|
2658
3119
|
tableName: "messages";
|
|
2659
3120
|
dataType: "string";
|
|
@@ -2670,7 +3131,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2670
3131
|
identity: undefined;
|
|
2671
3132
|
generated: undefined;
|
|
2672
3133
|
}, {}, {}>;
|
|
2673
|
-
conversationId:
|
|
3134
|
+
conversationId: drizzle_orm_pg_core557.PgColumn<{
|
|
2674
3135
|
name: "conversation_id";
|
|
2675
3136
|
tableName: "messages";
|
|
2676
3137
|
dataType: "string";
|
|
@@ -2689,7 +3150,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2689
3150
|
}, {}, {
|
|
2690
3151
|
length: 256;
|
|
2691
3152
|
}>;
|
|
2692
|
-
role:
|
|
3153
|
+
role: drizzle_orm_pg_core557.PgColumn<{
|
|
2693
3154
|
name: "role";
|
|
2694
3155
|
tableName: "messages";
|
|
2695
3156
|
dataType: "string";
|
|
@@ -2708,7 +3169,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2708
3169
|
}, {}, {
|
|
2709
3170
|
length: 256;
|
|
2710
3171
|
}>;
|
|
2711
|
-
fromSubAgentId:
|
|
3172
|
+
fromSubAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2712
3173
|
name: "from_sub_agent_id";
|
|
2713
3174
|
tableName: "messages";
|
|
2714
3175
|
dataType: "string";
|
|
@@ -2727,7 +3188,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2727
3188
|
}, {}, {
|
|
2728
3189
|
length: 256;
|
|
2729
3190
|
}>;
|
|
2730
|
-
toSubAgentId:
|
|
3191
|
+
toSubAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2731
3192
|
name: "to_sub_agent_id";
|
|
2732
3193
|
tableName: "messages";
|
|
2733
3194
|
dataType: "string";
|
|
@@ -2746,7 +3207,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2746
3207
|
}, {}, {
|
|
2747
3208
|
length: 256;
|
|
2748
3209
|
}>;
|
|
2749
|
-
fromExternalAgentId:
|
|
3210
|
+
fromExternalAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2750
3211
|
name: "from_external_sub_agent_id";
|
|
2751
3212
|
tableName: "messages";
|
|
2752
3213
|
dataType: "string";
|
|
@@ -2765,7 +3226,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2765
3226
|
}, {}, {
|
|
2766
3227
|
length: 256;
|
|
2767
3228
|
}>;
|
|
2768
|
-
toExternalAgentId:
|
|
3229
|
+
toExternalAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2769
3230
|
name: "to_external_sub_agent_id";
|
|
2770
3231
|
tableName: "messages";
|
|
2771
3232
|
dataType: "string";
|
|
@@ -2784,7 +3245,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2784
3245
|
}, {}, {
|
|
2785
3246
|
length: 256;
|
|
2786
3247
|
}>;
|
|
2787
|
-
fromTeamAgentId:
|
|
3248
|
+
fromTeamAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2788
3249
|
name: "from_team_agent_id";
|
|
2789
3250
|
tableName: "messages";
|
|
2790
3251
|
dataType: "string";
|
|
@@ -2803,7 +3264,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2803
3264
|
}, {}, {
|
|
2804
3265
|
length: 256;
|
|
2805
3266
|
}>;
|
|
2806
|
-
toTeamAgentId:
|
|
3267
|
+
toTeamAgentId: drizzle_orm_pg_core557.PgColumn<{
|
|
2807
3268
|
name: "to_team_agent_id";
|
|
2808
3269
|
tableName: "messages";
|
|
2809
3270
|
dataType: "string";
|
|
@@ -2822,7 +3283,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2822
3283
|
}, {}, {
|
|
2823
3284
|
length: 256;
|
|
2824
3285
|
}>;
|
|
2825
|
-
content:
|
|
3286
|
+
content: drizzle_orm_pg_core557.PgColumn<{
|
|
2826
3287
|
name: "content";
|
|
2827
3288
|
tableName: "messages";
|
|
2828
3289
|
dataType: "json";
|
|
@@ -2841,7 +3302,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2841
3302
|
}, {}, {
|
|
2842
3303
|
$type: MessageContent;
|
|
2843
3304
|
}>;
|
|
2844
|
-
visibility:
|
|
3305
|
+
visibility: drizzle_orm_pg_core557.PgColumn<{
|
|
2845
3306
|
name: "visibility";
|
|
2846
3307
|
tableName: "messages";
|
|
2847
3308
|
dataType: "string";
|
|
@@ -2860,7 +3321,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2860
3321
|
}, {}, {
|
|
2861
3322
|
length: 256;
|
|
2862
3323
|
}>;
|
|
2863
|
-
messageType:
|
|
3324
|
+
messageType: drizzle_orm_pg_core557.PgColumn<{
|
|
2864
3325
|
name: "message_type";
|
|
2865
3326
|
tableName: "messages";
|
|
2866
3327
|
dataType: "string";
|
|
@@ -2879,7 +3340,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2879
3340
|
}, {}, {
|
|
2880
3341
|
length: 256;
|
|
2881
3342
|
}>;
|
|
2882
|
-
taskId:
|
|
3343
|
+
taskId: drizzle_orm_pg_core557.PgColumn<{
|
|
2883
3344
|
name: "task_id";
|
|
2884
3345
|
tableName: "messages";
|
|
2885
3346
|
dataType: "string";
|
|
@@ -2898,7 +3359,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2898
3359
|
}, {}, {
|
|
2899
3360
|
length: 256;
|
|
2900
3361
|
}>;
|
|
2901
|
-
parentMessageId:
|
|
3362
|
+
parentMessageId: drizzle_orm_pg_core557.PgColumn<{
|
|
2902
3363
|
name: "parent_message_id";
|
|
2903
3364
|
tableName: "messages";
|
|
2904
3365
|
dataType: "string";
|
|
@@ -2917,7 +3378,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2917
3378
|
}, {}, {
|
|
2918
3379
|
length: 256;
|
|
2919
3380
|
}>;
|
|
2920
|
-
a2aTaskId:
|
|
3381
|
+
a2aTaskId: drizzle_orm_pg_core557.PgColumn<{
|
|
2921
3382
|
name: "a2a_task_id";
|
|
2922
3383
|
tableName: "messages";
|
|
2923
3384
|
dataType: "string";
|
|
@@ -2936,7 +3397,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2936
3397
|
}, {}, {
|
|
2937
3398
|
length: 256;
|
|
2938
3399
|
}>;
|
|
2939
|
-
a2aSessionId:
|
|
3400
|
+
a2aSessionId: drizzle_orm_pg_core557.PgColumn<{
|
|
2940
3401
|
name: "a2a_session_id";
|
|
2941
3402
|
tableName: "messages";
|
|
2942
3403
|
dataType: "string";
|
|
@@ -2955,7 +3416,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2955
3416
|
}, {}, {
|
|
2956
3417
|
length: 256;
|
|
2957
3418
|
}>;
|
|
2958
|
-
metadata:
|
|
3419
|
+
metadata: drizzle_orm_pg_core557.PgColumn<{
|
|
2959
3420
|
name: "metadata";
|
|
2960
3421
|
tableName: "messages";
|
|
2961
3422
|
dataType: "json";
|
|
@@ -2974,7 +3435,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2974
3435
|
}, {}, {
|
|
2975
3436
|
$type: MessageMetadata;
|
|
2976
3437
|
}>;
|
|
2977
|
-
projectId:
|
|
3438
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
2978
3439
|
name: "project_id";
|
|
2979
3440
|
tableName: "messages";
|
|
2980
3441
|
dataType: "string";
|
|
@@ -2993,7 +3454,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
2993
3454
|
}, {}, {
|
|
2994
3455
|
length: 256;
|
|
2995
3456
|
}>;
|
|
2996
|
-
tenantId:
|
|
3457
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
2997
3458
|
name: "tenant_id";
|
|
2998
3459
|
tableName: "messages";
|
|
2999
3460
|
dataType: "string";
|
|
@@ -3012,7 +3473,7 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3012
3473
|
}, {}, {
|
|
3013
3474
|
length: 256;
|
|
3014
3475
|
}>;
|
|
3015
|
-
id:
|
|
3476
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
3016
3477
|
name: "id";
|
|
3017
3478
|
tableName: "messages";
|
|
3018
3479
|
dataType: "string";
|
|
@@ -3034,11 +3495,11 @@ declare const messages: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3034
3495
|
};
|
|
3035
3496
|
dialect: "pg";
|
|
3036
3497
|
}>;
|
|
3037
|
-
declare const taskRelations:
|
|
3498
|
+
declare const taskRelations: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
3038
3499
|
name: "task_relations";
|
|
3039
3500
|
schema: undefined;
|
|
3040
3501
|
columns: {
|
|
3041
|
-
createdAt:
|
|
3502
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3042
3503
|
name: "created_at";
|
|
3043
3504
|
tableName: "task_relations";
|
|
3044
3505
|
dataType: "string";
|
|
@@ -3055,7 +3516,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3055
3516
|
identity: undefined;
|
|
3056
3517
|
generated: undefined;
|
|
3057
3518
|
}, {}, {}>;
|
|
3058
|
-
updatedAt:
|
|
3519
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3059
3520
|
name: "updated_at";
|
|
3060
3521
|
tableName: "task_relations";
|
|
3061
3522
|
dataType: "string";
|
|
@@ -3072,7 +3533,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3072
3533
|
identity: undefined;
|
|
3073
3534
|
generated: undefined;
|
|
3074
3535
|
}, {}, {}>;
|
|
3075
|
-
parentTaskId:
|
|
3536
|
+
parentTaskId: drizzle_orm_pg_core557.PgColumn<{
|
|
3076
3537
|
name: "parent_task_id";
|
|
3077
3538
|
tableName: "task_relations";
|
|
3078
3539
|
dataType: "string";
|
|
@@ -3091,7 +3552,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3091
3552
|
}, {}, {
|
|
3092
3553
|
length: 256;
|
|
3093
3554
|
}>;
|
|
3094
|
-
childTaskId:
|
|
3555
|
+
childTaskId: drizzle_orm_pg_core557.PgColumn<{
|
|
3095
3556
|
name: "child_task_id";
|
|
3096
3557
|
tableName: "task_relations";
|
|
3097
3558
|
dataType: "string";
|
|
@@ -3110,7 +3571,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3110
3571
|
}, {}, {
|
|
3111
3572
|
length: 256;
|
|
3112
3573
|
}>;
|
|
3113
|
-
relationType:
|
|
3574
|
+
relationType: drizzle_orm_pg_core557.PgColumn<{
|
|
3114
3575
|
name: "relation_type";
|
|
3115
3576
|
tableName: "task_relations";
|
|
3116
3577
|
dataType: "string";
|
|
@@ -3129,7 +3590,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3129
3590
|
}, {}, {
|
|
3130
3591
|
length: 256;
|
|
3131
3592
|
}>;
|
|
3132
|
-
projectId:
|
|
3593
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
3133
3594
|
name: "project_id";
|
|
3134
3595
|
tableName: "task_relations";
|
|
3135
3596
|
dataType: "string";
|
|
@@ -3148,7 +3609,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3148
3609
|
}, {}, {
|
|
3149
3610
|
length: 256;
|
|
3150
3611
|
}>;
|
|
3151
|
-
tenantId:
|
|
3612
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
3152
3613
|
name: "tenant_id";
|
|
3153
3614
|
tableName: "task_relations";
|
|
3154
3615
|
dataType: "string";
|
|
@@ -3167,7 +3628,7 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3167
3628
|
}, {}, {
|
|
3168
3629
|
length: 256;
|
|
3169
3630
|
}>;
|
|
3170
|
-
id:
|
|
3631
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
3171
3632
|
name: "id";
|
|
3172
3633
|
tableName: "task_relations";
|
|
3173
3634
|
dataType: "string";
|
|
@@ -3189,11 +3650,11 @@ declare const taskRelations: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3189
3650
|
};
|
|
3190
3651
|
dialect: "pg";
|
|
3191
3652
|
}>;
|
|
3192
|
-
declare const ledgerArtifacts:
|
|
3653
|
+
declare const ledgerArtifacts: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
3193
3654
|
name: "ledger_artifacts";
|
|
3194
3655
|
schema: undefined;
|
|
3195
3656
|
columns: {
|
|
3196
|
-
createdAt:
|
|
3657
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3197
3658
|
name: "created_at";
|
|
3198
3659
|
tableName: "ledger_artifacts";
|
|
3199
3660
|
dataType: "string";
|
|
@@ -3210,7 +3671,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3210
3671
|
identity: undefined;
|
|
3211
3672
|
generated: undefined;
|
|
3212
3673
|
}, {}, {}>;
|
|
3213
|
-
updatedAt:
|
|
3674
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3214
3675
|
name: "updated_at";
|
|
3215
3676
|
tableName: "ledger_artifacts";
|
|
3216
3677
|
dataType: "string";
|
|
@@ -3227,7 +3688,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3227
3688
|
identity: undefined;
|
|
3228
3689
|
generated: undefined;
|
|
3229
3690
|
}, {}, {}>;
|
|
3230
|
-
taskId:
|
|
3691
|
+
taskId: drizzle_orm_pg_core557.PgColumn<{
|
|
3231
3692
|
name: "task_id";
|
|
3232
3693
|
tableName: "ledger_artifacts";
|
|
3233
3694
|
dataType: "string";
|
|
@@ -3246,7 +3707,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3246
3707
|
}, {}, {
|
|
3247
3708
|
length: 256;
|
|
3248
3709
|
}>;
|
|
3249
|
-
toolCallId:
|
|
3710
|
+
toolCallId: drizzle_orm_pg_core557.PgColumn<{
|
|
3250
3711
|
name: "tool_call_id";
|
|
3251
3712
|
tableName: "ledger_artifacts";
|
|
3252
3713
|
dataType: "string";
|
|
@@ -3265,7 +3726,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3265
3726
|
}, {}, {
|
|
3266
3727
|
length: 256;
|
|
3267
3728
|
}>;
|
|
3268
|
-
contextId:
|
|
3729
|
+
contextId: drizzle_orm_pg_core557.PgColumn<{
|
|
3269
3730
|
name: "context_id";
|
|
3270
3731
|
tableName: "ledger_artifacts";
|
|
3271
3732
|
dataType: "string";
|
|
@@ -3284,7 +3745,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3284
3745
|
}, {}, {
|
|
3285
3746
|
length: 256;
|
|
3286
3747
|
}>;
|
|
3287
|
-
type:
|
|
3748
|
+
type: drizzle_orm_pg_core557.PgColumn<{
|
|
3288
3749
|
name: "type";
|
|
3289
3750
|
tableName: "ledger_artifacts";
|
|
3290
3751
|
dataType: "string";
|
|
@@ -3303,7 +3764,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3303
3764
|
}, {}, {
|
|
3304
3765
|
length: 256;
|
|
3305
3766
|
}>;
|
|
3306
|
-
name:
|
|
3767
|
+
name: drizzle_orm_pg_core557.PgColumn<{
|
|
3307
3768
|
name: "name";
|
|
3308
3769
|
tableName: "ledger_artifacts";
|
|
3309
3770
|
dataType: "string";
|
|
@@ -3322,7 +3783,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3322
3783
|
}, {}, {
|
|
3323
3784
|
length: 256;
|
|
3324
3785
|
}>;
|
|
3325
|
-
description:
|
|
3786
|
+
description: drizzle_orm_pg_core557.PgColumn<{
|
|
3326
3787
|
name: "description";
|
|
3327
3788
|
tableName: "ledger_artifacts";
|
|
3328
3789
|
dataType: "string";
|
|
@@ -3339,7 +3800,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3339
3800
|
identity: undefined;
|
|
3340
3801
|
generated: undefined;
|
|
3341
3802
|
}, {}, {}>;
|
|
3342
|
-
parts:
|
|
3803
|
+
parts: drizzle_orm_pg_core557.PgColumn<{
|
|
3343
3804
|
name: "parts";
|
|
3344
3805
|
tableName: "ledger_artifacts";
|
|
3345
3806
|
dataType: "json";
|
|
@@ -3358,7 +3819,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3358
3819
|
}, {}, {
|
|
3359
3820
|
$type: Part[] | null;
|
|
3360
3821
|
}>;
|
|
3361
|
-
metadata:
|
|
3822
|
+
metadata: drizzle_orm_pg_core557.PgColumn<{
|
|
3362
3823
|
name: "metadata";
|
|
3363
3824
|
tableName: "ledger_artifacts";
|
|
3364
3825
|
dataType: "json";
|
|
@@ -3377,7 +3838,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3377
3838
|
}, {}, {
|
|
3378
3839
|
$type: Record<string, unknown> | null;
|
|
3379
3840
|
}>;
|
|
3380
|
-
summary:
|
|
3841
|
+
summary: drizzle_orm_pg_core557.PgColumn<{
|
|
3381
3842
|
name: "summary";
|
|
3382
3843
|
tableName: "ledger_artifacts";
|
|
3383
3844
|
dataType: "string";
|
|
@@ -3394,7 +3855,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3394
3855
|
identity: undefined;
|
|
3395
3856
|
generated: undefined;
|
|
3396
3857
|
}, {}, {}>;
|
|
3397
|
-
mime:
|
|
3858
|
+
mime: drizzle_orm_pg_core557.PgColumn<{
|
|
3398
3859
|
name: "mime";
|
|
3399
3860
|
tableName: "ledger_artifacts";
|
|
3400
3861
|
dataType: "json";
|
|
@@ -3413,7 +3874,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3413
3874
|
}, {}, {
|
|
3414
3875
|
$type: string[] | null;
|
|
3415
3876
|
}>;
|
|
3416
|
-
visibility:
|
|
3877
|
+
visibility: drizzle_orm_pg_core557.PgColumn<{
|
|
3417
3878
|
name: "visibility";
|
|
3418
3879
|
tableName: "ledger_artifacts";
|
|
3419
3880
|
dataType: "string";
|
|
@@ -3432,7 +3893,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3432
3893
|
}, {}, {
|
|
3433
3894
|
length: 256;
|
|
3434
3895
|
}>;
|
|
3435
|
-
allowedAgents:
|
|
3896
|
+
allowedAgents: drizzle_orm_pg_core557.PgColumn<{
|
|
3436
3897
|
name: "allowed_agents";
|
|
3437
3898
|
tableName: "ledger_artifacts";
|
|
3438
3899
|
dataType: "json";
|
|
@@ -3451,7 +3912,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3451
3912
|
}, {}, {
|
|
3452
3913
|
$type: string[] | null;
|
|
3453
3914
|
}>;
|
|
3454
|
-
derivedFrom:
|
|
3915
|
+
derivedFrom: drizzle_orm_pg_core557.PgColumn<{
|
|
3455
3916
|
name: "derived_from";
|
|
3456
3917
|
tableName: "ledger_artifacts";
|
|
3457
3918
|
dataType: "string";
|
|
@@ -3470,7 +3931,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3470
3931
|
}, {}, {
|
|
3471
3932
|
length: 256;
|
|
3472
3933
|
}>;
|
|
3473
|
-
projectId:
|
|
3934
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
3474
3935
|
name: "project_id";
|
|
3475
3936
|
tableName: "ledger_artifacts";
|
|
3476
3937
|
dataType: "string";
|
|
@@ -3489,7 +3950,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3489
3950
|
}, {}, {
|
|
3490
3951
|
length: 256;
|
|
3491
3952
|
}>;
|
|
3492
|
-
tenantId:
|
|
3953
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
3493
3954
|
name: "tenant_id";
|
|
3494
3955
|
tableName: "ledger_artifacts";
|
|
3495
3956
|
dataType: "string";
|
|
@@ -3508,7 +3969,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3508
3969
|
}, {}, {
|
|
3509
3970
|
length: 256;
|
|
3510
3971
|
}>;
|
|
3511
|
-
id:
|
|
3972
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
3512
3973
|
name: "id";
|
|
3513
3974
|
tableName: "ledger_artifacts";
|
|
3514
3975
|
dataType: "string";
|
|
@@ -3530,11 +3991,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3530
3991
|
};
|
|
3531
3992
|
dialect: "pg";
|
|
3532
3993
|
}>;
|
|
3533
|
-
declare const contextCache:
|
|
3994
|
+
declare const contextCache: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
3534
3995
|
name: "context_cache";
|
|
3535
3996
|
schema: undefined;
|
|
3536
3997
|
columns: {
|
|
3537
|
-
createdAt:
|
|
3998
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3538
3999
|
name: "created_at";
|
|
3539
4000
|
tableName: "context_cache";
|
|
3540
4001
|
dataType: "string";
|
|
@@ -3551,7 +4012,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3551
4012
|
identity: undefined;
|
|
3552
4013
|
generated: undefined;
|
|
3553
4014
|
}, {}, {}>;
|
|
3554
|
-
updatedAt:
|
|
4015
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3555
4016
|
name: "updated_at";
|
|
3556
4017
|
tableName: "context_cache";
|
|
3557
4018
|
dataType: "string";
|
|
@@ -3568,7 +4029,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3568
4029
|
identity: undefined;
|
|
3569
4030
|
generated: undefined;
|
|
3570
4031
|
}, {}, {}>;
|
|
3571
|
-
conversationId:
|
|
4032
|
+
conversationId: drizzle_orm_pg_core557.PgColumn<{
|
|
3572
4033
|
name: "conversation_id";
|
|
3573
4034
|
tableName: "context_cache";
|
|
3574
4035
|
dataType: "string";
|
|
@@ -3587,7 +4048,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3587
4048
|
}, {}, {
|
|
3588
4049
|
length: 256;
|
|
3589
4050
|
}>;
|
|
3590
|
-
contextConfigId:
|
|
4051
|
+
contextConfigId: drizzle_orm_pg_core557.PgColumn<{
|
|
3591
4052
|
name: "context_config_id";
|
|
3592
4053
|
tableName: "context_cache";
|
|
3593
4054
|
dataType: "string";
|
|
@@ -3606,7 +4067,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3606
4067
|
}, {}, {
|
|
3607
4068
|
length: 256;
|
|
3608
4069
|
}>;
|
|
3609
|
-
contextVariableKey:
|
|
4070
|
+
contextVariableKey: drizzle_orm_pg_core557.PgColumn<{
|
|
3610
4071
|
name: "context_variable_key";
|
|
3611
4072
|
tableName: "context_cache";
|
|
3612
4073
|
dataType: "string";
|
|
@@ -3625,7 +4086,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3625
4086
|
}, {}, {
|
|
3626
4087
|
length: 256;
|
|
3627
4088
|
}>;
|
|
3628
|
-
ref:
|
|
4089
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
3629
4090
|
name: "ref";
|
|
3630
4091
|
tableName: "context_cache";
|
|
3631
4092
|
dataType: "json";
|
|
@@ -3652,7 +4113,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3652
4113
|
hash: string;
|
|
3653
4114
|
};
|
|
3654
4115
|
}>;
|
|
3655
|
-
value:
|
|
4116
|
+
value: drizzle_orm_pg_core557.PgColumn<{
|
|
3656
4117
|
name: "value";
|
|
3657
4118
|
tableName: "context_cache";
|
|
3658
4119
|
dataType: "json";
|
|
@@ -3671,7 +4132,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3671
4132
|
}, {}, {
|
|
3672
4133
|
$type: unknown;
|
|
3673
4134
|
}>;
|
|
3674
|
-
requestHash:
|
|
4135
|
+
requestHash: drizzle_orm_pg_core557.PgColumn<{
|
|
3675
4136
|
name: "request_hash";
|
|
3676
4137
|
tableName: "context_cache";
|
|
3677
4138
|
dataType: "string";
|
|
@@ -3690,7 +4151,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3690
4151
|
}, {}, {
|
|
3691
4152
|
length: 256;
|
|
3692
4153
|
}>;
|
|
3693
|
-
fetchedAt:
|
|
4154
|
+
fetchedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3694
4155
|
name: "fetched_at";
|
|
3695
4156
|
tableName: "context_cache";
|
|
3696
4157
|
dataType: "string";
|
|
@@ -3707,7 +4168,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3707
4168
|
identity: undefined;
|
|
3708
4169
|
generated: undefined;
|
|
3709
4170
|
}, {}, {}>;
|
|
3710
|
-
fetchSource:
|
|
4171
|
+
fetchSource: drizzle_orm_pg_core557.PgColumn<{
|
|
3711
4172
|
name: "fetch_source";
|
|
3712
4173
|
tableName: "context_cache";
|
|
3713
4174
|
dataType: "string";
|
|
@@ -3726,7 +4187,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3726
4187
|
}, {}, {
|
|
3727
4188
|
length: 256;
|
|
3728
4189
|
}>;
|
|
3729
|
-
projectId:
|
|
4190
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
3730
4191
|
name: "project_id";
|
|
3731
4192
|
tableName: "context_cache";
|
|
3732
4193
|
dataType: "string";
|
|
@@ -3745,7 +4206,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3745
4206
|
}, {}, {
|
|
3746
4207
|
length: 256;
|
|
3747
4208
|
}>;
|
|
3748
|
-
tenantId:
|
|
4209
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
3749
4210
|
name: "tenant_id";
|
|
3750
4211
|
tableName: "context_cache";
|
|
3751
4212
|
dataType: "string";
|
|
@@ -3764,7 +4225,7 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3764
4225
|
}, {}, {
|
|
3765
4226
|
length: 256;
|
|
3766
4227
|
}>;
|
|
3767
|
-
id:
|
|
4228
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
3768
4229
|
name: "id";
|
|
3769
4230
|
tableName: "context_cache";
|
|
3770
4231
|
dataType: "string";
|
|
@@ -3799,11 +4260,11 @@ declare const contextCache: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3799
4260
|
* datasetRunConfigId (optional: if created from a config),
|
|
3800
4261
|
* evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
|
|
3801
4262
|
*/
|
|
3802
|
-
declare const datasetRun:
|
|
4263
|
+
declare const datasetRun: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
3803
4264
|
name: "dataset_run";
|
|
3804
4265
|
schema: undefined;
|
|
3805
4266
|
columns: {
|
|
3806
|
-
createdAt:
|
|
4267
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3807
4268
|
name: "created_at";
|
|
3808
4269
|
tableName: "dataset_run";
|
|
3809
4270
|
dataType: "string";
|
|
@@ -3820,7 +4281,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3820
4281
|
identity: undefined;
|
|
3821
4282
|
generated: undefined;
|
|
3822
4283
|
}, {}, {}>;
|
|
3823
|
-
updatedAt:
|
|
4284
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3824
4285
|
name: "updated_at";
|
|
3825
4286
|
tableName: "dataset_run";
|
|
3826
4287
|
dataType: "string";
|
|
@@ -3837,7 +4298,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3837
4298
|
identity: undefined;
|
|
3838
4299
|
generated: undefined;
|
|
3839
4300
|
}, {}, {}>;
|
|
3840
|
-
datasetId:
|
|
4301
|
+
datasetId: drizzle_orm_pg_core557.PgColumn<{
|
|
3841
4302
|
name: "dataset_id";
|
|
3842
4303
|
tableName: "dataset_run";
|
|
3843
4304
|
dataType: "string";
|
|
@@ -3854,7 +4315,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3854
4315
|
identity: undefined;
|
|
3855
4316
|
generated: undefined;
|
|
3856
4317
|
}, {}, {}>;
|
|
3857
|
-
datasetRunConfigId:
|
|
4318
|
+
datasetRunConfigId: drizzle_orm_pg_core557.PgColumn<{
|
|
3858
4319
|
name: "dataset_run_config_id";
|
|
3859
4320
|
tableName: "dataset_run";
|
|
3860
4321
|
dataType: "string";
|
|
@@ -3871,7 +4332,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3871
4332
|
identity: undefined;
|
|
3872
4333
|
generated: undefined;
|
|
3873
4334
|
}, {}, {}>;
|
|
3874
|
-
evaluationJobConfigId:
|
|
4335
|
+
evaluationJobConfigId: drizzle_orm_pg_core557.PgColumn<{
|
|
3875
4336
|
name: "evaluation_job_config_id";
|
|
3876
4337
|
tableName: "dataset_run";
|
|
3877
4338
|
dataType: "string";
|
|
@@ -3888,7 +4349,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3888
4349
|
identity: undefined;
|
|
3889
4350
|
generated: undefined;
|
|
3890
4351
|
}, {}, {}>;
|
|
3891
|
-
ref:
|
|
4352
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
3892
4353
|
name: "ref";
|
|
3893
4354
|
tableName: "dataset_run";
|
|
3894
4355
|
dataType: "json";
|
|
@@ -3915,7 +4376,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3915
4376
|
hash: string;
|
|
3916
4377
|
};
|
|
3917
4378
|
}>;
|
|
3918
|
-
projectId:
|
|
4379
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
3919
4380
|
name: "project_id";
|
|
3920
4381
|
tableName: "dataset_run";
|
|
3921
4382
|
dataType: "string";
|
|
@@ -3934,7 +4395,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3934
4395
|
}, {}, {
|
|
3935
4396
|
length: 256;
|
|
3936
4397
|
}>;
|
|
3937
|
-
tenantId:
|
|
4398
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
3938
4399
|
name: "tenant_id";
|
|
3939
4400
|
tableName: "dataset_run";
|
|
3940
4401
|
dataType: "string";
|
|
@@ -3953,7 +4414,7 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3953
4414
|
}, {}, {
|
|
3954
4415
|
length: 256;
|
|
3955
4416
|
}>;
|
|
3956
|
-
id:
|
|
4417
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
3957
4418
|
name: "id";
|
|
3958
4419
|
tableName: "dataset_run";
|
|
3959
4420
|
dataType: "string";
|
|
@@ -3986,11 +4447,11 @@ declare const datasetRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
3986
4447
|
* unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
|
|
3987
4448
|
* and timestamps
|
|
3988
4449
|
*/
|
|
3989
|
-
declare const datasetRunConversationRelations:
|
|
4450
|
+
declare const datasetRunConversationRelations: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
3990
4451
|
name: "dataset_run_conversation_relations";
|
|
3991
4452
|
schema: undefined;
|
|
3992
4453
|
columns: {
|
|
3993
|
-
createdAt:
|
|
4454
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
3994
4455
|
name: "created_at";
|
|
3995
4456
|
tableName: "dataset_run_conversation_relations";
|
|
3996
4457
|
dataType: "string";
|
|
@@ -4007,7 +4468,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4007
4468
|
identity: undefined;
|
|
4008
4469
|
generated: undefined;
|
|
4009
4470
|
}, {}, {}>;
|
|
4010
|
-
updatedAt:
|
|
4471
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4011
4472
|
name: "updated_at";
|
|
4012
4473
|
tableName: "dataset_run_conversation_relations";
|
|
4013
4474
|
dataType: "string";
|
|
@@ -4024,7 +4485,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4024
4485
|
identity: undefined;
|
|
4025
4486
|
generated: undefined;
|
|
4026
4487
|
}, {}, {}>;
|
|
4027
|
-
datasetRunId:
|
|
4488
|
+
datasetRunId: drizzle_orm_pg_core557.PgColumn<{
|
|
4028
4489
|
name: "dataset_run_id";
|
|
4029
4490
|
tableName: "dataset_run_conversation_relations";
|
|
4030
4491
|
dataType: "string";
|
|
@@ -4041,7 +4502,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4041
4502
|
identity: undefined;
|
|
4042
4503
|
generated: undefined;
|
|
4043
4504
|
}, {}, {}>;
|
|
4044
|
-
conversationId:
|
|
4505
|
+
conversationId: drizzle_orm_pg_core557.PgColumn<{
|
|
4045
4506
|
name: "conversation_id";
|
|
4046
4507
|
tableName: "dataset_run_conversation_relations";
|
|
4047
4508
|
dataType: "string";
|
|
@@ -4058,7 +4519,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4058
4519
|
identity: undefined;
|
|
4059
4520
|
generated: undefined;
|
|
4060
4521
|
}, {}, {}>;
|
|
4061
|
-
datasetItemId:
|
|
4522
|
+
datasetItemId: drizzle_orm_pg_core557.PgColumn<{
|
|
4062
4523
|
name: "dataset_item_id";
|
|
4063
4524
|
tableName: "dataset_run_conversation_relations";
|
|
4064
4525
|
dataType: "string";
|
|
@@ -4075,7 +4536,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4075
4536
|
identity: undefined;
|
|
4076
4537
|
generated: undefined;
|
|
4077
4538
|
}, {}, {}>;
|
|
4078
|
-
projectId:
|
|
4539
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
4079
4540
|
name: "project_id";
|
|
4080
4541
|
tableName: "dataset_run_conversation_relations";
|
|
4081
4542
|
dataType: "string";
|
|
@@ -4094,7 +4555,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4094
4555
|
}, {}, {
|
|
4095
4556
|
length: 256;
|
|
4096
4557
|
}>;
|
|
4097
|
-
tenantId:
|
|
4558
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
4098
4559
|
name: "tenant_id";
|
|
4099
4560
|
tableName: "dataset_run_conversation_relations";
|
|
4100
4561
|
dataType: "string";
|
|
@@ -4113,7 +4574,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4113
4574
|
}, {}, {
|
|
4114
4575
|
length: 256;
|
|
4115
4576
|
}>;
|
|
4116
|
-
id:
|
|
4577
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
4117
4578
|
name: "id";
|
|
4118
4579
|
tableName: "dataset_run_conversation_relations";
|
|
4119
4580
|
dataType: "string";
|
|
@@ -4146,11 +4607,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1825.PgTableWi
|
|
|
4146
4607
|
* evaluationRunConfigId (optional: if created from a run config),
|
|
4147
4608
|
* and timestamps
|
|
4148
4609
|
*/
|
|
4149
|
-
declare const evaluationRun:
|
|
4610
|
+
declare const evaluationRun: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
4150
4611
|
name: "evaluation_run";
|
|
4151
4612
|
schema: undefined;
|
|
4152
4613
|
columns: {
|
|
4153
|
-
createdAt:
|
|
4614
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4154
4615
|
name: "created_at";
|
|
4155
4616
|
tableName: "evaluation_run";
|
|
4156
4617
|
dataType: "string";
|
|
@@ -4167,7 +4628,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4167
4628
|
identity: undefined;
|
|
4168
4629
|
generated: undefined;
|
|
4169
4630
|
}, {}, {}>;
|
|
4170
|
-
updatedAt:
|
|
4631
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4171
4632
|
name: "updated_at";
|
|
4172
4633
|
tableName: "evaluation_run";
|
|
4173
4634
|
dataType: "string";
|
|
@@ -4184,7 +4645,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4184
4645
|
identity: undefined;
|
|
4185
4646
|
generated: undefined;
|
|
4186
4647
|
}, {}, {}>;
|
|
4187
|
-
evaluationJobConfigId:
|
|
4648
|
+
evaluationJobConfigId: drizzle_orm_pg_core557.PgColumn<{
|
|
4188
4649
|
name: "evaluation_job_config_id";
|
|
4189
4650
|
tableName: "evaluation_run";
|
|
4190
4651
|
dataType: "string";
|
|
@@ -4201,7 +4662,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4201
4662
|
identity: undefined;
|
|
4202
4663
|
generated: undefined;
|
|
4203
4664
|
}, {}, {}>;
|
|
4204
|
-
evaluationRunConfigId:
|
|
4665
|
+
evaluationRunConfigId: drizzle_orm_pg_core557.PgColumn<{
|
|
4205
4666
|
name: "evaluation_run_config_id";
|
|
4206
4667
|
tableName: "evaluation_run";
|
|
4207
4668
|
dataType: "string";
|
|
@@ -4218,7 +4679,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4218
4679
|
identity: undefined;
|
|
4219
4680
|
generated: undefined;
|
|
4220
4681
|
}, {}, {}>;
|
|
4221
|
-
ref:
|
|
4682
|
+
ref: drizzle_orm_pg_core557.PgColumn<{
|
|
4222
4683
|
name: "ref";
|
|
4223
4684
|
tableName: "evaluation_run";
|
|
4224
4685
|
dataType: "json";
|
|
@@ -4245,7 +4706,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4245
4706
|
hash: string;
|
|
4246
4707
|
};
|
|
4247
4708
|
}>;
|
|
4248
|
-
projectId:
|
|
4709
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
4249
4710
|
name: "project_id";
|
|
4250
4711
|
tableName: "evaluation_run";
|
|
4251
4712
|
dataType: "string";
|
|
@@ -4264,7 +4725,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4264
4725
|
}, {}, {
|
|
4265
4726
|
length: 256;
|
|
4266
4727
|
}>;
|
|
4267
|
-
tenantId:
|
|
4728
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
4268
4729
|
name: "tenant_id";
|
|
4269
4730
|
tableName: "evaluation_run";
|
|
4270
4731
|
dataType: "string";
|
|
@@ -4283,7 +4744,7 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4283
4744
|
}, {}, {
|
|
4284
4745
|
length: 256;
|
|
4285
4746
|
}>;
|
|
4286
|
-
id:
|
|
4747
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
4287
4748
|
name: "id";
|
|
4288
4749
|
tableName: "evaluation_run";
|
|
4289
4750
|
dataType: "string";
|
|
@@ -4314,11 +4775,11 @@ declare const evaluationRun: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4314
4775
|
* evaluationRunId (optional, links to evaluationRun),
|
|
4315
4776
|
* output (evaluation result as MessageContent), and timestamps
|
|
4316
4777
|
*/
|
|
4317
|
-
declare const evaluationResult:
|
|
4778
|
+
declare const evaluationResult: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
4318
4779
|
name: "evaluation_result";
|
|
4319
4780
|
schema: undefined;
|
|
4320
4781
|
columns: {
|
|
4321
|
-
createdAt:
|
|
4782
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4322
4783
|
name: "created_at";
|
|
4323
4784
|
tableName: "evaluation_result";
|
|
4324
4785
|
dataType: "string";
|
|
@@ -4335,7 +4796,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4335
4796
|
identity: undefined;
|
|
4336
4797
|
generated: undefined;
|
|
4337
4798
|
}, {}, {}>;
|
|
4338
|
-
updatedAt:
|
|
4799
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4339
4800
|
name: "updated_at";
|
|
4340
4801
|
tableName: "evaluation_result";
|
|
4341
4802
|
dataType: "string";
|
|
@@ -4352,7 +4813,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4352
4813
|
identity: undefined;
|
|
4353
4814
|
generated: undefined;
|
|
4354
4815
|
}, {}, {}>;
|
|
4355
|
-
conversationId:
|
|
4816
|
+
conversationId: drizzle_orm_pg_core557.PgColumn<{
|
|
4356
4817
|
name: "conversation_id";
|
|
4357
4818
|
tableName: "evaluation_result";
|
|
4358
4819
|
dataType: "string";
|
|
@@ -4369,7 +4830,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4369
4830
|
identity: undefined;
|
|
4370
4831
|
generated: undefined;
|
|
4371
4832
|
}, {}, {}>;
|
|
4372
|
-
evaluatorId:
|
|
4833
|
+
evaluatorId: drizzle_orm_pg_core557.PgColumn<{
|
|
4373
4834
|
name: "evaluator_id";
|
|
4374
4835
|
tableName: "evaluation_result";
|
|
4375
4836
|
dataType: "string";
|
|
@@ -4386,7 +4847,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4386
4847
|
identity: undefined;
|
|
4387
4848
|
generated: undefined;
|
|
4388
4849
|
}, {}, {}>;
|
|
4389
|
-
evaluationRunId:
|
|
4850
|
+
evaluationRunId: drizzle_orm_pg_core557.PgColumn<{
|
|
4390
4851
|
name: "evaluation_run_id";
|
|
4391
4852
|
tableName: "evaluation_result";
|
|
4392
4853
|
dataType: "string";
|
|
@@ -4403,7 +4864,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4403
4864
|
identity: undefined;
|
|
4404
4865
|
generated: undefined;
|
|
4405
4866
|
}, {}, {}>;
|
|
4406
|
-
output:
|
|
4867
|
+
output: drizzle_orm_pg_core557.PgColumn<{
|
|
4407
4868
|
name: "output";
|
|
4408
4869
|
tableName: "evaluation_result";
|
|
4409
4870
|
dataType: "json";
|
|
@@ -4422,7 +4883,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4422
4883
|
}, {}, {
|
|
4423
4884
|
$type: MessageContent;
|
|
4424
4885
|
}>;
|
|
4425
|
-
projectId:
|
|
4886
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
4426
4887
|
name: "project_id";
|
|
4427
4888
|
tableName: "evaluation_result";
|
|
4428
4889
|
dataType: "string";
|
|
@@ -4441,7 +4902,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4441
4902
|
}, {}, {
|
|
4442
4903
|
length: 256;
|
|
4443
4904
|
}>;
|
|
4444
|
-
tenantId:
|
|
4905
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
4445
4906
|
name: "tenant_id";
|
|
4446
4907
|
tableName: "evaluation_result";
|
|
4447
4908
|
dataType: "string";
|
|
@@ -4460,7 +4921,7 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4460
4921
|
}, {}, {
|
|
4461
4922
|
length: 256;
|
|
4462
4923
|
}>;
|
|
4463
|
-
id:
|
|
4924
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
4464
4925
|
name: "id";
|
|
4465
4926
|
tableName: "evaluation_result";
|
|
4466
4927
|
dataType: "string";
|
|
@@ -4482,11 +4943,11 @@ declare const evaluationResult: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4482
4943
|
};
|
|
4483
4944
|
dialect: "pg";
|
|
4484
4945
|
}>;
|
|
4485
|
-
declare const userProfile:
|
|
4946
|
+
declare const userProfile: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
4486
4947
|
name: "user_profile";
|
|
4487
4948
|
schema: undefined;
|
|
4488
4949
|
columns: {
|
|
4489
|
-
createdAt:
|
|
4950
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4490
4951
|
name: "created_at";
|
|
4491
4952
|
tableName: "user_profile";
|
|
4492
4953
|
dataType: "string";
|
|
@@ -4503,7 +4964,7 @@ declare const userProfile: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4503
4964
|
identity: undefined;
|
|
4504
4965
|
generated: undefined;
|
|
4505
4966
|
}, {}, {}>;
|
|
4506
|
-
updatedAt:
|
|
4967
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4507
4968
|
name: "updated_at";
|
|
4508
4969
|
tableName: "user_profile";
|
|
4509
4970
|
dataType: "string";
|
|
@@ -4520,7 +4981,7 @@ declare const userProfile: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4520
4981
|
identity: undefined;
|
|
4521
4982
|
generated: undefined;
|
|
4522
4983
|
}, {}, {}>;
|
|
4523
|
-
id:
|
|
4984
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
4524
4985
|
name: "id";
|
|
4525
4986
|
tableName: "user_profile";
|
|
4526
4987
|
dataType: "string";
|
|
@@ -4537,7 +4998,7 @@ declare const userProfile: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4537
4998
|
identity: undefined;
|
|
4538
4999
|
generated: undefined;
|
|
4539
5000
|
}, {}, {}>;
|
|
4540
|
-
userId:
|
|
5001
|
+
userId: drizzle_orm_pg_core557.PgColumn<{
|
|
4541
5002
|
name: "user_id";
|
|
4542
5003
|
tableName: "user_profile";
|
|
4543
5004
|
dataType: "string";
|
|
@@ -4554,7 +5015,7 @@ declare const userProfile: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4554
5015
|
identity: undefined;
|
|
4555
5016
|
generated: undefined;
|
|
4556
5017
|
}, {}, {}>;
|
|
4557
|
-
timezone:
|
|
5018
|
+
timezone: drizzle_orm_pg_core557.PgColumn<{
|
|
4558
5019
|
name: "timezone";
|
|
4559
5020
|
tableName: "user_profile";
|
|
4560
5021
|
dataType: "string";
|
|
@@ -4571,7 +5032,7 @@ declare const userProfile: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4571
5032
|
identity: undefined;
|
|
4572
5033
|
generated: undefined;
|
|
4573
5034
|
}, {}, {}>;
|
|
4574
|
-
attributes:
|
|
5035
|
+
attributes: drizzle_orm_pg_core557.PgColumn<{
|
|
4575
5036
|
name: "attributes";
|
|
4576
5037
|
tableName: "user_profile";
|
|
4577
5038
|
dataType: "json";
|
|
@@ -4593,42 +5054,42 @@ declare const userProfile: drizzle_orm_pg_core1825.PgTableWithColumns<{
|
|
|
4593
5054
|
};
|
|
4594
5055
|
dialect: "pg";
|
|
4595
5056
|
}>;
|
|
4596
|
-
declare const userProfileRelations:
|
|
4597
|
-
user:
|
|
5057
|
+
declare const userProfileRelations: drizzle_orm108.Relations<"user_profile", {
|
|
5058
|
+
user: drizzle_orm108.One<"user", true>;
|
|
4598
5059
|
}>;
|
|
4599
5060
|
type GenerationType = (typeof USAGE_GENERATION_TYPES)[number];
|
|
4600
|
-
declare const conversationsRelations:
|
|
4601
|
-
messages:
|
|
5061
|
+
declare const conversationsRelations: drizzle_orm108.Relations<"conversations", {
|
|
5062
|
+
messages: drizzle_orm108.Many<"messages">;
|
|
4602
5063
|
}>;
|
|
4603
|
-
declare const messagesRelations:
|
|
4604
|
-
conversation:
|
|
4605
|
-
task:
|
|
4606
|
-
parentMessage:
|
|
4607
|
-
childMessages:
|
|
5064
|
+
declare const messagesRelations: drizzle_orm108.Relations<"messages", {
|
|
5065
|
+
conversation: drizzle_orm108.One<"conversations", true>;
|
|
5066
|
+
task: drizzle_orm108.One<"tasks", false>;
|
|
5067
|
+
parentMessage: drizzle_orm108.One<"messages", false>;
|
|
5068
|
+
childMessages: drizzle_orm108.Many<"messages">;
|
|
4608
5069
|
}>;
|
|
4609
|
-
declare const tasksRelations:
|
|
4610
|
-
messages:
|
|
4611
|
-
ledgerArtifacts:
|
|
4612
|
-
parentRelations:
|
|
4613
|
-
childRelations:
|
|
5070
|
+
declare const tasksRelations: drizzle_orm108.Relations<"tasks", {
|
|
5071
|
+
messages: drizzle_orm108.Many<"messages">;
|
|
5072
|
+
ledgerArtifacts: drizzle_orm108.Many<"ledger_artifacts">;
|
|
5073
|
+
parentRelations: drizzle_orm108.Many<"task_relations">;
|
|
5074
|
+
childRelations: drizzle_orm108.Many<"task_relations">;
|
|
4614
5075
|
}>;
|
|
4615
|
-
declare const taskRelationsRelations:
|
|
4616
|
-
parentTask:
|
|
4617
|
-
childTask:
|
|
5076
|
+
declare const taskRelationsRelations: drizzle_orm108.Relations<"task_relations", {
|
|
5077
|
+
parentTask: drizzle_orm108.One<"tasks", true>;
|
|
5078
|
+
childTask: drizzle_orm108.One<"tasks", true>;
|
|
4618
5079
|
}>;
|
|
4619
|
-
declare const ledgerArtifactsRelations:
|
|
4620
|
-
task:
|
|
5080
|
+
declare const ledgerArtifactsRelations: drizzle_orm108.Relations<"ledger_artifacts", {
|
|
5081
|
+
task: drizzle_orm108.One<"tasks", true>;
|
|
4621
5082
|
}>;
|
|
4622
5083
|
/**
|
|
4623
5084
|
* Tracks GitHub App installations linked to tenants.
|
|
4624
5085
|
* One tenant can have multiple installations (e.g., multiple orgs).
|
|
4625
5086
|
* The installation_id is the GitHub-assigned ID, unique across all GitHub.
|
|
4626
5087
|
*/
|
|
4627
|
-
declare const workAppGitHubInstallations:
|
|
5088
|
+
declare const workAppGitHubInstallations: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
4628
5089
|
name: "work_app_github_installations";
|
|
4629
5090
|
schema: undefined;
|
|
4630
5091
|
columns: {
|
|
4631
|
-
createdAt:
|
|
5092
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4632
5093
|
name: "created_at";
|
|
4633
5094
|
tableName: "work_app_github_installations";
|
|
4634
5095
|
dataType: "string";
|
|
@@ -4645,7 +5106,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4645
5106
|
identity: undefined;
|
|
4646
5107
|
generated: undefined;
|
|
4647
5108
|
}, {}, {}>;
|
|
4648
|
-
updatedAt:
|
|
5109
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4649
5110
|
name: "updated_at";
|
|
4650
5111
|
tableName: "work_app_github_installations";
|
|
4651
5112
|
dataType: "string";
|
|
@@ -4662,7 +5123,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4662
5123
|
identity: undefined;
|
|
4663
5124
|
generated: undefined;
|
|
4664
5125
|
}, {}, {}>;
|
|
4665
|
-
installationId:
|
|
5126
|
+
installationId: drizzle_orm_pg_core557.PgColumn<{
|
|
4666
5127
|
name: "installation_id";
|
|
4667
5128
|
tableName: "work_app_github_installations";
|
|
4668
5129
|
dataType: "string";
|
|
@@ -4679,7 +5140,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4679
5140
|
identity: undefined;
|
|
4680
5141
|
generated: undefined;
|
|
4681
5142
|
}, {}, {}>;
|
|
4682
|
-
accountLogin:
|
|
5143
|
+
accountLogin: drizzle_orm_pg_core557.PgColumn<{
|
|
4683
5144
|
name: "account_login";
|
|
4684
5145
|
tableName: "work_app_github_installations";
|
|
4685
5146
|
dataType: "string";
|
|
@@ -4698,7 +5159,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4698
5159
|
}, {}, {
|
|
4699
5160
|
length: 256;
|
|
4700
5161
|
}>;
|
|
4701
|
-
accountId:
|
|
5162
|
+
accountId: drizzle_orm_pg_core557.PgColumn<{
|
|
4702
5163
|
name: "account_id";
|
|
4703
5164
|
tableName: "work_app_github_installations";
|
|
4704
5165
|
dataType: "string";
|
|
@@ -4715,12 +5176,12 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4715
5176
|
identity: undefined;
|
|
4716
5177
|
generated: undefined;
|
|
4717
5178
|
}, {}, {}>;
|
|
4718
|
-
accountType:
|
|
5179
|
+
accountType: drizzle_orm_pg_core557.PgColumn<{
|
|
4719
5180
|
name: "account_type";
|
|
4720
5181
|
tableName: "work_app_github_installations";
|
|
4721
5182
|
dataType: "string";
|
|
4722
5183
|
columnType: "PgVarchar";
|
|
4723
|
-
data: "
|
|
5184
|
+
data: "Organization" | "User";
|
|
4724
5185
|
driverParam: string;
|
|
4725
5186
|
notNull: true;
|
|
4726
5187
|
hasDefault: false;
|
|
@@ -4733,9 +5194,9 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4733
5194
|
generated: undefined;
|
|
4734
5195
|
}, {}, {
|
|
4735
5196
|
length: 20;
|
|
4736
|
-
$type: "
|
|
5197
|
+
$type: "Organization" | "User";
|
|
4737
5198
|
}>;
|
|
4738
|
-
status:
|
|
5199
|
+
status: drizzle_orm_pg_core557.PgColumn<{
|
|
4739
5200
|
name: "status";
|
|
4740
5201
|
tableName: "work_app_github_installations";
|
|
4741
5202
|
dataType: "string";
|
|
@@ -4755,7 +5216,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4755
5216
|
length: 20;
|
|
4756
5217
|
$type: "pending" | "active" | "suspended" | "disconnected";
|
|
4757
5218
|
}>;
|
|
4758
|
-
tenantId:
|
|
5219
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
4759
5220
|
name: "tenant_id";
|
|
4760
5221
|
tableName: "work_app_github_installations";
|
|
4761
5222
|
dataType: "string";
|
|
@@ -4774,7 +5235,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4774
5235
|
}, {}, {
|
|
4775
5236
|
length: 256;
|
|
4776
5237
|
}>;
|
|
4777
|
-
id:
|
|
5238
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
4778
5239
|
name: "id";
|
|
4779
5240
|
tableName: "work_app_github_installations";
|
|
4780
5241
|
dataType: "string";
|
|
@@ -4801,11 +5262,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1825.PgTableWithCol
|
|
|
4801
5262
|
* These are synced from GitHub when the app is installed or updated.
|
|
4802
5263
|
* The repository_id is the GitHub-assigned ID, unique across all GitHub.
|
|
4803
5264
|
*/
|
|
4804
|
-
declare const workAppGitHubRepositories:
|
|
5265
|
+
declare const workAppGitHubRepositories: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
4805
5266
|
name: "work_app_github_repositories";
|
|
4806
5267
|
schema: undefined;
|
|
4807
5268
|
columns: {
|
|
4808
|
-
createdAt:
|
|
5269
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4809
5270
|
name: "created_at";
|
|
4810
5271
|
tableName: "work_app_github_repositories";
|
|
4811
5272
|
dataType: "string";
|
|
@@ -4822,7 +5283,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4822
5283
|
identity: undefined;
|
|
4823
5284
|
generated: undefined;
|
|
4824
5285
|
}, {}, {}>;
|
|
4825
|
-
updatedAt:
|
|
5286
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4826
5287
|
name: "updated_at";
|
|
4827
5288
|
tableName: "work_app_github_repositories";
|
|
4828
5289
|
dataType: "string";
|
|
@@ -4839,7 +5300,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4839
5300
|
identity: undefined;
|
|
4840
5301
|
generated: undefined;
|
|
4841
5302
|
}, {}, {}>;
|
|
4842
|
-
id:
|
|
5303
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
4843
5304
|
name: "id";
|
|
4844
5305
|
tableName: "work_app_github_repositories";
|
|
4845
5306
|
dataType: "string";
|
|
@@ -4858,7 +5319,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4858
5319
|
}, {}, {
|
|
4859
5320
|
length: 256;
|
|
4860
5321
|
}>;
|
|
4861
|
-
installationDbId:
|
|
5322
|
+
installationDbId: drizzle_orm_pg_core557.PgColumn<{
|
|
4862
5323
|
name: "installation_db_id";
|
|
4863
5324
|
tableName: "work_app_github_repositories";
|
|
4864
5325
|
dataType: "string";
|
|
@@ -4877,7 +5338,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4877
5338
|
}, {}, {
|
|
4878
5339
|
length: 256;
|
|
4879
5340
|
}>;
|
|
4880
|
-
repositoryId:
|
|
5341
|
+
repositoryId: drizzle_orm_pg_core557.PgColumn<{
|
|
4881
5342
|
name: "repository_id";
|
|
4882
5343
|
tableName: "work_app_github_repositories";
|
|
4883
5344
|
dataType: "string";
|
|
@@ -4894,7 +5355,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4894
5355
|
identity: undefined;
|
|
4895
5356
|
generated: undefined;
|
|
4896
5357
|
}, {}, {}>;
|
|
4897
|
-
repositoryName:
|
|
5358
|
+
repositoryName: drizzle_orm_pg_core557.PgColumn<{
|
|
4898
5359
|
name: "repository_name";
|
|
4899
5360
|
tableName: "work_app_github_repositories";
|
|
4900
5361
|
dataType: "string";
|
|
@@ -4913,7 +5374,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4913
5374
|
}, {}, {
|
|
4914
5375
|
length: 256;
|
|
4915
5376
|
}>;
|
|
4916
|
-
repositoryFullName:
|
|
5377
|
+
repositoryFullName: drizzle_orm_pg_core557.PgColumn<{
|
|
4917
5378
|
name: "repository_full_name";
|
|
4918
5379
|
tableName: "work_app_github_repositories";
|
|
4919
5380
|
dataType: "string";
|
|
@@ -4932,7 +5393,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4932
5393
|
}, {}, {
|
|
4933
5394
|
length: 512;
|
|
4934
5395
|
}>;
|
|
4935
|
-
private:
|
|
5396
|
+
private: drizzle_orm_pg_core557.PgColumn<{
|
|
4936
5397
|
name: "private";
|
|
4937
5398
|
tableName: "work_app_github_repositories";
|
|
4938
5399
|
dataType: "boolean";
|
|
@@ -4960,11 +5421,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1825.PgTableWithColu
|
|
|
4960
5421
|
* (cross-schema, no FK constraint for project). tenant_id is included because
|
|
4961
5422
|
* project IDs are only unique within a tenant.
|
|
4962
5423
|
*/
|
|
4963
|
-
declare const workAppGitHubProjectRepositoryAccess:
|
|
5424
|
+
declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
4964
5425
|
name: "work_app_github_project_repository_access";
|
|
4965
5426
|
schema: undefined;
|
|
4966
5427
|
columns: {
|
|
4967
|
-
createdAt:
|
|
5428
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4968
5429
|
name: "created_at";
|
|
4969
5430
|
tableName: "work_app_github_project_repository_access";
|
|
4970
5431
|
dataType: "string";
|
|
@@ -4981,7 +5442,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
4981
5442
|
identity: undefined;
|
|
4982
5443
|
generated: undefined;
|
|
4983
5444
|
}, {}, {}>;
|
|
4984
|
-
updatedAt:
|
|
5445
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
4985
5446
|
name: "updated_at";
|
|
4986
5447
|
tableName: "work_app_github_project_repository_access";
|
|
4987
5448
|
dataType: "string";
|
|
@@ -4998,7 +5459,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
4998
5459
|
identity: undefined;
|
|
4999
5460
|
generated: undefined;
|
|
5000
5461
|
}, {}, {}>;
|
|
5001
|
-
repositoryDbId:
|
|
5462
|
+
repositoryDbId: drizzle_orm_pg_core557.PgColumn<{
|
|
5002
5463
|
name: "repository_db_id";
|
|
5003
5464
|
tableName: "work_app_github_project_repository_access";
|
|
5004
5465
|
dataType: "string";
|
|
@@ -5017,7 +5478,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5017
5478
|
}, {}, {
|
|
5018
5479
|
length: 256;
|
|
5019
5480
|
}>;
|
|
5020
|
-
projectId:
|
|
5481
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
5021
5482
|
name: "project_id";
|
|
5022
5483
|
tableName: "work_app_github_project_repository_access";
|
|
5023
5484
|
dataType: "string";
|
|
@@ -5036,7 +5497,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5036
5497
|
}, {}, {
|
|
5037
5498
|
length: 256;
|
|
5038
5499
|
}>;
|
|
5039
|
-
tenantId:
|
|
5500
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
5040
5501
|
name: "tenant_id";
|
|
5041
5502
|
tableName: "work_app_github_project_repository_access";
|
|
5042
5503
|
dataType: "string";
|
|
@@ -5055,7 +5516,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5055
5516
|
}, {}, {
|
|
5056
5517
|
length: 256;
|
|
5057
5518
|
}>;
|
|
5058
|
-
id:
|
|
5519
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
5059
5520
|
name: "id";
|
|
5060
5521
|
tableName: "work_app_github_project_repository_access";
|
|
5061
5522
|
dataType: "string";
|
|
@@ -5084,11 +5545,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5084
5545
|
* (cross-schema, no FK constraint). These are denormalized here so all GitHub access
|
|
5085
5546
|
* info can be queried from PostgreSQL alone.
|
|
5086
5547
|
*/
|
|
5087
|
-
declare const workAppGitHubMcpToolRepositoryAccess:
|
|
5548
|
+
declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
5088
5549
|
name: "work_app_github_mcp_tool_repository_access";
|
|
5089
5550
|
schema: undefined;
|
|
5090
5551
|
columns: {
|
|
5091
|
-
createdAt:
|
|
5552
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5092
5553
|
name: "created_at";
|
|
5093
5554
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5094
5555
|
dataType: "string";
|
|
@@ -5105,7 +5566,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5105
5566
|
identity: undefined;
|
|
5106
5567
|
generated: undefined;
|
|
5107
5568
|
}, {}, {}>;
|
|
5108
|
-
updatedAt:
|
|
5569
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5109
5570
|
name: "updated_at";
|
|
5110
5571
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5111
5572
|
dataType: "string";
|
|
@@ -5122,7 +5583,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5122
5583
|
identity: undefined;
|
|
5123
5584
|
generated: undefined;
|
|
5124
5585
|
}, {}, {}>;
|
|
5125
|
-
toolId:
|
|
5586
|
+
toolId: drizzle_orm_pg_core557.PgColumn<{
|
|
5126
5587
|
name: "tool_id";
|
|
5127
5588
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5128
5589
|
dataType: "string";
|
|
@@ -5141,7 +5602,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5141
5602
|
}, {}, {
|
|
5142
5603
|
length: 256;
|
|
5143
5604
|
}>;
|
|
5144
|
-
repositoryDbId:
|
|
5605
|
+
repositoryDbId: drizzle_orm_pg_core557.PgColumn<{
|
|
5145
5606
|
name: "repository_db_id";
|
|
5146
5607
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5147
5608
|
dataType: "string";
|
|
@@ -5160,7 +5621,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5160
5621
|
}, {}, {
|
|
5161
5622
|
length: 256;
|
|
5162
5623
|
}>;
|
|
5163
|
-
projectId:
|
|
5624
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
5164
5625
|
name: "project_id";
|
|
5165
5626
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5166
5627
|
dataType: "string";
|
|
@@ -5179,7 +5640,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5179
5640
|
}, {}, {
|
|
5180
5641
|
length: 256;
|
|
5181
5642
|
}>;
|
|
5182
|
-
tenantId:
|
|
5643
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
5183
5644
|
name: "tenant_id";
|
|
5184
5645
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5185
5646
|
dataType: "string";
|
|
@@ -5198,7 +5659,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5198
5659
|
}, {}, {
|
|
5199
5660
|
length: 256;
|
|
5200
5661
|
}>;
|
|
5201
|
-
id:
|
|
5662
|
+
id: drizzle_orm_pg_core557.PgColumn<{
|
|
5202
5663
|
name: "id";
|
|
5203
5664
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
5204
5665
|
dataType: "string";
|
|
@@ -5226,11 +5687,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1825.PgTa
|
|
|
5226
5687
|
* - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
|
|
5227
5688
|
* If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
5228
5689
|
*/
|
|
5229
|
-
declare const workAppGitHubProjectAccessMode:
|
|
5690
|
+
declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
5230
5691
|
name: "work_app_github_project_access_mode";
|
|
5231
5692
|
schema: undefined;
|
|
5232
5693
|
columns: {
|
|
5233
|
-
createdAt:
|
|
5694
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5234
5695
|
name: "created_at";
|
|
5235
5696
|
tableName: "work_app_github_project_access_mode";
|
|
5236
5697
|
dataType: "string";
|
|
@@ -5247,7 +5708,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5247
5708
|
identity: undefined;
|
|
5248
5709
|
generated: undefined;
|
|
5249
5710
|
}, {}, {}>;
|
|
5250
|
-
updatedAt:
|
|
5711
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5251
5712
|
name: "updated_at";
|
|
5252
5713
|
tableName: "work_app_github_project_access_mode";
|
|
5253
5714
|
dataType: "string";
|
|
@@ -5264,7 +5725,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5264
5725
|
identity: undefined;
|
|
5265
5726
|
generated: undefined;
|
|
5266
5727
|
}, {}, {}>;
|
|
5267
|
-
tenantId:
|
|
5728
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
5268
5729
|
name: "tenant_id";
|
|
5269
5730
|
tableName: "work_app_github_project_access_mode";
|
|
5270
5731
|
dataType: "string";
|
|
@@ -5283,7 +5744,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5283
5744
|
}, {}, {
|
|
5284
5745
|
length: 256;
|
|
5285
5746
|
}>;
|
|
5286
|
-
projectId:
|
|
5747
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
5287
5748
|
name: "project_id";
|
|
5288
5749
|
tableName: "work_app_github_project_access_mode";
|
|
5289
5750
|
dataType: "string";
|
|
@@ -5302,7 +5763,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5302
5763
|
}, {}, {
|
|
5303
5764
|
length: 256;
|
|
5304
5765
|
}>;
|
|
5305
|
-
mode:
|
|
5766
|
+
mode: drizzle_orm_pg_core557.PgColumn<{
|
|
5306
5767
|
name: "mode";
|
|
5307
5768
|
tableName: "work_app_github_project_access_mode";
|
|
5308
5769
|
dataType: "string";
|
|
@@ -5331,11 +5792,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5331
5792
|
* - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
|
|
5332
5793
|
* If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
5333
5794
|
*/
|
|
5334
|
-
declare const workAppGitHubMcpToolAccessMode:
|
|
5795
|
+
declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
5335
5796
|
name: "work_app_github_mcp_tool_access_mode";
|
|
5336
5797
|
schema: undefined;
|
|
5337
5798
|
columns: {
|
|
5338
|
-
createdAt:
|
|
5799
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5339
5800
|
name: "created_at";
|
|
5340
5801
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5341
5802
|
dataType: "string";
|
|
@@ -5352,7 +5813,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5352
5813
|
identity: undefined;
|
|
5353
5814
|
generated: undefined;
|
|
5354
5815
|
}, {}, {}>;
|
|
5355
|
-
updatedAt:
|
|
5816
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5356
5817
|
name: "updated_at";
|
|
5357
5818
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5358
5819
|
dataType: "string";
|
|
@@ -5369,7 +5830,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5369
5830
|
identity: undefined;
|
|
5370
5831
|
generated: undefined;
|
|
5371
5832
|
}, {}, {}>;
|
|
5372
|
-
toolId:
|
|
5833
|
+
toolId: drizzle_orm_pg_core557.PgColumn<{
|
|
5373
5834
|
name: "tool_id";
|
|
5374
5835
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5375
5836
|
dataType: "string";
|
|
@@ -5388,7 +5849,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5388
5849
|
}, {}, {
|
|
5389
5850
|
length: 256;
|
|
5390
5851
|
}>;
|
|
5391
|
-
tenantId:
|
|
5852
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
5392
5853
|
name: "tenant_id";
|
|
5393
5854
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5394
5855
|
dataType: "string";
|
|
@@ -5407,7 +5868,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5407
5868
|
}, {}, {
|
|
5408
5869
|
length: 256;
|
|
5409
5870
|
}>;
|
|
5410
|
-
projectId:
|
|
5871
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
5411
5872
|
name: "project_id";
|
|
5412
5873
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5413
5874
|
dataType: "string";
|
|
@@ -5426,7 +5887,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5426
5887
|
}, {}, {
|
|
5427
5888
|
length: 256;
|
|
5428
5889
|
}>;
|
|
5429
|
-
mode:
|
|
5890
|
+
mode: drizzle_orm_pg_core557.PgColumn<{
|
|
5430
5891
|
name: "mode";
|
|
5431
5892
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5432
5893
|
dataType: "string";
|
|
@@ -5449,25 +5910,25 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1825.PgTableWit
|
|
|
5449
5910
|
};
|
|
5450
5911
|
dialect: "pg";
|
|
5451
5912
|
}>;
|
|
5452
|
-
declare const workAppGitHubInstallationsRelations:
|
|
5453
|
-
repositories:
|
|
5913
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm108.Relations<"work_app_github_installations", {
|
|
5914
|
+
repositories: drizzle_orm108.Many<"work_app_github_repositories">;
|
|
5454
5915
|
}>;
|
|
5455
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
5456
|
-
installation:
|
|
5457
|
-
projectAccess:
|
|
5458
|
-
mcpToolAccess:
|
|
5916
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm108.Relations<"work_app_github_repositories", {
|
|
5917
|
+
installation: drizzle_orm108.One<"work_app_github_installations", true>;
|
|
5918
|
+
projectAccess: drizzle_orm108.Many<"work_app_github_project_repository_access">;
|
|
5919
|
+
mcpToolAccess: drizzle_orm108.Many<"work_app_github_mcp_tool_repository_access">;
|
|
5459
5920
|
}>;
|
|
5460
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
5461
|
-
repository:
|
|
5921
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm108.Relations<"work_app_github_project_repository_access", {
|
|
5922
|
+
repository: drizzle_orm108.One<"work_app_github_repositories", true>;
|
|
5462
5923
|
}>;
|
|
5463
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
5464
|
-
repository:
|
|
5924
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm108.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
5925
|
+
repository: drizzle_orm108.One<"work_app_github_repositories", true>;
|
|
5465
5926
|
}>;
|
|
5466
|
-
declare const workAppSlackMcpToolAccessConfig:
|
|
5927
|
+
declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core557.PgTableWithColumns<{
|
|
5467
5928
|
name: "work_app_slack_mcp_tool_access_config";
|
|
5468
5929
|
schema: undefined;
|
|
5469
5930
|
columns: {
|
|
5470
|
-
createdAt:
|
|
5931
|
+
createdAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5471
5932
|
name: "created_at";
|
|
5472
5933
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5473
5934
|
dataType: "string";
|
|
@@ -5484,7 +5945,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5484
5945
|
identity: undefined;
|
|
5485
5946
|
generated: undefined;
|
|
5486
5947
|
}, {}, {}>;
|
|
5487
|
-
updatedAt:
|
|
5948
|
+
updatedAt: drizzle_orm_pg_core557.PgColumn<{
|
|
5488
5949
|
name: "updated_at";
|
|
5489
5950
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5490
5951
|
dataType: "string";
|
|
@@ -5501,7 +5962,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5501
5962
|
identity: undefined;
|
|
5502
5963
|
generated: undefined;
|
|
5503
5964
|
}, {}, {}>;
|
|
5504
|
-
toolId:
|
|
5965
|
+
toolId: drizzle_orm_pg_core557.PgColumn<{
|
|
5505
5966
|
name: "tool_id";
|
|
5506
5967
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5507
5968
|
dataType: "string";
|
|
@@ -5520,7 +5981,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5520
5981
|
}, {}, {
|
|
5521
5982
|
length: 256;
|
|
5522
5983
|
}>;
|
|
5523
|
-
tenantId:
|
|
5984
|
+
tenantId: drizzle_orm_pg_core557.PgColumn<{
|
|
5524
5985
|
name: "tenant_id";
|
|
5525
5986
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5526
5987
|
dataType: "string";
|
|
@@ -5539,7 +6000,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5539
6000
|
}, {}, {
|
|
5540
6001
|
length: 256;
|
|
5541
6002
|
}>;
|
|
5542
|
-
projectId:
|
|
6003
|
+
projectId: drizzle_orm_pg_core557.PgColumn<{
|
|
5543
6004
|
name: "project_id";
|
|
5544
6005
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5545
6006
|
dataType: "string";
|
|
@@ -5558,7 +6019,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5558
6019
|
}, {}, {
|
|
5559
6020
|
length: 256;
|
|
5560
6021
|
}>;
|
|
5561
|
-
channelAccessMode:
|
|
6022
|
+
channelAccessMode: drizzle_orm_pg_core557.PgColumn<{
|
|
5562
6023
|
name: "channel_access_mode";
|
|
5563
6024
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5564
6025
|
dataType: "string";
|
|
@@ -5578,7 +6039,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5578
6039
|
length: 20;
|
|
5579
6040
|
$type: "all" | "selected";
|
|
5580
6041
|
}>;
|
|
5581
|
-
dmEnabled:
|
|
6042
|
+
dmEnabled: drizzle_orm_pg_core557.PgColumn<{
|
|
5582
6043
|
name: "dm_enabled";
|
|
5583
6044
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5584
6045
|
dataType: "boolean";
|
|
@@ -5595,7 +6056,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5595
6056
|
identity: undefined;
|
|
5596
6057
|
generated: undefined;
|
|
5597
6058
|
}, {}, {}>;
|
|
5598
|
-
channelIds:
|
|
6059
|
+
channelIds: drizzle_orm_pg_core557.PgColumn<{
|
|
5599
6060
|
name: "channel_ids";
|
|
5600
6061
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5601
6062
|
dataType: "json";
|
|
@@ -5618,4 +6079,4 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1825.PgTableWi
|
|
|
5618
6079
|
dialect: "pg";
|
|
5619
6080
|
}>;
|
|
5620
6081
|
//#endregion
|
|
5621
|
-
export { GenerationType, USAGE_GENERATION_TYPES, account, apiKeys, apps, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, scheduledTriggerInvocations, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, userProfile, userProfileRelations, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackMcpToolAccessConfig, workAppSlackUserMappings, workAppSlackWorkspaces, workflowExecutions };
|
|
6082
|
+
export { GenerationType, USAGE_GENERATION_TYPES, account, apiKeys, apps, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, scheduledTriggerInvocations, scheduledTriggers, schedulerState, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, userProfile, userProfileRelations, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackMcpToolAccessConfig, workAppSlackUserMappings, workAppSlackWorkspaces, workflowExecutions };
|