@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 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.20",
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: "12.2.3 (519615d)";
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: "acq_companies_organization_id_fkey";
1261
- columns: ["organization_id"];
1263
+ foreignKeyName: 'acq_companies_organization_id_fkey';
1264
+ columns: ['organization_id'];
1262
1265
  isOneToOne: false;
1263
- referencedRelation: "organizations";
1264
- referencedColumns: ["id"];
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: "acq_contacts_company_id_fkey";
1359
- columns: ["company_id"];
1361
+ foreignKeyName: 'acq_contacts_company_id_fkey';
1362
+ columns: ['company_id'];
1360
1363
  isOneToOne: false;
1361
- referencedRelation: "acq_companies";
1362
- referencedColumns: ["id"];
1364
+ referencedRelation: 'acq_companies';
1365
+ referencedColumns: ['id'];
1363
1366
  },
1364
1367
  {
1365
- foreignKeyName: "acq_contacts_organization_id_fkey";
1366
- columns: ["organization_id"];
1368
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
1369
+ columns: ['organization_id'];
1367
1370
  isOneToOne: false;
1368
- referencedRelation: "organizations";
1369
- referencedColumns: ["id"];
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: "acq_deals_contact_id_fkey";
1479
- columns: ["contact_id"];
1481
+ foreignKeyName: 'acq_deals_contact_id_fkey';
1482
+ columns: ['contact_id'];
1480
1483
  isOneToOne: false;
1481
- referencedRelation: "acq_contacts";
1482
- referencedColumns: ["id"];
1484
+ referencedRelation: 'acq_contacts';
1485
+ referencedColumns: ['id'];
1483
1486
  },
1484
1487
  {
1485
- foreignKeyName: "acq_deals_organization_id_fkey";
1486
- columns: ["organization_id"];
1488
+ foreignKeyName: 'acq_deals_organization_id_fkey';
1489
+ columns: ['organization_id'];
1487
1490
  isOneToOne: false;
1488
- referencedRelation: "organizations";
1489
- referencedColumns: ["id"];
1491
+ referencedRelation: 'organizations';
1492
+ referencedColumns: ['id'];
1490
1493
  },
1491
1494
  {
1492
- foreignKeyName: "acq_deals_source_list_id_fkey";
1493
- columns: ["source_list_id"];
1495
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
1496
+ columns: ['source_list_id'];
1494
1497
  isOneToOne: false;
1495
- referencedRelation: "acq_lists";
1496
- referencedColumns: ["id"];
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: "acq_list_members_contact_id_fkey";
1525
- columns: ["contact_id"];
1527
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
1528
+ columns: ['contact_id'];
1526
1529
  isOneToOne: false;
1527
- referencedRelation: "acq_contacts";
1528
- referencedColumns: ["id"];
1530
+ referencedRelation: 'acq_contacts';
1531
+ referencedColumns: ['id'];
1529
1532
  },
1530
1533
  {
1531
- foreignKeyName: "acq_list_members_list_id_fkey";
1532
- columns: ["list_id"];
1534
+ foreignKeyName: 'acq_list_members_list_id_fkey';
1535
+ columns: ['list_id'];
1533
1536
  isOneToOne: false;
1534
- referencedRelation: "acq_lists";
1535
- referencedColumns: ["id"];
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: "acq_lists_organization_id_fkey";
1564
- columns: ["organization_id"];
1566
+ foreignKeyName: 'acq_lists_organization_id_fkey';
1567
+ columns: ['organization_id'];
1565
1568
  isOneToOne: false;
1566
- referencedRelation: "organizations";
1567
- referencedColumns: ["id"];
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: "activities_organization_id_fkey";
1617
- columns: ["organization_id"];
1619
+ foreignKeyName: 'activities_organization_id_fkey';
1620
+ columns: ['organization_id'];
1618
1621
  isOneToOne: false;
1619
- referencedRelation: "organizations";
1620
- referencedColumns: ["id"];
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: "api_keys_organization_id_fkey";
1652
- columns: ["organization_id"];
1654
+ foreignKeyName: 'api_keys_organization_id_fkey';
1655
+ columns: ['organization_id'];
1653
1656
  isOneToOne: false;
1654
- referencedRelation: "organizations";
1655
- referencedColumns: ["id"];
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: "calibration_projects_organization_id_fkey";
1693
- columns: ["organization_id"];
1695
+ foreignKeyName: 'calibration_projects_organization_id_fkey';
1696
+ columns: ['organization_id'];
1694
1697
  isOneToOne: false;
1695
- referencedRelation: "organizations";
1696
- referencedColumns: ["id"];
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: "calibration_runs_organization_id_fkey";
1752
- columns: ["organization_id"];
1754
+ foreignKeyName: 'calibration_runs_organization_id_fkey';
1755
+ columns: ['organization_id'];
1753
1756
  isOneToOne: false;
1754
- referencedRelation: "organizations";
1755
- referencedColumns: ["id"];
1757
+ referencedRelation: 'organizations';
1758
+ referencedColumns: ['id'];
1756
1759
  },
