@elevasis/sdk 1.1.0 → 1.2.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/cli.cjs +59 -511
- package/dist/index.d.ts +508 -481
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1168,7 +1168,7 @@ type Json = string | number | boolean | null | {
|
|
|
1168
1168
|
} | Json[];
|
|
1169
1169
|
type Database = {
|
|
1170
1170
|
__InternalSupabase: {
|
|
1171
|
-
PostgrestVersion:
|
|
1171
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
1172
1172
|
};
|
|
1173
1173
|
public: {
|
|
1174
1174
|
Tables: {
|
|
@@ -1247,11 +1247,11 @@ type Database = {
|
|
|
1247
1247
|
};
|
|
1248
1248
|
Relationships: [
|
|
1249
1249
|
{
|
|
1250
|
-
foreignKeyName:
|
|
1251
|
-
columns: [
|
|
1250
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
1251
|
+
columns: ["organization_id"];
|
|
1252
1252
|
isOneToOne: false;
|
|
1253
|
-
referencedRelation:
|
|
1254
|
-
referencedColumns: [
|
|
1253
|
+
referencedRelation: "organizations";
|
|
1254
|
+
referencedColumns: ["id"];
|
|
1255
1255
|
}
|
|
1256
1256
|
];
|
|
1257
1257
|
};
|
|
@@ -1336,18 +1336,18 @@ type Database = {
|
|
|
1336
1336
|
};
|
|
1337
1337
|
Relationships: [
|
|
1338
1338
|
{
|
|
1339
|
-
foreignKeyName:
|
|
1340
|
-
columns: [
|
|
1339
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
1340
|
+
columns: ["company_id"];
|
|
1341
1341
|
isOneToOne: false;
|
|
1342
|
-
referencedRelation:
|
|
1343
|
-
referencedColumns: [
|
|
1342
|
+
referencedRelation: "acq_companies";
|
|
1343
|
+
referencedColumns: ["id"];
|
|
1344
1344
|
},
|
|
1345
1345
|
{
|
|
1346
|
-
foreignKeyName:
|
|
1347
|
-
columns: [
|
|
1346
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
1347
|
+
columns: ["organization_id"];
|
|
1348
1348
|
isOneToOne: false;
|
|
1349
|
-
referencedRelation:
|
|
1350
|
-
referencedColumns: [
|
|
1349
|
+
referencedRelation: "organizations";
|
|
1350
|
+
referencedColumns: ["id"];
|
|
1351
1351
|
}
|
|
1352
1352
|
];
|
|
1353
1353
|
};
|
|
@@ -1384,11 +1384,11 @@ type Database = {
|
|
|
1384
1384
|
};
|
|
1385
1385
|
Relationships: [
|
|
1386
1386
|
{
|
|
1387
|
-
foreignKeyName:
|
|
1388
|
-
columns: [
|
|
1387
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
1388
|
+
columns: ["organization_id"];
|
|
1389
1389
|
isOneToOne: false;
|
|
1390
|
-
referencedRelation:
|
|
1391
|
-
referencedColumns: [
|
|
1390
|
+
referencedRelation: "organizations";
|
|
1391
|
+
referencedColumns: ["id"];
|
|
1392
1392
|
}
|
|
1393
1393
|
];
|
|
1394
1394
|
};
|
|
@@ -1452,18 +1452,18 @@ type Database = {
|
|
|
1452
1452
|
};
|
|
1453
1453
|
Relationships: [
|
|
1454
1454
|
{
|
|
1455
|
-
foreignKeyName:
|
|
1456
|
-
columns: [
|
|
1455
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
1456
|
+
columns: ["content_id"];
|
|
1457
1457
|
isOneToOne: false;
|
|
1458
|
-
referencedRelation:
|
|
1459
|
-
referencedColumns: [
|
|
1458
|
+
referencedRelation: "acq_content";
|
|
1459
|
+
referencedColumns: ["id"];
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
|
-
foreignKeyName:
|
|
1463
|
-
columns: [
|
|
1462
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
1463
|
+
columns: ["organization_id"];
|
|
1464
1464
|
isOneToOne: false;
|
|
1465
|
-
referencedRelation:
|
|
1466
|
-
referencedColumns: [
|
|
1465
|
+
referencedRelation: "organizations";
|
|
1466
|
+
referencedColumns: ["id"];
|
|
1467
1467
|
}
|
|
1468
1468
|
];
|
|
1469
1469
|
};
|
|
@@ -1575,25 +1575,25 @@ type Database = {
|
|
|
1575
1575
|
};
|
|
1576
1576
|
Relationships: [
|
|
1577
1577
|
{
|
|
1578
|
-
foreignKeyName:
|
|
1579
|
-
columns: [
|
|
1578
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
1579
|
+
columns: ["contact_id"];
|
|
1580
1580
|
isOneToOne: false;
|
|
1581
|
-
referencedRelation:
|
|
1582
|
-
referencedColumns: [
|
|
1581
|
+
referencedRelation: "acq_contacts";
|
|
1582
|
+
referencedColumns: ["id"];
|
|
1583
1583
|
},
|
|
1584
1584
|
{
|
|
1585
|
-
foreignKeyName:
|
|
1586
|
-
columns: [
|
|
1585
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
1586
|
+
columns: ["organization_id"];
|
|
1587
1587
|
isOneToOne: false;
|
|
1588
|
-
referencedRelation:
|
|
1589
|
-
referencedColumns: [
|
|
1588
|
+
referencedRelation: "organizations";
|
|
1589
|
+
referencedColumns: ["id"];
|
|
1590
1590
|
},
|
|
1591
1591
|
{
|
|
1592
|
-
foreignKeyName:
|
|
1593
|
-
columns: [
|
|
1592
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
1593
|
+
columns: ["source_list_id"];
|
|
1594
1594
|
isOneToOne: false;
|
|
1595
|
-
referencedRelation:
|
|
1596
|
-
referencedColumns: [
|
|
1595
|
+
referencedRelation: "acq_lists";
|
|
1596
|
+
referencedColumns: ["id"];
|
|
1597
1597
|
}
|
|
1598
1598
|
];
|
|
1599
1599
|
};
|
|
@@ -1621,18 +1621,18 @@ type Database = {
|
|
|
1621
1621
|
};
|
|
1622
1622
|
Relationships: [
|
|
1623
1623
|
{
|
|
1624
|
-
foreignKeyName:
|
|
1625
|
-
columns: [
|
|
1624
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
1625
|
+
columns: ["contact_id"];
|
|
1626
1626
|
isOneToOne: false;
|
|
1627
|
-
referencedRelation:
|
|
1628
|
-
referencedColumns: [
|
|
1627
|
+
referencedRelation: "acq_contacts";
|
|
1628
|
+
referencedColumns: ["id"];
|
|
1629
1629
|
},
|
|
1630
1630
|
{
|
|
1631
|
-
foreignKeyName:
|
|
1632
|
-
columns: [
|
|
1631
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
1632
|
+
columns: ["list_id"];
|
|
1633
1633
|
isOneToOne: false;
|
|
1634
|
-
referencedRelation:
|
|
1635
|
-
referencedColumns: [
|
|
1634
|
+
referencedRelation: "acq_lists";
|
|
1635
|
+
referencedColumns: ["id"];
|
|
1636
1636
|
}
|
|
1637
1637
|
];
|
|
1638
1638
|
};
|
|
@@ -1681,11 +1681,11 @@ type Database = {
|
|
|
1681
1681
|
};
|
|
1682
1682
|
Relationships: [
|
|
1683
1683
|
{
|
|
1684
|
-
foreignKeyName:
|
|
1685
|
-
columns: [
|
|
1684
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
1685
|
+
columns: ["organization_id"];
|
|
1686
1686
|
isOneToOne: false;
|
|
1687
|
-
referencedRelation:
|
|
1688
|
-
referencedColumns: [
|
|
1687
|
+
referencedRelation: "organizations";
|
|
1688
|
+
referencedColumns: ["id"];
|
|
1689
1689
|
}
|
|
1690
1690
|
];
|
|
1691
1691
|
};
|
|
@@ -1761,18 +1761,18 @@ type Database = {
|
|
|
1761
1761
|
};
|
|
1762
1762
|
Relationships: [
|
|
1763
1763
|
{
|
|
1764
|
-
foreignKeyName:
|
|
1765
|
-
columns: [
|
|
1764
|
+
foreignKeyName: "acq_seo_metrics_organization_id_fkey";
|
|
1765
|
+
columns: ["organization_id"];
|
|
1766
1766
|
isOneToOne: false;
|
|
1767
|
-
referencedRelation:
|
|
1768
|
-
referencedColumns: [
|
|
1767
|
+
referencedRelation: "organizations";
|
|
1768
|
+
referencedColumns: ["id"];
|
|
1769
1769
|
},
|
|
1770
1770
|
{
|
|
1771
|
-
foreignKeyName:
|
|
1772
|
-
columns: [
|
|
1771
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1772
|
+
columns: ["seo_page_id"];
|
|
1773
1773
|
isOneToOne: false;
|
|
1774
|
-
referencedRelation:
|
|
1775
|
-
referencedColumns: [
|
|
1774
|
+
referencedRelation: "acq_seo_pages";
|
|
1775
|
+
referencedColumns: ["id"];
|
|
1776
1776
|
}
|
|
1777
1777
|
];
|
|
1778
1778
|
};
|
|
@@ -1848,11 +1848,11 @@ type Database = {
|
|
|
1848
1848
|
};
|
|
1849
1849
|
Relationships: [
|
|
1850
1850
|
{
|
|
1851
|
-
foreignKeyName:
|
|
1852
|
-
columns: [
|
|
1851
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1852
|
+
columns: ["organization_id"];
|
|
1853
1853
|
isOneToOne: false;
|
|
1854
|
-
referencedRelation:
|
|
1855
|
-
referencedColumns: [
|
|
1854
|
+
referencedRelation: "organizations";
|
|
1855
|
+
referencedColumns: ["id"];
|
|
1856
1856
|
}
|
|
1857
1857
|
];
|
|
1858
1858
|
};
|
|
@@ -1949,11 +1949,11 @@ type Database = {
|
|
|
1949
1949
|
};
|
|
1950
1950
|
Relationships: [
|
|
1951
1951
|
{
|
|
1952
|
-
foreignKeyName:
|
|
1953
|
-
columns: [
|
|
1952
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1953
|
+
columns: ["organization_id"];
|
|
1954
1954
|
isOneToOne: false;
|
|
1955
|
-
referencedRelation:
|
|
1956
|
-
referencedColumns: [
|
|
1955
|
+
referencedRelation: "organizations";
|
|
1956
|
+
referencedColumns: ["id"];
|
|
1957
1957
|
}
|
|
1958
1958
|
];
|
|
1959
1959
|
};
|
|
@@ -2008,11 +2008,11 @@ type Database = {
|
|
|
2008
2008
|
};
|
|
2009
2009
|
Relationships: [
|
|
2010
2010
|
{
|
|
2011
|
-
foreignKeyName:
|
|
2012
|
-
columns: [
|
|
2011
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
2012
|
+
columns: ["organization_id"];
|
|
2013
2013
|
isOneToOne: false;
|
|
2014
|
-
referencedRelation:
|
|
2015
|
-
referencedColumns: [
|
|
2014
|
+
referencedRelation: "organizations";
|
|
2015
|
+
referencedColumns: ["id"];
|
|
2016
2016
|
}
|
|
2017
2017
|
];
|
|
2018
2018
|
};
|
|
@@ -2043,11 +2043,11 @@ type Database = {
|
|
|
2043
2043
|
};
|
|
2044
2044
|
Relationships: [
|
|
2045
2045
|
{
|
|
2046
|
-
foreignKeyName:
|
|
2047
|
-
columns: [
|
|
2046
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
2047
|
+
columns: ["organization_id"];
|
|
2048
2048
|
isOneToOne: false;
|
|
2049
|
-
referencedRelation:
|
|
2050
|
-
referencedColumns: [
|
|
2049
|
+
referencedRelation: "organizations";
|
|
2050
|
+
referencedColumns: ["id"];
|
|
2051
2051
|
}
|
|
2052
2052
|
];
|
|
2053
2053
|
};
|
|
@@ -2084,11 +2084,11 @@ type Database = {
|
|
|
2084
2084
|
};
|
|
2085
2085
|
Relationships: [
|
|
2086
2086
|
{
|
|
2087
|
-
foreignKeyName:
|
|
2088
|
-
columns: [
|
|
2087
|
+
foreignKeyName: "calibration_projects_organization_id_fkey";
|
|
2088
|
+
columns: ["organization_id"];
|
|
2089
2089
|
isOneToOne: false;
|
|
2090
|
-
referencedRelation:
|
|
2091
|
-
referencedColumns: [
|
|
2090
|
+
referencedRelation: "organizations";
|
|
2091
|
+
referencedColumns: ["id"];
|
|
2092
2092
|
}
|
|
2093
2093
|
];
|
|
2094
2094
|
};
|
|
@@ -2143,18 +2143,18 @@ type Database = {
|
|
|
2143
2143
|
};
|
|
2144
2144
|
Relationships: [
|
|
2145
2145
|
{
|
|
2146
|
-
foreignKeyName:
|
|
2147
|
-
columns: [
|
|
2146
|
+
foreignKeyName: "calibration_runs_organization_id_fkey";
|
|
2147
|
+
columns: ["organization_id"];
|
|
2148
2148
|
isOneToOne: false;
|
|
2149
|
-
referencedRelation:
|
|
2150
|
-
referencedColumns: [
|
|
2149
|
+
referencedRelation: "organizations";
|
|
2150
|
+
referencedColumns: ["id"];
|
|
2151
2151
|
},
|
|
2152
2152
|
{
|
|
2153
|
-
foreignKeyName:
|
|
2154
|
-
columns: [
|
|
2153
|
+
foreignKeyName: "calibration_runs_project_id_fkey";
|
|
2154
|
+
columns: ["project_id"];
|
|
2155
2155
|
isOneToOne: false;
|
|
2156
|
-
referencedRelation:
|
|
2157
|
-
referencedColumns: [
|
|
2156
|
+
referencedRelation: "calibration_projects";
|
|
2157
|
+
referencedColumns: ["id"];
|
|
2158
2158
|
}
|
|
2159
2159
|
];
|
|
2160
2160
|
};
|
|
@@ -2233,25 +2233,25 @@ type Database = {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
Relationships: [
|
|
2235
2235
|
{
|
|
2236
|
-
foreignKeyName:
|
|
2237
|
-
columns: [
|
|
2236
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
2237
|
+
columns: ["completed_by"];
|
|
2238
2238
|
isOneToOne: false;
|
|
2239
|
-
referencedRelation:
|
|
2240
|
-
referencedColumns: [
|
|
2239
|
+
referencedRelation: "users";
|
|
2240
|
+
referencedColumns: ["id"];
|
|
2241
2241
|
},
|
|
2242
2242
|
{
|
|
2243
|
-
foreignKeyName:
|
|
2244
|
-
columns: [
|
|
2243
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
2244
|
+
columns: ["organization_id"];
|
|
2245
2245
|
isOneToOne: false;
|
|
2246
|
-
referencedRelation:
|
|
2247
|
-
referencedColumns: [
|
|
2246
|
+
referencedRelation: "organizations";
|
|
2247
|
+
referencedColumns: ["id"];
|
|
2248
2248
|
},
|
|
2249
2249
|
{
|
|
2250
|
-
foreignKeyName:
|
|
2251
|
-
columns: [
|
|
2250
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
2251
|
+
columns: ["target_execution_id"];
|
|
2252
2252
|
isOneToOne: false;
|
|
2253
|
-
referencedRelation:
|
|
2254
|
-
referencedColumns: [
|
|
2253
|
+
referencedRelation: "execution_logs";
|
|
2254
|
+
referencedColumns: ["execution_id"];
|
|
2255
2255
|
}
|
|
2256
2256
|
];
|
|
2257
2257
|
};
|
|
@@ -2291,306 +2291,18 @@ type Database = {
|
|
|
2291
2291
|
};
|
|
2292
2292
|
Relationships: [
|
|
2293
2293
|
{
|
|
2294
|
-
foreignKeyName:
|
|
2295
|
-
columns: [
|
|
2294
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
2295
|
+
columns: ["created_by"];
|
|
2296
2296
|
isOneToOne: false;
|
|
2297
|
-
referencedRelation:
|
|
2298
|
-
referencedColumns: [
|
|
2297
|
+
referencedRelation: "users";
|
|
2298
|
+
referencedColumns: ["id"];
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
2301
|
-
foreignKeyName:
|
|
2302
|
-
columns: [
|
|
2301
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
2302
|
+
columns: ["organization_id"];
|
|
2303
2303
|
isOneToOne: false;
|
|
2304
|
-
referencedRelation:
|
|
2305
|
-
referencedColumns: [
|
|
2306
|
-
}
|
|
2307
|
-
];
|
|
2308
|
-
};
|
|
2309
|
-
prj_tasks: {
|
|
2310
|
-
Row: {
|
|
2311
|
-
checklist: Json | null;
|
|
2312
|
-
completed_at: string | null;
|
|
2313
|
-
created_at: string;
|
|
2314
|
-
description: string | null;
|
|
2315
|
-
due_date: string | null;
|
|
2316
|
-
file_url: string | null;
|
|
2317
|
-
id: string;
|
|
2318
|
-
metadata: Json | null;
|
|
2319
|
-
milestone_id: string | null;
|
|
2320
|
-
name: string;
|
|
2321
|
-
organization_id: string;
|
|
2322
|
-
parent_task_id: string | null;
|
|
2323
|
-
project_id: string;
|
|
2324
|
-
resume_context: Json | null;
|
|
2325
|
-
status: string;
|
|
2326
|
-
type: string;
|
|
2327
|
-
updated_at: string;
|
|
2328
|
-
};
|
|
2329
|
-
Insert: {
|
|
2330
|
-
checklist?: Json | null;
|
|
2331
|
-
completed_at?: string | null;
|
|
2332
|
-
created_at?: string;
|
|
2333
|
-
description?: string | null;
|
|
2334
|
-
due_date?: string | null;
|
|
2335
|
-
file_url?: string | null;
|
|
2336
|
-
id?: string;
|
|
2337
|
-
metadata?: Json | null;
|
|
2338
|
-
milestone_id?: string | null;
|
|
2339
|
-
name: string;
|
|
2340
|
-
organization_id: string;
|
|
2341
|
-
parent_task_id?: string | null;
|
|
2342
|
-
project_id: string;
|
|
2343
|
-
resume_context?: Json | null;
|
|
2344
|
-
status?: string;
|
|
2345
|
-
type?: string;
|
|
2346
|
-
updated_at?: string;
|
|
2347
|
-
};
|
|
2348
|
-
Update: {
|
|
2349
|
-
checklist?: Json | null;
|
|
2350
|
-
completed_at?: string | null;
|
|
2351
|
-
created_at?: string;
|
|
2352
|
-
description?: string | null;
|
|
2353
|
-
due_date?: string | null;
|
|
2354
|
-
file_url?: string | null;
|
|
2355
|
-
id?: string;
|
|
2356
|
-
metadata?: Json | null;
|
|
2357
|
-
milestone_id?: string | null;
|
|
2358
|
-
name?: string;
|
|
2359
|
-
organization_id?: string;
|
|
2360
|
-
parent_task_id?: string | null;
|
|
2361
|
-
project_id?: string;
|
|
2362
|
-
resume_context?: Json | null;
|
|
2363
|
-
status?: string;
|
|
2364
|
-
type?: string;
|
|
2365
|
-
updated_at?: string;
|
|
2366
|
-
};
|
|
2367
|
-
Relationships: [
|
|
2368
|
-
{
|
|
2369
|
-
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2370
|
-
columns: ['project_id'];
|
|
2371
|
-
isOneToOne: false;
|
|
2372
|
-
referencedRelation: 'prj_projects';
|
|
2373
|
-
referencedColumns: ['id'];
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2377
|
-
columns: ['milestone_id'];
|
|
2378
|
-
isOneToOne: false;
|
|
2379
|
-
referencedRelation: 'prj_milestones';
|
|
2380
|
-
referencedColumns: ['id'];
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2384
|
-
columns: ['organization_id'];
|
|
2385
|
-
isOneToOne: false;
|
|
2386
|
-
referencedRelation: 'organizations';
|
|
2387
|
-
referencedColumns: ['id'];
|
|
2388
|
-
}
|
|
2389
|
-
];
|
|
2390
|
-
};
|
|
2391
|
-
prj_projects: {
|
|
2392
|
-
Row: {
|
|
2393
|
-
actual_end_date: string | null;
|
|
2394
|
-
client_company_id: string | null;
|
|
2395
|
-
contract_value: number | null;
|
|
2396
|
-
created_at: string;
|
|
2397
|
-
deal_id: string | null;
|
|
2398
|
-
description: string | null;
|
|
2399
|
-
id: string;
|
|
2400
|
-
kind: string;
|
|
2401
|
-
metadata: Json | null;
|
|
2402
|
-
name: string;
|
|
2403
|
-
organization_id: string;
|
|
2404
|
-
start_date: string | null;
|
|
2405
|
-
status: string;
|
|
2406
|
-
target_end_date: string | null;
|
|
2407
|
-
updated_at: string;
|
|
2408
|
-
};
|
|
2409
|
-
Insert: {
|
|
2410
|
-
actual_end_date?: string | null;
|
|
2411
|
-
client_company_id?: string | null;
|
|
2412
|
-
contract_value?: number | null;
|
|
2413
|
-
created_at?: string;
|
|
2414
|
-
deal_id?: string | null;
|
|
2415
|
-
description?: string | null;
|
|
2416
|
-
id?: string;
|
|
2417
|
-
kind?: string;
|
|
2418
|
-
metadata?: Json | null;
|
|
2419
|
-
name: string;
|
|
2420
|
-
organization_id: string;
|
|
2421
|
-
start_date?: string | null;
|
|
2422
|
-
status?: string;
|
|
2423
|
-
target_end_date?: string | null;
|
|
2424
|
-
updated_at?: string;
|
|
2425
|
-
};
|
|
2426
|
-
Update: {
|
|
2427
|
-
actual_end_date?: string | null;
|
|
2428
|
-
client_company_id?: string | null;
|
|
2429
|
-
contract_value?: number | null;
|
|
2430
|
-
created_at?: string;
|
|
2431
|
-
deal_id?: string | null;
|
|
2432
|
-
description?: string | null;
|
|
2433
|
-
id?: string;
|
|
2434
|
-
kind?: string;
|
|
2435
|
-
metadata?: Json | null;
|
|
2436
|
-
name?: string;
|
|
2437
|
-
organization_id?: string;
|
|
2438
|
-
start_date?: string | null;
|
|
2439
|
-
status?: string;
|
|
2440
|
-
target_end_date?: string | null;
|
|
2441
|
-
updated_at?: string;
|
|
2442
|
-
};
|
|
2443
|
-
Relationships: [
|
|
2444
|
-
{
|
|
2445
|
-
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2446
|
-
columns: ['client_company_id'];
|
|
2447
|
-
isOneToOne: false;
|
|
2448
|
-
referencedRelation: 'acq_companies';
|
|
2449
|
-
referencedColumns: ['id'];
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2453
|
-
columns: ['deal_id'];
|
|
2454
|
-
isOneToOne: false;
|
|
2455
|
-
referencedRelation: 'acq_deals';
|
|
2456
|
-
referencedColumns: ['id'];
|
|
2457
|
-
},
|
|
2458
|
-
{
|
|
2459
|
-
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2460
|
-
columns: ['organization_id'];
|
|
2461
|
-
isOneToOne: false;
|
|
2462
|
-
referencedRelation: 'organizations';
|
|
2463
|
-
referencedColumns: ['id'];
|
|
2464
|
-
}
|
|
2465
|
-
];
|
|
2466
|
-
};
|
|
2467
|
-
prj_milestones: {
|
|
2468
|
-
Row: {
|
|
2469
|
-
checklist: Json | null;
|
|
2470
|
-
completed_at: string | null;
|
|
2471
|
-
created_at: string;
|
|
2472
|
-
description: string | null;
|
|
2473
|
-
due_date: string | null;
|
|
2474
|
-
id: string;
|
|
2475
|
-
metadata: Json | null;
|
|
2476
|
-
name: string;
|
|
2477
|
-
organization_id: string;
|
|
2478
|
-
project_id: string;
|
|
2479
|
-
sequence: number;
|
|
2480
|
-
status: string;
|
|
2481
|
-
updated_at: string;
|
|
2482
|
-
};
|
|
2483
|
-
Insert: {
|
|
2484
|
-
checklist?: Json | null;
|
|
2485
|
-
completed_at?: string | null;
|
|
2486
|
-
created_at?: string;
|
|
2487
|
-
description?: string | null;
|
|
2488
|
-
due_date?: string | null;
|
|
2489
|
-
id?: string;
|
|
2490
|
-
metadata?: Json | null;
|
|
2491
|
-
name: string;
|
|
2492
|
-
organization_id: string;
|
|
2493
|
-
project_id: string;
|
|
2494
|
-
sequence?: number;
|
|
2495
|
-
status?: string;
|
|
2496
|
-
updated_at?: string;
|
|
2497
|
-
};
|
|
2498
|
-
Update: {
|
|
2499
|
-
checklist?: Json | null;
|
|
2500
|
-
completed_at?: string | null;
|
|
2501
|
-
created_at?: string;
|
|
2502
|
-
description?: string | null;
|
|
2503
|
-
due_date?: string | null;
|
|
2504
|
-
id?: string;
|
|
2505
|
-
metadata?: Json | null;
|
|
2506
|
-
name?: string;
|
|
2507
|
-
organization_id?: string;
|
|
2508
|
-
project_id?: string;
|
|
2509
|
-
sequence?: number;
|
|
2510
|
-
status?: string;
|
|
2511
|
-
updated_at?: string;
|
|
2512
|
-
};
|
|
2513
|
-
Relationships: [
|
|
2514
|
-
{
|
|
2515
|
-
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2516
|
-
columns: ['project_id'];
|
|
2517
|
-
isOneToOne: false;
|
|
2518
|
-
referencedRelation: 'prj_projects';
|
|
2519
|
-
referencedColumns: ['id'];
|
|
2520
|
-
},
|
|
2521
|
-
{
|
|
2522
|
-
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2523
|
-
columns: ['organization_id'];
|
|
2524
|
-
isOneToOne: false;
|
|
2525
|
-
referencedRelation: 'organizations';
|
|
2526
|
-
referencedColumns: ['id'];
|
|
2527
|
-
}
|
|
2528
|
-
];
|
|
2529
|
-
};
|
|
2530
|
-
prj_notes: {
|
|
2531
|
-
Row: {
|
|
2532
|
-
content: string;
|
|
2533
|
-
created_at: string;
|
|
2534
|
-
created_by: string | null;
|
|
2535
|
-
id: string;
|
|
2536
|
-
metadata: Json | null;
|
|
2537
|
-
milestone_id: string | null;
|
|
2538
|
-
occurred_at: string;
|
|
2539
|
-
organization_id: string;
|
|
2540
|
-
project_id: string;
|
|
2541
|
-
summary: string | null;
|
|
2542
|
-
task_id: string | null;
|
|
2543
|
-
type: string;
|
|
2544
|
-
};
|
|
2545
|
-
Insert: {
|
|
2546
|
-
content: string;
|
|
2547
|
-
created_at?: string;
|
|
2548
|
-
created_by?: string | null;
|
|
2549
|
-
id?: string;
|
|
2550
|
-
metadata?: Json | null;
|
|
2551
|
-
milestone_id?: string | null;
|
|
2552
|
-
occurred_at?: string;
|
|
2553
|
-
organization_id: string;
|
|
2554
|
-
project_id: string;
|
|
2555
|
-
summary?: string | null;
|
|
2556
|
-
task_id?: string | null;
|
|
2557
|
-
type?: string;
|
|
2558
|
-
};
|
|
2559
|
-
Update: {
|
|
2560
|
-
content?: string;
|
|
2561
|
-
created_at?: string;
|
|
2562
|
-
created_by?: string | null;
|
|
2563
|
-
id?: string;
|
|
2564
|
-
metadata?: Json | null;
|
|
2565
|
-
milestone_id?: string | null;
|
|
2566
|
-
occurred_at?: string;
|
|
2567
|
-
organization_id?: string;
|
|
2568
|
-
project_id?: string;
|
|
2569
|
-
summary?: string | null;
|
|
2570
|
-
task_id?: string | null;
|
|
2571
|
-
type?: string;
|
|
2572
|
-
};
|
|
2573
|
-
Relationships: [
|
|
2574
|
-
{
|
|
2575
|
-
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2576
|
-
columns: ['created_by'];
|
|
2577
|
-
isOneToOne: false;
|
|
2578
|
-
referencedRelation: 'users';
|
|
2579
|
-
referencedColumns: ['id'];
|
|
2580
|
-
},
|
|
2581
|
-
{
|
|
2582
|
-
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2583
|
-
columns: ['project_id'];
|
|
2584
|
-
isOneToOne: false;
|
|
2585
|
-
referencedRelation: 'prj_projects';
|
|
2586
|
-
referencedColumns: ['id'];
|
|
2587
|
-
},
|
|
2588
|
-
{
|
|
2589
|
-
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2590
|
-
columns: ['organization_id'];
|
|
2591
|
-
isOneToOne: false;
|
|
2592
|
-
referencedRelation: 'organizations';
|
|
2593
|
-
referencedColumns: ['id'];
|
|
2304
|
+
referencedRelation: "organizations";
|
|
2305
|
+
referencedColumns: ["id"];
|
|
2594
2306
|
}
|
|
2595
2307
|
];
|
|
2596
2308
|
};
|
|
@@ -2642,11 +2354,11 @@ type Database = {
|
|
|
2642
2354
|
};
|
|
2643
2355
|
Relationships: [
|
|
2644
2356
|
{
|
|
2645
|
-
foreignKeyName:
|
|
2646
|
-
columns: [
|
|
2357
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
2358
|
+
columns: ["organization_id"];
|
|
2647
2359
|
isOneToOne: false;
|
|
2648
|
-
referencedRelation:
|
|
2649
|
-
referencedColumns: [
|
|
2360
|
+
referencedRelation: "organizations";
|
|
2361
|
+
referencedColumns: ["id"];
|
|
2650
2362
|
}
|
|
2651
2363
|
];
|
|
2652
2364
|
};
|
|
@@ -2701,25 +2413,25 @@ type Database = {
|
|
|
2701
2413
|
};
|
|
2702
2414
|
Relationships: [
|
|
2703
2415
|
{
|
|
2704
|
-
foreignKeyName:
|
|
2705
|
-
columns: [
|
|
2416
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
2417
|
+
columns: ["execution_id"];
|
|
2706
2418
|
isOneToOne: false;
|
|
2707
|
-
referencedRelation:
|
|
2708
|
-
referencedColumns: [
|
|
2419
|
+
referencedRelation: "execution_logs";
|
|
2420
|
+
referencedColumns: ["execution_id"];
|
|
2709
2421
|
},
|
|
2710
2422
|
{
|
|
2711
|
-
foreignKeyName:
|
|
2712
|
-
columns: [
|
|
2423
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
2424
|
+
columns: ["organization_id"];
|
|
2713
2425
|
isOneToOne: false;
|
|
2714
|
-
referencedRelation:
|
|
2715
|
-
referencedColumns: [
|
|
2426
|
+
referencedRelation: "organizations";
|
|
2427
|
+
referencedColumns: ["id"];
|
|
2716
2428
|
},
|
|
2717
2429
|
{
|
|
2718
|
-
foreignKeyName:
|
|
2719
|
-
columns: [
|
|
2430
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
2431
|
+
columns: ["resolved_by"];
|
|
2720
2432
|
isOneToOne: false;
|
|
2721
|
-
referencedRelation:
|
|
2722
|
-
referencedColumns: [
|
|
2433
|
+
referencedRelation: "users";
|
|
2434
|
+
referencedColumns: ["id"];
|
|
2723
2435
|
}
|
|
2724
2436
|
];
|
|
2725
2437
|
};
|
|
@@ -2801,32 +2513,32 @@ type Database = {
|
|
|
2801
2513
|
};
|
|
2802
2514
|
Relationships: [
|
|
2803
2515
|
{
|
|
2804
|
-
foreignKeyName:
|
|
2805
|
-
columns: [
|
|
2516
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
2517
|
+
columns: ["organization_id"];
|
|
2806
2518
|
isOneToOne: false;
|
|
2807
|
-
referencedRelation:
|
|
2808
|
-
referencedColumns: [
|
|
2519
|
+
referencedRelation: "organizations";
|
|
2520
|
+
referencedColumns: ["id"];
|
|
2809
2521
|
},
|
|
2810
2522
|
{
|
|
2811
|
-
foreignKeyName:
|
|
2812
|
-
columns: [
|
|
2523
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
2524
|
+
columns: ["origin_execution_id"];
|
|
2813
2525
|
isOneToOne: false;
|
|
2814
|
-
referencedRelation:
|
|
2815
|
-
referencedColumns: [
|
|
2526
|
+
referencedRelation: "execution_logs";
|
|
2527
|
+
referencedColumns: ["execution_id"];
|
|
2816
2528
|
},
|
|
2817
2529
|
{
|
|
2818
|
-
foreignKeyName:
|
|
2819
|
-
columns: [
|
|
2530
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
2531
|
+
columns: ["session_id"];
|
|
2820
2532
|
isOneToOne: false;
|
|
2821
|
-
referencedRelation:
|
|
2822
|
-
referencedColumns: [
|
|
2533
|
+
referencedRelation: "sessions";
|
|
2534
|
+
referencedColumns: ["session_id"];
|
|
2823
2535
|
},
|
|
2824
2536
|
{
|
|
2825
|
-
foreignKeyName:
|
|
2826
|
-
columns: [
|
|
2537
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
2538
|
+
columns: ["user_id"];
|
|
2827
2539
|
isOneToOne: false;
|
|
2828
|
-
referencedRelation:
|
|
2829
|
-
referencedColumns: [
|
|
2540
|
+
referencedRelation: "users";
|
|
2541
|
+
referencedColumns: ["id"];
|
|
2830
2542
|
}
|
|
2831
2543
|
];
|
|
2832
2544
|
};
|
|
@@ -2872,18 +2584,18 @@ type Database = {
|
|
|
2872
2584
|
};
|
|
2873
2585
|
Relationships: [
|
|
2874
2586
|
{
|
|
2875
|
-
foreignKeyName:
|
|
2876
|
-
columns: [
|
|
2587
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
2588
|
+
columns: ["execution_id"];
|
|
2877
2589
|
isOneToOne: true;
|
|
2878
|
-
referencedRelation:
|
|
2879
|
-
referencedColumns: [
|
|
2590
|
+
referencedRelation: "execution_logs";
|
|
2591
|
+
referencedColumns: ["execution_id"];
|
|
2880
2592
|
},
|
|
2881
2593
|
{
|
|
2882
|
-
foreignKeyName:
|
|
2883
|
-
columns: [
|
|
2594
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
2595
|
+
columns: ["organization_id"];
|
|
2884
2596
|
isOneToOne: false;
|
|
2885
|
-
referencedRelation:
|
|
2886
|
-
referencedColumns: [
|
|
2597
|
+
referencedRelation: "organizations";
|
|
2598
|
+
referencedColumns: ["id"];
|
|
2887
2599
|
}
|
|
2888
2600
|
];
|
|
2889
2601
|
};
|
|
@@ -2926,18 +2638,18 @@ type Database = {
|
|
|
2926
2638
|
};
|
|
2927
2639
|
Relationships: [
|
|
2928
2640
|
{
|
|
2929
|
-
foreignKeyName:
|
|
2930
|
-
columns: [
|
|
2641
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
2642
|
+
columns: ["organization_id"];
|
|
2931
2643
|
isOneToOne: false;
|
|
2932
|
-
referencedRelation:
|
|
2933
|
-
referencedColumns: [
|
|
2644
|
+
referencedRelation: "organizations";
|
|
2645
|
+
referencedColumns: ["id"];
|
|
2934
2646
|
},
|
|
2935
2647
|
{
|
|
2936
|
-
foreignKeyName:
|
|
2937
|
-
columns: [
|
|
2648
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
2649
|
+
columns: ["user_id"];
|
|
2938
2650
|
isOneToOne: false;
|
|
2939
|
-
referencedRelation:
|
|
2940
|
-
referencedColumns: [
|
|
2651
|
+
referencedRelation: "users";
|
|
2652
|
+
referencedColumns: ["id"];
|
|
2941
2653
|
}
|
|
2942
2654
|
];
|
|
2943
2655
|
};
|
|
@@ -2992,18 +2704,18 @@ type Database = {
|
|
|
2992
2704
|
};
|
|
2993
2705
|
Relationships: [
|
|
2994
2706
|
{
|
|
2995
|
-
foreignKeyName:
|
|
2996
|
-
columns: [
|
|
2707
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
2708
|
+
columns: ["inviter_user_id"];
|
|
2997
2709
|
isOneToOne: false;
|
|
2998
|
-
referencedRelation:
|
|
2999
|
-
referencedColumns: [
|
|
2710
|
+
referencedRelation: "users";
|
|
2711
|
+
referencedColumns: ["id"];
|
|
3000
2712
|
},
|
|
3001
2713
|
{
|
|
3002
|
-
foreignKeyName:
|
|
3003
|
-
columns: [
|
|
2714
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
2715
|
+
columns: ["organization_id"];
|
|
3004
2716
|
isOneToOne: false;
|
|
3005
|
-
referencedRelation:
|
|
3006
|
-
referencedColumns: [
|
|
2717
|
+
referencedRelation: "organizations";
|
|
2718
|
+
referencedColumns: ["id"];
|
|
3007
2719
|
}
|
|
3008
2720
|
];
|
|
3009
2721
|
};
|
|
@@ -3043,18 +2755,18 @@ type Database = {
|
|
|
3043
2755
|
};
|
|
3044
2756
|
Relationships: [
|
|
3045
2757
|
{
|
|
3046
|
-
foreignKeyName:
|
|
3047
|
-
columns: [
|
|
2758
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
2759
|
+
columns: ["organization_id"];
|
|
3048
2760
|
isOneToOne: false;
|
|
3049
|
-
referencedRelation:
|
|
3050
|
-
referencedColumns: [
|
|
2761
|
+
referencedRelation: "organizations";
|
|
2762
|
+
referencedColumns: ["id"];
|
|
3051
2763
|
},
|
|
3052
2764
|
{
|
|
3053
|
-
foreignKeyName:
|
|
3054
|
-
columns: [
|
|
2765
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
2766
|
+
columns: ["user_id"];
|
|
3055
2767
|
isOneToOne: false;
|
|
3056
|
-
referencedRelation:
|
|
3057
|
-
referencedColumns: [
|
|
2768
|
+
referencedRelation: "users";
|
|
2769
|
+
referencedColumns: ["id"];
|
|
3058
2770
|
}
|
|
3059
2771
|
];
|
|
3060
2772
|
};
|
|
@@ -3094,6 +2806,315 @@ type Database = {
|
|
|
3094
2806
|
};
|
|
3095
2807
|
Relationships: [];
|
|
3096
2808
|
};
|
|
2809
|
+
prj_milestones: {
|
|
2810
|
+
Row: {
|
|
2811
|
+
checklist: Json | null;
|
|
2812
|
+
completed_at: string | null;
|
|
2813
|
+
created_at: string;
|
|
2814
|
+
description: string | null;
|
|
2815
|
+
due_date: string | null;
|
|
2816
|
+
id: string;
|
|
2817
|
+
metadata: Json | null;
|
|
2818
|
+
name: string;
|
|
2819
|
+
organization_id: string;
|
|
2820
|
+
project_id: string;
|
|
2821
|
+
sequence: number;
|
|
2822
|
+
status: string;
|
|
2823
|
+
updated_at: string;
|
|
2824
|
+
};
|
|
2825
|
+
Insert: {
|
|
2826
|
+
checklist?: Json | null;
|
|
2827
|
+
completed_at?: string | null;
|
|
2828
|
+
created_at?: string;
|
|
2829
|
+
description?: string | null;
|
|
2830
|
+
due_date?: string | null;
|
|
2831
|
+
id?: string;
|
|
2832
|
+
metadata?: Json | null;
|
|
2833
|
+
name: string;
|
|
2834
|
+
organization_id: string;
|
|
2835
|
+
project_id: string;
|
|
2836
|
+
sequence?: number;
|
|
2837
|
+
status?: string;
|
|
2838
|
+
updated_at?: string;
|
|
2839
|
+
};
|
|
2840
|
+
Update: {
|
|
2841
|
+
checklist?: Json | null;
|
|
2842
|
+
completed_at?: string | null;
|
|
2843
|
+
created_at?: string;
|
|
2844
|
+
description?: string | null;
|
|
2845
|
+
due_date?: string | null;
|
|
2846
|
+
id?: string;
|
|
2847
|
+
metadata?: Json | null;
|
|
2848
|
+
name?: string;
|
|
2849
|
+
organization_id?: string;
|
|
2850
|
+
project_id?: string;
|
|
2851
|
+
sequence?: number;
|
|
2852
|
+
status?: string;
|
|
2853
|
+
updated_at?: string;
|
|
2854
|
+
};
|
|
2855
|
+
Relationships: [
|
|
2856
|
+
{
|
|
2857
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2858
|
+
columns: ["organization_id"];
|
|
2859
|
+
isOneToOne: false;
|
|
2860
|
+
referencedRelation: "organizations";
|
|
2861
|
+
referencedColumns: ["id"];
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2865
|
+
columns: ["project_id"];
|
|
2866
|
+
isOneToOne: false;
|
|
2867
|
+
referencedRelation: "prj_projects";
|
|
2868
|
+
referencedColumns: ["id"];
|
|
2869
|
+
}
|
|
2870
|
+
];
|
|
2871
|
+
};
|
|
2872
|
+
prj_notes: {
|
|
2873
|
+
Row: {
|
|
2874
|
+
content: string;
|
|
2875
|
+
created_at: string;
|
|
2876
|
+
created_by: string | null;
|
|
2877
|
+
id: string;
|
|
2878
|
+
metadata: Json | null;
|
|
2879
|
+
milestone_id: string | null;
|
|
2880
|
+
occurred_at: string;
|
|
2881
|
+
organization_id: string;
|
|
2882
|
+
project_id: string;
|
|
2883
|
+
summary: string | null;
|
|
2884
|
+
task_id: string | null;
|
|
2885
|
+
type: string;
|
|
2886
|
+
};
|
|
2887
|
+
Insert: {
|
|
2888
|
+
content: string;
|
|
2889
|
+
created_at?: string;
|
|
2890
|
+
created_by?: string | null;
|
|
2891
|
+
id?: string;
|
|
2892
|
+
metadata?: Json | null;
|
|
2893
|
+
milestone_id?: string | null;
|
|
2894
|
+
occurred_at?: string;
|
|
2895
|
+
organization_id: string;
|
|
2896
|
+
project_id: string;
|
|
2897
|
+
summary?: string | null;
|
|
2898
|
+
task_id?: string | null;
|
|
2899
|
+
type?: string;
|
|
2900
|
+
};
|
|
2901
|
+
Update: {
|
|
2902
|
+
content?: string;
|
|
2903
|
+
created_at?: string;
|
|
2904
|
+
created_by?: string | null;
|
|
2905
|
+
id?: string;
|
|
2906
|
+
metadata?: Json | null;
|
|
2907
|
+
milestone_id?: string | null;
|
|
2908
|
+
occurred_at?: string;
|
|
2909
|
+
organization_id?: string;
|
|
2910
|
+
project_id?: string;
|
|
2911
|
+
summary?: string | null;
|
|
2912
|
+
task_id?: string | null;
|
|
2913
|
+
type?: string;
|
|
2914
|
+
};
|
|
2915
|
+
Relationships: [
|
|
2916
|
+
{
|
|
2917
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2918
|
+
columns: ["created_by"];
|
|
2919
|
+
isOneToOne: false;
|
|
2920
|
+
referencedRelation: "users";
|
|
2921
|
+
referencedColumns: ["id"];
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2925
|
+
columns: ["milestone_id"];
|
|
2926
|
+
isOneToOne: false;
|
|
2927
|
+
referencedRelation: "prj_milestones";
|
|
2928
|
+
referencedColumns: ["id"];
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2932
|
+
columns: ["organization_id"];
|
|
2933
|
+
isOneToOne: false;
|
|
2934
|
+
referencedRelation: "organizations";
|
|
2935
|
+
referencedColumns: ["id"];
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2939
|
+
columns: ["project_id"];
|
|
2940
|
+
isOneToOne: false;
|
|
2941
|
+
referencedRelation: "prj_projects";
|
|
2942
|
+
referencedColumns: ["id"];
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2946
|
+
columns: ["task_id"];
|
|
2947
|
+
isOneToOne: false;
|
|
2948
|
+
referencedRelation: "prj_tasks";
|
|
2949
|
+
referencedColumns: ["id"];
|
|
2950
|
+
}
|
|
2951
|
+
];
|
|
2952
|
+
};
|
|
2953
|
+
prj_projects: {
|
|
2954
|
+
Row: {
|
|
2955
|
+
actual_end_date: string | null;
|
|
2956
|
+
client_company_id: string | null;
|
|
2957
|
+
contract_value: number | null;
|
|
2958
|
+
created_at: string;
|
|
2959
|
+
deal_id: string | null;
|
|
2960
|
+
description: string | null;
|
|
2961
|
+
id: string;
|
|
2962
|
+
kind: string;
|
|
2963
|
+
metadata: Json | null;
|
|
2964
|
+
name: string;
|
|
2965
|
+
organization_id: string;
|
|
2966
|
+
start_date: string | null;
|
|
2967
|
+
status: string;
|
|
2968
|
+
target_end_date: string | null;
|
|
2969
|
+
updated_at: string;
|
|
2970
|
+
};
|
|
2971
|
+
Insert: {
|
|
2972
|
+
actual_end_date?: string | null;
|
|
2973
|
+
client_company_id?: string | null;
|
|
2974
|
+
contract_value?: number | null;
|
|
2975
|
+
created_at?: string;
|
|
2976
|
+
deal_id?: string | null;
|
|
2977
|
+
description?: string | null;
|
|
2978
|
+
id?: string;
|
|
2979
|
+
kind?: string;
|
|
2980
|
+
metadata?: Json | null;
|
|
2981
|
+
name: string;
|
|
2982
|
+
organization_id: string;
|
|
2983
|
+
start_date?: string | null;
|
|
2984
|
+
status?: string;
|
|
2985
|
+
target_end_date?: string | null;
|
|
2986
|
+
updated_at?: string;
|
|
2987
|
+
};
|
|
2988
|
+
Update: {
|
|
2989
|
+
actual_end_date?: string | null;
|
|
2990
|
+
client_company_id?: string | null;
|
|
2991
|
+
contract_value?: number | null;
|
|
2992
|
+
created_at?: string;
|
|
2993
|
+
deal_id?: string | null;
|
|
2994
|
+
description?: string | null;
|
|
2995
|
+
id?: string;
|
|
2996
|
+
kind?: string;
|
|
2997
|
+
metadata?: Json | null;
|
|
2998
|
+
name?: string;
|
|
2999
|
+
organization_id?: string;
|
|
3000
|
+
start_date?: string | null;
|
|
3001
|
+
status?: string;
|
|
3002
|
+
target_end_date?: string | null;
|
|
3003
|
+
updated_at?: string;
|
|
3004
|
+
};
|
|
3005
|
+
Relationships: [
|
|
3006
|
+
{
|
|
3007
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
3008
|
+
columns: ["client_company_id"];
|
|
3009
|
+
isOneToOne: false;
|
|
3010
|
+
referencedRelation: "acq_companies";
|
|
3011
|
+
referencedColumns: ["id"];
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
3015
|
+
columns: ["deal_id"];
|
|
3016
|
+
isOneToOne: false;
|
|
3017
|
+
referencedRelation: "acq_deals";
|
|
3018
|
+
referencedColumns: ["id"];
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
3022
|
+
columns: ["organization_id"];
|
|
3023
|
+
isOneToOne: false;
|
|
3024
|
+
referencedRelation: "organizations";
|
|
3025
|
+
referencedColumns: ["id"];
|
|
3026
|
+
}
|
|
3027
|
+
];
|
|
3028
|
+
};
|
|
3029
|
+
prj_tasks: {
|
|
3030
|
+
Row: {
|
|
3031
|
+
checklist: Json;
|
|
3032
|
+
completed_at: string | null;
|
|
3033
|
+
created_at: string;
|
|
3034
|
+
description: string | null;
|
|
3035
|
+
due_date: string | null;
|
|
3036
|
+
file_url: string | null;
|
|
3037
|
+
id: string;
|
|
3038
|
+
metadata: Json | null;
|
|
3039
|
+
milestone_id: string | null;
|
|
3040
|
+
name: string;
|
|
3041
|
+
organization_id: string;
|
|
3042
|
+
parent_task_id: string | null;
|
|
3043
|
+
project_id: string;
|
|
3044
|
+
resume_context: Json | null;
|
|
3045
|
+
status: string;
|
|
3046
|
+
type: string;
|
|
3047
|
+
updated_at: string;
|
|
3048
|
+
};
|
|
3049
|
+
Insert: {
|
|
3050
|
+
checklist?: Json;
|
|
3051
|
+
completed_at?: string | null;
|
|
3052
|
+
created_at?: string;
|
|
3053
|
+
description?: string | null;
|
|
3054
|
+
due_date?: string | null;
|
|
3055
|
+
file_url?: string | null;
|
|
3056
|
+
id?: string;
|
|
3057
|
+
metadata?: Json | null;
|
|
3058
|
+
milestone_id?: string | null;
|
|
3059
|
+
name: string;
|
|
3060
|
+
organization_id: string;
|
|
3061
|
+
parent_task_id?: string | null;
|
|
3062
|
+
project_id: string;
|
|
3063
|
+
resume_context?: Json | null;
|
|
3064
|
+
status?: string;
|
|
3065
|
+
type?: string;
|
|
3066
|
+
updated_at?: string;
|
|
3067
|
+
};
|
|
3068
|
+
Update: {
|
|
3069
|
+
checklist?: Json;
|
|
3070
|
+
completed_at?: string | null;
|
|
3071
|
+
created_at?: string;
|
|
3072
|
+
description?: string | null;
|
|
3073
|
+
due_date?: string | null;
|
|
3074
|
+
file_url?: string | null;
|
|
3075
|
+
id?: string;
|
|
3076
|
+
metadata?: Json | null;
|
|
3077
|
+
milestone_id?: string | null;
|
|
3078
|
+
name?: string;
|
|
3079
|
+
organization_id?: string;
|
|
3080
|
+
parent_task_id?: string | null;
|
|
3081
|
+
project_id?: string;
|
|
3082
|
+
resume_context?: Json | null;
|
|
3083
|
+
status?: string;
|
|
3084
|
+
type?: string;
|
|
3085
|
+
updated_at?: string;
|
|
3086
|
+
};
|
|
3087
|
+
Relationships: [
|
|
3088
|
+
{
|
|
3089
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
3090
|
+
columns: ["milestone_id"];
|
|
3091
|
+
isOneToOne: false;
|
|
3092
|
+
referencedRelation: "prj_milestones";
|
|
3093
|
+
referencedColumns: ["id"];
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
3097
|
+
columns: ["organization_id"];
|
|
3098
|
+
isOneToOne: false;
|
|
3099
|
+
referencedRelation: "organizations";
|
|
3100
|
+
referencedColumns: ["id"];
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
3104
|
+
columns: ["parent_task_id"];
|
|
3105
|
+
isOneToOne: false;
|
|
3106
|
+
referencedRelation: "prj_tasks";
|
|
3107
|
+
referencedColumns: ["id"];
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
3111
|
+
columns: ["project_id"];
|
|
3112
|
+
isOneToOne: false;
|
|
3113
|
+
referencedRelation: "prj_projects";
|
|
3114
|
+
referencedColumns: ["id"];
|
|
3115
|
+
}
|
|
3116
|
+
];
|
|
3117
|
+
};
|
|
3097
3118
|
session_messages: {
|
|
3098
3119
|
Row: {
|
|
3099
3120
|
created_at: string | null;
|
|
@@ -3130,11 +3151,11 @@ type Database = {
|
|
|
3130
3151
|
};
|
|
3131
3152
|
Relationships: [
|
|
3132
3153
|
{
|
|
3133
|
-
foreignKeyName:
|
|
3134
|
-
columns: [
|
|
3154
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
3155
|
+
columns: ["session_id"];
|
|
3135
3156
|
isOneToOne: false;
|
|
3136
|
-
referencedRelation:
|
|
3137
|
-
referencedColumns: [
|
|
3157
|
+
referencedRelation: "sessions";
|
|
3158
|
+
referencedColumns: ["session_id"];
|
|
3138
3159
|
}
|
|
3139
3160
|
];
|
|
3140
3161
|
};
|
|
@@ -3189,18 +3210,18 @@ type Database = {
|
|
|
3189
3210
|
};
|
|
3190
3211
|
Relationships: [
|
|
3191
3212
|
{
|
|
3192
|
-
foreignKeyName:
|
|
3193
|
-
columns: [
|
|
3213
|
+
foreignKeyName: "fk_organization";
|
|
3214
|
+
columns: ["organization_id"];
|
|
3194
3215
|
isOneToOne: false;
|
|
3195
|
-
referencedRelation:
|
|
3196
|
-
referencedColumns: [
|
|
3216
|
+
referencedRelation: "organizations";
|
|
3217
|
+
referencedColumns: ["id"];
|
|
3197
3218
|
},
|
|
3198
3219
|
{
|
|
3199
|
-
foreignKeyName:
|
|
3200
|
-
columns: [
|
|
3220
|
+
foreignKeyName: "fk_user";
|
|
3221
|
+
columns: ["user_id"];
|
|
3201
3222
|
isOneToOne: false;
|
|
3202
|
-
referencedRelation:
|
|
3203
|
-
referencedColumns: [
|
|
3223
|
+
referencedRelation: "users";
|
|
3224
|
+
referencedColumns: ["id"];
|
|
3204
3225
|
}
|
|
3205
3226
|
];
|
|
3206
3227
|
};
|
|
@@ -3276,11 +3297,11 @@ type Database = {
|
|
|
3276
3297
|
};
|
|
3277
3298
|
Relationships: [
|
|
3278
3299
|
{
|
|
3279
|
-
foreignKeyName:
|
|
3280
|
-
columns: [
|
|
3300
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
3301
|
+
columns: ["organization_id"];
|
|
3281
3302
|
isOneToOne: false;
|
|
3282
|
-
referencedRelation:
|
|
3283
|
-
referencedColumns: [
|
|
3303
|
+
referencedRelation: "organizations";
|
|
3304
|
+
referencedColumns: ["id"];
|
|
3284
3305
|
}
|
|
3285
3306
|
];
|
|
3286
3307
|
};
|
|
@@ -3335,11 +3356,11 @@ type Database = {
|
|
|
3335
3356
|
};
|
|
3336
3357
|
Relationships: [
|
|
3337
3358
|
{
|
|
3338
|
-
foreignKeyName:
|
|
3339
|
-
columns: [
|
|
3359
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
3360
|
+
columns: ["last_visited_org"];
|
|
3340
3361
|
isOneToOne: false;
|
|
3341
|
-
referencedRelation:
|
|
3342
|
-
referencedColumns: [
|
|
3362
|
+
referencedRelation: "organizations";
|
|
3363
|
+
referencedColumns: ["id"];
|
|
3343
3364
|
}
|
|
3344
3365
|
];
|
|
3345
3366
|
};
|
|
@@ -3385,11 +3406,11 @@ type Database = {
|
|
|
3385
3406
|
};
|
|
3386
3407
|
Relationships: [
|
|
3387
3408
|
{
|
|
3388
|
-
foreignKeyName:
|
|
3389
|
-
columns: [
|
|
3409
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
3410
|
+
columns: ["organization_id"];
|
|
3390
3411
|
isOneToOne: false;
|
|
3391
|
-
referencedRelation:
|
|
3392
|
-
referencedColumns: [
|
|
3412
|
+
referencedRelation: "organizations";
|
|
3413
|
+
referencedColumns: ["id"];
|
|
3393
3414
|
}
|
|
3394
3415
|
];
|
|
3395
3416
|
};
|
|
@@ -7529,6 +7550,12 @@ interface ElevasConfig {
|
|
|
7529
7550
|
dev?: {
|
|
7530
7551
|
port?: number;
|
|
7531
7552
|
};
|
|
7553
|
+
/**
|
|
7554
|
+
* Directory (relative to CWD) to scan for deployable documentation.
|
|
7555
|
+
* Defaults to 'docs'. Use '../docs' when running the SDK from a subdirectory
|
|
7556
|
+
* and wanting to consolidate docs at the project root.
|
|
7557
|
+
*/
|
|
7558
|
+
docsDir?: string;
|
|
7532
7559
|
}
|
|
7533
7560
|
|
|
7534
7561
|
/**
|