@deepnote/database-integrations 1.3.3 → 1.3.4

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.d.cts CHANGED
@@ -32,9 +32,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
32
32
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
33
33
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
34
34
  }, "strip", z$1.ZodTypeAny, {
35
+ password: string;
35
36
  host: string;
36
37
  user: string;
37
- password: string;
38
38
  database: string;
39
39
  sshEnabled?: boolean | undefined;
40
40
  sshHost?: string | undefined;
@@ -45,9 +45,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
45
45
  caCertificateName?: string | undefined;
46
46
  caCertificateText?: string | undefined;
47
47
  }, {
48
+ password: string;
48
49
  host: string;
49
50
  user: string;
50
- password: string;
51
51
  database: string;
52
52
  sshEnabled?: boolean | undefined;
53
53
  sshHost?: string | undefined;
@@ -64,9 +64,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
64
64
  id: string;
65
65
  name: string;
66
66
  metadata: {
67
+ password: string;
67
68
  host: string;
68
69
  user: string;
69
- password: string;
70
70
  database: string;
71
71
  sshEnabled?: boolean | undefined;
72
72
  sshHost?: string | undefined;
@@ -83,9 +83,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
83
83
  id: string;
84
84
  name: string;
85
85
  metadata: {
86
+ password: string;
86
87
  host: string;
87
88
  user: string;
88
- password: string;
89
89
  database: string;
90
90
  sshEnabled?: boolean | undefined;
91
91
  sshHost?: string | undefined;
@@ -152,14 +152,14 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
152
152
  } & {
153
153
  type: z$1.ZodLiteral<"big-query">;
154
154
  metadata: z$1.ZodDiscriminatedUnion<"authMethod", [z$1.ZodObject<{
155
- authMethod: z$1.ZodLiteral<"service-account">;
155
+ authMethod: z$1.ZodOptional<z$1.ZodLiteral<"service-account">>;
156
156
  service_account: z$1.ZodString;
157
157
  }, "strip", z$1.ZodTypeAny, {
158
- authMethod: "service-account";
159
158
  service_account: string;
159
+ authMethod?: "service-account" | undefined;
160
160
  }, {
161
- authMethod: "service-account";
162
161
  service_account: string;
162
+ authMethod?: "service-account" | undefined;
163
163
  }>, z$1.ZodObject<{
164
164
  authMethod: z$1.ZodLiteral<"google-oauth">;
165
165
  project: z$1.ZodString;
@@ -182,8 +182,8 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
182
182
  id: string;
183
183
  name: string;
184
184
  metadata: {
185
- authMethod: "service-account";
186
185
  service_account: string;
186
+ authMethod?: "service-account" | undefined;
187
187
  } | {
188
188
  authMethod: "google-oauth";
189
189
  project: string;
@@ -196,8 +196,8 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
196
196
  id: string;
197
197
  name: string;
198
198
  metadata: {
199
- authMethod: "service-account";
200
199
  service_account: string;
200
+ authMethod?: "service-account" | undefined;
201
201
  } | {
202
202
  authMethod: "google-oauth";
203
203
  project: string;
@@ -447,9 +447,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
447
447
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
448
448
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
449
449
  }, "strip", z$1.ZodTypeAny, {
450
+ password: string;
450
451
  host: string;
451
452
  user: string;
452
- password: string;
453
453
  database: string;
454
454
  sshEnabled?: boolean | undefined;
455
455
  sshHost?: string | undefined;
@@ -460,9 +460,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
460
460
  caCertificateName?: string | undefined;
461
461
  caCertificateText?: string | undefined;
462
462
  }, {
463
+ password: string;
463
464
  host: string;
464
465
  user: string;
465
- password: string;
466
466
  database: string;
467
467
  sshEnabled?: boolean | undefined;
468
468
  sshHost?: string | undefined;
@@ -479,9 +479,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
479
479
  id: string;
480
480
  name: string;
481
481
  metadata: {
482
+ password: string;
482
483
  host: string;
483
484
  user: string;
484
- password: string;
485
485
  database: string;
486
486
  sshEnabled?: boolean | undefined;
487
487
  sshHost?: string | undefined;
@@ -498,9 +498,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
498
498
  id: string;
499
499
  name: string;
500
500
  metadata: {
501
+ password: string;
501
502
  host: string;
502
503
  user: string;
503
- password: string;
504
504
  database: string;
505
505
  sshEnabled?: boolean | undefined;
506
506
  sshHost?: string | undefined;
@@ -534,9 +534,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
534
534
  } & {
535
535
  cluster: z$1.ZodString;
536
536
  }, "strip", z$1.ZodTypeAny, {
537
+ password: string;
537
538
  host: string;
538
539
  user: string;
539
- password: string;
540
540
  database: string;
541
541
  cluster: string;
542
542
  sshEnabled?: boolean | undefined;
@@ -548,9 +548,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
548
548
  caCertificateName?: string | undefined;
549
549
  caCertificateText?: string | undefined;
550
550
  }, {
551
+ password: string;
551
552
  host: string;
552
553
  user: string;
553
- password: string;
554
554
  database: string;
555
555
  cluster: string;
556
556
  sshEnabled?: boolean | undefined;
@@ -568,9 +568,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
568
568
  id: string;
569
569
  name: string;
570
570
  metadata: {
571
+ password: string;
571
572
  host: string;
572
573
  user: string;
573
- password: string;
574
574
  database: string;
575
575
  cluster: string;
576
576
  sshEnabled?: boolean | undefined;
@@ -588,9 +588,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
588
588
  id: string;
589
589
  name: string;
590
590
  metadata: {
591
+ password: string;
591
592
  host: string;
592
593
  user: string;
593
- password: string;
594
594
  database: string;
595
595
  cluster: string;
596
596
  sshEnabled?: boolean | undefined;
@@ -623,9 +623,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
623
623
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
624
624
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
625
625
  }, "strip", z$1.ZodTypeAny, {
626
+ password: string;
626
627
  host: string;
627
628
  user: string;
628
- password: string;
629
629
  database: string;
630
630
  sshEnabled?: boolean | undefined;
631
631
  sshHost?: string | undefined;
@@ -636,9 +636,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
636
636
  caCertificateName?: string | undefined;
637
637
  caCertificateText?: string | undefined;
638
638
  }, {
639
+ password: string;
639
640
  host: string;
640
641
  user: string;
641
- password: string;
642
642
  database: string;
643
643
  sshEnabled?: boolean | undefined;
644
644
  sshHost?: string | undefined;
@@ -655,9 +655,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
655
655
  id: string;
656
656
  name: string;
657
657
  metadata: {
658
+ password: string;
658
659
  host: string;
659
660
  user: string;
660
- password: string;
661
661
  database: string;
662
662
  sshEnabled?: boolean | undefined;
663
663
  sshHost?: string | undefined;
@@ -674,9 +674,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
674
674
  id: string;
675
675
  name: string;
676
676
  metadata: {
677
+ password: string;
677
678
  host: string;
678
679
  user: string;
679
- password: string;
680
680
  database: string;
681
681
  sshEnabled?: boolean | undefined;
682
682
  sshHost?: string | undefined;
@@ -712,15 +712,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
712
712
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
713
713
  }, "strip", z$1.ZodTypeAny, {
714
714
  connection_string: string;
715
+ password?: string | undefined;
716
+ options?: string | undefined;
715
717
  host?: string | undefined;
716
718
  user?: string | undefined;
717
- password?: 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;
723
- options?: string | undefined;
724
724
  port?: string | undefined;
725
725
  sslEnabled?: boolean | undefined;
726
726
  caCertificateName?: string | undefined;
@@ -729,15 +729,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
729
729
  prefix?: string | undefined;
730
730
  }, {
731
731
  connection_string: string;
732
+ password?: string | undefined;
733
+ options?: string | undefined;
732
734
  host?: string | undefined;
733
735
  user?: string | undefined;
734
- password?: 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;
740
- options?: string | undefined;
741
741
  port?: string | undefined;
742
742
  sslEnabled?: boolean | undefined;
743
743
  caCertificateName?: string | undefined;
@@ -752,15 +752,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
752
752
  name: string;
753
753
  metadata: {
754
754
  connection_string: string;
755
+ password?: string | undefined;
756
+ options?: string | undefined;
755
757
  host?: string | undefined;
756
758
  user?: string | undefined;
757
- password?: 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;
763
- options?: string | undefined;
764
764
  port?: string | undefined;
765
765
  sslEnabled?: boolean | undefined;
766
766
  caCertificateName?: string | undefined;
@@ -775,15 +775,15 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
775
775
  name: string;
776
776
  metadata: {
777
777
  connection_string: string;
778
+ password?: string | undefined;
779
+ options?: string | undefined;
778
780
  host?: string | undefined;
779
781
  user?: string | undefined;
780
- password?: 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;
786
- options?: string | undefined;
787
787
  port?: string | undefined;
788
788
  sslEnabled?: boolean | undefined;
789
789
  caCertificateName?: string | undefined;
@@ -812,9 +812,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
812
812
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
813
813
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
814
814
  }, "strip", z$1.ZodTypeAny, {
815
+ password: string;
815
816
  host: string;
816
817
  user: string;
817
- password: string;
818
818
  database: string;
819
819
  sshEnabled?: boolean | undefined;
820
820
  sshHost?: string | undefined;
@@ -825,9 +825,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
825
825
  caCertificateName?: string | undefined;
826
826
  caCertificateText?: string | undefined;
827
827
  }, {
828
+ password: string;
828
829
  host: string;
829
830
  user: string;
830
- password: string;
831
831
  database: string;
832
832
  sshEnabled?: boolean | undefined;
833
833
  sshHost?: string | undefined;
@@ -844,9 +844,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
844
844
  id: string;
845
845
  name: string;
846
846
  metadata: {
847
+ password: string;
847
848
  host: string;
848
849
  user: string;
849
- password: string;
850
850
  database: string;
851
851
  sshEnabled?: boolean | undefined;
852
852
  sshHost?: string | undefined;
@@ -863,9 +863,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
863
863
  id: string;
864
864
  name: string;
865
865
  metadata: {
866
+ password: string;
866
867
  host: string;
867
868
  user: string;
868
- password: string;
869
869
  database: string;
870
870
  sshEnabled?: boolean | undefined;
871
871
  sshHost?: string | undefined;
@@ -916,9 +916,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
916
916
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
917
917
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
918
918
  }, "strip", z$1.ZodTypeAny, {
919
+ password: string;
919
920
  host: string;
920
921
  user: string;
921
- password: string;
922
922
  database: string;
923
923
  sshEnabled?: boolean | undefined;
924
924
  sshHost?: string | undefined;
@@ -929,9 +929,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
929
929
  caCertificateName?: string | undefined;
930
930
  caCertificateText?: string | undefined;
931
931
  }, {
932
+ password: string;
932
933
  host: string;
933
934
  user: string;
934
- password: string;
935
935
  database: string;
936
936
  sshEnabled?: boolean | undefined;
937
937
  sshHost?: string | undefined;
@@ -948,9 +948,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
948
948
  id: string;
949
949
  name: string;
950
950
  metadata: {
951
+ password: string;
951
952
  host: string;
952
953
  user: string;
953
- password: string;
954
954
  database: string;
955
955
  sshEnabled?: boolean | undefined;
956
956
  sshHost?: string | undefined;
@@ -967,9 +967,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
967
967
  id: string;
968
968
  name: string;
969
969
  metadata: {
970
+ password: string;
970
971
  host: string;
971
972
  user: string;
972
- password: string;
973
973
  database: string;
974
974
  sshEnabled?: boolean | undefined;
975
975
  sshHost?: string | undefined;
@@ -1002,9 +1002,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1002
1002
  user: z$1.ZodString;
1003
1003
  password: z$1.ZodString;
1004
1004
  }, "strip", z$1.ZodTypeAny, {
1005
+ password: string;
1005
1006
  host: string;
1006
1007
  user: string;
1007
- password: string;
1008
1008
  database: string;
1009
1009
  sshEnabled?: boolean | undefined;
1010
1010
  sshHost?: string | undefined;
@@ -1016,9 +1016,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1016
1016
  caCertificateText?: string | undefined;
1017
1017
  authMethod?: "username-and-password" | undefined;
1018
1018
  }, {
1019
+ password: string;
1019
1020
  host: string;
1020
1021
  user: string;
1021
- password: string;
1022
1022
  database: string;
1023
1023
  sshEnabled?: boolean | undefined;
1024
1024
  sshHost?: string | undefined;
@@ -1113,9 +1113,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1113
1113
  caCertificateName?: string | undefined;
1114
1114
  caCertificateText?: string | undefined;
1115
1115
  }>]>, {
1116
+ password: string;
1116
1117
  host: string;
1117
1118
  user: string;
1118
- password: string;
1119
1119
  database: string;
1120
1120
  sshEnabled?: boolean | undefined;
1121
1121
  sshHost?: string | undefined;
@@ -1160,9 +1160,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1160
1160
  id: string;
1161
1161
  name: string;
1162
1162
  metadata: {
1163
+ password: string;
1163
1164
  host: string;
1164
1165
  user: string;
1165
- password: string;
1166
1166
  database: string;
1167
1167
  sshEnabled?: boolean | undefined;
1168
1168
  sshHost?: string | undefined;
@@ -1201,13 +1201,13 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1201
1201
  caCertificateName?: string | undefined;
1202
1202
  caCertificateText?: string | undefined;
1203
1203
  };
1204
- federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1204
+ federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1205
1205
  }, {
1206
1206
  type: "redshift";
1207
1207
  id: string;
1208
1208
  name: string;
1209
1209
  metadata?: unknown;
1210
- federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1210
+ federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1211
1211
  }>, z$1.ZodObject<{
1212
1212
  id: z$1.ZodString;
1213
1213
  name: z$1.ZodString;
@@ -1434,7 +1434,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1434
1434
  role?: string | undefined;
1435
1435
  privateKeyPassphrase?: string | undefined;
1436
1436
  };
1437
- federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | null | undefined;
1437
+ federated_auth_method?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1438
1438
  }, {
1439
1439
  type: "snowflake";
1440
1440
  id: string;
@@ -1492,7 +1492,7 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1492
1492
  role?: string | undefined;
1493
1493
  privateKeyPassphrase?: string | undefined;
1494
1494
  };
1495
- federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | null | undefined;
1495
+ federated_auth_method?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1496
1496
  }>, z$1.ZodObject<{
1497
1497
  id: z$1.ZodString;
1498
1498
  name: z$1.ZodString;
@@ -1554,9 +1554,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1554
1554
  } & {
1555
1555
  port: z$1.ZodString;
1556
1556
  }, "strip", z$1.ZodTypeAny, {
1557
+ password: string;
1557
1558
  host: string;
1558
1559
  user: string;
1559
- password: string;
1560
1560
  database: string;
1561
1561
  port: string;
1562
1562
  sshEnabled?: boolean | undefined;
@@ -1564,9 +1564,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1564
1564
  sshPort?: string | undefined;
1565
1565
  sshUser?: string | undefined;
1566
1566
  }, {
1567
+ password: string;
1567
1568
  host: string;
1568
1569
  user: string;
1569
- password: string;
1570
1570
  database: string;
1571
1571
  port: string;
1572
1572
  sshEnabled?: boolean | undefined;
@@ -1580,9 +1580,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1580
1580
  id: string;
1581
1581
  name: string;
1582
1582
  metadata: {
1583
+ password: string;
1583
1584
  host: string;
1584
1585
  user: string;
1585
- password: string;
1586
1586
  database: string;
1587
1587
  port: string;
1588
1588
  sshEnabled?: boolean | undefined;
@@ -1596,9 +1596,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1596
1596
  id: string;
1597
1597
  name: string;
1598
1598
  metadata: {
1599
+ password: string;
1599
1600
  host: string;
1600
1601
  user: string;
1601
- password: string;
1602
1602
  database: string;
1603
1603
  port: string;
1604
1604
  sshEnabled?: boolean | undefined;
@@ -1629,9 +1629,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1629
1629
  } & {
1630
1630
  authMethod: z$1.ZodLiteral<null>;
1631
1631
  }, "strip", z$1.ZodTypeAny, {
1632
+ password: string;
1632
1633
  host: string;
1633
1634
  user: string;
1634
- password: string;
1635
1635
  database: string;
1636
1636
  authMethod: null;
1637
1637
  sshEnabled?: boolean | undefined;
@@ -1643,9 +1643,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1643
1643
  caCertificateName?: string | undefined;
1644
1644
  caCertificateText?: string | undefined;
1645
1645
  }, {
1646
+ password: string;
1646
1647
  host: string;
1647
1648
  user: string;
1648
- password: string;
1649
1649
  database: string;
1650
1650
  authMethod: null;
1651
1651
  sshEnabled?: boolean | undefined;
@@ -1673,9 +1673,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1673
1673
  } & {
1674
1674
  authMethod: z$1.ZodLiteral<"password">;
1675
1675
  }, "strip", z$1.ZodTypeAny, {
1676
+ password: string;
1676
1677
  host: string;
1677
1678
  user: string;
1678
- password: string;
1679
1679
  database: string;
1680
1680
  authMethod: "password";
1681
1681
  sshEnabled?: boolean | undefined;
@@ -1687,9 +1687,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1687
1687
  caCertificateName?: string | undefined;
1688
1688
  caCertificateText?: string | undefined;
1689
1689
  }, {
1690
+ password: string;
1690
1691
  host: string;
1691
1692
  user: string;
1692
- password: string;
1693
1693
  database: string;
1694
1694
  authMethod: "password";
1695
1695
  sshEnabled?: boolean | undefined;
@@ -1756,9 +1756,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1756
1756
  id: string;
1757
1757
  name: string;
1758
1758
  metadata: {
1759
+ password: string;
1759
1760
  host: string;
1760
1761
  user: string;
1761
- password: string;
1762
1762
  database: string;
1763
1763
  authMethod: null;
1764
1764
  sshEnabled?: boolean | undefined;
@@ -1770,9 +1770,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1770
1770
  caCertificateName?: string | undefined;
1771
1771
  caCertificateText?: string | undefined;
1772
1772
  } | {
1773
+ password: string;
1773
1774
  host: string;
1774
1775
  user: string;
1775
- password: string;
1776
1776
  database: string;
1777
1777
  authMethod: "password";
1778
1778
  sshEnabled?: boolean | undefined;
@@ -1806,9 +1806,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1806
1806
  id: string;
1807
1807
  name: string;
1808
1808
  metadata: {
1809
+ password: string;
1809
1810
  host: string;
1810
1811
  user: string;
1811
- password: string;
1812
1812
  database: string;
1813
1813
  authMethod: null;
1814
1814
  sshEnabled?: boolean | undefined;
@@ -1820,9 +1820,9 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1820
1820
  caCertificateName?: string | undefined;
1821
1821
  caCertificateText?: string | undefined;
1822
1822
  } | {
1823
+ password: string;
1823
1824
  host: string;
1824
1825
  user: string;
1825
- password: string;
1826
1826
  database: string;
1827
1827
  authMethod: "password";
1828
1828
  sshEnabled?: boolean | undefined;
@@ -1874,9 +1874,9 @@ declare const databaseMetadataSchemasByType: {
1874
1874
  caCertificateName: z.ZodOptional<z.ZodString>;
1875
1875
  caCertificateText: z.ZodOptional<z.ZodString>;
1876
1876
  }, "strip", z.ZodTypeAny, {
1877
+ password: string;
1877
1878
  host: string;
1878
1879
  user: string;
1879
- password: string;
1880
1880
  database: string;
1881
1881
  sshEnabled?: boolean | undefined;
1882
1882
  sshHost?: string | undefined;
@@ -1887,9 +1887,9 @@ declare const databaseMetadataSchemasByType: {
1887
1887
  caCertificateName?: string | undefined;
1888
1888
  caCertificateText?: string | undefined;
1889
1889
  }, {
1890
+ password: string;
1890
1891
  host: string;
1891
1892
  user: string;
1892
- password: string;
1893
1893
  database: string;
1894
1894
  sshEnabled?: boolean | undefined;
1895
1895
  sshHost?: string | undefined;
@@ -1920,14 +1920,14 @@ declare const databaseMetadataSchemasByType: {
1920
1920
  workgroup?: string | undefined;
1921
1921
  }>;
1922
1922
  readonly 'big-query': z.ZodDiscriminatedUnion<"authMethod", [z.ZodObject<{
1923
- authMethod: z.ZodLiteral<"service-account">;
1923
+ authMethod: z.ZodOptional<z.ZodLiteral<"service-account">>;
1924
1924
  service_account: z.ZodString;
1925
1925
  }, "strip", z.ZodTypeAny, {
1926
- authMethod: "service-account";
1927
1926
  service_account: string;
1927
+ authMethod?: "service-account" | undefined;
1928
1928
  }, {
1929
- authMethod: "service-account";
1930
1929
  service_account: string;
1930
+ authMethod?: "service-account" | undefined;
1931
1931
  }>, z.ZodObject<{
1932
1932
  authMethod: z.ZodLiteral<"google-oauth">;
1933
1933
  project: z.ZodString;
@@ -2061,9 +2061,9 @@ declare const databaseMetadataSchemasByType: {
2061
2061
  caCertificateName: z.ZodOptional<z.ZodString>;
2062
2062
  caCertificateText: z.ZodOptional<z.ZodString>;
2063
2063
  }, "strip", z.ZodTypeAny, {
2064
+ password: string;
2064
2065
  host: string;
2065
2066
  user: string;
2066
- password: string;
2067
2067
  database: string;
2068
2068
  sshEnabled?: boolean | undefined;
2069
2069
  sshHost?: string | undefined;
@@ -2074,9 +2074,9 @@ declare const databaseMetadataSchemasByType: {
2074
2074
  caCertificateName?: string | undefined;
2075
2075
  caCertificateText?: string | undefined;
2076
2076
  }, {
2077
+ password: string;
2077
2078
  host: string;
2078
2079
  user: string;
2079
- password: string;
2080
2080
  database: string;
2081
2081
  sshEnabled?: boolean | undefined;
2082
2082
  sshHost?: string | undefined;
@@ -2104,9 +2104,9 @@ declare const databaseMetadataSchemasByType: {
2104
2104
  } & {
2105
2105
  cluster: z.ZodString;
2106
2106
  }, "strip", z.ZodTypeAny, {
2107
+ password: string;
2107
2108
  host: string;
2108
2109
  user: string;
2109
- password: string;
2110
2110
  database: string;
2111
2111
  cluster: string;
2112
2112
  sshEnabled?: boolean | undefined;
@@ -2118,9 +2118,9 @@ declare const databaseMetadataSchemasByType: {
2118
2118
  caCertificateName?: string | undefined;
2119
2119
  caCertificateText?: string | undefined;
2120
2120
  }, {
2121
+ password: string;
2121
2122
  host: string;
2122
2123
  user: string;
2123
- password: string;
2124
2124
  database: string;
2125
2125
  cluster: string;
2126
2126
  sshEnabled?: boolean | undefined;
@@ -2147,9 +2147,9 @@ declare const databaseMetadataSchemasByType: {
2147
2147
  caCertificateName: z.ZodOptional<z.ZodString>;
2148
2148
  caCertificateText: z.ZodOptional<z.ZodString>;
2149
2149
  }, "strip", z.ZodTypeAny, {
2150
+ password: string;
2150
2151
  host: string;
2151
2152
  user: string;
2152
- password: string;
2153
2153
  database: string;
2154
2154
  sshEnabled?: boolean | undefined;
2155
2155
  sshHost?: string | undefined;
@@ -2160,9 +2160,9 @@ declare const databaseMetadataSchemasByType: {
2160
2160
  caCertificateName?: string | undefined;
2161
2161
  caCertificateText?: string | undefined;
2162
2162
  }, {
2163
+ password: string;
2163
2164
  host: string;
2164
2165
  user: string;
2165
- password: string;
2166
2166
  database: string;
2167
2167
  sshEnabled?: boolean | undefined;
2168
2168
  sshHost?: string | undefined;
@@ -2192,15 +2192,15 @@ declare const databaseMetadataSchemasByType: {
2192
2192
  caCertificateText: z.ZodOptional<z.ZodString>;
2193
2193
  }, "strip", z.ZodTypeAny, {
2194
2194
  connection_string: string;
2195
+ password?: string | undefined;
2196
+ options?: string | undefined;
2195
2197
  host?: string | undefined;
2196
2198
  user?: string | undefined;
2197
- password?: string | undefined;
2198
2199
  database?: string | undefined;
2199
2200
  sshEnabled?: boolean | undefined;
2200
2201
  sshHost?: string | undefined;
2201
2202
  sshPort?: string | undefined;
2202
2203
  sshUser?: string | undefined;
2203
- options?: string | undefined;
2204
2204
  port?: string | undefined;
2205
2205
  sslEnabled?: boolean | undefined;
2206
2206
  caCertificateName?: string | undefined;
@@ -2209,15 +2209,15 @@ declare const databaseMetadataSchemasByType: {
2209
2209
  prefix?: string | undefined;
2210
2210
  }, {
2211
2211
  connection_string: string;
2212
+ password?: string | undefined;
2213
+ options?: string | undefined;
2212
2214
  host?: string | undefined;
2213
2215
  user?: string | undefined;
2214
- password?: string | undefined;
2215
2216
  database?: string | undefined;
2216
2217
  sshEnabled?: boolean | undefined;
2217
2218
  sshHost?: string | undefined;
2218
2219
  sshPort?: string | undefined;
2219
2220
  sshUser?: string | undefined;
2220
- options?: string | undefined;
2221
2221
  port?: string | undefined;
2222
2222
  sslEnabled?: boolean | undefined;
2223
2223
  caCertificateName?: string | undefined;
@@ -2240,9 +2240,9 @@ declare const databaseMetadataSchemasByType: {
2240
2240
  caCertificateName: z.ZodOptional<z.ZodString>;
2241
2241
  caCertificateText: z.ZodOptional<z.ZodString>;
2242
2242
  }, "strip", z.ZodTypeAny, {
2243
+ password: string;
2243
2244
  host: string;
2244
2245
  user: string;
2245
- password: string;
2246
2246
  database: string;
2247
2247
  sshEnabled?: boolean | undefined;
2248
2248
  sshHost?: string | undefined;
@@ -2253,9 +2253,9 @@ declare const databaseMetadataSchemasByType: {
2253
2253
  caCertificateName?: string | undefined;
2254
2254
  caCertificateText?: string | undefined;
2255
2255
  }, {
2256
+ password: string;
2256
2257
  host: string;
2257
2258
  user: string;
2258
- password: string;
2259
2259
  database: string;
2260
2260
  sshEnabled?: boolean | undefined;
2261
2261
  sshHost?: string | undefined;
@@ -2282,9 +2282,9 @@ declare const databaseMetadataSchemasByType: {
2282
2282
  caCertificateName: z.ZodOptional<z.ZodString>;
2283
2283
  caCertificateText: z.ZodOptional<z.ZodString>;
2284
2284
  }, "strip", z.ZodTypeAny, {
2285
+ password: string;
2285
2286
  host: string;
2286
2287
  user: string;
2287
- password: string;
2288
2288
  database: string;
2289
2289
  sshEnabled?: boolean | undefined;
2290
2290
  sshHost?: string | undefined;
@@ -2295,9 +2295,9 @@ declare const databaseMetadataSchemasByType: {
2295
2295
  caCertificateName?: string | undefined;
2296
2296
  caCertificateText?: string | undefined;
2297
2297
  }, {
2298
+ password: string;
2298
2299
  host: string;
2299
2300
  user: string;
2300
- password: string;
2301
2301
  database: string;
2302
2302
  sshEnabled?: boolean | undefined;
2303
2303
  sshHost?: string | undefined;
@@ -2324,9 +2324,9 @@ declare const databaseMetadataSchemasByType: {
2324
2324
  user: z.ZodString;
2325
2325
  password: z.ZodString;
2326
2326
  }, "strip", z.ZodTypeAny, {
2327
+ password: string;
2327
2328
  host: string;
2328
2329
  user: string;
2329
- password: string;
2330
2330
  database: string;
2331
2331
  sshEnabled?: boolean | undefined;
2332
2332
  sshHost?: string | undefined;
@@ -2338,9 +2338,9 @@ declare const databaseMetadataSchemasByType: {
2338
2338
  caCertificateText?: string | undefined;
2339
2339
  authMethod?: "username-and-password" | undefined;
2340
2340
  }, {
2341
+ password: string;
2341
2342
  host: string;
2342
2343
  user: string;
2343
- password: string;
2344
2344
  database: string;
2345
2345
  sshEnabled?: boolean | undefined;
2346
2346
  sshHost?: string | undefined;
@@ -2435,9 +2435,9 @@ declare const databaseMetadataSchemasByType: {
2435
2435
  caCertificateName?: string | undefined;
2436
2436
  caCertificateText?: string | undefined;
2437
2437
  }>]>, {
2438
+ password: string;
2438
2439
  host: string;
2439
2440
  user: string;
2440
- password: string;
2441
2441
  database: string;
2442
2442
  sshEnabled?: boolean | undefined;
2443
2443
  sshHost?: string | undefined;
@@ -2667,9 +2667,9 @@ declare const databaseMetadataSchemasByType: {
2667
2667
  } & {
2668
2668
  port: z.ZodString;
2669
2669
  }, "strip", z.ZodTypeAny, {
2670
+ password: string;
2670
2671
  host: string;
2671
2672
  user: string;
2672
- password: string;
2673
2673
  database: string;
2674
2674
  port: string;
2675
2675
  sshEnabled?: boolean | undefined;
@@ -2677,9 +2677,9 @@ declare const databaseMetadataSchemasByType: {
2677
2677
  sshPort?: string | undefined;
2678
2678
  sshUser?: string | undefined;
2679
2679
  }, {
2680
+ password: string;
2680
2681
  host: string;
2681
2682
  user: string;
2682
- password: string;
2683
2683
  database: string;
2684
2684
  port: string;
2685
2685
  sshEnabled?: boolean | undefined;
@@ -2704,9 +2704,9 @@ declare const databaseMetadataSchemasByType: {
2704
2704
  } & {
2705
2705
  authMethod: z.ZodLiteral<null>;
2706
2706
  }, "strip", z.ZodTypeAny, {
2707
+ password: string;
2707
2708
  host: string;
2708
2709
  user: string;
2709
- password: string;
2710
2710
  database: string;
2711
2711
  authMethod: null;
2712
2712
  sshEnabled?: boolean | undefined;
@@ -2718,9 +2718,9 @@ declare const databaseMetadataSchemasByType: {
2718
2718
  caCertificateName?: string | undefined;
2719
2719
  caCertificateText?: string | undefined;
2720
2720
  }, {
2721
+ password: string;
2721
2722
  host: string;
2722
2723
  user: string;
2723
- password: string;
2724
2724
  database: string;
2725
2725
  authMethod: null;
2726
2726
  sshEnabled?: boolean | undefined;
@@ -2748,9 +2748,9 @@ declare const databaseMetadataSchemasByType: {
2748
2748
  } & {
2749
2749
  authMethod: z.ZodLiteral<"password">;
2750
2750
  }, "strip", z.ZodTypeAny, {
2751
+ password: string;
2751
2752
  host: string;
2752
2753
  user: string;
2753
- password: string;
2754
2754
  database: string;
2755
2755
  authMethod: "password";
2756
2756
  sshEnabled?: boolean | undefined;
@@ -2762,9 +2762,9 @@ declare const databaseMetadataSchemasByType: {
2762
2762
  caCertificateName?: string | undefined;
2763
2763
  caCertificateText?: string | undefined;
2764
2764
  }, {
2765
+ password: string;
2765
2766
  host: string;
2766
2767
  user: string;
2767
- password: string;
2768
2768
  database: string;
2769
2769
  authMethod: "password";
2770
2770
  sshEnabled?: boolean | undefined;
@@ -2924,7 +2924,7 @@ declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key
2924
2924
  type FederatedAuthMethod = (typeof federatedAuthMethods)[number];
2925
2925
  declare function isFederatedAuthMethod(authMethod: string): authMethod is FederatedAuthMethod;
2926
2926
  declare function isFederatedAuthMetadata<M extends {
2927
- authMethod: string;
2927
+ authMethod?: string;
2928
2928
  }>(metadata: M): metadata is Extract<M, {
2929
2929
  authMethod: FederatedAuthMethod;
2930
2930
  }>;