@replit/connectors 0.6.0 → 0.7.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.
@@ -87,12 +87,14 @@ export interface Integration {
87
87
  | 'calendly'
88
88
  | 'clickup'
89
89
  | 'confluence'
90
+ | 'custom-mcp'
90
91
  | 'databricks'
91
92
  | 'discord'
92
93
  | 'dropbox'
93
94
  | 'figma'
94
95
  | 'github'
95
96
  | 'github-source-control'
97
+ | 'gitlab-source-control'
96
98
  | 'google-calendar'
97
99
  | 'google-docs'
98
100
  | 'google-drive'
@@ -170,6 +172,8 @@ export namespace AssignConnectionResponse {
170
172
  export interface CheckConnectionResponse {
171
173
  id: string;
172
174
 
175
+ health_check_result?: { [key: string]: unknown } | null;
176
+
173
177
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
174
178
 
175
179
  status_message?: string | null;
@@ -198,6 +202,7 @@ export type CreateConnectionResponse =
198
202
  | CreateConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
199
203
  | CreateConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
200
204
  | CreateConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
205
+ | CreateConnectionResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
201
206
  | CreateConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
202
207
  | CreateConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
203
208
  | CreateConnectionResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -222,6 +227,7 @@ export type CreateConnectionResponse =
222
227
  | CreateConnectionResponse.ConnectorZendeskDiscriminatedConnectionSettings
223
228
  | CreateConnectionResponse.ConnectorZoomDiscriminatedConnectionSettings
224
229
  | CreateConnectionResponse.ConnectorApolloDiscriminatedConnectionSettings
230
+ | CreateConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
225
231
  | CreateConnectionResponse.ConnectorPlaidDiscriminatedConnectionSettings
226
232
  | CreateConnectionResponse.ConnectorPostgresDiscriminatedConnectionSettings
227
233
  | CreateConnectionResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -1860,6 +1866,106 @@ export namespace CreateConnectionResponse {
1860
1866
  }
1861
1867
  }
1862
1868
 
1869
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
1870
+ connector_name: 'gitlab-source-control';
1871
+
1872
+ id?: string;
1873
+
1874
+ connector?: TopLevelAPI.Connector;
1875
+
1876
+ connector_config_id?: string | null;
1877
+
1878
+ created_at?: string;
1879
+
1880
+ customer_id?: string | null;
1881
+
1882
+ disabled?: boolean | null;
1883
+
1884
+ display_name?: string | null;
1885
+
1886
+ environment?: 'production' | 'development';
1887
+
1888
+ integration?: TopLevelAPI.Integration;
1889
+
1890
+ integration_id?: string | null;
1891
+
1892
+ /**
1893
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
1894
+ * separate 1-1 table just for simple key values in your application. During
1895
+ * updates this object will be shallowly merged
1896
+ */
1897
+ metadata?: { [key: string]: unknown } | null;
1898
+
1899
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
1900
+
1901
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
1902
+
1903
+ status_message?: string | null;
1904
+
1905
+ updated_at?: string;
1906
+
1907
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
1908
+
1909
+ webhook_configured_at?: string | null;
1910
+
1911
+ webhook_identifier?: string | null;
1912
+ }
1913
+
1914
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
1915
+ export interface Settings {
1916
+ oauth: Settings.OAuth;
1917
+
1918
+ /**
1919
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
1920
+ * for backward compatibility until we remove the oauth field
1921
+ */
1922
+ access_token?: string;
1923
+ }
1924
+
1925
+ export namespace Settings {
1926
+ export interface OAuth {
1927
+ created_at?: string;
1928
+
1929
+ /**
1930
+ * Output of the postConnect hook for oauth2 connectors
1931
+ */
1932
+ credentials?: OAuth.Credentials;
1933
+
1934
+ last_fetched_at?: string;
1935
+
1936
+ metadata?: { [key: string]: unknown } | null;
1937
+
1938
+ updated_at?: string;
1939
+ }
1940
+
1941
+ export namespace OAuth {
1942
+ /**
1943
+ * Output of the postConnect hook for oauth2 connectors
1944
+ */
1945
+ export interface Credentials {
1946
+ access_token: string;
1947
+
1948
+ /**
1949
+ * Client ID used for the connection
1950
+ */
1951
+ client_id?: string;
1952
+
1953
+ expires_at?: string;
1954
+
1955
+ expires_in?: number;
1956
+
1957
+ raw?: { [key: string]: unknown };
1958
+
1959
+ refresh_token?: string;
1960
+
1961
+ scope?: string;
1962
+
1963
+ token_type?: string;
1964
+ }
1965
+ }
1966
+ }
1967
+ }
1968
+
1863
1969
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
1864
1970
  connector_name: 'google-calendar';
1865
1971
 
@@ -4232,6 +4338,84 @@ export namespace CreateConnectionResponse {
4232
4338
  }
4233
4339
  }
4234
4340
 
4341
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
4342
+ connector_name: 'custom-mcp';
4343
+
4344
+ id?: string;
4345
+
4346
+ connector?: TopLevelAPI.Connector;
4347
+
4348
+ connector_config_id?: string | null;
4349
+
4350
+ created_at?: string;
4351
+
4352
+ customer_id?: string | null;
4353
+
4354
+ disabled?: boolean | null;
4355
+
4356
+ display_name?: string | null;
4357
+
4358
+ environment?: 'production' | 'development';
4359
+
4360
+ integration?: TopLevelAPI.Integration;
4361
+
4362
+ integration_id?: string | null;
4363
+
4364
+ /**
4365
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
4366
+ * separate 1-1 table just for simple key values in your application. During
4367
+ * updates this object will be shallowly merged
4368
+ */
4369
+ metadata?: { [key: string]: unknown } | null;
4370
+
4371
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
4372
+
4373
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
4374
+
4375
+ status_message?: string | null;
4376
+
4377
+ updated_at?: string;
4378
+
4379
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
4380
+
4381
+ webhook_configured_at?: string | null;
4382
+
4383
+ webhook_identifier?: string | null;
4384
+ }
4385
+
4386
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
4387
+ export interface Settings {
4388
+ /**
4389
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
4390
+ */
4391
+ base_url: string;
4392
+
4393
+ /**
4394
+ * Display name for this MCP server (e.g., "My Custom MCP")
4395
+ */
4396
+ display_name: string;
4397
+
4398
+ /**
4399
+ * Custom headers to include with every request
4400
+ */
4401
+ headers: Array<Settings.Header>;
4402
+ }
4403
+
4404
+ export namespace Settings {
4405
+ export interface Header {
4406
+ /**
4407
+ * Header name (e.g., Authorization, X-API-Key)
4408
+ */
4409
+ key: string;
4410
+
4411
+ /**
4412
+ * Header value (securely stored)
4413
+ */
4414
+ value: string;
4415
+ }
4416
+ }
4417
+ }
4418
+
4235
4419
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
4236
4420
  connector_name: 'plaid';
4237
4421
 
@@ -5036,6 +5220,7 @@ export type CreateConnnectorConfigResponse =
5036
5220
  | CreateConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
5037
5221
  | CreateConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
5038
5222
  | CreateConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
5223
+ | CreateConnnectorConfigResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
5039
5224
  | CreateConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
5040
5225
  | CreateConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
5041
5226
  | CreateConnnectorConfigResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -5060,6 +5245,7 @@ export type CreateConnnectorConfigResponse =
5060
5245
  | CreateConnnectorConfigResponse.ConnectorZendeskDiscriminatedConnectorConfig
5061
5246
  | CreateConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
5062
5247
  | CreateConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
5248
+ | CreateConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
5063
5249
  | CreateConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
5064
5250
  | CreateConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
5065
5251
  | CreateConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -5908,6 +6094,58 @@ export namespace CreateConnnectorConfigResponse {
5908
6094
  }
5909
6095
  }
5910
6096
 
6097
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
6098
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
6099
+
6100
+ connector_name: 'gitlab-source-control';
6101
+
6102
+ id?: string;
6103
+
6104
+ created_at?: string;
6105
+
6106
+ disabled?: boolean | null;
6107
+
6108
+ display_name?: string | null;
6109
+
6110
+ /**
6111
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
6112
+ * separate 1-1 table just for simple key values in your application. During
6113
+ * updates this object will be shallowly merged
6114
+ */
6115
+ metadata?: { [key: string]: unknown } | null;
6116
+
6117
+ org_id?: string;
6118
+
6119
+ updated_at?: string;
6120
+ }
6121
+
6122
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
6123
+ export interface Config {
6124
+ /**
6125
+ * Base oauth configuration for the connector
6126
+ */
6127
+ oauth?: Config.OAuth | null;
6128
+ }
6129
+
6130
+ export namespace Config {
6131
+ /**
6132
+ * Base oauth configuration for the connector
6133
+ */
6134
+ export interface OAuth {
6135
+ client_id?: string | null;
6136
+
6137
+ client_secret?: string | null;
6138
+
6139
+ /**
6140
+ * Custom redirect URI
6141
+ */
6142
+ redirect_uri?: string | null;
6143
+
6144
+ scopes?: Array<string> | null;
6145
+ }
6146
+ }
6147
+ }
6148
+
5911
6149
  export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
5912
6150
  config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
5913
6151
 
@@ -7129,6 +7367,31 @@ export namespace CreateConnnectorConfigResponse {
7129
7367
  updated_at?: string;
7130
7368
  }
7131
7369
 
7370
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
7371
+ config: unknown;
7372
+
7373
+ connector_name: 'custom-mcp';
7374
+
7375
+ id?: string;
7376
+
7377
+ created_at?: string;
7378
+
7379
+ disabled?: boolean | null;
7380
+
7381
+ display_name?: string | null;
7382
+
7383
+ /**
7384
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
7385
+ * separate 1-1 table just for simple key values in your application. During
7386
+ * updates this object will be shallowly merged
7387
+ */
7388
+ metadata?: { [key: string]: unknown } | null;
7389
+
7390
+ org_id?: string;
7391
+
7392
+ updated_at?: string;
7393
+ }
7394
+
7132
7395
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
7133
7396
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
7134
7397
 
@@ -7598,6 +7861,7 @@ export type GetConectorConfigResponse =
7598
7861
  | GetConectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
7599
7862
  | GetConectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
7600
7863
  | GetConectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
7864
+ | GetConectorConfigResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
7601
7865
  | GetConectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
7602
7866
  | GetConectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
7603
7867
  | GetConectorConfigResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -7622,6 +7886,7 @@ export type GetConectorConfigResponse =
7622
7886
  | GetConectorConfigResponse.ConnectorZendeskDiscriminatedConnectorConfig
7623
7887
  | GetConectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
7624
7888
  | GetConectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
7889
+ | GetConectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
7625
7890
  | GetConectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
7626
7891
  | GetConectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