1757
1760
  {
1758
- foreignKeyName: "calibration_runs_project_id_fkey";
1759
- columns: ["project_id"];
1761
+ foreignKeyName: 'calibration_runs_project_id_fkey';
1762
+ columns: ['project_id'];
1760
1763
  isOneToOne: false;
1761
- referencedRelation: "calibration_projects";
1762
- referencedColumns: ["id"];
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: "command_queue_completed_by_fkey";
1833
- columns: ["completed_by"];
1835
+ foreignKeyName: 'command_queue_completed_by_fkey';
1836
+ columns: ['completed_by'];
1834
1837
  isOneToOne: false;
1835
- referencedRelation: "users";
1836
- referencedColumns: ["id"];
1838
+ referencedRelation: 'users';
1839
+ referencedColumns: ['id'];
1837
1840
  },
1838
1841
  {
1839
- foreignKeyName: "command_queue_organization_id_fkey";
1840
- columns: ["organization_id"];
1842
+ foreignKeyName: 'command_queue_organization_id_fkey';
1843
+ columns: ['organization_id'];
1841
1844
  isOneToOne: false;
1842
- referencedRelation: "organizations";
1843
- referencedColumns: ["id"];
1845
+ referencedRelation: 'organizations';
1846
+ referencedColumns: ['id'];
1844
1847
  },
1845
1848
  {
1846
- foreignKeyName: "command_queue_target_execution_id_fkey";
1847
- columns: ["target_execution_id"];
1849
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1850
+ columns: ['target_execution_id'];
1848
1851
  isOneToOne: false;
1849
- referencedRelation: "execution_logs";
1850
- referencedColumns: ["execution_id"];
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: "credentials_created_by_fkey";
1891
- columns: ["created_by"];
1893
+ foreignKeyName: 'credentials_created_by_fkey';
1894
+ columns: ['created_by'];
1892
1895
  isOneToOne: false;
1893
- referencedRelation: "users";
1894
- referencedColumns: ["id"];
1896
+ referencedRelation: 'users';
1897
+ referencedColumns: ['id'];
1895
1898
  },
1896
1899
  {
1897
- foreignKeyName: "credentials_organization_id_fkey";
1898
- columns: ["organization_id"];
1900
+ foreignKeyName: 'credentials_organization_id_fkey';
1901
+ columns: ['organization_id'];
1899
1902
  isOneToOne: false;
1900
- referencedRelation: "organizations";
1901
- referencedColumns: ["id"];
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: "deployments_organization_id_fkey";
1951
- columns: ["organization_id"];
1953
+ foreignKeyName: 'deployments_organization_id_fkey';
1954
+ columns: ['organization_id'];
1952
1955
  isOneToOne: false;
1953
- referencedRelation: "organizations";
1954
- referencedColumns: ["id"];
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: "execution_errors_execution_id_fkey";
2010
- columns: ["execution_id"];
2012
+ foreignKeyName: 'execution_errors_execution_id_fkey';
2013
+ columns: ['execution_id'];
2011
2014
  isOneToOne: false;
2012
- referencedRelation: "execution_logs";
2013
- referencedColumns: ["execution_id"];
2015
+ referencedRelation: 'execution_logs';
2016
+ referencedColumns: ['execution_id'];
2014
2017
  },
2015
2018
  {
2016
- foreignKeyName: "execution_errors_organization_id_fkey";
2017
- columns: ["organization_id"];
2019
+ foreignKeyName: 'execution_errors_organization_id_fkey';
2020
+ columns: ['organization_id'];
2018
2021
  isOneToOne: false;
2019
- referencedRelation: "organizations";
2020
- referencedColumns: ["id"];
2022
+ referencedRelation: 'organizations';
2023
+ referencedColumns: ['id'];
2021
2024
  },
2022
2025
  {
2023
- foreignKeyName: "execution_errors_resolved_by_fkey";
2024
- columns: ["resolved_by"];
2026
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
2027
+ columns: ['resolved_by'];
2025
2028
  isOneToOne: false;
2026
- referencedRelation: "users";
2027
- referencedColumns: ["id"];
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: "execution_history_organization_id_fkey";
2107
- columns: ["organization_id"];
2109
+ foreignKeyName: 'execution_history_organization_id_fkey';
2110
+ columns: ['organization_id'];
2108
2111
  isOneToOne: false;
2109
- referencedRelation: "organizations";
2110
- referencedColumns: ["id"];
2112
+ referencedRelation: 'organizations';
2113
+ referencedColumns: ['id'];
2111
2114
  },
