@neon/tools 2.1.0 → 2.2.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.
- package/README.md +1 -1
- package/dist/generated/zod.gen.d.ts +185 -0
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +101 -1
- package/dist/lib/ergonomic/catalog.d.ts +7 -0
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +9 -0
- package/dist/lib/ergonomic/ids.d.ts +2 -2
- package/dist/lib/ergonomic/ids.d.ts.map +1 -1
- package/dist/lib/ergonomic/ids.js +3 -4
- package/dist/operations.gen.d.ts +136 -1
- package/dist/operations.gen.d.ts.map +1 -1
- package/dist/operations.gen.js +306 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -2
- package/package.json +3 -3
|
@@ -3,8 +3,7 @@ const hiddenToolIds = [
|
|
|
3
3
|
"operations.waitFor",
|
|
4
4
|
"postgres.roles.password",
|
|
5
5
|
"storage.objects.get",
|
|
6
|
-
"credentials.reveal"
|
|
7
|
-
"realtime.secret"
|
|
6
|
+
"credentials.reveal"
|
|
8
7
|
];
|
|
9
8
|
const toolIds = [
|
|
10
9
|
"projects.list",
|
|
@@ -86,6 +85,7 @@ const toolIds = [
|
|
|
86
85
|
"realtime.get",
|
|
87
86
|
"realtime.enable",
|
|
88
87
|
"realtime.disable",
|
|
88
|
+
"realtime.secret",
|
|
89
89
|
"realtime.rotateSecret",
|
|
90
90
|
"logs.query",
|
|
91
91
|
"logs.fields",
|
|
@@ -128,8 +128,7 @@ const hiddenToolHint = {
|
|
|
128
128
|
"operations.waitFor": "Write tools wait for readiness. operations.waitFor is not a tool.",
|
|
129
129
|
"postgres.roles.password": "Role passwords are not published as a tool.",
|
|
130
130
|
"storage.objects.get": "Object bytes are not published as a tool.",
|
|
131
|
-
"credentials.reveal": "Credential secrets are not published as a tool."
|
|
132
|
-
"realtime.secret": "The Realtime secret is not published as a tool."
|
|
131
|
+
"credentials.reveal": "Credential secrets are not published as a tool."
|
|
133
132
|
};
|
|
134
133
|
const unpublishedToolError = (id) => {
|
|
135
134
|
if (hiddenToolIds.includes(id)) return /* @__PURE__ */ new TypeError(`Neon tool "${id}" is not published. ${hiddenToolHint[id]}`);
|
package/dist/operations.gen.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Client } from "@neon/sdk/raw";
|
|
2
2
|
import * as raw from "@neon/sdk/raw";
|
|
3
3
|
import * as z from "zod";
|
|
4
|
-
export declare const operationIds: readonly ["acceptProjectTransferRequest", "addBranchNeonAuthOauthProvider", "addBranchNeonAuthTrustedDomain", "addNeonAuthDomainToRedirectURIWhitelist", "addNeonAuthOauthProvider", "addProjectJWKS", "assignOrganizationVPCEndpoint", "assignProjectVPCEndpoint", "countProjectBranches", "createApiKey", "createBranchNeonAuthNewUser", "createCredential", "createNeonAuth", "createNeonAuthIntegration", "createNeonAuthNewUser", "createNeonAuthProviderSDKKeys", "createOrganizationInvitations", "createOrgApiKey", "createProject", "createProjectBranch", "createProjectBranchAnonymized", "createProjectBranchBucket", "createProjectBranchDataAPI", "createProjectBranchDatabase", "createProjectBranchFunctionDeployment", "createProjectBranchRole", "createProjectBranchTrigger", "createProjectEndpoint", "createProjectTransferRequest", "createSnapshot", "deleteBranchNeonAuthOauthProvider", "deleteBranchNeonAuthTrustedDomain", "deleteBranchNeonAuthUser", "deleteNeonAuthDomainFromRedirectURIWhitelist", "deleteNeonAuthIntegration", "deleteNeonAuthOauthProvider", "deleteNeonAuthUser", "deleteOrganizationSpendingLimit", "deleteOrganizationVPCEndpoint", "deleteProject", "deleteProjectBranch", "deleteProjectBranchBucket", "deleteProjectBranchBucketObject", "deleteProjectBranchBucketObjectsByPrefix", "deleteProjectBranchCustomDomain", "deleteProjectBranchDataAPI", "deleteProjectBranchDatabase", "deleteProjectBranchFunction", "deleteProjectBranchRole", "deleteProjectBranchTrigger", "deleteProjectEndpoint", "deleteProjectJWKS", "deleteProjectVPCEndpoint", "deleteSnapshot", "disableNeonAuth", "disableProjectBranchRealtime", "enableProjectBranchRealtime", "finalizeRestoreBranch", "getActiveRegions", "getAnonymizedBranchStatus", "getAuthDetails", "getAvailablePreloadLibraries", "getConnectionURI", "getConsumptionHistoryPerBranchV2", "getConsumptionHistoryPerProject", "getConsumptionHistoryPerProjectV2", "getCurrentUserInfo", "getCurrentUserOrganizations", "getMaskingRules", "getNeonAuth", "getNeonAuthAllowLocalhost", "getNeonAuthEmailAndPasswordConfig", "getNeonAuthEmailProvider", "getNeonAuthEmailServer", "getNeonAuthPhoneNumberPlugin", "getNeonAuthPluginConfigs", "getNeonAuthWebhookConfig", "getOrganization", "getOrganizationInvitations", "getOrganizationMember", "getOrganizationMembers", "getOrganizationSpendingLimit", "getOrganizationVPCEndpointDetails", "getProject", "getProjectAdvisorSecurityIssues", "getProjectBranch", "getProjectBranchAiGateway", "getProjectBranchBucketObject", "getProjectBranchDataAPI", "getProjectBranchDatabase", "getProjectBranchFunction", "getProjectBranchRealtime", "getProjectBranchRealtimeSecret", "getProjectBranchRole", "getProjectBranchRolePassword", "getProjectBranchSchema", "getProjectBranchSchemaComparison", "getProjectBranchStorage", "getProjectBranchTrigger", "getProjectEndpoint", "getProjectJWKS", "getProjectOperation", "getSnapshotSchedule", "grantPermissionToProject", "listApiKeys", "listBranchNeonAuthOauthProviders", "listBranchNeonAuthTrustedDomains", "listCredentials", "listNeonAuthIntegrations", "listNeonAuthOauthProviders", "listNeonAuthRedirectURIWhitelistDomains", "listOrganizationVPCEndpoints", "listOrganizationVPCEndpointsAllRegions", "listOrgApiKeys", "listProjectBranchBucketObjects", "listProjectBranchBuckets", "listProjectBranchCustomDomains", "listProjectBranchDatabases", "listProjectBranchEndpoints", "listProjectBranches", "listProjectBranchFunctions", "listProjectBranchLogFields", "listProjectBranchLogFieldValues", "listProjectBranchRoles", "listProjectBranchTriggers", "listProjectEndpoints", "listProjectMembers", "listProjectOperations", "listProjectPermissions", "listProjects", "listProjectVPCEndpoints", "listSharedProjects", "listSnapshots", "presignProjectBranchBucketObject", "queryProjectBranchLogs", "recoverProject", "registerProjectBranchCustomDomain", "removeOrganizationMember", "removeProjectMemberRole", "resetProjectBranchRolePassword", "restartProjectEndpoint", "restoreProjectBranch", "restoreSnapshot", "revealCredential", "revokeApiKey", "revokeCredential", "revokeOrgApiKey", "revokePermissionFromProject", "rotateCredential", "rotateProjectBranchRealtimeSecret", "sendNeonAuthEmailProviderTest", "sendNeonAuthTestEmail", "setDefaultProjectBranch", "setOrganizationSpendingLimit", "setProjectMemberRole", "setSnapshotSchedule", "startAnonymization", "startProjectEndpoint", "suspendProjectEndpoint", "transferNeonAuthProviderProject", "transferProjectsFromOrgToOrg", "transferProjectsFromUserToOrg", "updateBranchNeonAuthOauthProvider", "updateMaskingRules", "updateNeonAuthAllowLocalhost", "updateNeonAuthConfig", "updateNeonAuthEmailAndPasswordConfig", "updateNeonAuthEmailProvider", "updateNeonAuthEmailServer", "updateNeonAuthMagicLinkPlugin", "updateNeonAuthOauthProvider", "updateNeonAuthOrganizationPlugin", "updateNeonAuthPhoneNumberPlugin", "updateNeonAuthUserRole", "updateNeonAuthWebhookConfig", "updateOrganizationMember", "updateProject", "updateProjectBranch", "updateProjectBranchDataAPI", "updateProjectBranchDatabase", "updateProjectBranchFunction", "updateProjectBranchTrigger", "updateProjectEndpoint", "updateSnapshot"];
|
|
4
|
+
export declare const operationIds: readonly ["acceptProjectTransferRequest", "addBranchNeonAuthOauthProvider", "addBranchNeonAuthTrustedDomain", "addNeonAuthDomainToRedirectURIWhitelist", "addNeonAuthOauthProvider", "addProjectJWKS", "assignOrganizationVPCEndpoint", "assignProjectVPCEndpoint", "countProjectBranches", "createApiKey", "createBranchNeonAuthNewUser", "createCredential", "createNeonAuth", "createNeonAuthIntegration", "createNeonAuthNewUser", "createNeonAuthOAuthClient", "createNeonAuthProviderSDKKeys", "createOrganizationInvitations", "createOrgApiKey", "createProject", "createProjectBranch", "createProjectBranchAnonymized", "createProjectBranchBucket", "createProjectBranchDataAPI", "createProjectBranchDatabase", "createProjectBranchFunctionDeployment", "createProjectBranchRole", "createProjectBranchTrigger", "createProjectEndpoint", "createProjectTransferRequest", "createSnapshot", "deleteBranchNeonAuthOauthProvider", "deleteBranchNeonAuthTrustedDomain", "deleteBranchNeonAuthUser", "deleteNeonAuthDomainFromRedirectURIWhitelist", "deleteNeonAuthIntegration", "deleteNeonAuthOAuthClient", "deleteNeonAuthOauthProvider", "deleteNeonAuthUser", "deleteOrganizationSpendingLimit", "deleteOrganizationVPCEndpoint", "deleteProject", "deleteProjectBranch", "deleteProjectBranchBucket", "deleteProjectBranchBucketObject", "deleteProjectBranchBucketObjectsByPrefix", "deleteProjectBranchCustomDomain", "deleteProjectBranchDataAPI", "deleteProjectBranchDatabase", "deleteProjectBranchFunction", "deleteProjectBranchRole", "deleteProjectBranchTrigger", "deleteProjectEndpoint", "deleteProjectJWKS", "deleteProjectVPCEndpoint", "deleteSnapshot", "disableNeonAuth", "disableProjectBranchRealtime", "enableProjectBranchRealtime", "finalizeRestoreBranch", "getActiveRegions", "getAnonymizedBranchStatus", "getAuthDetails", "getAvailablePreloadLibraries", "getConnectionURI", "getConsumptionHistoryPerBranchV2", "getConsumptionHistoryPerProject", "getConsumptionHistoryPerProjectV2", "getCurrentUserInfo", "getCurrentUserOrganizations", "getMaskingRules", "getNeonAuth", "getNeonAuthAllowLocalhost", "getNeonAuthEmailAndPasswordConfig", "getNeonAuthEmailProvider", "getNeonAuthEmailServer", "getNeonAuthOAuthClient", "getNeonAuthOAuthProviderPlugin", "getNeonAuthPhoneNumberPlugin", "getNeonAuthPluginConfigs", "getNeonAuthWebhookConfig", "getOrganization", "getOrganizationInvitations", "getOrganizationMember", "getOrganizationMembers", "getOrganizationSpendingLimit", "getOrganizationVPCEndpointDetails", "getProject", "getProjectAdvisorSecurityIssues", "getProjectBranch", "getProjectBranchAiGateway", "getProjectBranchBucketObject", "getProjectBranchDataAPI", "getProjectBranchDatabase", "getProjectBranchFunction", "getProjectBranchRealtime", "getProjectBranchRealtimeSecret", "getProjectBranchRole", "getProjectBranchRolePassword", "getProjectBranchSchema", "getProjectBranchSchemaComparison", "getProjectBranchStorage", "getProjectBranchTrigger", "getProjectEndpoint", "getProjectJWKS", "getProjectOperation", "getSnapshotSchedule", "grantPermissionToProject", "listApiKeys", "listBranchNeonAuthOauthProviders", "listBranchNeonAuthTrustedDomains", "listCredentials", "listNeonAuthIntegrations", "listNeonAuthOAuthClients", "listNeonAuthOauthProviders", "listNeonAuthRedirectURIWhitelistDomains", "listOrganizationVPCEndpoints", "listOrganizationVPCEndpointsAllRegions", "listOrgApiKeys", "listProjectBranchBucketObjects", "listProjectBranchBuckets", "listProjectBranchCustomDomains", "listProjectBranchDatabases", "listProjectBranchEndpoints", "listProjectBranches", "listProjectBranchFunctions", "listProjectBranchLogFields", "listProjectBranchLogFieldValues", "listProjectBranchRoles", "listProjectBranchTriggers", "listProjectEndpoints", "listProjectMembers", "listProjectOperations", "listProjectPermissions", "listProjects", "listProjectVPCEndpoints", "listSharedProjects", "listSnapshots", "presignProjectBranchBucketObject", "queryProjectBranchLogs", "recoverProject", "registerProjectBranchCustomDomain", "removeOrganizationMember", "removeProjectMemberRole", "resetProjectBranchRolePassword", "restartProjectEndpoint", "restoreProjectBranch", "restoreSnapshot", "revealCredential", "revokeApiKey", "revokeCredential", "revokeOrgApiKey", "revokePermissionFromProject", "rotateCredential", "rotateNeonAuthOAuthClientSecret", "rotateProjectBranchRealtimeSecret", "sendNeonAuthEmailProviderTest", "sendNeonAuthTestEmail", "setDefaultProjectBranch", "setOrganizationSpendingLimit", "setProjectMemberRole", "setSnapshotSchedule", "startAnonymization", "startProjectEndpoint", "suspendProjectEndpoint", "transferNeonAuthProviderProject", "transferProjectsFromOrgToOrg", "transferProjectsFromUserToOrg", "updateBranchNeonAuthOauthProvider", "updateMaskingRules", "updateNeonAuthAllowLocalhost", "updateNeonAuthConfig", "updateNeonAuthEmailAndPasswordConfig", "updateNeonAuthEmailProvider", "updateNeonAuthEmailServer", "updateNeonAuthMagicLinkPlugin", "updateNeonAuthOAuthClient", "updateNeonAuthOauthProvider", "updateNeonAuthOAuthProviderPlugin", "updateNeonAuthOrganizationPlugin", "updateNeonAuthPhoneNumberPlugin", "updateNeonAuthUserRole", "updateNeonAuthWebhookConfig", "updateOrganizationMember", "updateProject", "updateProjectBranch", "updateProjectBranchDataAPI", "updateProjectBranchDatabase", "updateProjectBranchFunction", "updateProjectBranchTrigger", "updateProjectEndpoint", "updateSnapshot"];
|
|
5
5
|
export type NeonOperationId = (typeof operationIds)[number];
|
|
6
6
|
export declare const operationFactories: {
|
|
7
7
|
readonly acceptProjectTransferRequest: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
@@ -207,6 +207,28 @@ export declare const operationFactories: {
|
|
|
207
207
|
}, z.core.$strict>, "create_neon_auth_new_user", {
|
|
208
208
|
id: string;
|
|
209
209
|
}>;
|
|
210
|
+
readonly createNeonAuthOAuthClient: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
211
|
+
project_id: z.ZodString;
|
|
212
|
+
branch_id: z.ZodString;
|
|
213
|
+
name: z.ZodString;
|
|
214
|
+
redirect_uris: z.ZodArray<z.ZodString>;
|
|
215
|
+
type: z.ZodEnum<{
|
|
216
|
+
confidential: "confidential";
|
|
217
|
+
public: "public";
|
|
218
|
+
}>;
|
|
219
|
+
resources: z.ZodArray<z.ZodString>;
|
|
220
|
+
skip_consent: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
}, z.core.$strict>, "create_neon_auth_o_auth_client", {
|
|
222
|
+
client_id: string;
|
|
223
|
+
name: string;
|
|
224
|
+
type: raw.NeonAuthOAuthClientType;
|
|
225
|
+
redirect_uris: string[];
|
|
226
|
+
resources: string[];
|
|
227
|
+
skip_consent: boolean;
|
|
228
|
+
disabled: boolean;
|
|
229
|
+
created_at?: string | null | undefined;
|
|
230
|
+
client_secret?: string | null | undefined;
|
|
231
|
+
}>;
|
|
210
232
|
readonly createNeonAuthProviderSDKKeys: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
211
233
|
project_id: z.ZodString;
|
|
212
234
|
auth_provider: z.ZodEnum<{
|
|
@@ -1193,6 +1215,11 @@ export declare const operationFactories: {
|
|
|
1193
1215
|
}>;
|
|
1194
1216
|
delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1195
1217
|
}, z.core.$strict>, "delete_neon_auth_integration", unknown>;
|
|
1218
|
+
readonly deleteNeonAuthOAuthClient: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1219
|
+
project_id: z.ZodString;
|
|
1220
|
+
branch_id: z.ZodString;
|
|
1221
|
+
client_id: z.ZodString;
|
|
1222
|
+
}, z.core.$strict>, "delete_neon_auth_o_auth_client", null>;
|
|
1196
1223
|
readonly deleteNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1197
1224
|
project_id: z.ZodString;
|
|
1198
1225
|
oauth_provider_id: z.ZodEnum<{
|
|
@@ -1899,6 +1926,35 @@ export declare const operationFactories: {
|
|
|
1899
1926
|
sender_email?: string | null | undefined;
|
|
1900
1927
|
sender_name?: string | null | undefined;
|
|
1901
1928
|
}>;
|
|
1929
|
+
readonly getNeonAuthOAuthClient: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1930
|
+
project_id: z.ZodString;
|
|
1931
|
+
branch_id: z.ZodString;
|
|
1932
|
+
client_id: z.ZodString;
|
|
1933
|
+
}, z.core.$strict>, "get_neon_auth_o_auth_client", {
|
|
1934
|
+
client_id: string;
|
|
1935
|
+
name: string;
|
|
1936
|
+
type: raw.NeonAuthOAuthClientType;
|
|
1937
|
+
redirect_uris: string[];
|
|
1938
|
+
resources: string[];
|
|
1939
|
+
skip_consent: boolean;
|
|
1940
|
+
disabled: boolean;
|
|
1941
|
+
created_at?: string | null | undefined;
|
|
1942
|
+
}>;
|
|
1943
|
+
readonly getNeonAuthOAuthProviderPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1944
|
+
project_id: z.ZodString;
|
|
1945
|
+
branch_id: z.ZodString;
|
|
1946
|
+
}, z.core.$strict>, "get_neon_auth_o_auth_provider_plugin", {
|
|
1947
|
+
enabled: boolean;
|
|
1948
|
+
login_page?: string | null | undefined;
|
|
1949
|
+
consent_page?: string | null | undefined;
|
|
1950
|
+
mcp?: {
|
|
1951
|
+
resource?: string | null | undefined;
|
|
1952
|
+
dynamic_registration?: boolean | null | undefined;
|
|
1953
|
+
} | null | undefined;
|
|
1954
|
+
resources?: {
|
|
1955
|
+
identifier: string;
|
|
1956
|
+
}[] | null | undefined;
|
|
1957
|
+
}>;
|
|
1902
1958
|
readonly getNeonAuthPhoneNumberPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1903
1959
|
project_id: z.ZodString;
|
|
1904
1960
|
branch_id: z.ZodString;
|
|
@@ -1926,6 +1982,18 @@ export declare const operationFactories: {
|
|
|
1926
1982
|
enabled: boolean;
|
|
1927
1983
|
otp_expires_in?: number | null | undefined;
|
|
1928
1984
|
} | null | undefined;
|
|
1985
|
+
oauth_provider?: {
|
|
1986
|
+
enabled: boolean;
|
|
1987
|
+
login_page?: string | null | undefined;
|
|
1988
|
+
consent_page?: string | null | undefined;
|
|
1989
|
+
mcp?: {
|
|
1990
|
+
resource?: string | null | undefined;
|
|
1991
|
+
dynamic_registration?: boolean | null | undefined;
|
|
1992
|
+
} | null | undefined;
|
|
1993
|
+
resources?: {
|
|
1994
|
+
identifier: string;
|
|
1995
|
+
}[] | null | undefined;
|
|
1996
|
+
} | null | undefined;
|
|
1929
1997
|
email_provider?: {
|
|
1930
1998
|
type: "standard";
|
|
1931
1999
|
host: string;
|
|
@@ -2589,6 +2657,21 @@ export declare const operationFactories: {
|
|
|
2589
2657
|
name?: string | null | undefined;
|
|
2590
2658
|
}[];
|
|
2591
2659
|
}>;
|
|
2660
|
+
readonly listNeonAuthOAuthClients: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2661
|
+
project_id: z.ZodString;
|
|
2662
|
+
branch_id: z.ZodString;
|
|
2663
|
+
}, z.core.$strict>, "list_neon_auth_o_auth_clients", {
|
|
2664
|
+
clients: {
|
|
2665
|
+
client_id: string;
|
|
2666
|
+
name: string;
|
|
2667
|
+
type: raw.NeonAuthOAuthClientType;
|
|
2668
|
+
redirect_uris: string[];
|
|
2669
|
+
resources: string[];
|
|
2670
|
+
skip_consent: boolean;
|
|
2671
|
+
disabled: boolean;
|
|
2672
|
+
created_at?: string | null | undefined;
|
|
2673
|
+
}[];
|
|
2674
|
+
}>;
|
|
2592
2675
|
readonly listNeonAuthOauthProviders: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2593
2676
|
project_id: z.ZodString;
|
|
2594
2677
|
}, z.core.$strict>, "list_neon_auth_oauth_providers", {
|
|
@@ -3773,6 +3856,14 @@ export declare const operationFactories: {
|
|
|
3773
3856
|
created_at: string;
|
|
3774
3857
|
expires_at?: string | null | undefined;
|
|
3775
3858
|
}>;
|
|
3859
|
+
readonly rotateNeonAuthOAuthClientSecret: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3860
|
+
project_id: z.ZodString;
|
|
3861
|
+
branch_id: z.ZodString;
|
|
3862
|
+
client_id: z.ZodString;
|
|
3863
|
+
}, z.core.$strict>, "rotate_neon_auth_o_auth_client_secret", {
|
|
3864
|
+
client_id: string;
|
|
3865
|
+
client_secret: string;
|
|
3866
|
+
}>;
|
|
3776
3867
|
readonly rotateProjectBranchRealtimeSecret: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3777
3868
|
project_id: z.ZodString;
|
|
3778
3869
|
branch_id: z.ZodString;
|
|
@@ -4204,6 +4295,25 @@ export declare const operationFactories: {
|
|
|
4204
4295
|
expires_in: number;
|
|
4205
4296
|
disable_sign_up: boolean;
|
|
4206
4297
|
}>;
|
|
4298
|
+
readonly updateNeonAuthOAuthClient: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4299
|
+
project_id: z.ZodString;
|
|
4300
|
+
branch_id: z.ZodString;
|
|
4301
|
+
client_id: z.ZodString;
|
|
4302
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4303
|
+
redirect_uris: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4304
|
+
skip_consent: z.ZodOptional<z.ZodBoolean>;
|
|
4305
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
4306
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4307
|
+
}, z.core.$strict>, "update_neon_auth_o_auth_client", {
|
|
4308
|
+
client_id: string;
|
|
4309
|
+
name: string;
|
|
4310
|
+
type: raw.NeonAuthOAuthClientType;
|
|
4311
|
+
redirect_uris: string[];
|
|
4312
|
+
resources: string[];
|
|
4313
|
+
skip_consent: boolean;
|
|
4314
|
+
disabled: boolean;
|
|
4315
|
+
created_at?: string | null | undefined;
|
|
4316
|
+
}>;
|
|
4207
4317
|
readonly updateNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4208
4318
|
project_id: z.ZodString;
|
|
4209
4319
|
oauth_provider_id: z.ZodEnum<{
|
|
@@ -4221,6 +4331,31 @@ export declare const operationFactories: {
|
|
|
4221
4331
|
client_id?: string | null | undefined;
|
|
4222
4332
|
client_secret?: string | null | undefined;
|
|
4223
4333
|
}>;
|
|
4334
|
+
readonly updateNeonAuthOAuthProviderPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4335
|
+
project_id: z.ZodString;
|
|
4336
|
+
branch_id: z.ZodString;
|
|
4337
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4338
|
+
login_page: z.ZodOptional<z.ZodString>;
|
|
4339
|
+
consent_page: z.ZodOptional<z.ZodString>;
|
|
4340
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
4341
|
+
resource: z.ZodString;
|
|
4342
|
+
dynamic_registration: z.ZodOptional<z.ZodBoolean>;
|
|
4343
|
+
}, z.core.$strict>>;
|
|
4344
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4345
|
+
identifier: z.ZodString;
|
|
4346
|
+
}, z.core.$strict>>>;
|
|
4347
|
+
}, z.core.$strict>, "update_neon_auth_o_auth_provider_plugin", {
|
|
4348
|
+
enabled: boolean;
|
|
4349
|
+
login_page?: string | null | undefined;
|
|
4350
|
+
consent_page?: string | null | undefined;
|
|
4351
|
+
mcp?: {
|
|
4352
|
+
resource?: string | null | undefined;
|
|
4353
|
+
dynamic_registration?: boolean | null | undefined;
|
|
4354
|
+
} | null | undefined;
|
|
4355
|
+
resources?: {
|
|
4356
|
+
identifier: string;
|
|
4357
|
+
}[] | null | undefined;
|
|
4358
|
+
}>;
|
|
4224
4359
|
readonly updateNeonAuthOrganizationPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4225
4360
|
project_id: z.ZodString;
|
|
4226
4361
|
branch_id: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.gen.d.ts","sourceRoot":"","sources":["../src/operations.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"operations.gen.d.ts","sourceRoot":"","sources":["../src/operations.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,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