7627
7892
  | GetConectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -8572,10 +8837,10 @@ export namespace GetConectorConfigResponse {
8572
8837
  }
8573
8838
  }
8574
8839
 
8575
- export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8576
- config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
8840
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
8841
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
8577
8842
 
8578
- connector_name: 'google-calendar';
8843
+ connector_name: 'gitlab-source-control';
8579
8844
 
8580
8845
  id?: string;
8581
8846
 
@@ -8603,7 +8868,7 @@ export namespace GetConectorConfigResponse {
8603
8868
  updated_at?: string;
8604
8869
  }
8605
8870
 
8606
- export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8871
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
8607
8872
  export interface Config {
8608
8873
  /**
8609
8874
  * Base oauth configuration for the connector
@@ -8630,10 +8895,10 @@ export namespace GetConectorConfigResponse {
8630
8895
  }
8631
8896
  }
8632
8897
 
8633
- export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
8634
- config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
8898
+ export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8899
+ config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
8635
8900
 
8636
- connector_name: 'google-docs';
8901
+ connector_name: 'google-calendar';
8637
8902
 
8638
8903
  id?: string;
8639
8904
 
@@ -8661,7 +8926,7 @@ export namespace GetConectorConfigResponse {
8661
8926
  updated_at?: string;
8662
8927
  }
8663
8928
 
8664
- export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
8929
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
8665
8930
  export interface Config {
8666
8931
  /**
8667
8932
  * Base oauth configuration for the connector
@@ -8688,10 +8953,10 @@ export namespace GetConectorConfigResponse {
8688
8953
  }
8689
8954
  }
8690
8955
 
8691
- export interface ConnectorGoogleDriveDiscriminatedConnectorConfig {
8692
- config: ConnectorGoogleDriveDiscriminatedConnectorConfig.Config;
8956
+ export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
8957
+ config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
8693
8958
 
8694
- connector_name: 'google-drive';
8959
+ connector_name: 'google-docs';
8695
8960
 
8696
8961
  id?: string;
8697
8962
 
@@ -8719,7 +8984,7 @@ export namespace GetConectorConfigResponse {
8719
8984
  updated_at?: string;
8720
8985
  }
8721
8986
 
8722
- export namespace ConnectorGoogleDriveDiscriminatedConnectorConfig {
8987
+ export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
8723
8988
  export interface Config {
8724
8989
  /**
8725
8990
  * Base oauth configuration for the connector
@@ -8746,10 +9011,68 @@ export namespace GetConectorConfigResponse {
8746
9011
  }
8747
9012
  }
8748
9013
 
8749
- export interface ConnectorGoogleMailDiscriminatedConnectorConfig {
8750
- config: ConnectorGoogleMailDiscriminatedConnectorConfig.Config;
9014
+ export interface ConnectorGoogleDriveDiscriminatedConnectorConfig {
9015
+ config: ConnectorGoogleDriveDiscriminatedConnectorConfig.Config;
8751
9016
 
8752
- connector_name: 'google-mail';
9017
+ connector_name: 'google-drive';
9018
+
9019
+ id?: string;
9020
+
9021
+ connection_count?: number;
9022
+
9023
+ connector?: TopLevelAPI.Connector;
9024
+
9025
+ created_at?: string;
9026
+
9027
+ disabled?: boolean | null;
9028
+
9029
+ display_name?: string | null;
9030
+
9031
+ integrations?: { [key: string]: TopLevelAPI.Integration };
9032
+
9033
+ /**
9034
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
9035
+ * separate 1-1 table just for simple key values in your application. During
9036
+ * updates this object will be shallowly merged
9037
+ */
9038
+ metadata?: { [key: string]: unknown } | null;
9039
+
9040
+ org_id?: string;
9041
+
9042
+ updated_at?: string;
9043
+ }
9044
+
9045
+ export namespace ConnectorGoogleDriveDiscriminatedConnectorConfig {
9046
+ export interface Config {
9047
+ /**
9048
+ * Base oauth configuration for the connector
9049
+ */
9050
+ oauth?: Config.OAuth | null;
9051
+ }
9052
+
9053
+ export namespace Config {
9054
+ /**
9055
+ * Base oauth configuration for the connector
9056
+ */
9057
+ export interface OAuth {
9058
+ client_id?: string | null;
9059
+
9060
+ client_secret?: string | null;
9061
+
9062
+ /**
9063
+ * Custom redirect URI
9064
+ */
9065
+ redirect_uri?: string | null;
9066
+
9067
+ scopes?: Array<string> | null;
9068
+ }
9069
+ }
9070
+ }
9071
+
9072
+ export interface ConnectorGoogleMailDiscriminatedConnectorConfig {
9073
+ config: ConnectorGoogleMailDiscriminatedConnectorConfig.Config;
9074
+
9075
+ connector_name: 'google-mail';
8753
9076
 
8754
9077
  id?: string;
8755
9078
 
@@ -9937,6 +10260,37 @@ export namespace GetConectorConfigResponse {
9937
10260
  updated_at?: string;
9938
10261
  }
9939
10262
 
10263
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
10264
+ config: unknown;
10265
+
10266
+ connector_name: 'custom-mcp';
10267
+
10268
+ id?: string;
10269
+
10270
+ connection_count?: number;
10271
+
10272
+ connector?: TopLevelAPI.Connector;
10273
+
10274
+ created_at?: string;
10275
+
10276
+ disabled?: boolean | null;
10277
+
10278
+ display_name?: string | null;
10279
+
10280
+ integrations?: { [key: string]: TopLevelAPI.Integration };
10281
+
10282
+ /**
10283
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
10284
+ * separate 1-1 table just for simple key values in your application. During
10285
+ * updates this object will be shallowly merged
10286
+ */
10287
+ metadata?: { [key: string]: unknown } | null;
10288
+
10289
+ org_id?: string;
10290
+
10291
+ updated_at?: string;
10292
+ }
10293
+
9940
10294
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
9941
10295
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
9942
10296
 
@@ -10424,6 +10778,7 @@ export type GetConnectionResponse =
10424
10778
  | GetConnectionResponse.ConnectorFigmaDiscriminatedConnectionSettings
10425
10779
  | GetConnectionResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
10426
10780
  | GetConnectionResponse.ConnectorGitHubDiscriminatedConnectionSettings
10781
+ | GetConnectionResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
10427
10782
  | GetConnectionResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
10428
10783
  | GetConnectionResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
10429
10784
  | GetConnectionResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -10448,6 +10803,7 @@ export type GetConnectionResponse =
10448
10803
  | GetConnectionResponse.ConnectorZendeskDiscriminatedConnectionSettings
10449
10804
  | GetConnectionResponse.ConnectorZoomDiscriminatedConnectionSettings
10450
10805
  | GetConnectionResponse.ConnectorApolloDiscriminatedConnectionSettings
10806
+ | GetConnectionResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
10451
10807
  | GetConnectionResponse.ConnectorPlaidDiscriminatedConnectionSettings
10452
10808
  | GetConnectionResponse.ConnectorPostgresDiscriminatedConnectionSettings
10453
10809
  | GetConnectionResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -12086,6 +12442,106 @@ export namespace GetConnectionResponse {
12086
12442
  }
12087
12443
  }
12088
12444
 
12445
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
12446
+ connector_name: 'gitlab-source-control';
12447
+
12448
+ id?: string;
12449
+
12450
+ connector?: TopLevelAPI.Connector;
12451
+
12452
+ connector_config_id?: string | null;
12453
+
12454
+ created_at?: string;
12455
+
12456
+ customer_id?: string | null;
12457
+
12458
+ disabled?: boolean | null;
12459
+
12460
+ display_name?: string | null;
12461
+
12462
+ environment?: 'production' | 'development';
12463
+
12464
+ integration?: TopLevelAPI.Integration;
12465
+
12466
+ integration_id?: string | null;
12467
+
12468
+ /**
12469
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
12470
+ * separate 1-1 table just for simple key values in your application. During
12471
+ * updates this object will be shallowly merged
12472
+ */
12473
+ metadata?: { [key: string]: unknown } | null;
12474
+
12475
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
12476
+
12477
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
12478
+
12479
+ status_message?: string | null;
12480
+
12481
+ updated_at?: string;
12482
+
12483
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
12484
+
12485
+ webhook_configured_at?: string | null;
12486
+
12487
+ webhook_identifier?: string | null;
12488
+ }
12489
+
12490
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
12491
+ export interface Settings {
12492
+ oauth: Settings.OAuth;
12493
+
12494
+ /**
12495
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
12496
+ * for backward compatibility until we remove the oauth field
12497
+ */
12498
+ access_token?: string;
12499
+ }
12500
+
12501
+ export namespace Settings {
12502
+ export interface OAuth {
12503
+ created_at?: string;
12504
+
12505
+ /**
12506
+ * Output of the postConnect hook for oauth2 connectors
12507
+ */
12508
+ credentials?: OAuth.Credentials;
12509
+
12510
+ last_fetched_at?: string;
12511
+
12512
+ metadata?: { [key: string]: unknown } | null;
12513
+
12514
+ updated_at?: string;
12515
+ }
12516
+
12517
+ export namespace OAuth {
12518
+ /**
12519
+ * Output of the postConnect hook for oauth2 connectors
12520
+ */
12521
+ export interface Credentials {
12522
+ access_token: string;
12523
+
12524
+ /**
12525
+ * Client ID used for the connection
12526
+ */
12527
+ client_id?: string;
12528
+
12529
+ expires_at?: string;
12530
+
12531
+ expires_in?: number;
12532
+
12533
+ raw?: { [key: string]: unknown };
12534
+
12535
+ refresh_token?: string;
12536
+
12537
+ scope?: string;
12538
+
12539
+ token_type?: string;
12540
+ }
12541
+ }
12542
+ }
12543
+ }
12544
+
12089
12545
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
12090
12546
  connector_name: 'google-calendar';
12091
12547
 
@@ -14458,6 +14914,84 @@ export namespace GetConnectionResponse {
14458
14914
  }
14459
14915
  }
14460
14916
 