2112
2115
  {
2113
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
2114
- columns: ["origin_execution_id"];
2116
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
2117
+ columns: ['origin_execution_id'];
2115
2118
  isOneToOne: false;
2116
- referencedRelation: "execution_logs";
2117
- referencedColumns: ["execution_id"];
2119
+ referencedRelation: 'execution_logs';
2120
+ referencedColumns: ['execution_id'];
2118
2121
  },
2119
2122
  {
2120
- foreignKeyName: "execution_logs_session_id_fkey";
2121
- columns: ["session_id"];
2123
+ foreignKeyName: 'execution_logs_session_id_fkey';
2124
+ columns: ['session_id'];
2122
2125
  isOneToOne: false;
2123
- referencedRelation: "sessions";
2124
- referencedColumns: ["session_id"];
2126
+ referencedRelation: 'sessions';
2127
+ referencedColumns: ['session_id'];
2125
2128
  },
2126
2129
  {
2127
- foreignKeyName: "execution_logs_user_id_fkey";
2128
- columns: ["user_id"];
2130
+ foreignKeyName: 'execution_logs_user_id_fkey';
2131
+ columns: ['user_id'];
2129
2132
  isOneToOne: false;
2130
- referencedRelation: "users";
2131
- referencedColumns: ["id"];
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: "execution_metrics_execution_id_fkey";
2178
- columns: ["execution_id"];
2180
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
2181
+ columns: ['execution_id'];
2179
2182
  isOneToOne: true;
2180
- referencedRelation: "execution_logs";
2181
- referencedColumns: ["execution_id"];
2183
+ referencedRelation: 'execution_logs';
2184
+ referencedColumns: ['execution_id'];
2182
2185
  },
2183
2186
  {
2184
- foreignKeyName: "execution_metrics_organization_id_fkey";
2185
- columns: ["organization_id"];
2187
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
2188
+ columns: ['organization_id'];
2186
2189
  isOneToOne: false;
2187
- referencedRelation: "organizations";
2188
- referencedColumns: ["id"];
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: "notifications_organization_id_fkey";
2232
- columns: ["organization_id"];
2234
+ foreignKeyName: 'notifications_organization_id_fkey';
2235
+ columns: ['organization_id'];
2233
2236
  isOneToOne: false;
2234
- referencedRelation: "organizations";
2235
- referencedColumns: ["id"];
2237
+ referencedRelation: 'organizations';
2238
+ referencedColumns: ['id'];
2236
2239
  },
2237
2240
  {
2238
- foreignKeyName: "notifications_user_id_fkey";
2239
- columns: ["user_id"];
2241
+ foreignKeyName: 'notifications_user_id_fkey';
2242
+ columns: ['user_id'];
2240
2243
  isOneToOne: false;
2241
- referencedRelation: "users";
2242
- referencedColumns: ["id"];
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: "org_invitations_inviter_user_id_fkey";
2298
- columns: ["inviter_user_id"];
2300
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
2301
+ columns: ['inviter_user_id'];
2299
2302
  isOneToOne: false;
2300
- referencedRelation: "users";
2301
- referencedColumns: ["id"];
2303
+ referencedRelation: 'users';
2304
+ referencedColumns: ['id'];
2302
2305
  },
2303
2306
  {
2304
- foreignKeyName: "org_invitations_organization_id_fkey";
2305
- columns: ["organization_id"];
2307
+ foreignKeyName: 'org_invitations_organization_id_fkey';
2308
+ columns: ['organization_id'];
2306
2309
  isOneToOne: false;
2307
- referencedRelation: "organizations";
2308
- referencedColumns: ["id"];
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: "org_memberships_organization_id_fkey";
2349
- columns: ["organization_id"];
2351
+ foreignKeyName: 'org_memberships_organization_id_fkey';
2352
+ columns: ['organization_id'];
2350
2353
  isOneToOne: false;
2351
- referencedRelation: "organizations";
2352
- referencedColumns: ["id"];
2354
+ referencedRelation: 'organizations';
2355
+ referencedColumns: ['id'];
2353
2356
  },
