pgbeam 0.2.9 → 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 +9 -0
- package/dist/index.d.cts +112 -31
- package/dist/index.d.mts +112 -31
- package/dist/index.mjs +9 -0
- package/dist/operations.cjs +9 -0
- package/dist/operations.d.cts +80 -30
- package/dist/operations.d.mts +80 -30
- package/dist/operations.mjs +9 -0
- package/package.json +1 -1
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
|
@@ -438,6 +438,11 @@ type AgentCredential = {
|
|
|
438
438
|
* @type string
|
|
439
439
|
*/
|
|
440
440
|
last_used_at?: string | null;
|
|
441
|
+
/**
|
|
442
|
+
* @description When the credential expires and becomes unusable. Null means it never expires. Enforcement is fail-closed in the proxy the instant this time passes, before any cleanup sweep runs.
|
|
443
|
+
* @type string
|
|
444
|
+
*/
|
|
445
|
+
expires_at?: string | null;
|
|
441
446
|
/**
|
|
442
447
|
* @description When the credential was created.
|
|
443
448
|
* @type string
|
|
@@ -585,8 +590,8 @@ type AgentCredentialSecrets = {
|
|
|
585
590
|
*/
|
|
586
591
|
connection_string: string;
|
|
587
592
|
/**
|
|
588
|
-
* @description Hosted MCP endpoint
|
|
589
|
-
* @example https://
|
|
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
|
|
590
595
|
* @type string
|
|
591
596
|
*/
|
|
592
597
|
mcp_url: string;
|
|
@@ -630,6 +635,11 @@ type CreateAgentCredentialRequest = {
|
|
|
630
635
|
* @type string | undefined
|
|
631
636
|
*/
|
|
632
637
|
principal_type?: CreateAgentCredentialRequestPrincipalTypeEnumKey;
|
|
638
|
+
/**
|
|
639
|
+
* @description Optional expiry. When set, the credential becomes unusable at this time (must be in the future). Omit or set null for a credential that never expires.
|
|
640
|
+
* @type string
|
|
641
|
+
*/
|
|
642
|
+
expires_at?: string | null;
|
|
633
643
|
};
|
|
634
644
|
|
|
635
645
|
/**
|
|
@@ -971,6 +981,88 @@ type RevokeAgentCredentialResponses = {
|
|
|
971
981
|
*/
|
|
972
982
|
type RevokeAgentCredentialResponse = (RevokeAgentCredentialStatus204 | RevokeAgentCredentialStatus400 | RevokeAgentCredentialStatus401 | RevokeAgentCredentialStatus403 | RevokeAgentCredentialStatus404);
|
|
973
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
|
+
|
|
974
1066
|
/**
|
|
975
1067
|
* Generated by Kubb (https://kubb.dev/).
|
|
976
1068
|
* Do not edit manually.
|
|
@@ -1720,7 +1812,7 @@ type AuditLogEntry = {
|
|
|
1720
1812
|
*/
|
|
1721
1813
|
region?: string;
|
|
1722
1814
|
/**
|
|
1723
|
-
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed).
|
|
1815
|
+
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed, credential_expired).
|
|
1724
1816
|
* @type string
|
|
1725
1817
|
*/
|
|
1726
1818
|
event: string;
|
|
@@ -1785,7 +1877,7 @@ type AuditLogEntry = {
|
|
|
1785
1877
|
*/
|
|
1786
1878
|
session_id?: string;
|
|
1787
1879
|
/**
|
|
1788
|
-
* @description Statement origin (wire or
|
|
1880
|
+
* @description Statement origin (wire, mcp, or control for control-plane lifecycle events).
|
|
1789
1881
|
* @type string | undefined
|
|
1790
1882
|
*/
|
|
1791
1883
|
source?: string;
|
|
@@ -2476,35 +2568,10 @@ type DatabaseBranch = {
|
|
|
2476
2568
|
*/
|
|
2477
2569
|
session_id?: string;
|
|
2478
2570
|
/**
|
|
2479
|
-
* @description
|
|
2571
|
+
* @description Generated name for the branch.
|
|
2480
2572
|
* @type string
|
|
2481
2573
|
*/
|
|
2482
2574
|
branch_name: string;
|
|
2483
|
-
/**
|
|
2484
|
-
* @description Branch host.
|
|
2485
|
-
* @type string | undefined
|
|
2486
|
-
*/
|
|
2487
|
-
host?: string;
|
|
2488
|
-
/**
|
|
2489
|
-
* @description Branch port.
|
|
2490
|
-
* @type integer | undefined
|
|
2491
|
-
*/
|
|
2492
|
-
port?: number;
|
|
2493
|
-
/**
|
|
2494
|
-
* @description Branch database name.
|
|
2495
|
-
* @type string | undefined
|
|
2496
|
-
*/
|
|
2497
|
-
name?: string;
|
|
2498
|
-
/**
|
|
2499
|
-
* @description Branch username.
|
|
2500
|
-
* @type string | undefined
|
|
2501
|
-
*/
|
|
2502
|
-
username?: string;
|
|
2503
|
-
/**
|
|
2504
|
-
* @description Branch provider (e.g. internal, neon).
|
|
2505
|
-
* @type string
|
|
2506
|
-
*/
|
|
2507
|
-
provider: string;
|
|
2508
2575
|
/**
|
|
2509
2576
|
* @description Provisioning state of the branch.
|
|
2510
2577
|
* @type string
|
|
@@ -5062,6 +5129,11 @@ type OnboardingProgress = {
|
|
|
5062
5129
|
* @type boolean
|
|
5063
5130
|
*/
|
|
5064
5131
|
first_query_run: boolean;
|
|
5132
|
+
/**
|
|
5133
|
+
* @description Whether an agent credential has been issued.
|
|
5134
|
+
* @type boolean
|
|
5135
|
+
*/
|
|
5136
|
+
agent_credential_created: boolean;
|
|
5065
5137
|
/**
|
|
5066
5138
|
* @description Whether the user has dismissed the onboarding checklist.
|
|
5067
5139
|
* @type boolean
|
|
@@ -5175,6 +5247,7 @@ declare const updateOnboardingRequestStepEnum: {
|
|
|
5175
5247
|
readonly connection_tested: "connection_tested";
|
|
5176
5248
|
readonly connection_string_copied: "connection_string_copied";
|
|
5177
5249
|
readonly first_query_run: "first_query_run";
|
|
5250
|
+
readonly agent_credential_created: "agent_credential_created";
|
|
5178
5251
|
};
|
|
5179
5252
|
type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
|
|
5180
5253
|
/**
|
|
@@ -8400,6 +8473,9 @@ type UpdateAgentCredentialStatusParams = {
|
|
|
8400
8473
|
type RevokeAgentCredentialParams = {
|
|
8401
8474
|
pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
|
|
8402
8475
|
};
|
|
8476
|
+
type RotateAgentCredentialParams = {
|
|
8477
|
+
pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
|
|
8478
|
+
};
|
|
8403
8479
|
type ListAnomalyAlertsParams = {
|
|
8404
8480
|
pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
|
|
8405
8481
|
queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
|
|
@@ -8589,6 +8665,7 @@ interface ApiOperations {
|
|
|
8589
8665
|
getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
|
|
8590
8666
|
updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
|
|
8591
8667
|
revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
|
|
8668
|
+
rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
|
|
8592
8669
|
listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
|
|
8593
8670
|
};
|
|
8594
8671
|
anomalies: {
|
|
@@ -8686,6 +8763,10 @@ interface RequestMap {
|
|
|
8686
8763
|
params: RevokeAgentCredentialParams;
|
|
8687
8764
|
response: void;
|
|
8688
8765
|
};
|
|
8766
|
+
"POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
|
|
8767
|
+
params: RotateAgentCredentialParams;
|
|
8768
|
+
response: RotateAgentCredentialStatus200;
|
|
8769
|
+
};
|
|
8689
8770
|
"GET /v1/projects/{project_id}/anomalies": {
|
|
8690
8771
|
params: ListAnomalyAlertsParams;
|
|
8691
8772
|
response: ListAnomalyAlertsStatus200;
|
|
@@ -9098,4 +9179,4 @@ type McpTransportResponses = {
|
|
|
9098
9179
|
type McpTransportResponse = (McpTransportStatus200 | McpTransportStatus401 | McpTransportStatus429);
|
|
9099
9180
|
|
|
9100
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 };
|
|
9101
|
-
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
|
@@ -438,6 +438,11 @@ type AgentCredential = {
|
|
|
438
438
|
* @type string
|
|
439
439
|
*/
|
|
440
440
|
last_used_at?: string | null;
|
|
441
|
+
/**
|
|
442
|
+
* @description When the credential expires and becomes unusable. Null means it never expires. Enforcement is fail-closed in the proxy the instant this time passes, before any cleanup sweep runs.
|
|
443
|
+
* @type string
|
|
444
|
+
*/
|
|
445
|
+
expires_at?: string | null;
|
|
441
446
|
/**
|
|
442
447
|
* @description When the credential was created.
|
|
443
448
|
* @type string
|
|
@@ -585,8 +590,8 @@ type AgentCredentialSecrets = {
|
|
|
585
590
|
*/
|
|
586
591
|
connection_string: string;
|
|
587
592
|
/**
|
|
588
|
-
* @description Hosted MCP endpoint
|
|
589
|
-
* @example https://
|
|
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
|
|
590
595
|
* @type string
|
|
591
596
|
*/
|
|
592
597
|
mcp_url: string;
|
|
@@ -630,6 +635,11 @@ type CreateAgentCredentialRequest = {
|
|
|
630
635
|
* @type string | undefined
|
|
631
636
|
*/
|
|
632
637
|
principal_type?: CreateAgentCredentialRequestPrincipalTypeEnumKey;
|
|
638
|
+
/**
|
|
639
|
+
* @description Optional expiry. When set, the credential becomes unusable at this time (must be in the future). Omit or set null for a credential that never expires.
|
|
640
|
+
* @type string
|
|
641
|
+
*/
|
|
642
|
+
expires_at?: string | null;
|
|
633
643
|
};
|
|
634
644
|
|
|
635
645
|
/**
|
|
@@ -971,6 +981,88 @@ type RevokeAgentCredentialResponses = {
|
|
|
971
981
|
*/
|
|
972
982
|
type RevokeAgentCredentialResponse = (RevokeAgentCredentialStatus204 | RevokeAgentCredentialStatus400 | RevokeAgentCredentialStatus401 | RevokeAgentCredentialStatus403 | RevokeAgentCredentialStatus404);
|
|
973
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
|
+
|
|
974
1066
|
/**
|
|
975
1067
|
* Generated by Kubb (https://kubb.dev/).
|
|
976
1068
|
* Do not edit manually.
|
|
@@ -1720,7 +1812,7 @@ type AuditLogEntry = {
|
|
|
1720
1812
|
*/
|
|
1721
1813
|
region?: string;
|
|
1722
1814
|
/**
|
|
1723
|
-
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed).
|
|
1815
|
+
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed, credential_expired).
|
|
1724
1816
|
* @type string
|
|
1725
1817
|
*/
|
|
1726
1818
|
event: string;
|
|
@@ -1785,7 +1877,7 @@ type AuditLogEntry = {
|
|
|
1785
1877
|
*/
|
|
1786
1878
|
session_id?: string;
|
|
1787
1879
|
/**
|
|
1788
|
-
* @description Statement origin (wire or
|
|
1880
|
+
* @description Statement origin (wire, mcp, or control for control-plane lifecycle events).
|
|
1789
1881
|
* @type string | undefined
|
|
1790
1882
|
*/
|
|
1791
1883
|
source?: string;
|
|
@@ -2476,35 +2568,10 @@ type DatabaseBranch = {
|
|
|
2476
2568
|
*/
|
|
2477
2569
|
session_id?: string;
|
|
2478
2570
|
/**
|
|
2479
|
-
* @description
|
|
2571
|
+
* @description Generated name for the branch.
|
|
2480
2572
|
* @type string
|
|
2481
2573
|
*/
|
|
2482
2574
|
branch_name: string;
|
|
2483
|
-
/**
|
|
2484
|
-
* @description Branch host.
|
|
2485
|
-
* @type string | undefined
|
|
2486
|
-
*/
|
|
2487
|
-
host?: string;
|
|
2488
|
-
/**
|
|
2489
|
-
* @description Branch port.
|
|
2490
|
-
* @type integer | undefined
|
|
2491
|
-
*/
|
|
2492
|
-
port?: number;
|
|
2493
|
-
/**
|
|
2494
|
-
* @description Branch database name.
|
|
2495
|
-
* @type string | undefined
|
|
2496
|
-
*/
|
|
2497
|
-
name?: string;
|
|
2498
|
-
/**
|
|
2499
|
-
* @description Branch username.
|
|
2500
|
-
* @type string | undefined
|
|
2501
|
-
*/
|
|
2502
|
-
username?: string;
|
|
2503
|
-
/**
|
|
2504
|
-
* @description Branch provider (e.g. internal, neon).
|
|
2505
|
-
* @type string
|
|
2506
|
-
*/
|
|
2507
|
-
provider: string;
|
|
2508
2575
|
/**
|
|
2509
2576
|
* @description Provisioning state of the branch.
|
|
2510
2577
|
* @type string
|
|
@@ -5062,6 +5129,11 @@ type OnboardingProgress = {
|
|
|
5062
5129
|
* @type boolean
|
|
5063
5130
|
*/
|
|
5064
5131
|
first_query_run: boolean;
|
|
5132
|
+
/**
|
|
5133
|
+
* @description Whether an agent credential has been issued.
|
|
5134
|
+
* @type boolean
|
|
5135
|
+
*/
|
|
5136
|
+
agent_credential_created: boolean;
|
|
5065
5137
|
/**
|
|
5066
5138
|
* @description Whether the user has dismissed the onboarding checklist.
|
|
5067
5139
|
* @type boolean
|
|
@@ -5175,6 +5247,7 @@ declare const updateOnboardingRequestStepEnum: {
|
|
|
5175
5247
|
readonly connection_tested: "connection_tested";
|
|
5176
5248
|
readonly connection_string_copied: "connection_string_copied";
|
|
5177
5249
|
readonly first_query_run: "first_query_run";
|
|
5250
|
+
readonly agent_credential_created: "agent_credential_created";
|
|
5178
5251
|
};
|
|
5179
5252
|
type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
|
|
5180
5253
|
/**
|
|
@@ -8400,6 +8473,9 @@ type UpdateAgentCredentialStatusParams = {
|
|
|
8400
8473
|
type RevokeAgentCredentialParams = {
|
|
8401
8474
|
pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
|
|
8402
8475
|
};
|
|
8476
|
+
type RotateAgentCredentialParams = {
|
|
8477
|
+
pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
|
|
8478
|
+
};
|
|
8403
8479
|
type ListAnomalyAlertsParams = {
|
|
8404
8480
|
pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
|
|
8405
8481
|
queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
|
|
@@ -8589,6 +8665,7 @@ interface ApiOperations {
|
|
|
8589
8665
|
getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
|
|
8590
8666
|
updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
|
|
8591
8667
|
revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
|
|
8668
|
+
rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
|
|
8592
8669
|
listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
|
|
8593
8670
|
};
|
|
8594
8671
|
anomalies: {
|
|
@@ -8686,6 +8763,10 @@ interface RequestMap {
|
|
|
8686
8763
|
params: RevokeAgentCredentialParams;
|
|
8687
8764
|
response: void;
|
|
8688
8765
|
};
|
|
8766
|
+
"POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
|
|
8767
|
+
params: RotateAgentCredentialParams;
|
|
8768
|
+
response: RotateAgentCredentialStatus200;
|
|
8769
|
+
};
|
|
8689
8770
|
"GET /v1/projects/{project_id}/anomalies": {
|
|
8690
8771
|
params: ListAnomalyAlertsParams;
|
|
8691
8772
|
response: ListAnomalyAlertsStatus200;
|
|
@@ -9098,4 +9179,4 @@ type McpTransportResponses = {
|
|
|
9098
9179
|
type McpTransportResponse = (McpTransportStatus200 | McpTransportStatus401 | McpTransportStatus429);
|
|
9099
9180
|
|
|
9100
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 };
|
|
9101
|
-
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",
|
package/dist/operations.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/operations.d.cts
CHANGED
|
@@ -370,6 +370,11 @@ type AgentCredential = {
|
|
|
370
370
|
* @type string
|
|
371
371
|
*/
|
|
372
372
|
last_used_at?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* @description When the credential expires and becomes unusable. Null means it never expires. Enforcement is fail-closed in the proxy the instant this time passes, before any cleanup sweep runs.
|
|
375
|
+
* @type string
|
|
376
|
+
*/
|
|
377
|
+
expires_at?: string | null;
|
|
373
378
|
/**
|
|
374
379
|
* @description When the credential was created.
|
|
375
380
|
* @type string
|
|
@@ -481,8 +486,8 @@ type AgentCredentialSecrets = {
|
|
|
481
486
|
*/
|
|
482
487
|
connection_string: string;
|
|
483
488
|
/**
|
|
484
|
-
* @description Hosted MCP endpoint
|
|
485
|
-
* @example https://
|
|
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
|
|
486
491
|
* @type string
|
|
487
492
|
*/
|
|
488
493
|
mcp_url: string;
|
|
@@ -526,6 +531,11 @@ type CreateAgentCredentialRequest = {
|
|
|
526
531
|
* @type string | undefined
|
|
527
532
|
*/
|
|
528
533
|
principal_type?: CreateAgentCredentialRequestPrincipalTypeEnumKey;
|
|
534
|
+
/**
|
|
535
|
+
* @description Optional expiry. When set, the credential becomes unusable at this time (must be in the future). Omit or set null for a credential that never expires.
|
|
536
|
+
* @type string
|
|
537
|
+
*/
|
|
538
|
+
expires_at?: string | null;
|
|
529
539
|
};
|
|
530
540
|
|
|
531
541
|
/**
|
|
@@ -715,6 +725,48 @@ type RevokeAgentCredentialRequestConfig = {
|
|
|
715
725
|
url: `/v1/projects/${string}/agents/${string}`;
|
|
716
726
|
};
|
|
717
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
|
+
|
|
718
770
|
/**
|
|
719
771
|
* Generated by Kubb (https://kubb.dev/).
|
|
720
772
|
* Do not edit manually.
|
|
@@ -1278,7 +1330,7 @@ type AuditLogEntry = {
|
|
|
1278
1330
|
*/
|
|
1279
1331
|
region?: string;
|
|
1280
1332
|
/**
|
|
1281
|
-
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed).
|
|
1333
|
+
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed, credential_expired).
|
|
1282
1334
|
* @type string
|
|
1283
1335
|
*/
|
|
1284
1336
|
event: string;
|
|
@@ -1343,7 +1395,7 @@ type AuditLogEntry = {
|
|
|
1343
1395
|
*/
|
|
1344
1396
|
session_id?: string;
|
|
1345
1397
|
/**
|
|
1346
|
-
* @description Statement origin (wire or
|
|
1398
|
+
* @description Statement origin (wire, mcp, or control for control-plane lifecycle events).
|
|
1347
1399
|
* @type string | undefined
|
|
1348
1400
|
*/
|
|
1349
1401
|
source?: string;
|
|
@@ -1861,35 +1913,10 @@ type DatabaseBranch = {
|
|
|
1861
1913
|
*/
|
|
1862
1914
|
session_id?: string;
|
|
1863
1915
|
/**
|
|
1864
|
-
* @description
|
|
1916
|
+
* @description Generated name for the branch.
|
|
1865
1917
|
* @type string
|
|
1866
1918
|
*/
|
|
1867
1919
|
branch_name: string;
|
|
1868
|
-
/**
|
|
1869
|
-
* @description Branch host.
|
|
1870
|
-
* @type string | undefined
|
|
1871
|
-
*/
|
|
1872
|
-
host?: string;
|
|
1873
|
-
/**
|
|
1874
|
-
* @description Branch port.
|
|
1875
|
-
* @type integer | undefined
|
|
1876
|
-
*/
|
|
1877
|
-
port?: number;
|
|
1878
|
-
/**
|
|
1879
|
-
* @description Branch database name.
|
|
1880
|
-
* @type string | undefined
|
|
1881
|
-
*/
|
|
1882
|
-
name?: string;
|
|
1883
|
-
/**
|
|
1884
|
-
* @description Branch username.
|
|
1885
|
-
* @type string | undefined
|
|
1886
|
-
*/
|
|
1887
|
-
username?: string;
|
|
1888
|
-
/**
|
|
1889
|
-
* @description Branch provider (e.g. internal, neon).
|
|
1890
|
-
* @type string
|
|
1891
|
-
*/
|
|
1892
|
-
provider: string;
|
|
1893
1920
|
/**
|
|
1894
1921
|
* @description Provisioning state of the branch.
|
|
1895
1922
|
* @type string
|
|
@@ -3802,6 +3829,11 @@ type OnboardingProgress = {
|
|
|
3802
3829
|
* @type boolean
|
|
3803
3830
|
*/
|
|
3804
3831
|
first_query_run: boolean;
|
|
3832
|
+
/**
|
|
3833
|
+
* @description Whether an agent credential has been issued.
|
|
3834
|
+
* @type boolean
|
|
3835
|
+
*/
|
|
3836
|
+
agent_credential_created: boolean;
|
|
3805
3837
|
/**
|
|
3806
3838
|
* @description Whether the user has dismissed the onboarding checklist.
|
|
3807
3839
|
* @type boolean
|
|
@@ -3875,6 +3907,7 @@ declare const updateOnboardingRequestStepEnum: {
|
|
|
3875
3907
|
readonly connection_tested: "connection_tested";
|
|
3876
3908
|
readonly connection_string_copied: "connection_string_copied";
|
|
3877
3909
|
readonly first_query_run: "first_query_run";
|
|
3910
|
+
readonly agent_credential_created: "agent_credential_created";
|
|
3878
3911
|
};
|
|
3879
3912
|
type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
|
|
3880
3913
|
/**
|
|
@@ -6219,6 +6252,10 @@ declare const operationsByTag: {
|
|
|
6219
6252
|
readonly method: "DELETE";
|
|
6220
6253
|
readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
|
|
6221
6254
|
};
|
|
6255
|
+
readonly rotateAgentCredential: {
|
|
6256
|
+
readonly method: "POST";
|
|
6257
|
+
readonly path: "/v1/projects/{project_id}/agents/{agent_id}/rotate";
|
|
6258
|
+
};
|
|
6222
6259
|
readonly listAuditLogs: {
|
|
6223
6260
|
readonly method: "GET";
|
|
6224
6261
|
readonly path: "/v1/projects/{project_id}/audit-logs";
|
|
@@ -6472,6 +6509,11 @@ declare const operationsByPath: {
|
|
|
6472
6509
|
readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
|
|
6473
6510
|
readonly operationId: "revokeAgentCredential";
|
|
6474
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
|
+
};
|
|
6475
6517
|
readonly "GET /v1/projects/{project_id}/anomalies": {
|
|
6476
6518
|
readonly method: "GET";
|
|
6477
6519
|
readonly path: "/v1/projects/{project_id}/anomalies";
|
|
@@ -6751,6 +6793,9 @@ type UpdateAgentCredentialStatusParams = {
|
|
|
6751
6793
|
type RevokeAgentCredentialParams = {
|
|
6752
6794
|
pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
|
|
6753
6795
|
};
|
|
6796
|
+
type RotateAgentCredentialParams = {
|
|
6797
|
+
pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
|
|
6798
|
+
};
|
|
6754
6799
|
type ListAnomalyAlertsParams = {
|
|
6755
6800
|
pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
|
|
6756
6801
|
queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
|
|
@@ -6940,6 +6985,7 @@ interface ApiOperations {
|
|
|
6940
6985
|
getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
|
|
6941
6986
|
updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
|
|
6942
6987
|
revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
|
|
6988
|
+
rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
|
|
6943
6989
|
listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
|
|
6944
6990
|
};
|
|
6945
6991
|
anomalies: {
|
|
@@ -7037,6 +7083,10 @@ interface RequestMap {
|
|
|
7037
7083
|
params: RevokeAgentCredentialParams;
|
|
7038
7084
|
response: void;
|
|
7039
7085
|
};
|
|
7086
|
+
"POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
|
|
7087
|
+
params: RotateAgentCredentialParams;
|
|
7088
|
+
response: RotateAgentCredentialStatus200;
|
|
7089
|
+
};
|
|
7040
7090
|
"GET /v1/projects/{project_id}/anomalies": {
|
|
7041
7091
|
params: ListAnomalyAlertsParams;
|
|
7042
7092
|
response: ListAnomalyAlertsStatus200;
|
package/dist/operations.d.mts
CHANGED
|
@@ -370,6 +370,11 @@ type AgentCredential = {
|
|
|
370
370
|
* @type string
|
|
371
371
|
*/
|
|
372
372
|
last_used_at?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* @description When the credential expires and becomes unusable. Null means it never expires. Enforcement is fail-closed in the proxy the instant this time passes, before any cleanup sweep runs.
|
|
375
|
+
* @type string
|
|
376
|
+
*/
|
|
377
|
+
expires_at?: string | null;
|
|
373
378
|
/**
|
|
374
379
|
* @description When the credential was created.
|
|
375
380
|
* @type string
|
|
@@ -481,8 +486,8 @@ type AgentCredentialSecrets = {
|
|
|
481
486
|
*/
|
|
482
487
|
connection_string: string;
|
|
483
488
|
/**
|
|
484
|
-
* @description Hosted MCP endpoint
|
|
485
|
-
* @example https://
|
|
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
|
|
486
491
|
* @type string
|
|
487
492
|
*/
|
|
488
493
|
mcp_url: string;
|
|
@@ -526,6 +531,11 @@ type CreateAgentCredentialRequest = {
|
|
|
526
531
|
* @type string | undefined
|
|
527
532
|
*/
|
|
528
533
|
principal_type?: CreateAgentCredentialRequestPrincipalTypeEnumKey;
|
|
534
|
+
/**
|
|
535
|
+
* @description Optional expiry. When set, the credential becomes unusable at this time (must be in the future). Omit or set null for a credential that never expires.
|
|
536
|
+
* @type string
|
|
537
|
+
*/
|
|
538
|
+
expires_at?: string | null;
|
|
529
539
|
};
|
|
530
540
|
|
|
531
541
|
/**
|
|
@@ -715,6 +725,48 @@ type RevokeAgentCredentialRequestConfig = {
|
|
|
715
725
|
url: `/v1/projects/${string}/agents/${string}`;
|
|
716
726
|
};
|
|
717
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
|
+
|
|
718
770
|
/**
|
|
719
771
|
* Generated by Kubb (https://kubb.dev/).
|
|
720
772
|
* Do not edit manually.
|
|
@@ -1278,7 +1330,7 @@ type AuditLogEntry = {
|
|
|
1278
1330
|
*/
|
|
1279
1331
|
region?: string;
|
|
1280
1332
|
/**
|
|
1281
|
-
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed).
|
|
1333
|
+
* @description Event type (query, blocked, masked, budget_exhausted, truncated, auth_failed, credential_expired).
|
|
1282
1334
|
* @type string
|
|
1283
1335
|
*/
|
|
1284
1336
|
event: string;
|
|
@@ -1343,7 +1395,7 @@ type AuditLogEntry = {
|
|
|
1343
1395
|
*/
|
|
1344
1396
|
session_id?: string;
|
|
1345
1397
|
/**
|
|
1346
|
-
* @description Statement origin (wire or
|
|
1398
|
+
* @description Statement origin (wire, mcp, or control for control-plane lifecycle events).
|
|
1347
1399
|
* @type string | undefined
|
|
1348
1400
|
*/
|
|
1349
1401
|
source?: string;
|
|
@@ -1861,35 +1913,10 @@ type DatabaseBranch = {
|
|
|
1861
1913
|
*/
|
|
1862
1914
|
session_id?: string;
|
|
1863
1915
|
/**
|
|
1864
|
-
* @description
|
|
1916
|
+
* @description Generated name for the branch.
|
|
1865
1917
|
* @type string
|
|
1866
1918
|
*/
|
|
1867
1919
|
branch_name: string;
|
|
1868
|
-
/**
|
|
1869
|
-
* @description Branch host.
|
|
1870
|
-
* @type string | undefined
|
|
1871
|
-
*/
|
|
1872
|
-
host?: string;
|
|
1873
|
-
/**
|
|
1874
|
-
* @description Branch port.
|
|
1875
|
-
* @type integer | undefined
|
|
1876
|
-
*/
|
|
1877
|
-
port?: number;
|
|
1878
|
-
/**
|
|
1879
|
-
* @description Branch database name.
|
|
1880
|
-
* @type string | undefined
|
|
1881
|
-
*/
|
|
1882
|
-
name?: string;
|
|
1883
|
-
/**
|
|
1884
|
-
* @description Branch username.
|
|
1885
|
-
* @type string | undefined
|
|
1886
|
-
*/
|
|
1887
|
-
username?: string;
|
|
1888
|
-
/**
|
|
1889
|
-
* @description Branch provider (e.g. internal, neon).
|
|
1890
|
-
* @type string
|
|
1891
|
-
*/
|
|
1892
|
-
provider: string;
|
|
1893
1920
|
/**
|
|
1894
1921
|
* @description Provisioning state of the branch.
|
|
1895
1922
|
* @type string
|
|
@@ -3802,6 +3829,11 @@ type OnboardingProgress = {
|
|
|
3802
3829
|
* @type boolean
|
|
3803
3830
|
*/
|
|
3804
3831
|
first_query_run: boolean;
|
|
3832
|
+
/**
|
|
3833
|
+
* @description Whether an agent credential has been issued.
|
|
3834
|
+
* @type boolean
|
|
3835
|
+
*/
|
|
3836
|
+
agent_credential_created: boolean;
|
|
3805
3837
|
/**
|
|
3806
3838
|
* @description Whether the user has dismissed the onboarding checklist.
|
|
3807
3839
|
* @type boolean
|
|
@@ -3875,6 +3907,7 @@ declare const updateOnboardingRequestStepEnum: {
|
|
|
3875
3907
|
readonly connection_tested: "connection_tested";
|
|
3876
3908
|
readonly connection_string_copied: "connection_string_copied";
|
|
3877
3909
|
readonly first_query_run: "first_query_run";
|
|
3910
|
+
readonly agent_credential_created: "agent_credential_created";
|
|
3878
3911
|
};
|
|
3879
3912
|
type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
|
|
3880
3913
|
/**
|
|
@@ -6219,6 +6252,10 @@ declare const operationsByTag: {
|
|
|
6219
6252
|
readonly method: "DELETE";
|
|
6220
6253
|
readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
|
|
6221
6254
|
};
|
|
6255
|
+
readonly rotateAgentCredential: {
|
|
6256
|
+
readonly method: "POST";
|
|
6257
|
+
readonly path: "/v1/projects/{project_id}/agents/{agent_id}/rotate";
|
|
6258
|
+
};
|
|
6222
6259
|
readonly listAuditLogs: {
|
|
6223
6260
|
readonly method: "GET";
|
|
6224
6261
|
readonly path: "/v1/projects/{project_id}/audit-logs";
|
|
@@ -6472,6 +6509,11 @@ declare const operationsByPath: {
|
|
|
6472
6509
|
readonly path: "/v1/projects/{project_id}/agents/{agent_id}";
|
|
6473
6510
|
readonly operationId: "revokeAgentCredential";
|
|
6474
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
|
+
};
|
|
6475
6517
|
readonly "GET /v1/projects/{project_id}/anomalies": {
|
|
6476
6518
|
readonly method: "GET";
|
|
6477
6519
|
readonly path: "/v1/projects/{project_id}/anomalies";
|
|
@@ -6751,6 +6793,9 @@ type UpdateAgentCredentialStatusParams = {
|
|
|
6751
6793
|
type RevokeAgentCredentialParams = {
|
|
6752
6794
|
pathParams: NonNullable<RevokeAgentCredentialRequestConfig["pathParams"]>;
|
|
6753
6795
|
};
|
|
6796
|
+
type RotateAgentCredentialParams = {
|
|
6797
|
+
pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
|
|
6798
|
+
};
|
|
6754
6799
|
type ListAnomalyAlertsParams = {
|
|
6755
6800
|
pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
|
|
6756
6801
|
queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
|
|
@@ -6940,6 +6985,7 @@ interface ApiOperations {
|
|
|
6940
6985
|
getAgentCredential(params: GetAgentCredentialParams): Promise<GetAgentCredentialStatus200>;
|
|
6941
6986
|
updateAgentCredentialStatus(params: UpdateAgentCredentialStatusParams): Promise<UpdateAgentCredentialStatusStatus200>;
|
|
6942
6987
|
revokeAgentCredential(params: RevokeAgentCredentialParams): Promise<void>;
|
|
6988
|
+
rotateAgentCredential(params: RotateAgentCredentialParams): Promise<RotateAgentCredentialStatus200>;
|
|
6943
6989
|
listAuditLogs(params: ListAuditLogsParams): Promise<ListAuditLogsStatus200>;
|
|
6944
6990
|
};
|
|
6945
6991
|
anomalies: {
|
|
@@ -7037,6 +7083,10 @@ interface RequestMap {
|
|
|
7037
7083
|
params: RevokeAgentCredentialParams;
|
|
7038
7084
|
response: void;
|
|
7039
7085
|
};
|
|
7086
|
+
"POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
|
|
7087
|
+
params: RotateAgentCredentialParams;
|
|
7088
|
+
response: RotateAgentCredentialStatus200;
|
|
7089
|
+
};
|
|
7040
7090
|
"GET /v1/projects/{project_id}/anomalies": {
|
|
7041
7091
|
params: ListAnomalyAlertsParams;
|
|
7042
7092
|
response: ListAnomalyAlertsStatus200;
|
package/dist/operations.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",
|