14917
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
14918
+ connector_name: 'custom-mcp';
14919
+
14920
+ id?: string;
14921
+
14922
+ connector?: TopLevelAPI.Connector;
14923
+
14924
+ connector_config_id?: string | null;
14925
+
14926
+ created_at?: string;
14927
+
14928
+ customer_id?: string | null;
14929
+
14930
+ disabled?: boolean | null;
14931
+
14932
+ display_name?: string | null;
14933
+
14934
+ environment?: 'production' | 'development';
14935
+
14936
+ integration?: TopLevelAPI.Integration;
14937
+
14938
+ integration_id?: string | null;
14939
+
14940
+ /**
14941
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
14942
+ * separate 1-1 table just for simple key values in your application. During
14943
+ * updates this object will be shallowly merged
14944
+ */
14945
+ metadata?: { [key: string]: unknown } | null;
14946
+
14947
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
14948
+
14949
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
14950
+
14951
+ status_message?: string | null;
14952
+
14953
+ updated_at?: string;
14954
+
14955
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
14956
+
14957
+ webhook_configured_at?: string | null;
14958
+
14959
+ webhook_identifier?: string | null;
14960
+ }
14961
+
14962
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
14963
+ export interface Settings {
14964
+ /**
14965
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
14966
+ */
14967
+ base_url: string;
14968
+
14969
+ /**
14970
+ * Display name for this MCP server (e.g., "My Custom MCP")
14971
+ */
14972
+ display_name: string;
14973
+
14974
+ /**
14975
+ * Custom headers to include with every request
14976
+ */
14977
+ headers: Array<Settings.Header>;
14978
+ }
14979
+
14980
+ export namespace Settings {
14981
+ export interface Header {
14982
+ /**
14983
+ * Header name (e.g., Authorization, X-API-Key)
14984
+ */
14985
+ key: string;
14986
+
14987
+ /**
14988
+ * Header value (securely stored)
14989
+ */
14990
+ value: string;
14991
+ }
14992
+ }
14993
+ }
14994
+
14461
14995
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
14462
14996
  connector_name: 'plaid';
14463
14997
 
@@ -15288,6 +15822,7 @@ export type ListConnectionsResponse =
15288
15822
  | ListConnectionsResponse.ConnectorFigmaDiscriminatedConnectionSettings
15289
15823
  | ListConnectionsResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
15290
15824
  | ListConnectionsResponse.ConnectorGitHubDiscriminatedConnectionSettings
15825
+ | ListConnectionsResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
15291
15826
  | ListConnectionsResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
15292
15827
  | ListConnectionsResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
15293
15828
  | ListConnectionsResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -15312,6 +15847,7 @@ export type ListConnectionsResponse =
15312
15847
  | ListConnectionsResponse.ConnectorZendeskDiscriminatedConnectionSettings
15313
15848
  | ListConnectionsResponse.ConnectorZoomDiscriminatedConnectionSettings
15314
15849
  | ListConnectionsResponse.ConnectorApolloDiscriminatedConnectionSettings
15850
+ | ListConnectionsResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
15315
15851
  | ListConnectionsResponse.ConnectorPlaidDiscriminatedConnectionSettings
15316
15852
  | ListConnectionsResponse.ConnectorPostgresDiscriminatedConnectionSettings
15317
15853
  | ListConnectionsResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -16950,8 +17486,8 @@ export namespace ListConnectionsResponse {
16950
17486
  }
16951
17487
  }
16952
17488
 
16953
- export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
16954
- connector_name: 'google-calendar';
17489
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
17490
+ connector_name: 'gitlab-source-control';
16955
17491
 
16956
17492
  id?: string;
16957
17493
 
@@ -16980,7 +17516,7 @@ export namespace ListConnectionsResponse {
16980
17516
  */
16981
17517
  metadata?: { [key: string]: unknown } | null;
16982
17518
 
16983
- settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
17519
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
16984
17520
 
16985
17521
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
16986
17522
 
@@ -16995,7 +17531,7 @@ export namespace ListConnectionsResponse {
16995
17531
  webhook_identifier?: string | null;
16996
17532
  }
16997
17533
 
16998
- export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
17534
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
16999
17535
  export interface Settings {
17000
17536
  oauth: Settings.OAuth;
17001
17537
 
@@ -17050,8 +17586,8 @@ export namespace ListConnectionsResponse {
17050
17586
  }
17051
17587
  }
17052
17588
 
17053
- export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
17054
- connector_name: 'google-docs';
17589
+ export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
17590
+ connector_name: 'google-calendar';
17055
17591
 
17056
17592
  id?: string;
17057
17593
 
@@ -17080,7 +17616,7 @@ export namespace ListConnectionsResponse {
17080
17616
  */
17081
17617
  metadata?: { [key: string]: unknown } | null;
17082
17618
 
17083
- settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
17619
+ settings?: ConnectorGoogleCalendarDiscriminatedConnectionSettings.Settings;
17084
17620
 
17085
17621
  status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17086
17622
 
@@ -17095,7 +17631,107 @@ export namespace ListConnectionsResponse {
17095
17631
  webhook_identifier?: string | null;
17096
17632
  }
17097
17633
 
17098
- export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
17634
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectionSettings {
17635
+ export interface Settings {
17636
+ oauth: Settings.OAuth;
17637
+
17638
+ /**
17639
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
17640
+ * for backward compatibility until we remove the oauth field
17641
+ */
17642
+ access_token?: string;
17643
+ }
17644
+
17645
+ export namespace Settings {
17646
+ export interface OAuth {
17647
+ created_at?: string;
17648
+
17649
+ /**
17650
+ * Output of the postConnect hook for oauth2 connectors
17651
+ */
17652
+ credentials?: OAuth.Credentials;
17653
+
17654
+ last_fetched_at?: string;
17655
+
17656
+ metadata?: { [key: string]: unknown } | null;
17657
+
17658
+ updated_at?: string;
17659
+ }
17660
+
17661
+ export namespace OAuth {
17662
+ /**
17663
+ * Output of the postConnect hook for oauth2 connectors
17664
+ */
17665
+ export interface Credentials {
17666
+ access_token: string;
17667
+
17668
+ /**
17669
+ * Client ID used for the connection
17670
+ */
17671
+ client_id?: string;
17672
+
17673
+ expires_at?: string;
17674
+
17675
+ expires_in?: number;
17676
+
17677
+ raw?: { [key: string]: unknown };
17678
+
17679
+ refresh_token?: string;
17680
+
17681
+ scope?: string;
17682
+
17683
+ token_type?: string;
17684
+ }
17685
+ }
17686
+ }
17687
+ }
17688
+
17689
+ export interface ConnectorGoogleDocsDiscriminatedConnectionSettings {
17690
+ connector_name: 'google-docs';
17691
+
17692
+ id?: string;
17693
+
17694
+ connector?: TopLevelAPI.Connector;
17695
+
17696
+ connector_config_id?: string | null;
17697
+
17698
+ created_at?: string;
17699
+
17700
+ customer_id?: string | null;
17701
+
17702
+ disabled?: boolean | null;
17703
+
17704
+ display_name?: string | null;
17705
+
17706
+ environment?: 'production' | 'development';
17707
+
17708
+ integration?: TopLevelAPI.Integration;
17709
+
17710
+ integration_id?: string | null;
17711
+
17712
+ /**
17713
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
17714
+ * separate 1-1 table just for simple key values in your application. During
17715
+ * updates this object will be shallowly merged
17716
+ */
17717
+ metadata?: { [key: string]: unknown } | null;
17718
+
17719
+ settings?: ConnectorGoogleDocsDiscriminatedConnectionSettings.Settings;
17720
+
17721
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
17722
+
17723
+ status_message?: string | null;
17724
+
17725
+ updated_at?: string;
17726
+
17727
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
17728
+
17729
+ webhook_configured_at?: string | null;
17730
+
17731
+ webhook_identifier?: string | null;
17732
+ }
17733
+
17734
+ export namespace ConnectorGoogleDocsDiscriminatedConnectionSettings {
17099
17735
  export interface Settings {
17100
17736
  oauth: Settings.OAuth;
17101
17737
 
@@ -19322,6 +19958,84 @@ export namespace ListConnectionsResponse {
19322
19958
  }
19323
19959
  }
19324
19960
 
19961
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
19962
+ connector_name: 'custom-mcp';
19963
+
19964
+ id?: string;
19965
+
19966
+ connector?: TopLevelAPI.Connector;
19967
+
19968
+ connector_config_id?: string | null;
19969
+
19970
+ created_at?: string;
19971
+
19972
+ customer_id?: string | null;
19973
+
19974
+ disabled?: boolean | null;
19975
+
19976
+ display_name?: string | null;
19977
+
19978
+ environment?: 'production' | 'development';
19979
+
19980
+ integration?: TopLevelAPI.Integration;
19981
+
19982
+ integration_id?: string | null;
19983
+
19984
+ /**
19985
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
19986
+ * separate 1-1 table just for simple key values in your application. During
19987
+ * updates this object will be shallowly merged
19988
+ */
19989
+ metadata?: { [key: string]: unknown } | null;
19990
+
19991
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
19992
+
19993
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
19994
+
19995
+ status_message?: string | null;
19996
+
19997
+ updated_at?: string;
19998
+
19999
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
20000
+
20001
+ webhook_configured_at?: string | null;
20002
+
20003
+ webhook_identifier?: string | null;
20004
+ }
20005
+
20006
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
20007
+ export interface Settings {
20008
+ /**
20009
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
20010
+ */
20011
+ base_url: string;
20012
+
20013
+ /**
20014
+ * Display name for this MCP server (e.g., "My Custom MCP")
20015
+ */
20016
+ display_name: string;
20017
+
20018
+ /**
20019
+ * Custom headers to include with every request
20020
+ */
20021
+ headers: Array<Settings.Header>;
20022
+ }
20023
+
20024
+ export namespace Settings {
20025
+ export interface Header {
20026
+ /**
20027
+ * Header name (e.g., Authorization, X-API-Key)
20028
+ */
20029
+ key: string;
20030
+
20031
+ /**
20032
+ * Header value (securely stored)
20033
+ */
20034
+ value: string;
20035
+ }
20036
+ }
20037
+ }
20038
+
19325
20039
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
19326
20040
  connector_name: 'plaid';
19327
20041
 
@@ -20126,6 +20840,7 @@ export type ListConnectorConfigsResponse =
20126
20840
  | ListConnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
20127
20841
  | ListConnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
20128
20842
  | ListConnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
20843
+ | ListConnectorConfigsResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
20129
20844
  | ListConnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
20130
20845
  | ListConnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
20131
20846
  | ListConnectorConfigsResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -20150,6 +20865,7 @@ export type ListConnectorConfigsResponse =
20150
20865
  | ListConnectorConfigsResponse.ConnectorZendeskDiscriminatedConnectorConfig
20151
20866
  | ListConnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
20152
20867
  | ListConnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
20868
+ | ListConnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
20153
20869
  | ListConnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
20154
20870
  | ListConnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
20155
20871
  | ListConnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -21100,6 +21816,64 @@ export namespace ListConnectorConfigsResponse {
21100
21816
  }
21101
21817
  }
21102
21818
 