2354
2357
  {
2355
- foreignKeyName: "org_memberships_user_id_fkey";
2356
- columns: ["user_id"];
2358
+ foreignKeyName: 'org_memberships_user_id_fkey';
2359
+ columns: ['user_id'];
2357
2360
  isOneToOne: false;
2358
- referencedRelation: "users";
2359
- referencedColumns: ["id"];
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: "session_messages_session_id_fkey";
2436
- columns: ["session_id"];
2438
+ foreignKeyName: 'session_messages_session_id_fkey';
2439
+ columns: ['session_id'];
2437
2440
  isOneToOne: false;
2438
- referencedRelation: "sessions";
2439
- referencedColumns: ["session_id"];
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: "fk_organization";
2495
- columns: ["organization_id"];
2497
+ foreignKeyName: 'fk_organization';
2498
+ columns: ['organization_id'];
2496
2499
  isOneToOne: false;
2497
- referencedRelation: "organizations";
2498
- referencedColumns: ["id"];
2500
+ referencedRelation: 'organizations';
2501
+ referencedColumns: ['id'];
2499
2502
  },
2500
2503
  {
2501
- foreignKeyName: "fk_user";
2502
- columns: ["user_id"];
2504
+ foreignKeyName: 'fk_user';
2505
+ columns: ['user_id'];
2503
2506
  isOneToOne: false;
2504
- referencedRelation: "users";
2505
- referencedColumns: ["id"];
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: "task_schedules_organization_id_fkey";
2582
- columns: ["organization_id"];
2584
+ foreignKeyName: 'task_schedules_organization_id_fkey';
2585
+ columns: ['organization_id'];
2583
2586
  isOneToOne: false;
2584
- referencedRelation: "organizations";
2585
- referencedColumns: ["id"];
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: "training_assessments_organization_id_fkey";
2626
- columns: ["organization_id"];
2628
+ foreignKeyName: 'training_assessments_organization_id_fkey';
2629
+ columns: ['organization_id'];
2627
2630
  isOneToOne: false;
2628
- referencedRelation: "organizations";
2629
- referencedColumns: ["id"];
2631
+ referencedRelation: 'organizations';
2632
+ referencedColumns: ['id'];
2630
2633
  },
2631
2634
  {
2632
- foreignKeyName: "training_assessments_user_id_fkey";
2633
- columns: ["user_id"];
2635
+ foreignKeyName: 'training_assessments_user_id_fkey';
2636
+ columns: ['user_id'];
2634
2637
  isOneToOne: false;
2635
- referencedRelation: "users";
2636
- referencedColumns: ["id"];
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: "training_certifications_organization_id_fkey";
2665
- columns: ["organization_id"];
2667
+ foreignKeyName: 'training_certifications_organization_id_fkey';
2668
+ columns: ['organization_id'];
2666
2669
  isOneToOne: false;
2667
- referencedRelation: "organizations";
2668
- referencedColumns: ["id"];
2670
+ referencedRelation: 'organizations';
2671
+ referencedColumns: ['id'];
2669
2672
  },
2670
2673
  {
2671
- foreignKeyName: "training_certifications_user_id_fkey";
2672
- columns: ["user_id"];
2674
+ foreignKeyName: 'training_certifications_user_id_fkey';
2675
+ columns: ['user_id'];
2673
2676
  isOneToOne: false;
2674
- referencedRelation: "users";
2675
- referencedColumns: ["id"];
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: "training_progress_organization_id_fkey";
2707
- columns: ["organization_id"];
2709
+ foreignKeyName: 'training_progress_organization_id_fkey';
2710
+ columns: ['organization_id'];
2708
2711
  isOneToOne: false;
2709
- referencedRelation: "organizations";
2710
- referencedColumns: ["id"];
2712
+ referencedRelation: 'organizations';
2713
+ referencedColumns: ['id'];
2711
2714
  },
2712
2715
  {
2713
- foreignKeyName: "training_progress_user_id_fkey";
2714
- columns: ["user_id"];
2716
+ foreignKeyName: 'training_progress_user_id_fkey';
2717
+ columns: ['user_id'];
2715
2718
  isOneToOne: false;
2716
- referencedRelation: "users";
2717
- referencedColumns: ["id"];
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: "user_profiles_last_visited_org_fkey";
2773
- columns: ["last_visited_org"];
2775
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
2776
+ columns: ['last_visited_org'];
2774
2777
  isOneToOne: false;
2775
- referencedRelation: "organizations";
2776
- referencedColumns: ["id"];
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;
@@ -3284,7 +3284,7 @@ function timeoutError(operation) {
3284
3284
  }
3285
3285
 
3286
3286
  // ../core/src/platform/constants/timeouts.ts
3287
- var DEFAULT_TOOL_TIMEOUT = 6e5;
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 = 6e5;
4689
- const timeoutLabel = "600s";
4688
+ const timeoutMs = 18e5;
4689
+ const timeoutLabel = "1800s";
4690
4690
  const timer = setTimeout(() => {
4691
4691
  pendingCalls.delete(id);
4692
4692
  reject(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.5.20",
3
+ "version": "0.5.21",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {