@distilled.cloud/neon 0.19.1 → 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
|
@@ -71,30 +71,21 @@ export type StartProjectEndpointOutput = typeof StartProjectEndpointOutput.Type;
|
|
|
71
71
|
* @param endpoint_id - The endpoint ID
|
|
72
72
|
*/
|
|
73
73
|
export declare const startProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
|
|
74
|
-
readonly endpoint_id: string;
|
|
75
74
|
readonly project_id: string;
|
|
75
|
+
readonly endpoint_id: string;
|
|
76
76
|
}, {
|
|
77
77
|
readonly endpoint: {
|
|
78
|
-
readonly autoscaling_limit_max_cu: number;
|
|
79
|
-
readonly autoscaling_limit_min_cu: number;
|
|
80
|
-
readonly branch_id: string;
|
|
81
|
-
readonly compute_release_version?: string | undefined;
|
|
82
|
-
readonly created_at: string;
|
|
83
|
-
readonly creation_source: string;
|
|
84
|
-
readonly current_state: "active" | "idle" | "init";
|
|
85
|
-
readonly disabled: boolean;
|
|
86
78
|
readonly host: string;
|
|
87
79
|
readonly id: string;
|
|
88
|
-
readonly last_active?: string | undefined;
|
|
89
80
|
readonly name?: string | undefined;
|
|
90
|
-
readonly passwordless_access: boolean;
|
|
91
|
-
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
92
|
-
readonly pooler_enabled: boolean;
|
|
93
|
-
readonly pooler_mode: "transaction";
|
|
94
81
|
readonly project_id: string;
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
82
|
+
readonly branch_id: string;
|
|
83
|
+
readonly autoscaling_limit_min_cu: number;
|
|
84
|
+
readonly autoscaling_limit_max_cu: number;
|
|
97
85
|
readonly region_id: string;
|
|
86
|
+
readonly type: "read_only" | "read_write";
|
|
87
|
+
readonly current_state: "active" | "idle" | "init";
|
|
88
|
+
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
98
89
|
readonly settings: {
|
|
99
90
|
readonly pg_settings?: {
|
|
100
91
|
readonly [x: string]: string;
|
|
@@ -103,29 +94,38 @@ export declare const startProjectEndpoint: import("@distilled.cloud/core/client"
|
|
|
103
94
|
readonly [x: string]: string;
|
|
104
95
|
} | undefined;
|
|
105
96
|
readonly preload_libraries?: {
|
|
106
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
107
97
|
readonly use_defaults?: boolean | undefined;
|
|
98
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
108
99
|
} | undefined;
|
|
109
100
|
};
|
|
101
|
+
readonly pooler_enabled: boolean;
|
|
102
|
+
readonly pooler_mode: "transaction";
|
|
103
|
+
readonly disabled: boolean;
|
|
104
|
+
readonly passwordless_access: boolean;
|
|
105
|
+
readonly last_active?: string | undefined;
|
|
106
|
+
readonly creation_source: string;
|
|
107
|
+
readonly created_at: string;
|
|
108
|
+
readonly updated_at: string;
|
|
110
109
|
readonly started_at?: string | undefined;
|
|
111
|
-
readonly suspend_timeout_seconds: number;
|
|
112
110
|
readonly suspended_at?: string | undefined;
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
111
|
+
readonly proxy_host: string;
|
|
112
|
+
readonly suspend_timeout_seconds: number;
|
|
113
|
+
readonly provisioner: string;
|
|
114
|
+
readonly compute_release_version?: string | undefined;
|
|
115
115
|
};
|
|
116
116
|
readonly operations: readonly {
|
|
117
|
-
readonly
|
|
117
|
+
readonly id: string;
|
|
118
|
+
readonly project_id: string;
|
|
118
119
|
readonly branch_id?: string | undefined;
|
|
119
|
-
readonly created_at: string;
|
|
120
120
|
readonly endpoint_id?: string | undefined;
|
|
121
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
122
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
121
123
|
readonly error?: string | undefined;
|
|
122
124
|
readonly failures_count: number;
|
|
123
|
-
readonly id: string;
|
|
124
|
-
readonly project_id: string;
|
|
125
125
|
readonly retry_at?: string | undefined;
|
|
126
|
-
readonly
|
|
127
|
-
readonly total_duration_ms: number;
|
|
126
|
+
readonly created_at: string;
|
|
128
127
|
readonly updated_at: string;
|
|
128
|
+
readonly total_duration_ms: number;
|
|
129
129
|
}[];
|
|
130
130
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
131
131
|
//# sourceMappingURL=startProjectEndpoint.d.ts.map
|
|
@@ -70,30 +70,21 @@ export type SuspendProjectEndpointOutput = typeof SuspendProjectEndpointOutput.T
|
|
|
70
70
|
* @param endpoint_id - The endpoint ID
|
|
71
71
|
*/
|
|
72
72
|
export declare const suspendProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
|
|
73
|
-
readonly endpoint_id: string;
|
|
74
73
|
readonly project_id: string;
|
|
74
|
+
readonly endpoint_id: string;
|
|
75
75
|
}, {
|
|
76
76
|
readonly endpoint: {
|
|
77
|
-
readonly autoscaling_limit_max_cu: number;
|
|
78
|
-
readonly autoscaling_limit_min_cu: number;
|
|
79
|
-
readonly branch_id: string;
|
|
80
|
-
readonly compute_release_version?: string | undefined;
|
|
81
|
-
readonly created_at: string;
|
|
82
|
-
readonly creation_source: string;
|
|
83
|
-
readonly current_state: "active" | "idle" | "init";
|
|
84
|
-
readonly disabled: boolean;
|
|
85
77
|
readonly host: string;
|
|
86
78
|
readonly id: string;
|
|
87
|
-
readonly last_active?: string | undefined;
|
|
88
79
|
readonly name?: string | undefined;
|
|
89
|
-
readonly passwordless_access: boolean;
|
|
90
|
-
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
91
|
-
readonly pooler_enabled: boolean;
|
|
92
|
-
readonly pooler_mode: "transaction";
|
|
93
80
|
readonly project_id: string;
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
81
|
+
readonly branch_id: string;
|
|
82
|
+
readonly autoscaling_limit_min_cu: number;
|
|
83
|
+
readonly autoscaling_limit_max_cu: number;
|
|
96
84
|
readonly region_id: string;
|
|
85
|
+
readonly type: "read_only" | "read_write";
|
|
86
|
+
readonly current_state: "active" | "idle" | "init";
|
|
87
|
+
readonly pending_state?: "active" | "idle" | "init" | undefined;
|
|
97
88
|
readonly settings: {
|
|
98
89
|
readonly pg_settings?: {
|
|
99
90
|
readonly [x: string]: string;
|
|
@@ -102,29 +93,38 @@ export declare const suspendProjectEndpoint: import("@distilled.cloud/core/clien
|
|
|
102
93
|
readonly [x: string]: string;
|
|
103
94
|
} | undefined;
|
|
104
95
|
readonly preload_libraries?: {
|
|
105
|
-
readonly enabled_libraries?: readonly string[] | undefined;
|
|
106
96
|
readonly use_defaults?: boolean | undefined;
|
|
97
|
+
readonly enabled_libraries?: readonly string[] | undefined;
|
|
107
98
|
} | undefined;
|
|
108
99
|
};
|
|
100
|
+
readonly pooler_enabled: boolean;
|
|
101
|
+
readonly pooler_mode: "transaction";
|
|
102
|
+
readonly disabled: boolean;
|
|
103
|
+
readonly passwordless_access: boolean;
|
|
104
|
+
readonly last_active?: string | undefined;
|
|
105
|
+
readonly creation_source: string;
|
|
106
|
+
readonly created_at: string;
|
|
107
|
+
readonly updated_at: string;
|
|
109
108
|
readonly started_at?: string | undefined;
|
|
110
|
-
readonly suspend_timeout_seconds: number;
|
|
111
109
|
readonly suspended_at?: string | undefined;
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
110
|
+
readonly proxy_host: string;
|
|
111
|
+
readonly suspend_timeout_seconds: number;
|
|
112
|
+
readonly provisioner: string;
|
|
113
|
+
readonly compute_release_version?: string | undefined;
|
|
114
114
|
};
|
|
115
115
|
readonly operations: readonly {
|
|
116
|
-
readonly
|
|
116
|
+
readonly id: string;
|
|
117
|
+
readonly project_id: string;
|
|
117
118
|
readonly branch_id?: string | undefined;
|
|
118
|
-
readonly created_at: string;
|
|
119
119
|
readonly endpoint_id?: string | undefined;
|
|
120
|
+
readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
|
|
121
|
+
readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
|
|
120
122
|
readonly error?: string | undefined;
|
|
121
123
|
readonly failures_count: number;
|
|
122
|
-
readonly id: string;
|
|
123
|
-
readonly project_id: string;
|
|
124
124
|
readonly retry_at?: string | undefined;
|
|
125
|
-
readonly
|
|
126
|
-
readonly total_duration_ms: number;
|
|
125
|
+
readonly created_at: string;
|
|
127
126
|
readonly updated_at: string;
|
|
127
|
+
readonly total_duration_ms: number;
|
|
128
128
|
}[];
|
|
129
129
|
}, NotFound, import("../credentials.ts").Credentials>;
|
|
130
130
|
//# sourceMappingURL=suspendProjectEndpoint.d.ts.map
|
|
@@ -14,8 +14,8 @@ export type TransferNeonAuthProviderProjectOutput = typeof TransferNeonAuthProvi
|
|
|
14
14
|
* Transfer ownership of your Neon-managed auth project to your own auth provider account.
|
|
15
15
|
*/
|
|
16
16
|
export declare const transferNeonAuthProviderProject: import("@distilled.cloud/core/client").OperationMethod<{
|
|
17
|
-
readonly auth_provider: "better_auth" | "mock" | "stack" | "stack_v2";
|
|
18
17
|
readonly project_id: string;
|
|
18
|
+
readonly auth_provider: "better_auth" | "mock" | "stack" | "stack_v2";
|
|
19
19
|
}, {
|
|
20
20
|
readonly url: string;
|
|
21
21
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -16,8 +16,8 @@ export type TransferProjectsFromOrgToOrgOutput = typeof TransferProjectsFromOrgT
|
|
|
16
16
|
* @param source_org_id - The Neon organization ID (source org, which currently owns the project)
|
|
17
17
|
*/
|
|
18
18
|
export declare const transferProjectsFromOrgToOrg: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
+
readonly source_org_id: string;
|
|
19
20
|
readonly destination_org_id: string;
|
|
20
21
|
readonly project_ids: readonly string[];
|
|
21
|
-
readonly source_org_id: string;
|
|
22
22
|
}, {}, UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
23
23
|
//# sourceMappingURL=transferProjectsFromOrgToOrg.d.ts.map
|
|
@@ -25,16 +25,16 @@ export type UpdateBranchNeonAuthOauthProviderOutput = typeof UpdateBranchNeonAut
|
|
|
25
25
|
* @param oauth_provider_id - The OAuth provider ID
|
|
26
26
|
*/
|
|
27
27
|
export declare const updateBranchNeonAuthOauthProvider: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
+
readonly project_id: string;
|
|
28
29
|
readonly branch_id: string;
|
|
30
|
+
readonly oauth_provider_id: string;
|
|
29
31
|
readonly client_id?: string | undefined;
|
|
30
32
|
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
31
33
|
readonly microsoft_tenant_id?: string | undefined;
|
|
32
|
-
readonly oauth_provider_id: string;
|
|
33
|
-
readonly project_id: string;
|
|
34
34
|
}, {
|
|
35
|
-
readonly client_id?: string | undefined;
|
|
36
|
-
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
37
35
|
readonly id: "github" | "google" | "microsoft" | "vercel";
|
|
38
36
|
readonly type: "shared" | "standard";
|
|
37
|
+
readonly client_id?: string | undefined;
|
|
38
|
+
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
39
39
|
}, never, import("../credentials.ts").Credentials>;
|
|
40
40
|
//# sourceMappingURL=updateBranchNeonAuthOauthProvider.d.ts.map
|
|
@@ -36,24 +36,24 @@ export type UpdateMaskingRulesOutput = typeof UpdateMaskingRulesOutput.Type;
|
|
|
36
36
|
* @param branch_id - The branch ID
|
|
37
37
|
*/
|
|
38
38
|
export declare const updateMaskingRules: import("@distilled.cloud/core/client").OperationMethod<{
|
|
39
|
+
readonly project_id: string;
|
|
39
40
|
readonly branch_id: string;
|
|
40
41
|
readonly masking_rules: readonly {
|
|
41
|
-
readonly column_name: string;
|
|
42
42
|
readonly database_name: string;
|
|
43
|
-
readonly masking_function?: string | undefined;
|
|
44
|
-
readonly masking_value?: string | undefined;
|
|
45
43
|
readonly schema_name: string;
|
|
46
44
|
readonly table_name: string;
|
|
45
|
+
readonly column_name: string;
|
|
46
|
+
readonly masking_function?: string | undefined;
|
|
47
|
+
readonly masking_value?: string | undefined;
|
|
47
48
|
}[];
|
|
48
|
-
readonly project_id: string;
|
|
49
49
|
}, {
|
|
50
50
|
readonly masking_rules: readonly {
|
|
51
|
-
readonly column_name: string;
|
|
52
51
|
readonly database_name: string;
|
|
53
|
-
readonly masking_function?: string | undefined;
|
|
54
|
-
readonly masking_value?: string | undefined;
|
|
55
52
|
readonly schema_name: string;
|
|
56
53
|
readonly table_name: string;
|
|
54
|
+
readonly column_name: string;
|
|
55
|
+
readonly masking_function?: string | undefined;
|
|
56
|
+
readonly masking_value?: string | undefined;
|
|
57
57
|
}[];
|
|
58
58
|
}, never, import("../credentials.ts").Credentials>;
|
|
59
59
|
//# sourceMappingURL=updateMaskingRules.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type UpdateNeonAuthAllowLocalhostOutput = typeof UpdateNeonAuthAllowLocal
|
|
|
18
18
|
* @param branch_id - The Neon branch ID
|
|
19
19
|
*/
|
|
20
20
|
export declare const updateNeonAuthAllowLocalhost: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly allow_localhost: boolean;
|
|
22
|
-
readonly branch_id: string;
|
|
23
21
|
readonly project_id: string;
|
|
22
|
+
readonly branch_id: string;
|
|
23
|
+
readonly allow_localhost: boolean;
|
|
24
24
|
}, {
|
|
25
25
|
readonly allow_localhost: boolean;
|
|
26
26
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -19,9 +19,9 @@ export type UpdateNeonAuthConfigOutput = typeof UpdateNeonAuthConfigOutput.Type;
|
|
|
19
19
|
* @param branch_id - The Neon branch ID
|
|
20
20
|
*/
|
|
21
21
|
export declare const updateNeonAuthConfig: import("@distilled.cloud/core/client").OperationMethod<{
|
|
22
|
+
readonly project_id: string;
|
|
22
23
|
readonly branch_id: string;
|
|
23
24
|
readonly name: string;
|
|
24
|
-
readonly project_id: string;
|
|
25
25
|
}, {
|
|
26
26
|
readonly name: string;
|
|
27
27
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -30,22 +30,22 @@ export type UpdateNeonAuthEmailAndPasswordConfigOutput = typeof UpdateNeonAuthEm
|
|
|
30
30
|
* @param branch_id - The Neon branch ID
|
|
31
31
|
*/
|
|
32
32
|
export declare const updateNeonAuthEmailAndPasswordConfig: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
-
readonly
|
|
33
|
+
readonly project_id: string;
|
|
34
34
|
readonly branch_id: string;
|
|
35
|
-
readonly disable_sign_up?: boolean | undefined;
|
|
36
|
-
readonly email_verification_method?: "link" | "otp" | undefined;
|
|
37
35
|
readonly enabled?: boolean | undefined;
|
|
38
|
-
readonly
|
|
36
|
+
readonly email_verification_method?: "link" | "otp" | undefined;
|
|
39
37
|
readonly require_email_verification?: boolean | undefined;
|
|
40
|
-
readonly
|
|
38
|
+
readonly auto_sign_in_after_verification?: boolean | undefined;
|
|
41
39
|
readonly send_verification_email_on_sign_up?: boolean | undefined;
|
|
40
|
+
readonly send_verification_email_on_sign_in?: boolean | undefined;
|
|
41
|
+
readonly disable_sign_up?: boolean | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
readonly auto_sign_in_after_verification: boolean;
|
|
44
|
-
readonly disable_sign_up: boolean;
|
|
45
|
-
readonly email_verification_method: "link" | "otp";
|
|
46
43
|
readonly enabled: boolean;
|
|
44
|
+
readonly email_verification_method: "link" | "otp";
|
|
47
45
|
readonly require_email_verification: boolean;
|
|
48
|
-
readonly
|
|
46
|
+
readonly auto_sign_in_after_verification: boolean;
|
|
49
47
|
readonly send_verification_email_on_sign_up: boolean;
|
|
48
|
+
readonly send_verification_email_on_sign_in: boolean;
|
|
49
|
+
readonly disable_sign_up: boolean;
|
|
50
50
|
}, never, import("../credentials.ts").Credentials>;
|
|
51
51
|
//# sourceMappingURL=updateNeonAuthEmailAndPasswordConfig.d.ts.map
|
|
@@ -15,7 +15,7 @@ export type UpdateNeonAuthEmailProviderOutput = typeof UpdateNeonAuthEmailProvid
|
|
|
15
15
|
* @param branch_id - The Neon branch ID
|
|
16
16
|
*/
|
|
17
17
|
export declare const updateNeonAuthEmailProvider: import("@distilled.cloud/core/client").OperationMethod<{
|
|
18
|
-
readonly branch_id: string;
|
|
19
18
|
readonly project_id: string;
|
|
19
|
+
readonly branch_id: string;
|
|
20
20
|
}, unknown, never, import("../credentials.ts").Credentials>;
|
|
21
21
|
//# sourceMappingURL=updateNeonAuthEmailProvider.d.ts.map
|
|
@@ -23,14 +23,14 @@ export type UpdateNeonAuthMagicLinkPluginOutput = typeof UpdateNeonAuthMagicLink
|
|
|
23
23
|
* @param branch_id - The Neon branch ID
|
|
24
24
|
*/
|
|
25
25
|
export declare const updateNeonAuthMagicLinkPlugin: import("@distilled.cloud/core/client").OperationMethod<{
|
|
26
|
+
readonly project_id: string;
|
|
26
27
|
readonly branch_id: string;
|
|
27
|
-
readonly disable_sign_up?: boolean | undefined;
|
|
28
28
|
readonly enabled?: boolean | undefined;
|
|
29
29
|
readonly expires_in?: number | undefined;
|
|
30
|
-
readonly
|
|
30
|
+
readonly disable_sign_up?: boolean | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
readonly disable_sign_up: boolean;
|
|
33
32
|
readonly enabled: boolean;
|
|
34
33
|
readonly expires_in: number;
|
|
34
|
+
readonly disable_sign_up: boolean;
|
|
35
35
|
}, never, import("../credentials.ts").Credentials>;
|
|
36
36
|
//# sourceMappingURL=updateNeonAuthMagicLinkPlugin.d.ts.map
|
|
@@ -27,18 +27,18 @@ export type UpdateNeonAuthOrganizationPluginOutput = typeof UpdateNeonAuthOrgani
|
|
|
27
27
|
* @param branch_id - The Neon branch ID
|
|
28
28
|
*/
|
|
29
29
|
export declare const updateNeonAuthOrganizationPlugin: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
|
+
readonly project_id: string;
|
|
30
31
|
readonly branch_id: string;
|
|
31
|
-
readonly creator_role?: "admin" | "owner" | undefined;
|
|
32
32
|
readonly enabled?: boolean | undefined;
|
|
33
|
-
readonly membership_limit?: number | undefined;
|
|
34
33
|
readonly organization_limit?: number | undefined;
|
|
35
|
-
readonly
|
|
34
|
+
readonly membership_limit?: number | undefined;
|
|
35
|
+
readonly creator_role?: "admin" | "owner" | undefined;
|
|
36
36
|
readonly send_invitation_email?: boolean | undefined;
|
|
37
37
|
}, {
|
|
38
|
-
readonly creator_role: "admin" | "owner";
|
|
39
38
|
readonly enabled: boolean;
|
|
40
|
-
readonly membership_limit: number;
|
|
41
39
|
readonly organization_limit: number;
|
|
40
|
+
readonly membership_limit: number;
|
|
41
|
+
readonly creator_role: "admin" | "owner";
|
|
42
42
|
readonly send_invitation_email: boolean;
|
|
43
43
|
}, never, import("../credentials.ts").Credentials>;
|
|
44
44
|
//# sourceMappingURL=updateNeonAuthOrganizationPlugin.d.ts.map
|
|
@@ -25,14 +25,14 @@ export type UpdateNeonAuthPhoneNumberPluginOutput = typeof UpdateNeonAuthPhoneNu
|
|
|
25
25
|
* @param branch_id - The Neon branch ID
|
|
26
26
|
*/
|
|
27
27
|
export declare const updateNeonAuthPhoneNumberPlugin: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
-
readonly
|
|
28
|
+
readonly project_id: string;
|
|
29
29
|
readonly branch_id: string;
|
|
30
30
|
readonly enabled: boolean;
|
|
31
31
|
readonly otp_expires_in?: number | undefined;
|
|
32
|
-
readonly project_id: string;
|
|
33
|
-
}, {
|
|
34
32
|
readonly allowed_attempts?: number | undefined;
|
|
33
|
+
}, {
|
|
35
34
|
readonly enabled: boolean;
|
|
36
35
|
readonly otp_expires_in?: number | undefined;
|
|
36
|
+
readonly allowed_attempts?: number | undefined;
|
|
37
37
|
}, never, import("../credentials.ts").Credentials>;
|
|
38
38
|
//# sourceMappingURL=updateNeonAuthPhoneNumberPlugin.d.ts.map
|
|
@@ -20,9 +20,9 @@ export type UpdateNeonAuthUserRoleOutput = typeof UpdateNeonAuthUserRoleOutput.T
|
|
|
20
20
|
* @param auth_user_id - The Neon user ID
|
|
21
21
|
*/
|
|
22
22
|
export declare const updateNeonAuthUserRole: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
-
readonly auth_user_id: string;
|
|
24
|
-
readonly branch_id: string;
|
|
25
23
|
readonly project_id: string;
|
|
24
|
+
readonly branch_id: string;
|
|
25
|
+
readonly auth_user_id: string;
|
|
26
26
|
readonly roles: readonly string[];
|
|
27
27
|
}, {
|
|
28
28
|
readonly id: string;
|
|
@@ -24,16 +24,16 @@ export type UpdateNeonAuthWebhookConfigOutput = typeof UpdateNeonAuthWebhookConf
|
|
|
24
24
|
* @param branch_id - The Neon branch ID
|
|
25
25
|
*/
|
|
26
26
|
export declare const updateNeonAuthWebhookConfig: import("@distilled.cloud/core/client").OperationMethod<{
|
|
27
|
+
readonly project_id: string;
|
|
27
28
|
readonly branch_id: string;
|
|
28
29
|
readonly enabled: boolean;
|
|
30
|
+
readonly webhook_url?: string | undefined;
|
|
29
31
|
readonly enabled_events?: readonly ("organization.invitation.accepted" | "organization.invitation.created" | "phone_number.verified" | "send.magic_link" | "send.otp" | "user.before_create" | "user.created")[] | undefined;
|
|
30
|
-
readonly project_id: string;
|
|
31
32
|
readonly timeout_seconds?: number | undefined;
|
|
32
|
-
readonly webhook_url?: string | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
readonly enabled: boolean;
|
|
35
|
+
readonly webhook_url?: string | undefined;
|
|
35
36
|
readonly enabled_events?: readonly ("organization.invitation.accepted" | "organization.invitation.created" | "phone_number.verified" | "send.magic_link" | "send.otp" | "user.before_create" | "user.created")[] | undefined;
|
|
36
37
|
readonly timeout_seconds?: number | undefined;
|
|
37
|
-
readonly webhook_url?: string | undefined;
|
|
38
38
|
}, never, import("../credentials.ts").Credentials>;
|
|
39
39
|
//# sourceMappingURL=updateNeonAuthWebhookConfig.d.ts.map
|
|
@@ -22,14 +22,14 @@ export type UpdateOrganizationMemberOutput = typeof UpdateOrganizationMemberOutp
|
|
|
22
22
|
* @param member_id - The Neon organization member ID
|
|
23
23
|
*/
|
|
24
24
|
export declare const updateOrganizationMember: import("@distilled.cloud/core/client").OperationMethod<{
|
|
25
|
-
readonly member_id: string;
|
|
26
25
|
readonly org_id: string;
|
|
26
|
+
readonly member_id: string;
|
|
27
27
|
readonly role: "admin" | "member";
|
|
28
28
|
}, {
|
|
29
29
|
readonly id: string;
|
|
30
|
-
readonly
|
|
30
|
+
readonly user_id: string;
|
|
31
31
|
readonly org_id: string;
|
|
32
32
|
readonly role: "admin" | "member";
|
|
33
|
-
readonly
|
|
33
|
+
readonly joined_at?: string | undefined;
|
|
34
34
|
}, never, import("../credentials.ts").Credentials>;
|
|
35
35
|
//# sourceMappingURL=updateOrganizationMember.d.ts.map
|