@replit/connectors 0.3.0 → 0.5.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.
@@ -73,6 +73,7 @@ export interface Integration {
73
73
  connector_name:
74
74
  | 'acme-apikey'
75
75
  | 'acme-oauth2'
76
+ | 'agentmail'
76
77
  | 'apollo'
77
78
  | 'asana'
78
79
  | 'bigquery'
@@ -87,6 +88,7 @@ export interface Integration {
87
88
  | 'dropbox'
88
89
  | 'figma'
89
90
  | 'github'
91
+ | 'github-source-control'
90
92
  | 'google-calendar'
91
93
  | 'google-docs'
92
94
  | 'google-drive'
@@ -177,6 +179,7 @@ export type ConnectorRpcResponse = { [key: string]: unknown };
177
179
  export type CreateConnectionResponse =
178
180
  | CreateConnectionResponse.ConnectorAcmeApikeyDiscriminatedConnectionSettings
179
181
  | CreateConnectionResponse.ConnectorAcmeOauth2DiscriminatedConnectionSettings
182
+ | CreateConnectionResponse.ConnectorAgentmailDiscriminatedConnectionSettings
180
183
  | CreateConnectionResponse.ConnectorAsanaDiscriminatedConnectionSettings
181
184
  | CreateConnectionResponse.ConnectorBigqueryDiscriminatedConnectionSettings
182
185
  | CreateConnectionResponse.ConnectorBitbucketSourceControlDiscriminatedConnectionSettings
@@ -189,6 +192,7 @@ export type CreateConnectionResponse =
189
192
  | CreateConnectionResponse.ConnectorDiscordDiscriminatedConnectionSettings
190
193
  | CreateConnectionResponse.ConnectorDropboxDiscriminatedConnectionSettings
191
194
  | CreateConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
195
+ | CreateConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
192
196
  | CreateConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
193
197
  | CreateConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
194
198
  | CreateConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -365,6 +369,51 @@ export namespace CreateConnectionResponse {
365
369
  }
366
370
  }
367
371
 
372
+ export interface ConnectorAgentmailDiscriminatedConnectionSettings {
373
+ connector_name: 'agentmail';
374
+
375
+ id?: string;
376
+
377
+ connector?: TopLevelAPI.Connector;
378
+
379
+ connector_config_id?: string | null;
380
+
381
+ created_at?: string;
382
+
383
+ customer_id?: string | null;
384
+
385
+ disabled?: boolean | null;
386
+
387
+ display_name?: string | null;
388
+
389
+ environment?: 'production' | 'development';
390
+
391
+ integration?: TopLevelAPI.Integration;
392
+
393
+ integration_id?: string | null;
394
+
395
+ /**
396
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
397
+ * separate 1-1 table just for simple key values in your application. During
398
+ * updates this object will be shallowly merged
399
+ */
400
+ metadata?: { [key: string]: unknown } | null;
401
+
402
+ settings?: ConnectorAgentmailDiscriminatedConnectionSettings.Settings;
403
+
404
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
405
+
406
+ status_message?: string | null;
407
+
408
+ updated_at?: string;
409
+ }
410
+
411
+ export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
412
+ export interface Settings {
413
+ api_key: string;
414
+ }
415
+ }
416
+
368
417
  export interface ConnectorAsanaDiscriminatedConnectionSettings {
369
418
  connector_name: 'asana';
370
419
 
@@ -1505,8 +1554,8 @@ export namespace CreateConnectionResponse {
1505
1554
  }
1506
1555
  }
1507
1556
 
