alchemy 0.67.0 → 0.69.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/bin/alchemy.js +25580 -26264
- package/bin/alchemy.ts +6 -2
- package/bin/commands/configure.ts +194 -0
- package/bin/commands/login.ts +99 -55
- package/bin/commands/logout.ts +66 -0
- package/bin/trpc.ts +27 -2
- package/lib/apply.d.ts +2 -2
- package/lib/apply.d.ts.map +1 -1
- package/lib/apply.js +18 -15
- package/lib/apply.js.map +1 -1
- package/lib/auth.d.ts +72 -0
- package/lib/auth.d.ts.map +1 -0
- package/lib/auth.js +163 -0
- package/lib/auth.js.map +1 -0
- package/lib/aws/bucket.d.ts +12 -3
- package/lib/aws/bucket.d.ts.map +1 -1
- package/lib/aws/bucket.js +2 -2
- package/lib/aws/bucket.js.map +1 -1
- package/lib/aws/control/properties.d.ts +64 -0
- package/lib/aws/control/properties.d.ts.map +1 -1
- package/lib/aws/control/properties.js +554 -39
- package/lib/aws/control/properties.js.map +1 -1
- package/lib/aws/control/resource.d.ts +34 -3
- package/lib/aws/control/resource.d.ts.map +1 -1
- package/lib/aws/control/resource.js +36 -3
- package/lib/aws/control/resource.js.map +1 -1
- package/lib/aws/control/types.d.ts +5451 -1587
- package/lib/aws/control/types.d.ts.map +1 -1
- package/lib/aws/control/types.js.map +1 -1
- package/lib/aws/control/update-types.d.ts +12913 -0
- package/lib/aws/control/update-types.d.ts.map +1 -0
- package/lib/aws/control/update-types.js +12916 -0
- package/lib/aws/control/update-types.js.map +1 -0
- package/lib/aws/ec2/internet-gateway-attachment.d.ts +1 -2
- package/lib/aws/ec2/internet-gateway-attachment.d.ts.map +1 -1
- package/lib/aws/ec2/internet-gateway-attachment.js +4 -4
- package/lib/aws/ec2/internet-gateway-attachment.js.map +1 -1
- package/lib/aws/ec2/internet-gateway.d.ts +1 -2
- package/lib/aws/ec2/internet-gateway.d.ts.map +1 -1
- package/lib/aws/ec2/internet-gateway.js +2 -2
- package/lib/aws/ec2/internet-gateway.js.map +1 -1
- package/lib/aws/ec2/nat-gateway.d.ts +1 -2
- package/lib/aws/ec2/nat-gateway.d.ts.map +1 -1
- package/lib/aws/ec2/nat-gateway.js +2 -2
- package/lib/aws/ec2/nat-gateway.js.map +1 -1
- package/lib/aws/ec2/route-table-association.d.ts +1 -2
- package/lib/aws/ec2/route-table-association.d.ts.map +1 -1
- package/lib/aws/ec2/route-table-association.js +2 -2
- package/lib/aws/ec2/route-table-association.js.map +1 -1
- package/lib/aws/ec2/route-table.d.ts +1 -2
- package/lib/aws/ec2/route-table.d.ts.map +1 -1
- package/lib/aws/ec2/route-table.js +2 -2
- package/lib/aws/ec2/route-table.js.map +1 -1
- package/lib/aws/ec2/route.d.ts +1 -2
- package/lib/aws/ec2/route.d.ts.map +1 -1
- package/lib/aws/ec2/route.js +2 -2
- package/lib/aws/ec2/route.js.map +1 -1
- package/lib/aws/ec2/security-group-rule.d.ts +1 -2
- package/lib/aws/ec2/security-group-rule.d.ts.map +1 -1
- package/lib/aws/ec2/security-group-rule.js +2 -2
- package/lib/aws/ec2/security-group-rule.js.map +1 -1
- package/lib/aws/ec2/security-group.d.ts +1 -2
- package/lib/aws/ec2/security-group.d.ts.map +1 -1
- package/lib/aws/ec2/security-group.js +2 -2
- package/lib/aws/ec2/security-group.js.map +1 -1
- package/lib/aws/ec2/subnet.d.ts +1 -2
- package/lib/aws/ec2/subnet.d.ts.map +1 -1
- package/lib/aws/ec2/subnet.js +2 -2
- package/lib/aws/ec2/subnet.js.map +1 -1
- package/lib/aws/ec2/vpc.d.ts +1 -2
- package/lib/aws/ec2/vpc.d.ts.map +1 -1
- package/lib/aws/ec2/vpc.js +2 -2
- package/lib/aws/ec2/vpc.js.map +1 -1
- package/lib/aws/function.d.ts +116 -3
- package/lib/aws/function.d.ts.map +1 -1
- package/lib/aws/function.js +2 -2
- package/lib/aws/function.js.map +1 -1
- package/lib/aws/oidc/github-oidc-provider.d.ts +13 -2
- package/lib/aws/oidc/github-oidc-provider.d.ts.map +1 -1
- package/lib/aws/oidc/oidc-provider.d.ts +48 -3
- package/lib/aws/oidc/oidc-provider.d.ts.map +1 -1
- package/lib/aws/oidc/oidc-provider.js +2 -2
- package/lib/aws/oidc/oidc-provider.js.map +1 -1
- package/lib/aws/policy-attachment.d.ts +2 -3
- package/lib/aws/policy-attachment.d.ts.map +1 -1
- package/lib/aws/policy-attachment.js +1 -1
- package/lib/aws/policy-attachment.js.map +1 -1
- package/lib/aws/policy.d.ts +1 -2
- package/lib/aws/policy.d.ts.map +1 -1
- package/lib/aws/policy.js +4 -4
- package/lib/aws/policy.js.map +1 -1
- package/lib/aws/queue.d.ts +1 -2
- package/lib/aws/queue.d.ts.map +1 -1
- package/lib/aws/queue.js +4 -4
- package/lib/aws/queue.js.map +1 -1
- package/lib/aws/role.d.ts +1 -2
- package/lib/aws/role.d.ts.map +1 -1
- package/lib/aws/role.js +2 -2
- package/lib/aws/role.js.map +1 -1
- package/lib/aws/ses.d.ts +1 -2
- package/lib/aws/ses.d.ts.map +1 -1
- package/lib/aws/ses.js +2 -2
- package/lib/aws/ses.js.map +1 -1
- package/lib/aws/ssm-parameter.d.ts +1 -2
- package/lib/aws/ssm-parameter.d.ts.map +1 -1
- package/lib/aws/ssm-parameter.js +2 -2
- package/lib/aws/ssm-parameter.js.map +1 -1
- package/lib/aws/table.d.ts +1 -2
- package/lib/aws/table.d.ts.map +1 -1
- package/lib/aws/table.js +2 -2
- package/lib/aws/table.js.map +1 -1
- package/lib/cloudflare/account-api-token.d.ts +1 -2
- package/lib/cloudflare/account-api-token.d.ts.map +1 -1
- package/lib/cloudflare/account-api-token.js +2 -2
- package/lib/cloudflare/account-api-token.js.map +1 -1
- package/lib/cloudflare/ai-gateway.d.ts +1 -2
- package/lib/cloudflare/ai-gateway.d.ts.map +1 -1
- package/lib/cloudflare/ai-gateway.js +2 -2
- package/lib/cloudflare/ai-gateway.js.map +1 -1
- package/lib/cloudflare/api-gateway-operation.d.ts +1 -2
- package/lib/cloudflare/api-gateway-operation.d.ts.map +1 -1
- package/lib/cloudflare/api-gateway-operation.js +2 -2
- package/lib/cloudflare/api-gateway-operation.js.map +1 -1
- package/lib/cloudflare/api-schema.d.ts +1 -2
- package/lib/cloudflare/api-schema.d.ts.map +1 -1
- package/lib/cloudflare/api-schema.js +2 -2
- package/lib/cloudflare/api-schema.js.map +1 -1
- package/lib/cloudflare/api-shield.d.ts +1 -2
- package/lib/cloudflare/api-shield.d.ts.map +1 -1
- package/lib/cloudflare/api-shield.js +2 -2
- package/lib/cloudflare/api-shield.js.map +1 -1
- package/lib/cloudflare/api.d.ts +18 -10
- package/lib/cloudflare/api.d.ts.map +1 -1
- package/lib/cloudflare/api.js +92 -38
- package/lib/cloudflare/api.js.map +1 -1
- package/lib/cloudflare/assets.d.ts +21 -43
- package/lib/cloudflare/assets.d.ts.map +1 -1
- package/lib/cloudflare/assets.js +78 -70
- package/lib/cloudflare/assets.js.map +1 -1
- package/lib/cloudflare/astro/astro.d.ts.map +1 -1
- package/lib/cloudflare/astro/astro.js +3 -3
- package/lib/cloudflare/astro/astro.js.map +1 -1
- package/lib/cloudflare/auth.d.ts +91 -17
- package/lib/cloudflare/auth.d.ts.map +1 -1
- package/lib/cloudflare/auth.js +141 -62
- package/lib/cloudflare/auth.js.map +1 -1
- package/lib/cloudflare/bound.d.ts +1 -1
- package/lib/cloudflare/bound.d.ts.map +1 -1
- package/lib/cloudflare/bucket-object.d.ts +81 -0
- package/lib/cloudflare/bucket-object.d.ts.map +1 -0
- package/lib/cloudflare/bucket-object.js +67 -0
- package/lib/cloudflare/bucket-object.js.map +1 -0
- package/lib/cloudflare/bucket.d.ts +87 -8
- package/lib/cloudflare/bucket.d.ts.map +1 -1
- package/lib/cloudflare/bucket.js +246 -19
- package/lib/cloudflare/bucket.js.map +1 -1
- package/lib/cloudflare/bundle/plugin-wasm.js +4 -2
- package/lib/cloudflare/bundle/plugin-wasm.js.map +1 -1
- package/lib/cloudflare/certificate-pack.d.ts +1 -2
- package/lib/cloudflare/certificate-pack.d.ts.map +1 -1
- package/lib/cloudflare/certificate-pack.js +4 -4
- package/lib/cloudflare/certificate-pack.js.map +1 -1
- package/lib/cloudflare/compatibility-date.gen.d.ts +1 -1
- package/lib/cloudflare/compatibility-date.gen.js +1 -1
- package/lib/cloudflare/container.d.ts +1 -2
- package/lib/cloudflare/container.d.ts.map +1 -1
- package/lib/cloudflare/container.js +7 -7
- package/lib/cloudflare/container.js.map +1 -1
- package/lib/cloudflare/custom-domain.d.ts +1 -2
- package/lib/cloudflare/custom-domain.d.ts.map +1 -1
- package/lib/cloudflare/custom-domain.js +2 -2
- package/lib/cloudflare/custom-domain.js.map +1 -1
- package/lib/cloudflare/d1-database.d.ts +2 -3
- package/lib/cloudflare/d1-database.d.ts.map +1 -1
- package/lib/cloudflare/d1-database.js +5 -5
- package/lib/cloudflare/d1-database.js.map +1 -1
- package/lib/cloudflare/dispatch-namespace.d.ts +2 -3
- package/lib/cloudflare/dispatch-namespace.d.ts.map +1 -1
- package/lib/cloudflare/dispatch-namespace.js +3 -3
- package/lib/cloudflare/dispatch-namespace.js.map +1 -1
- package/lib/cloudflare/dns-records.d.ts +1 -2
- package/lib/cloudflare/dns-records.d.ts.map +1 -1
- package/lib/cloudflare/dns-records.js +4 -4
- package/lib/cloudflare/dns-records.js.map +1 -1
- package/lib/cloudflare/email-address.d.ts +1 -2
- package/lib/cloudflare/email-address.d.ts.map +1 -1
- package/lib/cloudflare/email-address.js +6 -6
- package/lib/cloudflare/email-address.js.map +1 -1
- package/lib/cloudflare/email-catch-all.d.ts +1 -2
- package/lib/cloudflare/email-catch-all.d.ts.map +1 -1
- package/lib/cloudflare/email-catch-all.js +4 -4
- package/lib/cloudflare/email-catch-all.js.map +1 -1
- package/lib/cloudflare/email-routing.d.ts +1 -2
- package/lib/cloudflare/email-routing.d.ts.map +1 -1
- package/lib/cloudflare/email-routing.js +4 -4
- package/lib/cloudflare/email-routing.js.map +1 -1
- package/lib/cloudflare/email-rule.d.ts +1 -2
- package/lib/cloudflare/email-rule.d.ts.map +1 -1
- package/lib/cloudflare/email-rule.js +4 -4
- package/lib/cloudflare/email-rule.js.map +1 -1
- package/lib/cloudflare/hyperdrive.d.ts +1 -2
- package/lib/cloudflare/hyperdrive.d.ts.map +1 -1
- package/lib/cloudflare/hyperdrive.js +4 -4
- package/lib/cloudflare/hyperdrive.js.map +1 -1
- package/lib/cloudflare/index.d.ts +1 -0
- package/lib/cloudflare/index.d.ts.map +1 -1
- package/lib/cloudflare/index.js +1 -0
- package/lib/cloudflare/index.js.map +1 -1
- package/lib/cloudflare/kv-namespace.d.ts +2 -3
- package/lib/cloudflare/kv-namespace.d.ts.map +1 -1
- package/lib/cloudflare/kv-namespace.js +5 -5
- package/lib/cloudflare/kv-namespace.js.map +1 -1
- package/lib/cloudflare/miniflare/delete.js +1 -1
- package/lib/cloudflare/miniflare/delete.js.map +1 -1
- package/lib/cloudflare/miniflare/miniflare-worker-proxy.d.ts.map +1 -1
- package/lib/cloudflare/miniflare/miniflare-worker-proxy.js +2 -7
- package/lib/cloudflare/miniflare/miniflare-worker-proxy.js.map +1 -1
- package/lib/cloudflare/miniflare/remote-binding-proxy.d.ts.map +1 -1
- package/lib/cloudflare/miniflare/remote-binding-proxy.js +15 -4
- package/lib/cloudflare/miniflare/remote-binding-proxy.js.map +1 -1
- package/lib/cloudflare/next.js.map +1 -1
- package/lib/cloudflare/nuxt/nuxt.d.ts.map +1 -1
- package/lib/cloudflare/nuxt/nuxt.js +3 -3
- package/lib/cloudflare/nuxt/nuxt.js.map +1 -1
- package/lib/cloudflare/permission-groups.d.ts +1 -2
- package/lib/cloudflare/permission-groups.d.ts.map +1 -1
- package/lib/cloudflare/permission-groups.js +1 -1
- package/lib/cloudflare/permission-groups.js.map +1 -1
- package/lib/cloudflare/pipeline.d.ts +2 -3
- package/lib/cloudflare/pipeline.d.ts.map +1 -1
- package/lib/cloudflare/pipeline.js +5 -5
- package/lib/cloudflare/pipeline.js.map +1 -1
- package/lib/cloudflare/queue-consumer.d.ts +1 -2
- package/lib/cloudflare/queue-consumer.d.ts.map +1 -1
- package/lib/cloudflare/queue-consumer.js +4 -4
- package/lib/cloudflare/queue-consumer.js.map +1 -1
- package/lib/cloudflare/queue.d.ts +1 -2
- package/lib/cloudflare/queue.d.ts.map +1 -1
- package/lib/cloudflare/queue.js +4 -4
- package/lib/cloudflare/queue.js.map +1 -1
- package/lib/cloudflare/react-router/plugin.d.ts.map +1 -1
- package/lib/cloudflare/react-router/plugin.js +13 -0
- package/lib/cloudflare/react-router/plugin.js.map +1 -1
- package/lib/cloudflare/redirect-rule.d.ts +1 -2
- package/lib/cloudflare/redirect-rule.d.ts.map +1 -1
- package/lib/cloudflare/redirect-rule.js +4 -4
- package/lib/cloudflare/redirect-rule.js.map +1 -1
- package/lib/cloudflare/route.d.ts +1 -2
- package/lib/cloudflare/route.d.ts.map +1 -1
- package/lib/cloudflare/route.js +4 -4
- package/lib/cloudflare/route.js.map +1 -1
- package/lib/cloudflare/ruleset.d.ts +1 -2
- package/lib/cloudflare/ruleset.d.ts.map +1 -1
- package/lib/cloudflare/ruleset.js +2 -2
- package/lib/cloudflare/ruleset.js.map +1 -1
- package/lib/cloudflare/secret.d.ts +2 -3
- package/lib/cloudflare/secret.d.ts.map +1 -1
- package/lib/cloudflare/secret.js +3 -3
- package/lib/cloudflare/secret.js.map +1 -1
- package/lib/cloudflare/secrets-store.d.ts +2 -3
- package/lib/cloudflare/secrets-store.d.ts.map +1 -1
- package/lib/cloudflare/secrets-store.js +3 -3
- package/lib/cloudflare/secrets-store.js.map +1 -1
- package/lib/cloudflare/tunnel.d.ts +2 -3
- package/lib/cloudflare/tunnel.d.ts.map +1 -1
- package/lib/cloudflare/tunnel.js +3 -3
- package/lib/cloudflare/tunnel.js.map +1 -1
- package/lib/cloudflare/user.d.ts +3 -2
- package/lib/cloudflare/user.d.ts.map +1 -1
- package/lib/cloudflare/user.js +7 -5
- package/lib/cloudflare/user.js.map +1 -1
- package/lib/cloudflare/vectorize-index.d.ts +2 -3
- package/lib/cloudflare/vectorize-index.d.ts.map +1 -1
- package/lib/cloudflare/vectorize-index.js +6 -6
- package/lib/cloudflare/vectorize-index.js.map +1 -1
- package/lib/cloudflare/vectorize-metadata-index.d.ts +2 -3
- package/lib/cloudflare/vectorize-metadata-index.d.ts.map +1 -1
- package/lib/cloudflare/vectorize-metadata-index.js +4 -4
- package/lib/cloudflare/vectorize-metadata-index.js.map +1 -1
- package/lib/cloudflare/vite/vite.d.ts.map +1 -1
- package/lib/cloudflare/vite/vite.js +3 -3
- package/lib/cloudflare/vite/vite.js.map +1 -1
- package/lib/cloudflare/website.d.ts +7 -1
- package/lib/cloudflare/website.d.ts.map +1 -1
- package/lib/cloudflare/website.js +20 -2
- package/lib/cloudflare/website.js.map +1 -1
- package/lib/cloudflare/worker-assets.d.ts +1 -29
- package/lib/cloudflare/worker-assets.d.ts.map +1 -1
- package/lib/cloudflare/worker-assets.js +9 -42
- package/lib/cloudflare/worker-assets.js.map +1 -1
- package/lib/cloudflare/worker-stub.d.ts +2 -3
- package/lib/cloudflare/worker-stub.d.ts.map +1 -1
- package/lib/cloudflare/worker-stub.js +3 -3
- package/lib/cloudflare/worker-stub.js.map +1 -1
- package/lib/cloudflare/worker-subdomain.d.ts +4 -3
- package/lib/cloudflare/worker-subdomain.d.ts.map +1 -1
- package/lib/cloudflare/worker-subdomain.js +5 -5
- package/lib/cloudflare/worker-subdomain.js.map +1 -1
- package/lib/cloudflare/worker.d.ts +3 -4
- package/lib/cloudflare/worker.d.ts.map +1 -1
- package/lib/cloudflare/worker.js +6 -5
- package/lib/cloudflare/worker.js.map +1 -1
- package/lib/cloudflare/wrangler.json.d.ts +27 -8
- package/lib/cloudflare/wrangler.json.d.ts.map +1 -1
- package/lib/cloudflare/wrangler.json.js +3 -1
- package/lib/cloudflare/wrangler.json.js.map +1 -1
- package/lib/cloudflare/zone.d.ts +1 -2
- package/lib/cloudflare/zone.d.ts.map +1 -1
- package/lib/cloudflare/zone.js +2 -2
- package/lib/cloudflare/zone.js.map +1 -1
- package/lib/context.d.ts +8 -8
- package/lib/context.d.ts.map +1 -1
- package/lib/context.js.map +1 -1
- package/lib/destroy.d.ts +1 -1
- package/lib/destroy.d.ts.map +1 -1
- package/lib/destroy.js.map +1 -1
- package/lib/dns/import-dns.d.ts +1 -2
- package/lib/dns/import-dns.d.ts.map +1 -1
- package/lib/dns/import-dns.js +2 -2
- package/lib/dns/import-dns.js.map +1 -1
- package/lib/docker/container.d.ts +1 -2
- package/lib/docker/container.d.ts.map +1 -1
- package/lib/docker/container.js +2 -3
- package/lib/docker/container.js.map +1 -1
- package/lib/docker/image.d.ts +1 -2
- package/lib/docker/image.d.ts.map +1 -1
- package/lib/docker/image.js +9 -9
- package/lib/docker/image.js.map +1 -1
- package/lib/docker/network.d.ts +1 -2
- package/lib/docker/network.d.ts.map +1 -1
- package/lib/docker/network.js +2 -3
- package/lib/docker/network.js.map +1 -1
- package/lib/docker/remote-image.d.ts +1 -2
- package/lib/docker/remote-image.d.ts.map +1 -1
- package/lib/docker/remote-image.js +2 -3
- package/lib/docker/remote-image.js.map +1 -1
- package/lib/docker/volume.d.ts +1 -2
- package/lib/docker/volume.d.ts.map +1 -1
- package/lib/docker/volume.js +2 -3
- package/lib/docker/volume.js.map +1 -1
- package/lib/esbuild/bundle.d.ts +1 -2
- package/lib/esbuild/bundle.d.ts.map +1 -1
- package/lib/esbuild/bundle.js +4 -4
- package/lib/esbuild/bundle.js.map +1 -1
- package/lib/fs/copy-file.d.ts +1 -2
- package/lib/fs/copy-file.d.ts.map +1 -1
- package/lib/fs/copy-file.js +2 -2
- package/lib/fs/copy-file.js.map +1 -1
- package/lib/fs/file.d.ts +1 -2
- package/lib/fs/file.d.ts.map +1 -1
- package/lib/fs/file.js +2 -2
- package/lib/fs/file.js.map +1 -1
- package/lib/fs/folder.d.ts +1 -2
- package/lib/fs/folder.d.ts.map +1 -1
- package/lib/fs/folder.js +2 -2
- package/lib/fs/folder.js.map +1 -1
- package/lib/github/comment.d.ts +1 -2
- package/lib/github/comment.d.ts.map +1 -1
- package/lib/github/comment.js +4 -4
- package/lib/github/comment.js.map +1 -1
- package/lib/github/repository-environment.d.ts +1 -2
- package/lib/github/repository-environment.d.ts.map +1 -1
- package/lib/github/repository-environment.js +2 -2
- package/lib/github/repository-environment.js.map +1 -1
- package/lib/github/repository-webhook.d.ts +1 -2
- package/lib/github/repository-webhook.d.ts.map +1 -1
- package/lib/github/repository-webhook.js +2 -2
- package/lib/github/repository-webhook.js.map +1 -1
- package/lib/github/secret.d.ts +1 -2
- package/lib/github/secret.d.ts.map +1 -1
- package/lib/github/secret.js +2 -2
- package/lib/github/secret.js.map +1 -1
- package/lib/llms.cloudflare.txt +2 -2
- package/lib/neon/api/client.gen.d.ts +13 -0
- package/lib/neon/api/client.gen.d.ts.map +1 -0
- package/lib/neon/api/client.gen.js +7 -0
- package/lib/neon/api/client.gen.js.map +1 -0
- package/lib/neon/api/sdk.gen.d.ts +880 -0
- package/lib/neon/api/sdk.gen.d.ts.map +1 -0
- package/lib/neon/api/sdk.gen.js +1527 -0
- package/lib/neon/api/sdk.gen.js.map +1 -0
- package/lib/neon/api/types.gen.d.ts +7250 -0
- package/lib/neon/api/types.gen.d.ts.map +1 -0
- package/lib/neon/api/types.gen.js +2 -0
- package/lib/neon/api/types.gen.js.map +1 -0
- package/lib/neon/api.d.ts +14 -49
- package/lib/neon/api.d.ts.map +1 -1
- package/lib/neon/api.js +36 -114
- package/lib/neon/api.js.map +1 -1
- package/lib/neon/branch.d.ts +157 -0
- package/lib/neon/branch.d.ts.map +1 -0
- package/lib/neon/branch.js +112 -0
- package/lib/neon/branch.js.map +1 -0
- package/lib/neon/index.d.ts +1 -1
- package/lib/neon/index.d.ts.map +1 -1
- package/lib/neon/index.js +1 -1
- package/lib/neon/index.js.map +1 -1
- package/lib/neon/project.d.ts +49 -243
- package/lib/neon/project.d.ts.map +1 -1
- package/lib/neon/project.js +90 -269
- package/lib/neon/project.js.map +1 -1
- package/lib/neon/utils.d.ts +49 -0
- package/lib/neon/utils.d.ts.map +1 -0
- package/lib/neon/utils.js +44 -0
- package/lib/neon/utils.js.map +1 -0
- package/lib/os/exec.d.ts +1 -2
- package/lib/os/exec.d.ts.map +1 -1
- package/lib/os/exec.js +2 -2
- package/lib/os/exec.js.map +1 -1
- package/lib/planetscale/api/client.gen.d.ts +12 -1749
- package/lib/planetscale/api/client.gen.d.ts.map +1 -1
- package/lib/planetscale/api/client.gen.js +6 -2400
- package/lib/planetscale/api/client.gen.js.map +1 -1
- package/lib/planetscale/api/sdk.gen.d.ts +1582 -0
- package/lib/planetscale/api/sdk.gen.d.ts.map +1 -0
- package/lib/planetscale/api/sdk.gen.js +2219 -0
- package/lib/planetscale/api/sdk.gen.js.map +1 -0
- package/lib/planetscale/api/types.gen.d.ts +594 -449
- package/lib/planetscale/api/types.gen.d.ts.map +1 -1
- package/lib/planetscale/api.d.ts +43 -0
- package/lib/planetscale/api.d.ts.map +1 -0
- package/lib/planetscale/api.js +53 -0
- package/lib/planetscale/api.js.map +1 -0
- package/lib/planetscale/branch.d.ts +2 -3
- package/lib/planetscale/branch.d.ts.map +1 -1
- package/lib/planetscale/branch.js +17 -15
- package/lib/planetscale/branch.js.map +1 -1
- package/lib/planetscale/database.d.ts +2 -3
- package/lib/planetscale/database.d.ts.map +1 -1
- package/lib/planetscale/database.js +34 -34
- package/lib/planetscale/database.js.map +1 -1
- package/lib/planetscale/index.d.ts +1 -1
- package/lib/planetscale/index.d.ts.map +1 -1
- package/lib/planetscale/index.js +1 -1
- package/lib/planetscale/index.js.map +1 -1
- package/lib/planetscale/password.d.ts +2 -3
- package/lib/planetscale/password.d.ts.map +1 -1
- package/lib/planetscale/password.js +11 -11
- package/lib/planetscale/password.js.map +1 -1
- package/lib/planetscale/role.d.ts +2 -3
- package/lib/planetscale/role.d.ts.map +1 -1
- package/lib/planetscale/role.js +18 -18
- package/lib/planetscale/role.js.map +1 -1
- package/lib/planetscale/utils.d.ts +1 -1
- package/lib/planetscale/utils.d.ts.map +1 -1
- package/lib/planetscale/utils.js +17 -33
- package/lib/planetscale/utils.js.map +1 -1
- package/lib/random/random-string.d.ts +1 -2
- package/lib/random/random-string.d.ts.map +1 -1
- package/lib/random/random-string.js +3 -3
- package/lib/random/random-string.js.map +1 -1
- package/lib/resource.d.ts +4 -1
- package/lib/resource.d.ts.map +1 -1
- package/lib/resource.js.map +1 -1
- package/lib/sentry/client-key.d.ts +1 -2
- package/lib/sentry/client-key.d.ts.map +1 -1
- package/lib/sentry/client-key.js +2 -2
- package/lib/sentry/client-key.js.map +1 -1
- package/lib/sentry/project.d.ts +1 -2
- package/lib/sentry/project.d.ts.map +1 -1
- package/lib/sentry/project.js +2 -2
- package/lib/sentry/project.js.map +1 -1
- package/lib/sentry/team.d.ts +1 -2
- package/lib/sentry/team.d.ts.map +1 -1
- package/lib/sentry/team.js +2 -2
- package/lib/sentry/team.js.map +1 -1
- package/lib/serde.d.ts +3 -0
- package/lib/serde.d.ts.map +1 -1
- package/lib/serde.js +40 -0
- package/lib/serde.js.map +1 -1
- package/lib/state/r2-rest-state-store.d.ts +1 -0
- package/lib/state/r2-rest-state-store.d.ts.map +1 -1
- package/lib/state/r2-rest-state-store.js +15 -34
- package/lib/state/r2-rest-state-store.js.map +1 -1
- package/lib/stripe/card.d.ts +1 -2
- package/lib/stripe/card.d.ts.map +1 -1
- package/lib/stripe/card.js +2 -2
- package/lib/stripe/card.js.map +1 -1
- package/lib/stripe/coupon.d.ts +1 -2
- package/lib/stripe/coupon.d.ts.map +1 -1
- package/lib/stripe/coupon.js +2 -2
- package/lib/stripe/coupon.js.map +1 -1
- package/lib/stripe/customer.d.ts +1 -2
- package/lib/stripe/customer.d.ts.map +1 -1
- package/lib/stripe/customer.js +2 -2
- package/lib/stripe/customer.js.map +1 -1
- package/lib/stripe/entitlements-feature.d.ts +1 -2
- package/lib/stripe/entitlements-feature.d.ts.map +1 -1
- package/lib/stripe/entitlements-feature.js +2 -2
- package/lib/stripe/entitlements-feature.js.map +1 -1
- package/lib/stripe/file.d.ts +1 -2
- package/lib/stripe/file.d.ts.map +1 -1
- package/lib/stripe/file.js +2 -2
- package/lib/stripe/file.js.map +1 -1
- package/lib/stripe/meter.d.ts +1 -2
- package/lib/stripe/meter.d.ts.map +1 -1
- package/lib/stripe/meter.js +1 -1
- package/lib/stripe/meter.js.map +1 -1
- package/lib/stripe/portal-configuration.d.ts +1 -2
- package/lib/stripe/portal-configuration.d.ts.map +1 -1
- package/lib/stripe/portal-configuration.js +2 -2
- package/lib/stripe/portal-configuration.js.map +1 -1
- package/lib/stripe/price.d.ts +1 -2
- package/lib/stripe/price.d.ts.map +1 -1
- package/lib/stripe/price.js +2 -2
- package/lib/stripe/price.js.map +1 -1
- package/lib/stripe/product-feature.d.ts +1 -2
- package/lib/stripe/product-feature.d.ts.map +1 -1
- package/lib/stripe/product-feature.js +2 -2
- package/lib/stripe/product-feature.js.map +1 -1
- package/lib/stripe/product.d.ts +1 -2
- package/lib/stripe/product.d.ts.map +1 -1
- package/lib/stripe/product.js +2 -2
- package/lib/stripe/product.js.map +1 -1
- package/lib/stripe/promotion-code.d.ts +1 -2
- package/lib/stripe/promotion-code.d.ts.map +1 -1
- package/lib/stripe/promotion-code.js +2 -2
- package/lib/stripe/promotion-code.js.map +1 -1
- package/lib/stripe/shipping-rate.d.ts +1 -2
- package/lib/stripe/shipping-rate.d.ts.map +1 -1
- package/lib/stripe/shipping-rate.js +2 -2
- package/lib/stripe/shipping-rate.js.map +1 -1
- package/lib/stripe/tax-rate.d.ts +1 -2
- package/lib/stripe/tax-rate.d.ts.map +1 -1
- package/lib/stripe/tax-rate.js +2 -2
- package/lib/stripe/tax-rate.js.map +1 -1
- package/lib/stripe/webhook.d.ts +16 -3
- package/lib/stripe/webhook.d.ts.map +1 -1
- package/lib/stripe/webhook.js +2 -2
- package/lib/stripe/webhook.js.map +1 -1
- package/lib/test/bun.d.ts.map +1 -1
- package/lib/test/bun.js +1 -0
- package/lib/test/bun.js.map +1 -1
- package/lib/test/options.d.ts +5 -0
- package/lib/test/options.d.ts.map +1 -1
- package/lib/test/vitest.d.ts.map +1 -1
- package/lib/test/vitest.js +1 -0
- package/lib/test/vitest.js.map +1 -1
- package/lib/upstash/redis.d.ts +1 -2
- package/lib/upstash/redis.d.ts.map +1 -1
- package/lib/upstash/redis.js.map +1 -1
- package/lib/util/api/client/client.gen.d.ts +3 -0
- package/lib/util/api/client/client.gen.d.ts.map +1 -0
- package/lib/util/api/client/client.gen.js +205 -0
- package/lib/util/api/client/client.gen.js.map +1 -0
- package/lib/util/api/client/index.d.ts +8 -0
- package/lib/util/api/client/index.d.ts.map +1 -0
- package/lib/util/api/client/index.js +6 -0
- package/lib/util/api/client/index.js.map +1 -0
- package/lib/util/api/client/types.gen.d.ts +125 -0
- package/lib/util/api/client/types.gen.d.ts.map +1 -0
- package/lib/util/api/client/types.gen.js +2 -0
- package/lib/util/api/client/types.gen.js.map +1 -0
- package/lib/util/api/client/utils.gen.d.ts +34 -0
- package/lib/util/api/client/utils.gen.d.ts.map +1 -0
- package/lib/util/api/client/utils.gen.js +231 -0
- package/lib/util/api/client/utils.gen.js.map +1 -0
- package/lib/util/api/core/auth.gen.d.ts +19 -0
- package/lib/util/api/core/auth.gen.d.ts.map +1 -0
- package/lib/util/api/core/auth.gen.js +15 -0
- package/lib/util/api/core/auth.gen.js.map +1 -0
- package/lib/util/api/core/bodySerializer.gen.d.ts +18 -0
- package/lib/util/api/core/bodySerializer.gen.d.ts.map +1 -0
- package/lib/util/api/core/bodySerializer.gen.js +58 -0
- package/lib/util/api/core/bodySerializer.gen.js.map +1 -0
- package/lib/util/api/core/params.gen.d.ts +34 -0
- package/lib/util/api/core/params.gen.d.ts.map +1 -0
- package/lib/util/api/core/params.gen.js +89 -0
- package/lib/util/api/core/params.gen.js.map +1 -0
- package/lib/util/api/core/pathSerializer.gen.d.ts +34 -0
- package/lib/util/api/core/pathSerializer.gen.d.ts.map +1 -0
- package/lib/util/api/core/pathSerializer.gen.js +115 -0
- package/lib/util/api/core/pathSerializer.gen.js.map +1 -0
- package/lib/util/api/core/serverSentEvents.gen.d.ts +72 -0
- package/lib/util/api/core/serverSentEvents.gen.d.ts.map +1 -0
- package/lib/util/api/core/serverSentEvents.gen.js +136 -0
- package/lib/util/api/core/serverSentEvents.gen.js.map +1 -0
- package/lib/util/api/core/types.gen.d.ts +79 -0
- package/lib/util/api/core/types.gen.d.ts.map +1 -0
- package/lib/util/api/core/types.gen.js +2 -0
- package/lib/util/api/core/types.gen.js.map +1 -0
- package/lib/util/api/core/utils.gen.d.ts +20 -0
- package/lib/util/api/core/utils.gen.d.ts.map +1 -0
- package/lib/util/api/core/utils.gen.js +88 -0
- package/lib/util/api/core/utils.gen.js.map +1 -0
- package/lib/util/http.d.ts +7 -2
- package/lib/util/http.d.ts.map +1 -1
- package/lib/util/http.js +29 -11
- package/lib/util/http.js.map +1 -1
- package/lib/util/lock.d.ts +20 -0
- package/lib/util/lock.d.ts.map +1 -0
- package/lib/util/lock.js +45 -0
- package/lib/util/lock.js.map +1 -0
- package/lib/util/memoize.d.ts +6 -0
- package/lib/util/memoize.d.ts.map +1 -1
- package/lib/util/memoize.js +23 -0
- package/lib/util/memoize.js.map +1 -1
- package/lib/util/oauth-client.d.ts +71 -0
- package/lib/util/oauth-client.d.ts.map +1 -0
- package/lib/util/oauth-client.js +188 -0
- package/lib/util/oauth-client.js.map +1 -0
- package/lib/util/poll.d.ts +33 -0
- package/lib/util/poll.d.ts.map +1 -0
- package/lib/util/poll.js +19 -0
- package/lib/util/poll.js.map +1 -0
- package/lib/vercel/project-domain.d.ts +1 -2
- package/lib/vercel/project-domain.d.ts.map +1 -1
- package/lib/vercel/project-domain.js.map +1 -1
- package/lib/vercel/project.d.ts +1 -2
- package/lib/vercel/project.d.ts.map +1 -1
- package/lib/vercel/project.js +2 -2
- package/lib/vercel/project.js.map +1 -1
- package/package.json +5 -1
- package/src/apply.ts +32 -29
- package/src/auth.ts +253 -0
- package/src/aws/bucket.ts +3 -3
- package/src/aws/control/properties.ts +554 -39
- package/src/aws/control/resource.ts +62 -6
- package/src/aws/control/types.ts +85281 -84914
- package/src/aws/control/update-types.ts +12917 -0
- package/src/aws/ec2/internet-gateway-attachment.ts +5 -6
- package/src/aws/ec2/internet-gateway.ts +3 -5
- package/src/aws/ec2/nat-gateway.ts +3 -5
- package/src/aws/ec2/route-table-association.ts +3 -5
- package/src/aws/ec2/route-table.ts +3 -5
- package/src/aws/ec2/route.ts +3 -3
- package/src/aws/ec2/security-group-rule.ts +3 -5
- package/src/aws/ec2/security-group.ts +3 -5
- package/src/aws/ec2/subnet.ts +3 -3
- package/src/aws/ec2/vpc.ts +3 -3
- package/src/aws/function.ts +3 -3
- package/src/aws/oidc/oidc-provider.ts +3 -5
- package/src/aws/policy-attachment.ts +2 -4
- package/src/aws/policy.ts +5 -5
- package/src/aws/queue.ts +5 -5
- package/src/aws/role.ts +3 -3
- package/src/aws/ses.ts +3 -3
- package/src/aws/ssm-parameter.ts +3 -3
- package/src/aws/table.ts +3 -3
- package/src/cloudflare/account-api-token.ts +3 -4
- package/src/cloudflare/ai-gateway.ts +3 -5
- package/src/cloudflare/api-gateway-operation.ts +3 -4
- package/src/cloudflare/api-schema.ts +25 -26
- package/src/cloudflare/api-shield.ts +3 -4
- package/src/cloudflare/api.ts +121 -57
- package/src/cloudflare/assets.ts +95 -136
- package/src/cloudflare/astro/astro.ts +8 -3
- package/src/cloudflare/auth.ts +160 -95
- package/src/cloudflare/bound.ts +1 -1
- package/src/cloudflare/bucket-object.ts +117 -0
- package/src/cloudflare/bucket.ts +452 -55
- package/src/cloudflare/bundle/plugin-wasm.ts +5 -5
- package/src/cloudflare/certificate-pack.ts +5 -6
- package/src/cloudflare/compatibility-date.gen.ts +1 -1
- package/src/cloudflare/container.ts +9 -11
- package/src/cloudflare/custom-domain.ts +3 -5
- package/src/cloudflare/d1-database.ts +33 -34
- package/src/cloudflare/dispatch-namespace.ts +5 -6
- package/src/cloudflare/dns-records.ts +5 -5
- package/src/cloudflare/email-address.ts +7 -7
- package/src/cloudflare/email-catch-all.ts +6 -6
- package/src/cloudflare/email-routing.ts +5 -5
- package/src/cloudflare/email-rule.ts +5 -5
- package/src/cloudflare/hyperdrive.ts +35 -36
- package/src/cloudflare/index.ts +1 -0
- package/src/cloudflare/kv-namespace.ts +31 -32
- package/src/cloudflare/miniflare/delete.ts +1 -1
- package/src/cloudflare/miniflare/miniflare-worker-proxy.ts +2 -7
- package/src/cloudflare/miniflare/remote-binding-proxy.ts +16 -4
- package/src/cloudflare/next.ts +2 -2
- package/src/cloudflare/nuxt/nuxt.ts +8 -3
- package/src/cloudflare/permission-groups.ts +4 -6
- package/src/cloudflare/pipeline.ts +29 -30
- package/src/cloudflare/queue-consumer.ts +5 -7
- package/src/cloudflare/queue.ts +42 -43
- package/src/cloudflare/react-router/plugin.ts +20 -0
- package/src/cloudflare/redirect-rule.ts +5 -5
- package/src/cloudflare/route.ts +5 -5
- package/src/cloudflare/ruleset.ts +3 -4
- package/src/cloudflare/secret.ts +35 -36
- package/src/cloudflare/secrets-store.ts +5 -8
- package/src/cloudflare/tunnel.ts +5 -7
- package/src/cloudflare/user.ts +12 -9
- package/src/cloudflare/vectorize-index.ts +8 -12
- package/src/cloudflare/vectorize-metadata-index.ts +6 -8
- package/src/cloudflare/vite/vite.ts +8 -3
- package/src/cloudflare/website.ts +29 -3
- package/src/cloudflare/worker-assets.ts +10 -56
- package/src/cloudflare/worker-stub.ts +5 -5
- package/src/cloudflare/worker-subdomain.ts +6 -7
- package/src/cloudflare/worker.ts +91 -91
- package/src/cloudflare/wrangler.json.ts +32 -17
- package/src/cloudflare/zone.ts +3 -3
- package/src/context.ts +9 -7
- package/src/destroy.ts +2 -2
- package/src/dns/import-dns.ts +3 -5
- package/src/docker/container.ts +3 -6
- package/src/docker/image.ts +13 -13
- package/src/docker/network.ts +3 -4
- package/src/docker/remote-image.ts +3 -6
- package/src/docker/volume.ts +3 -4
- package/src/esbuild/bundle.ts +10 -8
- package/src/fs/copy-file.ts +3 -3
- package/src/fs/file.ts +3 -3
- package/src/fs/folder.ts +3 -3
- package/src/github/comment.ts +5 -7
- package/src/github/repository-environment.ts +3 -5
- package/src/github/repository-webhook.ts +3 -5
- package/src/github/secret.ts +3 -5
- package/src/llms.cloudflare.txt +2 -2
- package/src/neon/api/client.gen.ts +28 -0
- package/src/neon/api/sdk.gen.ts +2596 -0
- package/src/neon/api/types.gen.ts +8287 -0
- package/src/neon/api.ts +51 -147
- package/src/neon/branch.ts +279 -0
- package/src/neon/index.ts +1 -1
- package/src/neon/project.ts +136 -721
- package/src/neon/utils.ts +105 -0
- package/src/os/exec.ts +3 -3
- package/src/planetscale/api/client.gen.ts +28 -2882
- package/src/planetscale/api/sdk.gen.ts +3336 -0
- package/src/planetscale/api/types.gen.ts +778 -450
- package/src/planetscale/api.ts +101 -0
- package/src/planetscale/branch.ts +20 -19
- package/src/planetscale/database.ts +69 -70
- package/src/planetscale/index.ts +1 -1
- package/src/planetscale/password.ts +18 -22
- package/src/planetscale/role.ts +21 -21
- package/src/planetscale/utils.ts +20 -74
- package/src/random/random-string.ts +4 -4
- package/src/resource.ts +6 -2
- package/src/sentry/client-key.ts +3 -5
- package/src/sentry/project.ts +3 -5
- package/src/sentry/team.ts +3 -3
- package/src/serde.ts +50 -0
- package/src/state/r2-rest-state-store.ts +15 -57
- package/src/stripe/card.ts +3 -3
- package/src/stripe/coupon.ts +3 -3
- package/src/stripe/customer.ts +3 -3
- package/src/stripe/entitlements-feature.ts +3 -5
- package/src/stripe/file.ts +3 -3
- package/src/stripe/meter.ts +3 -3
- package/src/stripe/portal-configuration.ts +3 -5
- package/src/stripe/price.ts +3 -3
- package/src/stripe/product-feature.ts +3 -5
- package/src/stripe/product.ts +3 -3
- package/src/stripe/promotion-code.ts +3 -5
- package/src/stripe/shipping-rate.ts +3 -5
- package/src/stripe/tax-rate.ts +3 -3
- package/src/stripe/webhook.ts +3 -5
- package/src/test/bun.ts +2 -1
- package/src/test/options.ts +6 -0
- package/src/test/vitest.ts +1 -0
- package/src/upstash/redis.ts +1 -3
- package/src/util/api/client/client.gen.ts +268 -0
- package/src/util/api/client/index.ts +25 -0
- package/src/util/api/client/types.gen.ts +268 -0
- package/src/util/api/client/utils.gen.ts +331 -0
- package/src/util/api/core/auth.gen.ts +42 -0
- package/src/util/api/core/bodySerializer.gen.ts +92 -0
- package/src/util/api/core/params.gen.ts +153 -0
- package/src/util/api/core/pathSerializer.gen.ts +181 -0
- package/src/util/api/core/serverSentEvents.gen.ts +264 -0
- package/src/util/api/core/types.gen.ts +118 -0
- package/src/util/api/core/utils.gen.ts +143 -0
- package/src/util/http.ts +38 -11
- package/src/util/lock.ts +48 -0
- package/src/util/memoize.ts +26 -0
- package/src/util/oauth-client.ts +238 -0
- package/src/util/poll.ts +55 -0
- package/src/vercel/project-domain.ts +1 -3
- package/src/vercel/project.ts +3 -3
- package/templates/rwsdk/.cursor/rules/alchemy_cloudflare.mdc +2 -2
- package/workers/cloudflare-state-store.js +8 -5619
- package/workers/dofs-state-store.js +2 -802
- package/workers/remote-binding-proxy.js +3 -39
- package/workers/remote-binding-proxy.ts +126 -35
- package/workers/tunnel-proxy.js +6 -73
- package/lib/cloudflare/asset-manifest.d.ts +0 -15
- package/lib/cloudflare/asset-manifest.d.ts.map +0 -1
- package/lib/cloudflare/asset-manifest.js +0 -1
- package/lib/cloudflare/asset-manifest.js.map +0 -1
- package/lib/cloudflare/oauth.d.ts +0 -22
- package/lib/cloudflare/oauth.d.ts.map +0 -1
- package/lib/cloudflare/oauth.js +0 -214
- package/lib/cloudflare/oauth.js.map +0 -1
- package/lib/neon/api-error.d.ts +0 -31
- package/lib/neon/api-error.d.ts.map +0 -1
- package/lib/neon/api-error.js +0 -73
- package/lib/neon/api-error.js.map +0 -1
- package/lib/planetscale/api/index.d.ts +0 -3
- package/lib/planetscale/api/index.d.ts.map +0 -1
- package/lib/planetscale/api/index.js +0 -4
- package/lib/planetscale/api/index.js.map +0 -1
- package/lib/util/neverthrow.d.ts +0 -16
- package/lib/util/neverthrow.d.ts.map +0 -1
- package/lib/util/neverthrow.js +0 -46
- package/lib/util/neverthrow.js.map +0 -1
- package/src/cloudflare/asset-manifest.ts +0 -16
- package/src/cloudflare/oauth.ts +0 -301
- package/src/neon/api-error.ts +0 -81
- package/src/planetscale/api/index.ts +0 -4
- package/src/util/neverthrow.ts +0 -64
|
@@ -0,0 +1,880 @@
|
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from "../../util/api/client/index.ts";
|
|
2
|
+
import type { AcceptProjectTransferRequestData, AcceptProjectTransferRequestErrors, AcceptProjectTransferRequestResponses, AddNeonAuthDomainToRedirectUriWhitelistData, AddNeonAuthDomainToRedirectUriWhitelistErrors, AddNeonAuthDomainToRedirectUriWhitelistResponses, AddNeonAuthOauthProviderData, AddNeonAuthOauthProviderErrors, AddNeonAuthOauthProviderResponses, AddProjectJwksData, AddProjectJwksErrors, AddProjectJwksResponses, AssignOrganizationVpcEndpointData, AssignOrganizationVpcEndpointErrors, AssignOrganizationVpcEndpointResponses, AssignProjectVpcEndpointData, AssignProjectVpcEndpointErrors, AssignProjectVpcEndpointResponses, CountProjectBranchesData, CountProjectBranchesErrors, CountProjectBranchesResponses, CreateApiKeyData, CreateApiKeyErrors, CreateApiKeyResponses, CreateNeonAuthIntegrationData, CreateNeonAuthIntegrationErrors, CreateNeonAuthIntegrationResponses, CreateNeonAuthNewUserData, CreateNeonAuthNewUserErrors, CreateNeonAuthNewUserResponses, CreateNeonAuthProviderSdkKeysData, CreateNeonAuthProviderSdkKeysErrors, CreateNeonAuthProviderSdkKeysResponses, CreateOrganizationInvitationsData, CreateOrganizationInvitationsErrors, CreateOrganizationInvitationsResponses, CreateOrgApiKeyData, CreateOrgApiKeyErrors, CreateOrgApiKeyResponses, CreateProjectBranchData, CreateProjectBranchDataApiData, CreateProjectBranchDataApiErrors, CreateProjectBranchDataApiResponses, CreateProjectBranchDatabaseData, CreateProjectBranchDatabaseErrors, CreateProjectBranchDatabaseResponses, CreateProjectBranchErrors, CreateProjectBranchResponses, CreateProjectBranchRoleData, CreateProjectBranchRoleErrors, CreateProjectBranchRoleResponses, CreateProjectData, CreateProjectEndpointData, CreateProjectEndpointErrors, CreateProjectEndpointResponses, CreateProjectErrors, CreateProjectResponses, CreateProjectTransferRequestData, CreateProjectTransferRequestErrors, CreateProjectTransferRequestResponses, CreateSnapshotData, CreateSnapshotErrors, CreateSnapshotResponses, DeleteNeonAuthDomainFromRedirectUriWhitelistData, DeleteNeonAuthDomainFromRedirectUriWhitelistErrors, DeleteNeonAuthDomainFromRedirectUriWhitelistResponses, DeleteNeonAuthIntegrationData, DeleteNeonAuthIntegrationErrors, DeleteNeonAuthIntegrationResponses, DeleteNeonAuthOauthProviderData, DeleteNeonAuthOauthProviderErrors, DeleteNeonAuthOauthProviderResponses, DeleteNeonAuthUserData, DeleteNeonAuthUserErrors, DeleteNeonAuthUserResponses, DeleteOrganizationVpcEndpointData, DeleteOrganizationVpcEndpointErrors, DeleteOrganizationVpcEndpointResponses, DeleteProjectBranchData, DeleteProjectBranchDataApiData, DeleteProjectBranchDataApiErrors, DeleteProjectBranchDataApiResponses, DeleteProjectBranchDatabaseData, DeleteProjectBranchDatabaseErrors, DeleteProjectBranchDatabaseResponses, DeleteProjectBranchErrors, DeleteProjectBranchResponses, DeleteProjectBranchRoleData, DeleteProjectBranchRoleErrors, DeleteProjectBranchRoleResponses, DeleteProjectData, DeleteProjectEndpointData, DeleteProjectEndpointErrors, DeleteProjectEndpointResponses, DeleteProjectErrors, DeleteProjectJwksData, DeleteProjectJwksErrors, DeleteProjectJwksResponses, DeleteProjectResponses, DeleteProjectVpcEndpointData, DeleteProjectVpcEndpointErrors, DeleteProjectVpcEndpointResponses, DeleteSnapshotData, DeleteSnapshotErrors, DeleteSnapshotResponses, FinalizeRestoreBranchData, FinalizeRestoreBranchErrors, FinalizeRestoreBranchResponses, GetActiveRegionsData, GetActiveRegionsErrors, GetActiveRegionsResponses, GetAuthDetailsData, GetAuthDetailsErrors, GetAuthDetailsResponses, GetAvailablePreloadLibrariesData, GetAvailablePreloadLibrariesErrors, GetAvailablePreloadLibrariesResponses, GetConnectionUriData, GetConnectionUriErrors, GetConnectionUriResponses, GetConsumptionHistoryPerAccountData, GetConsumptionHistoryPerAccountErrors, GetConsumptionHistoryPerAccountResponses, GetConsumptionHistoryPerProjectData, GetConsumptionHistoryPerProjectErrors, GetConsumptionHistoryPerProjectResponses, GetCurrentUserInfoData, GetCurrentUserInfoErrors, GetCurrentUserInfoResponses, GetCurrentUserOrganizationsData, GetCurrentUserOrganizationsErrors, GetCurrentUserOrganizationsResponses, GetNeonAuthEmailServerData, GetNeonAuthEmailServerErrors, GetNeonAuthEmailServerResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationInvitationsData, GetOrganizationInvitationsErrors, GetOrganizationInvitationsResponses, GetOrganizationMemberData, GetOrganizationMemberErrors, GetOrganizationMemberResponses, GetOrganizationMembersData, GetOrganizationMembersErrors, GetOrganizationMembersResponses, GetOrganizationResponses, GetOrganizationVpcEndpointDetailsData, GetOrganizationVpcEndpointDetailsErrors, GetOrganizationVpcEndpointDetailsResponses, GetProjectBranchData, GetProjectBranchDataApiData, GetProjectBranchDataApiErrors, GetProjectBranchDataApiResponses, GetProjectBranchDatabaseData, GetProjectBranchDatabaseErrors, GetProjectBranchDatabaseResponses, GetProjectBranchErrors, GetProjectBranchResponses, GetProjectBranchRoleData, GetProjectBranchRoleErrors, GetProjectBranchRolePasswordData, GetProjectBranchRolePasswordErrors, GetProjectBranchRolePasswordResponses, GetProjectBranchRoleResponses, GetProjectBranchSchemaComparisonData, GetProjectBranchSchemaComparisonErrors, GetProjectBranchSchemaComparisonResponses, GetProjectBranchSchemaData, GetProjectBranchSchemaErrors, GetProjectBranchSchemaResponses, GetProjectData, GetProjectEndpointData, GetProjectEndpointErrors, GetProjectEndpointResponses, GetProjectErrors, GetProjectJwksData, GetProjectJwksErrors, GetProjectJwksResponses, GetProjectOperationData, GetProjectOperationErrors, GetProjectOperationResponses, GetProjectResponses, GrantPermissionToProjectData, GrantPermissionToProjectErrors, GrantPermissionToProjectResponses, ListApiKeysData, ListApiKeysErrors, ListApiKeysResponses, ListNeonAuthIntegrationsData, ListNeonAuthIntegrationsErrors, ListNeonAuthIntegrationsResponses, ListNeonAuthOauthProvidersData, ListNeonAuthOauthProvidersErrors, ListNeonAuthOauthProvidersResponses, ListNeonAuthRedirectUriWhitelistDomainsData, ListNeonAuthRedirectUriWhitelistDomainsErrors, ListNeonAuthRedirectUriWhitelistDomainsResponses, ListOrganizationVpcEndpointsAllRegionsData, ListOrganizationVpcEndpointsAllRegionsErrors, ListOrganizationVpcEndpointsAllRegionsResponses, ListOrganizationVpcEndpointsData, ListOrganizationVpcEndpointsErrors, ListOrganizationVpcEndpointsResponses, ListOrgApiKeysData, ListOrgApiKeysErrors, ListOrgApiKeysResponses, ListProjectBranchDatabasesData, ListProjectBranchDatabasesErrors, ListProjectBranchDatabasesResponses, ListProjectBranchEndpointsData, ListProjectBranchEndpointsErrors, ListProjectBranchEndpointsResponses, ListProjectBranchesData, ListProjectBranchesErrors, ListProjectBranchesResponses, ListProjectBranchRolesData, ListProjectBranchRolesErrors, ListProjectBranchRolesResponses, ListProjectEndpointsData, ListProjectEndpointsErrors, ListProjectEndpointsResponses, ListProjectOperationsData, ListProjectOperationsErrors, ListProjectOperationsResponses, ListProjectPermissionsData, ListProjectPermissionsErrors, ListProjectPermissionsResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponses, ListProjectVpcEndpointsData, ListProjectVpcEndpointsErrors, ListProjectVpcEndpointsResponses, ListSharedProjectsData, ListSharedProjectsErrors, ListSharedProjectsResponses, ListSnapshotsData, ListSnapshotsErrors, ListSnapshotsResponses, RefreshSchemaCacheDataApiData, RefreshSchemaCacheDataApiErrors, RefreshSchemaCacheDataApiResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, ResetProjectBranchRolePasswordData, ResetProjectBranchRolePasswordErrors, ResetProjectBranchRolePasswordResponses, RestartProjectEndpointData, RestartProjectEndpointErrors, RestartProjectEndpointResponses, RestoreProjectBranchData, RestoreProjectBranchErrors, RestoreProjectBranchResponses, RestoreSnapshotData, RestoreSnapshotErrors, RestoreSnapshotResponses, RevokeApiKeyData, RevokeApiKeyErrors, RevokeApiKeyResponses, RevokeOrgApiKeyData, RevokeOrgApiKeyErrors, RevokeOrgApiKeyResponses, RevokePermissionFromProjectData, RevokePermissionFromProjectErrors, RevokePermissionFromProjectResponses, SetDefaultProjectBranchData, SetDefaultProjectBranchErrors, SetDefaultProjectBranchResponses, StartProjectEndpointData, StartProjectEndpointErrors, StartProjectEndpointResponses, SuspendProjectEndpointData, SuspendProjectEndpointErrors, SuspendProjectEndpointResponses, TransferNeonAuthProviderProjectData, TransferNeonAuthProviderProjectErrors, TransferNeonAuthProviderProjectResponses, TransferProjectsFromOrgToOrgData, TransferProjectsFromOrgToOrgErrors, TransferProjectsFromOrgToOrgResponses, TransferProjectsFromUserToOrgData, TransferProjectsFromUserToOrgErrors, TransferProjectsFromUserToOrgResponses, UpdateNeonAuthEmailServerData, UpdateNeonAuthEmailServerErrors, UpdateNeonAuthEmailServerResponses, UpdateNeonAuthOauthProviderData, UpdateNeonAuthOauthProviderErrors, UpdateNeonAuthOauthProviderResponses, UpdateOrganizationMemberData, UpdateOrganizationMemberErrors, UpdateOrganizationMemberResponses, UpdateProjectBranchData, UpdateProjectBranchDatabaseData, UpdateProjectBranchDatabaseErrors, UpdateProjectBranchDatabaseResponses, UpdateProjectBranchErrors, UpdateProjectBranchResponses, UpdateProjectData, UpdateProjectEndpointData, UpdateProjectEndpointErrors, UpdateProjectEndpointResponses, UpdateProjectErrors, UpdateProjectResponses, UpdateSnapshotData, UpdateSnapshotErrors, UpdateSnapshotResponses } from "./types.gen.ts";
|
|
3
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
|
+
/**
|
|
5
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
6
|
+
* individual options. This might be also useful if you want to implement a
|
|
7
|
+
* custom client.
|
|
8
|
+
*/
|
|
9
|
+
client?: Client;
|
|
10
|
+
/**
|
|
11
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
13
|
+
*/
|
|
14
|
+
meta?: Record<string, unknown>;
|
|
15
|
+
};
|
|
16
|
+
declare class _HeyApiClient {
|
|
17
|
+
protected _client: Client;
|
|
18
|
+
constructor(args?: {
|
|
19
|
+
client?: Client;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export declare class NeonClient extends _HeyApiClient {
|
|
23
|
+
/**
|
|
24
|
+
* List API keys
|
|
25
|
+
* Retrieves the API keys for your Neon account.
|
|
26
|
+
* The response does not include API key tokens. A token is only provided when creating an API key.
|
|
27
|
+
* API keys can also be managed in the Neon Console.
|
|
28
|
+
* For more information, see [Manage API keys](https://neon.tech/docs/manage/api-keys/).
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
listApiKeys<ThrowOnError extends boolean = true>(options?: Options<ListApiKeysData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListApiKeysResponses, ListApiKeysErrors, ThrowOnError, "fields">;
|
|
32
|
+
/**
|
|
33
|
+
* Create API key
|
|
34
|
+
* Creates an API key.
|
|
35
|
+
* The `key_name` is a user-specified name for the key.
|
|
36
|
+
* This method returns an `id` and `key`. The `key` is a randomly generated, 64-bit token required to access the Neon API.
|
|
37
|
+
* API keys can also be managed in the Neon Console.
|
|
38
|
+
* See [Manage API keys](https://neon.tech/docs/manage/api-keys/).
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
createApiKey<ThrowOnError extends boolean = true>(options: Options<CreateApiKeyData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateApiKeyResponses, CreateApiKeyErrors, ThrowOnError, "fields">;
|
|
42
|
+
/**
|
|
43
|
+
* Revoke API key
|
|
44
|
+
* Revokes the specified API key.
|
|
45
|
+
* An API key that is no longer needed can be revoked.
|
|
46
|
+
* This action cannot be reversed.
|
|
47
|
+
* You can obtain `key_id` values by listing the API keys for your Neon account.
|
|
48
|
+
* API keys can also be managed in the Neon Console.
|
|
49
|
+
* See [Manage API keys](https://neon.tech/docs/manage/api-keys/).
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
revokeApiKey<ThrowOnError extends boolean = true>(options: Options<RevokeApiKeyData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RevokeApiKeyResponses, RevokeApiKeyErrors, ThrowOnError, "fields">;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve operation details
|
|
55
|
+
* Retrieves details for the specified operation.
|
|
56
|
+
* An operation is an action performed on a Neon project resource.
|
|
57
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
58
|
+
* You can obtain a `operation_id` by listing operations for the project.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
getProjectOperation<ThrowOnError extends boolean = true>(options: Options<GetProjectOperationData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectOperationResponses, GetProjectOperationErrors, ThrowOnError, "fields">;
|
|
62
|
+
/**
|
|
63
|
+
* List projects
|
|
64
|
+
* Retrieves a list of projects for an organization.
|
|
65
|
+
* You may need to specify an org_id parameter depending on your API key type.
|
|
66
|
+
* For more information, see [Manage projects](https://neon.tech/docs/manage/projects/).
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
listProjects<ThrowOnError extends boolean = true>(options?: Options<ListProjectsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectsResponses, ListProjectsErrors, ThrowOnError, "fields">;
|
|
70
|
+
/**
|
|
71
|
+
* Create project
|
|
72
|
+
* Creates a Neon project within an organization.
|
|
73
|
+
* You may need to specify an org_id parameter depending on your API key type.
|
|
74
|
+
* Plan limits define how many projects you can create.
|
|
75
|
+
* For more information, see [Manage projects](https://neon.tech/docs/manage/projects/).
|
|
76
|
+
*
|
|
77
|
+
* You can specify a region and Postgres version in the request body.
|
|
78
|
+
* Neon currently supports PostgreSQL 14, 15, 16, and 17.
|
|
79
|
+
* For supported regions and `region_id` values, see [Regions](https://neon.tech/docs/introduction/regions/).
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
createProject<ThrowOnError extends boolean = true>(options: Options<CreateProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectResponses, CreateProjectErrors, ThrowOnError, "fields">;
|
|
83
|
+
/**
|
|
84
|
+
* List shared projects
|
|
85
|
+
* Retrieves a list of projects shared with your Neon account.
|
|
86
|
+
* For more information, see [Manage projects](https://neon.tech/docs/manage/projects/).
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
listSharedProjects<ThrowOnError extends boolean = true>(options?: Options<ListSharedProjectsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListSharedProjectsResponses, ListSharedProjectsErrors, ThrowOnError, "fields">;
|
|
90
|
+
/**
|
|
91
|
+
* Delete project
|
|
92
|
+
* Deletes the specified project.
|
|
93
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
94
|
+
* Deleting a project is a permanent action.
|
|
95
|
+
* Deleting a project also deletes endpoints, branches, databases, and users that belong to the project.
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
deleteProject<ThrowOnError extends boolean = true>(options: Options<DeleteProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectResponses, DeleteProjectErrors, ThrowOnError, "fields">;
|
|
99
|
+
/**
|
|
100
|
+
* Retrieve project details
|
|
101
|
+
* Retrieves information about the specified project.
|
|
102
|
+
* You can obtain a `project_id` by listing the projects for an organization.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
getProject<ThrowOnError extends boolean = true>(options: Options<GetProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectResponses, GetProjectErrors, ThrowOnError, "fields">;
|
|
106
|
+
/**
|
|
107
|
+
* Update project
|
|
108
|
+
* Updates the specified project.
|
|
109
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
updateProject<ThrowOnError extends boolean = true>(options: Options<UpdateProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateProjectResponses, UpdateProjectErrors, ThrowOnError, "fields">;
|
|
113
|
+
/**
|
|
114
|
+
* List operations
|
|
115
|
+
* Retrieves a list of operations for the specified Neon project.
|
|
116
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
117
|
+
* The number of operations returned can be large.
|
|
118
|
+
* To paginate the response, issue an initial request with a `limit` value.
|
|
119
|
+
* Then, add the `cursor` value that was returned in the response to the next request.
|
|
120
|
+
* Operations older than 6 months may be deleted from our systems.
|
|
121
|
+
* If you need more history than that, you should store your own history.
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
listProjectOperations<ThrowOnError extends boolean = true>(options: Options<ListProjectOperationsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectOperationsResponses, ListProjectOperationsErrors, ThrowOnError, "fields">;
|
|
125
|
+
/**
|
|
126
|
+
* List project access
|
|
127
|
+
* Retrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted.
|
|
128
|
+
*/
|
|
129
|
+
listProjectPermissions<ThrowOnError extends boolean = true>(options: Options<ListProjectPermissionsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectPermissionsResponses, ListProjectPermissionsErrors, ThrowOnError, "fields">;
|
|
130
|
+
/**
|
|
131
|
+
* Grant project access
|
|
132
|
+
* Grants project access to the account associated with the specified email address
|
|
133
|
+
*/
|
|
134
|
+
grantPermissionToProject<ThrowOnError extends boolean = true>(options: Options<GrantPermissionToProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GrantPermissionToProjectResponses, GrantPermissionToProjectErrors, ThrowOnError, "fields">;
|
|
135
|
+
/**
|
|
136
|
+
* Revoke project access
|
|
137
|
+
* Revokes project access from the user associated with the specified permission `id`. You can retrieve a user's permission `id` by listing project access.
|
|
138
|
+
*/
|
|
139
|
+
revokePermissionFromProject<ThrowOnError extends boolean = true>(options: Options<RevokePermissionFromProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RevokePermissionFromProjectResponses, RevokePermissionFromProjectErrors, ThrowOnError, "fields">;
|
|
140
|
+
/**
|
|
141
|
+
* Return available shared preload libraries
|
|
142
|
+
* Return available shared preload libraries
|
|
143
|
+
*/
|
|
144
|
+
getAvailablePreloadLibraries<ThrowOnError extends boolean = true>(options: Options<GetAvailablePreloadLibrariesData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetAvailablePreloadLibrariesResponses, GetAvailablePreloadLibrariesErrors, ThrowOnError, "fields">;
|
|
145
|
+
/**
|
|
146
|
+
* Create a project transfer request
|
|
147
|
+
* Creates a transfer request for the specified project. A transfer request allows
|
|
148
|
+
* the project to be transferred to another account or organization. The request
|
|
149
|
+
* has an expiration time after which it can no longer be used. To accept/claim
|
|
150
|
+
* the transfer request, the recipient user/organization must call the
|
|
151
|
+
* `/projects/{project_id}/transfer_requests/{request_id}` API endpoint, or visit
|
|
152
|
+
* `https://console.neon.tech/app/claim?p={project_id}&tr={request_id}&ru={redirect_url}`
|
|
153
|
+
* in the Neon Console. The `ru` parameter is optional and can be used to redirect
|
|
154
|
+
* the user after accepting the transfer request. This feature is currently in
|
|
155
|
+
* private preview. Get in touch with us to get access.
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
createProjectTransferRequest<ThrowOnError extends boolean = true>(options: Options<CreateProjectTransferRequestData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectTransferRequestResponses, CreateProjectTransferRequestErrors, ThrowOnError, "fields">;
|
|
159
|
+
/**
|
|
160
|
+
* Accept a project transfer request
|
|
161
|
+
* Accepts a transfer request for the specified project, transferring it to the specified organization
|
|
162
|
+
* or user. If org_id is not passed, the project will be transferred to the current user or organization account.
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
acceptProjectTransferRequest<ThrowOnError extends boolean = true>(options: Options<AcceptProjectTransferRequestData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<AcceptProjectTransferRequestResponses, AcceptProjectTransferRequestErrors, ThrowOnError, "fields">;
|
|
166
|
+
/**
|
|
167
|
+
* List JWKS URLs
|
|
168
|
+
* Returns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project.
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
getProjectJwks<ThrowOnError extends boolean = true>(options: Options<GetProjectJwksData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectJwksResponses, GetProjectJwksErrors, ThrowOnError, "fields">;
|
|
172
|
+
/**
|
|
173
|
+
* Add JWKS URL
|
|
174
|
+
* Add a new JWKS URL to a project, such that it can be used for verifying JWTs used as the authentication mechanism for the specified project.
|
|
175
|
+
*
|
|
176
|
+
* The URL must be a valid HTTPS URL that returns a JSON Web Key Set.
|
|
177
|
+
*
|
|
178
|
+
* The `provider_name` field allows you to specify which authentication provider you're using (e.g., Clerk, Auth0, AWS Cognito, etc.).
|
|
179
|
+
*
|
|
180
|
+
* The `branch_id` can be used to specify on which branches the JWKS URL will be accepted. If not specified, then it will work on any branch.
|
|
181
|
+
*
|
|
182
|
+
* The `role_names` can be used to specify for which roles the JWKS URL will be accepted. If not specified, then default roles will be used (authenticator, authenticated and anonymous).
|
|
183
|
+
*
|
|
184
|
+
* The `jwt_audience` can be used to specify which "aud" values should be accepted by Neon in the JWTs that are used for authentication.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
187
|
+
addProjectJwks<ThrowOnError extends boolean = true>(options: Options<AddProjectJwksData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<AddProjectJwksResponses, AddProjectJwksErrors, ThrowOnError, "fields">;
|
|
188
|
+
/**
|
|
189
|
+
* Delete JWKS URL
|
|
190
|
+
* Deletes a JWKS URL from the specified project
|
|
191
|
+
*/
|
|
192
|
+
deleteProjectJwks<ThrowOnError extends boolean = true>(options: Options<DeleteProjectJwksData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectJwksResponses, DeleteProjectJwksErrors, ThrowOnError, "fields">;
|
|
193
|
+
/**
|
|
194
|
+
* Delete Neon Data API
|
|
195
|
+
* Deletes the Neon Data API for the specified branch.
|
|
196
|
+
* You can obtain the `project_id` and `branch_id` by listing the projects and branches for your Neon account.
|
|
197
|
+
*
|
|
198
|
+
*/
|
|
199
|
+
deleteProjectBranchDataApi<ThrowOnError extends boolean = true>(options: Options<DeleteProjectBranchDataApiData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectBranchDataApiResponses, DeleteProjectBranchDataApiErrors, ThrowOnError, "fields">;
|
|
200
|
+
/**
|
|
201
|
+
* Get Neon Data API
|
|
202
|
+
* Retrieves the Neon Data API for the specified branch.
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
getProjectBranchDataApi<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchDataApiData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchDataApiResponses, GetProjectBranchDataApiErrors, ThrowOnError, "fields">;
|
|
206
|
+
/**
|
|
207
|
+
* Refresh schema cache
|
|
208
|
+
* Refreshes the schema cache for the Neon Data API in the specified branch.
|
|
209
|
+
* You can obtain the `project_id` and `branch_id` by listing the projects and branches for your Neon account.
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
refreshSchemaCacheDataApi<ThrowOnError extends boolean = true>(options: Options<RefreshSchemaCacheDataApiData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RefreshSchemaCacheDataApiResponses, RefreshSchemaCacheDataApiErrors, ThrowOnError, "fields">;
|
|
213
|
+
/**
|
|
214
|
+
* Create Neon Data API
|
|
215
|
+
* Creates a new instance of Neon Data API in the specified branch.
|
|
216
|
+
* You can obtain the `project_id` and `branch_id` by listing the projects and branches for your Neon account.
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
219
|
+
createProjectBranchDataApi<ThrowOnError extends boolean = true>(options: Options<CreateProjectBranchDataApiData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectBranchDataApiResponses, CreateProjectBranchDataApiErrors, ThrowOnError, "fields">;
|
|
220
|
+
/**
|
|
221
|
+
* Create Neon Auth integration
|
|
222
|
+
* Creates a project on a third-party authentication provider's platform for use with Neon Auth.
|
|
223
|
+
* Use this endpoint if the frontend integration flow can't be used.
|
|
224
|
+
*
|
|
225
|
+
*/
|
|
226
|
+
createNeonAuthIntegration<ThrowOnError extends boolean = true>(options: Options<CreateNeonAuthIntegrationData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateNeonAuthIntegrationResponses, CreateNeonAuthIntegrationErrors, ThrowOnError, "fields">;
|
|
227
|
+
/**
|
|
228
|
+
* Delete domain from redirect_uri whitelist
|
|
229
|
+
* Deletes a domain from the redirect_uri whitelist for the specified project.
|
|
230
|
+
*
|
|
231
|
+
*/
|
|
232
|
+
deleteNeonAuthDomainFromRedirectUriWhitelist<ThrowOnError extends boolean = true>(options: Options<DeleteNeonAuthDomainFromRedirectUriWhitelistData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteNeonAuthDomainFromRedirectUriWhitelistResponses, DeleteNeonAuthDomainFromRedirectUriWhitelistErrors, ThrowOnError, "fields">;
|
|
233
|
+
/**
|
|
234
|
+
* List domains in redirect_uri whitelist
|
|
235
|
+
* Lists the domains in the redirect_uri whitelist for the specified project.
|
|
236
|
+
*
|
|
237
|
+
*/
|
|
238
|
+
listNeonAuthRedirectUriWhitelistDomains<ThrowOnError extends boolean = true>(options: Options<ListNeonAuthRedirectUriWhitelistDomainsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListNeonAuthRedirectUriWhitelistDomainsResponses, ListNeonAuthRedirectUriWhitelistDomainsErrors, ThrowOnError, "fields">;
|
|
239
|
+
/**
|
|
240
|
+
* Add domain to redirect_uri whitelist
|
|
241
|
+
* Adds a domain to the redirect_uri whitelist for the specified project.
|
|
242
|
+
*
|
|
243
|
+
*/
|
|
244
|
+
addNeonAuthDomainToRedirectUriWhitelist<ThrowOnError extends boolean = true>(options: Options<AddNeonAuthDomainToRedirectUriWhitelistData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<AddNeonAuthDomainToRedirectUriWhitelistResponses, AddNeonAuthDomainToRedirectUriWhitelistErrors, ThrowOnError, "fields">;
|
|
245
|
+
/**
|
|
246
|
+
* Create Auth Provider SDK keys
|
|
247
|
+
* Generates SDK or API Keys for the auth provider. These might be called different things depending
|
|
248
|
+
* on the auth provider you're using, but are generally used for setting up the frontend and backend SDKs.
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
251
|
+
createNeonAuthProviderSdkKeys<ThrowOnError extends boolean = true>(options: Options<CreateNeonAuthProviderSdkKeysData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateNeonAuthProviderSdkKeysResponses, CreateNeonAuthProviderSdkKeysErrors, ThrowOnError, "fields">;
|
|
252
|
+
/**
|
|
253
|
+
* Create new auth user
|
|
254
|
+
* Creates a new user in Neon Auth.
|
|
255
|
+
* The user will be created in your neon_auth.users_sync table and automatically propagated to your auth project, whether Neon-managed or provider-owned.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
createNeonAuthNewUser<ThrowOnError extends boolean = true>(options: Options<CreateNeonAuthNewUserData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateNeonAuthNewUserResponses, CreateNeonAuthNewUserErrors, ThrowOnError, "fields">;
|
|
259
|
+
/**
|
|
260
|
+
* Delete auth user
|
|
261
|
+
* Deletes the auth user for the specified project.
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
264
|
+
deleteNeonAuthUser<ThrowOnError extends boolean = true>(options: Options<DeleteNeonAuthUserData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteNeonAuthUserResponses, DeleteNeonAuthUserErrors, ThrowOnError, "fields">;
|
|
265
|
+
/**
|
|
266
|
+
* Transfer Neon-managed auth project to your own account
|
|
267
|
+
* Transfer ownership of your Neon-managed auth project to your own auth provider account.
|
|
268
|
+
*
|
|
269
|
+
*/
|
|
270
|
+
transferNeonAuthProviderProject<ThrowOnError extends boolean = true>(options: Options<TransferNeonAuthProviderProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<TransferNeonAuthProviderProjectResponses, TransferNeonAuthProviderProjectErrors, ThrowOnError, "fields">;
|
|
271
|
+
/**
|
|
272
|
+
* Lists active integrations with auth providers
|
|
273
|
+
*/
|
|
274
|
+
listNeonAuthIntegrations<ThrowOnError extends boolean = true>(options: Options<ListNeonAuthIntegrationsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListNeonAuthIntegrationsResponses, ListNeonAuthIntegrationsErrors, ThrowOnError, "fields">;
|
|
275
|
+
/**
|
|
276
|
+
* List OAuth providers
|
|
277
|
+
* Lists the OAuth providers for the specified project.
|
|
278
|
+
*
|
|
279
|
+
*/
|
|
280
|
+
listNeonAuthOauthProviders<ThrowOnError extends boolean = true>(options: Options<ListNeonAuthOauthProvidersData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListNeonAuthOauthProvidersResponses, ListNeonAuthOauthProvidersErrors, ThrowOnError, "fields">;
|
|
281
|
+
/**
|
|
282
|
+
* Add a OAuth provider
|
|
283
|
+
* Adds a OAuth provider to the specified project.
|
|
284
|
+
*
|
|
285
|
+
*/
|
|
286
|
+
addNeonAuthOauthProvider<ThrowOnError extends boolean = true>(options: Options<AddNeonAuthOauthProviderData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<AddNeonAuthOauthProviderResponses, AddNeonAuthOauthProviderErrors, ThrowOnError, "fields">;
|
|
287
|
+
/**
|
|
288
|
+
* Delete OAuth provider
|
|
289
|
+
* Deletes a OAuth provider from the specified project.
|
|
290
|
+
*
|
|
291
|
+
*/
|
|
292
|
+
deleteNeonAuthOauthProvider<ThrowOnError extends boolean = true>(options: Options<DeleteNeonAuthOauthProviderData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteNeonAuthOauthProviderResponses, DeleteNeonAuthOauthProviderErrors, ThrowOnError, "fields">;
|
|
293
|
+
/**
|
|
294
|
+
* Update OAuth provider
|
|
295
|
+
* Updates a OAuth provider for the specified project.
|
|
296
|
+
*
|
|
297
|
+
*/
|
|
298
|
+
updateNeonAuthOauthProvider<ThrowOnError extends boolean = true>(options: Options<UpdateNeonAuthOauthProviderData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateNeonAuthOauthProviderResponses, UpdateNeonAuthOauthProviderErrors, ThrowOnError, "fields">;
|
|
299
|
+
/**
|
|
300
|
+
* Get email server configuration
|
|
301
|
+
* Gets the email server configuration for the specified project.
|
|
302
|
+
*
|
|
303
|
+
*/
|
|
304
|
+
getNeonAuthEmailServer<ThrowOnError extends boolean = true>(options: Options<GetNeonAuthEmailServerData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetNeonAuthEmailServerResponses, GetNeonAuthEmailServerErrors, ThrowOnError, "fields">;
|
|
305
|
+
/**
|
|
306
|
+
* Update email server configuration
|
|
307
|
+
* Updates the email server configuration for the specified project.
|
|
308
|
+
*
|
|
309
|
+
*/
|
|
310
|
+
updateNeonAuthEmailServer<ThrowOnError extends boolean = true>(options: Options<UpdateNeonAuthEmailServerData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateNeonAuthEmailServerResponses, UpdateNeonAuthEmailServerErrors, ThrowOnError, "fields">;
|
|
311
|
+
/**
|
|
312
|
+
* Delete integration with auth provider
|
|
313
|
+
*/
|
|
314
|
+
deleteNeonAuthIntegration<ThrowOnError extends boolean = true>(options: Options<DeleteNeonAuthIntegrationData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteNeonAuthIntegrationResponses, DeleteNeonAuthIntegrationErrors, ThrowOnError, "fields">;
|
|
315
|
+
/**
|
|
316
|
+
* Retrieve connection URI
|
|
317
|
+
* Retrieves a connection URI for the specified database.
|
|
318
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
319
|
+
* You can obtain the `database_name` by listing the databases for a branch.
|
|
320
|
+
* You can obtain a `role_name` by listing the roles for a branch.
|
|
321
|
+
*
|
|
322
|
+
*/
|
|
323
|
+
getConnectionUri<ThrowOnError extends boolean = true>(options: Options<GetConnectionUriData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetConnectionUriResponses, GetConnectionUriErrors, ThrowOnError, "fields">;
|
|
324
|
+
/**
|
|
325
|
+
* List branches
|
|
326
|
+
* Retrieves a list of branches for the specified project.
|
|
327
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
328
|
+
*
|
|
329
|
+
* Each Neon project has a root branch named `main`.
|
|
330
|
+
* A `branch_id` value has a `br-` prefix.
|
|
331
|
+
* A project may contain child branches that were branched from `main` or from another branch.
|
|
332
|
+
* A parent branch is identified by the `parent_id` value, which is the `id` of the parent branch.
|
|
333
|
+
* For related information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
334
|
+
*
|
|
335
|
+
*/
|
|
336
|
+
listProjectBranches<ThrowOnError extends boolean = true>(options: Options<ListProjectBranchesData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectBranchesResponses, ListProjectBranchesErrors, ThrowOnError, "fields">;
|
|
337
|
+
/**
|
|
338
|
+
* Create branch
|
|
339
|
+
* Creates a branch in the specified project.
|
|
340
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
341
|
+
* This method does not require a request body, but you can specify one to create a compute endpoint for the branch or to select a non-default parent branch.
|
|
342
|
+
* By default, the branch is created from the project's default branch with no compute endpoint, and the branch name is auto-generated.
|
|
343
|
+
* To access the branch, you must add an endpoint object. A `read_write` endpoint allows you to perform read and write operations on the branch.
|
|
344
|
+
* Each branch supports one read-write endpoint and multiple read-only endpoints.
|
|
345
|
+
* For related information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
346
|
+
*
|
|
347
|
+
*/
|
|
348
|
+
createProjectBranch<ThrowOnError extends boolean = true>(options: Options<CreateProjectBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectBranchResponses, CreateProjectBranchErrors, ThrowOnError, "fields">;
|
|
349
|
+
/**
|
|
350
|
+
* Retrieve number of branches
|
|
351
|
+
* Retrieves the total number of branches in the specified project.
|
|
352
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
353
|
+
*
|
|
354
|
+
*/
|
|
355
|
+
countProjectBranches<ThrowOnError extends boolean = true>(options: Options<CountProjectBranchesData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CountProjectBranchesResponses, CountProjectBranchesErrors, ThrowOnError, "fields">;
|
|
356
|
+
/**
|
|
357
|
+
* Delete branch
|
|
358
|
+
* Deletes the specified branch from a project, and places
|
|
359
|
+
* all compute endpoints into an idle state, breaking existing client connections.
|
|
360
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
361
|
+
* You can obtain a `branch_id` by listing the project's branches.
|
|
362
|
+
* For related information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
363
|
+
*
|
|
364
|
+
* When a successful response status is received, the compute endpoints are still active,
|
|
365
|
+
* and the branch is not yet deleted from storage.
|
|
366
|
+
* The deletion occurs after all operations finish.
|
|
367
|
+
* You cannot delete a project's root or default branch, and you cannot delete a branch that has a child branch.
|
|
368
|
+
* A project must have at least one branch.
|
|
369
|
+
*
|
|
370
|
+
*/
|
|
371
|
+
deleteProjectBranch<ThrowOnError extends boolean = true>(options: Options<DeleteProjectBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectBranchResponses, DeleteProjectBranchErrors, ThrowOnError, "fields">;
|
|
372
|
+
/**
|
|
373
|
+
* Retrieve branch details
|
|
374
|
+
* Retrieves information about the specified branch.
|
|
375
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
376
|
+
* You can obtain a `branch_id` by listing the project's branches.
|
|
377
|
+
* A `branch_id` value has a `br-` prefix.
|
|
378
|
+
*
|
|
379
|
+
* Each Neon project is initially created with a root and default branch named `main`.
|
|
380
|
+
* A project can contain one or more branches.
|
|
381
|
+
* A parent branch is identified by a `parent_id` value, which is the `id` of the parent branch.
|
|
382
|
+
* For related information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
383
|
+
*
|
|
384
|
+
*/
|
|
385
|
+
getProjectBranch<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchResponses, GetProjectBranchErrors, ThrowOnError, "fields">;
|
|
386
|
+
/**
|
|
387
|
+
* Update branch
|
|
388
|
+
* Updates the specified branch.
|
|
389
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
390
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
391
|
+
* For more information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
392
|
+
*
|
|
393
|
+
*/
|
|
394
|
+
updateProjectBranch<ThrowOnError extends boolean = true>(options: Options<UpdateProjectBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateProjectBranchResponses, UpdateProjectBranchErrors, ThrowOnError, "fields">;
|
|
395
|
+
/**
|
|
396
|
+
* Restore branch
|
|
397
|
+
* Restores a branch to an earlier state in its own or another branch's history
|
|
398
|
+
*/
|
|
399
|
+
restoreProjectBranch<ThrowOnError extends boolean = true>(options: Options<RestoreProjectBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RestoreProjectBranchResponses, RestoreProjectBranchErrors, ThrowOnError, "fields">;
|
|
400
|
+
/**
|
|
401
|
+
* Retrieve database schema
|
|
402
|
+
* Retrieves the schema from the specified database. The `lsn` and `timestamp` values cannot be specified at the same time. If both are omitted, the database schema is retrieved from database's head.
|
|
403
|
+
*/
|
|
404
|
+
getProjectBranchSchema<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchSchemaData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchSchemaResponses, GetProjectBranchSchemaErrors, ThrowOnError, "fields">;
|
|
405
|
+
/**
|
|
406
|
+
* Compare database schema
|
|
407
|
+
* Compares the schema from the specified database with another branch's schema.
|
|
408
|
+
*/
|
|
409
|
+
getProjectBranchSchemaComparison<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchSchemaComparisonData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchSchemaComparisonResponses, GetProjectBranchSchemaComparisonErrors, ThrowOnError, "fields">;
|
|
410
|
+
/**
|
|
411
|
+
* Set branch as default
|
|
412
|
+
* Sets the specified branch as the project's default branch.
|
|
413
|
+
* The default designation is automatically removed from the previous default branch.
|
|
414
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
415
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
416
|
+
* For more information, see [Manage branches](https://neon.tech/docs/manage/branches/).
|
|
417
|
+
*
|
|
418
|
+
*/
|
|
419
|
+
setDefaultProjectBranch<ThrowOnError extends boolean = true>(options: Options<SetDefaultProjectBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<SetDefaultProjectBranchResponses, SetDefaultProjectBranchErrors, ThrowOnError, "fields">;
|
|
420
|
+
/**
|
|
421
|
+
* Finalize restore
|
|
422
|
+
* Finalize the restore operation for a branch created from a snapshot.
|
|
423
|
+
* This operation updates the branch so it functions as the original branch it replaced.
|
|
424
|
+
* This includes:
|
|
425
|
+
* - Reassigning any computes from the original branch to the restored branch (this will restart the computes)
|
|
426
|
+
* - Renaming the restored branch to the original branch's name
|
|
427
|
+
* - Renaming the original branch so it no longer uses the original name
|
|
428
|
+
*
|
|
429
|
+
* This operation only applies to branches created using the `restoreSnapshot` endpoint with `finalize_restore: false`.
|
|
430
|
+
*
|
|
431
|
+
* **Note**: This endpoint is currently in Beta.
|
|
432
|
+
*
|
|
433
|
+
*/
|
|
434
|
+
finalizeRestoreBranch<ThrowOnError extends boolean = true>(options: Options<FinalizeRestoreBranchData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<FinalizeRestoreBranchResponses, FinalizeRestoreBranchErrors, ThrowOnError, "fields">;
|
|
435
|
+
/**
|
|
436
|
+
* List branch endpoints
|
|
437
|
+
* Retrieves a list of compute endpoints for the specified branch.
|
|
438
|
+
* Neon permits only one read-write compute endpoint per branch.
|
|
439
|
+
* A branch can have multiple read-only compute endpoints.
|
|
440
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
441
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
442
|
+
*
|
|
443
|
+
*/
|
|
444
|
+
listProjectBranchEndpoints<ThrowOnError extends boolean = true>(options: Options<ListProjectBranchEndpointsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectBranchEndpointsResponses, ListProjectBranchEndpointsErrors, ThrowOnError, "fields">;
|
|
445
|
+
/**
|
|
446
|
+
* List databases
|
|
447
|
+
* Retrieves a list of databases for the specified branch.
|
|
448
|
+
* A branch can have multiple databases.
|
|
449
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
450
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
451
|
+
* For related information, see [Manage databases](https://neon.tech/docs/manage/databases/).
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
listProjectBranchDatabases<ThrowOnError extends boolean = true>(options: Options<ListProjectBranchDatabasesData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectBranchDatabasesResponses, ListProjectBranchDatabasesErrors, ThrowOnError, "fields">;
|
|
455
|
+
/**
|
|
456
|
+
* Create database
|
|
457
|
+
* Creates a database in the specified branch.
|
|
458
|
+
* A branch can have multiple databases.
|
|
459
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
460
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
461
|
+
* For related information, see [Manage databases](https://neon.tech/docs/manage/databases/).
|
|
462
|
+
*
|
|
463
|
+
*/
|
|
464
|
+
createProjectBranchDatabase<ThrowOnError extends boolean = true>(options: Options<CreateProjectBranchDatabaseData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectBranchDatabaseResponses, CreateProjectBranchDatabaseErrors, ThrowOnError, "fields">;
|
|
465
|
+
/**
|
|
466
|
+
* Delete database
|
|
467
|
+
* Deletes the specified database from the branch.
|
|
468
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
469
|
+
* You can obtain the `branch_id` and `database_name` by listing the branch's databases.
|
|
470
|
+
* For related information, see [Manage databases](https://neon.tech/docs/manage/databases/).
|
|
471
|
+
*
|
|
472
|
+
*/
|
|
473
|
+
deleteProjectBranchDatabase<ThrowOnError extends boolean = true>(options: Options<DeleteProjectBranchDatabaseData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectBranchDatabaseResponses, DeleteProjectBranchDatabaseErrors, ThrowOnError, "fields">;
|
|
474
|
+
/**
|
|
475
|
+
* Retrieve database details
|
|
476
|
+
* Retrieves information about the specified database.
|
|
477
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
478
|
+
* You can obtain the `branch_id` and `database_name` by listing the branch's databases.
|
|
479
|
+
* For related information, see [Manage databases](https://neon.tech/docs/manage/databases/).
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
getProjectBranchDatabase<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchDatabaseData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchDatabaseResponses, GetProjectBranchDatabaseErrors, ThrowOnError, "fields">;
|
|
483
|
+
/**
|
|
484
|
+
* Update database
|
|
485
|
+
* Updates the specified database in the branch.
|
|
486
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
487
|
+
* You can obtain the `branch_id` and `database_name` by listing the branch's databases.
|
|
488
|
+
* For related information, see [Manage databases](https://neon.tech/docs/manage/databases/).
|
|
489
|
+
*
|
|
490
|
+
*/
|
|
491
|
+
updateProjectBranchDatabase<ThrowOnError extends boolean = true>(options: Options<UpdateProjectBranchDatabaseData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateProjectBranchDatabaseResponses, UpdateProjectBranchDatabaseErrors, ThrowOnError, "fields">;
|
|
492
|
+
/**
|
|
493
|
+
* List roles
|
|
494
|
+
* Retrieves a list of Postgres roles from the specified branch.
|
|
495
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
496
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
497
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
listProjectBranchRoles<ThrowOnError extends boolean = true>(options: Options<ListProjectBranchRolesData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectBranchRolesResponses, ListProjectBranchRolesErrors, ThrowOnError, "fields">;
|
|
501
|
+
/**
|
|
502
|
+
* Create role
|
|
503
|
+
* Creates a Postgres role in the specified branch.
|
|
504
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
505
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
506
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
507
|
+
*
|
|
508
|
+
* Connections established to the active compute endpoint will be dropped.
|
|
509
|
+
* If the compute endpoint is idle, the endpoint becomes active for a short period of time and is suspended afterward.
|
|
510
|
+
*
|
|
511
|
+
*/
|
|
512
|
+
createProjectBranchRole<ThrowOnError extends boolean = true>(options: Options<CreateProjectBranchRoleData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectBranchRoleResponses, CreateProjectBranchRoleErrors, ThrowOnError, "fields">;
|
|
513
|
+
/**
|
|
514
|
+
* Delete role
|
|
515
|
+
* Deletes the specified Postgres role from the branch.
|
|
516
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
517
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
518
|
+
* You can obtain the `role_name` by listing the roles for a branch.
|
|
519
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
520
|
+
*
|
|
521
|
+
*/
|
|
522
|
+
deleteProjectBranchRole<ThrowOnError extends boolean = true>(options: Options<DeleteProjectBranchRoleData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectBranchRoleResponses, DeleteProjectBranchRoleErrors, ThrowOnError, "fields">;
|
|
523
|
+
/**
|
|
524
|
+
* Retrieve role details
|
|
525
|
+
* Retrieves details about the specified role.
|
|
526
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
527
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
528
|
+
* You can obtain the `role_name` by listing the roles for a branch.
|
|
529
|
+
* In Neon, the terms "role" and "user" are synonymous.
|
|
530
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
531
|
+
*
|
|
532
|
+
*/
|
|
533
|
+
getProjectBranchRole<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchRoleData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchRoleResponses, GetProjectBranchRoleErrors, ThrowOnError, "fields">;
|
|
534
|
+
/**
|
|
535
|
+
* Retrieve role password
|
|
536
|
+
* Retrieves the password for the specified Postgres role, if possible.
|
|
537
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
538
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
539
|
+
* You can obtain the `role_name` by listing the roles for a branch.
|
|
540
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
541
|
+
*
|
|
542
|
+
*/
|
|
543
|
+
getProjectBranchRolePassword<ThrowOnError extends boolean = true>(options: Options<GetProjectBranchRolePasswordData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectBranchRolePasswordResponses, GetProjectBranchRolePasswordErrors, ThrowOnError, "fields">;
|
|
544
|
+
/**
|
|
545
|
+
* Reset role password
|
|
546
|
+
* Resets the password for the specified Postgres role.
|
|
547
|
+
* Returns a new password and operations. The new password is ready to use when the last operation finishes.
|
|
548
|
+
* The old password remains valid until last operation finishes.
|
|
549
|
+
* Connections to the compute endpoint are dropped. If idle,
|
|
550
|
+
* the compute endpoint becomes active for a short period of time.
|
|
551
|
+
*
|
|
552
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
553
|
+
* You can obtain the `branch_id` by listing the project's branches.
|
|
554
|
+
* You can obtain the `role_name` by listing the roles for a branch.
|
|
555
|
+
* For related information, see [Manage roles](https://neon.tech/docs/manage/roles/).
|
|
556
|
+
*
|
|
557
|
+
*/
|
|
558
|
+
resetProjectBranchRolePassword<ThrowOnError extends boolean = true>(options: Options<ResetProjectBranchRolePasswordData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ResetProjectBranchRolePasswordResponses, ResetProjectBranchRolePasswordErrors, ThrowOnError, "fields">;
|
|
559
|
+
/**
|
|
560
|
+
* List VPC endpoint restrictions
|
|
561
|
+
* Lists VPC endpoint restrictions for the specified Neon project.
|
|
562
|
+
*
|
|
563
|
+
*/
|
|
564
|
+
listProjectVpcEndpoints<ThrowOnError extends boolean = true>(options: Options<ListProjectVpcEndpointsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectVpcEndpointsResponses, ListProjectVpcEndpointsErrors, ThrowOnError, "fields">;
|
|
565
|
+
/**
|
|
566
|
+
* Delete VPC endpoint restriction
|
|
567
|
+
* Removes the specified VPC endpoint restriction from a Neon project.
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
deleteProjectVpcEndpoint<ThrowOnError extends boolean = true>(options: Options<DeleteProjectVpcEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectVpcEndpointResponses, DeleteProjectVpcEndpointErrors, ThrowOnError, "fields">;
|
|
571
|
+
/**
|
|
572
|
+
* Set VPC endpoint restriction
|
|
573
|
+
* Sets or updates a VPC endpoint restriction for a Neon project.
|
|
574
|
+
* When a VPC endpoint restriction is set, the project only accepts connections
|
|
575
|
+
* from the specified VPC.
|
|
576
|
+
* A VPC endpoint can be set as a restriction only after it is assigned to the
|
|
577
|
+
* parent organization of the Neon project.
|
|
578
|
+
*
|
|
579
|
+
*/
|
|
580
|
+
assignProjectVpcEndpoint<ThrowOnError extends boolean = true>(options: Options<AssignProjectVpcEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<AssignProjectVpcEndpointResponses, AssignProjectVpcEndpointErrors, ThrowOnError, "fields">;
|
|
581
|
+
/**
|
|
582
|
+
* List compute endpoints
|
|
583
|
+
* Retrieves a list of compute endpoints for the specified project.
|
|
584
|
+
* A compute endpoint is a Neon compute instance.
|
|
585
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
586
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
587
|
+
*
|
|
588
|
+
*/
|
|
589
|
+
listProjectEndpoints<ThrowOnError extends boolean = true>(options: Options<ListProjectEndpointsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListProjectEndpointsResponses, ListProjectEndpointsErrors, ThrowOnError, "fields">;
|
|
590
|
+
/**
|
|
591
|
+
* Create compute endpoint
|
|
592
|
+
* Creates a compute endpoint for the specified branch.
|
|
593
|
+
* An endpoint is a Neon compute instance.
|
|
594
|
+
* There is a maximum of one read-write compute endpoint per branch.
|
|
595
|
+
* If the specified branch already has a read-write compute endpoint, the operation fails.
|
|
596
|
+
* A branch can have multiple read-only compute endpoints.
|
|
597
|
+
*
|
|
598
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
599
|
+
* You can obtain `branch_id` by listing the project's branches.
|
|
600
|
+
* A `branch_id` has a `br-` prefix.
|
|
601
|
+
* For supported regions and `region_id` values, see [Regions](https://neon.tech/docs/introduction/regions/).
|
|
602
|
+
* For more information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
createProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<CreateProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateProjectEndpointResponses, CreateProjectEndpointErrors, ThrowOnError, "fields">;
|
|
606
|
+
/**
|
|
607
|
+
* Delete compute endpoint
|
|
608
|
+
* Delete the specified compute endpoint.
|
|
609
|
+
* A compute endpoint is a Neon compute instance.
|
|
610
|
+
* Deleting a compute endpoint drops existing network connections to the compute endpoint.
|
|
611
|
+
* The deletion is completed when last operation in the chain finishes successfully.
|
|
612
|
+
*
|
|
613
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
614
|
+
* You can obtain an `endpoint_id` by listing your project's compute endpoints.
|
|
615
|
+
* An `endpoint_id` has an `ep-` prefix.
|
|
616
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
617
|
+
*
|
|
618
|
+
*/
|
|
619
|
+
deleteProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<DeleteProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteProjectEndpointResponses, DeleteProjectEndpointErrors, ThrowOnError, "fields">;
|
|
620
|
+
/**
|
|
621
|
+
* Retrieve compute endpoint details
|
|
622
|
+
* Retrieves information about the specified compute endpoint.
|
|
623
|
+
* A compute endpoint is a Neon compute instance.
|
|
624
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
625
|
+
* You can obtain an `endpoint_id` by listing your project's compute endpoints.
|
|
626
|
+
* An `endpoint_id` has an `ep-` prefix.
|
|
627
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
getProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<GetProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetProjectEndpointResponses, GetProjectEndpointErrors, ThrowOnError, "fields">;
|
|
631
|
+
/**
|
|
632
|
+
* Update compute endpoint
|
|
633
|
+
* Updates the specified compute endpoint.
|
|
634
|
+
*
|
|
635
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
636
|
+
* You can obtain an `endpoint_id` and `branch_id` by listing your project's compute endpoints.
|
|
637
|
+
* An `endpoint_id` has an `ep-` prefix. A `branch_id` has a `br-` prefix.
|
|
638
|
+
* For more information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
639
|
+
*
|
|
640
|
+
* If the returned list of operations is not empty, the compute endpoint is not ready to use.
|
|
641
|
+
* The client must wait for the last operation to finish before using the compute endpoint.
|
|
642
|
+
* If the compute endpoint was idle before the update, it becomes active for a short period of time,
|
|
643
|
+
* and the control plane suspends it again after the update.
|
|
644
|
+
*
|
|
645
|
+
*/
|
|
646
|
+
updateProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<UpdateProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateProjectEndpointResponses, UpdateProjectEndpointErrors, ThrowOnError, "fields">;
|
|
647
|
+
/**
|
|
648
|
+
* Start compute endpoint
|
|
649
|
+
* Starts a compute endpoint. The compute endpoint is ready to use
|
|
650
|
+
* after the last operation in chain finishes successfully.
|
|
651
|
+
*
|
|
652
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
653
|
+
* You can obtain an `endpoint_id` by listing your project's compute endpoints.
|
|
654
|
+
* An `endpoint_id` has an `ep-` prefix.
|
|
655
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
startProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<StartProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<StartProjectEndpointResponses, StartProjectEndpointErrors, ThrowOnError, "fields">;
|
|
659
|
+
/**
|
|
660
|
+
* Suspend compute endpoint
|
|
661
|
+
* Suspend the specified compute endpoint
|
|
662
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
663
|
+
* You can obtain an `endpoint_id` by listing your project's compute endpoints.
|
|
664
|
+
* An `endpoint_id` has an `ep-` prefix.
|
|
665
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
666
|
+
*
|
|
667
|
+
*/
|
|
668
|
+
suspendProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<SuspendProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<SuspendProjectEndpointResponses, SuspendProjectEndpointErrors, ThrowOnError, "fields">;
|
|
669
|
+
/**
|
|
670
|
+
* Restart compute endpoint
|
|
671
|
+
* Restart the specified compute endpoint: suspend immediately followed by start operations.
|
|
672
|
+
* You can obtain a `project_id` by listing the projects for your Neon account.
|
|
673
|
+
* You can obtain an `endpoint_id` by listing your project's compute endpoints.
|
|
674
|
+
* An `endpoint_id` has an `ep-` prefix.
|
|
675
|
+
* For information about compute endpoints, see [Manage computes](https://neon.tech/docs/manage/endpoints/).
|
|
676
|
+
*
|
|
677
|
+
*/
|
|
678
|
+
restartProjectEndpoint<ThrowOnError extends boolean = true>(options: Options<RestartProjectEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RestartProjectEndpointResponses, RestartProjectEndpointErrors, ThrowOnError, "fields">;
|
|
679
|
+
/**
|
|
680
|
+
* Retrieve account consumption metrics
|
|
681
|
+
* Retrieves consumption metrics for Scale, Business, and Enterprise plan accounts. History begins at the time of upgrade.
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
684
|
+
getConsumptionHistoryPerAccount<ThrowOnError extends boolean = true>(options: Options<GetConsumptionHistoryPerAccountData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetConsumptionHistoryPerAccountResponses, GetConsumptionHistoryPerAccountErrors, ThrowOnError, "fields">;
|
|
685
|
+
/**
|
|
686
|
+
* Retrieve project consumption metrics
|
|
687
|
+
* Retrieves consumption metrics for Scale, Business, and Enterprise plan projects. History begins at the time of upgrade.
|
|
688
|
+
* Issuing a call to this API does not wake a project's compute endpoint.
|
|
689
|
+
*
|
|
690
|
+
*/
|
|
691
|
+
getConsumptionHistoryPerProject<ThrowOnError extends boolean = true>(options: Options<GetConsumptionHistoryPerProjectData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetConsumptionHistoryPerProjectResponses, GetConsumptionHistoryPerProjectErrors, ThrowOnError, "fields">;
|
|
692
|
+
/**
|
|
693
|
+
* Retrieve organization details
|
|
694
|
+
* Retrieves information about the specified organization.
|
|
695
|
+
*
|
|
696
|
+
*/
|
|
697
|
+
getOrganization<ThrowOnError extends boolean = true>(options: Options<GetOrganizationData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetOrganizationResponses, GetOrganizationErrors, ThrowOnError, "fields">;
|
|
698
|
+
/**
|
|
699
|
+
* List organization API keys
|
|
700
|
+
* Retrieves the API keys for the specified organization.
|
|
701
|
+
* The response does not include API key tokens. A token is only provided when creating an API key.
|
|
702
|
+
* API keys can also be managed in the Neon Console.
|
|
703
|
+
* For more information, see [Manage API keys](https://neon.tech/docs/manage/api-keys/).
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
listOrgApiKeys<ThrowOnError extends boolean = true>(options: Options<ListOrgApiKeysData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListOrgApiKeysResponses, ListOrgApiKeysErrors, ThrowOnError, "fields">;
|
|
707
|
+
/**
|
|
708
|
+
* Create organization API key
|
|
709
|
+
* Creates an API key for the specified organization.
|
|
710
|
+
* The `key_name` is a user-specified name for the key.
|
|
711
|
+
* This method returns an `id` and `key`. The `key` is a randomly generated, 64-bit token required to access the Neon API.
|
|
712
|
+
* API keys can also be managed in the Neon Console.
|
|
713
|
+
* See [Manage API keys](https://neon.tech/docs/manage/api-keys/).
|
|
714
|
+
*
|
|
715
|
+
*/
|
|
716
|
+
createOrgApiKey<ThrowOnError extends boolean = true>(options: Options<CreateOrgApiKeyData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateOrgApiKeyResponses, CreateOrgApiKeyErrors, ThrowOnError, "fields">;
|
|
717
|
+
/**
|
|
718
|
+
* Revoke organization API key
|
|
719
|
+
* Revokes the specified organization API key.
|
|
720
|
+
* An API key that is no longer needed can be revoked.
|
|
721
|
+
* This action cannot be reversed.
|
|
722
|
+
* You can obtain `key_id` values by listing the API keys for an organization.
|
|
723
|
+
* API keys can also be managed in the Neon Console.
|
|
724
|
+
* See [Manage API keys](https://neon.tech/docs/manage/api-keys/).
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
revokeOrgApiKey<ThrowOnError extends boolean = true>(options: Options<RevokeOrgApiKeyData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RevokeOrgApiKeyResponses, RevokeOrgApiKeyErrors, ThrowOnError, "fields">;
|
|
728
|
+
/**
|
|
729
|
+
* Retrieve organization members details
|
|
730
|
+
* Retrieves information about the specified organization members.
|
|
731
|
+
*
|
|
732
|
+
*/
|
|
733
|
+
getOrganizationMembers<ThrowOnError extends boolean = true>(options: Options<GetOrganizationMembersData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetOrganizationMembersResponses, GetOrganizationMembersErrors, ThrowOnError, "fields">;
|
|
734
|
+
/**
|
|
735
|
+
* Remove member from the organization
|
|
736
|
+
* Remove member from the organization.
|
|
737
|
+
* Only an admin of the organization can perform this action.
|
|
738
|
+
* If another admin is being removed, it will not be allows in case it is the only admin left in the organization.
|
|
739
|
+
*
|
|
740
|
+
*/
|
|
741
|
+
removeOrganizationMember<ThrowOnError extends boolean = true>(options: Options<RemoveOrganizationMemberData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RemoveOrganizationMemberResponses, RemoveOrganizationMemberErrors, ThrowOnError, "fields">;
|
|
742
|
+
/**
|
|
743
|
+
* Retrieve organization member details
|
|
744
|
+
* Retrieves information about the specified organization member.
|
|
745
|
+
*
|
|
746
|
+
*/
|
|
747
|
+
getOrganizationMember<ThrowOnError extends boolean = true>(options: Options<GetOrganizationMemberData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetOrganizationMemberResponses, GetOrganizationMemberErrors, ThrowOnError, "fields">;
|
|
748
|
+
/**
|
|
749
|
+
* Update role for organization member
|
|
750
|
+
* Only an admin can perform this action.
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
updateOrganizationMember<ThrowOnError extends boolean = true>(options: Options<UpdateOrganizationMemberData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateOrganizationMemberResponses, UpdateOrganizationMemberErrors, ThrowOnError, "fields">;
|
|
754
|
+
/**
|
|
755
|
+
* Retrieve organization invitation details
|
|
756
|
+
* Retrieves information about extended invitations for the specified organization
|
|
757
|
+
*
|
|
758
|
+
*/
|
|
759
|
+
getOrganizationInvitations<ThrowOnError extends boolean = true>(options: Options<GetOrganizationInvitationsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetOrganizationInvitationsResponses, GetOrganizationInvitationsErrors, ThrowOnError, "fields">;
|
|
760
|
+
/**
|
|
761
|
+
* Create organization invitations
|
|
762
|
+
* Creates invitations for a specific organization.
|
|
763
|
+
* If the invited user has an existing account, they automatically join as a member.
|
|
764
|
+
* If they don't yet have an account, they are invited to create one, after which they become a member.
|
|
765
|
+
* Each invited user receives an email notification.
|
|
766
|
+
*
|
|
767
|
+
*/
|
|
768
|
+
createOrganizationInvitations<ThrowOnError extends boolean = true>(options: Options<CreateOrganizationInvitationsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateOrganizationInvitationsResponses, CreateOrganizationInvitationsErrors, ThrowOnError, "fields">;
|
|
769
|
+
/**
|
|
770
|
+
* Transfer projects between organizations
|
|
771
|
+
* Transfers selected projects, identified by their IDs, from your organization to another specified organization.
|
|
772
|
+
*
|
|
773
|
+
*/
|
|
774
|
+
transferProjectsFromOrgToOrg<ThrowOnError extends boolean = true>(options: Options<TransferProjectsFromOrgToOrgData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<TransferProjectsFromOrgToOrgResponses, TransferProjectsFromOrgToOrgErrors, ThrowOnError, "fields">;
|
|
775
|
+
/**
|
|
776
|
+
* List VPC endpoints across all regions
|
|
777
|
+
* Retrieves the list of VPC endpoints for the specified Neon organization across all regions.
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
780
|
+
listOrganizationVpcEndpointsAllRegions<ThrowOnError extends boolean = true>(options: Options<ListOrganizationVpcEndpointsAllRegionsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListOrganizationVpcEndpointsAllRegionsResponses, ListOrganizationVpcEndpointsAllRegionsErrors, ThrowOnError, "fields">;
|
|
781
|
+
/**
|
|
782
|
+
* List VPC endpoints
|
|
783
|
+
* Retrieves the list of VPC endpoints for the specified Neon organization.
|
|
784
|
+
*
|
|
785
|
+
*/
|
|
786
|
+
listOrganizationVpcEndpoints<ThrowOnError extends boolean = true>(options: Options<ListOrganizationVpcEndpointsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListOrganizationVpcEndpointsResponses, ListOrganizationVpcEndpointsErrors, ThrowOnError, "fields">;
|
|
787
|
+
/**
|
|
788
|
+
* Delete VPC endpoint
|
|
789
|
+
* Deletes the VPC endpoint from the specified Neon organization.
|
|
790
|
+
* If you delete a VPC endpoint from a Neon organization, that VPC endpoint cannot
|
|
791
|
+
* be added back to the Neon organization.
|
|
792
|
+
*
|
|
793
|
+
*/
|
|
794
|
+
deleteOrganizationVpcEndpoint<ThrowOnError extends boolean = true>(options: Options<DeleteOrganizationVpcEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteOrganizationVpcEndpointResponses, DeleteOrganizationVpcEndpointErrors, ThrowOnError, "fields">;
|
|
795
|
+
/**
|
|
796
|
+
* Retrieve VPC endpoint details
|
|
797
|
+
* Retrieves the current state and configuration details of a specified VPC endpoint.
|
|
798
|
+
*
|
|
799
|
+
*/
|
|
800
|
+
getOrganizationVpcEndpointDetails<ThrowOnError extends boolean = true>(options: Options<GetOrganizationVpcEndpointDetailsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetOrganizationVpcEndpointDetailsResponses, GetOrganizationVpcEndpointDetailsErrors, ThrowOnError, "fields">;
|
|
801
|
+
/**
|
|
802
|
+
* Assign or update VPC endpoint
|
|
803
|
+
* Assigns a VPC endpoint to a Neon organization or updates its existing assignment.
|
|
804
|
+
*
|
|
805
|
+
*/
|
|
806
|
+
assignOrganizationVpcEndpoint<ThrowOnError extends boolean = true>(options: Options<AssignOrganizationVpcEndpointData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<AssignOrganizationVpcEndpointResponses, AssignOrganizationVpcEndpointErrors, ThrowOnError, "fields">;
|
|
807
|
+
/**
|
|
808
|
+
* List supported regions
|
|
809
|
+
* Lists supported Neon regions
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
812
|
+
getActiveRegions<ThrowOnError extends boolean = true>(options?: Options<GetActiveRegionsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetActiveRegionsResponses, GetActiveRegionsErrors, ThrowOnError, "fields">;
|
|
813
|
+
/**
|
|
814
|
+
* Retrieve current user details
|
|
815
|
+
* Retrieves information about the current Neon user account.
|
|
816
|
+
*
|
|
817
|
+
*/
|
|
818
|
+
getCurrentUserInfo<ThrowOnError extends boolean = true>(options?: Options<GetCurrentUserInfoData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetCurrentUserInfoResponses, GetCurrentUserInfoErrors, ThrowOnError, "fields">;
|
|
819
|
+
/**
|
|
820
|
+
* Retrieve current user organizations list
|
|
821
|
+
* Retrieves information about the current Neon user's organizations
|
|
822
|
+
*
|
|
823
|
+
*/
|
|
824
|
+
getCurrentUserOrganizations<ThrowOnError extends boolean = true>(options?: Options<GetCurrentUserOrganizationsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetCurrentUserOrganizationsResponses, GetCurrentUserOrganizationsErrors, ThrowOnError, "fields">;
|
|
825
|
+
/**
|
|
826
|
+
* Transfer projects from personal account to organization
|
|
827
|
+
* Transfers selected projects, identified by their IDs, from your personal account to a specified organization.
|
|
828
|
+
*
|
|
829
|
+
*/
|
|
830
|
+
transferProjectsFromUserToOrg<ThrowOnError extends boolean = true>(options: Options<TransferProjectsFromUserToOrgData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<TransferProjectsFromUserToOrgResponses, TransferProjectsFromUserToOrgErrors, ThrowOnError, "fields">;
|
|
831
|
+
/**
|
|
832
|
+
* Get request authentication details
|
|
833
|
+
* Returns auth information about the passed credentials. It can refer to an API key, Bearer token or OAuth session.
|
|
834
|
+
*
|
|
835
|
+
*/
|
|
836
|
+
getAuthDetails<ThrowOnError extends boolean = true>(options?: Options<GetAuthDetailsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<GetAuthDetailsResponses, GetAuthDetailsErrors, ThrowOnError, "fields">;
|
|
837
|
+
/**
|
|
838
|
+
* Create snapshot
|
|
839
|
+
* Create a snapshot from the specified branch using the provided parameters.
|
|
840
|
+
* This endpoint may initiate an asynchronous operation.
|
|
841
|
+
*
|
|
842
|
+
* **Note**: This endpoint is currently in Beta.
|
|
843
|
+
*
|
|
844
|
+
*/
|
|
845
|
+
createSnapshot<ThrowOnError extends boolean = true>(options: Options<CreateSnapshotData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<CreateSnapshotResponses, CreateSnapshotErrors, ThrowOnError, "fields">;
|
|
846
|
+
/**
|
|
847
|
+
* List project snapshots
|
|
848
|
+
* List the snapshots for the specified project.
|
|
849
|
+
*
|
|
850
|
+
* **Note**: This endpoint is currently in Beta.
|
|
851
|
+
*
|
|
852
|
+
*/
|
|
853
|
+
listSnapshots<ThrowOnError extends boolean = true>(options: Options<ListSnapshotsData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<ListSnapshotsResponses, ListSnapshotsErrors, ThrowOnError, "fields">;
|
|
854
|
+
/**
|
|
855
|
+
* Delete snapshot
|
|
856
|
+
* Delete the specified snapshot.
|
|
857
|
+
*
|
|
858
|
+
* **Note**: This endpoint is currently in Beta.
|
|
859
|
+
*
|
|
860
|
+
*/
|
|
861
|
+
deleteSnapshot<ThrowOnError extends boolean = true>(options: Options<DeleteSnapshotData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<DeleteSnapshotResponses, DeleteSnapshotErrors, ThrowOnError, "fields">;
|
|
862
|
+
/**
|
|
863
|
+
* Update snapshot
|
|
864
|
+
* Update the specified snapshot.
|
|
865
|
+
*
|
|
866
|
+
* **Note**: This endpoint is currently in Beta.
|
|
867
|
+
*
|
|
868
|
+
*/
|
|
869
|
+
updateSnapshot<ThrowOnError extends boolean = true>(options: Options<UpdateSnapshotData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<UpdateSnapshotResponses, UpdateSnapshotErrors, ThrowOnError, "fields">;
|
|
870
|
+
/**
|
|
871
|
+
* Restore snapshot
|
|
872
|
+
* Restore the specified snapshot to a new branch and optionally finalize the restore operation.
|
|
873
|
+
*
|
|
874
|
+
* **Note**: This endpoint is currently in Beta.
|
|
875
|
+
*
|
|
876
|
+
*/
|
|
877
|
+
restoreSnapshot<ThrowOnError extends boolean = true>(options: Options<RestoreSnapshotData, ThrowOnError>): import("../../util/api/client/types.gen.ts").RequestResult<RestoreSnapshotResponses, RestoreSnapshotErrors, ThrowOnError, "fields">;
|
|
878
|
+
}
|
|
879
|
+
export {};
|
|
880
|
+
//# sourceMappingURL=sdk.gen.d.ts.map
|