@neon/tools 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2786,6 +2786,130 @@ export declare const toolFactories: {
2786
2786
  vercel: "vercel";
2787
2787
  }>;
2788
2788
  }, z.core.$strict>, "delete_auth_oauth_providers", null>;
2789
+ "auth.oauthServer.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2790
+ project_id: z.ZodString;
2791
+ branch_id: z.ZodString;
2792
+ }, z.core.$strict>, "get_auth_oauth_server", {
2793
+ enabled: boolean;
2794
+ login_page?: string | null | undefined;
2795
+ consent_page?: string | null | undefined;
2796
+ mcp?: {
2797
+ resource?: string | null | undefined;
2798
+ dynamic_registration?: boolean | null | undefined;
2799
+ client_id_metadata_documents?: boolean | null | undefined;
2800
+ } | null | undefined;
2801
+ resources?: {
2802
+ identifier: string;
2803
+ }[] | null | undefined;
2804
+ }>;
2805
+ "auth.oauthServer.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2806
+ project_id: z.ZodString;
2807
+ branch_id: z.ZodString;
2808
+ enabled: z.ZodOptional<z.ZodBoolean>;
2809
+ login_page: z.ZodOptional<z.ZodString>;
2810
+ consent_page: z.ZodOptional<z.ZodString>;
2811
+ mcp: z.ZodOptional<z.ZodObject<{
2812
+ resource: z.ZodString;
2813
+ dynamic_registration: z.ZodOptional<z.ZodBoolean>;
2814
+ client_id_metadata_documents: z.ZodOptional<z.ZodBoolean>;
2815
+ }, z.core.$strict>>;
2816
+ resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2817
+ identifier: z.ZodString;
2818
+ }, z.core.$strict>>>;
2819
+ }, z.core.$strict>, "update_auth_oauth_server", {
2820
+ enabled: boolean;
2821
+ login_page?: string | null | undefined;
2822
+ consent_page?: string | null | undefined;
2823
+ mcp?: {
2824
+ resource?: string | null | undefined;
2825
+ dynamic_registration?: boolean | null | undefined;
2826
+ client_id_metadata_documents?: boolean | null | undefined;
2827
+ } | null | undefined;
2828
+ resources?: {
2829
+ identifier: string;
2830
+ }[] | null | undefined;
2831
+ }>;
2832
+ "auth.oauthClients.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2833
+ project_id: z.ZodString;
2834
+ branch_id: z.ZodString;
2835
+ }, z.core.$strict>, "list_auth_oauth_clients", {
2836
+ client_id: string;
2837
+ name: string;
2838
+ type: import("@neon/sdk").NeonAuthOAuthClientType;
2839
+ redirect_uris: string[];
2840
+ resources: string[];
2841
+ skip_consent: boolean;
2842
+ disabled: boolean;
2843
+ created_at?: string | null | undefined;
2844
+ }[]>;
2845
+ "auth.oauthClients.get": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2846
+ project_id: z.ZodString;
2847
+ branch_id: z.ZodString;
2848
+ client_id: z.ZodString;
2849
+ }, z.core.$strict>, "get_auth_oauth_clients", {
2850
+ client_id: string;
2851
+ name: string;
2852
+ type: import("@neon/sdk").NeonAuthOAuthClientType;
2853
+ redirect_uris: string[];
2854
+ resources: string[];
2855
+ skip_consent: boolean;
2856
+ disabled: boolean;
2857
+ created_at?: string | null | undefined;
2858
+ }>;
2859
+ "auth.oauthClients.create": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2860
+ project_id: z.ZodString;
2861
+ branch_id: z.ZodString;
2862
+ name: z.ZodString;
2863
+ redirect_uris: z.ZodArray<z.ZodString>;
2864
+ type: z.ZodEnum<{
2865
+ confidential: "confidential";
2866
+ public: "public";
2867
+ }>;
2868
+ resources: z.ZodArray<z.ZodString>;
2869
+ skip_consent: z.ZodOptional<z.ZodBoolean>;
2870
+ }, z.core.$strict>, "create_auth_oauth_clients", {
2871
+ client_id: string;
2872
+ name: string;
2873
+ type: import("@neon/sdk").NeonAuthOAuthClientType;
2874
+ redirect_uris: string[];
2875
+ resources: string[];
2876
+ skip_consent: boolean;
2877
+ disabled: boolean;
2878
+ created_at?: string | null | undefined;
2879
+ client_secret?: string | null | undefined;
2880
+ }>;
2881
+ "auth.oauthClients.update": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2882
+ project_id: z.ZodString;
2883
+ branch_id: z.ZodString;
2884
+ client_id: z.ZodString;
2885
+ name: z.ZodOptional<z.ZodString>;
2886
+ redirect_uris: z.ZodOptional<z.ZodArray<z.ZodString>>;
2887
+ skip_consent: z.ZodOptional<z.ZodBoolean>;
2888
+ disabled: z.ZodOptional<z.ZodBoolean>;
2889
+ resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
2890
+ }, z.core.$strict>, "update_auth_oauth_clients", {
2891
+ client_id: string;
2892
+ name: string;
2893
+ type: import("@neon/sdk").NeonAuthOAuthClientType;
2894
+ redirect_uris: string[];
2895
+ resources: string[];
2896
+ skip_consent: boolean;
2897
+ disabled: boolean;
2898
+ created_at?: string | null | undefined;
2899
+ }>;
2900
+ "auth.oauthClients.delete": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2901
+ project_id: z.ZodString;
2902
+ branch_id: z.ZodString;
2903
+ client_id: z.ZodString;
2904
+ }, z.core.$strict>, "delete_auth_oauth_clients", null>;
2905
+ "auth.oauthClients.rotateSecret": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2906
+ project_id: z.ZodString;
2907
+ branch_id: z.ZodString;
2908
+ client_id: z.ZodString;
2909
+ }, z.core.$strict>, "rotate_secret_auth_oauth_clients", {
2910
+ client_id: string;
2911
+ client_secret: string;
2912
+ }>;
2789
2913
  "auth.trustedDomains.list": (options: ToolClientOptions) => import("../operation.js").NeonTool<z.ZodObject<{
2790
2914
  project_id: z.ZodString;
2791
2915
  branch_id: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/lib/ergonomic/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAMN,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmqD6C,CAAC"}
@@ -918,6 +918,89 @@ const toolFactories = {
918
918
  providerId: input.oauth_provider_id
919
919
  }, { signal })
