@katerai/sdk 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -6
  3. package/client.d.mts +6 -3
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +6 -3
  6. package/client.d.ts.map +1 -1
  7. package/client.js +7 -29
  8. package/client.js.map +1 -1
  9. package/client.mjs +7 -29
  10. package/client.mjs.map +1 -1
  11. package/internal/utils/log.d.mts.map +1 -1
  12. package/internal/utils/log.d.ts.map +1 -1
  13. package/internal/utils/log.js +0 -1
  14. package/internal/utils/log.js.map +1 -1
  15. package/internal/utils/log.mjs +0 -1
  16. package/internal/utils/log.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/resources/healthz.d.mts +16 -0
  19. package/resources/healthz.d.mts.map +1 -0
  20. package/resources/healthz.d.ts +16 -0
  21. package/resources/healthz.d.ts.map +1 -0
  22. package/resources/healthz.js +15 -0
  23. package/resources/healthz.js.map +1 -0
  24. package/resources/healthz.mjs +11 -0
  25. package/resources/healthz.mjs.map +1 -0
  26. package/resources/index.d.mts +2 -0
  27. package/resources/index.d.mts.map +1 -1
  28. package/resources/index.d.ts +2 -0
  29. package/resources/index.d.ts.map +1 -1
  30. package/resources/index.js +5 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs +2 -0
  33. package/resources/index.mjs.map +1 -1
  34. package/resources/readyz.d.mts +16 -0
  35. package/resources/readyz.d.mts.map +1 -0
  36. package/resources/readyz.d.ts +16 -0
  37. package/resources/readyz.d.ts.map +1 -0
  38. package/resources/readyz.js +15 -0
  39. package/resources/readyz.js.map +1 -0
  40. package/resources/readyz.mjs +11 -0
  41. package/resources/readyz.mjs.map +1 -0
  42. package/resources/v1/connections/connections.d.mts +274 -65
  43. package/resources/v1/connections/connections.d.mts.map +1 -1
  44. package/resources/v1/connections/connections.d.ts +274 -65
  45. package/resources/v1/connections/connections.d.ts.map +1 -1
  46. package/resources/v1/connections/connections.js +33 -0
  47. package/resources/v1/connections/connections.js.map +1 -1
  48. package/resources/v1/connections/connections.mjs +33 -0
  49. package/resources/v1/connections/connections.mjs.map +1 -1
  50. package/resources/v1/connections/index.d.mts +1 -1
  51. package/resources/v1/connections/index.d.mts.map +1 -1
  52. package/resources/v1/connections/index.d.ts +1 -1
  53. package/resources/v1/connections/index.d.ts.map +1 -1
  54. package/resources/v1/connections/index.js.map +1 -1
  55. package/resources/v1/connections/index.mjs.map +1 -1
  56. package/resources/v1/github/github.d.mts +61 -1
  57. package/resources/v1/github/github.d.mts.map +1 -1
  58. package/resources/v1/github/github.d.ts +61 -1
  59. package/resources/v1/github/github.d.ts.map +1 -1
  60. package/resources/v1/github/github.js +22 -0
  61. package/resources/v1/github/github.js.map +1 -1
  62. package/resources/v1/github/github.mjs +22 -0
  63. package/resources/v1/github/github.mjs.map +1 -1
  64. package/resources/v1/github/index.d.mts +2 -1
  65. package/resources/v1/github/index.d.mts.map +1 -1
  66. package/resources/v1/github/index.d.ts +2 -1
  67. package/resources/v1/github/index.d.ts.map +1 -1
  68. package/resources/v1/github/index.js +3 -1
  69. package/resources/v1/github/index.js.map +1 -1
  70. package/resources/v1/github/index.mjs +2 -1
  71. package/resources/v1/github/index.mjs.map +1 -1
  72. package/resources/v1/github/webhooks.d.mts +28 -0
  73. package/resources/v1/github/webhooks.d.mts.map +1 -0
  74. package/resources/v1/github/webhooks.d.ts +28 -0
  75. package/resources/v1/github/webhooks.d.ts.map +1 -0
  76. package/resources/v1/github/webhooks.js +27 -0
  77. package/resources/v1/github/webhooks.js.map +1 -0
  78. package/resources/v1/github/webhooks.mjs +23 -0
  79. package/resources/v1/github/webhooks.mjs.map +1 -0
  80. package/resources/v1/index.d.mts +2 -2
  81. package/resources/v1/index.d.mts.map +1 -1
  82. package/resources/v1/index.d.ts +2 -2
  83. package/resources/v1/index.d.ts.map +1 -1
  84. package/resources/v1/index.js.map +1 -1
  85. package/resources/v1/index.mjs +1 -1
  86. package/resources/v1/index.mjs.map +1 -1
  87. package/resources/v1/v1.d.mts +4 -4
  88. package/resources/v1/v1.d.mts.map +1 -1
  89. package/resources/v1/v1.d.ts +4 -4
  90. package/resources/v1/v1.d.ts.map +1 -1
  91. package/resources/v1/v1.js.map +1 -1
  92. package/resources/v1/v1.mjs +1 -1
  93. package/resources/v1/v1.mjs.map +1 -1
  94. package/src/client.ts +11 -36
  95. package/src/internal/utils/log.ts +0 -1
  96. package/src/resources/healthz.ts +20 -0
  97. package/src/resources/index.ts +2 -0
  98. package/src/resources/readyz.ts +20 -0
  99. package/src/resources/v1/connections/connections.ts +337 -69
  100. package/src/resources/v1/connections/index.ts +1 -0
  101. package/src/resources/v1/github/github.ts +97 -1
  102. package/src/resources/v1/github/index.ts +10 -1
  103. package/src/resources/v1/github/webhooks.ts +60 -0
  104. package/src/resources/v1/index.ts +10 -1
  105. package/src/resources/v1/v1.ts +20 -2
  106. package/src/version.ts +1 -1
  107. package/version.d.mts +1 -1
  108. package/version.d.ts +1 -1
  109. package/version.js +1 -1
  110. package/version.mjs +1 -1
