@opengeni/db 0.21.0 → 0.22.2
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/{chunk-OTJHD33E.js → chunk-BNGEN5QZ.js} +5 -1
- package/dist/chunk-BNGEN5QZ.js.map +1 -0
- package/dist/{chunk-NK2A36KP.js → chunk-CYGFLLMN.js} +150 -1
- package/dist/chunk-CYGFLLMN.js.map +1 -0
- package/dist/index.d.ts +87 -0
- package/dist/index.js +599 -6
- package/dist/index.js.map +1 -1
- package/dist/provision-roles.js +1 -1
- package/dist/runtime-posture.d.ts +2 -2
- package/dist/schema.d.ts +820 -0
- package/dist/schema.js +5 -1
- package/dist/session-control.d.ts +1 -0
- package/drizzle/0155_connector_action_policies.sql +218 -0
- package/package.json +3 -3
- package/src/index.ts +926 -1
- package/src/runtime-posture.ts +4 -0
- package/src/schema.ts +181 -0
- package/src/session-control.ts +3 -0
- package/dist/chunk-NK2A36KP.js.map +0 -1
- package/dist/chunk-OTJHD33E.js.map +0 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export type ConnectorActionPolicyDecision = "allow" | "ask" | "block";
|
|
2
|
+
export type ConnectorActionPolicySnapshotEntry = {
|
|
3
|
+
id: string;
|
|
4
|
+
connectionId: string;
|
|
5
|
+
serverId: string;
|
|
6
|
+
toolName: string;
|
|
7
|
+
actionName: string;
|
|
8
|
+
policy: ConnectorActionPolicyDecision;
|
|
9
|
+
version: number;
|
|
10
|
+
};
|
|
1
11
|
export declare const managedAccounts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2
12
|
name: "managed_accounts";
|
|
3
13
|
schema: undefined;
|
|
@@ -3360,6 +3370,236 @@ export declare const connections: import("drizzle-orm/pg-core").PgTableWithColum
|
|
|
3360
3370
|
};
|
|
3361
3371
|
dialect: 'pg';
|
|
3362
3372
|
}>;
|
|
3373
|
+
export declare const connectorActionPolicies: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3374
|
+
name: "connector_action_policies";
|
|
3375
|
+
schema: undefined;
|
|
3376
|
+
columns: {
|
|
3377
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
3378
|
+
name: "id";
|
|
3379
|
+
tableName: "connector_action_policies";
|
|
3380
|
+
dataType: "string";
|
|
3381
|
+
columnType: "PgUUID";
|
|
3382
|
+
data: string;
|
|
3383
|
+
driverParam: string;
|
|
3384
|
+
notNull: true;
|
|
3385
|
+
hasDefault: true;
|
|
3386
|
+
isPrimaryKey: true;
|
|
3387
|
+
isAutoincrement: false;
|
|
3388
|
+
hasRuntimeDefault: false;
|
|
3389
|
+
enumValues: undefined;
|
|
3390
|
+
baseColumn: never;
|
|
3391
|
+
identity: undefined;
|
|
3392
|
+
generated: undefined;
|
|
3393
|
+
}, {}, {}>;
|
|
3394
|
+
accountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3395
|
+
name: "account_id";
|
|
3396
|
+
tableName: "connector_action_policies";
|
|
3397
|
+
dataType: "string";
|
|
3398
|
+
columnType: "PgUUID";
|
|
3399
|
+
data: string;
|
|
3400
|
+
driverParam: string;
|
|
3401
|
+
notNull: true;
|
|
3402
|
+
hasDefault: false;
|
|
3403
|
+
isPrimaryKey: false;
|
|
3404
|
+
isAutoincrement: false;
|
|
3405
|
+
hasRuntimeDefault: false;
|
|
3406
|
+
enumValues: undefined;
|
|
3407
|
+
baseColumn: never;
|
|
3408
|
+
identity: undefined;
|
|
3409
|
+
generated: undefined;
|
|
3410
|
+
}, {}, {}>;
|
|
3411
|
+
workspaceId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3412
|
+
name: "workspace_id";
|
|
3413
|
+
tableName: "connector_action_policies";
|
|
3414
|
+
dataType: "string";
|
|
3415
|
+
columnType: "PgUUID";
|
|
3416
|
+
data: string;
|
|
3417
|
+
driverParam: string;
|
|
3418
|
+
notNull: true;
|
|
3419
|
+
hasDefault: false;
|
|
3420
|
+
isPrimaryKey: false;
|
|
3421
|
+
isAutoincrement: false;
|
|
3422
|
+
hasRuntimeDefault: false;
|
|
3423
|
+
enumValues: undefined;
|
|
3424
|
+
baseColumn: never;
|
|
3425
|
+
identity: undefined;
|
|
3426
|
+
generated: undefined;
|
|
3427
|
+
}, {}, {}>;
|
|
3428
|
+
connectionId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3429
|
+
name: "connection_id";
|
|
3430
|
+
tableName: "connector_action_policies";
|
|
3431
|
+
dataType: "string";
|
|
3432
|
+
columnType: "PgText";
|
|
3433
|
+
data: string;
|
|
3434
|
+
driverParam: string;
|
|
3435
|
+
notNull: true;
|
|
3436
|
+
hasDefault: false;
|
|
3437
|
+
isPrimaryKey: false;
|
|
3438
|
+
isAutoincrement: false;
|
|
3439
|
+
hasRuntimeDefault: false;
|
|
3440
|
+
enumValues: [string, ...string[]];
|
|
3441
|
+
baseColumn: never;
|
|
3442
|
+
identity: undefined;
|
|
3443
|
+
generated: undefined;
|
|
3444
|
+
}, {}, {}>;
|
|
3445
|
+
serverId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3446
|
+
name: "server_id";
|
|
3447
|
+
tableName: "connector_action_policies";
|
|
3448
|
+
dataType: "string";
|
|
3449
|
+
columnType: "PgText";
|
|
3450
|
+
data: string;
|
|
3451
|
+
driverParam: string;
|
|
3452
|
+
notNull: true;
|
|
3453
|
+
hasDefault: false;
|
|
3454
|
+
isPrimaryKey: false;
|
|
3455
|
+
isAutoincrement: false;
|
|
3456
|
+
hasRuntimeDefault: false;
|
|
3457
|
+
enumValues: [string, ...string[]];
|
|
3458
|
+
baseColumn: never;
|
|
3459
|
+
identity: undefined;
|
|
3460
|
+
generated: undefined;
|
|
3461
|
+
}, {}, {}>;
|
|
3462
|
+
toolName: import("drizzle-orm/pg-core").PgColumn<{
|
|
3463
|
+
name: "tool_name";
|
|
3464
|
+
tableName: "connector_action_policies";
|
|
3465
|
+
dataType: "string";
|
|
3466
|
+
columnType: "PgText";
|
|
3467
|
+
data: string;
|
|
3468
|
+
driverParam: string;
|
|
3469
|
+
notNull: true;
|
|
3470
|
+
hasDefault: false;
|
|
3471
|
+
isPrimaryKey: false;
|
|
3472
|
+
isAutoincrement: false;
|
|
3473
|
+
hasRuntimeDefault: false;
|
|
3474
|
+
enumValues: [string, ...string[]];
|
|
3475
|
+
baseColumn: never;
|
|
3476
|
+
identity: undefined;
|
|
3477
|
+
generated: undefined;
|
|
3478
|
+
}, {}, {}>;
|
|
3479
|
+
actionName: import("drizzle-orm/pg-core").PgColumn<{
|
|
3480
|
+
name: "action_name";
|
|
3481
|
+
tableName: "connector_action_policies";
|
|
3482
|
+
dataType: "string";
|
|
3483
|
+
columnType: "PgText";
|
|
3484
|
+
data: string;
|
|
3485
|
+
driverParam: string;
|
|
3486
|
+
notNull: true;
|
|
3487
|
+
hasDefault: false;
|
|
3488
|
+
isPrimaryKey: false;
|
|
3489
|
+
isAutoincrement: false;
|
|
3490
|
+
hasRuntimeDefault: false;
|
|
3491
|
+
enumValues: [string, ...string[]];
|
|
3492
|
+
baseColumn: never;
|
|
3493
|
+
identity: undefined;
|
|
3494
|
+
generated: undefined;
|
|
3495
|
+
}, {}, {}>;
|
|
3496
|
+
policy: import("drizzle-orm/pg-core").PgColumn<{
|
|
3497
|
+
name: "policy";
|
|
3498
|
+
tableName: "connector_action_policies";
|
|
3499
|
+
dataType: "string";
|
|
3500
|
+
columnType: "PgText";
|
|
3501
|
+
data: ConnectorActionPolicyDecision;
|
|
3502
|
+
driverParam: string;
|
|
3503
|
+
notNull: true;
|
|
3504
|
+
hasDefault: false;
|
|
3505
|
+
isPrimaryKey: false;
|
|
3506
|
+
isAutoincrement: false;
|
|
3507
|
+
hasRuntimeDefault: false;
|
|
3508
|
+
enumValues: [string, ...string[]];
|
|
3509
|
+
baseColumn: never;
|
|
3510
|
+
identity: undefined;
|
|
3511
|
+
generated: undefined;
|
|
3512
|
+
}, {}, {
|
|
3513
|
+
$type: ConnectorActionPolicyDecision;
|
|
3514
|
+
}>;
|
|
3515
|
+
version: import("drizzle-orm/pg-core").PgColumn<{
|
|
3516
|
+
name: "version";
|
|
3517
|
+
tableName: "connector_action_policies";
|
|
3518
|
+
dataType: "number";
|
|
3519
|
+
columnType: "PgInteger";
|
|
3520
|
+
data: number;
|
|
3521
|
+
driverParam: string | number;
|
|
3522
|
+
notNull: true;
|
|
3523
|
+
hasDefault: true;
|
|
3524
|
+
isPrimaryKey: false;
|
|
3525
|
+
isAutoincrement: false;
|
|
3526
|
+
hasRuntimeDefault: false;
|
|
3527
|
+
enumValues: undefined;
|
|
3528
|
+
baseColumn: never;
|
|
3529
|
+
identity: undefined;
|
|
3530
|
+
generated: undefined;
|
|
3531
|
+
}, {}, {}>;
|
|
3532
|
+
createdBySubjectId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3533
|
+
name: "created_by_subject_id";
|
|
3534
|
+
tableName: "connector_action_policies";
|
|
3535
|
+
dataType: "string";
|
|
3536
|
+
columnType: "PgText";
|
|
3537
|
+
data: string;
|
|
3538
|
+
driverParam: string;
|
|
3539
|
+
notNull: true;
|
|
3540
|
+
hasDefault: false;
|
|
3541
|
+
isPrimaryKey: false;
|
|
3542
|
+
isAutoincrement: false;
|
|
3543
|
+
hasRuntimeDefault: false;
|
|
3544
|
+
enumValues: [string, ...string[]];
|
|
3545
|
+
baseColumn: never;
|
|
3546
|
+
identity: undefined;
|
|
3547
|
+
generated: undefined;
|
|
3548
|
+
}, {}, {}>;
|
|
3549
|
+
updatedBySubjectId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3550
|
+
name: "updated_by_subject_id";
|
|
3551
|
+
tableName: "connector_action_policies";
|
|
3552
|
+
dataType: "string";
|
|
3553
|
+
columnType: "PgText";
|
|
3554
|
+
data: string;
|
|
3555
|
+
driverParam: string;
|
|
3556
|
+
notNull: true;
|
|
3557
|
+
hasDefault: false;
|
|
3558
|
+
isPrimaryKey: false;
|
|
3559
|
+
isAutoincrement: false;
|
|
3560
|
+
hasRuntimeDefault: false;
|
|
3561
|
+
enumValues: [string, ...string[]];
|
|
3562
|
+
baseColumn: never;
|
|
3563
|
+
identity: undefined;
|
|
3564
|
+
generated: undefined;
|
|
3565
|
+
}, {}, {}>;
|
|
3566
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
3567
|
+
name: "created_at";
|
|
3568
|
+
tableName: "connector_action_policies";
|
|
3569
|
+
dataType: "date";
|
|
3570
|
+
columnType: "PgTimestamp";
|
|
3571
|
+
data: Date;
|
|
3572
|
+
driverParam: string;
|
|
3573
|
+
notNull: true;
|
|
3574
|
+
hasDefault: true;
|
|
3575
|
+
isPrimaryKey: false;
|
|
3576
|
+
isAutoincrement: false;
|
|
3577
|
+
hasRuntimeDefault: false;
|
|
3578
|
+
enumValues: undefined;
|
|
3579
|
+
baseColumn: never;
|
|
3580
|
+
identity: undefined;
|
|
3581
|
+
generated: undefined;
|
|
3582
|
+
}, {}, {}>;
|
|
3583
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
3584
|
+
name: "updated_at";
|
|
3585
|
+
tableName: "connector_action_policies";
|
|
3586
|
+
dataType: "date";
|
|
3587
|
+
columnType: "PgTimestamp";
|
|
3588
|
+
data: Date;
|
|
3589
|
+
driverParam: string;
|
|
3590
|
+
notNull: true;
|
|
3591
|
+
hasDefault: true;
|
|
3592
|
+
isPrimaryKey: false;
|
|
3593
|
+
isAutoincrement: false;
|
|
3594
|
+
hasRuntimeDefault: false;
|
|
3595
|
+
enumValues: undefined;
|
|
3596
|
+
baseColumn: never;
|
|
3597
|
+
identity: undefined;
|
|
3598
|
+
generated: undefined;
|
|
3599
|
+
}, {}, {}>;
|
|
3600
|
+
};
|
|
3601
|
+
dialect: 'pg';
|
|
3602
|
+
}>;
|
|
3363
3603
|
export declare const slackBotUserLinks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3364
3604
|
name: "slack_bot_user_links";
|
|
3365
3605
|
schema: undefined;
|
|
@@ -10746,6 +10986,25 @@ export declare const sessionTurnAttempts: import("drizzle-orm/pg-core").PgTableW
|
|
|
10746
10986
|
}, {}, {
|
|
10747
10987
|
$type: Record<string, boolean | string[]>;
|
|
10748
10988
|
}>;
|
|
10989
|
+
connectorActionPolicies: import("drizzle-orm/pg-core").PgColumn<{
|
|
10990
|
+
name: "connector_action_policies";
|
|
10991
|
+
tableName: "session_turn_attempts";
|
|
10992
|
+
dataType: "json";
|
|
10993
|
+
columnType: "PgJsonb";
|
|
10994
|
+
data: ConnectorActionPolicySnapshotEntry[];
|
|
10995
|
+
driverParam: unknown;
|
|
10996
|
+
notNull: true;
|
|
10997
|
+
hasDefault: true;
|
|
10998
|
+
isPrimaryKey: false;
|
|
10999
|
+
isAutoincrement: false;
|
|
11000
|
+
hasRuntimeDefault: false;
|
|
11001
|
+
enumValues: undefined;
|
|
11002
|
+
baseColumn: never;
|
|
11003
|
+
identity: undefined;
|
|
11004
|
+
generated: undefined;
|
|
11005
|
+
}, {}, {
|
|
11006
|
+
$type: ConnectorActionPolicySnapshotEntry[];
|
|
11007
|
+
}>;
|
|
10749
11008
|
startedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
10750
11009
|
name: "started_at";
|
|
10751
11010
|
tableName: "session_turn_attempts";
|
|
@@ -10817,6 +11076,567 @@ export declare const sessionTurnAttempts: import("drizzle-orm/pg-core").PgTableW
|
|
|
10817
11076
|
};
|
|
10818
11077
|
dialect: 'pg';
|
|
10819
11078
|
}>;
|
|
11079
|
+
export declare const connectorActionRequests: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
11080
|
+
name: "connector_action_requests";
|
|
11081
|
+
schema: undefined;
|
|
11082
|
+
columns: {
|
|
11083
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
11084
|
+
name: "id";
|
|
11085
|
+
tableName: "connector_action_requests";
|
|
11086
|
+
dataType: "string";
|
|
11087
|
+
columnType: "PgUUID";
|
|
11088
|
+
data: string;
|
|
11089
|
+
driverParam: string;
|
|
11090
|
+
notNull: true;
|
|
11091
|
+
hasDefault: true;
|
|
11092
|
+
isPrimaryKey: true;
|
|
11093
|
+
isAutoincrement: false;
|
|
11094
|
+
hasRuntimeDefault: false;
|
|
11095
|
+
enumValues: undefined;
|
|
11096
|
+
baseColumn: never;
|
|
11097
|
+
identity: undefined;
|
|
11098
|
+
generated: undefined;
|
|
11099
|
+
}, {}, {}>;
|
|
11100
|
+
accountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11101
|
+
name: "account_id";
|
|
11102
|
+
tableName: "connector_action_requests";
|
|
11103
|
+
dataType: "string";
|
|
11104
|
+
columnType: "PgUUID";
|
|
11105
|
+
data: string;
|
|
11106
|
+
driverParam: string;
|
|
11107
|
+
notNull: true;
|
|
11108
|
+
hasDefault: false;
|
|
11109
|
+
isPrimaryKey: false;
|
|
11110
|
+
isAutoincrement: false;
|
|
11111
|
+
hasRuntimeDefault: false;
|
|
11112
|
+
enumValues: undefined;
|
|
11113
|
+
baseColumn: never;
|
|
11114
|
+
identity: undefined;
|
|
11115
|
+
generated: undefined;
|
|
11116
|
+
}, {}, {}>;
|
|
11117
|
+
workspaceId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11118
|
+
name: "workspace_id";
|
|
11119
|
+
tableName: "connector_action_requests";
|
|
11120
|
+
dataType: "string";
|
|
11121
|
+
columnType: "PgUUID";
|
|
11122
|
+
data: string;
|
|
11123
|
+
driverParam: string;
|
|
11124
|
+
notNull: true;
|
|
11125
|
+
hasDefault: false;
|
|
11126
|
+
isPrimaryKey: false;
|
|
11127
|
+
isAutoincrement: false;
|
|
11128
|
+
hasRuntimeDefault: false;
|
|
11129
|
+
enumValues: undefined;
|
|
11130
|
+
baseColumn: never;
|
|
11131
|
+
identity: undefined;
|
|
11132
|
+
generated: undefined;
|
|
11133
|
+
}, {}, {}>;
|
|
11134
|
+
sessionId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11135
|
+
name: "session_id";
|
|
11136
|
+
tableName: "connector_action_requests";
|
|
11137
|
+
dataType: "string";
|
|
11138
|
+
columnType: "PgUUID";
|
|
11139
|
+
data: string;
|
|
11140
|
+
driverParam: string;
|
|
11141
|
+
notNull: true;
|
|
11142
|
+
hasDefault: false;
|
|
11143
|
+
isPrimaryKey: false;
|
|
11144
|
+
isAutoincrement: false;
|
|
11145
|
+
hasRuntimeDefault: false;
|
|
11146
|
+
enumValues: undefined;
|
|
11147
|
+
baseColumn: never;
|
|
11148
|
+
identity: undefined;
|
|
11149
|
+
generated: undefined;
|
|
11150
|
+
}, {}, {}>;
|
|
11151
|
+
turnId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11152
|
+
name: "turn_id";
|
|
11153
|
+
tableName: "connector_action_requests";
|
|
11154
|
+
dataType: "string";
|
|
11155
|
+
columnType: "PgUUID";
|
|
11156
|
+
data: string;
|
|
11157
|
+
driverParam: string;
|
|
11158
|
+
notNull: true;
|
|
11159
|
+
hasDefault: false;
|
|
11160
|
+
isPrimaryKey: false;
|
|
11161
|
+
isAutoincrement: false;
|
|
11162
|
+
hasRuntimeDefault: false;
|
|
11163
|
+
enumValues: undefined;
|
|
11164
|
+
baseColumn: never;
|
|
11165
|
+
identity: undefined;
|
|
11166
|
+
generated: undefined;
|
|
11167
|
+
}, {}, {}>;
|
|
11168
|
+
creationAttemptId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11169
|
+
name: "creation_attempt_id";
|
|
11170
|
+
tableName: "connector_action_requests";
|
|
11171
|
+
dataType: "string";
|
|
11172
|
+
columnType: "PgUUID";
|
|
11173
|
+
data: string;
|
|
11174
|
+
driverParam: string;
|
|
11175
|
+
notNull: true;
|
|
11176
|
+
hasDefault: false;
|
|
11177
|
+
isPrimaryKey: false;
|
|
11178
|
+
isAutoincrement: false;
|
|
11179
|
+
hasRuntimeDefault: false;
|
|
11180
|
+
enumValues: undefined;
|
|
11181
|
+
baseColumn: never;
|
|
11182
|
+
identity: undefined;
|
|
11183
|
+
generated: undefined;
|
|
11184
|
+
}, {}, {}>;
|
|
11185
|
+
creationExecutionGeneration: import("drizzle-orm/pg-core").PgColumn<{
|
|
11186
|
+
name: "creation_execution_generation";
|
|
11187
|
+
tableName: "connector_action_requests";
|
|
11188
|
+
dataType: "number";
|
|
11189
|
+
columnType: "PgInteger";
|
|
11190
|
+
data: number;
|
|
11191
|
+
driverParam: string | number;
|
|
11192
|
+
notNull: true;
|
|
11193
|
+
hasDefault: false;
|
|
11194
|
+
isPrimaryKey: false;
|
|
11195
|
+
isAutoincrement: false;
|
|
11196
|
+
hasRuntimeDefault: false;
|
|
11197
|
+
enumValues: undefined;
|
|
11198
|
+
baseColumn: never;
|
|
11199
|
+
identity: undefined;
|
|
11200
|
+
generated: undefined;
|
|
11201
|
+
}, {}, {}>;
|
|
11202
|
+
executionAttemptId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11203
|
+
name: "execution_attempt_id";
|
|
11204
|
+
tableName: "connector_action_requests";
|
|
11205
|
+
dataType: "string";
|
|
11206
|
+
columnType: "PgUUID";
|
|
11207
|
+
data: string;
|
|
11208
|
+
driverParam: string;
|
|
11209
|
+
notNull: false;
|
|
11210
|
+
hasDefault: false;
|
|
11211
|
+
isPrimaryKey: false;
|
|
11212
|
+
isAutoincrement: false;
|
|
11213
|
+
hasRuntimeDefault: false;
|
|
11214
|
+
enumValues: undefined;
|
|
11215
|
+
baseColumn: never;
|
|
11216
|
+
identity: undefined;
|
|
11217
|
+
generated: undefined;
|
|
11218
|
+
}, {}, {}>;
|
|
11219
|
+
executionAttemptGeneration: import("drizzle-orm/pg-core").PgColumn<{
|
|
11220
|
+
name: "execution_attempt_generation";
|
|
11221
|
+
tableName: "connector_action_requests";
|
|
11222
|
+
dataType: "number";
|
|
11223
|
+
columnType: "PgInteger";
|
|
11224
|
+
data: number;
|
|
11225
|
+
driverParam: string | number;
|
|
11226
|
+
notNull: false;
|
|
11227
|
+
hasDefault: false;
|
|
11228
|
+
isPrimaryKey: false;
|
|
11229
|
+
isAutoincrement: false;
|
|
11230
|
+
hasRuntimeDefault: false;
|
|
11231
|
+
enumValues: undefined;
|
|
11232
|
+
baseColumn: never;
|
|
11233
|
+
identity: undefined;
|
|
11234
|
+
generated: undefined;
|
|
11235
|
+
}, {}, {}>;
|
|
11236
|
+
approvalId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11237
|
+
name: "approval_id";
|
|
11238
|
+
tableName: "connector_action_requests";
|
|
11239
|
+
dataType: "string";
|
|
11240
|
+
columnType: "PgText";
|
|
11241
|
+
data: string;
|
|
11242
|
+
driverParam: string;
|
|
11243
|
+
notNull: true;
|
|
11244
|
+
hasDefault: false;
|
|
11245
|
+
isPrimaryKey: false;
|
|
11246
|
+
isAutoincrement: false;
|
|
11247
|
+
hasRuntimeDefault: false;
|
|
11248
|
+
enumValues: [string, ...string[]];
|
|
11249
|
+
baseColumn: never;
|
|
11250
|
+
identity: undefined;
|
|
11251
|
+
generated: undefined;
|
|
11252
|
+
}, {}, {}>;
|
|
11253
|
+
initiatorKind: import("drizzle-orm/pg-core").PgColumn<{
|
|
11254
|
+
name: "initiator_kind";
|
|
11255
|
+
tableName: "connector_action_requests";
|
|
11256
|
+
dataType: "string";
|
|
11257
|
+
columnType: "PgText";
|
|
11258
|
+
data: "service" | "subject";
|
|
11259
|
+
driverParam: string;
|
|
11260
|
+
notNull: true;
|
|
11261
|
+
hasDefault: false;
|
|
11262
|
+
isPrimaryKey: false;
|
|
11263
|
+
isAutoincrement: false;
|
|
11264
|
+
hasRuntimeDefault: false;
|
|
11265
|
+
enumValues: [string, ...string[]];
|
|
11266
|
+
baseColumn: never;
|
|
11267
|
+
identity: undefined;
|
|
11268
|
+
generated: undefined;
|
|
11269
|
+
}, {}, {
|
|
11270
|
+
$type: "service" | "subject";
|
|
11271
|
+
}>;
|
|
11272
|
+
initiatorSubjectId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11273
|
+
name: "initiator_subject_id";
|
|
11274
|
+
tableName: "connector_action_requests";
|
|
11275
|
+
dataType: "string";
|
|
11276
|
+
columnType: "PgText";
|
|
11277
|
+
data: string;
|
|
11278
|
+
driverParam: string;
|
|
11279
|
+
notNull: true;
|
|
11280
|
+
hasDefault: false;
|
|
11281
|
+
isPrimaryKey: false;
|
|
11282
|
+
isAutoincrement: false;
|
|
11283
|
+
hasRuntimeDefault: false;
|
|
11284
|
+
enumValues: [string, ...string[]];
|
|
11285
|
+
baseColumn: never;
|
|
11286
|
+
identity: undefined;
|
|
11287
|
+
generated: undefined;
|
|
11288
|
+
}, {}, {}>;
|
|
11289
|
+
connectionId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11290
|
+
name: "connection_id";
|
|
11291
|
+
tableName: "connector_action_requests";
|
|
11292
|
+
dataType: "string";
|
|
11293
|
+
columnType: "PgText";
|
|
11294
|
+
data: string;
|
|
11295
|
+
driverParam: string;
|
|
11296
|
+
notNull: true;
|
|
11297
|
+
hasDefault: false;
|
|
11298
|
+
isPrimaryKey: false;
|
|
11299
|
+
isAutoincrement: false;
|
|
11300
|
+
hasRuntimeDefault: false;
|
|
11301
|
+
enumValues: [string, ...string[]];
|
|
11302
|
+
baseColumn: never;
|
|
11303
|
+
identity: undefined;
|
|
11304
|
+
generated: undefined;
|
|
11305
|
+
}, {}, {}>;
|
|
11306
|
+
connectionVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
11307
|
+
name: "connection_version";
|
|
11308
|
+
tableName: "connector_action_requests";
|
|
11309
|
+
dataType: "number";
|
|
11310
|
+
columnType: "PgInteger";
|
|
11311
|
+
data: number;
|
|
11312
|
+
driverParam: string | number;
|
|
11313
|
+
notNull: false;
|
|
11314
|
+
hasDefault: false;
|
|
11315
|
+
isPrimaryKey: false;
|
|
11316
|
+
isAutoincrement: false;
|
|
11317
|
+
hasRuntimeDefault: false;
|
|
11318
|
+
enumValues: undefined;
|
|
11319
|
+
baseColumn: never;
|
|
11320
|
+
identity: undefined;
|
|
11321
|
+
generated: undefined;
|
|
11322
|
+
}, {}, {}>;
|
|
11323
|
+
serverId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11324
|
+
name: "server_id";
|
|
11325
|
+
tableName: "connector_action_requests";
|
|
11326
|
+
dataType: "string";
|
|
11327
|
+
columnType: "PgText";
|
|
11328
|
+
data: string;
|
|
11329
|
+
driverParam: string;
|
|
11330
|
+
notNull: true;
|
|
11331
|
+
hasDefault: false;
|
|
11332
|
+
isPrimaryKey: false;
|
|
11333
|
+
isAutoincrement: false;
|
|
11334
|
+
hasRuntimeDefault: false;
|
|
11335
|
+
enumValues: [string, ...string[]];
|
|
11336
|
+
baseColumn: never;
|
|
11337
|
+
identity: undefined;
|
|
11338
|
+
generated: undefined;
|
|
11339
|
+
}, {}, {}>;
|
|
11340
|
+
toolName: import("drizzle-orm/pg-core").PgColumn<{
|
|
11341
|
+
name: "tool_name";
|
|
11342
|
+
tableName: "connector_action_requests";
|
|
11343
|
+
dataType: "string";
|
|
11344
|
+
columnType: "PgText";
|
|
11345
|
+
data: string;
|
|
11346
|
+
driverParam: string;
|
|
11347
|
+
notNull: true;
|
|
11348
|
+
hasDefault: false;
|
|
11349
|
+
isPrimaryKey: false;
|
|
11350
|
+
isAutoincrement: false;
|
|
11351
|
+
hasRuntimeDefault: false;
|
|
11352
|
+
enumValues: [string, ...string[]];
|
|
11353
|
+
baseColumn: never;
|
|
11354
|
+
identity: undefined;
|
|
11355
|
+
generated: undefined;
|
|
11356
|
+
}, {}, {}>;
|
|
11357
|
+
actionName: import("drizzle-orm/pg-core").PgColumn<{
|
|
11358
|
+
name: "action_name";
|
|
11359
|
+
tableName: "connector_action_requests";
|
|
11360
|
+
dataType: "string";
|
|
11361
|
+
columnType: "PgText";
|
|
11362
|
+
data: string;
|
|
11363
|
+
driverParam: string;
|
|
11364
|
+
notNull: true;
|
|
11365
|
+
hasDefault: false;
|
|
11366
|
+
isPrimaryKey: false;
|
|
11367
|
+
isAutoincrement: false;
|
|
11368
|
+
hasRuntimeDefault: false;
|
|
11369
|
+
enumValues: [string, ...string[]];
|
|
11370
|
+
baseColumn: never;
|
|
11371
|
+
identity: undefined;
|
|
11372
|
+
generated: undefined;
|
|
11373
|
+
}, {}, {}>;
|
|
11374
|
+
policyId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11375
|
+
name: "policy_id";
|
|
11376
|
+
tableName: "connector_action_requests";
|
|
11377
|
+
dataType: "string";
|
|
11378
|
+
columnType: "PgUUID";
|
|
11379
|
+
data: string;
|
|
11380
|
+
driverParam: string;
|
|
11381
|
+
notNull: false;
|
|
11382
|
+
hasDefault: false;
|
|
11383
|
+
isPrimaryKey: false;
|
|
11384
|
+
isAutoincrement: false;
|
|
11385
|
+
hasRuntimeDefault: false;
|
|
11386
|
+
enumValues: undefined;
|
|
11387
|
+
baseColumn: never;
|
|
11388
|
+
identity: undefined;
|
|
11389
|
+
generated: undefined;
|
|
11390
|
+
}, {}, {}>;
|
|
11391
|
+
policyVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
11392
|
+
name: "policy_version";
|
|
11393
|
+
tableName: "connector_action_requests";
|
|
11394
|
+
dataType: "number";
|
|
11395
|
+
columnType: "PgInteger";
|
|
11396
|
+
data: number;
|
|
11397
|
+
driverParam: string | number;
|
|
11398
|
+
notNull: false;
|
|
11399
|
+
hasDefault: false;
|
|
11400
|
+
isPrimaryKey: false;
|
|
11401
|
+
isAutoincrement: false;
|
|
11402
|
+
hasRuntimeDefault: false;
|
|
11403
|
+
enumValues: undefined;
|
|
11404
|
+
baseColumn: never;
|
|
11405
|
+
identity: undefined;
|
|
11406
|
+
generated: undefined;
|
|
11407
|
+
}, {}, {}>;
|
|
11408
|
+
policySource: import("drizzle-orm/pg-core").PgColumn<{
|
|
11409
|
+
name: "policy_source";
|
|
11410
|
+
tableName: "connector_action_requests";
|
|
11411
|
+
dataType: "string";
|
|
11412
|
+
columnType: "PgText";
|
|
11413
|
+
data: "ambiguous" | "explicit";
|
|
11414
|
+
driverParam: string;
|
|
11415
|
+
notNull: true;
|
|
11416
|
+
hasDefault: false;
|
|
11417
|
+
isPrimaryKey: false;
|
|
11418
|
+
isAutoincrement: false;
|
|
11419
|
+
hasRuntimeDefault: false;
|
|
11420
|
+
enumValues: [string, ...string[]];
|
|
11421
|
+
baseColumn: never;
|
|
11422
|
+
identity: undefined;
|
|
11423
|
+
generated: undefined;
|
|
11424
|
+
}, {}, {
|
|
11425
|
+
$type: "ambiguous" | "explicit";
|
|
11426
|
+
}>;
|
|
11427
|
+
policyDecision: import("drizzle-orm/pg-core").PgColumn<{
|
|
11428
|
+
name: "policy_decision";
|
|
11429
|
+
tableName: "connector_action_requests";
|
|
11430
|
+
dataType: "string";
|
|
11431
|
+
columnType: "PgText";
|
|
11432
|
+
data: ConnectorActionPolicyDecision;
|
|
11433
|
+
driverParam: string;
|
|
11434
|
+
notNull: true;
|
|
11435
|
+
hasDefault: false;
|
|
11436
|
+
isPrimaryKey: false;
|
|
11437
|
+
isAutoincrement: false;
|
|
11438
|
+
hasRuntimeDefault: false;
|
|
11439
|
+
enumValues: [string, ...string[]];
|
|
11440
|
+
baseColumn: never;
|
|
11441
|
+
identity: undefined;
|
|
11442
|
+
generated: undefined;
|
|
11443
|
+
}, {}, {
|
|
11444
|
+
$type: ConnectorActionPolicyDecision;
|
|
11445
|
+
}>;
|
|
11446
|
+
actionFingerprint: import("drizzle-orm/pg-core").PgColumn<{
|
|
11447
|
+
name: "action_fingerprint";
|
|
11448
|
+
tableName: "connector_action_requests";
|
|
11449
|
+
dataType: "string";
|
|
11450
|
+
columnType: "PgText";
|
|
11451
|
+
data: string;
|
|
11452
|
+
driverParam: string;
|
|
11453
|
+
notNull: true;
|
|
11454
|
+
hasDefault: false;
|
|
11455
|
+
isPrimaryKey: false;
|
|
11456
|
+
isAutoincrement: false;
|
|
11457
|
+
hasRuntimeDefault: false;
|
|
11458
|
+
enumValues: [string, ...string[]];
|
|
11459
|
+
baseColumn: never;
|
|
11460
|
+
identity: undefined;
|
|
11461
|
+
generated: undefined;
|
|
11462
|
+
}, {}, {}>;
|
|
11463
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
11464
|
+
name: "status";
|
|
11465
|
+
tableName: "connector_action_requests";
|
|
11466
|
+
dataType: "string";
|
|
11467
|
+
columnType: "PgText";
|
|
11468
|
+
data: "approved" | "blocked" | "completed" | "executing" | "failed" | "pending" | "rejected" | "uncertain";
|
|
11469
|
+
driverParam: string;
|
|
11470
|
+
notNull: true;
|
|
11471
|
+
hasDefault: false;
|
|
11472
|
+
isPrimaryKey: false;
|
|
11473
|
+
isAutoincrement: false;
|
|
11474
|
+
hasRuntimeDefault: false;
|
|
11475
|
+
enumValues: [string, ...string[]];
|
|
11476
|
+
baseColumn: never;
|
|
11477
|
+
identity: undefined;
|
|
11478
|
+
generated: undefined;
|
|
11479
|
+
}, {}, {
|
|
11480
|
+
$type: "approved" | "blocked" | "completed" | "executing" | "failed" | "pending" | "rejected" | "uncertain";
|
|
11481
|
+
}>;
|
|
11482
|
+
decision: import("drizzle-orm/pg-core").PgColumn<{
|
|
11483
|
+
name: "decision";
|
|
11484
|
+
tableName: "connector_action_requests";
|
|
11485
|
+
dataType: "string";
|
|
11486
|
+
columnType: "PgText";
|
|
11487
|
+
data: "approve" | "reject";
|
|
11488
|
+
driverParam: string;
|
|
11489
|
+
notNull: false;
|
|
11490
|
+
hasDefault: false;
|
|
11491
|
+
isPrimaryKey: false;
|
|
11492
|
+
isAutoincrement: false;
|
|
11493
|
+
hasRuntimeDefault: false;
|
|
11494
|
+
enumValues: [string, ...string[]];
|
|
11495
|
+
baseColumn: never;
|
|
11496
|
+
identity: undefined;
|
|
11497
|
+
generated: undefined;
|
|
11498
|
+
}, {}, {
|
|
11499
|
+
$type: "approve" | "reject";
|
|
11500
|
+
}>;
|
|
11501
|
+
decisionBySubjectId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11502
|
+
name: "decision_by_subject_id";
|
|
11503
|
+
tableName: "connector_action_requests";
|
|
11504
|
+
dataType: "string";
|
|
11505
|
+
columnType: "PgText";
|
|
11506
|
+
data: string;
|
|
11507
|
+
driverParam: string;
|
|
11508
|
+
notNull: false;
|
|
11509
|
+
hasDefault: false;
|
|
11510
|
+
isPrimaryKey: false;
|
|
11511
|
+
isAutoincrement: false;
|
|
11512
|
+
hasRuntimeDefault: false;
|
|
11513
|
+
enumValues: [string, ...string[]];
|
|
11514
|
+
baseColumn: never;
|
|
11515
|
+
identity: undefined;
|
|
11516
|
+
generated: undefined;
|
|
11517
|
+
}, {}, {}>;
|
|
11518
|
+
decisionEventId: import("drizzle-orm/pg-core").PgColumn<{
|
|
11519
|
+
name: "decision_event_id";
|
|
11520
|
+
tableName: "connector_action_requests";
|
|
11521
|
+
dataType: "string";
|
|
11522
|
+
columnType: "PgUUID";
|
|
11523
|
+
data: string;
|
|
11524
|
+
driverParam: string;
|
|
11525
|
+
notNull: false;
|
|
11526
|
+
hasDefault: false;
|
|
11527
|
+
isPrimaryKey: false;
|
|
11528
|
+
isAutoincrement: false;
|
|
11529
|
+
hasRuntimeDefault: false;
|
|
11530
|
+
enumValues: undefined;
|
|
11531
|
+
baseColumn: never;
|
|
11532
|
+
identity: undefined;
|
|
11533
|
+
generated: undefined;
|
|
11534
|
+
}, {}, {}>;
|
|
11535
|
+
decidedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
11536
|
+
name: "decided_at";
|
|
11537
|
+
tableName: "connector_action_requests";
|
|
11538
|
+
dataType: "date";
|
|
11539
|
+
columnType: "PgTimestamp";
|
|
11540
|
+
data: Date;
|
|
11541
|
+
driverParam: string;
|
|
11542
|
+
notNull: false;
|
|
11543
|
+
hasDefault: false;
|
|
11544
|
+
isPrimaryKey: false;
|
|
11545
|
+
isAutoincrement: false;
|
|
11546
|
+
hasRuntimeDefault: false;
|
|
11547
|
+
enumValues: undefined;
|
|
11548
|
+
baseColumn: never;
|
|
11549
|
+
identity: undefined;
|
|
11550
|
+
generated: undefined;
|
|
11551
|
+
}, {}, {}>;
|
|
11552
|
+
executionStartedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
11553
|
+
name: "execution_started_at";
|
|
11554
|
+
tableName: "connector_action_requests";
|
|
11555
|
+
dataType: "date";
|
|
11556
|
+
columnType: "PgTimestamp";
|
|
11557
|
+
data: Date;
|
|
11558
|
+
driverParam: string;
|
|
11559
|
+
notNull: false;
|
|
11560
|
+
hasDefault: false;
|
|
11561
|
+
isPrimaryKey: false;
|
|
11562
|
+
isAutoincrement: false;
|
|
11563
|
+
hasRuntimeDefault: false;
|
|
11564
|
+
enumValues: undefined;
|
|
11565
|
+
baseColumn: never;
|
|
11566
|
+
identity: undefined;
|
|
11567
|
+
generated: undefined;
|
|
11568
|
+
}, {}, {}>;
|
|
11569
|
+
executionFinishedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
11570
|
+
name: "execution_finished_at";
|
|
11571
|
+
tableName: "connector_action_requests";
|
|
11572
|
+
dataType: "date";
|
|
11573
|
+
columnType: "PgTimestamp";
|
|
11574
|
+
data: Date;
|
|
11575
|
+
driverParam: string;
|
|
11576
|
+
notNull: false;
|
|
11577
|
+
hasDefault: false;
|
|
11578
|
+
isPrimaryKey: false;
|
|
11579
|
+
isAutoincrement: false;
|
|
11580
|
+
hasRuntimeDefault: false;
|
|
11581
|
+
enumValues: undefined;
|
|
11582
|
+
baseColumn: never;
|
|
11583
|
+
identity: undefined;
|
|
11584
|
+
generated: undefined;
|
|
11585
|
+
}, {}, {}>;
|
|
11586
|
+
outcome: import("drizzle-orm/pg-core").PgColumn<{
|
|
11587
|
+
name: "outcome";
|
|
11588
|
+
tableName: "connector_action_requests";
|
|
11589
|
+
dataType: "string";
|
|
11590
|
+
columnType: "PgText";
|
|
11591
|
+
data: string;
|
|
11592
|
+
driverParam: string;
|
|
11593
|
+
notNull: false;
|
|
11594
|
+
hasDefault: false;
|
|
11595
|
+
isPrimaryKey: false;
|
|
11596
|
+
isAutoincrement: false;
|
|
11597
|
+
hasRuntimeDefault: false;
|
|
11598
|
+
enumValues: [string, ...string[]];
|
|
11599
|
+
baseColumn: never;
|
|
11600
|
+
identity: undefined;
|
|
11601
|
+
generated: undefined;
|
|
11602
|
+
}, {}, {}>;
|
|
11603
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
11604
|
+
name: "created_at";
|
|
11605
|
+
tableName: "connector_action_requests";
|
|
11606
|
+
dataType: "date";
|
|
11607
|
+
columnType: "PgTimestamp";
|
|
11608
|
+
data: Date;
|
|
11609
|
+
driverParam: string;
|
|
11610
|
+
notNull: true;
|
|
11611
|
+
hasDefault: true;
|
|
11612
|
+
isPrimaryKey: false;
|
|
11613
|
+
isAutoincrement: false;
|
|
11614
|
+
hasRuntimeDefault: false;
|
|
11615
|
+
enumValues: undefined;
|
|
11616
|
+
baseColumn: never;
|
|
11617
|
+
identity: undefined;
|
|
11618
|
+
generated: undefined;
|
|
11619
|
+
}, {}, {}>;
|
|
11620
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
11621
|
+
name: "updated_at";
|
|
11622
|
+
tableName: "connector_action_requests";
|
|
11623
|
+
dataType: "date";
|
|
11624
|
+
columnType: "PgTimestamp";
|
|
11625
|
+
data: Date;
|
|
11626
|
+
driverParam: string;
|
|
11627
|
+
notNull: true;
|
|
11628
|
+
hasDefault: true;
|
|
11629
|
+
isPrimaryKey: false;
|
|
11630
|
+
isAutoincrement: false;
|
|
11631
|
+
hasRuntimeDefault: false;
|
|
11632
|
+
enumValues: undefined;
|
|
11633
|
+
baseColumn: never;
|
|
11634
|
+
identity: undefined;
|
|
11635
|
+
generated: undefined;
|
|
11636
|
+
}, {}, {}>;
|
|
11637
|
+
};
|
|
11638
|
+
dialect: 'pg';
|
|
11639
|
+
}>;
|
|
10820
11640
|
export declare const sessionCommandReceipts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
10821
11641
|
name: "session_command_receipts";
|
|
10822
11642
|
schema: undefined;
|