@replit/connectors 0.12.0 → 0.13.1

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.
@@ -20,6 +20,8 @@ export interface Connector {
20
20
 
21
21
  auth_type?: 'BASIC' | 'OAUTH1' | 'OAUTH2' | 'OAUTH2CC' | 'API_KEY' | 'CUSTOM';
22
22
 
23
+ connect_ui?: Connector.ConnectUi;
24
+
23
25
  display_name?: string;
24
26
 
25
27
  has_openint_credentials?: boolean;
@@ -44,6 +46,12 @@ export interface Connector {
44
46
  }
45
47
 
46
48
  export namespace Connector {
49
+ export interface ConnectUi {
50
+ flow?: string;
51
+
52
+ pre_connect_input?: string;
53
+ }
54
+
47
55
  export interface Schemas {
48
56
  connect_input?: unknown;
49
57
 
@@ -257,6 +265,8 @@ export namespace CreateConnectionResponse {
257
265
 
258
266
  created_at?: string;
259
267
 
268
+ credentials_last_fetched?: string | null;
269
+
260
270
  customer_id?: string | null;
261
271
 
262
272
  disabled?: boolean | null;
@@ -326,6 +336,8 @@ export namespace CreateConnectionResponse {
326
336
 
327
337
  created_at?: string;
328
338
 
339
+ credentials_last_fetched?: string | null;
340
+
329
341
  customer_id?: string | null;
330
342
 
331
343
  disabled?: boolean | null;
@@ -444,6 +456,8 @@ export namespace CreateConnectionResponse {
444
456
 
445
457
  created_at?: string;
446
458
 
459
+ credentials_last_fetched?: string | null;
460
+
447
461
  customer_id?: string | null;
448
462
 
449
463
  disabled?: boolean | null;
@@ -513,6 +527,8 @@ export namespace CreateConnectionResponse {
513
527
 
514
528
  created_at?: string;
515
529
 
530
+ credentials_last_fetched?: string | null;
531
+
516
532
  customer_id?: string | null;
517
533
 
518
534
  disabled?: boolean | null;
@@ -631,6 +647,8 @@ export namespace CreateConnectionResponse {
631
647
 
632
648
  created_at?: string;
633
649
 
650
+ credentials_last_fetched?: string | null;
651
+
634
652
  customer_id?: string | null;
635
653
 
636
654
  disabled?: boolean | null;
@@ -755,6 +773,8 @@ export namespace CreateConnectionResponse {
755
773
 
756
774
  created_at?: string;
757
775
 
776
+ credentials_last_fetched?: string | null;
777
+
758
778
  customer_id?: string | null;
759
779
 
760
780
  disabled?: boolean | null;
@@ -873,6 +893,8 @@ export namespace CreateConnectionResponse {
873
893
 
874
894
  created_at?: string;
875
895
 
896
+ credentials_last_fetched?: string | null;
897
+
876
898
  customer_id?: string | null;
877
899
 
878
900
  disabled?: boolean | null;
@@ -991,6 +1013,8 @@ export namespace CreateConnectionResponse {
991
1013
 
992
1014
  created_at?: string;
993
1015
 
1016
+ credentials_last_fetched?: string | null;
1017
+
994
1018
  customer_id?: string | null;
995
1019
 
996
1020
  disabled?: boolean | null;
@@ -1109,6 +1133,8 @@ export namespace CreateConnectionResponse {
1109
1133
 
1110
1134
  created_at?: string;
1111
1135
 
1136
+ credentials_last_fetched?: string | null;
1137
+
1112
1138
  customer_id?: string | null;
1113
1139
 
1114
1140
  disabled?: boolean | null;
@@ -1227,6 +1253,8 @@ export namespace CreateConnectionResponse {
1227
1253
 
1228
1254
  created_at?: string;
1229
1255
 
1256
+ credentials_last_fetched?: string | null;
1257
+
1230
1258
  customer_id?: string | null;
1231
1259
 
1232
1260
  disabled?: boolean | null;
@@ -1345,6 +1373,8 @@ export namespace CreateConnectionResponse {
1345
1373
 
1346
1374
  created_at?: string;
1347
1375
 
1376
+ credentials_last_fetched?: string | null;
1377
+
1348
1378
  customer_id?: string | null;
1349
1379
 
1350
1380
  disabled?: boolean | null;
@@ -1468,6 +1498,8 @@ export namespace CreateConnectionResponse {
1468
1498
 
1469
1499
  created_at?: string;
1470
1500
 
1501
+ credentials_last_fetched?: string | null;
1502
+
1471
1503
  customer_id?: string | null;
1472
1504
 
1473
1505
  disabled?: boolean | null;
@@ -1599,6 +1631,8 @@ export namespace CreateConnectionResponse {
1599
1631
 
1600
1632
  created_at?: string;
1601
1633
 
1634
+ credentials_last_fetched?: string | null;
1635
+
1602
1636
  customer_id?: string | null;
1603
1637
 
1604
1638
  disabled?: boolean | null;
@@ -1717,6 +1751,8 @@ export namespace CreateConnectionResponse {
1717
1751
 
1718
1752
  created_at?: string;
1719
1753
 
1754
+ credentials_last_fetched?: string | null;
1755
+
1720
1756
  customer_id?: string | null;
1721
1757
 
1722
1758
  disabled?: boolean | null;
@@ -1835,6 +1871,8 @@ export namespace CreateConnectionResponse {
1835
1871
 
1836
1872
  created_at?: string;
1837
1873
 
1874
+ credentials_last_fetched?: string | null;
1875
+
1838
1876
  customer_id?: string | null;
1839
1877
 
1840
1878
  disabled?: boolean | null;
@@ -1953,6 +1991,8 @@ export namespace CreateConnectionResponse {
1953
1991
 
1954
1992
  created_at?: string;
1955
1993
 
1994
+ credentials_last_fetched?: string | null;
1995
+
1956
1996
  customer_id?: string | null;
1957
1997
 
1958
1998
  disabled?: boolean | null;
@@ -2071,6 +2111,8 @@ export namespace CreateConnectionResponse {
2071
2111
 
2072
2112
  created_at?: string;
2073
2113
 
2114
+ credentials_last_fetched?: string | null;
2115
+
2074
2116
  customer_id?: string | null;
2075
2117
 
2076
2118
  disabled?: boolean | null;
@@ -2189,6 +2231,8 @@ export namespace CreateConnectionResponse {
2189
2231
 
2190
2232
  created_at?: string;
2191
2233
 
2234
+ credentials_last_fetched?: string | null;
2235
+
2192
2236
  customer_id?: string | null;
2193
2237
 
2194
2238
  disabled?: boolean | null;
@@ -2307,6 +2351,8 @@ export namespace CreateConnectionResponse {
2307
2351
 
2308
2352
  created_at?: string;
2309
2353
 
2354
+ credentials_last_fetched?: string | null;
2355
+
2310
2356
  customer_id?: string | null;
2311
2357
 
2312
2358
  disabled?: boolean | null;
@@ -2425,6 +2471,8 @@ export namespace CreateConnectionResponse {
2425
2471
 
2426
2472
  created_at?: string;
2427
2473
 
2474
+ credentials_last_fetched?: string | null;
2475
+
2428
2476
  customer_id?: string | null;
2429
2477
 
2430
2478
  disabled?: boolean | null;
@@ -2543,6 +2591,8 @@ export namespace CreateConnectionResponse {
2543
2591
 
2544
2592
  created_at?: string;
2545
2593
 
2594
+ credentials_last_fetched?: string | null;
2595
+
2546
2596
  customer_id?: string | null;
2547
2597
 
2548
2598
  disabled?: boolean | null;
@@ -2661,6 +2711,8 @@ export namespace CreateConnectionResponse {
2661
2711
 
2662
2712
  created_at?: string;
2663
2713
 
2714
+ credentials_last_fetched?: string | null;
2715
+
2664
2716
  customer_id?: string | null;
2665
2717
 
2666
2718
  disabled?: boolean | null;
@@ -2779,6 +2831,8 @@ export namespace CreateConnectionResponse {
2779
2831
 
2780
2832
  created_at?: string;
2781
2833
 
2834
+ credentials_last_fetched?: string | null;
2835
+
2782
2836
  customer_id?: string | null;
2783
2837
 
2784
2838
  disabled?: boolean | null;
@@ -2897,6 +2951,8 @@ export namespace CreateConnectionResponse {
2897
2951
 
2898
2952
  created_at?: string;
2899
2953
 
2954
+ credentials_last_fetched?: string | null;
2955
+
2900
2956
  customer_id?: string | null;
2901
2957
 
2902
2958
  disabled?: boolean | null;
@@ -3015,6 +3071,8 @@ export namespace CreateConnectionResponse {
3015
3071
 
3016
3072
  created_at?: string;
3017
3073
 
3074
+ credentials_last_fetched?: string | null;
3075
+
3018
3076
  customer_id?: string | null;
3019
3077
 
3020
3078
  disabled?: boolean | null;
@@ -3076,247 +3134,261 @@ export namespace CreateConnectionResponse {
3076
3134
  * for backward compatibility until we remove the oauth field
3077
3135
  */
3078
3136
  access_token?: string;
3079
- }
3080
-
3081
- export namespace Settings {
3082
- export interface OAuth {
3083
- created_at?: string;
3084
-
3085
- /**
3086
- * Output of the postConnect hook for oauth2 connectors
3087
- */
3088
- credentials?: OAuth.Credentials;
3089
-
3090
- last_fetched_at?: string;
3091
-
3092
- metadata?: { [key: string]: unknown } | null;
3093
-
3094
- updated_at?: string;
3095
- }
3096
-
3097
- export namespace OAuth {
3098
- /**
3099
- * Output of the postConnect hook for oauth2 connectors
3100
- */
3101
- export interface Credentials {
3102
- access_token: string;
3103
-
3104
- /**
3105
- * Client ID used for the connection
3106
- */
3107
- client_id?: string;
3108
-
3109
- expires_at?: string;
3110
-
3111
- expires_in?: number;
3112
-
3113
- raw?: { [key: string]: unknown };
3114
-
3115
- refresh_token?: string;
3116
-
3117
- scope?: string;
3118
-
3119
- token_type?: string;
3120
- }
3121
- }
3122
- }
3123
- }
3124
-
3125
- export interface ConnectorInstagramDiscriminatedConnectionData {
3126
- connector_name: 'instagram';
3127
-
3128
- id?: string;
3129
-
3130
- connector?: TopLevelAPI.Connector;
3131
-
3132
- connector_config_id?: string | null;
3133
-
3134
- created_at?: string;
3135
-
3136
- customer_id?: string | null;
3137
-
3138
- disabled?: boolean | null;
3139
-
3140
- display_name?: string | null;
3141
-
3142
- environment?: 'production' | 'development';
3143
-
3144
- health_check_result?: ConnectorInstagramDiscriminatedConnectionData.HealthCheckResult | null;
3145
-
3146
- integration?: TopLevelAPI.Integration;
3147
-
3148
- integration_id?: string | null;
3149
-
3150
- /**
3151
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
3152
- * separate 1-1 table just for simple key values in your application. During
3153
- * updates this object will be shallowly merged
3154
- */
3155
- metadata?: { [key: string]: unknown } | null;
3156
-
3157
- public_settings?: unknown;
3158
-
3159
- settings?: ConnectorInstagramDiscriminatedConnectionData.Settings;
3160
-
3161
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3162
-
3163
- status_message?: string | null;
3164
-
3165
- updated_at?: string;
3166
-
3167
- webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3168
-
3169
- webhook_configured_at?: string | null;
3170
-
3171
- webhook_identifier?: string | null;
3172
- }
3173
-
3174
- export namespace ConnectorInstagramDiscriminatedConnectionData {
3175
- export interface HealthCheckResult {
3176
- checked_at: string;
3177
-
3178
- field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
3179
- }
3180
-
3181
- export namespace HealthCheckResult {
3182
- export interface FieldValidations {
3183
- status: 'valid' | 'invalid';
3184
-
3185
- error?: string;
3186
- }
3187
- }
3188
-
3189
- export interface Settings {
3190
- oauth: Settings.OAuth;
3191
-
3192
- /**
3193
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
3194
- * for backward compatibility until we remove the oauth field
3195
- */
3196
- access_token?: string;
3197
- }
3198
-
3199
- export namespace Settings {
3200
- export interface OAuth {
3201
- created_at?: string;
3202
-
3203
- /**
3204
- * Output of the postConnect hook for oauth2 connectors
3205
- */
3206
- credentials?: OAuth.Credentials;
3207
-
3208
- last_fetched_at?: string;
3209
-
3210
- metadata?: { [key: string]: unknown } | null;
3211
-
3212
- updated_at?: string;
3213
- }
3214
-
3215
- export namespace OAuth {
3216
- /**
3217
- * Output of the postConnect hook for oauth2 connectors
3218
- */
3219
- export interface Credentials {
3220
- access_token: string;
3221
-
3222
- /**
3223
- * Client ID used for the connection
3224
- */
3225
- client_id?: string;
3226
-
3227
- expires_at?: string;
3228
-
3229
- expires_in?: number;
3230
-
3231
- raw?: { [key: string]: unknown };
3232
-
3233
- refresh_token?: string;
3234
-
3235
- scope?: string;
3236
-
3237
- token_type?: string;
3238
- }
3239
- }
3240
- }
3241
- }
3242
-
3243
- export interface ConnectorJiraDiscriminatedConnectionData {
3244
- connector_name: 'jira';
3245
-
3246
- id?: string;
3247
-
3248
- connector?: TopLevelAPI.Connector;
3249
-
3250
- connector_config_id?: string | null;
3251
-
3252
- created_at?: string;
3253
-
3254
- customer_id?: string | null;
3255
-
3256
- disabled?: boolean | null;
3257
-
3258
- display_name?: string | null;
3259
-
3260
- environment?: 'production' | 'development';
3261
-
3262
- health_check_result?: ConnectorJiraDiscriminatedConnectionData.HealthCheckResult | null;
3263
-
3264
- integration?: TopLevelAPI.Integration;
3265
-
3266
- integration_id?: string | null;
3267
-
3268
- /**
3269
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
3270
- * separate 1-1 table just for simple key values in your application. During
3271
- * updates this object will be shallowly merged
3272
- */
3273
- metadata?: { [key: string]: unknown } | null;
3274
-
3275
- public_settings?: unknown;
3276
-
3277
- settings?: ConnectorJiraDiscriminatedConnectionData.Settings;
3278
-
3279
- status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3280
-
3281
- status_message?: string | null;
3282
-
3283
- updated_at?: string;
3284
-
3285
- webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3286
-
3287
- webhook_configured_at?: string | null;
3288
-
3289
- webhook_identifier?: string | null;
3290
- }
3291
-
3292
- export namespace ConnectorJiraDiscriminatedConnectionData {
3293
- export interface HealthCheckResult {
3294
- checked_at: string;
3295
-
3296
- field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
3297
- }
3298
-
3299
- export namespace HealthCheckResult {
3300
- export interface FieldValidations {
3301
- status: 'valid' | 'invalid';
3302
-
3303
- error?: string;
3304
- }
3305
- }
3306
-
3307
- export interface Settings {
3308
- oauth: Settings.OAuth;
3309
3137
 
3310
3138
  /**
3311
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
3139
+ * Your HubSpot App ID (automatically fetched from access token)
3312
3140
  */
3313
- site_url: string;
3141
+ app_id?: number;
3314
3142
 
3315
3143
  /**
3316
- * Same as oauth.credentials.access_token, but more convenient to access. Optional
3317
- * for backward compatibility until we remove the oauth field
3144
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
3318
3145
  */
3319
- access_token?: string;
3146
+ hub_id?: number;
3147
+ }
3148
+
3149
+ export namespace Settings {
3150
+ export interface OAuth {
3151
+ created_at?: string;
3152
+
3153
+ /**
3154
+ * Output of the postConnect hook for oauth2 connectors
3155
+ */
3156
+ credentials?: OAuth.Credentials;
3157
+
3158
+ last_fetched_at?: string;
3159
+
3160
+ metadata?: { [key: string]: unknown } | null;
3161
+
3162
+ updated_at?: string;
3163
+ }
3164
+
3165
+ export namespace OAuth {
3166
+ /**
3167
+ * Output of the postConnect hook for oauth2 connectors
3168
+ */
3169
+ export interface Credentials {
3170
+ access_token: string;
3171
+
3172
+ /**
3173
+ * Client ID used for the connection
3174
+ */
3175
+ client_id?: string;
3176
+
3177
+ expires_at?: string;
3178
+
3179
+ expires_in?: number;
3180
+
3181
+ raw?: { [key: string]: unknown };
3182
+
3183
+ refresh_token?: string;
3184
+
3185
+ scope?: string;
3186
+
3187
+ token_type?: string;
3188
+ }
3189
+ }
3190
+ }
3191
+ }
3192
+
3193
+ export interface ConnectorInstagramDiscriminatedConnectionData {
3194
+ connector_name: 'instagram';
3195
+
3196
+ id?: string;
3197
+
3198
+ connector?: TopLevelAPI.Connector;
3199
+
3200
+ connector_config_id?: string | null;
3201
+
3202
+ created_at?: string;
3203
+
3204
+ credentials_last_fetched?: string | null;
3205
+
3206
+ customer_id?: string | null;
3207
+
3208
+ disabled?: boolean | null;
3209
+
3210
+ display_name?: string | null;
3211
+
3212
+ environment?: 'production' | 'development';
3213
+
3214
+ health_check_result?: ConnectorInstagramDiscriminatedConnectionData.HealthCheckResult | null;
3215
+
3216
+ integration?: TopLevelAPI.Integration;
3217
+
3218
+ integration_id?: string | null;
3219
+
3220
+ /**
3221
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3222
+ * separate 1-1 table just for simple key values in your application. During
3223
+ * updates this object will be shallowly merged
3224
+ */
3225
+ metadata?: { [key: string]: unknown } | null;
3226
+
3227
+ public_settings?: unknown;
3228
+
3229
+ settings?: ConnectorInstagramDiscriminatedConnectionData.Settings;
3230
+
3231
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3232
+
3233
+ status_message?: string | null;
3234
+
3235
+ updated_at?: string;
3236
+
3237
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3238
+
3239
+ webhook_configured_at?: string | null;
3240
+
3241
+ webhook_identifier?: string | null;
3242
+ }
3243
+
3244
+ export namespace ConnectorInstagramDiscriminatedConnectionData {
3245
+ export interface HealthCheckResult {
3246
+ checked_at: string;
3247
+
3248
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
3249
+ }
3250
+
3251
+ export namespace HealthCheckResult {
3252
+ export interface FieldValidations {
3253
+ status: 'valid' | 'invalid';
3254
+
3255
+ error?: string;
3256
+ }
3257
+ }
3258
+
3259
+ export interface Settings {
3260
+ oauth: Settings.OAuth;
3261
+
3262
+ /**
3263
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3264
+ * for backward compatibility until we remove the oauth field
3265
+ */
3266
+ access_token?: string;
3267
+ }
3268
+
3269
+ export namespace Settings {
3270
+ export interface OAuth {
3271
+ created_at?: string;
3272
+
3273
+ /**
3274
+ * Output of the postConnect hook for oauth2 connectors
3275
+ */
3276
+ credentials?: OAuth.Credentials;
3277
+
3278
+ last_fetched_at?: string;
3279
+
3280
+ metadata?: { [key: string]: unknown } | null;
3281
+
3282
+ updated_at?: string;
3283
+ }
3284
+
3285
+ export namespace OAuth {
3286
+ /**
3287
+ * Output of the postConnect hook for oauth2 connectors
3288
+ */
3289
+ export interface Credentials {
3290
+ access_token: string;
3291
+
3292
+ /**
3293
+ * Client ID used for the connection
3294
+ */
3295
+ client_id?: string;
3296
+
3297
+ expires_at?: string;
3298
+
3299
+ expires_in?: number;
3300
+
3301
+ raw?: { [key: string]: unknown };
3302
+
3303
+ refresh_token?: string;
3304
+
3305
+ scope?: string;
3306
+
3307
+ token_type?: string;
3308
+ }
3309
+ }
3310
+ }
3311
+ }
3312
+
3313
+ export interface ConnectorJiraDiscriminatedConnectionData {
3314
+ connector_name: 'jira';
3315
+
3316
+ id?: string;
3317
+
3318
+ connector?: TopLevelAPI.Connector;
3319
+
3320
+ connector_config_id?: string | null;
3321
+
3322
+ created_at?: string;
3323
+
3324
+ credentials_last_fetched?: string | null;
3325
+
3326
+ customer_id?: string | null;
3327
+
3328
+ disabled?: boolean | null;
3329
+
3330
+ display_name?: string | null;
3331
+
3332
+ environment?: 'production' | 'development';
3333
+
3334
+ health_check_result?: ConnectorJiraDiscriminatedConnectionData.HealthCheckResult | null;
3335
+
3336
+ integration?: TopLevelAPI.Integration;
3337
+
3338
+ integration_id?: string | null;
3339
+
3340
+ /**
3341
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
3342
+ * separate 1-1 table just for simple key values in your application. During
3343
+ * updates this object will be shallowly merged
3344
+ */
3345
+ metadata?: { [key: string]: unknown } | null;
3346
+
3347
+ public_settings?: unknown;
3348
+
3349
+ settings?: ConnectorJiraDiscriminatedConnectionData.Settings;
3350
+
3351
+ status?: 'healthy' | 'disconnected' | 'error' | 'manual' | 'unknown' | null;
3352
+
3353
+ status_message?: string | null;
3354
+
3355
+ updated_at?: string;
3356
+
3357
+ webhook_config?: string | number | boolean | { [key: string]: unknown } | Array<unknown> | null;
3358
+
3359
+ webhook_configured_at?: string | null;
3360
+
3361
+ webhook_identifier?: string | null;
3362
+ }
3363
+
3364
+ export namespace ConnectorJiraDiscriminatedConnectionData {
3365
+ export interface HealthCheckResult {
3366
+ checked_at: string;
3367
+
3368
+ field_validations?: { [key: string]: HealthCheckResult.FieldValidations };
3369
+ }
3370
+
3371
+ export namespace HealthCheckResult {
3372
+ export interface FieldValidations {
3373
+ status: 'valid' | 'invalid';
3374
+
3375
+ error?: string;
3376
+ }
3377
+ }
3378
+
3379
+ export interface Settings {
3380
+ oauth: Settings.OAuth;
3381
+
3382
+ /**
3383
+ * Your Atlassian site URL (e.g., https://your-domain.atlassian.net)
3384
+ */
3385
+ site_url: string;
3386
+
3387
+ /**
3388
+ * Same as oauth.credentials.access_token, but more convenient to access. Optional
3389
+ * for backward compatibility until we remove the oauth field
3390
+ */
3391
+ access_token?: string;
3320
3392
  }
3321
3393
 
3322
3394
  export namespace Settings {
@@ -3374,6 +3446,8 @@ export namespace CreateConnectionResponse {
3374
3446
 
3375
3447
  created_at?: string;
3376
3448
 
3449
+ credentials_last_fetched?: string | null;
3450
+
3377
3451
  customer_id?: string | null;
3378
3452
 
3379
3453
  disabled?: boolean | null;
@@ -3492,6 +3566,8 @@ export namespace CreateConnectionResponse {
3492
3566
 
3493
3567
  created_at?: string;
3494
3568
 
3569
+ credentials_last_fetched?: string | null;
3570
+
3495
3571
  customer_id?: string | null;
3496
3572
 
3497
3573
  disabled?: boolean | null;
@@ -3610,6 +3686,8 @@ export namespace CreateConnectionResponse {
3610
3686
 
3611
3687
  created_at?: string;
3612
3688
 
3689
+ credentials_last_fetched?: string | null;
3690
+
3613
3691
  customer_id?: string | null;
3614
3692
 
3615
3693
  disabled?: boolean | null;
@@ -3728,6 +3806,8 @@ export namespace CreateConnectionResponse {
3728
3806
 
3729
3807
  created_at?: string;
3730
3808
 
3809
+ credentials_last_fetched?: string | null;
3810
+
3731
3811
  customer_id?: string | null;
3732
3812
 
3733
3813
  disabled?: boolean | null;
@@ -3846,6 +3926,8 @@ export namespace CreateConnectionResponse {
3846
3926
 
3847
3927
  created_at?: string;
3848
3928
 
3929
+ credentials_last_fetched?: string | null;
3930
+
3849
3931
  customer_id?: string | null;
3850
3932
 
3851
3933
  disabled?: boolean | null;
@@ -3964,6 +4046,8 @@ export namespace CreateConnectionResponse {
3964
4046
 
3965
4047
  created_at?: string;
3966
4048
 
4049
+ credentials_last_fetched?: string | null;
4050
+
3967
4051
  customer_id?: string | null;
3968
4052
 
3969
4053
  disabled?: boolean | null;
@@ -4087,6 +4171,8 @@ export namespace CreateConnectionResponse {
4087
4171
 
4088
4172
  created_at?: string;
4089
4173
 
4174
+ credentials_last_fetched?: string | null;
4175
+
4090
4176
  customer_id?: string | null;
4091
4177
 
4092
4178
  disabled?: boolean | null;
@@ -4205,6 +4291,8 @@ export namespace CreateConnectionResponse {
4205
4291
 
4206
4292
  created_at?: string;
4207
4293
 
4294
+ credentials_last_fetched?: string | null;
4295
+
4208
4296
  customer_id?: string | null;
4209
4297
 
4210
4298
  disabled?: boolean | null;
@@ -4323,6 +4411,8 @@ export namespace CreateConnectionResponse {
4323
4411
 
4324
4412
  created_at?: string;
4325
4413
 
4414
+ credentials_last_fetched?: string | null;
4415
+
4326
4416
  customer_id?: string | null;
4327
4417
 
4328
4418
  disabled?: boolean | null;
@@ -4441,6 +4531,8 @@ export namespace CreateConnectionResponse {
4441
4531
 
4442
4532
  created_at?: string;
4443
4533
 
4534
+ credentials_last_fetched?: string | null;
4535
+
4444
4536
  customer_id?: string | null;
4445
4537
 
4446
4538
  disabled?: boolean | null;
@@ -4565,6 +4657,8 @@ export namespace CreateConnectionResponse {
4565
4657
 
4566
4658
  created_at?: string;
4567
4659
 
4660
+ credentials_last_fetched?: string | null;
4661
+
4568
4662
  customer_id?: string | null;
4569
4663
 
4570
4664
  disabled?: boolean | null;
@@ -4683,6 +4777,8 @@ export namespace CreateConnectionResponse {
4683
4777
 
4684
4778
  created_at?: string;
4685
4779
 
4780
+ credentials_last_fetched?: string | null;
4781
+
4686
4782
  customer_id?: string | null;
4687
4783
 
4688
4784
  disabled?: boolean | null;
@@ -4801,6 +4897,8 @@ export namespace CreateConnectionResponse {
4801
4897
 
4802
4898
  created_at?: string;
4803
4899
 
4900
+ credentials_last_fetched?: string | null;
4901
+
4804
4902
  customer_id?: string | null;
4805
4903
 
4806
4904
  disabled?: boolean | null;
@@ -4919,6 +5017,8 @@ export namespace CreateConnectionResponse {
4919
5017
 
4920
5018
  created_at?: string;
4921
5019
 
5020
+ credentials_last_fetched?: string | null;
5021
+
4922
5022
  customer_id?: string | null;
4923
5023
 
4924
5024
  disabled?: boolean | null;
@@ -5042,6 +5142,8 @@ export namespace CreateConnectionResponse {
5042
5142
 
5043
5143
  created_at?: string;
5044
5144
 
5145
+ credentials_last_fetched?: string | null;
5146
+
5045
5147
  customer_id?: string | null;
5046
5148
 
5047
5149
  disabled?: boolean | null;
@@ -5160,6 +5262,8 @@ export namespace CreateConnectionResponse {
5160
5262
 
5161
5263
  created_at?: string;
5162
5264
 
5265
+ credentials_last_fetched?: string | null;
5266
+
5163
5267
  customer_id?: string | null;
5164
5268
 
5165
5269
  disabled?: boolean | null;
@@ -5229,6 +5333,8 @@ export namespace CreateConnectionResponse {
5229
5333
 
5230
5334
  created_at?: string;
5231
5335
 
5336
+ credentials_last_fetched?: string | null;
5337
+
5232
5338
  customer_id?: string | null;
5233
5339
 
5234
5340
  disabled?: boolean | null;
@@ -5250,7 +5356,7 @@ export namespace CreateConnectionResponse {
5250
5356
  */
5251
5357
  metadata?: { [key: string]: unknown } | null;
5252
5358
 
5253
- public_settings?: unknown;
5359
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
5254
5360
 
5255
5361
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
5256
5362
 
@@ -5282,6 +5388,13 @@ export namespace CreateConnectionResponse {
5282
5388
  }
5283
5389
  }
5284
5390
 
5391
+ export interface PublicSettings {
5392
+ /**
5393
+ * MCP transport type detected during connection
5394
+ */
5395
+ transport_type?: 'streamable-http' | 'sse';
5396
+ }
5397
+
5285
5398
  export interface Settings {
5286
5399
  /**
5287
5400
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -5291,7 +5404,12 @@ export namespace CreateConnectionResponse {
5291
5404
  /**
5292
5405
  * Custom headers to include with every request
5293
5406
  */
5294
- headers: Array<Settings.Header>;
5407
+ headers?: Array<Settings.Header>;
5408
+
5409
+ /**
5410
+ * OAuth authentication credentials
5411
+ */
5412
+ oauth?: Settings.OAuth;
5295
5413
  }
5296
5414
 
5297
5415
  export namespace Settings {
@@ -5306,6 +5424,81 @@ export namespace CreateConnectionResponse {
5306
5424
  */
5307
5425
  value: string;
5308
5426
  }
5427
+
5428
+ /**
5429
+ * OAuth authentication credentials
5430
+ */
5431
+ export interface OAuth {
5432
+ client: OAuth.Client;
5433
+
5434
+ credentials: OAuth.Credentials;
5435
+
5436
+ metadata: OAuth.Metadata;
5437
+ }
5438
+
5439
+ export namespace OAuth {
5440
+ export interface Client {
5441
+ client_id: string;
5442
+
5443
+ redirect_uris: Array<string>;
5444
+
5445
+ client_secret?: string;
5446
+ }
5447
+
5448
+ export interface Credentials {
5449
+ access_token: string;
5450
+
5451
+ token_type: string;
5452
+
5453
+ expires_at?: string;
5454
+
5455
+ expires_in?: number;
5456
+
5457
+ refresh_token?: string;
5458
+
5459
+ scope?: string;
5460
+ }
5461
+
5462
+ export interface Metadata {
5463
+ authorization_endpoint: string;
5464
+
5465
+ issuer: string;
5466
+
5467
+ response_types_supported: Array<string>;
5468
+
5469
+ token_endpoint: string;
5470
+
5471
+ code_challenge_methods_supported?: Array<string>;
5472
+
5473
+ grant_types_supported?: Array<string>;
5474
+
5475
+ introspection_endpoint?: string;
5476
+
5477
+ introspection_endpoint_auth_methods_supported?: Array<string>;
5478
+
5479
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
5480
+
5481
+ registration_endpoint?: string;
5482
+
5483
+ response_modes_supported?: Array<string>;
5484
+
5485
+ revocation_endpoint?: string;
5486
+
5487
+ revocation_endpoint_auth_methods_supported?: Array<string>;
5488
+
5489
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
5490
+
5491
+ scopes_supported?: Array<string>;
5492
+
5493
+ service_documentation?: string;
5494
+
5495
+ token_endpoint_auth_methods_supported?: Array<string>;
5496
+
5497
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
5498
+
5499
+ [k: string]: unknown;
5500
+ }
5501
+ }
5309
5502
  }
5310
5503
  }
5311
5504
 
@@ -5320,6 +5513,8 @@ export namespace CreateConnectionResponse {
5320
5513
 
5321
5514
  created_at?: string;
5322
5515
 
5516
+ credentials_last_fetched?: string | null;
5517
+
5323
5518
  customer_id?: string | null;
5324
5519
 
5325
5520
  disabled?: boolean | null;
@@ -5391,6 +5586,34 @@ export namespace CreateConnectionResponse {
5391
5586
  * Server hostname value.
5392
5587
  */
5393
5588
  server_hostname: string;
5589
+
5590
+ oauth?: Settings.OAuth;
5591
+ }
5592
+
5593
+ export namespace Settings {
5594
+ export interface OAuth {
5595
+ credentials?: OAuth.Credentials;
5596
+ }
5597
+
5598
+ export namespace OAuth {
5599
+ export interface Credentials {
5600
+ access_token: string;
5601
+
5602
+ client_id: string;
5603
+
5604
+ expires_at?: string;
5605
+
5606
+ expires_in?: number;
5607
+
5608
+ raw?: { [key: string]: unknown };
5609
+
5610
+ refresh_token?: string;
5611
+
5612
+ scope?: string;
5613
+
5614
+ token_type?: string;
5615
+ }
5616
+ }
5394
5617
  }
5395
5618
  }
5396
5619
 
@@ -5405,6 +5628,8 @@ export namespace CreateConnectionResponse {
5405
5628
 
5406
5629
  created_at?: string;
5407
5630
 
5631
+ credentials_last_fetched?: string | null;
5632
+
5408
5633
  customer_id?: string | null;
5409
5634
 
5410
5635
  disabled?: boolean | null;
@@ -5484,6 +5709,8 @@ export namespace CreateConnectionResponse {
5484
5709
 
5485
5710
  created_at?: string;
5486
5711
 
5712
+ credentials_last_fetched?: string | null;
5713
+
5487
5714
  customer_id?: string | null;
5488
5715
 
5489
5716
  disabled?: boolean | null;
@@ -5553,6 +5780,8 @@ export namespace CreateConnectionResponse {
5553
5780
 
5554
5781
  created_at?: string;
5555
5782
 
5783
+ credentials_last_fetched?: string | null;
5784
+
5556
5785
  customer_id?: string | null;
5557
5786
 
5558
5787
  disabled?: boolean | null;
@@ -5627,6 +5856,8 @@ export namespace CreateConnectionResponse {
5627
5856
 
5628
5857
  created_at?: string;
5629
5858
 
5859
+ credentials_last_fetched?: string | null;
5860
+
5630
5861
  customer_id?: string | null;
5631
5862
 
5632
5863
  disabled?: boolean | null;
@@ -5701,6 +5932,8 @@ export namespace CreateConnectionResponse {
5701
5932
 
5702
5933
  created_at?: string;
5703
5934
 
5935
+ credentials_last_fetched?: string | null;
5936
+
5704
5937
  customer_id?: string | null;
5705
5938
 
5706
5939
  disabled?: boolean | null;
@@ -5773,6 +6006,8 @@ export namespace CreateConnectionResponse {
5773
6006
 
5774
6007
  created_at?: string;
5775
6008
 
6009
+ credentials_last_fetched?: string | null;
6010
+
5776
6011
  customer_id?: string | null;
5777
6012
 
5778
6013
  disabled?: boolean | null;
@@ -5985,6 +6220,8 @@ export namespace CreateConnectionResponse {
5985
6220
 
5986
6221
  created_at?: string;
5987
6222
 
6223
+ credentials_last_fetched?: string | null;
6224
+
5988
6225
  customer_id?: string | null;
5989
6226
 
5990
6227
  disabled?: boolean | null;
@@ -6114,6 +6351,8 @@ export namespace CreateConnectionResponse {
6114
6351
 
6115
6352
  created_at?: string;
6116
6353
 
6354
+ credentials_last_fetched?: string | null;
6355
+
6117
6356
  customer_id?: string | null;
6118
6357
 
6119
6358
  disabled?: boolean | null;
@@ -6231,6 +6470,8 @@ export namespace CreateConnectionResponse {
6231
6470
 
6232
6471
  created_at?: string;
6233
6472
 
6473
+ credentials_last_fetched?: string | null;
6474
+
6234
6475
  customer_id?: string | null;
6235
6476
 
6236
6477
  disabled?: boolean | null;
@@ -6309,6 +6550,8 @@ export namespace CreateConnectionResponse {
6309
6550
 
6310
6551
  created_at?: string;
6311
6552
 
6553
+ credentials_last_fetched?: string | null;
6554
+
6312
6555
  customer_id?: string | null;
6313
6556
 
6314
6557
  disabled?: boolean | null;
@@ -8643,15 +8886,21 @@ export namespace CreateConnnectorConfigResponse {
8643
8886
 
8644
8887
  export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
8645
8888
  export interface Config {
8646
- /**
8647
- * OAuth2 client ID for Databricks
8648
- */
8649
- client_id: string;
8889
+ oauth: Config.OAuth;
8890
+ }
8650
8891
 
8651
- /**
8652
- * OAuth2 client secret for Databricks
8653
- */
8654
- client_secret: string;
8892
+ export namespace Config {
8893
+ export interface OAuth {
8894
+ /**
8895
+ * OAuth2 client ID for Databricks
8896
+ */
8897
+ client_id: string;
8898
+
8899
+ /**
8900
+ * OAuth2 client secret for Databricks
8901
+ */
8902
+ client_secret: string;
8903
+ }
8655
8904
  }
8656
8905
  }
8657
8906
 
@@ -11647,15 +11896,21 @@ export namespace GetConectorConfigResponse {
11647
11896
 
11648
11897
  export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
11649
11898
  export interface Config {
11650
- /**
11651
- * OAuth2 client ID for Databricks
11652
- */
11653
- client_id: string;
11899
+ oauth: Config.OAuth;
11900
+ }
11654
11901
 
11655
- /**
11656
- * OAuth2 client secret for Databricks
11657
- */
11658
- client_secret: string;
11902
+ export namespace Config {
11903
+ export interface OAuth {
11904
+ /**
11905
+ * OAuth2 client ID for Databricks
11906
+ */
11907
+ client_id: string;
11908
+
11909
+ /**
11910
+ * OAuth2 client secret for Databricks
11911
+ */
11912
+ client_secret: string;
11913
+ }
11659
11914
  }
11660
11915
  }
11661
11916
 
@@ -12197,6 +12452,8 @@ export namespace GetConnectionResponse {
12197
12452
 
12198
12453
  created_at?: string;
12199
12454
 
12455
+ credentials_last_fetched?: string | null;
12456
+
12200
12457
  customer_id?: string | null;
12201
12458
 
12202
12459
  disabled?: boolean | null;
@@ -12266,6 +12523,8 @@ export namespace GetConnectionResponse {
12266
12523
 
12267
12524
  created_at?: string;
12268
12525
 
12526
+ credentials_last_fetched?: string | null;
12527
+
12269
12528
  customer_id?: string | null;
12270
12529
 
12271
12530
  disabled?: boolean | null;
@@ -12384,6 +12643,8 @@ export namespace GetConnectionResponse {
12384
12643
 
12385
12644
  created_at?: string;
12386
12645
 
12646
+ credentials_last_fetched?: string | null;
12647
+
12387
12648
  customer_id?: string | null;
12388
12649
 
12389
12650
  disabled?: boolean | null;
@@ -12453,6 +12714,8 @@ export namespace GetConnectionResponse {
12453
12714
 
12454
12715
  created_at?: string;
12455
12716
 
12717
+ credentials_last_fetched?: string | null;
12718
+
12456
12719
  customer_id?: string | null;
12457
12720
 
12458
12721
  disabled?: boolean | null;
@@ -12571,6 +12834,8 @@ export namespace GetConnectionResponse {
12571
12834
 
12572
12835
  created_at?: string;
12573
12836
 
12837
+ credentials_last_fetched?: string | null;
12838
+
12574
12839
  customer_id?: string | null;
12575
12840
 
12576
12841
  disabled?: boolean | null;
@@ -12695,6 +12960,8 @@ export namespace GetConnectionResponse {
12695
12960
 
12696
12961
  created_at?: string;
12697
12962
 
12963
+ credentials_last_fetched?: string | null;
12964
+
12698
12965
  customer_id?: string | null;
12699
12966
 
12700
12967
  disabled?: boolean | null;
@@ -12813,6 +13080,8 @@ export namespace GetConnectionResponse {
12813
13080
 
12814
13081
  created_at?: string;
12815
13082
 
13083
+ credentials_last_fetched?: string | null;
13084
+
12816
13085
  customer_id?: string | null;
12817
13086
 
12818
13087
  disabled?: boolean | null;
@@ -12931,6 +13200,8 @@ export namespace GetConnectionResponse {
12931
13200
 
12932
13201
  created_at?: string;
12933
13202
 
13203
+ credentials_last_fetched?: string | null;
13204
+
12934
13205
  customer_id?: string | null;
12935
13206
 
12936
13207
  disabled?: boolean | null;
@@ -13049,6 +13320,8 @@ export namespace GetConnectionResponse {
13049
13320
 
13050
13321
  created_at?: string;
13051
13322
 
13323
+ credentials_last_fetched?: string | null;
13324
+
13052
13325
  customer_id?: string | null;
13053
13326
 
13054
13327
  disabled?: boolean | null;
@@ -13167,6 +13440,8 @@ export namespace GetConnectionResponse {
13167
13440
 
13168
13441
  created_at?: string;
13169
13442
 
13443
+ credentials_last_fetched?: string | null;
13444
+
13170
13445
  customer_id?: string | null;
13171
13446
 
13172
13447
  disabled?: boolean | null;
@@ -13285,6 +13560,8 @@ export namespace GetConnectionResponse {
13285
13560
 
13286
13561
  created_at?: string;
13287
13562
 
13563
+ credentials_last_fetched?: string | null;
13564
+
13288
13565
  customer_id?: string | null;
13289
13566
 
13290
13567
  disabled?: boolean | null;
@@ -13408,6 +13685,8 @@ export namespace GetConnectionResponse {
13408
13685
 
13409
13686
  created_at?: string;
13410
13687
 
13688
+ credentials_last_fetched?: string | null;
13689
+
13411
13690
  customer_id?: string | null;
13412
13691
 
13413
13692
  disabled?: boolean | null;
@@ -13539,6 +13818,8 @@ export namespace GetConnectionResponse {
13539
13818
 
13540
13819
  created_at?: string;
13541
13820
 
13821
+ credentials_last_fetched?: string | null;
13822
+
13542
13823
  customer_id?: string | null;
13543
13824
 
13544
13825
  disabled?: boolean | null;
@@ -13657,6 +13938,8 @@ export namespace GetConnectionResponse {
13657
13938
 
13658
13939
  created_at?: string;
13659
13940
 
13941
+ credentials_last_fetched?: string | null;
13942
+
13660
13943
  customer_id?: string | null;
13661
13944
 
13662
13945
  disabled?: boolean | null;
@@ -13775,6 +14058,8 @@ export namespace GetConnectionResponse {
13775
14058
 
13776
14059
  created_at?: string;
13777
14060
 
14061
+ credentials_last_fetched?: string | null;
14062
+
13778
14063
  customer_id?: string | null;
13779
14064
 
13780
14065
  disabled?: boolean | null;
@@ -13893,6 +14178,8 @@ export namespace GetConnectionResponse {
13893
14178
 
13894
14179
  created_at?: string;
13895
14180
 
14181
+ credentials_last_fetched?: string | null;
14182
+
13896
14183
  customer_id?: string | null;
13897
14184
 
13898
14185
  disabled?: boolean | null;
@@ -14011,6 +14298,8 @@ export namespace GetConnectionResponse {
14011
14298
 
14012
14299
  created_at?: string;
14013
14300
 
14301
+ credentials_last_fetched?: string | null;
14302
+
14014
14303
  customer_id?: string | null;
14015
14304
 
14016
14305
  disabled?: boolean | null;
@@ -14129,6 +14418,8 @@ export namespace GetConnectionResponse {
14129
14418
 
14130
14419
  created_at?: string;
14131
14420
 
14421
+ credentials_last_fetched?: string | null;
14422
+
14132
14423
  customer_id?: string | null;
14133
14424
 
14134
14425
  disabled?: boolean | null;
@@ -14247,6 +14538,8 @@ export namespace GetConnectionResponse {
14247
14538
 
14248
14539
  created_at?: string;
14249
14540
 
14541
+ credentials_last_fetched?: string | null;
14542
+
14250
14543
  customer_id?: string | null;
14251
14544
 
14252
14545
  disabled?: boolean | null;
@@ -14365,6 +14658,8 @@ export namespace GetConnectionResponse {
14365
14658
 
14366
14659
  created_at?: string;
14367
14660
 
14661
+ credentials_last_fetched?: string | null;
14662
+
14368
14663
  customer_id?: string | null;
14369
14664
 
14370
14665
  disabled?: boolean | null;
@@ -14483,6 +14778,8 @@ export namespace GetConnectionResponse {
14483
14778
 
14484
14779
  created_at?: string;
14485
14780
 
14781
+ credentials_last_fetched?: string | null;
14782
+
14486
14783
  customer_id?: string | null;
14487
14784
 
14488
14785
  disabled?: boolean | null;
@@ -14601,6 +14898,8 @@ export namespace GetConnectionResponse {
14601
14898
 
14602
14899
  created_at?: string;
14603
14900
 
14901
+ credentials_last_fetched?: string | null;
14902
+
14604
14903
  customer_id?: string | null;
14605
14904
 
14606
14905
  disabled?: boolean | null;
@@ -14719,6 +15018,8 @@ export namespace GetConnectionResponse {
14719
15018
 
14720
15019
  created_at?: string;
14721
15020
 
15021
+ credentials_last_fetched?: string | null;
15022
+
14722
15023
  customer_id?: string | null;
14723
15024
 
14724
15025
  disabled?: boolean | null;
@@ -14837,6 +15138,8 @@ export namespace GetConnectionResponse {
14837
15138
 
14838
15139
  created_at?: string;
14839
15140
 
15141
+ credentials_last_fetched?: string | null;
15142
+
14840
15143
  customer_id?: string | null;
14841
15144
 
14842
15145
  disabled?: boolean | null;
@@ -14955,6 +15258,8 @@ export namespace GetConnectionResponse {
14955
15258
 
14956
15259
  created_at?: string;
14957
15260
 
15261
+ credentials_last_fetched?: string | null;
15262
+
14958
15263
  customer_id?: string | null;
14959
15264
 
14960
15265
  disabled?: boolean | null;
@@ -15016,6 +15321,16 @@ export namespace GetConnectionResponse {
15016
15321
  * for backward compatibility until we remove the oauth field
15017
15322
  */
15018
15323
  access_token?: string;
15324
+
15325
+ /**
15326
+ * Your HubSpot App ID (automatically fetched from access token)
15327
+ */
15328
+ app_id?: number;
15329
+
15330
+ /**
15331
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
15332
+ */
15333
+ hub_id?: number;
15019
15334
  }
15020
15335
 
15021
15336
  export namespace Settings {
@@ -15073,6 +15388,8 @@ export namespace GetConnectionResponse {
15073
15388
 
15074
15389
  created_at?: string;
15075
15390
 
15391
+ credentials_last_fetched?: string | null;
15392
+
15076
15393
  customer_id?: string | null;
15077
15394
 
15078
15395
  disabled?: boolean | null;
@@ -15191,6 +15508,8 @@ export namespace GetConnectionResponse {
15191
15508
 
15192
15509
  created_at?: string;
15193
15510
 
15511
+ credentials_last_fetched?: string | null;
15512
+
15194
15513
  customer_id?: string | null;
15195
15514
 
15196
15515
  disabled?: boolean | null;
@@ -15314,6 +15633,8 @@ export namespace GetConnectionResponse {
15314
15633
 
15315
15634
  created_at?: string;
15316
15635
 
15636
+ credentials_last_fetched?: string | null;
15637
+
15317
15638
  customer_id?: string | null;
15318
15639
 
15319
15640
  disabled?: boolean | null;
@@ -15432,6 +15753,8 @@ export namespace GetConnectionResponse {
15432
15753
 
15433
15754
  created_at?: string;
15434
15755
 
15756
+ credentials_last_fetched?: string | null;
15757
+
15435
15758
  customer_id?: string | null;
15436
15759
 
15437
15760
  disabled?: boolean | null;
@@ -15550,6 +15873,8 @@ export namespace GetConnectionResponse {
15550
15873
 
15551
15874
  created_at?: string;
15552
15875
 
15876
+ credentials_last_fetched?: string | null;
15877
+
15553
15878
  customer_id?: string | null;
15554
15879
 
15555
15880
  disabled?: boolean | null;
@@ -15668,6 +15993,8 @@ export namespace GetConnectionResponse {
15668
15993
 
15669
15994
  created_at?: string;
15670
15995
 
15996
+ credentials_last_fetched?: string | null;
15997
+
15671
15998
  customer_id?: string | null;
15672
15999
 
15673
16000
  disabled?: boolean | null;
@@ -15786,6 +16113,8 @@ export namespace GetConnectionResponse {
15786
16113
 
15787
16114
  created_at?: string;
15788
16115
 
16116
+ credentials_last_fetched?: string | null;
16117
+
15789
16118
  customer_id?: string | null;
15790
16119
 
15791
16120
  disabled?: boolean | null;
@@ -15904,6 +16233,8 @@ export namespace GetConnectionResponse {
15904
16233
 
15905
16234
  created_at?: string;
15906
16235
 
16236
+ credentials_last_fetched?: string | null;
16237
+
15907
16238
  customer_id?: string | null;
15908
16239
 
15909
16240
  disabled?: boolean | null;
@@ -16027,6 +16358,8 @@ export namespace GetConnectionResponse {
16027
16358
 
16028
16359
  created_at?: string;
16029
16360
 
16361
+ credentials_last_fetched?: string | null;
16362
+
16030
16363
  customer_id?: string | null;
16031
16364
 
16032
16365
  disabled?: boolean | null;
@@ -16145,6 +16478,8 @@ export namespace GetConnectionResponse {
16145
16478
 
16146
16479
  created_at?: string;
16147
16480
 
16481
+ credentials_last_fetched?: string | null;
16482
+
16148
16483
  customer_id?: string | null;
16149
16484
 
16150
16485
  disabled?: boolean | null;
@@ -16263,6 +16598,8 @@ export namespace GetConnectionResponse {
16263
16598
 
16264
16599
  created_at?: string;
16265
16600
 
16601
+ credentials_last_fetched?: string | null;
16602
+
16266
16603
  customer_id?: string | null;
16267
16604
 
16268
16605
  disabled?: boolean | null;
@@ -16381,6 +16718,8 @@ export namespace GetConnectionResponse {
16381
16718
 
16382
16719
  created_at?: string;
16383
16720
 
16721
+ credentials_last_fetched?: string | null;
16722
+
16384
16723
  customer_id?: string | null;
16385
16724
 
16386
16725
  disabled?: boolean | null;
@@ -16505,6 +16844,8 @@ export namespace GetConnectionResponse {
16505
16844
 
16506
16845
  created_at?: string;
16507
16846
 
16847
+ credentials_last_fetched?: string | null;
16848
+
16508
16849
  customer_id?: string | null;
16509
16850
 
16510
16851
  disabled?: boolean | null;
@@ -16623,6 +16964,8 @@ export namespace GetConnectionResponse {
16623
16964
 
16624
16965
  created_at?: string;
16625
16966
 
16967
+ credentials_last_fetched?: string | null;
16968
+
16626
16969
  customer_id?: string | null;
16627
16970
 
16628
16971
  disabled?: boolean | null;
@@ -16741,6 +17084,8 @@ export namespace GetConnectionResponse {
16741
17084
 
16742
17085
  created_at?: string;
16743
17086
 
17087
+ credentials_last_fetched?: string | null;
17088
+
16744
17089
  customer_id?: string | null;
16745
17090
 
16746
17091
  disabled?: boolean | null;
@@ -16859,6 +17204,8 @@ export namespace GetConnectionResponse {
16859
17204
 
16860
17205
  created_at?: string;
16861
17206
 
17207
+ credentials_last_fetched?: string | null;
17208
+
16862
17209
  customer_id?: string | null;
16863
17210
 
16864
17211
  disabled?: boolean | null;
@@ -16982,6 +17329,8 @@ export namespace GetConnectionResponse {
16982
17329
 
16983
17330
  created_at?: string;
16984
17331
 
17332
+ credentials_last_fetched?: string | null;
17333
+
16985
17334
  customer_id?: string | null;
16986
17335
 
16987
17336
  disabled?: boolean | null;
@@ -17100,6 +17449,8 @@ export namespace GetConnectionResponse {
17100
17449
 
17101
17450
  created_at?: string;
17102
17451
 
17452
+ credentials_last_fetched?: string | null;
17453
+
17103
17454
  customer_id?: string | null;
17104
17455
 
17105
17456
  disabled?: boolean | null;
@@ -17169,6 +17520,8 @@ export namespace GetConnectionResponse {
17169
17520
 
17170
17521
  created_at?: string;
17171
17522
 
17523
+ credentials_last_fetched?: string | null;
17524
+
17172
17525
  customer_id?: string | null;
17173
17526
 
17174
17527
  disabled?: boolean | null;
@@ -17190,7 +17543,7 @@ export namespace GetConnectionResponse {
17190
17543
  */
17191
17544
  metadata?: { [key: string]: unknown } | null;
17192
17545
 
17193
- public_settings?: unknown;
17546
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
17194
17547
 
17195
17548
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
17196
17549
 
@@ -17222,6 +17575,13 @@ export namespace GetConnectionResponse {
17222
17575
  }
17223
17576
  }
17224
17577
 
17578
+ export interface PublicSettings {
17579
+ /**
17580
+ * MCP transport type detected during connection
17581
+ */
17582
+ transport_type?: 'streamable-http' | 'sse';
17583
+ }
17584
+
17225
17585
  export interface Settings {
17226
17586
  /**
17227
17587
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -17231,7 +17591,12 @@ export namespace GetConnectionResponse {
17231
17591
  /**
17232
17592
  * Custom headers to include with every request
17233
17593
  */
17234
- headers: Array<Settings.Header>;
17594
+ headers?: Array<Settings.Header>;
17595
+
17596
+ /**
17597
+ * OAuth authentication credentials
17598
+ */
17599
+ oauth?: Settings.OAuth;
17235
17600
  }
17236
17601
 
17237
17602
  export namespace Settings {
@@ -17246,6 +17611,81 @@ export namespace GetConnectionResponse {
17246
17611
  */
17247
17612
  value: string;
17248
17613
  }
17614
+
17615
+ /**
17616
+ * OAuth authentication credentials
17617
+ */
17618
+ export interface OAuth {
17619
+ client: OAuth.Client;
17620
+
17621
+ credentials: OAuth.Credentials;
17622
+
17623
+ metadata: OAuth.Metadata;
17624
+ }
17625
+
17626
+ export namespace OAuth {
17627
+ export interface Client {
17628
+ client_id: string;
17629
+
17630
+ redirect_uris: Array<string>;
17631
+
17632
+ client_secret?: string;
17633
+ }
17634
+
17635
+ export interface Credentials {
17636
+ access_token: string;
17637
+
17638
+ token_type: string;
17639
+
17640
+ expires_at?: string;
17641
+
17642
+ expires_in?: number;
17643
+
17644
+ refresh_token?: string;
17645
+
17646
+ scope?: string;
17647
+ }
17648
+
17649
+ export interface Metadata {
17650
+ authorization_endpoint: string;
17651
+
17652
+ issuer: string;
17653
+
17654
+ response_types_supported: Array<string>;
17655
+
17656
+ token_endpoint: string;
17657
+
17658
+ code_challenge_methods_supported?: Array<string>;
17659
+
17660
+ grant_types_supported?: Array<string>;
17661
+
17662
+ introspection_endpoint?: string;
17663
+
17664
+ introspection_endpoint_auth_methods_supported?: Array<string>;
17665
+
17666
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
17667
+
17668
+ registration_endpoint?: string;
17669
+
17670
+ response_modes_supported?: Array<string>;
17671
+
17672
+ revocation_endpoint?: string;
17673
+
17674
+ revocation_endpoint_auth_methods_supported?: Array<string>;
17675
+
17676
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
17677
+
17678
+ scopes_supported?: Array<string>;
17679
+
17680
+ service_documentation?: string;
17681
+
17682
+ token_endpoint_auth_methods_supported?: Array<string>;
17683
+
17684
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
17685
+
17686
+ [k: string]: unknown;
17687
+ }
17688
+ }
17249
17689
  }
17250
17690
  }
17251
17691
 
@@ -17260,6 +17700,8 @@ export namespace GetConnectionResponse {
17260
17700
 
17261
17701
  created_at?: string;
17262
17702
 
17703
+ credentials_last_fetched?: string | null;
17704
+
17263
17705
  customer_id?: string | null;
17264
17706
 
17265
17707
  disabled?: boolean | null;
@@ -17331,6 +17773,34 @@ export namespace GetConnectionResponse {
17331
17773
  * Server hostname value.
17332
17774
  */
17333
17775
  server_hostname: string;
17776
+
17777
+ oauth?: Settings.OAuth;
17778
+ }
17779
+
17780
+ export namespace Settings {
17781
+ export interface OAuth {
17782
+ credentials?: OAuth.Credentials;
17783
+ }
17784
+
17785
+ export namespace OAuth {
17786
+ export interface Credentials {
17787
+ access_token: string;
17788
+
17789
+ client_id: string;
17790
+
17791
+ expires_at?: string;
17792
+
17793
+ expires_in?: number;
17794
+
17795
+ raw?: { [key: string]: unknown };
17796
+
17797
+ refresh_token?: string;
17798
+
17799
+ scope?: string;
17800
+
17801
+ token_type?: string;
17802
+ }
17803
+ }
17334
17804
  }
17335
17805
  }
17336
17806
 
@@ -17345,6 +17815,8 @@ export namespace GetConnectionResponse {
17345
17815
 
17346
17816
  created_at?: string;
17347
17817
 
17818
+ credentials_last_fetched?: string | null;
17819
+
17348
17820
  customer_id?: string | null;
17349
17821
 
17350
17822
  disabled?: boolean | null;
@@ -17424,6 +17896,8 @@ export namespace GetConnectionResponse {
17424
17896
 
17425
17897
  created_at?: string;
17426
17898
 
17899
+ credentials_last_fetched?: string | null;
17900
+
17427
17901
  customer_id?: string | null;
17428
17902
 
17429
17903
  disabled?: boolean | null;
@@ -17493,6 +17967,8 @@ export namespace GetConnectionResponse {
17493
17967
 
17494
17968
  created_at?: string;
17495
17969
 
17970
+ credentials_last_fetched?: string | null;
17971
+
17496
17972
  customer_id?: string | null;
17497
17973
 
17498
17974
  disabled?: boolean | null;
@@ -17567,6 +18043,8 @@ export namespace GetConnectionResponse {
17567
18043
 
17568
18044
  created_at?: string;
17569
18045
 
18046
+ credentials_last_fetched?: string | null;
18047
+
17570
18048
  customer_id?: string | null;
17571
18049
 
17572
18050
  disabled?: boolean | null;
@@ -17641,6 +18119,8 @@ export namespace GetConnectionResponse {
17641
18119
 
17642
18120
  created_at?: string;
17643
18121
 
18122
+ credentials_last_fetched?: string | null;
18123
+
17644
18124
  customer_id?: string | null;
17645
18125
 
17646
18126
  disabled?: boolean | null;
@@ -17713,6 +18193,8 @@ export namespace GetConnectionResponse {
17713
18193
 
17714
18194
  created_at?: string;
17715
18195
 
18196
+ credentials_last_fetched?: string | null;
18197
+
17716
18198
  customer_id?: string | null;
17717
18199
 
17718
18200
  disabled?: boolean | null;
@@ -17925,6 +18407,8 @@ export namespace GetConnectionResponse {
17925
18407
 
17926
18408
  created_at?: string;
17927
18409
 
18410
+ credentials_last_fetched?: string | null;
18411
+
17928
18412
  customer_id?: string | null;
17929
18413
 
17930
18414
  disabled?: boolean | null;
@@ -18054,6 +18538,8 @@ export namespace GetConnectionResponse {
18054
18538
 
18055
18539
  created_at?: string;
18056
18540
 
18541
+ credentials_last_fetched?: string | null;
18542
+
18057
18543
  customer_id?: string | null;
18058
18544
 
18059
18545
  disabled?: boolean | null;
@@ -18171,6 +18657,8 @@ export namespace GetConnectionResponse {
18171
18657
 
18172
18658
  created_at?: string;
18173
18659
 
18660
+ credentials_last_fetched?: string | null;
18661
+
18174
18662
  customer_id?: string | null;
18175
18663
 
18176
18664
  disabled?: boolean | null;
@@ -18249,6 +18737,8 @@ export namespace GetConnectionResponse {
18249
18737
 
18250
18738
  created_at?: string;
18251
18739
 
18740
+ credentials_last_fetched?: string | null;
18741
+
18252
18742
  customer_id?: string | null;
18253
18743
 
18254
18744
  disabled?: boolean | null;
@@ -18407,6 +18897,8 @@ export namespace ListConnectionsResponse {
18407
18897
 
18408
18898
  created_at?: string;
18409
18899
 
18900
+ credentials_last_fetched?: string | null;
18901
+
18410
18902
  customer_id?: string | null;
18411
18903
 
18412
18904
  disabled?: boolean | null;
@@ -18476,6 +18968,8 @@ export namespace ListConnectionsResponse {
18476
18968
 
18477
18969
  created_at?: string;
18478
18970
 
18971
+ credentials_last_fetched?: string | null;
18972
+
18479
18973
  customer_id?: string | null;
18480
18974
 
18481
18975
  disabled?: boolean | null;
@@ -18594,6 +19088,8 @@ export namespace ListConnectionsResponse {
18594
19088
 
18595
19089
  created_at?: string;
18596
19090
 
19091
+ credentials_last_fetched?: string | null;
19092
+
18597
19093
  customer_id?: string | null;
18598
19094
 
18599
19095
  disabled?: boolean | null;
@@ -18663,6 +19159,8 @@ export namespace ListConnectionsResponse {
18663
19159
 
18664
19160
  created_at?: string;
18665
19161
 
19162
+ credentials_last_fetched?: string | null;
19163
+
18666
19164
  customer_id?: string | null;
18667
19165
 
18668
19166
  disabled?: boolean | null;
@@ -18781,6 +19279,8 @@ export namespace ListConnectionsResponse {
18781
19279
 
18782
19280
  created_at?: string;
18783
19281
 
19282
+ credentials_last_fetched?: string | null;
19283
+
18784
19284
  customer_id?: string | null;
18785
19285
 
18786
19286
  disabled?: boolean | null;
@@ -18905,6 +19405,8 @@ export namespace ListConnectionsResponse {
18905
19405
 
18906
19406
  created_at?: string;
18907
19407
 
19408
+ credentials_last_fetched?: string | null;
19409
+
18908
19410
  customer_id?: string | null;
18909
19411
 
18910
19412
  disabled?: boolean | null;
@@ -19023,6 +19525,8 @@ export namespace ListConnectionsResponse {
19023
19525
 
19024
19526
  created_at?: string;
19025
19527
 
19528
+ credentials_last_fetched?: string | null;
19529
+
19026
19530
  customer_id?: string | null;
19027
19531
 
19028
19532
  disabled?: boolean | null;
@@ -19141,6 +19645,8 @@ export namespace ListConnectionsResponse {
19141
19645
 
19142
19646
  created_at?: string;
19143
19647
 
19648
+ credentials_last_fetched?: string | null;
19649
+
19144
19650
  customer_id?: string | null;
19145
19651
 
19146
19652
  disabled?: boolean | null;
@@ -19259,6 +19765,8 @@ export namespace ListConnectionsResponse {
19259
19765
 
19260
19766
  created_at?: string;
19261
19767
 
19768
+ credentials_last_fetched?: string | null;
19769
+
19262
19770
  customer_id?: string | null;
19263
19771
 
19264
19772
  disabled?: boolean | null;
@@ -19377,6 +19885,8 @@ export namespace ListConnectionsResponse {
19377
19885
 
19378
19886
  created_at?: string;
19379
19887
 
19888
+ credentials_last_fetched?: string | null;
19889
+
19380
19890
  customer_id?: string | null;
19381
19891
 
19382
19892
  disabled?: boolean | null;
@@ -19495,6 +20005,8 @@ export namespace ListConnectionsResponse {
19495
20005
 
19496
20006
  created_at?: string;
19497
20007
 
20008
+ credentials_last_fetched?: string | null;
20009
+
19498
20010
  customer_id?: string | null;
19499
20011
 
19500
20012
  disabled?: boolean | null;
@@ -19618,6 +20130,8 @@ export namespace ListConnectionsResponse {
19618
20130
 
19619
20131
  created_at?: string;
19620
20132
 
20133
+ credentials_last_fetched?: string | null;
20134
+
19621
20135
  customer_id?: string | null;
19622
20136
 
19623
20137
  disabled?: boolean | null;
@@ -19749,6 +20263,8 @@ export namespace ListConnectionsResponse {
19749
20263
 
19750
20264
  created_at?: string;
19751
20265
 
20266
+ credentials_last_fetched?: string | null;
20267
+
19752
20268
  customer_id?: string | null;
19753
20269
 
19754
20270
  disabled?: boolean | null;
@@ -19867,6 +20383,8 @@ export namespace ListConnectionsResponse {
19867
20383
 
19868
20384
  created_at?: string;
19869
20385
 
20386
+ credentials_last_fetched?: string | null;
20387
+
19870
20388
  customer_id?: string | null;
19871
20389
 
19872
20390
  disabled?: boolean | null;
@@ -19985,6 +20503,8 @@ export namespace ListConnectionsResponse {
19985
20503
 
19986
20504
  created_at?: string;
19987
20505
 
20506
+ credentials_last_fetched?: string | null;
20507
+
19988
20508
  customer_id?: string | null;
19989
20509
 
19990
20510
  disabled?: boolean | null;
@@ -20103,6 +20623,8 @@ export namespace ListConnectionsResponse {
20103
20623
 
20104
20624
  created_at?: string;
20105
20625
 
20626
+ credentials_last_fetched?: string | null;
20627
+
20106
20628
  customer_id?: string | null;
20107
20629
 
20108
20630
  disabled?: boolean | null;
@@ -20221,6 +20743,8 @@ export namespace ListConnectionsResponse {
20221
20743
 
20222
20744
  created_at?: string;
20223
20745
 
20746
+ credentials_last_fetched?: string | null;
20747
+
20224
20748
  customer_id?: string | null;
20225
20749
 
20226
20750
  disabled?: boolean | null;
@@ -20339,6 +20863,8 @@ export namespace ListConnectionsResponse {
20339
20863
 
20340
20864
  created_at?: string;
20341
20865
 
20866
+ credentials_last_fetched?: string | null;
20867
+
20342
20868
  customer_id?: string | null;
20343
20869
 
20344
20870
  disabled?: boolean | null;
@@ -20457,6 +20983,8 @@ export namespace ListConnectionsResponse {
20457
20983
 
20458
20984
  created_at?: string;
20459
20985
 
20986
+ credentials_last_fetched?: string | null;
20987
+
20460
20988
  customer_id?: string | null;
20461
20989
 
20462
20990
  disabled?: boolean | null;
@@ -20575,6 +21103,8 @@ export namespace ListConnectionsResponse {
20575
21103
 
20576
21104
  created_at?: string;
20577
21105
 
21106
+ credentials_last_fetched?: string | null;
21107
+
20578
21108
  customer_id?: string | null;
20579
21109
 
20580
21110
  disabled?: boolean | null;
@@ -20693,6 +21223,8 @@ export namespace ListConnectionsResponse {
20693
21223
 
20694
21224
  created_at?: string;
20695
21225
 
21226
+ credentials_last_fetched?: string | null;
21227
+
20696
21228
  customer_id?: string | null;
20697
21229
 
20698
21230
  disabled?: boolean | null;
@@ -20811,6 +21343,8 @@ export namespace ListConnectionsResponse {
20811
21343
 
20812
21344
  created_at?: string;
20813
21345
 
21346
+ credentials_last_fetched?: string | null;
21347
+
20814
21348
  customer_id?: string | null;
20815
21349
 
20816
21350
  disabled?: boolean | null;
@@ -20929,6 +21463,8 @@ export namespace ListConnectionsResponse {
20929
21463
 
20930
21464
  created_at?: string;
20931
21465
 
21466
+ credentials_last_fetched?: string | null;
21467
+
20932
21468
  customer_id?: string | null;
20933
21469
 
20934
21470
  disabled?: boolean | null;
@@ -21047,6 +21583,8 @@ export namespace ListConnectionsResponse {
21047
21583
 
21048
21584
  created_at?: string;
21049
21585
 
21586
+ credentials_last_fetched?: string | null;
21587
+
21050
21588
  customer_id?: string | null;
21051
21589
 
21052
21590
  disabled?: boolean | null;
@@ -21165,6 +21703,8 @@ export namespace ListConnectionsResponse {
21165
21703
 
21166
21704
  created_at?: string;
21167
21705
 
21706
+ credentials_last_fetched?: string | null;
21707
+
21168
21708
  customer_id?: string | null;
21169
21709
 
21170
21710
  disabled?: boolean | null;
@@ -21226,6 +21766,16 @@ export namespace ListConnectionsResponse {
21226
21766
  * for backward compatibility until we remove the oauth field
21227
21767
  */
21228
21768
  access_token?: string;
21769
+
21770
+ /**
21771
+ * Your HubSpot App ID (automatically fetched from access token)
21772
+ */
21773
+ app_id?: number;
21774
+
21775
+ /**
21776
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
21777
+ */
21778
+ hub_id?: number;
21229
21779
  }
21230
21780
 
21231
21781
  export namespace Settings {
@@ -21283,6 +21833,8 @@ export namespace ListConnectionsResponse {
21283
21833
 
21284
21834
  created_at?: string;
21285
21835
 
21836
+ credentials_last_fetched?: string | null;
21837
+
21286
21838
  customer_id?: string | null;
21287
21839
 
21288
21840
  disabled?: boolean | null;
@@ -21401,6 +21953,8 @@ export namespace ListConnectionsResponse {
21401
21953
 
21402
21954
  created_at?: string;
21403
21955
 
21956
+ credentials_last_fetched?: string | null;
21957
+
21404
21958
  customer_id?: string | null;
21405
21959
 
21406
21960
  disabled?: boolean | null;
@@ -21524,6 +22078,8 @@ export namespace ListConnectionsResponse {
21524
22078
 
21525
22079
  created_at?: string;
21526
22080
 
22081
+ credentials_last_fetched?: string | null;
22082
+
21527
22083
  customer_id?: string | null;
21528
22084
 
21529
22085
  disabled?: boolean | null;
@@ -21642,6 +22198,8 @@ export namespace ListConnectionsResponse {
21642
22198
 
21643
22199
  created_at?: string;
21644
22200
 
22201
+ credentials_last_fetched?: string | null;
22202
+
21645
22203
  customer_id?: string | null;
21646
22204
 
21647
22205
  disabled?: boolean | null;
@@ -21760,6 +22318,8 @@ export namespace ListConnectionsResponse {
21760
22318
 
21761
22319
  created_at?: string;
21762
22320
 
22321
+ credentials_last_fetched?: string | null;
22322
+
21763
22323
  customer_id?: string | null;
21764
22324
 
21765
22325
  disabled?: boolean | null;
@@ -21878,6 +22438,8 @@ export namespace ListConnectionsResponse {
21878
22438
 
21879
22439
  created_at?: string;
21880
22440
 
22441
+ credentials_last_fetched?: string | null;
22442
+
21881
22443
  customer_id?: string | null;
21882
22444
 
21883
22445
  disabled?: boolean | null;
@@ -21996,6 +22558,8 @@ export namespace ListConnectionsResponse {
21996
22558
 
21997
22559
  created_at?: string;
21998
22560
 
22561
+ credentials_last_fetched?: string | null;
22562
+
21999
22563
  customer_id?: string | null;
22000
22564
 
22001
22565
  disabled?: boolean | null;
@@ -22114,6 +22678,8 @@ export namespace ListConnectionsResponse {
22114
22678
 
22115
22679
  created_at?: string;
22116
22680
 
22681
+ credentials_last_fetched?: string | null;
22682
+
22117
22683
  customer_id?: string | null;
22118
22684
 
22119
22685
  disabled?: boolean | null;
@@ -22237,6 +22803,8 @@ export namespace ListConnectionsResponse {
22237
22803
 
22238
22804
  created_at?: string;
22239
22805
 
22806
+ credentials_last_fetched?: string | null;
22807
+
22240
22808
  customer_id?: string | null;
22241
22809
 
22242
22810
  disabled?: boolean | null;
@@ -22355,6 +22923,8 @@ export namespace ListConnectionsResponse {
22355
22923
 
22356
22924
  created_at?: string;
22357
22925
 
22926
+ credentials_last_fetched?: string | null;
22927
+
22358
22928
  customer_id?: string | null;
22359
22929
 
22360
22930
  disabled?: boolean | null;
@@ -22473,6 +23043,8 @@ export namespace ListConnectionsResponse {
22473
23043
 
22474
23044
  created_at?: string;
22475
23045
 
23046
+ credentials_last_fetched?: string | null;
23047
+
22476
23048
  customer_id?: string | null;
22477
23049
 
22478
23050
  disabled?: boolean | null;
@@ -22591,6 +23163,8 @@ export namespace ListConnectionsResponse {
22591
23163
 
22592
23164
  created_at?: string;
22593
23165
 
23166
+ credentials_last_fetched?: string | null;
23167
+
22594
23168
  customer_id?: string | null;
22595
23169
 
22596
23170
  disabled?: boolean | null;
@@ -22715,6 +23289,8 @@ export namespace ListConnectionsResponse {
22715
23289
 
22716
23290
  created_at?: string;
22717
23291
 
23292
+ credentials_last_fetched?: string | null;
23293
+
22718
23294
  customer_id?: string | null;
22719
23295
 
22720
23296
  disabled?: boolean | null;
@@ -22833,6 +23409,8 @@ export namespace ListConnectionsResponse {
22833
23409
 
22834
23410
  created_at?: string;
22835
23411
 
23412
+ credentials_last_fetched?: string | null;
23413
+
22836
23414
  customer_id?: string | null;
22837
23415
 
22838
23416
  disabled?: boolean | null;
@@ -22951,6 +23529,8 @@ export namespace ListConnectionsResponse {
22951
23529
 
22952
23530
  created_at?: string;
22953
23531
 
23532
+ credentials_last_fetched?: string | null;
23533
+
22954
23534
  customer_id?: string | null;
22955
23535
 
22956
23536
  disabled?: boolean | null;
@@ -23069,6 +23649,8 @@ export namespace ListConnectionsResponse {
23069
23649
 
23070
23650
  created_at?: string;
23071
23651
 
23652
+ credentials_last_fetched?: string | null;
23653
+
23072
23654
  customer_id?: string | null;
23073
23655
 
23074
23656
  disabled?: boolean | null;
@@ -23192,6 +23774,8 @@ export namespace ListConnectionsResponse {
23192
23774
 
23193
23775
  created_at?: string;
23194
23776
 
23777
+ credentials_last_fetched?: string | null;
23778
+
23195
23779
  customer_id?: string | null;
23196
23780
 
23197
23781
  disabled?: boolean | null;
@@ -23310,6 +23894,8 @@ export namespace ListConnectionsResponse {
23310
23894
 
23311
23895
  created_at?: string;
23312
23896
 
23897
+ credentials_last_fetched?: string | null;
23898
+
23313
23899
  customer_id?: string | null;
23314
23900
 
23315
23901
  disabled?: boolean | null;
@@ -23379,6 +23965,8 @@ export namespace ListConnectionsResponse {
23379
23965
 
23380
23966
  created_at?: string;
23381
23967
 
23968
+ credentials_last_fetched?: string | null;
23969
+
23382
23970
  customer_id?: string | null;
23383
23971
 
23384
23972
  disabled?: boolean | null;
@@ -23400,7 +23988,7 @@ export namespace ListConnectionsResponse {
23400
23988
  */
23401
23989
  metadata?: { [key: string]: unknown } | null;
23402
23990
 
23403
- public_settings?: unknown;
23991
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
23404
23992
 
23405
23993
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
23406
23994
 
@@ -23432,6 +24020,13 @@ export namespace ListConnectionsResponse {
23432
24020
  }
23433
24021
  }
23434
24022
 
24023
+ export interface PublicSettings {
24024
+ /**
24025
+ * MCP transport type detected during connection
24026
+ */
24027
+ transport_type?: 'streamable-http' | 'sse';
24028
+ }
24029
+
23435
24030
  export interface Settings {
23436
24031
  /**
23437
24032
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -23441,7 +24036,12 @@ export namespace ListConnectionsResponse {
23441
24036
  /**
23442
24037
  * Custom headers to include with every request
23443
24038
  */
23444
- headers: Array<Settings.Header>;
24039
+ headers?: Array<Settings.Header>;
24040
+
24041
+ /**
24042
+ * OAuth authentication credentials
24043
+ */
24044
+ oauth?: Settings.OAuth;
23445
24045
  }
23446
24046
 
23447
24047
  export namespace Settings {
@@ -23456,6 +24056,81 @@ export namespace ListConnectionsResponse {
23456
24056
  */
23457
24057
  value: string;
23458
24058
  }
24059
+
24060
+ /**
24061
+ * OAuth authentication credentials
24062
+ */
24063
+ export interface OAuth {
24064
+ client: OAuth.Client;
24065
+
24066
+ credentials: OAuth.Credentials;
24067
+
24068
+ metadata: OAuth.Metadata;
24069
+ }
24070
+
24071
+ export namespace OAuth {
24072
+ export interface Client {
24073
+ client_id: string;
24074
+
24075
+ redirect_uris: Array<string>;
24076
+
24077
+ client_secret?: string;
24078
+ }
24079
+
24080
+ export interface Credentials {
24081
+ access_token: string;
24082
+
24083
+ token_type: string;
24084
+
24085
+ expires_at?: string;
24086
+
24087
+ expires_in?: number;
24088
+
24089
+ refresh_token?: string;
24090
+
24091
+ scope?: string;
24092
+ }
24093
+
24094
+ export interface Metadata {
24095
+ authorization_endpoint: string;
24096
+
24097
+ issuer: string;
24098
+
24099
+ response_types_supported: Array<string>;
24100
+
24101
+ token_endpoint: string;
24102
+
24103
+ code_challenge_methods_supported?: Array<string>;
24104
+
24105
+ grant_types_supported?: Array<string>;
24106
+
24107
+ introspection_endpoint?: string;
24108
+
24109
+ introspection_endpoint_auth_methods_supported?: Array<string>;
24110
+
24111
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
24112
+
24113
+ registration_endpoint?: string;
24114
+
24115
+ response_modes_supported?: Array<string>;
24116
+
24117
+ revocation_endpoint?: string;
24118
+
24119
+ revocation_endpoint_auth_methods_supported?: Array<string>;
24120
+
24121
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
24122
+
24123
+ scopes_supported?: Array<string>;
24124
+
24125
+ service_documentation?: string;
24126
+
24127
+ token_endpoint_auth_methods_supported?: Array<string>;
24128
+
24129
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
24130
+
24131
+ [k: string]: unknown;
24132
+ }
24133
+ }
23459
24134
  }
23460
24135
  }
23461
24136
 
@@ -23470,6 +24145,8 @@ export namespace ListConnectionsResponse {
23470
24145
 
23471
24146
  created_at?: string;
23472
24147
 
24148
+ credentials_last_fetched?: string | null;
24149
+
23473
24150
  customer_id?: string | null;
23474
24151
 
23475
24152
  disabled?: boolean | null;
@@ -23541,6 +24218,34 @@ export namespace ListConnectionsResponse {
23541
24218
  * Server hostname value.
23542
24219
  */
23543
24220
  server_hostname: string;
24221
+
24222
+ oauth?: Settings.OAuth;
24223
+ }
24224
+
24225
+ export namespace Settings {
24226
+ export interface OAuth {
24227
+ credentials?: OAuth.Credentials;
24228
+ }
24229
+
24230
+ export namespace OAuth {
24231
+ export interface Credentials {
24232
+ access_token: string;
24233
+
24234
+ client_id: string;
24235
+
24236
+ expires_at?: string;
24237
+
24238
+ expires_in?: number;
24239
+
24240
+ raw?: { [key: string]: unknown };
24241
+
24242
+ refresh_token?: string;
24243
+
24244
+ scope?: string;
24245
+
24246
+ token_type?: string;
24247
+ }
24248
+ }
23544
24249
  }
23545
24250
  }
23546
24251
 
@@ -23555,6 +24260,8 @@ export namespace ListConnectionsResponse {
23555
24260
 
23556
24261
  created_at?: string;
23557
24262
 
24263
+ credentials_last_fetched?: string | null;
24264
+
23558
24265
  customer_id?: string | null;
23559
24266
 
23560
24267
  disabled?: boolean | null;
@@ -23634,6 +24341,8 @@ export namespace ListConnectionsResponse {
23634
24341
 
23635
24342
  created_at?: string;
23636
24343
 
24344
+ credentials_last_fetched?: string | null;
24345
+
23637
24346
  customer_id?: string | null;
23638
24347
 
23639
24348
  disabled?: boolean | null;
@@ -23703,6 +24412,8 @@ export namespace ListConnectionsResponse {
23703
24412
 
23704
24413
  created_at?: string;
23705
24414
 
24415
+ credentials_last_fetched?: string | null;
24416
+
23706
24417
  customer_id?: string | null;
23707
24418
 
23708
24419
  disabled?: boolean | null;
@@ -23777,6 +24488,8 @@ export namespace ListConnectionsResponse {
23777
24488
 
23778
24489
  created_at?: string;
23779
24490
 
24491
+ credentials_last_fetched?: string | null;
24492
+
23780
24493
  customer_id?: string | null;
23781
24494
 
23782
24495
  disabled?: boolean | null;
@@ -23851,6 +24564,8 @@ export namespace ListConnectionsResponse {
23851
24564
 
23852
24565
  created_at?: string;
23853
24566
 
24567
+ credentials_last_fetched?: string | null;
24568
+
23854
24569
  customer_id?: string | null;
23855
24570
 
23856
24571
  disabled?: boolean | null;
@@ -23923,6 +24638,8 @@ export namespace ListConnectionsResponse {
23923
24638
 
23924
24639
  created_at?: string;
23925
24640
 
24641
+ credentials_last_fetched?: string | null;
24642
+
23926
24643
  customer_id?: string | null;
23927
24644
 
23928
24645
  disabled?: boolean | null;
@@ -24135,6 +24852,8 @@ export namespace ListConnectionsResponse {
24135
24852
 
24136
24853
  created_at?: string;
24137
24854
 
24855
+ credentials_last_fetched?: string | null;
24856
+
24138
24857
  customer_id?: string | null;
24139
24858
 
24140
24859
  disabled?: boolean | null;
@@ -24264,6 +24983,8 @@ export namespace ListConnectionsResponse {
24264
24983
 
24265
24984
  created_at?: string;
24266
24985
 
24986
+ credentials_last_fetched?: string | null;
24987
+
24267
24988
  customer_id?: string | null;
24268
24989
 
24269
24990
  disabled?: boolean | null;
@@ -24381,6 +25102,8 @@ export namespace ListConnectionsResponse {
24381
25102
 
24382
25103
  created_at?: string;
24383
25104
 
25105
+ credentials_last_fetched?: string | null;
25106
+
24384
25107
  customer_id?: string | null;
24385
25108
 
24386
25109
  disabled?: boolean | null;
@@ -24459,6 +25182,8 @@ export namespace ListConnectionsResponse {
24459
25182
 
24460
25183
  created_at?: string;
24461
25184
 
25185
+ credentials_last_fetched?: string | null;
25186
+
24462
25187
  customer_id?: string | null;
24463
25188
 
24464
25189
  disabled?: boolean | null;
@@ -27063,117 +27788,123 @@ export namespace ListConnectorConfigsResponse {
27063
27788
 
27064
27789
  export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
27065
27790
  export interface Config {
27066
- /**
27067
- * OAuth2 client ID for Databricks
27068
- */
27069
- client_id: string;
27070
-
27071
- /**
27072
- * OAuth2 client secret for Databricks
27073
- */
27074
- client_secret: string;
27075
- }
27076
- }
27077
-
27078
- export interface ConnectorPlaidDiscriminatedConnectorConfig {
27079
- config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
27080
-
27081
- connector_name: 'plaid';
27082
-
27083
- id?: string;
27084
-
27085
- connection_count?: number;
27086
-
27087
- connector?: TopLevelAPI.Connector;
27088
-
27089
- created_at?: string;
27090
-
27091
- disabled?: boolean | null;
27092
-
27093
- display_name?: string | null;
27094
-
27095
- integrations?: { [key: string]: TopLevelAPI.Integration };
27096
-
27097
- /**
27098
- * JSON object can can be used to associate arbitrary metadata to avoid needing a
27099
- * separate 1-1 table just for simple key values in your application. During
27100
- * updates this object will be shallowly merged
27101
- */
27102
- metadata?: { [key: string]: unknown } | null;
27103
-
27104
- org_id?: string;
27105
-
27106
- updated_at?: string;
27107
- }
27108
-
27109
- export namespace ConnectorPlaidDiscriminatedConnectorConfig {
27110
- export interface Config {
27111
- /**
27112
- * The name of your application, as it should be displayed in Link. Maximum length
27113
- * of 30 characters. If a value longer than 30 characters is provided, Link will
27114
- * display "This Application" instead.
27115
- */
27116
- clientName: string;
27117
-
27118
- countryCodes: Array<
27119
- | 'US'
27120
- | 'GB'
27121
- | 'ES'
27122
- | 'NL'
27123
- | 'FR'
27124
- | 'IE'
27125
- | 'CA'
27126
- | 'DE'
27127
- | 'IT'
27128
- | 'PL'
27129
- | 'DK'
27130
- | 'NO'
27131
- | 'SE'
27132
- | 'EE'
27133
- | 'LT'
27134
- | 'LV'
27135
- >;
27136
-
27137
- envName: 'sandbox' | 'development' | 'production';
27138
-
27139
- language: 'en' | 'fr' | 'es' | 'nl' | 'de';
27140
-
27141
- products: Array<
27142
- | 'assets'
27143
- | 'auth'
27144
- | 'balance'
27145
- | 'identity'
27146
- | 'investments'
27147
- | 'liabilities'
27148
- | 'payment_initiation'
27149
- | 'identity_verification'
27150
- | 'transactions'
27151
- | 'credit_details'
27152
- | 'income'
27153
- | 'income_verification'
27154
- | 'deposit_switch'
27155
- | 'standing_orders'
27156
- | 'transfer'
27157
- | 'employment'
27158
- | 'recurring_transactions'
27159
- >;
27160
-
27161
- credentials?: Config.Credentials | null;
27791
+ oauth: Config.OAuth;
27162
27792
  }
27163
27793
 
27164
27794
  export namespace Config {
27165
- export interface Credentials {
27166
- clientId: string;
27795
+ export interface OAuth {
27796
+ /**
27797
+ * OAuth2 client ID for Databricks
27798
+ */
27799
+ client_id: string;
27167
27800
 
27168
- clientSecret: string;
27801
+ /**
27802
+ * OAuth2 client secret for Databricks
27803
+ */
27804
+ client_secret: string;
27169
27805
  }
27170
27806
  }
27171
27807
  }
27172
27808
 
27173
- export interface ConnectorPostgresDiscriminatedConnectorConfig {
27174
- config: unknown;
27809
+ export interface ConnectorPlaidDiscriminatedConnectorConfig {
27810
+ config: ConnectorPlaidDiscriminatedConnectorConfig.Config;
27175
27811
 
27176
- connector_name: 'postgres';
27812
+ connector_name: 'plaid';
27813
+
27814
+ id?: string;
27815
+
27816
+ connection_count?: number;
27817
+
27818
+ connector?: TopLevelAPI.Connector;
27819
+
27820
+ created_at?: string;
27821
+
27822
+ disabled?: boolean | null;
27823
+
27824
+ display_name?: string | null;
27825
+
27826
+ integrations?: { [key: string]: TopLevelAPI.Integration };
27827
+
27828
+ /**
27829
+ * JSON object can can be used to associate arbitrary metadata to avoid needing a
27830
+ * separate 1-1 table just for simple key values in your application. During
27831
+ * updates this object will be shallowly merged
27832
+ */
27833
+ metadata?: { [key: string]: unknown } | null;
27834
+
27835
+ org_id?: string;
27836
+
27837
+ updated_at?: string;
27838
+ }
27839
+
27840
+ export namespace ConnectorPlaidDiscriminatedConnectorConfig {
27841
+ export interface Config {
27842
+ /**
27843
+ * The name of your application, as it should be displayed in Link. Maximum length
27844
+ * of 30 characters. If a value longer than 30 characters is provided, Link will
27845
+ * display "This Application" instead.
27846
+ */
27847
+ clientName: string;
27848
+
27849
+ countryCodes: Array<
27850
+ | 'US'
27851
+ | 'GB'
27852
+ | 'ES'
27853
+ | 'NL'
27854
+ | 'FR'
27855
+ | 'IE'
27856
+ | 'CA'
27857
+ | 'DE'
27858
+ | 'IT'
27859
+ | 'PL'
27860
+ | 'DK'
27861
+ | 'NO'
27862
+ | 'SE'
27863
+ | 'EE'
27864
+ | 'LT'
27865
+ | 'LV'
27866
+ >;
27867
+
27868
+ envName: 'sandbox' | 'development' | 'production';
27869
+
27870
+ language: 'en' | 'fr' | 'es' | 'nl' | 'de';
27871
+
27872
+ products: Array<
27873
+ | 'assets'
27874
+ | 'auth'
27875
+ | 'balance'
27876
+ | 'identity'
27877
+ | 'investments'
27878
+ | 'liabilities'
27879
+ | 'payment_initiation'
27880
+ | 'identity_verification'
27881
+ | 'transactions'
27882
+ | 'credit_details'
27883
+ | 'income'
27884
+ | 'income_verification'
27885
+ | 'deposit_switch'
27886
+ | 'standing_orders'
27887
+ | 'transfer'
27888
+ | 'employment'
27889
+ | 'recurring_transactions'
27890
+ >;
27891
+
27892
+ credentials?: Config.Credentials | null;
27893
+ }
27894
+
27895
+ export namespace Config {
27896
+ export interface Credentials {
27897
+ clientId: string;
27898
+
27899
+ clientSecret: string;
27900
+ }
27901
+ }
27902
+ }
27903
+
27904
+ export interface ConnectorPostgresDiscriminatedConnectorConfig {
27905
+ config: unknown;
27906
+
27907
+ connector_name: 'postgres';
27177
27908
 
27178
27909
  id?: string;
27179
27910
 
@@ -30086,15 +30817,21 @@ export namespace ListConnnectorConfigsResponse {
30086
30817
 
30087
30818
  export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
30088
30819
  export interface Config {
30089
- /**
30090
- * OAuth2 client ID for Databricks
30091
- */
30092
- client_id: string;
30820
+ oauth: Config.OAuth;
30821
+ }
30093
30822
 
30094
- /**
30095
- * OAuth2 client secret for Databricks
30096
- */
30097
- client_secret: string;
30823
+ export namespace Config {
30824
+ export interface OAuth {
30825
+ /**
30826
+ * OAuth2 client ID for Databricks
30827
+ */
30828
+ client_id: string;
30829
+
30830
+ /**
30831
+ * OAuth2 client secret for Databricks
30832
+ */
30833
+ client_secret: string;
30834
+ }
30098
30835
  }
30099
30836
  }
30100
30837
 
@@ -31385,6 +32122,8 @@ export namespace PostConnectResponse {
31385
32122
 
31386
32123
  created_at?: string;
31387
32124
 
32125
+ credentials_last_fetched?: string | null;
32126
+
31388
32127
  customer_id?: string | null;
31389
32128
 
31390
32129
  disabled?: boolean | null;
@@ -31450,6 +32189,8 @@ export namespace PostConnectResponse {
31450
32189
 
31451
32190
  created_at?: string;
31452
32191
 
32192
+ credentials_last_fetched?: string | null;
32193
+
31453
32194
  customer_id?: string | null;
31454
32195
 
31455
32196
  disabled?: boolean | null;
@@ -31564,6 +32305,8 @@ export namespace PostConnectResponse {
31564
32305
 
31565
32306
  created_at?: string;
31566
32307
 
32308
+ credentials_last_fetched?: string | null;
32309
+
31567
32310
  customer_id?: string | null;
31568
32311
 
31569
32312
  disabled?: boolean | null;
@@ -31629,6 +32372,8 @@ export namespace PostConnectResponse {
31629
32372
 
31630
32373
  created_at?: string;
31631
32374
 
32375
+ credentials_last_fetched?: string | null;
32376
+
31632
32377
  customer_id?: string | null;
31633
32378
 
31634
32379
  disabled?: boolean | null;
@@ -31743,6 +32488,8 @@ export namespace PostConnectResponse {
31743
32488
 
31744
32489
  created_at?: string;
31745
32490
 
32491
+ credentials_last_fetched?: string | null;
32492
+
31746
32493
  customer_id?: string | null;
31747
32494
 
31748
32495
  disabled?: boolean | null;
@@ -31863,6 +32610,8 @@ export namespace PostConnectResponse {
31863
32610
 
31864
32611
  created_at?: string;
31865
32612
 
32613
+ credentials_last_fetched?: string | null;
32614
+
31866
32615
  customer_id?: string | null;
31867
32616
 
31868
32617
  disabled?: boolean | null;
@@ -31977,6 +32726,8 @@ export namespace PostConnectResponse {
31977
32726
 
31978
32727
  created_at?: string;
31979
32728
 
32729
+ credentials_last_fetched?: string | null;
32730
+
31980
32731
  customer_id?: string | null;
31981
32732
 
31982
32733
  disabled?: boolean | null;
@@ -32091,6 +32842,8 @@ export namespace PostConnectResponse {
32091
32842
 
32092
32843
  created_at?: string;
32093
32844
 
32845
+ credentials_last_fetched?: string | null;
32846
+
32094
32847
  customer_id?: string | null;
32095
32848
 
32096
32849
  disabled?: boolean | null;
@@ -32205,6 +32958,8 @@ export namespace PostConnectResponse {
32205
32958
 
32206
32959
  created_at?: string;
32207
32960
 
32961
+ credentials_last_fetched?: string | null;
32962
+
32208
32963
  customer_id?: string | null;
32209
32964
 
32210
32965
  disabled?: boolean | null;
@@ -32319,6 +33074,8 @@ export namespace PostConnectResponse {
32319
33074
 
32320
33075
  created_at?: string;
32321
33076
 
33077
+ credentials_last_fetched?: string | null;
33078
+
32322
33079
  customer_id?: string | null;
32323
33080
 
32324
33081
  disabled?: boolean | null;
@@ -32433,6 +33190,8 @@ export namespace PostConnectResponse {
32433
33190
 
32434
33191
  created_at?: string;
32435
33192
 
33193
+ credentials_last_fetched?: string | null;
33194
+
32436
33195
  customer_id?: string | null;
32437
33196
 
32438
33197
  disabled?: boolean | null;
@@ -32552,6 +33311,8 @@ export namespace PostConnectResponse {
32552
33311
 
32553
33312
  created_at?: string;
32554
33313
 
33314
+ credentials_last_fetched?: string | null;
33315
+
32555
33316
  customer_id?: string | null;
32556
33317
 
32557
33318
  disabled?: boolean | null;
@@ -32679,6 +33440,8 @@ export namespace PostConnectResponse {
32679
33440
 
32680
33441
  created_at?: string;
32681
33442
 
33443
+ credentials_last_fetched?: string | null;
33444
+
32682
33445
  customer_id?: string | null;
32683
33446
 
32684
33447
  disabled?: boolean | null;
@@ -32793,6 +33556,8 @@ export namespace PostConnectResponse {
32793
33556
 
32794
33557
  created_at?: string;
32795
33558
 
33559
+ credentials_last_fetched?: string | null;
33560
+
32796
33561
  customer_id?: string | null;
32797
33562
 
32798
33563
  disabled?: boolean | null;
@@ -32907,6 +33672,8 @@ export namespace PostConnectResponse {
32907
33672
 
32908
33673
  created_at?: string;
32909
33674
 
33675
+ credentials_last_fetched?: string | null;
33676
+
32910
33677
  customer_id?: string | null;
32911
33678
 
32912
33679
  disabled?: boolean | null;
@@ -33021,6 +33788,8 @@ export namespace PostConnectResponse {
33021
33788
 
33022
33789
  created_at?: string;
33023
33790
 
33791
+ credentials_last_fetched?: string | null;
33792
+
33024
33793
  customer_id?: string | null;
33025
33794
 
33026
33795
  disabled?: boolean | null;
@@ -33135,6 +33904,8 @@ export namespace PostConnectResponse {
33135
33904
 
33136
33905
  created_at?: string;
33137
33906
 
33907
+ credentials_last_fetched?: string | null;
33908
+
33138
33909
  customer_id?: string | null;
33139
33910
 
33140
33911
  disabled?: boolean | null;
@@ -33249,6 +34020,8 @@ export namespace PostConnectResponse {
33249
34020
 
33250
34021
  created_at?: string;
33251
34022
 
34023
+ credentials_last_fetched?: string | null;
34024
+
33252
34025
  customer_id?: string | null;
33253
34026
 
33254
34027
  disabled?: boolean | null;
@@ -33363,6 +34136,8 @@ export namespace PostConnectResponse {
33363
34136
 
33364
34137
  created_at?: string;
33365
34138
 
34139
+ credentials_last_fetched?: string | null;
34140
+
33366
34141
  customer_id?: string | null;
33367
34142
 
33368
34143
  disabled?: boolean | null;
@@ -33477,6 +34252,8 @@ export namespace PostConnectResponse {
33477
34252
 
33478
34253
  created_at?: string;
33479
34254
 
34255
+ credentials_last_fetched?: string | null;
34256
+
33480
34257
  customer_id?: string | null;
33481
34258
 
33482
34259
  disabled?: boolean | null;
@@ -33591,6 +34368,8 @@ export namespace PostConnectResponse {
33591
34368
 
33592
34369
  created_at?: string;
33593
34370
 
34371
+ credentials_last_fetched?: string | null;
34372
+
33594
34373
  customer_id?: string | null;
33595
34374
 
33596
34375
  disabled?: boolean | null;
@@ -33705,6 +34484,8 @@ export namespace PostConnectResponse {
33705
34484
 
33706
34485
  created_at?: string;
33707
34486
 
34487
+ credentials_last_fetched?: string | null;
34488
+
33708
34489
  customer_id?: string | null;
33709
34490
 
33710
34491
  disabled?: boolean | null;
@@ -33819,6 +34600,8 @@ export namespace PostConnectResponse {
33819
34600
 
33820
34601
  created_at?: string;
33821
34602
 
34603
+ credentials_last_fetched?: string | null;
34604
+
33822
34605
  customer_id?: string | null;
33823
34606
 
33824
34607
  disabled?: boolean | null;
@@ -33933,6 +34716,8 @@ export namespace PostConnectResponse {
33933
34716
 
33934
34717
  created_at?: string;
33935
34718
 
34719
+ credentials_last_fetched?: string | null;
34720
+
33936
34721
  customer_id?: string | null;
33937
34722
 
33938
34723
  disabled?: boolean | null;
@@ -34047,6 +34832,8 @@ export namespace PostConnectResponse {
34047
34832
 
34048
34833
  created_at?: string;
34049
34834
 
34835
+ credentials_last_fetched?: string | null;
34836
+
34050
34837
  customer_id?: string | null;
34051
34838
 
34052
34839
  disabled?: boolean | null;
@@ -34106,6 +34893,16 @@ export namespace PostConnectResponse {
34106
34893
  * for backward compatibility until we remove the oauth field
34107
34894
  */
34108
34895
  access_token?: string;
34896
+
34897
+ /**
34898
+ * Your HubSpot App ID (automatically fetched from access token)
34899
+ */
34900
+ app_id?: number;
34901
+
34902
+ /**
34903
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
34904
+ */
34905
+ hub_id?: number;
34109
34906
  }
34110
34907
 
34111
34908
  export namespace Settings {
@@ -34161,6 +34958,8 @@ export namespace PostConnectResponse {
34161
34958
 
34162
34959
  created_at?: string;
34163
34960
 
34961
+ credentials_last_fetched?: string | null;
34962
+
34164
34963
  customer_id?: string | null;
34165
34964
 
34166
34965
  disabled?: boolean | null;
@@ -34275,6 +35074,8 @@ export namespace PostConnectResponse {
34275
35074
 
34276
35075
  created_at?: string;
34277
35076
 
35077
+ credentials_last_fetched?: string | null;
35078
+
34278
35079
  customer_id?: string | null;
34279
35080
 
34280
35081
  disabled?: boolean | null;
@@ -34394,6 +35195,8 @@ export namespace PostConnectResponse {
34394
35195
 
34395
35196
  created_at?: string;
34396
35197
 
35198
+ credentials_last_fetched?: string | null;
35199
+
34397
35200
  customer_id?: string | null;
34398
35201
 
34399
35202
  disabled?: boolean | null;
@@ -34508,6 +35311,8 @@ export namespace PostConnectResponse {
34508
35311
 
34509
35312
  created_at?: string;
34510
35313
 
35314
+ credentials_last_fetched?: string | null;
35315
+
34511
35316
  customer_id?: string | null;
34512
35317
 
34513
35318
  disabled?: boolean | null;
@@ -34622,6 +35427,8 @@ export namespace PostConnectResponse {
34622
35427
 
34623
35428
  created_at?: string;
34624
35429
 
35430
+ credentials_last_fetched?: string | null;
35431
+
34625
35432
  customer_id?: string | null;
34626
35433
 
34627
35434
  disabled?: boolean | null;
@@ -34736,6 +35543,8 @@ export namespace PostConnectResponse {
34736
35543
 
34737
35544
  created_at?: string;
34738
35545
 
35546
+ credentials_last_fetched?: string | null;
35547
+
34739
35548
  customer_id?: string | null;
34740
35549
 
34741
35550
  disabled?: boolean | null;
@@ -34850,6 +35659,8 @@ export namespace PostConnectResponse {
34850
35659
 
34851
35660
  created_at?: string;
34852
35661
 
35662
+ credentials_last_fetched?: string | null;
35663
+
34853
35664
  customer_id?: string | null;
34854
35665
 
34855
35666
  disabled?: boolean | null;
@@ -34964,6 +35775,8 @@ export namespace PostConnectResponse {
34964
35775
 
34965
35776
  created_at?: string;
34966
35777
 
35778
+ credentials_last_fetched?: string | null;
35779
+
34967
35780
  customer_id?: string | null;
34968
35781
 
34969
35782
  disabled?: boolean | null;
@@ -35083,6 +35896,8 @@ export namespace PostConnectResponse {
35083
35896
 
35084
35897
  created_at?: string;
35085
35898
 
35899
+ credentials_last_fetched?: string | null;
35900
+
35086
35901
  customer_id?: string | null;
35087
35902
 
35088
35903
  disabled?: boolean | null;
@@ -35197,6 +36012,8 @@ export namespace PostConnectResponse {
35197
36012
 
35198
36013
  created_at?: string;
35199
36014
 
36015
+ credentials_last_fetched?: string | null;
36016
+
35200
36017
  customer_id?: string | null;
35201
36018
 
35202
36019
  disabled?: boolean | null;
@@ -35311,6 +36128,8 @@ export namespace PostConnectResponse {
35311
36128
 
35312
36129
  created_at?: string;
35313
36130
 
36131
+ credentials_last_fetched?: string | null;
36132
+
35314
36133
  customer_id?: string | null;
35315
36134
 
35316
36135
  disabled?: boolean | null;
@@ -35425,6 +36244,8 @@ export namespace PostConnectResponse {
35425
36244
 
35426
36245
  created_at?: string;
35427
36246
 
36247
+ credentials_last_fetched?: string | null;
36248
+
35428
36249
  customer_id?: string | null;
35429
36250
 
35430
36251
  disabled?: boolean | null;
@@ -35545,6 +36366,8 @@ export namespace PostConnectResponse {
35545
36366
 
35546
36367
  created_at?: string;
35547
36368
 
36369
+ credentials_last_fetched?: string | null;
36370
+
35548
36371
  customer_id?: string | null;
35549
36372
 
35550
36373
  disabled?: boolean | null;
@@ -35659,6 +36482,8 @@ export namespace PostConnectResponse {
35659
36482
 
35660
36483
  created_at?: string;
35661
36484
 
36485
+ credentials_last_fetched?: string | null;
36486
+
35662
36487
  customer_id?: string | null;
35663
36488
 
35664
36489
  disabled?: boolean | null;
@@ -35773,6 +36598,8 @@ export namespace PostConnectResponse {
35773
36598
 
35774
36599
  created_at?: string;
35775
36600
 
36601
+ credentials_last_fetched?: string | null;
36602
+
35776
36603
  customer_id?: string | null;
35777
36604
 
35778
36605
  disabled?: boolean | null;
@@ -35887,6 +36714,8 @@ export namespace PostConnectResponse {
35887
36714
 
35888
36715
  created_at?: string;
35889
36716
 
36717
+ credentials_last_fetched?: string | null;
36718
+
35890
36719
  customer_id?: string | null;
35891
36720
 
35892
36721
  disabled?: boolean | null;
@@ -36006,6 +36835,8 @@ export namespace PostConnectResponse {
36006
36835
 
36007
36836
  created_at?: string;
36008
36837
 
36838
+ credentials_last_fetched?: string | null;
36839
+
36009
36840
  customer_id?: string | null;
36010
36841
 
36011
36842
  disabled?: boolean | null;
@@ -36120,6 +36951,8 @@ export namespace PostConnectResponse {
36120
36951
 
36121
36952
  created_at?: string;
36122
36953
 
36954
+ credentials_last_fetched?: string | null;
36955
+
36123
36956
  customer_id?: string | null;
36124
36957
 
36125
36958
  disabled?: boolean | null;
@@ -36185,6 +37018,8 @@ export namespace PostConnectResponse {
36185
37018
 
36186
37019
  created_at?: string;
36187
37020
 
37021
+ credentials_last_fetched?: string | null;
37022
+
36188
37023
  customer_id?: string | null;
36189
37024
 
36190
37025
  disabled?: boolean | null;
@@ -36204,7 +37039,7 @@ export namespace PostConnectResponse {
36204
37039
  */
36205
37040
  metadata?: { [key: string]: unknown } | null;
36206
37041
 
36207
- public_settings?: unknown;
37042
+ public_settings?: ConnectorCustomMcpDiscriminatedConnectionData.PublicSettings;
36208
37043
 
36209
37044
  settings?: ConnectorCustomMcpDiscriminatedConnectionData.Settings;
36210
37045
 
@@ -36236,6 +37071,13 @@ export namespace PostConnectResponse {
36236
37071
  }
36237
37072
  }
36238
37073
 
37074
+ export interface PublicSettings {
37075
+ /**
37076
+ * MCP transport type detected during connection
37077
+ */
37078
+ transport_type?: 'streamable-http' | 'sse';
37079
+ }
37080
+
36239
37081
  export interface Settings {
36240
37082
  /**
36241
37083
  * Base URL of the MCP server (e.g., https://mcp.example.com)
@@ -36245,7 +37087,12 @@ export namespace PostConnectResponse {
36245
37087
  /**
36246
37088
  * Custom headers to include with every request
36247
37089
  */
36248
- headers: Array<Settings.Header>;
37090
+ headers?: Array<Settings.Header>;
37091
+
37092
+ /**
37093
+ * OAuth authentication credentials
37094
+ */
37095
+ oauth?: Settings.OAuth;
36249
37096
  }
36250
37097
 
36251
37098
  export namespace Settings {
@@ -36260,6 +37107,81 @@ export namespace PostConnectResponse {
36260
37107
  */
36261
37108
  value: string;
36262
37109
  }
37110
+
37111
+ /**
37112
+ * OAuth authentication credentials
37113
+ */
37114
+ export interface OAuth {
37115
+ client: OAuth.Client;
37116
+
37117
+ credentials: OAuth.Credentials;
37118
+
37119
+ metadata: OAuth.Metadata;
37120
+ }
37121
+
37122
+ export namespace OAuth {
37123
+ export interface Client {
37124
+ client_id: string;
37125
+
37126
+ redirect_uris: Array<string>;
37127
+
37128
+ client_secret?: string;
37129
+ }
37130
+
37131
+ export interface Credentials {
37132
+ access_token: string;
37133
+
37134
+ token_type: string;
37135
+
37136
+ expires_at?: string;
37137
+
37138
+ expires_in?: number;
37139
+
37140
+ refresh_token?: string;
37141
+
37142
+ scope?: string;
37143
+ }
37144
+
37145
+ export interface Metadata {
37146
+ authorization_endpoint: string;
37147
+
37148
+ issuer: string;
37149
+
37150
+ response_types_supported: Array<string>;
37151
+
37152
+ token_endpoint: string;
37153
+
37154
+ code_challenge_methods_supported?: Array<string>;
37155
+
37156
+ grant_types_supported?: Array<string>;
37157
+
37158
+ introspection_endpoint?: string;
37159
+
37160
+ introspection_endpoint_auth_methods_supported?: Array<string>;
37161
+
37162
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
37163
+
37164
+ registration_endpoint?: string;
37165
+
37166
+ response_modes_supported?: Array<string>;
37167
+
37168
+ revocation_endpoint?: string;
37169
+
37170
+ revocation_endpoint_auth_methods_supported?: Array<string>;
37171
+
37172
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
37173
+
37174
+ scopes_supported?: Array<string>;
37175
+
37176
+ service_documentation?: string;
37177
+
37178
+ token_endpoint_auth_methods_supported?: Array<string>;
37179
+
37180
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
37181
+
37182
+ [k: string]: unknown;
37183
+ }
37184
+ }
36263
37185
  }
36264
37186
  }
36265
37187
 
@@ -36272,6 +37194,8 @@ export namespace PostConnectResponse {
36272
37194
 
36273
37195
  created_at?: string;
36274
37196
 
37197
+ credentials_last_fetched?: string | null;
37198
+
36275
37199
  customer_id?: string | null;
36276
37200
 
36277
37201
  disabled?: boolean | null;
@@ -36341,6 +37265,34 @@ export namespace PostConnectResponse {
36341
37265
  * Server hostname value.
36342
37266
  */
36343
37267
  server_hostname: string;
37268
+
37269
+ oauth?: Settings.OAuth;
37270
+ }
37271
+
37272
+ export namespace Settings {
37273
+ export interface OAuth {
37274
+ credentials?: OAuth.Credentials;
37275
+ }
37276
+
37277
+ export namespace OAuth {
37278
+ export interface Credentials {
37279
+ access_token: string;
37280
+
37281
+ client_id: string;
37282
+
37283
+ expires_at?: string;
37284
+
37285
+ expires_in?: number;
37286
+
37287
+ raw?: { [key: string]: unknown };
37288
+
37289
+ refresh_token?: string;
37290
+
37291
+ scope?: string;
37292
+
37293
+ token_type?: string;
37294
+ }
37295
+ }
36344
37296
  }
36345
37297
  }
36346
37298
 
@@ -36353,6 +37305,8 @@ export namespace PostConnectResponse {
36353
37305
 
36354
37306
  created_at?: string;
36355
37307
 
37308
+ credentials_last_fetched?: string | null;
37309
+
36356
37310
  customer_id?: string | null;
36357
37311
 
36358
37312
  disabled?: boolean | null;
@@ -36428,6 +37382,8 @@ export namespace PostConnectResponse {
36428
37382
 
36429
37383
  created_at?: string;
36430
37384
 
37385
+ credentials_last_fetched?: string | null;
37386
+
36431
37387
  customer_id?: string | null;
36432
37388
 
36433
37389
  disabled?: boolean | null;
@@ -36493,6 +37449,8 @@ export namespace PostConnectResponse {
36493
37449
 
36494
37450
  created_at?: string;
36495
37451
 
37452
+ credentials_last_fetched?: string | null;
37453
+
36496
37454
  customer_id?: string | null;
36497
37455
 
36498
37456
  disabled?: boolean | null;
@@ -36563,6 +37521,8 @@ export namespace PostConnectResponse {
36563
37521
 
36564
37522
  created_at?: string;
36565
37523
 
37524
+ credentials_last_fetched?: string | null;
37525
+
36566
37526
  customer_id?: string | null;
36567
37527
 
36568
37528
  disabled?: boolean | null;
@@ -36633,6 +37593,8 @@ export namespace PostConnectResponse {
36633
37593
 
36634
37594
  created_at?: string;
36635
37595
 
37596
+ credentials_last_fetched?: string | null;
37597
+
36636
37598
  customer_id?: string | null;
36637
37599
 
36638
37600
  disabled?: boolean | null;
@@ -36701,6 +37663,8 @@ export namespace PostConnectResponse {
36701
37663
 
36702
37664
  created_at?: string;
36703
37665
 
37666
+ credentials_last_fetched?: string | null;
37667
+
36704
37668
  customer_id?: string | null;
36705
37669
 
36706
37670
  disabled?: boolean | null;
@@ -36909,6 +37873,8 @@ export namespace PostConnectResponse {
36909
37873
 
36910
37874
  created_at?: string;
36911
37875
 
37876
+ credentials_last_fetched?: string | null;
37877
+
36912
37878
  customer_id?: string | null;
36913
37879
 
36914
37880
  disabled?: boolean | null;
@@ -37034,6 +38000,8 @@ export namespace PostConnectResponse {
37034
38000
 
37035
38001
  created_at?: string;
37036
38002
 
38003
+ credentials_last_fetched?: string | null;
38004
+
37037
38005
  customer_id?: string | null;
37038
38006
 
37039
38007
  disabled?: boolean | null;
@@ -37147,6 +38115,8 @@ export namespace PostConnectResponse {
37147
38115
 
37148
38116
  created_at?: string;
37149
38117
 
38118
+ credentials_last_fetched?: string | null;
38119
+
37150
38120
  customer_id?: string | null;
37151
38121
 
37152
38122
  disabled?: boolean | null;
@@ -37221,6 +38191,8 @@ export namespace PostConnectResponse {
37221
38191
 
37222
38192
  created_at?: string;
37223
38193
 
38194
+ credentials_last_fetched?: string | null;
38195
+
37224
38196
  customer_id?: string | null;
37225
38197
 
37226
38198
  disabled?: boolean | null;
@@ -38161,36 +39133,55 @@ export namespace PreConnectResponse {
38161
39133
  }
38162
39134
 
38163
39135
  export interface ConnectorCustomMcpDiscriminatedConnectInput {
38164
- connect_input: ConnectorCustomMcpDiscriminatedConnectInput.ConnectInput;
39136
+ connect_input:
39137
+ | ConnectorCustomMcpDiscriminatedConnectInput.UnionMember0
39138
+ | ConnectorCustomMcpDiscriminatedConnectInput.UnionMember1;
38165
39139
 
38166
39140
  connector_name: 'custom-mcp';
38167
39141
  }
38168
39142
 
38169
39143
  export namespace ConnectorCustomMcpDiscriminatedConnectInput {
38170
- export interface ConnectInput {
38171
- /**
38172
- * Base URL of the MCP server (e.g., https://mcp.example.com)
38173
- */
38174
- base_url: string;
39144
+ export interface UnionMember0 {
39145
+ flow: 'manual';
38175
39146
 
38176
- /**
38177
- * Custom headers to include with every request
38178
- */
38179
- headers: Array<ConnectInput.Header>;
39147
+ validated: UnionMember0.Validated;
38180
39148
  }
38181
39149
 
38182
- export namespace ConnectInput {
38183
- export interface Header {
39150
+ export namespace UnionMember0 {
39151
+ export interface Validated {
38184
39152
  /**
38185
- * Header name (e.g., Authorization, X-API-Key)
39153
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
38186
39154
  */
38187
- key: string;
39155
+ base_url: string;
38188
39156
 
38189
- /**
38190
- * Header value (securely stored)
38191
- */
38192
- value: string;
39157
+ display_name: string;
39158
+
39159
+ headers: Array<Validated.Header>;
38193
39160
  }
39161
+
39162
+ export namespace Validated {
39163
+ export interface Header {
39164
+ /**
39165
+ * Header name (e.g., Authorization, X-API-Key)
39166
+ */
39167
+ key: string;
39168
+
39169
+ /**
39170
+ * Header value (securely stored)
39171
+ */
39172
+ value: string;
39173
+ }
39174
+ }
39175
+ }
39176
+
39177
+ export interface UnionMember1 {
39178
+ authorization_url: string;
39179
+
39180
+ flow: 'oauth';
39181
+
39182
+ message: string;
39183
+
39184
+ state: string;
38194
39185
  }
38195
39186
  }
38196
39187
 
@@ -40641,15 +41632,21 @@ export namespace UpsertConnnectorConfigResponse {
40641
41632
 
40642
41633
  export namespace ConnectorDatabricksM2mDiscriminatedConnectorConfig {
40643
41634
  export interface Config {
40644
- /**
40645
- * OAuth2 client ID for Databricks
40646
- */
40647
- client_id: string;
41635
+ oauth: Config.OAuth;
41636
+ }
40648
41637
 
40649
- /**
40650
- * OAuth2 client secret for Databricks
40651
- */
40652
- client_secret: string;
41638
+ export namespace Config {
41639
+ export interface OAuth {
41640
+ /**
41641
+ * OAuth2 client ID for Databricks
41642
+ */
41643
+ client_id: string;
41644
+
41645
+ /**
41646
+ * OAuth2 client secret for Databricks
41647
+ */
41648
+ client_secret: string;
41649
+ }
40653
41650
  }
40654
41651
  }
40655
41652
 
@@ -42606,6 +43603,16 @@ export namespace CreateConnectionParams {
42606
43603
  * for backward compatibility until we remove the oauth field
42607
43604
  */
42608
43605
  access_token?: string;
43606
+
43607
+ /**
43608
+ * Your HubSpot App ID (automatically fetched from access token)
43609
+ */
43610
+ app_id?: number;
43611
+
43612
+ /**
43613
+ * Your HubSpot Hub ID/Portal ID (automatically fetched from access token)
43614
+ */
43615
+ hub_id?: number;
42609
43616
  }
42610
43617
 
42611
43618
  export namespace Settings {
@@ -43739,6 +44746,11 @@ export namespace CreateConnectionParams {
43739
44746
  * Custom headers to include with every request
43740
44747
  */
43741
44748
  headers?: Array<Settings.Header>;
44749
+
44750
+ /**
44751
+ * OAuth authentication credentials
44752
+ */
44753
+ oauth?: Settings.OAuth;
43742
44754
  }
43743
44755
 
43744
44756
  export namespace Settings {
@@ -43753,6 +44765,81 @@ export namespace CreateConnectionParams {
43753
44765
  */
43754
44766
  value: string;
43755
44767
  }
44768
+
44769
+ /**
44770
+ * OAuth authentication credentials
44771
+ */
44772
+ export interface OAuth {
44773
+ client: OAuth.Client;
44774
+
44775
+ credentials: OAuth.Credentials;
44776
+
44777
+ metadata: OAuth.Metadata;
44778
+ }
44779
+
44780
+ export namespace OAuth {
44781
+ export interface Client {
44782
+ client_id: string;
44783
+
44784
+ redirect_uris: Array<string>;
44785
+
44786
+ client_secret?: string;
44787
+ }
44788
+
44789
+ export interface Credentials {
44790
+ access_token: string;
44791
+
44792
+ expires_at?: string;
44793
+
44794
+ expires_in?: number;
44795
+
44796
+ refresh_token?: string;
44797
+
44798
+ scope?: string;
44799
+
44800
+ token_type?: string;
44801
+ }
44802
+
44803
+ export interface Metadata {
44804
+ authorization_endpoint: string;
44805
+
44806
+ issuer: string;
44807
+
44808
+ response_types_supported: Array<string>;
44809
+
44810
+ token_endpoint: string;
44811
+
44812
+ code_challenge_methods_supported?: Array<string>;
44813
+
44814
+ grant_types_supported?: Array<string>;
44815
+
44816
+ introspection_endpoint?: string;
44817
+
44818
+ introspection_endpoint_auth_methods_supported?: Array<string>;
44819
+
44820
+ introspection_endpoint_auth_signing_alg_values_supported?: Array<string>;
44821
+
44822
+ registration_endpoint?: string;
44823
+
44824
+ response_modes_supported?: Array<string>;
44825
+
44826
+ revocation_endpoint?: string;
44827
+
44828
+ revocation_endpoint_auth_methods_supported?: Array<string>;
44829
+
44830
+ revocation_endpoint_auth_signing_alg_values_supported?: Array<string>;
44831
+
44832
+ scopes_supported?: Array<string>;
44833
+
44834
+ service_documentation?: string;
44835
+
44836
+ token_endpoint_auth_methods_supported?: Array<string>;
44837
+
44838
+ token_endpoint_auth_signing_alg_values_supported?: Array<string>;
44839
+
44840
+ [k: string]: unknown;
44841
+ }
44842
+ }
43756
44843
  }
43757
44844
  }
43758
44845
 
@@ -43781,6 +44868,34 @@ export namespace CreateConnectionParams {
43781
44868
  * Server hostname value.
43782
44869
  */
43783
44870
  server_hostname: string;
44871
+
44872
+ oauth?: Settings.OAuth;
44873
+ }
44874
+
44875
+ export namespace Settings {
44876
+ export interface OAuth {
44877
+ credentials?: OAuth.Credentials;
44878
+ }
44879
+
44880
+ export namespace OAuth {
44881
+ export interface Credentials {
44882
+ access_token: string;
44883
+
44884
+ client_id: string;
44885
+
44886
+ expires_at?: string;
44887
+
44888
+ expires_in?: number;
44889
+
44890
+ raw?: { [key: string]: unknown };
44891
+
44892
+ refresh_token?: string;
44893
+
44894
+ scope?: string;
44895
+
44896
+ token_type?: string;
44897
+ }
44898
+ }
43784
44899
  }
43785
44900
  }
43786
44901
 
@@ -44271,6 +45386,11 @@ export namespace CreateTokenParams {
44271
45386
  | 'zendesk'
44272
45387
  | 'zoom';
44273
45388
 
45389
+ /**
45390
+ * Optional external ID for reconnecting to an existing connection
45391
+ */
45392
+ connection_external_id?: string;
45393
+
44274
45394
  /**
44275
45395
  * The names of the connectors to show in the connect page. If not provided, all
44276
45396
  * connectors will be shown
@@ -44350,6 +45470,18 @@ export namespace CreateTokenParams {
44350
45470
  */
44351
45471
  is_embedded?: boolean;
44352
45472
 
45473
+ /**
45474
+ * JSON encoded payload used to optionally prefill connector flows.
45475
+ */
45476
+ prefill?: string;
45477
+
45478
+ /**
45479
+ * Optional Repl ID to assign the newly created connection to. If provided, the
45480
+ * connection will be automatically assigned to this repl after successful
45481
+ * authentication.
45482
+ */
45483
+ repl_id?: string;
45484
+
44353
45485
  /**
44354
45486
  * Optional URL to return customers after adding a connection or if they press the
44355
45487
  * Return To Organization button
@@ -46198,28 +47330,41 @@ export namespace PostConnectParams {
46198
47330
 
46199
47331
  export namespace ConnectorCustomMcpDiscriminatedConnectOutput {
46200
47332
  export interface ConnectOutput {
46201
- /**
46202
- * Base URL of the MCP server (e.g., https://mcp.example.com)
46203
- */
46204
- base_url: string;
47333
+ code?: string;
46205
47334
 
46206
- /**
46207
- * Custom headers to include with every request
46208
- */
46209
- headers?: Array<ConnectOutput.Header>;
47335
+ code_verifier?: string;
47336
+
47337
+ mode?: 'manual' | 'oauth';
47338
+
47339
+ settings?: ConnectOutput.Settings;
47340
+
47341
+ state?: string;
46210
47342
  }
46211
47343
 
46212
47344
  export namespace ConnectOutput {
46213
- export interface Header {
47345
+ export interface Settings {
46214
47346
  /**
46215
- * Header name (e.g., Authorization, X-API-Key)
47347
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
46216
47348
  */
46217
- key: string;
47349
+ base_url: string;
46218
47350
 
46219
- /**
46220
- * Header value (securely stored)
46221
- */
46222
- value: string;
47351
+ display_name: string;
47352
+
47353
+ headers?: Array<Settings.Header>;
47354
+ }
47355
+
47356
+ export namespace Settings {
47357
+ export interface Header {
47358
+ /**
47359
+ * Header name (e.g., Authorization, X-API-Key)
47360
+ */
47361
+ key: string;
47362
+
47363
+ /**
47364
+ * Header value (securely stored)
47365
+ */
47366
+ value: string;
47367
+ }
46223
47368
  }
46224
47369
  }
46225
47370
  }
@@ -46509,16 +47654,184 @@ export namespace PostConnectParams {
46509
47654
  }
46510
47655
 
46511
47656
  export interface Options {
46512
- connectionExternalId?: string | number | null;
47657
+ /**
47658
+ * Automatically trigger connection flow for the specified connector when the page
47659
+ * loads. Only works when view is "add" and the connector is available.
47660
+ */
47661
+ auto_connect?:
47662
+ | 'acme-apikey'
47663
+ | 'acme-oauth2'
47664
+ | 'agentmail'
47665
+ | 'apollo'
47666
+ | 'asana'
47667
+ | 'bigquery'
47668
+ | 'bitbucket'
47669
+ | 'bitbucket-source-control'
47670
+ | 'box'
47671
+ | 'calendly'
47672
+ | 'clickup'
47673
+ | 'confluence'
47674
+ | 'custom-mcp'
47675
+ | 'databricks'
47676
+ | 'databricks-m2m'
47677
+ | 'discord'
47678
+ | 'dropbox'
47679
+ | 'figma'
47680
+ | 'github'
47681
+ | 'github-source-control'
47682
+ | 'gitlab-source-control'
47683
+ | 'google-calendar'
47684
+ | 'google-docs'
47685
+ | 'google-drive'
47686
+ | 'google-mail'
47687
+ | 'google-sheet'
47688
+ | 'google-slides'
47689
+ | 'hubspot'
47690
+ | 'instagram'
47691
+ | 'jira'
47692
+ | 'linear'
47693
+ | 'monday'
47694
+ | 'notion'
47695
+ | 'onedrive'
47696
+ | 'outlook'
47697
+ | 'plaid'
47698
+ | 'postgres'
47699
+ | 'resend'
47700
+ | 'salesforce'
47701
+ | 'sendgrid'
47702
+ | 'sharepoint'
47703
+ | 'slack'
47704
+ | 'slack-agent'
47705
+ | 'slack-agent-builder'
47706
+ | 'slack-deployed-agent'
47707
+ | 'snowflake'
47708
+ | 'spotify'
47709
+ | 'stripe'
47710
+ | 'stripe-agent-sandbox'
47711
+ | 'todoist'
47712
+ | 'twilio'
47713
+ | 'workato'
47714
+ | 'youtube'
47715
+ | 'zendesk'
47716
+ | 'zoom';
46513
47717
 
46514
- integrationExternalId?: string | number | null;
47718
+ /**
47719
+ * Optional external ID for reconnecting to an existing connection
47720
+ */
47721
+ connection_external_id?: string;
46515
47722
 
46516
47723
  /**
46517
- * Must start with 'int\_'
47724
+ * The names of the connectors to show in the connect page. If not provided, all
47725
+ * connectors will be shown
46518
47726
  */
46519
- integrationId?: string | null;
47727
+ connector_names?: Array<
47728
+ | 'acme-apikey'
47729
+ | 'acme-oauth2'
47730
+ | 'agentmail'
47731
+ | 'apollo'
47732
+ | 'asana'
47733
+ | 'bigquery'
47734
+ | 'bitbucket'
47735
+ | 'bitbucket-source-control'
47736
+ | 'box'
47737
+ | 'calendly'
47738
+ | 'clickup'
47739
+ | 'confluence'
47740
+ | 'custom-mcp'
47741
+ | 'databricks'
47742
+ | 'databricks-m2m'
47743
+ | 'discord'
47744
+ | 'dropbox'
47745
+ | 'figma'
47746
+ | 'github'
47747
+ | 'github-source-control'
47748
+ | 'gitlab-source-control'
47749
+ | 'google-calendar'
47750
+ | 'google-docs'
47751
+ | 'google-drive'
47752
+ | 'google-mail'
47753
+ | 'google-sheet'
47754
+ | 'google-slides'
47755
+ | 'hubspot'
47756
+ | 'instagram'
47757
+ | 'jira'
47758
+ | 'linear'
47759
+ | 'monday'
47760
+ | 'notion'
47761
+ | 'onedrive'
47762
+ | 'outlook'
47763
+ | 'plaid'
47764
+ | 'postgres'
47765
+ | 'resend'
47766
+ | 'salesforce'
47767
+ | 'sendgrid'
47768
+ | 'sharepoint'
47769
+ | 'slack'
47770
+ | 'slack-agent'
47771
+ | 'slack-agent-builder'
47772
+ | 'slack-deployed-agent'
47773
+ | 'snowflake'
47774
+ | 'spotify'
47775
+ | 'stripe'
47776
+ | 'stripe-agent-sandbox'
47777
+ | 'todoist'
47778
+ | 'twilio'
47779
+ | 'workato'
47780
+ | 'youtube'
47781
+ | 'zendesk'
47782
+ | 'zoom'
47783
+ >;
47784
+
47785
+ /**
47786
+ * Whether to enable debug mode
47787
+ */
47788
+ debug?: boolean;
47789
+
47790
+ /**
47791
+ * Whether to hide the navigation bar. This is useful for hardcoding to a
47792
+ * particular view.
47793
+ */
47794
+ hide_navigation?: boolean;
47795
+
47796
+ integration_id?: string;
47797
+
47798
+ /**
47799
+ * Whether to enable embedded mode. Embedded mode hides the side bar with extra
47800
+ * context for the end user (customer) on the organization
47801
+ */
47802
+ is_embedded?: boolean;
47803
+
47804
+ /**
47805
+ * JSON encoded payload used to optionally prefill connector flows.
47806
+ */
47807
+ prefill?: string;
46520
47808
 
46521
- syncInBand?: boolean | null;
47809
+ /**
47810
+ * Optional Repl ID to assign the newly created connection to. If provided, the
47811
+ * connection will be automatically assigned to this repl after successful
47812
+ * authentication.
47813
+ */
47814
+ repl_id?: string;
47815
+
47816
+ /**
47817
+ * Optional URL to return customers after adding a connection or if they press the
47818
+ * Return To Organization button
47819
+ */
47820
+ return_url?: string;
47821
+
47822
+ sync_in_band?: boolean;
47823
+
47824
+ /**
47825
+ * The theme to use for the connect page. Defaults to light if not specified.
47826
+ */
47827
+ theme?: 'light' | 'dark';
47828
+
47829
+ /**
47830
+ * The default view to show when the magic link is opened. If omitted, by default
47831
+ * it will smartly load the right view based on whether the user has connections or
47832
+ * not
47833
+ */
47834
+ view?: 'add' | 'manage';
46522
47835
  }
46523
47836
  }
46524
47837
 
@@ -46723,17 +48036,7 @@ export namespace PreConnectParams {
46723
48036
  export interface ConnectorConfluenceDiscriminatedPreConnectInput {
46724
48037
  connector_name: 'confluence';
46725
48038
 
46726
- pre_connect_input: ConnectorConfluenceDiscriminatedPreConnectInput.PreConnectInput;
46727
- }
46728
-
46729
- export namespace ConnectorConfluenceDiscriminatedPreConnectInput {
46730
- export interface PreConnectInput {
46731
- /**
46732
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net). You can find
46733
- * this in your browser when logged into Confluence.
46734
- */
46735
- site_url: string;
46736
- }
48039
+ pre_connect_input: unknown;
46737
48040
  }
46738
48041
 
46739
48042
  export interface ConnectorDatabricksDiscriminatedPreConnectInput {
@@ -46846,17 +48149,7 @@ export namespace PreConnectParams {
46846
48149
  export interface ConnectorJiraDiscriminatedPreConnectInput {
46847
48150
  connector_name: 'jira';
46848
48151
 
46849
- pre_connect_input: ConnectorJiraDiscriminatedPreConnectInput.PreConnectInput;
46850
- }
46851
-
46852
- export namespace ConnectorJiraDiscriminatedPreConnectInput {
46853
- export interface PreConnectInput {
46854
- /**
46855
- * Your Atlassian site URL (e.g., https://your-domain.atlassian.net). You can find
46856
- * this in your browser when logged into Jira.
46857
- */
46858
- site_url: string;
46859
- }
48152
+ pre_connect_input: unknown;
46860
48153
  }
46861
48154
 
46862
48155
  export interface ConnectorLinearDiscriminatedPreConnectInput {
@@ -46978,7 +48271,34 @@ export namespace PreConnectParams {
46978
48271
  export interface ConnectorCustomMcpDiscriminatedPreConnectInput {
46979
48272
  connector_name: 'custom-mcp';
46980
48273
 
46981
- pre_connect_input: unknown;
48274
+ pre_connect_input: ConnectorCustomMcpDiscriminatedPreConnectInput.PreConnectInput;
48275
+ }
48276
+
48277
+ export namespace ConnectorCustomMcpDiscriminatedPreConnectInput {
48278
+ export interface PreConnectInput {
48279
+ /**
48280
+ * Base URL of the MCP server (e.g., https://mcp.example.com)
48281
+ */
48282
+ base_url: string;
48283
+
48284
+ display_name: string;
48285
+
48286
+ headers?: Array<PreConnectInput.Header>;
48287
+ }
48288
+
48289
+ export namespace PreConnectInput {
48290
+ export interface Header {
48291
+ /**
48292
+ * Header name (e.g., Authorization, X-API-Key)
48293
+ */
48294
+ key: string;
48295
+
48296
+ /**
48297
+ * Header value (securely stored)
48298
+ */
48299
+ value: string;
48300
+ }
48301
+ }
46982
48302
  }
46983
48303
 
46984
48304
  export interface ConnectorDatabricksM2mDiscriminatedPreConnectInput {
@@ -47111,9 +48431,180 @@ export namespace PreConnectParams {
47111
48431
  }
47112
48432
 
47113
48433
  export interface Options {
47114
- connectionExternalId?: string | number | null;
48434
+ /**
48435
+ * Automatically trigger connection flow for the specified connector when the page
48436
+ * loads. Only works when view is "add" and the connector is available.
48437
+ */
48438
+ auto_connect?:
48439
+ | 'acme-apikey'
48440
+ | 'acme-oauth2'
48441
+ | 'agentmail'
48442
+ | 'apollo'
48443
+ | 'asana'
48444
+ | 'bigquery'
48445
+ | 'bitbucket'
48446
+ | 'bitbucket-source-control'
48447
+ | 'box'
48448
+ | 'calendly'
48449
+ | 'clickup'
48450
+ | 'confluence'
48451
+ | 'custom-mcp'
48452
+ | 'databricks'
48453
+ | 'databricks-m2m'
48454
+ | 'discord'
48455
+ | 'dropbox'
48456
+ | 'figma'
48457
+ | 'github'
48458
+ | 'github-source-control'
48459
+ | 'gitlab-source-control'
48460
+ | 'google-calendar'
48461
+ | 'google-docs'
48462
+ | 'google-drive'
48463
+ | 'google-mail'
48464
+ | 'google-sheet'
48465
+ | 'google-slides'
48466
+ | 'hubspot'
48467
+ | 'instagram'
48468
+ | 'jira'
48469
+ | 'linear'
48470
+ | 'monday'
48471
+ | 'notion'
48472
+ | 'onedrive'
48473
+ | 'outlook'
48474
+ | 'plaid'
48475
+ | 'postgres'
48476
+ | 'resend'
48477
+ | 'salesforce'
48478
+ | 'sendgrid'
48479
+ | 'sharepoint'
48480
+ | 'slack'
48481
+ | 'slack-agent'
48482
+ | 'slack-agent-builder'
48483
+ | 'slack-deployed-agent'
48484
+ | 'snowflake'
48485
+ | 'spotify'
48486
+ | 'stripe'
48487
+ | 'stripe-agent-sandbox'
48488
+ | 'todoist'
48489
+ | 'twilio'
48490
+ | 'workato'
48491
+ | 'youtube'
48492
+ | 'zendesk'
48493
+ | 'zoom';
47115
48494
 
47116
- integrationExternalId?: string | number | null;
48495
+ /**
48496
+ * Optional external ID for reconnecting to an existing connection
48497
+ */
48498
+ connection_external_id?: string;
48499
+
48500
+ /**
48501
+ * The names of the connectors to show in the connect page. If not provided, all
48502
+ * connectors will be shown
48503
+ */
48504
+ connector_names?: Array<
48505
+ | 'acme-apikey'
48506
+ | 'acme-oauth2'
48507
+ | 'agentmail'
48508
+ | 'apollo'
48509
+ | 'asana'
48510
+ | 'bigquery'
48511
+ | 'bitbucket'
48512
+ | 'bitbucket-source-control'
48513
+ | 'box'
48514
+ | 'calendly'
48515
+ | 'clickup'
48516
+ | 'confluence'
48517
+ | 'custom-mcp'
48518
+ | 'databricks'
48519
+ | 'databricks-m2m'
48520
+ | 'discord'
48521
+ | 'dropbox'
48522
+ | 'figma'
48523
+ | 'github'
48524
+ | 'github-source-control'
48525
+ | 'gitlab-source-control'
48526
+ | 'google-calendar'
48527
+ | 'google-docs'
48528
+ | 'google-drive'
48529
+ | 'google-mail'
48530
+ | 'google-sheet'
48531
+ | 'google-slides'
48532
+ | 'hubspot'
48533
+ | 'instagram'
48534
+ | 'jira'
48535
+ | 'linear'
48536
+ | 'monday'
48537
+ | 'notion'
48538
+ | 'onedrive'
48539
+ | 'outlook'
48540
+ | 'plaid'
48541
+ | 'postgres'
48542
+ | 'resend'
48543
+ | 'salesforce'
48544
+ | 'sendgrid'
48545
+ | 'sharepoint'
48546
+ | 'slack'
48547
+ | 'slack-agent'
48548
+ | 'slack-agent-builder'
48549
+ | 'slack-deployed-agent'
48550
+ | 'snowflake'
48551
+ | 'spotify'
48552
+ | 'stripe'
48553
+ | 'stripe-agent-sandbox'
48554
+ | 'todoist'
48555
+ | 'twilio'
48556
+ | 'workato'
48557
+ | 'youtube'
48558
+ | 'zendesk'
48559
+ | 'zoom'
48560
+ >;
48561
+
48562
+ /**
48563
+ * Whether to enable debug mode
48564
+ */
48565
+ debug?: boolean;
48566
+
48567
+ /**
48568
+ * Whether to hide the navigation bar. This is useful for hardcoding to a
48569
+ * particular view.
48570
+ */
48571
+ hide_navigation?: boolean;
48572
+
48573
+ /**
48574
+ * Whether to enable embedded mode. Embedded mode hides the side bar with extra
48575
+ * context for the end user (customer) on the organization
48576
+ */
48577
+ is_embedded?: boolean;
48578
+
48579
+ /**
48580
+ * JSON encoded payload used to optionally prefill connector flows.
48581
+ */
48582
+ prefill?: string;
48583
+
48584
+ /**
48585
+ * Optional Repl ID to assign the newly created connection to. If provided, the
48586
+ * connection will be automatically assigned to this repl after successful
48587
+ * authentication.
48588
+ */
48589
+ repl_id?: string;
48590
+
48591
+ /**
48592
+ * Optional URL to return customers after adding a connection or if they press the
48593
+ * Return To Organization button
48594
+ */
48595
+ return_url?: string;
48596
+
48597
+ /**
48598
+ * The theme to use for the connect page. Defaults to light if not specified.
48599
+ */
48600
+ theme?: 'light' | 'dark';
48601
+
48602
+ /**
48603
+ * The default view to show when the magic link is opened. If omitted, by default
48604
+ * it will smartly load the right view based on whether the user has connections or
48605
+ * not
48606
+ */
48607
+ view?: 'add' | 'manage';
47117
48608
  }
47118
48609
  }
47119
48610