@replit/connectors 0.4.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.
@@ -88,6 +88,7 @@ export interface Integration {
88
88
  | 'dropbox'
89
89
  | 'figma'
90
90
  | 'github'
91
+ | 'github-source-control'
91
92
  | 'google-calendar'
92
93
  | 'google-docs'
93
94
  | 'google-drive'
@@ -191,6 +192,7 @@ export type CreateConnectionResponse =
191
192
  | CreateConnectionResponse.ConnectorDiscordDiscriminatedConnectionSettings
192
193
  | CreateConnectionResponse.ConnectorDropboxDiscriminatedConnectionSettings
193
194
  | CreateConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
195
+ | CreateConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
194
196
  | CreateConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
195
197
  | CreateConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
196
198
  | CreateConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -1552,8 +1554,8 @@ export namespace CreateConnectionResponse {
1552
1554
  }
1553
1555
  }
1554
1556
 
1555
- export interface ConnectorGitHubDiscriminatedConnectionSettings {
1556
- connector_name: 'github';
1557
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
1558
+ connector_name: 'github-source-control';
1557
1559
 
1558
1560
  id?: string;
1559
1561
 
@@ -1582,7 +1584,7 @@ export namespace CreateConnectionResponse {
1582
1584
  */
1583
1585
  metadata?: { [key: string]: unknown } | null;
1584
1586
 
1585
- settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
1587
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
1586
1588
 
1587
1589
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1588
1590
 
@@ -1591,7 +1593,7 @@ export namespace CreateConnectionResponse {
1591
1593
  updated_at?: string;
1592
1594
  }
1593
1595
 
1594
- export namespace ConnectorGitHubDiscriminatedConnectionSettings {
1596
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
1595
1597
  export interface Settings {
1596
1598
  oauth: Settings.OAuth;
1597
1599
 
@@ -1646,196 +1648,8 @@ export namespace CreateConnectionResponse {
1646
1648
  }
1647
1649
  }
1648
1650
 
1649
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1650
- connector_name: 'google-calendar';
1651
-
1652
- id?: string;
1653
-
1654
- connector?: TopLevelAPI.Connector;
1655
-
1656
- connector_config_id?: string | null;
1657
-
1658
- created_at?: string;
1659
-
1660
- customer_id?: string | null;
1661
-
1662
- disabled?: boolean | null;
1663
-
1664
- display_name?: string | null;
1665
-
1666
- environment?: 'production' | 'development';
1667
-
1668
- integration?: TopLevelAPI.Integration;
1669
-
1670
- integration_id?: string | null;
1671
-
1672
- /**
1673
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
1674
- * separate 1-1 table just for simple key values in your application. During
1675
- * updates this object will be shallowly merged
1676
- */
1677
- metadata?: { [key: string]: unknown } | null;
1678
-
1679
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
1680
-
1681
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1682
-
1683
- status_message?: string | null;
1684
-
1685
- updated_at?: string;
1686
- }
1687
-
1688
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1689
- export interface Settings {
1690
- oauth: Settings.OAuth;
1691
-
1692
- /**
1693
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
1694
- * for backward compatibility until we remove the oauth field
1695
- */
1696
- access_token?: string;
1697
- }
1698
-
1699
- export namespace Settings {
1700
- export interface OAuth {
1701
- created_at?: string;
1702
-
1703
- /**
1704
- * Output of the postConnect hook for oauth2 connectors
1705
- */
1706
- credentials?: OAuth.Credentials;
1707
-
1708
- last_fetched_at?: string;
1709
-
1710
- metadata?: { [key: string]: unknown } | null;
1711
-
1712
- updated_at?: string;
1713
- }
1714
-
1715
- export namespace OAuth {
1716
- /**
1717
- * Output of the postConnect hook for oauth2 connectors
1718
- */
1719
- export interface Credentials {
1720
- access_token: string;
1721
-
1722
- /**
1723
- * Client ID used for the connection
1724
- */
1725
- client_id?: string;
1726
-
1727
- expires_at?: string;
1728
-
1729
- expires_in?: number;
1730
-
1731
- raw?: { [key: string]: unknown };
1732
-
1733
- refresh_token?: string;
1734
-
1735
- scope?: string;
1736
-
1737
- token_type?: string;
1738
- }
1739
- }
1740
- }
1741
- }
1742
-
1743
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
1744
- connector_name: 'google-docs';
1745
-
1746
- id?: string;
1747
-
1748
- connector?: TopLevelAPI.Connector;
1749
-
1750
- connector_config_id?: string | null;
1751
-
1752
- created_at?: string;
1753
-
1754
- customer_id?: string | null;
1755
-
1756
- disabled?: boolean | null;
1757
-
1758
- display_name?: string | null;
1759
-
1760
- environment?: 'production' | 'development';
1761
-
1762
- integration?: TopLevelAPI.Integration;
1763
-
1764
- integration_id?: string | null;
1765
-
1766
- /**
1767
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
1768
- * separate 1-1 table just for simple key values in your application. During
1769
- * updates this object will be shallowly merged
1770
- */
1771
- metadata?: { [key: string]: unknown } | null;
1772
-
1773
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
1774
-
1775
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1776
-
1777
- status_message?: string | null;
1778
-
1779
- updated_at?: string;
1780
- }
1781
-
1782
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
1783
- export interface Settings {
1784
- oauth: Settings.OAuth;
1785
-
1786
- /**
1787
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
1788
- * for backward compatibility until we remove the oauth field
1789
- */
1790
- access_token?: string;
1791
- }
1792
-
1793
- export namespace Settings {
1794
- export interface OAuth {
1795
- created_at?: string;
1796
-
1797
- /**
1798
- * Output of the postConnect hook for oauth2 connectors
1799
- */
1800
- credentials?: OAuth.Credentials;
1801
-
1802
- last_fetched_at?: string;
1803
-
1804
- metadata?: { [key: string]: unknown } | null;
1805
-
1806
- updated_at?: string;
1807
- }
1808
-
1809
- export namespace OAuth {
1810
- /**
1811
- * Output of the postConnect hook for oauth2 connectors
1812
- */
1813
- export interface Credentials {
1814
- access_token: string;
1815
-
1816
- /**
1817
- * Client ID used for the connection
1818
- */
1819
- client_id?: string;
1820
-
1821
- expires_at?: string;
1822
-
1823
- expires_in?: number;
1824
-
1825
- raw?: { [key: string]: unknown };
1826
-
1827
- refresh_token?: string;
1828
-
1829
- scope?: string;
1830
-
1831
- token_type?: string;
1832
- }
1833
- }
1834
- }
1835
- }
1836
-
1837
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
1838
- connector_name: 'google-drive';
1651
+ export interface ConnectorGitHubDiscriminatedConnectionSettings {
1652
+ connector_name: 'github';
1839
1653
 
1840
1654
  id?: string;
1841
1655
 
@@ -1864,7 +1678,7 @@ export namespace CreateConnectionResponse {
1864
1678
  */
1865
1679
  metadata?: { [key: string]: unknown } | null;
1866
1680
 
1867
- settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
1681
+ settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
1868
1682
 
1869
1683
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1870
1684
 
@@ -1873,7 +1687,7 @@ export namespace CreateConnectionResponse {
1873
1687
  updated_at?: string;
1874
1688
  }
1875
1689
 
1876
- export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
1690
+ export namespace ConnectorGitHubDiscriminatedConnectionSettings {
1877
1691
  export interface Settings {
1878
1692
  oauth: Settings.OAuth;
1879
1693
 
@@ -1928,8 +1742,8 @@ export namespace CreateConnectionResponse {
1928
1742
  }
1929
1743
  }
1930
1744
 
1931
- export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
1932
- connector_name: 'google-mail';
1745
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1746
+ connector_name: 'google-calendar';
1933
1747
 
1934
1748
  id?: string;
1935
1749
 
@@ -1958,7 +1772,7 @@ export namespace CreateConnectionResponse {
1958
1772
  */
1959
1773
  metadata?: { [key: string]: unknown } | null;
1960
1774
 
1961
- settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
1775
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
1962
1776
 
1963
1777
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1964
1778
 
@@ -1967,7 +1781,7 @@ export namespace CreateConnectionResponse {
1967
1781
  updated_at?: string;
1968
1782
  }
1969
1783
 
1970
- export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
1784
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1971
1785
  export interface Settings {
1972
1786
  oauth: Settings.OAuth;
1973
1787
 
@@ -2022,8 +1836,8 @@ export namespace CreateConnectionResponse {
2022
1836
  }
2023
1837
  }
2024
1838
 
2025
- export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
2026
- connector_name: 'google-sheet';
1839
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
1840
+ connector_name: 'google-docs';
2027
1841
 
2028
1842
  id?: string;
2029
1843
 
@@ -2052,7 +1866,7 @@ export namespace CreateConnectionResponse {
2052
1866
  */
2053
1867
  metadata?: { [key: string]: unknown } | null;
2054
1868
 
2055
- settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
1869
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
2056
1870
 
2057
1871
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2058
1872
 
@@ -2061,7 +1875,7 @@ export namespace CreateConnectionResponse {
2061
1875
  updated_at?: string;
2062
1876
  }
2063
1877
 
2064
- export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
1878
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
2065
1879
  export interface Settings {
2066
1880
  oauth: Settings.OAuth;
2067
1881
 
@@ -2116,8 +1930,8 @@ export namespace CreateConnectionResponse {
2116
1930
  }
2117
1931
  }
2118
1932
 
2119
- export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2120
- connector_name: 'google-slides';
1933
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
1934
+ connector_name: 'google-drive';
2121
1935
 
2122
1936
  id?: string;
2123
1937
 
@@ -2146,7 +1960,7 @@ export namespace CreateConnectionResponse {
2146
1960
  */
2147
1961
  metadata?: { [key: string]: unknown } | null;
2148
1962
 
2149
- settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
1963
+ settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
2150
1964
 
2151
1965
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2152
1966
 
@@ -2155,7 +1969,7 @@ export namespace CreateConnectionResponse {
2155
1969
  updated_at?: string;
2156
1970
  }
2157
1971
 
2158
- export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
1972
+ export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
2159
1973
  export interface Settings {
2160
1974
  oauth: Settings.OAuth;
2161
1975
 
@@ -2210,8 +2024,8 @@ export namespace CreateConnectionResponse {
2210
2024
  }
2211
2025
  }
2212
2026
 
2213
- export interface ConnectorHubspotDiscriminatedConnectionSettings {
2214
- connector_name: 'hubspot';
2027
+ export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
2028
+ connector_name: 'google-mail';
2215
2029
 
2216
2030
  id?: string;
2217
2031
 
@@ -2240,7 +2054,7 @@ export namespace CreateConnectionResponse {
2240
2054
  */
2241
2055
  metadata?: { [key: string]: unknown } | null;
2242
2056
 
2243
- settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
2057
+ settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
2244
2058
 
2245
2059
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2246
2060
 
@@ -2249,7 +2063,7 @@ export namespace CreateConnectionResponse {
2249
2063
  updated_at?: string;
2250
2064
  }
2251
2065
 
2252
- export namespace ConnectorHubspotDiscriminatedConnectionSettings {
2066
+ export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
2253
2067
  export interface Settings {
2254
2068
  oauth: Settings.OAuth;
2255
2069
 
@@ -2304,8 +2118,8 @@ export namespace CreateConnectionResponse {
2304
2118
  }
2305
2119
  }
2306
2120
 
2307
- export interface ConnectorInstagramDiscriminatedConnectionSettings {
2308
- connector_name: 'instagram';
2121
+ export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
2122
+ connector_name: 'google-sheet';
2309
2123
 
2310
2124
  id?: string;
2311
2125
 
@@ -2334,7 +2148,7 @@ export namespace CreateConnectionResponse {
2334
2148
  */
2335
2149
  metadata?: { [key: string]: unknown } | null;
2336
2150
 
2337
- settings?: ConnectorInstagramDiscriminatedConnectionSettings.Settings;
2151
+ settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
2338
2152
 
2339
2153
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2340
2154
 
@@ -2343,7 +2157,7 @@ export namespace CreateConnectionResponse {
2343
2157
  updated_at?: string;
2344
2158
  }
2345
2159
 
2346
- export namespace ConnectorInstagramDiscriminatedConnectionSettings {
2160
+ export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
2347
2161
  export interface Settings {
2348
2162
  oauth: Settings.OAuth;
2349
2163
 
@@ -2398,8 +2212,8 @@ export namespace CreateConnectionResponse {
2398
2212
  }
2399
2213
  }
2400
2214
 
2401
- export interface ConnectorJiraDiscriminatedConnectionSettings {
2402
- connector_name: 'jira';
2215
+ export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2216
+ connector_name: 'google-slides';
2403
2217
 
2404
2218
  id?: string;
2405
2219
 
@@ -2428,7 +2242,7 @@ export namespace CreateConnectionResponse {
2428
2242
  */
2429
2243
  metadata?: { [key: string]: unknown } | null;
2430
2244
 
2431
- settings?: ConnectorJiraDiscriminatedConnectionSettings.Settings;
2245
+ settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
2432
2246
 
2433
2247
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2434
2248
 
@@ -2437,15 +2251,10 @@ export namespace CreateConnectionResponse {
2437
2251
  updated_at?: string;
2438
2252
  }
2439
2253
 
2440
- export namespace ConnectorJiraDiscriminatedConnectionSettings {
2254
+ export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
2441
2255
  export interface Settings {
2442
2256
  oauth: Settings.OAuth;
2443
2257
 
2444
- /**
2445
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
2446
- */
2447
- site_url: string;
2448
-
2449
2258
  /**
2450
2259
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
2451
2260
  * for backward compatibility until we remove the oauth field
@@ -2497,8 +2306,8 @@ export namespace CreateConnectionResponse {
2497
2306
  }
2498
2307
  }
2499
2308
 
2500
- export interface ConnectorLinearDiscriminatedConnectionSettings {
2501
- connector_name: 'linear';
2309
+ export interface ConnectorHubspotDiscriminatedConnectionSettings {
2310
+ connector_name: 'hubspot';
2502
2311
 
2503
2312
  id?: string;
2504
2313
 
@@ -2527,7 +2336,7 @@ export namespace CreateConnectionResponse {
2527
2336
  */
2528
2337
  metadata?: { [key: string]: unknown } | null;
2529
2338
 
2530
- settings?: ConnectorLinearDiscriminatedConnectionSettings.Settings;
2339
+ settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
2531
2340
 
2532
2341
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2533
2342
 
@@ -2536,7 +2345,7 @@ export namespace CreateConnectionResponse {
2536
2345
  updated_at?: string;
2537
2346
  }
2538
2347
 
2539
- export namespace ConnectorLinearDiscriminatedConnectionSettings {
2348
+ export namespace ConnectorHubspotDiscriminatedConnectionSettings {
2540
2349
  export interface Settings {
2541
2350
  oauth: Settings.OAuth;
2542
2351
 
@@ -2591,8 +2400,8 @@ export namespace CreateConnectionResponse {
2591
2400
  }
2592
2401
  }
2593
2402
 
2594
- export interface ConnectorMondayDiscriminatedConnectionSettings {
2595
- connector_name: 'monday';
2403
+ export interface ConnectorInstagramDiscriminatedConnectionSettings {
2404
+ connector_name: 'instagram';
2596
2405
 
2597
2406
  id?: string;
2598
2407
 
@@ -2621,7 +2430,7 @@ export namespace CreateConnectionResponse {
2621
2430
  */
2622
2431
  metadata?: { [key: string]: unknown } | null;
2623
2432
 
2624
- settings?: ConnectorMondayDiscriminatedConnectionSettings.Settings;
2433
+ settings?: ConnectorInstagramDiscriminatedConnectionSettings.Settings;
2625
2434
 
2626
2435
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2627
2436
 
@@ -2630,7 +2439,7 @@ export namespace CreateConnectionResponse {
2630
2439
  updated_at?: string;
2631
2440
  }
2632
2441
 
2633
- export namespace ConnectorMondayDiscriminatedConnectionSettings {
2442
+ export namespace ConnectorInstagramDiscriminatedConnectionSettings {
2634
2443
  export interface Settings {
2635
2444
  oauth: Settings.OAuth;
2636
2445
 
@@ -2685,8 +2494,8 @@ export namespace CreateConnectionResponse {
2685
2494
  }
2686
2495
  }
2687
2496
 
2688
- export interface ConnectorNotionDiscriminatedConnectionSettings {
2689
- connector_name: 'notion';
2497
+ export interface ConnectorJiraDiscriminatedConnectionSettings {
2498
+ connector_name: 'jira';
2690
2499
 
2691
2500
  id?: string;
2692
2501
 
@@ -2715,7 +2524,7 @@ export namespace CreateConnectionResponse {
2715
2524
  */
2716
2525
  metadata?: { [key: string]: unknown } | null;
2717
2526
 
2718
- settings?: ConnectorNotionDiscriminatedConnectionSettings.Settings;
2527
+ settings?: ConnectorJiraDiscriminatedConnectionSettings.Settings;
2719
2528
 
2720
2529
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2721
2530
 
@@ -2724,10 +2533,15 @@ export namespace CreateConnectionResponse {
2724
2533
  updated_at?: string;
2725
2534
  }
2726
2535
 
2727
- export namespace ConnectorNotionDiscriminatedConnectionSettings {
2536
+ export namespace ConnectorJiraDiscriminatedConnectionSettings {
2728
2537
  export interface Settings {
2729
2538
  oauth: Settings.OAuth;
2730
2539
 
2540
+ /**
2541
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
2542
+ */
2543
+ site_url: string;
2544
+
2731
2545
  /**
2732
2546
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
2733
2547
  * for backward compatibility until we remove the oauth field
@@ -2779,8 +2593,8 @@ export namespace CreateConnectionResponse {
2779
2593
  }
2780
2594
  }
2781
2595
 
2782
- export interface ConnectorOnedriveDiscriminatedConnectionSettings {
2783
- connector_name: 'onedrive';
2596
+ export interface ConnectorLinearDiscriminatedConnectionSettings {
2597
+ connector_name: 'linear';
2784
2598
 
2785
2599
  id?: string;
2786
2600
 
@@ -2809,7 +2623,7 @@ export namespace CreateConnectionResponse {
2809
2623
  */
2810
2624
  metadata?: { [key: string]: unknown } | null;
2811
2625
 
2812
- settings?: ConnectorOnedriveDiscriminatedConnectionSettings.Settings;
2626
+ settings?: ConnectorLinearDiscriminatedConnectionSettings.Settings;
2813
2627
 
2814
2628
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2815
2629
 
@@ -2818,7 +2632,7 @@ export namespace CreateConnectionResponse {
2818
2632
  updated_at?: string;
2819
2633
  }
2820
2634
 
2821
- export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
2635
+ export namespace ConnectorLinearDiscriminatedConnectionSettings {
2822
2636
  export interface Settings {
2823
2637
  oauth: Settings.OAuth;
2824
2638
 
@@ -2873,8 +2687,8 @@ export namespace CreateConnectionResponse {
2873
2687
  }
2874
2688
  }
2875
2689
 
2876
- export interface ConnectorOutlookDiscriminatedConnectionSettings {
2877
- connector_name: 'outlook';
2690
+ export interface ConnectorMondayDiscriminatedConnectionSettings {
2691
+ connector_name: 'monday';
2878
2692
 
2879
2693
  id?: string;
2880
2694
 
@@ -2903,7 +2717,7 @@ export namespace CreateConnectionResponse {
2903
2717
  */
2904
2718
  metadata?: { [key: string]: unknown } | null;
2905
2719
 
2906
- settings?: ConnectorOutlookDiscriminatedConnectionSettings.Settings;
2720
+ settings?: ConnectorMondayDiscriminatedConnectionSettings.Settings;
2907
2721
 
2908
2722
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2909
2723
 
@@ -2912,7 +2726,7 @@ export namespace CreateConnectionResponse {
2912
2726
  updated_at?: string;
2913
2727
  }
2914
2728
 
2915
- export namespace ConnectorOutlookDiscriminatedConnectionSettings {
2729
+ export namespace ConnectorMondayDiscriminatedConnectionSettings {
2916
2730
  export interface Settings {
2917
2731
  oauth: Settings.OAuth;
2918
2732
 
@@ -2967,8 +2781,8 @@ export namespace CreateConnectionResponse {
2967
2781
  }
2968
2782
  }
2969
2783
 
2970
- export interface ConnectorSalesforceDiscriminatedConnectionSettings {
2971
- connector_name: 'salesforce';
2784
+ export interface ConnectorNotionDiscriminatedConnectionSettings {
2785
+ connector_name: 'notion';
2972
2786
 
2973
2787
  id?: string;
2974
2788
 
@@ -2997,7 +2811,7 @@ export namespace CreateConnectionResponse {
2997
2811
  */
2998
2812
  metadata?: { [key: string]: unknown } | null;
2999
2813
 
3000
- settings?: ConnectorSalesforceDiscriminatedConnectionSettings.Settings;
2814
+ settings?: ConnectorNotionDiscriminatedConnectionSettings.Settings;
3001
2815
 
3002
2816
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3003
2817
 
@@ -3006,13 +2820,102 @@ export namespace CreateConnectionResponse {
3006
2820
  updated_at?: string;
3007
2821
  }
3008
2822
 
3009
- export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
2823
+ export namespace ConnectorNotionDiscriminatedConnectionSettings {
3010
2824
  export interface Settings {
2825
+ oauth: Settings.OAuth;
2826
+
3011
2827
  /**
3012
- * The instance URL of your Salesforce account (e.g., example)
2828
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
2829
+ * for backward compatibility until we remove the oauth field
3013
2830
  */
3014
- instance_url: string;
2831
+ access_token?: string;
2832
+ }
3015
2833
 
2834
+ export namespace Settings {
2835
+ export interface OAuth {
2836
+ created_at?: string;
2837
+
2838
+ /**
2839
+ * Output of the postConnect hook for oauth2 connectors
2840
+ */
2841
+ credentials?: OAuth.Credentials;
2842
+
2843
+ last_fetched_at?: string;
2844
+
2845
+ metadata?: { [key: string]: unknown } | null;
2846
+
2847
+ updated_at?: string;
2848
+ }
2849
+
2850
+ export namespace OAuth {
2851
+ /**
2852
+ * Output of the postConnect hook for oauth2 connectors
2853
+ */
2854
+ export interface Credentials {
2855
+ access_token: string;
2856
+
2857
+ /**
2858
+ * Client ID used for the connection
2859
+ */
2860
+ client_id?: string;
2861
+
2862
+ expires_at?: string;
2863
+
2864
+ expires_in?: number;
2865
+
2866
+ raw?: { [key: string]: unknown };
2867
+
2868
+ refresh_token?: string;
2869
+
2870
+ scope?: string;
2871
+
2872
+ token_type?: string;
2873
+ }
2874
+ }
2875
+ }
2876
+ }
2877
+
2878
+ export interface ConnectorOnedriveDiscriminatedConnectionSettings {
2879
+ connector_name: 'onedrive';
2880
+
2881
+ id?: string;
2882
+
2883
+ connector?: TopLevelAPI.Connector;
2884
+
2885
+ connector_config_id?: string | null;
2886
+
2887
+ created_at?: string;
2888
+
2889
+ customer_id?: string | null;
2890
+
2891
+ disabled?: boolean | null;
2892
+
2893
+ display_name?: string | null;
2894
+
2895
+ environment?: 'production' | 'development';
2896
+
2897
+ integration?: TopLevelAPI.Integration;
2898
+
2899
+ integration_id?: string | null;
2900
+
2901
+ /**
2902
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
2903
+ * separate 1-1 table just for simple key values in your application. During
2904
+ * updates this object will be shallowly merged
2905
+ */
2906
+ metadata?: { [key: string]: unknown } | null;
2907
+
2908
+ settings?: ConnectorOnedriveDiscriminatedConnectionSettings.Settings;
2909
+
2910
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
2911
+
2912
+ status_message?: string | null;
2913
+
2914
+ updated_at?: string;
2915
+ }
2916
+
2917
+ export namespace ConnectorOnedriveDiscriminatedConnectionSettings {
2918
+ export interface Settings {
3016
2919
  oauth: Settings.OAuth;
3017
2920
 
3018
2921
  /**
@@ -3066,8 +2969,8 @@ export namespace CreateConnectionResponse {
3066
2969
  }
3067
2970
  }
3068
2971
 
3069
- export interface ConnectorSharepointDiscriminatedConnectionSettings {
3070
- connector_name: 'sharepoint';
2972
+ export interface ConnectorOutlookDiscriminatedConnectionSettings {
2973
+ connector_name: 'outlook';
3071
2974
 
3072
2975
  id?: string;
3073
2976
 
@@ -3096,7 +2999,7 @@ export namespace CreateConnectionResponse {
3096
2999
  */
3097
3000
  metadata?: { [key: string]: unknown } | null;
3098
3001
 
3099
- settings?: ConnectorSharepointDiscriminatedConnectionSettings.Settings;
3002
+ settings?: ConnectorOutlookDiscriminatedConnectionSettings.Settings;
3100
3003
 
3101
3004
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3102
3005
 
@@ -3105,7 +3008,7 @@ export namespace CreateConnectionResponse {
3105
3008
  updated_at?: string;
3106
3009
  }
3107
3010
 
3108
- export namespace ConnectorSharepointDiscriminatedConnectionSettings {
3011
+ export namespace ConnectorOutlookDiscriminatedConnectionSettings {
3109
3012
  export interface Settings {
3110
3013
  oauth: Settings.OAuth;
3111
3014
 
@@ -3160,8 +3063,8 @@ export namespace CreateConnectionResponse {
3160
3063
  }
3161
3064
  }
3162
3065
 
3163
- export interface ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3164
- connector_name: 'slack-deployed-agent';
3066
+ export interface ConnectorSalesforceDiscriminatedConnectionSettings {
3067
+ connector_name: 'salesforce';
3165
3068
 
3166
3069
  id?: string;
3167
3070
 
@@ -3190,7 +3093,7 @@ export namespace CreateConnectionResponse {
3190
3093
  */
3191
3094
  metadata?: { [key: string]: unknown } | null;
3192
3095
 
3193
- settings?: ConnectorSlackDeployedAgentDiscriminatedConnectionSettings.Settings;
3096
+ settings?: ConnectorSalesforceDiscriminatedConnectionSettings.Settings;
3194
3097
 
3195
3098
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3196
3099
 
@@ -3199,7 +3102,200 @@ export namespace CreateConnectionResponse {
3199
3102
  updated_at?: string;
3200
3103
  }
3201
3104
 
3202
- export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3105
+ export namespace ConnectorSalesforceDiscriminatedConnectionSettings {
3106
+ export interface Settings {
3107
+ /**
3108
+ * The instance URL of your Salesforce account (e.g., example)
3109
+ */
3110
+ instance_url: string;
3111
+
3112
+ oauth: Settings.OAuth;
3113
+
3114
+ /**
3115
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3116
+ * for backward compatibility until we remove the oauth field
3117
+ */
3118
+ access_token?: string;
3119
+ }
3120
+
3121
+ export namespace Settings {
3122
+ export interface OAuth {
3123
+ created_at?: string;
3124
+
3125
+ /**
3126
+ * Output of the postConnect hook for oauth2 connectors
3127
+ */
3128
+ credentials?: OAuth.Credentials;
3129
+
3130
+ last_fetched_at?: string;
3131
+
3132
+ metadata?: { [key: string]: unknown } | null;
3133
+
3134
+ updated_at?: string;
3135
+ }
3136
+
3137
+ export namespace OAuth {
3138
+ /**
3139
+ * Output of the postConnect hook for oauth2 connectors
3140
+ */
3141
+ export interface Credentials {
3142
+ access_token: string;
3143
+
3144
+ /**
3145
+ * Client ID used for the connection
3146
+ */
3147
+ client_id?: string;
3148
+
3149
+ expires_at?: string;
3150
+
3151
+ expires_in?: number;
3152
+
3153
+ raw?: { [key: string]: unknown };
3154
+
3155
+ refresh_token?: string;
3156
+
3157
+ scope?: string;
3158
+
3159
+ token_type?: string;
3160
+ }
3161
+ }
3162
+ }
3163
+ }
3164
+
3165
+ export interface ConnectorSharepointDiscriminatedConnectionSettings {
3166
+ connector_name: 'sharepoint';
3167
+
3168
+ id?: string;
3169
+
3170
+ connector?: TopLevelAPI.Connector;
3171
+
3172
+ connector_config_id?: string | null;
3173
+
3174
+ created_at?: string;
3175
+
3176
+ customer_id?: string | null;
3177
+
3178
+ disabled?: boolean | null;
3179
+
3180
+ display_name?: string | null;
3181
+
3182
+ environment?: 'production' | 'development';
3183
+
3184
+ integration?: TopLevelAPI.Integration;
3185
+
3186
+ integration_id?: string | null;
3187
+
3188
+ /**
3189
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3190
+ * separate 1-1 table just for simple key values in your application. During
3191
+ * updates this object will be shallowly merged
3192
+ */
3193
+ metadata?: { [key: string]: unknown } | null;
3194
+
3195
+ settings?: ConnectorSharepointDiscriminatedConnectionSettings.Settings;
3196
+
3197
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3198
+
3199
+ status_message?: string | null;
3200
+
3201
+ updated_at?: string;
3202
+ }
3203
+
3204
+ export namespace ConnectorSharepointDiscriminatedConnectionSettings {
3205
+ export interface Settings {
3206
+ oauth: Settings.OAuth;
3207
+
3208
+ /**
3209
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3210
+ * for backward compatibility until we remove the oauth field
3211
+ */
3212
+ access_token?: string;
3213
+ }
3214
+
3215
+ export namespace Settings {
3216
+ export interface OAuth {
3217
+ created_at?: string;
3218
+
3219
+ /**
3220
+ * Output of the postConnect hook for oauth2 connectors
3221
+ */
3222
+ credentials?: OAuth.Credentials;
3223
+
3224
+ last_fetched_at?: string;
3225
+
3226
+ metadata?: { [key: string]: unknown } | null;
3227
+
3228
+ updated_at?: string;
3229
+ }
3230
+
3231
+ export namespace OAuth {
3232
+ /**
3233
+ * Output of the postConnect hook for oauth2 connectors
3234
+ */
3235
+ export interface Credentials {
3236
+ access_token: string;
3237
+
3238
+ /**
3239
+ * Client ID used for the connection
3240
+ */
3241
+ client_id?: string;
3242
+
3243
+ expires_at?: string;
3244
+
3245
+ expires_in?: number;
3246
+
3247
+ raw?: { [key: string]: unknown };
3248
+
3249
+ refresh_token?: string;
3250
+
3251
+ scope?: string;
3252
+
3253
+ token_type?: string;
3254
+ }
3255
+ }
3256
+ }
3257
+ }
3258
+
3259
+ export interface ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3260
+ connector_name: 'slack-deployed-agent';
3261
+
3262
+ id?: string;
3263
+
3264
+ connector?: TopLevelAPI.Connector;
3265
+
3266
+ connector_config_id?: string | null;
3267
+
3268
+ created_at?: string;
3269
+
3270
+ customer_id?: string | null;
3271
+
3272
+ disabled?: boolean | null;
3273
+
3274
+ display_name?: string | null;
3275
+
3276
+ environment?: 'production' | 'development';
3277
+
3278
+ integration?: TopLevelAPI.Integration;
3279
+
3280
+ integration_id?: string | null;
3281
+
3282
+ /**
3283
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3284
+ * separate 1-1 table just for simple key values in your application. During
3285
+ * updates this object will be shallowly merged
3286
+ */
3287
+ metadata?: { [key: string]: unknown } | null;
3288
+
3289
+ settings?: ConnectorSlackDeployedAgentDiscriminatedConnectionSettings.Settings;
3290
+
3291
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3292
+
3293
+ status_message?: string | null;
3294
+
3295
+ updated_at?: string;
3296
+ }
3297
+
3298
+ export namespace ConnectorSlackDeployedAgentDiscriminatedConnectionSettings {
3203
3299
  export interface Settings {
3204
3300
  oauth: Settings.OAuth;
3205
3301
 
@@ -4616,6 +4712,7 @@ export type CreateConnnectorConfigResponse =
4616
4712
  | CreateConnnectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
4617
4713
  | CreateConnnectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
4618
4714
  | CreateConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
4715
+ | CreateConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
4619
4716
  | CreateConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
4620
4717
  | CreateConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
4621
4718
  | CreateConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -5385,6 +5482,58 @@ export namespace CreateConnnectorConfigResponse {
5385
5482
  }
5386
5483
  }
5387
5484
 
5485
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
5486
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
5487
+
5488
+ connector_name: 'github-source-control';
5489
+
5490
+ id?: string;
5491
+
5492
+ created_at?: string;
5493
+
5494
+ disabled?: boolean | null;
5495
+
5496
+ display_name?: string | null;
5497
+
5498
+ /**
5499
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
5500
+ * separate 1-1 table just for simple key values in your application. During
5501
+ * updates this object will be shallowly merged
5502
+ */
5503
+ metadata?: { [key: string]: unknown } | null;
5504
+
5505
+ org_id?: string;
5506
+
5507
+ updated_at?: string;
5508
+ }
5509
+
5510
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
5511
+ export interface Config {
5512
+ /**
5513
+ * Base oauth configuration for the connector
5514
+ */
5515
+ oauth?: Config.OAuth | null;
5516
+ }
5517
+
5518
+ export namespace Config {
5519
+ /**
5520
+ * Base oauth configuration for the connector
5521
+ */
5522
+ export interface OAuth {
5523
+ client_id?: string | null;
5524
+
5525
+ client_secret?: string | null;
5526
+
5527
+ /**
5528
+ * Custom redirect URI
5529
+ */
5530
+ redirect_uri?: string | null;
5531
+
5532
+ scopes?: Array<string> | null;
5533
+ }
5534
+ }
5535
+ }
5536
+
5388
5537
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
5389
5538
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
5390
5539
 
@@ -7125,6 +7274,7 @@ export type GetConectorConfigResponse =
7125
7274
  | GetConectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
7126
7275
  | GetConectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
7127
7276
  | GetConectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
7277
+ | GetConectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
7128
7278
  | GetConectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
7129
7279
  | GetConectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
7130
7280
  | GetConectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -7984,6 +8134,64 @@ export namespace GetConectorConfigResponse {
7984
8134
  }
7985
8135
  }
7986
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
+
7987
8195
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
7988
8196
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
7989
8197
 
@@ -9892,6 +10100,7 @@ export type GetConnectionResponse =
9892
10100
  | GetConnectionResponse.ConnectorDiscordDiscriminatedConnectionSettings
9893
10101
  | GetConnectionResponse.ConnectorDropboxDiscriminatedConnectionSettings
9894
10102
  | GetConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
10103
+ | GetConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
9895
10104
  | GetConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
9896
10105
  | GetConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
9897
10106
  | GetConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -11253,8 +11462,8 @@ export namespace GetConnectionResponse {
11253
11462
  }
11254
11463
  }
11255
11464
 
11256
- export interface ConnectorGitHubDiscriminatedConnectionSettings {
11257
- connector_name: 'github';
11465
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
11466
+ connector_name: 'github-source-control';
11258
11467
 
11259
11468
  id?: string;
11260
11469
 
@@ -11283,7 +11492,7 @@ export namespace GetConnectionResponse {
11283
11492
  */
11284
11493
  metadata?: { [key: string]: unknown } | null;
11285
11494
 
11286
- settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
11495
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
11287
11496
 
11288
11497
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11289
11498
 
@@ -11292,7 +11501,7 @@ export namespace GetConnectionResponse {
11292
11501
  updated_at?: string;
11293
11502
  }
11294
11503
 
11295
- export namespace ConnectorGitHubDiscriminatedConnectionSettings {
11504
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
11296
11505
  export interface Settings {
11297
11506
  oauth: Settings.OAuth;
11298
11507
 
@@ -11347,8 +11556,8 @@ export namespace GetConnectionResponse {
11347
11556
  }
11348
11557
  }
11349
11558
 
11350
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
11351
- connector_name: 'google-calendar';
11559
+ export interface ConnectorGitHubDiscriminatedConnectionSettings {
11560
+ connector_name: 'github';
11352
11561
 
11353
11562
  id?: string;
11354
11563
 
@@ -11377,7 +11586,7 @@ export namespace GetConnectionResponse {
11377
11586
  */
11378
11587
  metadata?: { [key: string]: unknown } | null;
11379
11588
 
11380
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
11589
+ settings?: ConnectorGitHubDiscriminatedConnectionSettings.Settings;
11381
11590
 
11382
11591
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11383
11592
 
@@ -11386,7 +11595,7 @@ export namespace GetConnectionResponse {
11386
11595
  updated_at?: string;
11387
11596
  }
11388
11597
 
11389
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
11598
+ export namespace ConnectorGitHubDiscriminatedConnectionSettings {
11390
11599
  export interface Settings {
11391
11600
  oauth: Settings.OAuth;
11392
11601
 
@@ -11441,8 +11650,8 @@ export namespace GetConnectionResponse {
11441
11650
  }
11442
11651
  }
11443
11652
 
11444
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
11445
- connector_name: 'google-docs';
11653
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
11654
+ connector_name: 'google-calendar';
11446
11655
 
11447
11656
  id?: string;
11448
11657
 
@@ -11471,7 +11680,7 @@ export namespace GetConnectionResponse {
11471
11680
  */
11472
11681
  metadata?: { [key: string]: unknown } | null;
11473
11682
 
11474
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
11683
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
11475
11684
 
11476
11685
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11477
11686
 
@@ -11480,7 +11689,7 @@ export namespace GetConnectionResponse {
11480
11689
  updated_at?: string;
11481
11690
  }
11482
11691
 
11483
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
11692
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
11484
11693
  export interface Settings {
11485
11694
  oauth: Settings.OAuth;
11486
11695
 
@@ -11535,8 +11744,8 @@ export namespace GetConnectionResponse {
11535
11744
  }
11536
11745
  }
11537
11746
 
11538
- export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
11539
- connector_name: 'google-drive';
11747
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
11748
+ connector_name: 'google-docs';
11540
11749
 
11541
11750
  id?: string;
11542
11751
 
@@ -11565,7 +11774,7 @@ export namespace GetConnectionResponse {
11565
11774
  */
11566
11775
  metadata?: { [key: string]: unknown } | null;
11567
11776
 
11568
- settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
11777
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
11569
11778
 
11570
11779
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11571
11780
 
@@ -11574,7 +11783,7 @@ export namespace GetConnectionResponse {
11574
11783
  updated_at?: string;
11575
11784
  }
11576
11785
 
11577
- export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
11786
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
11578
11787
  export interface Settings {
11579
11788
  oauth: Settings.OAuth;
11580
11789
 
@@ -11629,8 +11838,8 @@ export namespace GetConnectionResponse {
11629
11838
  }
11630
11839
  }
11631
11840
 
11632
- export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
11633
- connector_name: 'google-mail';
11841
+ export interface ConnectorGoogleDriveDiscriminatedConnectionSettings {
11842
+ connector_name: 'google-drive';
11634
11843
 
11635
11844
  id?: string;
11636
11845
 
@@ -11659,7 +11868,7 @@ export namespace GetConnectionResponse {
11659
11868
  */
11660
11869
  metadata?: { [key: string]: unknown } | null;
11661
11870
 
11662
- settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
11871
+ settings?: ConnectorGoogleDriveDiscriminatedConnectionSettings.Settings;
11663
11872
 
11664
11873
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11665
11874
 
@@ -11668,7 +11877,7 @@ export namespace GetConnectionResponse {
11668
11877
  updated_at?: string;
11669
11878
  }
11670
11879
 
11671
- export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
11880
+ export namespace ConnectorGoogleDriveDiscriminatedConnectionSettings {
11672
11881
  export interface Settings {
11673
11882
  oauth: Settings.OAuth;
11674
11883
 
@@ -11723,8 +11932,8 @@ export namespace GetConnectionResponse {
11723
11932
  }
11724
11933
  }
11725
11934
 
11726
- export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
11727
- connector_name: 'google-sheet';
11935
+ export interface ConnectorGoogleMailDiscriminatedConnectionSettings {
11936
+ connector_name: 'google-mail';
11728
11937
 
11729
11938
  id?: string;
11730
11939
 
@@ -11753,7 +11962,7 @@ export namespace GetConnectionResponse {
11753
11962
  */
11754
11963
  metadata?: { [key: string]: unknown } | null;
11755
11964
 
11756
- settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
11965
+ settings?: ConnectorGoogleMailDiscriminatedConnectionSettings.Settings;
11757
11966
 
11758
11967
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11759
11968
 
@@ -11762,7 +11971,7 @@ export namespace GetConnectionResponse {
11762
11971
  updated_at?: string;
11763
11972
  }
11764
11973
 
11765
- export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
11974
+ export namespace ConnectorGoogleMailDiscriminatedConnectionSettings {
11766
11975
  export interface Settings {
11767
11976
  oauth: Settings.OAuth;
11768
11977
 
@@ -11817,8 +12026,8 @@ export namespace GetConnectionResponse {
11817
12026
  }
11818
12027
  }
11819
12028
 
11820
- export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
11821
- connector_name: 'google-slides';
12029
+ export interface ConnectorGoogleSheetDiscriminatedConnectionSettings {
12030
+ connector_name: 'google-sheet';
11822
12031
 
11823
12032
  id?: string;
11824
12033
 
@@ -11847,7 +12056,7 @@ export namespace GetConnectionResponse {
11847
12056
  */
11848
12057
  metadata?: { [key: string]: unknown } | null;
11849
12058
 
11850
- settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
12059
+ settings?: ConnectorGoogleSheetDiscriminatedConnectionSettings.Settings;
11851
12060
 
11852
12061
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11853
12062
 
@@ -11856,7 +12065,7 @@ export namespace GetConnectionResponse {
11856
12065
  updated_at?: string;
11857
12066
  }
11858
12067
 
11859
- export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
12068
+ export namespace ConnectorGoogleSheetDiscriminatedConnectionSettings {
11860
12069
  export interface Settings {
11861
12070
  oauth: Settings.OAuth;
11862
12071
 
@@ -11911,8 +12120,8 @@ export namespace GetConnectionResponse {
11911
12120
  }
11912
12121
  }
11913
12122
 
11914
- export interface ConnectorHubspotDiscriminatedConnectionSettings {
11915
- connector_name: 'hubspot';
12123
+ export interface ConnectorGoogleSlidesDiscriminatedConnectionSettings {
12124
+ connector_name: 'google-slides';
11916
12125
 
11917
12126
  id?: string;
11918
12127
 
@@ -11941,7 +12150,7 @@ export namespace GetConnectionResponse {
11941
12150
  */
11942
12151
  metadata?: { [key: string]: unknown } | null;
11943
12152
 
11944
- settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
12153
+ settings?: ConnectorGoogleSlidesDiscriminatedConnectionSettings.Settings;
11945
12154
 
11946
12155
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
11947
12156
 
@@ -11950,7 +12159,7 @@ export namespace GetConnectionResponse {
11950
12159
  updated_at?: string;
11951
12160
  }
11952
12161
 
11953
- export namespace ConnectorHubspotDiscriminatedConnectionSettings {
12162
+ export namespace ConnectorGoogleSlidesDiscriminatedConnectionSettings {
11954
12163
  export interface Settings {
11955
12164
  oauth: Settings.OAuth;
11956
12165
 
@@ -12005,8 +12214,102 @@ export namespace GetConnectionResponse {
12005
12214
  }
12006
12215
  }
12007
12216
 
12008
- export interface ConnectorInstagramDiscriminatedConnectionSettings {
12009
- connector_name: 'instagram';
12217
+ export interface ConnectorHubspotDiscriminatedConnectionSettings {
12218
+ connector_name: 'hubspot';
12219
+
12220
+ id?: string;
12221
+
12222
+ connector?: TopLevelAPI.Connector;
12223
+
12224
+ connector_config_id?: string | null;
12225
+
12226
+ created_at?: string;
12227
+
12228
+ customer_id?: string | null;
12229
+
12230
+ disabled?: boolean | null;
12231
+
12232
+ display_name?: string | null;
12233
+
12234
+ environment?: 'production' | 'development';
12235
+
12236
+ integration?: TopLevelAPI.Integration;
12237
+
12238
+ integration_id?: string | null;
12239
+
12240
+ /**
12241
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
12242
+ * separate 1-1 table just for simple key values in your application. During
12243
+ * updates this object will be shallowly merged
12244
+ */
12245
+ metadata?: { [key: string]: unknown } | null;
12246
+
12247
+ settings?: ConnectorHubspotDiscriminatedConnectionSettings.Settings;
12248
+
12249
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
12250
+
12251
+ status_message?: string | null;
12252
+
12253
+ updated_at?: string;
12254
+ }
12255
+
12256
+ export namespace ConnectorHubspotDiscriminatedConnectionSettings {
12257
+ export interface Settings {
12258
+ oauth: Settings.OAuth;
12259
+
12260
+ /**
12261
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
12262
+ * for backward compatibility until we remove the oauth field
12263
+ */
12264
+ access_token?: string;
12265
+ }
12266
+
12267
+ export namespace Settings {
12268
+ export interface OAuth {
12269
+ created_at?: string;
12270
+
12271
+ /**
12272
+ * Output of the postConnect hook for oauth2 connectors
12273
+ */
12274
+ credentials?: OAuth.Credentials;
12275
+
12276
+ last_fetched_at?: string;
12277
+
12278
+ metadata?: { [key: string]: unknown } | null;
12279
+
12280
+ updated_at?: string;
12281
+ }
12282
+
12283
+ export namespace OAuth {
12284
+ /**
12285
+ * Output of the postConnect hook for oauth2 connectors
12286
+ */
12287
+ export interface Credentials {
12288
+ access_token: string;
12289
+
12290
+ /**
12291
+ * Client ID used for the connection
12292
+ */
12293
+ client_id?: string;
12294
+
12295
+ expires_at?: string;
12296
+
12297
+ expires_in?: number;
12298
+
12299
+ raw?: { [key: string]: unknown };
12300
+
12301
+ refresh_token?: string;
12302
+
12303
+ scope?: string;
12304
+
12305
+ token_type?: string;
12306
+ }
12307
+ }
12308
+ }
12309
+ }
12310
+
12311
+ export interface ConnectorInstagramDiscriminatedConnectionSettings {
12312
+ connector_name: 'instagram';
12010
12313
 
12011
12314
  id?: string;
12012
12315
 
@@ -14343,6 +14646,7 @@ export type ListConnectionsResponse =
14343
14646
  | ListConnectionsResponse.ConnectorDiscordDiscriminatedConnectionSettings
14344
14647
  | ListConnectionsResponse.ConnectorDropboxDiscriminatedConnectionSettings
14345
14648
  | ListConnectionsResponse.ConnectorFigmaDiscriminatedConnectionSettings
14649
+ | ListConnectionsResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
14346
14650
  | ListConnectionsResponse.ConnectorGitHubDiscriminatedConnectionSettings
14347
14651
  | ListConnectionsResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
14348
14652
  | ListConnectionsResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -15704,6 +16008,100 @@ export namespace ListConnectionsResponse {
15704
16008
  }
15705
16009
  }
15706
16010
 
16011
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
16012
+ connector_name: 'github-source-control';
16013
+
16014
+ id?: string;
16015
+
16016
+ connector?: TopLevelAPI.Connector;
16017
+
16018
+ connector_config_id?: string | null;
16019
+
16020
+ created_at?: string;
16021
+
16022
+ customer_id?: string | null;
16023
+
16024
+ disabled?: boolean | null;
16025
+
16026
+ display_name?: string | null;
16027
+
16028
+ environment?: 'production' | 'development';
16029
+
16030
+ integration?: TopLevelAPI.Integration;
16031
+
16032
+ integration_id?: string | null;
16033
+
16034
+ /**
16035
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
16036
+ * separate 1-1 table just for simple key values in your application. During
16037
+ * updates this object will be shallowly merged
16038
+ */
16039
+ metadata?: { [key: string]: unknown } | null;
16040
+
16041
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
16042
+
16043
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
16044
+
16045
+ status_message?: string | null;
16046
+
16047
+ updated_at?: string;
16048
+ }
16049
+
16050
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
16051
+ export interface Settings {
16052
+ oauth: Settings.OAuth;
16053
+
16054
+ /**
16055
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
16056
+ * for backward compatibility until we remove the oauth field
16057
+ */
16058
+ access_token?: string;
16059
+ }
16060
+
16061
+ export namespace Settings {
16062
+ export interface OAuth {
16063
+ created_at?: string;
16064
+
16065
+ /**
16066
+ * Output of the postConnect hook for oauth2 connectors
16067
+ */
16068
+ credentials?: OAuth.Credentials;
16069
+
16070
+ last_fetched_at?: string;
16071
+
16072
+ metadata?: { [key: string]: unknown } | null;
16073
+
16074
+ updated_at?: string;
16075
+ }
16076
+
16077
+ export namespace OAuth {
16078
+ /**
16079
+ * Output of the postConnect hook for oauth2 connectors
16080
+ */
16081
+ export interface Credentials {
16082
+ access_token: string;
16083
+
16084
+ /**
16085
+ * Client ID used for the connection
16086
+ */
16087
+ client_id?: string;
16088
+
16089
+ expires_at?: string;
16090
+
16091
+ expires_in?: number;
16092
+
16093
+ raw?: { [key: string]: unknown };
16094
+
16095
+ refresh_token?: string;
16096
+
16097
+ scope?: string;
16098
+
16099
+ token_type?: string;
16100
+ }
16101
+ }
16102
+ }
16103
+ }
16104
+
15707
16105
  export interface ConnectorGitHubDiscriminatedConnectionSettings {
15708
16106
  connector_name: 'github';
15709
16107
 
@@ -18768,6 +19166,7 @@ export type ListConnectorConfigsResponse =
18768
19166
  | ListConnectorConfigsResponse.ConnectorDiscordDiscriminatedConnectorConfig
18769
19167
  | ListConnectorConfigsResponse.ConnectorDropboxDiscriminatedConnectorConfig
18770
19168
  | ListConnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
19169
+ | ListConnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
18771
19170
  | ListConnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
18772
19171
  | ListConnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
18773
19172
  | ListConnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -19627,6 +20026,64 @@ export namespace ListConnectorConfigsResponse {
19627
20026
  }
19628
20027
  }
19629
20028
 
20029
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
20030
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
20031
+
20032
+ connector_name: 'github-source-control';
20033
+
20034
+ id?: string;
20035
+
20036
+ connection_count?: number;
20037
+
20038
+ connector?: TopLevelAPI.Connector;
20039
+
20040
+ created_at?: string;
20041
+
20042
+ disabled?: boolean | null;
20043
+
20044
+ display_name?: string | null;
20045
+
20046
+ integrations?: { [key: string]: TopLevelAPI.Integration };
20047
+
20048
+ /**
20049
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
20050
+ * separate 1-1 table just for simple key values in your application. During
20051
+ * updates this object will be shallowly merged
20052
+ */
20053
+ metadata?: { [key: string]: unknown } | null;
20054
+
20055
+ org_id?: string;
20056
+
20057
+ updated_at?: string;
20058
+ }
20059
+
20060
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
20061
+ export interface Config {
20062
+ /**
20063
+ * Base oauth configuration for the connector
20064
+ */
20065
+ oauth?: Config.OAuth | null;
20066
+ }
20067
+
20068
+ export namespace Config {
20069
+ /**
20070
+ * Base oauth configuration for the connector
20071
+ */
20072
+ export interface OAuth {
20073
+ client_id?: string | null;
20074
+
20075
+ client_secret?: string | null;
20076
+
20077
+ /**
20078
+ * Custom redirect URI
20079
+ */
20080
+ redirect_uri?: string | null;
20081
+
20082
+ scopes?: Array<string> | null;
20083
+ }
20084
+ }
20085
+ }
20086
+
19630
20087
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
19631
20088
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
19632
20089
 
@@ -21536,6 +21993,7 @@ export type ListConnnectorConfigsResponse =
21536
21993
  | ListConnnectorConfigsResponse.ConnectorDiscordDiscriminatedConnectorConfig
21537
21994
  | ListConnnectorConfigsResponse.ConnectorDropboxDiscriminatedConnectorConfig
21538
21995
  | ListConnnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
21996
+ | ListConnnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
21539
21997
  | ListConnnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
21540
21998
  | ListConnnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
21541
21999
  | ListConnnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -22395,6 +22853,64 @@ export namespace ListConnnectorConfigsResponse {
22395
22853
  }
22396
22854
  }
22397
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
+
22398
22914
  export interface ConnectorGitHubDiscriminatedConnectorConfig {
22399
22915
  config: ConnectorGitHubDiscriminatedConnectorConfig.Config;
22400
22916
 
@@ -24925,6 +25441,7 @@ export type PostConnectResponse =
24925
25441
  | PostConnectResponse.ConnectorDiscordDiscriminatedConnectionSettings
24926
25442
  | PostConnectResponse.ConnectorDropboxDiscriminatedConnectionSettings
24927
25443
  | PostConnectResponse.ConnectorFigmaDiscriminatedConnectionSettings
25444
+ | PostConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
24928
25445
  | PostConnectResponse.ConnectorGitHubDiscriminatedConnectionSettings
24929
25446
  | PostConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
24930
25447
  | PostConnectResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -26226,6 +26743,96 @@ export namespace PostConnectResponse {
26226
26743
  }
26227
26744
  }
26228
26745
 
26746
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
26747
+ connector_name: 'github-source-control';
26748
+
26749
+ id?: string;
26750
+
26751
+ connector_config_id?: string | null;
26752
+
26753
+ created_at?: string;
26754
+
26755
+ customer_id?: string | null;
26756
+
26757
+ disabled?: boolean | null;
26758
+
26759
+ display_name?: string | null;
26760
+
26761
+ environment?: 'production' | 'development';
26762
+
26763
+ integration_id?: string | null;
26764
+
26765
+ /**
26766
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
26767
+ * separate 1-1 table just for simple key values in your application. During
26768
+ * updates this object will be shallowly merged
26769
+ */
26770
+ metadata?: { [key: string]: unknown } | null;
26771
+
26772
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
26773
+
26774
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
26775
+
26776
+ status_message?: string | null;
26777
+
26778
+ updated_at?: string;
26779
+ }
26780
+
26781
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
26782
+ export interface Settings {
26783
+ oauth: Settings.OAuth;
26784
+
26785
+ /**
26786
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
26787
+ * for backward compatibility until we remove the oauth field
26788
+ */
26789
+ access_token?: string;
26790
+ }
26791
+
26792
+ export namespace Settings {
26793
+ export interface OAuth {
26794
+ created_at?: string;
26795
+
26796
+ /**
26797
+ * Output of the postConnect hook for oauth2 connectors
26798
+ */
26799
+ credentials?: OAuth.Credentials;
26800
+
26801
+ last_fetched_at?: string;
26802
+
26803
+ metadata?: { [key: string]: unknown } | null;
26804
+
26805
+ updated_at?: string;
26806
+ }
26807
+
26808
+ export namespace OAuth {
26809
+ /**
26810
+ * Output of the postConnect hook for oauth2 connectors
26811
+ */
26812
+ export interface Credentials {
26813
+ access_token: string;
26814
+
26815
+ /**
26816
+ * Client ID used for the connection
26817
+ */
26818
+ client_id?: string;
26819
+
26820
+ expires_at?: string;
26821
+
26822
+ expires_in?: number;
26823
+
26824
+ raw?: { [key: string]: unknown };
26825
+
26826
+ refresh_token?: string;
26827
+
26828
+ scope?: string;
26829
+
26830
+ token_type?: string;
26831
+ }
26832
+ }
26833
+ }
26834
+ }
26835
+
26229
26836
  export interface ConnectorGitHubDiscriminatedConnectionSettings {
26230
26837
  connector_name: 'github';
26231
26838
 
@@ -29152,6 +29759,7 @@ export type PreConnectResponse =
29152
29759
  | PreConnectResponse.ConnectorDiscordDiscriminatedConnectInput
29153
29760
  | PreConnectResponse.ConnectorDropboxDiscriminatedConnectInput
29154
29761
  | PreConnectResponse.ConnectorFigmaDiscriminatedConnectInput
29762
+ | PreConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectInput
29155
29763
  | PreConnectResponse.ConnectorGitHubDiscriminatedConnectInput
29156
29764
  | PreConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectInput
29157
29765
  | PreConnectResponse.ConnectorGoogleDocsDiscriminatedConnectInput
@@ -29461,6 +30069,26 @@ export namespace PreConnectResponse {
29461
30069
  }
29462
30070
  }
29463
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
+
29464
30092
  export interface ConnectorGitHubDiscriminatedConnectInput {
29465
30093
  connect_input: ConnectorGitHubDiscriminatedConnectInput.ConnectInput;
29466
30094
 
@@ -30117,6 +30745,7 @@ export type UpsertConnnectorConfigResponse =
30117
30745
  | UpsertConnnectorConfigResponse.ConnectorDiscordDiscriminatedConnectorConfig
30118
30746
  | UpsertConnnectorConfigResponse.ConnectorDropboxDiscriminatedConnectorConfig
30119
30747
  | UpsertConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
30748
+ | UpsertConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
30120
30749
  | UpsertConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
30121
30750
  | UpsertConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
30122
30751
  | UpsertConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
@@ -30443,7 +31072,59 @@ export namespace UpsertConnnectorConfigResponse {
30443
31072
  updated_at?: string;
30444
31073
  }
30445
31074
 
30446
- export namespace ConnectorBitbucketDiscriminatedConnectorConfig {
31075
+ export namespace ConnectorBitbucketDiscriminatedConnectorConfig {
31076
+ export interface Config {
31077
+ /**
31078
+ * Base oauth configuration for the connector
31079
+ */
31080
+ oauth?: Config.OAuth | null;
31081
+ }
31082
+
31083
+ export namespace Config {
31084
+ /**
31085
+ * Base oauth configuration for the connector
31086
+ */
31087
+ export interface OAuth {
31088
+ client_id?: string | null;
31089
+
31090
+ client_secret?: string | null;
31091
+
31092
+ /**
31093
+ * Custom redirect URI
31094
+ */
31095
+ redirect_uri?: string | null;
31096
+
31097
+ scopes?: Array<string> | null;
31098
+ }
31099
+ }
31100
+ }
31101
+
31102
+ export interface ConnectorBoxDiscriminatedConnectorConfig {
31103
+ config: ConnectorBoxDiscriminatedConnectorConfig.Config;
31104
+
31105
+ connector_name: 'box';
31106
+
31107
+ id?: string;
31108
+
31109
+ created_at?: string;
31110
+
31111
+ disabled?: boolean | null;
31112
+
31113
+ display_name?: string | null;
31114
+
31115
+ /**
31116
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
31117
+ * separate 1-1 table just for simple key values in your application. During
31118
+ * updates this object will be shallowly merged
31119
+ */
31120
+ metadata?: { [key: string]: unknown } | null;
31121
+
31122
+ org_id?: string;
31123
+
31124
+ updated_at?: string;
31125
+ }
31126
+
31127
+ export namespace ConnectorBoxDiscriminatedConnectorConfig {
30447
31128
  export interface Config {
30448
31129
  /**
30449
31130
  * Base oauth configuration for the connector
@@ -30470,10 +31151,10 @@ export namespace UpsertConnnectorConfigResponse {
30470
31151
  }
30471
31152
  }
30472
31153
 
30473
- export interface ConnectorBoxDiscriminatedConnectorConfig {
30474
- config: ConnectorBoxDiscriminatedConnectorConfig.Config;
31154
+ export interface ConnectorCalendlyDiscriminatedConnectorConfig {
31155
+ config: ConnectorCalendlyDiscriminatedConnectorConfig.Config;
30475
31156
 
30476
- connector_name: 'box';
31157
+ connector_name: 'calendly';
30477
31158
 
30478
31159
  id?: string;
30479
31160
 
@@ -30495,7 +31176,7 @@ export namespace UpsertConnnectorConfigResponse {
30495
31176
  updated_at?: string;
30496
31177
  }
30497
31178
 
30498
- export namespace ConnectorBoxDiscriminatedConnectorConfig {
31179
+ export namespace ConnectorCalendlyDiscriminatedConnectorConfig {
30499
31180
  export interface Config {
30500
31181
  /**
30501
31182
  * Base oauth configuration for the connector
@@ -30522,10 +31203,10 @@ export namespace UpsertConnnectorConfigResponse {
30522
31203
  }
30523
31204
  }
30524
31205
 
30525
- export interface ConnectorCalendlyDiscriminatedConnectorConfig {
30526
- config: ConnectorCalendlyDiscriminatedConnectorConfig.Config;
31206
+ export interface ConnectorClickupDiscriminatedConnectorConfig {
31207
+ config: ConnectorClickupDiscriminatedConnectorConfig.Config;
30527
31208
 
30528
- connector_name: 'calendly';
31209
+ connector_name: 'clickup';
30529
31210
 
30530
31211
  id?: string;
30531
31212
 
@@ -30547,7 +31228,7 @@ export namespace UpsertConnnectorConfigResponse {
30547
31228
  updated_at?: string;
30548
31229
  }
30549
31230
 
30550
- export namespace ConnectorCalendlyDiscriminatedConnectorConfig {
31231
+ export namespace ConnectorClickupDiscriminatedConnectorConfig {
30551
31232
  export interface Config {
30552
31233
  /**
30553
31234
  * Base oauth configuration for the connector
@@ -30574,10 +31255,10 @@ export namespace UpsertConnnectorConfigResponse {
30574
31255
  }
30575
31256
  }
30576
31257
 
30577
- export interface ConnectorClickupDiscriminatedConnectorConfig {
30578
- config: ConnectorClickupDiscriminatedConnectorConfig.Config;
31258
+ export interface ConnectorConfluenceDiscriminatedConnectorConfig {
31259
+ config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
30579
31260
 
30580
- connector_name: 'clickup';
31261
+ connector_name: 'confluence';
30581
31262
 
30582
31263
  id?: string;
30583
31264
 
@@ -30599,7 +31280,7 @@ export namespace UpsertConnnectorConfigResponse {
30599
31280
  updated_at?: string;
30600
31281
  }
30601
31282
 
30602
- export namespace ConnectorClickupDiscriminatedConnectorConfig {
31283
+ export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
30603
31284
  export interface Config {
30604
31285
  /**
30605
31286
  * Base oauth configuration for the connector
@@ -30626,10 +31307,10 @@ export namespace UpsertConnnectorConfigResponse {
30626
31307
  }
30627
31308
  }
30628
31309
 
30629
- export interface ConnectorConfluenceDiscriminatedConnectorConfig {
30630
- config: ConnectorConfluenceDiscriminatedConnectorConfig.Config;
31310
+ export interface ConnectorDatabricksDiscriminatedConnectorConfig {
31311
+ config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
30631
31312
 
30632
- connector_name: 'confluence';
31313
+ connector_name: 'databricks';
30633
31314
 
30634
31315
  id?: string;
30635
31316
 
@@ -30651,7 +31332,7 @@ export namespace UpsertConnnectorConfigResponse {
30651
31332
  updated_at?: string;
30652
31333
  }
30653
31334
 
30654
- export namespace ConnectorConfluenceDiscriminatedConnectorConfig {
31335
+ export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
30655
31336
  export interface Config {
30656
31337
  /**
30657
31338
  * Base oauth configuration for the connector
@@ -30678,10 +31359,10 @@ export namespace UpsertConnnectorConfigResponse {
30678
31359
  }
30679
31360
  }
30680
31361
 
30681
- export interface ConnectorDatabricksDiscriminatedConnectorConfig {
30682
- config: ConnectorDatabricksDiscriminatedConnectorConfig.Config;
31362
+ export interface ConnectorDiscordDiscriminatedConnectorConfig {
31363
+ config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
30683
31364
 
30684
- connector_name: 'databricks';
31365
+ connector_name: 'discord';
30685
31366
 
30686
31367
  id?: string;
30687
31368
 
@@ -30703,7 +31384,7 @@ export namespace UpsertConnnectorConfigResponse {
30703
31384
  updated_at?: string;
30704
31385
  }
30705
31386
 
30706
- export namespace ConnectorDatabricksDiscriminatedConnectorConfig {
31387
+ export namespace ConnectorDiscordDiscriminatedConnectorConfig {
30707
31388
  export interface Config {
30708
31389
  /**
30709
31390
  * Base oauth configuration for the connector
@@ -30730,10 +31411,10 @@ export namespace UpsertConnnectorConfigResponse {
30730
31411
  }
30731
31412
  }
30732
31413
 
30733
- export interface ConnectorDiscordDiscriminatedConnectorConfig {
30734
- config: ConnectorDiscordDiscriminatedConnectorConfig.Config;
31414
+ export interface ConnectorDropboxDiscriminatedConnectorConfig {
31415
+ config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
30735
31416
 
30736
- connector_name: 'discord';
31417
+ connector_name: 'dropbox';
30737
31418
 
30738
31419
  id?: string;
30739
31420
 
@@ -30755,7 +31436,7 @@ export namespace UpsertConnnectorConfigResponse {
30755
31436
  updated_at?: string;
30756
31437
  }
30757
31438
 
30758
- export namespace ConnectorDiscordDiscriminatedConnectorConfig {
31439
+ export namespace ConnectorDropboxDiscriminatedConnectorConfig {
30759
31440
  export interface Config {
30760
31441
  /**
30761
31442
  * Base oauth configuration for the connector
@@ -30782,10 +31463,10 @@ export namespace UpsertConnnectorConfigResponse {
30782
31463
  }
30783
31464
  }
30784
31465
 
30785
- export interface ConnectorDropboxDiscriminatedConnectorConfig {
30786
- config: ConnectorDropboxDiscriminatedConnectorConfig.Config;
31466
+ export interface ConnectorFigmaDiscriminatedConnectorConfig {
31467
+ config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
30787
31468
 
30788
- connector_name: 'dropbox';
31469
+ connector_name: 'figma';
30789
31470
 
30790
31471
  id?: string;
30791
31472
 
@@ -30807,7 +31488,7 @@ export namespace UpsertConnnectorConfigResponse {
30807
31488
  updated_at?: string;
30808
31489
  }
30809
31490
 
30810
- export namespace ConnectorDropboxDiscriminatedConnectorConfig {
31491
+ export namespace ConnectorFigmaDiscriminatedConnectorConfig {
30811
31492
  export interface Config {
30812
31493
  /**
30813
31494
  * Base oauth configuration for the connector
@@ -30834,10 +31515,10 @@ export namespace UpsertConnnectorConfigResponse {
30834
31515
  }
30835
31516
  }
30836
31517
 
30837
- export interface ConnectorFigmaDiscriminatedConnectorConfig {
30838
- config: ConnectorFigmaDiscriminatedConnectorConfig.Config;
31518
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
31519
+ config: ConnectorGitHubSourceControlDiscriminatedConnectorConfig.Config;
30839
31520
 
30840
- connector_name: 'figma';
31521
+ connector_name: 'github-source-control';
30841
31522
 
30842
31523
  id?: string;
30843
31524
 
@@ -30859,7 +31540,7 @@ export namespace UpsertConnnectorConfigResponse {
30859
31540
  updated_at?: string;
30860
31541
  }
30861
31542
 
30862
- export namespace ConnectorFigmaDiscriminatedConnectorConfig {
31543
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectorConfig {
30863
31544
  export interface Config {
30864
31545
  /**
30865
31546
  * Base oauth configuration for the connector
@@ -32636,6 +33317,7 @@ export interface CreateConnectionParams {
32636
33317
  | CreateConnectionParams.ConnectorDiscordDiscriminatedConnectionSettings
32637
33318
  | CreateConnectionParams.ConnectorDropboxDiscriminatedConnectionSettings
32638
33319
  | CreateConnectionParams.ConnectorFigmaDiscriminatedConnectionSettings
33320
+ | CreateConnectionParams.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
32639
33321
  | CreateConnectionParams.ConnectorGitHubDiscriminatedConnectionSettings
32640
33322
  | CreateConnectionParams.ConnectorGoogleCalendarDiscriminatedConnectionSettings
32641
33323
  | CreateConnectionParams.ConnectorGoogleDocsDiscriminatedConnectionSettings
@@ -32765,25 +33447,208 @@ export namespace CreateConnectionParams {
32765
33447
  }
32766
33448
  }
32767
33449
 
32768
- export interface ConnectorAgentmailDiscriminatedConnectionSettings {
32769
- connector_name: 'agentmail';
32770
-
32771
- settings?: ConnectorAgentmailDiscriminatedConnectionSettings.Settings;
32772
- }
32773
-
32774
- export namespace ConnectorAgentmailDiscriminatedConnectionSettings {
32775
- export interface Settings {
32776
- api_key: string;
32777
- }
32778
- }
32779
-
32780
- export interface ConnectorAsanaDiscriminatedConnectionSettings {
32781
- connector_name: 'asana';
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
+
33462
+ export interface ConnectorAsanaDiscriminatedConnectionSettings {
33463
+ connector_name: 'asana';
33464
+
33465
+ settings?: ConnectorAsanaDiscriminatedConnectionSettings.Settings;
33466
+ }
33467
+
33468
+ export namespace ConnectorAsanaDiscriminatedConnectionSettings {
33469
+ export interface Settings {
33470
+ oauth: Settings.OAuth;
33471
+
33472
+ /**
33473
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
33474
+ * for backward compatibility until we remove the oauth field
33475
+ */
33476
+ access_token?: string;
33477
+ }
33478
+
33479
+ export namespace Settings {
33480
+ export interface OAuth {
33481
+ created_at?: string;
33482
+
33483
+ /**
33484
+ * Output of the postConnect hook for oauth2 connectors
33485
+ */
33486
+ credentials?: OAuth.Credentials;
33487
+
33488
+ last_fetched_at?: string;
33489
+
33490
+ metadata?: { [key: string]: unknown } | null;
33491
+
33492
+ updated_at?: string;
33493
+ }
33494
+
33495
+ export namespace OAuth {
33496
+ /**
33497
+ * Output of the postConnect hook for oauth2 connectors
33498
+ */
33499
+ export interface Credentials {
33500
+ access_token: string;
33501
+
33502
+ /**
33503
+ * Client ID used for the connection
33504
+ */
33505
+ client_id?: string;
33506
+
33507
+ expires_at?: string;
33508
+
33509
+ expires_in?: number;
33510
+
33511
+ raw?: { [key: string]: unknown };
33512
+
33513
+ refresh_token?: string;
33514
+
33515
+ scope?: string;
33516
+
33517
+ token_type?: string;
33518
+ }
33519
+ }
33520
+ }
33521
+ }
33522
+
33523
+ export interface ConnectorBigqueryDiscriminatedConnectionSettings {
33524
+ connector_name: 'bigquery';
33525
+
33526
+ settings?: ConnectorBigqueryDiscriminatedConnectionSettings.Settings;
33527
+ }
33528
+
33529
+ export namespace ConnectorBigqueryDiscriminatedConnectionSettings {
33530
+ export interface Settings {
33531
+ oauth: Settings.OAuth;
33532
+
33533
+ /**
33534
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
33535
+ * for backward compatibility until we remove the oauth field
33536
+ */
33537
+ access_token?: string;
33538
+ }
33539
+
33540
+ export namespace Settings {
33541
+ export interface OAuth {
33542
+ created_at?: string;
33543
+
33544
+ /**
33545
+ * Output of the postConnect hook for oauth2 connectors
33546
+ */
33547
+ credentials?: OAuth.Credentials;
33548
+
33549
+ last_fetched_at?: string;
33550
+
33551
+ metadata?: { [key: string]: unknown } | null;
33552
+
33553
+ updated_at?: string;
33554
+ }
33555
+
33556
+ export namespace OAuth {
33557
+ /**
33558
+ * Output of the postConnect hook for oauth2 connectors
33559
+ */
33560
+ export interface Credentials {
33561
+ access_token: string;
33562
+
33563
+ /**
33564
+ * Client ID used for the connection
33565
+ */
33566
+ client_id?: string;
33567
+
33568
+ expires_at?: string;
33569
+
33570
+ expires_in?: number;
33571
+
33572
+ raw?: { [key: string]: unknown };
33573
+
33574
+ refresh_token?: string;
33575
+
33576
+ scope?: string;
33577
+
33578
+ token_type?: string;
33579
+ }
33580
+ }
33581
+ }
33582
+ }
33583
+
33584
+ export interface ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
33585
+ connector_name: 'bitbucket-source-control';
33586
+
33587
+ settings?: ConnectorBitbucketSourceControlDiscriminatedConnectionSettings.Settings;
33588
+ }
33589
+
33590
+ export namespace ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
33591
+ export interface Settings {
33592
+ oauth: Settings.OAuth;
33593
+
33594
+ /**
33595
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
33596
+ * for backward compatibility until we remove the oauth field
33597
+ */
33598
+ access_token?: string;
33599
+ }
33600
+
33601
+ export namespace Settings {
33602
+ export interface OAuth {
33603
+ created_at?: string;
33604
+
33605
+ /**
33606
+ * Output of the postConnect hook for oauth2 connectors
33607
+ */
33608
+ credentials?: OAuth.Credentials;
33609
+
33610
+ last_fetched_at?: string;
33611
+
33612
+ metadata?: { [key: string]: unknown } | null;
33613
+
33614
+ updated_at?: string;
33615
+ }
33616
+
33617
+ export namespace OAuth {
33618
+ /**
33619
+ * Output of the postConnect hook for oauth2 connectors
33620
+ */
33621
+ export interface Credentials {
33622
+ access_token: string;
33623
+
33624
+ /**
33625
+ * Client ID used for the connection
33626
+ */
33627
+ client_id?: string;
33628
+
33629
+ expires_at?: string;
33630
+
33631
+ expires_in?: number;
33632
+
33633
+ raw?: { [key: string]: unknown };
33634
+
33635
+ refresh_token?: string;
33636
+
33637
+ scope?: string;
33638
+
33639
+ token_type?: string;
33640
+ }
33641
+ }
33642
+ }
33643
+ }
33644
+
33645
+ export interface ConnectorBitbucketDiscriminatedConnectionSettings {
33646
+ connector_name: 'bitbucket';
32782
33647
 
32783
- settings?: ConnectorAsanaDiscriminatedConnectionSettings.Settings;
33648
+ settings?: ConnectorBitbucketDiscriminatedConnectionSettings.Settings;
32784
33649
  }
32785
33650
 
32786
- export namespace ConnectorAsanaDiscriminatedConnectionSettings {
33651
+ export namespace ConnectorBitbucketDiscriminatedConnectionSettings {
32787
33652
  export interface Settings {
32788
33653
  oauth: Settings.OAuth;
32789
33654
 
@@ -32838,13 +33703,13 @@ export namespace CreateConnectionParams {
32838
33703
  }
32839
33704
  }
32840
33705
 
32841
- export interface ConnectorBigqueryDiscriminatedConnectionSettings {
32842
- connector_name: 'bigquery';
33706
+ export interface ConnectorBoxDiscriminatedConnectionSettings {
33707
+ connector_name: 'box';
32843
33708
 
32844
- settings?: ConnectorBigqueryDiscriminatedConnectionSettings.Settings;
33709
+ settings?: ConnectorBoxDiscriminatedConnectionSettings.Settings;
32845
33710
  }
32846
33711
 
32847
- export namespace ConnectorBigqueryDiscriminatedConnectionSettings {
33712
+ export namespace ConnectorBoxDiscriminatedConnectionSettings {
32848
33713
  export interface Settings {
32849
33714
  oauth: Settings.OAuth;
32850
33715
 
@@ -32899,13 +33764,13 @@ export namespace CreateConnectionParams {
32899
33764
  }
32900
33765
  }
32901
33766
 
32902
- export interface ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
32903
- connector_name: 'bitbucket-source-control';
33767
+ export interface ConnectorCalendlyDiscriminatedConnectionSettings {
33768
+ connector_name: 'calendly';
32904
33769
 
32905
- settings?: ConnectorBitbucketSourceControlDiscriminatedConnectionSettings.Settings;
33770
+ settings?: ConnectorCalendlyDiscriminatedConnectionSettings.Settings;
32906
33771
  }
32907
33772
 
32908
- export namespace ConnectorBitbucketSourceControlDiscriminatedConnectionSettings {
33773
+ export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
32909
33774
  export interface Settings {
32910
33775
  oauth: Settings.OAuth;
32911
33776
 
@@ -32960,13 +33825,13 @@ export namespace CreateConnectionParams {
32960
33825
  }
32961
33826
  }
32962
33827
 
32963
- export interface ConnectorBitbucketDiscriminatedConnectionSettings {
32964
- connector_name: 'bitbucket';
33828
+ export interface ConnectorClickupDiscriminatedConnectionSettings {
33829
+ connector_name: 'clickup';
32965
33830
 
32966
- settings?: ConnectorBitbucketDiscriminatedConnectionSettings.Settings;
33831
+ settings?: ConnectorClickupDiscriminatedConnectionSettings.Settings;
32967
33832
  }
32968
33833
 
32969
- export namespace ConnectorBitbucketDiscriminatedConnectionSettings {
33834
+ export namespace ConnectorClickupDiscriminatedConnectionSettings {
32970
33835
  export interface Settings {
32971
33836
  oauth: Settings.OAuth;
32972
33837
 
@@ -33021,76 +33886,20 @@ export namespace CreateConnectionParams {
33021
33886
  }
33022
33887
  }
33023
33888
 
33024
- export interface ConnectorBoxDiscriminatedConnectionSettings {
33025
- connector_name: 'box';
33889
+ export interface ConnectorConfluenceDiscriminatedConnectionSettings {
33890
+ connector_name: 'confluence';
33026
33891
 
33027
- settings?: ConnectorBoxDiscriminatedConnectionSettings.Settings;
33892
+ settings?: ConnectorConfluenceDiscriminatedConnectionSettings.Settings;
33028
33893
  }
33029
33894
 
33030
- export namespace ConnectorBoxDiscriminatedConnectionSettings {
33895
+ export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
33031
33896
  export interface Settings {
33032
33897
  oauth: Settings.OAuth;
33033
33898
 
33034
33899
  /**
33035
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
33036
- * for backward compatibility until we remove the oauth field
33900
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
33037
33901
  */
33038
- access_token?: string;
33039
- }
33040
-
33041
- export namespace Settings {
33042
- export interface OAuth {
33043
- created_at?: string;
33044
-
33045
- /**
33046
- * Output of the postConnect hook for oauth2 connectors
33047
- */
33048
- credentials?: OAuth.Credentials;
33049
-
33050
- last_fetched_at?: string;
33051
-
33052
- metadata?: { [key: string]: unknown } | null;
33053
-
33054
- updated_at?: string;
33055
- }
33056
-
33057
- export namespace OAuth {
33058
- /**
33059
- * Output of the postConnect hook for oauth2 connectors
33060
- */
33061
- export interface Credentials {
33062
- access_token: string;
33063
-
33064
- /**
33065
- * Client ID used for the connection
33066
- */
33067
- client_id?: string;
33068
-
33069
- expires_at?: string;
33070
-
33071
- expires_in?: number;
33072
-
33073
- raw?: { [key: string]: unknown };
33074
-
33075
- refresh_token?: string;
33076
-
33077
- scope?: string;
33078
-
33079
- token_type?: string;
33080
- }
33081
- }
33082
- }
33083
- }
33084
-
33085
- export interface ConnectorCalendlyDiscriminatedConnectionSettings {
33086
- connector_name: 'calendly';
33087
-
33088
- settings?: ConnectorCalendlyDiscriminatedConnectionSettings.Settings;
33089
- }
33090
-
33091
- export namespace ConnectorCalendlyDiscriminatedConnectionSettings {
33092
- export interface Settings {
33093
- oauth: Settings.OAuth;
33902
+ site_url: string;
33094
33903
 
33095
33904
  /**
33096
33905
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
@@ -33143,82 +33952,23 @@ export namespace CreateConnectionParams {
33143
33952
  }
33144
33953
  }
33145
33954
 
33146
- export interface ConnectorClickupDiscriminatedConnectionSettings {
33147
- connector_name: 'clickup';
33955
+ export interface ConnectorDatabricksDiscriminatedConnectionSettings {
33956
+ connector_name: 'databricks';
33148
33957
 
33149
- settings?: ConnectorClickupDiscriminatedConnectionSettings.Settings;
33958
+ settings?: ConnectorDatabricksDiscriminatedConnectionSettings.Settings;
33150
33959
  }
33151
33960
 
33152
- export namespace ConnectorClickupDiscriminatedConnectionSettings {
33961
+ export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
33153
33962
  export interface Settings {
33154
- oauth: Settings.OAuth;
33155
-
33156
33963
  /**
33157
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
33158
- * for backward compatibility until we remove the oauth field
33964
+ * Your Databricks workspace instance name (e.g., "your-workspace" for
33965
+ * your-workspace.cloud.databricks.com). Do not include https:// or
33966
+ * .cloud.databricks.com
33159
33967
  */
33160
- access_token?: string;
33161
- }
33162
-
33163
- export namespace Settings {
33164
- export interface OAuth {
33165
- created_at?: string;
33166
-
33167
- /**
33168
- * Output of the postConnect hook for oauth2 connectors
33169
- */
33170
- credentials?: OAuth.Credentials;
33171
-
33172
- last_fetched_at?: string;
33173
-
33174
- metadata?: { [key: string]: unknown } | null;
33175
-
33176
- updated_at?: string;
33177
- }
33178
-
33179
- export namespace OAuth {
33180
- /**
33181
- * Output of the postConnect hook for oauth2 connectors
33182
- */
33183
- export interface Credentials {
33184
- access_token: string;
33185
-
33186
- /**
33187
- * Client ID used for the connection
33188
- */
33189
- client_id?: string;
33190
-
33191
- expires_at?: string;
33192
-
33193
- expires_in?: number;
33194
-
33195
- raw?: { [key: string]: unknown };
33196
-
33197
- refresh_token?: string;
33198
-
33199
- scope?: string;
33200
-
33201
- token_type?: string;
33202
- }
33203
- }
33204
- }
33205
- }
33206
-
33207
- export interface ConnectorConfluenceDiscriminatedConnectionSettings {
33208
- connector_name: 'confluence';
33209
-
33210
- settings?: ConnectorConfluenceDiscriminatedConnectionSettings.Settings;
33211
- }
33968
+ databricks_instance: string;
33212
33969
 
33213
- export namespace ConnectorConfluenceDiscriminatedConnectionSettings {
33214
- export interface Settings {
33215
33970
  oauth: Settings.OAuth;
33216
33971
 
33217
- /**
33218
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
33219
- */
33220
- site_url: string;
33221
-
33222
33972
  /**
33223
33973
  * Same as oauth.credentials.access_token, but more convenient to access. Optional
33224
33974
  * for backward compatibility until we remove the oauth field
@@ -33270,21 +34020,14 @@ export namespace CreateConnectionParams {
33270
34020
  }
33271
34021
  }
33272
34022
 
33273
- export interface ConnectorDatabricksDiscriminatedConnectionSettings {
33274
- connector_name: 'databricks';
34023
+ export interface ConnectorDiscordDiscriminatedConnectionSettings {
34024
+ connector_name: 'discord';
33275
34025
 
33276
- settings?: ConnectorDatabricksDiscriminatedConnectionSettings.Settings;
34026
+ settings?: ConnectorDiscordDiscriminatedConnectionSettings.Settings;
33277
34027
  }
33278
34028
 
33279
- export namespace ConnectorDatabricksDiscriminatedConnectionSettings {
34029
+ export namespace ConnectorDiscordDiscriminatedConnectionSettings {
33280
34030
  export interface Settings {
33281
- /**
33282
- * Your Databricks workspace instance name (e.g., "your-workspace" for
33283
- * your-workspace.cloud.databricks.com). Do not include https:// or
33284
- * .cloud.databricks.com
33285
- */
33286
- databricks_instance: string;
33287
-
33288
34031
  oauth: Settings.OAuth;
33289
34032
 
33290
34033
  /**
@@ -33338,13 +34081,13 @@ export namespace CreateConnectionParams {
33338
34081
  }
33339
34082
  }
33340
34083
 
33341
- export interface ConnectorDiscordDiscriminatedConnectionSettings {
33342
- connector_name: 'discord';
34084
+ export interface ConnectorDropboxDiscriminatedConnectionSettings {
34085
+ connector_name: 'dropbox';
33343
34086
 
33344
- settings?: ConnectorDiscordDiscriminatedConnectionSettings.Settings;
34087
+ settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
33345
34088
  }
33346
34089
 
33347
- export namespace ConnectorDiscordDiscriminatedConnectionSettings {
34090
+ export namespace ConnectorDropboxDiscriminatedConnectionSettings {
33348
34091
  export interface Settings {
33349
34092
  oauth: Settings.OAuth;
33350
34093
 
@@ -33399,13 +34142,13 @@ export namespace CreateConnectionParams {
33399
34142
  }
33400
34143
  }
33401
34144
 
33402
- export interface ConnectorDropboxDiscriminatedConnectionSettings {
33403
- connector_name: 'dropbox';
34145
+ export interface ConnectorFigmaDiscriminatedConnectionSettings {
34146
+ connector_name: 'figma';
33404
34147
 
33405
- settings?: ConnectorDropboxDiscriminatedConnectionSettings.Settings;
34148
+ settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
33406
34149
  }
33407
34150
 
33408
- export namespace ConnectorDropboxDiscriminatedConnectionSettings {
34151
+ export namespace ConnectorFigmaDiscriminatedConnectionSettings {
33409
34152
  export interface Settings {
33410
34153
  oauth: Settings.OAuth;
33411
34154
 
@@ -33460,13 +34203,13 @@ export namespace CreateConnectionParams {
33460
34203
  }
33461
34204
  }
33462
34205
 
33463
- export interface ConnectorFigmaDiscriminatedConnectionSettings {
33464
- connector_name: 'figma';
34206
+ export interface ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
34207
+ connector_name: 'github-source-control';
33465
34208
 
33466
- settings?: ConnectorFigmaDiscriminatedConnectionSettings.Settings;
34209
+ settings?: ConnectorGitHubSourceControlDiscriminatedConnectionSettings.Settings;
33467
34210
  }
33468
34211
 
33469
- export namespace ConnectorFigmaDiscriminatedConnectionSettings {
34212
+ export namespace ConnectorGitHubSourceControlDiscriminatedConnectionSettings {
33470
34213
  export interface Settings {
33471
34214
  oauth: Settings.OAuth;
33472
34215
 
@@ -35461,6 +36204,7 @@ export namespace CreateTokenParams {
35461
36204
  | 'dropbox'
35462
36205
  | 'figma'
35463
36206
  | 'github'
36207
+ | 'github-source-control'
35464
36208
  | 'google-calendar'
35465
36209
  | 'google-docs'
35466
36210
  | 'google-drive'
@@ -35517,6 +36261,7 @@ export namespace CreateTokenParams {
35517
36261
  | 'dropbox'
35518
36262
  | 'figma'
35519
36263
  | 'github'
36264
+ | 'github-source-control'
35520
36265
  | 'google-calendar'
35521
36266
  | 'google-docs'
35522
36267
  | 'google-drive'
@@ -35638,6 +36383,7 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
35638
36383
  | 'dropbox'
35639
36384
  | 'figma'
35640
36385
  | 'github'
36386
+ | 'github-source-control'
35641
36387
  | 'google-calendar'
35642
36388
  | 'google-docs'
35643
36389
  | 'google-drive'
@@ -35723,6 +36469,7 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
35723
36469
  | 'dropbox'
35724
36470
  | 'figma'
35725
36471
  | 'github'
36472
+ | 'github-source-control'
35726
36473
  | 'google-calendar'
35727
36474
  | 'google-docs'
35728
36475
  | 'google-drive'
@@ -35804,6 +36551,7 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
35804
36551
  | 'dropbox'
35805
36552
  | 'figma'
35806
36553
  | 'github'
36554
+ | 'github-source-control'
35807
36555
  | 'google-calendar'
35808
36556
  | 'google-docs'
35809
36557
  | 'google-drive'
@@ -35901,6 +36649,7 @@ export interface PostConnectParams {
35901
36649
  | PostConnectParams.ConnectorDiscordDiscriminatedConnectOutput
35902
36650
  | PostConnectParams.ConnectorDropboxDiscriminatedConnectOutput
35903
36651
  | PostConnectParams.ConnectorFigmaDiscriminatedConnectOutput
36652
+ | PostConnectParams.ConnectorGitHubSourceControlDiscriminatedConnectOutput
35904
36653
  | PostConnectParams.ConnectorGitHubDiscriminatedConnectOutput
35905
36654
  | PostConnectParams.ConnectorGoogleCalendarDiscriminatedConnectOutput
35906
36655
  | PostConnectParams.ConnectorGoogleDocsDiscriminatedConnectOutput
@@ -36420,6 +37169,41 @@ export namespace PostConnectParams {
36420
37169
  }
36421
37170
  }
36422
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
+
36423
37207
  export interface ConnectorGitHubDiscriminatedConnectOutput {
36424
37208
  connect_output: ConnectorGitHubDiscriminatedConnectOutput.ConnectOutput;
36425
37209
 
@@ -37572,6 +38356,7 @@ export interface PreConfigureConnectorParams {
37572
38356
  | 'dropbox'
37573
38357
  | 'figma'
37574
38358
  | 'github'
38359
+ | 'github-source-control'
37575
38360
  | 'google-calendar'
37576
38361
  | 'google-docs'
37577
38362
  | 'google-drive'
@@ -37631,6 +38416,7 @@ export interface PreConnectParams {
37631
38416
  | PreConnectParams.ConnectorDiscordDiscriminatedPreConnectInput
37632
38417
  | PreConnectParams.ConnectorDropboxDiscriminatedPreConnectInput
37633
38418
  | PreConnectParams.ConnectorFigmaDiscriminatedPreConnectInput
38419
+ | PreConnectParams.ConnectorGitHubSourceControlDiscriminatedPreConnectInput
37634
38420
  | PreConnectParams.ConnectorGitHubDiscriminatedPreConnectInput
37635
38421
  | PreConnectParams.ConnectorGoogleCalendarDiscriminatedPreConnectInput
37636
38422
  | PreConnectParams.ConnectorGoogleDocsDiscriminatedPreConnectInput
@@ -37782,6 +38568,12 @@ export namespace PreConnectParams {
37782
38568
  pre_connect_input: unknown;
37783
38569
  }
37784
38570
 
38571
+ export interface ConnectorGitHubSourceControlDiscriminatedPreConnectInput {
38572
+ connector_name: 'github-source-control';
38573
+
38574
+ pre_connect_input: unknown;
38575
+ }
38576
+
37785
38577
  export interface ConnectorGitHubDiscriminatedPreConnectInput {
37786
38578
  connector_name: 'github';
37787
38579