@panorama-ai/gateway 2.31.49 → 2.31.60
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
|
@@ -1354,7 +1354,6 @@ export type Database = {
|
|
|
1354
1354
|
mime_type: string | null;
|
|
1355
1355
|
size_bytes: number;
|
|
1356
1356
|
status: string;
|
|
1357
|
-
storage_cost_usd: number | null;
|
|
1358
1357
|
storage_key: string;
|
|
1359
1358
|
team_id: string;
|
|
1360
1359
|
updated_at: string;
|
|
@@ -1370,7 +1369,6 @@ export type Database = {
|
|
|
1370
1369
|
mime_type?: string | null;
|
|
1371
1370
|
size_bytes: number;
|
|
1372
1371
|
status?: string;
|
|
1373
|
-
storage_cost_usd?: number | null;
|
|
1374
1372
|
storage_key: string;
|
|
1375
1373
|
team_id: string;
|
|
1376
1374
|
updated_at?: string;
|
|
@@ -1386,7 +1384,6 @@ export type Database = {
|
|
|
1386
1384
|
mime_type?: string | null;
|
|
1387
1385
|
size_bytes?: number;
|
|
1388
1386
|
status?: string;
|
|
1389
|
-
storage_cost_usd?: number | null;
|
|
1390
1387
|
storage_key?: string;
|
|
1391
1388
|
team_id?: string;
|
|
1392
1389
|
updated_at?: string;
|
|
@@ -5618,6 +5615,56 @@ export type Database = {
|
|
|
5618
5615
|
}
|
|
5619
5616
|
];
|
|
5620
5617
|
};
|
|
5618
|
+
team_cost_events: {
|
|
5619
|
+
Row: {
|
|
5620
|
+
agent_id: string | null;
|
|
5621
|
+
breakdown: Json | null;
|
|
5622
|
+
category: string;
|
|
5623
|
+
cost_usd: number;
|
|
5624
|
+
created_at: string;
|
|
5625
|
+
id: string;
|
|
5626
|
+
occurred_at: string;
|
|
5627
|
+
quantity: number | null;
|
|
5628
|
+
source_id: string | null;
|
|
5629
|
+
team_id: string;
|
|
5630
|
+
unit: string | null;
|
|
5631
|
+
};
|
|
5632
|
+
Insert: {
|
|
5633
|
+
agent_id?: string | null;
|
|
5634
|
+
breakdown?: Json | null;
|
|
5635
|
+
category: string;
|
|
5636
|
+
cost_usd: number;
|
|
5637
|
+
created_at?: string;
|
|
5638
|
+
id?: string;
|
|
5639
|
+
occurred_at?: string;
|
|
5640
|
+
quantity?: number | null;
|
|
5641
|
+
source_id?: string | null;
|
|
5642
|
+
team_id: string;
|
|
5643
|
+
unit?: string | null;
|
|
5644
|
+
};
|
|
5645
|
+
Update: {
|
|
5646
|
+
agent_id?: string | null;
|
|
5647
|
+
breakdown?: Json | null;
|
|
5648
|
+
category?: string;
|
|
5649
|
+
cost_usd?: number;
|
|
5650
|
+
created_at?: string;
|
|
5651
|
+
id?: string;
|
|
5652
|
+
occurred_at?: string;
|
|
5653
|
+
quantity?: number | null;
|
|
5654
|
+
source_id?: string | null;
|
|
5655
|
+
team_id?: string;
|
|
5656
|
+
unit?: string | null;
|
|
5657
|
+
};
|
|
5658
|
+
Relationships: [
|
|
5659
|
+
{
|
|
5660
|
+
foreignKeyName: "team_cost_events_team_id_fkey";
|
|
5661
|
+
columns: ["team_id"];
|
|
5662
|
+
isOneToOne: false;
|
|
5663
|
+
referencedRelation: "teams";
|
|
5664
|
+
referencedColumns: ["id"];
|
|
5665
|
+
}
|
|
5666
|
+
];
|
|
5667
|
+
};
|
|
5621
5668
|
team_gateways: {
|
|
5622
5669
|
Row: {
|
|
5623
5670
|
capabilities: Json;
|
|
@@ -6203,7 +6250,6 @@ export type Database = {
|
|
|
6203
6250
|
id: string;
|
|
6204
6251
|
max_cost_per_hour: number | null;
|
|
6205
6252
|
name: string;
|
|
6206
|
-
storage_limit_bytes: number;
|
|
6207
6253
|
updated_at: string;
|
|
6208
6254
|
uses_custom_api_keys: boolean | null;
|
|
6209
6255
|
};
|
|
@@ -6216,7 +6262,6 @@ export type Database = {
|
|
|
6216
6262
|
id?: string;
|
|
6217
6263
|
max_cost_per_hour?: number | null;
|
|
6218
6264
|
name: string;
|
|
6219
|
-
storage_limit_bytes?: number;
|
|
6220
6265
|
updated_at?: string;
|
|
6221
6266
|
uses_custom_api_keys?: boolean | null;
|
|
6222
6267
|
};
|
|
@@ -6229,7 +6274,6 @@ export type Database = {
|
|
|
6229
6274
|
id?: string;
|
|
6230
6275
|
max_cost_per_hour?: number | null;
|
|
6231
6276
|
name?: string;
|
|
6232
|
-
storage_limit_bytes?: number;
|
|
6233
6277
|
updated_at?: string;
|
|
6234
6278
|
uses_custom_api_keys?: boolean | null;
|
|
6235
6279
|
};
|
|
@@ -9204,6 +9248,11 @@ export type Database = {
|
|
|
9204
9248
|
Args: {
|
|
9205
9249
|
p_actual_cost: number;
|
|
9206
9250
|
p_agent_id: string;
|
|
9251
|
+
p_breakdown?: Json;
|
|
9252
|
+
p_category: string;
|
|
9253
|
+
p_quantity?: number;
|
|
9254
|
+
p_source_id?: string;
|
|
9255
|
+
p_unit?: string;
|
|
9207
9256
|
};
|
|
9208
9257
|
Returns: {
|
|
9209
9258
|
message: string;
|
|
@@ -9215,6 +9264,11 @@ export type Database = {
|
|
|
9215
9264
|
Args: {
|
|
9216
9265
|
p_actual_cost: number;
|
|
9217
9266
|
p_agent_id: string;
|
|
9267
|
+
p_breakdown?: Json;
|
|
9268
|
+
p_category: string;
|
|
9269
|
+
p_quantity?: number;
|
|
9270
|
+
p_source_id?: string;
|
|
9271
|
+
p_unit?: string;
|
|
9218
9272
|
};
|
|
9219
9273
|
Returns: {
|
|
9220
9274
|
message: string;
|
|
@@ -9236,7 +9290,13 @@ export type Database = {
|
|
|
9236
9290
|
deduct_team_cost: {
|
|
9237
9291
|
Args: {
|
|
9238
9292
|
p_actual_cost: number;
|
|
9293
|
+
p_agent_id?: string;
|
|
9294
|
+
p_breakdown?: Json;
|
|
9295
|
+
p_category: string;
|
|
9296
|
+
p_quantity?: number;
|
|
9297
|
+
p_source_id?: string;
|
|
9239
9298
|
p_team_id: string;
|
|
9299
|
+
p_unit?: string;
|
|
9240
9300
|
};
|
|
9241
9301
|
Returns: {
|
|
9242
9302
|
message: string;
|
|
@@ -10697,11 +10757,11 @@ export type Database = {
|
|
|
10697
10757
|
p_team_id: string;
|
|
10698
10758
|
};
|
|
10699
10759
|
Returns: {
|
|
10700
|
-
|
|
10760
|
+
drive_bytes: number;
|
|
10701
10761
|
file_count: number;
|
|
10702
|
-
|
|
10762
|
+
resource_bytes: number;
|
|
10703
10763
|
total_bytes: number;
|
|
10704
|
-
|
|
10764
|
+
upload_bytes: number;
|
|
10705
10765
|
}[];
|
|
10706
10766
|
};
|
|
10707
10767
|
get_team_usage_stats: {
|
|
@@ -11060,6 +11120,7 @@ export type Database = {
|
|
|
11060
11120
|
Args: {
|
|
11061
11121
|
p_agent_id: string;
|
|
11062
11122
|
p_agent_updates?: Json;
|
|
11123
|
+
p_cost_breakdown?: Json;
|
|
11063
11124
|
p_job_id: string;
|
|
11064
11125
|
p_logs: Json;
|
|
11065
11126
|
p_primary_log_id?: string;
|
|
@@ -11397,6 +11458,7 @@ export type Database = {
|
|
|
11397
11458
|
Args: {
|
|
11398
11459
|
p_actual_cost: number;
|
|
11399
11460
|
p_agent_id: string;
|
|
11461
|
+
p_category?: string;
|
|
11400
11462
|
p_idempotency_key: string;
|
|
11401
11463
|
p_usage_record: Json;
|
|
11402
11464
|
};
|
|
@@ -11957,6 +12019,18 @@ export type Database = {
|
|
|
11957
12019
|
};
|
|
11958
12020
|
Returns: Json;
|
|
11959
12021
|
};
|
|
12022
|
+
save_stored_resource_version: {
|
|
12023
|
+
Args: {
|
|
12024
|
+
p_agent_id: string;
|
|
12025
|
+
p_content: string;
|
|
12026
|
+
p_database_schema?: Json;
|
|
12027
|
+
p_exclude_storage_id?: string;
|
|
12028
|
+
p_resource_name: string;
|
|
12029
|
+
p_scope?: string;
|
|
12030
|
+
p_team_id?: string;
|
|
12031
|
+
};
|
|
12032
|
+
Returns: string;
|
|
12033
|
+
};
|
|
11960
12034
|
search_log_embeddings: {
|
|
11961
12035
|
Args: {
|
|
11962
12036
|
p_agent_id: string;
|