@elevasis/sdk 1.0.1 → 1.1.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 +784 -3192
- package/dist/index.d.ts +483 -331
- package/dist/types/worker/index.d.ts +2 -2
- package/package.json +3 -9
- package/reference/_navigation.md +2 -2
- package/reference/cli.mdx +2 -113
- package/reference/deployment/command-center.mdx +6 -6
- package/reference/deployment/index.mdx +1 -1
- package/reference/framework/index.mdx +10 -0
- package/reference/framework/project-structure.mdx +6 -7
- package/reference/framework/tutorial-system.mdx +2 -2
- package/reference/getting-started.mdx +1 -11
- package/reference/index.mdx +16 -1
- package/reference/platform-tools/index.mdx +3 -3
- package/reference/platform-tools/type-safety.mdx +2 -2
- package/reference/resources/index.mdx +6 -6
- package/reference/resources/patterns.mdx +2 -2
- package/reference/resources/types.mdx +1 -1
- package/reference/runtime.mdx +1 -1
- package/reference/templates/index.mdx +3 -3
- package/reference/troubleshooting.mdx +4 -4
- package/dist/templates.js +0 -2253
- package/dist/types/templates.d.ts +0 -2
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,18 +2291,306 @@ 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: [
|
|
2304
|
+
referencedRelation: 'organizations';
|
|
2305
|
+
referencedColumns: ['id'];
|
|
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'];
|
|
2306
2594
|
}
|
|
2307
2595
|
];
|
|
2308
2596
|
};
|
|
@@ -2354,11 +2642,11 @@ type Database = {
|
|
|
2354
2642
|
};
|
|
2355
2643
|
Relationships: [
|
|
2356
2644
|
{
|
|
2357
|
-
foreignKeyName:
|
|
2358
|
-
columns: [
|
|
2645
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
2646
|
+
columns: ['organization_id'];
|
|
2359
2647
|
isOneToOne: false;
|
|
2360
|
-
referencedRelation:
|
|
2361
|
-
referencedColumns: [
|
|
2648
|
+
referencedRelation: 'organizations';
|
|
2649
|
+
referencedColumns: ['id'];
|
|
2362
2650
|
}
|
|
2363
2651
|
];
|
|
2364
2652
|
};
|
|
@@ -2413,25 +2701,25 @@ type Database = {
|
|
|
2413
2701
|
};
|
|
2414
2702
|
Relationships: [
|
|
2415
2703
|
{
|
|
2416
|
-
foreignKeyName:
|
|
2417
|
-
columns: [
|
|
2704
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
2705
|
+
columns: ['execution_id'];
|
|
2418
2706
|
isOneToOne: false;
|
|
2419
|
-
referencedRelation:
|
|
2420
|
-
referencedColumns: [
|
|
2707
|
+
referencedRelation: 'execution_logs';
|
|
2708
|
+
referencedColumns: ['execution_id'];
|
|
2421
2709
|
},
|
|
2422
2710
|
{
|
|
2423
|
-
foreignKeyName:
|
|
2424
|
-
columns: [
|
|
2711
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
2712
|
+
columns: ['organization_id'];
|
|
2425
2713
|
isOneToOne: false;
|
|
2426
|
-
referencedRelation:
|
|
2427
|
-
referencedColumns: [
|
|
2714
|
+
referencedRelation: 'organizations';
|
|
2715
|
+
referencedColumns: ['id'];
|
|
2428
2716
|
},
|
|
2429
2717
|
{
|
|
2430
|
-
foreignKeyName:
|
|
2431
|
-
columns: [
|
|
2718
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
2719
|
+
columns: ['resolved_by'];
|
|
2432
2720
|
isOneToOne: false;
|
|
2433
|
-
referencedRelation:
|
|
2434
|
-
referencedColumns: [
|
|
2721
|
+
referencedRelation: 'users';
|
|
2722
|
+
referencedColumns: ['id'];
|
|
2435
2723
|
}
|
|
2436
2724
|
];
|
|
2437
2725
|
};
|
|
@@ -2513,32 +2801,32 @@ type Database = {
|
|
|
2513
2801
|
};
|
|
2514
2802
|
Relationships: [
|
|
2515
2803
|
{
|
|
2516
|
-
foreignKeyName:
|
|
2517
|
-
columns: [
|
|
2804
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
2805
|
+
columns: ['organization_id'];
|
|
2518
2806
|
isOneToOne: false;
|
|
2519
|
-
referencedRelation:
|
|
2520
|
-
referencedColumns: [
|
|
2807
|
+
referencedRelation: 'organizations';
|
|
2808
|
+
referencedColumns: ['id'];
|
|
2521
2809
|
},
|
|
2522
2810
|
{
|
|
2523
|
-
foreignKeyName:
|
|
2524
|
-
columns: [
|
|
2811
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
2812
|
+
columns: ['origin_execution_id'];
|
|
2525
2813
|
isOneToOne: false;
|
|
2526
|
-
referencedRelation:
|
|
2527
|
-
referencedColumns: [
|
|
2814
|
+
referencedRelation: 'execution_logs';
|
|
2815
|
+
referencedColumns: ['execution_id'];
|
|
2528
2816
|
},
|
|
2529
2817
|
{
|
|
2530
|
-
foreignKeyName:
|
|
2531
|
-
columns: [
|
|
2818
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
2819
|
+
columns: ['session_id'];
|
|
2532
2820
|
isOneToOne: false;
|
|
2533
|
-
referencedRelation:
|
|
2534
|
-
referencedColumns: [
|
|
2821
|
+
referencedRelation: 'sessions';
|
|
2822
|
+
referencedColumns: ['session_id'];
|
|
2535
2823
|
},
|
|
2536
2824
|
{
|
|
2537
|
-
foreignKeyName:
|
|
2538
|
-
columns: [
|
|
2825
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
2826
|
+
columns: ['user_id'];
|
|
2539
2827
|
isOneToOne: false;
|
|
2540
|
-
referencedRelation:
|
|
2541
|
-
referencedColumns: [
|
|
2828
|
+
referencedRelation: 'users';
|
|
2829
|
+
referencedColumns: ['id'];
|
|
2542
2830
|
}
|
|
2543
2831
|
];
|
|
2544
2832
|
};
|
|
@@ -2584,18 +2872,18 @@ type Database = {
|
|
|
2584
2872
|
};
|
|
2585
2873
|
Relationships: [
|
|
2586
2874
|
{
|
|
2587
|
-
foreignKeyName:
|
|
2588
|
-
columns: [
|
|
2875
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
2876
|
+
columns: ['execution_id'];
|
|
2589
2877
|
isOneToOne: true;
|
|
2590
|
-
referencedRelation:
|
|
2591
|
-
referencedColumns: [
|
|
2878
|
+
referencedRelation: 'execution_logs';
|
|
2879
|
+
referencedColumns: ['execution_id'];
|
|
2592
2880
|
},
|
|
2593
2881
|
{
|
|
2594
|
-
foreignKeyName:
|
|
2595
|
-
columns: [
|
|
2882
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
2883
|
+
columns: ['organization_id'];
|
|
2596
2884
|
isOneToOne: false;
|
|
2597
|
-
referencedRelation:
|
|
2598
|
-
referencedColumns: [
|
|
2885
|
+
referencedRelation: 'organizations';
|
|
2886
|
+
referencedColumns: ['id'];
|
|
2599
2887
|
}
|
|
2600
2888
|
];
|
|
2601
2889
|
};
|
|
@@ -2638,18 +2926,18 @@ type Database = {
|
|
|
2638
2926
|
};
|
|
2639
2927
|
Relationships: [
|
|
2640
2928
|
{
|
|
2641
|
-
foreignKeyName:
|
|
2642
|
-
columns: [
|
|
2929
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
2930
|
+
columns: ['organization_id'];
|
|
2643
2931
|
isOneToOne: false;
|
|
2644
|
-
referencedRelation:
|
|
2645
|
-
referencedColumns: [
|
|
2932
|
+
referencedRelation: 'organizations';
|
|
2933
|
+
referencedColumns: ['id'];
|
|
2646
2934
|
},
|
|
2647
2935
|
{
|
|
2648
|
-
foreignKeyName:
|
|
2649
|
-
columns: [
|
|
2936
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
2937
|
+
columns: ['user_id'];
|
|
2650
2938
|
isOneToOne: false;
|
|
2651
|
-
referencedRelation:
|
|
2652
|
-
referencedColumns: [
|
|
2939
|
+
referencedRelation: 'users';
|
|
2940
|
+
referencedColumns: ['id'];
|
|
2653
2941
|
}
|
|
2654
2942
|
];
|
|
2655
2943
|
};
|
|
@@ -2704,18 +2992,18 @@ type Database = {
|
|
|
2704
2992
|
};
|
|
2705
2993
|
Relationships: [
|
|
2706
2994
|
{
|
|
2707
|
-
foreignKeyName:
|
|
2708
|
-
columns: [
|
|
2995
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
2996
|
+
columns: ['inviter_user_id'];
|
|
2709
2997
|
isOneToOne: false;
|
|
2710
|
-
referencedRelation:
|
|
2711
|
-
referencedColumns: [
|
|
2998
|
+
referencedRelation: 'users';
|
|
2999
|
+
referencedColumns: ['id'];
|
|
2712
3000
|
},
|
|
2713
3001
|
{
|
|
2714
|
-
foreignKeyName:
|
|
2715
|
-
columns: [
|
|
3002
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
3003
|
+
columns: ['organization_id'];
|
|
2716
3004
|
isOneToOne: false;
|
|
2717
|
-
referencedRelation:
|
|
2718
|
-
referencedColumns: [
|
|
3005
|
+
referencedRelation: 'organizations';
|
|
3006
|
+
referencedColumns: ['id'];
|
|
2719
3007
|
}
|
|
2720
3008
|
];
|
|
2721
3009
|
};
|
|
@@ -2755,18 +3043,18 @@ type Database = {
|
|
|
2755
3043
|
};
|
|
2756
3044
|
Relationships: [
|
|
2757
3045
|
{
|
|
2758
|
-
foreignKeyName:
|
|
2759
|
-
columns: [
|
|
3046
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
3047
|
+
columns: ['organization_id'];
|
|
2760
3048
|
isOneToOne: false;
|
|
2761
|
-
referencedRelation:
|
|
2762
|
-
referencedColumns: [
|
|
3049
|
+
referencedRelation: 'organizations';
|
|
3050
|
+
referencedColumns: ['id'];
|
|
2763
3051
|
},
|
|
2764
3052
|
{
|
|
2765
|
-
foreignKeyName:
|
|
2766
|
-
columns: [
|
|
3053
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
3054
|
+
columns: ['user_id'];
|
|
2767
3055
|
isOneToOne: false;
|
|
2768
|
-
referencedRelation:
|
|
2769
|
-
referencedColumns: [
|
|
3056
|
+
referencedRelation: 'users';
|
|
3057
|
+
referencedColumns: ['id'];
|
|
2770
3058
|
}
|
|
2771
3059
|
];
|
|
2772
3060
|
};
|
|
@@ -2842,11 +3130,11 @@ type Database = {
|
|
|
2842
3130
|
};
|
|
2843
3131
|
Relationships: [
|
|
2844
3132
|
{
|
|
2845
|
-
foreignKeyName:
|
|
2846
|
-
columns: [
|
|
3133
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
3134
|
+
columns: ['session_id'];
|
|
2847
3135
|
isOneToOne: false;
|
|
2848
|
-
referencedRelation:
|
|
2849
|
-
referencedColumns: [
|
|
3136
|
+
referencedRelation: 'sessions';
|
|
3137
|
+
referencedColumns: ['session_id'];
|
|
2850
3138
|
}
|
|
2851
3139
|
];
|
|
2852
3140
|
};
|
|
@@ -2901,18 +3189,18 @@ type Database = {
|
|
|
2901
3189
|
};
|
|
2902
3190
|
Relationships: [
|
|
2903
3191
|
{
|
|
2904
|
-
foreignKeyName:
|
|
2905
|
-
columns: [
|
|
3192
|
+
foreignKeyName: 'fk_organization';
|
|
3193
|
+
columns: ['organization_id'];
|
|
2906
3194
|
isOneToOne: false;
|
|
2907
|
-
referencedRelation:
|
|
2908
|
-
referencedColumns: [
|
|
3195
|
+
referencedRelation: 'organizations';
|
|
3196
|
+
referencedColumns: ['id'];
|
|
2909
3197
|
},
|
|
2910
3198
|
{
|
|
2911
|
-
foreignKeyName:
|
|
2912
|
-
columns: [
|
|
3199
|
+
foreignKeyName: 'fk_user';
|
|
3200
|
+
columns: ['user_id'];
|
|
2913
3201
|
isOneToOne: false;
|
|
2914
|
-
referencedRelation:
|
|
2915
|
-
referencedColumns: [
|
|
3202
|
+
referencedRelation: 'users';
|
|
3203
|
+
referencedColumns: ['id'];
|
|
2916
3204
|
}
|
|
2917
3205
|
];
|
|
2918
3206
|
};
|
|
@@ -2988,143 +3276,11 @@ type Database = {
|
|
|
2988
3276
|
};
|
|
2989
3277
|
Relationships: [
|
|
2990
3278
|
{
|
|
2991
|
-
foreignKeyName:
|
|
2992
|
-
columns: [
|
|
2993
|
-
isOneToOne: false;
|
|
2994
|
-
referencedRelation: "organizations";
|
|
2995
|
-
referencedColumns: ["id"];
|
|
2996
|
-
}
|
|
2997
|
-
];
|
|
2998
|
-
};
|
|
2999
|
-
training_assessments: {
|
|
3000
|
-
Row: {
|
|
3001
|
-
answers: Json | null;
|
|
3002
|
-
assessment_slug: string;
|
|
3003
|
-
attempted_at: string;
|
|
3004
|
-
course_slug: string;
|
|
3005
|
-
id: string;
|
|
3006
|
-
organization_id: string;
|
|
3007
|
-
passed: boolean;
|
|
3008
|
-
score: number;
|
|
3009
|
-
user_id: string;
|
|
3010
|
-
};
|
|
3011
|
-
Insert: {
|
|
3012
|
-
answers?: Json | null;
|
|
3013
|
-
assessment_slug: string;
|
|
3014
|
-
attempted_at?: string;
|
|
3015
|
-
course_slug: string;
|
|
3016
|
-
id?: string;
|
|
3017
|
-
organization_id: string;
|
|
3018
|
-
passed: boolean;
|
|
3019
|
-
score: number;
|
|
3020
|
-
user_id: string;
|
|
3021
|
-
};
|
|
3022
|
-
Update: {
|
|
3023
|
-
answers?: Json | null;
|
|
3024
|
-
assessment_slug?: string;
|
|
3025
|
-
attempted_at?: string;
|
|
3026
|
-
course_slug?: string;
|
|
3027
|
-
id?: string;
|
|
3028
|
-
organization_id?: string;
|
|
3029
|
-
passed?: boolean;
|
|
3030
|
-
score?: number;
|
|
3031
|
-
user_id?: string;
|
|
3032
|
-
};
|
|
3033
|
-
Relationships: [
|
|
3034
|
-
{
|
|
3035
|
-
foreignKeyName: "training_assessments_organization_id_fkey";
|
|
3036
|
-
columns: ["organization_id"];
|
|
3037
|
-
isOneToOne: false;
|
|
3038
|
-
referencedRelation: "organizations";
|
|
3039
|
-
referencedColumns: ["id"];
|
|
3040
|
-
},
|
|
3041
|
-
{
|
|
3042
|
-
foreignKeyName: "training_assessments_user_id_fkey";
|
|
3043
|
-
columns: ["user_id"];
|
|
3044
|
-
isOneToOne: false;
|
|
3045
|
-
referencedRelation: "users";
|
|
3046
|
-
referencedColumns: ["id"];
|
|
3047
|
-
}
|
|
3048
|
-
];
|
|
3049
|
-
};
|
|
3050
|
-
training_certifications: {
|
|
3051
|
-
Row: {
|
|
3052
|
-
awarded_at: string;
|
|
3053
|
-
certification_slug: string;
|
|
3054
|
-
id: string;
|
|
3055
|
-
organization_id: string;
|
|
3056
|
-
user_id: string;
|
|
3057
|
-
};
|
|
3058
|
-
Insert: {
|
|
3059
|
-
awarded_at?: string;
|
|
3060
|
-
certification_slug: string;
|
|
3061
|
-
id?: string;
|
|
3062
|
-
organization_id: string;
|
|
3063
|
-
user_id: string;
|
|
3064
|
-
};
|
|
3065
|
-
Update: {
|
|
3066
|
-
awarded_at?: string;
|
|
3067
|
-
certification_slug?: string;
|
|
3068
|
-
id?: string;
|
|
3069
|
-
organization_id?: string;
|
|
3070
|
-
user_id?: string;
|
|
3071
|
-
};
|
|
3072
|
-
Relationships: [
|
|
3073
|
-
{
|
|
3074
|
-
foreignKeyName: "training_certifications_organization_id_fkey";
|
|
3075
|
-
columns: ["organization_id"];
|
|
3076
|
-
isOneToOne: false;
|
|
3077
|
-
referencedRelation: "organizations";
|
|
3078
|
-
referencedColumns: ["id"];
|
|
3079
|
-
},
|
|
3080
|
-
{
|
|
3081
|
-
foreignKeyName: "training_certifications_user_id_fkey";
|
|
3082
|
-
columns: ["user_id"];
|
|
3083
|
-
isOneToOne: false;
|
|
3084
|
-
referencedRelation: "users";
|
|
3085
|
-
referencedColumns: ["id"];
|
|
3086
|
-
}
|
|
3087
|
-
];
|
|
3088
|
-
};
|
|
3089
|
-
training_progress: {
|
|
3090
|
-
Row: {
|
|
3091
|
-
completed_at: string;
|
|
3092
|
-
course_slug: string;
|
|
3093
|
-
id: string;
|
|
3094
|
-
lesson_slug: string;
|
|
3095
|
-
organization_id: string;
|
|
3096
|
-
user_id: string;
|
|
3097
|
-
};
|
|
3098
|
-
Insert: {
|
|
3099
|
-
completed_at?: string;
|
|
3100
|
-
course_slug: string;
|
|
3101
|
-
id?: string;
|
|
3102
|
-
lesson_slug: string;
|
|
3103
|
-
organization_id: string;
|
|
3104
|
-
user_id: string;
|
|
3105
|
-
};
|
|
3106
|
-
Update: {
|
|
3107
|
-
completed_at?: string;
|
|
3108
|
-
course_slug?: string;
|
|
3109
|
-
id?: string;
|
|
3110
|
-
lesson_slug?: string;
|
|
3111
|
-
organization_id?: string;
|
|
3112
|
-
user_id?: string;
|
|
3113
|
-
};
|
|
3114
|
-
Relationships: [
|
|
3115
|
-
{
|
|
3116
|
-
foreignKeyName: "training_progress_organization_id_fkey";
|
|
3117
|
-
columns: ["organization_id"];
|
|
3118
|
-
isOneToOne: false;
|
|
3119
|
-
referencedRelation: "organizations";
|
|
3120
|
-
referencedColumns: ["id"];
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
foreignKeyName: "training_progress_user_id_fkey";
|
|
3124
|
-
columns: ["user_id"];
|
|
3279
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
3280
|
+
columns: ['organization_id'];
|
|
3125
3281
|
isOneToOne: false;
|
|
3126
|
-
referencedRelation:
|
|
3127
|
-
referencedColumns: [
|
|
3282
|
+
referencedRelation: 'organizations';
|
|
3283
|
+
referencedColumns: ['id'];
|
|
3128
3284
|
}
|
|
3129
3285
|
];
|
|
3130
3286
|
};
|
|
@@ -3179,11 +3335,11 @@ type Database = {
|
|
|
3179
3335
|
};
|
|
3180
3336
|
Relationships: [
|
|
3181
3337
|
{
|
|
3182
|
-
foreignKeyName:
|
|
3183
|
-
columns: [
|
|
3338
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
3339
|
+
columns: ['last_visited_org'];
|
|
3184
3340
|
isOneToOne: false;
|
|
3185
|
-
referencedRelation:
|
|
3186
|
-
referencedColumns: [
|
|
3341
|
+
referencedRelation: 'organizations';
|
|
3342
|
+
referencedColumns: ['id'];
|
|
3187
3343
|
}
|
|
3188
3344
|
];
|
|
3189
3345
|
};
|
|
@@ -3229,11 +3385,11 @@ type Database = {
|
|
|
3229
3385
|
};
|
|
3230
3386
|
Relationships: [
|
|
3231
3387
|
{
|
|
3232
|
-
foreignKeyName:
|
|
3233
|
-
columns: [
|
|
3388
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
3389
|
+
columns: ['organization_id'];
|
|
3234
3390
|
isOneToOne: false;
|
|
3235
|
-
referencedRelation:
|
|
3236
|
-
referencedColumns: [
|
|
3391
|
+
referencedRelation: 'organizations';
|
|
3392
|
+
referencedColumns: ['id'];
|
|
3237
3393
|
}
|
|
3238
3394
|
];
|
|
3239
3395
|
};
|
|
@@ -3505,8 +3661,6 @@ interface DeploymentSpec {
|
|
|
3505
3661
|
/** Human checkpoint definitions - human decision points in automation */
|
|
3506
3662
|
humanCheckpoints?: HumanCheckpointDefinition[];
|
|
3507
3663
|
}
|
|
3508
|
-
/** @deprecated Use DeploymentSpec instead */
|
|
3509
|
-
type OrganizationResources = DeploymentSpec;
|
|
3510
3664
|
/**
|
|
3511
3665
|
* Organization Registry type
|
|
3512
3666
|
*/
|
|
@@ -5407,7 +5561,7 @@ interface ListLeadsResult {
|
|
|
5407
5561
|
* Bulk delete leads parameters
|
|
5408
5562
|
*/
|
|
5409
5563
|
interface BulkDeleteLeadsParams {
|
|
5410
|
-
|
|
5564
|
+
ids?: string[];
|
|
5411
5565
|
campaign_id?: string;
|
|
5412
5566
|
list_id?: string;
|
|
5413
5567
|
limit?: number;
|
|
@@ -7371,8 +7525,6 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
7371
7525
|
* Organization is derived from the ELEVASIS_PLATFORM_KEY -- not configured here.
|
|
7372
7526
|
*/
|
|
7373
7527
|
interface ElevasConfig {
|
|
7374
|
-
/** Managed by `elevasis-sdk init` and `elevasis-sdk update`. Do not set manually. */
|
|
7375
|
-
templateVersion?: number;
|
|
7376
7528
|
defaultStatus?: ResourceStatus;
|
|
7377
7529
|
dev?: {
|
|
7378
7530
|
port?: number;
|
|
@@ -7407,4 +7559,4 @@ declare class ToolingError extends ExecutionError {
|
|
|
7407
7559
|
}
|
|
7408
7560
|
|
|
7409
7561
|
export { ExecutionError, RegistryValidationError, ResourceRegistry, StepType, ToolingError };
|
|
7410
|
-
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqList, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, CompanyFilters, ConditionalNext, ContactFilters, Contract, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DomainDefinition, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap,
|
|
7562
|
+
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqList, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, CompanyFilters, ConditionalNext, ContactFilters, Contract, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DomainDefinition, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, PaginatedResult, PaginationParams, PdfToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResourceDefinition, ResourceDomain, ResourceMetricsConfig, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, SyncDealStageParams, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowDefinition, WorkflowStep, WriteSheetParams, WriteSheetResult };
|