@deepnote/database-integrations 1.3.2 → 1.3.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.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;
36
35
  host: string;
37
36
  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;
49
48
  host: string;
50
49
  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;
68
67
  host: string;
69
68
  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;
87
86
  host: string;
88
87
  user: string;
88
+ password: string;
89
89
  database: string;
90
90
  sshEnabled?: boolean | undefined;
91
91
  sshHost?: string | undefined;
@@ -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;
451
450
  host: string;
452
451
  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;
464
463
  host: string;
465
464
  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;
483
482
  host: string;
484
483
  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;
502
501
  host: string;
503
502
  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;
538
537
  host: string;
539
538
  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;
552
551
  host: string;
553
552
  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;
572
571
  host: string;
573
572
  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;
592
591
  host: string;
593
592
  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;
627
626
  host: string;
628
627
  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;
640
639
  host: string;
641
640
  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;
659
658
  host: string;
660
659
  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;
678
677
  host: string;
679
678
  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;
717
715
  host?: string | undefined;
718
716
  user?: string | undefined;
717
+ password?: string | undefined;
719
718
  database?: string | undefined;
720
719
  sshEnabled?: boolean | undefined;
721
720
  sshHost?: string | undefined;
722
721
  sshPort?: string | undefined;
723
722
  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;
734
732
  host?: string | undefined;
735
733
  user?: string | undefined;
734
+ password?: string | undefined;
736
735
  database?: string | undefined;
737
736
  sshEnabled?: boolean | undefined;
738
737
  sshHost?: string | undefined;
739
738
  sshPort?: string | undefined;
740
739
  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;
757
755
  host?: string | undefined;
758
756
  user?: string | undefined;
757
+ password?: string | undefined;
759
758
  database?: string | undefined;
760
759
  sshEnabled?: boolean | undefined;
761
760
  sshHost?: string | undefined;
762
761
  sshPort?: string | undefined;
763
762
  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;
780
778
  host?: string | undefined;
781
779
  user?: string | undefined;
780
+ password?: string | undefined;
782
781
  database?: string | undefined;
783
782
  sshEnabled?: boolean | undefined;
784
783
  sshHost?: string | undefined;
785
784
  sshPort?: string | undefined;
786
785
  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;
816
815
  host: string;
817
816
  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;
829
828
  host: string;
830
829
  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;
848
847
  host: string;
849
848
  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;
867
866
  host: string;
868
867
  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;
920
919
  host: string;
921
920
  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;
933
932
  host: string;
934
933
  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;
952
951
  host: string;
953
952
  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;
971
970
  host: string;
972
971
  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;
1006
1005
  host: string;
1007
1006
  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;
1020
1019
  host: string;
1021
1020
  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;
1117
1116
  host: string;
1118
1117
  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;
1164
1163
  host: string;
1165
1164
  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?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1204
+ federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | null | undefined;
1205
1205
  }, {
1206
1206
  type: "redshift";
1207
1207
  id: string;
1208
1208
  name: string;
1209
1209
  metadata?: unknown;
1210
- federated_auth_method?: "iam-role" | "username-and-password" | "individual-credentials" | null | undefined;
1210
+ federated_auth_method?: "username-and-password" | "individual-credentials" | "iam-role" | 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?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1437
+ federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | 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?: "azure" | "key-pair" | "service-account-key-pair" | "snowflake" | "okta" | "password" | null | undefined;
1495
+ federated_auth_method?: "snowflake" | "password" | "azure" | "key-pair" | "service-account-key-pair" | "okta" | 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;
1558
1557
  host: string;
1559
1558
  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;
1568
1567
  host: string;
1569
1568
  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;
1584
1583
  host: string;
1585
1584
  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;
1600
1599
  host: string;
1601
1600
  user: string;
1601
+ password: string;
1602
1602
  database: string;
1603
1603
  port: string;
1604
1604
  sshEnabled?: boolean | undefined;
@@ -1612,12 +1612,54 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1612
1612
  name: z$1.ZodString;
1613
1613
  } & {
1614
1614
  type: z$1.ZodLiteral<"trino">;
1615
- metadata: z$1.ZodObject<{
1615
+ metadata: z$1.ZodDiscriminatedUnion<"authMethod", [z$1.ZodObject<{
1616
1616
  host: z$1.ZodString;
1617
+ port: z$1.ZodOptional<z$1.ZodString>;
1618
+ database: z$1.ZodString;
1619
+ sshEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1620
+ sshHost: z$1.ZodOptional<z$1.ZodString>;
1621
+ sshPort: z$1.ZodOptional<z$1.ZodString>;
1622
+ sshUser: z$1.ZodOptional<z$1.ZodString>;
1623
+ sslEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1624
+ caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1625
+ caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1626
+ } & {
1617
1627
  user: z$1.ZodString;
1618
1628
  password: z$1.ZodString;
1629
+ } & {
1630
+ authMethod: z$1.ZodLiteral<null>;
1631
+ }, "strip", z$1.ZodTypeAny, {
1632
+ host: string;
1633
+ user: string;
1634
+ password: string;
1635
+ database: string;
1636
+ authMethod: null;
1637
+ sshEnabled?: boolean | undefined;
1638
+ sshHost?: string | undefined;
1639
+ sshPort?: string | undefined;
1640
+ sshUser?: string | undefined;
1641
+ port?: string | undefined;
1642
+ sslEnabled?: boolean | undefined;
1643
+ caCertificateName?: string | undefined;
1644
+ caCertificateText?: string | undefined;
1645
+ }, {
1646
+ host: string;
1647
+ user: string;
1648
+ password: string;
1649
+ database: string;
1650
+ authMethod: null;
1651
+ sshEnabled?: boolean | undefined;
1652
+ sshHost?: string | undefined;
1653
+ sshPort?: string | undefined;
1654
+ sshUser?: string | undefined;
1655
+ port?: string | undefined;
1656
+ sslEnabled?: boolean | undefined;
1657
+ caCertificateName?: string | undefined;
1658
+ caCertificateText?: string | undefined;
1659
+ }>, z$1.ZodObject<{
1660
+ host: z$1.ZodString;
1661
+ port: z$1.ZodOptional<z$1.ZodString>;
1619
1662
  database: z$1.ZodString;
1620
- port: z$1.ZodString;
1621
1663
  sshEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1622
1664
  sshHost: z$1.ZodOptional<z$1.ZodString>;
1623
1665
  sshPort: z$1.ZodOptional<z$1.ZodString>;
@@ -1625,48 +1667,135 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1625
1667
  sslEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1626
1668
  caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1627
1669
  caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1670
+ } & {
1671
+ user: z$1.ZodString;
1672
+ password: z$1.ZodString;
1673
+ } & {
1674
+ authMethod: z$1.ZodLiteral<"password">;
1628
1675
  }, "strip", z$1.ZodTypeAny, {
1629
- password: string;
1630
1676
  host: string;
1631
1677
  user: string;
1678
+ password: string;
1632
1679
  database: string;
1633
- port: string;
1680
+ authMethod: "password";
1634
1681
  sshEnabled?: boolean | undefined;
1635
1682
  sshHost?: string | undefined;
1636
1683
  sshPort?: string | undefined;
1637
1684
  sshUser?: string | undefined;
1685
+ port?: string | undefined;
1638
1686
  sslEnabled?: boolean | undefined;
1639
1687
  caCertificateName?: string | undefined;
1640
1688
  caCertificateText?: string | undefined;
1641
1689
  }, {
1642
- password: string;
1643
1690
  host: string;
1644
1691
  user: string;
1692
+ password: string;
1645
1693
  database: string;
1646
- port: string;
1694
+ authMethod: "password";
1647
1695
  sshEnabled?: boolean | undefined;
1648
1696
  sshHost?: string | undefined;
1649
1697
  sshPort?: string | undefined;
1650
1698
  sshUser?: string | undefined;
1699
+ port?: string | undefined;
1651
1700
  sslEnabled?: boolean | undefined;
1652
1701
  caCertificateName?: string | undefined;
1653
1702
  caCertificateText?: string | undefined;
1654
- }>;
1703
+ }>, z$1.ZodObject<{
1704
+ host: z$1.ZodString;
1705
+ port: z$1.ZodOptional<z$1.ZodString>;
1706
+ database: z$1.ZodString;
1707
+ sshEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1708
+ sshHost: z$1.ZodOptional<z$1.ZodString>;
1709
+ sshPort: z$1.ZodOptional<z$1.ZodString>;
1710
+ sshUser: z$1.ZodOptional<z$1.ZodString>;
1711
+ sslEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
1712
+ caCertificateName: z$1.ZodOptional<z$1.ZodString>;
1713
+ caCertificateText: z$1.ZodOptional<z$1.ZodString>;
1714
+ } & {
1715
+ authMethod: z$1.ZodLiteral<"oauth">;
1716
+ clientId: z$1.ZodString;
1717
+ clientSecret: z$1.ZodString;
1718
+ authUrl: z$1.ZodString;
1719
+ tokenUrl: z$1.ZodString;
1720
+ }, "strip", z$1.ZodTypeAny, {
1721
+ host: string;
1722
+ database: string;
1723
+ authMethod: "oauth";
1724
+ clientId: string;
1725
+ clientSecret: string;
1726
+ authUrl: string;
1727
+ tokenUrl: string;
1728
+ sshEnabled?: boolean | undefined;
1729
+ sshHost?: string | undefined;
1730
+ sshPort?: string | undefined;
1731
+ sshUser?: string | undefined;
1732
+ port?: string | undefined;
1733
+ sslEnabled?: boolean | undefined;
1734
+ caCertificateName?: string | undefined;
1735
+ caCertificateText?: string | undefined;
1736
+ }, {
1737
+ host: string;
1738
+ database: string;
1739
+ authMethod: "oauth";
1740
+ clientId: string;
1741
+ clientSecret: string;
1742
+ authUrl: string;
1743
+ tokenUrl: string;
1744
+ sshEnabled?: boolean | undefined;
1745
+ sshHost?: string | undefined;
1746
+ sshPort?: string | undefined;
1747
+ sshUser?: string | undefined;
1748
+ port?: string | undefined;
1749
+ sslEnabled?: boolean | undefined;
1750
+ caCertificateName?: string | undefined;
1751
+ caCertificateText?: string | undefined;
1752
+ }>]>;
1655
1753
  federated_auth_method: z$1.ZodOptional<z$1.ZodNull>;
1656
1754
  }, "strip", z$1.ZodTypeAny, {
1657
1755
  type: "trino";
1658
1756
  id: string;
1659
1757
  name: string;
1660
1758
  metadata: {
1759
+ host: string;
1760
+ user: string;
1661
1761
  password: string;
1762
+ database: string;
1763
+ authMethod: null;
1764
+ sshEnabled?: boolean | undefined;
1765
+ sshHost?: string | undefined;
1766
+ sshPort?: string | undefined;
1767
+ sshUser?: string | undefined;
1768
+ port?: string | undefined;
1769
+ sslEnabled?: boolean | undefined;
1770
+ caCertificateName?: string | undefined;
1771
+ caCertificateText?: string | undefined;
1772
+ } | {
1662
1773
  host: string;
1663
1774
  user: string;
1775
+ password: string;
1664
1776
  database: string;
1665
- port: string;
1777
+ authMethod: "password";
1778
+ sshEnabled?: boolean | undefined;
1779
+ sshHost?: string | undefined;
1780
+ sshPort?: string | undefined;
1781
+ sshUser?: string | undefined;
1782
+ port?: string | undefined;
1783
+ sslEnabled?: boolean | undefined;
1784
+ caCertificateName?: string | undefined;
1785
+ caCertificateText?: string | undefined;
1786
+ } | {
1787
+ host: string;
1788
+ database: string;
1789
+ authMethod: "oauth";
1790
+ clientId: string;
1791
+ clientSecret: string;
1792
+ authUrl: string;
1793
+ tokenUrl: string;
1666
1794
  sshEnabled?: boolean | undefined;
1667
1795
  sshHost?: string | undefined;
1668
1796
  sshPort?: string | undefined;
1669
1797
  sshUser?: string | undefined;
1798
+ port?: string | undefined;
1670
1799
  sslEnabled?: boolean | undefined;
1671
1800
  caCertificateName?: string | undefined;
1672
1801
  caCertificateText?: string | undefined;
@@ -1677,15 +1806,46 @@ declare const databaseIntegrationConfigSchema: z$1.ZodDiscriminatedUnion<"type",
1677
1806
  id: string;
1678
1807
  name: string;
1679
1808
  metadata: {
1809
+ host: string;
1810
+ user: string;
1680
1811
  password: string;
1812
+ database: string;
1813
+ authMethod: null;
1814
+ sshEnabled?: boolean | undefined;
1815
+ sshHost?: string | undefined;
1816
+ sshPort?: string | undefined;
1817
+ sshUser?: string | undefined;
1818
+ port?: string | undefined;
1819
+ sslEnabled?: boolean | undefined;
1820
+ caCertificateName?: string | undefined;
1821
+ caCertificateText?: string | undefined;
1822
+ } | {
1681
1823
  host: string;
1682
1824
  user: string;
1825
+ password: string;
1683
1826
  database: string;
1684
- port: string;
1827
+ authMethod: "password";
1828
+ sshEnabled?: boolean | undefined;
1829
+ sshHost?: string | undefined;
1830
+ sshPort?: string | undefined;
1831
+ sshUser?: string | undefined;
1832
+ port?: string | undefined;
1833
+ sslEnabled?: boolean | undefined;
1834
+ caCertificateName?: string | undefined;
1835
+ caCertificateText?: string | undefined;
1836
+ } | {
1837
+ host: string;
1838
+ database: string;
1839
+ authMethod: "oauth";
1840
+ clientId: string;
1841
+ clientSecret: string;
1842
+ authUrl: string;
1843
+ tokenUrl: string;
1685
1844
  sshEnabled?: boolean | undefined;
1686
1845
  sshHost?: string | undefined;
1687
1846
  sshPort?: string | undefined;
1688
1847
  sshUser?: string | undefined;
1848
+ port?: string | undefined;
1689
1849
  sslEnabled?: boolean | undefined;
1690
1850
  caCertificateName?: string | undefined;
1691
1851
  caCertificateText?: string | undefined;
@@ -1714,9 +1874,9 @@ declare const databaseMetadataSchemasByType: {
1714
1874
  caCertificateName: z.ZodOptional<z.ZodString>;
1715
1875
  caCertificateText: z.ZodOptional<z.ZodString>;
1716
1876
  }, "strip", z.ZodTypeAny, {
1717
- password: string;
1718
1877
  host: string;
1719
1878
  user: string;
1879
+ password: string;
1720
1880
  database: string;
1721
1881
  sshEnabled?: boolean | undefined;
1722
1882
  sshHost?: string | undefined;
@@ -1727,9 +1887,9 @@ declare const databaseMetadataSchemasByType: {
1727
1887
  caCertificateName?: string | undefined;
1728
1888
  caCertificateText?: string | undefined;
1729
1889
  }, {
1730
- password: string;
1731
1890
  host: string;
1732
1891
  user: string;
1892
+ password: string;
1733
1893
  database: string;
1734
1894
  sshEnabled?: boolean | undefined;
1735
1895
  sshHost?: string | undefined;
@@ -1901,9 +2061,9 @@ declare const databaseMetadataSchemasByType: {
1901
2061
  caCertificateName: z.ZodOptional<z.ZodString>;
1902
2062
  caCertificateText: z.ZodOptional<z.ZodString>;
1903
2063
  }, "strip", z.ZodTypeAny, {
1904
- password: string;
1905
2064
  host: string;
1906
2065
  user: string;
2066
+ password: string;
1907
2067
  database: string;
1908
2068
  sshEnabled?: boolean | undefined;
1909
2069
  sshHost?: string | undefined;
@@ -1914,9 +2074,9 @@ declare const databaseMetadataSchemasByType: {
1914
2074
  caCertificateName?: string | undefined;
1915
2075
  caCertificateText?: string | undefined;
1916
2076
  }, {
1917
- password: string;
1918
2077
  host: string;
1919
2078
  user: string;
2079
+ password: string;
1920
2080
  database: string;
1921
2081
  sshEnabled?: boolean | undefined;
1922
2082
  sshHost?: string | undefined;
@@ -1944,9 +2104,9 @@ declare const databaseMetadataSchemasByType: {
1944
2104
  } & {
1945
2105
  cluster: z.ZodString;
1946
2106
  }, "strip", z.ZodTypeAny, {
1947
- password: string;
1948
2107
  host: string;
1949
2108
  user: string;
2109
+ password: string;
1950
2110
  database: string;
1951
2111
  cluster: string;
1952
2112
  sshEnabled?: boolean | undefined;
@@ -1958,9 +2118,9 @@ declare const databaseMetadataSchemasByType: {
1958
2118
  caCertificateName?: string | undefined;
1959
2119
  caCertificateText?: string | undefined;
1960
2120
  }, {
1961
- password: string;
1962
2121
  host: string;
1963
2122
  user: string;
2123
+ password: string;
1964
2124
  database: string;
1965
2125
  cluster: string;
1966
2126
  sshEnabled?: boolean | undefined;
@@ -1987,9 +2147,9 @@ declare const databaseMetadataSchemasByType: {
1987
2147
  caCertificateName: z.ZodOptional<z.ZodString>;
1988
2148
  caCertificateText: z.ZodOptional<z.ZodString>;
1989
2149
  }, "strip", z.ZodTypeAny, {
1990
- password: string;
1991
2150
  host: string;
1992
2151
  user: string;
2152
+ password: string;
1993
2153
  database: string;
1994
2154
  sshEnabled?: boolean | undefined;
1995
2155
  sshHost?: string | undefined;
@@ -2000,9 +2160,9 @@ declare const databaseMetadataSchemasByType: {
2000
2160
  caCertificateName?: string | undefined;
2001
2161
  caCertificateText?: string | undefined;
2002
2162
  }, {
2003
- password: string;
2004
2163
  host: string;
2005
2164
  user: string;
2165
+ password: string;
2006
2166
  database: string;
2007
2167
  sshEnabled?: boolean | undefined;
2008
2168
  sshHost?: string | undefined;
@@ -2032,15 +2192,15 @@ declare const databaseMetadataSchemasByType: {
2032
2192
  caCertificateText: z.ZodOptional<z.ZodString>;
2033
2193
  }, "strip", z.ZodTypeAny, {
2034
2194
  connection_string: string;
2035
- password?: string | undefined;
2036
- options?: string | undefined;
2037
2195
  host?: string | undefined;
2038
2196
  user?: string | undefined;
2197
+ password?: string | undefined;
2039
2198
  database?: string | undefined;
2040
2199
  sshEnabled?: boolean | undefined;
2041
2200
  sshHost?: string | undefined;
2042
2201
  sshPort?: string | undefined;
2043
2202
  sshUser?: string | undefined;
2203
+ options?: string | undefined;
2044
2204
  port?: string | undefined;
2045
2205
  sslEnabled?: boolean | undefined;
2046
2206
  caCertificateName?: string | undefined;
@@ -2049,15 +2209,15 @@ declare const databaseMetadataSchemasByType: {
2049
2209
  prefix?: string | undefined;
2050
2210
  }, {
2051
2211
  connection_string: string;
2052
- password?: string | undefined;
2053
- options?: string | undefined;
2054
2212
  host?: string | undefined;
2055
2213
  user?: string | undefined;
2214
+ password?: string | undefined;
2056
2215
  database?: string | undefined;
2057
2216
  sshEnabled?: boolean | undefined;
2058
2217
  sshHost?: string | undefined;
2059
2218
  sshPort?: string | undefined;
2060
2219
  sshUser?: string | undefined;
2220
+ options?: string | undefined;
2061
2221
  port?: string | undefined;
2062
2222
  sslEnabled?: boolean | undefined;
2063
2223
  caCertificateName?: string | undefined;
@@ -2080,9 +2240,9 @@ declare const databaseMetadataSchemasByType: {
2080
2240
  caCertificateName: z.ZodOptional<z.ZodString>;
2081
2241
  caCertificateText: z.ZodOptional<z.ZodString>;
2082
2242
  }, "strip", z.ZodTypeAny, {
2083
- password: string;
2084
2243
  host: string;
2085
2244
  user: string;
2245
+ password: string;
2086
2246
  database: string;
2087
2247
  sshEnabled?: boolean | undefined;
2088
2248
  sshHost?: string | undefined;
@@ -2093,9 +2253,9 @@ declare const databaseMetadataSchemasByType: {
2093
2253
  caCertificateName?: string | undefined;
2094
2254
  caCertificateText?: string | undefined;
2095
2255
  }, {
2096
- password: string;
2097
2256
  host: string;
2098
2257
  user: string;
2258
+ password: string;
2099
2259
  database: string;
2100
2260
  sshEnabled?: boolean | undefined;
2101
2261
  sshHost?: string | undefined;
@@ -2122,9 +2282,9 @@ declare const databaseMetadataSchemasByType: {
2122
2282
  caCertificateName: z.ZodOptional<z.ZodString>;
2123
2283
  caCertificateText: z.ZodOptional<z.ZodString>;
2124
2284
  }, "strip", z.ZodTypeAny, {
2125
- password: string;
2126
2285
  host: string;
2127
2286
  user: string;
2287
+ password: string;
2128
2288
  database: string;
2129
2289
  sshEnabled?: boolean | undefined;
2130
2290
  sshHost?: string | undefined;
@@ -2135,9 +2295,9 @@ declare const databaseMetadataSchemasByType: {
2135
2295
  caCertificateName?: string | undefined;
2136
2296
  caCertificateText?: string | undefined;
2137
2297
  }, {
2138
- password: string;
2139
2298
  host: string;
2140
2299
  user: string;
2300
+ password: string;
2141
2301
  database: string;
2142
2302
  sshEnabled?: boolean | undefined;
2143
2303
  sshHost?: string | undefined;
@@ -2164,9 +2324,9 @@ declare const databaseMetadataSchemasByType: {
2164
2324
  user: z.ZodString;
2165
2325
  password: z.ZodString;
2166
2326
  }, "strip", z.ZodTypeAny, {
2167
- password: string;
2168
2327
  host: string;
2169
2328
  user: string;
2329
+ password: string;
2170
2330
  database: string;
2171
2331
  sshEnabled?: boolean | undefined;
2172
2332
  sshHost?: string | undefined;
@@ -2178,9 +2338,9 @@ declare const databaseMetadataSchemasByType: {
2178
2338
  caCertificateText?: string | undefined;
2179
2339
  authMethod?: "username-and-password" | undefined;
2180
2340
  }, {
2181
- password: string;
2182
2341
  host: string;
2183
2342
  user: string;
2343
+ password: string;
2184
2344
  database: string;
2185
2345
  sshEnabled?: boolean | undefined;
2186
2346
  sshHost?: string | undefined;
@@ -2275,9 +2435,9 @@ declare const databaseMetadataSchemasByType: {
2275
2435
  caCertificateName?: string | undefined;
2276
2436
  caCertificateText?: string | undefined;
2277
2437
  }>]>, {
2278
- password: string;
2279
2438
  host: string;
2280
2439
  user: string;
2440
+ password: string;
2281
2441
  database: string;
2282
2442
  sshEnabled?: boolean | undefined;
2283
2443
  sshHost?: string | undefined;
@@ -2507,9 +2667,9 @@ declare const databaseMetadataSchemasByType: {
2507
2667
  } & {
2508
2668
  port: z.ZodString;
2509
2669
  }, "strip", z.ZodTypeAny, {
2510
- password: string;
2511
2670
  host: string;
2512
2671
  user: string;
2672
+ password: string;
2513
2673
  database: string;
2514
2674
  port: string;
2515
2675
  sshEnabled?: boolean | undefined;
@@ -2517,9 +2677,9 @@ declare const databaseMetadataSchemasByType: {
2517
2677
  sshPort?: string | undefined;
2518
2678
  sshUser?: string | undefined;
2519
2679
  }, {
2520
- password: string;
2521
2680
  host: string;
2522
2681
  user: string;
2682
+ password: string;
2523
2683
  database: string;
2524
2684
  port: string;
2525
2685
  sshEnabled?: boolean | undefined;
@@ -2527,12 +2687,54 @@ declare const databaseMetadataSchemasByType: {
2527
2687
  sshPort?: string | undefined;
2528
2688
  sshUser?: string | undefined;
2529
2689
  }>;
2530
- readonly trino: z.ZodObject<{
2690
+ readonly trino: z.ZodDiscriminatedUnion<"authMethod", [z.ZodObject<{
2531
2691
  host: z.ZodString;
2692
+ port: z.ZodOptional<z.ZodString>;
2693
+ database: z.ZodString;
2694
+ sshEnabled: z.ZodOptional<z.ZodBoolean>;
2695
+ sshHost: z.ZodOptional<z.ZodString>;
2696
+ sshPort: z.ZodOptional<z.ZodString>;
2697
+ sshUser: z.ZodOptional<z.ZodString>;
2698
+ sslEnabled: z.ZodOptional<z.ZodBoolean>;
2699
+ caCertificateName: z.ZodOptional<z.ZodString>;
2700
+ caCertificateText: z.ZodOptional<z.ZodString>;
2701
+ } & {
2532
2702
  user: z.ZodString;
2533
2703
  password: z.ZodString;
2704
+ } & {
2705
+ authMethod: z.ZodLiteral<null>;
2706
+ }, "strip", z.ZodTypeAny, {
2707
+ host: string;
2708
+ user: string;
2709
+ password: string;
2710
+ database: string;
2711
+ authMethod: null;
2712
+ sshEnabled?: boolean | undefined;
2713
+ sshHost?: string | undefined;
2714
+ sshPort?: string | undefined;
2715
+ sshUser?: string | undefined;
2716
+ port?: string | undefined;
2717
+ sslEnabled?: boolean | undefined;
2718
+ caCertificateName?: string | undefined;
2719
+ caCertificateText?: string | undefined;
2720
+ }, {
2721
+ host: string;
2722
+ user: string;
2723
+ password: string;
2724
+ database: string;
2725
+ authMethod: null;
2726
+ sshEnabled?: boolean | undefined;
2727
+ sshHost?: string | undefined;
2728
+ sshPort?: string | undefined;
2729
+ sshUser?: string | undefined;
2730
+ port?: string | undefined;
2731
+ sslEnabled?: boolean | undefined;
2732
+ caCertificateName?: string | undefined;
2733
+ caCertificateText?: string | undefined;
2734
+ }>, z.ZodObject<{
2735
+ host: z.ZodString;
2736
+ port: z.ZodOptional<z.ZodString>;
2534
2737
  database: z.ZodString;
2535
- port: z.ZodString;
2536
2738
  sshEnabled: z.ZodOptional<z.ZodBoolean>;
2537
2739
  sshHost: z.ZodOptional<z.ZodString>;
2538
2740
  sshPort: z.ZodOptional<z.ZodString>;
@@ -2540,33 +2742,89 @@ declare const databaseMetadataSchemasByType: {
2540
2742
  sslEnabled: z.ZodOptional<z.ZodBoolean>;
2541
2743
  caCertificateName: z.ZodOptional<z.ZodString>;
2542
2744
  caCertificateText: z.ZodOptional<z.ZodString>;
2745
+ } & {
2746
+ user: z.ZodString;
2747
+ password: z.ZodString;
2748
+ } & {
2749
+ authMethod: z.ZodLiteral<"password">;
2543
2750
  }, "strip", z.ZodTypeAny, {
2544
- password: string;
2545
2751
  host: string;
2546
2752
  user: string;
2753
+ password: string;
2547
2754
  database: string;
2548
- port: string;
2755
+ authMethod: "password";
2549
2756
  sshEnabled?: boolean | undefined;
2550
2757
  sshHost?: string | undefined;
2551
2758
  sshPort?: string | undefined;
2552
2759
  sshUser?: string | undefined;
2760
+ port?: string | undefined;
2553
2761
  sslEnabled?: boolean | undefined;
2554
2762
  caCertificateName?: string | undefined;
2555
2763
  caCertificateText?: string | undefined;
2556
2764
  }, {
2557
- password: string;
2558
2765
  host: string;
2559
2766
  user: string;
2767
+ password: string;
2560
2768
  database: string;
2561
- port: string;
2769
+ authMethod: "password";
2562
2770
  sshEnabled?: boolean | undefined;
2563
2771
  sshHost?: string | undefined;
2564
2772
  sshPort?: string | undefined;
2565
2773
  sshUser?: string | undefined;
2774
+ port?: string | undefined;
2566
2775
  sslEnabled?: boolean | undefined;
2567
2776
  caCertificateName?: string | undefined;
2568
2777
  caCertificateText?: string | undefined;
2569
- }>;
2778
+ }>, z.ZodObject<{
2779
+ host: z.ZodString;
2780
+ port: z.ZodOptional<z.ZodString>;
2781
+ database: z.ZodString;
2782
+ sshEnabled: z.ZodOptional<z.ZodBoolean>;
2783
+ sshHost: z.ZodOptional<z.ZodString>;
2784
+ sshPort: z.ZodOptional<z.ZodString>;
2785
+ sshUser: z.ZodOptional<z.ZodString>;
2786
+ sslEnabled: z.ZodOptional<z.ZodBoolean>;
2787
+ caCertificateName: z.ZodOptional<z.ZodString>;
2788
+ caCertificateText: z.ZodOptional<z.ZodString>;
2789
+ } & {
2790
+ authMethod: z.ZodLiteral<"oauth">;
2791
+ clientId: z.ZodString;
2792
+ clientSecret: z.ZodString;
2793
+ authUrl: z.ZodString;
2794
+ tokenUrl: z.ZodString;
2795
+ }, "strip", z.ZodTypeAny, {
2796
+ host: string;
2797
+ database: string;
2798
+ authMethod: "oauth";
2799
+ clientId: string;
2800
+ clientSecret: string;
2801
+ authUrl: string;
2802
+ tokenUrl: string;
2803
+ sshEnabled?: boolean | undefined;
2804
+ sshHost?: string | undefined;
2805
+ sshPort?: string | undefined;
2806
+ sshUser?: string | undefined;
2807
+ port?: string | undefined;
2808
+ sslEnabled?: boolean | undefined;
2809
+ caCertificateName?: string | undefined;
2810
+ caCertificateText?: string | undefined;
2811
+ }, {
2812
+ host: string;
2813
+ database: string;
2814
+ authMethod: "oauth";
2815
+ clientId: string;
2816
+ clientSecret: string;
2817
+ authUrl: string;
2818
+ tokenUrl: string;
2819
+ sshEnabled?: boolean | undefined;
2820
+ sshHost?: string | undefined;
2821
+ sshPort?: string | undefined;
2822
+ sshUser?: string | undefined;
2823
+ port?: string | undefined;
2824
+ sslEnabled?: boolean | undefined;
2825
+ caCertificateName?: string | undefined;
2826
+ caCertificateText?: string | undefined;
2827
+ }>]>;
2570
2828
  };
2571
2829
  type DatabaseIntegrationMetadataByType = { [integrationType in DatabaseIntegrationType]: z.infer<(typeof databaseMetadataSchemasByType)[integrationType]> };
2572
2830
  //#endregion
@@ -2652,12 +2910,17 @@ declare const BigQueryAuthMethods: {
2652
2910
  readonly GoogleOauth: "google-oauth";
2653
2911
  };
2654
2912
  type BigQueryAuthMethod = (typeof BigQueryAuthMethods)[keyof typeof BigQueryAuthMethods];
2913
+ declare const TrinoAuthMethods: {
2914
+ readonly Password: "password";
2915
+ readonly Oauth: "oauth";
2916
+ };
2917
+ type TrinoAuthMethod = (typeof TrinoAuthMethods)[keyof typeof TrinoAuthMethods];
2655
2918
  declare const DatabaseAuthMethods: {
2656
2919
  readonly UsernameAndPassword: "username-and-password";
2657
2920
  readonly IndividualCredentials: "individual-credentials";
2658
2921
  };
2659
2922
  type DatabaseAuthMethod = (typeof DatabaseAuthMethods)[keyof typeof DatabaseAuthMethods];
2660
- declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key-pair", "google-oauth", "individual-credentials"];
2923
+ declare const federatedAuthMethods: readonly ["okta", "snowflake", "azure", "key-pair", "google-oauth", "individual-credentials", "oauth"];
2661
2924
  type FederatedAuthMethod = (typeof federatedAuthMethods)[number];
2662
2925
  declare function isFederatedAuthMethod(authMethod: string): authMethod is FederatedAuthMethod;
2663
2926
  declare function isFederatedAuthMetadata<M extends {
@@ -2683,4 +2946,4 @@ interface SnowflakeKeyPair {
2683
2946
  username: string;
2684
2947
  }
2685
2948
  //#endregion
2686
- 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, databaseIntegrationConfigSchema, databaseIntegrationTypes, databaseIntegrationTypesWithSslSupport, databaseMetadataSchemasByType, federatedAuthMethods, getEnvironmentVariablesForIntegrations, getSnowflakeFederatedAuthSqlAlchemyInput, getSqlAlchemyInput, isDatabaseIntegrationType, isDatabaseIntegrationTypeWithSslSupport, isFederatedAuthMetadata, isFederatedAuthMethod, isSqlIntegrationType, sqlIntegrationTypes };
2949
+ 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 };