@panorama-ai/gateway 2.31.40 → 2.31.49
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/database.types.d.ts
CHANGED
|
@@ -1343,6 +1343,79 @@ export type Database = {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
];
|
|
1345
1345
|
};
|
|
1346
|
+
chat_uploads: {
|
|
1347
|
+
Row: {
|
|
1348
|
+
content_sha256: string;
|
|
1349
|
+
created_at: string;
|
|
1350
|
+
expires_at: string;
|
|
1351
|
+
file_name: string;
|
|
1352
|
+
id: string;
|
|
1353
|
+
message_id: string | null;
|
|
1354
|
+
mime_type: string | null;
|
|
1355
|
+
size_bytes: number;
|
|
1356
|
+
status: string;
|
|
1357
|
+
storage_cost_usd: number | null;
|
|
1358
|
+
storage_key: string;
|
|
1359
|
+
team_id: string;
|
|
1360
|
+
updated_at: string;
|
|
1361
|
+
user_id: string;
|
|
1362
|
+
};
|
|
1363
|
+
Insert: {
|
|
1364
|
+
content_sha256: string;
|
|
1365
|
+
created_at?: string;
|
|
1366
|
+
expires_at?: string;
|
|
1367
|
+
file_name: string;
|
|
1368
|
+
id?: string;
|
|
1369
|
+
message_id?: string | null;
|
|
1370
|
+
mime_type?: string | null;
|
|
1371
|
+
size_bytes: number;
|
|
1372
|
+
status?: string;
|
|
1373
|
+
storage_cost_usd?: number | null;
|
|
1374
|
+
storage_key: string;
|
|
1375
|
+
team_id: string;
|
|
1376
|
+
updated_at?: string;
|
|
1377
|
+
user_id: string;
|
|
1378
|
+
};
|
|
1379
|
+
Update: {
|
|
1380
|
+
content_sha256?: string;
|
|
1381
|
+
created_at?: string;
|
|
1382
|
+
expires_at?: string;
|
|
1383
|
+
file_name?: string;
|
|
1384
|
+
id?: string;
|
|
1385
|
+
message_id?: string | null;
|
|
1386
|
+
mime_type?: string | null;
|
|
1387
|
+
size_bytes?: number;
|
|
1388
|
+
status?: string;
|
|
1389
|
+
storage_cost_usd?: number | null;
|
|
1390
|
+
storage_key?: string;
|
|
1391
|
+
team_id?: string;
|
|
1392
|
+
updated_at?: string;
|
|
1393
|
+
user_id?: string;
|
|
1394
|
+
};
|
|
1395
|
+
Relationships: [
|
|
1396
|
+
{
|
|
1397
|
+
foreignKeyName: "chat_uploads_message_id_fkey";
|
|
1398
|
+
columns: ["message_id"];
|
|
1399
|
+
isOneToOne: false;
|
|
1400
|
+
referencedRelation: "messages";
|
|
1401
|
+
referencedColumns: ["id"];
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
foreignKeyName: "chat_uploads_message_id_fkey";
|
|
1405
|
+
columns: ["message_id"];
|
|
1406
|
+
isOneToOne: false;
|
|
1407
|
+
referencedRelation: "messages_for_current_user";
|
|
1408
|
+
referencedColumns: ["id"];
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
foreignKeyName: "chat_uploads_team_id_fkey";
|
|
1412
|
+
columns: ["team_id"];
|
|
1413
|
+
isOneToOne: false;
|
|
1414
|
+
referencedRelation: "teams";
|
|
1415
|
+
referencedColumns: ["id"];
|
|
1416
|
+
}
|
|
1417
|
+
];
|
|
1418
|
+
};
|
|
1346
1419
|
context_summaries: {
|
|
1347
1420
|
Row: {
|
|
1348
1421
|
agent_id: string;
|
|
@@ -5897,6 +5970,41 @@ export type Database = {
|
|
|
5897
5970
|
}
|
|
5898
5971
|
];
|
|
5899
5972
|
};
|
|
5973
|
+
team_storage_meter_runs: {
|
|
5974
|
+
Row: {
|
|
5975
|
+
charge_usd: number;
|
|
5976
|
+
created_at: string;
|
|
5977
|
+
id: string;
|
|
5978
|
+
metered_on: string;
|
|
5979
|
+
stored_bytes: number;
|
|
5980
|
+
team_id: string;
|
|
5981
|
+
};
|
|
5982
|
+
Insert: {
|
|
5983
|
+
charge_usd: number;
|
|
5984
|
+
created_at?: string;
|
|
5985
|
+
id?: string;
|
|
5986
|
+
metered_on: string;
|
|
5987
|
+
stored_bytes: number;
|
|
5988
|
+
team_id: string;
|
|
5989
|
+
};
|
|
5990
|
+
Update: {
|
|
5991
|
+
charge_usd?: number;
|
|
5992
|
+
created_at?: string;
|
|
5993
|
+
id?: string;
|
|
5994
|
+
metered_on?: string;
|
|
5995
|
+
stored_bytes?: number;
|
|
5996
|
+
team_id?: string;
|
|
5997
|
+
};
|
|
5998
|
+
Relationships: [
|
|
5999
|
+
{
|
|
6000
|
+
foreignKeyName: "team_storage_meter_runs_team_id_fkey";
|
|
6001
|
+
columns: ["team_id"];
|
|
6002
|
+
isOneToOne: false;
|
|
6003
|
+
referencedRelation: "teams";
|
|
6004
|
+
referencedColumns: ["id"];
|
|
6005
|
+
}
|
|
6006
|
+
];
|
|
6007
|
+
};
|
|
5900
6008
|
team_subscription_state_transitions: {
|
|
5901
6009
|
Row: {
|
|
5902
6010
|
changed_at: string;
|
|
@@ -8365,6 +8473,12 @@ export type Database = {
|
|
|
8365
8473
|
};
|
|
8366
8474
|
Returns: number;
|
|
8367
8475
|
};
|
|
8476
|
+
calculate_team_stored_bytes: {
|
|
8477
|
+
Args: {
|
|
8478
|
+
p_team_id: string;
|
|
8479
|
+
};
|
|
8480
|
+
Returns: number;
|
|
8481
|
+
};
|
|
8368
8482
|
can_join_team: {
|
|
8369
8483
|
Args: {
|
|
8370
8484
|
p_user_email: string;
|
|
@@ -8729,6 +8843,7 @@ export type Database = {
|
|
|
8729
8843
|
};
|
|
8730
8844
|
create_channel_message: {
|
|
8731
8845
|
Args: {
|
|
8846
|
+
p_attachment_upload_ids?: string[];
|
|
8732
8847
|
p_content: string;
|
|
8733
8848
|
p_conversation_id: string;
|
|
8734
8849
|
p_local_id?: string;
|
|
@@ -8953,6 +9068,7 @@ export type Database = {
|
|
|
8953
9068
|
};
|
|
8954
9069
|
create_user_dm_message: {
|
|
8955
9070
|
Args: {
|
|
9071
|
+
p_attachment_upload_ids?: string[];
|
|
8956
9072
|
p_content: string;
|
|
8957
9073
|
p_local_id?: string;
|
|
8958
9074
|
p_metadata?: Json;
|
|
@@ -8994,6 +9110,7 @@ export type Database = {
|
|
|
8994
9110
|
create_user_message: {
|
|
8995
9111
|
Args: {
|
|
8996
9112
|
p_agent_id: string;
|
|
9113
|
+
p_attachment_upload_ids?: string[];
|
|
8997
9114
|
p_content: string;
|
|
8998
9115
|
p_local_id?: string;
|
|
8999
9116
|
p_metadata?: Json;
|
|
@@ -9301,6 +9418,13 @@ export type Database = {
|
|
|
9301
9418
|
};
|
|
9302
9419
|
Returns: string;
|
|
9303
9420
|
};
|
|
9421
|
+
emit_chat_upload_cleanup_job: {
|
|
9422
|
+
Args: {
|
|
9423
|
+
p_run_at: string;
|
|
9424
|
+
p_upload_id: string;
|
|
9425
|
+
};
|
|
9426
|
+
Returns: undefined;
|
|
9427
|
+
};
|
|
9304
9428
|
emit_drive_change_batch_resource_event: {
|
|
9305
9429
|
Args: {
|
|
9306
9430
|
p_batch_id: string;
|
|
@@ -9362,6 +9486,13 @@ export type Database = {
|
|
|
9362
9486
|
isSetofReturn: false;
|
|
9363
9487
|
};
|
|
9364
9488
|
};
|
|
9489
|
+
emit_team_storage_meter_job: {
|
|
9490
|
+
Args: {
|
|
9491
|
+
p_run_at: string;
|
|
9492
|
+
p_team_id: string;
|
|
9493
|
+
};
|
|
9494
|
+
Returns: undefined;
|
|
9495
|
+
};
|
|
9365
9496
|
emit_vm_gateway_runtime_change: {
|
|
9366
9497
|
Args: {
|
|
9367
9498
|
p_device_name?: string;
|
|
@@ -11011,6 +11142,13 @@ export type Database = {
|
|
|
11011
11142
|
};
|
|
11012
11143
|
Returns: boolean;
|
|
11013
11144
|
};
|
|
11145
|
+
meter_team_storage: {
|
|
11146
|
+
Args: {
|
|
11147
|
+
p_rate_per_gb_month: number;
|
|
11148
|
+
p_team_id: string;
|
|
11149
|
+
};
|
|
11150
|
+
Returns: Json;
|
|
11151
|
+
};
|
|
11014
11152
|
move_drive_entry: {
|
|
11015
11153
|
Args: {
|
|
11016
11154
|
p_actor_agent_id?: string;
|
|
@@ -12033,6 +12171,15 @@ export type Database = {
|
|
|
12033
12171
|
};
|
|
12034
12172
|
Returns: boolean;
|
|
12035
12173
|
};
|
|
12174
|
+
stamp_chat_upload_attachments: {
|
|
12175
|
+
Args: {
|
|
12176
|
+
p_attachment_upload_ids: string[];
|
|
12177
|
+
p_message_id: string;
|
|
12178
|
+
p_team_id: string;
|
|
12179
|
+
p_user_id: string;
|
|
12180
|
+
};
|
|
12181
|
+
Returns: Json;
|
|
12182
|
+
};
|
|
12036
12183
|
switch_team: {
|
|
12037
12184
|
Args: {
|
|
12038
12185
|
p_team_id: string;
|