1508
- export interface ConnectorGitHubDiscriminatedConnectionSettings {
1509
- connector_name: 'github';
1557
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
1558
+ connector_name: 'github-source-control';
1510
1559
 
1511
1560
  id?: string;
1512
1561
 
@@ -1535,7 +1584,7 @@ export namespace CreateConnectionResponse {
1535
1584
  */
1536
1585
  metadata?: { [key: string]: unknown } | null;
1537
1586
 
1538
- settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
1587
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
1539
1588
 
1540
1589
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1541
1590
 
@@ -1544,7 +1593,7 @@ export namespace CreateConnectionResponse {
1544
1593
  updated_at?: string;
1545
1594
  }
1546
1595
 
1547
- export namespace ConnectorGitHubDiscriminatedConnectionSettings {
1596
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
1548
1597
  export interface Settings {
1549
1598
  oauth: Settings.OAuth;
1550
1599
 
@@ -1599,196 +1648,8 @@ export namespace CreateConnectionResponse {
1599
1648
  }
1600
1649
  }
1601
1650
 
1602
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1603
- connector_name: 'google-calendar';
1604
-
1605
- id?: string;
1606
-
1607
- connector?: TopLevelAPI.Connector;
1608
-
1609
- connector_config_id?: string | null;
1610
-
1611
- created_at?: string;
1612
-
1613
- customer_id?: string | null;
1614
-
1615
- disabled?: boolean | null;
1616
-
1617
- display_name?: string | null;
1618
-
1619
- environment?: 'production' | 'development';
1620
-
1621
- integration?: TopLevelAPI.Integration;
1622
-
1623
- integration_id?: string | null;
1624
-
1625
- /**
1626
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
1627
- * separate 1-1 table just for simple key values in your application. During
1628
- * updates this object will be shallowly merged
1629
- */
1630
- metadata?: { [key: string]: unknown } | null;
1631
-
1632
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
1633
-
1634
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1635
-
1636
- status_message?: string | null;
1637
-
1638
- updated_at?: string;
1639
- }
1640
-
1641
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1642
- export interface Settings {
1643
- oauth: Settings.OAuth;
1644
-
1645
- /**
1646
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
1647
- * for backward compatibility until we remove the oauth field
1648
- */
1649
- access_token?: string;
1650
- }
1651
-
1652
- export namespace Settings {
1653
- export interface OAuth {
1654
- created_at?: string;
1655
-
1656
- /**
1657
- * Output of the postConnect hook for oauth2 connectors
1658
- */
1659
- credentials?: OAuth.Credentials;
1660
-
1661
- last_fetched_at?: string;
1662
-
1663
- metadata?: { [key: string]: unknown } | null;
1664
-
1665
- updated_at?: string;
1666
- }
1667
-
1668
- export namespace OAuth {
1669
- /**
1670
- * Output of the postConnect hook for oauth2 connectors
1671
- */
1672
- export interface Credentials {
1673
- access_token: string;
1674
-
1675
- /**
1676
- * Client ID used for the connection
1677
- */
1678
- client_id?: string;
1679
-
1680
- expires_at?: string;
1681
-
1682
- expires_in?: number;
1683
-
1684
- raw?: { [key: string]: unknown };
1685
-
1686
- refresh_token?: string;
1687
-
1688
- scope?: string;
1689
-
1690
- token_type?: string;
1691
- }
1692
- }
1693
- }
1694
- }
1695
-
1696
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
1697
- connector_name: 'google-docs';
1698
-
1699
- id?: string;
1700
-
1701
- connector?: TopLevelAPI.Connector;
1702
-
1703
- connector_config_id?: string | null;
1704
-
1705
- created_at?: string;
1706
-
1707
- customer_id?: string | null;
1708
-
1709
- disabled?: boolean | null;
1710
-
1711
- display_name?: string | null;
1712
-
1713
- environment?: 'production' | 'development';
1714
-
1715
- integration?: TopLevelAPI.Integration;
1716
-
1717
- integration_id?: string | null;
1718
-
1719
- /**
1720
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
1721
- * separate 1-1 table just for simple key values in your application. During
1722
- * updates this object will be shallowly merged
1723
- */
1724
- metadata?: { [key: string]: unknown } | null;
1725
-
1726
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
1727
-
1728
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1729
-
1730
- status_message?: string | null;
1731
-
1732
- updated_at?: string;
1733
- }
1734
-
1735
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
1736
- export interface Settings {
1737
- oauth: Settings.OAuth;
1738
-
1739
- /**
1740
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
1741
- * for backward compatibility until we remove the oauth field
1742
- */
1743
- access_token?: string;
1744
- }
1745
-
1746
- export namespace Settings {
1747
- export interface OAuth {
1748
- created_at?: string;
1749
-
1750
- /**
1751
- * Output of the postConnect hook for oauth2 connectors
1752
- */
1753
- credentials?: OAuth.Credentials;
1754
-
1755
- last_fetched_at?: string;
1756
-
1757
- metadata?: { [key: string]: unknown } | null;
1758
-
1759
- updated_at?: string;
1760
- }
1761
-
1762
- export namespace OAuth {
1763
- /**
1764
- * Output of the postConnect hook for oauth2 connectors
1765
- */
1766
- export interface Credentials {
1767
- access_token: string;
1768
-
1769
- /**
1770
- * Client ID used for the connection
1771
- */
1772
- client_id?: string;
1773
-
1774
- expires_at?: string;
1775
-
1776
- expires_in?: number;
1777
-
1778
- raw?: { [key: string]: unknown };
1779
-
1780
- refresh_token?: string;
1781
-
1782
- scope?: string;
1783
-
1784
- token_type?: string;
1785
- }
1786
- }
1787
- }
1788
- }
1789
-
1790
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
1791
- connector_name: 'google-drive';
1651
+ export interface ConnectorGitHubDiscriminatedConnectionSettings {
1652
+ connector_name: 'github';
1792
1653
 
1793
1654
  id?: string;
1794
1655
 
@@ -1817,7 +1678,7 @@ export namespace CreateConnectionResponse {
1817
1678
  */
1818
1679
  metadata?: { [key: string]: unknown } | null;
1819
1680
 
1820
- settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
1681
+ settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
1821
1682
 
1822
1683
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1823
1684
 
@@ -1826,7 +1687,7 @@ export namespace CreateConnectionResponse {
1826
1687
  updated_at?: string;
1827
1688
  }
1828
1689
 
1829
- export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
1690
+ export namespace ConnectorGitHubDiscriminatedConnectionSettings {
1830
1691
  export interface Settings {
1831
1692
  oauth: Settings.OAuth;
1832
1693
 
@@ -1881,8 +1742,8 @@ export namespace CreateConnectionResponse {
1881
1742
  }
1882
1743
  }
1883
1744
 
1884
- export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
1885
- connector_name: 'google-mail';
1745
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1746
+ connector_name: 'google-calendar';
1886
1747
 
1887
1748
  id?: string;
1888
1749
 
@@ -1911,7 +1772,7 @@ export namespace CreateConnectionResponse {
1911
1772
  */
1912
1773
  metadata?: { [key: string]: unknown } | null;
1913
1774
 
1914
- settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
1775
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
1915
1776
 
1916
1777
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1917
1778
 
@@ -1920,7 +1781,7 @@ export namespace CreateConnectionResponse {
1920
1781
  updated_at?: string;
1921
1782
  }
1922
1783
 
1923
- export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
1784
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1924
1785
  export interface Settings {
1925
1786
  oauth: Settings.OAuth;
1926
1787
 
@@ -1975,8 +1836,8 @@ export namespace CreateConnectionResponse {
1975
1836
  }
1976
1837
  }
1977
1838
 
1978
- export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
1979
- connector_name: 'google-sheet';
1839
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
1840
+ connector_name: 'google-docs';
1980
1841
 
1981
1842
  id?: string;
1982
1843
 
@@ -2005,7 +1866,7 @@ export namespace CreateConnectionResponse {
2005
1866
  */
2006
1867
  metadata?: { [key: string]: unknown } | null;
2007
1868
 
2008
- settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
1869
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
2009
1870
 
2010
1871
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2011
1872
 
@@ -2014,7 +1875,7 @@ export namespace CreateConnectionResponse {
2014
1875
  updated_at?: string;
2015
1876
  }
2016
1877
 
2017
- export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
1878
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
2018
1879
  export interface Settings {
2019
1880
  oauth: Settings.OAuth;
2020
1881
 
@@ -2069,8 +1930,8 @@ export namespace CreateConnectionResponse {
2069
1930
  }
2070
1931
  }
2071
1932
 
2072
- export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2073
- connector_name: 'google-slides';
1933
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
1934
+ connector_name: 'google-drive';
2074
1935
 
2075
1936
  id?: string;
2076
1937
 
@@ -2099,7 +1960,7 @@ export namespace CreateConnectionResponse {
2099
1960
  */
2100
1961
  metadata?: { [key: string]: unknown } | null;
2101
1962
 
2102
- settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
1963
+ settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
2103
1964
 
2104
1965
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2105
1966
 
@@ -2108,7 +1969,7 @@ export namespace CreateConnectionResponse {
2108
1969
  updated_at?: string;
2109
1970
  }
2110
1971
 
2111
- export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
1972
+ export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
2112
1973
  export interface Settings {
2113
1974
  oauth: Settings.OAuth;
2114
1975
 
@@ -2163,8 +2024,8 @@ export namespace CreateConnectionResponse {
2163
2024
  }
2164
2025
  }
2165
2026
 
2166
- export interface ConnectorHubspotDiscriminatedConnectionSettings {
2167
- connector_name: 'hubspot';
2027
+ export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
2028
+ connector_name: 'google-mail';
2168
2029
 
2169
2030
  id?: string;
2170
2031
 
@@ -2193,7 +2054,7 @@ export namespace CreateConnectionResponse {
2193
2054
  */
2194
2055
  metadata?: { [key: string]: unknown } | null;
2195
2056
 
2196
- settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
2057
+ settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
2197
2058
 
2198
2059
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2199
2060
 
@@ -2202,7 +2063,7 @@ export namespace CreateConnectionResponse {
2202
2063
  updated_at?: string;
2203
2064
  }
2204
2065
 
2205
- export namespace ConnectorHubspotDiscriminatedConnectionSettings {
2066
+ export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
2206
2067
  export interface Settings {
2207
2068
  oauth: Settings.OAuth;
2208
2069
 
@@ -2257,8 +2118,8 @@ export namespace CreateConnectionResponse {
2257
2118
  }
2258
2119
  }
2259
2120
 
2260
- export interface ConnectorInstagramDiscriminatedConnectionSettings {
2261
- connector_name: 'instagram';
2121
+ export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
2122
+ connector_name: 'google-sheet';
2262
2123
 
2263
2124
  id?: string;
2264
2125
 
@@ -2287,7 +2148,7 @@ export namespace CreateConnectionResponse {
2287
2148
  */
2288
2149
  metadata?: { [key: string]: unknown } | null;
2289
2150
 
2290
- settings?: ConnectorInstagramDiscriminatedConnectionSettings.Settings;
2151
+ settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
2291
2152
 
2292
2153
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2293
2154
 
@@ -2296,7 +2157,7 @@ export namespace CreateConnectionResponse {
2296
2157
  updated_at?: string;
2297
2158
  }
2298
2159
 
2299
- export namespace ConnectorInstagramDiscriminatedConnectionSettings {
2160
+ export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
2300
2161
  export interface Settings {
2301
2162
  oauth: Settings.OAuth;
2302
2163
 
@@ -2351,8 +2212,8 @@ export namespace CreateConnectionResponse {
2351
2212
  }
2352
2213
  }
2353
2214
 
2354
- export interface ConnectorJiraDiscriminatedConnectionSettings {
2355
- connector_name: 'jira';
2215
+ export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2216
+ connector_name: 'google-slides';
2356
2217
 
2357
2218
  id?: string;
2358
2219
 
@@ -2381,7 +2242,7 @@ export namespace CreateConnectionResponse {
2381
2242
  */
2382
2243
  metadata?: { [key: string]: unknown } | null;
2383
2244
 
2384
- settings?: ConnectorJiraDiscriminatedConnectionSettings.Settings;
2245
+ settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
2385
2246
 
2386
2247
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2387
2248
 
@@ -2390,15 +2251,10 @@ export namespace CreateConnectionResponse {
2390
2251
  updated_at?: string;
2391
2252
  }
2392
2253
 
2393
- export namespace ConnectorJiraDiscriminatedConnectionSettings {
2254
+ export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2394
2255
  export interface Settings {
2395
2256
  oauth: Settings.OAuth;
2396
2257
 
2397
- /**
2398
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
2399
- */
2400
- site_url: string;
2401
-
2402
2258
  /**
2403
2259
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
2404
2260
  * for backward compatibility until we remove the oauth field
@@ -2450,8 +2306,8 @@ export namespace CreateConnectionResponse {
2450
2306
  }
2451
2307
  }
2452
2308
 
2453
- export interface ConnectorLinearDiscriminatedConnectionSettings {
2454
- connector_name: 'linear';
2309
+ export interface ConnectorHubspotDiscriminatedConnectionSettings {
2310
+ connector_name: 'hubspot';
2455
2311
 
2456
2312
  id?: string;
2457
2313
 
@@ -2480,7 +2336,7 @@ export namespace CreateConnectionResponse {
2480
2336
  */
2481
2337
  metadata?: { [key: string]: unknown } | null;
2482
2338
 
2483
- settings?: ConnectorLinearDiscriminatedConnectionSettings.Settings;
2339
+ settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
2484
2340
 
2485
2341
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2486
2342
 
@@ -2489,7 +2345,7 @@ export namespace CreateConnectionResponse {
2489
2345
  updated_at?: string;
2490
2346
  }
2491
2347
 
2492
- export namespace ConnectorLinearDiscriminatedConnectionSettings {
2348
+ export namespace ConnectorHubspotDiscriminatedConnectionSettings {
2493
2349
  export interface Settings {
2494
2350
  oauth: Settings.OAuth;
2495
2351
 
@@ -2544,8 +2400,8 @@ export namespace CreateConnectionResponse {
2544
2400
  }
2545
2401
  }
2546
2402
 
2547
- export interface ConnectorMondayDiscriminatedConnectionSettings {
2548
- connector_name: 'monday';
2403
+ export interface ConnectorInstagramDiscriminatedConnectionSettings {
2404
+ connector_name: 'instagram';
2549
2405
 
2550
2406
  id?: string;
2551
2407
 
@@ -2574,7 +2430,7 @@ export namespace CreateConnectionResponse {
2574
2430
  */
2575
2431
  metadata?: { [key: string]: unknown } | null;
2576
2432
 
2577
- settings?: ConnectorMondayDiscriminatedConnectionSettings.Settings;
2433
+ settings?: ConnectorInstagramDiscriminatedConnectionSettings.Settings;
2578
2434
 
2579
2435
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2580
2436
 
@@ -2583,7 +2439,7 @@ export namespace CreateConnectionResponse {
2583
2439
  updated_at?: string;
2584
2440
  }
2585
2441
 
2586
- export namespace ConnectorMondayDiscriminatedConnectionSettings {
2442
+ export namespace ConnectorInstagramDiscriminatedConnectionSettings {
2587
2443
  export interface Settings {
2588
2444
  oauth: Settings.OAuth;
2589
2445
 
@@ -2638,8 +2494,8 @@ export namespace CreateConnectionResponse {
2638
2494
  }
2639
2495
  }
2640
2496
 
2641
- export interface ConnectorNotionDiscriminatedConnectionSettings {
2642
- connector_name: 'notion';
2497
+ export interface ConnectorJiraDiscriminatedConnectionSettings {
2498
+ connector_name: 'jira';
2643
2499
 
2644
2500
  id?: string;
2645
2501
 
@@ -2668,7 +2524,7 @@ export namespace CreateConnectionResponse {
2668
2524
  */
2669
2525
  metadata?: { [key: string]: unknown } | null;
2670
2526
 
2671
- settings?: ConnectorNotionDiscriminatedConnectionSettings.Settings;
2527
+ settings?: ConnectorJiraDiscriminatedConnectionSettings.Settings;
2672
2528
 
2673
2529
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2674
2530
 
@@ -2677,103 +2533,14 @@ export namespace CreateConnectionResponse {
2677
2533
  updated_at?: string;
2678
2534
  }
2679
2535
 
2680
- export namespace ConnectorNotionDiscriminatedConnectionSettings {
2536
+ export namespace ConnectorJiraDiscriminatedConnectionSettings {
2681
2537
  export interface Settings {
2682
2538
  oauth: Settings.OAuth;
2683
2539
 
2684
2540
  /**
2685
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
2686
- * for backward compatibility until we remove the oauth field
2541
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
2687
2542
  */
2688
- access_token?: string;
2689
- }
2690
-
2691
- export namespace Settings {
2692
- export interface OAuth {
2693
- created_at?: string;
2694
-
2695
- /**
2696
- * Output of the postConnect hook for oauth2 connectors
2697
- */
2698
- credentials?: OAuth.Credentials;
2699
-
2700
- last_fetched_at?: string;
2701
-
2702
- metadata?: { [key: string]: unknown } | null;
2703
-
2704
- updated_at?: string;
2705
- }
2706
-
2707
- export namespace OAuth {
2708
- /**
2709
- * Output of the postConnect hook for oauth2 connectors
2710
- */
2711
- export interface Credentials {
2712
- access_token: string;
2713
-
2714
- /**
2715
- * Client ID used for the connection
2716
- */
2717
- client_id?: string;
2718
-
2719
- expires_at?: string;
2720
-
2721
- expires_in?: number;
2722
-
2723
- raw?: { [key: string]: unknown };
2724
-
2725
- refresh_token?: string;
2726
-
2727
- scope?: string;
2728
-
2729
- token_type?: string;
2730
- }
2731
- }
2732
- }
2733
- }
2734
-
2735
- export interface ConnectorOnedriveDiscriminatedConnectionSettings {
2736
- connector_name: 'onedrive';
2737
-
2738
- id?: string;
2739
-
2740
- connector?: TopLevelAPI.Connector;
2741
-
2742
- connector_config_id?: string | null;
2743
-
2744
- created_at?: string;
2745
-
2746
- customer_id?: string | null;
2747
-
2748
- disabled?: boolean | null;
2749
-
2750
- display_name?: string | null;
2751
-
2752
- environment?: 'production' | 'development';
2753
-
2754
- integration?: TopLevelAPI.Integration;
2755
-
2756
- integration_id?: string | null;
2757
-
2758
- /**
2759
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
2760
- * separate 1-1 table just for simple key values in your application. During
2761
- * updates this object will be shallowly merged
2762
- */
2763
- metadata?: { [key: string]: unknown } | null;
2764
-
2765
- settings?: ConnectorOnedriveDiscriminatedConnectionSettings.Settings;
2766
-
2767
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2768
-
2769
- status_message?: string | null;
2770
-
2771
- updated_at?: string;
2772
- }
2773
-
2774
- export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
2775
- export interface Settings {
2776
- oauth: Settings.OAuth;
2543
+ site_url: string;
2777
2544
 
2778
2545
  /**
2779
2546
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
@@ -2826,8 +2593,8 @@ export namespace CreateConnectionResponse {
2826
2593
  }
2827
2594
  }
2828
2595
 
2829
- export interface ConnectorOutlookDiscriminatedConnectionSettings {
2830
- connector_name: 'outlook';
2596
+ export interface ConnectorLinearDiscriminatedConnectionSettings {
2597
+ connector_name: 'linear';
2831
2598
 
2832
2599
  id?: string;
2833
2600
 
@@ -2856,7 +2623,7 @@ export namespace CreateConnectionResponse {
2856
2623
  */
2857
2624
  metadata?: { [key: string]: unknown } | null;
2858
2625
 
2859
- settings?: ConnectorOutlookDiscriminatedConnectionSettings.Settings;
2626
+ settings?: ConnectorLinearDiscriminatedConnectionSettings.Settings;
2860
2627
 
2861
2628
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2862
2629
 
@@ -2865,7 +2632,7 @@ export namespace CreateConnectionResponse {
2865
2632
  updated_at?: string;
2866
2633
  }
2867
2634
 
2868
- export namespace ConnectorOutlookDiscriminatedConnectionSettings {
2635
+ export namespace ConnectorLinearDiscriminatedConnectionSettings {
2869
2636
  export interface Settings {
2870
2637
  oauth: Settings.OAuth;
2871
2638
 
@@ -2920,8 +2687,8 @@ export namespace CreateConnectionResponse {
2920
2687
  }
2921
2688
  }
2922
2689
 
2923
- export interface ConnectorSalesforceDiscriminatedConnectionSettings {
2924
- connector_name: 'salesforce';
2690
+ export interface ConnectorMondayDiscriminatedConnectionSettings {
2691
+ connector_name: 'monday';
2925
2692
 
2926
2693
  id?: string;
2927
2694
 
@@ -2950,7 +2717,7 @@ export namespace CreateConnectionResponse {
2950
2717
  */
2951
2718
  metadata?: { [key: string]: unknown } | null;
2952
2719
 
2953
- settings?: ConnectorSalesforceDiscriminatedConnectionSettings.Settings;
2720
+ settings?: ConnectorMondayDiscriminatedConnectionSettings.Settings;
2954
2721
 
2955
2722
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2956
2723
 
@@ -2959,13 +2726,8 @@ export namespace CreateConnectionResponse {
2959
2726
  updated_at?: string;
2960
2727
  }
2961
2728
 
2962
- export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
2729
+ export namespace ConnectorMondayDiscriminatedConnectionSettings {
2963
2730
  export interface Settings {
2964
- /**
2965
- * The instance URL of your Salesforce account (e.g., example)
2966
- */
2967
- instance_url: string;
2968
-
2969
2731
  oauth: Settings.OAuth;
2970
2732
 
2971
2733
  /**
@@ -3019,8 +2781,8 @@ export namespace CreateConnectionResponse {
3019
2781
  }
3020
2782
  }
3021
2783
 
3022
- export interface ConnectorSharepointDiscriminatedConnectionSettings {
3023
- connector_name: 'sharepoint';
2784
+ export interface ConnectorNotionDiscriminatedConnectionSettings {
2785
+ connector_name: 'notion';
3024
2786
 
3025
2787
  id?: string;
3026
2788
 
@@ -3049,7 +2811,7 @@ export namespace CreateConnectionResponse {
3049
2811
  */
3050
2812
  metadata?: { [key: string]: unknown } | null;
3051
2813
 
3052
- settings?: ConnectorSharepointDiscriminatedConnectionSettings.Settings;
2814
+ settings?: ConnectorNotionDiscriminatedConnectionSettings.Settings;
3053
2815
 
3054
2816
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3055
2817
 
@@ -3058,7 +2820,7 @@ export namespace CreateConnectionResponse {
3058
2820
  updated_at?: string;
3059
2821
  }
3060
2822
 
3061
- export namespace ConnectorSharepointDiscriminatedConnectionSettings {
2823
+ export namespace ConnectorNotionDiscriminatedConnectionSettings {
3062
2824
  export interface Settings {
3063
2825
  oauth: Settings.OAuth;
3064
2826
 
@@ -3113,8 +2875,8 @@ export namespace CreateConnectionResponse {
3113
2875
  }
3114
2876
  }
3115
2877
 
3116
- export interface ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3117
- connector_name: 'slack-deployed-agent';
2878
+ export interface ConnectorOnedriveDiscriminatedConnectionSettings {
2879
+ connector_name: 'onedrive';
3118
2880
 
3119
2881
  id?: string;
3120
2882
 
@@ -3143,7 +2905,7 @@ export namespace CreateConnectionResponse {
3143
2905
  */
3144
2906
  metadata?: { [key: string]: unknown } | null;
3145
2907
 
3146
- settings?: ConnectorSlackDeployedAgentDiscriminatedConnectionSettings.Settings;
2908
+ settings?: ConnectorOnedriveDiscriminatedConnectionSettings.Settings;
3147
2909
 
3148
2910
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3149
2911
 
@@ -3152,7 +2914,7 @@ export namespace CreateConnectionResponse {
3152
2914
  updated_at?: string;
3153
2915
  }
3154
2916
 
3155
- export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
2917
+ export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
3156
2918
  export interface Settings {
3157
2919
  oauth: Settings.OAuth;
3158
2920
 
@@ -3207,8 +2969,8 @@ export namespace CreateConnectionResponse {
3207
2969
  }
3208
2970
  }
3209
2971
 
3210
- export interface ConnectorSlackDiscriminatedConnectionSettings {
3211
- connector_name: 'slack';
2972
+ export interface ConnectorOutlookDiscriminatedConnectionSettings {
2973
+ connector_name: 'outlook';
3212
2974
 
3213
2975
  id?: string;
3214
2976
 
@@ -3237,7 +2999,7 @@ export namespace CreateConnectionResponse {
3237
2999
  */
3238
3000
  metadata?: { [key: string]: unknown } | null;
3239
3001
 
3240
- settings?: ConnectorSlackDiscriminatedConnectionSettings.Settings;
3002
+ settings?: ConnectorOutlookDiscriminatedConnectionSettings.Settings;
3241
3003
 
3242
3004
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3243
3005
 
@@ -3246,7 +3008,7 @@ export namespace CreateConnectionResponse {
3246
3008
  updated_at?: string;
3247
3009
  }
3248
3010
 
3249
- export namespace ConnectorSlackDiscriminatedConnectionSettings {
3011
+ export namespace ConnectorOutlookDiscriminatedConnectionSettings {
3250
3012
  export interface Settings {
3251
3013
  oauth: Settings.OAuth;
3252
3014
 
@@ -3301,8 +3063,8 @@ export namespace CreateConnectionResponse {
3301
3063
  }
3302
3064
  }
3303
3065
 
3304
- export interface ConnectorSnowflakeDiscriminatedConnectionSettings {
3305
- connector_name: 'snowflake';
3066
+ export interface ConnectorSalesforceDiscriminatedConnectionSettings {
3067
+ connector_name: 'salesforce';
3306
3068
 
3307
3069
  id?: string;
3308
3070
 
@@ -3331,7 +3093,7 @@ export namespace CreateConnectionResponse {
3331
3093
  */
3332
3094
  metadata?: { [key: string]: unknown } | null;
3333
3095
 
3334
- settings?: ConnectorSnowflakeDiscriminatedConnectionSettings.Settings;
3096
+ settings?: ConnectorSalesforceDiscriminatedConnectionSettings.Settings;
3335
3097
 
3336
3098
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3337
3099
 
@@ -3340,15 +3102,14 @@ export namespace CreateConnectionResponse {
3340
3102
  updated_at?: string;
3341
3103
  }
3342
3104
 
3343
- export namespace ConnectorSnowflakeDiscriminatedConnectionSettings {
3105
+ export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
3344
3106
  export interface Settings {
3345
- oauth: Settings.OAuth;
3346
-
3347
3107
  /**
3348
- * Your Snowflake account identifier (e.g., zigjpaq-qg57814). Do not include
3349
- * https:// or .snowflakecomputing.com
3108
+ * The instance URL of your Salesforce account (e.g., example)
3350
3109
  */
3351
- snowflake_account_url: string;
3110
+ instance_url: string;
3111
+
3112
+ oauth: Settings.OAuth;
3352
3113
 
3353
3114
  /**
3354
3115
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
@@ -3401,8 +3162,8 @@ export namespace CreateConnectionResponse {
3401
3162
  }
3402
3163
  }
3403
3164
 
3404
- export interface ConnectorSpotifyDiscriminatedConnectionSettings {
3405
- connector_name: 'spotify';
3165
+ export interface ConnectorSharepointDiscriminatedConnectionSettings {
3166
+ connector_name: 'sharepoint';
3406
3167
 
3407
3168
  id?: string;
3408
3169
 
@@ -3431,7 +3192,7 @@ export namespace CreateConnectionResponse {
3431
3192
  */
3432
3193
  metadata?: { [key: string]: unknown } | null;
3433
3194
 
3434
- settings?: ConnectorSpotifyDiscriminatedConnectionSettings.Settings;
3195
+ settings?: ConnectorSharepointDiscriminatedConnectionSettings.Settings;
3435
3196
 
3436
3197
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3437
3198
 
@@ -3440,7 +3201,7 @@ export namespace CreateConnectionResponse {
3440
3201
  updated_at?: string;
3441
3202
  }
3442
3203
 
3443
- export namespace ConnectorSpotifyDiscriminatedConnectionSettings {
3204
+ export namespace ConnectorSharepointDiscriminatedConnectionSettings {
3444
3205
  export interface Settings {
3445
3206
  oauth: Settings.OAuth;
3446
3207
 
@@ -3495,8 +3256,8 @@ export namespace CreateConnectionResponse {
3495
3256
  }
3496
3257
  }
3497
3258
 
3498
- export interface ConnectorYoutubeDiscriminatedConnectionSettings {
3499
- connector_name: 'youtube';
3259
+ export interface ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3260
+ connector_name: 'slack-deployed-agent';
3500
3261
 
3501
3262
  id?: string;
3502
3263
 
@@ -3525,7 +3286,7 @@ export namespace CreateConnectionResponse {
3525
3286
  */
3526
3287
  metadata?: { [key: string]: unknown } | null;
3527
3288
 
3528
- settings?: ConnectorYoutubeDiscriminatedConnectionSettings.Settings;
3289
+ settings?: ConnectorSlackDeployedAgentDiscriminatedConnectionSettings.Settings;
3529
3290
 
3530
3291
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3531
3292
 
@@ -3534,7 +3295,7 @@ export namespace CreateConnectionResponse {
3534
3295
  updated_at?: string;
3535
3296
  }
3536
3297
 
3537
- export namespace ConnectorYoutubeDiscriminatedConnectionSettings {
3298
+ export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3538
3299
  export interface Settings {
3539
3300
  oauth: Settings.OAuth;
3540
3301
 
@@ -3589,8 +3350,8 @@ export namespace CreateConnectionResponse {
3589
3350
  }
3590
3351
  }
3591
3352
 
3592
- export interface ConnectorZendeskDiscriminatedConnectionSettings {
3593
- connector_name: 'zendesk';
3353
+ export interface ConnectorSlackDiscriminatedConnectionSettings {
3354
+ connector_name: 'slack';
3594
3355
 
3595
3356
  id?: string;
3596
3357
 
@@ -3619,7 +3380,7 @@ export namespace CreateConnectionResponse {
3619
3380
  */
3620
3381
  metadata?: { [key: string]: unknown } | null;
3621
3382
 
3622
- settings?: ConnectorZendeskDiscriminatedConnectionSettings.Settings;
3383
+ settings?: ConnectorSlackDiscriminatedConnectionSettings.Settings;
3623
3384
 
3624
3385
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3625
3386
 
@@ -3628,15 +3389,10 @@ export namespace CreateConnectionResponse {
3628
3389
  updated_at?: string;
3629
3390
  }
3630
3391
 
3631
- export namespace ConnectorZendeskDiscriminatedConnectionSettings {
3392
+ export namespace ConnectorSlackDiscriminatedConnectionSettings {
3632
3393
  export interface Settings {
3633
3394
  oauth: Settings.OAuth;
3634
3395
 
3635
- /**
3636
- * Your Zendesk subdomain (e.g., "acme" for https://acme.zendesk.com)
3637
- */
3638
- subdomain: string;
3639
-
3640
3396
  /**
3641
3397
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
3642
3398
  * for backward compatibility until we remove the oauth field
@@ -3688,8 +3444,8 @@ export namespace CreateConnectionResponse {
3688
3444
  }
3689
3445
  }
3690
3446
 
3691
- export interface ConnectorZoomDiscriminatedConnectionSettings {
3692
- connector_name: 'zoom';
3447
+ export interface ConnectorSnowflakeDiscriminatedConnectionSettings {
3448
+ connector_name: 'snowflake';
3693
3449
 
3694
3450
  id?: string;
3695
3451
 
@@ -3718,7 +3474,7 @@ export namespace CreateConnectionResponse {
3718
3474
  */
3719
3475
  metadata?: { [key: string]: unknown } | null;
3720
3476
 
3721
- settings?: ConnectorZoomDiscriminatedConnectionSettings.Settings;
3477
+ settings?: ConnectorSnowflakeDiscriminatedConnectionSettings.Settings;
3722
3478
 
3723
3479
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3724
3480
 
@@ -3727,7 +3483,394 @@ export namespace CreateConnectionResponse {
3727
3483
  updated_at?: string;
3728
3484
  }
3729
3485
 
3730
- export namespace ConnectorZoomDiscriminatedConnectionSettings {
3486
+ export namespace ConnectorSnowflakeDiscriminatedConnectionSettings {
3487
+ export interface Settings {
3488
+ oauth: Settings.OAuth;
3489
+
3490
+ /**
3491
+ * Your Snowflake account identifier (e.g., zigjpaq-qg57814). Do not include
3492
+ * https:// or .snowflakecomputing.com
3493
+ */
3494
+ snowflake_account_url: string;
3495
+
3496
+ /**
3497
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3498
+ * for backward compatibility until we remove the oauth field
3499
+ */
3500
+ access_token?: string;
3501
+ }
3502
+
3503
+ export namespace Settings {
3504
+ export interface OAuth {
3505
+ created_at?: string;
3506
+
3507
+ /**
3508
+ * Output of the postConnect hook for oauth2 connectors
3509
+ */
3510
+ credentials?: OAuth.Credentials;
3511
+
3512
+ last_fetched_at?: string;
3513
+
3514
+ metadata?: { [key: string]: unknown } | null;
3515
+
3516
+ updated_at?: string;
3517
+ }
3518
+
3519
+ export namespace OAuth {
3520
+ /**
3521
+ * Output of the postConnect hook for oauth2 connectors
3522
+ */
3523
+ export interface Credentials {
3524
+ access_token: string;
3525
+
3526
+ /**
3527
+ * Client ID used for the connection
3528
+ */
3529
+ client_id?: string;
3530
+
3531
+ expires_at?: string;
3532
+
3533
+ expires_in?: number;
3534
+
3535
+ raw?: { [key: string]: unknown };
3536
+
3537
+ refresh_token?: string;
3538
+
3539
+ scope?: string;
3540
+
3541
+ token_type?: string;
3542
+ }
3543
+ }
3544
+ }
3545
+ }
3546
+
3547
+ export interface ConnectorSpotifyDiscriminatedConnectionSettings {
3548
+ connector_name: 'spotify';
3549
+
3550
+ id?: string;
3551
+
3552
+ connector?: TopLevelAPI.Connector;
3553
+
3554
+ connector_config_id?: string | null;
3555
+
3556
+ created_at?: string;
3557
+
3558
+ customer_id?: string | null;
3559
+
3560
+ disabled?: boolean | null;
3561
+
3562
+ display_name?: string | null;
3563
+
3564
+ environment?: 'production' | 'development';
3565
+
3566
+ integration?: TopLevelAPI.Integration;
3567
+
3568
+ integration_id?: string | null;
3569
+
3570
+ /**
3571
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3572
+ * separate 1-1 table just for simple key values in your application. During
3573
+ * updates this object will be shallowly merged
3574
+ */
3575
+ metadata?: { [key: string]: unknown } | null;
3576
+
3577
+ settings?: ConnectorSpotifyDiscriminatedConnectionSettings.Settings;
3578
+
3579
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3580
+
3581
+ status_message?: string | null;
3582
+
3583
+ updated_at?: string;
3584
+ }
3585
+
3586
+ export namespace ConnectorSpotifyDiscriminatedConnectionSettings {
3587
+ export interface Settings {
3588
+ oauth: Settings.OAuth;
3589
+
3590
+ /**
3591
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3592
+ * for backward compatibility until we remove the oauth field
3593
+ */
3594
+ access_token?: string;
3595
+ }
3596
+
3597
+ export namespace Settings {
3598
+ export interface OAuth {
3599
+ created_at?: string;
3600
+
3601
+ /**
3602
+ * Output of the postConnect hook for oauth2 connectors
3603
+ */
3604
+ credentials?: OAuth.Credentials;
3605
+
3606
+ last_fetched_at?: string;
3607
+
3608
+ metadata?: { [key: string]: unknown } | null;
3609
+
3610
+ updated_at?: string;
3611
+ }
3612
+
3613
+ export namespace OAuth {
3614
+ /**
3615
+ * Output of the postConnect hook for oauth2 connectors
3616
+ */
3617
+ export interface Credentials {
3618
+ access_token: string;
3619
+
3620
+ /**
3621
+ * Client ID used for the connection
3622
+ */
3623
+ client_id?: string;
3624
+
3625
+ expires_at?: string;
3626
+
3627
+ expires_in?: number;
3628
+
3629
+ raw?: { [key: string]: unknown };
3630
+
3631
+ refresh_token?: string;
3632
+
3633
+ scope?: string;
3634
+
3635
+ token_type?: string;
3636
+ }
3637
+ }
3638
+ }
3639
+ }
3640
+
3641
+ export interface ConnectorYoutubeDiscriminatedConnectionSettings {
3642
+ connector_name: 'youtube';
3643
+
3644
+ id?: string;
3645
+
3646
+ connector?: TopLevelAPI.Connector;
3647
+
3648
+ connector_config_id?: string | null;
3649
+
3650
+ created_at?: string;
3651
+
3652
+ customer_id?: string | null;
3653
+
3654
+ disabled?: boolean | null;
3655
+
3656
+ display_name?: string | null;
3657
+
3658
+ environment?: 'production' | 'development';
3659
+
3660
+ integration?: TopLevelAPI.Integration;
3661
+
3662
+ integration_id?: string | null;
3663
+
3664
+ /**
3665
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3666
+ * separate 1-1 table just for simple key values in your application. During
3667
+ * updates this object will be shallowly merged
3668
+ */
3669
+ metadata?: { [key: string]: unknown } | null;
3670
+
3671
+ settings?: ConnectorYoutubeDiscriminatedConnectionSettings.Settings;
3672
+
3673
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3674
+
3675
+ status_message?: string | null;
3676
+
3677
+ updated_at?: string;
3678
+ }
3679
+
3680
+ export namespace ConnectorYoutubeDiscriminatedConnectionSettings {
3681
+ export interface Settings {
3682
+ oauth: Settings.OAuth;
3683
+
3684
+ /**
3685
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3686
+ * for backward compatibility until we remove the oauth field
3687
+ */
3688
+ access_token?: string;
3689
+ }
3690
+
3691
+ export namespace Settings {
3692
+ export interface OAuth {
3693
+ created_at?: string;
3694
+
3695
+ /**
3696
+ * Output of the postConnect hook for oauth2 connectors
3697
+ */
3698
+ credentials?: OAuth.Credentials;
3699
+
3700
+ last_fetched_at?: string;
3701
+
3702
+ metadata?: { [key: string]: unknown } | null;
3703
+
3704
+ updated_at?: string;
3705
+ }
3706
+
3707
+ export namespace OAuth {
3708
+ /**
3709
+ * Output of the postConnect hook for oauth2 connectors
3710
+ */
3711
+ export interface Credentials {
3712
+ access_token: string;
3713
+
3714
+ /**
3715
+ * Client ID used for the connection
3716
+ */
3717
+ client_id?: string;
3718
+
3719
+ expires_at?: string;
3720
+
3721
+ expires_in?: number;
3722
+
3723
+ raw?: { [key: string]: unknown };
3724
+
3725
+ refresh_token?: string;
3726
+
3727
+ scope?: string;
3728
+
3729
+ token_type?: string;
3730
+ }
3731
+ }
3732
+ }
3733
+ }
3734
+
3735
+ export interface ConnectorZendeskDiscriminatedConnectionSettings {
3736
+ connector_name: 'zendesk';
3737
+
3738
+ id?: string;
3739
+
3740
+ connector?: TopLevelAPI.Connector;
3741
+
3742
+ connector_config_id?: string | null;
3743
+
3744
+ created_at?: string;
3745
+
3746
+ customer_id?: string | null;
3747
+
3748
+ disabled?: boolean | null;
3749
+
3750
+ display_name?: string | null;
3751
+
3752
+ environment?: 'production' | 'development';
3753
+
3754
+ integration?: TopLevelAPI.Integration;
3755
+
3756
+ integration_id?: string | null;
3757
+
3758
+ /**
3759
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3760
+ * separate 1-1 table just for simple key values in your application. During
3761
+ * updates this object will be shallowly merged
3762
+ */
3763
+ metadata?: { [key: string]: unknown } | null;
3764
+
3765
+ settings?: ConnectorZendeskDiscriminatedConnectionSettings.Settings;
3766
+
3767
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3768
+
3769
+ status_message?: string | null;
3770
+
3771
+ updated_at?: string;
3772
+ }
3773
+
3774
+ export namespace ConnectorZendeskDiscriminatedConnectionSettings {
3775
+ export interface Settings {
3776
+ oauth: Settings.OAuth;
3777
+
3778
+ /**
3779
+ * Your Zendesk subdomain (e.g., "acme" for https://acme.zendesk.com)
3780
+ */
3781
+ subdomain: string;
3782
+
3783
+ /**
3784
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3785
+ * for backward compatibility until we remove the oauth field
3786
+ */
3787
+ access_token?: string;
3788
+ }
3789
+
3790
+ export namespace Settings {
3791
+ export interface OAuth {
3792
+ created_at?: string;
3793
+
3794
+ /**
3795
+ * Output of the postConnect hook for oauth2 connectors
3796
+ */
3797
+ credentials?: OAuth.Credentials;
3798
+
3799
+ last_fetched_at?: string;
3800
+
3801
+ metadata?: { [key: string]: unknown } | null;
3802
+
3803
+ updated_at?: string;
3804
+ }
3805
+
3806
+ export namespace OAuth {
3807
+ /**
3808
+ * Output of the postConnect hook for oauth2 connectors
3809
+ */
3810
+ export interface Credentials {
3811
+ access_token: string;
3812
+
3813
+ /**
3814
+ * Client ID used for the connection
3815
+ */
3816
+ client_id?: string;
3817
+
3818
+ expires_at?: string;
3819
+
3820
+ expires_in?: number;
3821
+
3822
+ raw?: { [key: string]: unknown };
3823
+
3824
+ refresh_token?: string;
3825
+
3826
+ scope?: string;
3827
+
3828
+ token_type?: string;
3829
+ }
3830
+ }
3831
+ }
3832
+ }
3833
+
3834
+ export interface ConnectorZoomDiscriminatedConnectionSettings {
3835
+ connector_name: 'zoom';
3836
+
3837
+ id?: string;
3838
+
3839
+ connector?: TopLevelAPI.Connector;
3840
+
3841
+ connector_config_id?: string | null;
3842
+
3843
+ created_at?: string;
3844
+
3845
+ customer_id?: string | null;
3846
+
3847
+ disabled?: boolean | null;
3848
+
3849
+ display_name?: string | null;
3850
+
3851
+ environment?: 'production' | 'development';
3852
+
3853
+ integration?: TopLevelAPI.Integration;
3854
+
3855
+ integration_id?: string | null;
3856
+
3857
+ /**
3858
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3859
+ * separate 1-1 table just for simple key values in your application. During
3860
+ * updates this object will be shallowly merged
3861
+ */
3862
+ metadata?: { [key: string]: unknown } | null;
3863
+
3864
+ settings?: ConnectorZoomDiscriminatedConnectionSettings.Settings;
3865
+
3866
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3867
+
3868
+ status_message?: string | null;
3869
+
3870
+ updated_at?: string;
3871
+ }
3872
+
3873
+ export namespace ConnectorZoomDiscriminatedConnectionSettings {
3731
3874
  export interface Settings {
3732
3875
  oauth: Settings.OAuth;
3733
3876
 
@@ -4305,17 +4448,12 @@ export namespace CreateConnectionResponse {
4305
4448
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
4306
4449
  export interface Settings {
4307
4450
  /**
4308
- * MCP access token
4309
- */
4310
- mcp: string;
4311
-
4312
- /**
4313
- * Stripe publishable key for production
4451
+ * Stripe publishable key
4314
4452
  */
4315
4453
  publishable: string;
4316
4454
 
4317
4455
  /**
4318
- * Stripe secret key for production
4456
+ * Stripe secret key
4319
4457
  */
4320
4458
  secret: string;
4321
4459
 
@@ -4324,6 +4462,26 @@ export namespace CreateConnectionResponse {
4324
4462
  */
4325
4463
  account_id?: string;
4326
4464
 
4465
+ /**
4466
+ * URL to claim/access the Stripe sandbox (development environment only)
4467
+ */
4468
+ claim_url?: string;
4469
+
4470
+ /**
4471
+ * Timestamp when the sandbox was claimed (development environment only)
4472
+ */
4473
+ claimed_at?: string;
4474
+
4475
+ /**
4476
+ * MCP access token
4477
+ */
4478
+ mcp?: string;
4479
+
4480
+ /**
4481
+ * Stripe claimable sandbox ID (development environment only)
4482
+ */
4483
+ sandbox_id?: string;
4484
+
4327
4485
  /**
4328
4486
  * Stripe webhook endpoint ID
4329
4487
  */
@@ -4541,6 +4699,7 @@ export namespace CreateConnectionResponse {
4541
4699
  export type CreateConnnectorConfigResponse =
4542
4700
  | CreateConnnectorConfigResponse.ConnectorAcmeApikeyDiscriminatedConnectorConfig
4543
4701
  | CreateConnnectorConfigResponse.ConnectorAcmeOauth2DiscriminatedConnectorConfig
4702
+ | CreateConnnectorConfigResponse.ConnectorAgentmailDiscriminatedConnectorConfig
4544
4703
  | CreateConnnectorConfigResponse.ConnectorAsanaDiscriminatedConnectorConfig
4545
4704
  | CreateConnnectorConfigResponse.ConnectorBigqueryDiscriminatedConnectorConfig
4546
4705
  | CreateConnnectorConfigResponse.ConnectorBitbucketSourceControlDiscriminatedConnectorConfig
@@ -4553,6 +4712,7 @@ export type CreateConnnectorConfigResponse =
4553
4712
  | CreateConnnectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
4554
4713
  | CreateConnnectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
4555
4714
  | CreateConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
4715
+ | CreateConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
4556
4716
  | CreateConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
4557
4717
  | CreateConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
4558
4718
  | CreateConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -4670,6 +4830,34 @@ export namespace CreateConnnectorConfigResponse {
4670
4830
  }
4671
4831
  }
4672
4832
 
4833
+ export interface ConnectorAgentmailDiscriminatedConnectorConfig {
4834
+ /**
4835
+ * Base configuration for api key connector
4836
+ */
4837
+ config: unknown;
4838
+
4839
+ connector_name: 'agentmail';
4840
+
4841
+ id?: string;
4842
+
4843
+ created_at?: string;
4844
+
4845
+ disabled?: boolean | null;
4846
+
4847
+ display_name?: string | null;
4848
+
4849
+ /**
4850
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
4851
+ * separate 1-1 table just for simple key values in your application. During
4852
+ * updates this object will be shallowly merged
4853
+ */
4854
+ metadata?: { [key: string]: unknown } | null;
4855
+
4856
+ org_id?: string;
4857
+
4858
+ updated_at?: string;
4859
+ }
4860
+
4673
4861
  export interface ConnectorAsanaDiscriminatedConnectorConfig {
4674
4862
  config: ConnectorAsanaDiscriminatedConnectorConfig.Config;
4675
4863
 
@@ -5034,10 +5222,62 @@ export namespace CreateConnnectorConfigResponse {
5034
5222
  }
5035
5223
  }
5036
5224
 
5037
- export interface ConnectorConfluenceDiscriminatedConnectorConfig {
5038
- config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
5225
+ export interface ConnectorConfluenceDiscriminatedConnectorConfig {
5226
+ config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
5227
+
5228
+ connector_name: 'confluence';
5229
+
5230
+ id?: string;
5231
+
5232
+ created_at?: string;
5233
+
5234
+ disabled?: boolean | null;
5235
+
5236
+ display_name?: string | null;
5237
+
5238
+ /**
5239
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
5240
+ * separate 1-1 table just for simple key values in your application. During
5241
+ * updates this object will be shallowly merged
5242
+ */
5243
+ metadata?: { [key: string]: unknown } | null;
5244
+
5245
+ org_id?: string;
5246
+
5247
+ updated_at?: string;
5248
+ }
5249
+
5250
+ export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
5251
+ export interface Config {
5252
+ /**
5253
+ * Base oauth configuration for the connector
5254
+ */
5255
+ oauth?: Config.OAuth | null;
5256
+ }
5257
+
5258
+ export namespace Config {
5259
+ /**
5260
+ * Base oauth configuration for the connector
5261
+ */
5262
+ export interface OAuth {
5263
+ client_id?: string | null;
5264
+
5265
+ client_secret?: string | null;
5266
+
5267
+ /**
5268
+ * Custom redirect URI
5269
+ */
5270
+ redirect_uri?: string | null;
5271
+
5272
+ scopes?: Array<string> | null;
5273
+ }
5274
+ }
5275
+ }
5276
+
5277
+ export interface ConnectorDatabricksDiscriminatedConnectorConfig {
5278
+ config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
5039
5279
 
5040
- connector_name: 'confluence';
5280
+ connector_name: 'databricks';
5041
5281
 
5042
5282
  id?: string;
5043
5283
 
@@ -5059,7 +5299,7 @@ export namespace CreateConnnectorConfigResponse {
5059
5299
  updated_at?: string;
5060
5300
  }
5061
5301
 
5062
- export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
5302
+ export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
5063
5303
  export interface Config {
5064
5304
  /**
5065
5305
  * Base oauth configuration for the connector
@@ -5086,10 +5326,10 @@ export namespace CreateConnnectorConfigResponse {
5086
5326
  }
5087
5327
  }
5088
5328
 
5089
- export interface ConnectorDatabricksDiscriminatedConnectorConfig {
5090
- config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
5329
+ export interface ConnectorDiscordDiscriminatedConnectorConfig {
5330
+ config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
5091
5331
 
5092
- connector_name: 'databricks';
5332
+ connector_name: 'discord';
5093
5333
 
5094
5334
  id?: string;
5095
5335
 
@@ -5111,7 +5351,7 @@ export namespace CreateConnnectorConfigResponse {
5111
5351
  updated_at?: string;
5112
5352
  }
5113
5353
 
5114
- export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
5354
+ export namespace ConnectorDiscordDiscriminatedConnectorConfig {
5115
5355
  export interface Config {
5116
5356
  /**
5117
5357
  * Base oauth configuration for the connector
@@ -5138,10 +5378,10 @@ export namespace CreateConnnectorConfigResponse {
5138
5378
  }
5139
5379
  }
5140
5380
 
5141
- export interface ConnectorDiscordDiscriminatedConnectorConfig {
5142
- config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
5381
+ export interface ConnectorDropboxDiscriminatedConnectorConfig {
5382
+ config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
5143
5383
 
5144
- connector_name: 'discord';
5384
+ connector_name: 'dropbox';
5145
5385
 
5146
5386
  id?: string;
5147
5387
 
@@ -5163,7 +5403,7 @@ export namespace CreateConnnectorConfigResponse {
5163
5403
  updated_at?: string;
5164
5404
  }
5165
5405
 
5166
- export namespace ConnectorDiscordDiscriminatedConnectorConfig {
5406
+ export namespace ConnectorDropboxDiscriminatedConnectorConfig {
5167
5407
  export interface Config {
5168
5408
  /**
5169
5409
  * Base oauth configuration for the connector
@@ -5190,10 +5430,10 @@ export namespace CreateConnnectorConfigResponse {
5190
5430
  }
5191
5431
  }
5192
5432
 
5193
- export interface ConnectorDropboxDiscriminatedConnectorConfig {
5194
- config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
5433
+ export interface ConnectorFigmaDiscriminatedConnectorConfig {
5434
+ config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
5195
5435
 
5196
- connector_name: 'dropbox';
5436
+ connector_name: 'figma';
5197
5437
 
5198
5438
  id?: string;
5199
5439
 
@@ -5215,7 +5455,7 @@ export namespace CreateConnnectorConfigResponse {
5215
5455
  updated_at?: string;
5216
5456
  }
5217
5457
 
5218
- export namespace ConnectorDropboxDiscriminatedConnectorConfig {
5458
+ export namespace ConnectorFigmaDiscriminatedConnectorConfig {
5219
5459
  export interface Config {
5220
5460
  /**
5221
5461
  * Base oauth configuration for the connector
@@ -5242,10 +5482,10 @@ export namespace CreateConnnectorConfigResponse {
5242
5482
  }
5243
5483
  }
5244
5484
 
5245
- export interface ConnectorFigmaDiscriminatedConnectorConfig {
5246
- config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
5485
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
5486
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
5247
5487
 
5248
- connector_name: 'figma';
5488
+ connector_name: 'github-source-control';
5249
5489
 
5250
5490
  id?: string;
5251
5491
 
@@ -5267,7 +5507,7 @@ export namespace CreateConnnectorConfigResponse {
5267
5507
  updated_at?: string;
5268
5508
  }
5269
5509
 
5270
- export namespace ConnectorFigmaDiscriminatedConnectorConfig {
5510
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
5271
5511
  export interface Config {
5272
5512
  /**
5273
5513
  * Base oauth configuration for the connector
@@ -7021,6 +7261,7 @@ export interface DeleteConnectorConfigResponse {
7021
7261
  export type GetConectorConfigResponse =
7022
7262
  | GetConectorConfigResponse.ConnectorAcmeApikeyDiscriminatedConnectorConfig
7023
7263
  | GetConectorConfigResponse.ConnectorAcmeOauth2DiscriminatedConnectorConfig
7264
+ | GetConectorConfigResponse.ConnectorAgentmailDiscriminatedConnectorConfig
7024
7265
  | GetConectorConfigResponse.ConnectorAsanaDiscriminatedConnectorConfig
7025
7266
  | GetConectorConfigResponse.ConnectorBigqueryDiscriminatedConnectorConfig
7026
7267
  | GetConectorConfigResponse.ConnectorBitbucketSourceControlDiscriminatedConnectorConfig
@@ -7033,6 +7274,7 @@ export type GetConectorConfigResponse =
7033
7274
  | GetConectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
7034
7275
  | GetConectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
7035
7276
  | GetConectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
7277
+ | GetConectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
7036
7278
  | GetConectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
7037
7279
  | GetConectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
7038
7280
  | GetConectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -7162,6 +7404,40 @@ export namespace GetConectorConfigResponse {
7162
7404
  }
7163
7405
  }
7164
7406
 
7407
+ export interface ConnectorAgentmailDiscriminatedConnectorConfig {
7408
+ /**
7409
+ * Base configuration for api key connector
7410
+ */
7411
+ config: unknown;
7412
+
7413
+ connector_name: 'agentmail';
7414
+
7415
+ id?: string;
7416
+
7417
+ connection_count?: number;
7418
+
7419
+ connector?: TopLevelAPI.Connector;
7420
+
7421
+ created_at?: string;
7422
+
7423
+ disabled?: boolean | null;
7424
+
7425
+ display_name?: string | null;
7426
+
7427
+ integrations?: { [key: string]: TopLevelAPI.Integration };
7428
+
7429
+ /**
7430
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
7431
+ * separate 1-1 table just for simple key values in your application. During
7432
+ * updates this object will be shallowly merged
7433
+ */
7434
+ metadata?: { [key: string]: unknown } | null;
7435
+
7436
+ org_id?: string;
7437
+
7438
+ updated_at?: string;
7439
+ }
7440
+
7165
7441
  export interface ConnectorAsanaDiscriminatedConnectorConfig {
7166
7442
  config: ConnectorAsanaDiscriminatedConnectorConfig.Config;
7167
7443
 
@@ -7858,6 +8134,64 @@ export namespace GetConectorConfigResponse {
7858
8134
  }
7859
8135
  }
7860
8136
 
8137
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
8138
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
8139
+
8140
+ connector_name: 'github-source-control';
8141
+
8142
+ id?: string;
8143
+
8144
+ connection_count?: number;
8145
+
8146
+ connector?: TopLevelAPI.Connector;
8147
+
8148
+ created_at?: string;
8149
+
8150
+ disabled?: boolean | null;
8151
+
8152
+ display_name?: string | null;
8153
+
8154
+ integrations?: { [key: string]: TopLevelAPI.Integration };
8155
+
8156
+ /**
8157
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
8158
+ * separate 1-1 table just for simple key values in your application. During
8159
+ * updates this object will be shallowly merged
8160
+ */
8161
+ metadata?: { [key: string]: unknown } | null;
8162
+
8163
+ org_id?: string;
8164
+
8165
+ updated_at?: string;
8166
+ }
8167
+
8168
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
8169
+ export interface Config {
8170
+ /**
8171
+ * Base oauth configuration for the connector
8172
+ */
8173
+ oauth?: Config.OAuth | null;
8174
+ }
8175
+
8176
+ export namespace Config {
8177
+ /**
8178
+ * Base oauth configuration for the connector
8179
+ */
8180
+ export interface OAuth {
8181
+ client_id?: string | null;
8182
+
8183
+ client_secret?: string | null;
8184
+
8185
+ /**
8186
+ * Custom redirect URI
8187
+ */
8188
+ redirect_uri?: string | null;
8189
+
8190
+ scopes?: Array<string> | null;
8191
+ }
8192
+ }
8193
+ }
8194
+
7861
8195
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
7862
8196
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
7863
8197
 
@@ -9753,6 +10087,7 @@ export namespace GetConectorConfigResponse {
9753
10087
  export type GetConnectionResponse =
9754
10088
  | GetConnectionResponse.ConnectorAcmeApikeyDiscriminatedConnectionSettings
9755
10089
  | GetConnectionResponse.ConnectorAcmeOauth2DiscriminatedConnectionSettings
10090
+ | GetConnectionResponse.ConnectorAgentmailDiscriminatedConnectionSettings
9756
10091
  | GetConnectionResponse.ConnectorAsanaDiscriminatedConnectionSettings
9757
10092
  | GetConnectionResponse.ConnectorBigqueryDiscriminatedConnectionSettings
9758
10093
  | GetConnectionResponse.ConnectorBitbucketSourceControlDiscriminatedConnectionSettings
@@ -9765,6 +10100,7 @@ export type GetConnectionResponse =
9765
10100
  | GetConnectionResponse.ConnectorDiscordDiscriminatedConnectionSettings
9766
10101
  | GetConnectionResponse.ConnectorDropboxDiscriminatedConnectionSettings
9767
10102
  | GetConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
10103
+ | GetConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
9768
10104
  | GetConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
9769
10105
  | GetConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
9770
10106
  | GetConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -9941,6 +10277,51 @@ export namespace GetConnectionResponse {
9941
10277
  }
9942
10278
  }
9943
10279
 
10280
+ export interface ConnectorAgentmailDiscriminatedConnectionSettings {
10281
+ connector_name: 'agentmail';
10282
+
10283
+ id?: string;
10284
+
10285
+ connector?: TopLevelAPI.Connector;
10286
+
10287
+ connector_config_id?: string | null;
10288
+
10289
+ created_at?: string;
10290
+
10291
+ customer_id?: string | null;
10292
+
10293
+ disabled?: boolean | null;
10294
+
10295
+ display_name?: string | null;
10296
+
10297
+ environment?: 'production' | 'development';
10298
+
10299
+ integration?: TopLevelAPI.Integration;
10300
+
10301
+ integration_id?: string | null;
10302
+
10303
+ /**
10304
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
10305
+ * separate 1-1 table just for simple key values in your application. During
10306
+ * updates this object will be shallowly merged
10307
+ */
10308
+ metadata?: { [key: string]: unknown } | null;
10309
+
10310
+ settings?: ConnectorAgentmailDiscriminatedConnectionSettings.Settings;
10311
+
10312
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
10313
+
10314
+ status_message?: string | null;
10315
+
10316
+ updated_at?: string;
10317
+ }
10318
+
10319
+ export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
10320
+ export interface Settings {
10321
+ api_key: string;
10322
+ }
10323
+ }
10324
+
9944
10325
  export interface ConnectorAsanaDiscriminatedConnectionSettings {
9945
10326
  connector_name: 'asana';
9946
10327
 
@@ -10923,7 +11304,101 @@ export namespace GetConnectionResponse {
10923
11304
  */
10924
11305
  metadata?: { [key: string]: unknown } | null;
10925
11306
 
10926
- settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
11307
+ settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
11308
+
11309
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11310
+
11311
+ status_message?: string | null;
11312
+
11313
+ updated_at?: string;
11314
+ }
11315
+
11316
+ export namespace ConnectorDropboxDiscriminatedConnectionSettings {
11317
+ export interface Settings {
11318
+ oauth: Settings.OAuth;
11319
+
11320
+ /**
11321
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
11322
+ * for backward compatibility until we remove the oauth field
11323
+ */
11324
+ access_token?: string;
11325
+ }
11326
+
11327
+ export namespace Settings {
11328
+ export interface OAuth {
11329
+ created_at?: string;
11330
+
11331
+ /**
11332
+ * Output of the postConnect hook for oauth2 connectors
11333
+ */
11334
+ credentials?: OAuth.Credentials;
11335
+
11336
+ last_fetched_at?: string;
11337
+
11338
+ metadata?: { [key: string]: unknown } | null;
11339
+
11340
+ updated_at?: string;
11341
+ }
11342
+
11343
+ export namespace OAuth {
11344
+ /**
11345
+ * Output of the postConnect hook for oauth2 connectors
11346
+ */
11347
+ export interface Credentials {
11348
+ access_token: string;
11349
+
11350
+ /**
11351
+ * Client ID used for the connection
11352
+ */
11353
+ client_id?: string;
11354
+
11355
+ expires_at?: string;
11356
+
11357
+ expires_in?: number;
11358
+
11359
+ raw?: { [key: string]: unknown };
11360
+
11361
+ refresh_token?: string;
11362
+
11363
+ scope?: string;
11364
+
11365
+ token_type?: string;
11366
+ }
11367
+ }
11368
+ }
11369
+ }
11370
+
11371
+ export interface ConnectorFigmaDiscriminatedConnectionSettings {
11372
+ connector_name: 'figma';
11373
+
11374
+ id?: string;
11375
+
11376
+ connector?: TopLevelAPI.Connector;
11377
+
11378
+ connector_config_id?: string | null;
11379
+
11380
+ created_at?: string;
11381
+
11382
+ customer_id?: string | null;
11383
+
11384
+ disabled?: boolean | null;
11385
+
11386
+ display_name?: string | null;
11387
+
11388
+ environment?: 'production' | 'development';
11389
+
11390
+ integration?: TopLevelAPI.Integration;
11391
+
11392
+ integration_id?: string | null;
11393
+
11394
+ /**
11395
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
11396
+ * separate 1-1 table just for simple key values in your application. During
11397
+ * updates this object will be shallowly merged
11398
+ */
11399
+ metadata?: { [key: string]: unknown } | null;
11400
+
11401
+ settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
10927
11402
 
10928
11403
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
10929
11404
 
@@ -10932,7 +11407,7 @@ export namespace GetConnectionResponse {
10932
11407
  updated_at?: string;
10933
11408
  }
10934
11409
 
10935
- export namespace ConnectorDropboxDiscriminatedConnectionSettings {
11410
+ export namespace ConnectorFigmaDiscriminatedConnectionSettings {
10936
11411
  export interface Settings {
10937
11412
  oauth: Settings.OAuth;
10938
11413
 
@@ -10987,8 +11462,8 @@ export namespace GetConnectionResponse {
10987
11462
  }
10988
11463
  }
10989
11464
 
10990
- export interface ConnectorFigmaDiscriminatedConnectionSettings {
10991
- connector_name: 'figma';
11465
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
11466
+ connector_name: 'github-source-control';
10992
11467
 
10993
11468
  id?: string;
10994
11469
 
@@ -11017,7 +11492,7 @@ export namespace GetConnectionResponse {
11017
11492
  */
11018
11493
  metadata?: { [key: string]: unknown } | null;
11019
11494
 
11020
- settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
11495
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
11021
11496
 
11022
11497
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11023
11498
 
@@ -11026,7 +11501,7 @@ export namespace GetConnectionResponse {
11026
11501
  updated_at?: string;
11027
11502
  }
11028
11503
 
11029
- export namespace ConnectorFigmaDiscriminatedConnectionSettings {
11504
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
11030
11505
  export interface Settings {
11031
11506
  oauth: Settings.OAuth;
11032
11507
 
@@ -13881,17 +14356,12 @@ export namespace GetConnectionResponse {
13881
14356
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
13882
14357
  export interface Settings {
13883
14358
  /**
13884
- * MCP access token
13885
- */
13886
- mcp: string;
13887
-
13888
- /**
13889
- * Stripe publishable key for production
14359
+ * Stripe publishable key
13890
14360
  */
13891
14361
  publishable: string;
13892
14362
 
13893
14363
  /**
13894
- * Stripe secret key for production
14364
+ * Stripe secret key
13895
14365
  */
13896
14366
  secret: string;
13897
14367
 
@@ -13900,6 +14370,26 @@ export namespace GetConnectionResponse {
13900
14370
  */
13901
14371
  account_id?: string;
13902
14372
 
14373
+ /**
14374
+ * URL to claim/access the Stripe sandbox (development environment only)
14375
+ */
14376
+ claim_url?: string;
14377
+
14378
+ /**
14379
+ * Timestamp when the sandbox was claimed (development environment only)
14380
+ */
14381
+ claimed_at?: string;
14382
+
14383
+ /**
14384
+ * MCP access token
14385
+ */
14386
+ mcp?: string;
14387
+
14388
+ /**
14389
+ * Stripe claimable sandbox ID (development environment only)
14390
+ */
14391
+ sandbox_id?: string;
14392
+
13903
14393
  /**
13904
14394
  * Stripe webhook endpoint ID
13905
14395
  */
@@ -14143,6 +14633,7 @@ export namespace ListAssignmentsResponse {
14143
14633
  export type ListConnectionsResponse =
14144
14634
  | ListConnectionsResponse.ConnectorAcmeApikeyDiscriminatedConnectionSettings
14145
14635
  | ListConnectionsResponse.ConnectorAcmeOauth2DiscriminatedConnectionSettings
14636
+ | ListConnectionsResponse.ConnectorAgentmailDiscriminatedConnectionSettings
14146
14637
  | ListConnectionsResponse.ConnectorAsanaDiscriminatedConnectionSettings
14147
14638
  | ListConnectionsResponse.ConnectorBigqueryDiscriminatedConnectionSettings
14148
14639
  | ListConnectionsResponse.ConnectorBitbucketSourceControlDiscriminatedConnectionSettings
@@ -14155,6 +14646,7 @@ export type ListConnectionsResponse =
14155
14646
  | ListConnectionsResponse.ConnectorDiscordDiscriminatedConnectionSettings
14156
14647
  | ListConnectionsResponse.ConnectorDropboxDiscriminatedConnectionSettings
14157
14648
  | ListConnectionsResponse.ConnectorFigmaDiscriminatedConnectionSettings
14649
+ | ListConnectionsResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
14158
14650
  | ListConnectionsResponse.ConnectorGitHubDiscriminatedConnectionSettings
14159
14651
  | ListConnectionsResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
14160
14652
  | ListConnectionsResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -14331,6 +14823,51 @@ export namespace ListConnectionsResponse {
14331
14823
  }
14332
14824
  }
14333
14825
 
14826
+ export interface ConnectorAgentmailDiscriminatedConnectionSettings {
14827
+ connector_name: 'agentmail';
14828
+
14829
+ id?: string;
14830
+
14831
+ connector?: TopLevelAPI.Connector;
14832
+
14833
+ connector_config_id?: string | null;
14834
+
14835
+ created_at?: string;
14836
+
14837
+ customer_id?: string | null;
14838
+
14839
+ disabled?: boolean | null;
14840
+
14841
+ display_name?: string | null;
14842
+
14843
+ environment?: 'production' | 'development';
14844
+
14845
+ integration?: TopLevelAPI.Integration;
14846
+
14847
+ integration_id?: string | null;
14848
+
14849
+ /**
14850
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
14851
+ * separate 1-1 table just for simple key values in your application. During
14852
+ * updates this object will be shallowly merged
14853
+ */
14854
+ metadata?: { [key: string]: unknown } | null;
14855
+
14856
+ settings?: ConnectorAgentmailDiscriminatedConnectionSettings.Settings;
14857
+
14858
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
14859
+
14860
+ status_message?: string | null;
14861
+
14862
+ updated_at?: string;
14863
+ }
14864
+
14865
+ export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
14866
+ export interface Settings {
14867
+ api_key: string;
14868
+ }
14869
+ }
14870
+
14334
14871
  export interface ConnectorAsanaDiscriminatedConnectionSettings {
14335
14872
  connector_name: 'asana';
14336
14873
 
@@ -14831,7 +15368,195 @@ export namespace ListConnectionsResponse {
14831
15368
  */
14832
15369
  metadata?: { [key: string]: unknown } | null;
14833
15370
 
14834
- settings?: ConnectorCalendlyDiscriminatedConnectionSettings.Settings;
15371
+ settings?: ConnectorCalendlyDiscriminatedConnectionSettings.Settings;
15372
+
15373
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15374
+
15375
+ status_message?: string | null;
15376
+
15377
+ updated_at?: string;
15378
+ }
15379
+
15380
+ export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
15381
+ export interface Settings {
15382
+ oauth: Settings.OAuth;
15383
+
15384
+ /**
15385
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
15386
+ * for backward compatibility until we remove the oauth field
15387
+ */
15388
+ access_token?: string;
15389
+ }
15390
+
15391
+ export namespace Settings {
15392
+ export interface OAuth {
15393
+ created_at?: string;
15394
+
15395
+ /**
15396
+ * Output of the postConnect hook for oauth2 connectors
15397
+ */
15398
+ credentials?: OAuth.Credentials;
15399
+
15400
+ last_fetched_at?: string;
15401
+
15402
+ metadata?: { [key: string]: unknown } | null;
15403
+
15404
+ updated_at?: string;
15405
+ }
15406
+
15407
+ export namespace OAuth {
15408
+ /**
15409
+ * Output of the postConnect hook for oauth2 connectors
15410
+ */
15411
+ export interface Credentials {
15412
+ access_token: string;
15413
+
15414
+ /**
15415
+ * Client ID used for the connection
15416
+ */
15417
+ client_id?: string;
15418
+
15419
+ expires_at?: string;
15420
+
15421
+ expires_in?: number;
15422
+
15423
+ raw?: { [key: string]: unknown };
15424
+
15425
+ refresh_token?: string;
15426
+
15427
+ scope?: string;
15428
+
15429
+ token_type?: string;
15430
+ }
15431
+ }
15432
+ }
15433
+ }
15434
+
15435
+ export interface ConnectorClickupDiscriminatedConnectionSettings {
15436
+ connector_name: 'clickup';
15437
+
15438
+ id?: string;
15439
+
15440
+ connector?: TopLevelAPI.Connector;
15441
+
15442
+ connector_config_id?: string | null;
15443
+
15444
+ created_at?: string;
15445
+
15446
+ customer_id?: string | null;
15447
+
15448
+ disabled?: boolean | null;
15449
+
15450
+ display_name?: string | null;
15451
+
15452
+ environment?: 'production' | 'development';
15453
+
15454
+ integration?: TopLevelAPI.Integration;
15455
+
15456
+ integration_id?: string | null;
15457
+
15458
+ /**
15459
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
15460
+ * separate 1-1 table just for simple key values in your application. During
15461
+ * updates this object will be shallowly merged
15462
+ */
15463
+ metadata?: { [key: string]: unknown } | null;
15464
+
15465
+ settings?: ConnectorClickupDiscriminatedConnectionSettings.Settings;
15466
+
15467
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15468
+
15469
+ status_message?: string | null;
15470
+
15471
+ updated_at?: string;
15472
+ }
15473
+
15474
+ export namespace ConnectorClickupDiscriminatedConnectionSettings {
15475
+ export interface Settings {
15476
+ oauth: Settings.OAuth;
15477
+
15478
+ /**
15479
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
15480
+ * for backward compatibility until we remove the oauth field
15481
+ */
15482
+ access_token?: string;
15483
+ }
15484
+
15485
+ export namespace Settings {
15486
+ export interface OAuth {
15487
+ created_at?: string;
15488
+
15489
+ /**
15490
+ * Output of the postConnect hook for oauth2 connectors
15491
+ */
15492
+ credentials?: OAuth.Credentials;
15493
+
15494
+ last_fetched_at?: string;
15495
+
15496
+ metadata?: { [key: string]: unknown } | null;
15497
+
15498
+ updated_at?: string;
15499
+ }
15500
+
15501
+ export namespace OAuth {
15502
+ /**
15503
+ * Output of the postConnect hook for oauth2 connectors
15504
+ */
15505
+ export interface Credentials {
15506
+ access_token: string;
15507
+
15508
+ /**
15509
+ * Client ID used for the connection
15510
+ */
15511
+ client_id?: string;
15512
+
15513
+ expires_at?: string;
15514
+
15515
+ expires_in?: number;
15516
+
15517
+ raw?: { [key: string]: unknown };
15518
+
15519
+ refresh_token?: string;
15520
+
15521
+ scope?: string;
15522
+
15523
+ token_type?: string;
15524
+ }
15525
+ }
15526
+ }
15527
+ }
15528
+
15529
+ export interface ConnectorConfluenceDiscriminatedConnectionSettings {
15530
+ connector_name: 'confluence';
15531
+
15532
+ id?: string;
15533
+
15534
+ connector?: TopLevelAPI.Connector;
15535
+
15536
+ connector_config_id?: string | null;
15537
+
15538
+ created_at?: string;
15539
+
15540
+ customer_id?: string | null;
15541
+
15542
+ disabled?: boolean | null;
15543
+
15544
+ display_name?: string | null;
15545
+
15546
+ environment?: 'production' | 'development';
15547
+
15548
+ integration?: TopLevelAPI.Integration;
15549
+
15550
+ integration_id?: string | null;
15551
+
15552
+ /**
15553
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
15554
+ * separate 1-1 table just for simple key values in your application. During
15555
+ * updates this object will be shallowly merged
15556
+ */
15557
+ metadata?: { [key: string]: unknown } | null;
15558
+
15559
+ settings?: ConnectorConfluenceDiscriminatedConnectionSettings.Settings;
14835
15560
 
14836
15561
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
14837
15562
 
@@ -14840,103 +15565,14 @@ export namespace ListConnectionsResponse {
14840
15565
  updated_at?: string;
14841
15566
  }
14842
15567
 
14843
- export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
15568
+ export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
14844
15569
  export interface Settings {
14845
15570
  oauth: Settings.OAuth;
14846
15571
 
14847
15572
  /**
14848
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
14849
- * for backward compatibility until we remove the oauth field
15573
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
14850
15574
  */
14851
- access_token?: string;
14852
- }
14853
-
14854
- export namespace Settings {
14855
- export interface OAuth {
14856
- created_at?: string;
14857
-
14858
- /**
14859
- * Output of the postConnect hook for oauth2 connectors
14860
- */
14861
- credentials?: OAuth.Credentials;
14862
-
14863
- last_fetched_at?: string;
14864
-
14865
- metadata?: { [key: string]: unknown } | null;
14866
-
14867
- updated_at?: string;
14868
- }
14869
-
14870
- export namespace OAuth {
14871
- /**
14872
- * Output of the postConnect hook for oauth2 connectors
14873
- */
14874
- export interface Credentials {
14875
- access_token: string;
14876
-
14877
- /**
14878
- * Client ID used for the connection
14879
- */
14880
- client_id?: string;
14881
-
14882
- expires_at?: string;
14883
-
14884
- expires_in?: number;
14885
-
14886
- raw?: { [key: string]: unknown };
14887
-
14888
- refresh_token?: string;
14889
-
14890
- scope?: string;
14891
-
14892
- token_type?: string;
14893
- }
14894
- }
14895
- }
14896
- }
14897
-
14898
- export interface ConnectorClickupDiscriminatedConnectionSettings {
14899
- connector_name: 'clickup';
14900
-
14901
- id?: string;
14902
-
14903
- connector?: TopLevelAPI.Connector;
14904
-
14905
- connector_config_id?: string | null;
14906
-
14907
- created_at?: string;
14908
-
14909
- customer_id?: string | null;
14910
-
14911
- disabled?: boolean | null;
14912
-
14913
- display_name?: string | null;
14914
-
14915
- environment?: 'production' | 'development';
14916
-
14917
- integration?: TopLevelAPI.Integration;
14918
-
14919
- integration_id?: string | null;
14920
-
14921
- /**
14922
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
14923
- * separate 1-1 table just for simple key values in your application. During
14924
- * updates this object will be shallowly merged
14925
- */
14926
- metadata?: { [key: string]: unknown } | null;
14927
-
14928
- settings?: ConnectorClickupDiscriminatedConnectionSettings.Settings;
14929
-
14930
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
14931
-
14932
- status_message?: string | null;
14933
-
14934
- updated_at?: string;
14935
- }
14936
-
14937
- export namespace ConnectorClickupDiscriminatedConnectionSettings {
14938
- export interface Settings {
14939
- oauth: Settings.OAuth;
15575
+ site_url: string;
14940
15576
 
14941
15577
  /**
14942
15578
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
@@ -14989,8 +15625,8 @@ export namespace ListConnectionsResponse {
14989
15625
  }
14990
15626
  }
14991
15627
 
14992
- export interface ConnectorConfluenceDiscriminatedConnectionSettings {
14993
- connector_name: 'confluence';
15628
+ export interface ConnectorDatabricksDiscriminatedConnectionSettings {
15629
+ connector_name: 'databricks';
14994
15630
 
14995
15631
  id?: string;
14996
15632
 
@@ -15019,7 +15655,7 @@ export namespace ListConnectionsResponse {
15019
15655
  */
15020
15656
  metadata?: { [key: string]: unknown } | null;
15021
15657
 
15022
- settings?: ConnectorConfluenceDiscriminatedConnectionSettings.Settings;
15658
+ settings?: ConnectorDatabricksDiscriminatedConnectionSettings.Settings;
15023
15659
 
15024
15660
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15025
15661
 
@@ -15028,14 +15664,16 @@ export namespace ListConnectionsResponse {
15028
15664
  updated_at?: string;
15029
15665
  }
15030
15666
 
15031
- export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
15667
+ export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
15032
15668
  export interface Settings {
15033
- oauth: Settings.OAuth;
15034
-
15035
15669
  /**
15036
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
15670
+ * Your Databricks workspace instance name (e.g., "your-workspace" for
15671
+ * your-workspace.cloud.databricks.com). Do not include https:// or
15672
+ * .cloud.databricks.com
15037
15673
  */
15038
- site_url: string;
15674
+ databricks_instance: string;
15675
+
15676
+ oauth: Settings.OAuth;
15039
15677
 
15040
15678
  /**
15041
15679
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
@@ -15088,8 +15726,8 @@ export namespace ListConnectionsResponse {
15088
15726
  }
15089
15727
  }
15090
15728
 
15091
- export interface ConnectorDatabricksDiscriminatedConnectionSettings {
15092
- connector_name: 'databricks';
15729
+ export interface ConnectorDiscordDiscriminatedConnectionSettings {
15730
+ connector_name: 'discord';
15093
15731
 
15094
15732
  id?: string;
15095
15733
 
@@ -15118,7 +15756,7 @@ export namespace ListConnectionsResponse {
15118
15756
  */
15119
15757
  metadata?: { [key: string]: unknown } | null;
15120
15758
 
15121
- settings?: ConnectorDatabricksDiscriminatedConnectionSettings.Settings;
15759
+ settings?: ConnectorDiscordDiscriminatedConnectionSettings.Settings;
15122
15760
 
15123
15761
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15124
15762
 
@@ -15127,15 +15765,8 @@ export namespace ListConnectionsResponse {
15127
15765
  updated_at?: string;
15128
15766
  }
15129
15767
 
15130
- export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
15768
+ export namespace ConnectorDiscordDiscriminatedConnectionSettings {
15131
15769
  export interface Settings {
15132
- /**
15133
- * Your Databricks workspace instance name (e.g., "your-workspace" for
15134
- * your-workspace.cloud.databricks.com). Do not include https:// or
15135
- * .cloud.databricks.com
15136
- */
15137
- databricks_instance: string;
15138
-
15139
15770
  oauth: Settings.OAuth;
15140
15771
 
15141
15772
  /**
@@ -15189,8 +15820,8 @@ export namespace ListConnectionsResponse {
15189
15820
  }
15190
15821
  }
15191
15822
 
15192
- export interface ConnectorDiscordDiscriminatedConnectionSettings {
15193
- connector_name: 'discord';
15823
+ export interface ConnectorDropboxDiscriminatedConnectionSettings {
15824
+ connector_name: 'dropbox';
15194
15825
 
15195
15826
  id?: string;
15196
15827
 
@@ -15219,7 +15850,7 @@ export namespace ListConnectionsResponse {
15219
15850
  */
15220
15851
  metadata?: { [key: string]: unknown } | null;
15221
15852
 
15222
- settings?: ConnectorDiscordDiscriminatedConnectionSettings.Settings;
15853
+ settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
15223
15854
 
15224
15855
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15225
15856
 
@@ -15228,7 +15859,7 @@ export namespace ListConnectionsResponse {
15228
15859
  updated_at?: string;
15229
15860
  }
15230
15861
 
15231
- export namespace ConnectorDiscordDiscriminatedConnectionSettings {
15862
+ export namespace ConnectorDropboxDiscriminatedConnectionSettings {
15232
15863
  export interface Settings {
15233
15864
  oauth: Settings.OAuth;
15234
15865
 
@@ -15283,8 +15914,8 @@ export namespace ListConnectionsResponse {
15283
15914
  }
15284
15915
  }
15285
15916
 
15286
- export interface ConnectorDropboxDiscriminatedConnectionSettings {
15287
- connector_name: 'dropbox';
15917
+ export interface ConnectorFigmaDiscriminatedConnectionSettings {
15918
+ connector_name: 'figma';
15288
15919
 
15289
15920
  id?: string;
15290
15921
 
@@ -15313,7 +15944,7 @@ export namespace ListConnectionsResponse {
15313
15944
  */
15314
15945
  metadata?: { [key: string]: unknown } | null;
15315
15946
 
15316
- settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
15947
+ settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
15317
15948
 
15318
15949
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15319
15950
 
@@ -15322,7 +15953,7 @@ export namespace ListConnectionsResponse {
15322
15953
  updated_at?: string;
15323
15954
  }
15324
15955
 
15325
- export namespace ConnectorDropboxDiscriminatedConnectionSettings {
15956
+ export namespace ConnectorFigmaDiscriminatedConnectionSettings {
15326
15957
  export interface Settings {
15327
15958
  oauth: Settings.OAuth;
15328
15959
 
@@ -15377,8 +16008,8 @@ export namespace ListConnectionsResponse {
15377
16008
  }
15378
16009
  }
15379
16010
 
15380
- export interface ConnectorFigmaDiscriminatedConnectionSettings {
15381
- connector_name: 'figma';
16011
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
16012
+ connector_name: 'github-source-control';
15382
16013
 
15383
16014
  id?: string;
15384
16015
 
@@ -15407,7 +16038,7 @@ export namespace ListConnectionsResponse {
15407
16038
  */
15408
16039
  metadata?: { [key: string]: unknown } | null;
15409
16040
 
15410
- settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
16041
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
15411
16042
 
15412
16043
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
15413
16044
 
@@ -15416,7 +16047,7 @@ export namespace ListConnectionsResponse {
15416
16047
  updated_at?: string;
15417
16048
  }
15418
16049
 
15419
- export namespace ConnectorFigmaDiscriminatedConnectionSettings {
16050
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
15420
16051
  export interface Settings {
15421
16052
  oauth: Settings.OAuth;
15422
16053
 
@@ -18271,17 +18902,12 @@ export namespace ListConnectionsResponse {
18271
18902
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
18272
18903
  export interface Settings {
18273
18904
  /**
18274
- * MCP access token
18275
- */
18276
- mcp: string;
18277
-
18278
- /**
18279
- * Stripe publishable key for production
18905
+ * Stripe publishable key
18280
18906
  */
18281
18907
  publishable: string;
18282
18908
 
18283
18909
  /**
18284
- * Stripe secret key for production
18910
+ * Stripe secret key
18285
18911
  */
18286
18912
  secret: string;
18287
18913
 
@@ -18290,6 +18916,26 @@ export namespace ListConnectionsResponse {
18290
18916
  */
18291
18917
  account_id?: string;
18292
18918
 
18919
+ /**
18920
+ * URL to claim/access the Stripe sandbox (development environment only)
18921
+ */
18922
+ claim_url?: string;
18923
+
18924
+ /**
18925
+ * Timestamp when the sandbox was claimed (development environment only)
18926
+ */
18927
+ claimed_at?: string;
18928
+
18929
+ /**
18930
+ * MCP access token
18931
+ */
18932
+ mcp?: string;
18933
+
18934
+ /**
18935
+ * Stripe claimable sandbox ID (development environment only)
18936
+ */
18937
+ sandbox_id?: string;
18938
+
18293
18939
  /**
18294
18940
  * Stripe webhook endpoint ID
18295
18941
  */
@@ -18507,6 +19153,7 @@ export namespace ListConnectionsResponse {
18507
19153
  export type ListConnectorConfigsResponse =
18508
19154
  | ListConnectorConfigsResponse.ConnectorAcmeApikeyDiscriminatedConnectorConfig
18509
19155
  | ListConnectorConfigsResponse.ConnectorAcmeOauth2DiscriminatedConnectorConfig
19156
+ | ListConnectorConfigsResponse.ConnectorAgentmailDiscriminatedConnectorConfig
18510
19157
  | ListConnectorConfigsResponse.ConnectorAsanaDiscriminatedConnectorConfig
18511
19158
  | ListConnectorConfigsResponse.ConnectorBigqueryDiscriminatedConnectorConfig
18512
19159
  | ListConnectorConfigsResponse.ConnectorBitbucketSourceControlDiscriminatedConnectorConfig
@@ -18519,6 +19166,7 @@ export type ListConnectorConfigsResponse =
18519
19166
  | ListConnectorConfigsResponse.ConnectorDiscordDiscriminatedConnectorConfig
18520
19167
  | ListConnectorConfigsResponse.ConnectorDropboxDiscriminatedConnectorConfig
18521
19168
  | ListConnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
19169
+ | ListConnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
18522
19170
  | ListConnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
18523
19171
  | ListConnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
18524
19172
  | ListConnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -18648,6 +19296,40 @@ export namespace ListConnectorConfigsResponse {
18648
19296
  }
18649
19297
  }
18650
19298
 
19299
+ export interface ConnectorAgentmailDiscriminatedConnectorConfig {
19300
+ /**
19301
+ * Base configuration for api key connector
19302
+ */
19303
+ config: unknown;
19304
+
19305
+ connector_name: 'agentmail';
19306
+
19307
+ id?: string;
19308
+
19309
+ connection_count?: number;
19310
+
19311
+ connector?: TopLevelAPI.Connector;
19312
+
19313
+ created_at?: string;
19314
+
19315
+ disabled?: boolean | null;
19316
+
19317
+ display_name?: string | null;
19318
+
19319
+ integrations?: { [key: string]: TopLevelAPI.Integration };
19320
+
19321
+ /**
19322
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
19323
+ * separate 1-1 table just for simple key values in your application. During
19324
+ * updates this object will be shallowly merged
19325
+ */
19326
+ metadata?: { [key: string]: unknown } | null;
19327
+
19328
+ org_id?: string;
19329
+
19330
+ updated_at?: string;
19331
+ }
19332
+
18651
19333
  export interface ConnectorAsanaDiscriminatedConnectorConfig {
18652
19334
  config: ConnectorAsanaDiscriminatedConnectorConfig.Config;
18653
19335
 
@@ -18996,10 +19678,68 @@ export namespace ListConnectorConfigsResponse {
18996
19678
  }
18997
19679
  }
18998
19680
 
18999
- export interface ConnectorClickupDiscriminatedConnectorConfig {
19000
- config: ConnectorClickupDiscriminatedConnectorConfig.Config;
19681
+ export interface ConnectorClickupDiscriminatedConnectorConfig {
19682
+ config: ConnectorClickupDiscriminatedConnectorConfig.Config;
19683
+
19684
+ connector_name: 'clickup';
19685
+
19686
+ id?: string;
19687
+
19688
+ connection_count?: number;
19689
+
19690
+ connector?: TopLevelAPI.Connector;
19691
+
19692
+ created_at?: string;
19693
+
19694
+ disabled?: boolean | null;
19695
+
19696
+ display_name?: string | null;
19697
+
19698
+ integrations?: { [key: string]: TopLevelAPI.Integration };
19699
+
19700
+ /**
19701
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
19702
+ * separate 1-1 table just for simple key values in your application. During
19703
+ * updates this object will be shallowly merged
19704
+ */
19705
+ metadata?: { [key: string]: unknown } | null;
19706
+
19707
+ org_id?: string;
19708
+
19709
+ updated_at?: string;
19710
+ }
19711
+
19712
+ export namespace ConnectorClickupDiscriminatedConnectorConfig {
19713
+ export interface Config {
19714
+ /**
19715
+ * Base oauth configuration for the connector
19716
+ */
19717
+ oauth?: Config.OAuth | null;
19718
+ }
19719
+
19720
+ export namespace Config {
19721
+ /**
19722
+ * Base oauth configuration for the connector
19723
+ */
19724
+ export interface OAuth {
19725
+ client_id?: string | null;
19726
+
19727
+ client_secret?: string | null;
19728
+
19729
+ /**
19730
+ * Custom redirect URI
19731
+ */
19732
+ redirect_uri?: string | null;
19733
+
19734
+ scopes?: Array<string> | null;
19735
+ }
19736
+ }
19737
+ }
19738
+
19739
+ export interface ConnectorConfluenceDiscriminatedConnectorConfig {
19740
+ config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
19001
19741
 
19002
- connector_name: 'clickup';
19742
+ connector_name: 'confluence';
19003
19743
 
19004
19744
  id?: string;
19005
19745
 
@@ -19027,7 +19767,7 @@ export namespace ListConnectorConfigsResponse {
19027
19767
  updated_at?: string;
19028
19768
  }
19029
19769
 
19030
- export namespace ConnectorClickupDiscriminatedConnectorConfig {
19770
+ export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
19031
19771
  export interface Config {
19032
19772
  /**
19033
19773
  * Base oauth configuration for the connector
@@ -19054,10 +19794,10 @@ export namespace ListConnectorConfigsResponse {
19054
19794
  }
19055
19795
  }
19056
19796
 
19057
- export interface ConnectorConfluenceDiscriminatedConnectorConfig {
19058
- config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
19797
+ export interface ConnectorDatabricksDiscriminatedConnectorConfig {
19798
+ config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
19059
19799
 
19060
- connector_name: 'confluence';
19800
+ connector_name: 'databricks';
19061
19801
 
19062
19802
  id?: string;
19063
19803
 
@@ -19085,7 +19825,7 @@ export namespace ListConnectorConfigsResponse {
19085
19825
  updated_at?: string;
19086
19826
  }
19087
19827
 
19088
- export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
19828
+ export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
19089
19829
  export interface Config {
19090
19830
  /**
19091
19831
  * Base oauth configuration for the connector
@@ -19112,10 +19852,10 @@ export namespace ListConnectorConfigsResponse {
19112
19852
  }
19113
19853
  }
19114
19854
 
19115
- export interface ConnectorDatabricksDiscriminatedConnectorConfig {
19116
- config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
19855
+ export interface ConnectorDiscordDiscriminatedConnectorConfig {
19856
+ config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
19117
19857
 
19118
- connector_name: 'databricks';
19858
+ connector_name: 'discord';
19119
19859
 
19120
19860
  id?: string;
19121
19861
 
@@ -19143,7 +19883,7 @@ export namespace ListConnectorConfigsResponse {
19143
19883
  updated_at?: string;
19144
19884
  }
19145
19885
 
19146
- export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
19886
+ export namespace ConnectorDiscordDiscriminatedConnectorConfig {
19147
19887
  export interface Config {
19148
19888
  /**
19149
19889
  * Base oauth configuration for the connector
@@ -19170,10 +19910,10 @@ export namespace ListConnectorConfigsResponse {
19170
19910
  }
19171
19911
  }
19172
19912
 
19173
- export interface ConnectorDiscordDiscriminatedConnectorConfig {
19174
- config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
19913
+ export interface ConnectorDropboxDiscriminatedConnectorConfig {
19914
+ config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
19175
19915
 
19176
- connector_name: 'discord';
19916
+ connector_name: 'dropbox';
19177
19917
 
19178
19918
  id?: string;
19179
19919
 
@@ -19201,7 +19941,7 @@ export namespace ListConnectorConfigsResponse {
19201
19941
  updated_at?: string;
19202
19942
  }
19203
19943
 
19204
- export namespace ConnectorDiscordDiscriminatedConnectorConfig {
19944
+ export namespace ConnectorDropboxDiscriminatedConnectorConfig {
19205
19945
  export interface Config {
19206
19946
  /**
19207
19947
  * Base oauth configuration for the connector
@@ -19228,10 +19968,10 @@ export namespace ListConnectorConfigsResponse {
19228
19968
  }
19229
19969
  }
19230
19970
 
19231
- export interface ConnectorDropboxDiscriminatedConnectorConfig {
19232
- config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
19971
+ export interface ConnectorFigmaDiscriminatedConnectorConfig {
19972
+ config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
19233
19973
 
19234
- connector_name: 'dropbox';
19974
+ connector_name: 'figma';
19235
19975
 
19236
19976
  id?: string;
19237
19977
 
@@ -19259,7 +19999,7 @@ export namespace ListConnectorConfigsResponse {
19259
19999
  updated_at?: string;
19260
20000
  }
19261
20001
 
19262
- export namespace ConnectorDropboxDiscriminatedConnectorConfig {
20002
+ export namespace ConnectorFigmaDiscriminatedConnectorConfig {
19263
20003
  export interface Config {
19264
20004
  /**
19265
20005
  * Base oauth configuration for the connector
@@ -19286,10 +20026,10 @@ export namespace ListConnectorConfigsResponse {
19286
20026
  }
19287
20027
  }
19288
20028
 
19289
- export interface ConnectorFigmaDiscriminatedConnectorConfig {
19290
- config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
20029
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
20030
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
19291
20031
 
19292
- connector_name: 'figma';
20032
+ connector_name: 'github-source-control';
19293
20033
 
19294
20034
  id?: string;
19295
20035
 
@@ -19317,7 +20057,7 @@ export namespace ListConnectorConfigsResponse {
19317
20057
  updated_at?: string;
19318
20058
  }
19319
20059
 
19320
- export namespace ConnectorFigmaDiscriminatedConnectorConfig {
20060
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
19321
20061
  export interface Config {
19322
20062
  /**
19323
20063
  * Base oauth configuration for the connector
@@ -21240,6 +21980,7 @@ export interface ListConnectorsResponse extends Connector {
21240
21980
  export type ListConnnectorConfigsResponse =
21241
21981
  | ListConnnectorConfigsResponse.ConnectorAcmeApikeyDiscriminatedConnectorConfig
21242
21982
  | ListConnnectorConfigsResponse.ConnectorAcmeOauth2DiscriminatedConnectorConfig
21983
+ | ListConnnectorConfigsResponse.ConnectorAgentmailDiscriminatedConnectorConfig
21243
21984
  | ListConnnectorConfigsResponse.ConnectorAsanaDiscriminatedConnectorConfig
21244
21985
  | ListConnnectorConfigsResponse.ConnectorBigqueryDiscriminatedConnectorConfig
21245
21986
  | ListConnnectorConfigsResponse.ConnectorBitbucketSourceControlDiscriminatedConnectorConfig
@@ -21252,6 +21993,7 @@ export type ListConnnectorConfigsResponse =
21252
21993
  | ListConnnectorConfigsResponse.ConnectorDiscordDiscriminatedConnectorConfig
21253
21994
  | ListConnnectorConfigsResponse.ConnectorDropboxDiscriminatedConnectorConfig
21254
21995
  | ListConnnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
21996
+ | ListConnnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
21255
21997
  | ListConnnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
21256
21998
  | ListConnnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
21257
21999
  | ListConnnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -21381,6 +22123,40 @@ export namespace ListConnnectorConfigsResponse {
21381
22123
  }
21382
22124
  }
21383
22125
 
22126
+ export interface ConnectorAgentmailDiscriminatedConnectorConfig {
22127
+ /**
22128
+ * Base configuration for api key connector
22129
+ */
22130
+ config: unknown;
22131
+
22132
+ connector_name: 'agentmail';
22133
+
22134
+ id?: string;
22135
+
22136
+ connection_count?: number;
22137
+
22138
+ connector?: TopLevelAPI.Connector;
22139
+
22140
+ created_at?: string;
22141
+
22142
+ disabled?: boolean | null;
22143
+
22144
+ display_name?: string | null;
22145
+
22146
+ integrations?: { [key: string]: TopLevelAPI.Integration };
22147
+
22148
+ /**
22149
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
22150
+ * separate 1-1 table just for simple key values in your application. During
22151
+ * updates this object will be shallowly merged
22152
+ */
22153
+ metadata?: { [key: string]: unknown } | null;
22154
+
22155
+ org_id?: string;
22156
+
22157
+ updated_at?: string;
22158
+ }
22159
+
21384
22160
  export interface ConnectorAsanaDiscriminatedConnectorConfig {
21385
22161
  config: ConnectorAsanaDiscriminatedConnectorConfig.Config;
21386
22162
 
@@ -22077,6 +22853,64 @@ export namespace ListConnnectorConfigsResponse {
22077
22853
  }
22078
22854
  }
22079
22855
 
22856
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
22857
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
22858
+
22859
+ connector_name: 'github-source-control';
22860
+
22861
+ id?: string;
22862
+
22863
+ connection_count?: number;
22864
+
22865
+ connector?: TopLevelAPI.Connector;
22866
+
22867
+ created_at?: string;
22868
+
22869
+ disabled?: boolean | null;
22870
+
22871
+ display_name?: string | null;
22872
+
22873
+ integrations?: { [key: string]: TopLevelAPI.Integration };
22874
+
22875
+ /**
22876
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
22877
+ * separate 1-1 table just for simple key values in your application. During
22878
+ * updates this object will be shallowly merged
22879
+ */
22880
+ metadata?: { [key: string]: unknown } | null;
22881
+
22882
+ org_id?: string;
22883
+
22884
+ updated_at?: string;
22885
+ }
22886
+
22887
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
22888
+ export interface Config {
22889
+ /**
22890
+ * Base oauth configuration for the connector
22891
+ */
22892
+ oauth?: Config.OAuth | null;
22893
+ }
22894
+
22895
+ export namespace Config {
22896
+ /**
22897
+ * Base oauth configuration for the connector
22898
+ */
22899
+ export interface OAuth {
22900
+ client_id?: string | null;
22901
+
22902
+ client_secret?: string | null;
22903
+
22904
+ /**
22905
+ * Custom redirect URI
22906
+ */
22907
+ redirect_uri?: string | null;
22908
+
22909
+ scopes?: Array<string> | null;
22910
+ }
22911
+ }
22912
+ }
22913
+
22080
22914
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
22081
22915
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
22082
22916
 
@@ -24594,6 +25428,7 @@ export namespace ListEventsResponse {
24594
25428
  export type PostConnectResponse =
24595
25429
  | PostConnectResponse.ConnectorAcmeApikeyDiscriminatedConnectionSettings
24596
25430
  | PostConnectResponse.ConnectorAcmeOauth2DiscriminatedConnectionSettings
25431
+ | PostConnectResponse.ConnectorAgentmailDiscriminatedConnectionSettings
24597
25432
  | PostConnectResponse.ConnectorAsanaDiscriminatedConnectionSettings
24598
25433
  | PostConnectResponse.ConnectorBigqueryDiscriminatedConnectionSettings
24599
25434
  | PostConnectResponse.ConnectorBitbucketSourceControlDiscriminatedConnectionSettings
@@ -24606,6 +25441,7 @@ export type PostConnectResponse =
24606
25441
  | PostConnectResponse.ConnectorDiscordDiscriminatedConnectionSettings
24607
25442
  | PostConnectResponse.ConnectorDropboxDiscriminatedConnectionSettings
24608
25443
  | PostConnectResponse.ConnectorFigmaDiscriminatedConnectionSettings
25444
+ | PostConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
24609
25445
  | PostConnectResponse.ConnectorGitHubDiscriminatedConnectionSettings
24610
25446
  | PostConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
24611
25447
  | PostConnectResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -24774,6 +25610,47 @@ export namespace PostConnectResponse {
24774
25610
  }
24775
25611
  }
24776
25612
 
25613
+ export interface ConnectorAgentmailDiscriminatedConnectionSettings {
25614
+ connector_name: 'agentmail';
25615
+
25616
+ id?: string;
25617
+
25618
+ connector_config_id?: string | null;
25619
+
25620
+ created_at?: string;
25621
+
25622
+ customer_id?: string | null;
25623
+
25624
+ disabled?: boolean | null;
25625
+
25626
+ display_name?: string | null;
25627
+
25628
+ environment?: 'production' | 'development';
25629
+
25630
+ integration_id?: string | null;
25631
+
25632
+ /**
25633
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
25634
+ * separate 1-1 table just for simple key values in your application. During
25635
+ * updates this object will be shallowly merged
25636
+ */
25637
+ metadata?: { [key: string]: unknown } | null;
25638
+
25639
+ settings?: ConnectorAgentmailDiscriminatedConnectionSettings.Settings;
25640
+
25641
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25642
+
25643
+ status_message?: string | null;
25644
+
25645
+ updated_at?: string;
25646
+ }
25647
+
25648
+ export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
25649
+ export interface Settings {
25650
+ api_key: string;
25651
+ }
25652
+ }
25653
+
24777
25654
  export interface ConnectorAsanaDiscriminatedConnectionSettings {
24778
25655
  connector_name: 'asana';
24779
25656
 
@@ -25160,7 +26037,97 @@ export namespace PostConnectResponse {
25160
26037
  */
25161
26038
  metadata?: { [key: string]: unknown } | null;
25162
26039
 
25163
- settings?: ConnectorBoxDiscriminatedConnectionSettings.Settings;
26040
+ settings?: ConnectorBoxDiscriminatedConnectionSettings.Settings;
26041
+
26042
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26043
+
26044
+ status_message?: string | null;
26045
+
26046
+ updated_at?: string;
26047
+ }
26048
+
26049
+ export namespace ConnectorBoxDiscriminatedConnectionSettings {
26050
+ export interface Settings {
26051
+ oauth: Settings.OAuth;
26052
+
26053
+ /**
26054
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
26055
+ * for backward compatibility until we remove the oauth field
26056
+ */
26057
+ access_token?: string;
26058
+ }
26059
+
26060
+ export namespace Settings {
26061
+ export interface OAuth {
26062
+ created_at?: string;
26063
+
26064
+ /**
26065
+ * Output of the postConnect hook for oauth2 connectors
26066
+ */
26067
+ credentials?: OAuth.Credentials;
26068
+
26069
+ last_fetched_at?: string;
26070
+
26071
+ metadata?: { [key: string]: unknown } | null;
26072
+
26073
+ updated_at?: string;
26074
+ }
26075
+
26076
+ export namespace OAuth {
26077
+ /**
26078
+ * Output of the postConnect hook for oauth2 connectors
26079
+ */
26080
+ export interface Credentials {
26081
+ access_token: string;
26082
+
26083
+ /**
26084
+ * Client ID used for the connection
26085
+ */
26086
+ client_id?: string;
26087
+
26088
+ expires_at?: string;
26089
+
26090
+ expires_in?: number;
26091
+
26092
+ raw?: { [key: string]: unknown };
26093
+
26094
+ refresh_token?: string;
26095
+
26096
+ scope?: string;
26097
+
26098
+ token_type?: string;
26099
+ }
26100
+ }
26101
+ }
26102
+ }
26103
+
26104
+ export interface ConnectorCalendlyDiscriminatedConnectionSettings {
26105
+ connector_name: 'calendly';
26106
+
26107
+ id?: string;
26108
+
26109
+ connector_config_id?: string | null;
26110
+
26111
+ created_at?: string;
26112
+
26113
+ customer_id?: string | null;
26114
+
26115
+ disabled?: boolean | null;
26116
+
26117
+ display_name?: string | null;
26118
+
26119
+ environment?: 'production' | 'development';
26120
+
26121
+ integration_id?: string | null;
26122
+
26123
+ /**
26124
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
26125
+ * separate 1-1 table just for simple key values in your application. During
26126
+ * updates this object will be shallowly merged
26127
+ */
26128
+ metadata?: { [key: string]: unknown } | null;
26129
+
26130
+ settings?: ConnectorCalendlyDiscriminatedConnectionSettings.Settings;
25164
26131
 
25165
26132
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25166
26133
 
@@ -25169,7 +26136,7 @@ export namespace PostConnectResponse {
25169
26136
  updated_at?: string;
25170
26137
  }
25171
26138
 
25172
- export namespace ConnectorBoxDiscriminatedConnectionSettings {
26139
+ export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
25173
26140
  export interface Settings {
25174
26141
  oauth: Settings.OAuth;
25175
26142
 
@@ -25224,8 +26191,8 @@ export namespace PostConnectResponse {
25224
26191
  }
25225
26192
  }
25226
26193
 
25227
- export interface ConnectorCalendlyDiscriminatedConnectionSettings {
25228
- connector_name: 'calendly';
26194
+ export interface ConnectorClickupDiscriminatedConnectionSettings {
26195
+ connector_name: 'clickup';
25229
26196
 
25230
26197
  id?: string;
25231
26198
 
@@ -25250,7 +26217,7 @@ export namespace PostConnectResponse {
25250
26217
  */
25251
26218
  metadata?: { [key: string]: unknown } | null;
25252
26219
 
25253
- settings?: ConnectorCalendlyDiscriminatedConnectionSettings.Settings;
26220
+ settings?: ConnectorClickupDiscriminatedConnectionSettings.Settings;
25254
26221
 
25255
26222
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25256
26223
 
@@ -25259,7 +26226,7 @@ export namespace PostConnectResponse {
25259
26226
  updated_at?: string;
25260
26227
  }
25261
26228
 
25262
- export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
26229
+ export namespace ConnectorClickupDiscriminatedConnectionSettings {
25263
26230
  export interface Settings {
25264
26231
  oauth: Settings.OAuth;
25265
26232
 
@@ -25314,8 +26281,8 @@ export namespace PostConnectResponse {
25314
26281
  }
25315
26282
  }
25316
26283
 
25317
- export interface ConnectorClickupDiscriminatedConnectionSettings {
25318
- connector_name: 'clickup';
26284
+ export interface ConnectorConfluenceDiscriminatedConnectionSettings {
26285
+ connector_name: 'confluence';
25319
26286
 
25320
26287
  id?: string;
25321
26288
 
@@ -25340,7 +26307,7 @@ export namespace PostConnectResponse {
25340
26307
  */
25341
26308
  metadata?: { [key: string]: unknown } | null;
25342
26309
 
25343
- settings?: ConnectorClickupDiscriminatedConnectionSettings.Settings;
26310
+ settings?: ConnectorConfluenceDiscriminatedConnectionSettings.Settings;
25344
26311
 
25345
26312
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25346
26313
 
@@ -25349,10 +26316,15 @@ export namespace PostConnectResponse {
25349
26316
  updated_at?: string;
25350
26317
  }
25351
26318
 
25352
- export namespace ConnectorClickupDiscriminatedConnectionSettings {
26319
+ export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
25353
26320
  export interface Settings {
25354
26321
  oauth: Settings.OAuth;
25355
26322
 
26323
+ /**
26324
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
26325
+ */
26326
+ site_url: string;
26327
+
25356
26328
  /**
25357
26329
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
25358
26330
  * for backward compatibility until we remove the oauth field
@@ -25404,8 +26376,8 @@ export namespace PostConnectResponse {
25404
26376
  }
25405
26377
  }
25406
26378
 
25407
- export interface ConnectorConfluenceDiscriminatedConnectionSettings {
25408
- connector_name: 'confluence';
26379
+ export interface ConnectorDatabricksDiscriminatedConnectionSettings {
26380
+ connector_name: 'databricks';
25409
26381
 
25410
26382
  id?: string;
25411
26383
 
@@ -25430,7 +26402,7 @@ export namespace PostConnectResponse {
25430
26402
  */
25431
26403
  metadata?: { [key: string]: unknown } | null;
25432
26404
 
25433
- settings?: ConnectorConfluenceDiscriminatedConnectionSettings.Settings;
26405
+ settings?: ConnectorDatabricksDiscriminatedConnectionSettings.Settings;
25434
26406
 
25435
26407
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25436
26408
 
@@ -25439,14 +26411,16 @@ export namespace PostConnectResponse {
25439
26411
  updated_at?: string;
25440
26412
  }
25441
26413
 
25442
- export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
26414
+ export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
25443
26415
  export interface Settings {
25444
- oauth: Settings.OAuth;
25445
-
25446
26416
  /**
25447
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
26417
+ * Your Databricks workspace instance name (e.g., "your-workspace" for
26418
+ * your-workspace.cloud.databricks.com). Do not include https:// or
26419
+ * .cloud.databricks.com
25448
26420
  */
25449
- site_url: string;
26421
+ databricks_instance: string;
26422
+
26423
+ oauth: Settings.OAuth;
25450
26424
 
25451
26425
  /**
25452
26426
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
@@ -25499,8 +26473,8 @@ export namespace PostConnectResponse {
25499
26473
  }
25500
26474
  }
25501
26475
 
25502
- export interface ConnectorDatabricksDiscriminatedConnectionSettings {
25503
- connector_name: 'databricks';
26476
+ export interface ConnectorDiscordDiscriminatedConnectionSettings {
26477
+ connector_name: 'discord';
25504
26478
 
25505
26479
  id?: string;
25506
26480
 
@@ -25525,7 +26499,7 @@ export namespace PostConnectResponse {
25525
26499
  */
25526
26500
  metadata?: { [key: string]: unknown } | null;
25527
26501
 
25528
- settings?: ConnectorDatabricksDiscriminatedConnectionSettings.Settings;
26502
+ settings?: ConnectorDiscordDiscriminatedConnectionSettings.Settings;
25529
26503
 
25530
26504
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25531
26505
 
@@ -25534,15 +26508,8 @@ export namespace PostConnectResponse {
25534
26508
  updated_at?: string;
25535
26509
  }
25536
26510
 
25537
- export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
26511
+ export namespace ConnectorDiscordDiscriminatedConnectionSettings {
25538
26512
  export interface Settings {
25539
- /**
25540
- * Your Databricks workspace instance name (e.g., "your-workspace" for
25541
- * your-workspace.cloud.databricks.com). Do not include https:// or
25542
- * .cloud.databricks.com
25543
- */
25544
- databricks_instance: string;
25545
-
25546
26513
  oauth: Settings.OAuth;
25547
26514
 
25548
26515
  /**
@@ -25596,8 +26563,8 @@ export namespace PostConnectResponse {
25596
26563
  }
25597
26564
  }
25598
26565
 
25599
- export interface ConnectorDiscordDiscriminatedConnectionSettings {
25600
- connector_name: 'discord';
26566
+ export interface ConnectorDropboxDiscriminatedConnectionSettings {
26567
+ connector_name: 'dropbox';
25601
26568
 
25602
26569
  id?: string;
25603
26570
 
@@ -25622,7 +26589,7 @@ export namespace PostConnectResponse {
25622
26589
  */
25623
26590
  metadata?: { [key: string]: unknown } | null;
25624
26591
 
25625
- settings?: ConnectorDiscordDiscriminatedConnectionSettings.Settings;
26592
+ settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
25626
26593
 
25627
26594
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25628
26595
 
@@ -25631,7 +26598,7 @@ export namespace PostConnectResponse {
25631
26598
  updated_at?: string;
25632
26599
  }
25633
26600
 
25634
- export namespace ConnectorDiscordDiscriminatedConnectionSettings {
26601
+ export namespace ConnectorDropboxDiscriminatedConnectionSettings {
25635
26602
  export interface Settings {
25636
26603
  oauth: Settings.OAuth;
25637
26604
 
@@ -25686,8 +26653,8 @@ export namespace PostConnectResponse {
25686
26653
  }
25687
26654
  }
25688
26655
 
25689
- export interface ConnectorDropboxDiscriminatedConnectionSettings {
25690
- connector_name: 'dropbox';
26656
+ export interface ConnectorFigmaDiscriminatedConnectionSettings {
26657
+ connector_name: 'figma';
25691
26658
 
25692
26659
  id?: string;
25693
26660
 
@@ -25712,7 +26679,7 @@ export namespace PostConnectResponse {
25712
26679
  */
25713
26680
  metadata?: { [key: string]: unknown } | null;
25714
26681
 
25715
- settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
26682
+ settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
25716
26683
 
25717
26684
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25718
26685
 
@@ -25721,7 +26688,7 @@ export namespace PostConnectResponse {
25721
26688
  updated_at?: string;
25722
26689
  }
25723
26690
 
25724
- export namespace ConnectorDropboxDiscriminatedConnectionSettings {
26691
+ export namespace ConnectorFigmaDiscriminatedConnectionSettings {
25725
26692
  export interface Settings {
25726
26693
  oauth: Settings.OAuth;
25727
26694
 
@@ -25776,8 +26743,8 @@ export namespace PostConnectResponse {
25776
26743
  }
25777
26744
  }
25778
26745
 
25779
- export interface ConnectorFigmaDiscriminatedConnectionSettings {
25780
- connector_name: 'figma';
26746
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
26747
+ connector_name: 'github-source-control';
25781
26748
 
25782
26749
  id?: string;
25783
26750
 
@@ -25802,7 +26769,7 @@ export namespace PostConnectResponse {
25802
26769
  */
25803
26770
  metadata?: { [key: string]: unknown } | null;
25804
26771
 
25805
- settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
26772
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
25806
26773
 
25807
26774
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
25808
26775
 
@@ -25811,7 +26778,7 @@ export namespace PostConnectResponse {
25811
26778
  updated_at?: string;
25812
26779
  }
25813
26780
 
25814
- export namespace ConnectorFigmaDiscriminatedConnectionSettings {
26781
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
25815
26782
  export interface Settings {
25816
26783
  oauth: Settings.OAuth;
25817
26784
 
@@ -28538,17 +29505,12 @@ export namespace PostConnectResponse {
28538
29505
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
28539
29506
  export interface Settings {
28540
29507
  /**
28541
- * MCP access token
28542
- */
28543
- mcp: string;
28544
-
28545
- /**
28546
- * Stripe publishable key for production
29508
+ * Stripe publishable key
28547
29509
  */
28548
29510
  publishable: string;
28549
29511
 
28550
29512
  /**
28551
- * Stripe secret key for production
29513
+ * Stripe secret key
28552
29514
  */
28553
29515
  secret: string;
28554
29516
 
@@ -28557,6 +29519,26 @@ export namespace PostConnectResponse {
28557
29519
  */
28558
29520
  account_id?: string;
28559
29521
 
29522
+ /**
29523
+ * URL to claim/access the Stripe sandbox (development environment only)
29524
+ */
29525
+ claim_url?: string;
29526
+
29527
+ /**
29528
+ * Timestamp when the sandbox was claimed (development environment only)
29529
+ */
29530
+ claimed_at?: string;
29531
+
29532
+ /**
29533
+ * MCP access token
29534
+ */
29535
+ mcp?: string;
29536
+
29537
+ /**
29538
+ * Stripe claimable sandbox ID (development environment only)
29539
+ */
29540
+ sandbox_id?: string;
29541
+
28560
29542
  /**
28561
29543
  * Stripe webhook endpoint ID
28562
29544
  */
@@ -28764,6 +29746,7 @@ export type PreConfigureConnectorResponse = { [key: string]: unknown };
28764
29746
  export type PreConnectResponse =
28765
29747
  | PreConnectResponse.ConnectorAcmeApikeyDiscriminatedConnectInput
28766
29748
  | PreConnectResponse.ConnectorAcmeOauth2DiscriminatedConnectInput
29749
+ | PreConnectResponse.ConnectorAgentmailDiscriminatedConnectInput
28767
29750
  | PreConnectResponse.ConnectorAsanaDiscriminatedConnectInput
28768
29751
  | PreConnectResponse.ConnectorBigqueryDiscriminatedConnectInput
28769
29752
  | PreConnectResponse.ConnectorBitbucketSourceControlDiscriminatedConnectInput
@@ -28776,6 +29759,7 @@ export type PreConnectResponse =
28776
29759
  | PreConnectResponse.ConnectorDiscordDiscriminatedConnectInput
28777
29760
  | PreConnectResponse.ConnectorDropboxDiscriminatedConnectInput
28778
29761
  | PreConnectResponse.ConnectorFigmaDiscriminatedConnectInput
29762
+ | PreConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectInput
28779
29763
  | PreConnectResponse.ConnectorGitHubDiscriminatedConnectInput
28780
29764
  | PreConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectInput
28781
29765
  | PreConnectResponse.ConnectorGoogleDocsDiscriminatedConnectInput
@@ -28839,6 +29823,12 @@ export namespace PreConnectResponse {
28839
29823
  }
28840
29824
  }
28841
29825
 
29826
+ export interface ConnectorAgentmailDiscriminatedConnectInput {
29827
+ connect_input: unknown;
29828
+
29829
+ connector_name: 'agentmail';
29830
+ }
29831
+
28842
29832
  export interface ConnectorAsanaDiscriminatedConnectInput {
28843
29833
  connect_input: ConnectorAsanaDiscriminatedConnectInput.ConnectInput;
28844
29834
 
@@ -29079,6 +30069,26 @@ export namespace PreConnectResponse {
29079
30069
  }
29080
30070
  }
29081
30071
 
30072
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectInput {
30073
+ connect_input: ConnectorGitHubSourceControlDiscriminatedConnectInput.ConnectInput;
30074
+
30075
+ connector_name: 'github-source-control';
30076
+ }
30077
+
30078
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectInput {
30079
+ export interface ConnectInput {
30080
+ /**
30081
+ * URL to take user to for approval
30082
+ */
30083
+ authorization_url: string;
30084
+
30085
+ /**
30086
+ * Code verifier for PKCE
30087
+ */
30088
+ code_verifier?: string;
30089
+ }
30090
+ }
30091
+
29082
30092
  export interface ConnectorGitHubDiscriminatedConnectInput {
29083
30093
  connect_input: ConnectorGitHubDiscriminatedConnectInput.ConnectInput;
29084
30094
 
@@ -29650,14 +30660,24 @@ export namespace PreConnectResponse {
29650
30660
  mcp: string;
29651
30661
 
29652
30662
  /**
29653
- * Stripe publishable key for the sandbox
30663
+ * Stripe publishable key
29654
30664
  */
29655
30665
  publishable: string;
29656
30666
 
29657
30667
  /**
29658
- * Stripe secret key for the sandbox
30668
+ * Stripe secret key
29659
30669
  */
29660
30670
  secret: string;
30671
+
30672
+ /**
30673
+ * URL to claim/access the Stripe sandbox (development environment only)
30674
+ */
30675
+ claim_url?: string;
30676
+
30677
+ /**
30678
+ * Stripe claimable sandbox ID (development environment only)
30679
+ */
30680
+ sandbox_id?: string;
29661
30681
  }
29662
30682
  }
29663
30683
 
@@ -29712,6 +30732,7 @@ export namespace PreConnectResponse {
29712
30732
  export type UpsertConnnectorConfigResponse =
29713
30733
  | UpsertConnnectorConfigResponse.ConnectorAcmeApikeyDiscriminatedConnectorConfig
29714
30734
  | UpsertConnnectorConfigResponse.ConnectorAcmeOauth2DiscriminatedConnectorConfig
30735
+ | UpsertConnnectorConfigResponse.ConnectorAgentmailDiscriminatedConnectorConfig
29715
30736
  | UpsertConnnectorConfigResponse.ConnectorAsanaDiscriminatedConnectorConfig
29716
30737
  | UpsertConnnectorConfigResponse.ConnectorBigqueryDiscriminatedConnectorConfig
29717
30738
  | UpsertConnnectorConfigResponse.ConnectorBitbucketSourceControlDiscriminatedConnectorConfig
@@ -29724,6 +30745,7 @@ export type UpsertConnnectorConfigResponse =
29724
30745
  | UpsertConnnectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
29725
30746
  | UpsertConnnectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
29726
30747
  | UpsertConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
30748
+ | UpsertConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
29727
30749
  | UpsertConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
29728
30750
  | UpsertConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
29729
30751
  | UpsertConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -29841,6 +30863,34 @@ export namespace UpsertConnnectorConfigResponse {
29841
30863
  }
29842
30864
  }
29843
30865
 
30866
+ export interface ConnectorAgentmailDiscriminatedConnectorConfig {
30867
+ /**
30868
+ * Base configuration for api key connector
30869
+ */
30870
+ config: unknown;
30871
+
30872
+ connector_name: 'agentmail';
30873
+
30874
+ id?: string;
30875
+
30876
+ created_at?: string;
30877
+
30878
+ disabled?: boolean | null;
30879
+
30880
+ display_name?: string | null;
30881
+
30882
+ /**
30883
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
30884
+ * separate 1-1 table just for simple key values in your application. During
30885
+ * updates this object will be shallowly merged
30886
+ */
30887
+ metadata?: { [key: string]: unknown } | null;
30888
+
30889
+ org_id?: string;
30890
+
30891
+ updated_at?: string;
30892
+ }
30893
+
29844
30894
  export interface ConnectorAsanaDiscriminatedConnectorConfig {
29845
30895
  config: ConnectorAsanaDiscriminatedConnectorConfig.Config;
29846
30896
 
@@ -30153,62 +31203,114 @@ export namespace UpsertConnnectorConfigResponse {
30153
31203
  }
30154
31204
  }
30155
31205
 
30156
- export interface ConnectorClickupDiscriminatedConnectorConfig {
30157
- config: ConnectorClickupDiscriminatedConnectorConfig.Config;
30158
-
30159
- connector_name: 'clickup';
30160
-
30161
- id?: string;
30162
-
30163
- created_at?: string;
30164
-
30165
- disabled?: boolean | null;
30166
-
30167
- display_name?: string | null;
30168
-
30169
- /**
30170
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
30171
- * separate 1-1 table just for simple key values in your application. During
30172
- * updates this object will be shallowly merged
30173
- */
30174
- metadata?: { [key: string]: unknown } | null;
30175
-
30176
- org_id?: string;
30177
-
30178
- updated_at?: string;
30179
- }
30180
-
30181
- export namespace ConnectorClickupDiscriminatedConnectorConfig {
30182
- export interface Config {
30183
- /**
30184
- * Base oauth configuration for the connector
30185
- */
30186
- oauth?: Config.OAuth | null;
30187
- }
30188
-
30189
- export namespace Config {
30190
- /**
30191
- * Base oauth configuration for the connector
30192
- */
30193
- export interface OAuth {
30194
- client_id?: string | null;
30195
-
30196
- client_secret?: string | null;
30197
-
30198
- /**
30199
- * Custom redirect URI
30200
- */
30201
- redirect_uri?: string | null;
30202
-
30203
- scopes?: Array<string> | null;
30204
- }
30205
- }
30206
- }
30207
-
30208
- export interface ConnectorConfluenceDiscriminatedConnectorConfig {
30209
- config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
31206
+ export interface ConnectorClickupDiscriminatedConnectorConfig {
31207
+ config: ConnectorClickupDiscriminatedConnectorConfig.Config;
31208
+
31209
+ connector_name: 'clickup';
31210
+
31211
+ id?: string;
31212
+
31213
+ created_at?: string;
31214
+
31215
+ disabled?: boolean | null;
31216
+
31217
+ display_name?: string | null;
31218
+
31219
+ /**
31220
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
31221
+ * separate 1-1 table just for simple key values in your application. During
31222
+ * updates this object will be shallowly merged
31223
+ */
31224
+ metadata?: { [key: string]: unknown } | null;
31225
+
31226
+ org_id?: string;
31227
+
31228
+ updated_at?: string;
31229
+ }
31230
+
31231
+ export namespace ConnectorClickupDiscriminatedConnectorConfig {
31232
+ export interface Config {
31233
+ /**
31234
+ * Base oauth configuration for the connector
31235
+ */
31236
+ oauth?: Config.OAuth | null;
31237
+ }
31238
+
31239
+ export namespace Config {
31240
+ /**
31241
+ * Base oauth configuration for the connector
31242
+ */
31243
+ export interface OAuth {
31244
+ client_id?: string | null;
31245
+
31246
+ client_secret?: string | null;
31247
+
31248
+ /**
31249
+ * Custom redirect URI
31250
+ */
31251
+ redirect_uri?: string | null;
31252
+
31253
+ scopes?: Array<string> | null;
31254
+ }
31255
+ }
31256
+ }
31257
+
31258
+ export interface ConnectorConfluenceDiscriminatedConnectorConfig {
31259
+ config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
31260
+
31261
+ connector_name: 'confluence';
31262
+
31263
+ id?: string;
31264
+
31265
+ created_at?: string;
31266
+
31267
+ disabled?: boolean | null;
31268
+
31269
+ display_name?: string | null;
31270
+
31271
+ /**
31272
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
31273
+ * separate 1-1 table just for simple key values in your application. During
31274
+ * updates this object will be shallowly merged
31275
+ */
31276
+ metadata?: { [key: string]: unknown } | null;
31277
+
31278
+ org_id?: string;
31279
+
31280
+ updated_at?: string;
31281
+ }
31282
+
31283
+ export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
31284
+ export interface Config {
31285
+ /**
31286
+ * Base oauth configuration for the connector
31287
+ */
31288
+ oauth?: Config.OAuth | null;
31289
+ }
31290
+
31291
+ export namespace Config {
31292
+ /**
31293
+ * Base oauth configuration for the connector
31294
+ */
31295
+ export interface OAuth {
31296
+ client_id?: string | null;
31297
+
31298
+ client_secret?: string | null;
31299
+
31300
+ /**
31301
+ * Custom redirect URI
31302
+ */
31303
+ redirect_uri?: string | null;
31304
+
31305
+ scopes?: Array<string> | null;
31306
+ }
31307
+ }
31308
+ }
31309
+
31310
+ export interface ConnectorDatabricksDiscriminatedConnectorConfig {
31311
+ config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
30210
31312
 
30211
- connector_name: 'confluence';
31313
+ connector_name: 'databricks';
30212
31314
 
30213
31315
  id?: string;
30214
31316
 
@@ -30230,7 +31332,7 @@ export namespace UpsertConnnectorConfigResponse {
30230
31332
  updated_at?: string;
30231
31333
  }
30232
31334
 
30233
- export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
31335
+ export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
30234
31336
  export interface Config {
30235
31337
  /**
30236
31338
  * Base oauth configuration for the connector
@@ -30257,10 +31359,10 @@ export namespace UpsertConnnectorConfigResponse {
30257
31359
  }
30258
31360
  }
30259
31361
 
30260
- export interface ConnectorDatabricksDiscriminatedConnectorConfig {
30261
- config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
31362
+ export interface ConnectorDiscordDiscriminatedConnectorConfig {
31363
+ config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
30262
31364
 
30263
- connector_name: 'databricks';
31365
+ connector_name: 'discord';
30264
31366
 
30265
31367
  id?: string;
30266
31368
 
@@ -30282,7 +31384,7 @@ export namespace UpsertConnnectorConfigResponse {
30282
31384
  updated_at?: string;
30283
31385
  }
30284
31386
 
30285
- export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
31387
+ export namespace ConnectorDiscordDiscriminatedConnectorConfig {
30286
31388
  export interface Config {
30287
31389
  /**
30288
31390
  * Base oauth configuration for the connector
@@ -30309,10 +31411,10 @@ export namespace UpsertConnnectorConfigResponse {
30309
31411
  }
30310
31412
  }
30311
31413
 
30312
- export interface ConnectorDiscordDiscriminatedConnectorConfig {
30313
- config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
31414
+ export interface ConnectorDropboxDiscriminatedConnectorConfig {
31415
+ config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
30314
31416
 
30315
- connector_name: 'discord';
31417
+ connector_name: 'dropbox';
30316
31418
 
30317
31419
  id?: string;
30318
31420
 
@@ -30334,7 +31436,7 @@ export namespace UpsertConnnectorConfigResponse {
30334
31436
  updated_at?: string;
30335
31437
  }
30336
31438
 
30337
- export namespace ConnectorDiscordDiscriminatedConnectorConfig {
31439
+ export namespace ConnectorDropboxDiscriminatedConnectorConfig {
30338
31440
  export interface Config {
30339
31441
  /**
30340
31442
  * Base oauth configuration for the connector
@@ -30361,10 +31463,10 @@ export namespace UpsertConnnectorConfigResponse {
30361
31463
  }
30362
31464
  }
30363
31465
 
30364
- export interface ConnectorDropboxDiscriminatedConnectorConfig {
30365
- config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
31466
+ export interface ConnectorFigmaDiscriminatedConnectorConfig {
31467
+ config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
30366
31468
 
30367
- connector_name: 'dropbox';
31469
+ connector_name: 'figma';
30368
31470
 
30369
31471
  id?: string;
30370
31472
 
@@ -30386,7 +31488,7 @@ export namespace UpsertConnnectorConfigResponse {
30386
31488
  updated_at?: string;
30387
31489
  }
30388
31490
 
30389
- export namespace ConnectorDropboxDiscriminatedConnectorConfig {
31491
+ export namespace ConnectorFigmaDiscriminatedConnectorConfig {
30390
31492
  export interface Config {
30391
31493
  /**
30392
31494
  * Base oauth configuration for the connector
@@ -30413,10 +31515,10 @@ export namespace UpsertConnnectorConfigResponse {
30413
31515
  }
30414
31516
  }
30415
31517
 
30416
- export interface ConnectorFigmaDiscriminatedConnectorConfig {
30417
- config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
31518
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
31519
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
30418
31520
 
30419
- connector_name: 'figma';
31521
+ connector_name: 'github-source-control';
30420
31522
 
30421
31523
  id?: string;
30422
31524
 
@@ -30438,7 +31540,7 @@ export namespace UpsertConnnectorConfigResponse {
30438
31540
  updated_at?: string;
30439
31541
  }
30440
31542
 
30441
- export namespace ConnectorFigmaDiscriminatedConnectorConfig {
31543
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
30442
31544
  export interface Config {
30443
31545
  /**
30444
31546
  * Base oauth configuration for the connector
@@ -32202,6 +33304,7 @@ export interface CreateConnectionParams {
32202
33304
  data:
32203
33305
  | CreateConnectionParams.ConnectorAcmeApikeyDiscriminatedConnectionSettings
32204
33306
  | CreateConnectionParams.ConnectorAcmeOauth2DiscriminatedConnectionSettings
33307
+ | CreateConnectionParams.ConnectorAgentmailDiscriminatedConnectionSettings
32205
33308
  | CreateConnectionParams.ConnectorAsanaDiscriminatedConnectionSettings
32206
33309
  | CreateConnectionParams.ConnectorBigqueryDiscriminatedConnectionSettings
32207
33310
  | CreateConnectionParams.ConnectorBitbucketSourceControlDiscriminatedConnectionSettings
@@ -32214,6 +33317,7 @@ export interface CreateConnectionParams {
32214
33317
  | CreateConnectionParams.ConnectorDiscordDiscriminatedConnectionSettings
32215
33318
  | CreateConnectionParams.ConnectorDropboxDiscriminatedConnectionSettings
32216
33319
  | CreateConnectionParams.ConnectorFigmaDiscriminatedConnectionSettings
33320
+ | CreateConnectionParams.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
32217
33321
  | CreateConnectionParams.ConnectorGitHubDiscriminatedConnectionSettings
32218
33322
  | CreateConnectionParams.ConnectorGoogleCalendarDiscriminatedConnectionSettings
32219
33323
  | CreateConnectionParams.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -32343,6 +33447,18 @@ export namespace CreateConnectionParams {
32343
33447
  }
32344
33448
  }
32345
33449
 
33450
+ export interface ConnectorAgentmailDiscriminatedConnectionSettings {
33451
+ connector_name: 'agentmail';
33452
+
33453
+ settings?: ConnectorAgentmailDiscriminatedConnectionSettings.Settings;
33454
+ }
33455
+
33456
+ export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
33457
+ export interface Settings {
33458
+ api_key: string;
33459
+ }
33460
+ }
33461
+
32346
33462
  export interface ConnectorAsanaDiscriminatedConnectionSettings {
32347
33463
  connector_name: 'asana';
32348
33464
 
@@ -33087,6 +34203,67 @@ export namespace CreateConnectionParams {
33087
34203
  }
33088
34204
  }
33089
34205
 
34206
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
34207
+ connector_name: 'github-source-control';
34208
+
34209
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
34210
+ }
34211
+
34212
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
34213
+ export interface Settings {
34214
+ oauth: Settings.OAuth;
34215
+
34216
+ /**
34217
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
34218
+ * for backward compatibility until we remove the oauth field
34219
+ */
34220
+ access_token?: string;
34221
+ }
34222
+
34223
+ export namespace Settings {
34224
+ export interface OAuth {
34225
+ created_at?: string;
34226
+
34227
+ /**
34228
+ * Output of the postConnect hook for oauth2 connectors
34229
+ */
34230
+ credentials?: OAuth.Credentials;
34231
+
34232
+ last_fetched_at?: string;
34233
+
34234
+ metadata?: { [key: string]: unknown } | null;
34235
+
34236
+ updated_at?: string;
34237
+ }
34238
+
34239
+ export namespace OAuth {
34240
+ /**
34241
+ * Output of the postConnect hook for oauth2 connectors
34242
+ */
34243
+ export interface Credentials {
34244
+ access_token: string;
34245
+
34246
+ /**
34247
+ * Client ID used for the connection
34248
+ */
34249
+ client_id?: string;
34250
+
34251
+ expires_at?: string;
34252
+
34253
+ expires_in?: number;
34254
+
34255
+ raw?: { [key: string]: unknown };
34256
+
34257
+ refresh_token?: string;
34258
+
34259
+ scope?: string;
34260
+
34261
+ token_type?: string;
34262
+ }
34263
+ }
34264
+ }
34265
+ }
34266
+
33090
34267
  export interface ConnectorGitHubDiscriminatedConnectionSettings {
33091
34268
  connector_name: 'github';
33092
34269
 
@@ -34831,17 +36008,12 @@ export namespace CreateConnectionParams {
34831
36008
  export namespace ConnectorStripeDiscriminatedConnectionSettings {
34832
36009
  export interface Settings {
34833
36010
  /**
34834
- * MCP access token
34835
- */
34836
- mcp: string;
34837
-
34838
- /**
34839
- * Stripe publishable key for production
36011
+ * Stripe publishable key
34840
36012
  */
34841
36013
  publishable: string;
34842
36014
 
34843
36015
  /**
34844
- * Stripe secret key for production
36016
+ * Stripe secret key
34845
36017
  */
34846
36018
  secret: string;
34847
36019
 
@@ -34850,6 +36022,26 @@ export namespace CreateConnectionParams {
34850
36022
  */
34851
36023
  account_id?: string;
34852
36024
 
36025
+ /**
36026
+ * URL to claim/access the Stripe sandbox (development environment only)
36027
+ */
36028
+ claim_url?: string;
36029
+
36030
+ /**
36031
+ * Timestamp when the sandbox was claimed (development environment only)
36032
+ */
36033
+ claimed_at?: string;
36034
+
36035
+ /**
36036
+ * MCP access token
36037
+ */
36038
+ mcp?: string;
36039
+
36040
+ /**
36041
+ * Stripe claimable sandbox ID (development environment only)
36042
+ */
36043
+ sandbox_id?: string;
36044
+
34853
36045
  /**
34854
36046
  * Stripe webhook endpoint ID
34855
36047
  */
@@ -34997,6 +36189,7 @@ export namespace CreateTokenParams {
34997
36189
  auto_connect?:
34998
36190
  | 'acme-apikey'
34999
36191
  | 'acme-oauth2'
36192
+ | 'agentmail'
35000
36193
  | 'apollo'
35001
36194
  | 'asana'
35002
36195
  | 'bigquery'
@@ -35011,6 +36204,7 @@ export namespace CreateTokenParams {
35011
36204
  | 'dropbox'
35012
36205
  | 'figma'
35013
36206
  | 'github'
36207
+ | 'github-source-control'
35014
36208
  | 'google-calendar'
35015
36209
  | 'google-docs'
35016
36210
  | 'google-drive'
@@ -35052,6 +36246,7 @@ export namespace CreateTokenParams {
35052
36246
  connector_names?: Array<
35053
36247
  | 'acme-apikey'
35054
36248
  | 'acme-oauth2'
36249
+ | 'agentmail'
35055
36250
  | 'apollo'
35056
36251
  | 'asana'
35057
36252
  | 'bigquery'
@@ -35066,6 +36261,7 @@ export namespace CreateTokenParams {
35066
36261
  | 'dropbox'
35067
36262
  | 'figma'
35068
36263
  | 'github'
36264
+ | 'github-source-control'
35069
36265
  | 'google-calendar'
35070
36266
  | 'google-docs'
35071
36267
  | 'google-drive'
@@ -35172,6 +36368,7 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
35172
36368
  connector_names?: Array<
35173
36369
  | 'acme-apikey'
35174
36370
  | 'acme-oauth2'
36371
+ | 'agentmail'
35175
36372
  | 'apollo'
35176
36373
  | 'asana'
35177
36374
  | 'bigquery'
@@ -35186,6 +36383,7 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
35186
36383
  | 'dropbox'
35187
36384
  | 'figma'
35188
36385
  | 'github'
36386
+ | 'github-source-control'
35189
36387
  | 'google-calendar'
35190
36388
  | 'google-docs'
35191
36389
  | 'google-drive'
@@ -35256,6 +36454,7 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
35256
36454
  connector_names?: Array<
35257
36455
  | 'acme-apikey'
35258
36456
  | 'acme-oauth2'
36457
+ | 'agentmail'
35259
36458
  | 'apollo'
35260
36459
  | 'asana'
35261
36460
  | 'bigquery'
@@ -35270,6 +36469,7 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
35270
36469
  | 'dropbox'
35271
36470
  | 'figma'
35272
36471
  | 'github'
36472
+ | 'github-source-control'
35273
36473
  | 'google-calendar'
35274
36474
  | 'google-docs'
35275
36475
  | 'google-drive'
@@ -35336,6 +36536,7 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
35336
36536
  connector_names?: Array<
35337
36537
  | 'acme-apikey'
35338
36538
  | 'acme-oauth2'
36539
+ | 'agentmail'
35339
36540
  | 'apollo'
35340
36541
  | 'asana'
35341
36542
  | 'bigquery'
@@ -35350,6 +36551,7 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
35350
36551
  | 'dropbox'
35351
36552
  | 'figma'
35352
36553
  | 'github'
36554
+ | 'github-source-control'
35353
36555
  | 'google-calendar'
35354
36556
  | 'google-docs'
35355
36557
  | 'google-drive'
@@ -35434,6 +36636,7 @@ export interface PostConnectParams {
35434
36636
  discriminated_data:
35435
36637
  | PostConnectParams.ConnectorAcmeApikeyDiscriminatedConnectOutput
35436
36638
  | PostConnectParams.ConnectorAcmeOauth2DiscriminatedConnectOutput
36639
+ | PostConnectParams.ConnectorAgentmailDiscriminatedConnectOutput
35437
36640
  | PostConnectParams.ConnectorAsanaDiscriminatedConnectOutput
35438
36641
  | PostConnectParams.ConnectorBigqueryDiscriminatedConnectOutput
35439
36642
  | PostConnectParams.ConnectorBitbucketSourceControlDiscriminatedConnectOutput
@@ -35446,6 +36649,7 @@ export interface PostConnectParams {
35446
36649
  | PostConnectParams.ConnectorDiscordDiscriminatedConnectOutput
35447
36650
  | PostConnectParams.ConnectorDropboxDiscriminatedConnectOutput
35448
36651
  | PostConnectParams.ConnectorFigmaDiscriminatedConnectOutput
36652
+ | PostConnectParams.ConnectorGitHubSourceControlDiscriminatedConnectOutput
35449
36653
  | PostConnectParams.ConnectorGitHubDiscriminatedConnectOutput
35450
36654
  | PostConnectParams.ConnectorGoogleCalendarDiscriminatedConnectOutput
35451
36655
  | PostConnectParams.ConnectorGoogleDocsDiscriminatedConnectOutput
@@ -35533,6 +36737,18 @@ export namespace PostConnectParams {
35533
36737
  }
35534
36738
  }
35535
36739
 
36740
+ export interface ConnectorAgentmailDiscriminatedConnectOutput {
36741
+ connect_output: ConnectorAgentmailDiscriminatedConnectOutput.ConnectOutput;
36742
+
36743
+ connector_name: 'agentmail';
36744
+ }
36745
+
36746
+ export namespace ConnectorAgentmailDiscriminatedConnectOutput {
36747
+ export interface ConnectOutput {
36748
+ api_key: string;
36749
+ }
36750
+ }
36751
+
35536
36752
  export interface ConnectorAsanaDiscriminatedConnectOutput {
35537
36753
  connect_output: ConnectorAsanaDiscriminatedConnectOutput.ConnectOutput;
35538
36754
 
@@ -35953,6 +37169,41 @@ export namespace PostConnectParams {
35953
37169
  }
35954
37170
  }
35955
37171
 
37172
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectOutput {
37173
+ connect_output: ConnectorGitHubSourceControlDiscriminatedConnectOutput.ConnectOutput;
37174
+
37175
+ connector_name: 'github-source-control';
37176
+ }
37177
+
37178
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectOutput {
37179
+ export interface ConnectOutput {
37180
+ /**
37181
+ * OAuth2 authorization code used for token exchange
37182
+ */
37183
+ code: string;
37184
+
37185
+ /**
37186
+ * OAuth2 state
37187
+ */
37188
+ state: string;
37189
+
37190
+ /**
37191
+ * Custom client ID to use for token exchange
37192
+ */
37193
+ client_id?: string;
37194
+
37195
+ /**
37196
+ * Custom client secret to use for token exchange
37197
+ */
37198
+ client_secret?: string;
37199
+
37200
+ /**
37201
+ * Code verifier for PKCE from the connect input
37202
+ */
37203
+ code_verifier?: string;
37204
+ }
37205
+ }
37206
+
35956
37207
  export interface ConnectorGitHubDiscriminatedConnectOutput {
35957
37208
  connect_output: ConnectorGitHubDiscriminatedConnectOutput.ConnectOutput;
35958
37209
 
@@ -36924,17 +38175,12 @@ export namespace PostConnectParams {
36924
38175
  export namespace ConnectorStripeDiscriminatedConnectOutput {
36925
38176
  export interface ConnectOutput {
36926
38177
  /**
36927
- * MCP access token
36928
- */
36929
- mcp: string;
36930
-
36931
- /**
36932
- * Stripe publishable key for production
38178
+ * Stripe publishable key
36933
38179
  */
36934
38180
  publishable: string;
36935
38181
 
36936
38182
  /**
36937
- * Stripe secret key for production
38183
+ * Stripe secret key
36938
38184
  */
36939
38185
  secret: string;
36940
38186
 
@@ -36943,6 +38189,26 @@ export namespace PostConnectParams {
36943
38189
  */
36944
38190
  account_id?: string;
36945
38191
 
38192
+ /**
38193
+ * URL to claim/access the Stripe sandbox (development environment only)
38194
+ */
38195
+ claim_url?: string;
38196
+
38197
+ /**
38198
+ * Timestamp when the sandbox was claimed (development environment only)
38199
+ */
38200
+ claimed_at?: string;
38201
+
38202
+ /**
38203
+ * MCP access token
38204
+ */
38205
+ mcp?: string;
38206
+
38207
+ /**
38208
+ * Stripe claimable sandbox ID (development environment only)
38209
+ */
38210
+ sandbox_id?: string;
38211
+
36946
38212
  /**
36947
38213
  * Stripe webhook endpoint ID
36948
38214
  */
@@ -37075,6 +38341,7 @@ export interface PreConfigureConnectorParams {
37075
38341
  connector_name:
37076
38342
  | 'acme-apikey'
37077
38343
  | 'acme-oauth2'
38344
+ | 'agentmail'
37078
38345
  | 'apollo'
37079
38346
  | 'asana'
37080
38347
  | 'bigquery'
@@ -37089,6 +38356,7 @@ export interface PreConfigureConnectorParams {
37089
38356
  | 'dropbox'
37090
38357
  | 'figma'
37091
38358
  | 'github'
38359
+ | 'github-source-control'
37092
38360
  | 'google-calendar'
37093
38361
  | 'google-docs'
37094
38362
  | 'google-drive'
@@ -37135,6 +38403,7 @@ export interface PreConnectParams {
37135
38403
  discriminated_data?:
37136
38404
  | PreConnectParams.ConnectorAcmeApikeyDiscriminatedPreConnectInput
37137
38405
  | PreConnectParams.ConnectorAcmeOauth2DiscriminatedPreConnectInput
38406
+ | PreConnectParams.ConnectorAgentmailDiscriminatedPreConnectInput
37138
38407
  | PreConnectParams.ConnectorAsanaDiscriminatedPreConnectInput
37139
38408
  | PreConnectParams.ConnectorBigqueryDiscriminatedPreConnectInput
37140
38409
  | PreConnectParams.ConnectorBitbucketSourceControlDiscriminatedPreConnectInput
@@ -37147,6 +38416,7 @@ export interface PreConnectParams {
37147
38416
  | PreConnectParams.ConnectorDiscordDiscriminatedPreConnectInput
37148
38417
  | PreConnectParams.ConnectorDropboxDiscriminatedPreConnectInput
37149
38418
  | PreConnectParams.ConnectorFigmaDiscriminatedPreConnectInput
38419
+ | PreConnectParams.ConnectorGitHubSourceControlDiscriminatedPreConnectInput
37150
38420
  | PreConnectParams.ConnectorGitHubDiscriminatedPreConnectInput
37151
38421
  | PreConnectParams.ConnectorGoogleCalendarDiscriminatedPreConnectInput
37152
38422
  | PreConnectParams.ConnectorGoogleDocsDiscriminatedPreConnectInput
@@ -37199,6 +38469,12 @@ export namespace PreConnectParams {
37199
38469
  pre_connect_input: unknown;
37200
38470
  }
37201
38471
 
38472
+ export interface ConnectorAgentmailDiscriminatedPreConnectInput {
38473
+ connector_name: 'agentmail';
38474
+
38475
+ pre_connect_input: unknown;
38476
+ }
38477
+
37202
38478
  export interface ConnectorAsanaDiscriminatedPreConnectInput {
37203
38479
  connector_name: 'asana';
37204
38480
 
@@ -37292,6 +38568,12 @@ export namespace PreConnectParams {
37292
38568
  pre_connect_input: unknown;
37293
38569
  }
37294
38570
 
38571
+ export interface ConnectorGitHubSourceControlDiscriminatedPreConnectInput {
38572
+ connector_name: 'github-source-control';
38573
+
38574
+ pre_connect_input: unknown;
38575
+ }
38576
+
37295
38577
  export interface ConnectorGitHubDiscriminatedPreConnectInput {
37296
38578
  connector_name: 'github';
37297
38579
 
@@ -37519,7 +38801,26 @@ export namespace PreConnectParams {
37519
38801
  export interface ConnectorStripeDiscriminatedPreConnectInput {
37520
38802
  connector_name: 'stripe';
37521
38803
 
37522
- pre_connect_input: unknown;
38804
+ pre_connect_input: ConnectorStripeDiscriminatedPreConnectInput.PreConnectInput;
38805
+ }
38806
+
38807
+ export namespace ConnectorStripeDiscriminatedPreConnectInput {
38808
+ export interface PreConnectInput {
38809
+ /**
38810
+ * Country code for sandbox prefill (development environment only)
38811
+ */
38812
+ country?: string;
38813
+
38814
+ /**
38815
+ * Email address of the user for sandbox prefill (development environment only)
38816
+ */
38817
+ email?: string;
38818
+
38819
+ /**
38820
+ * Name of the sandbox (development environment only)
38821
+ */
38822
+ name?: string;
38823
+ }
37523
38824
  }
37524
38825
 
37525
38826
  export interface ConnectorStripeAgentSandboxDiscriminatedPreConnectInput {