21819
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
21820
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
21821
+
21822
+ connector_name: 'gitlab-source-control';
21823
+
21824
+ id?: string;
21825
+
21826
+ connection_count?: number;
21827
+
21828
+ connector?: TopLevelAPI.Connector;
21829
+
21830
+ created_at?: string;
21831
+
21832
+ disabled?: boolean | null;
21833
+
21834
+ display_name?: string | null;
21835
+
21836
+ integrations?: { [key: string]: TopLevelAPI.Integration };
21837
+
21838
+ /**
21839
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
21840
+ * separate 1-1 table just for simple key values in your application. During
21841
+ * updates this object will be shallowly merged
21842
+ */
21843
+ metadata?: { [key: string]: unknown } | null;
21844
+
21845
+ org_id?: string;
21846
+
21847
+ updated_at?: string;
21848
+ }
21849
+
21850
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
21851
+ export interface Config {
21852
+ /**
21853
+ * Base oauth configuration for the connector
21854
+ */
21855
+ oauth?: Config.OAuth | null;
21856
+ }
21857
+
21858
+ export namespace Config {
21859
+ /**
21860
+ * Base oauth configuration for the connector
21861
+ */
21862
+ export interface OAuth {
21863
+ client_id?: string | null;
21864
+
21865
+ client_secret?: string | null;
21866
+
21867
+ /**
21868
+ * Custom redirect URI
21869
+ */
21870
+ redirect_uri?: string | null;
21871
+
21872
+ scopes?: Array<string> | null;
21873
+ }
21874
+ }
21875
+ }
21876
+
21103
21877
  export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
21104
21878
  config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
21105
21879
 
@@ -22465,6 +23239,37 @@ export namespace ListConnectorConfigsResponse {
22465
23239
  updated_at?: string;
22466
23240
  }
22467
23241
 
23242
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
23243
+ config: unknown;
23244
+
23245
+ connector_name: 'custom-mcp';
23246
+
23247
+ id?: string;
23248
+
23249
+ connection_count?: number;
23250
+
23251
+ connector?: TopLevelAPI.Connector;
23252
+
23253
+ created_at?: string;
23254
+
23255
+ disabled?: boolean | null;
23256
+
23257
+ display_name?: string | null;
23258
+
23259
+ integrations?: { [key: string]: TopLevelAPI.Integration };
23260
+
23261
+ /**
23262
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
23263
+ * separate 1-1 table just for simple key values in your application. During
23264
+ * updates this object will be shallowly merged
23265
+ */
23266
+ metadata?: { [key: string]: unknown } | null;
23267
+
23268
+ org_id?: string;
23269
+
23270
+ updated_at?: string;
23271
+ }
23272
+
22468
23273
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
22469
23274
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
22470
23275
 
@@ -22953,6 +23758,7 @@ export type ListConnnectorConfigsResponse =
22953
23758
  | ListConnnectorConfigsResponse.ConnectorFigmaDiscriminatedConnectorConfig
22954
23759
  | ListConnnectorConfigsResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
22955
23760
  | ListConnnectorConfigsResponse.ConnectorGitHubDiscriminatedConnectorConfig
23761
+ | ListConnnectorConfigsResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
22956
23762
  | ListConnnectorConfigsResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
22957
23763
  | ListConnnectorConfigsResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
22958
23764
  | ListConnnectorConfigsResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -22977,6 +23783,7 @@ export type ListConnnectorConfigsResponse =
22977
23783
  | ListConnnectorConfigsResponse.ConnectorZendeskDiscriminatedConnectorConfig
22978
23784
  | ListConnnectorConfigsResponse.ConnectorZoomDiscriminatedConnectorConfig
22979
23785
  | ListConnnectorConfigsResponse.ConnectorApolloDiscriminatedConnectorConfig
23786
+ | ListConnnectorConfigsResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
22980
23787
  | ListConnnectorConfigsResponse.ConnectorPlaidDiscriminatedConnectorConfig
22981
23788
  | ListConnnectorConfigsResponse.ConnectorPostgresDiscriminatedConnectorConfig
22982
23789
  | ListConnnectorConfigsResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -23927,10 +24734,10 @@ export namespace ListConnnectorConfigsResponse {
23927
24734
  }
23928
24735
  }
23929
24736
 
23930
- export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
23931
- config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
24737
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
24738
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
23932
24739
 
23933
- connector_name: 'google-calendar';
24740
+ connector_name: 'gitlab-source-control';
23934
24741
 
23935
24742
  id?: string;
23936
24743
 
@@ -23958,7 +24765,7 @@ export namespace ListConnnectorConfigsResponse {
23958
24765
  updated_at?: string;
23959
24766
  }
23960
24767
 
