@elevasis/sdk 0.5.20 → 0.5.21
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 +1 -1
- package/dist/index.d.ts +192 -185
- package/dist/worker/index.js +3 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -43873,7 +43873,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
|
|
|
43873
43873
|
// package.json
|
|
43874
43874
|
var package_default = {
|
|
43875
43875
|
name: "@elevasis/sdk",
|
|
43876
|
-
version: "0.5.
|
|
43876
|
+
version: "0.5.21",
|
|
43877
43877
|
description: "SDK for building Elevasis organization resources",
|
|
43878
43878
|
type: "module",
|
|
43879
43879
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1169,7 +1169,7 @@ type Json = string | number | boolean | null | {
|
|
|
1169
1169
|
} | Json[];
|
|
1170
1170
|
type Database = {
|
|
1171
1171
|
__InternalSupabase: {
|
|
1172
|
-
PostgrestVersion:
|
|
1172
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
1173
1173
|
};
|
|
1174
1174
|
public: {
|
|
1175
1175
|
Tables: {
|
|
@@ -1196,6 +1196,7 @@ type Database = {
|
|
|
1196
1196
|
primary_segment: string | null;
|
|
1197
1197
|
recent_web_posts: Json | null;
|
|
1198
1198
|
source: string | null;
|
|
1199
|
+
tags: string[] | null;
|
|
1199
1200
|
target_audience: string | null;
|
|
1200
1201
|
unique_attributes: string | null;
|
|
1201
1202
|
updated_at: string;
|
|
@@ -1223,6 +1224,7 @@ type Database = {
|
|
|
1223
1224
|
primary_segment?: string | null;
|
|
1224
1225
|
recent_web_posts?: Json | null;
|
|
1225
1226
|
source?: string | null;
|
|
1227
|
+
tags?: string[] | null;
|
|
1226
1228
|
target_audience?: string | null;
|
|
1227
1229
|
unique_attributes?: string | null;
|
|
1228
1230
|
updated_at?: string;
|
|
@@ -1250,6 +1252,7 @@ type Database = {
|
|
|
1250
1252
|
primary_segment?: string | null;
|
|
1251
1253
|
recent_web_posts?: Json | null;
|
|
1252
1254
|
source?: string | null;
|
|
1255
|
+
tags?: string[] | null;
|
|
1253
1256
|
target_audience?: string | null;
|
|
1254
1257
|
unique_attributes?: string | null;
|
|
1255
1258
|
updated_at?: string;
|
|
@@ -1257,11 +1260,11 @@ type Database = {
|
|
|
1257
1260
|
};
|
|
1258
1261
|
Relationships: [
|
|
1259
1262
|
{
|
|
1260
|
-
foreignKeyName:
|
|
1261
|
-
columns: [
|
|
1263
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
1264
|
+
columns: ['organization_id'];
|
|
1262
1265
|
isOneToOne: false;
|
|
1263
|
-
referencedRelation:
|
|
1264
|
-
referencedColumns: [
|
|
1266
|
+
referencedRelation: 'organizations';
|
|
1267
|
+
referencedColumns: ['id'];
|
|
1265
1268
|
}
|
|
1266
1269
|
];
|
|
1267
1270
|
};
|
|
@@ -1355,18 +1358,18 @@ type Database = {
|
|
|
1355
1358
|
};
|
|
1356
1359
|
Relationships: [
|
|
1357
1360
|
{
|
|
1358
|
-
foreignKeyName:
|
|
1359
|
-
columns: [
|
|
1361
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
1362
|
+
columns: ['company_id'];
|
|
1360
1363
|
isOneToOne: false;
|
|
1361
|
-
referencedRelation:
|
|
1362
|
-
referencedColumns: [
|
|
1364
|
+
referencedRelation: 'acq_companies';
|
|
1365
|
+
referencedColumns: ['id'];
|
|
1363
1366
|
},
|
|
1364
1367
|
{
|
|
1365
|
-
foreignKeyName:
|
|
1366
|
-
columns: [
|
|
1368
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
1369
|
+
columns: ['organization_id'];
|
|
1367
1370
|
isOneToOne: false;
|
|
1368
|
-
referencedRelation:
|
|
1369
|
-
referencedColumns: [
|
|
1371
|
+
referencedRelation: 'organizations';
|
|
1372
|
+
referencedColumns: ['id'];
|
|
1370
1373
|
}
|
|
1371
1374
|
];
|
|
1372
1375
|
};
|
|
@@ -1475,25 +1478,25 @@ type Database = {
|
|
|
1475
1478
|
};
|
|
1476
1479
|
Relationships: [
|
|
1477
1480
|
{
|
|
1478
|
-
foreignKeyName:
|
|
1479
|
-
columns: [
|
|
1481
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
1482
|
+
columns: ['contact_id'];
|
|
1480
1483
|
isOneToOne: false;
|
|
1481
|
-
referencedRelation:
|
|
1482
|
-
referencedColumns: [
|
|
1484
|
+
referencedRelation: 'acq_contacts';
|
|
1485
|
+
referencedColumns: ['id'];
|
|
1483
1486
|
},
|
|
1484
1487
|
{
|
|
1485
|
-
foreignKeyName:
|
|
1486
|
-
columns: [
|
|
1488
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
1489
|
+
columns: ['organization_id'];
|
|
1487
1490
|
isOneToOne: false;
|
|
1488
|
-
referencedRelation:
|
|
1489
|
-
referencedColumns: [
|
|
1491
|
+
referencedRelation: 'organizations';
|
|
1492
|
+
referencedColumns: ['id'];
|
|
1490
1493
|
},
|
|
1491
1494
|
{
|
|
1492
|
-
foreignKeyName:
|
|
1493
|
-
columns: [
|
|
1495
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
1496
|
+
columns: ['source_list_id'];
|
|
1494
1497
|
isOneToOne: false;
|
|
1495
|
-
referencedRelation:
|
|
1496
|
-
referencedColumns: [
|
|
1498
|
+
referencedRelation: 'acq_lists';
|
|
1499
|
+
referencedColumns: ['id'];
|
|
1497
1500
|
}
|
|
1498
1501
|
];
|
|
1499
1502
|
};
|
|
@@ -1521,18 +1524,18 @@ type Database = {
|
|
|
1521
1524
|
};
|
|
1522
1525
|
Relationships: [
|
|
1523
1526
|
{
|
|
1524
|
-
foreignKeyName:
|
|
1525
|
-
columns: [
|
|
1527
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
1528
|
+
columns: ['contact_id'];
|
|
1526
1529
|
isOneToOne: false;
|
|
1527
|
-
referencedRelation:
|
|
1528
|
-
referencedColumns: [
|
|
1530
|
+
referencedRelation: 'acq_contacts';
|
|
1531
|
+
referencedColumns: ['id'];
|
|
1529
1532
|
},
|
|
1530
1533
|
{
|
|
1531
|
-
foreignKeyName:
|
|
1532
|
-
columns: [
|
|
1534
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
1535
|
+
columns: ['list_id'];
|
|
1533
1536
|
isOneToOne: false;
|
|
1534
|
-
referencedRelation:
|
|
1535
|
-
referencedColumns: [
|
|
1537
|
+
referencedRelation: 'acq_lists';
|
|
1538
|
+
referencedColumns: ['id'];
|
|
1536
1539
|
}
|
|
1537
1540
|
];
|
|
1538
1541
|
};
|
|
@@ -1560,11 +1563,11 @@ type Database = {
|
|
|
1560
1563
|
};
|
|
1561
1564
|
Relationships: [
|
|
1562
1565
|
{
|
|
1563
|
-
foreignKeyName:
|
|
1564
|
-
columns: [
|
|
1566
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
1567
|
+
columns: ['organization_id'];
|
|
1565
1568
|
isOneToOne: false;
|
|
1566
|
-
referencedRelation:
|
|
1567
|
-
referencedColumns: [
|
|
1569
|
+
referencedRelation: 'organizations';
|
|
1570
|
+
referencedColumns: ['id'];
|
|
1568
1571
|
}
|
|
1569
1572
|
];
|
|
1570
1573
|
};
|
|
@@ -1613,11 +1616,11 @@ type Database = {
|
|
|
1613
1616
|
};
|
|
1614
1617
|
Relationships: [
|
|
1615
1618
|
{
|
|
1616
|
-
foreignKeyName:
|
|
1617
|
-
columns: [
|
|
1619
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1620
|
+
columns: ['organization_id'];
|
|
1618
1621
|
isOneToOne: false;
|
|
1619
|
-
referencedRelation:
|
|
1620
|
-
referencedColumns: [
|
|
1622
|
+
referencedRelation: 'organizations';
|
|
1623
|
+
referencedColumns: ['id'];
|
|
1621
1624
|
}
|
|
1622
1625
|
];
|
|
1623
1626
|
};
|
|
@@ -1648,11 +1651,11 @@ type Database = {
|
|
|
1648
1651
|
};
|
|
1649
1652
|
Relationships: [
|
|
1650
1653
|
{
|
|
1651
|
-
foreignKeyName:
|
|
1652
|
-
columns: [
|
|
1654
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1655
|
+
columns: ['organization_id'];
|
|
1653
1656
|
isOneToOne: false;
|
|
1654
|
-
referencedRelation:
|
|
1655
|
-
referencedColumns: [
|
|
1657
|
+
referencedRelation: 'organizations';
|
|
1658
|
+
referencedColumns: ['id'];
|
|
1656
1659
|
}
|
|
1657
1660
|
];
|
|
1658
1661
|
};
|
|
@@ -1689,11 +1692,11 @@ type Database = {
|
|
|
1689
1692
|
};
|
|
1690
1693
|
Relationships: [
|
|
1691
1694
|
{
|
|
1692
|
-
foreignKeyName:
|
|
1693
|
-
columns: [
|
|
1695
|
+
foreignKeyName: 'calibration_projects_organization_id_fkey';
|
|
1696
|
+
columns: ['organization_id'];
|
|
1694
1697
|
isOneToOne: false;
|
|
1695
|
-
referencedRelation:
|
|
1696
|
-
referencedColumns: [
|
|
1698
|
+
referencedRelation: 'organizations';
|
|
1699
|
+
referencedColumns: ['id'];
|
|
1697
1700
|
}
|
|
1698
1701
|
];
|
|
1699
1702
|
};
|
|
@@ -1748,18 +1751,18 @@ type Database = {
|
|
|
1748
1751
|
};
|
|
1749
1752
|
Relationships: [
|
|
1750
1753
|
{
|
|
1751
|
-
foreignKeyName:
|
|
1752
|
-
columns: [
|
|
1754
|
+
foreignKeyName: 'calibration_runs_organization_id_fkey';
|
|
1755
|
+
columns: ['organization_id'];
|
|
1753
1756
|
isOneToOne: false;
|
|
1754
|
-
referencedRelation:
|
|
1755
|
-
referencedColumns: [
|
|
1757
|
+
referencedRelation: 'organizations';
|
|
1758
|
+
referencedColumns: ['id'];
|
|
1756
1759
|
},
|
|
1757
1760
|
{
|
|
1758
|
-
foreignKeyName:
|
|
1759
|
-
columns: [
|
|
1761
|
+
foreignKeyName: 'calibration_runs_project_id_fkey';
|
|
1762
|
+
columns: ['project_id'];
|
|
1760
1763
|
isOneToOne: false;
|
|
1761
|
-
referencedRelation:
|
|
1762
|
-
referencedColumns: [
|
|
1764
|
+
referencedRelation: 'calibration_projects';
|
|
1765
|
+
referencedColumns: ['id'];
|
|
1763
1766
|
}
|
|
1764
1767
|
];
|
|
1765
1768
|
};
|
|
@@ -1829,25 +1832,25 @@ type Database = {
|
|
|
1829
1832
|
};
|
|
1830
1833
|
Relationships: [
|
|
1831
1834
|
{
|
|
1832
|
-
foreignKeyName:
|
|
1833
|
-
columns: [
|
|
1835
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1836
|
+
columns: ['completed_by'];
|
|
1834
1837
|
isOneToOne: false;
|
|
1835
|
-
referencedRelation:
|
|
1836
|
-
referencedColumns: [
|
|
1838
|
+
referencedRelation: 'users';
|
|
1839
|
+
referencedColumns: ['id'];
|
|
1837
1840
|
},
|
|
1838
1841
|
{
|
|
1839
|
-
foreignKeyName:
|
|
1840
|
-
columns: [
|
|
1842
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1843
|
+
columns: ['organization_id'];
|
|
1841
1844
|
isOneToOne: false;
|
|
1842
|
-
referencedRelation:
|
|
1843
|
-
referencedColumns: [
|
|
1845
|
+
referencedRelation: 'organizations';
|
|
1846
|
+
referencedColumns: ['id'];
|
|
1844
1847
|
},
|
|
1845
1848
|
{
|
|
1846
|
-
foreignKeyName:
|
|
1847
|
-
columns: [
|
|
1849
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1850
|
+
columns: ['target_execution_id'];
|
|
1848
1851
|
isOneToOne: false;
|
|
1849
|
-
referencedRelation:
|
|
1850
|
-
referencedColumns: [
|
|
1852
|
+
referencedRelation: 'execution_logs';
|
|
1853
|
+
referencedColumns: ['execution_id'];
|
|
1851
1854
|
}
|
|
1852
1855
|
];
|
|
1853
1856
|
};
|
|
@@ -1887,18 +1890,18 @@ type Database = {
|
|
|
1887
1890
|
};
|
|
1888
1891
|
Relationships: [
|
|
1889
1892
|
{
|
|
1890
|
-
foreignKeyName:
|
|
1891
|
-
columns: [
|
|
1893
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1894
|
+
columns: ['created_by'];
|
|
1892
1895
|
isOneToOne: false;
|
|
1893
|
-
referencedRelation:
|
|
1894
|
-
referencedColumns: [
|
|
1896
|
+
referencedRelation: 'users';
|
|
1897
|
+
referencedColumns: ['id'];
|
|
1895
1898
|
},
|
|
1896
1899
|
{
|
|
1897
|
-
foreignKeyName:
|
|
1898
|
-
columns: [
|
|
1900
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1901
|
+
columns: ['organization_id'];
|
|
1899
1902
|
isOneToOne: false;
|
|
1900
|
-
referencedRelation:
|
|
1901
|
-
referencedColumns: [
|
|
1903
|
+
referencedRelation: 'organizations';
|
|
1904
|
+
referencedColumns: ['id'];
|
|
1902
1905
|
}
|
|
1903
1906
|
];
|
|
1904
1907
|
};
|
|
@@ -1947,11 +1950,11 @@ type Database = {
|
|
|
1947
1950
|
};
|
|
1948
1951
|
Relationships: [
|
|
1949
1952
|
{
|
|
1950
|
-
foreignKeyName:
|
|
1951
|
-
columns: [
|
|
1953
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1954
|
+
columns: ['organization_id'];
|
|
1952
1955
|
isOneToOne: false;
|
|
1953
|
-
referencedRelation:
|
|
1954
|
-
referencedColumns: [
|
|
1956
|
+
referencedRelation: 'organizations';
|
|
1957
|
+
referencedColumns: ['id'];
|
|
1955
1958
|
}
|
|
1956
1959
|
];
|
|
1957
1960
|
};
|
|
@@ -2006,25 +2009,25 @@ type Database = {
|
|
|
2006
2009
|
};
|
|
2007
2010
|
Relationships: [
|
|
2008
2011
|
{
|
|
2009
|
-
foreignKeyName:
|
|
2010
|
-
columns: [
|
|
2012
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
2013
|
+
columns: ['execution_id'];
|
|
2011
2014
|
isOneToOne: false;
|
|
2012
|
-
referencedRelation:
|
|
2013
|
-
referencedColumns: [
|
|
2015
|
+
referencedRelation: 'execution_logs';
|
|
2016
|
+
referencedColumns: ['execution_id'];
|
|
2014
2017
|
},
|
|
2015
2018
|
{
|
|
2016
|
-
foreignKeyName:
|
|
2017
|
-
columns: [
|
|
2019
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
2020
|
+
columns: ['organization_id'];
|
|
2018
2021
|
isOneToOne: false;
|
|
2019
|
-
referencedRelation:
|
|
2020
|
-
referencedColumns: [
|
|
2022
|
+
referencedRelation: 'organizations';
|
|
2023
|
+
referencedColumns: ['id'];
|
|
2021
2024
|
},
|
|
2022
2025
|
{
|
|
2023
|
-
foreignKeyName:
|
|
2024
|
-
columns: [
|
|
2026
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
2027
|
+
columns: ['resolved_by'];
|
|
2025
2028
|
isOneToOne: false;
|
|
2026
|
-
referencedRelation:
|
|
2027
|
-
referencedColumns: [
|
|
2029
|
+
referencedRelation: 'users';
|
|
2030
|
+
referencedColumns: ['id'];
|
|
2028
2031
|
}
|
|
2029
2032
|
];
|
|
2030
2033
|
};
|
|
@@ -2103,32 +2106,32 @@ type Database = {
|
|
|
2103
2106
|
};
|
|
2104
2107
|
Relationships: [
|
|
2105
2108
|
{
|
|
2106
|
-
foreignKeyName:
|
|
2107
|
-
columns: [
|
|
2109
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
2110
|
+
columns: ['organization_id'];
|
|
2108
2111
|
isOneToOne: false;
|
|
2109
|
-
referencedRelation:
|
|
2110
|
-
referencedColumns: [
|
|
2112
|
+
referencedRelation: 'organizations';
|
|
2113
|
+
referencedColumns: ['id'];
|
|
2111
2114
|
},
|
|
2112
2115
|
{
|
|
2113
|
-
foreignKeyName:
|
|
2114
|
-
columns: [
|
|
2116
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
2117
|
+
columns: ['origin_execution_id'];
|
|
2115
2118
|
isOneToOne: false;
|
|
2116
|
-
referencedRelation:
|
|
2117
|
-
referencedColumns: [
|
|
2119
|
+
referencedRelation: 'execution_logs';
|
|
2120
|
+
referencedColumns: ['execution_id'];
|
|
2118
2121
|
},
|
|
2119
2122
|
{
|
|
2120
|
-
foreignKeyName:
|
|
2121
|
-
columns: [
|
|
2123
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
2124
|
+
columns: ['session_id'];
|
|
2122
2125
|
isOneToOne: false;
|
|
2123
|
-
referencedRelation:
|
|
2124
|
-
referencedColumns: [
|
|
2126
|
+
referencedRelation: 'sessions';
|
|
2127
|
+
referencedColumns: ['session_id'];
|
|
2125
2128
|
},
|
|
2126
2129
|
{
|
|
2127
|
-
foreignKeyName:
|
|
2128
|
-
columns: [
|
|
2130
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
2131
|
+
columns: ['user_id'];
|
|
2129
2132
|
isOneToOne: false;
|
|
2130
|
-
referencedRelation:
|
|
2131
|
-
referencedColumns: [
|
|
2133
|
+
referencedRelation: 'users';
|
|
2134
|
+
referencedColumns: ['id'];
|
|
2132
2135
|
}
|
|
2133
2136
|
];
|
|
2134
2137
|
};
|
|
@@ -2174,18 +2177,18 @@ type Database = {
|
|
|
2174
2177
|
};
|
|
2175
2178
|
Relationships: [
|
|
2176
2179
|
{
|
|
2177
|
-
foreignKeyName:
|
|
2178
|
-
columns: [
|
|
2180
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
2181
|
+
columns: ['execution_id'];
|
|
2179
2182
|
isOneToOne: true;
|
|
2180
|
-
referencedRelation:
|
|
2181
|
-
referencedColumns: [
|
|
2183
|
+
referencedRelation: 'execution_logs';
|
|
2184
|
+
referencedColumns: ['execution_id'];
|
|
2182
2185
|
},
|
|
2183
2186
|
{
|
|
2184
|
-
foreignKeyName:
|
|
2185
|
-
columns: [
|
|
2187
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
2188
|
+
columns: ['organization_id'];
|
|
2186
2189
|
isOneToOne: false;
|
|
2187
|
-
referencedRelation:
|
|
2188
|
-
referencedColumns: [
|
|
2190
|
+
referencedRelation: 'organizations';
|
|
2191
|
+
referencedColumns: ['id'];
|
|
2189
2192
|
}
|
|
2190
2193
|
];
|
|
2191
2194
|
};
|
|
@@ -2228,18 +2231,18 @@ type Database = {
|
|
|
2228
2231
|
};
|
|
2229
2232
|
Relationships: [
|
|
2230
2233
|
{
|
|
2231
|
-
foreignKeyName:
|
|
2232
|
-
columns: [
|
|
2234
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
2235
|
+
columns: ['organization_id'];
|
|
2233
2236
|
isOneToOne: false;
|
|
2234
|
-
referencedRelation:
|
|
2235
|
-
referencedColumns: [
|
|
2237
|
+
referencedRelation: 'organizations';
|
|
2238
|
+
referencedColumns: ['id'];
|
|
2236
2239
|
},
|
|
2237
2240
|
{
|
|
2238
|
-
foreignKeyName:
|
|
2239
|
-
columns: [
|
|
2241
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
2242
|
+
columns: ['user_id'];
|
|
2240
2243
|
isOneToOne: false;
|
|
2241
|
-
referencedRelation:
|
|
2242
|
-
referencedColumns: [
|
|
2244
|
+
referencedRelation: 'users';
|
|
2245
|
+
referencedColumns: ['id'];
|
|
2243
2246
|
}
|
|
2244
2247
|
];
|
|
2245
2248
|
};
|
|
@@ -2294,18 +2297,18 @@ type Database = {
|
|
|
2294
2297
|
};
|
|
2295
2298
|
Relationships: [
|
|
2296
2299
|
{
|
|
2297
|
-
foreignKeyName:
|
|
2298
|
-
columns: [
|
|
2300
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
2301
|
+
columns: ['inviter_user_id'];
|
|
2299
2302
|
isOneToOne: false;
|
|
2300
|
-
referencedRelation:
|
|
2301
|
-
referencedColumns: [
|
|
2303
|
+
referencedRelation: 'users';
|
|
2304
|
+
referencedColumns: ['id'];
|
|
2302
2305
|
},
|
|
2303
2306
|
{
|
|
2304
|
-
foreignKeyName:
|
|
2305
|
-
columns: [
|
|
2307
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
2308
|
+
columns: ['organization_id'];
|
|
2306
2309
|
isOneToOne: false;
|
|
2307
|
-
referencedRelation:
|
|
2308
|
-
referencedColumns: [
|
|
2310
|
+
referencedRelation: 'organizations';
|
|
2311
|
+
referencedColumns: ['id'];
|
|
2309
2312
|
}
|
|
2310
2313
|
];
|
|
2311
2314
|
};
|
|
@@ -2345,18 +2348,18 @@ type Database = {
|
|
|
2345
2348
|
};
|
|
2346
2349
|
Relationships: [
|
|
2347
2350
|
{
|
|
2348
|
-
foreignKeyName:
|
|
2349
|
-
columns: [
|
|
2351
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
2352
|
+
columns: ['organization_id'];
|
|
2350
2353
|
isOneToOne: false;
|
|
2351
|
-
referencedRelation:
|
|
2352
|
-
referencedColumns: [
|
|
2354
|
+
referencedRelation: 'organizations';
|
|
2355
|
+
referencedColumns: ['id'];
|
|
2353
2356
|
},
|
|
2354
2357
|
{
|
|
2355
|
-
foreignKeyName:
|
|
2356
|
-
columns: [
|
|
2358
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
2359
|
+
columns: ['user_id'];
|
|
2357
2360
|
isOneToOne: false;
|
|
2358
|
-
referencedRelation:
|
|
2359
|
-
referencedColumns: [
|
|
2361
|
+
referencedRelation: 'users';
|
|
2362
|
+
referencedColumns: ['id'];
|
|
2360
2363
|
}
|
|
2361
2364
|
];
|
|
2362
2365
|
};
|
|
@@ -2432,11 +2435,11 @@ type Database = {
|
|
|
2432
2435
|
};
|
|
2433
2436
|
Relationships: [
|
|
2434
2437
|
{
|
|
2435
|
-
foreignKeyName:
|
|
2436
|
-
columns: [
|
|
2438
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
2439
|
+
columns: ['session_id'];
|
|
2437
2440
|
isOneToOne: false;
|
|
2438
|
-
referencedRelation:
|
|
2439
|
-
referencedColumns: [
|
|
2441
|
+
referencedRelation: 'sessions';
|
|
2442
|
+
referencedColumns: ['session_id'];
|
|
2440
2443
|
}
|
|
2441
2444
|
];
|
|
2442
2445
|
};
|
|
@@ -2491,18 +2494,18 @@ type Database = {
|
|
|
2491
2494
|
};
|
|
2492
2495
|
Relationships: [
|
|
2493
2496
|
{
|
|
2494
|
-
foreignKeyName:
|
|
2495
|
-
columns: [
|
|
2497
|
+
foreignKeyName: 'fk_organization';
|
|
2498
|
+
columns: ['organization_id'];
|
|
2496
2499
|
isOneToOne: false;
|
|
2497
|
-
referencedRelation:
|
|
2498
|
-
referencedColumns: [
|
|
2500
|
+
referencedRelation: 'organizations';
|
|
2501
|
+
referencedColumns: ['id'];
|
|
2499
2502
|
},
|
|
2500
2503
|
{
|
|
2501
|
-
foreignKeyName:
|
|
2502
|
-
columns: [
|
|
2504
|
+
foreignKeyName: 'fk_user';
|
|
2505
|
+
columns: ['user_id'];
|
|
2503
2506
|
isOneToOne: false;
|
|
2504
|
-
referencedRelation:
|
|
2505
|
-
referencedColumns: [
|
|
2507
|
+
referencedRelation: 'users';
|
|
2508
|
+
referencedColumns: ['id'];
|
|
2506
2509
|
}
|
|
2507
2510
|
];
|
|
2508
2511
|
};
|
|
@@ -2578,11 +2581,11 @@ type Database = {
|
|
|
2578
2581
|
};
|
|
2579
2582
|
Relationships: [
|
|
2580
2583
|
{
|
|
2581
|
-
foreignKeyName:
|
|
2582
|
-
columns: [
|
|
2584
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
2585
|
+
columns: ['organization_id'];
|
|
2583
2586
|
isOneToOne: false;
|
|
2584
|
-
referencedRelation:
|
|
2585
|
-
referencedColumns: [
|
|
2587
|
+
referencedRelation: 'organizations';
|
|
2588
|
+
referencedColumns: ['id'];
|
|
2586
2589
|
}
|
|
2587
2590
|
];
|
|
2588
2591
|
};
|
|
@@ -2622,18 +2625,18 @@ type Database = {
|
|
|
2622
2625
|
};
|
|
2623
2626
|
Relationships: [
|
|
2624
2627
|
{
|
|
2625
|
-
foreignKeyName:
|
|
2626
|
-
columns: [
|
|
2628
|
+
foreignKeyName: 'training_assessments_organization_id_fkey';
|
|
2629
|
+
columns: ['organization_id'];
|
|
2627
2630
|
isOneToOne: false;
|
|
2628
|
-
referencedRelation:
|
|
2629
|
-
referencedColumns: [
|
|
2631
|
+
referencedRelation: 'organizations';
|
|
2632
|
+
referencedColumns: ['id'];
|
|
2630
2633
|
},
|
|
2631
2634
|
{
|
|
2632
|
-
foreignKeyName:
|
|
2633
|
-
columns: [
|
|
2635
|
+
foreignKeyName: 'training_assessments_user_id_fkey';
|
|
2636
|
+
columns: ['user_id'];
|
|
2634
2637
|
isOneToOne: false;
|
|
2635
|
-
referencedRelation:
|
|
2636
|
-
referencedColumns: [
|
|
2638
|
+
referencedRelation: 'users';
|
|
2639
|
+
referencedColumns: ['id'];
|
|
2637
2640
|
}
|
|
2638
2641
|
];
|
|
2639
2642
|
};
|
|
@@ -2661,18 +2664,18 @@ type Database = {
|
|
|
2661
2664
|
};
|
|
2662
2665
|
Relationships: [
|
|
2663
2666
|
{
|
|
2664
|
-
foreignKeyName:
|
|
2665
|
-
columns: [
|
|
2667
|
+
foreignKeyName: 'training_certifications_organization_id_fkey';
|
|
2668
|
+
columns: ['organization_id'];
|
|
2666
2669
|
isOneToOne: false;
|
|
2667
|
-
referencedRelation:
|
|
2668
|
-
referencedColumns: [
|
|
2670
|
+
referencedRelation: 'organizations';
|
|
2671
|
+
referencedColumns: ['id'];
|
|
2669
2672
|
},
|
|
2670
2673
|
{
|
|
2671
|
-
foreignKeyName:
|
|
2672
|
-
columns: [
|
|
2674
|
+
foreignKeyName: 'training_certifications_user_id_fkey';
|
|
2675
|
+
columns: ['user_id'];
|
|
2673
2676
|
isOneToOne: false;
|
|
2674
|
-
referencedRelation:
|
|
2675
|
-
referencedColumns: [
|
|
2677
|
+
referencedRelation: 'users';
|
|
2678
|
+
referencedColumns: ['id'];
|
|
2676
2679
|
}
|
|
2677
2680
|
];
|
|
2678
2681
|
};
|
|
@@ -2703,18 +2706,18 @@ type Database = {
|
|
|
2703
2706
|
};
|
|
2704
2707
|
Relationships: [
|
|
2705
2708
|
{
|
|
2706
|
-
foreignKeyName:
|
|
2707
|
-
columns: [
|
|
2709
|
+
foreignKeyName: 'training_progress_organization_id_fkey';
|
|
2710
|
+
columns: ['organization_id'];
|
|
2708
2711
|
isOneToOne: false;
|
|
2709
|
-
referencedRelation:
|
|
2710
|
-
referencedColumns: [
|
|
2712
|
+
referencedRelation: 'organizations';
|
|
2713
|
+
referencedColumns: ['id'];
|
|
2711
2714
|
},
|
|
2712
2715
|
{
|
|
2713
|
-
foreignKeyName:
|
|
2714
|
-
columns: [
|
|
2716
|
+
foreignKeyName: 'training_progress_user_id_fkey';
|
|
2717
|
+
columns: ['user_id'];
|
|
2715
2718
|
isOneToOne: false;
|
|
2716
|
-
referencedRelation:
|
|
2717
|
-
referencedColumns: [
|
|
2719
|
+
referencedRelation: 'users';
|
|
2720
|
+
referencedColumns: ['id'];
|
|
2718
2721
|
}
|
|
2719
2722
|
];
|
|
2720
2723
|
};
|
|
@@ -2769,11 +2772,11 @@ type Database = {
|
|
|
2769
2772
|
};
|
|
2770
2773
|
Relationships: [
|
|
2771
2774
|
{
|
|
2772
|
-
foreignKeyName:
|
|
2773
|
-
columns: [
|
|
2775
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
2776
|
+
columns: ['last_visited_org'];
|
|
2774
2777
|
isOneToOne: false;
|
|
2775
|
-
referencedRelation:
|
|
2776
|
-
referencedColumns: [
|
|
2778
|
+
referencedRelation: 'organizations';
|
|
2779
|
+
referencedColumns: ['id'];
|
|
2777
2780
|
}
|
|
2778
2781
|
];
|
|
2779
2782
|
};
|
|
@@ -3344,6 +3347,7 @@ interface AcqCompany {
|
|
|
3344
3347
|
primarySegment: string | null;
|
|
3345
3348
|
otherSegments: string[] | null;
|
|
3346
3349
|
enrichmentStatus: EnrichmentStatus | null;
|
|
3350
|
+
tags: string[] | null;
|
|
3347
3351
|
source: string | null;
|
|
3348
3352
|
createdAt: Date;
|
|
3349
3353
|
updatedAt: Date;
|
|
@@ -3416,6 +3420,7 @@ interface CreateCompanyParams {
|
|
|
3416
3420
|
foundedYear?: number;
|
|
3417
3421
|
locationCity?: string;
|
|
3418
3422
|
locationState?: string;
|
|
3423
|
+
tags?: string[];
|
|
3419
3424
|
source?: string;
|
|
3420
3425
|
}
|
|
3421
3426
|
interface UpdateCompanyParams {
|
|
@@ -3438,6 +3443,7 @@ interface UpdateCompanyParams {
|
|
|
3438
3443
|
primarySegment?: string;
|
|
3439
3444
|
otherSegments?: string[];
|
|
3440
3445
|
enrichmentStatus?: Record<string, string>;
|
|
3446
|
+
tags?: string[];
|
|
3441
3447
|
source?: string;
|
|
3442
3448
|
/** Attio Company record ID - set when company is added to CRM. Pass null to clear. */
|
|
3443
3449
|
attioCompanyId?: string | null;
|
|
@@ -3447,6 +3453,7 @@ interface CompanyFilters {
|
|
|
3447
3453
|
primarySegment?: string;
|
|
3448
3454
|
businessType?: string;
|
|
3449
3455
|
enrichmentStatus?: string;
|
|
3456
|
+
tag?: string;
|
|
3450
3457
|
}
|
|
3451
3458
|
interface CreateContactParams {
|
|
3452
3459
|
organizationId: string;
|
package/dist/worker/index.js
CHANGED
|
@@ -3284,7 +3284,7 @@ function timeoutError(operation) {
|
|
|
3284
3284
|
}
|
|
3285
3285
|
|
|
3286
3286
|
// ../core/src/platform/constants/timeouts.ts
|
|
3287
|
-
var DEFAULT_TOOL_TIMEOUT =
|
|
3287
|
+
var DEFAULT_TOOL_TIMEOUT = 18e5;
|
|
3288
3288
|
|
|
3289
3289
|
// ../core/src/execution/engine/agent/actions/executor.ts
|
|
3290
3290
|
async function executeToolCall(iterationContext, action) {
|
|
@@ -4685,8 +4685,8 @@ var platform = {
|
|
|
4685
4685
|
credential: options.credential
|
|
4686
4686
|
};
|
|
4687
4687
|
return new Promise((resolve, reject) => {
|
|
4688
|
-
const timeoutMs =
|
|
4689
|
-
const timeoutLabel = "
|
|
4688
|
+
const timeoutMs = 18e5;
|
|
4689
|
+
const timeoutLabel = "1800s";
|
|
4690
4690
|
const timer = setTimeout(() => {
|
|
4691
4691
|
pendingCalls.delete(id);
|
|
4692
4692
|
reject(
|