920
920
  }),
921
+ "auth.oauthServer.get": (options) => fromGenerated(options, {
922
+ id: "auth.oauthServer.get",
923
+ generated: "getNeonAuthOAuthProviderPlugin",
924
+ run: (neon, input, signal) => neon.auth.oauthServer.get({
925
+ projectId: input.project_id,
926
+ branchId: input.branch_id
927
+ }, { signal })
928
+ }),
929
+ "auth.oauthServer.update": (options) => fromGenerated(options, {
930
+ id: "auth.oauthServer.update",
931
+ generated: "updateNeonAuthOAuthProviderPlugin",
932
+ run: (neon, input, signal) => neon.auth.oauthServer.update({
933
+ projectId: input.project_id,
934
+ branchId: input.branch_id,
935
+ enabled: input.enabled,
936
+ login_page: input.login_page,
937
+ consent_page: input.consent_page,
938
+ mcp: input.mcp,
939
+ resources: input.resources
940
+ }, { signal })
941
+ }),
942
+ "auth.oauthClients.list": (options) => fromGenerated(options, {
943
+ id: "auth.oauthClients.list",
944
+ generated: "listNeonAuthOAuthClients",
945
+ run: (neon, input, signal) => neon.auth.oauthClients.list({
946
+ projectId: input.project_id,
947
+ branchId: input.branch_id
948
+ }, { signal })
949
+ }),
950
+ "auth.oauthClients.get": (options) => fromGenerated(options, {
951
+ id: "auth.oauthClients.get",
952
+ generated: "getNeonAuthOAuthClient",
953
+ run: (neon, input, signal) => neon.auth.oauthClients.get({
954
+ projectId: input.project_id,
955
+ branchId: input.branch_id,
956
+ clientId: input.client_id
957
+ }, { signal })
958
+ }),
959
+ "auth.oauthClients.create": (options) => fromGenerated(options, {
960
+ id: "auth.oauthClients.create",
961
+ generated: "createNeonAuthOAuthClient",
962
+ run: (neon, input, signal) => neon.auth.oauthClients.create({
963
+ projectId: input.project_id,
964
+ branchId: input.branch_id,
965
+ name: input.name,
966
+ redirect_uris: input.redirect_uris,
967
+ type: input.type,
968
+ resources: input.resources,
969
+ skip_consent: input.skip_consent
970
+ }, { signal })
971
+ }),
972
+ "auth.oauthClients.update": (options) => fromGenerated(options, {
973
+ id: "auth.oauthClients.update",
974
+ generated: "updateNeonAuthOAuthClient",
975
+ run: (neon, input, signal) => neon.auth.oauthClients.update({
976
+ projectId: input.project_id,
977
+ branchId: input.branch_id,
978
+ clientId: input.client_id,
979
+ name: input.name,
980
+ redirect_uris: input.redirect_uris,
981
+ skip_consent: input.skip_consent,
982
+ disabled: input.disabled,
983
+ resources: input.resources
984
+ }, { signal })
985
+ }),
986
+ "auth.oauthClients.delete": (options) => fromGenerated(options, {
987
+ id: "auth.oauthClients.delete",
988
+ generated: "deleteNeonAuthOAuthClient",
989
+ run: (neon, input, signal) => neon.auth.oauthClients.delete({
990
+ projectId: input.project_id,
991
+ branchId: input.branch_id,
992
+ clientId: input.client_id
993
+ }, { signal })
994
+ }),
995
+ "auth.oauthClients.rotateSecret": (options) => fromGenerated(options, {
996
+ id: "auth.oauthClients.rotateSecret",
997
+ generated: "rotateNeonAuthOAuthClientSecret",
998
+ run: (neon, input, signal) => neon.auth.oauthClients.rotateSecret({
999
+ projectId: input.project_id,
1000
+ branchId: input.branch_id,
1001
+ clientId: input.client_id
1002
+ }, { signal })
1003
+ }),
921
1004
  "auth.trustedDomains.list": (options) => fromGenerated(options, {
922
1005
  id: "auth.trustedDomains.list",
923
1006
  generated: "listBranchNeonAuthTrustedDomains",
@@ -1,6 +1,6 @@
1
1
  export declare const hiddenToolIds: readonly ["operations.waitFor", "postgres.roles.password", "storage.objects.get", "credentials.reveal"];
2
2
  export type HiddenToolId = (typeof hiddenToolIds)[number];
3
- export declare const toolIds: readonly ["projects.list", "projects.count", "projects.get", "projects.create", "projects.createAndConnect", "projects.update", "projects.delete", "projects.recover", "projects.transfer", "projects.transferFromUser", "projects.permissions.list", "projects.permissions.grant", "projects.permissions.revoke", "projects.members.list", "projects.members.setRole", "projects.members.removeRole", "branches.list", "branches.get", "branches.create", "branches.createAndConnect", "branches.update", "branches.delete", "branches.getDefault", "branches.setDefault", "branches.resetFromParent", "branches.compareSchema", "branches.finalizeRestore", "postgres.connectionString", "postgres.endpoints.list", "postgres.endpoints.listByBranch", "postgres.endpoints.get", "postgres.endpoints.create", "postgres.endpoints.update", "postgres.endpoints.delete", "postgres.endpoints.start", "postgres.endpoints.suspend", "postgres.endpoints.restart", "postgres.roles.list", "postgres.roles.get", "postgres.roles.create", "postgres.roles.delete", "postgres.roles.resetPassword", "postgres.databases.list", "postgres.databases.get", "postgres.databases.create", "postgres.databases.update", "postgres.databases.delete", "postgres.dataApi.get", "postgres.dataApi.create", "postgres.dataApi.update", "postgres.dataApi.delete", "storage.get", "storage.buckets.list", "storage.buckets.create", "storage.buckets.delete", "storage.objects.list", "storage.objects.delete", "storage.objects.deleteByPrefix", "storage.objects.presign", "functions.list", "functions.get", "functions.update", "functions.delete", "functions.deploy", "functions.customDomains.list", "functions.customDomains.register", "functions.customDomains.delete", "triggers.list", "triggers.get", "triggers.create", "triggers.update", "triggers.delete", "credentials.list", "credentials.create", "credentials.revoke", "credentials.rotate", "aiGateway.get", "realtime.get", "realtime.enable", "realtime.disable", "realtime.secret", "realtime.rotateSecret", "logs.query", "logs.fields", "logs.fieldValues", "snapshots.list", "snapshots.create", "snapshots.update", "snapshots.delete", "snapshots.restore", "snapshots.getSchedule", "snapshots.setSchedule", "operations.list", "operations.get", "auth.get", "auth.create", "auth.disable", "auth.updateConfig", "auth.oauthProviders.list", "auth.oauthProviders.add", "auth.oauthProviders.update", "auth.oauthProviders.delete", "auth.trustedDomains.list", "auth.trustedDomains.add", "auth.trustedDomains.delete", "auth.users.create", "auth.users.delete", "auth.users.updateRole", "consumption.perProject", "consumption.perProjectV2", "consumption.perBranchV2", "apiKeys.list", "apiKeys.create", "apiKeys.revoke", "regions.list", "user.me", "user.organizations"];
3
+ export declare const toolIds: readonly ["projects.list", "projects.count", "projects.get", "projects.create", "projects.createAndConnect", "projects.update", "projects.delete", "projects.recover", "projects.transfer", "projects.transferFromUser", "projects.permissions.list", "projects.permissions.grant", "projects.permissions.revoke", "projects.members.list", "projects.members.setRole", "projects.members.removeRole", "branches.list", "branches.get", "branches.create", "branches.createAndConnect", "branches.update", "branches.delete", "branches.getDefault", "branches.setDefault", "branches.resetFromParent", "branches.compareSchema", "branches.finalizeRestore", "postgres.connectionString", "postgres.endpoints.list", "postgres.endpoints.listByBranch", "postgres.endpoints.get", "postgres.endpoints.create", "postgres.endpoints.update", "postgres.endpoints.delete", "postgres.endpoints.start", "postgres.endpoints.suspend", "postgres.endpoints.restart", "postgres.roles.list", "postgres.roles.get", "postgres.roles.create", "postgres.roles.delete", "postgres.roles.resetPassword", "postgres.databases.list", "postgres.databases.get", "postgres.databases.create", "postgres.databases.update", "postgres.databases.delete", "postgres.dataApi.get", "postgres.dataApi.create", "postgres.dataApi.update", "postgres.dataApi.delete", "storage.get", "storage.buckets.list", "storage.buckets.create", "storage.buckets.delete", "storage.objects.list", "storage.objects.delete", "storage.objects.deleteByPrefix", "storage.objects.presign", "functions.list", "functions.get", "functions.update", "functions.delete", "functions.deploy", "functions.customDomains.list", "functions.customDomains.register", "functions.customDomains.delete", "triggers.list", "triggers.get", "triggers.create", "triggers.update", "triggers.delete", "credentials.list", "credentials.create", "credentials.revoke", "credentials.rotate", "aiGateway.get", "realtime.get", "realtime.enable", "realtime.disable", "realtime.secret", "realtime.rotateSecret", "logs.query", "logs.fields", "logs.fieldValues", "snapshots.list", "snapshots.create", "snapshots.update", "snapshots.delete", "snapshots.restore", "snapshots.getSchedule", "snapshots.setSchedule", "operations.list", "operations.get", "auth.get", "auth.create", "auth.disable", "auth.updateConfig", "auth.oauthProviders.list", "auth.oauthProviders.add", "auth.oauthProviders.update", "auth.oauthProviders.delete", "auth.oauthServer.get", "auth.oauthServer.update", "auth.oauthClients.list", "auth.oauthClients.get", "auth.oauthClients.create", "auth.oauthClients.update", "auth.oauthClients.delete", "auth.oauthClients.rotateSecret", "auth.trustedDomains.list", "auth.trustedDomains.add", "auth.trustedDomains.delete", "auth.users.create", "auth.users.delete", "auth.users.updateRole", "consumption.perProject", "consumption.perProjectV2", "consumption.perBranchV2", "apiKeys.list", "apiKeys.create", "apiKeys.revoke", "regions.list", "user.me", "user.organizations"];
4
4
  export type NeonToolId = (typeof toolIds)[number];
5
5
  export declare const isNeonToolId: (id: string) => id is NeonToolId;
6
6
  export declare const unpublishedToolError: (id: string) => TypeError;
@@ -1 +1 @@
1
- {"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../../src/lib/ergonomic/ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,yGAKhB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,OAAO,srFAsHV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,GAAI,IAAI,MAAM,KAAG,EAAE,IAAI,UACJ,CAAC;AAU7C,eAAO,MAAM,oBAAoB,GAAI,IAAI,MAAM,KAAG,SAOjD,CAAC"}
1
+ {"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../../src/lib/ergonomic/ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,yGAKhB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,OAAO,k5FA8HV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,GAAI,IAAI,MAAM,KAAG,EAAE,IAAI,UACJ,CAAC;AAU7C,eAAO,MAAM,oBAAoB,GAAI,IAAI,MAAM,KAAG,SAOjD,CAAC"}
@@ -108,6 +108,14 @@ const toolIds = [
108
108
  "auth.oauthProviders.add",
109
109
  "auth.oauthProviders.update",
110
110
  "auth.oauthProviders.delete",
111
+ "auth.oauthServer.get",
112
+ "auth.oauthServer.update",
113
+ "auth.oauthClients.list",
114
+ "auth.oauthClients.get",
115
+ "auth.oauthClients.create",
116
+ "auth.oauthClients.update",
117
+ "auth.oauthClients.delete",
118
+ "auth.oauthClients.rotateSecret",
111
119
  "auth.trustedDomains.list",
112
120
  "auth.trustedDomains.add",
113
121
  "auth.trustedDomains.delete",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon/tools",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "Agent tools for the Neon SDK ergonomic client, compatible with MCP, Eve, and Mastra.",
5
5
  "keywords": [
6
6
  "neon",
@@ -69,7 +69,7 @@
69
69
  ],
70
70
  "dependencies": {
71
71
  "zod": "^4.5.4",
72
- "@neon/sdk": "7.5.0"
72
+ "@neon/sdk": "7.6.0"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@hey-api/openapi-ts": "0.98.2",