@@ -13,12 +13,26 @@ export declare class Connections extends APIResource {
13
13
  * Get a single warehouse connection by kater_id.
14
14
  *
15
15
  * Returns connection from the database (source of truth) with full hierarchy.
16
+ * Supports content negotiation via Accept header (handled by MultiFormatRoute):
17
+ *
18
+ * - application/json (default): Returns JSON response
19
+ * - application/yaml: Returns YAML representation
16
20
  *
17
21
  * RLS: Filtered to current client (DualClientRLSDB).
18
22
  *
19
23
  * Raises: NotFoundError: If connection doesn't exist (404)
20
24
  */
21
25
  retrieve(connectionID: string, options?: RequestOptions): APIPromise<Connection>;
26
+ /**
27
+ * Update a warehouse connection's metadata.
28
+ *
29
+ * Updates name, label, and/or description fields.
30
+ *
31
+ * RLS: Filtered to current client (ClientRLSDB).
32
+ *
33
+ * Raises: ConnectionNotFoundError: If connection doesn't exist (404)
34
+ */
35
+ update(connectionID: string, body: ConnectionUpdateParams, options?: RequestOptions): APIPromise<Connection>;
22
36
  /**
23
37
  * List all warehouse connections for the client.
24
38
  *
@@ -29,6 +43,17 @@ export declare class Connections extends APIResource {
29
43
  * RLS: Filtered to current client (DualClientRLSDB).
30
44
  */
31
45
  list(options?: RequestOptions): APIPromise<ConnectionListResponse>;
46
+ /**
47
+ * Delete a warehouse connection.
48
+ *
49
+ * Soft-deletes the connection record and cascades to all associated databases and
50
+ * schemas, setting deleted_at and deleted_by fields.
51
+ *
52
+ * RLS: Filtered to current client (ClientRLSDB).
53
+ *
54
+ * Raises: ConnectionNotFoundError: If connection doesn't exist (404)
55
+ */
56
+ delete(connectionID: string, options?: RequestOptions): APIPromise<void>;
32
57
  /**
33
58
  * Get decrypted warehouse credentials for a connection.
34
59
  *
@@ -48,12 +73,12 @@ export declare class Connections extends APIResource {
48
73
  /**
49
74
  * Response model for a single connection.
50
75
  *
51
- * All data comes from the database (source of truth). The id field serves as the
52
- * kater_id.
76
+ * All data comes from the database (source of truth). JSON responses use 'id'
77
+ * field; YAML responses transform to 'kater_id' via MultiFormatRoute.
53
78
  */
54
79
  export interface Connection {
55
80
  /**
56
- * Connection ID (also the kater_id)
81
+ * Connection ID
57
82
  */
58
83
  id: string;
59
84
  /**
@@ -68,14 +93,6 @@ export interface Connection {
68
93
  * Databases in this connection
69
94
  */
70
95
  databases: Array<Connection.Database>;
71
- /**
72
- * Connection description
73
- */
74
- description: string | null;
75
- /**
76
- * Human-readable label
77
- */
78
- label: string | null;
79
96
  /**
80
97
  * Connection name
81
98
  */
@@ -85,33 +102,37 @@ export interface Connection {
85
102
  */
86
103
  updated_at: string;
87
104
  /**
88
- * Snowflake account identifier
105
+ * Warehouse-specific configuration
106
+ */
107
+ warehouse_metadata: Connection.SnowflakeMetadata | Connection.PostgresMetadata | Connection.DatabricksMetadata | Connection.ClickHouseMetadata | Connection.MssqlMetadata;
108
+ /**
109
+ * Warehouse type (snowflake, postgresql, etc.)
89
110
  */
90
- account?: string | null;
111
+ warehouse_type: string;
91
112
  /**
92
- * Database host (PostgreSQL, MSSQL, ClickHouse)
113
+ * Default timezone for the connection
93
114
  */
94
- host?: string | null;
115
+ database_timezone?: string | null;
95
116
  /**
96
- * Databricks HTTP path
117
+ * Connection description
97
118
  */
98
- http_path?: string | null;
119
+ description?: string | null;
99
120
  /**
100
- * Database port (PostgreSQL, MSSQL, ClickHouse)
121
+ * Human-readable label
101
122
  */
102
- port?: number | null;
123
+ label?: string | null;
103
124
  /**
104
- * Snowflake role
125
+ * Query timeout in seconds
105
126
  */
106
- role?: string | null;
127
+ query_timeout?: number | null;
107
128
  /**
108
- * Databricks server hostname
129
+ * Timezone conversion mode (do_not_convert, convert_to_utc)
109
130
  */
110
- server_hostname?: string | null;
131
+ query_timezone_conversion?: string | null;
111
132
  /**
112
- * Snowflake or Databricks warehouse name
133
+ * Sync identifier for schema sync
113
134
  */
114
- warehouse?: string | null;
135
+ sync_id?: string | null;
115
136
  }
116
137
  export declare namespace Connection {
117
138
  /**
@@ -123,13 +144,9 @@ export declare namespace Connection {
123
144
  */
124
145
  id: string;
125
146
  /**
126
- * Database description
127
- */
128
- description: string | null;
129
- /**
130
- * Human-readable label
147
+ * Actual name of the database in the warehouse
131
148
  */
132
- label: string | null;
149
+ database_object_name: string;
133
150
  /**
134
151
  * Database name
135
152
  */
@@ -138,10 +155,18 @@ export declare namespace Connection {
138
155
  * Schemas in this database
139
156
  */
140
157
  schemas: Array<Database.Schema>;
158
+ /**
159
+ * Database description
160
+ */
161
+ description?: string | null;
162
+ /**
163
+ * Human-readable label
164
+ */
165
+ label?: string | null;
141
166
  /**
142
167
  * Timezone for the database
143
168
  */
144
- timezone: string | null;
169
+ timezone?: string | null;
145
170
  }
146
171
  namespace Database {
147
172
  /**
@@ -153,28 +178,125 @@ export declare namespace Connection {
153
178
  */
154
179
  id: string;
155
180
  /**
156
- * Schema description
157
- */
158
- description: string | null;
159
- /**
160
- * Human-readable label
181
+ * Actual name of the schema in the warehouse
161
182
  */
162
- label: string | null;
183
+ database_object_name: string;
163
184
  /**
164
185
  * Schema name
165
186
  */
166
187
  name: string;
188
+ /**
189
+ * Schema description
190
+ */
191
+ description?: string | null;
192
+ /**
193
+ * Human-readable label
194
+ */
195
+ label?: string | null;
167
196
  }
168
197
  }
198
+ /**
199
+ * Snowflake-specific warehouse metadata.
200
+ */
201
+ interface SnowflakeMetadata {
202
+ /**
203
+ * Authentication method
204
+ */
205
+ auth_method: 'username_password' | 'key_pair';
206
+ /**
207
+ * Snowflake role
208
+ */
209
+ role: string;
210
+ /**
211
+ * Snowflake account identifier
212
+ */
213
+ snowflake_account_id: string;
214
+ /**
215
+ * Compute warehouse name
216
+ */
217
+ warehouse: string;
218
+ /**
219
+ * Warehouse type discriminator
220
+ */
221
+ warehouse_type: 'snowflake';
222
+ }
223
+ /**
224
+ * PostgreSQL-specific warehouse metadata.
225
+ */
226
+ interface PostgresMetadata {
227
+ /**
228
+ * Database host
229
+ */
230
+ host: string;
231
+ /**
232
+ * Database port
233
+ */
234
+ port: number;
235
+ /**
236
+ * Warehouse type discriminator
237
+ */
238
+ warehouse_type: 'postgresql';
239
+ }
240
+ /**
241
+ * Databricks-specific warehouse metadata.
242
+ */
243
+ interface DatabricksMetadata {
244
+ /**
245
+ * SQL warehouse HTTP path
246
+ */
247
+ http_path: string;
248
+ /**
249
+ * Databricks server hostname
250
+ */
251
+ server_hostname: string;
252
+ /**
253
+ * Warehouse type discriminator
254
+ */
255
+ warehouse_type: 'databricks';
256
+ }
257
+ /**
258
+ * ClickHouse-specific warehouse metadata.
259
+ */
260
+ interface ClickHouseMetadata {
261
+ /**
262
+ * ClickHouse host
263
+ */
264
+ host: string;
265
+ /**
266
+ * ClickHouse port
267
+ */
268
+ port: number;
269
+ /**
270
+ * Warehouse type discriminator
271
+ */
272
+ warehouse_type: 'clickhouse';
273
+ }
274
+ /**
275
+ * Microsoft SQL Server-specific warehouse metadata.
276
+ */
277
+ interface MssqlMetadata {
278
+ /**
279
+ * SQL Server host
280
+ */
281
+ host: string;
282
+ /**
283
+ * SQL Server port
284
+ */
285
+ port: number;
286
+ /**
287
+ * Warehouse type discriminator
288
+ */
289
+ warehouse_type: 'mssql';
290
+ }
169
291
  }
170
292
  /**
171
293
  * Database configuration for connection creation request.
172
294
  */
173
295
  export interface DatabaseConfig {
174
296
  /**
175
- * Database name
297
+ * The actual name of the database object in the warehouse
176
298
  */
177
- name: string;
299
+ database_object_name: string;
178
300
  /**
179
301
  * Description of the database
180
302
  */
@@ -183,6 +305,10 @@ export interface DatabaseConfig {
183
305
  * Human-readable label for the database (defaults to name if not set)
184
306
  */
185
307
  label?: string | null;
308
+ /**
309
+ * Database name (defaults to database_object_name if not set)
310
+ */
311
+ name?: string | null;
186
312
  /**
187
313
  * Schema configurations to include (empty = discover all schemas)
188
314
  */
@@ -198,9 +324,9 @@ export declare namespace DatabaseConfig {
198
324
  */
199
325
  interface Schema {
200
326
  /**
201
- * Schema name
327
+ * The actual name of the schema object in the warehouse
202
328
  */
203
- name: string;
329
+ database_object_name: string;
204
330
  /**
205
331
  * Description of the schema
206
332
  */
@@ -209,6 +335,10 @@ export declare namespace DatabaseConfig {
209
335
  * Human-readable label for the schema (defaults to name if not set)
210
336
  */
211
337
  label?: string | null;
338
+ /**
339
+ * Schema name (defaults to database_object_name if not set)
340
+ */
341
+ name?: string | null;
212
342
  }
213
343
  }
214
344
  export type ConnectionListResponse = Array<Connection>;
@@ -224,7 +354,7 @@ export declare namespace ConnectionRetrieveCredentialResponse {
224
354
  /**
225
355
  * Database name
226
356
  */
227
- database: string | null;
357
+ database: string;
228
358
  /**
229
359
  * Database host
230
360
  */
@@ -304,7 +434,7 @@ export declare namespace ConnectionRetrieveCredentialResponse {
304
434
  /**
305
435
  * Passphrase if key is encrypted
306
436
  */
307
- private_key_passphrase: string | null;
437
+ private_key_passphrase?: string | null;
308
438
  }
309
439
  }
310
440
  /**
@@ -332,10 +462,6 @@ export declare namespace ConnectionRetrieveCredentialResponse {
332
462
  * ClickHouse credential response.
333
463
  */
334
464
  interface ClickHouseCredentialResponse {
335
- /**
336
- * Database name
337
- */
338
- database: string | null;
339
465
  /**
340
466
  * ClickHouse host
341
467
  */
@@ -356,15 +482,15 @@ export declare namespace ConnectionRetrieveCredentialResponse {
356
482
  * Warehouse type
357
483
  */
358
484
  warehouse_type: 'clickhouse';
485
+ /**
486
+ * Database name
487
+ */
488
+ database?: string | null;
359
489
  }
360
490
  /**
361
491
  * Microsoft SQL Server credential response.
362
492
  */
363
493
  interface MssqlCredentialResponse {
364
- /**
365
- * Database name
366
- */
367
- database: string | null;
368
494
  /**
369
495
  * SQL Server host
370
496
  */
@@ -385,26 +511,35 @@ export declare namespace ConnectionRetrieveCredentialResponse {
385
511
  * Warehouse type
386
512
  */
387
513
  warehouse_type: 'mssql';
514
+ /**
515
+ * Database name
516
+ */
517
+ database?: string | null;
388
518
  }
389
519
  }
390
520
  /**
391
521
  * Response for syncing views.
392
522
  *
393
- * Returned after successfully creating a PR with merged ViewSchema files.
523
+ * Returned after successfully creating a PR with merged ViewSchema files, or
524
+ * indicating that all views are already up to date.
394
525
  */
395
526
  export interface ConnectionSyncResponse {
396
527
  /**
397
- * GitHub PR number
528
+ * Number of views in the PR
529
+ */
530
+ views_updated: number;
531
+ /**
532
+ * Status message
398
533
  */
399
- pr_number: number;
534
+ message?: string | null;
400
535
  /**
401
- * GitHub PR URL
536
+ * GitHub PR number
402
537
  */
403
- pr_url: string;
538
+ pr_number?: number | null;
404
539
  /**
405
- * Number of views in the PR
540
+ * GitHub PR URL
406
541
  */
407
- views_updated: number;
542
+ pr_url?: string | null;
408
543
  }
409
544
  export type ConnectionCreateParams = ConnectionCreateParams.PostgresConnectionConfig | ConnectionCreateParams.SnowflakeConnectionConfig | ConnectionCreateParams.DatabricksConnectionConfig | ConnectionCreateParams.ClickHouseConnectionConfig | ConnectionCreateParams.MssqlConnectionConfig;
410
545
  export declare namespace ConnectionCreateParams {
@@ -418,7 +553,7 @@ export declare namespace ConnectionCreateParams {
418
553
  */
419
554
  host: string;
420
555
  /**
421
- * Name of the connection
556
+ * Name of the connection (snake_case: lowercase letters, numbers, underscores)
422
557
  */
423
558
  name: string;
424
559
  /**
@@ -433,6 +568,10 @@ export declare namespace ConnectionCreateParams {
433
568
  * Warehouse type
434
569
  */
435
570
  warehouse_type: 'postgresql';
571
+ /**
572
+ * Default timezone for the connection (e.g., 'UTC', 'America/New_York')
573
+ */
574
+ database_timezone?: string | null;
436
575
  /**
437
576
  * Description of the connection
438
577
  */
@@ -445,6 +584,14 @@ export declare namespace ConnectionCreateParams {
445
584
  * Database port
446
585
  */
447
586
  port?: number;
587
+ /**
588
+ * Query timeout in seconds (1-3600)
589
+ */
590
+ query_timeout?: number | null;
591
+ /**
592
+ * Timezone conversion mode: 'do_not_convert' or 'convert_to_utc'
593
+ */
594
+ query_timezone_conversion?: string | null;
448
595
  }
449
596
  interface SnowflakeConnectionConfig {
450
597
  /**
@@ -460,7 +607,7 @@ export declare namespace ConnectionCreateParams {
460
607
  */
461
608
  databases: Array<DatabaseConfig>;
462
609
  /**
463
- * Name of the connection
610
+ * Name of the connection (snake_case: lowercase letters, numbers, underscores)
464
611
  */
465
612
  name: string;
466
613
  /**
@@ -479,6 +626,10 @@ export declare namespace ConnectionCreateParams {
479
626
  * Warehouse type
480
627
  */
481
628
  warehouse_type: 'snowflake';
629
+ /**
630
+ * Default timezone for the connection (e.g., 'UTC', 'America/New_York')
631
+ */
632
+ database_timezone?: string | null;
482
633
  /**
483
634
  * Description of the connection
484
635
  */
@@ -487,6 +638,14 @@ export declare namespace ConnectionCreateParams {
487
638
  * Human-readable label for the connection (defaults to name if not set)
488
639
  */
489
640
  label?: string | null;
641
+ /**
642
+ * Query timeout in seconds (1-3600)
643
+ */
644
+ query_timeout?: number | null;
645
+ /**
646
+ * Timezone conversion mode: 'do_not_convert' or 'convert_to_utc'
647
+ */
648
+ query_timezone_conversion?: string | null;
490
649
  }
491
650
  namespace SnowflakeConnectionConfig {
492
651
  /**
@@ -534,7 +693,7 @@ export declare namespace ConnectionCreateParams {
534
693
  */
535
694
  http_path: string;
536
695
  /**
537
- * Name of the connection
696
+ * Name of the connection (snake_case: lowercase letters, numbers, underscores)
538
697
  */
539
698
  name: string;
540
699
  /**
@@ -545,6 +704,10 @@ export declare namespace ConnectionCreateParams {
545
704
  * Warehouse type
546
705
  */
547
706
  warehouse_type: 'databricks';
707
+ /**
708
+ * Default timezone for the connection (e.g., 'UTC', 'America/New_York')
709
+ */
710
+ database_timezone?: string | null;
548
711
  /**
549
712
  * Description of the connection
550
713
  */
@@ -553,6 +716,14 @@ export declare namespace ConnectionCreateParams {
553
716
  * Human-readable label for the connection (defaults to name if not set)
554
717
  */
555
718
  label?: string | null;
719
+ /**
720
+ * Query timeout in seconds (1-3600)
721
+ */
722
+ query_timeout?: number | null;
723
+ /**
724
+ * Timezone conversion mode: 'do_not_convert' or 'convert_to_utc'
725
+ */
726
+ query_timezone_conversion?: string | null;
556
727
  }
557
728
  interface ClickHouseConnectionConfig {
558
729
  /**
@@ -564,7 +735,7 @@ export declare namespace ConnectionCreateParams {
564
735
  */
565
736
  host: string;
566
737
  /**
567
- * Name of the connection
738
+ * Name of the connection (snake_case: lowercase letters, numbers, underscores)
568
739
  */
569
740
  name: string;
570
741
  /**
@@ -579,6 +750,10 @@ export declare namespace ConnectionCreateParams {
579
750
  * Warehouse type
580
751
  */
581
752
  warehouse_type: 'clickhouse';
753
+ /**
754
+ * Default timezone for the connection (e.g., 'UTC', 'America/New_York')
755
+ */
756
+ database_timezone?: string | null;
582
757
  /**
583
758
  * Description of the connection
584
759
  */
@@ -591,6 +766,14 @@ export declare namespace ConnectionCreateParams {
591
766
  * ClickHouse port
592
767
  */
593
768
  port?: number;
769
+ /**
770
+ * Query timeout in seconds (1-3600)
771
+ */
772
+ query_timeout?: number | null;
773
+ /**
774
+ * Timezone conversion mode: 'do_not_convert' or 'convert_to_utc'
775
+ */
776
+ query_timezone_conversion?: string | null;
594
777
  }
595
778
  interface MssqlConnectionConfig {
596
779
  /**
@@ -602,7 +785,7 @@ export declare namespace ConnectionCreateParams {
602
785
  */
603
786
  host: string;
604
787
  /**
605
- * Name of the connection
788
+ * Name of the connection (snake_case: lowercase letters, numbers, underscores)
606
789
  */
607
790
  name: string;
608
791
  /**
@@ -617,6 +800,10 @@ export declare namespace ConnectionCreateParams {
617
800
  * Warehouse type
618
801
  */
619
802
  warehouse_type: 'mssql';
803
+ /**
804
+ * Default timezone for the connection (e.g., 'UTC', 'America/New_York')
805
+ */
806
+ database_timezone?: string | null;
620
807
  /**
621
808
  * Description of the connection
622
809
  */
@@ -629,10 +816,32 @@ export declare namespace ConnectionCreateParams {
629
816
  * SQL Server port
630
817
  */
631
818
  port?: number;
819
+ /**
820
+ * Query timeout in seconds (1-3600)
821
+ */
822
+ query_timeout?: number | null;
823
+ /**
824
+ * Timezone conversion mode: 'do_not_convert' or 'convert_to_utc'
825
+ */
826
+ query_timezone_conversion?: string | null;
632
827
  }
633
828
  }
829
+ export interface ConnectionUpdateParams {
830
+ /**
831
+ * Connection description
832
+ */
833
+ description?: string | null;
834
+ /**
835
+ * Human-readable display label
836
+ */
837
+ label?: string | null;
838
+ /**
839
+ * Connection name (snake_case identifier)
840
+ */
841
+ name?: string | null;
842
+ }
634
843
  export declare namespace Connections {
635
- export { type Connection as Connection, type DatabaseConfig as DatabaseConfig, type ConnectionListResponse as ConnectionListResponse, type ConnectionRetrieveCredentialResponse as ConnectionRetrieveCredentialResponse, type ConnectionSyncResponse as ConnectionSyncResponse, type ConnectionCreateParams as ConnectionCreateParams, };
844
+ export { type Connection as Connection, type DatabaseConfig as DatabaseConfig, type ConnectionListResponse as ConnectionListResponse, type ConnectionRetrieveCredentialResponse as ConnectionRetrieveCredentialResponse, type ConnectionSyncResponse as ConnectionSyncResponse, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionUpdateParams as ConnectionUpdateParams, };
636
845
  export { Databases as Databases, type DatabaseDeleteSchemaParams as DatabaseDeleteSchemaParams };
637
846
  }
638
847
  //# sourceMappingURL=connections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/connections/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,0BAA0B,EAAE,SAAS,EAAE;OACzC,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItF;;;;;;;;OAQG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlE;;;;;;;;;OASG;IACH,kBAAkB,CAChB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAInD;;OAEG;IACH,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGzF;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,KAAK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CAClG"}
1
+ {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/connections/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,0BAA0B,EAAE,SAAS,EAAE;OACzC,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAItF;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;;;;;;;OAQG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IAIzB;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlE;;;;;;;;;OASG;IACH,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOxE;;;;;;;;;OASG;IACH,kBAAkB,CAChB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAInD;;OAEG;IACH,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGzF;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAA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