@deepnote/database-integrations 1.4.1 → 1.4.3
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.
- package/dist/index.cjs +74 -15
- package/dist/index.d.cts +205 -181
- package/dist/index.d.ts +205 -181
- package/dist/index.js +74 -16
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -34,26 +34,26 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
34
34
|
}, "strip", z$1.ZodTypeAny, {
|
|
35
35
|
password: string;
|
|
36
36
|
host: string;
|
|
37
|
-
database: string;
|
|
38
37
|
user: string;
|
|
39
|
-
|
|
38
|
+
database: string;
|
|
40
39
|
sshEnabled?: boolean | undefined;
|
|
41
40
|
sshHost?: string | undefined;
|
|
42
41
|
sshPort?: string | undefined;
|
|
43
42
|
sshUser?: string | undefined;
|
|
43
|
+
port?: string | undefined;
|
|
44
44
|
sslEnabled?: boolean | undefined;
|
|
45
45
|
caCertificateName?: string | undefined;
|
|
46
46
|
caCertificateText?: string | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
password: string;
|
|
49
49
|
host: string;
|
|
50
|
-
database: string;
|
|
51
50
|
user: string;
|
|
52
|
-
|
|
51
|
+
database: string;
|
|
53
52
|
sshEnabled?: boolean | undefined;
|
|
54
53
|
sshHost?: string | undefined;
|
|
55
54
|
sshPort?: string | undefined;
|
|
56
55
|
sshUser?: string | undefined;
|
|
56
|
+
port?: string | undefined;
|
|
57
57
|
sslEnabled?: boolean | undefined;
|
|
58
58
|
caCertificateName?: string | undefined;
|
|
59
59
|
caCertificateText?: string | undefined;
|
|
@@ -66,13 +66,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
66
66
|
metadata: {
|
|
67
67
|
password: string;
|
|
68
68
|
host: string;
|
|
69
|
-
database: string;
|
|
70
69
|
user: string;
|
|
71
|
-
|
|
70
|
+
database: string;
|
|
72
71
|
sshEnabled?: boolean | undefined;
|
|
73
72
|
sshHost?: string | undefined;
|
|
74
73
|
sshPort?: string | undefined;
|
|
75
74
|
sshUser?: string | undefined;
|
|
75
|
+
port?: string | undefined;
|
|
76
76
|
sslEnabled?: boolean | undefined;
|
|
77
77
|
caCertificateName?: string | undefined;
|
|
78
78
|
caCertificateText?: string | undefined;
|
|
@@ -85,13 +85,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
85
85
|
metadata: {
|
|
86
86
|
password: string;
|
|
87
87
|
host: string;
|
|
88
|
-
database: string;
|
|
89
88
|
user: string;
|
|
90
|
-
|
|
89
|
+
database: string;
|
|
91
90
|
sshEnabled?: boolean | undefined;
|
|
92
91
|
sshHost?: string | undefined;
|
|
93
92
|
sshPort?: string | undefined;
|
|
94
93
|
sshUser?: string | undefined;
|
|
94
|
+
port?: string | undefined;
|
|
95
95
|
sslEnabled?: boolean | undefined;
|
|
96
96
|
caCertificateName?: string | undefined;
|
|
97
97
|
caCertificateText?: string | undefined;
|
|
@@ -167,14 +167,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
167
167
|
clientSecret: z$1.ZodString;
|
|
168
168
|
}, "strip", z$1.ZodTypeAny, {
|
|
169
169
|
authMethod: "google-oauth";
|
|
170
|
+
project: string;
|
|
170
171
|
clientId: string;
|
|
171
172
|
clientSecret: string;
|
|
172
|
-
project: string;
|
|
173
173
|
}, {
|
|
174
174
|
authMethod: "google-oauth";
|
|
175
|
+
project: string;
|
|
175
176
|
clientId: string;
|
|
176
177
|
clientSecret: string;
|
|
177
|
-
project: string;
|
|
178
178
|
}>]>;
|
|
179
179
|
federated_auth_method: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodEnum<["service-account", "google-oauth"]>>>;
|
|
180
180
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -186,9 +186,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
186
186
|
authMethod?: "service-account" | undefined;
|
|
187
187
|
} | {
|
|
188
188
|
authMethod: "google-oauth";
|
|
189
|
+
project: string;
|
|
189
190
|
clientId: string;
|
|
190
191
|
clientSecret: string;
|
|
191
|
-
project: string;
|
|
192
192
|
};
|
|
193
193
|
federated_auth_method?: "service-account" | "google-oauth" | null | undefined;
|
|
194
194
|
}, {
|
|
@@ -200,9 +200,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
200
200
|
authMethod?: "service-account" | undefined;
|
|
201
201
|
} | {
|
|
202
202
|
authMethod: "google-oauth";
|
|
203
|
+
project: string;
|
|
203
204
|
clientId: string;
|
|
204
205
|
clientSecret: string;
|
|
205
|
-
project: string;
|
|
206
206
|
};
|
|
207
207
|
federated_auth_method?: "service-account" | "google-oauth" | null | undefined;
|
|
208
208
|
}>, z$1.ZodObject<{
|
|
@@ -225,27 +225,27 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
225
225
|
caCertificateText: z$1.ZodOptional<z$1.ZodString>;
|
|
226
226
|
}, "strip", z$1.ZodTypeAny, {
|
|
227
227
|
host: string;
|
|
228
|
-
database: string;
|
|
229
228
|
user: string;
|
|
229
|
+
database: string;
|
|
230
230
|
password?: string | undefined;
|
|
231
|
-
port?: string | undefined;
|
|
232
231
|
sshEnabled?: boolean | undefined;
|
|
233
232
|
sshHost?: string | undefined;
|
|
234
233
|
sshPort?: string | undefined;
|
|
235
234
|
sshUser?: string | undefined;
|
|
235
|
+
port?: string | undefined;
|
|
236
236
|
sslEnabled?: boolean | undefined;
|
|
237
237
|
caCertificateName?: string | undefined;
|
|
238
238
|
caCertificateText?: string | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
host: string;
|
|
241
|
-
database: string;
|
|
242
241
|
user: string;
|
|
242
|
+
database: string;
|
|
243
243
|
password?: string | undefined;
|
|
244
|
-
port?: string | undefined;
|
|
245
244
|
sshEnabled?: boolean | undefined;
|
|
246
245
|
sshHost?: string | undefined;
|
|
247
246
|
sshPort?: string | undefined;
|
|
248
247
|
sshUser?: string | undefined;
|
|
248
|
+
port?: string | undefined;
|
|
249
249
|
sslEnabled?: boolean | undefined;
|
|
250
250
|
caCertificateName?: string | undefined;
|
|
251
251
|
caCertificateText?: string | undefined;
|
|
@@ -257,14 +257,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
257
257
|
name: string;
|
|
258
258
|
metadata: {
|
|
259
259
|
host: string;
|
|
260
|
-
database: string;
|
|
261
260
|
user: string;
|
|
261
|
+
database: string;
|
|
262
262
|
password?: string | undefined;
|
|
263
|
-
port?: string | undefined;
|
|
264
263
|
sshEnabled?: boolean | undefined;
|
|
265
264
|
sshHost?: string | undefined;
|
|
266
265
|
sshPort?: string | undefined;
|
|
267
266
|
sshUser?: string | undefined;
|
|
267
|
+
port?: string | undefined;
|
|
268
268
|
sslEnabled?: boolean | undefined;
|
|
269
269
|
caCertificateName?: string | undefined;
|
|
270
270
|
caCertificateText?: string | undefined;
|
|
@@ -276,14 +276,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
276
276
|
name: string;
|
|
277
277
|
metadata: {
|
|
278
278
|
host: string;
|
|
279
|
-
database: string;
|
|
280
279
|
user: string;
|
|
280
|
+
database: string;
|
|
281
281
|
password?: string | undefined;
|
|
282
|
-
port?: string | undefined;
|
|
283
282
|
sshEnabled?: boolean | undefined;
|
|
284
283
|
sshHost?: string | undefined;
|
|
285
284
|
sshPort?: string | undefined;
|
|
286
285
|
sshUser?: string | undefined;
|
|
286
|
+
port?: string | undefined;
|
|
287
287
|
sslEnabled?: boolean | undefined;
|
|
288
288
|
caCertificateName?: string | undefined;
|
|
289
289
|
caCertificateText?: string | undefined;
|
|
@@ -449,26 +449,26 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
449
449
|
}, "strip", z$1.ZodTypeAny, {
|
|
450
450
|
password: string;
|
|
451
451
|
host: string;
|
|
452
|
-
database: string;
|
|
453
452
|
user: string;
|
|
454
|
-
|
|
453
|
+
database: string;
|
|
455
454
|
sshEnabled?: boolean | undefined;
|
|
456
455
|
sshHost?: string | undefined;
|
|
457
456
|
sshPort?: string | undefined;
|
|
458
457
|
sshUser?: string | undefined;
|
|
458
|
+
port?: string | undefined;
|
|
459
459
|
sslEnabled?: boolean | undefined;
|
|
460
460
|
caCertificateName?: string | undefined;
|
|
461
461
|
caCertificateText?: string | undefined;
|
|
462
462
|
}, {
|
|
463
463
|
password: string;
|
|
464
464
|
host: string;
|
|
465
|
-
database: string;
|
|
466
465
|
user: string;
|
|
467
|
-
|
|
466
|
+
database: string;
|
|
468
467
|
sshEnabled?: boolean | undefined;
|
|
469
468
|
sshHost?: string | undefined;
|
|
470
469
|
sshPort?: string | undefined;
|
|
471
470
|
sshUser?: string | undefined;
|
|
471
|
+
port?: string | undefined;
|
|
472
472
|
sslEnabled?: boolean | undefined;
|
|
473
473
|
caCertificateName?: string | undefined;
|
|
474
474
|
caCertificateText?: string | undefined;
|
|
@@ -481,13 +481,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
481
481
|
metadata: {
|
|
482
482
|
password: string;
|
|
483
483
|
host: string;
|
|
484
|
-
database: string;
|
|
485
484
|
user: string;
|
|
486
|
-
|
|
485
|
+
database: string;
|
|
487
486
|
sshEnabled?: boolean | undefined;
|
|
488
487
|
sshHost?: string | undefined;
|
|
489
488
|
sshPort?: string | undefined;
|
|
490
489
|
sshUser?: string | undefined;
|
|
490
|
+
port?: string | undefined;
|
|
491
491
|
sslEnabled?: boolean | undefined;
|
|
492
492
|
caCertificateName?: string | undefined;
|
|
493
493
|
caCertificateText?: string | undefined;
|
|
@@ -500,13 +500,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
500
500
|
metadata: {
|
|
501
501
|
password: string;
|
|
502
502
|
host: string;
|
|
503
|
-
database: string;
|
|
504
503
|
user: string;
|
|
505
|
-
|
|
504
|
+
database: string;
|
|
506
505
|
sshEnabled?: boolean | undefined;
|
|
507
506
|
sshHost?: string | undefined;
|
|
508
507
|
sshPort?: string | undefined;
|
|
509
508
|
sshUser?: string | undefined;
|
|
509
|
+
port?: string | undefined;
|
|
510
510
|
sslEnabled?: boolean | undefined;
|
|
511
511
|
caCertificateName?: string | undefined;
|
|
512
512
|
caCertificateText?: string | undefined;
|
|
@@ -536,28 +536,28 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
536
536
|
}, "strip", z$1.ZodTypeAny, {
|
|
537
537
|
password: string;
|
|
538
538
|
host: string;
|
|
539
|
-
database: string;
|
|
540
539
|
user: string;
|
|
540
|
+
database: string;
|
|
541
541
|
cluster: string;
|
|
542
|
-
port?: string | undefined;
|
|
543
542
|
sshEnabled?: boolean | undefined;
|
|
544
543
|
sshHost?: string | undefined;
|
|
545
544
|
sshPort?: string | undefined;
|
|
546
545
|
sshUser?: string | undefined;
|
|
546
|
+
port?: string | undefined;
|
|
547
547
|
sslEnabled?: boolean | undefined;
|
|
548
548
|
caCertificateName?: string | undefined;
|
|
549
549
|
caCertificateText?: string | undefined;
|
|
550
550
|
}, {
|
|
551
551
|
password: string;
|
|
552
552
|
host: string;
|
|
553
|
-
database: string;
|
|
554
553
|
user: string;
|
|
554
|
+
database: string;
|
|
555
555
|
cluster: string;
|
|
556
|
-
port?: string | undefined;
|
|
557
556
|
sshEnabled?: boolean | undefined;
|
|
558
557
|
sshHost?: string | undefined;
|
|
559
558
|
sshPort?: string | undefined;
|
|
560
559
|
sshUser?: string | undefined;
|
|
560
|
+
port?: string | undefined;
|
|
561
561
|
sslEnabled?: boolean | undefined;
|
|
562
562
|
caCertificateName?: string | undefined;
|
|
563
563
|
caCertificateText?: string | undefined;
|
|
@@ -570,14 +570,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
570
570
|
metadata: {
|
|
571
571
|
password: string;
|
|
572
572
|
host: string;
|
|
573
|
-
database: string;
|
|
574
573
|
user: string;
|
|
574
|
+
database: string;
|
|
575
575
|
cluster: string;
|
|
576
|
-
port?: string | undefined;
|
|
577
576
|
sshEnabled?: boolean | undefined;
|
|
578
577
|
sshHost?: string | undefined;
|
|
579
578
|
sshPort?: string | undefined;
|
|
580
579
|
sshUser?: string | undefined;
|
|
580
|
+
port?: string | undefined;
|
|
581
581
|
sslEnabled?: boolean | undefined;
|
|
582
582
|
caCertificateName?: string | undefined;
|
|
583
583
|
caCertificateText?: string | undefined;
|
|
@@ -590,14 +590,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
590
590
|
metadata: {
|
|
591
591
|
password: string;
|
|
592
592
|
host: string;
|
|
593
|
-
database: string;
|
|
594
593
|
user: string;
|
|
594
|
+
database: string;
|
|
595
595
|
cluster: string;
|
|
596
|
-
port?: string | undefined;
|
|
597
596
|
sshEnabled?: boolean | undefined;
|
|
598
597
|
sshHost?: string | undefined;
|
|
599
598
|
sshPort?: string | undefined;
|
|
600
599
|
sshUser?: string | undefined;
|
|
600
|
+
port?: string | undefined;
|
|
601
601
|
sslEnabled?: boolean | undefined;
|
|
602
602
|
caCertificateName?: string | undefined;
|
|
603
603
|
caCertificateText?: string | undefined;
|
|
@@ -625,26 +625,26 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
625
625
|
}, "strip", z$1.ZodTypeAny, {
|
|
626
626
|
password: string;
|
|
627
627
|
host: string;
|
|
628
|
-
database: string;
|
|
629
628
|
user: string;
|
|
630
|
-
|
|
629
|
+
database: string;
|
|
631
630
|
sshEnabled?: boolean | undefined;
|
|
632
631
|
sshHost?: string | undefined;
|
|
633
632
|
sshPort?: string | undefined;
|
|
634
633
|
sshUser?: string | undefined;
|
|
634
|
+
port?: string | undefined;
|
|
635
635
|
sslEnabled?: boolean | undefined;
|
|
636
636
|
caCertificateName?: string | undefined;
|
|
637
637
|
caCertificateText?: string | undefined;
|
|
638
638
|
}, {
|
|
639
639
|
password: string;
|
|
640
640
|
host: string;
|
|
641
|
-
database: string;
|
|
642
641
|
user: string;
|
|
643
|
-
|
|
642
|
+
database: string;
|
|
644
643
|
sshEnabled?: boolean | undefined;
|
|
645
644
|
sshHost?: string | undefined;
|
|
646
645
|
sshPort?: string | undefined;
|
|
647
646
|
sshUser?: string | undefined;
|
|
647
|
+
port?: string | undefined;
|
|
648
648
|
sslEnabled?: boolean | undefined;
|
|
649
649
|
caCertificateName?: string | undefined;
|
|
650
650
|
caCertificateText?: string | undefined;
|
|
@@ -657,13 +657,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
657
657
|
metadata: {
|
|
658
658
|
password: string;
|
|
659
659
|
host: string;
|
|
660
|
-
database: string;
|
|
661
660
|
user: string;
|
|
662
|
-
|
|
661
|
+
database: string;
|
|
663
662
|
sshEnabled?: boolean | undefined;
|
|
664
663
|
sshHost?: string | undefined;
|
|
665
664
|
sshPort?: string | undefined;
|
|
666
665
|
sshUser?: string | undefined;
|
|
666
|
+
port?: string | undefined;
|
|
667
667
|
sslEnabled?: boolean | undefined;
|
|
668
668
|
caCertificateName?: string | undefined;
|
|
669
669
|
caCertificateText?: string | undefined;
|
|
@@ -676,13 +676,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
676
676
|
metadata: {
|
|
677
677
|
password: string;
|
|
678
678
|
host: string;
|
|
679
|
-
database: string;
|
|
680
679
|
user: string;
|
|
681
|
-
|
|
680
|
+
database: string;
|
|
682
681
|
sshEnabled?: boolean | undefined;
|
|
683
682
|
sshHost?: string | undefined;
|
|
684
683
|
sshPort?: string | undefined;
|
|
685
684
|
sshUser?: string | undefined;
|
|
685
|
+
port?: string | undefined;
|
|
686
686
|
sslEnabled?: boolean | undefined;
|
|
687
687
|
caCertificateName?: string | undefined;
|
|
688
688
|
caCertificateText?: string | undefined;
|
|
@@ -713,35 +713,35 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
713
713
|
}, "strip", z$1.ZodTypeAny, {
|
|
714
714
|
connection_string: string;
|
|
715
715
|
password?: string | undefined;
|
|
716
|
+
options?: string | undefined;
|
|
716
717
|
host?: string | undefined;
|
|
717
|
-
|
|
718
|
+
user?: string | undefined;
|
|
718
719
|
database?: string | undefined;
|
|
719
720
|
sshEnabled?: boolean | undefined;
|
|
720
721
|
sshHost?: string | undefined;
|
|
721
722
|
sshPort?: string | undefined;
|
|
722
723
|
sshUser?: string | undefined;
|
|
724
|
+
port?: string | undefined;
|
|
723
725
|
sslEnabled?: boolean | undefined;
|
|
724
726
|
caCertificateName?: string | undefined;
|
|
725
727
|
caCertificateText?: string | undefined;
|
|
726
|
-
options?: string | undefined;
|
|
727
|
-
user?: string | undefined;
|
|
728
728
|
rawConnectionString?: string | undefined;
|
|
729
729
|
prefix?: string | undefined;
|
|
730
730
|
}, {
|
|
731
731
|
connection_string: string;
|
|
732
732
|
password?: string | undefined;
|
|
733
|
+
options?: string | undefined;
|
|
733
734
|
host?: string | undefined;
|
|
734
|
-
|
|
735
|
+
user?: string | undefined;
|
|
735
736
|
database?: string | undefined;
|
|
736
737
|
sshEnabled?: boolean | undefined;
|
|
737
738
|
sshHost?: string | undefined;
|
|
738
739
|
sshPort?: string | undefined;
|
|
739
740
|
sshUser?: string | undefined;
|
|
741
|
+
port?: string | undefined;
|
|
740
742
|
sslEnabled?: boolean | undefined;
|
|
741
743
|
caCertificateName?: string | undefined;
|
|
742
744
|
caCertificateText?: string | undefined;
|
|
743
|
-
options?: string | undefined;
|
|
744
|
-
user?: string | undefined;
|
|
745
745
|
rawConnectionString?: string | undefined;
|
|
746
746
|
prefix?: string | undefined;
|
|
747
747
|
}>;
|
|
@@ -753,18 +753,18 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
753
753
|
metadata: {
|
|
754
754
|
connection_string: string;
|
|
755
755
|
password?: string | undefined;
|
|
756
|
+
options?: string | undefined;
|
|
756
757
|
host?: string | undefined;
|
|
757
|
-
|
|
758
|
+
user?: string | undefined;
|
|
758
759
|
database?: string | undefined;
|
|
759
760
|
sshEnabled?: boolean | undefined;
|
|
760
761
|
sshHost?: string | undefined;
|
|
761
762
|
sshPort?: string | undefined;
|
|
762
763
|
sshUser?: string | undefined;
|
|
764
|
+
port?: string | undefined;
|
|
763
765
|
sslEnabled?: boolean | undefined;
|
|
764
766
|
caCertificateName?: string | undefined;
|
|
765
767
|
caCertificateText?: string | undefined;
|
|
766
|
-
options?: string | undefined;
|
|
767
|
-
user?: string | undefined;
|
|
768
768
|
rawConnectionString?: string | undefined;
|
|
769
769
|
prefix?: string | undefined;
|
|
770
770
|
};
|
|
@@ -776,18 +776,18 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
776
776
|
metadata: {
|
|
777
777
|
connection_string: string;
|
|
778
778
|
password?: string | undefined;
|
|
779
|
+
options?: string | undefined;
|
|
779
780
|
host?: string | undefined;
|
|
780
|
-
|
|
781
|
+
user?: string | undefined;
|
|
781
782
|
database?: string | undefined;
|
|
782
783
|
sshEnabled?: boolean | undefined;
|
|
783
784
|
sshHost?: string | undefined;
|
|
784
785
|
sshPort?: string | undefined;
|
|
785
786
|
sshUser?: string | undefined;
|
|
787
|
+
port?: string | undefined;
|
|
786
788
|
sslEnabled?: boolean | undefined;
|
|
787
789
|
caCertificateName?: string | undefined;
|
|
788
790
|
caCertificateText?: string | undefined;
|
|
789
|
-
options?: string | undefined;
|
|
790
|
-
user?: string | undefined;
|
|
791
791
|
rawConnectionString?: string | undefined;
|
|
792
792
|
prefix?: string | undefined;
|
|
793
793
|
};
|
|
@@ -814,26 +814,26 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
814
814
|
}, "strip", z$1.ZodTypeAny, {
|
|
815
815
|
password: string;
|
|
816
816
|
host: string;
|
|
817
|
-
database: string;
|
|
818
817
|
user: string;
|
|
819
|
-
|
|
818
|
+
database: string;
|
|
820
819
|
sshEnabled?: boolean | undefined;
|
|
821
820
|
sshHost?: string | undefined;
|
|
822
821
|
sshPort?: string | undefined;
|
|
823
822
|
sshUser?: string | undefined;
|
|
823
|
+
port?: string | undefined;
|
|
824
824
|
sslEnabled?: boolean | undefined;
|
|
825
825
|
caCertificateName?: string | undefined;
|
|
826
826
|
caCertificateText?: string | undefined;
|
|
827
827
|
}, {
|
|
828
828
|
password: string;
|
|
829
829
|
host: string;
|
|
830
|
-
database: string;
|
|
831
830
|
user: string;
|
|
832
|
-
|
|
831
|
+
database: string;
|
|
833
832
|
sshEnabled?: boolean | undefined;
|
|
834
833
|
sshHost?: string | undefined;
|
|
835
834
|
sshPort?: string | undefined;
|
|
836
835
|
sshUser?: string | undefined;
|
|
836
|
+
port?: string | undefined;
|
|
837
837
|
sslEnabled?: boolean | undefined;
|
|
838
838
|
caCertificateName?: string | undefined;
|
|
839
839
|
caCertificateText?: string | undefined;
|
|
@@ -846,13 +846,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
846
846
|
metadata: {
|
|
847
847
|
password: string;
|
|
848
848
|
host: string;
|
|
849
|
-
database: string;
|
|
850
849
|
user: string;
|
|
851
|
-
|
|
850
|
+
database: string;
|
|
852
851
|
sshEnabled?: boolean | undefined;
|
|
853
852
|
sshHost?: string | undefined;
|
|
854
853
|
sshPort?: string | undefined;
|
|
855
854
|
sshUser?: string | undefined;
|
|
855
|
+
port?: string | undefined;
|
|
856
856
|
sslEnabled?: boolean | undefined;
|
|
857
857
|
caCertificateName?: string | undefined;
|
|
858
858
|
caCertificateText?: string | undefined;
|
|
@@ -865,13 +865,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
865
865
|
metadata: {
|
|
866
866
|
password: string;
|
|
867
867
|
host: string;
|
|
868
|
-
database: string;
|
|
869
868
|
user: string;
|
|
870
|
-
|
|
869
|
+
database: string;
|
|
871
870
|
sshEnabled?: boolean | undefined;
|
|
872
871
|
sshHost?: string | undefined;
|
|
873
872
|
sshPort?: string | undefined;
|
|
874
873
|
sshUser?: string | undefined;
|
|
874
|
+
port?: string | undefined;
|
|
875
875
|
sslEnabled?: boolean | undefined;
|
|
876
876
|
caCertificateName?: string | undefined;
|
|
877
877
|
caCertificateText?: string | undefined;
|
|
@@ -918,26 +918,26 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
918
918
|
}, "strip", z$1.ZodTypeAny, {
|
|
919
919
|
password: string;
|
|
920
920
|
host: string;
|
|
921
|
-
database: string;
|
|
922
921
|
user: string;
|
|
923
|
-
|
|
922
|
+
database: string;
|
|
924
923
|
sshEnabled?: boolean | undefined;
|
|
925
924
|
sshHost?: string | undefined;
|
|
926
925
|
sshPort?: string | undefined;
|
|
927
926
|
sshUser?: string | undefined;
|
|
927
|
+
port?: string | undefined;
|
|
928
928
|
sslEnabled?: boolean | undefined;
|
|
929
929
|
caCertificateName?: string | undefined;
|
|
930
930
|
caCertificateText?: string | undefined;
|
|
931
931
|
}, {
|
|
932
932
|
password: string;
|
|
933
933
|
host: string;
|
|
934
|
-
database: string;
|
|
935
934
|
user: string;
|
|
936
|
-
|
|
935
|
+
database: string;
|
|
937
936
|
sshEnabled?: boolean | undefined;
|
|
938
937
|
sshHost?: string | undefined;
|
|
939
938
|
sshPort?: string | undefined;
|
|
940
939
|
sshUser?: string | undefined;
|
|
940
|
+
port?: string | undefined;
|
|
941
941
|
sslEnabled?: boolean | undefined;
|
|
942
942
|
caCertificateName?: string | undefined;
|
|
943
943
|
caCertificateText?: string | undefined;
|
|
@@ -950,13 +950,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
950
950
|
metadata: {
|
|
951
951
|
password: string;
|
|
952
952
|
host: string;
|
|
953
|
-
database: string;
|
|
954
953
|
user: string;
|
|
955
|
-
|
|
954
|
+
database: string;
|
|
956
955
|
sshEnabled?: boolean | undefined;
|
|
957
956
|
sshHost?: string | undefined;
|
|
958
957
|
sshPort?: string | undefined;
|
|
959
958
|
sshUser?: string | undefined;
|
|
959
|
+
port?: string | undefined;
|
|
960
960
|
sslEnabled?: boolean | undefined;
|
|
961
961
|
caCertificateName?: string | undefined;
|
|
962
962
|
caCertificateText?: string | undefined;
|
|
@@ -969,13 +969,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
969
969
|
metadata: {
|
|
970
970
|
password: string;
|
|
971
971
|
host: string;
|
|
972
|
-
database: string;
|
|
973
972
|
user: string;
|
|
974
|
-
|
|
973
|
+
database: string;
|
|
975
974
|
sshEnabled?: boolean | undefined;
|
|
976
975
|
sshHost?: string | undefined;
|
|
977
976
|
sshPort?: string | undefined;
|
|
978
977
|
sshUser?: string | undefined;
|
|
978
|
+
port?: string | undefined;
|
|
979
979
|
sslEnabled?: boolean | undefined;
|
|
980
980
|
caCertificateName?: string | undefined;
|
|
981
981
|
caCertificateText?: string | undefined;
|
|
@@ -1004,13 +1004,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1004
1004
|
}, "strip", z$1.ZodTypeAny, {
|
|
1005
1005
|
password: string;
|
|
1006
1006
|
host: string;
|
|
1007
|
-
database: string;
|
|
1008
1007
|
user: string;
|
|
1009
|
-
|
|
1008
|
+
database: string;
|
|
1010
1009
|
sshEnabled?: boolean | undefined;
|
|
1011
1010
|
sshHost?: string | undefined;
|
|
1012
1011
|
sshPort?: string | undefined;
|
|
1013
1012
|
sshUser?: string | undefined;
|
|
1013
|
+
port?: string | undefined;
|
|
1014
1014
|
sslEnabled?: boolean | undefined;
|
|
1015
1015
|
caCertificateName?: string | undefined;
|
|
1016
1016
|
caCertificateText?: string | undefined;
|
|
@@ -1018,13 +1018,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1018
1018
|
}, {
|
|
1019
1019
|
password: string;
|
|
1020
1020
|
host: string;
|
|
1021
|
-
database: string;
|
|
1022
1021
|
user: string;
|
|
1023
|
-
|
|
1022
|
+
database: string;
|
|
1024
1023
|
sshEnabled?: boolean | undefined;
|
|
1025
1024
|
sshHost?: string | undefined;
|
|
1026
1025
|
sshPort?: string | undefined;
|
|
1027
1026
|
sshUser?: string | undefined;
|
|
1027
|
+
port?: string | undefined;
|
|
1028
1028
|
sslEnabled?: boolean | undefined;
|
|
1029
1029
|
caCertificateName?: string | undefined;
|
|
1030
1030
|
caCertificateText?: string | undefined;
|
|
@@ -1052,11 +1052,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1052
1052
|
roleArn: string;
|
|
1053
1053
|
roleExternalId: string;
|
|
1054
1054
|
roleNonce: string;
|
|
1055
|
-
port?: string | undefined;
|
|
1056
1055
|
sshEnabled?: boolean | undefined;
|
|
1057
1056
|
sshHost?: string | undefined;
|
|
1058
1057
|
sshPort?: string | undefined;
|
|
1059
1058
|
sshUser?: string | undefined;
|
|
1059
|
+
port?: string | undefined;
|
|
1060
1060
|
sslEnabled?: boolean | undefined;
|
|
1061
1061
|
caCertificateName?: string | undefined;
|
|
1062
1062
|
caCertificateText?: string | undefined;
|
|
@@ -1067,11 +1067,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1067
1067
|
roleArn: string;
|
|
1068
1068
|
roleExternalId: string;
|
|
1069
1069
|
roleNonce: string;
|
|
1070
|
-
port?: string | undefined;
|
|
1071
1070
|
sshEnabled?: boolean | undefined;
|
|
1072
1071
|
sshHost?: string | undefined;
|
|
1073
1072
|
sshPort?: string | undefined;
|
|
1074
1073
|
sshUser?: string | undefined;
|
|
1074
|
+
port?: string | undefined;
|
|
1075
1075
|
sslEnabled?: boolean | undefined;
|
|
1076
1076
|
caCertificateName?: string | undefined;
|
|
1077
1077
|
caCertificateText?: string | undefined;
|
|
@@ -1092,11 +1092,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1092
1092
|
host: string;
|
|
1093
1093
|
database: string;
|
|
1094
1094
|
authMethod: "individual-credentials";
|
|
1095
|
-
port?: string | undefined;
|
|
1096
1095
|
sshEnabled?: boolean | undefined;
|
|
1097
1096
|
sshHost?: string | undefined;
|
|
1098
1097
|
sshPort?: string | undefined;
|
|
1099
1098
|
sshUser?: string | undefined;
|
|
1099
|
+
port?: string | undefined;
|
|
1100
1100
|
sslEnabled?: boolean | undefined;
|
|
1101
1101
|
caCertificateName?: string | undefined;
|
|
1102
1102
|
caCertificateText?: string | undefined;
|
|
@@ -1104,24 +1104,24 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1104
1104
|
host: string;
|
|
1105
1105
|
database: string;
|
|
1106
1106
|
authMethod: "individual-credentials";
|
|
1107
|
-
port?: string | undefined;
|
|
1108
1107
|
sshEnabled?: boolean | undefined;
|
|
1109
1108
|
sshHost?: string | undefined;
|
|
1110
1109
|
sshPort?: string | undefined;
|
|
1111
1110
|
sshUser?: string | undefined;
|
|
1111
|
+
port?: string | undefined;
|
|
1112
1112
|
sslEnabled?: boolean | undefined;
|
|
1113
1113
|
caCertificateName?: string | undefined;
|
|
1114
1114
|
caCertificateText?: string | undefined;
|
|
1115
1115
|
}>]>, {
|
|
1116
1116
|
password: string;
|
|
1117
1117
|
host: string;
|
|
1118
|
-
database: string;
|
|
1119
1118
|
user: string;
|
|
1120
|
-
|
|
1119
|
+
database: string;
|
|
1121
1120
|
sshEnabled?: boolean | undefined;
|
|
1122
1121
|
sshHost?: string | undefined;
|
|
1123
1122
|
sshPort?: string | undefined;
|
|
1124
1123
|
sshUser?: string | undefined;
|
|
1124
|
+
port?: string | undefined;
|
|
1125
1125
|
sslEnabled?: boolean | undefined;
|
|
1126
1126
|
caCertificateName?: string | undefined;
|
|
1127
1127
|
caCertificateText?: string | undefined;
|
|
@@ -1133,11 +1133,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1133
1133
|
roleArn: string;
|
|
1134
1134
|
roleExternalId: string;
|
|
1135
1135
|
roleNonce: string;
|
|
1136
|
-
port?: string | undefined;
|
|
1137
1136
|
sshEnabled?: boolean | undefined;
|
|
1138
1137
|
sshHost?: string | undefined;
|
|
1139
1138
|
sshPort?: string | undefined;
|
|
1140
1139
|
sshUser?: string | undefined;
|
|
1140
|
+
port?: string | undefined;
|
|
1141
1141
|
sslEnabled?: boolean | undefined;
|
|
1142
1142
|
caCertificateName?: string | undefined;
|
|
1143
1143
|
caCertificateText?: string | undefined;
|
|
@@ -1145,11 +1145,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1145
1145
|
host: string;
|
|
1146
1146
|
database: string;
|
|
1147
1147
|
authMethod: "individual-credentials";
|
|
1148
|
-
port?: string | undefined;
|
|
1149
1148
|
sshEnabled?: boolean | undefined;
|
|
1150
1149
|
sshHost?: string | undefined;
|
|
1151
1150
|
sshPort?: string | undefined;
|
|
1152
1151
|
sshUser?: string | undefined;
|
|
1152
|
+
port?: string | undefined;
|
|
1153
1153
|
sslEnabled?: boolean | undefined;
|
|
1154
1154
|
caCertificateName?: string | undefined;
|
|
1155
1155
|
caCertificateText?: string | undefined;
|
|
@@ -1162,13 +1162,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1162
1162
|
metadata: {
|
|
1163
1163
|
password: string;
|
|
1164
1164
|
host: string;
|
|
1165
|
-
database: string;
|
|
1166
1165
|
user: string;
|
|
1167
|
-
|
|
1166
|
+
database: string;
|
|
1168
1167
|
sshEnabled?: boolean | undefined;
|
|
1169
1168
|
sshHost?: string | undefined;
|
|
1170
1169
|
sshPort?: string | undefined;
|
|
1171
1170
|
sshUser?: string | undefined;
|
|
1171
|
+
port?: string | undefined;
|
|
1172
1172
|
sslEnabled?: boolean | undefined;
|
|
1173
1173
|
caCertificateName?: string | undefined;
|
|
1174
1174
|
caCertificateText?: string | undefined;
|
|
@@ -1180,11 +1180,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1180
1180
|
roleArn: string;
|
|
1181
1181
|
roleExternalId: string;
|
|
1182
1182
|
roleNonce: string;
|
|
1183
|
-
port?: string | undefined;
|
|
1184
1183
|
sshEnabled?: boolean | undefined;
|
|
1185
1184
|
sshHost?: string | undefined;
|
|
1186
1185
|
sshPort?: string | undefined;
|
|
1187
1186
|
sshUser?: string | undefined;
|
|
1187
|
+
port?: string | undefined;
|
|
1188
1188
|
sslEnabled?: boolean | undefined;
|
|
1189
1189
|
caCertificateName?: string | undefined;
|
|
1190
1190
|
caCertificateText?: string | undefined;
|
|
@@ -1192,11 +1192,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1192
1192
|
host: string;
|
|
1193
1193
|
database: string;
|
|
1194
1194
|
authMethod: "individual-credentials";
|
|
1195
|
-
port?: string | undefined;
|
|
1196
1195
|
sshEnabled?: boolean | undefined;
|
|
1197
1196
|
sshHost?: string | undefined;
|
|
1198
1197
|
sshPort?: string | undefined;
|
|
1199
1198
|
sshUser?: string | undefined;
|
|
1199
|
+
port?: string | undefined;
|
|
1200
1200
|
sslEnabled?: boolean | undefined;
|
|
1201
1201
|
caCertificateName?: string | undefined;
|
|
1202
1202
|
caCertificateText?: string | undefined;
|
|
@@ -1676,9 +1676,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1676
1676
|
}, "strip", z$1.ZodTypeAny, {
|
|
1677
1677
|
password: string;
|
|
1678
1678
|
host: string;
|
|
1679
|
-
port: string;
|
|
1680
|
-
database: string;
|
|
1681
1679
|
user: string;
|
|
1680
|
+
database: string;
|
|
1681
|
+
port: string;
|
|
1682
1682
|
sshEnabled?: boolean | undefined;
|
|
1683
1683
|
sshHost?: string | undefined;
|
|
1684
1684
|
sshPort?: string | undefined;
|
|
@@ -1686,9 +1686,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1686
1686
|
}, {
|
|
1687
1687
|
password: string;
|
|
1688
1688
|
host: string;
|
|
1689
|
-
port: string;
|
|
1690
|
-
database: string;
|
|
1691
1689
|
user: string;
|
|
1690
|
+
database: string;
|
|
1691
|
+
port: string;
|
|
1692
1692
|
sshEnabled?: boolean | undefined;
|
|
1693
1693
|
sshHost?: string | undefined;
|
|
1694
1694
|
sshPort?: string | undefined;
|
|
@@ -1702,9 +1702,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1702
1702
|
metadata: {
|
|
1703
1703
|
password: string;
|
|
1704
1704
|
host: string;
|
|
1705
|
-
port: string;
|
|
1706
|
-
database: string;
|
|
1707
1705
|
user: string;
|
|
1706
|
+
database: string;
|
|
1707
|
+
port: string;
|
|
1708
1708
|
sshEnabled?: boolean | undefined;
|
|
1709
1709
|
sshHost?: string | undefined;
|
|
1710
1710
|
sshPort?: string | undefined;
|
|
@@ -1718,9 +1718,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1718
1718
|
metadata: {
|
|
1719
1719
|
password: string;
|
|
1720
1720
|
host: string;
|
|
1721
|
-
port: string;
|
|
1722
|
-
database: string;
|
|
1723
1721
|
user: string;
|
|
1722
|
+
database: string;
|
|
1723
|
+
port: string;
|
|
1724
1724
|
sshEnabled?: boolean | undefined;
|
|
1725
1725
|
sshHost?: string | undefined;
|
|
1726
1726
|
sshPort?: string | undefined;
|
|
@@ -1750,13 +1750,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1750
1750
|
}, "strip", z$1.ZodTypeAny, {
|
|
1751
1751
|
password: string;
|
|
1752
1752
|
host: string;
|
|
1753
|
-
database: string;
|
|
1754
1753
|
user: string;
|
|
1755
|
-
|
|
1754
|
+
database: string;
|
|
1756
1755
|
sshEnabled?: boolean | undefined;
|
|
1757
1756
|
sshHost?: string | undefined;
|
|
1758
1757
|
sshPort?: string | undefined;
|
|
1759
1758
|
sshUser?: string | undefined;
|
|
1759
|
+
port?: string | undefined;
|
|
1760
1760
|
sslEnabled?: boolean | undefined;
|
|
1761
1761
|
caCertificateName?: string | undefined;
|
|
1762
1762
|
caCertificateText?: string | undefined;
|
|
@@ -1764,13 +1764,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1764
1764
|
}, {
|
|
1765
1765
|
password: string;
|
|
1766
1766
|
host: string;
|
|
1767
|
-
database: string;
|
|
1768
1767
|
user: string;
|
|
1769
|
-
|
|
1768
|
+
database: string;
|
|
1770
1769
|
sshEnabled?: boolean | undefined;
|
|
1771
1770
|
sshHost?: string | undefined;
|
|
1772
1771
|
sshPort?: string | undefined;
|
|
1773
1772
|
sshUser?: string | undefined;
|
|
1773
|
+
port?: string | undefined;
|
|
1774
1774
|
sslEnabled?: boolean | undefined;
|
|
1775
1775
|
caCertificateName?: string | undefined;
|
|
1776
1776
|
caCertificateText?: string | undefined;
|
|
@@ -1800,11 +1800,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1800
1800
|
clientSecret: string;
|
|
1801
1801
|
authUrl: string;
|
|
1802
1802
|
tokenUrl: string;
|
|
1803
|
-
port?: string | undefined;
|
|
1804
1803
|
sshEnabled?: boolean | undefined;
|
|
1805
1804
|
sshHost?: string | undefined;
|
|
1806
1805
|
sshPort?: string | undefined;
|
|
1807
1806
|
sshUser?: string | undefined;
|
|
1807
|
+
port?: string | undefined;
|
|
1808
1808
|
sslEnabled?: boolean | undefined;
|
|
1809
1809
|
caCertificateName?: string | undefined;
|
|
1810
1810
|
caCertificateText?: string | undefined;
|
|
@@ -1816,11 +1816,11 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1816
1816
|
clientSecret: string;
|
|
1817
1817
|
authUrl: string;
|
|
1818
1818
|
tokenUrl: string;
|
|
1819
|
-
port?: string | undefined;
|
|
1820
1819
|
sshEnabled?: boolean | undefined;
|
|
1821
1820
|
sshHost?: string | undefined;
|
|
1822
1821
|
sshPort?: string | undefined;
|
|
1823
1822
|
sshUser?: string | undefined;
|
|
1823
|
+
port?: string | undefined;
|
|
1824
1824
|
sslEnabled?: boolean | undefined;
|
|
1825
1825
|
caCertificateName?: string | undefined;
|
|
1826
1826
|
caCertificateText?: string | undefined;
|
|
@@ -1831,35 +1831,35 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1831
1831
|
id: string;
|
|
1832
1832
|
name: string;
|
|
1833
1833
|
metadata: {
|
|
1834
|
+
password: string;
|
|
1834
1835
|
host: string;
|
|
1836
|
+
user: string;
|
|
1835
1837
|
database: string;
|
|
1836
|
-
authMethod: "trino-oauth";
|
|
1837
|
-
clientId: string;
|
|
1838
|
-
clientSecret: string;
|
|
1839
|
-
authUrl: string;
|
|
1840
|
-
tokenUrl: string;
|
|
1841
|
-
port?: string | undefined;
|
|
1842
1838
|
sshEnabled?: boolean | undefined;
|
|
1843
1839
|
sshHost?: string | undefined;
|
|
1844
1840
|
sshPort?: string | undefined;
|
|
1845
1841
|
sshUser?: string | undefined;
|
|
1842
|
+
port?: string | undefined;
|
|
1846
1843
|
sslEnabled?: boolean | undefined;
|
|
1847
1844
|
caCertificateName?: string | undefined;
|
|
1848
1845
|
caCertificateText?: string | undefined;
|
|
1846
|
+
authMethod?: "password" | null | undefined;
|
|
1849
1847
|
} | {
|
|
1850
|
-
password: string;
|
|
1851
1848
|
host: string;
|
|
1852
1849
|
database: string;
|
|
1853
|
-
|
|
1854
|
-
|
|
1850
|
+
authMethod: "trino-oauth";
|
|
1851
|
+
clientId: string;
|
|
1852
|
+
clientSecret: string;
|
|
1853
|
+
authUrl: string;
|
|
1854
|
+
tokenUrl: string;
|
|
1855
1855
|
sshEnabled?: boolean | undefined;
|
|
1856
1856
|
sshHost?: string | undefined;
|
|
1857
1857
|
sshPort?: string | undefined;
|
|
1858
1858
|
sshUser?: string | undefined;
|
|
1859
|
+
port?: string | undefined;
|
|
1859
1860
|
sslEnabled?: boolean | undefined;
|
|
1860
1861
|
caCertificateName?: string | undefined;
|
|
1861
1862
|
caCertificateText?: string | undefined;
|
|
1862
|
-
authMethod?: "password" | null | undefined;
|
|
1863
1863
|
};
|
|
1864
1864
|
federated_auth_method?: "password" | "trino-oauth" | null | undefined;
|
|
1865
1865
|
}, {
|
|
@@ -1867,35 +1867,35 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
|
|
|
1867
1867
|
id: string;
|
|
1868
1868
|
name: string;
|
|
1869
1869
|
metadata: {
|
|
1870
|
+
password: string;
|
|
1870
1871
|
host: string;
|
|
1872
|
+
user: string;
|
|
1871
1873
|
database: string;
|
|
1872
|
-
authMethod: "trino-oauth";
|
|
1873
|
-
clientId: string;
|
|
1874
|
-
clientSecret: string;
|
|
1875
|
-
authUrl: string;
|
|
1876
|
-
tokenUrl: string;
|
|
1877
|
-
port?: string | undefined;
|
|
1878
1874
|
sshEnabled?: boolean | undefined;
|
|
1879
1875
|
sshHost?: string | undefined;
|
|
1880
1876
|
sshPort?: string | undefined;
|
|
1881
1877
|
sshUser?: string | undefined;
|
|
1878
|
+
port?: string | undefined;
|
|
1882
1879
|
sslEnabled?: boolean | undefined;
|
|
1883
1880
|
caCertificateName?: string | undefined;
|
|
1884
1881
|
caCertificateText?: string | undefined;
|
|
1882
|
+
authMethod?: "password" | null | undefined;
|
|
1885
1883
|
} | {
|
|
1886
|
-
password: string;
|
|
1887
1884
|
host: string;
|
|
1888
1885
|
database: string;
|
|
1889
|
-
|
|
1890
|
-
|
|
1886
|
+
authMethod: "trino-oauth";
|
|
1887
|
+
clientId: string;
|
|
1888
|
+
clientSecret: string;
|
|
1889
|
+
authUrl: string;
|
|
1890
|
+
tokenUrl: string;
|
|
1891
1891
|
sshEnabled?: boolean | undefined;
|
|
1892
1892
|
sshHost?: string | undefined;
|
|
1893
1893
|
sshPort?: string | undefined;
|
|
1894
1894
|
sshUser?: string | undefined;
|
|
1895
|
+
port?: string | undefined;
|
|
1895
1896
|
sslEnabled?: boolean | undefined;
|
|
1896
1897
|
caCertificateName?: string | undefined;
|
|
1897
1898
|
caCertificateText?: string | undefined;
|
|
1898
|
-
authMethod?: "password" | null | undefined;
|
|
1899
1899
|
};
|
|
1900
1900
|
federated_auth_method?: "password" | "trino-oauth" | null | undefined;
|
|
1901
1901
|
}>]>;
|
|
@@ -1923,26 +1923,26 @@ declare const databaseMetadataSchemasByType: {
|
|
|
1923
1923
|
}, "strip", z.ZodTypeAny, {
|
|
1924
1924
|
password: string;
|
|
1925
1925
|
host: string;
|
|
1926
|
-
database: string;
|
|
1927
1926
|
user: string;
|
|
1928
|
-
|
|
1927
|
+
database: string;
|
|
1929
1928
|
sshEnabled?: boolean | undefined;
|
|
1930
1929
|
sshHost?: string | undefined;
|
|
1931
1930
|
sshPort?: string | undefined;
|
|
1932
1931
|
sshUser?: string | undefined;
|
|
1932
|
+
port?: string | undefined;
|
|
1933
1933
|
sslEnabled?: boolean | undefined;
|
|
1934
1934
|
caCertificateName?: string | undefined;
|
|
1935
1935
|
caCertificateText?: string | undefined;
|
|
1936
1936
|
}, {
|
|
1937
1937
|
password: string;
|
|
1938
1938
|
host: string;
|
|
1939
|
-
database: string;
|
|
1940
1939
|
user: string;
|
|
1941
|
-
|
|
1940
|
+
database: string;
|
|
1942
1941
|
sshEnabled?: boolean | undefined;
|
|
1943
1942
|
sshHost?: string | undefined;
|
|
1944
1943
|
sshPort?: string | undefined;
|
|
1945
1944
|
sshUser?: string | undefined;
|
|
1945
|
+
port?: string | undefined;
|
|
1946
1946
|
sslEnabled?: boolean | undefined;
|
|
1947
1947
|
caCertificateName?: string | undefined;
|
|
1948
1948
|
caCertificateText?: string | undefined;
|
|
@@ -1982,14 +1982,14 @@ declare const databaseMetadataSchemasByType: {
|
|
|
1982
1982
|
clientSecret: z.ZodString;
|
|
1983
1983
|
}, "strip", z.ZodTypeAny, {
|
|
1984
1984
|
authMethod: "google-oauth";
|
|
1985
|
+
project: string;
|
|
1985
1986
|
clientId: string;
|
|
1986
1987
|
clientSecret: string;
|
|
1987
|
-
project: string;
|
|
1988
1988
|
}, {
|
|
1989
1989
|
authMethod: "google-oauth";
|
|
1990
|
+
project: string;
|
|
1990
1991
|
clientId: string;
|
|
1991
1992
|
clientSecret: string;
|
|
1992
|
-
project: string;
|
|
1993
1993
|
}>]>;
|
|
1994
1994
|
readonly clickhouse: z.ZodObject<{
|
|
1995
1995
|
host: z.ZodString;
|
|
@@ -2006,27 +2006,27 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2006
2006
|
caCertificateText: z.ZodOptional<z.ZodString>;
|
|
2007
2007
|
}, "strip", z.ZodTypeAny, {
|
|
2008
2008
|
host: string;
|
|
2009
|
-
database: string;
|
|
2010
2009
|
user: string;
|
|
2010
|
+
database: string;
|
|
2011
2011
|
password?: string | undefined;
|
|
2012
|
-
port?: string | undefined;
|
|
2013
2012
|
sshEnabled?: boolean | undefined;
|
|
2014
2013
|
sshHost?: string | undefined;
|
|
2015
2014
|
sshPort?: string | undefined;
|
|
2016
2015
|
sshUser?: string | undefined;
|
|
2016
|
+
port?: string | undefined;
|
|
2017
2017
|
sslEnabled?: boolean | undefined;
|
|
2018
2018
|
caCertificateName?: string | undefined;
|
|
2019
2019
|
caCertificateText?: string | undefined;
|
|
2020
2020
|
}, {
|
|
2021
2021
|
host: string;
|
|
2022
|
-
database: string;
|
|
2023
2022
|
user: string;
|
|
2023
|
+
database: string;
|
|
2024
2024
|
password?: string | undefined;
|
|
2025
|
-
port?: string | undefined;
|
|
2026
2025
|
sshEnabled?: boolean | undefined;
|
|
2027
2026
|
sshHost?: string | undefined;
|
|
2028
2027
|
sshPort?: string | undefined;
|
|
2029
2028
|
sshUser?: string | undefined;
|
|
2029
|
+
port?: string | undefined;
|
|
2030
2030
|
sslEnabled?: boolean | undefined;
|
|
2031
2031
|
caCertificateName?: string | undefined;
|
|
2032
2032
|
caCertificateText?: string | undefined;
|
|
@@ -2110,26 +2110,26 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2110
2110
|
}, "strip", z.ZodTypeAny, {
|
|
2111
2111
|
password: string;
|
|
2112
2112
|
host: string;
|
|
2113
|
-
database: string;
|
|
2114
2113
|
user: string;
|
|
2115
|
-
|
|
2114
|
+
database: string;
|
|
2116
2115
|
sshEnabled?: boolean | undefined;
|
|
2117
2116
|
sshHost?: string | undefined;
|
|
2118
2117
|
sshPort?: string | undefined;
|
|
2119
2118
|
sshUser?: string | undefined;
|
|
2119
|
+
port?: string | undefined;
|
|
2120
2120
|
sslEnabled?: boolean | undefined;
|
|
2121
2121
|
caCertificateName?: string | undefined;
|
|
2122
2122
|
caCertificateText?: string | undefined;
|
|
2123
2123
|
}, {
|
|
2124
2124
|
password: string;
|
|
2125
2125
|
host: string;
|
|
2126
|
-
database: string;
|
|
2127
2126
|
user: string;
|
|
2128
|
-
|
|
2127
|
+
database: string;
|
|
2129
2128
|
sshEnabled?: boolean | undefined;
|
|
2130
2129
|
sshHost?: string | undefined;
|
|
2131
2130
|
sshPort?: string | undefined;
|
|
2132
2131
|
sshUser?: string | undefined;
|
|
2132
|
+
port?: string | undefined;
|
|
2133
2133
|
sslEnabled?: boolean | undefined;
|
|
2134
2134
|
caCertificateName?: string | undefined;
|
|
2135
2135
|
caCertificateText?: string | undefined;
|
|
@@ -2153,28 +2153,28 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2153
2153
|
}, "strip", z.ZodTypeAny, {
|
|
2154
2154
|
password: string;
|
|
2155
2155
|
host: string;
|
|
2156
|
-
database: string;
|
|
2157
2156
|
user: string;
|
|
2157
|
+
database: string;
|
|
2158
2158
|
cluster: string;
|
|
2159
|
-
port?: string | undefined;
|
|
2160
2159
|
sshEnabled?: boolean | undefined;
|
|
2161
2160
|
sshHost?: string | undefined;
|
|
2162
2161
|
sshPort?: string | undefined;
|
|
2163
2162
|
sshUser?: string | undefined;
|
|
2163
|
+
port?: string | undefined;
|
|
2164
2164
|
sslEnabled?: boolean | undefined;
|
|
2165
2165
|
caCertificateName?: string | undefined;
|
|
2166
2166
|
caCertificateText?: string | undefined;
|
|
2167
2167
|
}, {
|
|
2168
2168
|
password: string;
|
|
2169
2169
|
host: string;
|
|
2170
|
-
database: string;
|
|
2171
2170
|
user: string;
|
|
2171
|
+
database: string;
|
|
2172
2172
|
cluster: string;
|
|
2173
|
-
port?: string | undefined;
|
|
2174
2173
|
sshEnabled?: boolean | undefined;
|
|
2175
2174
|
sshHost?: string | undefined;
|
|
2176
2175
|
sshPort?: string | undefined;
|
|
2177
2176
|
sshUser?: string | undefined;
|
|
2177
|
+
port?: string | undefined;
|
|
2178
2178
|
sslEnabled?: boolean | undefined;
|
|
2179
2179
|
caCertificateName?: string | undefined;
|
|
2180
2180
|
caCertificateText?: string | undefined;
|
|
@@ -2196,26 +2196,26 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2196
2196
|
}, "strip", z.ZodTypeAny, {
|
|
2197
2197
|
password: string;
|
|
2198
2198
|
host: string;
|
|
2199
|
-
database: string;
|
|
2200
2199
|
user: string;
|
|
2201
|
-
|
|
2200
|
+
database: string;
|
|
2202
2201
|
sshEnabled?: boolean | undefined;
|
|
2203
2202
|
sshHost?: string | undefined;
|
|
2204
2203
|
sshPort?: string | undefined;
|
|
2205
2204
|
sshUser?: string | undefined;
|
|
2205
|
+
port?: string | undefined;
|
|
2206
2206
|
sslEnabled?: boolean | undefined;
|
|
2207
2207
|
caCertificateName?: string | undefined;
|
|
2208
2208
|
caCertificateText?: string | undefined;
|
|
2209
2209
|
}, {
|
|
2210
2210
|
password: string;
|
|
2211
2211
|
host: string;
|
|
2212
|
-
database: string;
|
|
2213
2212
|
user: string;
|
|
2214
|
-
|
|
2213
|
+
database: string;
|
|
2215
2214
|
sshEnabled?: boolean | undefined;
|
|
2216
2215
|
sshHost?: string | undefined;
|
|
2217
2216
|
sshPort?: string | undefined;
|
|
2218
2217
|
sshUser?: string | undefined;
|
|
2218
|
+
port?: string | undefined;
|
|
2219
2219
|
sslEnabled?: boolean | undefined;
|
|
2220
2220
|
caCertificateName?: string | undefined;
|
|
2221
2221
|
caCertificateText?: string | undefined;
|
|
@@ -2240,35 +2240,35 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2240
2240
|
}, "strip", z.ZodTypeAny, {
|
|
2241
2241
|
connection_string: string;
|
|
2242
2242
|
password?: string | undefined;
|
|
2243
|
+
options?: string | undefined;
|
|
2243
2244
|
host?: string | undefined;
|
|
2244
|
-
|
|
2245
|
+
user?: string | undefined;
|
|
2245
2246
|
database?: string | undefined;
|
|
2246
2247
|
sshEnabled?: boolean | undefined;
|
|
2247
2248
|
sshHost?: string | undefined;
|
|
2248
2249
|
sshPort?: string | undefined;
|
|
2249
2250
|
sshUser?: string | undefined;
|
|
2251
|
+
port?: string | undefined;
|
|
2250
2252
|
sslEnabled?: boolean | undefined;
|
|
2251
2253
|
caCertificateName?: string | undefined;
|
|
2252
2254
|
caCertificateText?: string | undefined;
|
|
2253
|
-
options?: string | undefined;
|
|
2254
|
-
user?: string | undefined;
|
|
2255
2255
|
rawConnectionString?: string | undefined;
|
|
2256
2256
|
prefix?: string | undefined;
|
|
2257
2257
|
}, {
|
|
2258
2258
|
connection_string: string;
|
|
2259
2259
|
password?: string | undefined;
|
|
2260
|
+
options?: string | undefined;
|
|
2260
2261
|
host?: string | undefined;
|
|
2261
|
-
|
|
2262
|
+
user?: string | undefined;
|
|
2262
2263
|
database?: string | undefined;
|
|
2263
2264
|
sshEnabled?: boolean | undefined;
|
|
2264
2265
|
sshHost?: string | undefined;
|
|
2265
2266
|
sshPort?: string | undefined;
|
|
2266
2267
|
sshUser?: string | undefined;
|
|
2268
|
+
port?: string | undefined;
|
|
2267
2269
|
sslEnabled?: boolean | undefined;
|
|
2268
2270
|
caCertificateName?: string | undefined;
|
|
2269
2271
|
caCertificateText?: string | undefined;
|
|
2270
|
-
options?: string | undefined;
|
|
2271
|
-
user?: string | undefined;
|
|
2272
2272
|
rawConnectionString?: string | undefined;
|
|
2273
2273
|
prefix?: string | undefined;
|
|
2274
2274
|
}>;
|
|
@@ -2289,26 +2289,26 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2289
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2290
2290
|
password: string;
|
|
2291
2291
|
host: string;
|
|
2292
|
-
database: string;
|
|
2293
2292
|
user: string;
|
|
2294
|
-
|
|
2293
|
+
database: string;
|
|
2295
2294
|
sshEnabled?: boolean | undefined;
|
|
2296
2295
|
sshHost?: string | undefined;
|
|
2297
2296
|
sshPort?: string | undefined;
|
|
2298
2297
|
sshUser?: string | undefined;
|
|
2298
|
+
port?: string | undefined;
|
|
2299
2299
|
sslEnabled?: boolean | undefined;
|
|
2300
2300
|
caCertificateName?: string | undefined;
|
|
2301
2301
|
caCertificateText?: string | undefined;
|
|
2302
2302
|
}, {
|
|
2303
2303
|
password: string;
|
|
2304
2304
|
host: string;
|
|
2305
|
-
database: string;
|
|
2306
2305
|
user: string;
|
|
2307
|
-
|
|
2306
|
+
database: string;
|
|
2308
2307
|
sshEnabled?: boolean | undefined;
|
|
2309
2308
|
sshHost?: string | undefined;
|
|
2310
2309
|
sshPort?: string | undefined;
|
|
2311
2310
|
sshUser?: string | undefined;
|
|
2311
|
+
port?: string | undefined;
|
|
2312
2312
|
sslEnabled?: boolean | undefined;
|
|
2313
2313
|
caCertificateName?: string | undefined;
|
|
2314
2314
|
caCertificateText?: string | undefined;
|
|
@@ -2331,26 +2331,26 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2331
2331
|
}, "strip", z.ZodTypeAny, {
|
|
2332
2332
|
password: string;
|
|
2333
2333
|
host: string;
|
|
2334
|
-
database: string;
|
|
2335
2334
|
user: string;
|
|
2336
|
-
|
|
2335
|
+
database: string;
|
|
2337
2336
|
sshEnabled?: boolean | undefined;
|
|
2338
2337
|
sshHost?: string | undefined;
|
|
2339
2338
|
sshPort?: string | undefined;
|
|
2340
2339
|
sshUser?: string | undefined;
|
|
2340
|
+
port?: string | undefined;
|
|
2341
2341
|
sslEnabled?: boolean | undefined;
|
|
2342
2342
|
caCertificateName?: string | undefined;
|
|
2343
2343
|
caCertificateText?: string | undefined;
|
|
2344
2344
|
}, {
|
|
2345
2345
|
password: string;
|
|
2346
2346
|
host: string;
|
|
2347
|
-
database: string;
|
|
2348
2347
|
user: string;
|
|
2349
|
-
|
|
2348
|
+
database: string;
|
|
2350
2349
|
sshEnabled?: boolean | undefined;
|
|
2351
2350
|
sshHost?: string | undefined;
|
|
2352
2351
|
sshPort?: string | undefined;
|
|
2353
2352
|
sshUser?: string | undefined;
|
|
2353
|
+
port?: string | undefined;
|
|
2354
2354
|
sslEnabled?: boolean | undefined;
|
|
2355
2355
|
caCertificateName?: string | undefined;
|
|
2356
2356
|
caCertificateText?: string | undefined;
|
|
@@ -2373,13 +2373,13 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2373
2373
|
}, "strip", z.ZodTypeAny, {
|
|
2374
2374
|
password: string;
|
|
2375
2375
|
host: string;
|
|
2376
|
-
database: string;
|
|
2377
2376
|
user: string;
|
|
2378
|
-
|
|
2377
|
+
database: string;
|
|
2379
2378
|
sshEnabled?: boolean | undefined;
|
|
2380
2379
|
sshHost?: string | undefined;
|
|
2381
2380
|
sshPort?: string | undefined;
|
|
2382
2381
|
sshUser?: string | undefined;
|
|
2382
|
+
port?: string | undefined;
|
|
2383
2383
|
sslEnabled?: boolean | undefined;
|
|
2384
2384
|
caCertificateName?: string | undefined;
|
|
2385
2385
|
caCertificateText?: string | undefined;
|
|
@@ -2387,13 +2387,13 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2387
2387
|
}, {
|
|
2388
2388
|
password: string;
|
|
2389
2389
|
host: string;
|
|
2390
|
-
database: string;
|
|
2391
2390
|
user: string;
|
|
2392
|
-
|
|
2391
|
+
database: string;
|
|
2393
2392
|
sshEnabled?: boolean | undefined;
|
|
2394
2393
|
sshHost?: string | undefined;
|
|
2395
2394
|
sshPort?: string | undefined;
|
|
2396
2395
|
sshUser?: string | undefined;
|
|
2396
|
+
port?: string | undefined;
|
|
2397
2397
|
sslEnabled?: boolean | undefined;
|
|
2398
2398
|
caCertificateName?: string | undefined;
|
|
2399
2399
|
caCertificateText?: string | undefined;
|
|
@@ -2421,11 +2421,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2421
2421
|
roleArn: string;
|
|
2422
2422
|
roleExternalId: string;
|
|
2423
2423
|
roleNonce: string;
|
|
2424
|
-
port?: string | undefined;
|
|
2425
2424
|
sshEnabled?: boolean | undefined;
|
|
2426
2425
|
sshHost?: string | undefined;
|
|
2427
2426
|
sshPort?: string | undefined;
|
|
2428
2427
|
sshUser?: string | undefined;
|
|
2428
|
+
port?: string | undefined;
|
|
2429
2429
|
sslEnabled?: boolean | undefined;
|
|
2430
2430
|
caCertificateName?: string | undefined;
|
|
2431
2431
|
caCertificateText?: string | undefined;
|
|
@@ -2436,11 +2436,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2436
2436
|
roleArn: string;
|
|
2437
2437
|
roleExternalId: string;
|
|
2438
2438
|
roleNonce: string;
|
|
2439
|
-
port?: string | undefined;
|
|
2440
2439
|
sshEnabled?: boolean | undefined;
|
|
2441
2440
|
sshHost?: string | undefined;
|
|
2442
2441
|
sshPort?: string | undefined;
|
|
2443
2442
|
sshUser?: string | undefined;
|
|
2443
|
+
port?: string | undefined;
|
|
2444
2444
|
sslEnabled?: boolean | undefined;
|
|
2445
2445
|
caCertificateName?: string | undefined;
|
|
2446
2446
|
caCertificateText?: string | undefined;
|
|
@@ -2461,11 +2461,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2461
2461
|
host: string;
|
|
2462
2462
|
database: string;
|
|
2463
2463
|
authMethod: "individual-credentials";
|
|
2464
|
-
port?: string | undefined;
|
|
2465
2464
|
sshEnabled?: boolean | undefined;
|
|
2466
2465
|
sshHost?: string | undefined;
|
|
2467
2466
|
sshPort?: string | undefined;
|
|
2468
2467
|
sshUser?: string | undefined;
|
|
2468
|
+
port?: string | undefined;
|
|
2469
2469
|
sslEnabled?: boolean | undefined;
|
|
2470
2470
|
caCertificateName?: string | undefined;
|
|
2471
2471
|
caCertificateText?: string | undefined;
|
|
@@ -2473,24 +2473,24 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2473
2473
|
host: string;
|
|
2474
2474
|
database: string;
|
|
2475
2475
|
authMethod: "individual-credentials";
|
|
2476
|
-
port?: string | undefined;
|
|
2477
2476
|
sshEnabled?: boolean | undefined;
|
|
2478
2477
|
sshHost?: string | undefined;
|
|
2479
2478
|
sshPort?: string | undefined;
|
|
2480
2479
|
sshUser?: string | undefined;
|
|
2480
|
+
port?: string | undefined;
|
|
2481
2481
|
sslEnabled?: boolean | undefined;
|
|
2482
2482
|
caCertificateName?: string | undefined;
|
|
2483
2483
|
caCertificateText?: string | undefined;
|
|
2484
2484
|
}>]>, {
|
|
2485
2485
|
password: string;
|
|
2486
2486
|
host: string;
|
|
2487
|
-
database: string;
|
|
2488
2487
|
user: string;
|
|
2489
|
-
|
|
2488
|
+
database: string;
|
|
2490
2489
|
sshEnabled?: boolean | undefined;
|
|
2491
2490
|
sshHost?: string | undefined;
|
|
2492
2491
|
sshPort?: string | undefined;
|
|
2493
2492
|
sshUser?: string | undefined;
|
|
2493
|
+
port?: string | undefined;
|
|
2494
2494
|
sslEnabled?: boolean | undefined;
|
|
2495
2495
|
caCertificateName?: string | undefined;
|
|
2496
2496
|
caCertificateText?: string | undefined;
|
|
@@ -2502,11 +2502,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2502
2502
|
roleArn: string;
|
|
2503
2503
|
roleExternalId: string;
|
|
2504
2504
|
roleNonce: string;
|
|
2505
|
-
port?: string | undefined;
|
|
2506
2505
|
sshEnabled?: boolean | undefined;
|
|
2507
2506
|
sshHost?: string | undefined;
|
|
2508
2507
|
sshPort?: string | undefined;
|
|
2509
2508
|
sshUser?: string | undefined;
|
|
2509
|
+
port?: string | undefined;
|
|
2510
2510
|
sslEnabled?: boolean | undefined;
|
|
2511
2511
|
caCertificateName?: string | undefined;
|
|
2512
2512
|
caCertificateText?: string | undefined;
|
|
@@ -2514,11 +2514,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2514
2514
|
host: string;
|
|
2515
2515
|
database: string;
|
|
2516
2516
|
authMethod: "individual-credentials";
|
|
2517
|
-
port?: string | undefined;
|
|
2518
2517
|
sshEnabled?: boolean | undefined;
|
|
2519
2518
|
sshHost?: string | undefined;
|
|
2520
2519
|
sshPort?: string | undefined;
|
|
2521
2520
|
sshUser?: string | undefined;
|
|
2521
|
+
port?: string | undefined;
|
|
2522
2522
|
sslEnabled?: boolean | undefined;
|
|
2523
2523
|
caCertificateName?: string | undefined;
|
|
2524
2524
|
caCertificateText?: string | undefined;
|
|
@@ -2864,9 +2864,9 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2864
2864
|
}, "strip", z.ZodTypeAny, {
|
|
2865
2865
|
password: string;
|
|
2866
2866
|
host: string;
|
|
2867
|
-
port: string;
|
|
2868
|
-
database: string;
|
|
2869
2867
|
user: string;
|
|
2868
|
+
database: string;
|
|
2869
|
+
port: string;
|
|
2870
2870
|
sshEnabled?: boolean | undefined;
|
|
2871
2871
|
sshHost?: string | undefined;
|
|
2872
2872
|
sshPort?: string | undefined;
|
|
@@ -2874,9 +2874,9 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2874
2874
|
}, {
|
|
2875
2875
|
password: string;
|
|
2876
2876
|
host: string;
|
|
2877
|
-
port: string;
|
|
2878
|
-
database: string;
|
|
2879
2877
|
user: string;
|
|
2878
|
+
database: string;
|
|
2879
|
+
port: string;
|
|
2880
2880
|
sshEnabled?: boolean | undefined;
|
|
2881
2881
|
sshHost?: string | undefined;
|
|
2882
2882
|
sshPort?: string | undefined;
|
|
@@ -2900,13 +2900,13 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2900
2900
|
}, "strip", z.ZodTypeAny, {
|
|
2901
2901
|
password: string;
|
|
2902
2902
|
host: string;
|
|
2903
|
-
database: string;
|
|
2904
2903
|
user: string;
|
|
2905
|
-
|
|
2904
|
+
database: string;
|
|
2906
2905
|
sshEnabled?: boolean | undefined;
|
|
2907
2906
|
sshHost?: string | undefined;
|
|
2908
2907
|
sshPort?: string | undefined;
|
|
2909
2908
|
sshUser?: string | undefined;
|
|
2909
|
+
port?: string | undefined;
|
|
2910
2910
|
sslEnabled?: boolean | undefined;
|
|
2911
2911
|
caCertificateName?: string | undefined;
|
|
2912
2912
|
caCertificateText?: string | undefined;
|
|
@@ -2914,13 +2914,13 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2914
2914
|
}, {
|
|
2915
2915
|
password: string;
|
|
2916
2916
|
host: string;
|
|
2917
|
-
database: string;
|
|
2918
2917
|
user: string;
|
|
2919
|
-
|
|
2918
|
+
database: string;
|
|
2920
2919
|
sshEnabled?: boolean | undefined;
|
|
2921
2920
|
sshHost?: string | undefined;
|
|
2922
2921
|
sshPort?: string | undefined;
|
|
2923
2922
|
sshUser?: string | undefined;
|
|
2923
|
+
port?: string | undefined;
|
|
2924
2924
|
sslEnabled?: boolean | undefined;
|
|
2925
2925
|
caCertificateName?: string | undefined;
|
|
2926
2926
|
caCertificateText?: string | undefined;
|
|
@@ -2950,11 +2950,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2950
2950
|
clientSecret: string;
|
|
2951
2951
|
authUrl: string;
|
|
2952
2952
|
tokenUrl: string;
|
|
2953
|
-
port?: string | undefined;
|
|
2954
2953
|
sshEnabled?: boolean | undefined;
|
|
2955
2954
|
sshHost?: string | undefined;
|
|
2956
2955
|
sshPort?: string | undefined;
|
|
2957
2956
|
sshUser?: string | undefined;
|
|
2957
|
+
port?: string | undefined;
|
|
2958
2958
|
sslEnabled?: boolean | undefined;
|
|
2959
2959
|
caCertificateName?: string | undefined;
|
|
2960
2960
|
caCertificateText?: string | undefined;
|
|
@@ -2966,11 +2966,11 @@ declare const databaseMetadataSchemasByType: {
|
|
|
2966
2966
|
clientSecret: string;
|
|
2967
2967
|
authUrl: string;
|
|
2968
2968
|
tokenUrl: string;
|
|
2969
|
-
port?: string | undefined;
|
|
2970
2969
|
sshEnabled?: boolean | undefined;
|
|
2971
2970
|
sshHost?: string | undefined;
|
|
2972
2971
|
sshPort?: string | undefined;
|
|
2973
2972
|
sshUser?: string | undefined;
|
|
2973
|
+
port?: string | undefined;
|
|
2974
2974
|
sslEnabled?: boolean | undefined;
|
|
2975
2975
|
caCertificateName?: string | undefined;
|
|
2976
2976
|
caCertificateText?: string | undefined;
|
|
@@ -3040,6 +3040,30 @@ declare class SpannerServiceAccountParseError extends Error {
|
|
|
3040
3040
|
});
|
|
3041
3041
|
}
|
|
3042
3042
|
//#endregion
|
|
3043
|
+
//#region src/secret-field-paths.d.ts
|
|
3044
|
+
/**
|
|
3045
|
+
* Extract all possible keys from a type, including all variants of a union.
|
|
3046
|
+
* This handles discriminated unions like snowflake/bigquery metadata schemas.
|
|
3047
|
+
*/
|
|
3048
|
+
type AllKeysOf<T> = T extends unknown ? keyof T & string : never;
|
|
3049
|
+
/**
|
|
3050
|
+
* Helper type to extract all valid metadata keys for a given integration type.
|
|
3051
|
+
* For union types (e.g., snowflake with multiple auth methods), this extracts
|
|
3052
|
+
* keys from ALL variants, not just the common ones.
|
|
3053
|
+
*/
|
|
3054
|
+
type MetadataKey<T extends DatabaseIntegrationType> = AllKeysOf<DatabaseIntegrationMetadataByType[T]>;
|
|
3055
|
+
/**
|
|
3056
|
+
* Get the list of secret field paths for a given integration type.
|
|
3057
|
+
*
|
|
3058
|
+
* @param type - The integration type (e.g., 'pgsql', 'snowflake')
|
|
3059
|
+
* @returns Array of field names that contain secrets
|
|
3060
|
+
*
|
|
3061
|
+
* @example
|
|
3062
|
+
* getSecretFieldPaths('pgsql') // => ['password', 'caCertificateText']
|
|
3063
|
+
* getSecretFieldPaths('snowflake') // => ['password', 'clientSecret', 'privateKey', 'privateKeyPassphrase']
|
|
3064
|
+
*/
|
|
3065
|
+
declare function getSecretFieldPaths(type: DatabaseIntegrationType): readonly string[];
|
|
3066
|
+
//#endregion
|
|
3043
3067
|
//#region src/sql-integration-auth-methods.d.ts
|
|
3044
3068
|
declare const AwsAuthMethods: {
|
|
3045
3069
|
readonly AccessKeys: "access-keys";
|
|
@@ -3096,4 +3120,4 @@ interface SnowflakeKeyPair {
|
|
|
3096
3120
|
username: string;
|
|
3097
3121
|
}
|
|
3098
3122
|
//#endregion
|
|
3099
|
-
export { type AwsAuthMethod, AwsAuthMethods, type BigQueryAuthMethod, BigQueryAuthMethods, BigQueryServiceAccountParseError, type DatabaseAuthMethod, DatabaseAuthMethods, type DatabaseIntegrationConfig, type DatabaseIntegrationMetadataByType, type DatabaseIntegrationType, type DatabaseIntegrationTypeWithSslSupport, type EnvVar, type FederatedAuthMethod, type SnowflakeAuthMethod, SnowflakeAuthMethods, SpannerServiceAccountParseError, type SqlAlchemyInput, type SqlIntegrationConfig, type SqlIntegrationType, type TrinoAuthMethod, TrinoAuthMethods, databaseIntegrationConfigSchema, databaseIntegrationTypes, databaseIntegrationTypesWithSslSupport, databaseMetadataSchemasByType, federatedAuthMethods, getEnvironmentVariablesForIntegrations, getSnowflakeFederatedAuthSqlAlchemyInput, getSqlAlchemyInput, isDatabaseIntegrationType, isDatabaseIntegrationTypeWithSslSupport, isFederatedAuthMetadata, isFederatedAuthMethod, isSqlIntegrationType, sqlIntegrationTypes };
|
|
3123
|
+
export { type AwsAuthMethod, AwsAuthMethods, type BigQueryAuthMethod, BigQueryAuthMethods, BigQueryServiceAccountParseError, type DatabaseAuthMethod, DatabaseAuthMethods, type DatabaseIntegrationConfig, type DatabaseIntegrationMetadataByType, type DatabaseIntegrationType, type DatabaseIntegrationTypeWithSslSupport, type EnvVar, type FederatedAuthMethod, type MetadataKey, type SnowflakeAuthMethod, SnowflakeAuthMethods, SpannerServiceAccountParseError, type SqlAlchemyInput, type SqlIntegrationConfig, type SqlIntegrationType, type TrinoAuthMethod, TrinoAuthMethods, databaseIntegrationConfigSchema, databaseIntegrationTypes, databaseIntegrationTypesWithSslSupport, databaseMetadataSchemasByType, federatedAuthMethods, getEnvironmentVariablesForIntegrations, getSecretFieldPaths, getSnowflakeFederatedAuthSqlAlchemyInput, getSqlAlchemyInput, isDatabaseIntegrationType, isDatabaseIntegrationTypeWithSslSupport, isFederatedAuthMetadata, isFederatedAuthMethod, isSqlIntegrationType, sqlIntegrationTypes };
|