@replit/connectors 0.4.0 → 0.6.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.
@@ -39,6 +39,8 @@ export interface Connector {
39
39
  scopes?: Array<Connector.Scope>;
40
40
 
41
41
  stage?: 'alpha' | 'beta' | 'ga' | 'hidden';
42
+
43
+ webhook_registration_input?: unknown;
42
44
  }
43
45
 
44
46
  export namespace Connector {
@@ -56,6 +58,8 @@ export namespace Connector {
56
58
  pre_connect_input?: unknown;
57
59
 
58
60
  webhook_events?: unknown;
61
+
62
+ webhook_registration_input?: unknown;
59
63
  }
60
64
 
61
65
  export interface Scope {
@@ -88,6 +92,7 @@ export interface Integration {
88
92
  | 'dropbox'
89
93
  | 'figma'
90
94
  | 'github'
95
+ | 'github-source-control'
91
96
  | 'google-calendar'
92
97
  | 'google-docs'
93
98
  | 'google-drive'
@@ -191,6 +196,7 @@ export type CreateConnectionResponse =
191
196
  | CreateConnectionResponse.ConnectorDiscordDiscriminatedConnectionSettings
192
197
  | CreateConnectionResponse.ConnectorDropboxDiscriminatedConnectionSettings
193
198
  | CreateConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
199
+ | CreateConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
194
200
  | CreateConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
195
201
  | CreateConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
196
202
  | CreateConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -265,6 +271,12 @@ export namespace CreateConnectionResponse {
265
271
  status_message?: string | null;
266
272
 
267
273
  updated_at?: string;
274
+
275
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
276
+
277
+ webhook_configured_at?: string | null;
278
+
279
+ webhook_identifier?: string | null;
268
280
  }
269
281
 
270
282
  export namespace ConnectorAcmeApikeyDiscriminatedConnectionSettings {
@@ -310,6 +322,12 @@ export namespace CreateConnectionResponse {
310
322
  status_message?: string | null;
311
323
 
312
324
  updated_at?: string;
325
+
326
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
327
+
328
+ webhook_configured_at?: string | null;
329
+
330
+ webhook_identifier?: string | null;
313
331
  }
314
332
 
315
333
  export namespace ConnectorAcmeOauth2DiscriminatedConnectionSettings {
@@ -404,6 +422,12 @@ export namespace CreateConnectionResponse {
404
422
  status_message?: string | null;
405
423
 
406
424
  updated_at?: string;
425
+
426
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
427
+
428
+ webhook_configured_at?: string | null;
429
+
430
+ webhook_identifier?: string | null;
407
431
  }
408
432
 
409
433
  export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
@@ -449,6 +473,12 @@ export namespace CreateConnectionResponse {
449
473
  status_message?: string | null;
450
474
 
451
475
  updated_at?: string;
476
+
477
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
478
+
479
+ webhook_configured_at?: string | null;
480
+
481
+ webhook_identifier?: string | null;
452
482
  }
453
483
 
454
484
  export namespace ConnectorAsanaDiscriminatedConnectionSettings {
@@ -543,12 +573,24 @@ export namespace CreateConnectionResponse {
543
573
  status_message?: string | null;
544
574
 
545
575
  updated_at?: string;
576
+
577
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
578
+
579
+ webhook_configured_at?: string | null;
580
+
581
+ webhook_identifier?: string | null;
546
582
  }
547
583
 
548
584
  export namespace ConnectorBigqueryDiscriminatedConnectionSettings {
549
585
  export interface Settings {
550
586
  oauth: Settings.OAuth;
551
587
 
588
+ /**
589
+ * Your Google Cloud Project ID (e.g., my-project-123). This is required to make
590
+ * API calls to BigQuery.
591
+ */
592
+ project_id: string;
593
+
552
594
  /**
553
595
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
554
596
  * for backward compatibility until we remove the oauth field
@@ -637,6 +679,12 @@ export namespace CreateConnectionResponse {
637
679
  status_message?: string | null;
638
680
 
639
681
  updated_at?: string;
682
+
683
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
684
+
685
+ webhook_configured_at?: string | null;
686
+
687
+ webhook_identifier?: string | null;
640
688
  }
641
689
 
642
690
  export namespace ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
@@ -731,6 +779,12 @@ export namespace CreateConnectionResponse {
731
779
  status_message?: string | null;
732
780
 
733
781
  updated_at?: string;
782
+
783
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
784
+
785
+ webhook_configured_at?: string | null;
786
+
787
+ webhook_identifier?: string | null;
734
788
  }
735
789
 
736
790
  export namespace ConnectorBitbucketDiscriminatedConnectionSettings {
@@ -825,6 +879,12 @@ export namespace CreateConnectionResponse {
825
879
  status_message?: string | null;
826
880
 
827
881
  updated_at?: string;
882
+
883
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
884
+
885
+ webhook_configured_at?: string | null;
886
+
887
+ webhook_identifier?: string | null;
828
888
  }
829
889
 
830
890
  export namespace ConnectorBoxDiscriminatedConnectionSettings {
@@ -919,6 +979,12 @@ export namespace CreateConnectionResponse {
919
979
  status_message?: string | null;
920
980
 
921
981
  updated_at?: string;
982
+
983
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
984
+
985
+ webhook_configured_at?: string | null;
986
+
987
+ webhook_identifier?: string | null;
922
988
  }
923
989
 
924
990
  export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
@@ -1013,6 +1079,12 @@ export namespace CreateConnectionResponse {
1013
1079
  status_message?: string | null;
1014
1080
 
1015
1081
  updated_at?: string;
1082
+
1083
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1084
+
1085
+ webhook_configured_at?: string | null;
1086
+
1087
+ webhook_identifier?: string | null;
1016
1088
  }
1017
1089
 
1018
1090
  export namespace ConnectorClickupDiscriminatedConnectionSettings {
@@ -1107,6 +1179,12 @@ export namespace CreateConnectionResponse {
1107
1179
  status_message?: string | null;
1108
1180
 
1109
1181
  updated_at?: string;
1182
+
1183
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1184
+
1185
+ webhook_configured_at?: string | null;
1186
+
1187
+ webhook_identifier?: string | null;
1110
1188
  }
1111
1189
 
1112
1190
  export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
@@ -1206,19 +1284,31 @@ export namespace CreateConnectionResponse {
1206
1284
  status_message?: string | null;
1207
1285
 
1208
1286
  updated_at?: string;
1287
+
1288
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1289
+
1290
+ webhook_configured_at?: string | null;
1291
+
1292
+ webhook_identifier?: string | null;
1209
1293
  }
1210
1294
 
1211
1295
  export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
1212
1296
  export interface Settings {
1213
1297
  /**
1214
- * Your Databricks workspace instance name (e.g., "your-workspace" for
1215
- * your-workspace.cloud.databricks.com). Do not include https:// or
1216
- * .cloud.databricks.com
1298
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
1299
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
1217
1300
  */
1218
- databricks_instance: string;
1301
+ http_path: string;
1219
1302
 
1220
1303
  oauth: Settings.OAuth;
1221
1304
 
1305
+ /**
1306
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
1307
+ * warehouse in Databricks and click the "Connection details" button. Copy the
1308
+ * Server hostname value.
1309
+ */
1310
+ server_hostname: string;
1311
+
1222
1312
  /**
1223
1313
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
1224
1314
  * for backward compatibility until we remove the oauth field
@@ -1307,6 +1397,12 @@ export namespace CreateConnectionResponse {
1307
1397
  status_message?: string | null;
1308
1398
 
1309
1399
  updated_at?: string;
1400
+
1401
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1402
+
1403
+ webhook_configured_at?: string | null;
1404
+
1405
+ webhook_identifier?: string | null;
1310
1406
  }
1311
1407
 
1312
1408
  export namespace ConnectorDiscordDiscriminatedConnectionSettings {
@@ -1401,6 +1497,12 @@ export namespace CreateConnectionResponse {
1401
1497
  status_message?: string | null;
1402
1498
 
1403
1499
  updated_at?: string;
1500
+
1501
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1502
+
1503
+ webhook_configured_at?: string | null;
1504
+
1505
+ webhook_identifier?: string | null;
1404
1506
  }
1405
1507
 
1406
1508
  export namespace ConnectorDropboxDiscriminatedConnectionSettings {
@@ -1495,6 +1597,12 @@ export namespace CreateConnectionResponse {
1495
1597
  status_message?: string | null;
1496
1598
 
1497
1599
  updated_at?: string;
1600
+
1601
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1602
+
1603
+ webhook_configured_at?: string | null;
1604
+
1605
+ webhook_identifier?: string | null;
1498
1606
  }
1499
1607
 
1500
1608
  export namespace ConnectorFigmaDiscriminatedConnectionSettings {
@@ -1552,8 +1660,8 @@ export namespace CreateConnectionResponse {
1552
1660
  }
1553
1661
  }
1554
1662
 
1555
- export interface ConnectorGitHubDiscriminatedConnectionSettings {
1556
- connector_name: 'github';
1663
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
1664
+ connector_name: 'github-source-control';
1557
1665
 
1558
1666
  id?: string;
1559
1667
 
@@ -1582,110 +1690,22 @@ export namespace CreateConnectionResponse {
1582
1690
  */
1583
1691
  metadata?: { [key: string]: unknown } | null;
1584
1692
 
1585
- settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
1693
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
1586
1694
 
1587
1695
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1588
1696
 
1589
1697
  status_message?: string | null;
1590
1698
 
1591
1699
  updated_at?: string;
1592
- }
1593
-
1594
- export namespace ConnectorGitHubDiscriminatedConnectionSettings {
1595
- export interface Settings {
1596
- oauth: Settings.OAuth;
1597
-
1598
- /**
1599
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
1600
- * for backward compatibility until we remove the oauth field
1601
- */
1602
- access_token?: string;
1603
- }
1604
-
1605
- export namespace Settings {
1606
- export interface OAuth {
1607
- created_at?: string;
1608
-
1609
- /**
1610
- * Output of the postConnect hook for oauth2 connectors
1611
- */
1612
- credentials?: OAuth.Credentials;
1613
-
1614
- last_fetched_at?: string;
1615
-
1616
- metadata?: { [key: string]: unknown } | null;
1617
-
1618
- updated_at?: string;
1619
- }
1620
-
1621
- export namespace OAuth {
1622
- /**
1623
- * Output of the postConnect hook for oauth2 connectors
1624
- */
1625
- export interface Credentials {
1626
- access_token: string;
1627
-
1628
- /**
1629
- * Client ID used for the connection
1630
- */
1631
- client_id?: string;
1632
-
1633
- expires_at?: string;
1634
-
1635
- expires_in?: number;
1636
-
1637
- raw?: { [key: string]: unknown };
1638
-
1639
- refresh_token?: string;
1640
-
1641
- scope?: string;
1642
-
1643
- token_type?: string;
1644
- }
1645
- }
1646
- }
1647
- }
1648
-
1649
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1650
- connector_name: 'google-calendar';
1651
-
1652
- id?: string;
1653
-
1654
- connector?: TopLevelAPI.Connector;
1655
-
1656
- connector_config_id?: string | null;
1657
-
1658
- created_at?: string;
1659
-
1660
- customer_id?: string | null;
1661
-
1662
- disabled?: boolean | null;
1663
-
1664
- display_name?: string | null;
1665
1700
 
1666
- environment?: 'production' | 'development';
1667
-
1668
- integration?: TopLevelAPI.Integration;
1669
-
1670
- integration_id?: string | null;
1701
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1671
1702
 
1672
- /**
1673
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
1674
- * separate 1-1 table just for simple key values in your application. During
1675
- * updates this object will be shallowly merged
1676
- */
1677
- metadata?: { [key: string]: unknown } | null;
1678
-
1679
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
1680
-
1681
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1682
-
1683
- status_message?: string | null;
1703
+ webhook_configured_at?: string | null;
1684
1704
 
1685
- updated_at?: string;
1705
+ webhook_identifier?: string | null;
1686
1706
  }
1687
1707
 
1688
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1708
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
1689
1709
  export interface Settings {
1690
1710
  oauth: Settings.OAuth;
1691
1711
 
@@ -1740,8 +1760,8 @@ export namespace CreateConnectionResponse {
1740
1760
  }
1741
1761
  }
1742
1762
 
1743
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
1744
- connector_name: 'google-docs';
1763
+ export interface ConnectorGitHubDiscriminatedConnectionSettings {
1764
+ connector_name: 'github';
1745
1765
 
1746
1766
  id?: string;
1747
1767
 
@@ -1770,110 +1790,22 @@ export namespace CreateConnectionResponse {
1770
1790
  */
1771
1791
  metadata?: { [key: string]: unknown } | null;
1772
1792
 
1773
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
1793
+ settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
1774
1794
 
1775
1795
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1776
1796
 
1777
1797
  status_message?: string | null;
1778
1798
 
1779
1799
  updated_at?: string;
1780
- }
1781
1800
 
1782
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
1783
- export interface Settings {
1784
- oauth: Settings.OAuth;
1801
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1785
1802
 
1786
- /**
1787
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
1788
- * for backward compatibility until we remove the oauth field
1789
- */
1790
- access_token?: string;
1791
- }
1792
-
1793
- export namespace Settings {
1794
- export interface OAuth {
1795
- created_at?: string;
1796
-
1797
- /**
1798
- * Output of the postConnect hook for oauth2 connectors
1799
- */
1800
- credentials?: OAuth.Credentials;
1801
-
1802
- last_fetched_at?: string;
1803
-
1804
- metadata?: { [key: string]: unknown } | null;
1805
-
1806
- updated_at?: string;
1807
- }
1808
-
1809
- export namespace OAuth {
1810
- /**
1811
- * Output of the postConnect hook for oauth2 connectors
1812
- */
1813
- export interface Credentials {
1814
- access_token: string;
1815
-
1816
- /**
1817
- * Client ID used for the connection
1818
- */
1819
- client_id?: string;
1820
-
1821
- expires_at?: string;
1803
+ webhook_configured_at?: string | null;
1822
1804
 
1823
- expires_in?: number;
1824
-
1825
- raw?: { [key: string]: unknown };
1826
-
1827
- refresh_token?: string;
1828
-
1829
- scope?: string;
1830
-
1831
- token_type?: string;
1832
- }
1833
- }
1834
- }
1835
- }
1836
-
1837
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
1838
- connector_name: 'google-drive';
1839
-
1840
- id?: string;
1841
-
1842
- connector?: TopLevelAPI.Connector;
1843
-
1844
- connector_config_id?: string | null;
1845
-
1846
- created_at?: string;
1847
-
1848
- customer_id?: string | null;
1849
-
1850
- disabled?: boolean | null;
1851
-
1852
- display_name?: string | null;
1853
-
1854
- environment?: 'production' | 'development';
1855
-
1856
- integration?: TopLevelAPI.Integration;
1857
-
1858
- integration_id?: string | null;
1859
-
1860
- /**
1861
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
1862
- * separate 1-1 table just for simple key values in your application. During
1863
- * updates this object will be shallowly merged
1864
- */
1865
- metadata?: { [key: string]: unknown } | null;
1866
-
1867
- settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
1868
-
1869
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1870
-
1871
- status_message?: string | null;
1872
-
1873
- updated_at?: string;
1805
+ webhook_identifier?: string | null;
1874
1806
  }
1875
1807
 
1876
- export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
1808
+ export namespace ConnectorGitHubDiscriminatedConnectionSettings {
1877
1809
  export interface Settings {
1878
1810
  oauth: Settings.OAuth;
1879
1811
 
@@ -1928,8 +1860,8 @@ export namespace CreateConnectionResponse {
1928
1860
  }
1929
1861
  }
1930
1862
 
1931
- export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
1932
- connector_name: 'google-mail';
1863
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1864
+ connector_name: 'google-calendar';
1933
1865
 
1934
1866
  id?: string;
1935
1867
 
@@ -1958,16 +1890,22 @@ export namespace CreateConnectionResponse {
1958
1890
  */
1959
1891
  metadata?: { [key: string]: unknown } | null;
1960
1892
 
1961
- settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
1893
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
1962
1894
 
1963
1895
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1964
1896
 
1965
1897
  status_message?: string | null;
1966
1898
 
1967
1899
  updated_at?: string;
1900
+
1901
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1902
+
1903
+ webhook_configured_at?: string | null;
1904
+
1905
+ webhook_identifier?: string | null;
1968
1906
  }
1969
1907
 
1970
- export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
1908
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1971
1909
  export interface Settings {
1972
1910
  oauth: Settings.OAuth;
1973
1911
 
@@ -2022,8 +1960,8 @@ export namespace CreateConnectionResponse {
2022
1960
  }
2023
1961
  }
2024
1962
 
2025
- export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
2026
- connector_name: 'google-sheet';
1963
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
1964
+ connector_name: 'google-docs';
2027
1965
 
2028
1966
  id?: string;
2029
1967
 
@@ -2052,16 +1990,22 @@ export namespace CreateConnectionResponse {
2052
1990
  */
2053
1991
  metadata?: { [key: string]: unknown } | null;
2054
1992
 
2055
- settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
1993
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
2056
1994
 
2057
1995
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2058
1996
 
2059
1997
  status_message?: string | null;
2060
1998
 
2061
1999
  updated_at?: string;
2000
+
2001
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2002
+
2003
+ webhook_configured_at?: string | null;
2004
+
2005
+ webhook_identifier?: string | null;
2062
2006
  }
2063
2007
 
2064
- export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
2008
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
2065
2009
  export interface Settings {
2066
2010
  oauth: Settings.OAuth;
2067
2011
 
@@ -2116,8 +2060,8 @@ export namespace CreateConnectionResponse {
2116
2060
  }
2117
2061
  }
2118
2062
 
2119
- export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2120
- connector_name: 'google-slides';
2063
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
2064
+ connector_name: 'google-drive';
2121
2065
 
2122
2066
  id?: string;
2123
2067
 
@@ -2146,16 +2090,22 @@ export namespace CreateConnectionResponse {
2146
2090
  */
2147
2091
  metadata?: { [key: string]: unknown } | null;
2148
2092
 
2149
- settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
2093
+ settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
2150
2094
 
2151
2095
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2152
2096
 
2153
2097
  status_message?: string | null;
2154
2098
 
2155
2099
  updated_at?: string;
2100
+
2101
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2102
+
2103
+ webhook_configured_at?: string | null;
2104
+
2105
+ webhook_identifier?: string | null;
2156
2106
  }
2157
2107
 
2158
- export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2108
+ export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
2159
2109
  export interface Settings {
2160
2110
  oauth: Settings.OAuth;
2161
2111
 
@@ -2210,8 +2160,8 @@ export namespace CreateConnectionResponse {
2210
2160
  }
2211
2161
  }
2212
2162
 
2213
- export interface ConnectorHubspotDiscriminatedConnectionSettings {
2214
- connector_name: 'hubspot';
2163
+ export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
2164
+ connector_name: 'google-mail';
2215
2165
 
2216
2166
  id?: string;
2217
2167
 
@@ -2240,16 +2190,22 @@ export namespace CreateConnectionResponse {
2240
2190
  */
2241
2191
  metadata?: { [key: string]: unknown } | null;
2242
2192
 
2243
- settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
2193
+ settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
2244
2194
 
2245
2195
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2246
2196
 
2247
2197
  status_message?: string | null;
2248
2198
 
2249
2199
  updated_at?: string;
2200
+
2201
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2202
+
2203
+ webhook_configured_at?: string | null;
2204
+
2205
+ webhook_identifier?: string | null;
2250
2206
  }
2251
2207
 
2252
- export namespace ConnectorHubspotDiscriminatedConnectionSettings {
2208
+ export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
2253
2209
  export interface Settings {
2254
2210
  oauth: Settings.OAuth;
2255
2211
 
@@ -2304,8 +2260,8 @@ export namespace CreateConnectionResponse {
2304
2260
  }
2305
2261
  }
2306
2262
 
2307
- export interface ConnectorInstagramDiscriminatedConnectionSettings {
2308
- connector_name: 'instagram';
2263
+ export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
2264
+ connector_name: 'google-sheet';
2309
2265
 
2310
2266
  id?: string;
2311
2267
 
@@ -2334,16 +2290,22 @@ export namespace CreateConnectionResponse {
2334
2290
  */
2335
2291
  metadata?: { [key: string]: unknown } | null;
2336
2292
 
2337
- settings?: ConnectorInstagramDiscriminatedConnectionSettings.Settings;
2293
+ settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
2338
2294
 
2339
2295
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2340
2296
 
2341
2297
  status_message?: string | null;
2342
2298
 
2343
2299
  updated_at?: string;
2300
+
2301
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2302
+
2303
+ webhook_configured_at?: string | null;
2304
+
2305
+ webhook_identifier?: string | null;
2344
2306
  }
2345
2307
 
2346
- export namespace ConnectorInstagramDiscriminatedConnectionSettings {
2308
+ export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
2347
2309
  export interface Settings {
2348
2310
  oauth: Settings.OAuth;
2349
2311
 
@@ -2398,8 +2360,8 @@ export namespace CreateConnectionResponse {
2398
2360
  }
2399
2361
  }
2400
2362
 
2401
- export interface ConnectorJiraDiscriminatedConnectionSettings {
2402
- connector_name: 'jira';
2363
+ export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2364
+ connector_name: 'google-slides';
2403
2365
 
2404
2366
  id?: string;
2405
2367
 
@@ -2428,24 +2390,25 @@ export namespace CreateConnectionResponse {
2428
2390
  */
2429
2391
  metadata?: { [key: string]: unknown } | null;
2430
2392
 
2431
- settings?: ConnectorJiraDiscriminatedConnectionSettings.Settings;
2393
+ settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
2432
2394
 
2433
2395
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2434
2396
 
2435
2397
  status_message?: string | null;
2436
2398
 
2437
2399
  updated_at?: string;
2400
+
2401
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2402
+
2403
+ webhook_configured_at?: string | null;
2404
+
2405
+ webhook_identifier?: string | null;
2438
2406
  }
2439
2407
 
2440
- export namespace ConnectorJiraDiscriminatedConnectionSettings {
2408
+ export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2441
2409
  export interface Settings {
2442
2410
  oauth: Settings.OAuth;
2443
2411
 
2444
- /**
2445
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
2446
- */
2447
- site_url: string;
2448
-
2449
2412
  /**
2450
2413
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
2451
2414
  * for backward compatibility until we remove the oauth field
@@ -2497,8 +2460,8 @@ export namespace CreateConnectionResponse {
2497
2460
  }
2498
2461
  }
2499
2462
 
2500
- export interface ConnectorLinearDiscriminatedConnectionSettings {
2501
- connector_name: 'linear';
2463
+ export interface ConnectorHubspotDiscriminatedConnectionSettings {
2464
+ connector_name: 'hubspot';
2502
2465
 
2503
2466
  id?: string;
2504
2467
 
@@ -2527,16 +2490,22 @@ export namespace CreateConnectionResponse {
2527
2490
  */
2528
2491
  metadata?: { [key: string]: unknown } | null;
2529
2492
 
2530
- settings?: ConnectorLinearDiscriminatedConnectionSettings.Settings;
2493
+ settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
2531
2494
 
2532
2495
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2533
2496
 
2534
2497
  status_message?: string | null;
2535
2498
 
2536
2499
  updated_at?: string;
2500
+
2501
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2502
+
2503
+ webhook_configured_at?: string | null;
2504
+
2505
+ webhook_identifier?: string | null;
2537
2506
  }
2538
2507
 
2539
- export namespace ConnectorLinearDiscriminatedConnectionSettings {
2508
+ export namespace ConnectorHubspotDiscriminatedConnectionSettings {
2540
2509
  export interface Settings {
2541
2510
  oauth: Settings.OAuth;
2542
2511
 
@@ -2591,8 +2560,8 @@ export namespace CreateConnectionResponse {
2591
2560
  }
2592
2561
  }
2593
2562
 
2594
- export interface ConnectorMondayDiscriminatedConnectionSettings {
2595
- connector_name: 'monday';
2563
+ export interface ConnectorInstagramDiscriminatedConnectionSettings {
2564
+ connector_name: 'instagram';
2596
2565
 
2597
2566
  id?: string;
2598
2567
 
@@ -2621,16 +2590,22 @@ export namespace CreateConnectionResponse {
2621
2590
  */
2622
2591
  metadata?: { [key: string]: unknown } | null;
2623
2592
 
2624
- settings?: ConnectorMondayDiscriminatedConnectionSettings.Settings;
2593
+ settings?: ConnectorInstagramDiscriminatedConnectionSettings.Settings;
2625
2594
 
2626
2595
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2627
2596
 
2628
2597
  status_message?: string | null;
2629
2598
 
2630
2599
  updated_at?: string;
2600
+
2601
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2602
+
2603
+ webhook_configured_at?: string | null;
2604
+
2605
+ webhook_identifier?: string | null;
2631
2606
  }
2632
2607
 
2633
- export namespace ConnectorMondayDiscriminatedConnectionSettings {
2608
+ export namespace ConnectorInstagramDiscriminatedConnectionSettings {
2634
2609
  export interface Settings {
2635
2610
  oauth: Settings.OAuth;
2636
2611
 
@@ -2685,8 +2660,8 @@ export namespace CreateConnectionResponse {
2685
2660
  }
2686
2661
  }
2687
2662
 
2688
- export interface ConnectorNotionDiscriminatedConnectionSettings {
2689
- connector_name: 'notion';
2663
+ export interface ConnectorJiraDiscriminatedConnectionSettings {
2664
+ connector_name: 'jira';
2690
2665
 
2691
2666
  id?: string;
2692
2667
 
@@ -2715,19 +2690,30 @@ export namespace CreateConnectionResponse {
2715
2690
  */
2716
2691
  metadata?: { [key: string]: unknown } | null;
2717
2692
 
2718
- settings?: ConnectorNotionDiscriminatedConnectionSettings.Settings;
2693
+ settings?: ConnectorJiraDiscriminatedConnectionSettings.Settings;
2719
2694
 
2720
2695
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2721
2696
 
2722
2697
  status_message?: string | null;
2723
2698
 
2724
2699
  updated_at?: string;
2700
+
2701
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2702
+
2703
+ webhook_configured_at?: string | null;
2704
+
2705
+ webhook_identifier?: string | null;
2725
2706
  }
2726
2707
 
2727
- export namespace ConnectorNotionDiscriminatedConnectionSettings {
2708
+ export namespace ConnectorJiraDiscriminatedConnectionSettings {
2728
2709
  export interface Settings {
2729
2710
  oauth: Settings.OAuth;
2730
2711
 
2712
+ /**
2713
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
2714
+ */
2715
+ site_url: string;
2716
+
2731
2717
  /**
2732
2718
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
2733
2719
  * for backward compatibility until we remove the oauth field
@@ -2779,8 +2765,8 @@ export namespace CreateConnectionResponse {
2779
2765
  }
2780
2766
  }
2781
2767
 
2782
- export interface ConnectorOnedriveDiscriminatedConnectionSettings {
2783
- connector_name: 'onedrive';
2768
+ export interface ConnectorLinearDiscriminatedConnectionSettings {
2769
+ connector_name: 'linear';
2784
2770
 
2785
2771
  id?: string;
2786
2772
 
@@ -2809,16 +2795,22 @@ export namespace CreateConnectionResponse {
2809
2795
  */
2810
2796
  metadata?: { [key: string]: unknown } | null;
2811
2797
 
2812
- settings?: ConnectorOnedriveDiscriminatedConnectionSettings.Settings;
2798
+ settings?: ConnectorLinearDiscriminatedConnectionSettings.Settings;
2813
2799
 
2814
2800
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2815
2801
 
2816
2802
  status_message?: string | null;
2817
2803
 
2818
2804
  updated_at?: string;
2805
+
2806
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2807
+
2808
+ webhook_configured_at?: string | null;
2809
+
2810
+ webhook_identifier?: string | null;
2819
2811
  }
2820
2812
 
2821
- export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
2813
+ export namespace ConnectorLinearDiscriminatedConnectionSettings {
2822
2814
  export interface Settings {
2823
2815
  oauth: Settings.OAuth;
2824
2816
 
@@ -2873,8 +2865,8 @@ export namespace CreateConnectionResponse {
2873
2865
  }
2874
2866
  }
2875
2867
 
2876
- export interface ConnectorOutlookDiscriminatedConnectionSettings {
2877
- connector_name: 'outlook';
2868
+ export interface ConnectorMondayDiscriminatedConnectionSettings {
2869
+ connector_name: 'monday';
2878
2870
 
2879
2871
  id?: string;
2880
2872
 
@@ -2903,16 +2895,22 @@ export namespace CreateConnectionResponse {
2903
2895
  */
2904
2896
  metadata?: { [key: string]: unknown } | null;
2905
2897
 
2906
- settings?: ConnectorOutlookDiscriminatedConnectionSettings.Settings;
2898
+ settings?: ConnectorMondayDiscriminatedConnectionSettings.Settings;
2907
2899
 
2908
2900
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2909
2901
 
2910
2902
  status_message?: string | null;
2911
2903
 
2912
2904
  updated_at?: string;
2905
+
2906
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
2907
+
2908
+ webhook_configured_at?: string | null;
2909
+
2910
+ webhook_identifier?: string | null;
2913
2911
  }
2914
2912
 
2915
- export namespace ConnectorOutlookDiscriminatedConnectionSettings {
2913
+ export namespace ConnectorMondayDiscriminatedConnectionSettings {
2916
2914
  export interface Settings {
2917
2915
  oauth: Settings.OAuth;
2918
2916
 
@@ -2967,8 +2965,8 @@ export namespace CreateConnectionResponse {
2967
2965
  }
2968
2966
  }
2969
2967
 
2970
- export interface ConnectorSalesforceDiscriminatedConnectionSettings {
2971
- connector_name: 'salesforce';
2968
+ export interface ConnectorNotionDiscriminatedConnectionSettings {
2969
+ connector_name: 'notion';
2972
2970
 
2973
2971
  id?: string;
2974
2972
 
@@ -2997,22 +2995,123 @@ export namespace CreateConnectionResponse {
2997
2995
  */
2998
2996
  metadata?: { [key: string]: unknown } | null;
2999
2997
 
3000
- settings?: ConnectorSalesforceDiscriminatedConnectionSettings.Settings;
2998
+ settings?: ConnectorNotionDiscriminatedConnectionSettings.Settings;
3001
2999
 
3002
3000
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3003
3001
 
3004
3002
  status_message?: string | null;
3005
3003
 
3006
3004
  updated_at?: string;
3005
+
3006
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3007
+
3008
+ webhook_configured_at?: string | null;
3009
+
3010
+ webhook_identifier?: string | null;
3007
3011
  }
3008
3012
 
3009
- export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
3013
+ export namespace ConnectorNotionDiscriminatedConnectionSettings {
3010
3014
  export interface Settings {
3015
+ oauth: Settings.OAuth;
3016
+
3011
3017
  /**
3012
- * The instance URL of your Salesforce account (e.g., example)
3018
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3019
+ * for backward compatibility until we remove the oauth field
3013
3020
  */
3014
- instance_url: string;
3021
+ access_token?: string;
3022
+ }
3023
+
3024
+ export namespace Settings {
3025
+ export interface OAuth {
3026
+ created_at?: string;
3027
+
3028
+ /**
3029
+ * Output of the postConnect hook for oauth2 connectors
3030
+ */
3031
+ credentials?: OAuth.Credentials;
3032
+
3033
+ last_fetched_at?: string;
3034
+
3035
+ metadata?: { [key: string]: unknown } | null;
3036
+
3037
+ updated_at?: string;
3038
+ }
3039
+
3040
+ export namespace OAuth {
3041
+ /**
3042
+ * Output of the postConnect hook for oauth2 connectors
3043
+ */
3044
+ export interface Credentials {
3045
+ access_token: string;
3046
+
3047
+ /**
3048
+ * Client ID used for the connection
3049
+ */
3050
+ client_id?: string;
3051
+
3052
+ expires_at?: string;
3053
+
3054
+ expires_in?: number;
3055
+
3056
+ raw?: { [key: string]: unknown };
3057
+
3058
+ refresh_token?: string;
3059
+
3060
+ scope?: string;
3061
+
3062
+ token_type?: string;
3063
+ }
3064
+ }
3065
+ }
3066
+ }
3067
+
3068
+ export interface ConnectorOnedriveDiscriminatedConnectionSettings {
3069
+ connector_name: 'onedrive';
3070
+
3071
+ id?: string;
3072
+
3073
+ connector?: TopLevelAPI.Connector;
3074
+
3075
+ connector_config_id?: string | null;
3076
+
3077
+ created_at?: string;
3015
3078
 
3079
+ customer_id?: string | null;
3080
+
3081
+ disabled?: boolean | null;
3082
+
3083
+ display_name?: string | null;
3084
+
3085
+ environment?: 'production' | 'development';
3086
+
3087
+ integration?: TopLevelAPI.Integration;
3088
+
3089
+ integration_id?: string | null;
3090
+
3091
+ /**
3092
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3093
+ * separate 1-1 table just for simple key values in your application. During
3094
+ * updates this object will be shallowly merged
3095
+ */
3096
+ metadata?: { [key: string]: unknown } | null;
3097
+
3098
+ settings?: ConnectorOnedriveDiscriminatedConnectionSettings.Settings;
3099
+
3100
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3101
+
3102
+ status_message?: string | null;
3103
+
3104
+ updated_at?: string;
3105
+
3106
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3107
+
3108
+ webhook_configured_at?: string | null;
3109
+
3110
+ webhook_identifier?: string | null;
3111
+ }
3112
+
3113
+ export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
3114
+ export interface Settings {
3016
3115
  oauth: Settings.OAuth;
3017
3116
 
3018
3117
  /**
@@ -3066,8 +3165,8 @@ export namespace CreateConnectionResponse {
3066
3165
  }
3067
3166
  }
3068
3167
 
3069
- export interface ConnectorSharepointDiscriminatedConnectionSettings {
3070
- connector_name: 'sharepoint';
3168
+ export interface ConnectorOutlookDiscriminatedConnectionSettings {
3169
+ connector_name: 'outlook';
3071
3170
 
3072
3171
  id?: string;
3073
3172
 
@@ -3096,16 +3195,22 @@ export namespace CreateConnectionResponse {
3096
3195
  */
3097
3196
  metadata?: { [key: string]: unknown } | null;
3098
3197
 
3099
- settings?: ConnectorSharepointDiscriminatedConnectionSettings.Settings;
3198
+ settings?: ConnectorOutlookDiscriminatedConnectionSettings.Settings;
3100
3199
 
3101
3200
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3102
3201
 
3103
3202
  status_message?: string | null;
3104
3203
 
3105
3204
  updated_at?: string;
3205
+
3206
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3207
+
3208
+ webhook_configured_at?: string | null;
3209
+
3210
+ webhook_identifier?: string | null;
3106
3211
  }
3107
3212
 
3108
- export namespace ConnectorSharepointDiscriminatedConnectionSettings {
3213
+ export namespace ConnectorOutlookDiscriminatedConnectionSettings {
3109
3214
  export interface Settings {
3110
3215
  oauth: Settings.OAuth;
3111
3216
 
@@ -3160,8 +3265,8 @@ export namespace CreateConnectionResponse {
3160
3265
  }
3161
3266
  }
3162
3267
 
3163
- export interface ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3164
- connector_name: 'slack-deployed-agent';
3268
+ export interface ConnectorSalesforceDiscriminatedConnectionSettings {
3269
+ connector_name: 'salesforce';
3165
3270
 
3166
3271
  id?: string;
3167
3272
 
@@ -3190,17 +3295,28 @@ export namespace CreateConnectionResponse {
3190
3295
  */
3191
3296
  metadata?: { [key: string]: unknown } | null;
3192
3297
 
3193
- settings?: ConnectorSlackDeployedAgentDiscriminatedConnectionSettings.Settings;
3298
+ settings?: ConnectorSalesforceDiscriminatedConnectionSettings.Settings;
3194
3299
 
3195
3300
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3196
3301
 
3197
3302
  status_message?: string | null;
3198
3303
 
3199
3304
  updated_at?: string;
3305
+
3306
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3307
+
3308
+ webhook_configured_at?: string | null;
3309
+
3310
+ webhook_identifier?: string | null;
3200
3311
  }
3201
3312
 
3202
- export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3313
+ export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
3203
3314
  export interface Settings {
3315
+ /**
3316
+ * The instance URL of your Salesforce account (e.g., example)
3317
+ */
3318
+ instance_url: string;
3319
+
3204
3320
  oauth: Settings.OAuth;
3205
3321
 
3206
3322
  /**
@@ -3254,8 +3370,208 @@ export namespace CreateConnectionResponse {
3254
3370
  }
3255
3371
  }
3256
3372
 
3257
- export interface ConnectorSlackDiscriminatedConnectionSettings {
3258
- connector_name: 'slack';
3373
+ export interface ConnectorSharepointDiscriminatedConnectionSettings {
3374
+ connector_name: 'sharepoint';
3375
+
3376
+ id?: string;
3377
+
3378
+ connector?: TopLevelAPI.Connector;
3379
+
3380
+ connector_config_id?: string | null;
3381
+
3382
+ created_at?: string;
3383
+
3384
+ customer_id?: string | null;
3385
+
3386
+ disabled?: boolean | null;
3387
+
3388
+ display_name?: string | null;
3389
+
3390
+ environment?: 'production' | 'development';
3391
+
3392
+ integration?: TopLevelAPI.Integration;
3393
+
3394
+ integration_id?: string | null;
3395
+
3396
+ /**
3397
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3398
+ * separate 1-1 table just for simple key values in your application. During
3399
+ * updates this object will be shallowly merged
3400
+ */
3401
+ metadata?: { [key: string]: unknown } | null;
3402
+
3403
+ settings?: ConnectorSharepointDiscriminatedConnectionSettings.Settings;
3404
+
3405
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3406
+
3407
+ status_message?: string | null;
3408
+
3409
+ updated_at?: string;
3410
+
3411
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3412
+
3413
+ webhook_configured_at?: string | null;
3414
+
3415
+ webhook_identifier?: string | null;
3416
+ }
3417
+
3418
+ export namespace ConnectorSharepointDiscriminatedConnectionSettings {
3419
+ export interface Settings {
3420
+ oauth: Settings.OAuth;
3421
+
3422
+ /**
3423
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3424
+ * for backward compatibility until we remove the oauth field
3425
+ */
3426
+ access_token?: string;
3427
+ }
3428
+
3429
+ export namespace Settings {
3430
+ export interface OAuth {
3431
+ created_at?: string;
3432
+
3433
+ /**
3434
+ * Output of the postConnect hook for oauth2 connectors
3435
+ */
3436
+ credentials?: OAuth.Credentials;
3437
+
3438
+ last_fetched_at?: string;
3439
+
3440
+ metadata?: { [key: string]: unknown } | null;
3441
+
3442
+ updated_at?: string;
3443
+ }
3444
+
3445
+ export namespace OAuth {
3446
+ /**
3447
+ * Output of the postConnect hook for oauth2 connectors
3448
+ */
3449
+ export interface Credentials {
3450
+ access_token: string;
3451
+
3452
+ /**
3453
+ * Client ID used for the connection
3454
+ */
3455
+ client_id?: string;
3456
+
3457
+ expires_at?: string;
3458
+
3459
+ expires_in?: number;
3460
+
3461
+ raw?: { [key: string]: unknown };
3462
+
3463
+ refresh_token?: string;
3464
+
3465
+ scope?: string;
3466
+
3467
+ token_type?: string;
3468
+ }
3469
+ }
3470
+ }
3471
+ }
3472
+
3473
+ export interface ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3474
+ connector_name: 'slack-deployed-agent';
3475
+
3476
+ id?: string;
3477
+
3478
+ connector?: TopLevelAPI.Connector;
3479
+
3480
+ connector_config_id?: string | null;
3481
+
3482
+ created_at?: string;
3483
+
3484
+ customer_id?: string | null;
3485
+
3486
+ disabled?: boolean | null;
3487
+
3488
+ display_name?: string | null;
3489
+
3490
+ environment?: 'production' | 'development';
3491
+
3492
+ integration?: TopLevelAPI.Integration;
3493
+
3494
+ integration_id?: string | null;
3495
+
3496
+ /**
3497
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3498
+ * separate 1-1 table just for simple key values in your application. During
3499
+ * updates this object will be shallowly merged
3500
+ */
3501
+ metadata?: { [key: string]: unknown } | null;
3502
+
3503
+ settings?: ConnectorSlackDeployedAgentDiscriminatedConnectionSettings.Settings;
3504
+
3505
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3506
+
3507
+ status_message?: string | null;
3508
+
3509
+ updated_at?: string;
3510
+
3511
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3512
+
3513
+ webhook_configured_at?: string | null;
3514
+
3515
+ webhook_identifier?: string | null;
3516
+ }
3517
+
3518
+ export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3519
+ export interface Settings {
3520
+ oauth: Settings.OAuth;
3521
+
3522
+ /**
3523
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3524
+ * for backward compatibility until we remove the oauth field
3525
+ */
3526
+ access_token?: string;
3527
+ }
3528
+
3529
+ export namespace Settings {
3530
+ export interface OAuth {
3531
+ created_at?: string;
3532
+
3533
+ /**
3534
+ * Output of the postConnect hook for oauth2 connectors
3535
+ */
3536
+ credentials?: OAuth.Credentials;
3537
+
3538
+ last_fetched_at?: string;
3539
+
3540
+ metadata?: { [key: string]: unknown } | null;
3541
+
3542
+ updated_at?: string;
3543
+ }
3544
+
3545
+ export namespace OAuth {
3546
+ /**
3547
+ * Output of the postConnect hook for oauth2 connectors
3548
+ */
3549
+ export interface Credentials {
3550
+ access_token: string;
3551
+
3552
+ /**
3553
+ * Client ID used for the connection
3554
+ */
3555
+ client_id?: string;
3556
+
3557
+ expires_at?: string;
3558
+
3559
+ expires_in?: number;
3560
+
3561
+ raw?: { [key: string]: unknown };
3562
+
3563
+ refresh_token?: string;
3564
+
3565
+ scope?: string;
3566
+
3567
+ token_type?: string;
3568
+ }
3569
+ }
3570
+ }
3571
+ }
3572
+
3573
+ export interface ConnectorSlackDiscriminatedConnectionSettings {
3574
+ connector_name: 'slack';
3259
3575
 
3260
3576
  id?: string;
3261
3577
 
@@ -3291,6 +3607,12 @@ export namespace CreateConnectionResponse {
3291
3607
  status_message?: string | null;
3292
3608
 
3293
3609
  updated_at?: string;
3610
+
3611
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3612
+
3613
+ webhook_configured_at?: string | null;
3614
+
3615
+ webhook_identifier?: string | null;
3294
3616
  }
3295
3617
 
3296
3618
  export namespace ConnectorSlackDiscriminatedConnectionSettings {
@@ -3385,6 +3707,12 @@ export namespace CreateConnectionResponse {
3385
3707
  status_message?: string | null;
3386
3708
 
3387
3709
  updated_at?: string;
3710
+
3711
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3712
+
3713
+ webhook_configured_at?: string | null;
3714
+
3715
+ webhook_identifier?: string | null;
3388
3716
  }
3389
3717
 
3390
3718
  export namespace ConnectorSnowflakeDiscriminatedConnectionSettings {
@@ -3485,6 +3813,12 @@ export namespace CreateConnectionResponse {
3485
3813
  status_message?: string | null;
3486
3814
 
3487
3815
  updated_at?: string;
3816
+
3817
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3818
+
3819
+ webhook_configured_at?: string | null;
3820
+
3821
+ webhook_identifier?: string | null;
3488
3822
  }
3489
3823
 
3490
3824
  export namespace ConnectorSpotifyDiscriminatedConnectionSettings {
@@ -3579,6 +3913,12 @@ export namespace CreateConnectionResponse {
3579
3913
  status_message?: string | null;
3580
3914
 
3581
3915
  updated_at?: string;
3916
+
3917
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3918
+
3919
+ webhook_configured_at?: string | null;
3920
+
3921
+ webhook_identifier?: string | null;
3582
3922
  }
3583
3923
 
3584
3924
  export namespace ConnectorYoutubeDiscriminatedConnectionSettings {
@@ -3673,6 +4013,12 @@ export namespace CreateConnectionResponse {
3673
4013
  status_message?: string | null;
3674
4014
 
3675
4015
  updated_at?: string;
4016
+
4017
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4018
+
4019
+ webhook_configured_at?: string | null;
4020
+
4021
+ webhook_identifier?: string | null;
3676
4022
  }
3677
4023
 
3678
4024
  export namespace ConnectorZendeskDiscriminatedConnectionSettings {
@@ -3772,6 +4118,12 @@ export namespace CreateConnectionResponse {
3772
4118
  status_message?: string | null;
3773
4119
 
3774
4120
  updated_at?: string;
4121
+
4122
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4123
+
4124
+ webhook_configured_at?: string | null;
4125
+
4126
+ webhook_identifier?: string | null;
3775
4127
  }
3776
4128
 
3777
4129
  export namespace ConnectorZoomDiscriminatedConnectionSettings {
@@ -3866,6 +4218,12 @@ export namespace CreateConnectionResponse {
3866
4218
  status_message?: string | null;
3867
4219
 
3868
4220
  updated_at?: string;
4221
+
4222
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4223
+
4224
+ webhook_configured_at?: string | null;
4225
+
4226
+ webhook_identifier?: string | null;
3869
4227
  }
3870
4228
 
3871
4229
  export namespace ConnectorApolloDiscriminatedConnectionSettings {
@@ -3911,6 +4269,12 @@ export namespace CreateConnectionResponse {
3911
4269
  status_message?: string | null;
3912
4270
 
3913
4271
  updated_at?: string;
4272
+
4273
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4274
+
4275
+ webhook_configured_at?: string | null;
4276
+
4277
+ webhook_identifier?: string | null;
3914
4278
  }
3915
4279
 
3916
4280
  export namespace ConnectorPlaidDiscriminatedConnectionSettings {
@@ -3966,6 +4330,12 @@ export namespace CreateConnectionResponse {
3966
4330
  status_message?: string | null;
3967
4331
 
3968
4332
  updated_at?: string;
4333
+
4334
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4335
+
4336
+ webhook_configured_at?: string | null;
4337
+
4338
+ webhook_identifier?: string | null;
3969
4339
  }
3970
4340
 
3971
4341
  export namespace ConnectorPostgresDiscriminatedConnectionSettings {
@@ -4011,6 +4381,12 @@ export namespace CreateConnectionResponse {
4011
4381
  status_message?: string | null;
4012
4382
 
4013
4383
  updated_at?: string;
4384
+
4385
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4386
+
4387
+ webhook_configured_at?: string | null;
4388
+
4389
+ webhook_identifier?: string | null;
4014
4390
  }
4015
4391
 
4016
4392
  export namespace ConnectorResendDiscriminatedConnectionSettings {
@@ -4061,6 +4437,12 @@ export namespace CreateConnectionResponse {
4061
4437
  status_message?: string | null;
4062
4438
 
4063
4439
  updated_at?: string;
4440
+
4441
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4442
+
4443
+ webhook_configured_at?: string | null;
4444
+
4445
+ webhook_identifier?: string | null;
4064
4446
  }
4065
4447
 
4066
4448
  export namespace ConnectorSendgridDiscriminatedConnectionSettings {
@@ -4111,6 +4493,12 @@ export namespace CreateConnectionResponse {
4111
4493
  status_message?: string | null;
4112
4494
 
4113
4495
  updated_at?: string;
4496
+
4497
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4498
+
4499
+ webhook_configured_at?: string | null;
4500
+
4501
+ webhook_identifier?: string | null;
4114
4502
  }
4115
4503
 
4116
4504
  export namespace ConnectorSlackAgentDiscriminatedConnectionSettings {
@@ -4159,6 +4547,12 @@ export namespace CreateConnectionResponse {
4159
4547
  status_message?: string | null;
4160
4548
 
4161
4549
  updated_at?: string;
4550
+
4551
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4552
+
4553
+ webhook_configured_at?: string | null;
4554
+
4555
+ webhook_identifier?: string | null;
4162
4556
  }
4163
4557
 
4164
4558
  export namespace ConnectorSlackAgentBuilderDiscriminatedConnectionSettings {
@@ -4347,6 +4741,12 @@ export namespace CreateConnectionResponse {
4347
4741
  status_message?: string | null;
4348
4742
 
4349
4743
  updated_at?: string;
4744
+
4745
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4746
+
4747
+ webhook_configured_at?: string | null;
4748
+
4749
+ webhook_identifier?: string | null;
4350
4750
  }
4351
4751
 
4352
4752
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
@@ -4440,6 +4840,12 @@ export namespace CreateConnectionResponse {
4440
4840
  status_message?: string | null;
4441
4841
 
4442
4842
  updated_at?: string;
4843
+
4844
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4845
+
4846
+ webhook_configured_at?: string | null;
4847
+
4848
+ webhook_identifier?: string | null;
4443
4849
  }
4444
4850
 
4445
4851
  export namespace ConnectorStripeAgentSandboxDiscriminatedConnectionSettings {
@@ -4533,6 +4939,12 @@ export namespace CreateConnectionResponse {
4533
4939
  status_message?: string | null;
4534
4940
 
4535
4941
  updated_at?: string;
4942
+
4943
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4944
+
4945
+ webhook_configured_at?: string | null;
4946
+
4947
+ webhook_identifier?: string | null;
4536
4948
  }
4537
4949
 
4538
4950
  export namespace ConnectorTwilioDiscriminatedConnectionSettings {
@@ -4587,6 +4999,12 @@ export namespace CreateConnectionResponse {
4587
4999
  status_message?: string | null;
4588
5000
 
4589
5001
  updated_at?: string;
5002
+
5003
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
5004
+
5005
+ webhook_configured_at?: string | null;
5006
+
5007
+ webhook_identifier?: string | null;
4590
5008
  }
4591
5009
 
4592
5010
  export namespace ConnectorWorkatoDiscriminatedConnectionSettings {
@@ -4616,6 +5034,7 @@ export type CreateConnnectorConfigResponse =
4616
5034
  | CreateConnnectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
4617
5035
  | CreateConnnectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
4618
5036
  | CreateConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
5037
+ | CreateConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
4619
5038
  | CreateConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
4620
5039
  | CreateConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
4621
5040
  | CreateConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -5385,10 +5804,10 @@ export namespace CreateConnnectorConfigResponse {
5385
5804
  }
5386
5805
  }
5387
5806
 
5388
- export interface ConnectorGitHubDiscriminatedConnectorConfig {
5389
- config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
5807
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
5808
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
5390
5809
 
5391
- connector_name: 'github';
5810
+ connector_name: 'github-source-control';
5392
5811
 
5393
5812
  id?: string;
5394
5813
 
@@ -5410,7 +5829,7 @@ export namespace CreateConnnectorConfigResponse {
5410
5829
  updated_at?: string;
5411
5830
  }
5412
5831
 
5413
- export namespace ConnectorGitHubDiscriminatedConnectorConfig {
5832
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
5414
5833
  export interface Config {
5415
5834
  /**
5416
5835
  * Base oauth configuration for the connector
@@ -5437,10 +5856,10 @@ export namespace CreateConnnectorConfigResponse {
5437
5856
  }
5438
5857
  }
5439
5858
 
5440
- export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
5441
- config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
5859
+ export interface ConnectorGitHubDiscriminatedConnectorConfig {
5860
+ config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
5442
5861
 
5443
- connector_name: 'google-calendar';
5862
+ connector_name: 'github';
5444
5863
 
5445
5864
  id?: string;
5446
5865
 
@@ -5462,7 +5881,59 @@ export namespace CreateConnnectorConfigResponse {
5462
5881
  updated_at?: string;
5463
5882
  }
5464
5883
 
5465
- export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
5884
+ export namespace ConnectorGitHubDiscriminatedConnectorConfig {
5885
+ export interface Config {
5886
+ /**
5887
+ * Base oauth configuration for the connector
5888
+ */
5889
+ oauth?: Config.OAuth | null;
5890
+ }
5891
+
5892
+ export namespace Config {
5893
+ /**
5894
+ * Base oauth configuration for the connector
5895
+ */
5896
+ export interface OAuth {
5897
+ client_id?: string | null;
5898
+
5899
+ client_secret?: string | null;
5900
+
5901
+ /**
5902
+ * Custom redirect URI
5903
+ */
5904
+ redirect_uri?: string | null;
5905
+
5906
+ scopes?: Array<string> | null;
5907
+ }
5908
+ }
5909
+ }
5910
+
5911
+ export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
5912
+ config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
5913
+
5914
+ connector_name: 'google-calendar';
5915
+
5916
+ id?: string;
5917
+
5918
+ created_at?: string;
5919
+
5920
+ disabled?: boolean | null;
5921
+
5922
+ display_name?: string | null;
5923
+
5924
+ /**
5925
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
5926
+ * separate 1-1 table just for simple key values in your application. During
5927
+ * updates this object will be shallowly merged
5928
+ */
5929
+ metadata?: { [key: string]: unknown } | null;
5930
+
5931
+ org_id?: string;
5932
+
5933
+ updated_at?: string;
5934
+ }
5935
+
5936
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
5466
5937
  export interface Config {
5467
5938
  /**
5468
5939
  * Base oauth configuration for the connector
@@ -7125,6 +7596,7 @@ export type GetConectorConfigResponse =
7125
7596
  | GetConectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
7126
7597
  | GetConectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
7127
7598
  | GetConectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
7599
+ | GetConectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
7128
7600
  | GetConectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
7129
7601
  | GetConectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
7130
7602
  | GetConectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -7984,6 +8456,64 @@ export namespace GetConectorConfigResponse {
7984
8456
  }
7985
8457
  }
7986
8458
 
8459
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
8460
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
8461
+
8462
+ connector_name: 'github-source-control';
8463
+
8464
+ id?: string;
8465
+
8466
+ connection_count?: number;
8467
+
8468
+ connector?: TopLevelAPI.Connector;
8469
+
8470
+ created_at?: string;
8471
+
8472
+ disabled?: boolean | null;
8473
+
8474
+ display_name?: string | null;
8475
+
8476
+ integrations?: { [key: string]: TopLevelAPI.Integration };
8477
+
8478
+ /**
8479
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
8480
+ * separate 1-1 table just for simple key values in your application. During
8481
+ * updates this object will be shallowly merged
8482
+ */
8483
+ metadata?: { [key: string]: unknown } | null;
8484
+
8485
+ org_id?: string;
8486
+
8487
+ updated_at?: string;
8488
+ }
8489
+
8490
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
8491
+ export interface Config {
8492
+ /**
8493
+ * Base oauth configuration for the connector
8494
+ */
8495
+ oauth?: Config.OAuth | null;
8496
+ }
8497
+
8498
+ export namespace Config {
8499
+ /**
8500
+ * Base oauth configuration for the connector
8501
+ */
8502
+ export interface OAuth {
8503
+ client_id?: string | null;
8504
+
8505
+ client_secret?: string | null;
8506
+
8507
+ /**
8508
+ * Custom redirect URI
8509
+ */
8510
+ redirect_uri?: string | null;
8511
+
8512
+ scopes?: Array<string> | null;
8513
+ }
8514
+ }
8515
+ }
8516
+
7987
8517
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
7988
8518
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
7989
8519
 
@@ -9892,6 +10422,7 @@ export type GetConnectionResponse =
9892
10422
  | GetConnectionResponse.ConnectorDiscordDiscriminatedConnectionSettings
9893
10423
  | GetConnectionResponse.ConnectorDropboxDiscriminatedConnectionSettings
9894
10424
  | GetConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
10425
+ | GetConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
9895
10426
  | GetConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
9896
10427
  | GetConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
9897
10428
  | GetConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -9966,6 +10497,12 @@ export namespace GetConnectionResponse {
9966
10497
  status_message?: string | null;
9967
10498
 
9968
10499
  updated_at?: string;
10500
+
10501
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
10502
+
10503
+ webhook_configured_at?: string | null;
10504
+
10505
+ webhook_identifier?: string | null;
9969
10506
  }
9970
10507
 
9971
10508
  export namespace ConnectorAcmeApikeyDiscriminatedConnectionSettings {
@@ -10011,6 +10548,12 @@ export namespace GetConnectionResponse {
10011
10548
  status_message?: string | null;
10012
10549
 
10013
10550
  updated_at?: string;
10551
+
10552
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
10553
+
10554
+ webhook_configured_at?: string | null;
10555
+
10556
+ webhook_identifier?: string | null;
10014
10557
  }
10015
10558
 
10016
10559
  export namespace ConnectorAcmeOauth2DiscriminatedConnectionSettings {
@@ -10105,6 +10648,12 @@ export namespace GetConnectionResponse {
10105
10648
  status_message?: string | null;
10106
10649
 
10107
10650
  updated_at?: string;
10651
+
10652
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
10653
+
10654
+ webhook_configured_at?: string | null;
10655
+
10656
+ webhook_identifier?: string | null;
10108
10657
  }
10109
10658
 
10110
10659
  export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
@@ -10150,6 +10699,12 @@ export namespace GetConnectionResponse {
10150
10699
  status_message?: string | null;
10151
10700
 
10152
10701
  updated_at?: string;
10702
+
10703
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
10704
+
10705
+ webhook_configured_at?: string | null;
10706
+
10707
+ webhook_identifier?: string | null;
10153
10708
  }
10154
10709
 
10155
10710
  export namespace ConnectorAsanaDiscriminatedConnectionSettings {
@@ -10244,12 +10799,24 @@ export namespace GetConnectionResponse {
10244
10799
  status_message?: string | null;
10245
10800
 
10246
10801
  updated_at?: string;
10802
+
10803
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
10804
+
10805
+ webhook_configured_at?: string | null;
10806
+
10807
+ webhook_identifier?: string | null;
10247
10808
  }
10248
10809
 
10249
10810
  export namespace ConnectorBigqueryDiscriminatedConnectionSettings {
10250
10811
  export interface Settings {
10251
10812
  oauth: Settings.OAuth;
10252
10813
 
10814
+ /**
10815
+ * Your Google Cloud Project ID (e.g., my-project-123). This is required to make
10816
+ * API calls to BigQuery.
10817
+ */
10818
+ project_id: string;
10819
+
10253
10820
  /**
10254
10821
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
10255
10822
  * for backward compatibility until we remove the oauth field
@@ -10338,6 +10905,12 @@ export namespace GetConnectionResponse {
10338
10905
  status_message?: string | null;
10339
10906
 
10340
10907
  updated_at?: string;
10908
+
10909
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
10910
+
10911
+ webhook_configured_at?: string | null;
10912
+
10913
+ webhook_identifier?: string | null;
10341
10914
  }
10342
10915
 
10343
10916
  export namespace ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
@@ -10432,6 +11005,12 @@ export namespace GetConnectionResponse {
10432
11005
  status_message?: string | null;
10433
11006
 
10434
11007
  updated_at?: string;
11008
+
11009
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11010
+
11011
+ webhook_configured_at?: string | null;
11012
+
11013
+ webhook_identifier?: string | null;
10435
11014
  }
10436
11015
 
10437
11016
  export namespace ConnectorBitbucketDiscriminatedConnectionSettings {
@@ -10526,6 +11105,12 @@ export namespace GetConnectionResponse {
10526
11105
  status_message?: string | null;
10527
11106
 
10528
11107
  updated_at?: string;
11108
+
11109
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11110
+
11111
+ webhook_configured_at?: string | null;
11112
+
11113
+ webhook_identifier?: string | null;
10529
11114
  }
10530
11115
 
10531
11116
  export namespace ConnectorBoxDiscriminatedConnectionSettings {
@@ -10620,6 +11205,12 @@ export namespace GetConnectionResponse {
10620
11205
  status_message?: string | null;
10621
11206
 
10622
11207
  updated_at?: string;
11208
+
11209
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11210
+
11211
+ webhook_configured_at?: string | null;
11212
+
11213
+ webhook_identifier?: string | null;
10623
11214
  }
10624
11215
 
10625
11216
  export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
@@ -10714,6 +11305,12 @@ export namespace GetConnectionResponse {
10714
11305
  status_message?: string | null;
10715
11306
 
10716
11307
  updated_at?: string;
11308
+
11309
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11310
+
11311
+ webhook_configured_at?: string | null;
11312
+
11313
+ webhook_identifier?: string | null;
10717
11314
  }
10718
11315
 
10719
11316
  export namespace ConnectorClickupDiscriminatedConnectionSettings {
@@ -10808,6 +11405,12 @@ export namespace GetConnectionResponse {
10808
11405
  status_message?: string | null;
10809
11406
 
10810
11407
  updated_at?: string;
11408
+
11409
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11410
+
11411
+ webhook_configured_at?: string | null;
11412
+
11413
+ webhook_identifier?: string | null;
10811
11414
  }
10812
11415
 
10813
11416
  export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
@@ -10907,19 +11510,31 @@ export namespace GetConnectionResponse {
10907
11510
  status_message?: string | null;
10908
11511
 
10909
11512
  updated_at?: string;
11513
+
11514
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11515
+
11516
+ webhook_configured_at?: string | null;
11517
+
11518
+ webhook_identifier?: string | null;
10910
11519
  }
10911
11520
 
10912
11521
  export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
10913
11522
  export interface Settings {
10914
11523
  /**
10915
- * Your Databricks workspace instance name (e.g., "your-workspace" for
10916
- * your-workspace.cloud.databricks.com). Do not include https:// or
10917
- * .cloud.databricks.com
11524
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
11525
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
10918
11526
  */
10919
- databricks_instance: string;
11527
+ http_path: string;
10920
11528
 
10921
11529
  oauth: Settings.OAuth;
10922
11530
 
11531
+ /**
11532
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
11533
+ * warehouse in Databricks and click the "Connection details" button. Copy the
11534
+ * Server hostname value.
11535
+ */
11536
+ server_hostname: string;
11537
+
10923
11538
  /**
10924
11539
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
10925
11540
  * for backward compatibility until we remove the oauth field
@@ -11008,6 +11623,12 @@ export namespace GetConnectionResponse {
11008
11623
  status_message?: string | null;
11009
11624
 
11010
11625
  updated_at?: string;
11626
+
11627
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11628
+
11629
+ webhook_configured_at?: string | null;
11630
+
11631
+ webhook_identifier?: string | null;
11011
11632
  }
11012
11633
 
11013
11634
  export namespace ConnectorDiscordDiscriminatedConnectionSettings {
@@ -11102,6 +11723,12 @@ export namespace GetConnectionResponse {
11102
11723
  status_message?: string | null;
11103
11724
 
11104
11725
  updated_at?: string;
11726
+
11727
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11728
+
11729
+ webhook_configured_at?: string | null;
11730
+
11731
+ webhook_identifier?: string | null;
11105
11732
  }
11106
11733
 
11107
11734
  export namespace ConnectorDropboxDiscriminatedConnectionSettings {
@@ -11196,6 +11823,12 @@ export namespace GetConnectionResponse {
11196
11823
  status_message?: string | null;
11197
11824
 
11198
11825
  updated_at?: string;
11826
+
11827
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11828
+
11829
+ webhook_configured_at?: string | null;
11830
+
11831
+ webhook_identifier?: string | null;
11199
11832
  }
11200
11833
 
11201
11834
  export namespace ConnectorFigmaDiscriminatedConnectionSettings {
@@ -11253,6 +11886,106 @@ export namespace GetConnectionResponse {
11253
11886
  }
11254
11887
  }
11255
11888
 
11889
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
11890
+ connector_name: 'github-source-control';
11891
+
11892
+ id?: string;
11893
+
11894
+ connector?: TopLevelAPI.Connector;
11895
+
11896
+ connector_config_id?: string | null;
11897
+
11898
+ created_at?: string;
11899
+
11900
+ customer_id?: string | null;
11901
+
11902
+ disabled?: boolean | null;
11903
+
11904
+ display_name?: string | null;
11905
+
11906
+ environment?: 'production' | 'development';
11907
+
11908
+ integration?: TopLevelAPI.Integration;
11909
+
11910
+ integration_id?: string | null;
11911
+
11912
+ /**
11913
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
11914
+ * separate 1-1 table just for simple key values in your application. During
11915
+ * updates this object will be shallowly merged
11916
+ */
11917
+ metadata?: { [key: string]: unknown } | null;
11918
+
11919
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
11920
+
11921
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11922
+
11923
+ status_message?: string | null;
11924
+
11925
+ updated_at?: string;
11926
+
11927
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
11928
+
11929
+ webhook_configured_at?: string | null;
11930
+
11931
+ webhook_identifier?: string | null;
11932
+ }
11933
+
11934
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
11935
+ export interface Settings {
11936
+ oauth: Settings.OAuth;
11937
+
11938
+ /**
11939
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
11940
+ * for backward compatibility until we remove the oauth field
11941
+ */
11942
+ access_token?: string;
11943
+ }
11944
+
11945
+ export namespace Settings {
11946
+ export interface OAuth {
11947
+ created_at?: string;
11948
+
11949
+ /**
11950
+ * Output of the postConnect hook for oauth2 connectors
11951
+ */
11952
+ credentials?: OAuth.Credentials;
11953
+
11954
+ last_fetched_at?: string;
11955
+
11956
+ metadata?: { [key: string]: unknown } | null;
11957
+
11958
+ updated_at?: string;
11959
+ }
11960
+
11961
+ export namespace OAuth {
11962
+ /**
11963
+ * Output of the postConnect hook for oauth2 connectors
11964
+ */
11965
+ export interface Credentials {
11966
+ access_token: string;
11967
+
11968
+ /**
11969
+ * Client ID used for the connection
11970
+ */
11971
+ client_id?: string;
11972
+
11973
+ expires_at?: string;
11974
+
11975
+ expires_in?: number;
11976
+
11977
+ raw?: { [key: string]: unknown };
11978
+
11979
+ refresh_token?: string;
11980
+
11981
+ scope?: string;
11982
+
11983
+ token_type?: string;
11984
+ }
11985
+ }
11986
+ }
11987
+ }
11988
+
11256
11989
  export interface ConnectorGitHubDiscriminatedConnectionSettings {
11257
11990
  connector_name: 'github';
11258
11991
 
@@ -11290,6 +12023,12 @@ export namespace GetConnectionResponse {
11290
12023
  status_message?: string | null;
11291
12024
 
11292
12025
  updated_at?: string;
12026
+
12027
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12028
+
12029
+ webhook_configured_at?: string | null;
12030
+
12031
+ webhook_identifier?: string | null;
11293
12032
  }
11294
12033
 
11295
12034
  export namespace ConnectorGitHubDiscriminatedConnectionSettings {
@@ -11384,6 +12123,12 @@ export namespace GetConnectionResponse {
11384
12123
  status_message?: string | null;
11385
12124
 
11386
12125
  updated_at?: string;
12126
+
12127
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12128
+
12129
+ webhook_configured_at?: string | null;
12130
+
12131
+ webhook_identifier?: string | null;
11387
12132
  }
11388
12133
 
11389
12134
  export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
@@ -11478,6 +12223,12 @@ export namespace GetConnectionResponse {
11478
12223
  status_message?: string | null;
11479
12224
 
11480
12225
  updated_at?: string;
12226
+
12227
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12228
+
12229
+ webhook_configured_at?: string | null;
12230
+
12231
+ webhook_identifier?: string | null;
11481
12232
  }
11482
12233
 
11483
12234
  export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
@@ -11572,6 +12323,12 @@ export namespace GetConnectionResponse {
11572
12323
  status_message?: string | null;
11573
12324
 
11574
12325
  updated_at?: string;
12326
+
12327
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12328
+
12329
+ webhook_configured_at?: string | null;
12330
+
12331
+ webhook_identifier?: string | null;
11575
12332
  }
11576
12333
 
11577
12334
  export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
@@ -11666,6 +12423,12 @@ export namespace GetConnectionResponse {
11666
12423
  status_message?: string | null;
11667
12424
 
11668
12425
  updated_at?: string;
12426
+
12427
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12428
+
12429
+ webhook_configured_at?: string | null;
12430
+
12431
+ webhook_identifier?: string | null;
11669
12432
  }
11670
12433
 
11671
12434
  export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
@@ -11760,6 +12523,12 @@ export namespace GetConnectionResponse {
11760
12523
  status_message?: string | null;
11761
12524
 
11762
12525
  updated_at?: string;
12526
+
12527
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12528
+
12529
+ webhook_configured_at?: string | null;
12530
+
12531
+ webhook_identifier?: string | null;
11763
12532
  }
11764
12533
 
11765
12534
  export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
@@ -11854,6 +12623,12 @@ export namespace GetConnectionResponse {
11854
12623
  status_message?: string | null;
11855
12624
 
11856
12625
  updated_at?: string;
12626
+
12627
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12628
+
12629
+ webhook_configured_at?: string | null;
12630
+
12631
+ webhook_identifier?: string | null;
11857
12632
  }
11858
12633
 
11859
12634
  export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
@@ -11948,6 +12723,12 @@ export namespace GetConnectionResponse {
11948
12723
  status_message?: string | null;
11949
12724
 
11950
12725
  updated_at?: string;
12726
+
12727
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12728
+
12729
+ webhook_configured_at?: string | null;
12730
+
12731
+ webhook_identifier?: string | null;
11951
12732
  }
11952
12733
 
11953
12734
  export namespace ConnectorHubspotDiscriminatedConnectionSettings {
@@ -12042,6 +12823,12 @@ export namespace GetConnectionResponse {
12042
12823
  status_message?: string | null;
12043
12824
 
12044
12825
  updated_at?: string;
12826
+
12827
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12828
+
12829
+ webhook_configured_at?: string | null;
12830
+
12831
+ webhook_identifier?: string | null;
12045
12832
  }
12046
12833
 
12047
12834
  export namespace ConnectorInstagramDiscriminatedConnectionSettings {
@@ -12136,6 +12923,12 @@ export namespace GetConnectionResponse {
12136
12923
  status_message?: string | null;
12137
12924
 
12138
12925
  updated_at?: string;
12926
+
12927
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12928
+
12929
+ webhook_configured_at?: string | null;
12930
+
12931
+ webhook_identifier?: string | null;
12139
12932
  }
12140
12933
 
12141
12934
  export namespace ConnectorJiraDiscriminatedConnectionSettings {
@@ -12235,6 +13028,12 @@ export namespace GetConnectionResponse {
12235
13028
  status_message?: string | null;
12236
13029
 
12237
13030
  updated_at?: string;
13031
+
13032
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13033
+
13034
+ webhook_configured_at?: string | null;
13035
+
13036
+ webhook_identifier?: string | null;
12238
13037
  }
12239
13038
 
12240
13039
  export namespace ConnectorLinearDiscriminatedConnectionSettings {
@@ -12329,6 +13128,12 @@ export namespace GetConnectionResponse {
12329
13128
  status_message?: string | null;
12330
13129
 
12331
13130
  updated_at?: string;
13131
+
13132
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13133
+
13134
+ webhook_configured_at?: string | null;
13135
+
13136
+ webhook_identifier?: string | null;
12332
13137
  }
12333
13138
 
12334
13139
  export namespace ConnectorMondayDiscriminatedConnectionSettings {
@@ -12423,6 +13228,12 @@ export namespace GetConnectionResponse {
12423
13228
  status_message?: string | null;
12424
13229
 
12425
13230
  updated_at?: string;
13231
+
13232
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13233
+
13234
+ webhook_configured_at?: string | null;
13235
+
13236
+ webhook_identifier?: string | null;
12426
13237
  }
12427
13238
 
12428
13239
  export namespace ConnectorNotionDiscriminatedConnectionSettings {
@@ -12517,6 +13328,12 @@ export namespace GetConnectionResponse {
12517
13328
  status_message?: string | null;
12518
13329
 
12519
13330
  updated_at?: string;
13331
+
13332
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13333
+
13334
+ webhook_configured_at?: string | null;
13335
+
13336
+ webhook_identifier?: string | null;
12520
13337
  }
12521
13338
 
12522
13339
  export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
@@ -12611,6 +13428,12 @@ export namespace GetConnectionResponse {
12611
13428
  status_message?: string | null;
12612
13429
 
12613
13430
  updated_at?: string;
13431
+
13432
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13433
+
13434
+ webhook_configured_at?: string | null;
13435
+
13436
+ webhook_identifier?: string | null;
12614
13437
  }
12615
13438
 
12616
13439
  export namespace ConnectorOutlookDiscriminatedConnectionSettings {
@@ -12705,6 +13528,12 @@ export namespace GetConnectionResponse {
12705
13528
  status_message?: string | null;
12706
13529
 
12707
13530
  updated_at?: string;
13531
+
13532
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13533
+
13534
+ webhook_configured_at?: string | null;
13535
+
13536
+ webhook_identifier?: string | null;
12708
13537
  }
12709
13538
 
12710
13539
  export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
@@ -12804,6 +13633,12 @@ export namespace GetConnectionResponse {
12804
13633
  status_message?: string | null;
12805
13634
 
12806
13635
  updated_at?: string;
13636
+
13637
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13638
+
13639
+ webhook_configured_at?: string | null;
13640
+
13641
+ webhook_identifier?: string | null;
12807
13642
  }
12808
13643
 
12809
13644
  export namespace ConnectorSharepointDiscriminatedConnectionSettings {
@@ -12898,6 +13733,12 @@ export namespace GetConnectionResponse {
12898
13733
  status_message?: string | null;
12899
13734
 
12900
13735
  updated_at?: string;
13736
+
13737
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13738
+
13739
+ webhook_configured_at?: string | null;
13740
+
13741
+ webhook_identifier?: string | null;
12901
13742
  }
12902
13743
 
12903
13744
  export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
@@ -12992,6 +13833,12 @@ export namespace GetConnectionResponse {
12992
13833
  status_message?: string | null;
12993
13834
 
12994
13835
  updated_at?: string;
13836
+
13837
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13838
+
13839
+ webhook_configured_at?: string | null;
13840
+
13841
+ webhook_identifier?: string | null;
12995
13842
  }
12996
13843
 
12997
13844
  export namespace ConnectorSlackDiscriminatedConnectionSettings {
@@ -13086,6 +13933,12 @@ export namespace GetConnectionResponse {
13086
13933
  status_message?: string | null;
13087
13934
 
13088
13935
  updated_at?: string;
13936
+
13937
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
13938
+
13939
+ webhook_configured_at?: string | null;
13940
+
13941
+ webhook_identifier?: string | null;
13089
13942
  }
13090
13943
 
13091
13944
  export namespace ConnectorSnowflakeDiscriminatedConnectionSettings {
@@ -13186,6 +14039,12 @@ export namespace GetConnectionResponse {
13186
14039
  status_message?: string | null;
13187
14040
 
13188
14041
  updated_at?: string;
14042
+
14043
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14044
+
14045
+ webhook_configured_at?: string | null;
14046
+
14047
+ webhook_identifier?: string | null;
13189
14048
  }
13190
14049
 
13191
14050
  export namespace ConnectorSpotifyDiscriminatedConnectionSettings {
@@ -13280,6 +14139,12 @@ export namespace GetConnectionResponse {
13280
14139
  status_message?: string | null;
13281
14140
 
13282
14141
  updated_at?: string;
14142
+
14143
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14144
+
14145
+ webhook_configured_at?: string | null;
14146
+
14147
+ webhook_identifier?: string | null;
13283
14148
  }
13284
14149
 
13285
14150
  export namespace ConnectorYoutubeDiscriminatedConnectionSettings {
@@ -13374,6 +14239,12 @@ export namespace GetConnectionResponse {
13374
14239
  status_message?: string | null;
13375
14240
 
13376
14241
  updated_at?: string;
14242
+
14243
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14244
+
14245
+ webhook_configured_at?: string | null;
14246
+
14247
+ webhook_identifier?: string | null;
13377
14248
  }
13378
14249
 
13379
14250
  export namespace ConnectorZendeskDiscriminatedConnectionSettings {
@@ -13473,6 +14344,12 @@ export namespace GetConnectionResponse {
13473
14344
  status_message?: string | null;
13474
14345
 
13475
14346
  updated_at?: string;
14347
+
14348
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14349
+
14350
+ webhook_configured_at?: string | null;
14351
+
14352
+ webhook_identifier?: string | null;
13476
14353
  }
13477
14354
 
13478
14355
  export namespace ConnectorZoomDiscriminatedConnectionSettings {
@@ -13567,6 +14444,12 @@ export namespace GetConnectionResponse {
13567
14444
  status_message?: string | null;
13568
14445
 
13569
14446
  updated_at?: string;
14447
+
14448
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14449
+
14450
+ webhook_configured_at?: string | null;
14451
+
14452
+ webhook_identifier?: string | null;
13570
14453
  }
13571
14454
 
13572
14455
  export namespace ConnectorApolloDiscriminatedConnectionSettings {
@@ -13612,6 +14495,12 @@ export namespace GetConnectionResponse {
13612
14495
  status_message?: string | null;
13613
14496
 
13614
14497
  updated_at?: string;
14498
+
14499
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14500
+
14501
+ webhook_configured_at?: string | null;
14502
+
14503
+ webhook_identifier?: string | null;
13615
14504
  }
13616
14505
 
13617
14506
  export namespace ConnectorPlaidDiscriminatedConnectionSettings {
@@ -13667,6 +14556,12 @@ export namespace GetConnectionResponse {
13667
14556
  status_message?: string | null;
13668
14557
 
13669
14558
  updated_at?: string;
14559
+
14560
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14561
+
14562
+ webhook_configured_at?: string | null;
14563
+
14564
+ webhook_identifier?: string | null;
13670
14565
  }
13671
14566
 
13672
14567
  export namespace ConnectorPostgresDiscriminatedConnectionSettings {
@@ -13712,6 +14607,12 @@ export namespace GetConnectionResponse {
13712
14607
  status_message?: string | null;
13713
14608
 
13714
14609
  updated_at?: string;
14610
+
14611
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14612
+
14613
+ webhook_configured_at?: string | null;
14614
+
14615
+ webhook_identifier?: string | null;
13715
14616
  }
13716
14617
 
13717
14618
  export namespace ConnectorResendDiscriminatedConnectionSettings {
@@ -13762,6 +14663,12 @@ export namespace GetConnectionResponse {
13762
14663
  status_message?: string | null;
13763
14664
 
13764
14665
  updated_at?: string;
14666
+
14667
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14668
+
14669
+ webhook_configured_at?: string | null;
14670
+
14671
+ webhook_identifier?: string | null;
13765
14672
  }
13766
14673
 
13767
14674
  export namespace ConnectorSendgridDiscriminatedConnectionSettings {
@@ -13812,6 +14719,12 @@ export namespace GetConnectionResponse {
13812
14719
  status_message?: string | null;
13813
14720
 
13814
14721
  updated_at?: string;
14722
+
14723
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14724
+
14725
+ webhook_configured_at?: string | null;
14726
+
14727
+ webhook_identifier?: string | null;
13815
14728
  }
13816
14729
 
13817
14730
  export namespace ConnectorSlackAgentDiscriminatedConnectionSettings {
@@ -13860,6 +14773,12 @@ export namespace GetConnectionResponse {
13860
14773
  status_message?: string | null;
13861
14774
 
13862
14775
  updated_at?: string;
14776
+
14777
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14778
+
14779
+ webhook_configured_at?: string | null;
14780
+
14781
+ webhook_identifier?: string | null;
13863
14782
  }
13864
14783
 
13865
14784
  export namespace ConnectorSlackAgentBuilderDiscriminatedConnectionSettings {
@@ -14048,6 +14967,12 @@ export namespace GetConnectionResponse {
14048
14967
  status_message?: string | null;
14049
14968
 
14050
14969
  updated_at?: string;
14970
+
14971
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14972
+
14973
+ webhook_configured_at?: string | null;
14974
+
14975
+ webhook_identifier?: string | null;
14051
14976
  }
14052
14977
 
14053
14978
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
@@ -14141,6 +15066,12 @@ export namespace GetConnectionResponse {
14141
15066
  status_message?: string | null;
14142
15067
 
14143
15068
  updated_at?: string;
15069
+
15070
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15071
+
15072
+ webhook_configured_at?: string | null;
15073
+
15074
+ webhook_identifier?: string | null;
14144
15075
  }
14145
15076
 
14146
15077
  export namespace ConnectorStripeAgentSandboxDiscriminatedConnectionSettings {
@@ -14234,6 +15165,12 @@ export namespace GetConnectionResponse {
14234
15165
  status_message?: string | null;
14235
15166
 
14236
15167
  updated_at?: string;
15168
+
15169
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15170
+
15171
+ webhook_configured_at?: string | null;
15172
+
15173
+ webhook_identifier?: string | null;
14237
15174
  }
14238
15175
 
14239
15176
  export namespace ConnectorTwilioDiscriminatedConnectionSettings {
@@ -14288,6 +15225,12 @@ export namespace GetConnectionResponse {
14288
15225
  status_message?: string | null;
14289
15226
 
14290
15227
  updated_at?: string;
15228
+
15229
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15230
+
15231
+ webhook_configured_at?: string | null;
15232
+
15233
+ webhook_identifier?: string | null;
14291
15234
  }
14292
15235
 
14293
15236
  export namespace ConnectorWorkatoDiscriminatedConnectionSettings {
@@ -14343,6 +15286,7 @@ export type ListConnectionsResponse =
14343
15286
  | ListConnectionsResponse.ConnectorDiscordDiscriminatedConnectionSettings
14344
15287
  | ListConnectionsResponse.ConnectorDropboxDiscriminatedConnectionSettings
14345
15288
  | ListConnectionsResponse.ConnectorFigmaDiscriminatedConnectionSettings
15289
+ | ListConnectionsResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
14346
15290
  | ListConnectionsResponse.ConnectorGitHubDiscriminatedConnectionSettings
14347
15291
  | ListConnectionsResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
14348
15292
  | ListConnectionsResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -14417,6 +15361,12 @@ export namespace ListConnectionsResponse {
14417
15361
  status_message?: string | null;
14418
15362
 
14419
15363
  updated_at?: string;
15364
+
15365
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15366
+
15367
+ webhook_configured_at?: string | null;
15368
+
15369
+ webhook_identifier?: string | null;
14420
15370
  }
14421
15371
 
14422
15372
  export namespace ConnectorAcmeApikeyDiscriminatedConnectionSettings {
@@ -14462,6 +15412,12 @@ export namespace ListConnectionsResponse {
14462
15412
  status_message?: string | null;
14463
15413
 
14464
15414
  updated_at?: string;
15415
+
15416
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15417
+
15418
+ webhook_configured_at?: string | null;
15419
+
15420
+ webhook_identifier?: string | null;
14465
15421
  }
14466
15422
 
14467
15423
  export namespace ConnectorAcmeOauth2DiscriminatedConnectionSettings {
@@ -14556,6 +15512,12 @@ export namespace ListConnectionsResponse {
14556
15512
  status_message?: string | null;
14557
15513
 
14558
15514
  updated_at?: string;
15515
+
15516
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15517
+
15518
+ webhook_configured_at?: string | null;
15519
+
15520
+ webhook_identifier?: string | null;
14559
15521
  }
14560
15522
 
14561
15523
  export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
@@ -14601,6 +15563,12 @@ export namespace ListConnectionsResponse {
14601
15563
  status_message?: string | null;
14602
15564
 
14603
15565
  updated_at?: string;
15566
+
15567
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15568
+
15569
+ webhook_configured_at?: string | null;
15570
+
15571
+ webhook_identifier?: string | null;
14604
15572
  }
14605
15573
 
14606
15574
  export namespace ConnectorAsanaDiscriminatedConnectionSettings {
@@ -14695,12 +15663,24 @@ export namespace ListConnectionsResponse {
14695
15663
  status_message?: string | null;
14696
15664
 
14697
15665
  updated_at?: string;
15666
+
15667
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15668
+
15669
+ webhook_configured_at?: string | null;
15670
+
15671
+ webhook_identifier?: string | null;
14698
15672
  }
14699
15673
 
14700
15674
  export namespace ConnectorBigqueryDiscriminatedConnectionSettings {
14701
15675
  export interface Settings {
14702
15676
  oauth: Settings.OAuth;
14703
15677
 
15678
+ /**
15679
+ * Your Google Cloud Project ID (e.g., my-project-123). This is required to make
15680
+ * API calls to BigQuery.
15681
+ */
15682
+ project_id: string;
15683
+
14704
15684
  /**
14705
15685
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
14706
15686
  * for backward compatibility until we remove the oauth field
@@ -14789,6 +15769,12 @@ export namespace ListConnectionsResponse {
14789
15769
  status_message?: string | null;
14790
15770
 
14791
15771
  updated_at?: string;
15772
+
15773
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15774
+
15775
+ webhook_configured_at?: string | null;
15776
+
15777
+ webhook_identifier?: string | null;
14792
15778
  }
14793
15779
 
14794
15780
  export namespace ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
@@ -14883,6 +15869,12 @@ export namespace ListConnectionsResponse {
14883
15869
  status_message?: string | null;
14884
15870
 
14885
15871
  updated_at?: string;
15872
+
15873
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15874
+
15875
+ webhook_configured_at?: string | null;
15876
+
15877
+ webhook_identifier?: string | null;
14886
15878
  }
14887
15879
 
14888
15880
  export namespace ConnectorBitbucketDiscriminatedConnectionSettings {
@@ -14977,6 +15969,12 @@ export namespace ListConnectionsResponse {
14977
15969
  status_message?: string | null;
14978
15970
 
14979
15971
  updated_at?: string;
15972
+
15973
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15974
+
15975
+ webhook_configured_at?: string | null;
15976
+
15977
+ webhook_identifier?: string | null;
14980
15978
  }
14981
15979
 
14982
15980
  export namespace ConnectorBoxDiscriminatedConnectionSettings {
@@ -15071,6 +16069,12 @@ export namespace ListConnectionsResponse {
15071
16069
  status_message?: string | null;
15072
16070
 
15073
16071
  updated_at?: string;
16072
+
16073
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16074
+
16075
+ webhook_configured_at?: string | null;
16076
+
16077
+ webhook_identifier?: string | null;
15074
16078
  }
15075
16079
 
15076
16080
  export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
@@ -15165,6 +16169,12 @@ export namespace ListConnectionsResponse {
15165
16169
  status_message?: string | null;
15166
16170
 
15167
16171
  updated_at?: string;
16172
+
16173
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16174
+
16175
+ webhook_configured_at?: string | null;
16176
+
16177
+ webhook_identifier?: string | null;
15168
16178
  }
15169
16179
 
15170
16180
  export namespace ConnectorClickupDiscriminatedConnectionSettings {
@@ -15259,6 +16269,12 @@ export namespace ListConnectionsResponse {
15259
16269
  status_message?: string | null;
15260
16270
 
15261
16271
  updated_at?: string;
16272
+
16273
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16274
+
16275
+ webhook_configured_at?: string | null;
16276
+
16277
+ webhook_identifier?: string | null;
15262
16278
  }
15263
16279
 
15264
16280
  export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
@@ -15358,19 +16374,31 @@ export namespace ListConnectionsResponse {
15358
16374
  status_message?: string | null;
15359
16375
 
15360
16376
  updated_at?: string;
16377
+
16378
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16379
+
16380
+ webhook_configured_at?: string | null;
16381
+
16382
+ webhook_identifier?: string | null;
15361
16383
  }
15362
16384
 
15363
16385
  export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
15364
16386
  export interface Settings {
15365
16387
  /**
15366
- * Your Databricks workspace instance name (e.g., "your-workspace" for
15367
- * your-workspace.cloud.databricks.com). Do not include https:// or
15368
- * .cloud.databricks.com
16388
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
16389
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
15369
16390
  */
15370
- databricks_instance: string;
16391
+ http_path: string;
15371
16392
 
15372
16393
  oauth: Settings.OAuth;
15373
16394
 
16395
+ /**
16396
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
16397
+ * warehouse in Databricks and click the "Connection details" button. Copy the
16398
+ * Server hostname value.
16399
+ */
16400
+ server_hostname: string;
16401
+
15374
16402
  /**
15375
16403
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
15376
16404
  * for backward compatibility until we remove the oauth field
@@ -15459,6 +16487,12 @@ export namespace ListConnectionsResponse {
15459
16487
  status_message?: string | null;
15460
16488
 
15461
16489
  updated_at?: string;
16490
+
16491
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16492
+
16493
+ webhook_configured_at?: string | null;
16494
+
16495
+ webhook_identifier?: string | null;
15462
16496
  }
15463
16497
 
15464
16498
  export namespace ConnectorDiscordDiscriminatedConnectionSettings {
@@ -15553,6 +16587,12 @@ export namespace ListConnectionsResponse {
15553
16587
  status_message?: string | null;
15554
16588
 
15555
16589
  updated_at?: string;
16590
+
16591
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16592
+
16593
+ webhook_configured_at?: string | null;
16594
+
16595
+ webhook_identifier?: string | null;
15556
16596
  }
15557
16597
 
15558
16598
  export namespace ConnectorDropboxDiscriminatedConnectionSettings {
@@ -15647,6 +16687,12 @@ export namespace ListConnectionsResponse {
15647
16687
  status_message?: string | null;
15648
16688
 
15649
16689
  updated_at?: string;
16690
+
16691
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16692
+
16693
+ webhook_configured_at?: string | null;
16694
+
16695
+ webhook_identifier?: string | null;
15650
16696
  }
15651
16697
 
15652
16698
  export namespace ConnectorFigmaDiscriminatedConnectionSettings {
@@ -15704,8 +16750,8 @@ export namespace ListConnectionsResponse {
15704
16750
  }
15705
16751
  }
15706
16752
 
15707
- export interface ConnectorGitHubDiscriminatedConnectionSettings {
15708
- connector_name: 'github';
16753
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
16754
+ connector_name: 'github-source-control';
15709
16755
 
15710
16756
  id?: string;
15711
16757
 
@@ -15734,110 +16780,22 @@ export namespace ListConnectionsResponse {
15734
16780
  */
15735
16781
  metadata?: { [key: string]: unknown } | null;
15736
16782
 
15737
- settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
16783
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
15738
16784
 
15739
16785
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15740
16786
 
15741
16787
  status_message?: string | null;
15742
16788
 
15743
16789
  updated_at?: string;
15744
- }
15745
-
15746
- export namespace ConnectorGitHubDiscriminatedConnectionSettings {
15747
- export interface Settings {
15748
- oauth: Settings.OAuth;
15749
-
15750
- /**
15751
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
15752
- * for backward compatibility until we remove the oauth field
15753
- */
15754
- access_token?: string;
15755
- }
15756
-
15757
- export namespace Settings {
15758
- export interface OAuth {
15759
- created_at?: string;
15760
-
15761
- /**
15762
- * Output of the postConnect hook for oauth2 connectors
15763
- */
15764
- credentials?: OAuth.Credentials;
15765
-
15766
- last_fetched_at?: string;
15767
-
15768
- metadata?: { [key: string]: unknown } | null;
15769
-
15770
- updated_at?: string;
15771
- }
15772
-
15773
- export namespace OAuth {
15774
- /**
15775
- * Output of the postConnect hook for oauth2 connectors
15776
- */
15777
- export interface Credentials {
15778
- access_token: string;
15779
-
15780
- /**
15781
- * Client ID used for the connection
15782
- */
15783
- client_id?: string;
15784
-
15785
- expires_at?: string;
15786
-
15787
- expires_in?: number;
15788
-
15789
- raw?: { [key: string]: unknown };
15790
-
15791
- refresh_token?: string;
15792
-
15793
- scope?: string;
15794
-
15795
- token_type?: string;
15796
- }
15797
- }
15798
- }
15799
- }
15800
-
15801
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
15802
- connector_name: 'google-calendar';
15803
-
15804
- id?: string;
15805
-
15806
- connector?: TopLevelAPI.Connector;
15807
-
15808
- connector_config_id?: string | null;
15809
-
15810
- created_at?: string;
15811
-
15812
- customer_id?: string | null;
15813
-
15814
- disabled?: boolean | null;
15815
-
15816
- display_name?: string | null;
15817
-
15818
- environment?: 'production' | 'development';
15819
16790
 
15820
- integration?: TopLevelAPI.Integration;
15821
-
15822
- integration_id?: string | null;
15823
-
15824
- /**
15825
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
15826
- * separate 1-1 table just for simple key values in your application. During
15827
- * updates this object will be shallowly merged
15828
- */
15829
- metadata?: { [key: string]: unknown } | null;
15830
-
15831
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
16791
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
15832
16792
 
15833
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15834
-
15835
- status_message?: string | null;
16793
+ webhook_configured_at?: string | null;
15836
16794
 
15837
- updated_at?: string;
16795
+ webhook_identifier?: string | null;
15838
16796
  }
15839
16797
 
15840
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
16798
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
15841
16799
  export interface Settings {
15842
16800
  oauth: Settings.OAuth;
15843
16801
 
@@ -15892,8 +16850,8 @@ export namespace ListConnectionsResponse {
15892
16850
  }
15893
16851
  }
15894
16852
 
15895
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
15896
- connector_name: 'google-docs';
16853
+ export interface ConnectorGitHubDiscriminatedConnectionSettings {
16854
+ connector_name: 'github';
15897
16855
 
15898
16856
  id?: string;
15899
16857
 
@@ -15922,16 +16880,22 @@ export namespace ListConnectionsResponse {
15922
16880
  */
15923
16881
  metadata?: { [key: string]: unknown } | null;
15924
16882
 
15925
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
16883
+ settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
15926
16884
 
15927
16885
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15928
16886
 
15929
16887
  status_message?: string | null;
15930
16888
 
15931
16889
  updated_at?: string;
16890
+
16891
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16892
+
16893
+ webhook_configured_at?: string | null;
16894
+
16895
+ webhook_identifier?: string | null;
15932
16896
  }
15933
16897
 
15934
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
16898
+ export namespace ConnectorGitHubDiscriminatedConnectionSettings {
15935
16899
  export interface Settings {
15936
16900
  oauth: Settings.OAuth;
15937
16901
 
@@ -15986,8 +16950,208 @@ export namespace ListConnectionsResponse {
15986
16950
  }
15987
16951
  }
15988
16952
 
15989
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
15990
- connector_name: 'google-drive';
16953
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
16954
+ connector_name: 'google-calendar';
16955
+
16956
+ id?: string;
16957
+
16958
+ connector?: TopLevelAPI.Connector;
16959
+
16960
+ connector_config_id?: string | null;
16961
+
16962
+ created_at?: string;
16963
+
16964
+ customer_id?: string | null;
16965
+
16966
+ disabled?: boolean | null;
16967
+
16968
+ display_name?: string | null;
16969
+
16970
+ environment?: 'production' | 'development';
16971
+
16972
+ integration?: TopLevelAPI.Integration;
16973
+
16974
+ integration_id?: string | null;
16975
+
16976
+ /**
16977
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
16978
+ * separate 1-1 table just for simple key values in your application. During
16979
+ * updates this object will be shallowly merged
16980
+ */
16981
+ metadata?: { [key: string]: unknown } | null;
16982
+
16983
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
16984
+
16985
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
16986
+
16987
+ status_message?: string | null;
16988
+
16989
+ updated_at?: string;
16990
+
16991
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
16992
+
16993
+ webhook_configured_at?: string | null;
16994
+
16995
+ webhook_identifier?: string | null;
16996
+ }
16997
+
16998
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
16999
+ export interface Settings {
17000
+ oauth: Settings.OAuth;
17001
+
17002
+ /**
17003
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
17004
+ * for backward compatibility until we remove the oauth field
17005
+ */
17006
+ access_token?: string;
17007
+ }
17008
+
17009
+ export namespace Settings {
17010
+ export interface OAuth {
17011
+ created_at?: string;
17012
+
17013
+ /**
17014
+ * Output of the postConnect hook for oauth2 connectors
17015
+ */
17016
+ credentials?: OAuth.Credentials;
17017
+
17018
+ last_fetched_at?: string;
17019
+
17020
+ metadata?: { [key: string]: unknown } | null;
17021
+
17022
+ updated_at?: string;
17023
+ }
17024
+
17025
+ export namespace OAuth {
17026
+ /**
17027
+ * Output of the postConnect hook for oauth2 connectors
17028
+ */
17029
+ export interface Credentials {
17030
+ access_token: string;
17031
+
17032
+ /**
17033
+ * Client ID used for the connection
17034
+ */
17035
+ client_id?: string;
17036
+
17037
+ expires_at?: string;
17038
+
17039
+ expires_in?: number;
17040
+
17041
+ raw?: { [key: string]: unknown };
17042
+
17043
+ refresh_token?: string;
17044
+
17045
+ scope?: string;
17046
+
17047
+ token_type?: string;
17048
+ }
17049
+ }
17050
+ }
17051
+ }
17052
+
17053
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
17054
+ connector_name: 'google-docs';
17055
+
17056
+ id?: string;
17057
+
17058
+ connector?: TopLevelAPI.Connector;
17059
+
17060
+ connector_config_id?: string | null;
17061
+
17062
+ created_at?: string;
17063
+
17064
+ customer_id?: string | null;
17065
+
17066
+ disabled?: boolean | null;
17067
+
17068
+ display_name?: string | null;
17069
+
17070
+ environment?: 'production' | 'development';
17071
+
17072
+ integration?: TopLevelAPI.Integration;
17073
+
17074
+ integration_id?: string | null;
17075
+
17076
+ /**
17077
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
17078
+ * separate 1-1 table just for simple key values in your application. During
17079
+ * updates this object will be shallowly merged
17080
+ */
17081
+ metadata?: { [key: string]: unknown } | null;
17082
+
17083
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
17084
+
17085
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17086
+
17087
+ status_message?: string | null;
17088
+
17089
+ updated_at?: string;
17090
+
17091
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17092
+
17093
+ webhook_configured_at?: string | null;
17094
+
17095
+ webhook_identifier?: string | null;
17096
+ }
17097
+
17098
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
17099
+ export interface Settings {
17100
+ oauth: Settings.OAuth;
17101
+
17102
+ /**
17103
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
17104
+ * for backward compatibility until we remove the oauth field
17105
+ */
17106
+ access_token?: string;
17107
+ }
17108
+
17109
+ export namespace Settings {
17110
+ export interface OAuth {
17111
+ created_at?: string;
17112
+
17113
+ /**
17114
+ * Output of the postConnect hook for oauth2 connectors
17115
+ */
17116
+ credentials?: OAuth.Credentials;
17117
+
17118
+ last_fetched_at?: string;
17119
+
17120
+ metadata?: { [key: string]: unknown } | null;
17121
+
17122
+ updated_at?: string;
17123
+ }
17124
+
17125
+ export namespace OAuth {
17126
+ /**
17127
+ * Output of the postConnect hook for oauth2 connectors
17128
+ */
17129
+ export interface Credentials {
17130
+ access_token: string;
17131
+
17132
+ /**
17133
+ * Client ID used for the connection
17134
+ */
17135
+ client_id?: string;
17136
+
17137
+ expires_at?: string;
17138
+
17139
+ expires_in?: number;
17140
+
17141
+ raw?: { [key: string]: unknown };
17142
+
17143
+ refresh_token?: string;
17144
+
17145
+ scope?: string;
17146
+
17147
+ token_type?: string;
17148
+ }
17149
+ }
17150
+ }
17151
+ }
17152
+
17153
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
17154
+ connector_name: 'google-drive';
15991
17155
 
15992
17156
  id?: string;
15993
17157
 
@@ -16023,6 +17187,12 @@ export namespace ListConnectionsResponse {
16023
17187
  status_message?: string | null;
16024
17188
 
16025
17189
  updated_at?: string;
17190
+
17191
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17192
+
17193
+ webhook_configured_at?: string | null;
17194
+
17195
+ webhook_identifier?: string | null;
16026
17196
  }
16027
17197
 
16028
17198
  export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
@@ -16117,6 +17287,12 @@ export namespace ListConnectionsResponse {
16117
17287
  status_message?: string | null;
16118
17288
 
16119
17289
  updated_at?: string;
17290
+
17291
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17292
+
17293
+ webhook_configured_at?: string | null;
17294
+
17295
+ webhook_identifier?: string | null;
16120
17296
  }
16121
17297
 
16122
17298
  export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
@@ -16211,6 +17387,12 @@ export namespace ListConnectionsResponse {
16211
17387
  status_message?: string | null;
16212
17388
 
16213
17389
  updated_at?: string;
17390
+
17391
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17392
+
17393
+ webhook_configured_at?: string | null;
17394
+
17395
+ webhook_identifier?: string | null;
16214
17396
  }
16215
17397
 
16216
17398
  export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
@@ -16305,6 +17487,12 @@ export namespace ListConnectionsResponse {
16305
17487
  status_message?: string | null;
16306
17488
 
16307
17489
  updated_at?: string;
17490
+
17491
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17492
+
17493
+ webhook_configured_at?: string | null;
17494
+
17495
+ webhook_identifier?: string | null;
16308
17496
  }
16309
17497
 
16310
17498
  export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
@@ -16399,6 +17587,12 @@ export namespace ListConnectionsResponse {
16399
17587
  status_message?: string | null;
16400
17588
 
16401
17589
  updated_at?: string;
17590
+
17591
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17592
+
17593
+ webhook_configured_at?: string | null;
17594
+
17595
+ webhook_identifier?: string | null;
16402
17596
  }
16403
17597
 
16404
17598
  export namespace ConnectorHubspotDiscriminatedConnectionSettings {
@@ -16493,6 +17687,12 @@ export namespace ListConnectionsResponse {
16493
17687
  status_message?: string | null;
16494
17688
 
16495
17689
  updated_at?: string;
17690
+
17691
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17692
+
17693
+ webhook_configured_at?: string | null;
17694
+
17695
+ webhook_identifier?: string | null;
16496
17696
  }
16497
17697
 
16498
17698
  export namespace ConnectorInstagramDiscriminatedConnectionSettings {
@@ -16587,6 +17787,12 @@ export namespace ListConnectionsResponse {
16587
17787
  status_message?: string | null;
16588
17788
 
16589
17789
  updated_at?: string;
17790
+
17791
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17792
+
17793
+ webhook_configured_at?: string | null;
17794
+
17795
+ webhook_identifier?: string | null;
16590
17796
  }
16591
17797
 
16592
17798
  export namespace ConnectorJiraDiscriminatedConnectionSettings {
@@ -16686,6 +17892,12 @@ export namespace ListConnectionsResponse {
16686
17892
  status_message?: string | null;
16687
17893
 
16688
17894
  updated_at?: string;
17895
+
17896
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17897
+
17898
+ webhook_configured_at?: string | null;
17899
+
17900
+ webhook_identifier?: string | null;
16689
17901
  }
16690
17902
 
16691
17903
  export namespace ConnectorLinearDiscriminatedConnectionSettings {
@@ -16780,6 +17992,12 @@ export namespace ListConnectionsResponse {
16780
17992
  status_message?: string | null;
16781
17993
 
16782
17994
  updated_at?: string;
17995
+
17996
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17997
+
17998
+ webhook_configured_at?: string | null;
17999
+
18000
+ webhook_identifier?: string | null;
16783
18001
  }
16784
18002
 
16785
18003
  export namespace ConnectorMondayDiscriminatedConnectionSettings {
@@ -16874,6 +18092,12 @@ export namespace ListConnectionsResponse {
16874
18092
  status_message?: string | null;
16875
18093
 
16876
18094
  updated_at?: string;
18095
+
18096
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18097
+
18098
+ webhook_configured_at?: string | null;
18099
+
18100
+ webhook_identifier?: string | null;
16877
18101
  }
16878
18102
 
16879
18103
  export namespace ConnectorNotionDiscriminatedConnectionSettings {
@@ -16968,6 +18192,12 @@ export namespace ListConnectionsResponse {
16968
18192
  status_message?: string | null;
16969
18193
 
16970
18194
  updated_at?: string;
18195
+
18196
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18197
+
18198
+ webhook_configured_at?: string | null;
18199
+
18200
+ webhook_identifier?: string | null;
16971
18201
  }
16972
18202
 
16973
18203
  export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
@@ -17062,6 +18292,12 @@ export namespace ListConnectionsResponse {
17062
18292
  status_message?: string | null;
17063
18293
 
17064
18294
  updated_at?: string;
18295
+
18296
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18297
+
18298
+ webhook_configured_at?: string | null;
18299
+
18300
+ webhook_identifier?: string | null;
17065
18301
  }
17066
18302
 
17067
18303
  export namespace ConnectorOutlookDiscriminatedConnectionSettings {
@@ -17156,6 +18392,12 @@ export namespace ListConnectionsResponse {
17156
18392
  status_message?: string | null;
17157
18393
 
17158
18394
  updated_at?: string;
18395
+
18396
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18397
+
18398
+ webhook_configured_at?: string | null;
18399
+
18400
+ webhook_identifier?: string | null;
17159
18401
  }
17160
18402
 
17161
18403
  export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
@@ -17255,6 +18497,12 @@ export namespace ListConnectionsResponse {
17255
18497
  status_message?: string | null;
17256
18498
 
17257
18499
  updated_at?: string;
18500
+
18501
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18502
+
18503
+ webhook_configured_at?: string | null;
18504
+
18505
+ webhook_identifier?: string | null;
17258
18506
  }
17259
18507
 
17260
18508
  export namespace ConnectorSharepointDiscriminatedConnectionSettings {
@@ -17349,6 +18597,12 @@ export namespace ListConnectionsResponse {
17349
18597
  status_message?: string | null;
17350
18598
 
17351
18599
  updated_at?: string;
18600
+
18601
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18602
+
18603
+ webhook_configured_at?: string | null;
18604
+
18605
+ webhook_identifier?: string | null;
17352
18606
  }
17353
18607
 
17354
18608
  export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
@@ -17443,6 +18697,12 @@ export namespace ListConnectionsResponse {
17443
18697
  status_message?: string | null;
17444
18698
 
17445
18699
  updated_at?: string;
18700
+
18701
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18702
+
18703
+ webhook_configured_at?: string | null;
18704
+
18705
+ webhook_identifier?: string | null;
17446
18706
  }
17447
18707
 
17448
18708
  export namespace ConnectorSlackDiscriminatedConnectionSettings {
@@ -17537,6 +18797,12 @@ export namespace ListConnectionsResponse {
17537
18797
  status_message?: string | null;
17538
18798
 
17539
18799
  updated_at?: string;
18800
+
18801
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18802
+
18803
+ webhook_configured_at?: string | null;
18804
+
18805
+ webhook_identifier?: string | null;
17540
18806
  }
17541
18807
 
17542
18808
  export namespace ConnectorSnowflakeDiscriminatedConnectionSettings {
@@ -17637,6 +18903,12 @@ export namespace ListConnectionsResponse {
17637
18903
  status_message?: string | null;
17638
18904
 
17639
18905
  updated_at?: string;
18906
+
18907
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
18908
+
18909
+ webhook_configured_at?: string | null;
18910
+
18911
+ webhook_identifier?: string | null;
17640
18912
  }
17641
18913
 
17642
18914
  export namespace ConnectorSpotifyDiscriminatedConnectionSettings {
@@ -17731,6 +19003,12 @@ export namespace ListConnectionsResponse {
17731
19003
  status_message?: string | null;
17732
19004
 
17733
19005
  updated_at?: string;
19006
+
19007
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19008
+
19009
+ webhook_configured_at?: string | null;
19010
+
19011
+ webhook_identifier?: string | null;
17734
19012
  }
17735
19013
 
17736
19014
  export namespace ConnectorYoutubeDiscriminatedConnectionSettings {
@@ -17825,6 +19103,12 @@ export namespace ListConnectionsResponse {
17825
19103
  status_message?: string | null;
17826
19104
 
17827
19105
  updated_at?: string;
19106
+
19107
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19108
+
19109
+ webhook_configured_at?: string | null;
19110
+
19111
+ webhook_identifier?: string | null;
17828
19112
  }
17829
19113
 
17830
19114
  export namespace ConnectorZendeskDiscriminatedConnectionSettings {
@@ -17924,6 +19208,12 @@ export namespace ListConnectionsResponse {
17924
19208
  status_message?: string | null;
17925
19209
 
17926
19210
  updated_at?: string;
19211
+
19212
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19213
+
19214
+ webhook_configured_at?: string | null;
19215
+
19216
+ webhook_identifier?: string | null;
17927
19217
  }
17928
19218
 
17929
19219
  export namespace ConnectorZoomDiscriminatedConnectionSettings {
@@ -18018,6 +19308,12 @@ export namespace ListConnectionsResponse {
18018
19308
  status_message?: string | null;
18019
19309
 
18020
19310
  updated_at?: string;
19311
+
19312
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19313
+
19314
+ webhook_configured_at?: string | null;
19315
+
19316
+ webhook_identifier?: string | null;
18021
19317
  }
18022
19318
 
18023
19319
  export namespace ConnectorApolloDiscriminatedConnectionSettings {
@@ -18063,6 +19359,12 @@ export namespace ListConnectionsResponse {
18063
19359
  status_message?: string | null;
18064
19360
 
18065
19361
  updated_at?: string;
19362
+
19363
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19364
+
19365
+ webhook_configured_at?: string | null;
19366
+
19367
+ webhook_identifier?: string | null;
18066
19368
  }
18067
19369
 
18068
19370
  export namespace ConnectorPlaidDiscriminatedConnectionSettings {
@@ -18118,6 +19420,12 @@ export namespace ListConnectionsResponse {
18118
19420
  status_message?: string | null;
18119
19421
 
18120
19422
  updated_at?: string;
19423
+
19424
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19425
+
19426
+ webhook_configured_at?: string | null;
19427
+
19428
+ webhook_identifier?: string | null;
18121
19429
  }
18122
19430
 
18123
19431
  export namespace ConnectorPostgresDiscriminatedConnectionSettings {
@@ -18163,6 +19471,12 @@ export namespace ListConnectionsResponse {
18163
19471
  status_message?: string | null;
18164
19472
 
18165
19473
  updated_at?: string;
19474
+
19475
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19476
+
19477
+ webhook_configured_at?: string | null;
19478
+
19479
+ webhook_identifier?: string | null;
18166
19480
  }
18167
19481
 
18168
19482
  export namespace ConnectorResendDiscriminatedConnectionSettings {
@@ -18213,6 +19527,12 @@ export namespace ListConnectionsResponse {
18213
19527
  status_message?: string | null;
18214
19528
 
18215
19529
  updated_at?: string;
19530
+
19531
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19532
+
19533
+ webhook_configured_at?: string | null;
19534
+
19535
+ webhook_identifier?: string | null;
18216
19536
  }
18217
19537
 
18218
19538
  export namespace ConnectorSendgridDiscriminatedConnectionSettings {
@@ -18263,6 +19583,12 @@ export namespace ListConnectionsResponse {
18263
19583
  status_message?: string | null;
18264
19584
 
18265
19585
  updated_at?: string;
19586
+
19587
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19588
+
19589
+ webhook_configured_at?: string | null;
19590
+
19591
+ webhook_identifier?: string | null;
18266
19592
  }
18267
19593
 
18268
19594
  export namespace ConnectorSlackAgentDiscriminatedConnectionSettings {
@@ -18311,6 +19637,12 @@ export namespace ListConnectionsResponse {
18311
19637
  status_message?: string | null;
18312
19638
 
18313
19639
  updated_at?: string;
19640
+
19641
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19642
+
19643
+ webhook_configured_at?: string | null;
19644
+
19645
+ webhook_identifier?: string | null;
18314
19646
  }
18315
19647
 
18316
19648
  export namespace ConnectorSlackAgentBuilderDiscriminatedConnectionSettings {
@@ -18499,6 +19831,12 @@ export namespace ListConnectionsResponse {
18499
19831
  status_message?: string | null;
18500
19832
 
18501
19833
  updated_at?: string;
19834
+
19835
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19836
+
19837
+ webhook_configured_at?: string | null;
19838
+
19839
+ webhook_identifier?: string | null;
18502
19840
  }
18503
19841
 
18504
19842
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
@@ -18592,6 +19930,12 @@ export namespace ListConnectionsResponse {
18592
19930
  status_message?: string | null;
18593
19931
 
18594
19932
  updated_at?: string;
19933
+
19934
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
19935
+
19936
+ webhook_configured_at?: string | null;
19937
+
19938
+ webhook_identifier?: string | null;
18595
19939
  }
18596
19940
 
18597
19941
  export namespace ConnectorStripeAgentSandboxDiscriminatedConnectionSettings {
@@ -18685,6 +20029,12 @@ export namespace ListConnectionsResponse {
18685
20029
  status_message?: string | null;
18686
20030
 
18687
20031
  updated_at?: string;
20032
+
20033
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
20034
+
20035
+ webhook_configured_at?: string | null;
20036
+
20037
+ webhook_identifier?: string | null;
18688
20038
  }
18689
20039
 
18690
20040
  export namespace ConnectorTwilioDiscriminatedConnectionSettings {
@@ -18739,6 +20089,12 @@ export namespace ListConnectionsResponse {
18739
20089
  status_message?: string | null;
18740
20090
 
18741
20091
  updated_at?: string;
20092
+
20093
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
20094
+
20095
+ webhook_configured_at?: string | null;
20096
+
20097
+ webhook_identifier?: string | null;
18742
20098
  }
18743
20099
 
18744
20100
  export namespace ConnectorWorkatoDiscriminatedConnectionSettings {
@@ -18768,6 +20124,7 @@ export type ListConnectorConfigsResponse =
18768
20124
  | ListConnectorConfigsResponse.ConnectorDiscordDiscriminatedConnectorConfig
18769
20125
  | ListConnectorConfigsResponse.ConnectorDropboxDiscriminatedConnectorConfig
18770
20126
  | ListConnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
20127
+ | ListConnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
18771
20128
  | ListConnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
18772
20129
  | ListConnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
18773
20130
  | ListConnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -19627,6 +20984,64 @@ export namespace ListConnectorConfigsResponse {
19627
20984
  }
19628
20985
  }
19629
20986
 
20987
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
20988
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
20989
+
20990
+ connector_name: 'github-source-control';
20991
+
20992
+ id?: string;
20993
+
20994
+ connection_count?: number;
20995
+
20996
+ connector?: TopLevelAPI.Connector;
20997
+
20998
+ created_at?: string;
20999
+
21000
+ disabled?: boolean | null;
21001
+
21002
+ display_name?: string | null;
21003
+
21004
+ integrations?: { [key: string]: TopLevelAPI.Integration };
21005
+
21006
+ /**
21007
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
21008
+ * separate 1-1 table just for simple key values in your application. During
21009
+ * updates this object will be shallowly merged
21010
+ */
21011
+ metadata?: { [key: string]: unknown } | null;
21012
+
21013
+ org_id?: string;
21014
+
21015
+ updated_at?: string;
21016
+ }
21017
+
21018
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
21019
+ export interface Config {
21020
+ /**
21021
+ * Base oauth configuration for the connector
21022
+ */
21023
+ oauth?: Config.OAuth | null;
21024
+ }
21025
+
21026
+ export namespace Config {
21027
+ /**
21028
+ * Base oauth configuration for the connector
21029
+ */
21030
+ export interface OAuth {
21031
+ client_id?: string | null;
21032
+
21033
+ client_secret?: string | null;
21034
+
21035
+ /**
21036
+ * Custom redirect URI
21037
+ */
21038
+ redirect_uri?: string | null;
21039
+
21040
+ scopes?: Array<string> | null;
21041
+ }
21042
+ }
21043
+ }
21044
+
19630
21045
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
19631
21046
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
19632
21047
 
@@ -21536,6 +22951,7 @@ export type ListConnnectorConfigsResponse =
21536
22951
  | ListConnnectorConfigsResponse.ConnectorDiscordDiscriminatedConnectorConfig
21537
22952
  | ListConnnectorConfigsResponse.ConnectorDropboxDiscriminatedConnectorConfig
21538
22953
  | ListConnnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
22954
+ | ListConnnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
21539
22955
  | ListConnnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
21540
22956
  | ListConnnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
21541
22957
  | ListConnnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -22395,6 +23811,64 @@ export namespace ListConnnectorConfigsResponse {
22395
23811
  }
22396
23812
  }
22397
23813
 
23814
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
23815
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
23816
+
23817
+ connector_name: 'github-source-control';
23818
+
23819
+ id?: string;
23820
+
23821
+ connection_count?: number;
23822
+
23823
+ connector?: TopLevelAPI.Connector;
23824
+
23825
+ created_at?: string;
23826
+
23827
+ disabled?: boolean | null;
23828
+
23829
+ display_name?: string | null;
23830
+
23831
+ integrations?: { [key: string]: TopLevelAPI.Integration };
23832
+
23833
+ /**
23834
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
23835
+ * separate 1-1 table just for simple key values in your application. During
23836
+ * updates this object will be shallowly merged
23837
+ */
23838
+ metadata?: { [key: string]: unknown } | null;
23839
+
23840
+ org_id?: string;
23841
+
23842
+ updated_at?: string;
23843
+ }
23844
+
23845
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
23846
+ export interface Config {
23847
+ /**
23848
+ * Base oauth configuration for the connector
23849
+ */
23850
+ oauth?: Config.OAuth | null;
23851
+ }
23852
+
23853
+ export namespace Config {
23854
+ /**
23855
+ * Base oauth configuration for the connector
23856
+ */
23857
+ export interface OAuth {
23858
+ client_id?: string | null;
23859
+
23860
+ client_secret?: string | null;
23861
+
23862
+ /**
23863
+ * Custom redirect URI
23864
+ */
23865
+ redirect_uri?: string | null;
23866
+
23867
+ scopes?: Array<string> | null;
23868
+ }
23869
+ }
23870
+ }
23871
+
22398
23872
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
22399
23873
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
22400
23874
 
@@ -24375,15 +25849,9 @@ export namespace ListEventsResponse {
24375
25849
  export interface Data {
24376
25850
  headers: { [key: string]: unknown };
24377
25851
 
24378
- method: string;
24379
-
24380
- path: string;
24381
-
24382
- query: { [key: string]: unknown };
25852
+ payload: { [key: string]: unknown };
24383
25853
 
24384
- traceId: string;
24385
-
24386
- body?: unknown;
25854
+ webhook_url: string;
24387
25855
  }
24388
25856
  }
24389
25857
 
@@ -24925,6 +26393,7 @@ export type PostConnectResponse =
24925
26393
  | PostConnectResponse.ConnectorDiscordDiscriminatedConnectionSettings
24926
26394
  | PostConnectResponse.ConnectorDropboxDiscriminatedConnectionSettings
24927
26395
  | PostConnectResponse.ConnectorFigmaDiscriminatedConnectionSettings
26396
+ | PostConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
24928
26397
  | PostConnectResponse.ConnectorGitHubDiscriminatedConnectionSettings
24929
26398
  | PostConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
24930
26399
  | PostConnectResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -24995,6 +26464,12 @@ export namespace PostConnectResponse {
24995
26464
  status_message?: string | null;
24996
26465
 
24997
26466
  updated_at?: string;
26467
+
26468
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26469
+
26470
+ webhook_configured_at?: string | null;
26471
+
26472
+ webhook_identifier?: string | null;
24998
26473
  }
24999
26474
 
25000
26475
  export namespace ConnectorAcmeApikeyDiscriminatedConnectionSettings {
@@ -25036,6 +26511,12 @@ export namespace PostConnectResponse {
25036
26511
  status_message?: string | null;
25037
26512
 
25038
26513
  updated_at?: string;
26514
+
26515
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26516
+
26517
+ webhook_configured_at?: string | null;
26518
+
26519
+ webhook_identifier?: string | null;
25039
26520
  }
25040
26521
 
25041
26522
  export namespace ConnectorAcmeOauth2DiscriminatedConnectionSettings {
@@ -25126,6 +26607,12 @@ export namespace PostConnectResponse {
25126
26607
  status_message?: string | null;
25127
26608
 
25128
26609
  updated_at?: string;
26610
+
26611
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26612
+
26613
+ webhook_configured_at?: string | null;
26614
+
26615
+ webhook_identifier?: string | null;
25129
26616
  }
25130
26617
 
25131
26618
  export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
@@ -25167,6 +26654,12 @@ export namespace PostConnectResponse {
25167
26654
  status_message?: string | null;
25168
26655
 
25169
26656
  updated_at?: string;
26657
+
26658
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26659
+
26660
+ webhook_configured_at?: string | null;
26661
+
26662
+ webhook_identifier?: string | null;
25170
26663
  }
25171
26664
 
25172
26665
  export namespace ConnectorAsanaDiscriminatedConnectionSettings {
@@ -25257,12 +26750,24 @@ export namespace PostConnectResponse {
25257
26750
  status_message?: string | null;
25258
26751
 
25259
26752
  updated_at?: string;
26753
+
26754
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26755
+
26756
+ webhook_configured_at?: string | null;
26757
+
26758
+ webhook_identifier?: string | null;
25260
26759
  }
25261
26760
 
25262
26761
  export namespace ConnectorBigqueryDiscriminatedConnectionSettings {
25263
26762
  export interface Settings {
25264
26763
  oauth: Settings.OAuth;
25265
26764
 
26765
+ /**
26766
+ * Your Google Cloud Project ID (e.g., my-project-123). This is required to make
26767
+ * API calls to BigQuery.
26768
+ */
26769
+ project_id: string;
26770
+
25266
26771
  /**
25267
26772
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
25268
26773
  * for backward compatibility until we remove the oauth field
@@ -25347,6 +26852,12 @@ export namespace PostConnectResponse {
25347
26852
  status_message?: string | null;
25348
26853
 
25349
26854
  updated_at?: string;
26855
+
26856
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26857
+
26858
+ webhook_configured_at?: string | null;
26859
+
26860
+ webhook_identifier?: string | null;
25350
26861
  }
25351
26862
 
25352
26863
  export namespace ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
@@ -25437,6 +26948,12 @@ export namespace PostConnectResponse {
25437
26948
  status_message?: string | null;
25438
26949
 
25439
26950
  updated_at?: string;
26951
+
26952
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
26953
+
26954
+ webhook_configured_at?: string | null;
26955
+
26956
+ webhook_identifier?: string | null;
25440
26957
  }
25441
26958
 
25442
26959
  export namespace ConnectorBitbucketDiscriminatedConnectionSettings {
@@ -25527,6 +27044,12 @@ export namespace PostConnectResponse {
25527
27044
  status_message?: string | null;
25528
27045
 
25529
27046
  updated_at?: string;
27047
+
27048
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27049
+
27050
+ webhook_configured_at?: string | null;
27051
+
27052
+ webhook_identifier?: string | null;
25530
27053
  }
25531
27054
 
25532
27055
  export namespace ConnectorBoxDiscriminatedConnectionSettings {
@@ -25617,6 +27140,12 @@ export namespace PostConnectResponse {
25617
27140
  status_message?: string | null;
25618
27141
 
25619
27142
  updated_at?: string;
27143
+
27144
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27145
+
27146
+ webhook_configured_at?: string | null;
27147
+
27148
+ webhook_identifier?: string | null;
25620
27149
  }
25621
27150
 
25622
27151
  export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
@@ -25707,6 +27236,12 @@ export namespace PostConnectResponse {
25707
27236
  status_message?: string | null;
25708
27237
 
25709
27238
  updated_at?: string;
27239
+
27240
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27241
+
27242
+ webhook_configured_at?: string | null;
27243
+
27244
+ webhook_identifier?: string | null;
25710
27245
  }
25711
27246
 
25712
27247
  export namespace ConnectorClickupDiscriminatedConnectionSettings {
@@ -25797,6 +27332,12 @@ export namespace PostConnectResponse {
25797
27332
  status_message?: string | null;
25798
27333
 
25799
27334
  updated_at?: string;
27335
+
27336
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27337
+
27338
+ webhook_configured_at?: string | null;
27339
+
27340
+ webhook_identifier?: string | null;
25800
27341
  }
25801
27342
 
25802
27343
  export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
@@ -25892,19 +27433,31 @@ export namespace PostConnectResponse {
25892
27433
  status_message?: string | null;
25893
27434
 
25894
27435
  updated_at?: string;
27436
+
27437
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27438
+
27439
+ webhook_configured_at?: string | null;
27440
+
27441
+ webhook_identifier?: string | null;
25895
27442
  }
25896
27443
 
25897
27444
  export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
25898
27445
  export interface Settings {
25899
27446
  /**
25900
- * Your Databricks workspace instance name (e.g., "your-workspace" for
25901
- * your-workspace.cloud.databricks.com). Do not include https:// or
25902
- * .cloud.databricks.com
27447
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
27448
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
25903
27449
  */
25904
- databricks_instance: string;
27450
+ http_path: string;
25905
27451
 
25906
27452
  oauth: Settings.OAuth;
25907
27453
 
27454
+ /**
27455
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
27456
+ * warehouse in Databricks and click the "Connection details" button. Copy the
27457
+ * Server hostname value.
27458
+ */
27459
+ server_hostname: string;
27460
+
25908
27461
  /**
25909
27462
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
25910
27463
  * for backward compatibility until we remove the oauth field
@@ -25989,6 +27542,12 @@ export namespace PostConnectResponse {
25989
27542
  status_message?: string | null;
25990
27543
 
25991
27544
  updated_at?: string;
27545
+
27546
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27547
+
27548
+ webhook_configured_at?: string | null;
27549
+
27550
+ webhook_identifier?: string | null;
25992
27551
  }
25993
27552
 
25994
27553
  export namespace ConnectorDiscordDiscriminatedConnectionSettings {
@@ -26079,6 +27638,12 @@ export namespace PostConnectResponse {
26079
27638
  status_message?: string | null;
26080
27639
 
26081
27640
  updated_at?: string;
27641
+
27642
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27643
+
27644
+ webhook_configured_at?: string | null;
27645
+
27646
+ webhook_identifier?: string | null;
26082
27647
  }
26083
27648
 
26084
27649
  export namespace ConnectorDropboxDiscriminatedConnectionSettings {
@@ -26169,6 +27734,12 @@ export namespace PostConnectResponse {
26169
27734
  status_message?: string | null;
26170
27735
 
26171
27736
  updated_at?: string;
27737
+
27738
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27739
+
27740
+ webhook_configured_at?: string | null;
27741
+
27742
+ webhook_identifier?: string | null;
26172
27743
  }
26173
27744
 
26174
27745
  export namespace ConnectorFigmaDiscriminatedConnectionSettings {
@@ -26226,8 +27797,8 @@ export namespace PostConnectResponse {
26226
27797
  }
26227
27798
  }
26228
27799
 
26229
- export interface ConnectorGitHubDiscriminatedConnectionSettings {
26230
- connector_name: 'github';
27800
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
27801
+ connector_name: 'github-source-control';
26231
27802
 
26232
27803
  id?: string;
26233
27804
 
@@ -26252,16 +27823,22 @@ export namespace PostConnectResponse {
26252
27823
  */
26253
27824
  metadata?: { [key: string]: unknown } | null;
26254
27825
 
26255
- settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
27826
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
26256
27827
 
26257
27828
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26258
27829
 
26259
27830
  status_message?: string | null;
26260
27831
 
26261
27832
  updated_at?: string;
27833
+
27834
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27835
+
27836
+ webhook_configured_at?: string | null;
27837
+
27838
+ webhook_identifier?: string | null;
26262
27839
  }
26263
27840
 
26264
- export namespace ConnectorGitHubDiscriminatedConnectionSettings {
27841
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
26265
27842
  export interface Settings {
26266
27843
  oauth: Settings.OAuth;
26267
27844
 
@@ -26316,8 +27893,8 @@ export namespace PostConnectResponse {
26316
27893
  }
26317
27894
  }
26318
27895
 
26319
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
26320
- connector_name: 'google-calendar';
27896
+ export interface ConnectorGitHubDiscriminatedConnectionSettings {
27897
+ connector_name: 'github';
26321
27898
 
26322
27899
  id?: string;
26323
27900
 
@@ -26342,16 +27919,22 @@ export namespace PostConnectResponse {
26342
27919
  */
26343
27920
  metadata?: { [key: string]: unknown } | null;
26344
27921
 
26345
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
27922
+ settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
26346
27923
 
26347
27924
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26348
27925
 
26349
27926
  status_message?: string | null;
26350
27927
 
26351
27928
  updated_at?: string;
27929
+
27930
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
27931
+
27932
+ webhook_configured_at?: string | null;
27933
+
27934
+ webhook_identifier?: string | null;
26352
27935
  }
26353
27936
 
26354
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
27937
+ export namespace ConnectorGitHubDiscriminatedConnectionSettings {
26355
27938
  export interface Settings {
26356
27939
  oauth: Settings.OAuth;
26357
27940
 
@@ -26406,8 +27989,8 @@ export namespace PostConnectResponse {
26406
27989
  }
26407
27990
  }
26408
27991
 
26409
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
26410
- connector_name: 'google-docs';
27992
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
27993
+ connector_name: 'google-calendar';
26411
27994
 
26412
27995
  id?: string;
26413
27996
 
@@ -26432,16 +28015,22 @@ export namespace PostConnectResponse {
26432
28015
  */
26433
28016
  metadata?: { [key: string]: unknown } | null;
26434
28017
 
26435
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
28018
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
26436
28019
 
26437
28020
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26438
28021
 
26439
28022
  status_message?: string | null;
26440
28023
 
26441
28024
  updated_at?: string;
28025
+
28026
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28027
+
28028
+ webhook_configured_at?: string | null;
28029
+
28030
+ webhook_identifier?: string | null;
26442
28031
  }
26443
28032
 
26444
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
28033
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
26445
28034
  export interface Settings {
26446
28035
  oauth: Settings.OAuth;
26447
28036
 
@@ -26496,8 +28085,8 @@ export namespace PostConnectResponse {
26496
28085
  }
26497
28086
  }
26498
28087
 
26499
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
26500
- connector_name: 'google-drive';
28088
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
28089
+ connector_name: 'google-docs';
26501
28090
 
26502
28091
  id?: string;
26503
28092
 
@@ -26522,16 +28111,22 @@ export namespace PostConnectResponse {
26522
28111
  */
26523
28112
  metadata?: { [key: string]: unknown } | null;
26524
28113
 
26525
- settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
28114
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
26526
28115
 
26527
28116
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26528
28117
 
26529
28118
  status_message?: string | null;
26530
28119
 
26531
28120
  updated_at?: string;
28121
+
28122
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28123
+
28124
+ webhook_configured_at?: string | null;
28125
+
28126
+ webhook_identifier?: string | null;
26532
28127
  }
26533
28128
 
26534
- export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
28129
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
26535
28130
  export interface Settings {
26536
28131
  oauth: Settings.OAuth;
26537
28132
 
@@ -26586,8 +28181,8 @@ export namespace PostConnectResponse {
26586
28181
  }
26587
28182
  }
26588
28183
 
26589
- export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
26590
- connector_name: 'google-mail';
28184
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
28185
+ connector_name: 'google-drive';
26591
28186
 
26592
28187
  id?: string;
26593
28188
 
@@ -26612,16 +28207,22 @@ export namespace PostConnectResponse {
26612
28207
  */
26613
28208
  metadata?: { [key: string]: unknown } | null;
26614
28209
 
26615
- settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
28210
+ settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
26616
28211
 
26617
28212
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26618
28213
 
26619
28214
  status_message?: string | null;
26620
28215
 
26621
28216
  updated_at?: string;
28217
+
28218
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28219
+
28220
+ webhook_configured_at?: string | null;
28221
+
28222
+ webhook_identifier?: string | null;
26622
28223
  }
26623
28224
 
26624
- export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
28225
+ export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
26625
28226
  export interface Settings {
26626
28227
  oauth: Settings.OAuth;
26627
28228
 
@@ -26676,8 +28277,8 @@ export namespace PostConnectResponse {
26676
28277
  }
26677
28278
  }
26678
28279
 
26679
- export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
26680
- connector_name: 'google-sheet';
28280
+ export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
28281
+ connector_name: 'google-mail';
26681
28282
 
26682
28283
  id?: string;
26683
28284
 
@@ -26702,16 +28303,118 @@ export namespace PostConnectResponse {
26702
28303
  */
26703
28304
  metadata?: { [key: string]: unknown } | null;
26704
28305
 
26705
- settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
28306
+ settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
26706
28307
 
26707
28308
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26708
28309
 
26709
28310
  status_message?: string | null;
26710
28311
 
26711
28312
  updated_at?: string;
28313
+
28314
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28315
+
28316
+ webhook_configured_at?: string | null;
28317
+
28318
+ webhook_identifier?: string | null;
26712
28319
  }
26713
28320
 
26714
- export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
28321
+ export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
28322
+ export interface Settings {
28323
+ oauth: Settings.OAuth;
28324
+
28325
+ /**
28326
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
28327
+ * for backward compatibility until we remove the oauth field
28328
+ */
28329
+ access_token?: string;
28330
+ }
28331
+
28332
+ export namespace Settings {
28333
+ export interface OAuth {
28334
+ created_at?: string;
28335
+
28336
+ /**
28337
+ * Output of the postConnect hook for oauth2 connectors
28338
+ */
28339
+ credentials?: OAuth.Credentials;
28340
+
28341
+ last_fetched_at?: string;
28342
+
28343
+ metadata?: { [key: string]: unknown } | null;
28344
+
28345
+ updated_at?: string;
28346
+ }
28347
+
28348
+ export namespace OAuth {
28349
+ /**
28350
+ * Output of the postConnect hook for oauth2 connectors
28351
+ */
28352
+ export interface Credentials {
28353
+ access_token: string;
28354
+
28355
+ /**
28356
+ * Client ID used for the connection
28357
+ */
28358
+ client_id?: string;
28359
+
28360
+ expires_at?: string;
28361
+
28362
+ expires_in?: number;
28363
+
28364
+ raw?: { [key: string]: unknown };
28365
+
28366
+ refresh_token?: string;
28367
+
28368
+ scope?: string;
28369
+
28370
+ token_type?: string;
28371
+ }
28372
+ }
28373
+ }
28374
+ }
28375
+
28376
+ export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
28377
+ connector_name: 'google-sheet';
28378
+
28379
+ id?: string;
28380
+
28381
+ connector_config_id?: string | null;
28382
+
28383
+ created_at?: string;
28384
+
28385
+ customer_id?: string | null;
28386
+
28387
+ disabled?: boolean | null;
28388
+
28389
+ display_name?: string | null;
28390
+
28391
+ environment?: 'production' | 'development';
28392
+
28393
+ integration_id?: string | null;
28394
+
28395
+ /**
28396
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
28397
+ * separate 1-1 table just for simple key values in your application. During
28398
+ * updates this object will be shallowly merged
28399
+ */
28400
+ metadata?: { [key: string]: unknown } | null;
28401
+
28402
+ settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
28403
+
28404
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
28405
+
28406
+ status_message?: string | null;
28407
+
28408
+ updated_at?: string;
28409
+
28410
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28411
+
28412
+ webhook_configured_at?: string | null;
28413
+
28414
+ webhook_identifier?: string | null;
28415
+ }
28416
+
28417
+ export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
26715
28418
  export interface Settings {
26716
28419
  oauth: Settings.OAuth;
26717
28420
 
@@ -26799,6 +28502,12 @@ export namespace PostConnectResponse {
26799
28502
  status_message?: string | null;
26800
28503
 
26801
28504
  updated_at?: string;
28505
+
28506
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28507
+
28508
+ webhook_configured_at?: string | null;
28509
+
28510
+ webhook_identifier?: string | null;
26802
28511
  }
26803
28512
 
26804
28513
  export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
@@ -26889,6 +28598,12 @@ export namespace PostConnectResponse {
26889
28598
  status_message?: string | null;
26890
28599
 
26891
28600
  updated_at?: string;
28601
+
28602
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28603
+
28604
+ webhook_configured_at?: string | null;
28605
+
28606
+ webhook_identifier?: string | null;
26892
28607
  }
26893
28608
 
26894
28609
  export namespace ConnectorHubspotDiscriminatedConnectionSettings {
@@ -26979,6 +28694,12 @@ export namespace PostConnectResponse {
26979
28694
  status_message?: string | null;
26980
28695
 
26981
28696
  updated_at?: string;
28697
+
28698
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28699
+
28700
+ webhook_configured_at?: string | null;
28701
+
28702
+ webhook_identifier?: string | null;
26982
28703
  }
26983
28704
 
26984
28705
  export namespace ConnectorInstagramDiscriminatedConnectionSettings {
@@ -27069,6 +28790,12 @@ export namespace PostConnectResponse {
27069
28790
  status_message?: string | null;
27070
28791
 
27071
28792
  updated_at?: string;
28793
+
28794
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28795
+
28796
+ webhook_configured_at?: string | null;
28797
+
28798
+ webhook_identifier?: string | null;
27072
28799
  }
27073
28800
 
27074
28801
  export namespace ConnectorJiraDiscriminatedConnectionSettings {
@@ -27164,6 +28891,12 @@ export namespace PostConnectResponse {
27164
28891
  status_message?: string | null;
27165
28892
 
27166
28893
  updated_at?: string;
28894
+
28895
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28896
+
28897
+ webhook_configured_at?: string | null;
28898
+
28899
+ webhook_identifier?: string | null;
27167
28900
  }
27168
28901
 
27169
28902
  export namespace ConnectorLinearDiscriminatedConnectionSettings {
@@ -27254,6 +28987,12 @@ export namespace PostConnectResponse {
27254
28987
  status_message?: string | null;
27255
28988
 
27256
28989
  updated_at?: string;
28990
+
28991
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
28992
+
28993
+ webhook_configured_at?: string | null;
28994
+
28995
+ webhook_identifier?: string | null;
27257
28996
  }
27258
28997
 
27259
28998
  export namespace ConnectorMondayDiscriminatedConnectionSettings {
@@ -27344,6 +29083,12 @@ export namespace PostConnectResponse {
27344
29083
  status_message?: string | null;
27345
29084
 
27346
29085
  updated_at?: string;
29086
+
29087
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29088
+
29089
+ webhook_configured_at?: string | null;
29090
+
29091
+ webhook_identifier?: string | null;
27347
29092
  }
27348
29093
 
27349
29094
  export namespace ConnectorNotionDiscriminatedConnectionSettings {
@@ -27434,6 +29179,12 @@ export namespace PostConnectResponse {
27434
29179
  status_message?: string | null;
27435
29180
 
27436
29181
  updated_at?: string;
29182
+
29183
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29184
+
29185
+ webhook_configured_at?: string | null;
29186
+
29187
+ webhook_identifier?: string | null;
27437
29188
  }
27438
29189
 
27439
29190
  export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
@@ -27524,6 +29275,12 @@ export namespace PostConnectResponse {
27524
29275
  status_message?: string | null;
27525
29276
 
27526
29277
  updated_at?: string;
29278
+
29279
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29280
+
29281
+ webhook_configured_at?: string | null;
29282
+
29283
+ webhook_identifier?: string | null;
27527
29284
  }
27528
29285
 
27529
29286
  export namespace ConnectorOutlookDiscriminatedConnectionSettings {
@@ -27614,6 +29371,12 @@ export namespace PostConnectResponse {
27614
29371
  status_message?: string | null;
27615
29372
 
27616
29373
  updated_at?: string;
29374
+
29375
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29376
+
29377
+ webhook_configured_at?: string | null;
29378
+
29379
+ webhook_identifier?: string | null;
27617
29380
  }
27618
29381
 
27619
29382
  export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
@@ -27709,6 +29472,12 @@ export namespace PostConnectResponse {
27709
29472
  status_message?: string | null;
27710
29473
 
27711
29474
  updated_at?: string;
29475
+
29476
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29477
+
29478
+ webhook_configured_at?: string | null;
29479
+
29480
+ webhook_identifier?: string | null;
27712
29481
  }
27713
29482
 
27714
29483
  export namespace ConnectorSharepointDiscriminatedConnectionSettings {
@@ -27799,6 +29568,12 @@ export namespace PostConnectResponse {
27799
29568
  status_message?: string | null;
27800
29569
 
27801
29570
  updated_at?: string;
29571
+
29572
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29573
+
29574
+ webhook_configured_at?: string | null;
29575
+
29576
+ webhook_identifier?: string | null;
27802
29577
  }
27803
29578
 
27804
29579
  export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
@@ -27889,6 +29664,12 @@ export namespace PostConnectResponse {
27889
29664
  status_message?: string | null;
27890
29665
 
27891
29666
  updated_at?: string;
29667
+
29668
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29669
+
29670
+ webhook_configured_at?: string | null;
29671
+
29672
+ webhook_identifier?: string | null;
27892
29673
  }
27893
29674
 
27894
29675
  export namespace ConnectorSlackDiscriminatedConnectionSettings {
@@ -27979,6 +29760,12 @@ export namespace PostConnectResponse {
27979
29760
  status_message?: string | null;
27980
29761
 
27981
29762
  updated_at?: string;
29763
+
29764
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29765
+
29766
+ webhook_configured_at?: string | null;
29767
+
29768
+ webhook_identifier?: string | null;
27982
29769
  }
27983
29770
 
27984
29771
  export namespace ConnectorSnowflakeDiscriminatedConnectionSettings {
@@ -28075,6 +29862,12 @@ export namespace PostConnectResponse {
28075
29862
  status_message?: string | null;
28076
29863
 
28077
29864
  updated_at?: string;
29865
+
29866
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29867
+
29868
+ webhook_configured_at?: string | null;
29869
+
29870
+ webhook_identifier?: string | null;
28078
29871
  }
28079
29872
 
28080
29873
  export namespace ConnectorSpotifyDiscriminatedConnectionSettings {
@@ -28165,6 +29958,12 @@ export namespace PostConnectResponse {
28165
29958
  status_message?: string | null;
28166
29959
 
28167
29960
  updated_at?: string;
29961
+
29962
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29963
+
29964
+ webhook_configured_at?: string | null;
29965
+
29966
+ webhook_identifier?: string | null;
28168
29967
  }
28169
29968
 
28170
29969
  export namespace ConnectorYoutubeDiscriminatedConnectionSettings {
@@ -28255,6 +30054,12 @@ export namespace PostConnectResponse {
28255
30054
  status_message?: string | null;
28256
30055
 
28257
30056
  updated_at?: string;
30057
+
30058
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30059
+
30060
+ webhook_configured_at?: string | null;
30061
+
30062
+ webhook_identifier?: string | null;
28258
30063
  }
28259
30064
 
28260
30065
  export namespace ConnectorZendeskDiscriminatedConnectionSettings {
@@ -28350,6 +30155,12 @@ export namespace PostConnectResponse {
28350
30155
  status_message?: string | null;
28351
30156
 
28352
30157
  updated_at?: string;
30158
+
30159
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30160
+
30161
+ webhook_configured_at?: string | null;
30162
+
30163
+ webhook_identifier?: string | null;
28353
30164
  }
28354
30165
 
28355
30166
  export namespace ConnectorZoomDiscriminatedConnectionSettings {
@@ -28440,6 +30251,12 @@ export namespace PostConnectResponse {
28440
30251
  status_message?: string | null;
28441
30252
 
28442
30253
  updated_at?: string;
30254
+
30255
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30256
+
30257
+ webhook_configured_at?: string | null;
30258
+
30259
+ webhook_identifier?: string | null;
28443
30260
  }
28444
30261
 
28445
30262
  export namespace ConnectorApolloDiscriminatedConnectionSettings {
@@ -28481,6 +30298,12 @@ export namespace PostConnectResponse {
28481
30298
  status_message?: string | null;
28482
30299
 
28483
30300
  updated_at?: string;
30301
+
30302
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30303
+
30304
+ webhook_configured_at?: string | null;
30305
+
30306
+ webhook_identifier?: string | null;
28484
30307
  }
28485
30308
 
28486
30309
  export namespace ConnectorPlaidDiscriminatedConnectionSettings {
@@ -28532,6 +30355,12 @@ export namespace PostConnectResponse {
28532
30355
  status_message?: string | null;
28533
30356
 
28534
30357
  updated_at?: string;
30358
+
30359
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30360
+
30361
+ webhook_configured_at?: string | null;
30362
+
30363
+ webhook_identifier?: string | null;
28535
30364
  }
28536
30365
 
28537
30366
  export namespace ConnectorPostgresDiscriminatedConnectionSettings {
@@ -28573,6 +30402,12 @@ export namespace PostConnectResponse {
28573
30402
  status_message?: string | null;
28574
30403
 
28575
30404
  updated_at?: string;
30405
+
30406
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30407
+
30408
+ webhook_configured_at?: string | null;
30409
+
30410
+ webhook_identifier?: string | null;
28576
30411
  }
28577
30412
 
28578
30413
  export namespace ConnectorResendDiscriminatedConnectionSettings {
@@ -28619,6 +30454,12 @@ export namespace PostConnectResponse {
28619
30454
  status_message?: string | null;
28620
30455
 
28621
30456
  updated_at?: string;
30457
+
30458
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30459
+
30460
+ webhook_configured_at?: string | null;
30461
+
30462
+ webhook_identifier?: string | null;
28622
30463
  }
28623
30464
 
28624
30465
  export namespace ConnectorSendgridDiscriminatedConnectionSettings {
@@ -28665,6 +30506,12 @@ export namespace PostConnectResponse {
28665
30506
  status_message?: string | null;
28666
30507
 
28667
30508
  updated_at?: string;
30509
+
30510
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30511
+
30512
+ webhook_configured_at?: string | null;
30513
+
30514
+ webhook_identifier?: string | null;
28668
30515
  }
28669
30516
 
28670
30517
  export namespace ConnectorSlackAgentDiscriminatedConnectionSettings {
@@ -28709,6 +30556,12 @@ export namespace PostConnectResponse {
28709
30556
  status_message?: string | null;
28710
30557
 
28711
30558
  updated_at?: string;
30559
+
30560
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30561
+
30562
+ webhook_configured_at?: string | null;
30563
+
30564
+ webhook_identifier?: string | null;
28712
30565
  }
28713
30566
 
28714
30567
  export namespace ConnectorSlackAgentBuilderDiscriminatedConnectionSettings {
@@ -28893,6 +30746,12 @@ export namespace PostConnectResponse {
28893
30746
  status_message?: string | null;
28894
30747
 
28895
30748
  updated_at?: string;
30749
+
30750
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30751
+
30752
+ webhook_configured_at?: string | null;
30753
+
30754
+ webhook_identifier?: string | null;
28896
30755
  }
28897
30756
 
28898
30757
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
@@ -28982,6 +30841,12 @@ export namespace PostConnectResponse {
28982
30841
  status_message?: string | null;
28983
30842
 
28984
30843
  updated_at?: string;
30844
+
30845
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30846
+
30847
+ webhook_configured_at?: string | null;
30848
+
30849
+ webhook_identifier?: string | null;
28985
30850
  }
28986
30851
 
28987
30852
  export namespace ConnectorStripeAgentSandboxDiscriminatedConnectionSettings {
@@ -29071,6 +30936,12 @@ export namespace PostConnectResponse {
29071
30936
  status_message?: string | null;
29072
30937
 
29073
30938
  updated_at?: string;
30939
+
30940
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30941
+
30942
+ webhook_configured_at?: string | null;
30943
+
30944
+ webhook_identifier?: string | null;
29074
30945
  }
29075
30946
 
29076
30947
  export namespace ConnectorTwilioDiscriminatedConnectionSettings {
@@ -29121,6 +30992,12 @@ export namespace PostConnectResponse {
29121
30992
  status_message?: string | null;
29122
30993
 
29123
30994
  updated_at?: string;
30995
+
30996
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
30997
+
30998
+ webhook_configured_at?: string | null;
30999
+
31000
+ webhook_identifier?: string | null;
29124
31001
  }
29125
31002
 
29126
31003
  export namespace ConnectorWorkatoDiscriminatedConnectionSettings {
@@ -29152,6 +31029,7 @@ export type PreConnectResponse =
29152
31029
  | PreConnectResponse.ConnectorDiscordDiscriminatedConnectInput
29153
31030
  | PreConnectResponse.ConnectorDropboxDiscriminatedConnectInput
29154
31031
  | PreConnectResponse.ConnectorFigmaDiscriminatedConnectInput
31032
+ | PreConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectInput
29155
31033
  | PreConnectResponse.ConnectorGitHubDiscriminatedConnectInput
29156
31034
  | PreConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectInput
29157
31035
  | PreConnectResponse.ConnectorGoogleDocsDiscriminatedConnectInput
@@ -29461,6 +31339,26 @@ export namespace PreConnectResponse {
29461
31339
  }
29462
31340
  }
29463
31341
 
31342
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectInput {
31343
+ connect_input: ConnectorGitHubSourceControlDiscriminatedConnectInput.ConnectInput;
31344
+
31345
+ connector_name: 'github-source-control';
31346
+ }
31347
+
31348
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectInput {
31349
+ export interface ConnectInput {
31350
+ /**
31351
+ * URL to take user to for approval
31352
+ */
31353
+ authorization_url: string;
31354
+
31355
+ /**
31356
+ * Code verifier for PKCE
31357
+ */
31358
+ code_verifier?: string;
31359
+ }
31360
+ }
31361
+
29464
31362
  export interface ConnectorGitHubDiscriminatedConnectInput {
29465
31363
  connect_input: ConnectorGitHubDiscriminatedConnectInput.ConnectInput;
29466
31364
 
@@ -30117,6 +32015,7 @@ export type UpsertConnnectorConfigResponse =
30117
32015
  | UpsertConnnectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
30118
32016
  | UpsertConnnectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
30119
32017
  | UpsertConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
32018
+ | UpsertConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
30120
32019
  | UpsertConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
30121
32020
  | UpsertConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
30122
32021
  | UpsertConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -30886,6 +32785,58 @@ export namespace UpsertConnnectorConfigResponse {
30886
32785
  }
30887
32786
  }
30888
32787
 
32788
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
32789
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
32790
+
32791
+ connector_name: 'github-source-control';
32792
+
32793
+ id?: string;
32794
+
32795
+ created_at?: string;
32796
+
32797
+ disabled?: boolean | null;
32798
+
32799
+ display_name?: string | null;
32800
+
32801
+ /**
32802
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
32803
+ * separate 1-1 table just for simple key values in your application. During
32804
+ * updates this object will be shallowly merged
32805
+ */
32806
+ metadata?: { [key: string]: unknown } | null;
32807
+
32808
+ org_id?: string;
32809
+
32810
+ updated_at?: string;
32811
+ }
32812
+
32813
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
32814
+ export interface Config {
32815
+ /**
32816
+ * Base oauth configuration for the connector
32817
+ */
32818
+ oauth?: Config.OAuth | null;
32819
+ }
32820
+
32821
+ export namespace Config {
32822
+ /**
32823
+ * Base oauth configuration for the connector
32824
+ */
32825
+ export interface OAuth {
32826
+ client_id?: string | null;
32827
+
32828
+ client_secret?: string | null;
32829
+
32830
+ /**
32831
+ * Custom redirect URI
32832
+ */
32833
+ redirect_uri?: string | null;
32834
+
32835
+ scopes?: Array<string> | null;
32836
+ }
32837
+ }
32838
+ }
32839
+
30889
32840
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
30890
32841
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
30891
32842
 
@@ -32636,6 +34587,7 @@ export interface CreateConnectionParams {
32636
34587
  | CreateConnectionParams.ConnectorDiscordDiscriminatedConnectionSettings
32637
34588
  | CreateConnectionParams.ConnectorDropboxDiscriminatedConnectionSettings
32638
34589
  | CreateConnectionParams.ConnectorFigmaDiscriminatedConnectionSettings
34590
+ | CreateConnectionParams.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
32639
34591
  | CreateConnectionParams.ConnectorGitHubDiscriminatedConnectionSettings
32640
34592
  | CreateConnectionParams.ConnectorGoogleCalendarDiscriminatedConnectionSettings
32641
34593
  | CreateConnectionParams.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -32848,6 +34800,12 @@ export namespace CreateConnectionParams {
32848
34800
  export interface Settings {
32849
34801
  oauth: Settings.OAuth;
32850
34802
 
34803
+ /**
34804
+ * Your Google Cloud Project ID (e.g., my-project-123). This is required to make
34805
+ * API calls to BigQuery.
34806
+ */
34807
+ project_id: string;
34808
+
32851
34809
  /**
32852
34810
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
32853
34811
  * for backward compatibility until we remove the oauth field
@@ -33279,14 +35237,20 @@ export namespace CreateConnectionParams {
33279
35237
  export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
33280
35238
  export interface Settings {
33281
35239
  /**
33282
- * Your Databricks workspace instance name (e.g., "your-workspace" for
33283
- * your-workspace.cloud.databricks.com). Do not include https:// or
33284
- * .cloud.databricks.com
35240
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
35241
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
33285
35242
  */
33286
- databricks_instance: string;
35243
+ http_path: string;
33287
35244
 
33288
35245
  oauth: Settings.OAuth;
33289
35246
 
35247
+ /**
35248
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
35249
+ * warehouse in Databricks and click the "Connection details" button. Copy the
35250
+ * Server hostname value.
35251
+ */
35252
+ server_hostname: string;
35253
+
33290
35254
  /**
33291
35255
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
33292
35256
  * for backward compatibility until we remove the oauth field
@@ -33521,6 +35485,67 @@ export namespace CreateConnectionParams {
33521
35485
  }
33522
35486
  }
33523
35487
 
35488
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
35489
+ connector_name: 'github-source-control';
35490
+
35491
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
35492
+ }
35493
+
35494
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
35495
+ export interface Settings {
35496
+ oauth: Settings.OAuth;
35497
+
35498
+ /**
35499
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
35500
+ * for backward compatibility until we remove the oauth field
35501
+ */
35502
+ access_token?: string;
35503
+ }
35504
+
35505
+ export namespace Settings {
35506
+ export interface OAuth {
35507
+ created_at?: string;
35508
+
35509
+ /**
35510
+ * Output of the postConnect hook for oauth2 connectors
35511
+ */
35512
+ credentials?: OAuth.Credentials;
35513
+
35514
+ last_fetched_at?: string;
35515
+
35516
+ metadata?: { [key: string]: unknown } | null;
35517
+
35518
+ updated_at?: string;
35519
+ }
35520
+
35521
+ export namespace OAuth {
35522
+ /**
35523
+ * Output of the postConnect hook for oauth2 connectors
35524
+ */
35525
+ export interface Credentials {
35526
+ access_token: string;
35527
+
35528
+ /**
35529
+ * Client ID used for the connection
35530
+ */
35531
+ client_id?: string;
35532
+
35533
+ expires_at?: string;
35534
+
35535
+ expires_in?: number;
35536
+
35537
+ raw?: { [key: string]: unknown };
35538
+
35539
+ refresh_token?: string;
35540
+
35541
+ scope?: string;
35542
+
35543
+ token_type?: string;
35544
+ }
35545
+ }
35546
+ }
35547
+ }
35548
+
33524
35549
  export interface ConnectorGitHubDiscriminatedConnectionSettings {
33525
35550
  connector_name: 'github';
33526
35551
 
@@ -35461,6 +37486,7 @@ export namespace CreateTokenParams {
35461
37486
  | 'dropbox'
35462
37487
  | 'figma'
35463
37488
  | 'github'
37489
+ | 'github-source-control'
35464
37490
  | 'google-calendar'
35465
37491
  | 'google-docs'
35466
37492
  | 'google-drive'
@@ -35517,6 +37543,7 @@ export namespace CreateTokenParams {
35517
37543
  | 'dropbox'
35518
37544
  | 'figma'
35519
37545
  | 'github'
37546
+ | 'github-source-control'
35520
37547
  | 'google-calendar'
35521
37548
  | 'google-docs'
35522
37549
  | 'google-drive'
@@ -35638,6 +37665,7 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
35638
37665
  | 'dropbox'
35639
37666
  | 'figma'
35640
37667
  | 'github'
37668
+ | 'github-source-control'
35641
37669
  | 'google-calendar'
35642
37670
  | 'google-docs'
35643
37671
  | 'google-drive'
@@ -35723,6 +37751,7 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
35723
37751
  | 'dropbox'
35724
37752
  | 'figma'
35725
37753
  | 'github'
37754
+ | 'github-source-control'
35726
37755
  | 'google-calendar'
35727
37756
  | 'google-docs'
35728
37757
  | 'google-drive'
@@ -35804,6 +37833,7 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
35804
37833
  | 'dropbox'
35805
37834
  | 'figma'
35806
37835
  | 'github'
37836
+ | 'github-source-control'
35807
37837
  | 'google-calendar'
35808
37838
  | 'google-docs'
35809
37839
  | 'google-drive'
@@ -35901,6 +37931,7 @@ export interface PostConnectParams {
35901
37931
  | PostConnectParams.ConnectorDiscordDiscriminatedConnectOutput
35902
37932
  | PostConnectParams.ConnectorDropboxDiscriminatedConnectOutput
35903
37933
  | PostConnectParams.ConnectorFigmaDiscriminatedConnectOutput
37934
+ | PostConnectParams.ConnectorGitHubSourceControlDiscriminatedConnectOutput
35904
37935
  | PostConnectParams.ConnectorGitHubDiscriminatedConnectOutput
35905
37936
  | PostConnectParams.ConnectorGoogleCalendarDiscriminatedConnectOutput
35906
37937
  | PostConnectParams.ConnectorGoogleDocsDiscriminatedConnectOutput
@@ -36420,6 +38451,41 @@ export namespace PostConnectParams {
36420
38451
  }
36421
38452
  }
36422
38453
 
38454
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectOutput {
38455
+ connect_output: ConnectorGitHubSourceControlDiscriminatedConnectOutput.ConnectOutput;
38456
+
38457
+ connector_name: 'github-source-control';
38458
+ }
38459
+
38460
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectOutput {
38461
+ export interface ConnectOutput {
38462
+ /**
38463
+ * OAuth2 authorization code used for token exchange
38464
+ */
38465
+ code: string;
38466
+
38467
+ /**
38468
+ * OAuth2 state
38469
+ */
38470
+ state: string;
38471
+
38472
+ /**
38473
+ * Custom client ID to use for token exchange
38474
+ */
38475
+ client_id?: string;
38476
+
38477
+ /**
38478
+ * Custom client secret to use for token exchange
38479
+ */
38480
+ client_secret?: string;
38481
+
38482
+ /**
38483
+ * Code verifier for PKCE from the connect input
38484
+ */
38485
+ code_verifier?: string;
38486
+ }
38487
+ }
38488
+
36423
38489
  export interface ConnectorGitHubDiscriminatedConnectOutput {
36424
38490
  connect_output: ConnectorGitHubDiscriminatedConnectOutput.ConnectOutput;
36425
38491
 
@@ -37572,6 +39638,7 @@ export interface PreConfigureConnectorParams {
37572
39638
  | 'dropbox'
37573
39639
  | 'figma'
37574
39640
  | 'github'
39641
+ | 'github-source-control'
37575
39642
  | 'google-calendar'
37576
39643
  | 'google-docs'
37577
39644
  | 'google-drive'
@@ -37631,6 +39698,7 @@ export interface PreConnectParams {
37631
39698
  | PreConnectParams.ConnectorDiscordDiscriminatedPreConnectInput
37632
39699
  | PreConnectParams.ConnectorDropboxDiscriminatedPreConnectInput
37633
39700
  | PreConnectParams.ConnectorFigmaDiscriminatedPreConnectInput
39701
+ | PreConnectParams.ConnectorGitHubSourceControlDiscriminatedPreConnectInput
37634
39702
  | PreConnectParams.ConnectorGitHubDiscriminatedPreConnectInput
37635
39703
  | PreConnectParams.ConnectorGoogleCalendarDiscriminatedPreConnectInput
37636
39704
  | PreConnectParams.ConnectorGoogleDocsDiscriminatedPreConnectInput
@@ -37698,7 +39766,17 @@ export namespace PreConnectParams {
37698
39766
  export interface ConnectorBigqueryDiscriminatedPreConnectInput {
37699
39767
  connector_name: 'bigquery';
37700
39768
 
37701
- pre_connect_input: unknown;
39769
+ pre_connect_input: ConnectorBigqueryDiscriminatedPreConnectInput.PreConnectInput;
39770
+ }
39771
+
39772
+ export namespace ConnectorBigqueryDiscriminatedPreConnectInput {
39773
+ export interface PreConnectInput {
39774
+ /**
39775
+ * Your Google Cloud Project ID (e.g., my-project-123). This is required to make
39776
+ * API calls to BigQuery.
39777
+ */
39778
+ project_id: string;
39779
+ }
37702
39780
  }
37703
39781
 
37704
39782
  export interface ConnectorBitbucketSourceControlDiscriminatedPreConnectInput {
@@ -37756,11 +39834,17 @@ export namespace PreConnectParams {
37756
39834
  export namespace ConnectorDatabricksDiscriminatedPreConnectInput {
37757
39835
  export interface PreConnectInput {
37758
39836
  /**
37759
- * Your Databricks workspace instance name (e.g., "your-workspace" for
37760
- * your-workspace.cloud.databricks.com). Do not include https:// or
37761
- * .cloud.databricks.com
39837
+ * The HTTP path for your SQL warehouse. To find this, go to your SQL warehouse in
39838
+ * Databricks and click the "Connection details" button. Copy the HTTP path value.
37762
39839
  */
37763
- databricks_instance: string;
39840
+ http_path: string;
39841
+
39842
+ /**
39843
+ * The server hostname for your SQL warehouse. To find this, go to your SQL
39844
+ * warehouse in Databricks and click the "Connection details" button. Copy the
39845
+ * Server hostname value.
39846
+ */
39847
+ server_hostname: string;
37764
39848
  }
37765
39849
  }
37766
39850
 
@@ -37782,6 +39866,12 @@ export namespace PreConnectParams {
37782
39866
  pre_connect_input: unknown;
37783
39867
  }
37784
39868
 
39869
+ export interface ConnectorGitHubSourceControlDiscriminatedPreConnectInput {
39870
+ connector_name: 'github-source-control';
39871
+
39872
+ pre_connect_input: unknown;
39873
+ }
39874
+
37785
39875
  export interface ConnectorGitHubDiscriminatedPreConnectInput {
37786
39876
  connector_name: 'github';
37787
39877