pgbeam 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -39,6 +39,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
39
39
  method: "DELETE",
40
40
  path: "/v1/projects/{project_id}/agents/{agent_id}"
41
41
  },
42
+ rotateAgentCredential: {
43
+ method: "POST",
44
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
45
+ },
42
46
  listAuditLogs: {
43
47
  method: "GET",
44
48
  path: "/v1/projects/{project_id}/audit-logs"
@@ -292,6 +296,11 @@ const operationsByPath = {
292
296
  path: "/v1/projects/{project_id}/agents/{agent_id}",
293
297
  operationId: "revokeAgentCredential"
294
298
  },
299
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
300
+ method: "POST",
301
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
302
+ operationId: "rotateAgentCredential"
303
+ },
295
304
  "GET /v1/projects/{project_id}/anomalies": {
296
305
  method: "GET",
297
306
  path: "/v1/projects/{project_id}/anomalies",
package/dist/index.d.cts CHANGED
@@ -590,8 +590,8 @@ type AgentCredentialSecrets = {
590
590
  */
591
591
  connection_string: string;
592
592
  /**
593
- * @description Hosted MCP endpoint URL for this credential.
594
- * @example https://api.pgbeam.com/mcp
593
+ * @description Hosted agent-database MCP endpoint for this project, served by the edge proxy on the same per-project host the agent connects to over the wire. Paste into an MCP client (Claude Code, Cursor, …) with the mcp_token as a bearer token.
594
+ * @example https://abc.proxy.pgbeam.app/mcp
595
595
  * @type string
596
596
  */
597
597
  mcp_url: string;
@@ -981,6 +981,88 @@ type RevokeAgentCredentialResponses = {
981
981
  */
982
982
  type RevokeAgentCredentialResponse = (RevokeAgentCredentialStatus204 | RevokeAgentCredentialStatus400 | RevokeAgentCredentialStatus401 | RevokeAgentCredentialStatus403 | RevokeAgentCredentialStatus404);
983
983
 
984
+ /**
985
+ * Generated by Kubb (https://kubb.dev/).
986
+ * Do not edit manually.
987
+ */
988
+
989
+ /**
990
+ * @description Unique project identifier (prefixed, e.g. prj_xxx).
991
+ * @pattern ^[a-zA-Z0-9_.-]+$
992
+ * @type string
993
+ */
994
+ type RotateAgentCredentialPathProjectId = string;
995
+ /**
996
+ * @description Unique agent credential identifier (prefixed, e.g. agt_xxx).
997
+ * @pattern ^[a-zA-Z0-9_.-]+$
998
+ * @type string
999
+ */
1000
+ type RotateAgentCredentialPathAgentId = string;
1001
+ /**
1002
+ * @description One-time secrets returned only at creation. The connection string and MCP token are not retrievable again.
1003
+ * @type object
1004
+ */
1005
+ type RotateAgentCredentialStatus200 = AgentCredentialSecrets;
1006
+ /**
1007
+ * @description Standard error response envelope for PgBeam API requests.
1008
+ * @type object
1009
+ */
1010
+ type RotateAgentCredentialStatus400 = Error$1;
1011
+ /**
1012
+ * @description Standard error response envelope for PgBeam API requests.
1013
+ * @type object
1014
+ */
1015
+ type RotateAgentCredentialStatus401 = Error$1;
1016
+ /**
1017
+ * @description Standard error response envelope for PgBeam API requests.
1018
+ * @type object
1019
+ */
1020
+ type RotateAgentCredentialStatus403 = Error$1;
1021
+ /**
1022
+ * @description Standard error response envelope for PgBeam API requests.
1023
+ * @type object
1024
+ */
1025
+ type RotateAgentCredentialStatus404 = Error$1;
1026
+ /**
1027
+ * @description Standard error response envelope for PgBeam API requests.
1028
+ * @type object
1029
+ */
1030
+ type RotateAgentCredentialStatus409 = Error$1;
1031
+ /**
1032
+ * @type object
1033
+ */
1034
+ type RotateAgentCredentialRequestConfig = {
1035
+ data?: never;
1036
+ /**
1037
+ * @type object
1038
+ */
1039
+ pathParams: {
1040
+ project_id: RotateAgentCredentialPathProjectId;
1041
+ agent_id: RotateAgentCredentialPathAgentId;
1042
+ };
1043
+ queryParams?: never;
1044
+ headerParams?: never;
1045
+ /**
1046
+ * @type string
1047
+ */
1048
+ url: `/v1/projects/${string}/agents/${string}/rotate`;
1049
+ };
1050
+ /**
1051
+ * @type object
1052
+ */
1053
+ type RotateAgentCredentialResponses = {
1054
+ "200": RotateAgentCredentialStatus200;
1055
+ "400": RotateAgentCredentialStatus400;
1056
+ "401": RotateAgentCredentialStatus401;
1057
+ "403": RotateAgentCredentialStatus403;
1058
+ "404": RotateAgentCredentialStatus404;
1059
+ "409": RotateAgentCredentialStatus409;
1060
+ };
1061
+ /**
1062
+ * @description Union of all possible responses
1063
+ */
1064
+ type RotateAgentCredentialResponse = (RotateAgentCredentialStatus200 | RotateAgentCredentialStatus400 | RotateAgentCredentialStatus401 | RotateAgentCredentialStatus403 | RotateAgentCredentialStatus404 | RotateAgentCredentialStatus409);
1065
+
984
1066
  /**
985
1067
  * Generated by Kubb (https://kubb.dev/).
986
1068
  * Do not edit manually.
@@ -2486,35 +2568,10 @@ type DatabaseBranch = {
2486
2568
  */
2487
2569
  session_id?: string;
2488
2570
  /**
2489
- * @description Provider branch name.
2571
+ * @description Generated name for the branch.
2490
2572
  * @type string
2491
2573
  */
2492
2574
  branch_name: string;
2493
- /**
2494
- * @description Branch host.
2495
- * @type string | undefined
2496
- */
2497
- host?: string;
2498
- /**
2499
- * @description Branch port.
2500
- * @type integer | undefined
2501
- */
2502
- port?: number;
2503
- /**
2504
- * @description Branch database name.
2505
- * @type string | undefined
2506
- */
2507
- name?: string;
2508
- /**
2509
- * @description Branch username.
2510
- * @type string | undefined
2511
- */
2512
- username?: string;
2513
- /**
2514
- * @description Branch provider (e.g. internal, neon).
2515
- * @type string
2516
- */
2517
- provider: string;
2518
2575
  /**
2519
2576
  * @description Provisioning state of the branch.
2520
2577
  * @type string
@@ -5072,6 +5129,11 @@ type OnboardingProgress = {
5072
5129
  * @type boolean
5073
5130
  */
5074
5131
  first_query_run: boolean;
5132
+ /**
5133
+ * @description Whether an agent credential has been issued.
5134
+ * @type boolean
5135
+ */
5136
+ agent_credential_created: boolean;
5075
5137
  /**
5076
5138
  * @description Whether the user has dismissed the onboarding checklist.
5077
5139
  * @type boolean
@@ -5185,6 +5247,7 @@ declare const updateOnboardingRequestStepEnum: {
5185
5247
  readonly connection_tested: "connection_tested";
5186
5248
  readonly connection_string_copied: "connection_string_copied";
5187
5249
  readonly first_query_run: "first_query_run";
5250
+ readonly agent_credential_created: "agent_credential_created";
5188
5251
  };
5189
5252
  type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
5190
5253
  /**
@@ -8410,6 +8473,9 @@ type UpdateAgentCredentialStatusParams = {
8410
8473
  type RevokeAgentCredentialParams = {
8411
8474
  pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
8412
8475
  };
8476
+ type RotateAgentCredentialParams = {
8477
+ pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
8478
+ };
8413
8479
  type ListAnomalyAlertsParams = {
8414
8480
  pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
8415
8481
  queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
@@ -8599,6 +8665,7 @@ interface ApiOperations {
8599
8665
  getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
8600
8666
  updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
8601
8667
  revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
8668
+ rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
8602
8669
  listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
8603
8670
  };
8604
8671
  anomalies: {
@@ -8696,6 +8763,10 @@ interface RequestMap {
8696
8763
  params: RevokeAgentCredentialParams;
8697
8764
  response: void;
8698
8765
  };
8766
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
8767
+ params: RotateAgentCredentialParams;
8768
+ response: RotateAgentCredentialStatus200;
8769
+ };
8699
8770
  "GET /v1/projects/{project_id}/anomalies": {
8700
8771
  params: ListAnomalyAlertsParams;
8701
8772
  response: ListAnomalyAlertsStatus200;
@@ -9108,4 +9179,4 @@ type McpTransportResponses = {
9108
9179
  type McpTransportResponse = (McpTransportStatus200 | McpTransportStatus401 | McpTransportStatus429);
9109
9180
 
9110
9181
  export { ApiError, PgBeamClient, SSLMode, agentCredentialAuthMethodEnum, agentCredentialPrincipalTypeEnum, agentCredentialStatusEnum, anomalyAlertSeverityEnum, anomalyAlertStatusEnum, approvalRequestStatusEnum, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createAgentCredentialRequestPrincipalTypeEnum, createProjectRequestCloudEnum, databaseBranchStatusEnum, databaseRole, extractMessage, healthResponseStatusEnum, maskingRuleKindEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, migrationFindingSeverityEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, policyProfileAccessModeEnum, policyProfileApprovalModeEnum, policyProfileInputAccessModeEnum, policyProfileInputApprovalModeEnum, policyProfileInputMigrationSafetyEnum, policyProfileInputWriteModeEnum, policyProfileMigrationSafetyEnum, policyProfileWriteModeEnum, poolMode, projectCloudEnum, projectStatus, regionProviderEnum, regionStatusEnum, updateAgentCredentialStatusRequestStatusEnum, updateAnomalyAlertRequestStatusEnum, updateOnboardingRequestStepEnum, webhookEndpointFormatEnum, webhookEndpointInputFormatEnum };
9111
- export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditLogEntry, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RowFilter, SSLModeKey, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
9182
+ export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditLogEntry, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RotateAgentCredentialPathAgentId, RotateAgentCredentialPathProjectId, RotateAgentCredentialRequestConfig, RotateAgentCredentialResponse, RotateAgentCredentialResponses, RotateAgentCredentialStatus200, RotateAgentCredentialStatus400, RotateAgentCredentialStatus401, RotateAgentCredentialStatus403, RotateAgentCredentialStatus404, RotateAgentCredentialStatus409, RowFilter, SSLModeKey, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
package/dist/index.d.mts CHANGED
@@ -590,8 +590,8 @@ type AgentCredentialSecrets = {
590
590
  */
591
591
  connection_string: string;
592
592
  /**
593
- * @description Hosted MCP endpoint URL for this credential.
594
- * @example https://api.pgbeam.com/mcp
593
+ * @description Hosted agent-database MCP endpoint for this project, served by the edge proxy on the same per-project host the agent connects to over the wire. Paste into an MCP client (Claude Code, Cursor, …) with the mcp_token as a bearer token.
594
+ * @example https://abc.proxy.pgbeam.app/mcp
595
595
  * @type string
596
596
  */
597
597
  mcp_url: string;
@@ -981,6 +981,88 @@ type RevokeAgentCredentialResponses = {
981
981
  */
982
982
  type RevokeAgentCredentialResponse = (RevokeAgentCredentialStatus204 | RevokeAgentCredentialStatus400 | RevokeAgentCredentialStatus401 | RevokeAgentCredentialStatus403 | RevokeAgentCredentialStatus404);
983
983
 
984
+ /**
985
+ * Generated by Kubb (https://kubb.dev/).
986
+ * Do not edit manually.
987
+ */
988
+
989
+ /**
990
+ * @description Unique project identifier (prefixed, e.g. prj_xxx).
991
+ * @pattern ^[a-zA-Z0-9_.-]+$
992
+ * @type string
993
+ */
994
+ type RotateAgentCredentialPathProjectId = string;
995
+ /**
996
+ * @description Unique agent credential identifier (prefixed, e.g. agt_xxx).
997
+ * @pattern ^[a-zA-Z0-9_.-]+$
998
+ * @type string
999
+ */
1000
+ type RotateAgentCredentialPathAgentId = string;
1001
+ /**
1002
+ * @description One-time secrets returned only at creation. The connection string and MCP token are not retrievable again.
1003
+ * @type object
1004
+ */
1005
+ type RotateAgentCredentialStatus200 = AgentCredentialSecrets;
1006
+ /**
1007
+ * @description Standard error response envelope for PgBeam API requests.
1008
+ * @type object
1009
+ */
1010
+ type RotateAgentCredentialStatus400 = Error$1;
1011
+ /**
1012
+ * @description Standard error response envelope for PgBeam API requests.
1013
+ * @type object
1014
+ */
1015
+ type RotateAgentCredentialStatus401 = Error$1;
1016
+ /**
1017
+ * @description Standard error response envelope for PgBeam API requests.
1018
+ * @type object
1019
+ */
1020
+ type RotateAgentCredentialStatus403 = Error$1;
1021
+ /**
1022
+ * @description Standard error response envelope for PgBeam API requests.
1023
+ * @type object
1024
+ */
1025
+ type RotateAgentCredentialStatus404 = Error$1;
1026
+ /**
1027
+ * @description Standard error response envelope for PgBeam API requests.
1028
+ * @type object
1029
+ */
1030
+ type RotateAgentCredentialStatus409 = Error$1;
1031
+ /**
1032
+ * @type object
1033
+ */
1034
+ type RotateAgentCredentialRequestConfig = {
1035
+ data?: never;
1036
+ /**
1037
+ * @type object
1038
+ */
1039
+ pathParams: {
1040
+ project_id: RotateAgentCredentialPathProjectId;
1041
+ agent_id: RotateAgentCredentialPathAgentId;
1042
+ };
1043
+ queryParams?: never;
1044
+ headerParams?: never;
1045
+ /**
1046
+ * @type string
1047
+ */
1048
+ url: `/v1/projects/${string}/agents/${string}/rotate`;
1049
+ };
1050
+ /**
1051
+ * @type object
1052
+ */
1053
+ type RotateAgentCredentialResponses = {
1054
+ "200": RotateAgentCredentialStatus200;
1055
+ "400": RotateAgentCredentialStatus400;
1056
+ "401": RotateAgentCredentialStatus401;
1057
+ "403": RotateAgentCredentialStatus403;
1058
+ "404": RotateAgentCredentialStatus404;
1059
+ "409": RotateAgentCredentialStatus409;
1060
+ };
1061
+ /**
1062
+ * @description Union of all possible responses
1063
+ */
1064
+ type RotateAgentCredentialResponse = (RotateAgentCredentialStatus200 | RotateAgentCredentialStatus400 | RotateAgentCredentialStatus401 | RotateAgentCredentialStatus403 | RotateAgentCredentialStatus404 | RotateAgentCredentialStatus409);
1065
+
984
1066
  /**
985
1067
  * Generated by Kubb (https://kubb.dev/).
986
1068
  * Do not edit manually.
@@ -2486,35 +2568,10 @@ type DatabaseBranch = {
2486
2568
  */
2487
2569
  session_id?: string;
2488
2570
  /**
2489
- * @description Provider branch name.
2571
+ * @description Generated name for the branch.
2490
2572
  * @type string
2491
2573
  */
2492
2574
  branch_name: string;
2493
- /**
2494
- * @description Branch host.
2495
- * @type string | undefined
2496
- */
2497
- host?: string;
2498
- /**
2499
- * @description Branch port.
2500
- * @type integer | undefined
2501
- */
2502
- port?: number;
2503
- /**
2504
- * @description Branch database name.
2505
- * @type string | undefined
2506
- */
2507
- name?: string;
2508
- /**
2509
- * @description Branch username.
2510
- * @type string | undefined
2511
- */
2512
- username?: string;
2513
- /**
2514
- * @description Branch provider (e.g. internal, neon).
2515
- * @type string
2516
- */
2517
- provider: string;
2518
2575
  /**
2519
2576
  * @description Provisioning state of the branch.
2520
2577
  * @type string
@@ -5072,6 +5129,11 @@ type OnboardingProgress = {
5072
5129
  * @type boolean
5073
5130
  */
5074
5131
  first_query_run: boolean;
5132
+ /**
5133
+ * @description Whether an agent credential has been issued.
5134
+ * @type boolean
5135
+ */
5136
+ agent_credential_created: boolean;
5075
5137
  /**
5076
5138
  * @description Whether the user has dismissed the onboarding checklist.
5077
5139
  * @type boolean
@@ -5185,6 +5247,7 @@ declare const updateOnboardingRequestStepEnum: {
5185
5247
  readonly connection_tested: "connection_tested";
5186
5248
  readonly connection_string_copied: "connection_string_copied";
5187
5249
  readonly first_query_run: "first_query_run";
5250
+ readonly agent_credential_created: "agent_credential_created";
5188
5251
  };
5189
5252
  type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
5190
5253
  /**
@@ -8410,6 +8473,9 @@ type UpdateAgentCredentialStatusParams = {
8410
8473
  type RevokeAgentCredentialParams = {
8411
8474
  pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
8412
8475
  };
8476
+ type RotateAgentCredentialParams = {
8477
+ pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
8478
+ };
8413
8479
  type ListAnomalyAlertsParams = {
8414
8480
  pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
8415
8481
  queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
@@ -8599,6 +8665,7 @@ interface ApiOperations {
8599
8665
  getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
8600
8666
  updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
8601
8667
  revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
8668
+ rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
8602
8669
  listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
8603
8670
  };
8604
8671
  anomalies: {
@@ -8696,6 +8763,10 @@ interface RequestMap {
8696
8763
  params: RevokeAgentCredentialParams;
8697
8764
  response: void;
8698
8765
  };
8766
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
8767
+ params: RotateAgentCredentialParams;
8768
+ response: RotateAgentCredentialStatus200;
8769
+ };
8699
8770
  "GET /v1/projects/{project_id}/anomalies": {
8700
8771
  params: ListAnomalyAlertsParams;
8701
8772
  response: ListAnomalyAlertsStatus200;
@@ -9108,4 +9179,4 @@ type McpTransportResponses = {
9108
9179
  type McpTransportResponse = (McpTransportStatus200 | McpTransportStatus401 | McpTransportStatus429);
9109
9180
 
9110
9181
  export { ApiError, PgBeamClient, SSLMode, agentCredentialAuthMethodEnum, agentCredentialPrincipalTypeEnum, agentCredentialStatusEnum, anomalyAlertSeverityEnum, anomalyAlertStatusEnum, approvalRequestStatusEnum, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createAgentCredentialRequestPrincipalTypeEnum, createProjectRequestCloudEnum, databaseBranchStatusEnum, databaseRole, extractMessage, healthResponseStatusEnum, maskingRuleKindEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, migrationFindingSeverityEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, policyProfileAccessModeEnum, policyProfileApprovalModeEnum, policyProfileInputAccessModeEnum, policyProfileInputApprovalModeEnum, policyProfileInputMigrationSafetyEnum, policyProfileInputWriteModeEnum, policyProfileMigrationSafetyEnum, policyProfileWriteModeEnum, poolMode, projectCloudEnum, projectStatus, regionProviderEnum, regionStatusEnum, updateAgentCredentialStatusRequestStatusEnum, updateAnomalyAlertRequestStatusEnum, updateOnboardingRequestStepEnum, webhookEndpointFormatEnum, webhookEndpointInputFormatEnum };
9111
- export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditLogEntry, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RowFilter, SSLModeKey, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
9182
+ export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditLogEntry, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RotateAgentCredentialPathAgentId, RotateAgentCredentialPathProjectId, RotateAgentCredentialRequestConfig, RotateAgentCredentialResponse, RotateAgentCredentialResponses, RotateAgentCredentialStatus200, RotateAgentCredentialStatus400, RotateAgentCredentialStatus401, RotateAgentCredentialStatus403, RotateAgentCredentialStatus404, RotateAgentCredentialStatus409, RowFilter, SSLModeKey, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
package/dist/index.mjs CHANGED
@@ -37,6 +37,10 @@
37
37
  method: "DELETE",
38
38
  path: "/v1/projects/{project_id}/agents/{agent_id}"
39
39
  },
40
+ rotateAgentCredential: {
41
+ method: "POST",
42
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
43
+ },
40
44
  listAuditLogs: {
41
45
  method: "GET",
42
46
  path: "/v1/projects/{project_id}/audit-logs"
@@ -290,6 +294,11 @@ const operationsByPath = {
290
294
  path: "/v1/projects/{project_id}/agents/{agent_id}",
291
295
  operationId: "revokeAgentCredential"
292
296
  },
297
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
298
+ method: "POST",
299
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
300
+ operationId: "rotateAgentCredential"
301
+ },
293
302
  "GET /v1/projects/{project_id}/anomalies": {
294
303
  method: "GET",
295
304
  path: "/v1/projects/{project_id}/anomalies",
@@ -39,6 +39,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
39
39
  method: "DELETE",
40
40
  path: "/v1/projects/{project_id}/agents/{agent_id}"
41
41
  },
42
+ rotateAgentCredential: {
43
+ method: "POST",
44
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
45
+ },
42
46
  listAuditLogs: {
43
47
  method: "GET",
44
48
  path: "/v1/projects/{project_id}/audit-logs"
@@ -292,6 +296,11 @@ const operationsByPath = {
292
296
  path: "/v1/projects/{project_id}/agents/{agent_id}",
293
297
  operationId: "revokeAgentCredential"
294
298
  },
299
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
300
+ method: "POST",
301
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
302
+ operationId: "rotateAgentCredential"
303
+ },
295
304
  "GET /v1/projects/{project_id}/anomalies": {
296
305
  method: "GET",
297
306
  path: "/v1/projects/{project_id}/anomalies",
@@ -486,8 +486,8 @@ type AgentCredentialSecrets = {
486
486
  */
487
487
  connection_string: string;
488
488
  /**
489
- * @description Hosted MCP endpoint URL for this credential.
490
- * @example https://api.pgbeam.com/mcp
489
+ * @description Hosted agent-database MCP endpoint for this project, served by the edge proxy on the same per-project host the agent connects to over the wire. Paste into an MCP client (Claude Code, Cursor, …) with the mcp_token as a bearer token.
490
+ * @example https://abc.proxy.pgbeam.app/mcp
491
491
  * @type string
492
492
  */
493
493
  mcp_url: string;
@@ -725,6 +725,48 @@ type RevokeAgentCredentialRequestConfig = {
725
725
  url: `/v1/projects/${string}/agents/${string}`;
726
726
  };
727
727
 
728
+ /**
729
+ * Generated by Kubb (https://kubb.dev/).
730
+ * Do not edit manually.
731
+ */
732
+
733
+ /**
734
+ * @description Unique project identifier (prefixed, e.g. prj_xxx).
735
+ * @pattern ^[a-zA-Z0-9_.-]+$
736
+ * @type string
737
+ */
738
+ type RotateAgentCredentialPathProjectId = string;
739
+ /**
740
+ * @description Unique agent credential identifier (prefixed, e.g. agt_xxx).
741
+ * @pattern ^[a-zA-Z0-9_.-]+$
742
+ * @type string
743
+ */
744
+ type RotateAgentCredentialPathAgentId = string;
745
+ /**
746
+ * @description One-time secrets returned only at creation. The connection string and MCP token are not retrievable again.
747
+ * @type object
748
+ */
749
+ type RotateAgentCredentialStatus200 = AgentCredentialSecrets;
750
+ /**
751
+ * @type object
752
+ */
753
+ type RotateAgentCredentialRequestConfig = {
754
+ data?: never;
755
+ /**
756
+ * @type object
757
+ */
758
+ pathParams: {
759
+ project_id: RotateAgentCredentialPathProjectId;
760
+ agent_id: RotateAgentCredentialPathAgentId;
761
+ };
762
+ queryParams?: never;
763
+ headerParams?: never;
764
+ /**
765
+ * @type string
766
+ */
767
+ url: `/v1/projects/${string}/agents/${string}/rotate`;
768
+ };
769
+
728
770
  /**
729
771
  * Generated by Kubb (https://kubb.dev/).
730
772
  * Do not edit manually.
@@ -1871,35 +1913,10 @@ type DatabaseBranch = {
1871
1913
  */
1872
1914
  session_id?: string;
1873
1915
  /**
1874
- * @description Provider branch name.
1916
+ * @description Generated name for the branch.
1875
1917
  * @type string
1876
1918
  */
1877
1919
  branch_name: string;
1878
- /**
1879
- * @description Branch host.
1880
- * @type string | undefined
1881
- */
1882
- host?: string;
1883
- /**
1884
- * @description Branch port.
1885
- * @type integer | undefined
1886
- */
1887
- port?: number;
1888
- /**
1889
- * @description Branch database name.
1890
- * @type string | undefined
1891
- */
1892
- name?: string;
1893
- /**
1894
- * @description Branch username.
1895
- * @type string | undefined
1896
- */
1897
- username?: string;
1898
- /**
1899
- * @description Branch provider (e.g. internal, neon).
1900
- * @type string
1901
- */
1902
- provider: string;
1903
1920
  /**
1904
1921
  * @description Provisioning state of the branch.
1905
1922
  * @type string
@@ -3812,6 +3829,11 @@ type OnboardingProgress = {
3812
3829
  * @type boolean
3813
3830
  */
3814
3831
  first_query_run: boolean;
3832
+ /**
3833
+ * @description Whether an agent credential has been issued.
3834
+ * @type boolean
3835
+ */
3836
+ agent_credential_created: boolean;
3815
3837
  /**
3816
3838
  * @description Whether the user has dismissed the onboarding checklist.
3817
3839
  * @type boolean
@@ -3885,6 +3907,7 @@ declare const updateOnboardingRequestStepEnum: {
3885
3907
  readonly connection_tested: "connection_tested";
3886
3908
  readonly connection_string_copied: "connection_string_copied";
3887
3909
  readonly first_query_run: "first_query_run";
3910
+ readonly agent_credential_created: "agent_credential_created";
3888
3911
  };
3889
3912
  type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
3890
3913
  /**
@@ -6229,6 +6252,10 @@ declare const operationsByTag: {
6229
6252
  readonly method: "DELETE";
6230
6253
  readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
6231
6254
  };
6255
+ readonly rotateAgentCredential: {
6256
+ readonly method: "POST";
6257
+ readonly path: "/v1/projects/{project_id}/agents/{agent_id}/rotate";
6258
+ };
6232
6259
  readonly listAuditLogs: {
6233
6260
  readonly method: "GET";
6234
6261
  readonly path: "/v1/projects/{project_id}/audit-logs";
@@ -6482,6 +6509,11 @@ declare const operationsByPath: {
6482
6509
  readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
6483
6510
  readonly operationId: "revokeAgentCredential";
6484
6511
  };
6512
+ readonly "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
6513
+ readonly method: "POST";
6514
+ readonly path: "/v1/projects/{project_id}/agents/{agent_id}/rotate";
6515
+ readonly operationId: "rotateAgentCredential";
6516
+ };
6485
6517
  readonly "GET /v1/projects/{project_id}/anomalies": {
6486
6518
  readonly method: "GET";
6487
6519
  readonly path: "/v1/projects/{project_id}/anomalies";
@@ -6761,6 +6793,9 @@ type UpdateAgentCredentialStatusParams = {
6761
6793
  type RevokeAgentCredentialParams = {
6762
6794
  pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
6763
6795
  };
6796
+ type RotateAgentCredentialParams = {
6797
+ pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
6798
+ };
6764
6799
  type ListAnomalyAlertsParams = {
6765
6800
  pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
6766
6801
  queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
@@ -6950,6 +6985,7 @@ interface ApiOperations {
6950
6985
  getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
6951
6986
  updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
6952
6987
  revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
6988
+ rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
6953
6989
  listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
6954
6990
  };
6955
6991
  anomalies: {
@@ -7047,6 +7083,10 @@ interface RequestMap {
7047
7083
  params: RevokeAgentCredentialParams;
7048
7084
  response: void;
7049
7085
  };
7086
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
7087
+ params: RotateAgentCredentialParams;
7088
+ response: RotateAgentCredentialStatus200;
7089
+ };
7050
7090
  "GET /v1/projects/{project_id}/anomalies": {
7051
7091
  params: ListAnomalyAlertsParams;
7052
7092
  response: ListAnomalyAlertsStatus200;
@@ -486,8 +486,8 @@ type AgentCredentialSecrets = {
486
486
  */
487
487
  connection_string: string;
488
488
  /**
489
- * @description Hosted MCP endpoint URL for this credential.
490
- * @example https://api.pgbeam.com/mcp
489
+ * @description Hosted agent-database MCP endpoint for this project, served by the edge proxy on the same per-project host the agent connects to over the wire. Paste into an MCP client (Claude Code, Cursor, …) with the mcp_token as a bearer token.
490
+ * @example https://abc.proxy.pgbeam.app/mcp
491
491
  * @type string
492
492
  */
493
493
  mcp_url: string;
@@ -725,6 +725,48 @@ type RevokeAgentCredentialRequestConfig = {
725
725
  url: `/v1/projects/${string}/agents/${string}`;
726
726
  };
727
727
 
728
+ /**
729
+ * Generated by Kubb (https://kubb.dev/).
730
+ * Do not edit manually.
731
+ */
732
+
733
+ /**
734
+ * @description Unique project identifier (prefixed, e.g. prj_xxx).
735
+ * @pattern ^[a-zA-Z0-9_.-]+$
736
+ * @type string
737
+ */
738
+ type RotateAgentCredentialPathProjectId = string;
739
+ /**
740
+ * @description Unique agent credential identifier (prefixed, e.g. agt_xxx).
741
+ * @pattern ^[a-zA-Z0-9_.-]+$
742
+ * @type string
743
+ */
744
+ type RotateAgentCredentialPathAgentId = string;
745
+ /**
746
+ * @description One-time secrets returned only at creation. The connection string and MCP token are not retrievable again.
747
+ * @type object
748
+ */
749
+ type RotateAgentCredentialStatus200 = AgentCredentialSecrets;
750
+ /**
751
+ * @type object
752
+ */
753
+ type RotateAgentCredentialRequestConfig = {
754
+ data?: never;
755
+ /**
756
+ * @type object
757
+ */
758
+ pathParams: {
759
+ project_id: RotateAgentCredentialPathProjectId;
760
+ agent_id: RotateAgentCredentialPathAgentId;
761
+ };
762
+ queryParams?: never;
763
+ headerParams?: never;
764
+ /**
765
+ * @type string
766
+ */
767
+ url: `/v1/projects/${string}/agents/${string}/rotate`;
768
+ };
769
+
728
770
  /**
729
771
  * Generated by Kubb (https://kubb.dev/).
730
772
  * Do not edit manually.
@@ -1871,35 +1913,10 @@ type DatabaseBranch = {
1871
1913
  */
1872
1914
  session_id?: string;
1873
1915
  /**
1874
- * @description Provider branch name.
1916
+ * @description Generated name for the branch.
1875
1917
  * @type string
1876
1918
  */
1877
1919
  branch_name: string;
1878
- /**
1879
- * @description Branch host.
1880
- * @type string | undefined
1881
- */
1882
- host?: string;
1883
- /**
1884
- * @description Branch port.
1885
- * @type integer | undefined
1886
- */
1887
- port?: number;
1888
- /**
1889
- * @description Branch database name.
1890
- * @type string | undefined
1891
- */
1892
- name?: string;
1893
- /**
1894
- * @description Branch username.
1895
- * @type string | undefined
1896
- */
1897
- username?: string;
1898
- /**
1899
- * @description Branch provider (e.g. internal, neon).
1900
- * @type string
1901
- */
1902
- provider: string;
1903
1920
  /**
1904
1921
  * @description Provisioning state of the branch.
1905
1922
  * @type string
@@ -3812,6 +3829,11 @@ type OnboardingProgress = {
3812
3829
  * @type boolean
3813
3830
  */
3814
3831
  first_query_run: boolean;
3832
+ /**
3833
+ * @description Whether an agent credential has been issued.
3834
+ * @type boolean
3835
+ */
3836
+ agent_credential_created: boolean;
3815
3837
  /**
3816
3838
  * @description Whether the user has dismissed the onboarding checklist.
3817
3839
  * @type boolean
@@ -3885,6 +3907,7 @@ declare const updateOnboardingRequestStepEnum: {
3885
3907
  readonly connection_tested: "connection_tested";
3886
3908
  readonly connection_string_copied: "connection_string_copied";
3887
3909
  readonly first_query_run: "first_query_run";
3910
+ readonly agent_credential_created: "agent_credential_created";
3888
3911
  };
3889
3912
  type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
3890
3913
  /**
@@ -6229,6 +6252,10 @@ declare const operationsByTag: {
6229
6252
  readonly method: "DELETE";
6230
6253
  readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
6231
6254
  };
6255
+ readonly rotateAgentCredential: {
6256
+ readonly method: "POST";
6257
+ readonly path: "/v1/projects/{project_id}/agents/{agent_id}/rotate";
6258
+ };
6232
6259
  readonly listAuditLogs: {
6233
6260
  readonly method: "GET";
6234
6261
  readonly path: "/v1/projects/{project_id}/audit-logs";
@@ -6482,6 +6509,11 @@ declare const operationsByPath: {
6482
6509
  readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
6483
6510
  readonly operationId: "revokeAgentCredential";
6484
6511
  };
6512
+ readonly "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
6513
+ readonly method: "POST";
6514
+ readonly path: "/v1/projects/{project_id}/agents/{agent_id}/rotate";
6515
+ readonly operationId: "rotateAgentCredential";
6516
+ };
6485
6517
  readonly "GET /v1/projects/{project_id}/anomalies": {
6486
6518
  readonly method: "GET";
6487
6519
  readonly path: "/v1/projects/{project_id}/anomalies";
@@ -6761,6 +6793,9 @@ type UpdateAgentCredentialStatusParams = {
6761
6793
  type RevokeAgentCredentialParams = {
6762
6794
  pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
6763
6795
  };
6796
+ type RotateAgentCredentialParams = {
6797
+ pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
6798
+ };
6764
6799
  type ListAnomalyAlertsParams = {
6765
6800
  pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
6766
6801
  queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
@@ -6950,6 +6985,7 @@ interface ApiOperations {
6950
6985
  getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
6951
6986
  updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
6952
6987
  revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
6988
+ rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
6953
6989
  listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
6954
6990
  };
6955
6991
  anomalies: {
@@ -7047,6 +7083,10 @@ interface RequestMap {
7047
7083
  params: RevokeAgentCredentialParams;
7048
7084
  response: void;
7049
7085
  };
7086
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
7087
+ params: RotateAgentCredentialParams;
7088
+ response: RotateAgentCredentialStatus200;
7089
+ };
7050
7090
  "GET /v1/projects/{project_id}/anomalies": {
7051
7091
  params: ListAnomalyAlertsParams;
7052
7092
  response: ListAnomalyAlertsStatus200;
@@ -37,6 +37,10 @@
37
37
  method: "DELETE",
38
38
  path: "/v1/projects/{project_id}/agents/{agent_id}"
39
39
  },
40
+ rotateAgentCredential: {
41
+ method: "POST",
42
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
43
+ },
40
44
  listAuditLogs: {
41
45
  method: "GET",
42
46
  path: "/v1/projects/{project_id}/audit-logs"
@@ -290,6 +294,11 @@ const operationsByPath = {
290
294
  path: "/v1/projects/{project_id}/agents/{agent_id}",
291
295
  operationId: "revokeAgentCredential"
292
296
  },
297
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
298
+ method: "POST",
299
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
300
+ operationId: "rotateAgentCredential"
301
+ },
293
302
  "GET /v1/projects/{project_id}/anomalies": {
294
303
  method: "GET",
295
304
  path: "/v1/projects/{project_id}/anomalies",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgbeam",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "TypeScript SDK for the PgBeam API — globally distributed PostgreSQL proxy platform",
5
5
  "type": "module",
6
6
  "exports": {