pgbeam 0.2.2 → 0.2.4
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/LICENSE +190 -0
- package/README.md +8 -0
- package/dist/index.cjs +14 -12
- package/dist/index.d.cts +998 -973
- package/dist/index.d.mts +998 -973
- package/dist/index.mjs +14 -12
- package/dist/operations.cjs +11 -9
- package/dist/operations.d.cts +836 -800
- package/dist/operations.d.mts +836 -800
- package/dist/operations.mjs +11 -9
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,332 +1,332 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
6
|
* @description Full account data export for privacy and data-portability requests.
|
|
7
|
-
|
|
7
|
+
*/
|
|
8
8
|
type AccountExport = {
|
|
9
9
|
/**
|
|
10
10
|
* @description Core user profile data.
|
|
11
11
|
* @type object
|
|
12
|
-
|
|
12
|
+
*/
|
|
13
13
|
user: {
|
|
14
14
|
/**
|
|
15
15
|
* @description User identifier.
|
|
16
16
|
* @type string
|
|
17
|
-
|
|
17
|
+
*/
|
|
18
18
|
id: string;
|
|
19
19
|
/**
|
|
20
20
|
* @description Display name for the user.
|
|
21
21
|
* @type string
|
|
22
|
-
|
|
22
|
+
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* @description Primary account email address.
|
|
26
26
|
* @type string, email
|
|
27
|
-
|
|
27
|
+
*/
|
|
28
28
|
email: string;
|
|
29
29
|
/**
|
|
30
30
|
* @description Whether the email address has been verified.
|
|
31
31
|
* @type boolean
|
|
32
|
-
|
|
32
|
+
*/
|
|
33
33
|
email_verified: boolean;
|
|
34
34
|
/**
|
|
35
35
|
* @description Avatar image URL, if present.
|
|
36
36
|
* @type string | undefined
|
|
37
|
-
|
|
37
|
+
*/
|
|
38
38
|
image?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @description When the user account was created.
|
|
41
41
|
* @type string, date-time
|
|
42
|
-
|
|
42
|
+
*/
|
|
43
43
|
created_at: string;
|
|
44
44
|
/**
|
|
45
45
|
* @description When the user profile was last updated.
|
|
46
46
|
* @type string, date-time
|
|
47
|
-
|
|
47
|
+
*/
|
|
48
48
|
updated_at: string;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* @description Organizations the user belongs to.
|
|
52
52
|
* @type array
|
|
53
|
-
|
|
53
|
+
*/
|
|
54
54
|
organizations: {
|
|
55
55
|
/**
|
|
56
56
|
* @description Organization identifier.
|
|
57
57
|
* @type string
|
|
58
|
-
|
|
58
|
+
*/
|
|
59
59
|
id: string;
|
|
60
60
|
/**
|
|
61
61
|
* @description Organization display name.
|
|
62
62
|
* @type string
|
|
63
|
-
|
|
63
|
+
*/
|
|
64
64
|
name: string;
|
|
65
65
|
/**
|
|
66
66
|
* @description Organization slug used in URLs and routing.
|
|
67
67
|
* @type string
|
|
68
|
-
|
|
68
|
+
*/
|
|
69
69
|
slug: string;
|
|
70
70
|
/**
|
|
71
71
|
* @description User role within the organization.
|
|
72
72
|
* @type string
|
|
73
|
-
|
|
73
|
+
*/
|
|
74
74
|
role: string;
|
|
75
75
|
/**
|
|
76
76
|
* @description When the organization membership was created.
|
|
77
77
|
* @type string, date-time
|
|
78
|
-
|
|
78
|
+
*/
|
|
79
79
|
created_at: string;
|
|
80
80
|
}[];
|
|
81
81
|
/**
|
|
82
82
|
* @description Projects owned through the user\'s organizations.
|
|
83
83
|
* @type array
|
|
84
|
-
|
|
84
|
+
*/
|
|
85
85
|
projects: {
|
|
86
86
|
/**
|
|
87
87
|
* @description Project identifier.
|
|
88
88
|
* @type string
|
|
89
|
-
|
|
89
|
+
*/
|
|
90
90
|
id: string;
|
|
91
91
|
/**
|
|
92
92
|
* @description Owning organization identifier.
|
|
93
93
|
* @type string
|
|
94
|
-
|
|
94
|
+
*/
|
|
95
95
|
org_id: string;
|
|
96
96
|
/**
|
|
97
97
|
* @description Project display name.
|
|
98
98
|
* @type string
|
|
99
|
-
|
|
99
|
+
*/
|
|
100
100
|
name: string;
|
|
101
101
|
/**
|
|
102
102
|
* @description Project description at export time.
|
|
103
103
|
* @type string
|
|
104
|
-
|
|
104
|
+
*/
|
|
105
105
|
description: string;
|
|
106
106
|
/**
|
|
107
107
|
* @description Project lifecycle status.
|
|
108
108
|
* @type string
|
|
109
|
-
|
|
109
|
+
*/
|
|
110
110
|
status: string;
|
|
111
111
|
/**
|
|
112
112
|
* @description When the project was created.
|
|
113
113
|
* @type string, date-time
|
|
114
|
-
|
|
114
|
+
*/
|
|
115
115
|
created_at: string;
|
|
116
116
|
}[];
|
|
117
117
|
/**
|
|
118
118
|
* @description Databases registered under the exported projects.
|
|
119
119
|
* @type array
|
|
120
|
-
|
|
120
|
+
*/
|
|
121
121
|
databases: {
|
|
122
122
|
/**
|
|
123
123
|
* @description Database identifier.
|
|
124
124
|
* @type string
|
|
125
|
-
|
|
125
|
+
*/
|
|
126
126
|
id: string;
|
|
127
127
|
/**
|
|
128
128
|
* @description Owning project identifier.
|
|
129
129
|
* @type string
|
|
130
|
-
|
|
130
|
+
*/
|
|
131
131
|
project_id: string;
|
|
132
132
|
/**
|
|
133
133
|
* @description Upstream PostgreSQL host.
|
|
134
134
|
* @type string
|
|
135
|
-
|
|
135
|
+
*/
|
|
136
136
|
host: string;
|
|
137
137
|
/**
|
|
138
138
|
* @description Upstream PostgreSQL port.
|
|
139
139
|
* @type integer
|
|
140
|
-
|
|
140
|
+
*/
|
|
141
141
|
port: number;
|
|
142
142
|
/**
|
|
143
143
|
* @description Upstream PostgreSQL database name.
|
|
144
144
|
* @type string
|
|
145
|
-
|
|
145
|
+
*/
|
|
146
146
|
name: string;
|
|
147
147
|
/**
|
|
148
148
|
* @description PostgreSQL SSL mode in use for the database.
|
|
149
149
|
* @type string
|
|
150
|
-
|
|
150
|
+
*/
|
|
151
151
|
ssl_mode: string;
|
|
152
152
|
/**
|
|
153
153
|
* @description Database role within the project.
|
|
154
154
|
* @type string
|
|
155
|
-
|
|
155
|
+
*/
|
|
156
156
|
role: string;
|
|
157
157
|
/**
|
|
158
158
|
* @description When the database registration was created.
|
|
159
159
|
* @type string, date-time
|
|
160
|
-
|
|
160
|
+
*/
|
|
161
161
|
created_at: string;
|
|
162
162
|
}[];
|
|
163
163
|
/**
|
|
164
164
|
* @description Auth sessions associated with the user.
|
|
165
165
|
* @type array
|
|
166
|
-
|
|
166
|
+
*/
|
|
167
167
|
sessions: {
|
|
168
168
|
/**
|
|
169
169
|
* @description Session identifier.
|
|
170
170
|
* @type string
|
|
171
|
-
|
|
171
|
+
*/
|
|
172
172
|
id: string;
|
|
173
173
|
/**
|
|
174
174
|
* @description When the session expires.
|
|
175
175
|
* @type string, date-time
|
|
176
|
-
|
|
176
|
+
*/
|
|
177
177
|
expires_at: string;
|
|
178
178
|
/**
|
|
179
179
|
* @description When the session was created.
|
|
180
180
|
* @type string, date-time
|
|
181
|
-
|
|
181
|
+
*/
|
|
182
182
|
created_at: string;
|
|
183
183
|
/**
|
|
184
184
|
* @description IP address used to create the session, if known.
|
|
185
185
|
* @type string | undefined
|
|
186
|
-
|
|
186
|
+
*/
|
|
187
187
|
ip_address?: string;
|
|
188
188
|
/**
|
|
189
189
|
* @description User agent captured for the session, if known.
|
|
190
190
|
* @type string | undefined
|
|
191
|
-
|
|
191
|
+
*/
|
|
192
192
|
user_agent?: string;
|
|
193
193
|
}[];
|
|
194
194
|
/**
|
|
195
195
|
* @description User communication preferences.
|
|
196
196
|
* @type object
|
|
197
|
-
|
|
197
|
+
*/
|
|
198
198
|
email_preferences: {
|
|
199
199
|
/**
|
|
200
200
|
* @description Whether marketing emails are enabled.
|
|
201
201
|
* @type boolean | undefined
|
|
202
|
-
|
|
202
|
+
*/
|
|
203
203
|
marketing_emails?: boolean;
|
|
204
204
|
/**
|
|
205
205
|
* @description Whether usage alert emails are enabled.
|
|
206
206
|
* @type boolean | undefined
|
|
207
|
-
|
|
207
|
+
*/
|
|
208
208
|
usage_limit_alerts?: boolean;
|
|
209
209
|
};
|
|
210
210
|
/**
|
|
211
211
|
* @description Recorded legal-document acceptances for the user.
|
|
212
212
|
* @type array
|
|
213
|
-
|
|
213
|
+
*/
|
|
214
214
|
consents: {
|
|
215
215
|
/**
|
|
216
216
|
* @description Consent record identifier.
|
|
217
217
|
* @type string
|
|
218
|
-
|
|
218
|
+
*/
|
|
219
219
|
id: string;
|
|
220
220
|
/**
|
|
221
221
|
* @description Legal document type accepted by the user.
|
|
222
222
|
* @type string
|
|
223
|
-
|
|
223
|
+
*/
|
|
224
224
|
document_type: string;
|
|
225
225
|
/**
|
|
226
226
|
* @description Accepted document version.
|
|
227
227
|
* @type string
|
|
228
|
-
|
|
228
|
+
*/
|
|
229
229
|
document_version: string;
|
|
230
230
|
/**
|
|
231
231
|
* @description When the document was accepted.
|
|
232
232
|
* @type string, date-time
|
|
233
|
-
|
|
233
|
+
*/
|
|
234
234
|
accepted_at: string;
|
|
235
235
|
/**
|
|
236
236
|
* @description IP address captured when consent was recorded.
|
|
237
237
|
* @type string | undefined
|
|
238
|
-
|
|
238
|
+
*/
|
|
239
239
|
ip_address?: string;
|
|
240
240
|
}[];
|
|
241
241
|
/**
|
|
242
242
|
* @description Recent audit log entries associated with the account.
|
|
243
243
|
* @type array
|
|
244
|
-
|
|
244
|
+
*/
|
|
245
245
|
audit_logs: {
|
|
246
246
|
/**
|
|
247
247
|
* @description Audit log entry identifier.
|
|
248
248
|
* @type string
|
|
249
|
-
|
|
249
|
+
*/
|
|
250
250
|
id: string;
|
|
251
251
|
/**
|
|
252
252
|
* @description Action captured by the audit log entry.
|
|
253
253
|
* @type string
|
|
254
|
-
|
|
254
|
+
*/
|
|
255
255
|
action: string;
|
|
256
256
|
/**
|
|
257
257
|
* @description Type of resource affected by the action.
|
|
258
258
|
* @type string | undefined
|
|
259
|
-
|
|
259
|
+
*/
|
|
260
260
|
resource_type?: string;
|
|
261
261
|
/**
|
|
262
262
|
* @description Identifier of the affected resource.
|
|
263
263
|
* @type string | undefined
|
|
264
|
-
|
|
264
|
+
*/
|
|
265
265
|
resource_id?: string;
|
|
266
266
|
/**
|
|
267
267
|
* @description IP address associated with the action, if known.
|
|
268
268
|
* @type string | undefined
|
|
269
|
-
|
|
269
|
+
*/
|
|
270
270
|
ip_address?: string;
|
|
271
271
|
/**
|
|
272
272
|
* @description When the audit log entry was recorded.
|
|
273
273
|
* @type string, date-time
|
|
274
|
-
|
|
274
|
+
*/
|
|
275
275
|
created_at: string;
|
|
276
276
|
}[];
|
|
277
277
|
/**
|
|
278
278
|
* @description When the export was generated.
|
|
279
279
|
* @type string, date-time
|
|
280
|
-
|
|
280
|
+
*/
|
|
281
281
|
exported_at: string;
|
|
282
282
|
};
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
286
|
+
* Do not edit manually.
|
|
287
|
+
*/
|
|
288
288
|
/**
|
|
289
289
|
* @description Standard error response envelope for PgBeam API requests.
|
|
290
|
-
|
|
290
|
+
*/
|
|
291
291
|
type Error$1 = {
|
|
292
292
|
/**
|
|
293
293
|
* @description Error metadata for the failed request.
|
|
294
294
|
* @type object
|
|
295
|
-
|
|
295
|
+
*/
|
|
296
296
|
error: {
|
|
297
297
|
/**
|
|
298
298
|
* @description Machine-readable error code.
|
|
299
299
|
* @type string
|
|
300
|
-
|
|
300
|
+
*/
|
|
301
301
|
code: string;
|
|
302
302
|
/**
|
|
303
303
|
* @description Human-readable error message.
|
|
304
304
|
* @type string
|
|
305
|
-
|
|
305
|
+
*/
|
|
306
306
|
message: string;
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
311
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
312
|
+
* Do not edit manually.
|
|
313
|
+
*/
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* @description Account data export.
|
|
317
|
-
|
|
317
|
+
*/
|
|
318
318
|
type ExportAccountData200 = AccountExport;
|
|
319
319
|
/**
|
|
320
320
|
* @description Missing or invalid authentication.
|
|
321
|
-
|
|
321
|
+
*/
|
|
322
322
|
type ExportAccountData401 = Error$1;
|
|
323
323
|
/**
|
|
324
324
|
* @description Resource not found.
|
|
325
|
-
|
|
325
|
+
*/
|
|
326
326
|
type ExportAccountData404 = Error$1;
|
|
327
327
|
/**
|
|
328
328
|
* @description Rate limited. Try again later.
|
|
329
|
-
|
|
329
|
+
*/
|
|
330
330
|
type ExportAccountData429 = Error$1;
|
|
331
331
|
type ExportAccountDataQueryResponse = ExportAccountData200;
|
|
332
332
|
type ExportAccountDataQuery = {
|
|
@@ -335,275 +335,138 @@ type ExportAccountDataQuery = {
|
|
|
335
335
|
};
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* @description Recent activity snapshot for a project in an organization.
|
|
343
|
-
*/
|
|
344
|
-
type ActivityEntry = {
|
|
345
|
-
/**
|
|
346
|
-
* @description Unique activity snapshot identifier.
|
|
347
|
-
* @type string
|
|
348
|
-
*/
|
|
349
|
-
id: string;
|
|
350
|
-
/**
|
|
351
|
-
* @description Project that produced the activity snapshot.
|
|
352
|
-
* @type string
|
|
353
|
-
*/
|
|
354
|
-
project_id: string;
|
|
355
|
-
/**
|
|
356
|
-
* @description Project display name at the time of the snapshot.
|
|
357
|
-
* @type string
|
|
358
|
-
*/
|
|
359
|
-
project_name: string;
|
|
360
|
-
/**
|
|
361
|
-
* @description Region where the activity was observed.
|
|
362
|
-
* @type string
|
|
363
|
-
*/
|
|
364
|
-
region: string;
|
|
365
|
-
/**
|
|
366
|
-
* @description Total queries observed in the snapshot interval.
|
|
367
|
-
* @type integer, int64
|
|
368
|
-
*/
|
|
369
|
-
queries_total: number;
|
|
370
|
-
/**
|
|
371
|
-
* @description Number of cache hits during the interval.
|
|
372
|
-
* @type integer, int64
|
|
373
|
-
*/
|
|
374
|
-
cache_hits: number;
|
|
375
|
-
/**
|
|
376
|
-
* @description Number of cache misses during the interval.
|
|
377
|
-
* @type integer, int64
|
|
378
|
-
*/
|
|
379
|
-
cache_misses: number;
|
|
380
|
-
/**
|
|
381
|
-
* @description Average query latency in milliseconds.
|
|
382
|
-
* @type number, double
|
|
383
|
-
*/
|
|
384
|
-
avg_latency_ms: number;
|
|
385
|
-
/**
|
|
386
|
-
* @description 99th percentile query latency in milliseconds.
|
|
387
|
-
* @type number, double
|
|
388
|
-
*/
|
|
389
|
-
p99_latency_ms: number;
|
|
390
|
-
/**
|
|
391
|
-
* @description Number of active proxy connections during the interval.
|
|
392
|
-
* @type integer
|
|
393
|
-
*/
|
|
394
|
-
active_connections: number;
|
|
395
|
-
/**
|
|
396
|
-
* @description When the activity snapshot was recorded.
|
|
397
|
-
* @type string, date-time
|
|
398
|
-
*/
|
|
399
|
-
created_at: string;
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
404
|
-
* Do not edit manually.
|
|
405
|
-
*/
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* @description Response envelope for organization activity queries.
|
|
409
|
-
*/
|
|
410
|
-
type ActivityResponse = {
|
|
411
|
-
/**
|
|
412
|
-
* @description Recent activity snapshots for projects in the organization.
|
|
413
|
-
* @type array
|
|
414
|
-
*/
|
|
415
|
-
entries: ActivityEntry[];
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
420
|
-
* Do not edit manually.
|
|
421
|
-
*/
|
|
422
|
-
|
|
423
|
-
type GetOrganizationActivityPathParams = {
|
|
424
|
-
/**
|
|
425
|
-
* @description Unique organization identifier.
|
|
426
|
-
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
427
|
-
* @type string
|
|
428
|
-
*/
|
|
429
|
-
org_id: string;
|
|
430
|
-
};
|
|
431
|
-
type GetOrganizationActivityQueryParams = {
|
|
432
|
-
/**
|
|
433
|
-
* @description Maximum number of activity entries to return.
|
|
434
|
-
* @minLength 1
|
|
435
|
-
* @maxLength 1000
|
|
436
|
-
* @default 100
|
|
437
|
-
* @type integer | undefined
|
|
438
|
-
*/
|
|
439
|
-
limit?: number;
|
|
440
|
-
/**
|
|
441
|
-
* @description Filter activity by event type (e.g. metrics, connection).
|
|
442
|
-
* @type string | undefined
|
|
443
|
-
*/
|
|
444
|
-
event_type?: string;
|
|
445
|
-
};
|
|
446
|
-
/**
|
|
447
|
-
* @description Recent activity entries.
|
|
448
|
-
*/
|
|
449
|
-
type GetOrganizationActivity200 = ActivityResponse;
|
|
450
|
-
/**
|
|
451
|
-
* @description Invalid request parameters.
|
|
452
|
-
*/
|
|
453
|
-
type GetOrganizationActivity400 = Error$1;
|
|
454
|
-
/**
|
|
455
|
-
* @description Missing or invalid authentication.
|
|
456
|
-
*/
|
|
457
|
-
type GetOrganizationActivity401 = Error$1;
|
|
458
|
-
/**
|
|
459
|
-
* @description Operation not allowed by current plan limits.
|
|
460
|
-
*/
|
|
461
|
-
type GetOrganizationActivity403 = Error$1;
|
|
462
|
-
/**
|
|
463
|
-
* @description Rate limited. Try again later.
|
|
464
|
-
*/
|
|
465
|
-
type GetOrganizationActivity429 = Error$1;
|
|
466
|
-
type GetOrganizationActivityQueryResponse = GetOrganizationActivity200;
|
|
467
|
-
type GetOrganizationActivityQuery = {
|
|
468
|
-
Response: GetOrganizationActivity200;
|
|
469
|
-
PathParams: GetOrganizationActivityPathParams;
|
|
470
|
-
QueryParams: GetOrganizationActivityQueryParams;
|
|
471
|
-
Errors: GetOrganizationActivity400 | GetOrganizationActivity401 | GetOrganizationActivity403 | GetOrganizationActivity429;
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
476
|
-
* Do not edit manually.
|
|
477
|
-
*/
|
|
338
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
339
|
+
* Do not edit manually.
|
|
340
|
+
*/
|
|
478
341
|
/**
|
|
479
342
|
* @description Effective usage limits enforced for an organization plan.
|
|
480
|
-
|
|
343
|
+
*/
|
|
481
344
|
type PlanLimits = {
|
|
482
345
|
/**
|
|
483
346
|
* @description Maximum queries per day across all projects. 0 means unlimited.
|
|
484
347
|
* @type integer, int64
|
|
485
|
-
|
|
348
|
+
*/
|
|
486
349
|
queries_per_day: number;
|
|
487
350
|
/**
|
|
488
351
|
* @description Maximum number of active projects.
|
|
489
352
|
* @type integer
|
|
490
|
-
|
|
353
|
+
*/
|
|
491
354
|
max_projects: number;
|
|
492
355
|
/**
|
|
493
356
|
* @description Maximum databases per project.
|
|
494
357
|
* @type integer
|
|
495
|
-
|
|
358
|
+
*/
|
|
496
359
|
max_databases: number;
|
|
497
360
|
/**
|
|
498
361
|
* @description Maximum concurrent connections per project.
|
|
499
362
|
* @type integer
|
|
500
|
-
|
|
363
|
+
*/
|
|
501
364
|
max_connections: number;
|
|
502
365
|
/**
|
|
503
366
|
* @description Maximum queries per second per project.
|
|
504
367
|
* @type integer
|
|
505
|
-
|
|
368
|
+
*/
|
|
506
369
|
queries_per_second: number;
|
|
507
370
|
/**
|
|
508
371
|
* @description Monthly data transfer quota in bytes. 0 means unlimited.
|
|
509
372
|
* @type integer, int64
|
|
510
|
-
|
|
373
|
+
*/
|
|
511
374
|
bytes_per_month: number;
|
|
512
375
|
/**
|
|
513
376
|
* @description Maximum query shapes in cache rules. 0 means unlimited.
|
|
514
377
|
* @type integer
|
|
515
|
-
|
|
378
|
+
*/
|
|
516
379
|
max_query_shapes: number;
|
|
517
380
|
/**
|
|
518
381
|
* @description Number of seats included in the plan.
|
|
519
382
|
* @type integer
|
|
520
|
-
|
|
383
|
+
*/
|
|
521
384
|
included_seats: number;
|
|
522
385
|
};
|
|
523
386
|
|
|
524
387
|
/**
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
388
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
389
|
+
* Do not edit manually.
|
|
390
|
+
*/
|
|
528
391
|
|
|
529
392
|
/**
|
|
530
393
|
* @description Publicly visible plan metadata and limits.
|
|
531
|
-
|
|
394
|
+
*/
|
|
532
395
|
type PlanInfo = {
|
|
533
396
|
/**
|
|
534
397
|
* @description Plan tier name (starter, pro, scale).
|
|
535
398
|
* @type string
|
|
536
|
-
|
|
399
|
+
*/
|
|
537
400
|
name: string;
|
|
538
401
|
/**
|
|
539
402
|
* @description Display label for the plan.
|
|
540
403
|
* @type string
|
|
541
|
-
|
|
404
|
+
*/
|
|
542
405
|
label: string;
|
|
543
406
|
/**
|
|
544
407
|
* @description Monthly price in dollars.
|
|
545
408
|
* @type integer
|
|
546
|
-
|
|
409
|
+
*/
|
|
547
410
|
monthly_price: number;
|
|
548
411
|
/**
|
|
549
412
|
* @description Annual price in dollars (if applicable).
|
|
550
413
|
* @type integer | undefined
|
|
551
|
-
|
|
414
|
+
*/
|
|
552
415
|
annual_price?: number;
|
|
553
416
|
/**
|
|
554
417
|
* @description Short description of the plan.
|
|
555
418
|
* @type string | undefined
|
|
556
|
-
|
|
419
|
+
*/
|
|
557
420
|
description?: string;
|
|
558
421
|
/**
|
|
559
422
|
* @description Human-readable overage pricing text.
|
|
560
423
|
* @type string | undefined
|
|
561
|
-
|
|
424
|
+
*/
|
|
562
425
|
overage_text?: string;
|
|
563
426
|
/**
|
|
564
427
|
* @description Number of trial days for new signups.
|
|
565
428
|
* @type integer | undefined
|
|
566
|
-
|
|
429
|
+
*/
|
|
567
430
|
trial_days?: number;
|
|
568
431
|
/**
|
|
569
432
|
* @description Effective usage limits enforced for an organization plan.
|
|
570
433
|
* @type object
|
|
571
|
-
|
|
434
|
+
*/
|
|
572
435
|
limits: PlanLimits;
|
|
573
436
|
};
|
|
574
437
|
|
|
575
438
|
/**
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
439
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
440
|
+
* Do not edit manually.
|
|
441
|
+
*/
|
|
579
442
|
|
|
580
443
|
/**
|
|
581
444
|
* @description Response envelope for listing available billing plans.
|
|
582
|
-
|
|
445
|
+
*/
|
|
583
446
|
type ListPlansResponse = {
|
|
584
447
|
/**
|
|
585
448
|
* @description Billing plans available for self-serve signups.
|
|
586
449
|
* @type array
|
|
587
|
-
|
|
450
|
+
*/
|
|
588
451
|
plans: PlanInfo[];
|
|
589
452
|
};
|
|
590
453
|
|
|
591
454
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
455
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
456
|
+
* Do not edit manually.
|
|
457
|
+
*/
|
|
595
458
|
|
|
596
459
|
/**
|
|
597
460
|
* @description List of available plans.
|
|
598
|
-
|
|
461
|
+
*/
|
|
599
462
|
type ListPlans200 = ListPlansResponse;
|
|
600
463
|
/**
|
|
601
464
|
* @description Missing or invalid authentication.
|
|
602
|
-
|
|
465
|
+
*/
|
|
603
466
|
type ListPlans401 = Error$1;
|
|
604
467
|
/**
|
|
605
468
|
* @description Rate limited. Try again later.
|
|
606
|
-
|
|
469
|
+
*/
|
|
607
470
|
type ListPlans429 = Error$1;
|
|
608
471
|
type ListPlansQueryResponse = ListPlans200;
|
|
609
472
|
type ListPlansQuery = {
|
|
@@ -612,9 +475,9 @@ type ListPlansQuery = {
|
|
|
612
475
|
};
|
|
613
476
|
|
|
614
477
|
/**
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
478
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
479
|
+
* Do not edit manually.
|
|
480
|
+
*/
|
|
618
481
|
|
|
619
482
|
declare const organizationPlanPlanEnum: {
|
|
620
483
|
readonly starter: "starter";
|
|
@@ -643,97 +506,97 @@ declare const organizationPlanSubscriptionStatusEnum: {
|
|
|
643
506
|
type OrganizationPlanSubscriptionStatusEnumKey = (typeof organizationPlanSubscriptionStatusEnum)[keyof typeof organizationPlanSubscriptionStatusEnum];
|
|
644
507
|
/**
|
|
645
508
|
* @description Billing state and plan limits for an organization.
|
|
646
|
-
|
|
509
|
+
*/
|
|
647
510
|
type OrganizationPlan = {
|
|
648
511
|
/**
|
|
649
512
|
* @description Organization identifier the plan applies to.
|
|
650
513
|
* @type string
|
|
651
|
-
|
|
514
|
+
*/
|
|
652
515
|
org_id: string;
|
|
653
516
|
/**
|
|
654
517
|
* @description Current plan tier.
|
|
655
518
|
* @type string
|
|
656
|
-
|
|
519
|
+
*/
|
|
657
520
|
plan: OrganizationPlanPlanEnumKey;
|
|
658
521
|
/**
|
|
659
522
|
* @description Which billing provider manages this organization\'s subscription.
|
|
660
523
|
* @type string | undefined
|
|
661
|
-
|
|
524
|
+
*/
|
|
662
525
|
billing_provider?: OrganizationPlanBillingProviderEnumKey;
|
|
663
526
|
/**
|
|
664
527
|
* @description Stripe subscription status.
|
|
665
528
|
* @type string | undefined
|
|
666
|
-
|
|
529
|
+
*/
|
|
667
530
|
subscription_status?: OrganizationPlanSubscriptionStatusEnumKey;
|
|
668
531
|
/**
|
|
669
532
|
* @description End of current billing period.
|
|
670
533
|
* @type string | undefined, date-time
|
|
671
|
-
|
|
534
|
+
*/
|
|
672
535
|
current_period_end?: string;
|
|
673
536
|
/**
|
|
674
537
|
* @description Whether the organization billing is active (false = suspended).
|
|
675
538
|
* @type boolean | undefined
|
|
676
|
-
|
|
539
|
+
*/
|
|
677
540
|
enabled?: boolean;
|
|
678
541
|
/**
|
|
679
542
|
* @description Whether the organization has custom enterprise pricing.
|
|
680
543
|
* @type boolean | undefined
|
|
681
|
-
|
|
544
|
+
*/
|
|
682
545
|
custom_pricing?: boolean;
|
|
683
546
|
/**
|
|
684
547
|
* @description Monthly spend limit in dollars. Null means no limit.
|
|
685
548
|
* @type number, double
|
|
686
|
-
|
|
549
|
+
*/
|
|
687
550
|
spend_limit?: number | null;
|
|
688
551
|
/**
|
|
689
552
|
* @description Effective usage limits enforced for an organization plan.
|
|
690
553
|
* @type object
|
|
691
|
-
|
|
554
|
+
*/
|
|
692
555
|
limits: PlanLimits;
|
|
693
556
|
/**
|
|
694
557
|
* @description When the billing record was created.
|
|
695
558
|
* @type string | undefined, date-time
|
|
696
|
-
|
|
559
|
+
*/
|
|
697
560
|
created_at?: string;
|
|
698
561
|
/**
|
|
699
562
|
* @description When the billing record was last updated.
|
|
700
563
|
* @type string | undefined, date-time
|
|
701
|
-
|
|
564
|
+
*/
|
|
702
565
|
updated_at?: string;
|
|
703
566
|
};
|
|
704
567
|
|
|
705
568
|
/**
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
569
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
570
|
+
* Do not edit manually.
|
|
571
|
+
*/
|
|
709
572
|
|
|
710
573
|
type GetOrganizationPlanPathParams = {
|
|
711
574
|
/**
|
|
712
575
|
* @description Unique organization identifier.
|
|
713
576
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
714
577
|
* @type string
|
|
715
|
-
|
|
578
|
+
*/
|
|
716
579
|
org_id: string;
|
|
717
580
|
};
|
|
718
581
|
/**
|
|
719
582
|
* @description Organization plan details.
|
|
720
|
-
|
|
583
|
+
*/
|
|
721
584
|
type GetOrganizationPlan200 = OrganizationPlan;
|
|
722
585
|
/**
|
|
723
586
|
* @description Invalid request parameters.
|
|
724
|
-
|
|
587
|
+
*/
|
|
725
588
|
type GetOrganizationPlan400 = Error$1;
|
|
726
589
|
/**
|
|
727
590
|
* @description Missing or invalid authentication.
|
|
728
|
-
|
|
591
|
+
*/
|
|
729
592
|
type GetOrganizationPlan401 = Error$1;
|
|
730
593
|
/**
|
|
731
594
|
* @description Operation not allowed by current plan limits.
|
|
732
|
-
|
|
595
|
+
*/
|
|
733
596
|
type GetOrganizationPlan403 = Error$1;
|
|
734
597
|
/**
|
|
735
598
|
* @description Rate limited. Try again later.
|
|
736
|
-
|
|
599
|
+
*/
|
|
737
600
|
type GetOrganizationPlan429 = Error$1;
|
|
738
601
|
type GetOrganizationPlanQueryResponse = GetOrganizationPlan200;
|
|
739
602
|
type GetOrganizationPlanQuery = {
|
|
@@ -743,52 +606,52 @@ type GetOrganizationPlanQuery = {
|
|
|
743
606
|
};
|
|
744
607
|
|
|
745
608
|
/**
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
609
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
610
|
+
* Do not edit manually.
|
|
611
|
+
*/
|
|
749
612
|
/**
|
|
750
613
|
* @description Request body for updating an organization\'s monthly spend cap.
|
|
751
|
-
|
|
614
|
+
*/
|
|
752
615
|
type UpdateSpendLimitRequest = {
|
|
753
616
|
/**
|
|
754
617
|
* @description Monthly spend limit in dollars. Null to remove the limit.
|
|
755
618
|
* @type number, double
|
|
756
|
-
|
|
619
|
+
*/
|
|
757
620
|
spend_limit?: number | null;
|
|
758
621
|
};
|
|
759
622
|
|
|
760
623
|
/**
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
624
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
625
|
+
* Do not edit manually.
|
|
626
|
+
*/
|
|
764
627
|
|
|
765
628
|
type UpdateSpendLimitPathParams = {
|
|
766
629
|
/**
|
|
767
630
|
* @description Unique organization identifier.
|
|
768
631
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
769
632
|
* @type string
|
|
770
|
-
|
|
633
|
+
*/
|
|
771
634
|
org_id: string;
|
|
772
635
|
};
|
|
773
636
|
/**
|
|
774
637
|
* @description Spend limit updated.
|
|
775
|
-
|
|
638
|
+
*/
|
|
776
639
|
type UpdateSpendLimit200 = OrganizationPlan;
|
|
777
640
|
/**
|
|
778
641
|
* @description Invalid request parameters.
|
|
779
|
-
|
|
642
|
+
*/
|
|
780
643
|
type UpdateSpendLimit400 = Error$1;
|
|
781
644
|
/**
|
|
782
645
|
* @description Missing or invalid authentication.
|
|
783
|
-
|
|
646
|
+
*/
|
|
784
647
|
type UpdateSpendLimit401 = Error$1;
|
|
785
648
|
/**
|
|
786
649
|
* @description Operation not allowed by current plan limits.
|
|
787
|
-
|
|
650
|
+
*/
|
|
788
651
|
type UpdateSpendLimit403 = Error$1;
|
|
789
652
|
/**
|
|
790
653
|
* @description Rate limited. Try again later.
|
|
791
|
-
|
|
654
|
+
*/
|
|
792
655
|
type UpdateSpendLimit429 = Error$1;
|
|
793
656
|
type UpdateSpendLimitMutationRequest = UpdateSpendLimitRequest;
|
|
794
657
|
type UpdateSpendLimitMutationResponse = UpdateSpendLimit200;
|
|
@@ -800,57 +663,57 @@ type UpdateSpendLimitMutation = {
|
|
|
800
663
|
};
|
|
801
664
|
|
|
802
665
|
/**
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
666
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
667
|
+
* Do not edit manually.
|
|
668
|
+
*/
|
|
806
669
|
/**
|
|
807
670
|
* @description Request body for capturing cancellation feedback from a user.
|
|
808
|
-
|
|
671
|
+
*/
|
|
809
672
|
type CancellationFeedbackRequest = {
|
|
810
673
|
/**
|
|
811
674
|
* @description Predefined cancellation reason.
|
|
812
675
|
* @type string | undefined
|
|
813
|
-
|
|
676
|
+
*/
|
|
814
677
|
reason?: string;
|
|
815
678
|
/**
|
|
816
679
|
* @description Free-text feedback from the user.
|
|
817
680
|
* @type string | undefined
|
|
818
|
-
|
|
681
|
+
*/
|
|
819
682
|
feedback?: string;
|
|
820
683
|
};
|
|
821
684
|
|
|
822
685
|
/**
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
686
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
687
|
+
* Do not edit manually.
|
|
688
|
+
*/
|
|
826
689
|
|
|
827
690
|
type SubmitCancellationFeedbackPathParams = {
|
|
828
691
|
/**
|
|
829
692
|
* @description Unique organization identifier.
|
|
830
693
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
831
694
|
* @type string
|
|
832
|
-
|
|
695
|
+
*/
|
|
833
696
|
org_id: string;
|
|
834
697
|
};
|
|
835
698
|
/**
|
|
836
699
|
* @description Feedback recorded.
|
|
837
|
-
|
|
700
|
+
*/
|
|
838
701
|
type SubmitCancellationFeedback204 = any;
|
|
839
702
|
/**
|
|
840
703
|
* @description Invalid request parameters.
|
|
841
|
-
|
|
704
|
+
*/
|
|
842
705
|
type SubmitCancellationFeedback400 = Error$1;
|
|
843
706
|
/**
|
|
844
707
|
* @description Missing or invalid authentication.
|
|
845
|
-
|
|
708
|
+
*/
|
|
846
709
|
type SubmitCancellationFeedback401 = Error$1;
|
|
847
710
|
/**
|
|
848
711
|
* @description Operation not allowed by current plan limits.
|
|
849
|
-
|
|
712
|
+
*/
|
|
850
713
|
type SubmitCancellationFeedback403 = Error$1;
|
|
851
714
|
/**
|
|
852
715
|
* @description Rate limited. Try again later.
|
|
853
|
-
|
|
716
|
+
*/
|
|
854
717
|
type SubmitCancellationFeedback429 = Error$1;
|
|
855
718
|
type SubmitCancellationFeedbackMutationRequest = CancellationFeedbackRequest;
|
|
856
719
|
type SubmitCancellationFeedbackMutationResponse = SubmitCancellationFeedback204;
|
|
@@ -862,9 +725,9 @@ type SubmitCancellationFeedbackMutation = {
|
|
|
862
725
|
};
|
|
863
726
|
|
|
864
727
|
/**
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
728
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
729
|
+
* Do not edit manually.
|
|
730
|
+
*/
|
|
868
731
|
declare const cacheRuleEntryQueryTypeEnum: {
|
|
869
732
|
readonly read: "read";
|
|
870
733
|
readonly write: "write";
|
|
@@ -880,120 +743,120 @@ declare const cacheRuleEntryRecommendationEnum: {
|
|
|
880
743
|
type CacheRuleEntryRecommendationEnumKey = (typeof cacheRuleEntryRecommendationEnum)[keyof typeof cacheRuleEntryRecommendationEnum];
|
|
881
744
|
/**
|
|
882
745
|
* @description Observed query shape and its cache recommendation for a database.
|
|
883
|
-
|
|
746
|
+
*/
|
|
884
747
|
type CacheRuleEntry = {
|
|
885
748
|
/**
|
|
886
749
|
* @description xxhash64 hex of the normalized SQL.
|
|
887
750
|
* @type string
|
|
888
|
-
|
|
751
|
+
*/
|
|
889
752
|
query_hash: string;
|
|
890
753
|
/**
|
|
891
754
|
* @description SQL with literals replaced by $N placeholders.
|
|
892
755
|
* @type string
|
|
893
|
-
|
|
756
|
+
*/
|
|
894
757
|
normalized_sql: string;
|
|
895
758
|
/**
|
|
896
759
|
* @description Query classification.
|
|
897
760
|
* @type string
|
|
898
|
-
|
|
761
|
+
*/
|
|
899
762
|
query_type: CacheRuleEntryQueryTypeEnumKey;
|
|
900
763
|
/**
|
|
901
764
|
* @description Whether caching is enabled for this query shape.
|
|
902
765
|
* @type boolean
|
|
903
|
-
|
|
766
|
+
*/
|
|
904
767
|
cache_enabled: boolean;
|
|
905
768
|
/**
|
|
906
769
|
* @description TTL override in seconds. Null means use project default.
|
|
907
770
|
* @minLength 0
|
|
908
771
|
* @type integer
|
|
909
|
-
|
|
772
|
+
*/
|
|
910
773
|
cache_ttl_seconds?: number | null;
|
|
911
774
|
/**
|
|
912
775
|
* @description SWR override in seconds. Null means use project default.
|
|
913
776
|
* @minLength 0
|
|
914
777
|
* @type integer
|
|
915
|
-
|
|
778
|
+
*/
|
|
916
779
|
cache_swr_seconds?: number | null;
|
|
917
780
|
/**
|
|
918
781
|
* @description Total number of executions observed.
|
|
919
782
|
* @type integer, int64
|
|
920
|
-
|
|
783
|
+
*/
|
|
921
784
|
call_count: number;
|
|
922
785
|
/**
|
|
923
786
|
* @description Average query latency in milliseconds.
|
|
924
787
|
* @type number, double
|
|
925
|
-
|
|
788
|
+
*/
|
|
926
789
|
avg_latency_ms: number;
|
|
927
790
|
/**
|
|
928
791
|
* @description 95th percentile latency in milliseconds.
|
|
929
792
|
* @type number, double
|
|
930
|
-
|
|
793
|
+
*/
|
|
931
794
|
p95_latency_ms: number;
|
|
932
795
|
/**
|
|
933
796
|
* @description Average response size in bytes.
|
|
934
797
|
* @type integer, int64
|
|
935
|
-
|
|
798
|
+
*/
|
|
936
799
|
avg_response_bytes: number;
|
|
937
800
|
/**
|
|
938
801
|
* @description Response stability rate (0.0 to 1.0). Higher means more stable.
|
|
939
802
|
* @type number, double
|
|
940
|
-
|
|
803
|
+
*/
|
|
941
804
|
stability_rate: number;
|
|
942
805
|
/**
|
|
943
806
|
* @description Cache recommendation based on frequency, latency, and stability.
|
|
944
807
|
* @type string
|
|
945
|
-
|
|
808
|
+
*/
|
|
946
809
|
recommendation: CacheRuleEntryRecommendationEnumKey;
|
|
947
810
|
/**
|
|
948
811
|
* @description When this query was first observed.
|
|
949
812
|
* @type string, date-time
|
|
950
|
-
|
|
813
|
+
*/
|
|
951
814
|
first_seen_at: string;
|
|
952
815
|
/**
|
|
953
816
|
* @description When this query was last observed.
|
|
954
817
|
* @type string, date-time
|
|
955
|
-
|
|
818
|
+
*/
|
|
956
819
|
last_seen_at: string;
|
|
957
820
|
};
|
|
958
821
|
|
|
959
822
|
/**
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
823
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
824
|
+
* Do not edit manually.
|
|
825
|
+
*/
|
|
963
826
|
|
|
964
827
|
/**
|
|
965
828
|
* @description Cursor-paginated cache-rule entries for a database.
|
|
966
|
-
|
|
829
|
+
*/
|
|
967
830
|
type ListCacheRulesResponse = {
|
|
968
831
|
/**
|
|
969
832
|
* @description Query shapes returned for the current page.
|
|
970
833
|
* @type array
|
|
971
|
-
|
|
834
|
+
*/
|
|
972
835
|
entries: CacheRuleEntry[];
|
|
973
836
|
/**
|
|
974
837
|
* @description Opaque token for cursor-based pagination.
|
|
975
838
|
* @type string | undefined
|
|
976
|
-
|
|
839
|
+
*/
|
|
977
840
|
next_page_token?: string;
|
|
978
841
|
};
|
|
979
842
|
|
|
980
843
|
/**
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
844
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
845
|
+
* Do not edit manually.
|
|
846
|
+
*/
|
|
984
847
|
|
|
985
848
|
type ListCacheRulesPathParams = {
|
|
986
849
|
/**
|
|
987
850
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
988
851
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
989
852
|
* @type string
|
|
990
|
-
|
|
853
|
+
*/
|
|
991
854
|
project_id: string;
|
|
992
855
|
/**
|
|
993
856
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
994
857
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
995
858
|
* @type string
|
|
996
|
-
|
|
859
|
+
*/
|
|
997
860
|
database_id: string;
|
|
998
861
|
};
|
|
999
862
|
type ListCacheRulesQueryParams = {
|
|
@@ -1003,38 +866,38 @@ type ListCacheRulesQueryParams = {
|
|
|
1003
866
|
* @maxLength 100
|
|
1004
867
|
* @default 20
|
|
1005
868
|
* @type integer | undefined
|
|
1006
|
-
|
|
869
|
+
*/
|
|
1007
870
|
page_size?: number;
|
|
1008
871
|
/**
|
|
1009
872
|
* @description Opaque token for cursor-based pagination.
|
|
1010
873
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1011
874
|
* @type string | undefined
|
|
1012
|
-
|
|
875
|
+
*/
|
|
1013
876
|
page_token?: string;
|
|
1014
877
|
};
|
|
1015
878
|
/**
|
|
1016
879
|
* @description Cache rule entries.
|
|
1017
|
-
|
|
880
|
+
*/
|
|
1018
881
|
type ListCacheRules200 = ListCacheRulesResponse;
|
|
1019
882
|
/**
|
|
1020
883
|
* @description Invalid request parameters.
|
|
1021
|
-
|
|
884
|
+
*/
|
|
1022
885
|
type ListCacheRules400 = Error$1;
|
|
1023
886
|
/**
|
|
1024
887
|
* @description Missing or invalid authentication.
|
|
1025
|
-
|
|
888
|
+
*/
|
|
1026
889
|
type ListCacheRules401 = Error$1;
|
|
1027
890
|
/**
|
|
1028
891
|
* @description Operation not allowed by current plan limits.
|
|
1029
|
-
|
|
892
|
+
*/
|
|
1030
893
|
type ListCacheRules403 = Error$1;
|
|
1031
894
|
/**
|
|
1032
895
|
* @description Resource not found.
|
|
1033
|
-
|
|
896
|
+
*/
|
|
1034
897
|
type ListCacheRules404 = Error$1;
|
|
1035
898
|
/**
|
|
1036
899
|
* @description Rate limited. Try again later.
|
|
1037
|
-
|
|
900
|
+
*/
|
|
1038
901
|
type ListCacheRules429 = Error$1;
|
|
1039
902
|
type ListCacheRulesQueryResponse = ListCacheRules200;
|
|
1040
903
|
type ListCacheRulesQuery = {
|
|
@@ -1045,67 +908,67 @@ type ListCacheRulesQuery = {
|
|
|
1045
908
|
};
|
|
1046
909
|
|
|
1047
910
|
/**
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
911
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
912
|
+
* Do not edit manually.
|
|
913
|
+
*/
|
|
1051
914
|
/**
|
|
1052
915
|
* @description Request body for updating cache behavior of a query shape.
|
|
1053
|
-
|
|
916
|
+
*/
|
|
1054
917
|
type UpdateCacheRuleRequest = {
|
|
1055
918
|
/**
|
|
1056
919
|
* @description Whether to enable caching for this query shape.
|
|
1057
920
|
* @type boolean
|
|
1058
|
-
|
|
921
|
+
*/
|
|
1059
922
|
cache_enabled: boolean;
|
|
1060
923
|
/**
|
|
1061
924
|
* @description TTL override in seconds. Null to use project default.
|
|
1062
925
|
* @minLength 0
|
|
1063
926
|
* @maxLength 86400
|
|
1064
927
|
* @type integer
|
|
1065
|
-
|
|
928
|
+
*/
|
|
1066
929
|
cache_ttl_seconds?: number | null;
|
|
1067
930
|
/**
|
|
1068
931
|
* @description SWR override in seconds. Null to use project default.
|
|
1069
932
|
* @minLength 0
|
|
1070
933
|
* @maxLength 86400
|
|
1071
934
|
* @type integer
|
|
1072
|
-
|
|
935
|
+
*/
|
|
1073
936
|
cache_swr_seconds?: number | null;
|
|
1074
937
|
};
|
|
1075
938
|
|
|
1076
939
|
/**
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
940
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
941
|
+
* Do not edit manually.
|
|
942
|
+
*/
|
|
1080
943
|
|
|
1081
944
|
/**
|
|
1082
945
|
* @description Response returned after updating a cache rule.
|
|
1083
|
-
|
|
946
|
+
*/
|
|
1084
947
|
type UpdateCacheRuleResponse = {
|
|
1085
948
|
/**
|
|
1086
949
|
* @description Observed query shape and its cache recommendation for a database.
|
|
1087
950
|
* @type object
|
|
1088
|
-
|
|
951
|
+
*/
|
|
1089
952
|
entry: CacheRuleEntry;
|
|
1090
953
|
};
|
|
1091
954
|
|
|
1092
955
|
/**
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
956
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
957
|
+
* Do not edit manually.
|
|
958
|
+
*/
|
|
1096
959
|
|
|
1097
960
|
type UpdateCacheRulePathParams = {
|
|
1098
961
|
/**
|
|
1099
962
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1100
963
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1101
964
|
* @type string
|
|
1102
|
-
|
|
965
|
+
*/
|
|
1103
966
|
project_id: string;
|
|
1104
967
|
/**
|
|
1105
968
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
1106
969
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1107
970
|
* @type string
|
|
1108
|
-
|
|
971
|
+
*/
|
|
1109
972
|
database_id: string;
|
|
1110
973
|
/**
|
|
1111
974
|
* @description xxhash64 hex of the normalized SQL.
|
|
@@ -1113,32 +976,32 @@ type UpdateCacheRulePathParams = {
|
|
|
1113
976
|
* @maxLength 16
|
|
1114
977
|
* @pattern ^[a-f0-9]+$
|
|
1115
978
|
* @type string
|
|
1116
|
-
|
|
979
|
+
*/
|
|
1117
980
|
query_hash: string;
|
|
1118
981
|
};
|
|
1119
982
|
/**
|
|
1120
983
|
* @description Cache rule updated.
|
|
1121
|
-
|
|
984
|
+
*/
|
|
1122
985
|
type UpdateCacheRule200 = UpdateCacheRuleResponse;
|
|
1123
986
|
/**
|
|
1124
987
|
* @description Invalid request parameters.
|
|
1125
|
-
|
|
988
|
+
*/
|
|
1126
989
|
type UpdateCacheRule400 = Error$1;
|
|
1127
990
|
/**
|
|
1128
991
|
* @description Missing or invalid authentication.
|
|
1129
|
-
|
|
992
|
+
*/
|
|
1130
993
|
type UpdateCacheRule401 = Error$1;
|
|
1131
994
|
/**
|
|
1132
995
|
* @description Operation not allowed by current plan limits.
|
|
1133
|
-
|
|
996
|
+
*/
|
|
1134
997
|
type UpdateCacheRule403 = Error$1;
|
|
1135
998
|
/**
|
|
1136
999
|
* @description Resource not found.
|
|
1137
|
-
|
|
1000
|
+
*/
|
|
1138
1001
|
type UpdateCacheRule404 = Error$1;
|
|
1139
1002
|
/**
|
|
1140
1003
|
* @description Rate limited. Try again later.
|
|
1141
|
-
|
|
1004
|
+
*/
|
|
1142
1005
|
type UpdateCacheRule429 = Error$1;
|
|
1143
1006
|
type UpdateCacheRuleMutationRequest = UpdateCacheRuleRequest;
|
|
1144
1007
|
type UpdateCacheRuleMutationResponse = UpdateCacheRule200;
|
|
@@ -1150,18 +1013,18 @@ type UpdateCacheRuleMutation = {
|
|
|
1150
1013
|
};
|
|
1151
1014
|
|
|
1152
1015
|
/**
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1016
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1017
|
+
* Do not edit manually.
|
|
1018
|
+
*/
|
|
1156
1019
|
/**
|
|
1157
1020
|
* @description Query cache configuration.
|
|
1158
|
-
|
|
1021
|
+
*/
|
|
1159
1022
|
type CacheConfig = {
|
|
1160
1023
|
/**
|
|
1161
1024
|
* @description Whether query caching is enabled. When false, all queries bypass the cache.
|
|
1162
1025
|
* @default true
|
|
1163
1026
|
* @type boolean
|
|
1164
|
-
|
|
1027
|
+
*/
|
|
1165
1028
|
enabled: boolean;
|
|
1166
1029
|
/**
|
|
1167
1030
|
* @description Cache TTL in seconds for query results.
|
|
@@ -1169,7 +1032,7 @@ type CacheConfig = {
|
|
|
1169
1032
|
* @maxLength 86400
|
|
1170
1033
|
* @default 60
|
|
1171
1034
|
* @type integer
|
|
1172
|
-
|
|
1035
|
+
*/
|
|
1173
1036
|
ttl_seconds: number;
|
|
1174
1037
|
/**
|
|
1175
1038
|
* @description Maximum number of cached query results.
|
|
@@ -1177,7 +1040,7 @@ type CacheConfig = {
|
|
|
1177
1040
|
* @maxLength 1000000
|
|
1178
1041
|
* @default 10000
|
|
1179
1042
|
* @type integer
|
|
1180
|
-
|
|
1043
|
+
*/
|
|
1181
1044
|
max_entries: number;
|
|
1182
1045
|
/**
|
|
1183
1046
|
* @description Stale-while-revalidate window in seconds.
|
|
@@ -1185,14 +1048,14 @@ type CacheConfig = {
|
|
|
1185
1048
|
* @maxLength 86400
|
|
1186
1049
|
* @default 30
|
|
1187
1050
|
* @type integer
|
|
1188
|
-
|
|
1051
|
+
*/
|
|
1189
1052
|
swr_seconds: number;
|
|
1190
1053
|
};
|
|
1191
1054
|
|
|
1192
1055
|
/**
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1056
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1057
|
+
* Do not edit manually.
|
|
1058
|
+
*/
|
|
1196
1059
|
declare const databaseRoleEnum: {
|
|
1197
1060
|
readonly primary: "primary";
|
|
1198
1061
|
readonly replica: "replica";
|
|
@@ -1201,13 +1064,13 @@ type DatabaseRoleEnumKey = (typeof databaseRoleEnum)[keyof typeof databaseRoleEn
|
|
|
1201
1064
|
/**
|
|
1202
1065
|
* @description Database role. Primary receives writes, replicas receive reads.
|
|
1203
1066
|
* @default primary
|
|
1204
|
-
|
|
1067
|
+
*/
|
|
1205
1068
|
type DatabaseRole = DatabaseRoleEnumKey;
|
|
1206
1069
|
|
|
1207
1070
|
/**
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1071
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1072
|
+
* Do not edit manually.
|
|
1073
|
+
*/
|
|
1211
1074
|
declare const poolModeEnum: {
|
|
1212
1075
|
readonly session: "session";
|
|
1213
1076
|
readonly transaction: "transaction";
|
|
@@ -1216,17 +1079,17 @@ declare const poolModeEnum: {
|
|
|
1216
1079
|
type PoolModeEnumKey = (typeof poolModeEnum)[keyof typeof poolModeEnum];
|
|
1217
1080
|
/**
|
|
1218
1081
|
* @description Connection pool mode.
|
|
1219
|
-
|
|
1082
|
+
*/
|
|
1220
1083
|
type PoolMode = PoolModeEnumKey;
|
|
1221
1084
|
|
|
1222
1085
|
/**
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1086
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1087
|
+
* Do not edit manually.
|
|
1088
|
+
*/
|
|
1226
1089
|
|
|
1227
1090
|
/**
|
|
1228
1091
|
* @description Connection pool configuration.
|
|
1229
|
-
|
|
1092
|
+
*/
|
|
1230
1093
|
type PoolConfig = {
|
|
1231
1094
|
/**
|
|
1232
1095
|
* @description Maximum connections in the pool.
|
|
@@ -1234,7 +1097,7 @@ type PoolConfig = {
|
|
|
1234
1097
|
* @maxLength 10000
|
|
1235
1098
|
* @default 10
|
|
1236
1099
|
* @type integer
|
|
1237
|
-
|
|
1100
|
+
*/
|
|
1238
1101
|
pool_size: number;
|
|
1239
1102
|
/**
|
|
1240
1103
|
* @description Minimum idle connections maintained.
|
|
@@ -1242,12 +1105,12 @@ type PoolConfig = {
|
|
|
1242
1105
|
* @maxLength 10000
|
|
1243
1106
|
* @default 1
|
|
1244
1107
|
* @type integer
|
|
1245
|
-
|
|
1108
|
+
*/
|
|
1246
1109
|
min_pool_size: number;
|
|
1247
1110
|
/**
|
|
1248
1111
|
* @description Connection pool mode.
|
|
1249
1112
|
* @type string
|
|
1250
|
-
|
|
1113
|
+
*/
|
|
1251
1114
|
pool_mode: PoolMode;
|
|
1252
1115
|
/**
|
|
1253
1116
|
* @description Maximum concurrent upstream connections per pool.
|
|
@@ -1255,14 +1118,14 @@ type PoolConfig = {
|
|
|
1255
1118
|
* @maxLength 10000
|
|
1256
1119
|
* @default 200
|
|
1257
1120
|
* @type integer | undefined
|
|
1258
|
-
|
|
1121
|
+
*/
|
|
1259
1122
|
max_active?: number;
|
|
1260
1123
|
};
|
|
1261
1124
|
|
|
1262
1125
|
/**
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1126
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1127
|
+
* Do not edit manually.
|
|
1128
|
+
*/
|
|
1266
1129
|
declare const SSLModeEnum: {
|
|
1267
1130
|
readonly disable: "disable";
|
|
1268
1131
|
readonly allow: "allow";
|
|
@@ -1274,125 +1137,139 @@ declare const SSLModeEnum: {
|
|
|
1274
1137
|
type SSLModeEnumKey = (typeof SSLModeEnum)[keyof typeof SSLModeEnum];
|
|
1275
1138
|
/**
|
|
1276
1139
|
* @description PostgreSQL SSL connection mode.
|
|
1277
|
-
|
|
1140
|
+
*/
|
|
1278
1141
|
type SSLMode = SSLModeEnumKey;
|
|
1279
1142
|
|
|
1280
1143
|
/**
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1144
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1145
|
+
* Do not edit manually.
|
|
1146
|
+
*/
|
|
1284
1147
|
|
|
1285
1148
|
/**
|
|
1286
1149
|
* @description Registered upstream PostgreSQL database for a project.
|
|
1287
|
-
|
|
1150
|
+
*/
|
|
1288
1151
|
type Database = {
|
|
1289
1152
|
/**
|
|
1290
1153
|
* @description Unique database identifier (prefixed).
|
|
1291
1154
|
* @type string
|
|
1292
|
-
|
|
1155
|
+
*/
|
|
1293
1156
|
id: string;
|
|
1294
1157
|
/**
|
|
1295
1158
|
* @description Owning project ID.
|
|
1296
1159
|
* @type string
|
|
1297
|
-
|
|
1160
|
+
*/
|
|
1298
1161
|
project_id: string;
|
|
1299
1162
|
/**
|
|
1300
1163
|
* @description Connection string for connecting through PgBeam proxy. Password is replaced with a placeholder.
|
|
1301
1164
|
* @type string | undefined
|
|
1302
|
-
|
|
1165
|
+
*/
|
|
1303
1166
|
readonly connection_string?: string;
|
|
1304
1167
|
/**
|
|
1305
1168
|
* @description PostgreSQL host.
|
|
1306
1169
|
* @type string
|
|
1307
|
-
|
|
1170
|
+
*/
|
|
1308
1171
|
host: string;
|
|
1309
1172
|
/**
|
|
1310
1173
|
* @description PostgreSQL port.
|
|
1311
1174
|
* @minLength 1
|
|
1312
1175
|
* @maxLength 65535
|
|
1313
1176
|
* @type integer
|
|
1314
|
-
|
|
1177
|
+
*/
|
|
1315
1178
|
port: number;
|
|
1316
1179
|
/**
|
|
1317
1180
|
* @description PostgreSQL database name.
|
|
1318
1181
|
* @type string
|
|
1319
|
-
|
|
1182
|
+
*/
|
|
1320
1183
|
name: string;
|
|
1321
1184
|
/**
|
|
1322
1185
|
* @description PostgreSQL username.
|
|
1323
1186
|
* @type string
|
|
1324
|
-
|
|
1187
|
+
*/
|
|
1325
1188
|
username: string;
|
|
1326
1189
|
/**
|
|
1327
1190
|
* @description PostgreSQL SSL connection mode.
|
|
1328
1191
|
* @type string
|
|
1329
|
-
|
|
1192
|
+
*/
|
|
1330
1193
|
ssl_mode: SSLMode;
|
|
1331
1194
|
/**
|
|
1332
1195
|
* @description Database role. Primary receives writes, replicas receive reads.
|
|
1333
1196
|
* @default "primary"
|
|
1334
1197
|
* @type string | undefined
|
|
1335
|
-
|
|
1198
|
+
*/
|
|
1336
1199
|
role?: DatabaseRole;
|
|
1337
1200
|
/**
|
|
1338
1201
|
* @description Region where the connection pool is maintained (near the database). When set and different from the client\'s edge region, queries are relayed through the pool region\'s data plane. Empty means direct connection.\n
|
|
1339
1202
|
* @type string | undefined
|
|
1340
|
-
|
|
1203
|
+
*/
|
|
1341
1204
|
pool_region?: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* @description Query timeout in milliseconds. When set (> 0), the proxy sends SET statement_timeout on upstream connections. 0 means disabled (default).\n
|
|
1207
|
+
* @minLength 0
|
|
1208
|
+
* @maxLength 300000
|
|
1209
|
+
* @default 0
|
|
1210
|
+
* @type integer | undefined
|
|
1211
|
+
*/
|
|
1212
|
+
query_timeout_ms?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* @description When enabled and replicas are configured, SELECT queries automatically route to read replicas without requiring the @pgbeam:replica SQL annotation.\n
|
|
1215
|
+
* @default false
|
|
1216
|
+
* @type boolean | undefined
|
|
1217
|
+
*/
|
|
1218
|
+
auto_read_routing?: boolean;
|
|
1342
1219
|
/**
|
|
1343
1220
|
* @description Query cache configuration.
|
|
1344
1221
|
* @type object
|
|
1345
|
-
|
|
1222
|
+
*/
|
|
1346
1223
|
cache_config: CacheConfig;
|
|
1347
1224
|
/**
|
|
1348
1225
|
* @description Connection pool configuration.
|
|
1349
1226
|
* @type object
|
|
1350
|
-
|
|
1227
|
+
*/
|
|
1351
1228
|
pool_config: PoolConfig;
|
|
1352
1229
|
/**
|
|
1353
1230
|
* @description When the database registration was created.
|
|
1354
1231
|
* @type string, date-time
|
|
1355
|
-
|
|
1232
|
+
*/
|
|
1356
1233
|
created_at: string;
|
|
1357
1234
|
/**
|
|
1358
1235
|
* @description When the database registration was last updated.
|
|
1359
1236
|
* @type string, date-time
|
|
1360
|
-
|
|
1237
|
+
*/
|
|
1361
1238
|
updated_at: string;
|
|
1362
1239
|
};
|
|
1363
1240
|
|
|
1364
1241
|
/**
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1242
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1243
|
+
* Do not edit manually.
|
|
1244
|
+
*/
|
|
1368
1245
|
|
|
1369
1246
|
/**
|
|
1370
1247
|
* @description Cursor-paginated list of databases attached to a project.
|
|
1371
|
-
|
|
1248
|
+
*/
|
|
1372
1249
|
type ListDatabasesResponse = {
|
|
1373
1250
|
/**
|
|
1374
1251
|
* @description Databases on the current page.
|
|
1375
1252
|
* @type array
|
|
1376
|
-
|
|
1253
|
+
*/
|
|
1377
1254
|
databases: Database[];
|
|
1378
1255
|
/**
|
|
1379
1256
|
* @description Token for the next page. Empty if no more results.
|
|
1380
1257
|
* @type string | undefined
|
|
1381
|
-
|
|
1258
|
+
*/
|
|
1382
1259
|
next_page_token?: string;
|
|
1383
1260
|
};
|
|
1384
1261
|
|
|
1385
1262
|
/**
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1263
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1264
|
+
* Do not edit manually.
|
|
1265
|
+
*/
|
|
1389
1266
|
|
|
1390
1267
|
type ListDatabasesPathParams = {
|
|
1391
1268
|
/**
|
|
1392
1269
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1393
1270
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1394
1271
|
* @type string
|
|
1395
|
-
|
|
1272
|
+
*/
|
|
1396
1273
|
project_id: string;
|
|
1397
1274
|
};
|
|
1398
1275
|
type ListDatabasesQueryParams = {
|
|
@@ -1402,38 +1279,38 @@ type ListDatabasesQueryParams = {
|
|
|
1402
1279
|
* @maxLength 100
|
|
1403
1280
|
* @default 20
|
|
1404
1281
|
* @type integer | undefined
|
|
1405
|
-
|
|
1282
|
+
*/
|
|
1406
1283
|
page_size?: number;
|
|
1407
1284
|
/**
|
|
1408
1285
|
* @description Opaque token for cursor-based pagination.
|
|
1409
1286
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1410
1287
|
* @type string | undefined
|
|
1411
|
-
|
|
1288
|
+
*/
|
|
1412
1289
|
page_token?: string;
|
|
1413
1290
|
};
|
|
1414
1291
|
/**
|
|
1415
1292
|
* @description List of databases.
|
|
1416
|
-
|
|
1293
|
+
*/
|
|
1417
1294
|
type ListDatabases200 = ListDatabasesResponse;
|
|
1418
1295
|
/**
|
|
1419
1296
|
* @description Invalid request parameters.
|
|
1420
|
-
|
|
1297
|
+
*/
|
|
1421
1298
|
type ListDatabases400 = Error$1;
|
|
1422
1299
|
/**
|
|
1423
1300
|
* @description Missing or invalid authentication.
|
|
1424
|
-
|
|
1301
|
+
*/
|
|
1425
1302
|
type ListDatabases401 = Error$1;
|
|
1426
1303
|
/**
|
|
1427
1304
|
* @description Operation not allowed by current plan limits.
|
|
1428
|
-
|
|
1305
|
+
*/
|
|
1429
1306
|
type ListDatabases403 = Error$1;
|
|
1430
1307
|
/**
|
|
1431
1308
|
* @description Resource not found.
|
|
1432
|
-
|
|
1309
|
+
*/
|
|
1433
1310
|
type ListDatabases404 = Error$1;
|
|
1434
1311
|
/**
|
|
1435
1312
|
* @description Rate limited. Try again later.
|
|
1436
|
-
|
|
1313
|
+
*/
|
|
1437
1314
|
type ListDatabases429 = Error$1;
|
|
1438
1315
|
type ListDatabasesQueryResponse = ListDatabases200;
|
|
1439
1316
|
type ListDatabasesQuery = {
|
|
@@ -1444,113 +1321,127 @@ type ListDatabasesQuery = {
|
|
|
1444
1321
|
};
|
|
1445
1322
|
|
|
1446
1323
|
/**
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1324
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1325
|
+
* Do not edit manually.
|
|
1326
|
+
*/
|
|
1450
1327
|
|
|
1451
1328
|
/**
|
|
1452
1329
|
* @description Request body for registering an upstream database.
|
|
1453
|
-
|
|
1330
|
+
*/
|
|
1454
1331
|
type CreateDatabaseRequest = {
|
|
1455
1332
|
/**
|
|
1456
1333
|
* @description PostgreSQL host.
|
|
1457
1334
|
* @minLength 1
|
|
1458
1335
|
* @pattern ^[^\s\x00]+$
|
|
1459
1336
|
* @type string
|
|
1460
|
-
|
|
1337
|
+
*/
|
|
1461
1338
|
host: string;
|
|
1462
1339
|
/**
|
|
1463
1340
|
* @description PostgreSQL port.
|
|
1464
1341
|
* @minLength 1
|
|
1465
1342
|
* @maxLength 65535
|
|
1466
1343
|
* @type integer
|
|
1467
|
-
|
|
1344
|
+
*/
|
|
1468
1345
|
port: number;
|
|
1469
1346
|
/**
|
|
1470
1347
|
* @description PostgreSQL database name.
|
|
1471
1348
|
* @minLength 1
|
|
1472
1349
|
* @pattern ^[^\x00]+$
|
|
1473
1350
|
* @type string
|
|
1474
|
-
|
|
1351
|
+
*/
|
|
1475
1352
|
name: string;
|
|
1476
1353
|
/**
|
|
1477
1354
|
* @description PostgreSQL username.
|
|
1478
1355
|
* @minLength 1
|
|
1479
1356
|
* @pattern ^[^\x00]+$
|
|
1480
1357
|
* @type string
|
|
1481
|
-
|
|
1358
|
+
*/
|
|
1482
1359
|
username: string;
|
|
1483
1360
|
/**
|
|
1484
1361
|
* @description PostgreSQL password. Stored encrypted at rest.
|
|
1485
1362
|
* @minLength 1
|
|
1486
1363
|
* @pattern ^[^\x00]+$
|
|
1487
1364
|
* @type string, password
|
|
1488
|
-
|
|
1365
|
+
*/
|
|
1489
1366
|
password: string;
|
|
1490
1367
|
/**
|
|
1491
1368
|
* @description PostgreSQL SSL connection mode.
|
|
1492
1369
|
* @type string | undefined
|
|
1493
|
-
|
|
1370
|
+
*/
|
|
1494
1371
|
ssl_mode?: SSLMode;
|
|
1495
1372
|
/**
|
|
1496
1373
|
* @description Database role. Primary receives writes, replicas receive reads.
|
|
1497
1374
|
* @default "primary"
|
|
1498
1375
|
* @type string | undefined
|
|
1499
|
-
|
|
1376
|
+
*/
|
|
1500
1377
|
role?: DatabaseRole;
|
|
1501
1378
|
/**
|
|
1502
1379
|
* @description Region where the connection pool is maintained (near the database). When set and different from the client\'s edge region, queries are relayed through the pool region\'s data plane. Empty means direct connection.\n
|
|
1503
1380
|
* @type string | undefined
|
|
1504
|
-
|
|
1381
|
+
*/
|
|
1505
1382
|
pool_region?: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* @description Query timeout in milliseconds. 0 means disabled (default).\n
|
|
1385
|
+
* @minLength 0
|
|
1386
|
+
* @maxLength 300000
|
|
1387
|
+
* @default 0
|
|
1388
|
+
* @type integer | undefined
|
|
1389
|
+
*/
|
|
1390
|
+
query_timeout_ms?: number;
|
|
1391
|
+
/**
|
|
1392
|
+
* @description Auto-route SELECT queries to read replicas.\n
|
|
1393
|
+
* @default false
|
|
1394
|
+
* @type boolean | undefined
|
|
1395
|
+
*/
|
|
1396
|
+
auto_read_routing?: boolean;
|
|
1506
1397
|
/**
|
|
1507
1398
|
* @description Query cache configuration.
|
|
1508
1399
|
* @type object | undefined
|
|
1509
|
-
|
|
1400
|
+
*/
|
|
1510
1401
|
cache_config?: CacheConfig;
|
|
1511
1402
|
/**
|
|
1512
1403
|
* @description Connection pool configuration.
|
|
1513
1404
|
* @type object | undefined
|
|
1514
|
-
|
|
1405
|
+
*/
|
|
1515
1406
|
pool_config?: PoolConfig;
|
|
1516
1407
|
};
|
|
1517
1408
|
|
|
1518
1409
|
/**
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1410
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1411
|
+
* Do not edit manually.
|
|
1412
|
+
*/
|
|
1522
1413
|
|
|
1523
1414
|
type CreateDatabasePathParams = {
|
|
1524
1415
|
/**
|
|
1525
1416
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1526
1417
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1527
1418
|
* @type string
|
|
1528
|
-
|
|
1419
|
+
*/
|
|
1529
1420
|
project_id: string;
|
|
1530
1421
|
};
|
|
1531
1422
|
/**
|
|
1532
1423
|
* @description Database created.
|
|
1533
|
-
|
|
1424
|
+
*/
|
|
1534
1425
|
type CreateDatabase201 = Database;
|
|
1535
1426
|
/**
|
|
1536
1427
|
* @description Invalid request parameters.
|
|
1537
|
-
|
|
1428
|
+
*/
|
|
1538
1429
|
type CreateDatabase400 = Error$1;
|
|
1539
1430
|
/**
|
|
1540
1431
|
* @description Missing or invalid authentication.
|
|
1541
|
-
|
|
1432
|
+
*/
|
|
1542
1433
|
type CreateDatabase401 = Error$1;
|
|
1543
1434
|
/**
|
|
1544
1435
|
* @description Operation not allowed by current plan limits.
|
|
1545
|
-
|
|
1436
|
+
*/
|
|
1546
1437
|
type CreateDatabase403 = Error$1;
|
|
1547
1438
|
/**
|
|
1548
1439
|
* @description Resource not found.
|
|
1549
|
-
|
|
1440
|
+
*/
|
|
1550
1441
|
type CreateDatabase404 = Error$1;
|
|
1551
1442
|
/**
|
|
1552
1443
|
* @description Rate limited. Try again later.
|
|
1553
|
-
|
|
1444
|
+
*/
|
|
1554
1445
|
type CreateDatabase429 = Error$1;
|
|
1555
1446
|
type CreateDatabaseMutationRequest = CreateDatabaseRequest;
|
|
1556
1447
|
type CreateDatabaseMutationResponse = CreateDatabase201;
|
|
@@ -1562,47 +1453,47 @@ type CreateDatabaseMutation = {
|
|
|
1562
1453
|
};
|
|
1563
1454
|
|
|
1564
1455
|
/**
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1456
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1457
|
+
* Do not edit manually.
|
|
1458
|
+
*/
|
|
1568
1459
|
|
|
1569
1460
|
type GetDatabasePathParams = {
|
|
1570
1461
|
/**
|
|
1571
1462
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1572
1463
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1573
1464
|
* @type string
|
|
1574
|
-
|
|
1465
|
+
*/
|
|
1575
1466
|
project_id: string;
|
|
1576
1467
|
/**
|
|
1577
1468
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
1578
1469
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1579
1470
|
* @type string
|
|
1580
|
-
|
|
1471
|
+
*/
|
|
1581
1472
|
database_id: string;
|
|
1582
1473
|
};
|
|
1583
1474
|
/**
|
|
1584
1475
|
* @description Database found.
|
|
1585
|
-
|
|
1476
|
+
*/
|
|
1586
1477
|
type GetDatabase200 = Database;
|
|
1587
1478
|
/**
|
|
1588
1479
|
* @description Invalid request parameters.
|
|
1589
|
-
|
|
1480
|
+
*/
|
|
1590
1481
|
type GetDatabase400 = Error$1;
|
|
1591
1482
|
/**
|
|
1592
1483
|
* @description Missing or invalid authentication.
|
|
1593
|
-
|
|
1484
|
+
*/
|
|
1594
1485
|
type GetDatabase401 = Error$1;
|
|
1595
1486
|
/**
|
|
1596
1487
|
* @description Operation not allowed by current plan limits.
|
|
1597
|
-
|
|
1488
|
+
*/
|
|
1598
1489
|
type GetDatabase403 = Error$1;
|
|
1599
1490
|
/**
|
|
1600
1491
|
* @description Resource not found.
|
|
1601
|
-
|
|
1492
|
+
*/
|
|
1602
1493
|
type GetDatabase404 = Error$1;
|
|
1603
1494
|
/**
|
|
1604
1495
|
* @description Rate limited. Try again later.
|
|
1605
|
-
|
|
1496
|
+
*/
|
|
1606
1497
|
type GetDatabase429 = Error$1;
|
|
1607
1498
|
type GetDatabaseQueryResponse = GetDatabase200;
|
|
1608
1499
|
type GetDatabaseQuery = {
|
|
@@ -1612,116 +1503,128 @@ type GetDatabaseQuery = {
|
|
|
1612
1503
|
};
|
|
1613
1504
|
|
|
1614
1505
|
/**
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1506
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1507
|
+
* Do not edit manually.
|
|
1508
|
+
*/
|
|
1618
1509
|
|
|
1619
1510
|
/**
|
|
1620
1511
|
* @description Request body for partially updating an upstream database.
|
|
1621
|
-
|
|
1512
|
+
*/
|
|
1622
1513
|
type UpdateDatabaseRequest = {
|
|
1623
1514
|
/**
|
|
1624
1515
|
* @description Updated PostgreSQL host.
|
|
1625
1516
|
* @minLength 1
|
|
1626
1517
|
* @pattern ^[^\x00]+$
|
|
1627
1518
|
* @type string | undefined
|
|
1628
|
-
|
|
1519
|
+
*/
|
|
1629
1520
|
host?: string;
|
|
1630
1521
|
/**
|
|
1631
1522
|
* @description Updated PostgreSQL port.
|
|
1632
1523
|
* @minLength 1
|
|
1633
1524
|
* @maxLength 65535
|
|
1634
1525
|
* @type integer | undefined
|
|
1635
|
-
|
|
1526
|
+
*/
|
|
1636
1527
|
port?: number;
|
|
1637
1528
|
/**
|
|
1638
1529
|
* @description Updated PostgreSQL database name.
|
|
1639
1530
|
* @pattern ^[^\x00]*$
|
|
1640
1531
|
* @type string | undefined
|
|
1641
|
-
|
|
1532
|
+
*/
|
|
1642
1533
|
name?: string;
|
|
1643
1534
|
/**
|
|
1644
1535
|
* @description Updated PostgreSQL username.
|
|
1645
1536
|
* @pattern ^[^\x00]*$
|
|
1646
1537
|
* @type string | undefined
|
|
1647
|
-
|
|
1538
|
+
*/
|
|
1648
1539
|
username?: string;
|
|
1649
1540
|
/**
|
|
1650
1541
|
* @description Updated PostgreSQL password.
|
|
1651
1542
|
* @pattern ^[^\x00]*$
|
|
1652
1543
|
* @type string | undefined, password
|
|
1653
|
-
|
|
1544
|
+
*/
|
|
1654
1545
|
password?: string;
|
|
1655
1546
|
/**
|
|
1656
1547
|
* @description PostgreSQL SSL connection mode.
|
|
1657
1548
|
* @type string | undefined
|
|
1658
|
-
|
|
1549
|
+
*/
|
|
1659
1550
|
ssl_mode?: SSLMode;
|
|
1660
1551
|
/**
|
|
1661
1552
|
* @description Database role. Primary receives writes, replicas receive reads.
|
|
1662
1553
|
* @default "primary"
|
|
1663
1554
|
* @type string | undefined
|
|
1664
|
-
|
|
1555
|
+
*/
|
|
1665
1556
|
role?: DatabaseRole;
|
|
1666
1557
|
/**
|
|
1667
1558
|
* @description Region where the connection pool is maintained (near the database). When set and different from the client\'s edge region, queries are relayed through the pool region\'s data plane. Empty means direct connection.\n
|
|
1668
1559
|
* @type string | undefined
|
|
1669
|
-
|
|
1560
|
+
*/
|
|
1670
1561
|
pool_region?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* @description Query timeout in milliseconds. 0 means disabled.\n
|
|
1564
|
+
* @minLength 0
|
|
1565
|
+
* @maxLength 300000
|
|
1566
|
+
* @type integer | undefined
|
|
1567
|
+
*/
|
|
1568
|
+
query_timeout_ms?: number;
|
|
1569
|
+
/**
|
|
1570
|
+
* @description Auto-route SELECT queries to read replicas.\n
|
|
1571
|
+
* @type boolean | undefined
|
|
1572
|
+
*/
|
|
1573
|
+
auto_read_routing?: boolean;
|
|
1671
1574
|
/**
|
|
1672
1575
|
* @description Query cache configuration.
|
|
1673
1576
|
* @type object | undefined
|
|
1674
|
-
|
|
1577
|
+
*/
|
|
1675
1578
|
cache_config?: CacheConfig;
|
|
1676
1579
|
/**
|
|
1677
1580
|
* @description Connection pool configuration.
|
|
1678
1581
|
* @type object | undefined
|
|
1679
|
-
|
|
1582
|
+
*/
|
|
1680
1583
|
pool_config?: PoolConfig;
|
|
1681
1584
|
};
|
|
1682
1585
|
|
|
1683
1586
|
/**
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1587
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1588
|
+
* Do not edit manually.
|
|
1589
|
+
*/
|
|
1687
1590
|
|
|
1688
1591
|
type UpdateDatabasePathParams = {
|
|
1689
1592
|
/**
|
|
1690
1593
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1691
1594
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1692
1595
|
* @type string
|
|
1693
|
-
|
|
1596
|
+
*/
|
|
1694
1597
|
project_id: string;
|
|
1695
1598
|
/**
|
|
1696
1599
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
1697
1600
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1698
1601
|
* @type string
|
|
1699
|
-
|
|
1602
|
+
*/
|
|
1700
1603
|
database_id: string;
|
|
1701
1604
|
};
|
|
1702
1605
|
/**
|
|
1703
1606
|
* @description Database updated.
|
|
1704
|
-
|
|
1607
|
+
*/
|
|
1705
1608
|
type UpdateDatabase200 = Database;
|
|
1706
1609
|
/**
|
|
1707
1610
|
* @description Invalid request parameters.
|
|
1708
|
-
|
|
1611
|
+
*/
|
|
1709
1612
|
type UpdateDatabase400 = Error$1;
|
|
1710
1613
|
/**
|
|
1711
1614
|
* @description Missing or invalid authentication.
|
|
1712
|
-
|
|
1615
|
+
*/
|
|
1713
1616
|
type UpdateDatabase401 = Error$1;
|
|
1714
1617
|
/**
|
|
1715
1618
|
* @description Operation not allowed by current plan limits.
|
|
1716
|
-
|
|
1619
|
+
*/
|
|
1717
1620
|
type UpdateDatabase403 = Error$1;
|
|
1718
1621
|
/**
|
|
1719
1622
|
* @description Resource not found.
|
|
1720
|
-
|
|
1623
|
+
*/
|
|
1721
1624
|
type UpdateDatabase404 = Error$1;
|
|
1722
1625
|
/**
|
|
1723
1626
|
* @description Rate limited. Try again later.
|
|
1724
|
-
|
|
1627
|
+
*/
|
|
1725
1628
|
type UpdateDatabase429 = Error$1;
|
|
1726
1629
|
type UpdateDatabaseMutationRequest = UpdateDatabaseRequest;
|
|
1727
1630
|
type UpdateDatabaseMutationResponse = UpdateDatabase200;
|
|
@@ -1733,47 +1636,47 @@ type UpdateDatabaseMutation = {
|
|
|
1733
1636
|
};
|
|
1734
1637
|
|
|
1735
1638
|
/**
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1639
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1640
|
+
* Do not edit manually.
|
|
1641
|
+
*/
|
|
1739
1642
|
|
|
1740
1643
|
type DeleteDatabasePathParams = {
|
|
1741
1644
|
/**
|
|
1742
1645
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1743
1646
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1744
1647
|
* @type string
|
|
1745
|
-
|
|
1648
|
+
*/
|
|
1746
1649
|
project_id: string;
|
|
1747
1650
|
/**
|
|
1748
1651
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
1749
1652
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1750
1653
|
* @type string
|
|
1751
|
-
|
|
1654
|
+
*/
|
|
1752
1655
|
database_id: string;
|
|
1753
1656
|
};
|
|
1754
1657
|
/**
|
|
1755
1658
|
* @description Database deleted.
|
|
1756
|
-
|
|
1659
|
+
*/
|
|
1757
1660
|
type DeleteDatabase204 = any;
|
|
1758
1661
|
/**
|
|
1759
1662
|
* @description Invalid request parameters.
|
|
1760
|
-
|
|
1663
|
+
*/
|
|
1761
1664
|
type DeleteDatabase400 = Error$1;
|
|
1762
1665
|
/**
|
|
1763
1666
|
* @description Missing or invalid authentication.
|
|
1764
|
-
|
|
1667
|
+
*/
|
|
1765
1668
|
type DeleteDatabase401 = Error$1;
|
|
1766
1669
|
/**
|
|
1767
1670
|
* @description Operation not allowed by current plan limits.
|
|
1768
|
-
|
|
1671
|
+
*/
|
|
1769
1672
|
type DeleteDatabase403 = Error$1;
|
|
1770
1673
|
/**
|
|
1771
1674
|
* @description Resource not found.
|
|
1772
|
-
|
|
1675
|
+
*/
|
|
1773
1676
|
type DeleteDatabase404 = Error$1;
|
|
1774
1677
|
/**
|
|
1775
1678
|
* @description Rate limited. Try again later.
|
|
1776
|
-
|
|
1679
|
+
*/
|
|
1777
1680
|
type DeleteDatabase429 = Error$1;
|
|
1778
1681
|
type DeleteDatabaseMutationResponse = DeleteDatabase204;
|
|
1779
1682
|
type DeleteDatabaseMutation = {
|
|
@@ -1783,77 +1686,77 @@ type DeleteDatabaseMutation = {
|
|
|
1783
1686
|
};
|
|
1784
1687
|
|
|
1785
1688
|
/**
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1689
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1690
|
+
* Do not edit manually.
|
|
1691
|
+
*/
|
|
1789
1692
|
/**
|
|
1790
1693
|
* @description Result of testing connectivity to an upstream database.
|
|
1791
|
-
|
|
1694
|
+
*/
|
|
1792
1695
|
type TestConnectionResult = {
|
|
1793
1696
|
/**
|
|
1794
1697
|
* @description Whether the connection test succeeded.
|
|
1795
1698
|
* @type boolean
|
|
1796
|
-
|
|
1699
|
+
*/
|
|
1797
1700
|
ok: boolean;
|
|
1798
1701
|
/**
|
|
1799
1702
|
* @description Round-trip connection time in milliseconds.
|
|
1800
1703
|
* @type number
|
|
1801
|
-
|
|
1704
|
+
*/
|
|
1802
1705
|
latency_ms?: number | null;
|
|
1803
1706
|
/**
|
|
1804
1707
|
* @description Error message if the connection test failed.
|
|
1805
1708
|
* @type string | undefined
|
|
1806
|
-
|
|
1709
|
+
*/
|
|
1807
1710
|
error?: string;
|
|
1808
1711
|
/**
|
|
1809
1712
|
* @description PostgreSQL server version string, if available.
|
|
1810
1713
|
* @type string | undefined
|
|
1811
|
-
|
|
1714
|
+
*/
|
|
1812
1715
|
server_version?: string;
|
|
1813
1716
|
};
|
|
1814
1717
|
|
|
1815
1718
|
/**
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1719
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1720
|
+
* Do not edit manually.
|
|
1721
|
+
*/
|
|
1819
1722
|
|
|
1820
1723
|
type TestDatabaseConnectionPathParams = {
|
|
1821
1724
|
/**
|
|
1822
1725
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1823
1726
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1824
1727
|
* @type string
|
|
1825
|
-
|
|
1728
|
+
*/
|
|
1826
1729
|
project_id: string;
|
|
1827
1730
|
/**
|
|
1828
1731
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
1829
1732
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1830
1733
|
* @type string
|
|
1831
|
-
|
|
1734
|
+
*/
|
|
1832
1735
|
database_id: string;
|
|
1833
1736
|
};
|
|
1834
1737
|
/**
|
|
1835
1738
|
* @description Connection test result.
|
|
1836
|
-
|
|
1739
|
+
*/
|
|
1837
1740
|
type TestDatabaseConnection200 = TestConnectionResult;
|
|
1838
1741
|
/**
|
|
1839
1742
|
* @description Invalid request parameters.
|
|
1840
|
-
|
|
1743
|
+
*/
|
|
1841
1744
|
type TestDatabaseConnection400 = Error$1;
|
|
1842
1745
|
/**
|
|
1843
1746
|
* @description Missing or invalid authentication.
|
|
1844
|
-
|
|
1747
|
+
*/
|
|
1845
1748
|
type TestDatabaseConnection401 = Error$1;
|
|
1846
1749
|
/**
|
|
1847
1750
|
* @description Operation not allowed by current plan limits.
|
|
1848
|
-
|
|
1751
|
+
*/
|
|
1849
1752
|
type TestDatabaseConnection403 = Error$1;
|
|
1850
1753
|
/**
|
|
1851
1754
|
* @description Resource not found.
|
|
1852
|
-
|
|
1755
|
+
*/
|
|
1853
1756
|
type TestDatabaseConnection404 = Error$1;
|
|
1854
1757
|
/**
|
|
1855
1758
|
* @description Rate limited. Try again later.
|
|
1856
|
-
|
|
1759
|
+
*/
|
|
1857
1760
|
type TestDatabaseConnection429 = Error$1;
|
|
1858
1761
|
type TestDatabaseConnectionMutationResponse = TestDatabaseConnection200;
|
|
1859
1762
|
type TestDatabaseConnectionMutation = {
|
|
@@ -1863,128 +1766,128 @@ type TestDatabaseConnectionMutation = {
|
|
|
1863
1766
|
};
|
|
1864
1767
|
|
|
1865
1768
|
/**
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1769
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1770
|
+
* Do not edit manually.
|
|
1771
|
+
*/
|
|
1869
1772
|
/**
|
|
1870
1773
|
* @description Custom database hostname attached to a project.
|
|
1871
|
-
|
|
1774
|
+
*/
|
|
1872
1775
|
type CustomDomain = {
|
|
1873
1776
|
/**
|
|
1874
1777
|
* @description Unique domain identifier (prefixed).
|
|
1875
1778
|
* @type string
|
|
1876
|
-
|
|
1779
|
+
*/
|
|
1877
1780
|
id: string;
|
|
1878
1781
|
/**
|
|
1879
1782
|
* @description Owning project ID.
|
|
1880
1783
|
* @type string
|
|
1881
|
-
|
|
1784
|
+
*/
|
|
1882
1785
|
project_id: string;
|
|
1883
1786
|
/**
|
|
1884
1787
|
* @description The custom domain name.
|
|
1885
1788
|
* @type string
|
|
1886
|
-
|
|
1789
|
+
*/
|
|
1887
1790
|
domain: string;
|
|
1888
1791
|
/**
|
|
1889
1792
|
* @description Whether DNS ownership has been verified.
|
|
1890
1793
|
* @type boolean
|
|
1891
|
-
|
|
1794
|
+
*/
|
|
1892
1795
|
verified: boolean;
|
|
1893
1796
|
/**
|
|
1894
1797
|
* @description When DNS verification was completed.
|
|
1895
1798
|
* @type string, date-time
|
|
1896
|
-
|
|
1799
|
+
*/
|
|
1897
1800
|
verified_at?: string | null;
|
|
1898
1801
|
/**
|
|
1899
1802
|
* @description When the TLS certificate expires.
|
|
1900
1803
|
* @type string, date-time
|
|
1901
|
-
|
|
1804
|
+
*/
|
|
1902
1805
|
tls_cert_expiry?: string | null;
|
|
1903
1806
|
/**
|
|
1904
1807
|
* @description Token value for the DNS TXT record verification.
|
|
1905
1808
|
* @type string
|
|
1906
|
-
|
|
1809
|
+
*/
|
|
1907
1810
|
dns_verification_token: string;
|
|
1908
1811
|
/**
|
|
1909
1812
|
* @description DNS records the user needs to create.
|
|
1910
1813
|
* @type object | undefined
|
|
1911
|
-
|
|
1814
|
+
*/
|
|
1912
1815
|
dns_instructions?: {
|
|
1913
1816
|
/**
|
|
1914
1817
|
* @description The CNAME record host.
|
|
1915
1818
|
* @type string | undefined
|
|
1916
|
-
|
|
1819
|
+
*/
|
|
1917
1820
|
cname_host?: string;
|
|
1918
1821
|
/**
|
|
1919
1822
|
* @description The CNAME record target.
|
|
1920
1823
|
* @type string | undefined
|
|
1921
|
-
|
|
1824
|
+
*/
|
|
1922
1825
|
cname_target?: string;
|
|
1923
1826
|
/**
|
|
1924
1827
|
* @description The TXT record host for verification.
|
|
1925
1828
|
* @type string | undefined
|
|
1926
|
-
|
|
1829
|
+
*/
|
|
1927
1830
|
txt_host?: string;
|
|
1928
1831
|
/**
|
|
1929
1832
|
* @description The TXT record value for verification.
|
|
1930
1833
|
* @type string | undefined
|
|
1931
|
-
|
|
1834
|
+
*/
|
|
1932
1835
|
txt_value?: string;
|
|
1933
1836
|
/**
|
|
1934
1837
|
* @description The CNAME record host for ACME TLS certificate issuance.
|
|
1935
1838
|
* @type string | undefined
|
|
1936
|
-
|
|
1839
|
+
*/
|
|
1937
1840
|
acme_cname_host?: string;
|
|
1938
1841
|
/**
|
|
1939
1842
|
* @description The CNAME target for ACME challenge delegation.
|
|
1940
1843
|
* @type string | undefined
|
|
1941
|
-
|
|
1844
|
+
*/
|
|
1942
1845
|
acme_cname_target?: string;
|
|
1943
1846
|
};
|
|
1944
1847
|
/**
|
|
1945
1848
|
* @description When the custom domain was created.
|
|
1946
1849
|
* @type string, date-time
|
|
1947
|
-
|
|
1850
|
+
*/
|
|
1948
1851
|
created_at: string;
|
|
1949
1852
|
/**
|
|
1950
1853
|
* @description When the custom domain was last updated.
|
|
1951
1854
|
* @type string, date-time
|
|
1952
|
-
|
|
1855
|
+
*/
|
|
1953
1856
|
updated_at: string;
|
|
1954
1857
|
};
|
|
1955
1858
|
|
|
1956
1859
|
/**
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1860
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1861
|
+
* Do not edit manually.
|
|
1862
|
+
*/
|
|
1960
1863
|
|
|
1961
1864
|
/**
|
|
1962
1865
|
* @description Cursor-paginated list of custom domains for a project.
|
|
1963
|
-
|
|
1866
|
+
*/
|
|
1964
1867
|
type ListCustomDomainsResponse = {
|
|
1965
1868
|
/**
|
|
1966
1869
|
* @description Custom domains on the current page.
|
|
1967
1870
|
* @type array
|
|
1968
|
-
|
|
1871
|
+
*/
|
|
1969
1872
|
domains: CustomDomain[];
|
|
1970
1873
|
/**
|
|
1971
1874
|
* @description Token for the next page. Empty if no more results.
|
|
1972
1875
|
* @type string | undefined
|
|
1973
|
-
|
|
1876
|
+
*/
|
|
1974
1877
|
next_page_token?: string;
|
|
1975
1878
|
};
|
|
1976
1879
|
|
|
1977
1880
|
/**
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1881
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1882
|
+
* Do not edit manually.
|
|
1883
|
+
*/
|
|
1981
1884
|
|
|
1982
1885
|
type ListCustomDomainsPathParams = {
|
|
1983
1886
|
/**
|
|
1984
1887
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1985
1888
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1986
1889
|
* @type string
|
|
1987
|
-
|
|
1890
|
+
*/
|
|
1988
1891
|
project_id: string;
|
|
1989
1892
|
};
|
|
1990
1893
|
type ListCustomDomainsQueryParams = {
|
|
@@ -1994,38 +1897,38 @@ type ListCustomDomainsQueryParams = {
|
|
|
1994
1897
|
* @maxLength 100
|
|
1995
1898
|
* @default 20
|
|
1996
1899
|
* @type integer | undefined
|
|
1997
|
-
|
|
1900
|
+
*/
|
|
1998
1901
|
page_size?: number;
|
|
1999
1902
|
/**
|
|
2000
1903
|
* @description Opaque token for cursor-based pagination.
|
|
2001
1904
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2002
1905
|
* @type string | undefined
|
|
2003
|
-
|
|
1906
|
+
*/
|
|
2004
1907
|
page_token?: string;
|
|
2005
1908
|
};
|
|
2006
1909
|
/**
|
|
2007
1910
|
* @description List of custom domains.
|
|
2008
|
-
|
|
1911
|
+
*/
|
|
2009
1912
|
type ListCustomDomains200 = ListCustomDomainsResponse;
|
|
2010
1913
|
/**
|
|
2011
1914
|
* @description Invalid request parameters.
|
|
2012
|
-
|
|
1915
|
+
*/
|
|
2013
1916
|
type ListCustomDomains400 = Error$1;
|
|
2014
1917
|
/**
|
|
2015
1918
|
* @description Missing or invalid authentication.
|
|
2016
|
-
|
|
1919
|
+
*/
|
|
2017
1920
|
type ListCustomDomains401 = Error$1;
|
|
2018
1921
|
/**
|
|
2019
1922
|
* @description Operation not allowed by current plan limits.
|
|
2020
|
-
|
|
1923
|
+
*/
|
|
2021
1924
|
type ListCustomDomains403 = Error$1;
|
|
2022
1925
|
/**
|
|
2023
1926
|
* @description Resource not found.
|
|
2024
|
-
|
|
1927
|
+
*/
|
|
2025
1928
|
type ListCustomDomains404 = Error$1;
|
|
2026
1929
|
/**
|
|
2027
1930
|
* @description Rate limited. Try again later.
|
|
2028
|
-
|
|
1931
|
+
*/
|
|
2029
1932
|
type ListCustomDomains429 = Error$1;
|
|
2030
1933
|
type ListCustomDomainsQueryResponse = ListCustomDomains200;
|
|
2031
1934
|
type ListCustomDomainsQuery = {
|
|
@@ -2036,12 +1939,12 @@ type ListCustomDomainsQuery = {
|
|
|
2036
1939
|
};
|
|
2037
1940
|
|
|
2038
1941
|
/**
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
1942
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1943
|
+
* Do not edit manually.
|
|
1944
|
+
*/
|
|
2042
1945
|
/**
|
|
2043
1946
|
* @description Request body for attaching a custom domain to a project.
|
|
2044
|
-
|
|
1947
|
+
*/
|
|
2045
1948
|
type CreateCustomDomainRequest = {
|
|
2046
1949
|
/**
|
|
2047
1950
|
* @description The custom domain name to add (e.g., db.example.com).
|
|
@@ -2049,50 +1952,50 @@ type CreateCustomDomainRequest = {
|
|
|
2049
1952
|
* @maxLength 253
|
|
2050
1953
|
* @pattern ^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?)*$
|
|
2051
1954
|
* @type string
|
|
2052
|
-
|
|
1955
|
+
*/
|
|
2053
1956
|
domain: string;
|
|
2054
1957
|
};
|
|
2055
1958
|
|
|
2056
1959
|
/**
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
1960
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1961
|
+
* Do not edit manually.
|
|
1962
|
+
*/
|
|
2060
1963
|
|
|
2061
1964
|
type CreateCustomDomainPathParams = {
|
|
2062
1965
|
/**
|
|
2063
1966
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
2064
1967
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2065
1968
|
* @type string
|
|
2066
|
-
|
|
1969
|
+
*/
|
|
2067
1970
|
project_id: string;
|
|
2068
1971
|
};
|
|
2069
1972
|
/**
|
|
2070
1973
|
* @description Custom domain created.
|
|
2071
|
-
|
|
1974
|
+
*/
|
|
2072
1975
|
type CreateCustomDomain201 = CustomDomain;
|
|
2073
1976
|
/**
|
|
2074
1977
|
* @description Invalid request parameters.
|
|
2075
|
-
|
|
1978
|
+
*/
|
|
2076
1979
|
type CreateCustomDomain400 = Error$1;
|
|
2077
1980
|
/**
|
|
2078
1981
|
* @description Missing or invalid authentication.
|
|
2079
|
-
|
|
1982
|
+
*/
|
|
2080
1983
|
type CreateCustomDomain401 = Error$1;
|
|
2081
1984
|
/**
|
|
2082
1985
|
* @description Custom domains require a Scale or Enterprise plan.
|
|
2083
|
-
|
|
1986
|
+
*/
|
|
2084
1987
|
type CreateCustomDomain403 = Error$1;
|
|
2085
1988
|
/**
|
|
2086
1989
|
* @description Resource not found.
|
|
2087
|
-
|
|
1990
|
+
*/
|
|
2088
1991
|
type CreateCustomDomain404 = Error$1;
|
|
2089
1992
|
/**
|
|
2090
1993
|
* @description Resource already exists or conflicts with current state.
|
|
2091
|
-
|
|
1994
|
+
*/
|
|
2092
1995
|
type CreateCustomDomain409 = Error$1;
|
|
2093
1996
|
/**
|
|
2094
1997
|
* @description Rate limited. Try again later.
|
|
2095
|
-
|
|
1998
|
+
*/
|
|
2096
1999
|
type CreateCustomDomain429 = Error$1;
|
|
2097
2000
|
type CreateCustomDomainMutationRequest = CreateCustomDomainRequest;
|
|
2098
2001
|
type CreateCustomDomainMutationResponse = CreateCustomDomain201;
|
|
@@ -2104,47 +2007,47 @@ type CreateCustomDomainMutation = {
|
|
|
2104
2007
|
};
|
|
2105
2008
|
|
|
2106
2009
|
/**
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2010
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2011
|
+
* Do not edit manually.
|
|
2012
|
+
*/
|
|
2110
2013
|
|
|
2111
2014
|
type DeleteCustomDomainPathParams = {
|
|
2112
2015
|
/**
|
|
2113
2016
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
2114
2017
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2115
2018
|
* @type string
|
|
2116
|
-
|
|
2019
|
+
*/
|
|
2117
2020
|
project_id: string;
|
|
2118
2021
|
/**
|
|
2119
2022
|
* @description Unique custom domain identifier (prefixed, e.g. dom_xxx).
|
|
2120
2023
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2121
2024
|
* @type string
|
|
2122
|
-
|
|
2025
|
+
*/
|
|
2123
2026
|
domain_id: string;
|
|
2124
2027
|
};
|
|
2125
2028
|
/**
|
|
2126
2029
|
* @description Custom domain deleted.
|
|
2127
|
-
|
|
2030
|
+
*/
|
|
2128
2031
|
type DeleteCustomDomain204 = any;
|
|
2129
2032
|
/**
|
|
2130
2033
|
* @description Invalid request parameters.
|
|
2131
|
-
|
|
2034
|
+
*/
|
|
2132
2035
|
type DeleteCustomDomain400 = Error$1;
|
|
2133
2036
|
/**
|
|
2134
2037
|
* @description Missing or invalid authentication.
|
|
2135
|
-
|
|
2038
|
+
*/
|
|
2136
2039
|
type DeleteCustomDomain401 = Error$1;
|
|
2137
2040
|
/**
|
|
2138
2041
|
* @description Operation not allowed by current plan limits.
|
|
2139
|
-
|
|
2042
|
+
*/
|
|
2140
2043
|
type DeleteCustomDomain403 = Error$1;
|
|
2141
2044
|
/**
|
|
2142
2045
|
* @description Resource not found.
|
|
2143
|
-
|
|
2046
|
+
*/
|
|
2144
2047
|
type DeleteCustomDomain404 = Error$1;
|
|
2145
2048
|
/**
|
|
2146
2049
|
* @description Rate limited. Try again later.
|
|
2147
|
-
|
|
2050
|
+
*/
|
|
2148
2051
|
type DeleteCustomDomain429 = Error$1;
|
|
2149
2052
|
type DeleteCustomDomainMutationResponse = DeleteCustomDomain204;
|
|
2150
2053
|
type DeleteCustomDomainMutation = {
|
|
@@ -2154,73 +2057,73 @@ type DeleteCustomDomainMutation = {
|
|
|
2154
2057
|
};
|
|
2155
2058
|
|
|
2156
2059
|
/**
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2060
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2061
|
+
* Do not edit manually.
|
|
2062
|
+
*/
|
|
2160
2063
|
|
|
2161
2064
|
/**
|
|
2162
2065
|
* @description Result of checking DNS ownership for a custom domain.
|
|
2163
|
-
|
|
2066
|
+
*/
|
|
2164
2067
|
type VerifyCustomDomainResponse = {
|
|
2165
2068
|
/**
|
|
2166
2069
|
* @description Whether DNS verification succeeded.
|
|
2167
2070
|
* @type boolean
|
|
2168
|
-
|
|
2071
|
+
*/
|
|
2169
2072
|
verified: boolean;
|
|
2170
2073
|
/**
|
|
2171
2074
|
* @description Error message if verification failed.
|
|
2172
2075
|
* @type string | undefined
|
|
2173
|
-
|
|
2076
|
+
*/
|
|
2174
2077
|
error?: string;
|
|
2175
2078
|
/**
|
|
2176
2079
|
* @description Custom database hostname attached to a project.
|
|
2177
2080
|
* @type object | undefined
|
|
2178
|
-
|
|
2081
|
+
*/
|
|
2179
2082
|
domain?: CustomDomain;
|
|
2180
2083
|
};
|
|
2181
2084
|
|
|
2182
2085
|
/**
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2086
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2087
|
+
* Do not edit manually.
|
|
2088
|
+
*/
|
|
2186
2089
|
|
|
2187
2090
|
type VerifyCustomDomainPathParams = {
|
|
2188
2091
|
/**
|
|
2189
2092
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
2190
2093
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2191
2094
|
* @type string
|
|
2192
|
-
|
|
2095
|
+
*/
|
|
2193
2096
|
project_id: string;
|
|
2194
2097
|
/**
|
|
2195
2098
|
* @description Unique custom domain identifier (prefixed, e.g. dom_xxx).
|
|
2196
2099
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2197
2100
|
* @type string
|
|
2198
|
-
|
|
2101
|
+
*/
|
|
2199
2102
|
domain_id: string;
|
|
2200
2103
|
};
|
|
2201
2104
|
/**
|
|
2202
2105
|
* @description Verification result.
|
|
2203
|
-
|
|
2106
|
+
*/
|
|
2204
2107
|
type VerifyCustomDomain200 = VerifyCustomDomainResponse;
|
|
2205
2108
|
/**
|
|
2206
2109
|
* @description Invalid request parameters.
|
|
2207
|
-
|
|
2110
|
+
*/
|
|
2208
2111
|
type VerifyCustomDomain400 = Error$1;
|
|
2209
2112
|
/**
|
|
2210
2113
|
* @description Missing or invalid authentication.
|
|
2211
|
-
|
|
2114
|
+
*/
|
|
2212
2115
|
type VerifyCustomDomain401 = Error$1;
|
|
2213
2116
|
/**
|
|
2214
2117
|
* @description Custom domains require a Scale or Enterprise plan.
|
|
2215
|
-
|
|
2118
|
+
*/
|
|
2216
2119
|
type VerifyCustomDomain403 = Error$1;
|
|
2217
2120
|
/**
|
|
2218
2121
|
* @description Resource not found.
|
|
2219
|
-
|
|
2122
|
+
*/
|
|
2220
2123
|
type VerifyCustomDomain404 = Error$1;
|
|
2221
2124
|
/**
|
|
2222
2125
|
* @description Rate limited. Try again later.
|
|
2223
|
-
|
|
2126
|
+
*/
|
|
2224
2127
|
type VerifyCustomDomain429 = Error$1;
|
|
2225
2128
|
type VerifyCustomDomainMutationResponse = VerifyCustomDomain200;
|
|
2226
2129
|
type VerifyCustomDomainMutation = {
|
|
@@ -2230,9 +2133,9 @@ type VerifyCustomDomainMutation = {
|
|
|
2230
2133
|
};
|
|
2231
2134
|
|
|
2232
2135
|
/**
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2136
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2137
|
+
* Do not edit manually.
|
|
2138
|
+
*/
|
|
2236
2139
|
declare const healthResponseStatusEnum: {
|
|
2237
2140
|
readonly ok: "ok";
|
|
2238
2141
|
readonly degraded: "degraded";
|
|
@@ -2240,42 +2143,42 @@ declare const healthResponseStatusEnum: {
|
|
|
2240
2143
|
type HealthResponseStatusEnumKey = (typeof healthResponseStatusEnum)[keyof typeof healthResponseStatusEnum];
|
|
2241
2144
|
/**
|
|
2242
2145
|
* @description Health status and build metadata for the API service.
|
|
2243
|
-
|
|
2146
|
+
*/
|
|
2244
2147
|
type HealthResponse = {
|
|
2245
2148
|
/**
|
|
2246
2149
|
* @description Overall service health.
|
|
2247
2150
|
* @type string
|
|
2248
|
-
|
|
2151
|
+
*/
|
|
2249
2152
|
status: HealthResponseStatusEnumKey;
|
|
2250
2153
|
/**
|
|
2251
2154
|
* @description API server version.
|
|
2252
2155
|
* @type string
|
|
2253
|
-
|
|
2156
|
+
*/
|
|
2254
2157
|
version: string;
|
|
2255
2158
|
/**
|
|
2256
2159
|
* @description Resolved image SHA (digest or SHA tag).
|
|
2257
2160
|
* @type string
|
|
2258
|
-
|
|
2161
|
+
*/
|
|
2259
2162
|
image_sha: string;
|
|
2260
2163
|
/**
|
|
2261
2164
|
* @description Server time.
|
|
2262
2165
|
* @type string | undefined, date-time
|
|
2263
|
-
|
|
2166
|
+
*/
|
|
2264
2167
|
timestamp?: string;
|
|
2265
2168
|
};
|
|
2266
2169
|
|
|
2267
2170
|
/**
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2171
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2172
|
+
* Do not edit manually.
|
|
2173
|
+
*/
|
|
2271
2174
|
|
|
2272
2175
|
/**
|
|
2273
2176
|
* @description Service is healthy.
|
|
2274
|
-
|
|
2177
|
+
*/
|
|
2275
2178
|
type GetHealth200 = HealthResponse;
|
|
2276
2179
|
/**
|
|
2277
2180
|
* @description Rate limited. Try again later.
|
|
2278
|
-
|
|
2181
|
+
*/
|
|
2279
2182
|
type GetHealth429 = Error$1;
|
|
2280
2183
|
type GetHealthQueryResponse = GetHealth200;
|
|
2281
2184
|
type GetHealthQuery = {
|
|
@@ -2284,132 +2187,132 @@ type GetHealthQuery = {
|
|
|
2284
2187
|
};
|
|
2285
2188
|
|
|
2286
2189
|
/**
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2190
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2191
|
+
* Do not edit manually.
|
|
2192
|
+
*/
|
|
2290
2193
|
/**
|
|
2291
2194
|
* @description Aggregate cache performance metrics for the selected time range.
|
|
2292
|
-
|
|
2195
|
+
*/
|
|
2293
2196
|
type CacheSummary = {
|
|
2294
2197
|
/**
|
|
2295
2198
|
* @description Total number of cache hits in the selected time range.
|
|
2296
2199
|
* @type integer, int64
|
|
2297
|
-
|
|
2200
|
+
*/
|
|
2298
2201
|
total_hits: number;
|
|
2299
2202
|
/**
|
|
2300
2203
|
* @description Total number of cache misses in the selected time range.
|
|
2301
2204
|
* @type integer, int64
|
|
2302
|
-
|
|
2205
|
+
*/
|
|
2303
2206
|
total_misses: number;
|
|
2304
2207
|
/**
|
|
2305
2208
|
* @description Cache hit rate as a fraction (0.0 to 1.0).
|
|
2306
2209
|
* @type number, double
|
|
2307
|
-
|
|
2210
|
+
*/
|
|
2308
2211
|
hit_rate: number;
|
|
2309
2212
|
};
|
|
2310
2213
|
|
|
2311
2214
|
/**
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2215
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2216
|
+
* Do not edit manually.
|
|
2217
|
+
*/
|
|
2315
2218
|
/**
|
|
2316
2219
|
* @description Aggregate latency metrics for the selected time range.
|
|
2317
|
-
|
|
2220
|
+
*/
|
|
2318
2221
|
type LatencySummary = {
|
|
2319
2222
|
/**
|
|
2320
2223
|
* @description Average latency in milliseconds across all queries.
|
|
2321
2224
|
* @type number, double
|
|
2322
|
-
|
|
2225
|
+
*/
|
|
2323
2226
|
avg_ms: number;
|
|
2324
2227
|
/**
|
|
2325
2228
|
* @description P99 latency in milliseconds across all queries.
|
|
2326
2229
|
* @type number, double
|
|
2327
|
-
|
|
2230
|
+
*/
|
|
2328
2231
|
p99_ms: number;
|
|
2329
2232
|
};
|
|
2330
2233
|
|
|
2331
2234
|
/**
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2235
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2236
|
+
* Do not edit manually.
|
|
2237
|
+
*/
|
|
2335
2238
|
/**
|
|
2336
2239
|
* @description Aggregated analytics for a normalized SQL query shape.
|
|
2337
|
-
|
|
2240
|
+
*/
|
|
2338
2241
|
type QueryInsight = {
|
|
2339
2242
|
/**
|
|
2340
2243
|
* @description xxhash64 of the normalized SQL pattern (hex).
|
|
2341
2244
|
* @type string
|
|
2342
|
-
|
|
2245
|
+
*/
|
|
2343
2246
|
query_hash: string;
|
|
2344
2247
|
/**
|
|
2345
2248
|
* @description Normalized SQL pattern (truncated to 500 chars).
|
|
2346
2249
|
* @type string
|
|
2347
|
-
|
|
2250
|
+
*/
|
|
2348
2251
|
query_pattern: string;
|
|
2349
2252
|
/**
|
|
2350
2253
|
* @description Total number of executions in the time range.
|
|
2351
2254
|
* @type integer, int64
|
|
2352
|
-
|
|
2255
|
+
*/
|
|
2353
2256
|
total_count: number;
|
|
2354
2257
|
/**
|
|
2355
2258
|
* @description Total cache hits attributed to the query shape.
|
|
2356
2259
|
* @type integer, int64
|
|
2357
|
-
|
|
2260
|
+
*/
|
|
2358
2261
|
total_cache_hits: number;
|
|
2359
2262
|
/**
|
|
2360
2263
|
* @description Total cache misses attributed to the query shape.
|
|
2361
2264
|
* @type integer, int64
|
|
2362
|
-
|
|
2265
|
+
*/
|
|
2363
2266
|
total_cache_misses: number;
|
|
2364
2267
|
/**
|
|
2365
2268
|
* @description Average query latency in milliseconds.
|
|
2366
2269
|
* @type number, double
|
|
2367
|
-
|
|
2270
|
+
*/
|
|
2368
2271
|
avg_latency_ms: number;
|
|
2369
2272
|
/**
|
|
2370
2273
|
* @description P99 query latency in milliseconds.
|
|
2371
2274
|
* @type number, double
|
|
2372
|
-
|
|
2275
|
+
*/
|
|
2373
2276
|
p99_latency_ms: number;
|
|
2374
2277
|
};
|
|
2375
2278
|
|
|
2376
2279
|
/**
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2280
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2281
|
+
* Do not edit manually.
|
|
2282
|
+
*/
|
|
2380
2283
|
|
|
2381
2284
|
/**
|
|
2382
2285
|
* @description Query insights, cache performance, and latency for a project.
|
|
2383
|
-
|
|
2286
|
+
*/
|
|
2384
2287
|
type ProjectInsights = {
|
|
2385
2288
|
/**
|
|
2386
2289
|
* @description Top query shapes observed for the project.
|
|
2387
2290
|
* @type array
|
|
2388
|
-
|
|
2291
|
+
*/
|
|
2389
2292
|
queries: QueryInsight[];
|
|
2390
2293
|
/**
|
|
2391
2294
|
* @description Aggregate cache performance metrics for the selected time range.
|
|
2392
2295
|
* @type object
|
|
2393
|
-
|
|
2296
|
+
*/
|
|
2394
2297
|
cache: CacheSummary;
|
|
2395
2298
|
/**
|
|
2396
2299
|
* @description Aggregate latency metrics for the selected time range.
|
|
2397
2300
|
* @type object
|
|
2398
|
-
|
|
2301
|
+
*/
|
|
2399
2302
|
latency: LatencySummary;
|
|
2400
2303
|
};
|
|
2401
2304
|
|
|
2402
2305
|
/**
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2306
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2307
|
+
* Do not edit manually.
|
|
2308
|
+
*/
|
|
2406
2309
|
|
|
2407
2310
|
type GetProjectInsightsPathParams = {
|
|
2408
2311
|
/**
|
|
2409
2312
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
2410
2313
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2411
2314
|
* @type string
|
|
2412
|
-
|
|
2315
|
+
*/
|
|
2413
2316
|
project_id: string;
|
|
2414
2317
|
};
|
|
2415
2318
|
declare const getProjectInsightsQueryParamsRangeEnum: {
|
|
@@ -2424,7 +2327,7 @@ type GetProjectInsightsQueryParams = {
|
|
|
2424
2327
|
* @description Time range to query. Defaults to 24h.
|
|
2425
2328
|
* @default "24h"
|
|
2426
2329
|
* @type string | undefined
|
|
2427
|
-
|
|
2330
|
+
*/
|
|
2428
2331
|
range?: GetProjectInsightsQueryParamsRangeEnumKey;
|
|
2429
2332
|
/**
|
|
2430
2333
|
* @description Maximum number of top queries to return (1-100).
|
|
@@ -2432,28 +2335,28 @@ type GetProjectInsightsQueryParams = {
|
|
|
2432
2335
|
* @maxLength 100
|
|
2433
2336
|
* @default 20
|
|
2434
2337
|
* @type integer | undefined
|
|
2435
|
-
|
|
2338
|
+
*/
|
|
2436
2339
|
limit?: number;
|
|
2437
2340
|
};
|
|
2438
2341
|
/**
|
|
2439
2342
|
* @description Query insights for the project.
|
|
2440
|
-
|
|
2343
|
+
*/
|
|
2441
2344
|
type GetProjectInsights200 = ProjectInsights;
|
|
2442
2345
|
/**
|
|
2443
2346
|
* @description Invalid request parameters.
|
|
2444
|
-
|
|
2347
|
+
*/
|
|
2445
2348
|
type GetProjectInsights400 = Error$1;
|
|
2446
2349
|
/**
|
|
2447
2350
|
* @description Missing or invalid authentication.
|
|
2448
|
-
|
|
2351
|
+
*/
|
|
2449
2352
|
type GetProjectInsights401 = Error$1;
|
|
2450
2353
|
/**
|
|
2451
2354
|
* @description Resource not found.
|
|
2452
|
-
|
|
2355
|
+
*/
|
|
2453
2356
|
type GetProjectInsights404 = Error$1;
|
|
2454
2357
|
/**
|
|
2455
2358
|
* @description Rate limited. Try again later.
|
|
2456
|
-
|
|
2359
|
+
*/
|
|
2457
2360
|
type GetProjectInsights429 = Error$1;
|
|
2458
2361
|
type GetProjectInsightsQueryResponse = GetProjectInsights200;
|
|
2459
2362
|
type GetProjectInsightsQuery = {
|
|
@@ -2464,111 +2367,223 @@ type GetProjectInsightsQuery = {
|
|
|
2464
2367
|
};
|
|
2465
2368
|
|
|
2466
2369
|
/**
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2370
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2371
|
+
* Do not edit manually.
|
|
2372
|
+
*/
|
|
2373
|
+
declare const mcpRequestJsonrpcEnum: {
|
|
2374
|
+
readonly "2.0": "2.0";
|
|
2375
|
+
};
|
|
2376
|
+
type McpRequestJsonrpcEnumKey = (typeof mcpRequestJsonrpcEnum)[keyof typeof mcpRequestJsonrpcEnum];
|
|
2377
|
+
declare const mcpRequestMethodEnum: {
|
|
2378
|
+
readonly initialize: "initialize";
|
|
2379
|
+
readonly "notifications/initialized": "notifications/initialized";
|
|
2380
|
+
readonly "tools/list": "tools/list";
|
|
2381
|
+
readonly "tools/call": "tools/call";
|
|
2382
|
+
readonly ping: "ping";
|
|
2383
|
+
};
|
|
2384
|
+
type McpRequestMethodEnumKey = (typeof mcpRequestMethodEnum)[keyof typeof mcpRequestMethodEnum];
|
|
2385
|
+
/**
|
|
2386
|
+
* @description JSON-RPC 2.0 request envelope for MCP over Streamable HTTP.
|
|
2387
|
+
*/
|
|
2388
|
+
type McpRequest = {
|
|
2389
|
+
/**
|
|
2390
|
+
* @description JSON-RPC version. Must be \"2.0\".
|
|
2391
|
+
* @type string
|
|
2392
|
+
*/
|
|
2393
|
+
jsonrpc: McpRequestJsonrpcEnumKey;
|
|
2394
|
+
/**
|
|
2395
|
+
* @description Request identifier. Omit for notifications.
|
|
2396
|
+
* @type string | undefined
|
|
2397
|
+
*/
|
|
2398
|
+
id?: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* @description MCP method to invoke.
|
|
2401
|
+
* @type string
|
|
2402
|
+
*/
|
|
2403
|
+
method: McpRequestMethodEnumKey;
|
|
2404
|
+
/**
|
|
2405
|
+
* @description Method-specific parameters.
|
|
2406
|
+
* @type object | undefined
|
|
2407
|
+
*/
|
|
2408
|
+
params?: object;
|
|
2409
|
+
};
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2413
|
+
* Do not edit manually.
|
|
2414
|
+
*/
|
|
2415
|
+
declare const mcpResponseJsonrpcEnum: {
|
|
2416
|
+
readonly "2.0": "2.0";
|
|
2417
|
+
};
|
|
2418
|
+
type McpResponseJsonrpcEnumKey = (typeof mcpResponseJsonrpcEnum)[keyof typeof mcpResponseJsonrpcEnum];
|
|
2419
|
+
/**
|
|
2420
|
+
* @description JSON-RPC 2.0 response envelope for MCP over Streamable HTTP.
|
|
2421
|
+
*/
|
|
2422
|
+
type McpResponse = {
|
|
2423
|
+
/**
|
|
2424
|
+
* @description JSON-RPC version. Always \"2.0\".
|
|
2425
|
+
* @type string
|
|
2426
|
+
*/
|
|
2427
|
+
jsonrpc: McpResponseJsonrpcEnumKey;
|
|
2428
|
+
/**
|
|
2429
|
+
* @description Mirrors the request id. Null for parse errors.
|
|
2430
|
+
* @type string
|
|
2431
|
+
*/
|
|
2432
|
+
id: string | null;
|
|
2433
|
+
/**
|
|
2434
|
+
* @description Method-specific result (present on success).
|
|
2435
|
+
* @type object | undefined
|
|
2436
|
+
*/
|
|
2437
|
+
result?: object;
|
|
2438
|
+
/**
|
|
2439
|
+
* @description JSON-RPC error (present on failure).
|
|
2440
|
+
* @type object | undefined
|
|
2441
|
+
*/
|
|
2442
|
+
error?: {
|
|
2443
|
+
/**
|
|
2444
|
+
* @description JSON-RPC error code.
|
|
2445
|
+
* @type integer | undefined
|
|
2446
|
+
*/
|
|
2447
|
+
code?: number;
|
|
2448
|
+
/**
|
|
2449
|
+
* @description Human-readable error message.
|
|
2450
|
+
* @type string | undefined
|
|
2451
|
+
*/
|
|
2452
|
+
message?: string;
|
|
2453
|
+
};
|
|
2454
|
+
};
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2458
|
+
* Do not edit manually.
|
|
2459
|
+
*/
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* @description JSON-RPC 2.0 response.
|
|
2463
|
+
*/
|
|
2464
|
+
type McpTransport200 = McpResponse;
|
|
2465
|
+
/**
|
|
2466
|
+
* @description Missing or invalid authentication.
|
|
2467
|
+
*/
|
|
2468
|
+
type McpTransport401 = Error$1;
|
|
2469
|
+
/**
|
|
2470
|
+
* @description Rate limited. Try again later.
|
|
2471
|
+
*/
|
|
2472
|
+
type McpTransport429 = Error$1;
|
|
2473
|
+
type McpTransportMutationRequest = McpRequest;
|
|
2474
|
+
type McpTransportMutationResponse = McpTransport200;
|
|
2475
|
+
type McpTransportMutation = {
|
|
2476
|
+
Response: McpTransport200;
|
|
2477
|
+
Request: McpTransportMutationRequest;
|
|
2478
|
+
Errors: McpTransport401 | McpTransport429;
|
|
2479
|
+
};
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2483
|
+
* Do not edit manually.
|
|
2484
|
+
*/
|
|
2470
2485
|
/**
|
|
2471
2486
|
* @description Progress state for the dashboard onboarding checklist.
|
|
2472
|
-
|
|
2487
|
+
*/
|
|
2473
2488
|
type OnboardingProgress = {
|
|
2474
2489
|
/**
|
|
2475
2490
|
* @description Organization ID this onboarding belongs to.
|
|
2476
2491
|
* @type string
|
|
2477
|
-
|
|
2492
|
+
*/
|
|
2478
2493
|
organization_id: string;
|
|
2479
2494
|
/**
|
|
2480
2495
|
* @description Whether the organization has been created.
|
|
2481
2496
|
* @type boolean
|
|
2482
|
-
|
|
2497
|
+
*/
|
|
2483
2498
|
org_created: boolean;
|
|
2484
2499
|
/**
|
|
2485
2500
|
* @description Whether a project has been created.
|
|
2486
2501
|
* @type boolean
|
|
2487
|
-
|
|
2502
|
+
*/
|
|
2488
2503
|
project_created: boolean;
|
|
2489
2504
|
/**
|
|
2490
2505
|
* @description Whether a database has been added.
|
|
2491
2506
|
* @type boolean
|
|
2492
|
-
|
|
2507
|
+
*/
|
|
2493
2508
|
database_added: boolean;
|
|
2494
2509
|
/**
|
|
2495
2510
|
* @description Whether the database connection has been tested.
|
|
2496
2511
|
* @type boolean
|
|
2497
|
-
|
|
2512
|
+
*/
|
|
2498
2513
|
connection_tested: boolean;
|
|
2499
2514
|
/**
|
|
2500
2515
|
* @description Whether the connection string has been copied.
|
|
2501
2516
|
* @type boolean
|
|
2502
|
-
|
|
2517
|
+
*/
|
|
2503
2518
|
connection_string_copied: boolean;
|
|
2504
2519
|
/**
|
|
2505
2520
|
* @description Whether the first query has been run through PgBeam.
|
|
2506
2521
|
* @type boolean
|
|
2507
|
-
|
|
2522
|
+
*/
|
|
2508
2523
|
first_query_run: boolean;
|
|
2509
2524
|
/**
|
|
2510
2525
|
* @description Whether the user has dismissed the onboarding checklist.
|
|
2511
2526
|
* @type boolean
|
|
2512
|
-
|
|
2527
|
+
*/
|
|
2513
2528
|
dismissed: boolean;
|
|
2514
2529
|
/**
|
|
2515
2530
|
* @description Whether all onboarding steps are complete.
|
|
2516
2531
|
* @type boolean
|
|
2517
|
-
|
|
2532
|
+
*/
|
|
2518
2533
|
completed: boolean;
|
|
2519
2534
|
/**
|
|
2520
2535
|
* @description Number of completed onboarding steps.
|
|
2521
2536
|
* @type integer
|
|
2522
|
-
|
|
2537
|
+
*/
|
|
2523
2538
|
steps_completed: number;
|
|
2524
2539
|
/**
|
|
2525
2540
|
* @description Total number of onboarding steps.
|
|
2526
2541
|
* @type integer
|
|
2527
|
-
|
|
2542
|
+
*/
|
|
2528
2543
|
steps_total: number;
|
|
2529
2544
|
/**
|
|
2530
2545
|
* @description When onboarding was completed. Null if not yet completed.
|
|
2531
2546
|
* @type string, date-time
|
|
2532
|
-
|
|
2547
|
+
*/
|
|
2533
2548
|
completed_at?: string | null;
|
|
2534
2549
|
};
|
|
2535
2550
|
|
|
2536
2551
|
/**
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2552
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2553
|
+
* Do not edit manually.
|
|
2554
|
+
*/
|
|
2540
2555
|
|
|
2541
2556
|
type GetOnboardingProgressPathParams = {
|
|
2542
2557
|
/**
|
|
2543
2558
|
* @description Unique organization identifier.
|
|
2544
2559
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2545
2560
|
* @type string
|
|
2546
|
-
|
|
2561
|
+
*/
|
|
2547
2562
|
org_id: string;
|
|
2548
2563
|
};
|
|
2549
2564
|
/**
|
|
2550
2565
|
* @description Onboarding progress.
|
|
2551
|
-
|
|
2566
|
+
*/
|
|
2552
2567
|
type GetOnboardingProgress200 = OnboardingProgress;
|
|
2553
2568
|
/**
|
|
2554
2569
|
* @description Invalid request parameters.
|
|
2555
|
-
|
|
2570
|
+
*/
|
|
2556
2571
|
type GetOnboardingProgress400 = Error$1;
|
|
2557
2572
|
/**
|
|
2558
2573
|
* @description Missing or invalid authentication.
|
|
2559
|
-
|
|
2574
|
+
*/
|
|
2560
2575
|
type GetOnboardingProgress401 = Error$1;
|
|
2561
2576
|
/**
|
|
2562
2577
|
* @description Operation not allowed by current plan limits.
|
|
2563
|
-
|
|
2578
|
+
*/
|
|
2564
2579
|
type GetOnboardingProgress403 = Error$1;
|
|
2565
2580
|
/**
|
|
2566
2581
|
* @description Resource not found.
|
|
2567
|
-
|
|
2582
|
+
*/
|
|
2568
2583
|
type GetOnboardingProgress404 = Error$1;
|
|
2569
2584
|
/**
|
|
2570
2585
|
* @description Rate limited. Try again later.
|
|
2571
|
-
|
|
2586
|
+
*/
|
|
2572
2587
|
type GetOnboardingProgress429 = Error$1;
|
|
2573
2588
|
type GetOnboardingProgressQueryResponse = GetOnboardingProgress200;
|
|
2574
2589
|
type GetOnboardingProgressQuery = {
|
|
@@ -2578,9 +2593,9 @@ type GetOnboardingProgressQuery = {
|
|
|
2578
2593
|
};
|
|
2579
2594
|
|
|
2580
2595
|
/**
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2596
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2597
|
+
* Do not edit manually.
|
|
2598
|
+
*/
|
|
2584
2599
|
declare const updateOnboardingRequestStepEnum: {
|
|
2585
2600
|
readonly project_created: "project_created";
|
|
2586
2601
|
readonly database_added: "database_added";
|
|
@@ -2591,56 +2606,56 @@ declare const updateOnboardingRequestStepEnum: {
|
|
|
2591
2606
|
type UpdateOnboardingRequestStepEnumKey = (typeof updateOnboardingRequestStepEnum)[keyof typeof updateOnboardingRequestStepEnum];
|
|
2592
2607
|
/**
|
|
2593
2608
|
* @description Request body for advancing or dismissing onboarding.
|
|
2594
|
-
|
|
2609
|
+
*/
|
|
2595
2610
|
type UpdateOnboardingRequest = {
|
|
2596
2611
|
/**
|
|
2597
2612
|
* @description The onboarding step to mark as complete.
|
|
2598
2613
|
* @type string | undefined
|
|
2599
|
-
|
|
2614
|
+
*/
|
|
2600
2615
|
step?: UpdateOnboardingRequestStepEnumKey;
|
|
2601
2616
|
/**
|
|
2602
2617
|
* @description Set to true to dismiss the onboarding checklist.
|
|
2603
2618
|
* @type boolean | undefined
|
|
2604
|
-
|
|
2619
|
+
*/
|
|
2605
2620
|
dismiss?: boolean;
|
|
2606
2621
|
};
|
|
2607
2622
|
|
|
2608
2623
|
/**
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2624
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2625
|
+
* Do not edit manually.
|
|
2626
|
+
*/
|
|
2612
2627
|
|
|
2613
2628
|
type UpdateOnboardingProgressPathParams = {
|
|
2614
2629
|
/**
|
|
2615
2630
|
* @description Unique organization identifier.
|
|
2616
2631
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2617
2632
|
* @type string
|
|
2618
|
-
|
|
2633
|
+
*/
|
|
2619
2634
|
org_id: string;
|
|
2620
2635
|
};
|
|
2621
2636
|
/**
|
|
2622
2637
|
* @description Updated onboarding progress.
|
|
2623
|
-
|
|
2638
|
+
*/
|
|
2624
2639
|
type UpdateOnboardingProgress200 = OnboardingProgress;
|
|
2625
2640
|
/**
|
|
2626
2641
|
* @description Invalid request parameters.
|
|
2627
|
-
|
|
2642
|
+
*/
|
|
2628
2643
|
type UpdateOnboardingProgress400 = Error$1;
|
|
2629
2644
|
/**
|
|
2630
2645
|
* @description Missing or invalid authentication.
|
|
2631
|
-
|
|
2646
|
+
*/
|
|
2632
2647
|
type UpdateOnboardingProgress401 = Error$1;
|
|
2633
2648
|
/**
|
|
2634
2649
|
* @description Operation not allowed by current plan limits.
|
|
2635
|
-
|
|
2650
|
+
*/
|
|
2636
2651
|
type UpdateOnboardingProgress403 = Error$1;
|
|
2637
2652
|
/**
|
|
2638
2653
|
* @description Resource not found.
|
|
2639
|
-
|
|
2654
|
+
*/
|
|
2640
2655
|
type UpdateOnboardingProgress404 = Error$1;
|
|
2641
2656
|
/**
|
|
2642
2657
|
* @description Rate limited. Try again later.
|
|
2643
|
-
|
|
2658
|
+
*/
|
|
2644
2659
|
type UpdateOnboardingProgress429 = Error$1;
|
|
2645
2660
|
type UpdateOnboardingProgressMutationRequest = UpdateOnboardingRequest;
|
|
2646
2661
|
type UpdateOnboardingProgressMutationResponse = UpdateOnboardingProgress200;
|
|
@@ -2652,9 +2667,9 @@ type UpdateOnboardingProgressMutation = {
|
|
|
2652
2667
|
};
|
|
2653
2668
|
|
|
2654
2669
|
/**
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2670
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2671
|
+
* Do not edit manually.
|
|
2672
|
+
*/
|
|
2658
2673
|
declare const projectStatusEnum: {
|
|
2659
2674
|
readonly active: "active";
|
|
2660
2675
|
readonly suspended: "suspended";
|
|
@@ -2663,13 +2678,13 @@ declare const projectStatusEnum: {
|
|
|
2663
2678
|
type ProjectStatusEnumKey = (typeof projectStatusEnum)[keyof typeof projectStatusEnum];
|
|
2664
2679
|
/**
|
|
2665
2680
|
* @description Project lifecycle status.
|
|
2666
|
-
|
|
2681
|
+
*/
|
|
2667
2682
|
type ProjectStatus = ProjectStatusEnumKey;
|
|
2668
2683
|
|
|
2669
2684
|
/**
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2685
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2686
|
+
* Do not edit manually.
|
|
2687
|
+
*/
|
|
2673
2688
|
|
|
2674
2689
|
declare const projectCloudEnum: {
|
|
2675
2690
|
readonly aws: "aws";
|
|
@@ -2679,124 +2694,129 @@ declare const projectCloudEnum: {
|
|
|
2679
2694
|
type ProjectCloudEnumKey = (typeof projectCloudEnum)[keyof typeof projectCloudEnum];
|
|
2680
2695
|
/**
|
|
2681
2696
|
* @description Project configuration and current control-plane state.
|
|
2682
|
-
|
|
2697
|
+
*/
|
|
2683
2698
|
type Project = {
|
|
2684
2699
|
/**
|
|
2685
2700
|
* @description Unique project identifier (prefixed).
|
|
2686
2701
|
* @type string
|
|
2687
|
-
|
|
2702
|
+
*/
|
|
2688
2703
|
id: string;
|
|
2689
2704
|
/**
|
|
2690
2705
|
* @description Better Auth organization ID that owns this project.
|
|
2691
2706
|
* @type string
|
|
2692
|
-
|
|
2707
|
+
*/
|
|
2693
2708
|
org_id: string;
|
|
2694
2709
|
/**
|
|
2695
2710
|
* @description Human-readable project name.
|
|
2696
2711
|
* @minLength 1
|
|
2697
2712
|
* @maxLength 100
|
|
2698
2713
|
* @type string
|
|
2699
|
-
|
|
2714
|
+
*/
|
|
2700
2715
|
name: string;
|
|
2701
2716
|
/**
|
|
2702
2717
|
* @description Optional project description.
|
|
2703
2718
|
* @maxLength 500
|
|
2704
2719
|
* @type string | undefined
|
|
2705
|
-
|
|
2720
|
+
*/
|
|
2706
2721
|
description?: string;
|
|
2707
2722
|
/**
|
|
2708
2723
|
* @description User-defined labels applied to the project.
|
|
2709
2724
|
* @type array | undefined
|
|
2710
|
-
|
|
2725
|
+
*/
|
|
2711
2726
|
tags?: string[];
|
|
2712
2727
|
/**
|
|
2713
2728
|
* @description Cloud provider where the project runs.
|
|
2714
2729
|
* @type string | undefined
|
|
2715
|
-
|
|
2730
|
+
*/
|
|
2716
2731
|
readonly cloud?: ProjectCloudEnumKey;
|
|
2717
2732
|
/**
|
|
2718
2733
|
* @description Proxy hostname for connecting through PgBeam (e.g., myproject.aws.pgbeam.app).
|
|
2719
2734
|
* @type string | undefined
|
|
2720
|
-
|
|
2735
|
+
*/
|
|
2721
2736
|
readonly proxy_host?: string;
|
|
2722
2737
|
/**
|
|
2723
2738
|
* @description Maximum queries per second for this project. 0 means unlimited.
|
|
2724
2739
|
* @minLength 0
|
|
2725
2740
|
* @maxLength 2147483647
|
|
2726
2741
|
* @type integer | undefined, int32
|
|
2727
|
-
|
|
2742
|
+
*/
|
|
2728
2743
|
queries_per_second?: number;
|
|
2729
2744
|
/**
|
|
2730
2745
|
* @description Burst allowance above the steady-state rate. 0 uses queries_per_second as burst.
|
|
2731
2746
|
* @minLength 0
|
|
2732
2747
|
* @maxLength 2147483647
|
|
2733
2748
|
* @type integer | undefined, int32
|
|
2734
|
-
|
|
2749
|
+
*/
|
|
2735
2750
|
burst_size?: number;
|
|
2736
2751
|
/**
|
|
2737
2752
|
* @description Maximum concurrent proxy connections. 0 means unlimited.
|
|
2738
2753
|
* @minLength 0
|
|
2739
2754
|
* @maxLength 2147483647
|
|
2740
2755
|
* @type integer | undefined, int32
|
|
2741
|
-
|
|
2756
|
+
*/
|
|
2742
2757
|
max_connections?: number;
|
|
2758
|
+
/**
|
|
2759
|
+
* @description IP allowlist as CIDR ranges (e.g., [\"10.0.0.0/8\", \"203.0.113.5/32\"]). When non-empty, only connections from matching IPs are accepted. Empty array means all IPs are allowed (default).\n
|
|
2760
|
+
* @type array | undefined
|
|
2761
|
+
*/
|
|
2762
|
+
allowed_cidrs?: string[];
|
|
2743
2763
|
/**
|
|
2744
2764
|
* @description Number of databases attached to this project.
|
|
2745
2765
|
* @type integer | undefined
|
|
2746
|
-
|
|
2766
|
+
*/
|
|
2747
2767
|
readonly database_count?: number;
|
|
2748
2768
|
/**
|
|
2749
2769
|
* @description Current active connections (latest metrics snapshot). 0 when no metrics data.
|
|
2750
2770
|
* @type integer | undefined
|
|
2751
|
-
|
|
2771
|
+
*/
|
|
2752
2772
|
readonly active_connections?: number;
|
|
2753
2773
|
/**
|
|
2754
2774
|
* @description Project lifecycle status.
|
|
2755
2775
|
* @type string
|
|
2756
|
-
|
|
2776
|
+
*/
|
|
2757
2777
|
status: ProjectStatus;
|
|
2758
2778
|
/**
|
|
2759
2779
|
* @description When the project was created.
|
|
2760
2780
|
* @type string, date-time
|
|
2761
|
-
|
|
2781
|
+
*/
|
|
2762
2782
|
created_at: string;
|
|
2763
2783
|
/**
|
|
2764
2784
|
* @description When the project was last updated.
|
|
2765
2785
|
* @type string, date-time
|
|
2766
|
-
|
|
2786
|
+
*/
|
|
2767
2787
|
updated_at: string;
|
|
2768
2788
|
};
|
|
2769
2789
|
|
|
2770
2790
|
/**
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2791
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2792
|
+
* Do not edit manually.
|
|
2793
|
+
*/
|
|
2774
2794
|
|
|
2775
2795
|
/**
|
|
2776
2796
|
* @description Cursor-paginated list of projects for an organization.
|
|
2777
|
-
|
|
2797
|
+
*/
|
|
2778
2798
|
type ListProjectsResponse = {
|
|
2779
2799
|
/**
|
|
2780
2800
|
* @description Projects on the current page.
|
|
2781
2801
|
* @type array
|
|
2782
|
-
|
|
2802
|
+
*/
|
|
2783
2803
|
projects: Project[];
|
|
2784
2804
|
/**
|
|
2785
2805
|
* @description Total number of projects (across all pages).
|
|
2786
2806
|
* @type integer
|
|
2787
|
-
|
|
2807
|
+
*/
|
|
2788
2808
|
total: number;
|
|
2789
2809
|
/**
|
|
2790
2810
|
* @description Token for the next page. Empty if no more results.
|
|
2791
2811
|
* @type string | undefined
|
|
2792
|
-
|
|
2812
|
+
*/
|
|
2793
2813
|
next_page_token?: string;
|
|
2794
2814
|
};
|
|
2795
2815
|
|
|
2796
2816
|
/**
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2817
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2818
|
+
* Do not edit manually.
|
|
2819
|
+
*/
|
|
2800
2820
|
|
|
2801
2821
|
declare const listProjectsQueryParamsSortByEnum: {
|
|
2802
2822
|
readonly name: "name";
|
|
@@ -2809,7 +2829,7 @@ type ListProjectsQueryParams = {
|
|
|
2809
2829
|
* @description Organization ID to filter projects.
|
|
2810
2830
|
* @pattern ^[\x20-\x7E]+$
|
|
2811
2831
|
* @type string
|
|
2812
|
-
|
|
2832
|
+
*/
|
|
2813
2833
|
org_id: string;
|
|
2814
2834
|
/**
|
|
2815
2835
|
* @description Maximum number of items to return (1-100, default 20).
|
|
@@ -2817,40 +2837,40 @@ type ListProjectsQueryParams = {
|
|
|
2817
2837
|
* @maxLength 100
|
|
2818
2838
|
* @default 20
|
|
2819
2839
|
* @type integer | undefined
|
|
2820
|
-
|
|
2840
|
+
*/
|
|
2821
2841
|
page_size?: number;
|
|
2822
2842
|
/**
|
|
2823
2843
|
* @description Opaque token for cursor-based pagination.
|
|
2824
2844
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2825
2845
|
* @type string | undefined
|
|
2826
|
-
|
|
2846
|
+
*/
|
|
2827
2847
|
page_token?: string;
|
|
2828
2848
|
/**
|
|
2829
2849
|
* @description Sort field for projects list.
|
|
2830
2850
|
* @default "created_at"
|
|
2831
2851
|
* @type string | undefined
|
|
2832
|
-
|
|
2852
|
+
*/
|
|
2833
2853
|
sort_by?: ListProjectsQueryParamsSortByEnumKey;
|
|
2834
2854
|
};
|
|
2835
2855
|
/**
|
|
2836
2856
|
* @description List of projects.
|
|
2837
|
-
|
|
2857
|
+
*/
|
|
2838
2858
|
type ListProjects200 = ListProjectsResponse;
|
|
2839
2859
|
/**
|
|
2840
2860
|
* @description Invalid request parameters.
|
|
2841
|
-
|
|
2861
|
+
*/
|
|
2842
2862
|
type ListProjects400 = Error$1;
|
|
2843
2863
|
/**
|
|
2844
2864
|
* @description Missing or invalid authentication.
|
|
2845
|
-
|
|
2865
|
+
*/
|
|
2846
2866
|
type ListProjects401 = Error$1;
|
|
2847
2867
|
/**
|
|
2848
2868
|
* @description Operation not allowed by current plan limits.
|
|
2849
|
-
|
|
2869
|
+
*/
|
|
2850
2870
|
type ListProjects403 = Error$1;
|
|
2851
2871
|
/**
|
|
2852
2872
|
* @description Rate limited. Try again later.
|
|
2853
|
-
|
|
2873
|
+
*/
|
|
2854
2874
|
type ListProjects429 = Error$1;
|
|
2855
2875
|
type ListProjectsQueryResponse = ListProjects200;
|
|
2856
2876
|
type ListProjectsQuery = {
|
|
@@ -2860,9 +2880,9 @@ type ListProjectsQuery = {
|
|
|
2860
2880
|
};
|
|
2861
2881
|
|
|
2862
2882
|
/**
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2883
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2884
|
+
* Do not edit manually.
|
|
2885
|
+
*/
|
|
2866
2886
|
|
|
2867
2887
|
declare const createProjectRequestCloudEnum: {
|
|
2868
2888
|
readonly aws: "aws";
|
|
@@ -2872,7 +2892,7 @@ declare const createProjectRequestCloudEnum: {
|
|
|
2872
2892
|
type CreateProjectRequestCloudEnumKey = (typeof createProjectRequestCloudEnum)[keyof typeof createProjectRequestCloudEnum];
|
|
2873
2893
|
/**
|
|
2874
2894
|
* @description Request body for creating a project and its primary database.
|
|
2875
|
-
|
|
2895
|
+
*/
|
|
2876
2896
|
type CreateProjectRequest = {
|
|
2877
2897
|
/**
|
|
2878
2898
|
* @description Human-readable project name.
|
|
@@ -2880,88 +2900,88 @@ type CreateProjectRequest = {
|
|
|
2880
2900
|
* @maxLength 100
|
|
2881
2901
|
* @pattern ^[^\x00]*$
|
|
2882
2902
|
* @type string
|
|
2883
|
-
|
|
2903
|
+
*/
|
|
2884
2904
|
name: string;
|
|
2885
2905
|
/**
|
|
2886
2906
|
* @description Better Auth organization ID.
|
|
2887
2907
|
* @minLength 1
|
|
2888
2908
|
* @pattern ^[^\x00]+$
|
|
2889
2909
|
* @type string
|
|
2890
|
-
|
|
2910
|
+
*/
|
|
2891
2911
|
org_id: string;
|
|
2892
2912
|
/**
|
|
2893
2913
|
* @description Optional project description.
|
|
2894
2914
|
* @maxLength 500
|
|
2895
2915
|
* @type string | undefined
|
|
2896
|
-
|
|
2916
|
+
*/
|
|
2897
2917
|
description?: string;
|
|
2898
2918
|
/**
|
|
2899
2919
|
* @description User-defined labels to attach to the project.
|
|
2900
2920
|
* @type array | undefined
|
|
2901
|
-
|
|
2921
|
+
*/
|
|
2902
2922
|
tags?: string[];
|
|
2903
2923
|
/**
|
|
2904
2924
|
* @description Cloud provider for the project.
|
|
2905
2925
|
* @default "aws"
|
|
2906
2926
|
* @type string | undefined
|
|
2907
|
-
|
|
2927
|
+
*/
|
|
2908
2928
|
cloud?: CreateProjectRequestCloudEnumKey;
|
|
2909
2929
|
/**
|
|
2910
2930
|
* @description Request body for registering an upstream database.
|
|
2911
2931
|
* @type object
|
|
2912
|
-
|
|
2932
|
+
*/
|
|
2913
2933
|
database: CreateDatabaseRequest;
|
|
2914
2934
|
};
|
|
2915
2935
|
|
|
2916
2936
|
/**
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2937
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2938
|
+
* Do not edit manually.
|
|
2939
|
+
*/
|
|
2920
2940
|
|
|
2921
2941
|
/**
|
|
2922
2942
|
* @description Response returned after creating a project and its primary database.
|
|
2923
|
-
|
|
2943
|
+
*/
|
|
2924
2944
|
type CreateProjectResponse = {
|
|
2925
2945
|
/**
|
|
2926
2946
|
* @description Project configuration and current control-plane state.
|
|
2927
2947
|
* @type object
|
|
2928
|
-
|
|
2948
|
+
*/
|
|
2929
2949
|
project: Project;
|
|
2930
2950
|
/**
|
|
2931
2951
|
* @description Registered upstream PostgreSQL database for a project.
|
|
2932
2952
|
* @type object | undefined
|
|
2933
|
-
|
|
2953
|
+
*/
|
|
2934
2954
|
database?: Database;
|
|
2935
2955
|
};
|
|
2936
2956
|
|
|
2937
2957
|
/**
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2958
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2959
|
+
* Do not edit manually.
|
|
2960
|
+
*/
|
|
2941
2961
|
|
|
2942
2962
|
/**
|
|
2943
2963
|
* @description Project created.
|
|
2944
|
-
|
|
2964
|
+
*/
|
|
2945
2965
|
type CreateProject201 = CreateProjectResponse;
|
|
2946
2966
|
/**
|
|
2947
2967
|
* @description Invalid request parameters.
|
|
2948
|
-
|
|
2968
|
+
*/
|
|
2949
2969
|
type CreateProject400 = Error$1;
|
|
2950
2970
|
/**
|
|
2951
2971
|
* @description Missing or invalid authentication.
|
|
2952
|
-
|
|
2972
|
+
*/
|
|
2953
2973
|
type CreateProject401 = Error$1;
|
|
2954
2974
|
/**
|
|
2955
2975
|
* @description Operation not allowed by current plan limits.
|
|
2956
|
-
|
|
2976
|
+
*/
|
|
2957
2977
|
type CreateProject403 = Error$1;
|
|
2958
2978
|
/**
|
|
2959
2979
|
* @description Resource already exists or conflicts with current state.
|
|
2960
|
-
|
|
2980
|
+
*/
|
|
2961
2981
|
type CreateProject409 = Error$1;
|
|
2962
2982
|
/**
|
|
2963
2983
|
* @description Rate limited. Try again later.
|
|
2964
|
-
|
|
2984
|
+
*/
|
|
2965
2985
|
type CreateProject429 = Error$1;
|
|
2966
2986
|
type CreateProjectMutationRequest = CreateProjectRequest;
|
|
2967
2987
|
type CreateProjectMutationResponse = CreateProject201;
|
|
@@ -2972,41 +2992,41 @@ type CreateProjectMutation = {
|
|
|
2972
2992
|
};
|
|
2973
2993
|
|
|
2974
2994
|
/**
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2995
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2996
|
+
* Do not edit manually.
|
|
2997
|
+
*/
|
|
2978
2998
|
|
|
2979
2999
|
type GetProjectPathParams = {
|
|
2980
3000
|
/**
|
|
2981
3001
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
2982
3002
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
2983
3003
|
* @type string
|
|
2984
|
-
|
|
3004
|
+
*/
|
|
2985
3005
|
project_id: string;
|
|
2986
3006
|
};
|
|
2987
3007
|
/**
|
|
2988
3008
|
* @description Project found.
|
|
2989
|
-
|
|
3009
|
+
*/
|
|
2990
3010
|
type GetProject200 = Project;
|
|
2991
3011
|
/**
|
|
2992
3012
|
* @description Invalid request parameters.
|
|
2993
|
-
|
|
3013
|
+
*/
|
|
2994
3014
|
type GetProject400 = Error$1;
|
|
2995
3015
|
/**
|
|
2996
3016
|
* @description Missing or invalid authentication.
|
|
2997
|
-
|
|
3017
|
+
*/
|
|
2998
3018
|
type GetProject401 = Error$1;
|
|
2999
3019
|
/**
|
|
3000
3020
|
* @description Operation not allowed by current plan limits.
|
|
3001
|
-
|
|
3021
|
+
*/
|
|
3002
3022
|
type GetProject403 = Error$1;
|
|
3003
3023
|
/**
|
|
3004
3024
|
* @description Resource not found.
|
|
3005
|
-
|
|
3025
|
+
*/
|
|
3006
3026
|
type GetProject404 = Error$1;
|
|
3007
3027
|
/**
|
|
3008
3028
|
* @description Rate limited. Try again later.
|
|
3009
|
-
|
|
3029
|
+
*/
|
|
3010
3030
|
type GetProject429 = Error$1;
|
|
3011
3031
|
type GetProjectQueryResponse = GetProject200;
|
|
3012
3032
|
type GetProjectQuery = {
|
|
@@ -3016,13 +3036,13 @@ type GetProjectQuery = {
|
|
|
3016
3036
|
};
|
|
3017
3037
|
|
|
3018
3038
|
/**
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3039
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3040
|
+
* Do not edit manually.
|
|
3041
|
+
*/
|
|
3022
3042
|
|
|
3023
3043
|
/**
|
|
3024
3044
|
* @description Request body for partially updating a project.
|
|
3025
|
-
|
|
3045
|
+
*/
|
|
3026
3046
|
type UpdateProjectRequest = {
|
|
3027
3047
|
/**
|
|
3028
3048
|
* @description Updated project name.
|
|
@@ -3030,83 +3050,88 @@ type UpdateProjectRequest = {
|
|
|
3030
3050
|
* @maxLength 100
|
|
3031
3051
|
* @pattern ^[^\x00]*$
|
|
3032
3052
|
* @type string | undefined
|
|
3033
|
-
|
|
3053
|
+
*/
|
|
3034
3054
|
name?: string;
|
|
3035
3055
|
/**
|
|
3036
3056
|
* @description Updated project description.
|
|
3037
3057
|
* @maxLength 500
|
|
3038
3058
|
* @type string | undefined
|
|
3039
|
-
|
|
3059
|
+
*/
|
|
3040
3060
|
description?: string;
|
|
3041
3061
|
/**
|
|
3042
3062
|
* @description Replacement set of user-defined project labels.
|
|
3043
3063
|
* @type array | undefined
|
|
3044
|
-
|
|
3064
|
+
*/
|
|
3045
3065
|
tags?: string[];
|
|
3046
3066
|
/**
|
|
3047
3067
|
* @description Project lifecycle status.
|
|
3048
3068
|
* @type string | undefined
|
|
3049
|
-
|
|
3069
|
+
*/
|
|
3050
3070
|
status?: ProjectStatus;
|
|
3051
3071
|
/**
|
|
3052
3072
|
* @description Maximum queries per second. 0 means unlimited.
|
|
3053
3073
|
* @minLength 0
|
|
3054
3074
|
* @maxLength 2147483647
|
|
3055
3075
|
* @type integer | undefined, int32
|
|
3056
|
-
|
|
3076
|
+
*/
|
|
3057
3077
|
queries_per_second?: number;
|
|
3058
3078
|
/**
|
|
3059
3079
|
* @description Burst allowance above steady-state rate.
|
|
3060
3080
|
* @minLength 0
|
|
3061
3081
|
* @maxLength 2147483647
|
|
3062
3082
|
* @type integer | undefined, int32
|
|
3063
|
-
|
|
3083
|
+
*/
|
|
3064
3084
|
burst_size?: number;
|
|
3065
3085
|
/**
|
|
3066
3086
|
* @description Maximum concurrent proxy connections. 0 means unlimited.
|
|
3067
3087
|
* @minLength 0
|
|
3068
3088
|
* @maxLength 2147483647
|
|
3069
3089
|
* @type integer | undefined, int32
|
|
3070
|
-
|
|
3090
|
+
*/
|
|
3071
3091
|
max_connections?: number;
|
|
3092
|
+
/**
|
|
3093
|
+
* @description IP allowlist as CIDR ranges. Empty array means allow all.\n
|
|
3094
|
+
* @type array | undefined
|
|
3095
|
+
*/
|
|
3096
|
+
allowed_cidrs?: string[];
|
|
3072
3097
|
};
|
|
3073
3098
|
|
|
3074
3099
|
/**
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3100
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3101
|
+
* Do not edit manually.
|
|
3102
|
+
*/
|
|
3078
3103
|
|
|
3079
3104
|
type UpdateProjectPathParams = {
|
|
3080
3105
|
/**
|
|
3081
3106
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
3082
3107
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3083
3108
|
* @type string
|
|
3084
|
-
|
|
3109
|
+
*/
|
|
3085
3110
|
project_id: string;
|
|
3086
3111
|
};
|
|
3087
3112
|
/**
|
|
3088
3113
|
* @description Project updated.
|
|
3089
|
-
|
|
3114
|
+
*/
|
|
3090
3115
|
type UpdateProject200 = Project;
|
|
3091
3116
|
/**
|
|
3092
3117
|
* @description Invalid request parameters.
|
|
3093
|
-
|
|
3118
|
+
*/
|
|
3094
3119
|
type UpdateProject400 = Error$1;
|
|
3095
3120
|
/**
|
|
3096
3121
|
* @description Missing or invalid authentication.
|
|
3097
|
-
|
|
3122
|
+
*/
|
|
3098
3123
|
type UpdateProject401 = Error$1;
|
|
3099
3124
|
/**
|
|
3100
3125
|
* @description Operation not allowed by current plan limits.
|
|
3101
|
-
|
|
3126
|
+
*/
|
|
3102
3127
|
type UpdateProject403 = Error$1;
|
|
3103
3128
|
/**
|
|
3104
3129
|
* @description Resource not found.
|
|
3105
|
-
|
|
3130
|
+
*/
|
|
3106
3131
|
type UpdateProject404 = Error$1;
|
|
3107
3132
|
/**
|
|
3108
3133
|
* @description Rate limited. Try again later.
|
|
3109
|
-
|
|
3134
|
+
*/
|
|
3110
3135
|
type UpdateProject429 = Error$1;
|
|
3111
3136
|
type UpdateProjectMutationRequest = UpdateProjectRequest;
|
|
3112
3137
|
type UpdateProjectMutationResponse = UpdateProject200;
|
|
@@ -3118,41 +3143,41 @@ type UpdateProjectMutation = {
|
|
|
3118
3143
|
};
|
|
3119
3144
|
|
|
3120
3145
|
/**
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3146
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3147
|
+
* Do not edit manually.
|
|
3148
|
+
*/
|
|
3124
3149
|
|
|
3125
3150
|
type DeleteProjectPathParams = {
|
|
3126
3151
|
/**
|
|
3127
3152
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
3128
3153
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3129
3154
|
* @type string
|
|
3130
|
-
|
|
3155
|
+
*/
|
|
3131
3156
|
project_id: string;
|
|
3132
3157
|
};
|
|
3133
3158
|
/**
|
|
3134
3159
|
* @description Project deleted.
|
|
3135
|
-
|
|
3160
|
+
*/
|
|
3136
3161
|
type DeleteProject204 = any;
|
|
3137
3162
|
/**
|
|
3138
3163
|
* @description Invalid request parameters.
|
|
3139
|
-
|
|
3164
|
+
*/
|
|
3140
3165
|
type DeleteProject400 = Error$1;
|
|
3141
3166
|
/**
|
|
3142
3167
|
* @description Missing or invalid authentication.
|
|
3143
|
-
|
|
3168
|
+
*/
|
|
3144
3169
|
type DeleteProject401 = Error$1;
|
|
3145
3170
|
/**
|
|
3146
3171
|
* @description Operation not allowed by current plan limits.
|
|
3147
|
-
|
|
3172
|
+
*/
|
|
3148
3173
|
type DeleteProject403 = Error$1;
|
|
3149
3174
|
/**
|
|
3150
3175
|
* @description Resource not found.
|
|
3151
|
-
|
|
3176
|
+
*/
|
|
3152
3177
|
type DeleteProject404 = Error$1;
|
|
3153
3178
|
/**
|
|
3154
3179
|
* @description Rate limited. Try again later.
|
|
3155
|
-
|
|
3180
|
+
*/
|
|
3156
3181
|
type DeleteProject429 = Error$1;
|
|
3157
3182
|
type DeleteProjectMutationResponse = DeleteProject204;
|
|
3158
3183
|
type DeleteProjectMutation = {
|
|
@@ -3162,102 +3187,102 @@ type DeleteProjectMutation = {
|
|
|
3162
3187
|
};
|
|
3163
3188
|
|
|
3164
3189
|
/**
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3190
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3191
|
+
* Do not edit manually.
|
|
3192
|
+
*/
|
|
3168
3193
|
/**
|
|
3169
3194
|
* @description Aggregated project metrics captured for a point in time.
|
|
3170
|
-
|
|
3195
|
+
*/
|
|
3171
3196
|
type MetricsSnapshot = {
|
|
3172
3197
|
/**
|
|
3173
3198
|
* @description Unique metrics snapshot identifier.
|
|
3174
3199
|
* @type string
|
|
3175
|
-
|
|
3200
|
+
*/
|
|
3176
3201
|
id: string;
|
|
3177
3202
|
/**
|
|
3178
3203
|
* @description Project that produced the metrics snapshot.
|
|
3179
3204
|
* @type string
|
|
3180
|
-
|
|
3205
|
+
*/
|
|
3181
3206
|
project_id: string;
|
|
3182
3207
|
/**
|
|
3183
3208
|
* @description Region where the traffic was served.
|
|
3184
3209
|
* @type string
|
|
3185
|
-
|
|
3210
|
+
*/
|
|
3186
3211
|
region: string;
|
|
3187
3212
|
/**
|
|
3188
3213
|
* @description Total queries served during the snapshot interval.
|
|
3189
3214
|
* @type integer, int64
|
|
3190
|
-
|
|
3215
|
+
*/
|
|
3191
3216
|
queries_total: number;
|
|
3192
3217
|
/**
|
|
3193
3218
|
* @description Number of queries served from cache.
|
|
3194
3219
|
* @type integer, int64
|
|
3195
|
-
|
|
3220
|
+
*/
|
|
3196
3221
|
cache_hits: number;
|
|
3197
3222
|
/**
|
|
3198
3223
|
* @description Number of queries forwarded upstream.
|
|
3199
3224
|
* @type integer, int64
|
|
3200
|
-
|
|
3225
|
+
*/
|
|
3201
3226
|
cache_misses: number;
|
|
3202
3227
|
/**
|
|
3203
3228
|
* @description Current active proxy connections.
|
|
3204
3229
|
* @type integer
|
|
3205
|
-
|
|
3230
|
+
*/
|
|
3206
3231
|
active_connections: number;
|
|
3207
3232
|
/**
|
|
3208
3233
|
* @description Average end-to-end query latency in milliseconds.
|
|
3209
3234
|
* @type number, double
|
|
3210
|
-
|
|
3235
|
+
*/
|
|
3211
3236
|
avg_latency_ms: number;
|
|
3212
3237
|
/**
|
|
3213
3238
|
* @description 99th percentile end-to-end query latency in milliseconds.
|
|
3214
3239
|
* @type number, double
|
|
3215
|
-
|
|
3240
|
+
*/
|
|
3216
3241
|
p99_latency_ms: number;
|
|
3217
3242
|
/**
|
|
3218
3243
|
* @description Average upstream connection acquisition latency in milliseconds.
|
|
3219
3244
|
* @type number | undefined, double
|
|
3220
|
-
|
|
3245
|
+
*/
|
|
3221
3246
|
avg_connect_ms?: number;
|
|
3222
3247
|
/**
|
|
3223
3248
|
* @description Average upstream query execution latency in milliseconds.
|
|
3224
3249
|
* @type number | undefined, double
|
|
3225
|
-
|
|
3250
|
+
*/
|
|
3226
3251
|
avg_query_ms?: number;
|
|
3227
3252
|
/**
|
|
3228
3253
|
* @description When the snapshot was recorded.
|
|
3229
3254
|
* @type string, date-time
|
|
3230
|
-
|
|
3255
|
+
*/
|
|
3231
3256
|
created_at: string;
|
|
3232
3257
|
};
|
|
3233
3258
|
|
|
3234
3259
|
/**
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3260
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3261
|
+
* Do not edit manually.
|
|
3262
|
+
*/
|
|
3238
3263
|
|
|
3239
3264
|
/**
|
|
3240
3265
|
* @description Response envelope for recent project metrics snapshots.
|
|
3241
|
-
|
|
3266
|
+
*/
|
|
3242
3267
|
type ProjectMetricsResponse = {
|
|
3243
3268
|
/**
|
|
3244
3269
|
* @description Metrics snapshots ordered from newest to oldest.
|
|
3245
3270
|
* @type array
|
|
3246
|
-
|
|
3271
|
+
*/
|
|
3247
3272
|
snapshots: MetricsSnapshot[];
|
|
3248
3273
|
};
|
|
3249
3274
|
|
|
3250
3275
|
/**
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3276
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3277
|
+
* Do not edit manually.
|
|
3278
|
+
*/
|
|
3254
3279
|
|
|
3255
3280
|
type GetProjectMetricsPathParams = {
|
|
3256
3281
|
/**
|
|
3257
3282
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
3258
3283
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3259
3284
|
* @type string
|
|
3260
|
-
|
|
3285
|
+
*/
|
|
3261
3286
|
project_id: string;
|
|
3262
3287
|
};
|
|
3263
3288
|
type GetProjectMetricsQueryParams = {
|
|
@@ -3267,33 +3292,33 @@ type GetProjectMetricsQueryParams = {
|
|
|
3267
3292
|
* @maxLength 1000
|
|
3268
3293
|
* @default 60
|
|
3269
3294
|
* @type integer | undefined
|
|
3270
|
-
|
|
3295
|
+
*/
|
|
3271
3296
|
limit?: number;
|
|
3272
3297
|
/**
|
|
3273
3298
|
* @description Filter metrics by region code.
|
|
3274
3299
|
* @type string | undefined
|
|
3275
|
-
|
|
3300
|
+
*/
|
|
3276
3301
|
region?: string;
|
|
3277
3302
|
};
|
|
3278
3303
|
/**
|
|
3279
3304
|
* @description Metrics snapshots
|
|
3280
|
-
|
|
3305
|
+
*/
|
|
3281
3306
|
type GetProjectMetrics200 = ProjectMetricsResponse;
|
|
3282
3307
|
/**
|
|
3283
3308
|
* @description Invalid request parameters.
|
|
3284
|
-
|
|
3309
|
+
*/
|
|
3285
3310
|
type GetProjectMetrics400 = Error$1;
|
|
3286
3311
|
/**
|
|
3287
3312
|
* @description Missing or invalid authentication.
|
|
3288
|
-
|
|
3313
|
+
*/
|
|
3289
3314
|
type GetProjectMetrics401 = Error$1;
|
|
3290
3315
|
/**
|
|
3291
3316
|
* @description Resource not found.
|
|
3292
|
-
|
|
3317
|
+
*/
|
|
3293
3318
|
type GetProjectMetrics404 = Error$1;
|
|
3294
3319
|
/**
|
|
3295
3320
|
* @description Rate limited. Try again later.
|
|
3296
|
-
|
|
3321
|
+
*/
|
|
3297
3322
|
type GetProjectMetrics429 = Error$1;
|
|
3298
3323
|
type GetProjectMetricsQueryResponse = GetProjectMetrics200;
|
|
3299
3324
|
type GetProjectMetricsQuery = {
|
|
@@ -3304,9 +3329,9 @@ type GetProjectMetricsQuery = {
|
|
|
3304
3329
|
};
|
|
3305
3330
|
|
|
3306
3331
|
/**
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3332
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3333
|
+
* Do not edit manually.
|
|
3334
|
+
*/
|
|
3310
3335
|
declare const regionProviderEnum: {
|
|
3311
3336
|
readonly aws: "aws";
|
|
3312
3337
|
readonly azure: "azure";
|
|
@@ -3321,77 +3346,77 @@ declare const regionStatusEnum: {
|
|
|
3321
3346
|
type RegionStatusEnumKey = (typeof regionStatusEnum)[keyof typeof regionStatusEnum];
|
|
3322
3347
|
/**
|
|
3323
3348
|
* @description Data plane region available for PgBeam traffic.
|
|
3324
|
-
|
|
3349
|
+
*/
|
|
3325
3350
|
type Region = {
|
|
3326
3351
|
/**
|
|
3327
3352
|
* @description Region identifier (e.g. us-east-1).
|
|
3328
3353
|
* @type string
|
|
3329
|
-
|
|
3354
|
+
*/
|
|
3330
3355
|
id: string;
|
|
3331
3356
|
/**
|
|
3332
3357
|
* @description Human-readable region name.
|
|
3333
3358
|
* @type string
|
|
3334
|
-
|
|
3359
|
+
*/
|
|
3335
3360
|
name: string;
|
|
3336
3361
|
/**
|
|
3337
3362
|
* @description Cloud provider.
|
|
3338
3363
|
* @type string
|
|
3339
|
-
|
|
3364
|
+
*/
|
|
3340
3365
|
provider: RegionProviderEnumKey;
|
|
3341
3366
|
/**
|
|
3342
3367
|
* @description Region operational status.
|
|
3343
3368
|
* @type string
|
|
3344
|
-
|
|
3369
|
+
*/
|
|
3345
3370
|
status: RegionStatusEnumKey;
|
|
3346
3371
|
/**
|
|
3347
3372
|
* @description Whether new projects can currently be assigned to the region.
|
|
3348
3373
|
* @type boolean
|
|
3349
|
-
|
|
3374
|
+
*/
|
|
3350
3375
|
available: boolean;
|
|
3351
3376
|
/**
|
|
3352
3377
|
* @description Continent where the region is located.
|
|
3353
3378
|
* @type string | undefined
|
|
3354
|
-
|
|
3379
|
+
*/
|
|
3355
3380
|
continent?: string;
|
|
3356
3381
|
/**
|
|
3357
3382
|
* @description Country where the region is located.
|
|
3358
3383
|
* @type string | undefined
|
|
3359
|
-
|
|
3384
|
+
*/
|
|
3360
3385
|
country?: string;
|
|
3361
3386
|
};
|
|
3362
3387
|
|
|
3363
3388
|
/**
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3389
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3390
|
+
* Do not edit manually.
|
|
3391
|
+
*/
|
|
3367
3392
|
|
|
3368
3393
|
/**
|
|
3369
3394
|
* @description Response envelope for available region queries.
|
|
3370
|
-
|
|
3395
|
+
*/
|
|
3371
3396
|
type ListRegionsResponse = {
|
|
3372
3397
|
/**
|
|
3373
3398
|
* @description Regions currently known to the control plane.
|
|
3374
3399
|
* @type array
|
|
3375
|
-
|
|
3400
|
+
*/
|
|
3376
3401
|
regions: Region[];
|
|
3377
3402
|
};
|
|
3378
3403
|
|
|
3379
3404
|
/**
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3405
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3406
|
+
* Do not edit manually.
|
|
3407
|
+
*/
|
|
3383
3408
|
|
|
3384
3409
|
/**
|
|
3385
3410
|
* @description List of regions.
|
|
3386
|
-
|
|
3411
|
+
*/
|
|
3387
3412
|
type ListRegions200 = ListRegionsResponse;
|
|
3388
3413
|
/**
|
|
3389
3414
|
* @description Missing or invalid authentication.
|
|
3390
|
-
|
|
3415
|
+
*/
|
|
3391
3416
|
type ListRegions401 = Error$1;
|
|
3392
3417
|
/**
|
|
3393
3418
|
* @description Rate limited. Try again later.
|
|
3394
|
-
|
|
3419
|
+
*/
|
|
3395
3420
|
type ListRegions429 = Error$1;
|
|
3396
3421
|
type ListRegionsQueryResponse = ListRegions200;
|
|
3397
3422
|
type ListRegionsQuery = {
|
|
@@ -3400,105 +3425,105 @@ type ListRegionsQuery = {
|
|
|
3400
3425
|
};
|
|
3401
3426
|
|
|
3402
3427
|
/**
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3428
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3429
|
+
* Do not edit manually.
|
|
3430
|
+
*/
|
|
3406
3431
|
|
|
3407
3432
|
/**
|
|
3408
3433
|
* @description Read replica registered for a primary database.
|
|
3409
|
-
|
|
3434
|
+
*/
|
|
3410
3435
|
type Replica = {
|
|
3411
3436
|
/**
|
|
3412
3437
|
* @description Unique replica identifier (prefixed).
|
|
3413
3438
|
* @type string
|
|
3414
|
-
|
|
3439
|
+
*/
|
|
3415
3440
|
id: string;
|
|
3416
3441
|
/**
|
|
3417
3442
|
* @description Parent database ID.
|
|
3418
3443
|
* @type string
|
|
3419
|
-
|
|
3444
|
+
*/
|
|
3420
3445
|
database_id: string;
|
|
3421
3446
|
/**
|
|
3422
3447
|
* @description PostgreSQL replica host.
|
|
3423
3448
|
* @type string
|
|
3424
|
-
|
|
3449
|
+
*/
|
|
3425
3450
|
host: string;
|
|
3426
3451
|
/**
|
|
3427
3452
|
* @description PostgreSQL replica port.
|
|
3428
3453
|
* @minLength 1
|
|
3429
3454
|
* @maxLength 65535
|
|
3430
3455
|
* @type integer
|
|
3431
|
-
|
|
3456
|
+
*/
|
|
3432
3457
|
port: number;
|
|
3433
3458
|
/**
|
|
3434
3459
|
* @description PostgreSQL SSL connection mode.
|
|
3435
3460
|
* @type string
|
|
3436
|
-
|
|
3461
|
+
*/
|
|
3437
3462
|
ssl_mode: SSLMode;
|
|
3438
3463
|
/**
|
|
3439
3464
|
* @description When the replica was created.
|
|
3440
3465
|
* @type string, date-time
|
|
3441
|
-
|
|
3466
|
+
*/
|
|
3442
3467
|
created_at: string;
|
|
3443
3468
|
/**
|
|
3444
3469
|
* @description When the replica was last updated.
|
|
3445
3470
|
* @type string, date-time
|
|
3446
|
-
|
|
3471
|
+
*/
|
|
3447
3472
|
updated_at: string;
|
|
3448
3473
|
};
|
|
3449
3474
|
|
|
3450
3475
|
/**
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3476
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3477
|
+
* Do not edit manually.
|
|
3478
|
+
*/
|
|
3454
3479
|
|
|
3455
3480
|
/**
|
|
3456
3481
|
* @description Response envelope for listing registered replicas.
|
|
3457
|
-
|
|
3482
|
+
*/
|
|
3458
3483
|
type ListReplicasResponse = {
|
|
3459
3484
|
/**
|
|
3460
3485
|
* @description Read replicas attached to the database.
|
|
3461
3486
|
* @type array
|
|
3462
|
-
|
|
3487
|
+
*/
|
|
3463
3488
|
replicas: Replica[];
|
|
3464
3489
|
};
|
|
3465
3490
|
|
|
3466
3491
|
/**
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3492
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3493
|
+
* Do not edit manually.
|
|
3494
|
+
*/
|
|
3470
3495
|
|
|
3471
3496
|
type ListReplicasPathParams = {
|
|
3472
3497
|
/**
|
|
3473
3498
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
3474
3499
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3475
3500
|
* @type string
|
|
3476
|
-
|
|
3501
|
+
*/
|
|
3477
3502
|
database_id: string;
|
|
3478
3503
|
};
|
|
3479
3504
|
/**
|
|
3480
3505
|
* @description List of replicas.
|
|
3481
|
-
|
|
3506
|
+
*/
|
|
3482
3507
|
type ListReplicas200 = ListReplicasResponse;
|
|
3483
3508
|
/**
|
|
3484
3509
|
* @description Invalid request parameters.
|
|
3485
|
-
|
|
3510
|
+
*/
|
|
3486
3511
|
type ListReplicas400 = Error$1;
|
|
3487
3512
|
/**
|
|
3488
3513
|
* @description Missing or invalid authentication.
|
|
3489
|
-
|
|
3514
|
+
*/
|
|
3490
3515
|
type ListReplicas401 = Error$1;
|
|
3491
3516
|
/**
|
|
3492
3517
|
* @description Operation not allowed by current plan limits.
|
|
3493
|
-
|
|
3518
|
+
*/
|
|
3494
3519
|
type ListReplicas403 = Error$1;
|
|
3495
3520
|
/**
|
|
3496
3521
|
* @description Resource not found.
|
|
3497
|
-
|
|
3522
|
+
*/
|
|
3498
3523
|
type ListReplicas404 = Error$1;
|
|
3499
3524
|
/**
|
|
3500
3525
|
* @description Rate limited. Try again later.
|
|
3501
|
-
|
|
3526
|
+
*/
|
|
3502
3527
|
type ListReplicas429 = Error$1;
|
|
3503
3528
|
type ListReplicasQueryResponse = ListReplicas200;
|
|
3504
3529
|
type ListReplicasQuery = {
|
|
@@ -3508,71 +3533,71 @@ type ListReplicasQuery = {
|
|
|
3508
3533
|
};
|
|
3509
3534
|
|
|
3510
3535
|
/**
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3536
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3537
|
+
* Do not edit manually.
|
|
3538
|
+
*/
|
|
3514
3539
|
|
|
3515
3540
|
/**
|
|
3516
3541
|
* @description Request body for adding a read replica to a database.
|
|
3517
|
-
|
|
3542
|
+
*/
|
|
3518
3543
|
type CreateReplicaRequest = {
|
|
3519
3544
|
/**
|
|
3520
3545
|
* @description PostgreSQL replica host.
|
|
3521
3546
|
* @minLength 1
|
|
3522
3547
|
* @pattern ^[^\s\x00]+$
|
|
3523
3548
|
* @type string
|
|
3524
|
-
|
|
3549
|
+
*/
|
|
3525
3550
|
host: string;
|
|
3526
3551
|
/**
|
|
3527
3552
|
* @description PostgreSQL replica port.
|
|
3528
3553
|
* @minLength 1
|
|
3529
3554
|
* @maxLength 65535
|
|
3530
3555
|
* @type integer
|
|
3531
|
-
|
|
3556
|
+
*/
|
|
3532
3557
|
port: number;
|
|
3533
3558
|
/**
|
|
3534
3559
|
* @description PostgreSQL SSL connection mode.
|
|
3535
3560
|
* @type string | undefined
|
|
3536
|
-
|
|
3561
|
+
*/
|
|
3537
3562
|
ssl_mode?: SSLMode;
|
|
3538
3563
|
};
|
|
3539
3564
|
|
|
3540
3565
|
/**
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3566
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3567
|
+
* Do not edit manually.
|
|
3568
|
+
*/
|
|
3544
3569
|
|
|
3545
3570
|
type CreateReplicaPathParams = {
|
|
3546
3571
|
/**
|
|
3547
3572
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
3548
3573
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3549
3574
|
* @type string
|
|
3550
|
-
|
|
3575
|
+
*/
|
|
3551
3576
|
database_id: string;
|
|
3552
3577
|
};
|
|
3553
3578
|
/**
|
|
3554
3579
|
* @description Replica created.
|
|
3555
|
-
|
|
3580
|
+
*/
|
|
3556
3581
|
type CreateReplica201 = Replica;
|
|
3557
3582
|
/**
|
|
3558
3583
|
* @description Invalid request parameters.
|
|
3559
|
-
|
|
3584
|
+
*/
|
|
3560
3585
|
type CreateReplica400 = Error$1;
|
|
3561
3586
|
/**
|
|
3562
3587
|
* @description Missing or invalid authentication.
|
|
3563
|
-
|
|
3588
|
+
*/
|
|
3564
3589
|
type CreateReplica401 = Error$1;
|
|
3565
3590
|
/**
|
|
3566
3591
|
* @description Operation not allowed by current plan limits.
|
|
3567
|
-
|
|
3592
|
+
*/
|
|
3568
3593
|
type CreateReplica403 = Error$1;
|
|
3569
3594
|
/**
|
|
3570
3595
|
* @description Resource not found.
|
|
3571
|
-
|
|
3596
|
+
*/
|
|
3572
3597
|
type CreateReplica404 = Error$1;
|
|
3573
3598
|
/**
|
|
3574
3599
|
* @description Rate limited. Try again later.
|
|
3575
|
-
|
|
3600
|
+
*/
|
|
3576
3601
|
type CreateReplica429 = Error$1;
|
|
3577
3602
|
type CreateReplicaMutationRequest = CreateReplicaRequest;
|
|
3578
3603
|
type CreateReplicaMutationResponse = CreateReplica201;
|
|
@@ -3584,47 +3609,47 @@ type CreateReplicaMutation = {
|
|
|
3584
3609
|
};
|
|
3585
3610
|
|
|
3586
3611
|
/**
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3612
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3613
|
+
* Do not edit manually.
|
|
3614
|
+
*/
|
|
3590
3615
|
|
|
3591
3616
|
type DeleteReplicaPathParams = {
|
|
3592
3617
|
/**
|
|
3593
3618
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
3594
3619
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3595
3620
|
* @type string
|
|
3596
|
-
|
|
3621
|
+
*/
|
|
3597
3622
|
database_id: string;
|
|
3598
3623
|
/**
|
|
3599
3624
|
* @description Unique replica identifier (prefixed, e.g. rep_xxx).
|
|
3600
3625
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3601
3626
|
* @type string
|
|
3602
|
-
|
|
3627
|
+
*/
|
|
3603
3628
|
replica_id: string;
|
|
3604
3629
|
};
|
|
3605
3630
|
/**
|
|
3606
3631
|
* @description Replica deleted.
|
|
3607
|
-
|
|
3632
|
+
*/
|
|
3608
3633
|
type DeleteReplica204 = any;
|
|
3609
3634
|
/**
|
|
3610
3635
|
* @description Invalid request parameters.
|
|
3611
|
-
|
|
3636
|
+
*/
|
|
3612
3637
|
type DeleteReplica400 = Error$1;
|
|
3613
3638
|
/**
|
|
3614
3639
|
* @description Missing or invalid authentication.
|
|
3615
|
-
|
|
3640
|
+
*/
|
|
3616
3641
|
type DeleteReplica401 = Error$1;
|
|
3617
3642
|
/**
|
|
3618
3643
|
* @description Operation not allowed by current plan limits.
|
|
3619
|
-
|
|
3644
|
+
*/
|
|
3620
3645
|
type DeleteReplica403 = Error$1;
|
|
3621
3646
|
/**
|
|
3622
3647
|
* @description Resource not found.
|
|
3623
|
-
|
|
3648
|
+
*/
|
|
3624
3649
|
type DeleteReplica404 = Error$1;
|
|
3625
3650
|
/**
|
|
3626
3651
|
* @description Rate limited. Try again later.
|
|
3627
|
-
|
|
3652
|
+
*/
|
|
3628
3653
|
type DeleteReplica429 = Error$1;
|
|
3629
3654
|
type DeleteReplicaMutationResponse = DeleteReplica204;
|
|
3630
3655
|
type DeleteReplicaMutation = {
|
|
@@ -3634,105 +3659,105 @@ type DeleteReplicaMutation = {
|
|
|
3634
3659
|
};
|
|
3635
3660
|
|
|
3636
3661
|
/**
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3662
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3663
|
+
* Do not edit manually.
|
|
3664
|
+
*/
|
|
3640
3665
|
/**
|
|
3641
3666
|
* @description Daily usage totals aggregated across all projects in an organization.
|
|
3642
|
-
|
|
3667
|
+
*/
|
|
3643
3668
|
type DailyUsage = {
|
|
3644
3669
|
/**
|
|
3645
3670
|
* @description Usage date in UTC.
|
|
3646
3671
|
* @type string, date
|
|
3647
|
-
|
|
3672
|
+
*/
|
|
3648
3673
|
day: string;
|
|
3649
3674
|
/**
|
|
3650
3675
|
* @description Total queries served on the day.
|
|
3651
3676
|
* @type integer, int64
|
|
3652
|
-
|
|
3677
|
+
*/
|
|
3653
3678
|
queries_total: number;
|
|
3654
3679
|
/**
|
|
3655
3680
|
* @description Total cache hits on the day.
|
|
3656
3681
|
* @type integer, int64
|
|
3657
|
-
|
|
3682
|
+
*/
|
|
3658
3683
|
cache_hits: number;
|
|
3659
3684
|
/**
|
|
3660
3685
|
* @description Total cache misses on the day.
|
|
3661
3686
|
* @type integer, int64
|
|
3662
|
-
|
|
3687
|
+
*/
|
|
3663
3688
|
cache_misses: number;
|
|
3664
3689
|
/**
|
|
3665
3690
|
* @description Total proxy connection time consumed on the day.
|
|
3666
3691
|
* @type integer, int64
|
|
3667
|
-
|
|
3692
|
+
*/
|
|
3668
3693
|
connection_seconds: number;
|
|
3669
3694
|
/**
|
|
3670
3695
|
* @description Total bytes transferred to clients.
|
|
3671
3696
|
* @type integer, int64
|
|
3672
|
-
|
|
3697
|
+
*/
|
|
3673
3698
|
bytes_transferred: number;
|
|
3674
3699
|
};
|
|
3675
3700
|
|
|
3676
3701
|
/**
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3702
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3703
|
+
* Do not edit manually.
|
|
3704
|
+
*/
|
|
3680
3705
|
|
|
3681
3706
|
/**
|
|
3682
3707
|
* @description Response envelope for organization usage queries.
|
|
3683
|
-
|
|
3708
|
+
*/
|
|
3684
3709
|
type UsageResponse = {
|
|
3685
3710
|
/**
|
|
3686
3711
|
* @description Daily usage entries aggregated across the organization.
|
|
3687
3712
|
* @type array
|
|
3688
|
-
|
|
3713
|
+
*/
|
|
3689
3714
|
usage: DailyUsage[];
|
|
3690
3715
|
};
|
|
3691
3716
|
|
|
3692
3717
|
/**
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3718
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3719
|
+
* Do not edit manually.
|
|
3720
|
+
*/
|
|
3696
3721
|
|
|
3697
3722
|
type GetOrganizationUsagePathParams = {
|
|
3698
3723
|
/**
|
|
3699
3724
|
* @description Unique organization identifier.
|
|
3700
3725
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3701
3726
|
* @type string
|
|
3702
|
-
|
|
3727
|
+
*/
|
|
3703
3728
|
org_id: string;
|
|
3704
3729
|
};
|
|
3705
3730
|
type GetOrganizationUsageQueryParams = {
|
|
3706
3731
|
/**
|
|
3707
3732
|
* @description Start date (inclusive, YYYY-MM-DD).
|
|
3708
3733
|
* @type string, date
|
|
3709
|
-
|
|
3734
|
+
*/
|
|
3710
3735
|
start_date: string;
|
|
3711
3736
|
/**
|
|
3712
3737
|
* @description End date (inclusive, YYYY-MM-DD).
|
|
3713
3738
|
* @type string, date
|
|
3714
|
-
|
|
3739
|
+
*/
|
|
3715
3740
|
end_date: string;
|
|
3716
3741
|
};
|
|
3717
3742
|
/**
|
|
3718
3743
|
* @description Daily usage data.
|
|
3719
|
-
|
|
3744
|
+
*/
|
|
3720
3745
|
type GetOrganizationUsage200 = UsageResponse;
|
|
3721
3746
|
/**
|
|
3722
3747
|
* @description Invalid request parameters.
|
|
3723
|
-
|
|
3748
|
+
*/
|
|
3724
3749
|
type GetOrganizationUsage400 = Error$1;
|
|
3725
3750
|
/**
|
|
3726
3751
|
* @description Missing or invalid authentication.
|
|
3727
|
-
|
|
3752
|
+
*/
|
|
3728
3753
|
type GetOrganizationUsage401 = Error$1;
|
|
3729
3754
|
/**
|
|
3730
3755
|
* @description Operation not allowed by current plan limits.
|
|
3731
|
-
|
|
3756
|
+
*/
|
|
3732
3757
|
type GetOrganizationUsage403 = Error$1;
|
|
3733
3758
|
/**
|
|
3734
3759
|
* @description Rate limited. Try again later.
|
|
3735
|
-
|
|
3760
|
+
*/
|
|
3736
3761
|
type GetOrganizationUsage429 = Error$1;
|
|
3737
3762
|
type GetOrganizationUsageQueryResponse = GetOrganizationUsage200;
|
|
3738
3763
|
type GetOrganizationUsageQuery = {
|
|
@@ -3743,110 +3768,110 @@ type GetOrganizationUsageQuery = {
|
|
|
3743
3768
|
};
|
|
3744
3769
|
|
|
3745
3770
|
/**
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3771
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3772
|
+
* Do not edit manually.
|
|
3773
|
+
*/
|
|
3749
3774
|
/**
|
|
3750
3775
|
* @description Daily usage totals for a single project and region.
|
|
3751
|
-
|
|
3776
|
+
*/
|
|
3752
3777
|
type ProjectDailyUsage = {
|
|
3753
3778
|
/**
|
|
3754
3779
|
* @description Usage date in UTC.
|
|
3755
3780
|
* @type string, date
|
|
3756
|
-
|
|
3781
|
+
*/
|
|
3757
3782
|
day: string;
|
|
3758
3783
|
/**
|
|
3759
3784
|
* @description Region where the traffic was served.
|
|
3760
3785
|
* @type string
|
|
3761
|
-
|
|
3786
|
+
*/
|
|
3762
3787
|
region: string;
|
|
3763
3788
|
/**
|
|
3764
3789
|
* @description Total queries served on the day.
|
|
3765
3790
|
* @type integer, int64
|
|
3766
|
-
|
|
3791
|
+
*/
|
|
3767
3792
|
queries_total: number;
|
|
3768
3793
|
/**
|
|
3769
3794
|
* @description Total cache hits on the day.
|
|
3770
3795
|
* @type integer, int64
|
|
3771
|
-
|
|
3796
|
+
*/
|
|
3772
3797
|
cache_hits: number;
|
|
3773
3798
|
/**
|
|
3774
3799
|
* @description Total cache misses on the day.
|
|
3775
3800
|
* @type integer, int64
|
|
3776
|
-
|
|
3801
|
+
*/
|
|
3777
3802
|
cache_misses: number;
|
|
3778
3803
|
/**
|
|
3779
3804
|
* @description Total proxy connection time consumed on the day.
|
|
3780
3805
|
* @type integer, int64
|
|
3781
|
-
|
|
3806
|
+
*/
|
|
3782
3807
|
connection_seconds: number;
|
|
3783
3808
|
/**
|
|
3784
3809
|
* @description Total bytes transferred to clients.
|
|
3785
3810
|
* @type integer, int64
|
|
3786
|
-
|
|
3811
|
+
*/
|
|
3787
3812
|
bytes_transferred: number;
|
|
3788
3813
|
};
|
|
3789
3814
|
|
|
3790
3815
|
/**
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3816
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3817
|
+
* Do not edit manually.
|
|
3818
|
+
*/
|
|
3794
3819
|
|
|
3795
3820
|
/**
|
|
3796
3821
|
* @description Response envelope for project usage queries.
|
|
3797
|
-
|
|
3822
|
+
*/
|
|
3798
3823
|
type ProjectUsageResponse = {
|
|
3799
3824
|
/**
|
|
3800
3825
|
* @description Daily usage entries grouped by region for the project.
|
|
3801
3826
|
* @type array
|
|
3802
|
-
|
|
3827
|
+
*/
|
|
3803
3828
|
usage: ProjectDailyUsage[];
|
|
3804
3829
|
};
|
|
3805
3830
|
|
|
3806
3831
|
/**
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3832
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
3833
|
+
* Do not edit manually.
|
|
3834
|
+
*/
|
|
3810
3835
|
|
|
3811
3836
|
type GetProjectUsagePathParams = {
|
|
3812
3837
|
/**
|
|
3813
3838
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
3814
3839
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
3815
3840
|
* @type string
|
|
3816
|
-
|
|
3841
|
+
*/
|
|
3817
3842
|
project_id: string;
|
|
3818
3843
|
};
|
|
3819
3844
|
type GetProjectUsageQueryParams = {
|
|
3820
3845
|
/**
|
|
3821
3846
|
* @description Start date (inclusive, YYYY-MM-DD).
|
|
3822
3847
|
* @type string, date
|
|
3823
|
-
|
|
3848
|
+
*/
|
|
3824
3849
|
start_date: string;
|
|
3825
3850
|
/**
|
|
3826
3851
|
* @description End date (inclusive, YYYY-MM-DD).
|
|
3827
3852
|
* @type string, date
|
|
3828
|
-
|
|
3853
|
+
*/
|
|
3829
3854
|
end_date: string;
|
|
3830
3855
|
};
|
|
3831
3856
|
/**
|
|
3832
3857
|
* @description Daily usage data by region.
|
|
3833
|
-
|
|
3858
|
+
*/
|
|
3834
3859
|
type GetProjectUsage200 = ProjectUsageResponse;
|
|
3835
3860
|
/**
|
|
3836
3861
|
* @description Invalid request parameters.
|
|
3837
|
-
|
|
3862
|
+
*/
|
|
3838
3863
|
type GetProjectUsage400 = Error$1;
|
|
3839
3864
|
/**
|
|
3840
3865
|
* @description Missing or invalid authentication.
|
|
3841
|
-
|
|
3866
|
+
*/
|
|
3842
3867
|
type GetProjectUsage401 = Error$1;
|
|
3843
3868
|
/**
|
|
3844
3869
|
* @description Resource not found.
|
|
3845
|
-
|
|
3870
|
+
*/
|
|
3846
3871
|
type GetProjectUsage404 = Error$1;
|
|
3847
3872
|
/**
|
|
3848
3873
|
* @description Rate limited. Try again later.
|
|
3849
|
-
|
|
3874
|
+
*/
|
|
3850
3875
|
type GetProjectUsage429 = Error$1;
|
|
3851
3876
|
type GetProjectUsageQueryResponse = GetProjectUsage200;
|
|
3852
3877
|
type GetProjectUsageQuery = {
|
|
@@ -3873,10 +3898,6 @@ interface ApiOperations {
|
|
|
3873
3898
|
}): Promise<UpdateOnboardingProgressMutationResponse>;
|
|
3874
3899
|
};
|
|
3875
3900
|
analytics: {
|
|
3876
|
-
getOrganizationActivity(params: {
|
|
3877
|
-
pathParams: GetOrganizationActivityPathParams;
|
|
3878
|
-
queryParams?: GetOrganizationActivityQueryParams;
|
|
3879
|
-
}): Promise<GetOrganizationActivityQueryResponse>;
|
|
3880
3901
|
listPlans(): Promise<ListPlansQueryResponse>;
|
|
3881
3902
|
getOrganizationPlan(params: {
|
|
3882
3903
|
pathParams: GetOrganizationPlanPathParams;
|
|
@@ -3983,19 +4004,17 @@ interface ApiOperations {
|
|
|
3983
4004
|
getHealth(): Promise<GetHealthQueryResponse>;
|
|
3984
4005
|
listRegions(): Promise<ListRegionsQueryResponse>;
|
|
3985
4006
|
};
|
|
4007
|
+
mCP: {
|
|
4008
|
+
mcpTransport(params: {
|
|
4009
|
+
body: McpTransportMutationRequest;
|
|
4010
|
+
}): Promise<McpTransportMutationResponse>;
|
|
4011
|
+
};
|
|
3986
4012
|
}
|
|
3987
4013
|
interface RequestMap {
|
|
3988
4014
|
"GET /v1/account/export": {
|
|
3989
4015
|
params?: undefined;
|
|
3990
4016
|
response: ExportAccountDataQueryResponse;
|
|
3991
4017
|
};
|
|
3992
|
-
"GET /v1/organizations/{org_id}/activity": {
|
|
3993
|
-
params: {
|
|
3994
|
-
pathParams: GetOrganizationActivityPathParams;
|
|
3995
|
-
queryParams?: GetOrganizationActivityQueryParams;
|
|
3996
|
-
};
|
|
3997
|
-
response: GetOrganizationActivityQueryResponse;
|
|
3998
|
-
};
|
|
3999
4018
|
"GET /v1/plans": {
|
|
4000
4019
|
params?: undefined;
|
|
4001
4020
|
response: ListPlansQueryResponse;
|
|
@@ -4110,6 +4129,12 @@ interface RequestMap {
|
|
|
4110
4129
|
};
|
|
4111
4130
|
response: GetProjectInsightsQueryResponse;
|
|
4112
4131
|
};
|
|
4132
|
+
"POST /v1/mcp": {
|
|
4133
|
+
params: {
|
|
4134
|
+
body: McpTransportMutationRequest;
|
|
4135
|
+
};
|
|
4136
|
+
response: McpTransportMutationResponse;
|
|
4137
|
+
};
|
|
4113
4138
|
"GET /v1/organizations/{org_id}/onboarding": {
|
|
4114
4139
|
params: {
|
|
4115
4140
|
pathParams: GetOnboardingProgressPathParams;
|
|
@@ -4258,5 +4283,5 @@ declare class PgBeamClient {
|
|
|
4258
4283
|
get api(): ApiClient;
|
|
4259
4284
|
}
|
|
4260
4285
|
|
|
4261
|
-
export { ApiError, PgBeamClient, SSLModeEnum, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createProjectRequestCloudEnum, databaseRoleEnum, extractMessage, getProjectInsightsQueryParamsRangeEnum, healthResponseStatusEnum, listProjectsQueryParamsSortByEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, poolModeEnum, projectCloudEnum, projectStatusEnum, regionProviderEnum, regionStatusEnum, updateOnboardingRequestStepEnum };
|
|
4262
|
-
export type { AccountExport,
|
|
4286
|
+
export { ApiError, PgBeamClient, SSLModeEnum, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createProjectRequestCloudEnum, databaseRoleEnum, extractMessage, getProjectInsightsQueryParamsRangeEnum, healthResponseStatusEnum, listProjectsQueryParamsSortByEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, poolModeEnum, projectCloudEnum, projectStatusEnum, regionProviderEnum, regionStatusEnum, updateOnboardingRequestStepEnum };
|
|
4287
|
+
export type { AccountExport, ApiClient, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CreateCustomDomain201, CreateCustomDomain400, CreateCustomDomain401, CreateCustomDomain403, CreateCustomDomain404, CreateCustomDomain409, CreateCustomDomain429, CreateCustomDomainMutation, CreateCustomDomainMutationRequest, CreateCustomDomainMutationResponse, CreateCustomDomainPathParams, CreateCustomDomainRequest, CreateDatabase201, CreateDatabase400, CreateDatabase401, CreateDatabase403, CreateDatabase404, CreateDatabase429, CreateDatabaseMutation, CreateDatabaseMutationRequest, CreateDatabaseMutationResponse, CreateDatabasePathParams, CreateDatabaseRequest, CreateProject201, CreateProject400, CreateProject401, CreateProject403, CreateProject409, CreateProject429, CreateProjectMutation, CreateProjectMutationRequest, CreateProjectMutationResponse, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectResponse, CreateReplica201, CreateReplica400, CreateReplica401, CreateReplica403, CreateReplica404, CreateReplica429, CreateReplicaMutation, CreateReplicaMutationRequest, CreateReplicaMutationResponse, CreateReplicaPathParams, CreateReplicaRequest, CustomDomain, DailyUsage, Database, DatabaseRole, DatabaseRoleEnumKey, DeleteCustomDomain204, DeleteCustomDomain400, DeleteCustomDomain401, DeleteCustomDomain403, DeleteCustomDomain404, DeleteCustomDomain429, DeleteCustomDomainMutation, DeleteCustomDomainMutationResponse, DeleteCustomDomainPathParams, DeleteDatabase204, DeleteDatabase400, DeleteDatabase401, DeleteDatabase403, DeleteDatabase404, DeleteDatabase429, DeleteDatabaseMutation, DeleteDatabaseMutationResponse, DeleteDatabasePathParams, DeleteProject204, DeleteProject400, DeleteProject401, DeleteProject403, DeleteProject404, DeleteProject429, DeleteProjectMutation, DeleteProjectMutationResponse, DeleteProjectPathParams, DeleteReplica204, DeleteReplica400, DeleteReplica401, DeleteReplica403, DeleteReplica404, DeleteReplica429, DeleteReplicaMutation, DeleteReplicaMutationResponse, DeleteReplicaPathParams, Error$1 as Error, ExportAccountData200, ExportAccountData401, ExportAccountData404, ExportAccountData429, ExportAccountDataQuery, ExportAccountDataQueryResponse, GetDatabase200, GetDatabase400, GetDatabase401, GetDatabase403, GetDatabase404, GetDatabase429, GetDatabasePathParams, GetDatabaseQuery, GetDatabaseQueryResponse, GetHealth200, GetHealth429, GetHealthQuery, GetHealthQueryResponse, GetOnboardingProgress200, GetOnboardingProgress400, GetOnboardingProgress401, GetOnboardingProgress403, GetOnboardingProgress404, GetOnboardingProgress429, GetOnboardingProgressPathParams, GetOnboardingProgressQuery, GetOnboardingProgressQueryResponse, GetOrganizationPlan200, GetOrganizationPlan400, GetOrganizationPlan401, GetOrganizationPlan403, GetOrganizationPlan429, GetOrganizationPlanPathParams, GetOrganizationPlanQuery, GetOrganizationPlanQueryResponse, GetOrganizationUsage200, GetOrganizationUsage400, GetOrganizationUsage401, GetOrganizationUsage403, GetOrganizationUsage429, GetOrganizationUsagePathParams, GetOrganizationUsageQuery, GetOrganizationUsageQueryParams, GetOrganizationUsageQueryResponse, GetProject200, GetProject400, GetProject401, GetProject403, GetProject404, GetProject429, GetProjectInsights200, GetProjectInsights400, GetProjectInsights401, GetProjectInsights404, GetProjectInsights429, GetProjectInsightsPathParams, GetProjectInsightsQuery, GetProjectInsightsQueryParams, GetProjectInsightsQueryParamsRangeEnumKey, GetProjectInsightsQueryResponse, GetProjectMetrics200, GetProjectMetrics400, GetProjectMetrics401, GetProjectMetrics404, GetProjectMetrics429, GetProjectMetricsPathParams, GetProjectMetricsQuery, GetProjectMetricsQueryParams, GetProjectMetricsQueryResponse, GetProjectPathParams, GetProjectQuery, GetProjectQueryResponse, GetProjectUsage200, GetProjectUsage400, GetProjectUsage401, GetProjectUsage404, GetProjectUsage429, GetProjectUsagePathParams, GetProjectUsageQuery, GetProjectUsageQueryParams, GetProjectUsageQueryResponse, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, ListCacheRules200, ListCacheRules400, ListCacheRules401, ListCacheRules403, ListCacheRules404, ListCacheRules429, ListCacheRulesPathParams, ListCacheRulesQuery, ListCacheRulesQueryParams, ListCacheRulesQueryResponse, ListCacheRulesResponse, ListCustomDomains200, ListCustomDomains400, ListCustomDomains401, ListCustomDomains403, ListCustomDomains404, ListCustomDomains429, ListCustomDomainsPathParams, ListCustomDomainsQuery, ListCustomDomainsQueryParams, ListCustomDomainsQueryResponse, ListCustomDomainsResponse, ListDatabases200, ListDatabases400, ListDatabases401, ListDatabases403, ListDatabases404, ListDatabases429, ListDatabasesPathParams, ListDatabasesQuery, ListDatabasesQueryParams, ListDatabasesQueryResponse, ListDatabasesResponse, ListPlans200, ListPlans401, ListPlans429, ListPlansQuery, ListPlansQueryResponse, ListPlansResponse, ListProjects200, ListProjects400, ListProjects401, ListProjects403, ListProjects429, ListProjectsQuery, ListProjectsQueryParams, ListProjectsQueryParamsSortByEnumKey, ListProjectsQueryResponse, ListProjectsResponse, ListRegions200, ListRegions401, ListRegions429, ListRegionsQuery, ListRegionsQueryResponse, ListRegionsResponse, ListReplicas200, ListReplicas400, ListReplicas401, ListReplicas403, ListReplicas404, ListReplicas429, ListReplicasPathParams, ListReplicasQuery, ListReplicasQueryResponse, ListReplicasResponse, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransport200, McpTransport401, McpTransport429, McpTransportMutation, McpTransportMutationRequest, McpTransportMutationResponse, MetricsSnapshot, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PoolConfig, PoolMode, PoolModeEnumKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatus, ProjectStatusEnumKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, Replica, RetryConfig, SSLMode, SSLModeEnumKey, SubmitCancellationFeedback204, SubmitCancellationFeedback400, SubmitCancellationFeedback401, SubmitCancellationFeedback403, SubmitCancellationFeedback429, SubmitCancellationFeedbackMutation, SubmitCancellationFeedbackMutationRequest, SubmitCancellationFeedbackMutationResponse, SubmitCancellationFeedbackPathParams, TestConnectionResult, TestDatabaseConnection200, TestDatabaseConnection400, TestDatabaseConnection401, TestDatabaseConnection403, TestDatabaseConnection404, TestDatabaseConnection429, TestDatabaseConnectionMutation, TestDatabaseConnectionMutationResponse, TestDatabaseConnectionPathParams, UpdateCacheRule200, UpdateCacheRule400, UpdateCacheRule401, UpdateCacheRule403, UpdateCacheRule404, UpdateCacheRule429, UpdateCacheRuleMutation, UpdateCacheRuleMutationRequest, UpdateCacheRuleMutationResponse, UpdateCacheRulePathParams, UpdateCacheRuleRequest, UpdateCacheRuleResponse, UpdateDatabase200, UpdateDatabase400, UpdateDatabase401, UpdateDatabase403, UpdateDatabase404, UpdateDatabase429, UpdateDatabaseMutation, UpdateDatabaseMutationRequest, UpdateDatabaseMutationResponse, UpdateDatabasePathParams, UpdateDatabaseRequest, UpdateOnboardingProgress200, UpdateOnboardingProgress400, UpdateOnboardingProgress401, UpdateOnboardingProgress403, UpdateOnboardingProgress404, UpdateOnboardingProgress429, UpdateOnboardingProgressMutation, UpdateOnboardingProgressMutationRequest, UpdateOnboardingProgressMutationResponse, UpdateOnboardingProgressPathParams, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdateProject200, UpdateProject400, UpdateProject401, UpdateProject403, UpdateProject404, UpdateProject429, UpdateProjectMutation, UpdateProjectMutationRequest, UpdateProjectMutationResponse, UpdateProjectPathParams, UpdateProjectRequest, UpdateSpendLimit200, UpdateSpendLimit400, UpdateSpendLimit401, UpdateSpendLimit403, UpdateSpendLimit429, UpdateSpendLimitMutation, UpdateSpendLimitMutationRequest, UpdateSpendLimitMutationResponse, UpdateSpendLimitPathParams, UpdateSpendLimitRequest, UsageResponse, VerifyCustomDomain200, VerifyCustomDomain400, VerifyCustomDomain401, VerifyCustomDomain403, VerifyCustomDomain404, VerifyCustomDomain429, VerifyCustomDomainMutation, VerifyCustomDomainMutationResponse, VerifyCustomDomainPathParams, VerifyCustomDomainResponse };
|