@distilled.cloud/neon 0.19.2 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/acceptProjectTransferRequest.d.ts +1 -1
- package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +4 -4
- package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +2 -2
- package/lib/operations/addProjectJWKS.d.ts +14 -14
- package/lib/operations/assignOrganizationVPCEndpoint.d.ts +1 -1
- package/lib/operations/assignProjectVPCEndpoint.d.ts +1 -1
- package/lib/operations/createApiKey.d.ts +2 -2
- package/lib/operations/createBranchNeonAuthNewUser.d.ts +1 -1
- package/lib/operations/createNeonAuth.d.ts +5 -5
- package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +4 -4
- package/lib/operations/createOrgApiKey.d.ts +3 -3
- package/lib/operations/createOrganizationInvitations.d.ts +4 -4
- package/lib/operations/createProject.d.ts +187 -187
- package/lib/operations/createProjectBranch.d.ts +91 -91
- package/lib/operations/createProjectBranchAnonymized.d.ts +91 -91
- package/lib/operations/createProjectBranchDataAPI.d.ts +6 -6
- package/lib/operations/createProjectBranchDatabase.d.ts +9 -9
- package/lib/operations/createProjectBranchRole.d.ts +16 -16
- package/lib/operations/createProjectEndpoint.d.ts +36 -36
- package/lib/operations/createProjectTransferRequest.d.ts +2 -2
- package/lib/operations/createSnapshot.d.ts +21 -21
- package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +1 -1
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +2 -2
- package/lib/operations/deleteBranchNeonAuthUser.d.ts +2 -2
- package/lib/operations/deleteProject.d.ts +48 -48
- package/lib/operations/deleteProjectBranch.d.ts +34 -34
- package/lib/operations/deleteProjectBranchDataAPI.d.ts +1 -1
- package/lib/operations/deleteProjectBranchDatabase.d.ts +9 -9
- package/lib/operations/deleteProjectBranchRole.d.ts +16 -16
- package/lib/operations/deleteProjectEndpoint.d.ts +26 -26
- package/lib/operations/deleteProjectJWKS.d.ts +6 -6
- package/lib/operations/disableNeonAuth.d.ts +1 -1
- package/lib/operations/finalizeRestoreBranch.d.ts +7 -7
- package/lib/operations/getActiveRegions.d.ts +2 -2
- package/lib/operations/getAnonymizedBranchStatus.d.ts +7 -7
- package/lib/operations/getAuthDetails.d.ts +1 -1
- package/lib/operations/getAvailablePreloadLibraries.d.ts +1 -1
- package/lib/operations/getConnectionURI.d.ts +3 -3
- package/lib/operations/getConsumptionHistoryPerAccount.d.ts +10 -10
- package/lib/operations/getConsumptionHistoryPerProject.d.ts +16 -16
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +14 -14
- package/lib/operations/getCurrentUserInfo.d.ts +29 -29
- package/lib/operations/getCurrentUserOrganizations.d.ts +5 -5
- package/lib/operations/getMaskingRules.d.ts +4 -4
- package/lib/operations/getNeonAuth.d.ts +5 -5
- package/lib/operations/getNeonAuthAllowLocalhost.d.ts +1 -1
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +5 -5
- package/lib/operations/getNeonAuthEmailProvider.d.ts +1 -1
- package/lib/operations/getNeonAuthPhoneNumberPlugin.d.ts +2 -2
- package/lib/operations/getNeonAuthPluginConfigs.d.ts +25 -25
- package/lib/operations/getNeonAuthWebhookConfig.d.ts +2 -2
- package/lib/operations/getOrganization.d.ts +5 -5
- package/lib/operations/getOrganizationInvitations.d.ts +3 -3
- package/lib/operations/getOrganizationMember.d.ts +3 -3
- package/lib/operations/getOrganizationMembers.d.ts +5 -5
- package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +3 -3
- package/lib/operations/getProject.d.ts +48 -48
- package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +8 -8
- package/lib/operations/getProjectBranch.d.ts +39 -39
- package/lib/operations/getProjectBranchDataAPI.d.ts +5 -5
- package/lib/operations/getProjectBranchDatabase.d.ts +3 -3
- package/lib/operations/getProjectBranchRole.d.ts +3 -3
- package/lib/operations/getProjectBranchRolePassword.d.ts +1 -1
- package/lib/operations/getProjectBranchSchema.d.ts +9 -9
- package/lib/operations/getProjectBranchSchemaComparison.d.ts +4 -4
- package/lib/operations/getProjectEndpoint.d.ts +20 -20
- package/lib/operations/getProjectJWKS.d.ts +5 -5
- package/lib/operations/getProjectOperation.d.ts +7 -7
- package/lib/operations/getSnapshotSchedule.d.ts +2 -2
- package/lib/operations/grantPermissionToProject.d.ts +3 -3
- package/lib/operations/listApiKeys.d.ts +3 -3
- package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +3 -3
- package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +2 -2
- package/lib/operations/listOrgApiKeys.d.ts +3 -3
- package/lib/operations/listOrganizationVPCEndpoints.d.ts +1 -1
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +1 -1
- package/lib/operations/listProjectBranchDatabases.d.ts +3 -3
- package/lib/operations/listProjectBranchEndpoints.d.ts +20 -20
- package/lib/operations/listProjectBranchRoles.d.ts +3 -3
- package/lib/operations/listProjectBranches.d.ts +43 -43
- package/lib/operations/listProjectEndpoints.d.ts +19 -19
- package/lib/operations/listProjectOperations.d.ts +7 -7
- package/lib/operations/listProjectPermissions.d.ts +2 -2
- package/lib/operations/listProjectVPCEndpoints.d.ts +1 -1
- package/lib/operations/listProjects.d.ts +51 -51
- package/lib/operations/listSharedProjects.d.ts +43 -43
- package/lib/operations/listSnapshots.d.ts +7 -7
- package/lib/operations/recoverProject.d.ts +90 -90
- package/lib/operations/recoverProjectBranch.d.ts +47 -47
- package/lib/operations/removeOrganizationMember.d.ts +1 -1
- package/lib/operations/resetProjectBranchRolePassword.d.ts +16 -16
- package/lib/operations/restartProjectEndpoint.d.ts +26 -26
- package/lib/operations/restoreProjectBranch.d.ts +35 -35
- package/lib/operations/restoreSnapshot.d.ts +54 -54
- package/lib/operations/revokeApiKey.d.ts +2 -2
- package/lib/operations/revokeOrgApiKey.d.ts +4 -4
- package/lib/operations/revokePermissionFromProject.d.ts +3 -3
- package/lib/operations/sendNeonAuthTestEmail.d.ts +5 -5
- package/lib/operations/setDefaultProjectBranch.d.ts +34 -34
- package/lib/operations/setSnapshotSchedule.d.ts +2 -2
- package/lib/operations/startAnonymization.d.ts +7 -7
- package/lib/operations/startProjectEndpoint.d.ts +26 -26
- package/lib/operations/suspendProjectEndpoint.d.ts +26 -26
- package/lib/operations/transferNeonAuthProviderProject.d.ts +1 -1
- package/lib/operations/transferProjectsFromOrgToOrg.d.ts +1 -1
- package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +4 -4
- package/lib/operations/updateMaskingRules.d.ts +7 -7
- package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +2 -2
- package/lib/operations/updateNeonAuthConfig.d.ts +1 -1
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +9 -9
- package/lib/operations/updateNeonAuthEmailProvider.d.ts +1 -1
- package/lib/operations/updateNeonAuthMagicLinkPlugin.d.ts +3 -3
- package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +5 -5
- package/lib/operations/updateNeonAuthPhoneNumberPlugin.d.ts +3 -3
- package/lib/operations/updateNeonAuthUserRole.d.ts +2 -2
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts +3 -3
- package/lib/operations/updateOrganizationMember.d.ts +3 -3
- package/lib/operations/updateProject.d.ts +89 -89
- package/lib/operations/updateProjectBranch.d.ts +36 -36
- package/lib/operations/updateProjectBranchDataAPI.d.ts +2 -2
- package/lib/operations/updateProjectBranchDatabase.d.ts +10 -10
- package/lib/operations/updateProjectEndpoint.d.ts +35 -35
- package/lib/operations/updateSnapshot.d.ts +8 -8
- package/package.json +3 -3
|
@@ -52,42 +52,42 @@ export type GetNeonAuthPluginConfigsOutput = typeof GetNeonAuthPluginConfigsOutp
|
|
|
52
52
|
* @param branch_id - The Neon branch ID
|
|
53
53
|
*/
|
|
54
54
|
export declare const getNeonAuthPluginConfigs: import("@distilled.cloud/core/client").OperationMethod<{
|
|
55
|
-
readonly branch_id: string;
|
|
56
55
|
readonly project_id: string;
|
|
56
|
+
readonly branch_id: string;
|
|
57
57
|
}, {
|
|
58
|
-
readonly
|
|
59
|
-
readonly email_and_password?: {
|
|
60
|
-
readonly auto_sign_in_after_verification: boolean;
|
|
61
|
-
readonly disable_sign_up: boolean;
|
|
62
|
-
readonly email_verification_method: "link" | "otp";
|
|
58
|
+
readonly organization?: {
|
|
63
59
|
readonly enabled: boolean;
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
60
|
+
readonly organization_limit: number;
|
|
61
|
+
readonly membership_limit: number;
|
|
62
|
+
readonly creator_role: "admin" | "owner";
|
|
63
|
+
readonly send_invitation_email: boolean;
|
|
67
64
|
} | undefined;
|
|
68
|
-
readonly email_provider?: unknown;
|
|
69
65
|
readonly magic_link?: {
|
|
70
|
-
readonly disable_sign_up: boolean;
|
|
71
66
|
readonly enabled: boolean;
|
|
72
67
|
readonly expires_in: number;
|
|
73
|
-
|
|
74
|
-
readonly oauth_providers?: readonly {
|
|
75
|
-
readonly client_id?: string | undefined;
|
|
76
|
-
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
77
|
-
readonly id: "github" | "google" | "microsoft" | "vercel";
|
|
78
|
-
readonly type: "shared" | "standard";
|
|
79
|
-
}[] | undefined;
|
|
80
|
-
readonly organization?: {
|
|
81
|
-
readonly creator_role: "admin" | "owner";
|
|
82
|
-
readonly enabled: boolean;
|
|
83
|
-
readonly membership_limit: number;
|
|
84
|
-
readonly organization_limit: number;
|
|
85
|
-
readonly send_invitation_email: boolean;
|
|
68
|
+
readonly disable_sign_up: boolean;
|
|
86
69
|
} | undefined;
|
|
87
70
|
readonly phone_number?: {
|
|
88
|
-
readonly allowed_attempts?: number | undefined;
|
|
89
71
|
readonly enabled: boolean;
|
|
90
72
|
readonly otp_expires_in?: number | undefined;
|
|
73
|
+
readonly allowed_attempts?: number | undefined;
|
|
91
74
|
} | undefined;
|
|
75
|
+
readonly email_provider?: unknown;
|
|
76
|
+
readonly email_and_password?: {
|
|
77
|
+
readonly enabled: boolean;
|
|
78
|
+
readonly email_verification_method: "link" | "otp";
|
|
79
|
+
readonly require_email_verification: boolean;
|
|
80
|
+
readonly auto_sign_in_after_verification: boolean;
|
|
81
|
+
readonly send_verification_email_on_sign_up: boolean;
|
|
82
|
+
readonly send_verification_email_on_sign_in: boolean;
|
|
83
|
+
readonly disable_sign_up: boolean;
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly oauth_providers?: readonly {
|
|
86
|
+
readonly id: "github" | "google" | "microsoft" | "vercel";
|
|
87
|
+
readonly type: "shared" | "standard";
|
|
88
|
+
readonly client_id?: string | undefined;
|
|
89
|
+
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
90
|
+
}[] | undefined;
|
|
91
|
+
readonly allow_localhost?: boolean | undefined;
|
|
92
92
|
}, never, import("../credentials.ts").Credentials>;
|
|
93
93
|
//# sourceMappingURL=getNeonAuthPluginConfigs.d.ts.map
|
|
@@ -20,12 +20,12 @@ export type GetNeonAuthWebhookConfigOutput = typeof GetNeonAuthWebhookConfigOutp
|
|
|
20
20
|
* @param branch_id - The Neon branch ID
|
|
21
21
|
*/
|
|
22
22
|
export declare const getNeonAuthWebhookConfig: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
-
readonly branch_id: string;
|
|
24
23
|
readonly project_id: string;
|
|
24
|
+
readonly branch_id: string;
|
|
25
25
|
}, {
|
|
26
26
|
readonly enabled: boolean;
|
|
27
|
+
readonly webhook_url?: string | undefined;
|
|
27
28
|
readonly enabled_events?: readonly ("organization.invitation.accepted" | "organization.invitation.created" | "phone_number.verified" | "send.magic_link" | "send.otp" | "user.before_create" | "user.created")[] | undefined;
|
|
28
29
|
readonly timeout_seconds?: number | undefined;
|
|
29
|
-
readonly webhook_url?: string | undefined;
|
|
30
30
|
}, never, import("../credentials.ts").Credentials>;
|
|
31
31
|
//# sourceMappingURL=getNeonAuthWebhookConfig.d.ts.map
|
|
@@ -25,14 +25,14 @@ export type GetOrganizationOutput = typeof GetOrganizationOutput.Type;
|
|
|
25
25
|
export declare const getOrganization: import("@distilled.cloud/core/client").OperationMethod<{
|
|
26
26
|
readonly org_id: string;
|
|
27
27
|
}, {
|
|
28
|
-
readonly allow_hipaa_projects?: boolean | undefined;
|
|
29
|
-
readonly created_at: string;
|
|
30
|
-
readonly handle: string;
|
|
31
28
|
readonly id: string;
|
|
32
|
-
readonly managed_by: string;
|
|
33
29
|
readonly name: string;
|
|
30
|
+
readonly handle: string;
|
|
34
31
|
readonly plan: string;
|
|
35
|
-
readonly
|
|
32
|
+
readonly created_at: string;
|
|
33
|
+
readonly managed_by: string;
|
|
36
34
|
readonly updated_at: string;
|
|
35
|
+
readonly allow_hipaa_projects?: boolean | undefined;
|
|
36
|
+
readonly require_mfa?: boolean | undefined;
|
|
37
37
|
}, never, import("../credentials.ts").Credentials>;
|
|
38
38
|
//# sourceMappingURL=getOrganization.d.ts.map
|
|
@@ -25,11 +25,11 @@ export declare const getOrganizationInvitations: import("@distilled.cloud/core/c
|
|
|
25
25
|
readonly org_id: string;
|
|
26
26
|
}, {
|
|
27
27
|
readonly invitations: readonly {
|
|
28
|
-
readonly email: string;
|
|
29
28
|
readonly id: string;
|
|
30
|
-
readonly
|
|
31
|
-
readonly invited_by: string;
|
|
29
|
+
readonly email: string;
|
|
32
30
|
readonly org_id: string;
|
|
31
|
+
readonly invited_by: string;
|
|
32
|
+
readonly invited_at: string;
|
|
33
33
|
readonly role: "admin" | "member";
|
|
34
34
|
}[];
|
|
35
35
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -21,13 +21,13 @@ export type GetOrganizationMemberOutput = typeof GetOrganizationMemberOutput.Typ
|
|
|
21
21
|
* @param member_id - The Neon organization member ID
|
|
22
22
|
*/
|
|
23
23
|
export declare const getOrganizationMember: import("@distilled.cloud/core/client").OperationMethod<{
|
|
24
|
-
readonly member_id: string;
|
|
25
24
|
readonly org_id: string;
|
|
25
|
+
readonly member_id: string;
|
|
26
26
|
}, {
|
|
27
27
|
readonly id: string;
|
|
28
|
-
readonly
|
|
28
|
+
readonly user_id: string;
|
|
29
29
|
readonly org_id: string;
|
|
30
30
|
readonly role: "admin" | "member";
|
|
31
|
-
readonly
|
|
31
|
+
readonly joined_at?: string | undefined;
|
|
32
32
|
}, never, import("../credentials.ts").Credentials>;
|
|
33
33
|
//# sourceMappingURL=getOrganizationMember.d.ts.map
|
|
@@ -41,24 +41,24 @@ export type GetOrganizationMembersOutput = typeof GetOrganizationMembersOutput.T
|
|
|
41
41
|
* @param limit - The maximum number of members to return in the response
|
|
42
42
|
*/
|
|
43
43
|
export declare const getOrganizationMembers: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
|
|
44
|
-
readonly cursor?: string | undefined;
|
|
45
|
-
readonly limit?: number | undefined;
|
|
46
44
|
readonly org_id: string;
|
|
47
45
|
readonly sort_by?: "email" | "joined_at" | "role" | undefined;
|
|
46
|
+
readonly cursor?: string | undefined;
|
|
48
47
|
readonly sort_order?: "asc" | "desc" | undefined;
|
|
48
|
+
readonly limit?: number | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
readonly members: readonly {
|
|
51
51
|
readonly member: {
|
|
52
52
|
readonly id: string;
|
|
53
|
-
readonly
|
|
53
|
+
readonly user_id: string;
|
|
54
54
|
readonly org_id: string;
|
|
55
55
|
readonly role: "admin" | "member";
|
|
56
|
-
readonly
|
|
56
|
+
readonly joined_at?: string | undefined;
|
|
57
57
|
};
|
|
58
58
|
readonly user: {
|
|
59
|
-
readonly deactivated_at?: string | undefined;
|
|
60
59
|
readonly email: string;
|
|
61
60
|
readonly has_mfa?: boolean | undefined;
|
|
61
|
+
readonly deactivated_at?: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
}[];
|
|
64
64
|
readonly pagination?: {
|
|
@@ -29,10 +29,10 @@ export declare const getOrganizationVPCEndpointDetails: import("@distilled.cloud
|
|
|
29
29
|
readonly region_id: string;
|
|
30
30
|
readonly vpc_endpoint_id: string;
|
|
31
31
|
}, {
|
|
32
|
-
readonly
|
|
32
|
+
readonly vpc_endpoint_id: string;
|
|
33
33
|
readonly label: string;
|
|
34
|
-
readonly num_restricted_projects: number;
|
|
35
34
|
readonly state: string;
|
|
36
|
-
readonly
|
|
35
|
+
readonly num_restricted_projects: number;
|
|
36
|
+
readonly example_restricted_projects: readonly string[];
|
|
37
37
|
}, never, import("../credentials.ts").Credentials>;
|
|
38
38
|
//# sourceMappingURL=getOrganizationVPCEndpointDetails.d.ts.map
|
|
@@ -91,80 +91,80 @@ export declare const getProject: import("@distilled.cloud/core/client").Operatio
|
|
|
91
91
|
readonly project_id: string;
|
|
92
92
|
}, {
|
|
93
93
|
readonly project: {
|
|
94
|
-
readonly active_time_seconds: number;
|
|
95
|
-
readonly branch_logical_size_limit: number;
|
|
96
|
-
readonly branch_logical_size_limit_bytes: number;
|
|
97
|
-
readonly compute_last_active_at?: string | undefined;
|
|
98
|
-
readonly compute_time_seconds: number;
|
|
99
|
-
readonly consumption_period_end: string;
|
|
100
|
-
readonly consumption_period_start: string;
|
|
101
|
-
readonly cpu_used_sec: number;
|
|
102
|
-
readonly created_at: string;
|
|
103
|
-
readonly creation_source: string;
|
|
104
94
|
readonly data_storage_bytes_hour: number;
|
|
105
95
|
readonly data_transfer_bytes: number;
|
|
96
|
+
readonly written_data_bytes: number;
|
|
97
|
+
readonly compute_time_seconds: number;
|
|
98
|
+
readonly active_time_seconds: number;
|
|
99
|
+
readonly cpu_used_sec: number;
|
|
100
|
+
readonly id: string;
|
|
101
|
+
readonly platform_id: string;
|
|
102
|
+
readonly region_id: string;
|
|
103
|
+
readonly name: string;
|
|
104
|
+
readonly provisioner: string;
|
|
106
105
|
readonly default_endpoint_settings?: {
|
|
107
|
-
readonly autoscaling_limit_max_cu?: number | undefined;
|
|
108
|
-
readonly autoscaling_limit_min_cu?: number | undefined;
|
|
109
106
|
readonly pg_settings?: {
|
|
110
107
|
readonly [x: string]: string;
|
|
111
108
|
} | undefined;
|
|
112
109
|
readonly pgbouncer_settings?: {
|
|
113
110
|
readonly [x: string]: string;
|
|
114
111
|
} | undefined;
|
|
112
|
+
readonly autoscaling_limit_min_cu?: number | undefined;
|
|
113
|
+
readonly autoscaling_limit_max_cu?: number | undefined;
|
|
115
114
|
readonly suspend_timeout_seconds?: number | undefined;
|
|
116
115
|
} | undefined;
|
|
117
|
-
readonly hipaa_enabled_at?: string | undefined;
|
|
118
|
-
readonly history_retention_seconds: number;
|
|
119
|
-
readonly id: string;
|
|
120
|
-
readonly maintenance_scheduled_for?: string | undefined;
|
|
121
|
-
readonly maintenance_starts_at?: string | undefined;
|
|
122
|
-
readonly name: string;
|
|
123
|
-
readonly org_id?: string | undefined;
|
|
124
|
-
readonly owner?: {
|
|
125
|
-
readonly branches_limit: number;
|
|
126
|
-
readonly email: string;
|
|
127
|
-
readonly name: string;
|
|
128
|
-
readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
|
|
129
|
-
} | undefined;
|
|
130
|
-
readonly owner_id: string;
|
|
131
|
-
readonly pg_version: number;
|
|
132
|
-
readonly platform_id: string;
|
|
133
|
-
readonly provisioner: string;
|
|
134
|
-
readonly proxy_host: string;
|
|
135
|
-
readonly quota_reset_at?: string | undefined;
|
|
136
|
-
readonly region_id: string;
|
|
137
116
|
readonly settings?: {
|
|
117
|
+
readonly quota?: {
|
|
118
|
+
readonly active_time_seconds?: number | undefined;
|
|
119
|
+
readonly compute_time_seconds?: number | undefined;
|
|
120
|
+
readonly written_data_bytes?: number | undefined;
|
|
121
|
+
readonly data_transfer_bytes?: number | undefined;
|
|
122
|
+
readonly logical_size_bytes?: number | undefined;
|
|
123
|
+
} | undefined;
|
|
138
124
|
readonly allowed_ips?: {
|
|
139
125
|
readonly ips?: readonly string[] | undefined;
|
|
140
126
|
readonly protected_branches_only?: boolean | undefined;
|
|
141
127
|
} | undefined;
|
|
142
|
-
readonly audit_log_level?: "base" | "extended" | "full" | undefined;
|
|
143
|
-
readonly block_public_connections?: boolean | undefined;
|
|
144
|
-
readonly block_vpc_connections?: boolean | undefined;
|
|
145
128
|
readonly enable_logical_replication?: boolean | undefined;
|
|
146
|
-
readonly hipaa?: boolean | undefined;
|
|
147
129
|
readonly maintenance_window?: {
|
|
148
|
-
readonly end_time: string;
|
|
149
|
-
readonly start_time: string;
|
|
150
130
|
readonly weekdays: readonly number[];
|
|
131
|
+
readonly start_time: string;
|
|
132
|
+
readonly end_time: string;
|
|
151
133
|
} | undefined;
|
|
134
|
+
readonly block_public_connections?: boolean | undefined;
|
|
135
|
+
readonly block_vpc_connections?: boolean | undefined;
|
|
136
|
+
readonly audit_log_level?: "base" | "extended" | "full" | undefined;
|
|
137
|
+
readonly hipaa?: boolean | undefined;
|
|
152
138
|
readonly preload_libraries?: {
|
|
153
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
154
139
|
readonly use_defaults?: boolean | undefined;
|
|
155
|
-
|
|
156
|
-
readonly quota?: {
|
|
157
|
-
readonly active_time_seconds?: number | undefined;
|
|
158
|
-
readonly compute_time_seconds?: number | undefined;
|
|
159
|
-
readonly data_transfer_bytes?: number | undefined;
|
|
160
|
-
readonly logical_size_bytes?: number | undefined;
|
|
161
|
-
readonly written_data_bytes?: number | undefined;
|
|
140
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
162
141
|
} | undefined;
|
|
163
142
|
} | undefined;
|
|
143
|
+
readonly pg_version: number;
|
|
144
|
+
readonly proxy_host: string;
|
|
145
|
+
readonly branch_logical_size_limit: number;
|
|
146
|
+
readonly branch_logical_size_limit_bytes: number;
|
|
164
147
|
readonly store_passwords: boolean;
|
|
165
|
-
readonly
|
|
148
|
+
readonly maintenance_starts_at?: string | undefined;
|
|
149
|
+
readonly creation_source: string;
|
|
150
|
+
readonly history_retention_seconds: number;
|
|
151
|
+
readonly created_at: string;
|
|
166
152
|
readonly updated_at: string;
|
|
167
|
-
readonly
|
|
153
|
+
readonly synthetic_storage_size?: number | undefined;
|
|
154
|
+
readonly consumption_period_start: string;
|
|
155
|
+
readonly consumption_period_end: string;
|
|
156
|
+
readonly quota_reset_at?: string | undefined;
|
|
157
|
+
readonly owner_id: string;
|
|
158
|
+
readonly owner?: {
|
|
159
|
+
readonly email: string;
|
|
160
|
+
readonly name: string;
|
|
161
|
+
readonly branches_limit: number;
|
|
162
|
+
readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
|
|
163
|
+
} | undefined;
|
|
164
|
+
readonly compute_last_active_at?: string | undefined;
|
|
165
|
+
readonly org_id?: string | undefined;
|
|
166
|
+
readonly maintenance_scheduled_for?: string | undefined;
|
|
167
|
+
readonly hipaa_enabled_at?: string | undefined;
|
|
168
168
|
};
|
|
169
169
|
}, BadRequest | NotFound, import("../credentials.ts").Credentials>;
|
|
170
170
|
//# sourceMappingURL=getProject.d.ts.map
|
|
@@ -36,25 +36,25 @@ export type GetProjectAdvisorSecurityIssuesOutput = typeof GetProjectAdvisorSecu
|
|
|
36
36
|
* @param min_severity - Minimum severity level to include. For example, WARN returns WARN and ERROR issues, excluding INFO.
|
|
37
37
|
*/
|
|
38
38
|
export declare const getProjectAdvisorSecurityIssues: import("@distilled.cloud/core/client").OperationMethod<{
|
|
39
|
+
readonly project_id: string;
|
|
39
40
|
readonly branch_id?: string | undefined;
|
|
40
|
-
readonly category?: string | undefined;
|
|
41
41
|
readonly database_name?: string | undefined;
|
|
42
|
+
readonly category?: string | undefined;
|
|
42
43
|
readonly min_severity?: "ERROR" | "INFO" | "WARN" | undefined;
|
|
43
|
-
readonly project_id: string;
|
|
44
44
|
}, {
|
|
45
45
|
readonly issues: readonly {
|
|
46
|
-
readonly
|
|
46
|
+
readonly name: string;
|
|
47
|
+
readonly title: string;
|
|
48
|
+
readonly level: string;
|
|
49
|
+
readonly facing: "EXTERNAL" | "INTERNAL";
|
|
47
50
|
readonly categories: readonly ("PERFORMANCE" | "SECURITY")[];
|
|
48
51
|
readonly description: string;
|
|
49
52
|
readonly detail: string;
|
|
50
|
-
readonly
|
|
51
|
-
readonly level: string;
|
|
53
|
+
readonly remediation: string;
|
|
52
54
|
readonly metadata: {
|
|
53
55
|
readonly [x: string]: unknown;
|
|
54
56
|
};
|
|
55
|
-
readonly
|
|
56
|
-
readonly remediation: string;
|
|
57
|
-
readonly title: string;
|
|
57
|
+
readonly cache_key: string;
|
|
58
58
|
}[];
|
|
59
59
|
}, never, import("../credentials.ts").Credentials>;
|
|
60
60
|
//# sourceMappingURL=getProjectAdvisorSecurityIssues.d.ts.map
|
|
@@ -76,62 +76,62 @@ export type GetProjectBranchOutput = typeof GetProjectBranchOutput.Type;
|
|
|
76
76
|
* @param branch_id - The branch ID
|
|
77
77
|
*/
|
|
78
78
|
export declare const getProjectBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
79
|
-
readonly branch_id: string;
|
|
80
79
|
readonly project_id: string;
|
|
80
|
+
readonly branch_id: string;
|
|
81
81
|
}, {
|
|
82
|
-
readonly annotation: {
|
|
83
|
-
readonly created_at?: string | undefined;
|
|
84
|
-
readonly object: {
|
|
85
|
-
readonly id: string;
|
|
86
|
-
readonly type: string;
|
|
87
|
-
};
|
|
88
|
-
readonly updated_at?: string | undefined;
|
|
89
|
-
readonly value: {
|
|
90
|
-
readonly [x: string]: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
82
|
readonly branch: {
|
|
94
|
-
readonly active_time_seconds: number;
|
|
95
|
-
readonly compute_time_seconds: number;
|
|
96
|
-
readonly cpu_used_sec: number;
|
|
97
|
-
readonly created_at: string;
|
|
98
|
-
readonly created_by?: {
|
|
99
|
-
readonly image?: string | undefined;
|
|
100
|
-
readonly name?: string | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
readonly creation_source: string;
|
|
103
|
-
readonly current_state: string;
|
|
104
|
-
readonly data_transfer_bytes: number;
|
|
105
|
-
readonly default: boolean;
|
|
106
|
-
readonly expires_at?: string | undefined;
|
|
107
83
|
readonly id: string;
|
|
108
|
-
readonly
|
|
109
|
-
readonly last_reset_at?: string | undefined;
|
|
110
|
-
readonly logical_size?: number | undefined;
|
|
111
|
-
readonly name: string;
|
|
84
|
+
readonly project_id: string;
|
|
112
85
|
readonly parent_id?: string | undefined;
|
|
113
86
|
readonly parent_lsn?: string | undefined;
|
|
114
87
|
readonly parent_timestamp?: string | undefined;
|
|
88
|
+
readonly name: string;
|
|
89
|
+
readonly current_state: string;
|
|
115
90
|
readonly pending_state?: string | undefined;
|
|
91
|
+
readonly state_changed_at: string;
|
|
92
|
+
readonly logical_size?: number | undefined;
|
|
93
|
+
readonly creation_source: string;
|
|
116
94
|
readonly primary?: boolean | undefined;
|
|
117
|
-
readonly
|
|
95
|
+
readonly default: boolean;
|
|
118
96
|
readonly protected: boolean;
|
|
119
|
-
readonly
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
97
|
+
readonly cpu_used_sec: number;
|
|
98
|
+
readonly compute_time_seconds: number;
|
|
99
|
+
readonly active_time_seconds: number;
|
|
100
|
+
readonly written_data_bytes: number;
|
|
101
|
+
readonly data_transfer_bytes: number;
|
|
102
|
+
readonly created_at: string;
|
|
103
|
+
readonly updated_at: string;
|
|
104
|
+
readonly ttl_interval_seconds?: number | undefined;
|
|
105
|
+
readonly expires_at?: string | undefined;
|
|
106
|
+
readonly last_reset_at?: string | undefined;
|
|
107
|
+
readonly created_by?: {
|
|
108
|
+
readonly name?: string | undefined;
|
|
109
|
+
readonly image?: string | undefined;
|
|
123
110
|
} | undefined;
|
|
111
|
+
readonly init_source?: string | undefined;
|
|
124
112
|
readonly restore_status?: string | undefined;
|
|
125
|
-
readonly restored_as?: string | undefined;
|
|
126
113
|
readonly restored_from?: string | undefined;
|
|
114
|
+
readonly restored_as?: string | undefined;
|
|
127
115
|
readonly restricted_actions?: readonly {
|
|
128
116
|
readonly name: string;
|
|
129
117
|
readonly reason: string;
|
|
130
118
|
}[] | undefined;
|
|
131
|
-
readonly
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
119
|
+
readonly recovery?: {
|
|
120
|
+
readonly deleted_at: string;
|
|
121
|
+
readonly recoverable_until: string;
|
|
122
|
+
readonly deletion_method: "ttl" | "user";
|
|
123
|
+
} | undefined;
|
|
124
|
+
};
|
|
125
|
+
readonly annotation: {
|
|
126
|
+
readonly object: {
|
|
127
|
+
readonly type: string;
|
|
128
|
+
readonly id: string;
|
|
129
|
+
};
|
|
130
|
+
readonly value: {
|
|
131
|
+
readonly [x: string]: string;
|
|
132
|
+
};
|
|
133
|
+
readonly created_at?: string | undefined;
|
|
134
|
+
readonly updated_at?: string | undefined;
|
|
135
135
|
};
|
|
136
136
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
137
137
|
//# sourceMappingURL=getProjectBranch.d.ts.map
|
|
@@ -33,24 +33,24 @@ export type GetProjectBranchDataAPIOutput = typeof GetProjectBranchDataAPIOutput
|
|
|
33
33
|
* @param database_name - The database name
|
|
34
34
|
*/
|
|
35
35
|
export declare const getProjectBranchDataAPI: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
+
readonly project_id: string;
|
|
36
37
|
readonly branch_id: string;
|
|
37
38
|
readonly database_name: string;
|
|
38
|
-
readonly project_id: string;
|
|
39
39
|
}, {
|
|
40
|
-
readonly
|
|
40
|
+
readonly url: string;
|
|
41
|
+
readonly status: string;
|
|
41
42
|
readonly settings?: {
|
|
42
43
|
readonly db_aggregates_enabled?: boolean | undefined;
|
|
43
44
|
readonly db_anon_role?: string | undefined;
|
|
44
45
|
readonly db_extra_search_path?: string | undefined;
|
|
45
46
|
readonly db_max_rows?: number | undefined;
|
|
46
47
|
readonly db_schemas?: readonly string[] | undefined;
|
|
47
|
-
readonly jwt_cache_max_lifetime?: number | undefined;
|
|
48
48
|
readonly jwt_role_claim_key?: string | undefined;
|
|
49
|
+
readonly jwt_cache_max_lifetime?: number | undefined;
|
|
49
50
|
readonly openapi_mode?: string | undefined;
|
|
50
51
|
readonly server_cors_allowed_origins?: string | undefined;
|
|
51
52
|
readonly server_timing_enabled?: boolean | undefined;
|
|
52
53
|
} | null | undefined;
|
|
53
|
-
readonly
|
|
54
|
-
readonly url: string;
|
|
54
|
+
readonly available_schemas?: readonly string[] | null | undefined;
|
|
55
55
|
}, never, import("../credentials.ts").Credentials>;
|
|
56
56
|
//# sourceMappingURL=getProjectBranchDataAPI.d.ts.map
|
|
@@ -30,16 +30,16 @@ export type GetProjectBranchDatabaseOutput = typeof GetProjectBranchDatabaseOutp
|
|
|
30
30
|
* @param database_name - The database name
|
|
31
31
|
*/
|
|
32
32
|
export declare const getProjectBranchDatabase: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
+
readonly project_id: string;
|
|
33
34
|
readonly branch_id: string;
|
|
34
35
|
readonly database_name: string;
|
|
35
|
-
readonly project_id: string;
|
|
36
36
|
}, {
|
|
37
37
|
readonly database: {
|
|
38
|
-
readonly branch_id: string;
|
|
39
|
-
readonly created_at: string;
|
|
40
38
|
readonly id: number;
|
|
39
|
+
readonly branch_id: string;
|
|
41
40
|
readonly name: string;
|
|
42
41
|
readonly owner_name: string;
|
|
42
|
+
readonly created_at: string;
|
|
43
43
|
readonly updated_at: string;
|
|
44
44
|
};
|
|
45
45
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
@@ -33,17 +33,17 @@ export type GetProjectBranchRoleOutput = typeof GetProjectBranchRoleOutput.Type;
|
|
|
33
33
|
* @param role_name - The role name
|
|
34
34
|
*/
|
|
35
35
|
export declare const getProjectBranchRole: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
-
readonly branch_id: string;
|
|
37
36
|
readonly project_id: string;
|
|
37
|
+
readonly branch_id: string;
|
|
38
38
|
readonly role_name: string;
|
|
39
39
|
}, {
|
|
40
40
|
readonly role: {
|
|
41
|
-
readonly authentication_method?: string | undefined;
|
|
42
41
|
readonly branch_id: string;
|
|
43
|
-
readonly created_at: string;
|
|
44
42
|
readonly name: string;
|
|
45
43
|
readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
46
44
|
readonly protected?: boolean | undefined;
|
|
45
|
+
readonly authentication_method?: string | undefined;
|
|
46
|
+
readonly created_at: string;
|
|
47
47
|
readonly updated_at: string;
|
|
48
48
|
};
|
|
49
49
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
@@ -24,8 +24,8 @@ export type GetProjectBranchRolePasswordOutput = typeof GetProjectBranchRolePass
|
|
|
24
24
|
* @param role_name - The role name
|
|
25
25
|
*/
|
|
26
26
|
export declare const getProjectBranchRolePassword: import("@distilled.cloud/core/client").OperationMethod<{
|
|
27
|
-
readonly branch_id: string;
|
|
28
27
|
readonly project_id: string;
|
|
28
|
+
readonly branch_id: string;
|
|
29
29
|
readonly role_name: string;
|
|
30
30
|
}, {
|
|
31
31
|
readonly password: string | import("effect/Redacted").Redacted<string>;
|
|
@@ -53,35 +53,35 @@ export type GetProjectBranchSchemaOutput = typeof GetProjectBranchSchemaOutput.T
|
|
|
53
53
|
|
|
54
54
|
*/
|
|
55
55
|
export declare const getProjectBranchSchema: import("@distilled.cloud/core/client").OperationMethod<{
|
|
56
|
+
readonly project_id: string;
|
|
56
57
|
readonly branch_id: string;
|
|
57
58
|
readonly db_name: string;
|
|
58
|
-
readonly format?: string | undefined;
|
|
59
59
|
readonly lsn?: string | undefined;
|
|
60
|
-
readonly project_id: string;
|
|
61
60
|
readonly timestamp?: string | undefined;
|
|
61
|
+
readonly format?: string | undefined;
|
|
62
62
|
}, {
|
|
63
|
+
readonly sql?: string | undefined;
|
|
63
64
|
readonly json?: {
|
|
64
65
|
readonly tables: readonly {
|
|
66
|
+
readonly schema: string;
|
|
67
|
+
readonly name: string;
|
|
65
68
|
readonly columns: readonly {
|
|
66
|
-
readonly generated?: boolean | undefined;
|
|
67
69
|
readonly name: string;
|
|
68
|
-
readonly nullable?: boolean | undefined;
|
|
69
70
|
readonly type: string;
|
|
71
|
+
readonly nullable?: boolean | undefined;
|
|
72
|
+
readonly generated?: boolean | undefined;
|
|
70
73
|
}[];
|
|
71
74
|
readonly constraints?: readonly {
|
|
75
|
+
readonly type: string;
|
|
72
76
|
readonly columns: readonly string[];
|
|
73
77
|
readonly name?: string | undefined;
|
|
74
78
|
readonly referenced_table?: {
|
|
75
|
-
readonly columns: readonly string[];
|
|
76
79
|
readonly schema: string;
|
|
77
80
|
readonly table: string;
|
|
81
|
+
readonly columns: readonly string[];
|
|
78
82
|
} | undefined;
|
|
79
|
-
readonly type: string;
|
|
80
83
|
}[] | undefined;
|
|
81
|
-
readonly name: string;
|
|
82
|
-
readonly schema: string;
|
|
83
84
|
}[];
|
|
84
85
|
} | undefined;
|
|
85
|
-
readonly sql?: string | undefined;
|
|
86
86
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
87
87
|
//# sourceMappingURL=getProjectBranchSchema.d.ts.map
|
|
@@ -34,14 +34,14 @@ export type GetProjectBranchSchemaComparisonOutput = typeof GetProjectBranchSche
|
|
|
34
34
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const getProjectBranchSchemaComparison: import("@distilled.cloud/core/client").OperationMethod<{
|
|
37
|
-
readonly
|
|
38
|
-
readonly base_lsn?: string | undefined;
|
|
39
|
-
readonly base_timestamp?: string | undefined;
|
|
37
|
+
readonly project_id: string;
|
|
40
38
|
readonly branch_id: string;
|
|
39
|
+
readonly base_branch_id?: string | undefined;
|
|
41
40
|
readonly db_name: string;
|
|
42
41
|
readonly lsn?: string | undefined;
|
|
43
|
-
readonly project_id: string;
|
|
44
42
|
readonly timestamp?: string | undefined;
|
|
43
|
+
readonly base_lsn?: string | undefined;
|
|
44
|
+
readonly base_timestamp?: string | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
readonly diff?: string | undefined;
|
|
47
47
|
}, NotFound, import("../credentials.ts").Credentials>;
|