@neon/tools 0.2.0 → 0.4.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/README.md +78 -14
- package/dist/index.d.ts +73 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -16
- package/dist/lib/customize.d.ts +16 -16
- package/dist/lib/customize.d.ts.map +1 -1
- package/dist/lib/customize.js +53 -67
- package/dist/lib/envelope.d.ts +5 -0
- package/dist/lib/envelope.d.ts.map +1 -0
- package/dist/lib/envelope.js +22 -0
- package/dist/lib/workflows.d.ts +315 -0
- package/dist/lib/workflows.d.ts.map +1 -0
- package/dist/lib/workflows.js +113 -0
- package/dist/operations.gen.d.ts +943 -1440
- package/dist/operations.gen.d.ts.map +1 -1
- package/dist/operations.gen.js +1663 -421
- package/package.json +2 -2
package/dist/operations.gen.d.ts
CHANGED
|
@@ -5,30 +5,22 @@ export declare const operationIds: readonly ["acceptProjectTransferRequest", "ad
|
|
|
5
5
|
export type NeonOperationId = (typeof operationIds)[number];
|
|
6
6
|
export declare const operationFactories: {
|
|
7
7
|
readonly acceptProjectTransferRequest: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
path: z.ZodObject<{
|
|
12
|
-
project_id: z.ZodString;
|
|
13
|
-
request_id: z.ZodString;
|
|
14
|
-
}, z.core.$strict>;
|
|
8
|
+
project_id: z.ZodString;
|
|
9
|
+
request_id: z.ZodString;
|
|
10
|
+
org_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15
11
|
}, z.core.$strict>, "accept_project_transfer_request", null>;
|
|
16
12
|
readonly addBranchNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
path: z.ZodObject<{
|
|
29
|
-
project_id: z.ZodString;
|
|
30
|
-
branch_id: z.ZodString;
|
|
31
|
-
}, z.core.$strict>;
|
|
13
|
+
project_id: z.ZodString;
|
|
14
|
+
branch_id: z.ZodString;
|
|
15
|
+
id: z.ZodEnum<{
|
|
16
|
+
github: "github";
|
|
17
|
+
google: "google";
|
|
18
|
+
microsoft: "microsoft";
|
|
19
|
+
vercel: "vercel";
|
|
20
|
+
}>;
|
|
21
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
22
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
23
|
+
microsoft_tenant_id: z.ZodOptional<z.ZodString>;
|
|
32
24
|
}, z.core.$strict>, "add_branch_neon_auth_oauth_provider", {
|
|
33
25
|
id: raw.NeonAuthOauthProviderId;
|
|
34
26
|
type: raw.NeonAuthOauthProviderType;
|
|
@@ -36,47 +28,35 @@ export declare const operationFactories: {
|
|
|
36
28
|
client_secret?: string | null | undefined;
|
|
37
29
|
}>;
|
|
38
30
|
readonly addBranchNeonAuthTrustedDomain: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
path: z.ZodObject<{
|
|
48
|
-
project_id: z.ZodString;
|
|
49
|
-
branch_id: z.ZodString;
|
|
50
|
-
}, z.core.$strict>;
|
|
31
|
+
project_id: z.ZodString;
|
|
32
|
+
branch_id: z.ZodString;
|
|
33
|
+
domain: z.ZodURL;
|
|
34
|
+
auth_provider: z.ZodEnum<{
|
|
35
|
+
mock: "mock";
|
|
36
|
+
stack: "stack";
|
|
37
|
+
better_auth: "better_auth";
|
|
38
|
+
}>;
|
|
51
39
|
}, z.core.$strict>, "add_branch_neon_auth_trusted_domain", unknown>;
|
|
52
40
|
readonly addNeonAuthDomainToRedirectURIWhitelist: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}, z.core.$strict>;
|
|
61
|
-
path: z.ZodObject<{
|
|
62
|
-
project_id: z.ZodString;
|
|
63
|
-
}, z.core.$strict>;
|
|
41
|
+
project_id: z.ZodString;
|
|
42
|
+
domain: z.ZodURL;
|
|
43
|
+
auth_provider: z.ZodEnum<{
|
|
44
|
+
mock: "mock";
|
|
45
|
+
stack: "stack";
|
|
46
|
+
better_auth: "better_auth";
|
|
47
|
+
}>;
|
|
64
48
|
}, z.core.$strict>, "add_neon_auth_domain_to_redirect_uri_whitelist", unknown>;
|
|
65
49
|
readonly addNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}, z.core.$strict>;
|
|
77
|
-
path: z.ZodObject<{
|
|
78
|
-
project_id: z.ZodString;
|
|
79
|
-
}, z.core.$strict>;
|
|
50
|
+
project_id: z.ZodString;
|
|
51
|
+
id: z.ZodEnum<{
|
|
52
|
+
github: "github";
|
|
53
|
+
google: "google";
|
|
54
|
+
microsoft: "microsoft";
|
|
55
|
+
vercel: "vercel";
|
|
56
|
+
}>;
|
|
57
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
58
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
59
|
+
microsoft_tenant_id: z.ZodOptional<z.ZodString>;
|
|
80
60
|
}, z.core.$strict>, "add_neon_auth_oauth_provider", {
|
|
81
61
|
id: raw.NeonAuthOauthProviderId;
|
|
82
62
|
type: raw.NeonAuthOauthProviderType;
|
|
@@ -84,17 +64,13 @@ export declare const operationFactories: {
|
|
|
84
64
|
client_secret?: string | null | undefined;
|
|
85
65
|
}>;
|
|
86
66
|
readonly addProjectJWKS: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}, z.core.$strict>;
|
|
95
|
-
path: z.ZodObject<{
|
|
96
|
-
project_id: z.ZodString;
|
|
97
|
-
}, z.core.$strict>;
|
|
67
|
+
project_id: z.ZodString;
|
|
68
|
+
jwks_url: z.ZodString;
|
|
69
|
+
provider_name: z.ZodString;
|
|
70
|
+
branch_id: z.ZodOptional<z.ZodString>;
|
|
71
|
+
jwt_audience: z.ZodOptional<z.ZodString>;
|
|
72
|
+
role_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
73
|
+
skip_role_creation: z.ZodOptional<z.ZodBoolean>;
|
|
98
74
|
}, z.core.$strict>, "add_project_jwks", {
|
|
99
75
|
jwks: {
|
|
100
76
|
id: string;
|
|
@@ -123,38 +99,24 @@ export declare const operationFactories: {
|
|
|
123
99
|
}[];
|
|
124
100
|
}>;
|
|
125
101
|
readonly assignOrganizationVPCEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
org_id: z.ZodString;
|
|
131
|
-
region_id: z.ZodString;
|
|
132
|
-
vpc_endpoint_id: z.ZodString;
|
|
133
|
-
}, z.core.$strict>;
|
|
102
|
+
org_id: z.ZodString;
|
|
103
|
+
region_id: z.ZodString;
|
|
104
|
+
vpc_endpoint_id: z.ZodString;
|
|
105
|
+
label: z.ZodString;
|
|
134
106
|
}, z.core.$strict>, "assign_organization_vpc_endpoint", unknown>;
|
|
135
107
|
readonly assignProjectVPCEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
path: z.ZodObject<{
|
|
140
|
-
project_id: z.ZodString;
|
|
141
|
-
vpc_endpoint_id: z.ZodString;
|
|
142
|
-
}, z.core.$strict>;
|
|
108
|
+
project_id: z.ZodString;
|
|
109
|
+
vpc_endpoint_id: z.ZodString;
|
|
110
|
+
label: z.ZodString;
|
|
143
111
|
}, z.core.$strict>, "assign_project_vpc_endpoint", unknown>;
|
|
144
112
|
readonly countProjectBranches: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}, z.core.$strict>;
|
|
148
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
149
|
-
search: z.ZodOptional<z.ZodString>;
|
|
150
|
-
}, z.core.$strict>>;
|
|
113
|
+
project_id: z.ZodString;
|
|
114
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
151
115
|
}, z.core.$strict>, "count_project_branches", {
|
|
152
116
|
count: number;
|
|
153
117
|
}>;
|
|
154
118
|
readonly createApiKey: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
155
|
-
|
|
156
|
-
key_name: z.ZodString;
|
|
157
|
-
}, z.core.$strict>;
|
|
119
|
+
key_name: z.ZodString;
|
|
158
120
|
}, z.core.$strict>, "create_api_key", {
|
|
159
121
|
id: number;
|
|
160
122
|
key: string;
|
|
@@ -163,34 +125,26 @@ export declare const operationFactories: {
|
|
|
163
125
|
created_by: string;
|
|
164
126
|
}>;
|
|
165
127
|
readonly createBranchNeonAuthNewUser: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
path: z.ZodObject<{
|
|
171
|
-
project_id: z.ZodString;
|
|
172
|
-
branch_id: z.ZodString;
|
|
173
|
-
}, z.core.$strict>;
|
|
128
|
+
project_id: z.ZodString;
|
|
129
|
+
branch_id: z.ZodString;
|
|
130
|
+
email: z.ZodEmail;
|
|
131
|
+
name: z.ZodOptional<z.ZodString>;
|
|
174
132
|
}, z.core.$strict>, "create_branch_neon_auth_new_user", {
|
|
175
133
|
id: string;
|
|
176
134
|
}>;
|
|
177
135
|
readonly createCredential: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
path: z.ZodObject<{
|
|
191
|
-
project_id: z.ZodString;
|
|
192
|
-
branch_id: z.ZodString;
|
|
193
|
-
}, z.core.$strict>;
|
|
136
|
+
project_id: z.ZodString;
|
|
137
|
+
branch_id: z.ZodString;
|
|
138
|
+
name: z.ZodOptional<z.ZodString>;
|
|
139
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
140
|
+
"storage:read": "storage:read";
|
|
141
|
+
"storage:write": "storage:write";
|
|
142
|
+
"ai_gateway:invoke": "ai_gateway:invoke";
|
|
143
|
+
"functions:invoke": "functions:invoke";
|
|
144
|
+
}>>;
|
|
145
|
+
principal_type: z.ZodEnum<{
|
|
146
|
+
user: "user";
|
|
147
|
+
}>;
|
|
194
148
|
}, z.core.$strict>, "create_credential", {
|
|
195
149
|
token_id: string;
|
|
196
150
|
token_id_short: string;
|
|
@@ -203,18 +157,14 @@ export declare const operationFactories: {
|
|
|
203
157
|
expires_at?: string | null | undefined;
|
|
204
158
|
}>;
|
|
205
159
|
readonly createNeonAuth: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
path: z.ZodObject<{
|
|
215
|
-
project_id: z.ZodString;
|
|
216
|
-
branch_id: z.ZodString;
|
|
217
|
-
}, z.core.$strict>;
|
|
160
|
+
project_id: z.ZodString;
|
|
161
|
+
branch_id: z.ZodString;
|
|
162
|
+
auth_provider: z.ZodEnum<{
|
|
163
|
+
mock: "mock";
|
|
164
|
+
stack: "stack";
|
|
165
|
+
better_auth: "better_auth";
|
|
166
|
+
}>;
|
|
167
|
+
database_name: z.ZodOptional<z.ZodString>;
|
|
218
168
|
}, z.core.$strict>, "create_neon_auth", {
|
|
219
169
|
auth_provider: raw.NeonAuthSupportedAuthProvider;
|
|
220
170
|
auth_provider_project_id: string;
|
|
@@ -226,17 +176,15 @@ export declare const operationFactories: {
|
|
|
226
176
|
base_url?: string | null | undefined;
|
|
227
177
|
}>;
|
|
228
178
|
readonly createNeonAuthIntegration: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
role_name: z.ZodOptional<z.ZodString>;
|
|
239
|
-
}, z.core.$strict>;
|
|
179
|
+
auth_provider: z.ZodEnum<{
|
|
180
|
+
mock: "mock";
|
|
181
|
+
stack: "stack";
|
|
182
|
+
better_auth: "better_auth";
|
|
183
|
+
}>;
|
|
184
|
+
project_id: z.ZodString;
|
|
185
|
+
branch_id: z.ZodString;
|
|
186
|
+
database_name: z.ZodOptional<z.ZodString>;
|
|
187
|
+
role_name: z.ZodOptional<z.ZodString>;
|
|
240
188
|
}, z.core.$strict>, "create_neon_auth_integration", {
|
|
241
189
|
auth_provider: raw.NeonAuthSupportedAuthProvider;
|
|
242
190
|
auth_provider_project_id: string;
|
|
@@ -248,28 +196,24 @@ export declare const operationFactories: {
|
|
|
248
196
|
base_url?: string | null | undefined;
|
|
249
197
|
}>;
|
|
250
198
|
readonly createNeonAuthNewUser: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
name: z.ZodOptional<z.ZodString>;
|
|
260
|
-
}, z.core.$strict>;
|
|
199
|
+
project_id: z.ZodString;
|
|
200
|
+
auth_provider: z.ZodEnum<{
|
|
201
|
+
mock: "mock";
|
|
202
|
+
stack: "stack";
|
|
203
|
+
better_auth: "better_auth";
|
|
204
|
+
}>;
|
|
205
|
+
email: z.ZodEmail;
|
|
206
|
+
name: z.ZodOptional<z.ZodString>;
|
|
261
207
|
}, z.core.$strict>, "create_neon_auth_new_user", {
|
|
262
208
|
id: string;
|
|
263
209
|
}>;
|
|
264
210
|
readonly createNeonAuthProviderSDKKeys: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}>;
|
|
272
|
-
}, z.core.$strict>;
|
|
211
|
+
project_id: z.ZodString;
|
|
212
|
+
auth_provider: z.ZodEnum<{
|
|
213
|
+
mock: "mock";
|
|
214
|
+
stack: "stack";
|
|
215
|
+
better_auth: "better_auth";
|
|
216
|
+
}>;
|
|
273
217
|
}, z.core.$strict>, "create_neon_auth_provider_sdk_keys", {
|
|
274
218
|
auth_provider: raw.NeonAuthSupportedAuthProvider;
|
|
275
219
|
auth_provider_project_id: string;
|
|
@@ -281,21 +225,17 @@ export declare const operationFactories: {
|
|
|
281
225
|
base_url?: string | null | undefined;
|
|
282
226
|
}>;
|
|
283
227
|
readonly createOrganizationInvitations: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
}, z.core.$strict>;
|
|
296
|
-
path: z.ZodObject<{
|
|
297
|
-
org_id: z.ZodString;
|
|
298
|
-
}, z.core.$strict>;
|
|
228
|
+
org_id: z.ZodString;
|
|
229
|
+
invitations: z.ZodArray<z.ZodObject<{
|
|
230
|
+
email: z.ZodEmail;
|
|
231
|
+
role: z.ZodEnum<{
|
|
232
|
+
viewer: "viewer";
|
|
233
|
+
editor: "editor";
|
|
234
|
+
admin: "admin";
|
|
235
|
+
member: "member";
|
|
236
|
+
collaborator: "collaborator";
|
|
237
|
+
}>;
|
|
238
|
+
}, z.core.$strict>>;
|
|
299
239
|
}, z.core.$strict>, "create_organization_invitations", {
|
|
300
240
|
invitations: {
|
|
301
241
|
id: string;
|
|
@@ -307,13 +247,9 @@ export declare const operationFactories: {
|
|
|
307
247
|
}[];
|
|
308
248
|
}>;
|
|
309
249
|
readonly createOrgApiKey: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
}, z.core.$strict>;
|
|
314
|
-
path: z.ZodObject<{
|
|
315
|
-
org_id: z.ZodString;
|
|
316
|
-
}, z.core.$strict>;
|
|
250
|
+
org_id: z.ZodString;
|
|
251
|
+
key_name: z.ZodString;
|
|
252
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
317
253
|
}, z.core.$strict>, "create_org_api_key", {
|
|
318
254
|
id: number;
|
|
319
255
|
key: string;
|
|
@@ -323,63 +259,59 @@ export declare const operationFactories: {
|
|
|
323
259
|
project_id?: string | null | undefined;
|
|
324
260
|
}>;
|
|
325
261
|
readonly createProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
380
|
-
org_id: z.ZodOptional<z.ZodString>;
|
|
381
|
-
}, z.core.$strict>;
|
|
382
|
-
}, z.core.$strict>;
|
|
262
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
quota: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
265
|
+
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
266
|
+
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
267
|
+
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
268
|
+
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
269
|
+
}, z.core.$strict>>;
|
|
270
|
+
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
272
|
+
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
+
}, z.core.$strict>>;
|
|
274
|
+
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
weekdays: z.ZodArray<z.ZodInt>;
|
|
277
|
+
start_time: z.ZodString;
|
|
278
|
+
end_time: z.ZodString;
|
|
279
|
+
}, z.core.$strict>>;
|
|
280
|
+
block_public_connections: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
+
block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
audit_log_level: z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
base: "base";
|
|
284
|
+
extended: "extended";
|
|
285
|
+
full: "full";
|
|
286
|
+
}>>;
|
|
287
|
+
hipaa: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
291
|
+
}, z.core.$strict>>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
name: z.ZodOptional<z.ZodString>;
|
|
294
|
+
branch: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
name: z.ZodOptional<z.ZodString>;
|
|
296
|
+
role_name: z.ZodOptional<z.ZodString>;
|
|
297
|
+
database_name: z.ZodOptional<z.ZodString>;
|
|
298
|
+
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
299
|
+
}, z.core.$strict>>;
|
|
300
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
303
|
+
region_id: z.ZodOptional<z.ZodString>;
|
|
304
|
+
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
306
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
307
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
309
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
310
|
+
}, z.core.$strict>>;
|
|
311
|
+
pg_version: z.ZodOptional<z.ZodInt>;
|
|
312
|
+
store_passwords: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
314
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
383
315
|
}, z.core.$strict>, "create_project", {
|
|
384
316
|
project: {
|
|
385
317
|
data_storage_bytes_hour: number;
|
|
@@ -583,40 +515,36 @@ export declare const operationFactories: {
|
|
|
583
515
|
}[];
|
|
584
516
|
}>;
|
|
585
517
|
readonly createProjectBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
}, z.core.$strict>>;
|
|
518
|
+
project_id: z.ZodString;
|
|
519
|
+
endpoints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
520
|
+
type: z.ZodEnum<{
|
|
521
|
+
read_only: "read_only";
|
|
522
|
+
read_write: "read_write";
|
|
523
|
+
}>;
|
|
524
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
525
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
526
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
527
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
528
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
599
530
|
}, z.core.$strict>>;
|
|
600
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
601
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
602
|
-
provisioner: z.ZodOptional<z.ZodString>;
|
|
603
|
-
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
604
|
-
}, z.core.$strict>>>;
|
|
605
|
-
branch: z.ZodOptional<z.ZodObject<{
|
|
606
|
-
parent_id: z.ZodOptional<z.ZodString>;
|
|
607
|
-
name: z.ZodOptional<z.ZodString>;
|
|
608
|
-
parent_lsn: z.ZodOptional<z.ZodString>;
|
|
609
|
-
parent_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
610
|
-
protected: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
archived: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
-
init_source: z.ZodOptional<z.ZodString>;
|
|
613
|
-
expires_at: z.ZodOptional<z.ZodISODateTime>;
|
|
614
531
|
}, z.core.$strict>>;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
}, z.core.$strict
|
|
532
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
535
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
536
|
+
}, z.core.$strict>>>>;
|
|
537
|
+
branch: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
538
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
539
|
+
name: z.ZodOptional<z.ZodString>;
|
|
540
|
+
parent_lsn: z.ZodOptional<z.ZodString>;
|
|
541
|
+
parent_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
542
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
543
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
544
|
+
init_source: z.ZodOptional<z.ZodString>;
|
|
545
|
+
expires_at: z.ZodOptional<z.ZodISODateTime>;
|
|
546
|
+
}, z.core.$strict>>>;
|
|
547
|
+
annotation_value: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
620
548
|
}, z.core.$strict>, "create_project_branch", {
|
|
621
549
|
branch: {
|
|
622
550
|
id: string;
|
|
@@ -743,51 +671,47 @@ export declare const operationFactories: {
|
|
|
743
671
|
}[] | null | undefined;
|
|
744
672
|
}>;
|
|
745
673
|
readonly createProjectBranchAnonymized: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}, z.core.$strict>>;
|
|
674
|
+
project_id: z.ZodString;
|
|
675
|
+
annotation_value: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
676
|
+
branch_create: z.ZodOptional<z.ZodObject<{
|
|
677
|
+
endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
678
|
+
type: z.ZodEnum<{
|
|
679
|
+
read_only: "read_only";
|
|
680
|
+
read_write: "read_write";
|
|
681
|
+
}>;
|
|
682
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
684
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
685
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
687
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
761
688
|
}, z.core.$strict>>;
|
|
762
|
-
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
763
|
-
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
764
|
-
provisioner: z.ZodOptional<z.ZodString>;
|
|
765
|
-
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
766
|
-
}, z.core.$strict>>>;
|
|
767
|
-
branch: z.ZodOptional<z.ZodObject<{
|
|
768
|
-
parent_id: z.ZodOptional<z.ZodString>;
|
|
769
|
-
name: z.ZodOptional<z.ZodString>;
|
|
770
|
-
parent_lsn: z.ZodOptional<z.ZodString>;
|
|
771
|
-
parent_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
772
|
-
protected: z.ZodOptional<z.ZodBoolean>;
|
|
773
|
-
archived: z.ZodOptional<z.ZodBoolean>;
|
|
774
|
-
init_source: z.ZodOptional<z.ZodString>;
|
|
775
|
-
expires_at: z.ZodOptional<z.ZodISODateTime>;
|
|
776
689
|
}, z.core.$strict>>;
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
table_name: z.ZodString;
|
|
782
|
-
column_name: z.ZodString;
|
|
783
|
-
masking_function: z.ZodOptional<z.ZodString>;
|
|
784
|
-
masking_value: z.ZodOptional<z.ZodString>;
|
|
690
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
693
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
785
694
|
}, z.core.$strict>>>;
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
695
|
+
branch: z.ZodOptional<z.ZodObject<{
|
|
696
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
697
|
+
name: z.ZodOptional<z.ZodString>;
|
|
698
|
+
parent_lsn: z.ZodOptional<z.ZodString>;
|
|
699
|
+
parent_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
700
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
701
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
702
|
+
init_source: z.ZodOptional<z.ZodString>;
|
|
703
|
+
expires_at: z.ZodOptional<z.ZodISODateTime>;
|
|
704
|
+
}, z.core.$strict>>;
|
|
705
|
+
}, z.core.$strict>>;
|
|
706
|
+
masking_rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
707
|
+
database_name: z.ZodString;
|
|
708
|
+
schema_name: z.ZodString;
|
|
709
|
+
table_name: z.ZodString;
|
|
710
|
+
column_name: z.ZodString;
|
|
711
|
+
masking_function: z.ZodOptional<z.ZodString>;
|
|
712
|
+
masking_value: z.ZodOptional<z.ZodString>;
|
|
713
|
+
}, z.core.$strict>>>;
|
|
714
|
+
start_anonymization: z.ZodOptional<z.ZodBoolean>;
|
|
791
715
|
}, z.core.$strict>, "create_project_branch_anonymized", {
|
|
792
716
|
branch: {
|
|
793
717
|
id: string;
|
|
@@ -914,17 +838,13 @@ export declare const operationFactories: {
|
|
|
914
838
|
}[] | null | undefined;
|
|
915
839
|
}>;
|
|
916
840
|
readonly createProjectBranchBucket: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
path: z.ZodObject<{
|
|
925
|
-
project_id: z.ZodString;
|
|
926
|
-
branch_id: z.ZodString;
|
|
927
|
-
}, z.core.$strict>;
|
|
841
|
+
project_id: z.ZodString;
|
|
842
|
+
branch_id: z.ZodString;
|
|
843
|
+
name: z.ZodString;
|
|
844
|
+
access_level: z.ZodOptional<z.ZodEnum<{
|
|
845
|
+
private: "private";
|
|
846
|
+
public_read: "public_read";
|
|
847
|
+
}>>;
|
|
928
848
|
}, z.core.$strict>, "create_project_branch_bucket", {
|
|
929
849
|
bucket: {
|
|
930
850
|
name: string;
|
|
@@ -933,48 +853,38 @@ export declare const operationFactories: {
|
|
|
933
853
|
};
|
|
934
854
|
}>;
|
|
935
855
|
readonly createProjectBranchDataAPI: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
project_id: z.ZodString;
|
|
961
|
-
branch_id: z.ZodString;
|
|
962
|
-
database_name: z.ZodString;
|
|
963
|
-
}, z.core.$strict>;
|
|
856
|
+
project_id: z.ZodString;
|
|
857
|
+
branch_id: z.ZodString;
|
|
858
|
+
database_name: z.ZodString;
|
|
859
|
+
auth_provider: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
860
|
+
external: "external";
|
|
861
|
+
neon_auth: "neon_auth";
|
|
862
|
+
}>>>;
|
|
863
|
+
jwks_url: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
|
|
864
|
+
provider_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
865
|
+
jwt_audience: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
866
|
+
add_default_grants: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
867
|
+
skip_auth_schema: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
868
|
+
settings: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
869
|
+
db_aggregates_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
870
|
+
db_anon_role: z.ZodOptional<z.ZodString>;
|
|
871
|
+
db_extra_search_path: z.ZodOptional<z.ZodString>;
|
|
872
|
+
db_max_rows: z.ZodOptional<z.ZodInt>;
|
|
873
|
+
db_schemas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
874
|
+
jwt_role_claim_key: z.ZodOptional<z.ZodString>;
|
|
875
|
+
jwt_cache_max_lifetime: z.ZodOptional<z.ZodInt>;
|
|
876
|
+
openapi_mode: z.ZodOptional<z.ZodString>;
|
|
877
|
+
server_cors_allowed_origins: z.ZodOptional<z.ZodString>;
|
|
878
|
+
server_timing_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
879
|
+
}, z.core.$strict>>>;
|
|
964
880
|
}, z.core.$strict>, "create_project_branch_data_api", {
|
|
965
881
|
url: string;
|
|
966
882
|
}>;
|
|
967
883
|
readonly createProjectBranchDatabase: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
}, z.core.$strict>;
|
|
973
|
-
}, z.core.$strict>;
|
|
974
|
-
path: z.ZodObject<{
|
|
975
|
-
project_id: z.ZodString;
|
|
976
|
-
branch_id: z.ZodString;
|
|
977
|
-
}, z.core.$strict>;
|
|
884
|
+
project_id: z.ZodString;
|
|
885
|
+
branch_id: z.ZodString;
|
|
886
|
+
name: z.ZodString;
|
|
887
|
+
owner_name: z.ZodString;
|
|
978
888
|
}, z.core.$strict>, "create_project_branch_database", {
|
|
979
889
|
database: {
|
|
980
890
|
id: number;
|
|
@@ -1000,18 +910,14 @@ export declare const operationFactories: {
|
|
|
1000
910
|
}[];
|
|
1001
911
|
}>;
|
|
1002
912
|
readonly createProjectBranchFunctionDeployment: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
project_id: z.ZodString;
|
|
1012
|
-
branch_id: z.ZodString;
|
|
1013
|
-
slug: z.ZodString;
|
|
1014
|
-
}, z.core.$strict>;
|
|
913
|
+
project_id: z.ZodString;
|
|
914
|
+
branch_id: z.ZodString;
|
|
915
|
+
slug: z.ZodString;
|
|
916
|
+
zip: z.ZodOptional<z.ZodBase64>;
|
|
917
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
918
|
+
nodejs24: "nodejs24";
|
|
919
|
+
}>>;
|
|
920
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1015
921
|
}, z.core.$strict>, "create_project_branch_function_deployment", {
|
|
1016
922
|
deployment: {
|
|
1017
923
|
id: number;
|
|
@@ -1024,16 +930,10 @@ export declare const operationFactories: {
|
|
|
1024
930
|
};
|
|
1025
931
|
}>;
|
|
1026
932
|
readonly createProjectBranchRole: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
}, z.core.$strict>;
|
|
1032
|
-
}, z.core.$strict>;
|
|
1033
|
-
path: z.ZodObject<{
|
|
1034
|
-
project_id: z.ZodString;
|
|
1035
|
-
branch_id: z.ZodString;
|
|
1036
|
-
}, z.core.$strict>;
|
|
933
|
+
project_id: z.ZodString;
|
|
934
|
+
branch_id: z.ZodString;
|
|
935
|
+
name: z.ZodString;
|
|
936
|
+
no_login: z.ZodOptional<z.ZodBoolean>;
|
|
1037
937
|
}, z.core.$strict>, "create_project_branch_role", {
|
|
1038
938
|
role: {
|
|
1039
939
|
branch_id: string;
|
|
@@ -1060,38 +960,32 @@ export declare const operationFactories: {
|
|
|
1060
960
|
}[];
|
|
1061
961
|
}>;
|
|
1062
962
|
readonly createProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1090
|
-
}, z.core.$strict>;
|
|
1091
|
-
}, z.core.$strict>;
|
|
1092
|
-
path: z.ZodObject<{
|
|
1093
|
-
project_id: z.ZodString;
|
|
1094
|
-
}, z.core.$strict>;
|
|
963
|
+
project_id: z.ZodString;
|
|
964
|
+
branch_id: z.ZodString;
|
|
965
|
+
region_id: z.ZodOptional<z.ZodString>;
|
|
966
|
+
type: z.ZodEnum<{
|
|
967
|
+
read_only: "read_only";
|
|
968
|
+
read_write: "read_write";
|
|
969
|
+
}>;
|
|
970
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
971
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
972
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
973
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
974
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
975
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
976
|
+
}, z.core.$strict>>;
|
|
977
|
+
}, z.core.$strict>>;
|
|
978
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
979
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
980
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
981
|
+
pooler_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
pooler_mode: z.ZodOptional<z.ZodEnum<{
|
|
983
|
+
transaction: "transaction";
|
|
984
|
+
}>>;
|
|
985
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
+
passwordless_access: z.ZodOptional<z.ZodBoolean>;
|
|
987
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
988
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1095
989
|
}, z.core.$strict>, "create_project_endpoint", {
|
|
1096
990
|
endpoint: {
|
|
1097
991
|
host: string;
|
|
@@ -1148,12 +1042,8 @@ export declare const operationFactories: {
|
|
|
1148
1042
|
}[];
|
|
1149
1043
|
}>;
|
|
1150
1044
|
readonly createProjectTransferRequest: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}, z.core.$strict>>;
|
|
1154
|
-
path: z.ZodObject<{
|
|
1155
|
-
project_id: z.ZodString;
|
|
1156
|
-
}, z.core.$strict>;
|
|
1045
|
+
project_id: z.ZodString;
|
|
1046
|
+
ttl_seconds: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
1157
1047
|
}, z.core.$strict>, "create_project_transfer_request", {
|
|
1158
1048
|
id: string;
|
|
1159
1049
|
project_id: string;
|
|
@@ -1161,16 +1051,12 @@ export declare const operationFactories: {
|
|
|
1161
1051
|
expires_at: string;
|
|
1162
1052
|
}>;
|
|
1163
1053
|
readonly createSnapshot: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1171
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1172
|
-
expires_at: z.ZodOptional<z.ZodString>;
|
|
1173
|
-
}, z.core.$strict>>;
|
|
1054
|
+
project_id: z.ZodString;
|
|
1055
|
+
branch_id: z.ZodString;
|
|
1056
|
+
lsn: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1057
|
+
timestamp: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1058
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1059
|
+
expires_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1174
1060
|
}, z.core.$strict>, "create_snapshot", {
|
|
1175
1061
|
snapshot: {
|
|
1176
1062
|
id: string;
|
|
@@ -1200,103 +1086,77 @@ export declare const operationFactories: {
|
|
|
1200
1086
|
}[];
|
|
1201
1087
|
}>;
|
|
1202
1088
|
readonly deleteBranchNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
}>;
|
|
1212
|
-
}, z.core.$strict>;
|
|
1089
|
+
project_id: z.ZodString;
|
|
1090
|
+
branch_id: z.ZodString;
|
|
1091
|
+
oauth_provider_id: z.ZodEnum<{
|
|
1092
|
+
github: "github";
|
|
1093
|
+
google: "google";
|
|
1094
|
+
microsoft: "microsoft";
|
|
1095
|
+
vercel: "vercel";
|
|
1096
|
+
}>;
|
|
1213
1097
|
}, z.core.$strict>, "delete_branch_neon_auth_oauth_provider", unknown>;
|
|
1214
1098
|
readonly deleteBranchNeonAuthTrustedDomain: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
}, z.core.$strict
|
|
1225
|
-
path: z.ZodObject<{
|
|
1226
|
-
project_id: z.ZodString;
|
|
1227
|
-
branch_id: z.ZodString;
|
|
1228
|
-
}, z.core.$strict>;
|
|
1099
|
+
project_id: z.ZodString;
|
|
1100
|
+
branch_id: z.ZodString;
|
|
1101
|
+
auth_provider: z.ZodEnum<{
|
|
1102
|
+
mock: "mock";
|
|
1103
|
+
stack: "stack";
|
|
1104
|
+
better_auth: "better_auth";
|
|
1105
|
+
}>;
|
|
1106
|
+
domains: z.ZodArray<z.ZodObject<{
|
|
1107
|
+
domain: z.ZodURL;
|
|
1108
|
+
}, z.core.$strict>>;
|
|
1229
1109
|
}, z.core.$strict>, "delete_branch_neon_auth_trusted_domain", unknown>;
|
|
1230
1110
|
readonly deleteBranchNeonAuthUser: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
auth_user_id: z.ZodString;
|
|
1235
|
-
}, z.core.$strict>;
|
|
1111
|
+
project_id: z.ZodString;
|
|
1112
|
+
branch_id: z.ZodString;
|
|
1113
|
+
auth_user_id: z.ZodString;
|
|
1236
1114
|
}, z.core.$strict>, "delete_branch_neon_auth_user", null>;
|
|
1237
1115
|
readonly deleteNeonAuthDomainFromRedirectURIWhitelist: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
}, z.core.$strict>;
|
|
1248
|
-
path: z.ZodObject<{
|
|
1249
|
-
project_id: z.ZodString;
|
|
1250
|
-
}, z.core.$strict>;
|
|
1116
|
+
project_id: z.ZodString;
|
|
1117
|
+
auth_provider: z.ZodEnum<{
|
|
1118
|
+
mock: "mock";
|
|
1119
|
+
stack: "stack";
|
|
1120
|
+
better_auth: "better_auth";
|
|
1121
|
+
}>;
|
|
1122
|
+
domains: z.ZodArray<z.ZodObject<{
|
|
1123
|
+
domain: z.ZodURL;
|
|
1124
|
+
}, z.core.$strict>>;
|
|
1251
1125
|
}, z.core.$strict>, "delete_neon_auth_domain_from_redirect_uri_whitelist", unknown>;
|
|
1252
1126
|
readonly deleteNeonAuthIntegration: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
stack: "stack";
|
|
1261
|
-
better_auth: "better_auth";
|
|
1262
|
-
}>;
|
|
1263
|
-
}, z.core.$strict>;
|
|
1127
|
+
project_id: z.ZodString;
|
|
1128
|
+
auth_provider: z.ZodEnum<{
|
|
1129
|
+
mock: "mock";
|
|
1130
|
+
stack: "stack";
|
|
1131
|
+
better_auth: "better_auth";
|
|
1132
|
+
}>;
|
|
1133
|
+
delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1264
1134
|
}, z.core.$strict>, "delete_neon_auth_integration", unknown>;
|
|
1265
1135
|
readonly deleteNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
}>;
|
|
1274
|
-
}, z.core.$strict>;
|
|
1136
|
+
project_id: z.ZodString;
|
|
1137
|
+
oauth_provider_id: z.ZodEnum<{
|
|
1138
|
+
github: "github";
|
|
1139
|
+
google: "google";
|
|
1140
|
+
microsoft: "microsoft";
|
|
1141
|
+
vercel: "vercel";
|
|
1142
|
+
}>;
|
|
1275
1143
|
}, z.core.$strict>, "delete_neon_auth_oauth_provider", unknown>;
|
|
1276
1144
|
readonly deleteNeonAuthUser: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
auth_user_id: z.ZodString;
|
|
1280
|
-
}, z.core.$strict>;
|
|
1145
|
+
project_id: z.ZodString;
|
|
1146
|
+
auth_user_id: z.ZodString;
|
|
1281
1147
|
}, z.core.$strict>, "delete_neon_auth_user", null>;
|
|
1282
1148
|
readonly deleteOrganizationSpendingLimit: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1283
|
-
|
|
1284
|
-
org_id: z.ZodString;
|
|
1285
|
-
}, z.core.$strict>;
|
|
1149
|
+
org_id: z.ZodString;
|
|
1286
1150
|
}, z.core.$strict>, "delete_organization_spending_limit", {
|
|
1287
1151
|
[x: string]: unknown;
|
|
1288
1152
|
}>;
|
|
1289
1153
|
readonly deleteOrganizationVPCEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
vpc_endpoint_id: z.ZodString;
|
|
1294
|
-
}, z.core.$strict>;
|
|
1154
|
+
org_id: z.ZodString;
|
|
1155
|
+
region_id: z.ZodString;
|
|
1156
|
+
vpc_endpoint_id: z.ZodString;
|
|
1295
1157
|
}, z.core.$strict>, "delete_organization_vpc_endpoint", unknown>;
|
|
1296
1158
|
readonly deleteProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1297
|
-
|
|
1298
|
-
project_id: z.ZodString;
|
|
1299
|
-
}, z.core.$strict>;
|
|
1159
|
+
project_id: z.ZodString;
|
|
1300
1160
|
}, z.core.$strict>, "delete_project", {
|
|
1301
1161
|
project: {
|
|
1302
1162
|
data_storage_bytes_hour: number;
|
|
@@ -1377,13 +1237,9 @@ export declare const operationFactories: {
|
|
|
1377
1237
|
};
|
|
1378
1238
|
}>;
|
|
1379
1239
|
readonly deleteProjectBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
}, z.core.$strict>;
|
|
1384
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1385
|
-
hard_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1386
|
-
}, z.core.$strict>>;
|
|
1240
|
+
project_id: z.ZodString;
|
|
1241
|
+
branch_id: z.ZodString;
|
|
1242
|
+
hard_delete: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1387
1243
|
}, z.core.$strict>, "delete_project_branch", {
|
|
1388
1244
|
branch: {
|
|
1389
1245
|
id: string;
|
|
@@ -1444,47 +1300,35 @@ export declare const operationFactories: {
|
|
|
1444
1300
|
}[];
|
|
1445
1301
|
} | null>;
|
|
1446
1302
|
readonly deleteProjectBranchBucket: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
bucket_name: z.ZodString;
|
|
1451
|
-
}, z.core.$strict>;
|
|
1303
|
+
project_id: z.ZodString;
|
|
1304
|
+
branch_id: z.ZodString;
|
|
1305
|
+
bucket_name: z.ZodString;
|
|
1452
1306
|
}, z.core.$strict>, "delete_project_branch_bucket", null>;
|
|
1453
1307
|
readonly deleteProjectBranchBucketObject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
object_key: z.ZodString;
|
|
1459
|
-
}, z.core.$strict>;
|
|
1308
|
+
project_id: z.ZodString;
|
|
1309
|
+
branch_id: z.ZodString;
|
|
1310
|
+
bucket_name: z.ZodString;
|
|
1311
|
+
object_key: z.ZodString;
|
|
1460
1312
|
}, z.core.$strict>, "delete_project_branch_bucket_object", null>;
|
|
1461
1313
|
readonly deleteProjectBranchBucketObjectsByPrefix: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
}, z.core.$strict>;
|
|
1467
|
-
query: z.ZodObject<{
|
|
1468
|
-
prefix: z.ZodString;
|
|
1469
|
-
}, z.core.$strict>;
|
|
1314
|
+
project_id: z.ZodString;
|
|
1315
|
+
branch_id: z.ZodString;
|
|
1316
|
+
bucket_name: z.ZodString;
|
|
1317
|
+
prefix: z.ZodString;
|
|
1470
1318
|
}, z.core.$strict>, "delete_project_branch_bucket_objects_by_prefix", {
|
|
1471
1319
|
deleted: number;
|
|
1472
1320
|
}>;
|
|
1473
1321
|
readonly deleteProjectBranchDataAPI: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
database_name: z.ZodString;
|
|
1478
|
-
}, z.core.$strict>;
|
|
1322
|
+
project_id: z.ZodString;
|
|
1323
|
+
branch_id: z.ZodString;
|
|
1324
|
+
database_name: z.ZodString;
|
|
1479
1325
|
}, z.core.$strict>, "delete_project_branch_data_api", {
|
|
1480
1326
|
[x: string]: unknown;
|
|
1481
1327
|
}>;
|
|
1482
1328
|
readonly deleteProjectBranchDatabase: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
database_name: z.ZodString;
|
|
1487
|
-
}, z.core.$strict>;
|
|
1329
|
+
project_id: z.ZodString;
|
|
1330
|
+
branch_id: z.ZodString;
|
|
1331
|
+
database_name: z.ZodString;
|
|
1488
1332
|
}, z.core.$strict>, "delete_project_branch_database", {
|
|
1489
1333
|
database: {
|
|
1490
1334
|
id: number;
|
|
@@ -1510,18 +1354,14 @@ export declare const operationFactories: {
|
|
|
1510
1354
|
}[];
|
|
1511
1355
|
} | null>;
|
|
1512
1356
|
readonly deleteProjectBranchFunction: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
slug: z.ZodString;
|
|
1517
|
-
}, z.core.$strict>;
|
|
1357
|
+
project_id: z.ZodString;
|
|
1358
|
+
branch_id: z.ZodString;
|
|
1359
|
+
slug: z.ZodString;
|
|
1518
1360
|
}, z.core.$strict>, "delete_project_branch_function", null>;
|
|
1519
1361
|
readonly deleteProjectBranchRole: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
role_name: z.ZodString;
|
|
1524
|
-
}, z.core.$strict>;
|
|
1362
|
+
project_id: z.ZodString;
|
|
1363
|
+
branch_id: z.ZodString;
|
|
1364
|
+
role_name: z.ZodString;
|
|
1525
1365
|
}, z.core.$strict>, "delete_project_branch_role", {
|
|
1526
1366
|
role: {
|
|
1527
1367
|
branch_id: string;
|
|
@@ -1548,10 +1388,8 @@ export declare const operationFactories: {
|
|
|
1548
1388
|
}[];
|
|
1549
1389
|
} | null>;
|
|
1550
1390
|
readonly deleteProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
endpoint_id: z.ZodString;
|
|
1554
|
-
}, z.core.$strict>;
|
|
1391
|
+
project_id: z.ZodString;
|
|
1392
|
+
endpoint_id: z.ZodString;
|
|
1555
1393
|
}, z.core.$strict>, "delete_project_endpoint", {
|
|
1556
1394
|
endpoint: {
|
|
1557
1395
|
host: string;
|
|
@@ -1608,10 +1446,8 @@ export declare const operationFactories: {
|
|
|
1608
1446
|
}[];
|
|
1609
1447
|
} | null>;
|
|
1610
1448
|
readonly deleteProjectJWKS: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
jwks_id: z.ZodString;
|
|
1614
|
-
}, z.core.$strict>;
|
|
1449
|
+
project_id: z.ZodString;
|
|
1450
|
+
jwks_id: z.ZodString;
|
|
1615
1451
|
}, z.core.$strict>, "delete_project_jwks", {
|
|
1616
1452
|
id: string;
|
|
1617
1453
|
project_id: string;
|
|
@@ -1624,16 +1460,12 @@ export declare const operationFactories: {
|
|
|
1624
1460
|
role_names?: string[] | null | undefined;
|
|
1625
1461
|
}>;
|
|
1626
1462
|
readonly deleteProjectVPCEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
vpc_endpoint_id: z.ZodString;
|
|
1630
|
-
}, z.core.$strict>;
|
|
1463
|
+
project_id: z.ZodString;
|
|
1464
|
+
vpc_endpoint_id: z.ZodString;
|
|
1631
1465
|
}, z.core.$strict>, "delete_project_vpc_endpoint", unknown>;
|
|
1632
1466
|
readonly deleteSnapshot: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
snapshot_id: z.ZodString;
|
|
1636
|
-
}, z.core.$strict>;
|
|
1467
|
+
project_id: z.ZodString;
|
|
1468
|
+
snapshot_id: z.ZodString;
|
|
1637
1469
|
}, z.core.$strict>, "delete_snapshot", {
|
|
1638
1470
|
operations: {
|
|
1639
1471
|
id: string;
|
|
@@ -1651,22 +1483,14 @@ export declare const operationFactories: {
|
|
|
1651
1483
|
}[];
|
|
1652
1484
|
}>;
|
|
1653
1485
|
readonly disableNeonAuth: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
path: z.ZodObject<{
|
|
1658
|
-
project_id: z.ZodString;
|
|
1659
|
-
branch_id: z.ZodString;
|
|
1660
|
-
}, z.core.$strict>;
|
|
1486
|
+
project_id: z.ZodString;
|
|
1487
|
+
branch_id: z.ZodString;
|
|
1488
|
+
delete_data: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1661
1489
|
}, z.core.$strict>, "disable_neon_auth", unknown>;
|
|
1662
1490
|
readonly finalizeRestoreBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
path: z.ZodObject<{
|
|
1667
|
-
project_id: z.ZodString;
|
|
1668
|
-
branch_id: z.ZodString;
|
|
1669
|
-
}, z.core.$strict>;
|
|
1491
|
+
project_id: z.ZodString;
|
|
1492
|
+
branch_id: z.ZodString;
|
|
1493
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1670
1494
|
}, z.core.$strict>, "finalize_restore_branch", {
|
|
1671
1495
|
operations: {
|
|
1672
1496
|
id: string;
|
|
@@ -1684,9 +1508,7 @@ export declare const operationFactories: {
|
|
|
1684
1508
|
}[];
|
|
1685
1509
|
}>;
|
|
1686
1510
|
readonly getActiveRegions: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1687
|
-
|
|
1688
|
-
org_id: z.ZodOptional<z.ZodString>;
|
|
1689
|
-
}, z.core.$strict>>;
|
|
1511
|
+
org_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1690
1512
|
}, z.core.$strict>, "get_active_regions", {
|
|
1691
1513
|
regions: {
|
|
1692
1514
|
region_id: string;
|
|
@@ -1697,10 +1519,8 @@ export declare const operationFactories: {
|
|
|
1697
1519
|
}[];
|
|
1698
1520
|
}>;
|
|
1699
1521
|
readonly getAnonymizedBranchStatus: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
branch_id: z.ZodString;
|
|
1703
|
-
}, z.core.$strict>;
|
|
1522
|
+
project_id: z.ZodString;
|
|
1523
|
+
branch_id: z.ZodString;
|
|
1704
1524
|
}, z.core.$strict>, "get_anonymized_branch_status", {
|
|
1705
1525
|
project_id: string;
|
|
1706
1526
|
branch_id: string;
|
|
@@ -1723,9 +1543,7 @@ export declare const operationFactories: {
|
|
|
1723
1543
|
auth_data?: string | null | undefined;
|
|
1724
1544
|
}>;
|
|
1725
1545
|
readonly getAvailablePreloadLibraries: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1726
|
-
|
|
1727
|
-
project_id: z.ZodString;
|
|
1728
|
-
}, z.core.$strict>;
|
|
1546
|
+
project_id: z.ZodString;
|
|
1729
1547
|
}, z.core.$strict>, "get_available_preload_libraries", {
|
|
1730
1548
|
libraries?: {
|
|
1731
1549
|
library_name: string;
|
|
@@ -1736,35 +1554,29 @@ export declare const operationFactories: {
|
|
|
1736
1554
|
}[] | null | undefined;
|
|
1737
1555
|
}>;
|
|
1738
1556
|
readonly getConnectionURI: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
database_name: z.ZodString;
|
|
1746
|
-
role_name: z.ZodString;
|
|
1747
|
-
pooled: z.ZodOptional<z.ZodBoolean>;
|
|
1748
|
-
}, z.core.$strict>;
|
|
1557
|
+
project_id: z.ZodString;
|
|
1558
|
+
branch_id: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
endpoint_id: z.ZodOptional<z.ZodString>;
|
|
1560
|
+
database_name: z.ZodString;
|
|
1561
|
+
role_name: z.ZodString;
|
|
1562
|
+
pooled: z.ZodOptional<z.ZodBoolean>;
|
|
1749
1563
|
}, z.core.$strict>, "get_connection_uri", {
|
|
1750
1564
|
uri: string;
|
|
1751
1565
|
}>;
|
|
1752
1566
|
readonly getConsumptionHistoryPerBranchV2: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
metrics: z.ZodArray<z.ZodString>;
|
|
1767
|
-
}, z.core.$strict>;
|
|
1567
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1568
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
1569
|
+
project_ids: z.ZodArray<z.ZodString>;
|
|
1570
|
+
branch_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1571
|
+
from: z.ZodISODateTime;
|
|
1572
|
+
to: z.ZodISODateTime;
|
|
1573
|
+
granularity: z.ZodEnum<{
|
|
1574
|
+
hourly: "hourly";
|
|
1575
|
+
daily: "daily";
|
|
1576
|
+
monthly: "monthly";
|
|
1577
|
+
}>;
|
|
1578
|
+
org_id: z.ZodString;
|
|
1579
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
1768
1580
|
}, z.core.$strict>, "get_consumption_history_per_branch_v2", {
|
|
1769
1581
|
branches: {
|
|
1770
1582
|
project_id: string;
|
|
@@ -1789,21 +1601,19 @@ export declare const operationFactories: {
|
|
|
1789
1601
|
} | null | undefined;
|
|
1790
1602
|
}>;
|
|
1791
1603
|
readonly getConsumptionHistoryPerProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
metrics: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1806
|
-
}, z.core.$strict>;
|
|
1604
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1605
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
1606
|
+
project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1607
|
+
from: z.ZodISODateTime;
|
|
1608
|
+
to: z.ZodISODateTime;
|
|
1609
|
+
granularity: z.ZodEnum<{
|
|
1610
|
+
hourly: "hourly";
|
|
1611
|
+
daily: "daily";
|
|
1612
|
+
monthly: "monthly";
|
|
1613
|
+
}>;
|
|
1614
|
+
org_id: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
include_v1_metrics: z.ZodOptional<z.ZodBoolean>;
|
|
1616
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1807
1617
|
}, z.core.$strict>, "get_consumption_history_per_project", {
|
|
1808
1618
|
projects: {
|
|
1809
1619
|
project_id: string;
|
|
@@ -1830,20 +1640,18 @@ export declare const operationFactories: {
|
|
|
1830
1640
|
} | null | undefined;
|
|
1831
1641
|
}>;
|
|
1832
1642
|
readonly getConsumptionHistoryPerProjectV2: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
metrics: z.ZodArray<z.ZodString>;
|
|
1846
|
-
}, z.core.$strict>;
|
|
1643
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
1645
|
+
project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1646
|
+
from: z.ZodISODateTime;
|
|
1647
|
+
to: z.ZodISODateTime;
|
|
1648
|
+
granularity: z.ZodEnum<{
|
|
1649
|
+
hourly: "hourly";
|
|
1650
|
+
daily: "daily";
|
|
1651
|
+
monthly: "monthly";
|
|
1652
|
+
}>;
|
|
1653
|
+
org_id: z.ZodString;
|
|
1654
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
1847
1655
|
}, z.core.$strict>, "get_consumption_history_per_project_v2", {
|
|
1848
1656
|
projects: {
|
|
1849
1657
|
project_id: string;
|
|
@@ -1936,10 +1744,8 @@ export declare const operationFactories: {
|
|
|
1936
1744
|
}[];
|
|
1937
1745
|
}>;
|
|
1938
1746
|
readonly getMaskingRules: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
branch_id: z.ZodString;
|
|
1942
|
-
}, z.core.$strict>;
|
|
1747
|
+
project_id: z.ZodString;
|
|
1748
|
+
branch_id: z.ZodString;
|
|
1943
1749
|
}, z.core.$strict>, "get_masking_rules", {
|
|
1944
1750
|
masking_rules: {
|
|
1945
1751
|
database_name: string;
|
|
@@ -1951,10 +1757,8 @@ export declare const operationFactories: {
|
|
|
1951
1757
|
}[];
|
|
1952
1758
|
}>;
|
|
1953
1759
|
readonly getNeonAuth: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
branch_id: z.ZodString;
|
|
1957
|
-
}, z.core.$strict>;
|
|
1760
|
+
project_id: z.ZodString;
|
|
1761
|
+
branch_id: z.ZodString;
|
|
1958
1762
|
}, z.core.$strict>, "get_neon_auth", {
|
|
1959
1763
|
auth_provider: raw.NeonAuthSupportedAuthProvider;
|
|
1960
1764
|
auth_provider_project_id: string;
|
|
@@ -1968,18 +1772,14 @@ export declare const operationFactories: {
|
|
|
1968
1772
|
name?: string | null | undefined;
|
|
1969
1773
|
}>;
|
|
1970
1774
|
readonly getNeonAuthAllowLocalhost: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
branch_id: z.ZodString;
|
|
1974
|
-
}, z.core.$strict>;
|
|
1775
|
+
project_id: z.ZodString;
|
|
1776
|
+
branch_id: z.ZodString;
|
|
1975
1777
|
}, z.core.$strict>, "get_neon_auth_allow_localhost", {
|
|
1976
1778
|
allow_localhost: boolean;
|
|
1977
1779
|
}>;
|
|
1978
1780
|
readonly getNeonAuthEmailAndPasswordConfig: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
branch_id: z.ZodString;
|
|
1982
|
-
}, z.core.$strict>;
|
|
1781
|
+
project_id: z.ZodString;
|
|
1782
|
+
branch_id: z.ZodString;
|
|
1983
1783
|
}, z.core.$strict>, "get_neon_auth_email_and_password_config", {
|
|
1984
1784
|
enabled: boolean;
|
|
1985
1785
|
email_verification_method: raw.NeonAuthEmailVerificationMethod;
|
|
@@ -1990,10 +1790,8 @@ export declare const operationFactories: {
|
|
|
1990
1790
|
disable_sign_up: boolean;
|
|
1991
1791
|
}>;
|
|
1992
1792
|
readonly getNeonAuthEmailProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
branch_id: z.ZodString;
|
|
1996
|
-
}, z.core.$strict>;
|
|
1793
|
+
project_id: z.ZodString;
|
|
1794
|
+
branch_id: z.ZodString;
|
|
1997
1795
|
}, z.core.$strict>, "get_neon_auth_email_provider", {
|
|
1998
1796
|
type: "standard";
|
|
1999
1797
|
host: string;
|
|
@@ -2008,9 +1806,7 @@ export declare const operationFactories: {
|
|
|
2008
1806
|
sender_name?: string | null | undefined;
|
|
2009
1807
|
}>;
|
|
2010
1808
|
readonly getNeonAuthEmailServer: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2011
|
-
|
|
2012
|
-
project_id: z.ZodString;
|
|
2013
|
-
}, z.core.$strict>;
|
|
1809
|
+
project_id: z.ZodString;
|
|
2014
1810
|
}, z.core.$strict>, "get_neon_auth_email_server", {
|
|
2015
1811
|
type: "standard";
|
|
2016
1812
|
host: string;
|
|
@@ -2025,19 +1821,15 @@ export declare const operationFactories: {
|
|
|
2025
1821
|
sender_name?: string | null | undefined;
|
|
2026
1822
|
}>;
|
|
2027
1823
|
readonly getNeonAuthPhoneNumberPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
branch_id: z.ZodString;
|
|
2031
|
-
}, z.core.$strict>;
|
|
1824
|
+
project_id: z.ZodString;
|
|
1825
|
+
branch_id: z.ZodString;
|
|
2032
1826
|
}, z.core.$strict>, "get_neon_auth_phone_number_plugin", {
|
|
2033
1827
|
enabled: boolean;
|
|
2034
1828
|
otp_expires_in?: number | null | undefined;
|
|
2035
1829
|
}>;
|
|
2036
1830
|
readonly getNeonAuthPluginConfigs: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
branch_id: z.ZodString;
|
|
2040
|
-
}, z.core.$strict>;
|
|
1831
|
+
project_id: z.ZodString;
|
|
1832
|
+
branch_id: z.ZodString;
|
|
2041
1833
|
}, z.core.$strict>, "get_neon_auth_plugin_configs", {
|
|
2042
1834
|
organization?: {
|
|
2043
1835
|
enabled: boolean;
|
|
@@ -2086,10 +1878,8 @@ export declare const operationFactories: {
|
|
|
2086
1878
|
allow_localhost?: boolean | null | undefined;
|
|
2087
1879
|
}>;
|
|
2088
1880
|
readonly getNeonAuthWebhookConfig: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
branch_id: z.ZodString;
|
|
2092
|
-
}, z.core.$strict>;
|
|
1881
|
+
project_id: z.ZodString;
|
|
1882
|
+
branch_id: z.ZodString;
|
|
2093
1883
|
}, z.core.$strict>, "get_neon_auth_webhook_config", {
|
|
2094
1884
|
enabled: boolean;
|
|
2095
1885
|
webhook_url?: string | null | undefined;
|
|
@@ -2097,9 +1887,7 @@ export declare const operationFactories: {
|
|
|
2097
1887
|
timeout_seconds?: number | null | undefined;
|
|
2098
1888
|
}>;
|
|
2099
1889
|
readonly getOrganization: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2100
|
-
|
|
2101
|
-
org_id: z.ZodString;
|
|
2102
|
-
}, z.core.$strict>;
|
|
1890
|
+
org_id: z.ZodString;
|
|
2103
1891
|
}, z.core.$strict>, "get_organization", {
|
|
2104
1892
|
id: string;
|
|
2105
1893
|
name: string;
|
|
@@ -2112,9 +1900,7 @@ export declare const operationFactories: {
|
|
|
2112
1900
|
require_mfa?: boolean | null | undefined;
|
|
2113
1901
|
}>;
|
|
2114
1902
|
readonly getOrganizationInvitations: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2115
|
-
|
|
2116
|
-
org_id: z.ZodString;
|
|
2117
|
-
}, z.core.$strict>;
|
|
1903
|
+
org_id: z.ZodString;
|
|
2118
1904
|
}, z.core.$strict>, "get_organization_invitations", {
|
|
2119
1905
|
invitations: {
|
|
2120
1906
|
id: string;
|
|
@@ -2126,10 +1912,8 @@ export declare const operationFactories: {
|
|
|
2126
1912
|
}[];
|
|
2127
1913
|
}>;
|
|
2128
1914
|
readonly getOrganizationMember: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
member_id: z.ZodUUID;
|
|
2132
|
-
}, z.core.$strict>;
|
|
1915
|
+
org_id: z.ZodString;
|
|
1916
|
+
member_id: z.ZodUUID;
|
|
2133
1917
|
}, z.core.$strict>, "get_organization_member", {
|
|
2134
1918
|
id: string;
|
|
2135
1919
|
user_id: string;
|
|
@@ -2138,22 +1922,18 @@ export declare const operationFactories: {
|
|
|
2138
1922
|
joined_at?: string | null | undefined;
|
|
2139
1923
|
}>;
|
|
2140
1924
|
readonly getOrganizationMembers: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
desc: "desc";
|
|
2154
|
-
}>>;
|
|
2155
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
2156
|
-
}, z.core.$strict>>;
|
|
1925
|
+
org_id: z.ZodString;
|
|
1926
|
+
sort_by: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1927
|
+
email: "email";
|
|
1928
|
+
role: "role";
|
|
1929
|
+
joined_at: "joined_at";
|
|
1930
|
+
}>>>;
|
|
1931
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1932
|
+
sort_order: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1933
|
+
asc: "asc";
|
|
1934
|
+
desc: "desc";
|
|
1935
|
+
}>>>;
|
|
1936
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2157
1937
|
}, z.core.$strict>, "get_organization_members", {
|
|
2158
1938
|
members: {
|
|
2159
1939
|
member: {
|
|
@@ -2176,18 +1956,14 @@ export declare const operationFactories: {
|
|
|
2176
1956
|
} | null | undefined;
|
|
2177
1957
|
}>;
|
|
2178
1958
|
readonly getOrganizationSpendingLimit: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2179
|
-
|
|
2180
|
-
org_id: z.ZodString;
|
|
2181
|
-
}, z.core.$strict>;
|
|
1959
|
+
org_id: z.ZodString;
|
|
2182
1960
|
}, z.core.$strict>, "get_organization_spending_limit", {
|
|
2183
1961
|
spending_limit_cents: number | null;
|
|
2184
1962
|
}>;
|
|
2185
1963
|
readonly getOrganizationVPCEndpointDetails: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
vpc_endpoint_id: z.ZodString;
|
|
2190
|
-
}, z.core.$strict>;
|
|
1964
|
+
org_id: z.ZodString;
|
|
1965
|
+
region_id: z.ZodString;
|
|
1966
|
+
vpc_endpoint_id: z.ZodString;
|
|
2191
1967
|
}, z.core.$strict>, "get_organization_vpc_endpoint_details", {
|
|
2192
1968
|
vpc_endpoint_id: string;
|
|
2193
1969
|
label: string;
|
|
@@ -2196,9 +1972,7 @@ export declare const operationFactories: {
|
|
|
2196
1972
|
example_restricted_projects: string[];
|
|
2197
1973
|
}>;
|
|
2198
1974
|
readonly getProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2199
|
-
|
|
2200
|
-
project_id: z.ZodString;
|
|
2201
|
-
}, z.core.$strict>;
|
|
1975
|
+
project_id: z.ZodString;
|
|
2202
1976
|
}, z.core.$strict>, "get_project", {
|
|
2203
1977
|
project: {
|
|
2204
1978
|
data_storage_bytes_hour: number;
|
|
@@ -2279,22 +2053,18 @@ export declare const operationFactories: {
|
|
|
2279
2053
|
};
|
|
2280
2054
|
}>;
|
|
2281
2055
|
readonly getProjectAdvisorSecurityIssues: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
WARN: "WARN";
|
|
2295
|
-
ERROR: "ERROR";
|
|
2296
|
-
}>>;
|
|
2297
|
-
}, z.core.$strict>>;
|
|
2056
|
+
project_id: z.ZodString;
|
|
2057
|
+
branch_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2058
|
+
database_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2059
|
+
category: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2060
|
+
SECURITY: "SECURITY";
|
|
2061
|
+
PERFORMANCE: "PERFORMANCE";
|
|
2062
|
+
}>>>;
|
|
2063
|
+
min_severity: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2064
|
+
INFO: "INFO";
|
|
2065
|
+
WARN: "WARN";
|
|
2066
|
+
ERROR: "ERROR";
|
|
2067
|
+
}>>>;
|
|
2298
2068
|
}, z.core.$strict>, "get_project_advisor_security_issues", {
|
|
2299
2069
|
issues: {
|
|
2300
2070
|
name: string;
|
|
@@ -2312,10 +2082,8 @@ export declare const operationFactories: {
|
|
|
2312
2082
|
}[];
|
|
2313
2083
|
}>;
|
|
2314
2084
|
readonly getProjectBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
branch_id: z.ZodString;
|
|
2318
|
-
}, z.core.$strict>;
|
|
2085
|
+
project_id: z.ZodString;
|
|
2086
|
+
branch_id: z.ZodString;
|
|
2319
2087
|
}, z.core.$strict>, "get_project_branch", {
|
|
2320
2088
|
branch: {
|
|
2321
2089
|
id: string;
|
|
@@ -2373,28 +2141,22 @@ export declare const operationFactories: {
|
|
|
2373
2141
|
};
|
|
2374
2142
|
}>;
|
|
2375
2143
|
readonly getProjectBranchAiGateway: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
branch_id: z.ZodString;
|
|
2379
|
-
}, z.core.$strict>;
|
|
2144
|
+
project_id: z.ZodString;
|
|
2145
|
+
branch_id: z.ZodString;
|
|
2380
2146
|
}, z.core.$strict>, "get_project_branch_ai_gateway", {
|
|
2381
2147
|
enabled: boolean;
|
|
2382
2148
|
base_url: string;
|
|
2383
2149
|
}>;
|
|
2384
2150
|
readonly getProjectBranchBucketObject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
object_key: z.ZodString;
|
|
2390
|
-
}, z.core.$strict>;
|
|
2151
|
+
project_id: z.ZodString;
|
|
2152
|
+
branch_id: z.ZodString;
|
|
2153
|
+
bucket_name: z.ZodString;
|
|
2154
|
+
object_key: z.ZodString;
|
|
2391
2155
|
}, z.core.$strict>, "get_project_branch_bucket_object", import("./lib/operation.js").JsonSafeBlob>;
|
|
2392
2156
|
readonly getProjectBranchDataAPI: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
database_name: z.ZodString;
|
|
2397
|
-
}, z.core.$strict>;
|
|
2157
|
+
project_id: z.ZodString;
|
|
2158
|
+
branch_id: z.ZodString;
|
|
2159
|
+
database_name: z.ZodString;
|
|
2398
2160
|
}, z.core.$strict>, "get_project_branch_data_api", {
|
|
2399
2161
|
url: string;
|
|
2400
2162
|
status: string;
|
|
@@ -2413,11 +2175,9 @@ export declare const operationFactories: {
|
|
|
2413
2175
|
available_schemas?: string[] | null | undefined;
|
|
2414
2176
|
}>;
|
|
2415
2177
|
readonly getProjectBranchDatabase: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
database_name: z.ZodString;
|
|
2420
|
-
}, z.core.$strict>;
|
|
2178
|
+
project_id: z.ZodString;
|
|
2179
|
+
branch_id: z.ZodString;
|
|
2180
|
+
database_name: z.ZodString;
|
|
2421
2181
|
}, z.core.$strict>, "get_project_branch_database", {
|
|
2422
2182
|
database: {
|
|
2423
2183
|
id: number;
|
|
@@ -2429,11 +2189,9 @@ export declare const operationFactories: {
|
|
|
2429
2189
|
};
|
|
2430
2190
|
}>;
|
|
2431
2191
|
readonly getProjectBranchFunction: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
slug: z.ZodString;
|
|
2436
|
-
}, z.core.$strict>;
|
|
2192
|
+
project_id: z.ZodString;
|
|
2193
|
+
branch_id: z.ZodString;
|
|
2194
|
+
slug: z.ZodString;
|
|
2437
2195
|
}, z.core.$strict>, "get_project_branch_function", {
|
|
2438
2196
|
function: {
|
|
2439
2197
|
id: string;
|
|
@@ -2462,11 +2220,9 @@ export declare const operationFactories: {
|
|
|
2462
2220
|
};
|
|
2463
2221
|
}>;
|
|
2464
2222
|
readonly getProjectBranchRole: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
role_name: z.ZodString;
|
|
2469
|
-
}, z.core.$strict>;
|
|
2223
|
+
project_id: z.ZodString;
|
|
2224
|
+
branch_id: z.ZodString;
|
|
2225
|
+
role_name: z.ZodString;
|
|
2470
2226
|
}, z.core.$strict>, "get_project_branch_role", {
|
|
2471
2227
|
role: {
|
|
2472
2228
|
branch_id: string;
|
|
@@ -2479,25 +2235,19 @@ export declare const operationFactories: {
|
|
|
2479
2235
|
};
|
|
2480
2236
|
}>;
|
|
2481
2237
|
readonly getProjectBranchRolePassword: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
role_name: z.ZodString;
|
|
2486
|
-
}, z.core.$strict>;
|
|
2238
|
+
project_id: z.ZodString;
|
|
2239
|
+
branch_id: z.ZodString;
|
|
2240
|
+
role_name: z.ZodString;
|
|
2487
2241
|
}, z.core.$strict>, "get_project_branch_role_password", {
|
|
2488
2242
|
password: string;
|
|
2489
2243
|
}>;
|
|
2490
2244
|
readonly getProjectBranchSchema: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
lsn: z.ZodOptional<z.ZodString>;
|
|
2498
|
-
timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2499
|
-
format: z.ZodOptional<z.ZodString>;
|
|
2500
|
-
}, z.core.$strict>;
|
|
2245
|
+
project_id: z.ZodString;
|
|
2246
|
+
branch_id: z.ZodString;
|
|
2247
|
+
db_name: z.ZodString;
|
|
2248
|
+
lsn: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2250
|
+
format: z.ZodOptional<z.ZodString>;
|
|
2501
2251
|
}, z.core.$strict>, "get_project_branch_schema", {
|
|
2502
2252
|
sql?: string | null | undefined;
|
|
2503
2253
|
json?: {
|
|
@@ -2524,26 +2274,20 @@ export declare const operationFactories: {
|
|
|
2524
2274
|
} | null | undefined;
|
|
2525
2275
|
}>;
|
|
2526
2276
|
readonly getProjectBranchSchemaComparison: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2536
|
-
base_lsn: z.ZodOptional<z.ZodString>;
|
|
2537
|
-
base_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2538
|
-
}, z.core.$strict>;
|
|
2277
|
+
project_id: z.ZodString;
|
|
2278
|
+
branch_id: z.ZodString;
|
|
2279
|
+
base_branch_id: z.ZodOptional<z.ZodString>;
|
|
2280
|
+
db_name: z.ZodString;
|
|
2281
|
+
lsn: z.ZodOptional<z.ZodString>;
|
|
2282
|
+
timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2283
|
+
base_lsn: z.ZodOptional<z.ZodString>;
|
|
2284
|
+
base_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
2539
2285
|
}, z.core.$strict>, "get_project_branch_schema_comparison", {
|
|
2540
2286
|
diff?: string | null | undefined;
|
|
2541
2287
|
}>;
|
|
2542
2288
|
readonly getProjectBranchStorage: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
branch_id: z.ZodString;
|
|
2546
|
-
}, z.core.$strict>;
|
|
2289
|
+
project_id: z.ZodString;
|
|
2290
|
+
branch_id: z.ZodString;
|
|
2547
2291
|
}, z.core.$strict>, "get_project_branch_storage", {
|
|
2548
2292
|
enabled: boolean;
|
|
2549
2293
|
s3_endpoint: string;
|
|
@@ -2551,10 +2295,8 @@ export declare const operationFactories: {
|
|
|
2551
2295
|
force_path_style: boolean;
|
|
2552
2296
|
}>;
|
|
2553
2297
|
readonly getProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
endpoint_id: z.ZodString;
|
|
2557
|
-
}, z.core.$strict>;
|
|
2298
|
+
project_id: z.ZodString;
|
|
2299
|
+
endpoint_id: z.ZodString;
|
|
2558
2300
|
}, z.core.$strict>, "get_project_endpoint", {
|
|
2559
2301
|
endpoint: {
|
|
2560
2302
|
host: string;
|
|
@@ -2597,9 +2339,7 @@ export declare const operationFactories: {
|
|
|
2597
2339
|
};
|
|
2598
2340
|
}>;
|
|
2599
2341
|
readonly getProjectJWKS: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2600
|
-
|
|
2601
|
-
project_id: z.ZodString;
|
|
2602
|
-
}, z.core.$strict>;
|
|
2342
|
+
project_id: z.ZodString;
|
|
2603
2343
|
}, z.core.$strict>, "get_project_jwks", {
|
|
2604
2344
|
jwks: {
|
|
2605
2345
|
id: string;
|
|
@@ -2614,10 +2354,8 @@ export declare const operationFactories: {
|
|
|
2614
2354
|
}[];
|
|
2615
2355
|
}>;
|
|
2616
2356
|
readonly getProjectOperation: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
operation_id: z.ZodUUID;
|
|
2620
|
-
}, z.core.$strict>;
|
|
2357
|
+
project_id: z.ZodString;
|
|
2358
|
+
operation_id: z.ZodUUID;
|
|
2621
2359
|
}, z.core.$strict>, "get_project_operation", {
|
|
2622
2360
|
operation: {
|
|
2623
2361
|
id: string;
|
|
@@ -2635,10 +2373,8 @@ export declare const operationFactories: {
|
|
|
2635
2373
|
};
|
|
2636
2374
|
}>;
|
|
2637
2375
|
readonly getSnapshotSchedule: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
branch_id: z.ZodString;
|
|
2641
|
-
}, z.core.$strict>;
|
|
2376
|
+
project_id: z.ZodString;
|
|
2377
|
+
branch_id: z.ZodString;
|
|
2642
2378
|
}, z.core.$strict>, "get_snapshot_schedule", {
|
|
2643
2379
|
schedule: {
|
|
2644
2380
|
frequency: string;
|
|
@@ -2649,12 +2385,8 @@ export declare const operationFactories: {
|
|
|
2649
2385
|
}[];
|
|
2650
2386
|
}>;
|
|
2651
2387
|
readonly grantPermissionToProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
}, z.core.$strict>;
|
|
2655
|
-
path: z.ZodObject<{
|
|
2656
|
-
project_id: z.ZodString;
|
|
2657
|
-
}, z.core.$strict>;
|
|
2388
|
+
project_id: z.ZodString;
|
|
2389
|
+
email: z.ZodEmail;
|
|
2658
2390
|
}, z.core.$strict>, "grant_permission_to_project", {
|
|
2659
2391
|
id: string;
|
|
2660
2392
|
granted_to_email: string;
|
|
@@ -2674,10 +2406,8 @@ export declare const operationFactories: {
|
|
|
2674
2406
|
last_used_from_addr: string;
|
|
2675
2407
|
}[]>;
|
|
2676
2408
|
readonly listBranchNeonAuthOauthProviders: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
branch_id: z.ZodString;
|
|
2680
|
-
}, z.core.$strict>;
|
|
2409
|
+
project_id: z.ZodString;
|
|
2410
|
+
branch_id: z.ZodString;
|
|
2681
2411
|
}, z.core.$strict>, "list_branch_neon_auth_oauth_providers", {
|
|
2682
2412
|
providers: {
|
|
2683
2413
|
id: raw.NeonAuthOauthProviderId;
|
|
@@ -2687,10 +2417,8 @@ export declare const operationFactories: {
|
|
|
2687
2417
|
}[];
|
|
2688
2418
|
}>;
|
|
2689
2419
|
readonly listBranchNeonAuthTrustedDomains: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
branch_id: z.ZodString;
|
|
2693
|
-
}, z.core.$strict>;
|
|
2420
|
+
project_id: z.ZodString;
|
|
2421
|
+
branch_id: z.ZodString;
|
|
2694
2422
|
}, z.core.$strict>, "list_branch_neon_auth_trusted_domains", {
|
|
2695
2423
|
domains: {
|
|
2696
2424
|
domain: string;
|
|
@@ -2698,10 +2426,8 @@ export declare const operationFactories: {
|
|
|
2698
2426
|
}[];
|
|
2699
2427
|
}>;
|
|
2700
2428
|
readonly listCredentials: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
branch_id: z.ZodString;
|
|
2704
|
-
}, z.core.$strict>;
|
|
2429
|
+
project_id: z.ZodString;
|
|
2430
|
+
branch_id: z.ZodString;
|
|
2705
2431
|
}, z.core.$strict>, "list_credentials", {
|
|
2706
2432
|
credentials: {
|
|
2707
2433
|
token_id: string;
|
|
@@ -2718,9 +2444,7 @@ export declare const operationFactories: {
|
|
|
2718
2444
|
}[];
|
|
2719
2445
|
}>;
|
|
2720
2446
|
readonly listNeonAuthIntegrations: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2721
|
-
|
|
2722
|
-
project_id: z.ZodString;
|
|
2723
|
-
}, z.core.$strict>;
|
|
2447
|
+
project_id: z.ZodString;
|
|
2724
2448
|
}, z.core.$strict>, "list_neon_auth_integrations", {
|
|
2725
2449
|
data: {
|
|
2726
2450
|
auth_provider: raw.NeonAuthSupportedAuthProvider;
|
|
@@ -2736,9 +2460,7 @@ export declare const operationFactories: {
|
|
|
2736
2460
|
}[];
|
|
2737
2461
|
}>;
|
|
2738
2462
|
readonly listNeonAuthOauthProviders: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2739
|
-
|
|
2740
|
-
project_id: z.ZodString;
|
|
2741
|
-
}, z.core.$strict>;
|
|
2463
|
+
project_id: z.ZodString;
|
|
2742
2464
|
}, z.core.$strict>, "list_neon_auth_oauth_providers", {
|
|
2743
2465
|
providers: {
|
|
2744
2466
|
id: raw.NeonAuthOauthProviderId;
|
|
@@ -2748,9 +2470,7 @@ export declare const operationFactories: {
|
|
|
2748
2470
|
}[];
|
|
2749
2471
|
}>;
|
|
2750
2472
|
readonly listNeonAuthRedirectURIWhitelistDomains: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2751
|
-
|
|
2752
|
-
project_id: z.ZodString;
|
|
2753
|
-
}, z.core.$strict>;
|
|
2473
|
+
project_id: z.ZodString;
|
|
2754
2474
|
}, z.core.$strict>, "list_neon_auth_redirect_uri_whitelist_domains", {
|
|
2755
2475
|
domains: {
|
|
2756
2476
|
domain: string;
|
|
@@ -2758,10 +2478,8 @@ export declare const operationFactories: {
|
|
|
2758
2478
|
}[];
|
|
2759
2479
|
}>;
|
|
2760
2480
|
readonly listOrganizationVPCEndpoints: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
region_id: z.ZodString;
|
|
2764
|
-
}, z.core.$strict>;
|
|
2481
|
+
org_id: z.ZodString;
|
|
2482
|
+
region_id: z.ZodString;
|
|
2765
2483
|
}, z.core.$strict>, "list_organization_vpc_endpoints", {
|
|
2766
2484
|
endpoints: {
|
|
2767
2485
|
vpc_endpoint_id: string;
|
|
@@ -2769,9 +2487,7 @@ export declare const operationFactories: {
|
|
|
2769
2487
|
}[];
|
|
2770
2488
|
}>;
|
|
2771
2489
|
readonly listOrganizationVPCEndpointsAllRegions: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2772
|
-
|
|
2773
|
-
org_id: z.ZodString;
|
|
2774
|
-
}, z.core.$strict>;
|
|
2490
|
+
org_id: z.ZodString;
|
|
2775
2491
|
}, z.core.$strict>, "list_organization_vpc_endpoints_all_regions", {
|
|
2776
2492
|
endpoints: {
|
|
2777
2493
|
vpc_endpoint_id: string;
|
|
@@ -2780,9 +2496,7 @@ export declare const operationFactories: {
|
|
|
2780
2496
|
}[];
|
|
2781
2497
|
}>;
|
|
2782
2498
|
readonly listOrgApiKeys: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2783
|
-
|
|
2784
|
-
org_id: z.ZodString;
|
|
2785
|
-
}, z.core.$strict>;
|
|
2499
|
+
org_id: z.ZodString;
|
|
2786
2500
|
}, z.core.$strict>, "list_org_api_keys", {
|
|
2787
2501
|
id: number;
|
|
2788
2502
|
name: string;
|
|
@@ -2797,17 +2511,13 @@ export declare const operationFactories: {
|
|
|
2797
2511
|
project_id?: string | null | undefined;
|
|
2798
2512
|
}[]>;
|
|
2799
2513
|
readonly listProjectBranchBucketObjects: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
delimiter: z.ZodOptional<z.ZodString>;
|
|
2808
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
2809
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
2810
|
-
}, z.core.$strict>>;
|
|
2514
|
+
project_id: z.ZodString;
|
|
2515
|
+
branch_id: z.ZodString;
|
|
2516
|
+
bucket_name: z.ZodString;
|
|
2517
|
+
prefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2518
|
+
delimiter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2519
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2520
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2811
2521
|
}, z.core.$strict>, "list_project_branch_bucket_objects", {
|
|
2812
2522
|
folders: string[];
|
|
2813
2523
|
objects: {
|
|
@@ -2821,10 +2531,8 @@ export declare const operationFactories: {
|
|
|
2821
2531
|
is_truncated: boolean;
|
|
2822
2532
|
}>;
|
|
2823
2533
|
readonly listProjectBranchBuckets: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
branch_id: z.ZodString;
|
|
2827
|
-
}, z.core.$strict>;
|
|
2534
|
+
project_id: z.ZodString;
|
|
2535
|
+
branch_id: z.ZodString;
|
|
2828
2536
|
}, z.core.$strict>, "list_project_branch_buckets", {
|
|
2829
2537
|
buckets: {
|
|
2830
2538
|
name: string;
|
|
@@ -2833,10 +2541,8 @@ export declare const operationFactories: {
|
|
|
2833
2541
|
}[];
|
|
2834
2542
|
}>;
|
|
2835
2543
|
readonly listProjectBranchDatabases: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
branch_id: z.ZodString;
|
|
2839
|
-
}, z.core.$strict>;
|
|
2544
|
+
project_id: z.ZodString;
|
|
2545
|
+
branch_id: z.ZodString;
|
|
2840
2546
|
}, z.core.$strict>, "list_project_branch_databases", {
|
|
2841
2547
|
databases: {
|
|
2842
2548
|
id: number;
|
|
@@ -2848,10 +2554,8 @@ export declare const operationFactories: {
|
|
|
2848
2554
|
}[];
|
|
2849
2555
|
}>;
|
|
2850
2556
|
readonly listProjectBranchEndpoints: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
branch_id: z.ZodString;
|
|
2854
|
-
}, z.core.$strict>;
|
|
2557
|
+
project_id: z.ZodString;
|
|
2558
|
+
branch_id: z.ZodString;
|
|
2855
2559
|
}, z.core.$strict>, "list_project_branch_endpoints", {
|
|
2856
2560
|
endpoints: {
|
|
2857
2561
|
host: string;
|
|
@@ -2894,24 +2598,20 @@ export declare const operationFactories: {
|
|
|
2894
2598
|
}[];
|
|
2895
2599
|
}>;
|
|
2896
2600
|
readonly listProjectBranches: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
}>>;
|
|
2912
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
2913
|
-
include_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
2914
|
-
}, z.core.$strict>>;
|
|
2601
|
+
project_id: z.ZodString;
|
|
2602
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2603
|
+
sort_by: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2604
|
+
name: "name";
|
|
2605
|
+
created_at: "created_at";
|
|
2606
|
+
updated_at: "updated_at";
|
|
2607
|
+
}>>>;
|
|
2608
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2609
|
+
sort_order: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2610
|
+
asc: "asc";
|
|
2611
|
+
desc: "desc";
|
|
2612
|
+
}>>>;
|
|
2613
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2614
|
+
include_deleted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2915
2615
|
}, z.core.$strict>, "list_project_branches", {
|
|
2916
2616
|
branches: {
|
|
2917
2617
|
id: string;
|
|
@@ -2976,14 +2676,10 @@ export declare const operationFactories: {
|
|
|
2976
2676
|
} | null | undefined;
|
|
2977
2677
|
}>;
|
|
2978
2678
|
readonly listProjectBranchFunctions: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
2984
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
2985
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
2986
|
-
}, z.core.$strict>>;
|
|
2679
|
+
project_id: z.ZodString;
|
|
2680
|
+
branch_id: z.ZodString;
|
|
2681
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2682
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2987
2683
|
}, z.core.$strict>, "list_project_branch_functions", {
|
|
2988
2684
|
functions: {
|
|
2989
2685
|
id: string;
|
|
@@ -3017,39 +2713,31 @@ export declare const operationFactories: {
|
|
|
3017
2713
|
} | null | undefined;
|
|
3018
2714
|
}>;
|
|
3019
2715
|
readonly listProjectBranchLogFields: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
branch_id: z.ZodString;
|
|
3023
|
-
}, z.core.$strict>;
|
|
2716
|
+
project_id: z.ZodString;
|
|
2717
|
+
branch_id: z.ZodString;
|
|
3024
2718
|
}, z.core.$strict>, "list_project_branch_log_fields", {
|
|
3025
2719
|
fields: string[];
|
|
3026
2720
|
}>;
|
|
3027
2721
|
readonly listProjectBranchLogFieldValues: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
pg_endpoint: "pg_endpoint";
|
|
3041
|
-
}>>;
|
|
3042
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
3043
|
-
}, z.core.$strict>>;
|
|
2722
|
+
project_id: z.ZodString;
|
|
2723
|
+
branch_id: z.ZodString;
|
|
2724
|
+
field_name: z.ZodString;
|
|
2725
|
+
since: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2726
|
+
start_time: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
|
|
2727
|
+
end_time: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
|
|
2728
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2729
|
+
function: "function";
|
|
2730
|
+
storage: "storage";
|
|
2731
|
+
pg_endpoint: "pg_endpoint";
|
|
2732
|
+
}>>>;
|
|
2733
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
3044
2734
|
}, z.core.$strict>, "list_project_branch_log_field_values", {
|
|
3045
2735
|
values: string[];
|
|
3046
2736
|
is_truncated: boolean;
|
|
3047
2737
|
}>;
|
|
3048
2738
|
readonly listProjectBranchRoles: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
branch_id: z.ZodString;
|
|
3052
|
-
}, z.core.$strict>;
|
|
2739
|
+
project_id: z.ZodString;
|
|
2740
|
+
branch_id: z.ZodString;
|
|
3053
2741
|
}, z.core.$strict>, "list_project_branch_roles", {
|
|
3054
2742
|
roles: {
|
|
3055
2743
|
branch_id: string;
|
|
@@ -3062,9 +2750,7 @@ export declare const operationFactories: {
|
|
|
3062
2750
|
}[];
|
|
3063
2751
|
}>;
|
|
3064
2752
|
readonly listProjectEndpoints: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3065
|
-
|
|
3066
|
-
project_id: z.ZodString;
|
|
3067
|
-
}, z.core.$strict>;
|
|
2753
|
+
project_id: z.ZodString;
|
|
3068
2754
|
}, z.core.$strict>, "list_project_endpoints", {
|
|
3069
2755
|
endpoints: {
|
|
3070
2756
|
host: string;
|
|
@@ -3107,13 +2793,9 @@ export declare const operationFactories: {
|
|
|
3107
2793
|
}[];
|
|
3108
2794
|
}>;
|
|
3109
2795
|
readonly listProjectMembers: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
3114
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
3115
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
3116
|
-
}, z.core.$strict>>;
|
|
2796
|
+
project_id: z.ZodString;
|
|
2797
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2798
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
3117
2799
|
}, z.core.$strict>, "list_project_members", {
|
|
3118
2800
|
project_members: {
|
|
3119
2801
|
member_id: string;
|
|
@@ -3134,13 +2816,9 @@ export declare const operationFactories: {
|
|
|
3134
2816
|
} | null | undefined;
|
|
3135
2817
|
}>;
|
|
3136
2818
|
readonly listProjectOperations: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
3141
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
3142
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
3143
|
-
}, z.core.$strict>>;
|
|
2819
|
+
project_id: z.ZodString;
|
|
2820
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2821
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
3144
2822
|
}, z.core.$strict>, "list_project_operations", {
|
|
3145
2823
|
operations: {
|
|
3146
2824
|
id: string;
|
|
@@ -3161,9 +2839,7 @@ export declare const operationFactories: {
|
|
|
3161
2839
|
} | null | undefined;
|
|
3162
2840
|
}>;
|
|
3163
2841
|
readonly listProjectPermissions: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3164
|
-
|
|
3165
|
-
project_id: z.ZodString;
|
|
3166
|
-
}, z.core.$strict>;
|
|
2842
|
+
project_id: z.ZodString;
|
|
3167
2843
|
}, z.core.$strict>, "list_project_permissions", {
|
|
3168
2844
|
project_permissions: {
|
|
3169
2845
|
id: string;
|
|
@@ -3173,14 +2849,12 @@ export declare const operationFactories: {
|
|
|
3173
2849
|
}[];
|
|
3174
2850
|
}>;
|
|
3175
2851
|
readonly listProjects: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
recoverable: z.ZodOptional<z.ZodBoolean>;
|
|
3183
|
-
}, z.core.$strict>>;
|
|
2852
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2853
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2854
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2855
|
+
org_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2856
|
+
timeout: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2857
|
+
recoverable: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3184
2858
|
}, z.core.$strict>, "list_projects", {
|
|
3185
2859
|
projects: {
|
|
3186
2860
|
id: string;
|
|
@@ -3261,9 +2935,7 @@ export declare const operationFactories: {
|
|
|
3261
2935
|
};
|
|
3262
2936
|
}>;
|
|
3263
2937
|
readonly listProjectVPCEndpoints: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3264
|
-
|
|
3265
|
-
project_id: z.ZodString;
|
|
3266
|
-
}, z.core.$strict>;
|
|
2938
|
+
project_id: z.ZodString;
|
|
3267
2939
|
}, z.core.$strict>, "list_project_vpc_endpoints", {
|
|
3268
2940
|
endpoints: {
|
|
3269
2941
|
vpc_endpoint_id: string;
|
|
@@ -3271,12 +2943,10 @@ export declare const operationFactories: {
|
|
|
3271
2943
|
}[];
|
|
3272
2944
|
}>;
|
|
3273
2945
|
readonly listSharedProjects: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
3279
|
-
}, z.core.$strict>>;
|
|
2946
|
+
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2947
|
+
limit: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
2948
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2949
|
+
timeout: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
3280
2950
|
}, z.core.$strict>, "list_shared_projects", {
|
|
3281
2951
|
projects: {
|
|
3282
2952
|
id: string;
|
|
@@ -3351,9 +3021,7 @@ export declare const operationFactories: {
|
|
|
3351
3021
|
} | null | undefined;
|
|
3352
3022
|
}>;
|
|
3353
3023
|
readonly listSnapshots: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3354
|
-
|
|
3355
|
-
project_id: z.ZodString;
|
|
3356
|
-
}, z.core.$strict>;
|
|
3024
|
+
project_id: z.ZodString;
|
|
3357
3025
|
}, z.core.$strict>, "list_snapshots", {
|
|
3358
3026
|
snapshots: {
|
|
3359
3027
|
id: string;
|
|
@@ -3369,20 +3037,16 @@ export declare const operationFactories: {
|
|
|
3369
3037
|
}[];
|
|
3370
3038
|
}>;
|
|
3371
3039
|
readonly presignProjectBranchBucketObject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
}
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
branch_id: z.ZodString;
|
|
3383
|
-
bucket_name: z.ZodString;
|
|
3384
|
-
object_key: z.ZodString;
|
|
3385
|
-
}, z.core.$strict>;
|
|
3040
|
+
project_id: z.ZodString;
|
|
3041
|
+
branch_id: z.ZodString;
|
|
3042
|
+
bucket_name: z.ZodString;
|
|
3043
|
+
object_key: z.ZodString;
|
|
3044
|
+
operation: z.ZodEnum<{
|
|
3045
|
+
upload: "upload";
|
|
3046
|
+
download: "download";
|
|
3047
|
+
}>;
|
|
3048
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
3049
|
+
expires_in_seconds: z.ZodOptional<z.ZodInt>;
|
|
3386
3050
|
}, z.core.$strict>, "presign_project_branch_bucket_object", {
|
|
3387
3051
|
url: string;
|
|
3388
3052
|
method: string;
|
|
@@ -3392,40 +3056,36 @@ export declare const operationFactories: {
|
|
|
3392
3056
|
expires_at: string;
|
|
3393
3057
|
}>;
|
|
3394
3058
|
readonly queryProjectBranchLogs: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
path: z.ZodObject<{
|
|
3426
|
-
project_id: z.ZodString;
|
|
3427
|
-
branch_id: z.ZodString;
|
|
3428
|
-
}, z.core.$strict>;
|
|
3059
|
+
project_id: z.ZodString;
|
|
3060
|
+
branch_id: z.ZodString;
|
|
3061
|
+
since: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
3063
|
+
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
3064
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
3065
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3066
|
+
sort_order: z.ZodOptional<z.ZodEnum<{
|
|
3067
|
+
asc: "asc";
|
|
3068
|
+
desc: "desc";
|
|
3069
|
+
}>>;
|
|
3070
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
3071
|
+
function: "function";
|
|
3072
|
+
storage: "storage";
|
|
3073
|
+
pg_endpoint: "pg_endpoint";
|
|
3074
|
+
}>>;
|
|
3075
|
+
service_name: z.ZodOptional<z.ZodString>;
|
|
3076
|
+
scope_name: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
minimum_severity: z.ZodOptional<z.ZodEnum<{
|
|
3078
|
+
trace: "trace";
|
|
3079
|
+
error: "error";
|
|
3080
|
+
debug: "debug";
|
|
3081
|
+
info: "info";
|
|
3082
|
+
warn: "warn";
|
|
3083
|
+
fatal: "fatal";
|
|
3084
|
+
}>>;
|
|
3085
|
+
severity_text: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
body_contains: z.ZodOptional<z.ZodString>;
|
|
3087
|
+
trace_id: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
logql: z.ZodOptional<z.ZodString>;
|
|
3429
3089
|
}, z.core.$strict>, "query_project_branch_logs", {
|
|
3430
3090
|
logs: {
|
|
3431
3091
|
timestamp: string;
|
|
@@ -3446,9 +3106,7 @@ export declare const operationFactories: {
|
|
|
3446
3106
|
is_truncated: boolean;
|
|
3447
3107
|
}>;
|
|
3448
3108
|
readonly recoverProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3449
|
-
|
|
3450
|
-
project_id: z.ZodString;
|
|
3451
|
-
}, z.core.$strict>;
|
|
3109
|
+
project_id: z.ZodString;
|
|
3452
3110
|
}, z.core.$strict>, "recover_project", {
|
|
3453
3111
|
project: {
|
|
3454
3112
|
data_storage_bytes_hour: number;
|
|
@@ -3572,21 +3230,15 @@ export declare const operationFactories: {
|
|
|
3572
3230
|
}[];
|
|
3573
3231
|
}>;
|
|
3574
3232
|
readonly removeOrganizationMember: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
member_id: z.ZodUUID;
|
|
3578
|
-
}, z.core.$strict>;
|
|
3233
|
+
org_id: z.ZodString;
|
|
3234
|
+
member_id: z.ZodUUID;
|
|
3579
3235
|
}, z.core.$strict>, "remove_organization_member", {
|
|
3580
3236
|
[x: string]: unknown;
|
|
3581
3237
|
}>;
|
|
3582
3238
|
readonly removeProjectMemberRole: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
}, z.core.$strict>;
|
|
3587
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
3588
|
-
confirm_self_lockout: z.ZodOptional<z.ZodBoolean>;
|
|
3589
|
-
}, z.core.$strict>>;
|
|
3239
|
+
project_id: z.ZodString;
|
|
3240
|
+
member_id: z.ZodUUID;
|
|
3241
|
+
confirm_self_lockout: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3590
3242
|
}, z.core.$strict>, "remove_project_member_role", {
|
|
3591
3243
|
project_id: string;
|
|
3592
3244
|
member_id: string;
|
|
@@ -3602,11 +3254,9 @@ export declare const operationFactories: {
|
|
|
3602
3254
|
org_api_key_rotation_recommended?: boolean | null | undefined;
|
|
3603
3255
|
}>;
|
|
3604
3256
|
readonly resetProjectBranchRolePassword: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
role_name: z.ZodString;
|
|
3609
|
-
}, z.core.$strict>;
|
|
3257
|
+
project_id: z.ZodString;
|
|
3258
|
+
branch_id: z.ZodString;
|
|
3259
|
+
role_name: z.ZodString;
|
|
3610
3260
|
}, z.core.$strict>, "reset_project_branch_role_password", {
|
|
3611
3261
|
role: {
|
|
3612
3262
|
branch_id: string;
|
|
@@ -3633,10 +3283,8 @@ export declare const operationFactories: {
|
|
|
3633
3283
|
}[];
|
|
3634
3284
|
}>;
|
|
3635
3285
|
readonly restartProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
endpoint_id: z.ZodString;
|
|
3639
|
-
}, z.core.$strict>;
|
|
3286
|
+
project_id: z.ZodString;
|
|
3287
|
+
endpoint_id: z.ZodString;
|
|
3640
3288
|
}, z.core.$strict>, "restart_project_endpoint", {
|
|
3641
3289
|
endpoint: {
|
|
3642
3290
|
host: string;
|
|
@@ -3693,16 +3341,12 @@ export declare const operationFactories: {
|
|
|
3693
3341
|
}[];
|
|
3694
3342
|
}>;
|
|
3695
3343
|
readonly restoreProjectBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
path: z.ZodObject<{
|
|
3703
|
-
project_id: z.ZodString;
|
|
3704
|
-
branch_id: z.ZodString;
|
|
3705
|
-
}, z.core.$strict>;
|
|
3344
|
+
project_id: z.ZodString;
|
|
3345
|
+
branch_id: z.ZodString;
|
|
3346
|
+
source_branch_id: z.ZodString;
|
|
3347
|
+
source_lsn: z.ZodOptional<z.ZodString>;
|
|
3348
|
+
source_timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
3349
|
+
preserve_under_name: z.ZodOptional<z.ZodString>;
|
|
3706
3350
|
}, z.core.$strict>, "restore_project_branch", {
|
|
3707
3351
|
branch: {
|
|
3708
3352
|
id: string;
|
|
@@ -3763,18 +3407,11 @@ export declare const operationFactories: {
|
|
|
3763
3407
|
}[];
|
|
3764
3408
|
}>;
|
|
3765
3409
|
readonly restoreSnapshot: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
path: z.ZodObject<{
|
|
3772
|
-
project_id: z.ZodString;
|
|
3773
|
-
snapshot_id: z.ZodString;
|
|
3774
|
-
}, z.core.$strict>;
|
|
3775
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
3776
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3777
|
-
}, z.core.$strict>>;
|
|
3410
|
+
project_id: z.ZodString;
|
|
3411
|
+
snapshot_id: z.ZodString;
|
|
3412
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3413
|
+
target_branch_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3414
|
+
finalize_restore: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3778
3415
|
}, z.core.$strict>, "restore_snapshot", {
|
|
3779
3416
|
branch: {
|
|
3780
3417
|
id: string;
|
|
@@ -3874,9 +3511,7 @@ export declare const operationFactories: {
|
|
|
3874
3511
|
}[];
|
|
3875
3512
|
}>;
|
|
3876
3513
|
readonly revokeApiKey: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3877
|
-
|
|
3878
|
-
key_id: z.ZodInt;
|
|
3879
|
-
}, z.core.$strict>;
|
|
3514
|
+
key_id: z.ZodInt;
|
|
3880
3515
|
}, z.core.$strict>, "revoke_api_key", {
|
|
3881
3516
|
id: number;
|
|
3882
3517
|
name: string;
|
|
@@ -3887,17 +3522,13 @@ export declare const operationFactories: {
|
|
|
3887
3522
|
revoked: boolean;
|
|
3888
3523
|
}>;
|
|
3889
3524
|
readonly revokeCredential: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
token_id: z.ZodString;
|
|
3894
|
-
}, z.core.$strict>;
|
|
3525
|
+
project_id: z.ZodString;
|
|
3526
|
+
branch_id: z.ZodString;
|
|
3527
|
+
token_id: z.ZodString;
|
|
3895
3528
|
}, z.core.$strict>, "revoke_credential", null>;
|
|
3896
3529
|
readonly revokeOrgApiKey: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
key_id: z.ZodInt;
|
|
3900
|
-
}, z.core.$strict>;
|
|
3530
|
+
org_id: z.ZodString;
|
|
3531
|
+
key_id: z.ZodInt;
|
|
3901
3532
|
}, z.core.$strict>, "revoke_org_api_key", {
|
|
3902
3533
|
id: number;
|
|
3903
3534
|
name: string;
|
|
@@ -3909,10 +3540,8 @@ export declare const operationFactories: {
|
|
|
3909
3540
|
project_id?: string | null | undefined;
|
|
3910
3541
|
}>;
|
|
3911
3542
|
readonly revokePermissionFromProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
permission_id: z.ZodString;
|
|
3915
|
-
}, z.core.$strict>;
|
|
3543
|
+
project_id: z.ZodString;
|
|
3544
|
+
permission_id: z.ZodString;
|
|
3916
3545
|
}, z.core.$strict>, "revoke_permission_from_project", {
|
|
3917
3546
|
id: string;
|
|
3918
3547
|
granted_to_email: string;
|
|
@@ -3920,28 +3549,22 @@ export declare const operationFactories: {
|
|
|
3920
3549
|
revoked_at?: string | null | undefined;
|
|
3921
3550
|
}>;
|
|
3922
3551
|
readonly sendNeonAuthTestEmail: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
path: z.ZodObject<{
|
|
3933
|
-
project_id: z.ZodString;
|
|
3934
|
-
branch_id: z.ZodString;
|
|
3935
|
-
}, z.core.$strict>;
|
|
3552
|
+
project_id: z.ZodString;
|
|
3553
|
+
branch_id: z.ZodString;
|
|
3554
|
+
host: z.ZodString;
|
|
3555
|
+
port: z.ZodInt;
|
|
3556
|
+
username: z.ZodString;
|
|
3557
|
+
password: z.ZodString;
|
|
3558
|
+
sender_email: z.ZodString;
|
|
3559
|
+
sender_name: z.ZodString;
|
|
3560
|
+
recipient_email: z.ZodEmail;
|
|
3936
3561
|
}, z.core.$strict>, "send_neon_auth_test_email", {
|
|
3937
3562
|
success: boolean;
|
|
3938
3563
|
error_message?: string | null | undefined;
|
|
3939
3564
|
}>;
|
|
3940
3565
|
readonly setDefaultProjectBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
branch_id: z.ZodString;
|
|
3944
|
-
}, z.core.$strict>;
|
|
3566
|
+
project_id: z.ZodString;
|
|
3567
|
+
branch_id: z.ZodString;
|
|
3945
3568
|
}, z.core.$strict>, "set_default_project_branch", {
|
|
3946
3569
|
branch: {
|
|
3947
3570
|
id: string;
|
|
@@ -4002,30 +3625,20 @@ export declare const operationFactories: {
|
|
|
4002
3625
|
}[];
|
|
4003
3626
|
}>;
|
|
4004
3627
|
readonly setOrganizationSpendingLimit: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
}, z.core.$strict>;
|
|
4008
|
-
path: z.ZodObject<{
|
|
4009
|
-
org_id: z.ZodString;
|
|
4010
|
-
}, z.core.$strict>;
|
|
3628
|
+
org_id: z.ZodString;
|
|
3629
|
+
spending_limit_cents: z.ZodInt;
|
|
4011
3630
|
}, z.core.$strict>, "set_organization_spending_limit", {
|
|
4012
3631
|
spending_limit_cents: number | null;
|
|
4013
3632
|
}>;
|
|
4014
3633
|
readonly setProjectMemberRole: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
project_id: z.ZodString;
|
|
4024
|
-
member_id: z.ZodUUID;
|
|
4025
|
-
}, z.core.$strict>;
|
|
4026
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
4027
|
-
confirm_self_demotion: z.ZodOptional<z.ZodBoolean>;
|
|
4028
|
-
}, z.core.$strict>>;
|
|
3634
|
+
project_id: z.ZodString;
|
|
3635
|
+
member_id: z.ZodUUID;
|
|
3636
|
+
confirm_self_demotion: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3637
|
+
role: z.ZodEnum<{
|
|
3638
|
+
viewer: "viewer";
|
|
3639
|
+
editor: "editor";
|
|
3640
|
+
admin: "admin";
|
|
3641
|
+
}>;
|
|
4029
3642
|
}, z.core.$strict>, "set_project_member_role", {
|
|
4030
3643
|
project_id: string;
|
|
4031
3644
|
member_id: string;
|
|
@@ -4041,27 +3654,21 @@ export declare const operationFactories: {
|
|
|
4041
3654
|
org_api_key_rotation_recommended?: boolean | null | undefined;
|
|
4042
3655
|
}>;
|
|
4043
3656
|
readonly setSnapshotSchedule: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
}, z.core.$strict
|
|
4053
|
-
path: z.ZodObject<{
|
|
4054
|
-
project_id: z.ZodString;
|
|
4055
|
-
branch_id: z.ZodString;
|
|
4056
|
-
}, z.core.$strict>;
|
|
3657
|
+
project_id: z.ZodString;
|
|
3658
|
+
branch_id: z.ZodString;
|
|
3659
|
+
schedule: z.ZodArray<z.ZodObject<{
|
|
3660
|
+
frequency: z.ZodString;
|
|
3661
|
+
hour: z.ZodOptional<z.ZodInt>;
|
|
3662
|
+
day: z.ZodOptional<z.ZodInt>;
|
|
3663
|
+
month: z.ZodOptional<z.ZodInt>;
|
|
3664
|
+
retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
3665
|
+
}, z.core.$strict>>;
|
|
4057
3666
|
}, z.core.$strict>, "set_snapshot_schedule", {
|
|
4058
3667
|
[x: string]: unknown;
|
|
4059
3668
|
}>;
|
|
4060
3669
|
readonly startAnonymization: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
branch_id: z.ZodString;
|
|
4064
|
-
}, z.core.$strict>;
|
|
3670
|
+
project_id: z.ZodString;
|
|
3671
|
+
branch_id: z.ZodString;
|
|
4065
3672
|
}, z.core.$strict>, "start_anonymization", {
|
|
4066
3673
|
project_id: string;
|
|
4067
3674
|
branch_id: string;
|
|
@@ -4079,10 +3686,8 @@ export declare const operationFactories: {
|
|
|
4079
3686
|
} | null | undefined;
|
|
4080
3687
|
}>;
|
|
4081
3688
|
readonly startProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
endpoint_id: z.ZodString;
|
|
4085
|
-
}, z.core.$strict>;
|
|
3689
|
+
project_id: z.ZodString;
|
|
3690
|
+
endpoint_id: z.ZodString;
|
|
4086
3691
|
}, z.core.$strict>, "start_project_endpoint", {
|
|
4087
3692
|
endpoint: {
|
|
4088
3693
|
host: string;
|
|
@@ -4139,10 +3744,8 @@ export declare const operationFactories: {
|
|
|
4139
3744
|
}[];
|
|
4140
3745
|
}>;
|
|
4141
3746
|
readonly suspendProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
endpoint_id: z.ZodString;
|
|
4145
|
-
}, z.core.$strict>;
|
|
3747
|
+
project_id: z.ZodString;
|
|
3748
|
+
endpoint_id: z.ZodString;
|
|
4146
3749
|
}, z.core.$strict>, "suspend_project_endpoint", {
|
|
4147
3750
|
endpoint: {
|
|
4148
3751
|
host: string;
|
|
@@ -4199,52 +3802,40 @@ export declare const operationFactories: {
|
|
|
4199
3802
|
}[];
|
|
4200
3803
|
}>;
|
|
4201
3804
|
readonly transferNeonAuthProviderProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
}>;
|
|
4209
|
-
}, z.core.$strict>;
|
|
3805
|
+
project_id: z.ZodString;
|
|
3806
|
+
auth_provider: z.ZodEnum<{
|
|
3807
|
+
mock: "mock";
|
|
3808
|
+
stack: "stack";
|
|
3809
|
+
better_auth: "better_auth";
|
|
3810
|
+
}>;
|
|
4210
3811
|
}, z.core.$strict>, "transfer_neon_auth_provider_project", {
|
|
4211
3812
|
url: string;
|
|
4212
3813
|
}>;
|
|
4213
3814
|
readonly transferProjectsFromOrgToOrg: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
}, z.core.$strict>;
|
|
4218
|
-
path: z.ZodObject<{
|
|
4219
|
-
source_org_id: z.ZodString;
|
|
4220
|
-
}, z.core.$strict>;
|
|
3815
|
+
source_org_id: z.ZodString;
|
|
3816
|
+
destination_org_id: z.ZodString;
|
|
3817
|
+
project_ids: z.ZodArray<z.ZodString>;
|
|
4221
3818
|
}, z.core.$strict>, "transfer_projects_from_org_to_org", {
|
|
4222
3819
|
[x: string]: unknown;
|
|
4223
3820
|
}>;
|
|
4224
3821
|
readonly transferProjectsFromUserToOrg: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
project_ids: z.ZodArray<z.ZodString>;
|
|
4228
|
-
}, z.core.$strict>;
|
|
3822
|
+
destination_org_id: z.ZodString;
|
|
3823
|
+
project_ids: z.ZodArray<z.ZodString>;
|
|
4229
3824
|
}, z.core.$strict>, "transfer_projects_from_user_to_org", {
|
|
4230
3825
|
[x: string]: unknown;
|
|
4231
3826
|
}>;
|
|
4232
3827
|
readonly updateBranchNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
microsoft: "microsoft";
|
|
4245
|
-
vercel: "vercel";
|
|
4246
|
-
}>;
|
|
4247
|
-
}, z.core.$strict>;
|
|
3828
|
+
project_id: z.ZodString;
|
|
3829
|
+
branch_id: z.ZodString;
|
|
3830
|
+
oauth_provider_id: z.ZodEnum<{
|
|
3831
|
+
github: "github";
|
|
3832
|
+
google: "google";
|
|
3833
|
+
microsoft: "microsoft";
|
|
3834
|
+
vercel: "vercel";
|
|
3835
|
+
}>;
|
|
3836
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
3838
|
+
microsoft_tenant_id: z.ZodOptional<z.ZodString>;
|
|
4248
3839
|
}, z.core.$strict>, "update_branch_neon_auth_oauth_provider", {
|
|
4249
3840
|
id: raw.NeonAuthOauthProviderId;
|
|
4250
3841
|
type: raw.NeonAuthOauthProviderType;
|
|
@@ -4252,20 +3843,16 @@ export declare const operationFactories: {
|
|
|
4252
3843
|
client_secret?: string | null | undefined;
|
|
4253
3844
|
}>;
|
|
4254
3845
|
readonly updateMaskingRules: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
}, z.core.$strict
|
|
4265
|
-
path: z.ZodObject<{
|
|
4266
|
-
project_id: z.ZodString;
|
|
4267
|
-
branch_id: z.ZodString;
|
|
4268
|
-
}, z.core.$strict>;
|
|
3846
|
+
project_id: z.ZodString;
|
|
3847
|
+
branch_id: z.ZodString;
|
|
3848
|
+
masking_rules: z.ZodArray<z.ZodObject<{
|
|
3849
|
+
database_name: z.ZodString;
|
|
3850
|
+
schema_name: z.ZodString;
|
|
3851
|
+
table_name: z.ZodString;
|
|
3852
|
+
column_name: z.ZodString;
|
|
3853
|
+
masking_function: z.ZodOptional<z.ZodString>;
|
|
3854
|
+
masking_value: z.ZodOptional<z.ZodString>;
|
|
3855
|
+
}, z.core.$strict>>;
|
|
4269
3856
|
}, z.core.$strict>, "update_masking_rules", {
|
|
4270
3857
|
masking_rules: {
|
|
4271
3858
|
database_name: string;
|
|
@@ -4277,44 +3864,32 @@ export declare const operationFactories: {
|
|
|
4277
3864
|
}[];
|
|
4278
3865
|
}>;
|
|
4279
3866
|
readonly updateNeonAuthAllowLocalhost: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
path: z.ZodObject<{
|
|
4284
|
-
project_id: z.ZodString;
|
|
4285
|
-
branch_id: z.ZodString;
|
|
4286
|
-
}, z.core.$strict>;
|
|
3867
|
+
project_id: z.ZodString;
|
|
3868
|
+
branch_id: z.ZodString;
|
|
3869
|
+
allow_localhost: z.ZodBoolean;
|
|
4287
3870
|
}, z.core.$strict>, "update_neon_auth_allow_localhost", {
|
|
4288
3871
|
allow_localhost: boolean;
|
|
4289
3872
|
}>;
|
|
4290
3873
|
readonly updateNeonAuthConfig: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
path: z.ZodObject<{
|
|
4295
|
-
project_id: z.ZodString;
|
|
4296
|
-
branch_id: z.ZodString;
|
|
4297
|
-
}, z.core.$strict>;
|
|
3874
|
+
project_id: z.ZodString;
|
|
3875
|
+
branch_id: z.ZodString;
|
|
3876
|
+
name: z.ZodString;
|
|
4298
3877
|
}, z.core.$strict>, "update_neon_auth_config", {
|
|
4299
3878
|
name: string;
|
|
4300
3879
|
}>;
|
|
4301
3880
|
readonly updateNeonAuthEmailAndPasswordConfig: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
path: z.ZodObject<{
|
|
4315
|
-
project_id: z.ZodString;
|
|
4316
|
-
branch_id: z.ZodString;
|
|
4317
|
-
}, z.core.$strict>;
|
|
3881
|
+
project_id: z.ZodString;
|
|
3882
|
+
branch_id: z.ZodString;
|
|
3883
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3884
|
+
email_verification_method: z.ZodOptional<z.ZodEnum<{
|
|
3885
|
+
link: "link";
|
|
3886
|
+
otp: "otp";
|
|
3887
|
+
}>>;
|
|
3888
|
+
require_email_verification: z.ZodOptional<z.ZodBoolean>;
|
|
3889
|
+
auto_sign_in_after_verification: z.ZodOptional<z.ZodBoolean>;
|
|
3890
|
+
send_verification_email_on_sign_up: z.ZodOptional<z.ZodBoolean>;
|
|
3891
|
+
send_verification_email_on_sign_in: z.ZodOptional<z.ZodBoolean>;
|
|
3892
|
+
disable_sign_up: z.ZodOptional<z.ZodBoolean>;
|
|
4318
3893
|
}, z.core.$strict>, "update_neon_auth_email_and_password_config", {
|
|
4319
3894
|
enabled: boolean;
|
|
4320
3895
|
email_verification_method: raw.NeonAuthEmailVerificationMethod;
|
|
@@ -4325,6 +3900,8 @@ export declare const operationFactories: {
|
|
|
4325
3900
|
disable_sign_up: boolean;
|
|
4326
3901
|
}>;
|
|
4327
3902
|
readonly updateNeonAuthEmailProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3903
|
+
project_id: z.ZodString;
|
|
3904
|
+
branch_id: z.ZodString;
|
|
4328
3905
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4329
3906
|
host: z.ZodOptional<z.ZodString>;
|
|
4330
3907
|
port: z.ZodOptional<z.ZodInt>;
|
|
@@ -4338,10 +3915,6 @@ export declare const operationFactories: {
|
|
|
4338
3915
|
sender_name: z.ZodOptional<z.ZodString>;
|
|
4339
3916
|
type: z.ZodLiteral<"shared">;
|
|
4340
3917
|
}, z.core.$strict>], "type">;
|
|
4341
|
-
path: z.ZodObject<{
|
|
4342
|
-
project_id: z.ZodString;
|
|
4343
|
-
branch_id: z.ZodString;
|
|
4344
|
-
}, z.core.$strict>;
|
|
4345
3918
|
}, z.core.$strict>, "update_neon_auth_email_provider", {
|
|
4346
3919
|
type: "standard";
|
|
4347
3920
|
host: string;
|
|
@@ -4356,6 +3929,7 @@ export declare const operationFactories: {
|
|
|
4356
3929
|
sender_name?: string | null | undefined;
|
|
4357
3930
|
}>;
|
|
4358
3931
|
readonly updateNeonAuthEmailServer: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
3932
|
+
project_id: z.ZodString;
|
|
4359
3933
|
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4360
3934
|
host: z.ZodOptional<z.ZodString>;
|
|
4361
3935
|
port: z.ZodOptional<z.ZodInt>;
|
|
@@ -4369,9 +3943,6 @@ export declare const operationFactories: {
|
|
|
4369
3943
|
sender_name: z.ZodOptional<z.ZodString>;
|
|
4370
3944
|
type: z.ZodLiteral<"shared">;
|
|
4371
3945
|
}, z.core.$strict>], "type">;
|
|
4372
|
-
path: z.ZodObject<{
|
|
4373
|
-
project_id: z.ZodString;
|
|
4374
|
-
}, z.core.$strict>;
|
|
4375
3946
|
}, z.core.$strict>, "update_neon_auth_email_server", {
|
|
4376
3947
|
type: "standard";
|
|
4377
3948
|
host: string;
|
|
@@ -4386,35 +3957,27 @@ export declare const operationFactories: {
|
|
|
4386
3957
|
sender_name?: string | null | undefined;
|
|
4387
3958
|
}>;
|
|
4388
3959
|
readonly updateNeonAuthMagicLinkPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
path: z.ZodObject<{
|
|
4395
|
-
project_id: z.ZodString;
|
|
4396
|
-
branch_id: z.ZodString;
|
|
4397
|
-
}, z.core.$strict>;
|
|
3960
|
+
project_id: z.ZodString;
|
|
3961
|
+
branch_id: z.ZodString;
|
|
3962
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3963
|
+
expires_in: z.ZodOptional<z.ZodInt>;
|
|
3964
|
+
disable_sign_up: z.ZodOptional<z.ZodBoolean>;
|
|
4398
3965
|
}, z.core.$strict>, "update_neon_auth_magic_link_plugin", {
|
|
4399
3966
|
enabled: boolean;
|
|
4400
3967
|
expires_in: number;
|
|
4401
3968
|
disable_sign_up: boolean;
|
|
4402
3969
|
}>;
|
|
4403
3970
|
readonly updateNeonAuthOauthProvider: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
microsoft: "microsoft";
|
|
4415
|
-
vercel: "vercel";
|
|
4416
|
-
}>;
|
|
4417
|
-
}, z.core.$strict>;
|
|
3971
|
+
project_id: z.ZodString;
|
|
3972
|
+
oauth_provider_id: z.ZodEnum<{
|
|
3973
|
+
github: "github";
|
|
3974
|
+
google: "google";
|
|
3975
|
+
microsoft: "microsoft";
|
|
3976
|
+
vercel: "vercel";
|
|
3977
|
+
}>;
|
|
3978
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3979
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
3980
|
+
microsoft_tenant_id: z.ZodOptional<z.ZodString>;
|
|
4418
3981
|
}, z.core.$strict>, "update_neon_auth_oauth_provider", {
|
|
4419
3982
|
id: raw.NeonAuthOauthProviderId;
|
|
4420
3983
|
type: raw.NeonAuthOauthProviderType;
|
|
@@ -4422,20 +3985,16 @@ export declare const operationFactories: {
|
|
|
4422
3985
|
client_secret?: string | null | undefined;
|
|
4423
3986
|
}>;
|
|
4424
3987
|
readonly updateNeonAuthOrganizationPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
path: z.ZodObject<{
|
|
4436
|
-
project_id: z.ZodString;
|
|
4437
|
-
branch_id: z.ZodString;
|
|
4438
|
-
}, z.core.$strict>;
|
|
3988
|
+
project_id: z.ZodString;
|
|
3989
|
+
branch_id: z.ZodString;
|
|
3990
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3991
|
+
organization_limit: z.ZodOptional<z.ZodInt>;
|
|
3992
|
+
membership_limit: z.ZodOptional<z.ZodInt>;
|
|
3993
|
+
creator_role: z.ZodOptional<z.ZodEnum<{
|
|
3994
|
+
admin: "admin";
|
|
3995
|
+
owner: "owner";
|
|
3996
|
+
}>>;
|
|
3997
|
+
send_invitation_email: z.ZodOptional<z.ZodBoolean>;
|
|
4439
3998
|
}, z.core.$strict>, "update_neon_auth_organization_plugin", {
|
|
4440
3999
|
enabled: boolean;
|
|
4441
4000
|
organization_limit: number;
|
|
@@ -4444,49 +4003,37 @@ export declare const operationFactories: {
|
|
|
4444
4003
|
send_invitation_email: boolean;
|
|
4445
4004
|
}>;
|
|
4446
4005
|
readonly updateNeonAuthPhoneNumberPlugin: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
path: z.ZodObject<{
|
|
4452
|
-
project_id: z.ZodString;
|
|
4453
|
-
branch_id: z.ZodString;
|
|
4454
|
-
}, z.core.$strict>;
|
|
4006
|
+
project_id: z.ZodString;
|
|
4007
|
+
branch_id: z.ZodString;
|
|
4008
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4009
|
+
otp_expires_in: z.ZodOptional<z.ZodInt>;
|
|
4455
4010
|
}, z.core.$strict>, "update_neon_auth_phone_number_plugin", {
|
|
4456
4011
|
enabled: boolean;
|
|
4457
4012
|
otp_expires_in?: number | null | undefined;
|
|
4458
4013
|
}>;
|
|
4459
4014
|
readonly updateNeonAuthUserRole: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
project_id: z.ZodString;
|
|
4465
|
-
branch_id: z.ZodString;
|
|
4466
|
-
auth_user_id: z.ZodString;
|
|
4467
|
-
}, z.core.$strict>;
|
|
4015
|
+
project_id: z.ZodString;
|
|
4016
|
+
branch_id: z.ZodString;
|
|
4017
|
+
auth_user_id: z.ZodString;
|
|
4018
|
+
roles: z.ZodArray<z.ZodString>;
|
|
4468
4019
|
}, z.core.$strict>, "update_neon_auth_user_role", {
|
|
4469
4020
|
id: string;
|
|
4470
4021
|
}>;
|
|
4471
4022
|
readonly updateNeonAuthWebhookConfig: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
path: z.ZodObject<{
|
|
4487
|
-
project_id: z.ZodString;
|
|
4488
|
-
branch_id: z.ZodString;
|
|
4489
|
-
}, z.core.$strict>;
|
|
4023
|
+
project_id: z.ZodString;
|
|
4024
|
+
branch_id: z.ZodString;
|
|
4025
|
+
enabled: z.ZodBoolean;
|
|
4026
|
+
webhook_url: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
enabled_events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4028
|
+
"user.before_create": "user.before_create";
|
|
4029
|
+
"user.created": "user.created";
|
|
4030
|
+
"send.otp": "send.otp";
|
|
4031
|
+
"send.magic_link": "send.magic_link";
|
|
4032
|
+
"organization.invitation.created": "organization.invitation.created";
|
|
4033
|
+
"organization.invitation.accepted": "organization.invitation.accepted";
|
|
4034
|
+
"phone_number.verified": "phone_number.verified";
|
|
4035
|
+
}>>>;
|
|
4036
|
+
timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
4490
4037
|
}, z.core.$strict>, "update_neon_auth_webhook_config", {
|
|
4491
4038
|
enabled: boolean;
|
|
4492
4039
|
webhook_url?: string | null | undefined;
|
|
@@ -4494,19 +4041,15 @@ export declare const operationFactories: {
|
|
|
4494
4041
|
timeout_seconds?: number | null | undefined;
|
|
4495
4042
|
}>;
|
|
4496
4043
|
readonly updateOrganizationMember: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
}
|
|
4506
|
-
path: z.ZodObject<{
|
|
4507
|
-
org_id: z.ZodString;
|
|
4508
|
-
member_id: z.ZodUUID;
|
|
4509
|
-
}, z.core.$strict>;
|
|
4044
|
+
org_id: z.ZodString;
|
|
4045
|
+
member_id: z.ZodUUID;
|
|
4046
|
+
role: z.ZodEnum<{
|
|
4047
|
+
viewer: "viewer";
|
|
4048
|
+
editor: "editor";
|
|
4049
|
+
admin: "admin";
|
|
4050
|
+
member: "member";
|
|
4051
|
+
collaborator: "collaborator";
|
|
4052
|
+
}>;
|
|
4510
4053
|
}, z.core.$strict>, "update_organization_member", {
|
|
4511
4054
|
id: string;
|
|
4512
4055
|
user_id: string;
|
|
@@ -4515,53 +4058,47 @@ export declare const operationFactories: {
|
|
|
4515
4058
|
joined_at?: string | null | undefined;
|
|
4516
4059
|
}>;
|
|
4517
4060
|
readonly updateProject: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
4560
|
-
}, z.core.$strict>;
|
|
4561
|
-
}, z.core.$strict>;
|
|
4562
|
-
path: z.ZodObject<{
|
|
4563
|
-
project_id: z.ZodString;
|
|
4564
|
-
}, z.core.$strict>;
|
|
4061
|
+
project_id: z.ZodString;
|
|
4062
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
4063
|
+
quota: z.ZodOptional<z.ZodObject<{
|
|
4064
|
+
active_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
4065
|
+
compute_time_seconds: z.ZodOptional<z.ZodInt>;
|
|
4066
|
+
written_data_bytes: z.ZodOptional<z.ZodInt>;
|
|
4067
|
+
data_transfer_bytes: z.ZodOptional<z.ZodInt>;
|
|
4068
|
+
logical_size_bytes: z.ZodOptional<z.ZodInt>;
|
|
4069
|
+
}, z.core.$strict>>;
|
|
4070
|
+
allowed_ips: z.ZodOptional<z.ZodObject<{
|
|
4071
|
+
ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4072
|
+
protected_branches_only: z.ZodOptional<z.ZodBoolean>;
|
|
4073
|
+
}, z.core.$strict>>;
|
|
4074
|
+
enable_logical_replication: z.ZodOptional<z.ZodBoolean>;
|
|
4075
|
+
maintenance_window: z.ZodOptional<z.ZodObject<{
|
|
4076
|
+
weekdays: z.ZodArray<z.ZodInt>;
|
|
4077
|
+
start_time: z.ZodString;
|
|
4078
|
+
end_time: z.ZodString;
|
|
4079
|
+
}, z.core.$strict>>;
|
|
4080
|
+
block_public_connections: z.ZodOptional<z.ZodBoolean>;
|
|
4081
|
+
block_vpc_connections: z.ZodOptional<z.ZodBoolean>;
|
|
4082
|
+
audit_log_level: z.ZodOptional<z.ZodEnum<{
|
|
4083
|
+
base: "base";
|
|
4084
|
+
extended: "extended";
|
|
4085
|
+
full: "full";
|
|
4086
|
+
}>>;
|
|
4087
|
+
hipaa: z.ZodOptional<z.ZodBoolean>;
|
|
4088
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
4089
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
4090
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4091
|
+
}, z.core.$strict>>;
|
|
4092
|
+
}, z.core.$strict>>;
|
|
4093
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
default_endpoint_settings: z.ZodOptional<z.ZodObject<{
|
|
4095
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4096
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4097
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
4098
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
4099
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
4100
|
+
}, z.core.$strict>>;
|
|
4101
|
+
history_retention_seconds: z.ZodOptional<z.ZodInt>;
|
|
4565
4102
|
}, z.core.$strict>, "update_project", {
|
|
4566
4103
|
project: {
|
|
4567
4104
|
data_storage_bytes_hour: number;
|
|
@@ -4656,17 +4193,11 @@ export declare const operationFactories: {
|
|
|
4656
4193
|
}[];
|
|
4657
4194
|
}>;
|
|
4658
4195
|
readonly updateProjectBranch: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
}, z.core.$strict>;
|
|
4665
|
-
}, z.core.$strict>;
|
|
4666
|
-
path: z.ZodObject<{
|
|
4667
|
-
project_id: z.ZodString;
|
|
4668
|
-
branch_id: z.ZodString;
|
|
4669
|
-
}, z.core.$strict>;
|
|
4196
|
+
project_id: z.ZodString;
|
|
4197
|
+
branch_id: z.ZodString;
|
|
4198
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4199
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
4200
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4670
4201
|
}, z.core.$strict>, "update_project_branch", {
|
|
4671
4202
|
branch: {
|
|
4672
4203
|
id: string;
|
|
@@ -4727,40 +4258,28 @@ export declare const operationFactories: {
|
|
|
4727
4258
|
}[];
|
|
4728
4259
|
}>;
|
|
4729
4260
|
readonly updateProjectBranchDataAPI: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
}, z.core.$strict>>;
|
|
4744
|
-
path: z.ZodObject<{
|
|
4745
|
-
project_id: z.ZodString;
|
|
4746
|
-
branch_id: z.ZodString;
|
|
4747
|
-
database_name: z.ZodString;
|
|
4748
|
-
}, z.core.$strict>;
|
|
4261
|
+
project_id: z.ZodString;
|
|
4262
|
+
branch_id: z.ZodString;
|
|
4263
|
+
database_name: z.ZodString;
|
|
4264
|
+
db_aggregates_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4265
|
+
db_anon_role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4266
|
+
db_extra_search_path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4267
|
+
db_max_rows: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
4268
|
+
db_schemas: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
4269
|
+
jwt_role_claim_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4270
|
+
jwt_cache_max_lifetime: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
4271
|
+
openapi_mode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4272
|
+
server_cors_allowed_origins: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4273
|
+
server_timing_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4749
4274
|
}, z.core.$strict>, "update_project_branch_data_api", {
|
|
4750
4275
|
[x: string]: unknown;
|
|
4751
4276
|
}>;
|
|
4752
4277
|
readonly updateProjectBranchDatabase: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
}, z.core.$strict>;
|
|
4759
|
-
path: z.ZodObject<{
|
|
4760
|
-
project_id: z.ZodString;
|
|
4761
|
-
branch_id: z.ZodString;
|
|
4762
|
-
database_name: z.ZodString;
|
|
4763
|
-
}, z.core.$strict>;
|
|
4278
|
+
project_id: z.ZodString;
|
|
4279
|
+
branch_id: z.ZodString;
|
|
4280
|
+
database_name: z.ZodString;
|
|
4281
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4282
|
+
owner_name: z.ZodOptional<z.ZodString>;
|
|
4764
4283
|
}, z.core.$strict>, "update_project_branch_database", {
|
|
4765
4284
|
database: {
|
|
4766
4285
|
id: number;
|
|
@@ -4786,14 +4305,10 @@ export declare const operationFactories: {
|
|
|
4786
4305
|
}[];
|
|
4787
4306
|
}>;
|
|
4788
4307
|
readonly updateProjectBranchFunction: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
project_id: z.ZodString;
|
|
4794
|
-
branch_id: z.ZodString;
|
|
4795
|
-
slug: z.ZodString;
|
|
4796
|
-
}, z.core.$strict>;
|
|
4308
|
+
project_id: z.ZodString;
|
|
4309
|
+
branch_id: z.ZodString;
|
|
4310
|
+
slug: z.ZodString;
|
|
4311
|
+
name: z.ZodNullable<z.ZodString>;
|
|
4797
4312
|
}, z.core.$strict>, "update_project_branch_function", {
|
|
4798
4313
|
function: {
|
|
4799
4314
|
id: string;
|
|
@@ -4822,34 +4337,28 @@ export declare const operationFactories: {
|
|
|
4822
4337
|
};
|
|
4823
4338
|
}>;
|
|
4824
4339
|
readonly updateProjectEndpoint: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
}, z.core.$strict>;
|
|
4848
|
-
}, z.core.$strict>;
|
|
4849
|
-
path: z.ZodObject<{
|
|
4850
|
-
project_id: z.ZodString;
|
|
4851
|
-
endpoint_id: z.ZodString;
|
|
4852
|
-
}, z.core.$strict>;
|
|
4340
|
+
project_id: z.ZodString;
|
|
4341
|
+
endpoint_id: z.ZodString;
|
|
4342
|
+
branch_id: z.ZodOptional<z.ZodString>;
|
|
4343
|
+
autoscaling_limit_min_cu: z.ZodOptional<z.ZodNumber>;
|
|
4344
|
+
autoscaling_limit_max_cu: z.ZodOptional<z.ZodNumber>;
|
|
4345
|
+
provisioner: z.ZodOptional<z.ZodString>;
|
|
4346
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
4347
|
+
pg_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4348
|
+
pgbouncer_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4349
|
+
preload_libraries: z.ZodOptional<z.ZodObject<{
|
|
4350
|
+
use_defaults: z.ZodOptional<z.ZodBoolean>;
|
|
4351
|
+
enabled_libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4352
|
+
}, z.core.$strict>>;
|
|
4353
|
+
}, z.core.$strict>>;
|
|
4354
|
+
pooler_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4355
|
+
pooler_mode: z.ZodOptional<z.ZodEnum<{
|
|
4356
|
+
transaction: "transaction";
|
|
4357
|
+
}>>;
|
|
4358
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
4359
|
+
passwordless_access: z.ZodOptional<z.ZodBoolean>;
|
|
4360
|
+
suspend_timeout_seconds: z.ZodOptional<z.ZodInt>;
|
|
4361
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4853
4362
|
}, z.core.$strict>, "update_project_endpoint", {
|
|
4854
4363
|
endpoint: {
|
|
4855
4364
|
host: string;
|
|
@@ -4906,16 +4415,10 @@ export declare const operationFactories: {
|
|
|
4906
4415
|
}[];
|
|
4907
4416
|
}>;
|
|
4908
4417
|
readonly updateSnapshot: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
}, z.core.$strict>;
|
|
4914
|
-
}, z.core.$strict>;
|
|
4915
|
-
path: z.ZodObject<{
|
|
4916
|
-
project_id: z.ZodString;
|
|
4917
|
-
snapshot_id: z.ZodString;
|
|
4918
|
-
}, z.core.$strict>;
|
|
4418
|
+
project_id: z.ZodString;
|
|
4419
|
+
snapshot_id: z.ZodString;
|
|
4420
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4421
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4919
4422
|
}, z.core.$strict>, "update_snapshot", {
|
|
4920
4423
|
snapshot: {
|
|
4921
4424
|
id: string;
|