23961
- export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
24768
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
23962
24769
  export interface Config {
23963
24770
  /**
23964
24771
  * Base oauth configuration for the connector
@@ -23985,10 +24792,10 @@ export namespace ListConnnectorConfigsResponse {
23985
24792
  }
23986
24793
  }
23987
24794
 
23988
- export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
23989
- config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
24795
+ export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
24796
+ config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
23990
24797
 
23991
- connector_name: 'google-docs';
24798
+ connector_name: 'google-calendar';
23992
24799
 
23993
24800
  id?: string;
23994
24801
 
@@ -24016,7 +24823,65 @@ export namespace ListConnnectorConfigsResponse {
24016
24823
  updated_at?: string;
24017
24824
  }
24018
24825
 
24019
- export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
24826
+ export namespace ConnectorGoogleCalendarDiscriminatedConnectorConfig {
24827
+ export interface Config {
24828
+ /**
24829
+ * Base oauth configuration for the connector
24830
+ */
24831
+ oauth?: Config.OAuth | null;
24832
+ }
24833
+
24834
+ export namespace Config {
24835
+ /**
24836
+ * Base oauth configuration for the connector
24837
+ */
24838
+ export interface OAuth {
24839
+ client_id?: string | null;
24840
+
24841
+ client_secret?: string | null;
24842
+
24843
+ /**
24844
+ * Custom redirect URI
24845
+ */
24846
+ redirect_uri?: string | null;
24847
+
24848
+ scopes?: Array<string> | null;
24849
+ }
24850
+ }
24851
+ }
24852
+
24853
+ export interface ConnectorGoogleDocsDiscriminatedConnectorConfig {
24854
+ config: ConnectorGoogleDocsDiscriminatedConnectorConfig.Config;
24855
+
24856
+ connector_name: 'google-docs';
24857
+
24858
+ id?: string;
24859
+
24860
+ connection_count?: number;
24861
+
24862
+ connector?: TopLevelAPI.Connector;
24863
+
24864
+ created_at?: string;
24865
+
24866
+ disabled?: boolean | null;
24867
+
24868
+ display_name?: string | null;
24869
+
24870
+ integrations?: { [key: string]: TopLevelAPI.Integration };
24871
+
24872
+ /**
24873
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
24874
+ * separate 1-1 table just for simple key values in your application. During
24875
+ * updates this object will be shallowly merged
24876
+ */
24877
+ metadata?: { [key: string]: unknown } | null;
24878
+
24879
+ org_id?: string;
24880
+
24881
+ updated_at?: string;
24882
+ }
24883
+
24884
+ export namespace ConnectorGoogleDocsDiscriminatedConnectorConfig {
24020
24885
  export interface Config {
24021
24886
  /**
24022
24887
  * Base oauth configuration for the connector
@@ -25292,6 +26157,37 @@ export namespace ListConnnectorConfigsResponse {
25292
26157
  updated_at?: string;
25293
26158
  }
25294
26159
 
26160
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
26161
+ config: unknown;
26162
+
26163
+ connector_name: 'custom-mcp';
26164
+
26165
+ id?: string;
26166
+
26167
+ connection_count?: number;
26168
+
26169
+ connector?: TopLevelAPI.Connector;
26170
+
26171
+ created_at?: string;
26172
+
26173
+ disabled?: boolean | null;
26174
+
26175
+ display_name?: string | null;
26176
+
26177
+ integrations?: { [key: string]: TopLevelAPI.Integration };
26178
+
26179
+ /**
26180
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
26181
+ * separate 1-1 table just for simple key values in your application. During
26182
+ * updates this object will be shallowly merged
26183
+ */
26184
+ metadata?: { [key: string]: unknown } | null;
26185
+
26186
+ org_id?: string;
26187
+
26188
+ updated_at?: string;
26189
+ }
26190
+
25295
26191
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
25296
26192
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
25297
26193
 
@@ -25808,6 +26704,10 @@ export namespace ListEventsResponse {
25808
26704
 
25809
26705
  id?: string;
25810
26706
 
26707
+ connection_id?: string | null;
26708
+
26709
+ connector_name?: string | null;
26710
+
25811
26711
  customer_id?: string | null;
25812
26712
 
25813
26713
  org_id?: string | null;
@@ -25821,6 +26721,8 @@ export namespace ListEventsResponse {
25821
26721
  user_id?: string | null;
25822
26722
 
25823
26723
  v?: string | null;
26724
+
26725
+ webhook_name?: string | null;
25824
26726
  }
25825
26727
 
25826
26728
  export interface UnionMember1 {
@@ -25830,6 +26732,10 @@ export namespace ListEventsResponse {
25830
26732
 
25831
26733
  id?: string;
25832
26734
 
26735
+ connection_id?: string | null;
26736
+
26737
+ connector_name?: string | null;
26738
+
25833
26739
  customer_id?: string | null;
25834
26740
 
25835
26741
  org_id?: string | null;
@@ -25843,10 +26749,21 @@ export namespace ListEventsResponse {
25843
26749
  user_id?: string | null;
25844
26750
 
25845
26751
  v?: string | null;
26752
+
26753
+ webhook_name?: string | null;
25846
26754
  }
25847
26755
 
25848
26756
  export namespace UnionMember1 {
25849
26757
  export interface Data {
26758
+ /**
26759
+ * Must start with 'conn\_'
26760
+ */
26761
+ connection_id: string;
26762
+
26763
+ event_model: string;
26764
+
26765
+ event_name: string;
26766
+
25850
26767
  headers: { [key: string]: unknown };
25851
26768
 
25852
26769
  payload: { [key: string]: unknown };
@@ -25862,6 +26779,10 @@ export namespace ListEventsResponse {
25862
26779
 
25863
26780
  id?: string;
25864
26781
 
26782
+ connection_id?: string | null;
26783
+
26784
+ connector_name?: string | null;
26785
+
25865
26786
  customer_id?: string | null;
25866
26787
 
25867
26788
  org_id?: string | null;
@@ -25875,6 +26796,8 @@ export namespace ListEventsResponse {
25875
26796
  user_id?: string | null;
25876
26797
 
25877
26798
  v?: string | null;
26799
+
26800
+ webhook_name?: string | null;
25878
26801
  }
25879
26802
 
25880
26803
  export interface UnionMember3 {
@@ -25884,6 +26807,10 @@ export namespace ListEventsResponse {
25884
26807
 
25885
26808
  id?: string;
25886
26809
 
26810
+ connection_id?: string | null;
26811
+
26812
+ connector_name?: string | null;
26813
+
25887
26814
  customer_id?: string | null;
25888
26815
 
25889
26816
  org_id?: string | null;
@@ -25897,6 +26824,8 @@ export namespace ListEventsResponse {
25897
26824
  user_id?: string | null;
25898
26825
 
25899
26826
  v?: string | null;
26827
+
26828
+ webhook_name?: string | null;
25900
26829
  }
25901
26830
 
25902
26831
  export interface UnionMember4 {
@@ -25906,6 +26835,10 @@ export namespace ListEventsResponse {
25906
26835
 
25907
26836
  id?: string;
25908
26837
 
26838
+ connection_id?: string | null;
26839
+
26840
+ connector_name?: string | null;
26841
+
25909
26842
  customer_id?: string | null;
25910
26843
 
25911
26844
  org_id?: string | null;
@@ -25919,6 +26852,8 @@ export namespace ListEventsResponse {
25919
26852
  user_id?: string | null;
25920
26853
 
25921
26854
  v?: string | null;
26855
+
26856
+ webhook_name?: string | null;
25922
26857
  }
25923
26858
 
25924
26859
  export namespace UnionMember4 {
@@ -25937,6 +26872,10 @@ export namespace ListEventsResponse {
25937
26872
 
25938
26873
  id?: string;
25939
26874
 
26875
+ connection_id?: string | null;
26876
+
26877
+ connector_name?: string | null;
26878
+
25940
26879
  customer_id?: string | null;
25941
26880
 
25942
26881
  org_id?: string | null;
@@ -25950,6 +26889,8 @@ export namespace ListEventsResponse {
25950
26889
  user_id?: string | null;
25951
26890
 
25952
26891
  v?: string | null;
26892
+
26893
+ webhook_name?: string | null;
25953
26894
  }
25954
26895
 
25955
26896
  export namespace UnionMember5 {
@@ -25968,6 +26909,10 @@ export namespace ListEventsResponse {
25968
26909
 
25969
26910
  id?: string;
25970
26911
 
26912
+ connection_id?: string | null;
26913
+
26914
+ connector_name?: string | null;
26915
+
25971
26916
  customer_id?: string | null;
25972
26917
 
25973
26918
  org_id?: string | null;
@@ -25981,6 +26926,8 @@ export namespace ListEventsResponse {
25981
26926
  user_id?: string | null;
25982
26927
 
25983
26928
  v?: string | null;
26929
+
26930
+ webhook_name?: string | null;
25984
26931
  }
25985
26932
 
25986
26933
  export interface UnionMember7 {
@@ -25990,6 +26937,10 @@ export namespace ListEventsResponse {
25990
26937
 
25991
26938
  id?: string;
25992
26939
 
26940
+ connection_id?: string | null;
26941
+
26942
+ connector_name?: string | null;
26943
+
25993
26944
  customer_id?: string | null;
25994
26945
 
25995
26946
  org_id?: string | null;
@@ -26003,6 +26954,8 @@ export namespace ListEventsResponse {
26003
26954
  user_id?: string | null;
26004
26955
 
26005
26956
  v?: string | null;
26957
+
26958
+ webhook_name?: string | null;
26006
26959
  }
26007
26960
 
26008
26961
  export interface UnionMember8 {
@@ -26012,6 +26965,10 @@ export namespace ListEventsResponse {
26012
26965
 
26013
26966
  id?: string;
26014
26967
 
26968
+ connection_id?: string | null;
26969
+
26970
+ connector_name?: string | null;
26971
+
26015
26972
  customer_id?: string | null;
26016
26973
 
26017
26974
  org_id?: string | null;
@@ -26025,6 +26982,8 @@ export namespace ListEventsResponse {
26025
26982
  user_id?: string | null;
26026
26983
 
26027
26984
  v?: string | null;
26985
+
26986
+ webhook_name?: string | null;
26028
26987
  }
26029
26988
 
26030
26989
  export namespace UnionMember8 {
@@ -26042,6 +27001,10 @@ export namespace ListEventsResponse {
26042
27001
 
26043
27002
  id?: string;
26044
27003
 
27004
+ connection_id?: string | null;
27005
+
27006
+ connector_name?: string | null;
27007
+
26045
27008
  customer_id?: string | null;
26046
27009
 
26047
27010
  org_id?: string | null;
@@ -26055,6 +27018,8 @@ export namespace ListEventsResponse {
26055
27018
  user_id?: string | null;
26056
27019
 
26057
27020
  v?: string | null;
27021
+
27022
+ webhook_name?: string | null;
26058
27023
  }
26059
27024
 
26060
27025
  export namespace UnionMember9 {
@@ -26072,6 +27037,10 @@ export namespace ListEventsResponse {
26072
27037
 
26073
27038
  id?: string;
26074
27039
 
27040
+ connection_id?: string | null;
27041
+
27042
+ connector_name?: string | null;
27043
+
26075
27044
  customer_id?: string | null;
26076
27045
 
26077
27046
  org_id?: string | null;
@@ -26085,6 +27054,8 @@ export namespace ListEventsResponse {
26085
27054
  user_id?: string | null;
26086
27055
 
26087
27056
  v?: string | null;
27057
+
27058
+ webhook_name?: string | null;
26088
27059
  }
26089
27060
 
26090
27061
  export namespace UnionMember10 {
@@ -26102,6 +27073,10 @@ export namespace ListEventsResponse {
26102
27073
 
26103
27074
  id?: string;
26104
27075
 
27076
+ connection_id?: string | null;
27077
+
27078
+ connector_name?: string | null;
27079
+
26105
27080
  customer_id?: string | null;
26106
27081
 
26107
27082
  org_id?: string | null;
@@ -26115,6 +27090,8 @@ export namespace ListEventsResponse {
26115
27090
  user_id?: string | null;
26116
27091
 
26117
27092
  v?: string | null;
27093
+
27094
+ webhook_name?: string | null;
26118
27095
  }
26119
27096
 
26120
27097
  export namespace UnionMember11 {
@@ -26132,6 +27109,10 @@ export namespace ListEventsResponse {
26132
27109
 
26133
27110
  id?: string;
26134
27111
 
27112
+ connection_id?: string | null;
27113
+
27114
+ connector_name?: string | null;
27115
+
26135
27116
  customer_id?: string | null;
26136
27117
 
26137
27118
  org_id?: string | null;
@@ -26145,6 +27126,8 @@ export namespace ListEventsResponse {
26145
27126
  user_id?: string | null;
26146
27127
 
26147
27128
  v?: string | null;
27129
+
27130
+ webhook_name?: string | null;
26148
27131
  }
26149
27132
 
26150
27133
  export interface UnionMember13 {
@@ -26154,6 +27137,10 @@ export namespace ListEventsResponse {
26154
27137
 
26155
27138
  id?: string;
26156
27139
 
27140
+ connection_id?: string | null;
27141
+
27142
+ connector_name?: string | null;
27143
+
26157
27144
  customer_id?: string | null;
26158
27145
 
26159
27146
  org_id?: string | null;
@@ -26167,6 +27154,8 @@ export namespace ListEventsResponse {
26167
27154
  user_id?: string | null;
26168
27155
 
26169
27156
  v?: string | null;
27157
+
27158
+ webhook_name?: string | null;
26170
27159
  }
26171
27160
 
26172
27161
  export namespace UnionMember13 {
@@ -26184,6 +27173,10 @@ export namespace ListEventsResponse {
26184
27173
 
26185
27174
  id?: string;
26186
27175
 
27176
+ connection_id?: string | null;
27177
+
27178
+ connector_name?: string | null;
27179
+
26187
27180
  customer_id?: string | null;
26188
27181
 
26189
27182
  org_id?: string | null;
@@ -26197,6 +27190,8 @@ export namespace ListEventsResponse {
26197
27190
  user_id?: string | null;
26198
27191
 
26199
27192
  v?: string | null;
27193
+
27194
+ webhook_name?: string | null;
26200
27195
  }
26201
27196
 
26202
27197
  export namespace UnionMember14 {
@@ -26217,6 +27212,10 @@ export namespace ListEventsResponse {
26217
27212
 
26218
27213
  id?: string;
26219
27214
 
27215
+ connection_id?: string | null;
27216
+
27217
+ connector_name?: string | null;
27218
+
26220
27219
  customer_id?: string | null;
26221
27220
 
26222
27221
  org_id?: string | null;
@@ -26230,6 +27229,8 @@ export namespace ListEventsResponse {
26230
27229
  user_id?: string | null;
26231
27230
 
26232
27231
  v?: string | null;
27232
+
27233
+ webhook_name?: string | null;
26233
27234
  }
26234
27235
 
26235
27236
  export namespace UnionMember15 {
@@ -26250,6 +27251,10 @@ export namespace ListEventsResponse {
26250
27251
 
26251
27252
  id?: string;
26252
27253
 
27254
+ connection_id?: string | null;
27255
+
27256
+ connector_name?: string | null;
27257
+
26253
27258
  customer_id?: string | null;
26254
27259
 
26255
27260
  org_id?: string | null;
@@ -26263,6 +27268,8 @@ export namespace ListEventsResponse {
26263
27268
  user_id?: string | null;
26264
27269
 
26265
27270
  v?: string | null;
27271
+
27272
+ webhook_name?: string | null;
26266
27273
  }
26267
27274
 
26268
27275
  export namespace UnionMember16 {
@@ -26287,6 +27294,10 @@ export namespace ListEventsResponse {
26287
27294
 
26288
27295
  id?: string;
26289
27296
 
27297
+ connection_id?: string | null;
27298
+
27299
+ connector_name?: string | null;
27300
+
26290
27301
  customer_id?: string | null;
26291
27302
 
26292
27303
  org_id?: string | null;
@@ -26300,6 +27311,8 @@ export namespace ListEventsResponse {
26300
27311
  user_id?: string | null;
26301
27312
 
26302
27313
  v?: string | null;
27314
+
27315
+ webhook_name?: string | null;
26303
27316
  }
26304
27317
 
26305
27318
  export interface UnionMember18 {
@@ -26309,6 +27322,10 @@ export namespace ListEventsResponse {
26309
27322
 
26310
27323
  id?: string;
26311
27324
 
27325
+ connection_id?: string | null;
27326
+
27327
+ connector_name?: string | null;
27328
+
26312
27329
  customer_id?: string | null;
26313
27330
 
26314
27331
  org_id?: string | null;
@@ -26322,6 +27339,8 @@ export namespace ListEventsResponse {
26322
27339
  user_id?: string | null;
26323
27340
 
26324
27341
  v?: string | null;
27342
+
27343
+ webhook_name?: string | null;
26325
27344
  }
26326
27345
 
26327
27346
  export interface UnionMember19 {
@@ -26331,6 +27350,10 @@ export namespace ListEventsResponse {
26331
27350
 
26332
27351
  id?: string;
26333
27352
 
27353
+ connection_id?: string | null;
27354
+
27355
+ connector_name?: string | null;
27356
+
26334
27357
  customer_id?: string | null;
26335
27358
 
26336
27359
  org_id?: string | null;
@@ -26344,6 +27367,8 @@ export namespace ListEventsResponse {
26344
27367
  user_id?: string | null;
26345
27368
 
26346
27369
  v?: string | null;
27370
+
27371
+ webhook_name?: string | null;
26347
27372
  }
26348
27373
 
26349
27374
  export interface UnionMember20 {
@@ -26353,6 +27378,10 @@ export namespace ListEventsResponse {
26353
27378
 
26354
27379
  id?: string;
26355
27380
 
27381
+ connection_id?: string | null;
27382
+
27383
+ connector_name?: string | null;
27384
+
26356
27385
  customer_id?: string | null;
26357
27386
 
26358
27387
  org_id?: string | null;
@@ -26366,6 +27395,8 @@ export namespace ListEventsResponse {
26366
27395
  user_id?: string | null;
26367
27396
 
26368
27397
  v?: string | null;
27398
+
27399
+ webhook_name?: string | null;
26369
27400
  }
26370
27401
 
26371
27402
  export namespace UnionMember20 {
@@ -26395,6 +27426,7 @@ export type PostConnectResponse =
26395
27426
  | PostConnectResponse.ConnectorFigmaDiscriminatedConnectionSettings
26396
27427
  | PostConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
26397
27428
  | PostConnectResponse.ConnectorGitHubDiscriminatedConnectionSettings
27429
+ | PostConnectResponse.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
26398
27430
  | PostConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectionSettings
26399
27431
  | PostConnectResponse.ConnectorGoogleDocsDiscriminatedConnectionSettings
26400
27432
  | PostConnectResponse.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -26419,6 +27451,7 @@ export type PostConnectResponse =
26419
27451
  | PostConnectResponse.ConnectorZendeskDiscriminatedConnectionSettings
26420
27452
  | PostConnectResponse.ConnectorZoomDiscriminatedConnectionSettings
26421
27453
  | PostConnectResponse.ConnectorApolloDiscriminatedConnectionSettings
27454
+ | PostConnectResponse.ConnectorCustomMcpDiscriminatedConnectionSettings
26422
27455
  | PostConnectResponse.ConnectorPlaidDiscriminatedConnectionSettings
26423
27456
  | PostConnectResponse.ConnectorPostgresDiscriminatedConnectionSettings
26424
27457
  | PostConnectResponse.ConnectorResendDiscriminatedConnectionSettings
@@ -27989,6 +29022,102 @@ export namespace PostConnectResponse {
27989
29022
  }
27990
29023
  }
27991
29024
 
29025
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
29026
+ connector_name: 'gitlab-source-control';
29027
+
29028
+ id?: string;
29029
+
29030
+ connector_config_id?: string | null;
29031
+
29032
+ created_at?: string;
29033
+
29034
+ customer_id?: string | null;
29035
+
29036
+ disabled?: boolean | null;
29037
+
29038
+ display_name?: string | null;
29039
+
29040
+ environment?: 'production' | 'development';
29041
+
29042
+ integration_id?: string | null;
29043
+
29044
+ /**
29045
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
29046
+ * separate 1-1 table just for simple key values in your application. During
29047
+ * updates this object will be shallowly merged
29048
+ */
29049
+ metadata?: { [key: string]: unknown } | null;
29050
+
29051
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
29052
+
29053
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
29054
+
29055
+ status_message?: string | null;
29056
+
29057
+ updated_at?: string;
29058
+
29059
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
29060
+
29061
+ webhook_configured_at?: string | null;
29062
+
29063
+ webhook_identifier?: string | null;
29064
+ }
29065
+
29066
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
29067
+ export interface Settings {
29068
+ oauth: Settings.OAuth;
29069
+
29070
+ /**
29071
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
29072
+ * for backward compatibility until we remove the oauth field
29073
+ */
29074
+ access_token?: string;
29075
+ }
29076
+
29077
+ export namespace Settings {
29078
+ export interface OAuth {
29079
+ created_at?: string;
29080
+
29081
+ /**
29082
+ * Output of the postConnect hook for oauth2 connectors
29083
+ */
29084
+ credentials?: OAuth.Credentials;
29085
+
29086
+ last_fetched_at?: string;
29087
+
29088
+ metadata?: { [key: string]: unknown } | null;
29089
+
29090
+ updated_at?: string;
29091
+ }
29092
+
29093
+ export namespace OAuth {
29094
+ /**
29095
+ * Output of the postConnect hook for oauth2 connectors
29096
+ */
29097
+ export interface Credentials {
29098
+ access_token: string;
29099
+
29100
+ /**
29101
+ * Client ID used for the connection
29102
+ */
29103
+ client_id?: string;
29104
+
29105
+ expires_at?: string;
29106
+
29107
+ expires_in?: number;
29108
+
29109
+ raw?: { [key: string]: unknown };
29110
+
29111
+ refresh_token?: string;
29112
+
29113
+ scope?: string;
29114
+
29115
+ token_type?: string;
29116
+ }
29117
+ }
29118
+ }
29119
+ }
29120
+
27992
29121
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
27993
29122
  connector_name: 'google-calendar';
27994
29123
 
@@ -30265,6 +31394,80 @@ export namespace PostConnectResponse {
30265
31394
  }
30266
31395
  }
30267
31396
 
31397
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
31398
+ connector_name: 'custom-mcp';
31399
+
31400
+ id?: string;
31401
+
31402
+ connector_config_id?: string | null;
31403
+
31404
+ created_at?: string;
31405
+
31406
+ customer_id?: string | null;
31407
+
31408
+ disabled?: boolean | null;
31409
+
31410
+ display_name?: string | null;
31411
+
31412
+ environment?: 'production' | 'development';
31413
+
31414
+ integration_id?: string | null;
31415
+
31416
+ /**
31417
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
31418
+ * separate 1-1 table just for simple key values in your application. During
31419
+ * updates this object will be shallowly merged
31420
+ */
31421
+ metadata?: { [key: string]: unknown } | null;
31422
+
31423
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
31424
+
31425
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
31426
+
31427
+ status_message?: string | null;
31428
+
31429
+ updated_at?: string;
31430
+
31431
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
31432
+
31433
+ webhook_configured_at?: string | null;
31434
+
31435
+ webhook_identifier?: string | null;
31436
+ }
31437
+
31438
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
31439
+ export interface Settings {
31440
+ /**
31441
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
31442
+ */
31443
+ base_url: string;
31444
+
31445
+ /**
31446
+ * Display name for this MCP server (e.g., "My Custom MCP")
31447
+ */
31448
+ display_name: string;
31449
+
31450
+ /**
31451
+ * Custom headers to include with every request
31452
+ */
31453
+ headers: Array<Settings.Header>;
31454
+ }
31455
+
31456
+ export namespace Settings {
31457
+ export interface Header {
31458
+ /**
31459
+ * Header name (e.g., Authorization, X-API-Key)
31460
+ */
31461
+ key: string;
31462
+
31463
+ /**
31464
+ * Header value (securely stored)
31465
+ */
31466
+ value: string;
31467
+ }
31468
+ }
31469
+ }
31470
+
30268
31471
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
30269
31472
  connector_name: 'plaid';
30270
31473
 
@@ -31031,6 +32234,7 @@ export type PreConnectResponse =
31031
32234
  | PreConnectResponse.ConnectorFigmaDiscriminatedConnectInput
31032
32235
  | PreConnectResponse.ConnectorGitHubSourceControlDiscriminatedConnectInput
31033
32236
  | PreConnectResponse.ConnectorGitHubDiscriminatedConnectInput
32237
+ | PreConnectResponse.ConnectorGitlabSourceControlDiscriminatedConnectInput
31034
32238
  | PreConnectResponse.ConnectorGoogleCalendarDiscriminatedConnectInput
31035
32239
  | PreConnectResponse.ConnectorGoogleDocsDiscriminatedConnectInput
31036
32240
  | PreConnectResponse.ConnectorGoogleDriveDiscriminatedConnectInput
@@ -31055,6 +32259,7 @@ export type PreConnectResponse =
31055
32259
  | PreConnectResponse.ConnectorZendeskDiscriminatedConnectInput
31056
32260
  | PreConnectResponse.ConnectorZoomDiscriminatedConnectInput
31057
32261
  | PreConnectResponse.ConnectorApolloDiscriminatedConnectInput
32262
+ | PreConnectResponse.ConnectorCustomMcpDiscriminatedConnectInput
31058
32263
  | PreConnectResponse.ConnectorPlaidDiscriminatedConnectInput
31059
32264
  | PreConnectResponse.ConnectorPostgresDiscriminatedConnectInput
31060
32265
  | PreConnectResponse.ConnectorResendDiscriminatedConnectInput
@@ -31379,6 +32584,26 @@ export namespace PreConnectResponse {
31379
32584
  }
31380
32585
  }
31381
32586
 
32587
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectInput {
32588
+ connect_input: ConnectorGitlabSourceControlDiscriminatedConnectInput.ConnectInput;
32589
+
32590
+ connector_name: 'gitlab-source-control';
32591
+ }
32592
+
32593
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectInput {
32594
+ export interface ConnectInput {
32595
+ /**
32596
+ * URL to take user to for approval
32597
+ */
32598
+ authorization_url: string;
32599
+
32600
+ /**
32601
+ * Code verifier for PKCE
32602
+ */
32603
+ code_verifier?: string;
32604
+ }
32605
+ }
32606
+
31382
32607
  export interface ConnectorGoogleCalendarDiscriminatedConnectInput {
31383
32608
  connect_input: ConnectorGoogleCalendarDiscriminatedConnectInput.ConnectInput;
31384
32609
 
@@ -31845,6 +33070,45 @@ export namespace PreConnectResponse {
31845
33070
  connector_name: 'apollo';
31846
33071
  }
31847
33072
 
33073
+ export interface ConnectorCustomMcpDiscriminatedConnectInput {
33074
+ connect_input: ConnectorCustomMcpDiscriminatedConnectInput.ConnectInput;
33075
+
33076
+ connector_name: 'custom-mcp';
33077
+ }
33078
+
33079
+ export namespace ConnectorCustomMcpDiscriminatedConnectInput {
33080
+ export interface ConnectInput {
33081
+ /**
33082
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
33083
+ */
33084
+ base_url: string;
33085
+
33086
+ /**
33087
+ * Display name for this MCP server (e.g., "My Custom MCP")
33088
+ */
33089
+ display_name: string;
33090
+
33091
+ /**
33092
+ * Custom headers to include with every request
33093
+ */
33094
+ headers: Array<ConnectInput.Header>;
33095
+ }
33096
+
33097
+ export namespace ConnectInput {
33098
+ export interface Header {
33099
+ /**
33100
+ * Header name (e.g., Authorization, X-API-Key)
33101
+ */
33102
+ key: string;
33103
+
33104
+ /**
33105
+ * Header value (securely stored)
33106
+ */
33107
+ value: string;
33108
+ }
33109
+ }
33110
+ }
33111
+
31848
33112
  export interface ConnectorPlaidDiscriminatedConnectInput {
31849
33113
  connect_input:
31850
33114
  | ConnectorPlaidDiscriminatedConnectInput.LinkToken
@@ -32017,6 +33281,7 @@ export type UpsertConnnectorConfigResponse =
32017
33281
  | UpsertConnnectorConfigResponse.ConnectorFigmaDiscriminatedConnectorConfig
32018
33282
  | UpsertConnnectorConfigResponse.ConnectorGitHubSourceControlDiscriminatedConnectorConfig
32019
33283
  | UpsertConnnectorConfigResponse.ConnectorGitHubDiscriminatedConnectorConfig
33284
+ | UpsertConnnectorConfigResponse.ConnectorGitlabSourceControlDiscriminatedConnectorConfig
32020
33285
  | UpsertConnnectorConfigResponse.ConnectorGoogleCalendarDiscriminatedConnectorConfig
32021
33286
  | UpsertConnnectorConfigResponse.ConnectorGoogleDocsDiscriminatedConnectorConfig
32022
33287
  | UpsertConnnectorConfigResponse.ConnectorGoogleDriveDiscriminatedConnectorConfig
@@ -32041,6 +33306,7 @@ export type UpsertConnnectorConfigResponse =
32041
33306
  | UpsertConnnectorConfigResponse.ConnectorZendeskDiscriminatedConnectorConfig
32042
33307
  | UpsertConnnectorConfigResponse.ConnectorZoomDiscriminatedConnectorConfig
32043
33308
  | UpsertConnnectorConfigResponse.ConnectorApolloDiscriminatedConnectorConfig
33309
+ | UpsertConnnectorConfigResponse.ConnectorCustomMcpDiscriminatedConnectorConfig
32044
33310
  | UpsertConnnectorConfigResponse.ConnectorPlaidDiscriminatedConnectorConfig
32045
33311
  | UpsertConnnectorConfigResponse.ConnectorPostgresDiscriminatedConnectorConfig
32046
33312
  | UpsertConnnectorConfigResponse.ConnectorResendDiscriminatedConnectorConfig
@@ -32889,6 +34155,58 @@ export namespace UpsertConnnectorConfigResponse {
32889
34155
  }
32890
34156
  }
32891
34157
 
34158
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
34159
+ config: ConnectorGitlabSourceControlDiscriminatedConnectorConfig.Config;
34160
+
34161
+ connector_name: 'gitlab-source-control';
34162
+
34163
+ id?: string;
34164
+
34165
+ created_at?: string;
34166
+
34167
+ disabled?: boolean | null;
34168
+
34169
+ display_name?: string | null;
34170
+
34171
+ /**
34172
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
34173
+ * separate 1-1 table just for simple key values in your application. During
34174
+ * updates this object will be shallowly merged
34175
+ */
34176
+ metadata?: { [key: string]: unknown } | null;
34177
+
34178
+ org_id?: string;
34179
+
34180
+ updated_at?: string;
34181
+ }
34182
+
34183
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectorConfig {
34184
+ export interface Config {
34185
+ /**
34186
+ * Base oauth configuration for the connector
34187
+ */
34188
+ oauth?: Config.OAuth | null;
34189
+ }
34190
+
34191
+ export namespace Config {
34192
+ /**
34193
+ * Base oauth configuration for the connector
34194
+ */
34195
+ export interface OAuth {
34196
+ client_id?: string | null;
34197
+
34198
+ client_secret?: string | null;
34199
+
34200
+ /**
34201
+ * Custom redirect URI
34202
+ */
34203
+ redirect_uri?: string | null;
34204
+
34205
+ scopes?: Array<string> | null;
34206
+ }
34207
+ }
34208
+ }
34209
+
32892
34210
  export interface ConnectorGoogleCalendarDiscriminatedConnectorConfig {
32893
34211
  config: ConnectorGoogleCalendarDiscriminatedConnectorConfig.Config;
32894
34212
 
@@ -34110,6 +35428,31 @@ export namespace UpsertConnnectorConfigResponse {
34110
35428
  updated_at?: string;
34111
35429
  }
34112
35430
 
35431
+ export interface ConnectorCustomMcpDiscriminatedConnectorConfig {
35432
+ config: unknown;
35433
+
35434
+ connector_name: 'custom-mcp';
35435
+
35436
+ id?: string;
35437
+
35438
+ created_at?: string;
35439
+
35440
+ disabled?: boolean | null;
35441
+
35442
+ display_name?: string | null;
35443
+
35444
+ /**
35445
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
35446
+ * separate 1-1 table just for simple key values in your application. During
35447
+ * updates this object will be shallowly merged
35448
+ */
35449
+ metadata?: { [key: string]: unknown } | null;
35450
+
35451
+ org_id?: string;
35452
+
35453
+ updated_at?: string;
35454
+ }
35455
+
34113
35456
  export interface ConnectorPlaidDiscriminatedConnectorConfig {
34114
35457
  config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
34115
35458
 
@@ -34589,6 +35932,7 @@ export interface CreateConnectionParams {
34589
35932
  | CreateConnectionParams.ConnectorFigmaDiscriminatedConnectionSettings
34590
35933
  | CreateConnectionParams.ConnectorGitHubSourceControlDiscriminatedConnectionSettings
34591
35934
  | CreateConnectionParams.ConnectorGitHubDiscriminatedConnectionSettings
35935
+ | CreateConnectionParams.ConnectorGitlabSourceControlDiscriminatedConnectionSettings
34592
35936
  | CreateConnectionParams.ConnectorGoogleCalendarDiscriminatedConnectionSettings
34593
35937
  | CreateConnectionParams.ConnectorGoogleDocsDiscriminatedConnectionSettings
34594
35938
  | CreateConnectionParams.ConnectorGoogleDriveDiscriminatedConnectionSettings
@@ -34613,6 +35957,7 @@ export interface CreateConnectionParams {
34613
35957
  | CreateConnectionParams.ConnectorZendeskDiscriminatedConnectionSettings
34614
35958
  | CreateConnectionParams.ConnectorZoomDiscriminatedConnectionSettings
34615
35959
  | CreateConnectionParams.ConnectorApolloDiscriminatedConnectionSettings
35960
+ | CreateConnectionParams.ConnectorCustomMcpDiscriminatedConnectionSettings
34616
35961
  | CreateConnectionParams.ConnectorPlaidDiscriminatedConnectionSettings
34617
35962
  | CreateConnectionParams.ConnectorPostgresDiscriminatedConnectionSettings
34618
35963
  | CreateConnectionParams.ConnectorResendDiscriminatedConnectionSettings
@@ -35607,6 +36952,67 @@ export namespace CreateConnectionParams {
35607
36952
  }
35608
36953
  }
35609
36954
 
36955
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
36956
+ connector_name: 'gitlab-source-control';
36957
+
36958
+ settings?: ConnectorGitlabSourceControlDiscriminatedConnectionSettings.Settings;
36959
+ }
36960
+
36961
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectionSettings {
36962
+ export interface Settings {
36963
+ oauth: Settings.OAuth;
36964
+
36965
+ /**
36966
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
36967
+ * for backward compatibility until we remove the oauth field
36968
+ */
36969
+ access_token?: string;
36970
+ }
36971
+
36972
+ export namespace Settings {
36973
+ export interface OAuth {
36974
+ created_at?: string;
36975
+
36976
+ /**
36977
+ * Output of the postConnect hook for oauth2 connectors
36978
+ */
36979
+ credentials?: OAuth.Credentials;
36980
+
36981
+ last_fetched_at?: string;
36982
+
36983
+ metadata?: { [key: string]: unknown } | null;
36984
+
36985
+ updated_at?: string;
36986
+ }
36987
+
36988
+ export namespace OAuth {
36989
+ /**
36990
+ * Output of the postConnect hook for oauth2 connectors
36991
+ */
36992
+ export interface Credentials {
36993
+ access_token: string;
36994
+
36995
+ /**
36996
+ * Client ID used for the connection
36997
+ */
36998
+ client_id?: string;
36999
+
37000
+ expires_at?: string;
37001
+
37002
+ expires_in?: number;
37003
+
37004
+ raw?: { [key: string]: unknown };
37005
+
37006
+ refresh_token?: string;
37007
+
37008
+ scope?: string;
37009
+
37010
+ token_type?: string;
37011
+ }
37012
+ }
37013
+ }
37014
+ }
37015
+
35610
37016
  export interface ConnectorGoogleCalendarDiscriminatedConnectionSettings {
35611
37017
  connector_name: 'google-calendar';
35612
37018
 
@@ -37043,6 +38449,45 @@ export namespace CreateConnectionParams {
37043
38449
  }
37044
38450
  }
37045
38451
 
38452
+ export interface ConnectorCustomMcpDiscriminatedConnectionSettings {
38453
+ connector_name: 'custom-mcp';
38454
+
38455
+ settings?: ConnectorCustomMcpDiscriminatedConnectionSettings.Settings;
38456
+ }
38457
+
38458
+ export namespace ConnectorCustomMcpDiscriminatedConnectionSettings {
38459
+ export interface Settings {
38460
+ /**
38461
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
38462
+ */
38463
+ base_url: string;
38464
+
38465
+ /**
38466
+ * Display name for this MCP server (e.g., "My Custom MCP")
38467
+ */
38468
+ display_name: string;
38469
+
38470
+ /**
38471
+ * Custom headers to include with every request
38472
+ */
38473
+ headers: Array<Settings.Header>;
38474
+ }
38475
+
38476
+ export namespace Settings {
38477
+ export interface Header {
38478
+ /**
38479
+ * Header name (e.g., Authorization, X-API-Key)
38480
+ */
38481
+ key: string;
38482
+
38483
+ /**
38484
+ * Header value (securely stored)
38485
+ */
38486
+ value: string;
38487
+ }
38488
+ }
38489
+ }
38490
+
37046
38491
  export interface ConnectorPlaidDiscriminatedConnectionSettings {
37047
38492
  connector_name: 'plaid';
37048
38493
 
@@ -37481,12 +38926,14 @@ export namespace CreateTokenParams {
37481
38926
  | 'calendly'
37482
38927
  | 'clickup'
37483
38928
  | 'confluence'
38929
+ | 'custom-mcp'
37484
38930
  | 'databricks'
37485
38931
  | 'discord'
37486
38932
  | 'dropbox'
37487
38933
  | 'figma'
37488
38934
  | 'github'
37489
38935
  | 'github-source-control'
38936
+ | 'gitlab-source-control'
37490
38937
  | 'google-calendar'
37491
38938
  | 'google-docs'
37492
38939
  | 'google-drive'
@@ -37538,12 +38985,14 @@ export namespace CreateTokenParams {
37538
38985
  | 'calendly'
37539
38986
  | 'clickup'
37540
38987
  | 'confluence'
38988
+ | 'custom-mcp'
37541
38989
  | 'databricks'
37542
38990
  | 'discord'
37543
38991
  | 'dropbox'
37544
38992
  | 'figma'
37545
38993
  | 'github'
37546
38994
  | 'github-source-control'
38995
+ | 'gitlab-source-control'
37547
38996
  | 'google-calendar'
37548
38997
  | 'google-docs'
37549
38998
  | 'google-drive'
@@ -37660,12 +39109,14 @@ export interface ListConnectionsParams extends OffsetPaginationParams {
37660
39109
  | 'calendly'
37661
39110
  | 'clickup'
37662
39111
  | 'confluence'
39112
+ | 'custom-mcp'
37663
39113
  | 'databricks'
37664
39114
  | 'discord'
37665
39115
  | 'dropbox'
37666
39116
  | 'figma'
37667
39117
  | 'github'
37668
39118
  | 'github-source-control'
39119
+ | 'gitlab-source-control'
37669
39120
  | 'google-calendar'
37670
39121
  | 'google-docs'
37671
39122
  | 'google-drive'
@@ -37746,12 +39197,14 @@ export interface ListConnectorConfigsParams extends OffsetPaginationParams {
37746
39197
  | 'calendly'
37747
39198
  | 'clickup'
37748
39199
  | 'confluence'
39200
+ | 'custom-mcp'
37749
39201
  | 'databricks'
37750
39202
  | 'discord'
37751
39203
  | 'dropbox'
37752
39204
  | 'figma'
37753
39205
  | 'github'
37754
39206
  | 'github-source-control'
39207
+ | 'gitlab-source-control'
37755
39208
  | 'google-calendar'
37756
39209
  | 'google-docs'
37757
39210
  | 'google-drive'
@@ -37828,12 +39281,14 @@ export interface ListConnnectorConfigsParams extends OffsetPaginationParams {
37828
39281
  | 'calendly'
37829
39282
  | 'clickup'
37830
39283
  | 'confluence'
39284
+ | 'custom-mcp'
37831
39285
  | 'databricks'
37832
39286
  | 'discord'
37833
39287
  | 'dropbox'
37834
39288
  | 'figma'
37835
39289
  | 'github'
37836
39290
  | 'github-source-control'
39291
+ | 'gitlab-source-control'
37837
39292
  | 'google-calendar'
37838
39293
  | 'google-docs'
37839
39294
  | 'google-drive'
@@ -37895,6 +39350,10 @@ export interface ListCustomersParams extends OffsetPaginationParams {
37895
39350
  }
37896
39351
 
37897
39352
  export interface ListEventsParams extends OffsetPaginationParams {
39353
+ connection_id?: string;
39354
+
39355
+ connector_name?: string;
39356
+
37898
39357
  include_prompt?: boolean;
37899
39358
 
37900
39359
  /**
@@ -37905,6 +39364,8 @@ export interface ListEventsParams extends OffsetPaginationParams {
37905
39364
  search_query?: string;
37906
39365
 
37907
39366
  since?: string;
39367
+
39368
+ webhook_name?: string;
37908
39369
  }
37909
39370
 
37910
39371
  export interface PostConnectParams {
@@ -37933,6 +39394,7 @@ export interface PostConnectParams {
37933
39394
  | PostConnectParams.ConnectorFigmaDiscriminatedConnectOutput
37934
39395
  | PostConnectParams.ConnectorGitHubSourceControlDiscriminatedConnectOutput
37935
39396
  | PostConnectParams.ConnectorGitHubDiscriminatedConnectOutput
39397
+ | PostConnectParams.ConnectorGitlabSourceControlDiscriminatedConnectOutput
37936
39398
  | PostConnectParams.ConnectorGoogleCalendarDiscriminatedConnectOutput
37937
39399
  | PostConnectParams.ConnectorGoogleDocsDiscriminatedConnectOutput
37938
39400
  | PostConnectParams.ConnectorGoogleDriveDiscriminatedConnectOutput
@@ -37957,6 +39419,7 @@ export interface PostConnectParams {
37957
39419
  | PostConnectParams.ConnectorZendeskDiscriminatedConnectOutput
37958
39420
  | PostConnectParams.ConnectorZoomDiscriminatedConnectOutput
37959
39421
  | PostConnectParams.ConnectorApolloDiscriminatedConnectOutput
39422
+ | PostConnectParams.ConnectorCustomMcpDiscriminatedConnectOutput
37960
39423
  | PostConnectParams.ConnectorPlaidDiscriminatedConnectOutput
37961
39424
  | PostConnectParams.ConnectorPostgresDiscriminatedConnectOutput
37962
39425
  | PostConnectParams.ConnectorResendDiscriminatedConnectOutput
@@ -38521,6 +39984,41 @@ export namespace PostConnectParams {
38521
39984
  }
38522
39985
  }
38523
39986
 
39987
+ export interface ConnectorGitlabSourceControlDiscriminatedConnectOutput {
39988
+ connect_output: ConnectorGitlabSourceControlDiscriminatedConnectOutput.ConnectOutput;
39989
+
39990
+ connector_name: 'gitlab-source-control';
39991
+ }
39992
+
39993
+ export namespace ConnectorGitlabSourceControlDiscriminatedConnectOutput {
39994
+ export interface ConnectOutput {
39995
+ /**
39996
+ * OAuth2 authorization code used for token exchange
39997
+ */
39998
+ code: string;
39999
+
40000
+ /**
40001
+ * OAuth2 state
40002
+ */
40003
+ state: string;
40004
+
40005
+ /**
40006
+ * Custom client ID to use for token exchange
40007
+ */
40008
+ client_id?: string;
40009
+
40010
+ /**
40011
+ * Custom client secret to use for token exchange
40012
+ */
40013
+ client_secret?: string;
40014
+
40015
+ /**
40016
+ * Code verifier for PKCE from the connect input
40017
+ */
40018
+ code_verifier?: string;
40019
+ }
40020
+ }
40021
+
38524
40022
  export interface ConnectorGoogleCalendarDiscriminatedConnectOutput {
38525
40023
  connect_output: ConnectorGoogleCalendarDiscriminatedConnectOutput.ConnectOutput;
38526
40024
 
@@ -39338,6 +40836,45 @@ export namespace PostConnectParams {
39338
40836
  }
39339
40837
  }
39340
40838
 
40839
+ export interface ConnectorCustomMcpDiscriminatedConnectOutput {
40840
+ connect_output: ConnectorCustomMcpDiscriminatedConnectOutput.ConnectOutput;
40841
+
40842
+ connector_name: 'custom-mcp';
40843
+ }
40844
+
40845
+ export namespace ConnectorCustomMcpDiscriminatedConnectOutput {
40846
+ export interface ConnectOutput {
40847
+ /**
40848
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
40849
+ */
40850
+ base_url: string;
40851
+
40852
+ /**
40853
+ * Display name for this MCP server (e.g., "My Custom MCP")
40854
+ */
40855
+ display_name: string;
40856
+
40857
+ /**
40858
+ * Custom headers to include with every request
40859
+ */
40860
+ headers?: Array<ConnectOutput.Header>;
40861
+ }
40862
+
40863
+ export namespace ConnectOutput {
40864
+ export interface Header {
40865
+ /**
40866
+ * Header name (e.g., Authorization, X-API-Key)
40867
+ */
40868
+ key: string;
40869
+
40870
+ /**
40871
+ * Header value (securely stored)
40872
+ */
40873
+ value: string;
40874
+ }
40875
+ }
40876
+ }
40877
+
39341
40878
  export interface ConnectorPlaidDiscriminatedConnectOutput {
39342
40879
  connect_output: ConnectorPlaidDiscriminatedConnectOutput.ConnectOutput;
39343
40880
 
@@ -39633,12 +41170,14 @@ export interface PreConfigureConnectorParams {
39633
41170
  | 'calendly'
39634
41171
  | 'clickup'
39635
41172
  | 'confluence'
41173
+ | 'custom-mcp'
39636
41174
  | 'databricks'
39637
41175
  | 'discord'
39638
41176
  | 'dropbox'
39639
41177
  | 'figma'
39640
41178
  | 'github'
39641
41179
  | 'github-source-control'
41180
+ | 'gitlab-source-control'
39642
41181
  | 'google-calendar'
39643
41182
  | 'google-docs'
39644
41183
  | 'google-drive'
@@ -39700,6 +41239,7 @@ export interface PreConnectParams {
39700
41239
  | PreConnectParams.ConnectorFigmaDiscriminatedPreConnectInput
39701
41240
  | PreConnectParams.ConnectorGitHubSourceControlDiscriminatedPreConnectInput
39702
41241
  | PreConnectParams.ConnectorGitHubDiscriminatedPreConnectInput
41242
+ | PreConnectParams.ConnectorGitlabSourceControlDiscriminatedPreConnectInput
39703
41243
  | PreConnectParams.ConnectorGoogleCalendarDiscriminatedPreConnectInput
39704
41244
  | PreConnectParams.ConnectorGoogleDocsDiscriminatedPreConnectInput
39705
41245
  | PreConnectParams.ConnectorGoogleDriveDiscriminatedPreConnectInput
@@ -39724,6 +41264,7 @@ export interface PreConnectParams {
39724
41264
  | PreConnectParams.ConnectorZendeskDiscriminatedPreConnectInput
39725
41265
  | PreConnectParams.ConnectorZoomDiscriminatedPreConnectInput
39726
41266
  | PreConnectParams.ConnectorApolloDiscriminatedPreConnectInput
41267
+ | PreConnectParams.ConnectorCustomMcpDiscriminatedPreConnectInput
39727
41268
  | PreConnectParams.ConnectorPlaidDiscriminatedPreConnectInput
39728
41269
  | PreConnectParams.ConnectorPostgresDiscriminatedPreConnectInput
39729
41270
  | PreConnectParams.ConnectorResendDiscriminatedPreConnectInput
@@ -39878,6 +41419,12 @@ export namespace PreConnectParams {
39878
41419
  pre_connect_input: unknown;
39879
41420
  }
39880
41421
 
41422
+ export interface ConnectorGitlabSourceControlDiscriminatedPreConnectInput {
41423
+ connector_name: 'gitlab-source-control';
41424
+
41425
+ pre_connect_input: unknown;
41426
+ }
41427
+
39881
41428
  export interface ConnectorGoogleCalendarDiscriminatedPreConnectInput {
39882
41429
  connector_name: 'google-calendar';
39883
41430
 
@@ -40052,6 +41599,12 @@ export namespace PreConnectParams {
40052
41599
  pre_connect_input: unknown;
40053
41600
  }
40054
41601
 
41602
+ export interface ConnectorCustomMcpDiscriminatedPreConnectInput {
41603
+ connector_name: 'custom-mcp';
41604
+
41605
+ pre_connect_input: unknown;
41606
+ }
41607
+
40055
41608
  export interface ConnectorPlaidDiscriminatedPreConnectInput {
40056
41609
  connector_name: 'plaid';
40057
41610