pgbeam 0.3.11 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +89 -24
- package/dist/index.d.cts +1999 -1159
- package/dist/index.d.mts +1999 -1159
- package/dist/index.mjs +89 -24
- package/dist/operations.cjs +263 -24
- package/dist/operations.d.cts +1538 -886
- package/dist/operations.d.mts +1538 -886
- package/dist/operations.mjs +263 -24
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1063,6 +1063,649 @@ type RotateAgentCredentialResponses = {
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
type RotateAgentCredentialResponse = (RotateAgentCredentialStatus200 | RotateAgentCredentialStatus400 | RotateAgentCredentialStatus401 | RotateAgentCredentialStatus403 | RotateAgentCredentialStatus404 | RotateAgentCredentialStatus409);
|
|
1065
1065
|
|
|
1066
|
+
/**
|
|
1067
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1068
|
+
* Do not edit manually.
|
|
1069
|
+
*/
|
|
1070
|
+
declare const maskingRuleKindEnum: {
|
|
1071
|
+
readonly redact: "redact";
|
|
1072
|
+
readonly null: "null";
|
|
1073
|
+
readonly hash: "hash";
|
|
1074
|
+
};
|
|
1075
|
+
type MaskingRuleKindEnumKey = (typeof maskingRuleKindEnum)[keyof typeof maskingRuleKindEnum];
|
|
1076
|
+
/**
|
|
1077
|
+
* @description A column masking rule applied to agent query results.
|
|
1078
|
+
* @type object
|
|
1079
|
+
*/
|
|
1080
|
+
type MaskingRule = {
|
|
1081
|
+
/**
|
|
1082
|
+
* @description Relation name, optionally schema-qualified (e.g. \"public.users\" or \"users\").
|
|
1083
|
+
* @example users
|
|
1084
|
+
* @type string
|
|
1085
|
+
*/
|
|
1086
|
+
table: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* @description Column to mask.
|
|
1089
|
+
* @example email
|
|
1090
|
+
* @type string
|
|
1091
|
+
*/
|
|
1092
|
+
column: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* @description How to mask. redact replaces with a token, null returns NULL, hash returns a SHA-256 hex.
|
|
1095
|
+
* @type string
|
|
1096
|
+
*/
|
|
1097
|
+
kind: MaskingRuleKindEnumKey;
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1102
|
+
* Do not edit manually.
|
|
1103
|
+
*/
|
|
1104
|
+
/**
|
|
1105
|
+
* @description A per-relation row filter. The predicate is a raw SQL boolean expression ANDed into the WHERE clause for the matching relation.
|
|
1106
|
+
* @type object
|
|
1107
|
+
*/
|
|
1108
|
+
type RowFilter = {
|
|
1109
|
+
/**
|
|
1110
|
+
* @description Relation name, optionally schema-qualified (e.g. \"public.orders\").
|
|
1111
|
+
* @example orders
|
|
1112
|
+
* @type string
|
|
1113
|
+
*/
|
|
1114
|
+
table: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* @description Raw SQL boolean expression ANDed into WHERE for this relation.
|
|
1117
|
+
* @example tenant_id = current_setting('pgbeam.tenant')
|
|
1118
|
+
* @type string
|
|
1119
|
+
*/
|
|
1120
|
+
predicate: string;
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1125
|
+
* Do not edit manually.
|
|
1126
|
+
*/
|
|
1127
|
+
/**
|
|
1128
|
+
* @description Per-statement-kind allow/deny lists. Empty allow means all kinds permitted by the access mode.
|
|
1129
|
+
* @type object
|
|
1130
|
+
*/
|
|
1131
|
+
type StatementRules = {
|
|
1132
|
+
/**
|
|
1133
|
+
* @description Allowed statement kinds (select, insert, update, delete, ddl, copy, set, show, explain, transaction).
|
|
1134
|
+
* @type array | undefined
|
|
1135
|
+
*/
|
|
1136
|
+
allow?: string[];
|
|
1137
|
+
/**
|
|
1138
|
+
* @description Denied statement kinds (takes precedence over allow).
|
|
1139
|
+
* @type array | undefined
|
|
1140
|
+
*/
|
|
1141
|
+
deny?: string[];
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1146
|
+
* Do not edit manually.
|
|
1147
|
+
*/
|
|
1148
|
+
|
|
1149
|
+
declare const policyProfileInputAccessModeEnum: {
|
|
1150
|
+
readonly read_only: "read_only";
|
|
1151
|
+
readonly read_write: "read_write";
|
|
1152
|
+
};
|
|
1153
|
+
type PolicyProfileInputAccessModeEnumKey = (typeof policyProfileInputAccessModeEnum)[keyof typeof policyProfileInputAccessModeEnum];
|
|
1154
|
+
declare const policyProfileInputWriteModeEnum: {
|
|
1155
|
+
readonly normal: "normal";
|
|
1156
|
+
readonly rollback: "rollback";
|
|
1157
|
+
readonly sandbox: "sandbox";
|
|
1158
|
+
};
|
|
1159
|
+
type PolicyProfileInputWriteModeEnumKey = (typeof policyProfileInputWriteModeEnum)[keyof typeof policyProfileInputWriteModeEnum];
|
|
1160
|
+
declare const policyProfileInputApprovalModeEnum: {
|
|
1161
|
+
readonly off: "off";
|
|
1162
|
+
readonly writes: "writes";
|
|
1163
|
+
readonly ddl: "ddl";
|
|
1164
|
+
readonly all: "all";
|
|
1165
|
+
};
|
|
1166
|
+
type PolicyProfileInputApprovalModeEnumKey = (typeof policyProfileInputApprovalModeEnum)[keyof typeof policyProfileInputApprovalModeEnum];
|
|
1167
|
+
declare const policyProfileInputMigrationSafetyEnum: {
|
|
1168
|
+
readonly off: "off";
|
|
1169
|
+
readonly warn: "warn";
|
|
1170
|
+
readonly block: "block";
|
|
1171
|
+
};
|
|
1172
|
+
type PolicyProfileInputMigrationSafetyEnumKey = (typeof policyProfileInputMigrationSafetyEnum)[keyof typeof policyProfileInputMigrationSafetyEnum];
|
|
1173
|
+
/**
|
|
1174
|
+
* @description Mutable fields of a policy profile (used for create and update).
|
|
1175
|
+
* @type object
|
|
1176
|
+
*/
|
|
1177
|
+
type PolicyProfileInput = {
|
|
1178
|
+
/**
|
|
1179
|
+
* @description Human-readable name for the policy profile.
|
|
1180
|
+
* @minLength 1
|
|
1181
|
+
* @maxLength 128
|
|
1182
|
+
* @type string
|
|
1183
|
+
*/
|
|
1184
|
+
name: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* @description read_only blocks all data and schema mutations.
|
|
1187
|
+
* @default "read_only"
|
|
1188
|
+
* @type string | undefined
|
|
1189
|
+
*/
|
|
1190
|
+
access_mode?: PolicyProfileInputAccessModeEnumKey;
|
|
1191
|
+
/**
|
|
1192
|
+
* @description Per-statement-kind allow/deny lists. Empty allow means all kinds permitted by the access mode.
|
|
1193
|
+
* @type object | undefined
|
|
1194
|
+
*/
|
|
1195
|
+
statement_rules?: StatementRules;
|
|
1196
|
+
/**
|
|
1197
|
+
* @description If non-empty, only these relations are reachable.
|
|
1198
|
+
* @type array | undefined
|
|
1199
|
+
*/
|
|
1200
|
+
table_allowlist?: string[];
|
|
1201
|
+
/**
|
|
1202
|
+
* @description Relations explicitly blocked.
|
|
1203
|
+
* @type array | undefined
|
|
1204
|
+
*/
|
|
1205
|
+
table_denylist?: string[];
|
|
1206
|
+
/**
|
|
1207
|
+
* @description Column masking rules applied to query results.
|
|
1208
|
+
* @type array | undefined
|
|
1209
|
+
*/
|
|
1210
|
+
masking_rules?: MaskingRule[];
|
|
1211
|
+
/**
|
|
1212
|
+
* @description Max queries per rolling hour window. 0 means unlimited.
|
|
1213
|
+
* @minLength 0
|
|
1214
|
+
* @default 0
|
|
1215
|
+
* @type integer | undefined
|
|
1216
|
+
*/
|
|
1217
|
+
budget_queries_per_hour?: number;
|
|
1218
|
+
/**
|
|
1219
|
+
* @description Max queries per day window. 0 means unlimited.
|
|
1220
|
+
* @minLength 0
|
|
1221
|
+
* @default 0
|
|
1222
|
+
* @type integer | undefined
|
|
1223
|
+
*/
|
|
1224
|
+
budget_queries_per_day?: number;
|
|
1225
|
+
/**
|
|
1226
|
+
* @description Max rows returned per query. 0 means unlimited.
|
|
1227
|
+
* @minLength 0
|
|
1228
|
+
* @default 0
|
|
1229
|
+
* @type integer | undefined
|
|
1230
|
+
*/
|
|
1231
|
+
max_rows?: number;
|
|
1232
|
+
/**
|
|
1233
|
+
* @description Upstream statement timeout for agent sessions. 0 uses the project default.
|
|
1234
|
+
* @minLength 0
|
|
1235
|
+
* @default 0
|
|
1236
|
+
* @type integer | undefined
|
|
1237
|
+
*/
|
|
1238
|
+
statement_timeout_ms?: number;
|
|
1239
|
+
/**
|
|
1240
|
+
* @description Per-relation row filters ANDed into agent reads.
|
|
1241
|
+
* @type array | undefined
|
|
1242
|
+
*/
|
|
1243
|
+
row_filters?: RowFilter[];
|
|
1244
|
+
/**
|
|
1245
|
+
* @description How writes are handled. normal commits, rollback auto-rolls back, sandbox routes to an ephemeral branch.
|
|
1246
|
+
* @default "normal"
|
|
1247
|
+
* @type string | undefined
|
|
1248
|
+
*/
|
|
1249
|
+
write_mode?: PolicyProfileInputWriteModeEnumKey;
|
|
1250
|
+
/**
|
|
1251
|
+
* @description Which statement classes require human approval before execution.
|
|
1252
|
+
* @default "off"
|
|
1253
|
+
* @type string | undefined
|
|
1254
|
+
*/
|
|
1255
|
+
approval_mode?: PolicyProfileInputApprovalModeEnumKey;
|
|
1256
|
+
/**
|
|
1257
|
+
* @description Statements touching at most this many rows are auto-approved. 0 means none.
|
|
1258
|
+
* @minLength 0
|
|
1259
|
+
* @default 0
|
|
1260
|
+
* @type integer | undefined
|
|
1261
|
+
*/
|
|
1262
|
+
approval_auto_max_rows?: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* @description How long a held statement waits for a decision before expiring.
|
|
1265
|
+
* @minLength 0
|
|
1266
|
+
* @default 300
|
|
1267
|
+
* @type integer | undefined
|
|
1268
|
+
*/
|
|
1269
|
+
approval_timeout_seconds?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* @description Migration safety mode. warn surfaces findings, block refuses unsafe DDL.
|
|
1272
|
+
* @default "off"
|
|
1273
|
+
* @type string | undefined
|
|
1274
|
+
*/
|
|
1275
|
+
migration_safety?: PolicyProfileInputMigrationSafetyEnumKey;
|
|
1276
|
+
/**
|
|
1277
|
+
* @description Per-day egress budget in bytes. 0 means unlimited.
|
|
1278
|
+
* @minLength 0
|
|
1279
|
+
* @default 0
|
|
1280
|
+
* @type integer | undefined
|
|
1281
|
+
*/
|
|
1282
|
+
egress_bytes_per_day?: number;
|
|
1283
|
+
/**
|
|
1284
|
+
* @description Hard cap on rows a single write (INSERT/UPDATE/DELETE) may affect. A write whose affected-row count would exceed this is executed inside a transaction, checked, and rolled back so nothing persists, then blocked. Enforced independently of human approval. 0 means unlimited.
|
|
1285
|
+
* @minLength 0
|
|
1286
|
+
* @default 0
|
|
1287
|
+
* @type integer | undefined
|
|
1288
|
+
*/
|
|
1289
|
+
max_affected_rows?: number;
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1294
|
+
* Do not edit manually.
|
|
1295
|
+
*/
|
|
1296
|
+
declare const dryEvalMaskedColumnKindEnum: {
|
|
1297
|
+
readonly redact: "redact";
|
|
1298
|
+
readonly null: "null";
|
|
1299
|
+
readonly hash: "hash";
|
|
1300
|
+
};
|
|
1301
|
+
type DryEvalMaskedColumnKindEnumKey = (typeof dryEvalMaskedColumnKindEnum)[keyof typeof dryEvalMaskedColumnKindEnum];
|
|
1302
|
+
/**
|
|
1303
|
+
* @description One result column that would be masked, with the mask kind applied.
|
|
1304
|
+
* @type object
|
|
1305
|
+
*/
|
|
1306
|
+
type DryEvalMaskedColumn = {
|
|
1307
|
+
/**
|
|
1308
|
+
* @description The output column name (post-alias) the client would see masked.
|
|
1309
|
+
* @example email
|
|
1310
|
+
* @type string
|
|
1311
|
+
*/
|
|
1312
|
+
column: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* @description How the column is masked.
|
|
1315
|
+
* @type string
|
|
1316
|
+
*/
|
|
1317
|
+
kind: DryEvalMaskedColumnKindEnumKey;
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1322
|
+
* Do not edit manually.
|
|
1323
|
+
*/
|
|
1324
|
+
|
|
1325
|
+
declare const dryEvalResultVerdictEnum: {
|
|
1326
|
+
readonly allow: "allow";
|
|
1327
|
+
readonly block: "block";
|
|
1328
|
+
readonly mask: "mask";
|
|
1329
|
+
readonly "row-filter": "row-filter";
|
|
1330
|
+
};
|
|
1331
|
+
type DryEvalResultVerdictEnumKey = (typeof dryEvalResultVerdictEnum)[keyof typeof dryEvalResultVerdictEnum];
|
|
1332
|
+
/**
|
|
1333
|
+
* @description The decision the proxy would reach for the supplied statement under the supplied policy. verdict is the headline outcome; the remaining fields detail why.
|
|
1334
|
+
* @type object
|
|
1335
|
+
*/
|
|
1336
|
+
type DryEvalResult = {
|
|
1337
|
+
/**
|
|
1338
|
+
* @description allow — permitted unchanged; block — rejected; mask — permitted but listed result columns are masked; row-filter — permitted but a WHERE predicate is injected (and any listed columns are also masked).
|
|
1339
|
+
* @type string
|
|
1340
|
+
*/
|
|
1341
|
+
verdict: DryEvalResultVerdictEnumKey;
|
|
1342
|
+
/**
|
|
1343
|
+
* @description Machine-readable decision tag. For a block, the blocking rule (e.g. read_only, table_denied, table_not_allowed, statement_denied, row_filter_unsafe). Otherwise \"ok\".
|
|
1344
|
+
* @example ok
|
|
1345
|
+
* @type string
|
|
1346
|
+
*/
|
|
1347
|
+
rule: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* @description Human-readable explanation of the verdict.
|
|
1350
|
+
* @type string
|
|
1351
|
+
*/
|
|
1352
|
+
reason: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* @description What the author could do instead (present on block verdicts).
|
|
1355
|
+
* @type string | undefined
|
|
1356
|
+
*/
|
|
1357
|
+
hint?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* @description Result columns that would be masked. Present on mask/row-filter verdicts.
|
|
1360
|
+
* @type array | undefined
|
|
1361
|
+
*/
|
|
1362
|
+
masked_columns?: DryEvalMaskedColumn[];
|
|
1363
|
+
/**
|
|
1364
|
+
* @description The row-filter predicate ANDed into the statement\'s WHERE clause.
|
|
1365
|
+
* @example tenant_id = current_setting('pgbeam.tenant')
|
|
1366
|
+
* @type string | undefined
|
|
1367
|
+
*/
|
|
1368
|
+
row_filter_predicate?: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* @description The statement as it would be sent upstream after row-filter injection.
|
|
1371
|
+
* @type string | undefined
|
|
1372
|
+
*/
|
|
1373
|
+
rewritten_sql?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* @description Informational caveats about stateful enforcement a single-statement preview cannot model (per-region budgets, approvals, write-mode routing).
|
|
1376
|
+
* @type array | undefined
|
|
1377
|
+
*/
|
|
1378
|
+
notes?: string[];
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1383
|
+
* Do not edit manually.
|
|
1384
|
+
*/
|
|
1385
|
+
|
|
1386
|
+
declare const policyReplayItemChangeEnum: {
|
|
1387
|
+
readonly newly_blocked: "newly_blocked";
|
|
1388
|
+
readonly newly_allowed: "newly_allowed";
|
|
1389
|
+
readonly still_allowed: "still_allowed";
|
|
1390
|
+
readonly still_blocked: "still_blocked";
|
|
1391
|
+
};
|
|
1392
|
+
type PolicyReplayItemChangeEnumKey = (typeof policyReplayItemChangeEnum)[keyof typeof policyReplayItemChangeEnum];
|
|
1393
|
+
/**
|
|
1394
|
+
* @description One distinct recorded query and the decision the candidate policy would reach for it.
|
|
1395
|
+
* @type object
|
|
1396
|
+
*/
|
|
1397
|
+
type PolicyReplayItem = {
|
|
1398
|
+
/**
|
|
1399
|
+
* @description Normalized query hash identifying this statement shape.
|
|
1400
|
+
* @type string
|
|
1401
|
+
*/
|
|
1402
|
+
query_hash: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* @description The recorded statement (normalized, literals replaced with $N placeholders), from its most recent occurrence.
|
|
1405
|
+
* @type string
|
|
1406
|
+
*/
|
|
1407
|
+
sql: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* @description Statement kind (select, insert, update, delete, ddl, ...).
|
|
1410
|
+
* @type string | undefined
|
|
1411
|
+
*/
|
|
1412
|
+
statement_kind?: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* @description How many recorded entries share this query shape in the window.
|
|
1415
|
+
* @type integer
|
|
1416
|
+
*/
|
|
1417
|
+
occurrences: number;
|
|
1418
|
+
/**
|
|
1419
|
+
* @description Oldest occurrence in the window.
|
|
1420
|
+
* @type string
|
|
1421
|
+
*/
|
|
1422
|
+
first_seen: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* @description Newest occurrence in the window.
|
|
1425
|
+
* @type string
|
|
1426
|
+
*/
|
|
1427
|
+
last_seen: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* @description The most recent recorded outcome for this query (query, masked, truncated, or blocked).
|
|
1430
|
+
* @type string
|
|
1431
|
+
*/
|
|
1432
|
+
recorded_event: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* @description The decision rule recorded with a blocked outcome.
|
|
1435
|
+
* @type string | undefined
|
|
1436
|
+
*/
|
|
1437
|
+
recorded_rule?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* @description How the candidate decision compares to the recorded outcome. newly_blocked and newly_allowed are the changes worth reviewing before rollout; still_allowed and still_blocked are unchanged.
|
|
1440
|
+
* @type string
|
|
1441
|
+
*/
|
|
1442
|
+
change: PolicyReplayItemChangeEnumKey;
|
|
1443
|
+
/**
|
|
1444
|
+
* @description The decision the proxy would reach for the supplied statement under the supplied policy. verdict is the headline outcome; the remaining fields detail why.
|
|
1445
|
+
* @type object
|
|
1446
|
+
*/
|
|
1447
|
+
result: DryEvalResult;
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1452
|
+
* Do not edit manually.
|
|
1453
|
+
*/
|
|
1454
|
+
/**
|
|
1455
|
+
* @description Aggregate outcome of a policy replay.
|
|
1456
|
+
* @type object
|
|
1457
|
+
*/
|
|
1458
|
+
type PolicyReplaySummary = {
|
|
1459
|
+
/**
|
|
1460
|
+
* @description Recorded audit entries covered by the replayed queries.
|
|
1461
|
+
* @type integer
|
|
1462
|
+
*/
|
|
1463
|
+
entries_scanned: number;
|
|
1464
|
+
/**
|
|
1465
|
+
* @description Distinct normalized queries found in the window (capped at limit).
|
|
1466
|
+
* @type integer
|
|
1467
|
+
*/
|
|
1468
|
+
distinct_queries: number;
|
|
1469
|
+
/**
|
|
1470
|
+
* @description Distinct queries actually evaluated against the candidate policy.
|
|
1471
|
+
* @type integer
|
|
1472
|
+
*/
|
|
1473
|
+
evaluated: number;
|
|
1474
|
+
/**
|
|
1475
|
+
* @description Queries the candidate policy would allow unchanged.
|
|
1476
|
+
* @type integer
|
|
1477
|
+
*/
|
|
1478
|
+
would_allow: number;
|
|
1479
|
+
/**
|
|
1480
|
+
* @description Queries the candidate policy would block.
|
|
1481
|
+
* @type integer
|
|
1482
|
+
*/
|
|
1483
|
+
would_block: number;
|
|
1484
|
+
/**
|
|
1485
|
+
* @description Queries the candidate policy would mask result columns on.
|
|
1486
|
+
* @type integer
|
|
1487
|
+
*/
|
|
1488
|
+
would_mask: number;
|
|
1489
|
+
/**
|
|
1490
|
+
* @description Queries the candidate policy would inject a row filter into.
|
|
1491
|
+
* @type integer
|
|
1492
|
+
*/
|
|
1493
|
+
would_row_filter: number;
|
|
1494
|
+
/**
|
|
1495
|
+
* @description Queries that executed under the recorded policy but the candidate policy would block.
|
|
1496
|
+
* @type integer
|
|
1497
|
+
*/
|
|
1498
|
+
newly_blocked: number;
|
|
1499
|
+
/**
|
|
1500
|
+
* @description Queries that were blocked when recorded but the candidate policy would permit.
|
|
1501
|
+
* @type integer
|
|
1502
|
+
*/
|
|
1503
|
+
newly_allowed: number;
|
|
1504
|
+
/**
|
|
1505
|
+
* @description Distinct queries skipped because the stored statement was truncated at record time and can no longer be parsed faithfully.
|
|
1506
|
+
* @type integer
|
|
1507
|
+
*/
|
|
1508
|
+
skipped_unparseable: number;
|
|
1509
|
+
/**
|
|
1510
|
+
* @description True when the window contained more distinct queries than limit; only the newest were replayed.
|
|
1511
|
+
* @type boolean
|
|
1512
|
+
*/
|
|
1513
|
+
truncated: boolean;
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1518
|
+
* Do not edit manually.
|
|
1519
|
+
*/
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @description The outcome of replaying recorded agent traffic against a candidate policy: an aggregate summary plus per-query decisions, changes first.
|
|
1523
|
+
* @type object
|
|
1524
|
+
*/
|
|
1525
|
+
type PolicyReplayResult = {
|
|
1526
|
+
/**
|
|
1527
|
+
* @description Aggregate outcome of a policy replay.
|
|
1528
|
+
* @type object
|
|
1529
|
+
*/
|
|
1530
|
+
summary: PolicyReplaySummary;
|
|
1531
|
+
/**
|
|
1532
|
+
* @description Per-query replay decisions, ordered changes first (newly blocked, then newly allowed), then by occurrence count.
|
|
1533
|
+
* @type array
|
|
1534
|
+
*/
|
|
1535
|
+
items: PolicyReplayItem[];
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1540
|
+
* Do not edit manually.
|
|
1541
|
+
*/
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* @description A least-privilege policy derived from an agent credential\'s recorded audit history, together with the replay diff that proves the candidate would not newly block any statement the credential legitimately ran. Advisory only: this endpoint never creates, updates, or otherwise mutates a policy or a credential. A good recommendation has replay.summary.newly_blocked == 0.
|
|
1545
|
+
* @type object
|
|
1546
|
+
*/
|
|
1547
|
+
type PolicyRecommendation = {
|
|
1548
|
+
/**
|
|
1549
|
+
* @description True when there was enough parseable, executed traffic to derive a candidate. When false, candidate and replay are omitted and message explains why no recommendation could be made.
|
|
1550
|
+
* @type boolean
|
|
1551
|
+
*/
|
|
1552
|
+
sufficient_history: boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* @description Present when sufficient_history is false; a clear explanation of why no recommendation could be produced (e.g. no executed traffic in the window).
|
|
1555
|
+
* @type string | undefined
|
|
1556
|
+
*/
|
|
1557
|
+
message?: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* @description Mutable fields of a policy profile (used for create and update).
|
|
1560
|
+
* @type object | undefined
|
|
1561
|
+
*/
|
|
1562
|
+
candidate?: PolicyProfileInput;
|
|
1563
|
+
/**
|
|
1564
|
+
* @description The outcome of replaying recorded agent traffic against a candidate policy: an aggregate summary plus per-query decisions, changes first.
|
|
1565
|
+
* @type object | undefined
|
|
1566
|
+
*/
|
|
1567
|
+
replay?: PolicyReplayResult;
|
|
1568
|
+
/**
|
|
1569
|
+
* @description Distinct executed query shapes the candidate was derived from (blocked attempts are excluded from derivation).
|
|
1570
|
+
* @type integer
|
|
1571
|
+
*/
|
|
1572
|
+
observed_queries: number;
|
|
1573
|
+
/**
|
|
1574
|
+
* @description Recorded audit entries covered by the analyzed window.
|
|
1575
|
+
* @type integer
|
|
1576
|
+
*/
|
|
1577
|
+
observed_entries: number;
|
|
1578
|
+
/**
|
|
1579
|
+
* @description Start of the analyzed traffic window (inclusive).
|
|
1580
|
+
* @type string
|
|
1581
|
+
*/
|
|
1582
|
+
window_start: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* @description End of the analyzed traffic window (exclusive).
|
|
1585
|
+
* @type string
|
|
1586
|
+
*/
|
|
1587
|
+
window_end: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* @description Human-readable rationale for each tightening decision (e.g. why the candidate was downgraded to read-only, or how max_rows was chosen).
|
|
1590
|
+
* @type array | undefined
|
|
1591
|
+
*/
|
|
1592
|
+
notes?: string[];
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1597
|
+
* Do not edit manually.
|
|
1598
|
+
*/
|
|
1599
|
+
/**
|
|
1600
|
+
* @description Optional parameters for a least-privilege policy recommendation. Every field is optional; an empty body analyzes the last 30 days of the credential\'s audit history.
|
|
1601
|
+
* @type object
|
|
1602
|
+
*/
|
|
1603
|
+
type PolicyRecommendationInput = {
|
|
1604
|
+
/**
|
|
1605
|
+
* @description How many days of recorded audit history to analyze.
|
|
1606
|
+
* @minLength 1
|
|
1607
|
+
* @maxLength 365
|
|
1608
|
+
* @default 30
|
|
1609
|
+
* @type integer | undefined
|
|
1610
|
+
*/
|
|
1611
|
+
lookback_days?: number;
|
|
1612
|
+
/**
|
|
1613
|
+
* @description Maximum number of distinct query shapes to analyze and replay, newest first. Traffic is deduplicated by normalized query hash.
|
|
1614
|
+
* @minLength 1
|
|
1615
|
+
* @maxLength 500
|
|
1616
|
+
* @default 200
|
|
1617
|
+
* @type integer | undefined
|
|
1618
|
+
*/
|
|
1619
|
+
limit?: number;
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1624
|
+
* Do not edit manually.
|
|
1625
|
+
*/
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
1629
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1630
|
+
* @type string
|
|
1631
|
+
*/
|
|
1632
|
+
type RecommendAgentPolicyPathProjectId = string;
|
|
1633
|
+
/**
|
|
1634
|
+
* @description Unique agent credential identifier (prefixed, e.g. agt_xxx).
|
|
1635
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
1636
|
+
* @type string
|
|
1637
|
+
*/
|
|
1638
|
+
type RecommendAgentPolicyPathAgentId = string;
|
|
1639
|
+
/**
|
|
1640
|
+
* @description A least-privilege policy derived from an agent credential\'s recorded audit history, together with the replay diff that proves the candidate would not newly block any statement the credential legitimately ran. Advisory only: this endpoint never creates, updates, or otherwise mutates a policy or a credential. A good recommendation has replay.summary.newly_blocked == 0.
|
|
1641
|
+
* @type object
|
|
1642
|
+
*/
|
|
1643
|
+
type RecommendAgentPolicyStatus200 = PolicyRecommendation;
|
|
1644
|
+
/**
|
|
1645
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
1646
|
+
* @type object
|
|
1647
|
+
*/
|
|
1648
|
+
type RecommendAgentPolicyStatus400 = Error$1;
|
|
1649
|
+
/**
|
|
1650
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
1651
|
+
* @type object
|
|
1652
|
+
*/
|
|
1653
|
+
type RecommendAgentPolicyStatus401 = Error$1;
|
|
1654
|
+
/**
|
|
1655
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
1656
|
+
* @type object
|
|
1657
|
+
*/
|
|
1658
|
+
type RecommendAgentPolicyStatus403 = Error$1;
|
|
1659
|
+
/**
|
|
1660
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
1661
|
+
* @type object
|
|
1662
|
+
*/
|
|
1663
|
+
type RecommendAgentPolicyStatus404 = Error$1;
|
|
1664
|
+
/**
|
|
1665
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
1666
|
+
* @type object
|
|
1667
|
+
*/
|
|
1668
|
+
type RecommendAgentPolicyStatus429 = Error$1;
|
|
1669
|
+
/**
|
|
1670
|
+
* @description Optional parameters for a least-privilege policy recommendation. Every field is optional; an empty body analyzes the last 30 days of the credential\'s audit history.
|
|
1671
|
+
* @type object | undefined
|
|
1672
|
+
*/
|
|
1673
|
+
type RecommendAgentPolicyData = PolicyRecommendationInput | undefined;
|
|
1674
|
+
/**
|
|
1675
|
+
* @type object
|
|
1676
|
+
*/
|
|
1677
|
+
type RecommendAgentPolicyRequestConfig = {
|
|
1678
|
+
data?: RecommendAgentPolicyData;
|
|
1679
|
+
/**
|
|
1680
|
+
* @type object
|
|
1681
|
+
*/
|
|
1682
|
+
pathParams: {
|
|
1683
|
+
project_id: RecommendAgentPolicyPathProjectId;
|
|
1684
|
+
agent_id: RecommendAgentPolicyPathAgentId;
|
|
1685
|
+
};
|
|
1686
|
+
queryParams?: never;
|
|
1687
|
+
headerParams?: never;
|
|
1688
|
+
/**
|
|
1689
|
+
* @type string
|
|
1690
|
+
*/
|
|
1691
|
+
url: `/v1/projects/${string}/agents/${string}/policy-recommendation`;
|
|
1692
|
+
};
|
|
1693
|
+
/**
|
|
1694
|
+
* @type object
|
|
1695
|
+
*/
|
|
1696
|
+
type RecommendAgentPolicyResponses = {
|
|
1697
|
+
"200": RecommendAgentPolicyStatus200;
|
|
1698
|
+
"400": RecommendAgentPolicyStatus400;
|
|
1699
|
+
"401": RecommendAgentPolicyStatus401;
|
|
1700
|
+
"403": RecommendAgentPolicyStatus403;
|
|
1701
|
+
"404": RecommendAgentPolicyStatus404;
|
|
1702
|
+
"429": RecommendAgentPolicyStatus429;
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* @description Union of all possible responses
|
|
1706
|
+
*/
|
|
1707
|
+
type RecommendAgentPolicyResponse = (RecommendAgentPolicyStatus200 | RecommendAgentPolicyStatus400 | RecommendAgentPolicyStatus401 | RecommendAgentPolicyStatus403 | RecommendAgentPolicyStatus404 | RecommendAgentPolicyStatus429);
|
|
1708
|
+
|
|
1066
1709
|
/**
|
|
1067
1710
|
* Generated by Kubb (https://kubb.dev/).
|
|
1068
1711
|
* Do not edit manually.
|
|
@@ -4032,19 +4675,274 @@ type ListDatabasesRequestConfig = {
|
|
|
4032
4675
|
/**
|
|
4033
4676
|
* @type string
|
|
4034
4677
|
*/
|
|
4035
|
-
url: `/v1/projects/${string}/databases`;
|
|
4678
|
+
url: `/v1/projects/${string}/databases`;
|
|
4679
|
+
};
|
|
4680
|
+
/**
|
|
4681
|
+
* @type object
|
|
4682
|
+
*/
|
|
4683
|
+
type ListDatabasesResponses = {
|
|
4684
|
+
"200": ListDatabasesStatus200;
|
|
4685
|
+
"400": ListDatabasesStatus400;
|
|
4686
|
+
"401": ListDatabasesStatus401;
|
|
4687
|
+
"403": ListDatabasesStatus403;
|
|
4688
|
+
"404": ListDatabasesStatus404;
|
|
4689
|
+
"429": ListDatabasesStatus429;
|
|
4690
|
+
};
|
|
4691
|
+
|
|
4692
|
+
/**
|
|
4693
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4694
|
+
* Do not edit manually.
|
|
4695
|
+
*/
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* @description Request body for registering an upstream database.
|
|
4699
|
+
* @type object
|
|
4700
|
+
*/
|
|
4701
|
+
type CreateDatabaseRequest = {
|
|
4702
|
+
/**
|
|
4703
|
+
* @description PostgreSQL host.
|
|
4704
|
+
* @minLength 1
|
|
4705
|
+
* @pattern ^[^\s\x00]+$
|
|
4706
|
+
* @example db.example.com
|
|
4707
|
+
* @type string
|
|
4708
|
+
*/
|
|
4709
|
+
host: string;
|
|
4710
|
+
/**
|
|
4711
|
+
* @description PostgreSQL port.
|
|
4712
|
+
* @minLength 1
|
|
4713
|
+
* @maxLength 65535
|
|
4714
|
+
* @example 5432
|
|
4715
|
+
* @type integer
|
|
4716
|
+
*/
|
|
4717
|
+
port: number;
|
|
4718
|
+
/**
|
|
4719
|
+
* @description PostgreSQL database name.
|
|
4720
|
+
* @minLength 1
|
|
4721
|
+
* @pattern ^[^\x00]+$
|
|
4722
|
+
* @example mydb
|
|
4723
|
+
* @type string
|
|
4724
|
+
*/
|
|
4725
|
+
name: string;
|
|
4726
|
+
/**
|
|
4727
|
+
* @description PostgreSQL username.
|
|
4728
|
+
* @minLength 1
|
|
4729
|
+
* @pattern ^[^\x00]+$
|
|
4730
|
+
* @example pgbeam
|
|
4731
|
+
* @type string
|
|
4732
|
+
*/
|
|
4733
|
+
username: string;
|
|
4734
|
+
/**
|
|
4735
|
+
* @description PostgreSQL password. Stored encrypted at rest.
|
|
4736
|
+
* @minLength 1
|
|
4737
|
+
* @pattern ^[^\x00]+$
|
|
4738
|
+
* @type string
|
|
4739
|
+
*/
|
|
4740
|
+
password: string;
|
|
4741
|
+
/**
|
|
4742
|
+
* @description PostgreSQL SSL connection mode.
|
|
4743
|
+
* @example require
|
|
4744
|
+
* @type string | undefined
|
|
4745
|
+
*/
|
|
4746
|
+
ssl_mode?: SSLModeKey;
|
|
4747
|
+
/**
|
|
4748
|
+
* @description Database role. Primary receives writes, replicas receive reads.
|
|
4749
|
+
* @default "primary"
|
|
4750
|
+
* @type string | undefined
|
|
4751
|
+
*/
|
|
4752
|
+
role?: DatabaseRoleKey;
|
|
4753
|
+
/**
|
|
4754
|
+
* @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
|
|
4755
|
+
* @example us-east-1
|
|
4756
|
+
* @type string | undefined
|
|
4757
|
+
*/
|
|
4758
|
+
pool_region?: string;
|
|
4759
|
+
/**
|
|
4760
|
+
* @description Query timeout in milliseconds. 0 means disabled (default).\n
|
|
4761
|
+
* @minLength 0
|
|
4762
|
+
* @maxLength 300000
|
|
4763
|
+
* @default 0
|
|
4764
|
+
* @type integer | undefined
|
|
4765
|
+
*/
|
|
4766
|
+
query_timeout_ms?: number;
|
|
4767
|
+
/**
|
|
4768
|
+
* @description Auto-route SELECT queries to read replicas.\n
|
|
4769
|
+
* @default false
|
|
4770
|
+
* @type boolean | undefined
|
|
4771
|
+
*/
|
|
4772
|
+
auto_read_routing?: boolean;
|
|
4773
|
+
/**
|
|
4774
|
+
* @description Query cache configuration.
|
|
4775
|
+
* @type object | undefined
|
|
4776
|
+
*/
|
|
4777
|
+
cache_config?: CacheConfig;
|
|
4778
|
+
/**
|
|
4779
|
+
* @description Connection pool configuration.
|
|
4780
|
+
* @type object | undefined
|
|
4781
|
+
*/
|
|
4782
|
+
pool_config?: PoolConfig;
|
|
4783
|
+
};
|
|
4784
|
+
|
|
4785
|
+
/**
|
|
4786
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4787
|
+
* Do not edit manually.
|
|
4788
|
+
*/
|
|
4789
|
+
|
|
4790
|
+
/**
|
|
4791
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
4792
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4793
|
+
* @type string
|
|
4794
|
+
*/
|
|
4795
|
+
type CreateDatabasePathProjectId = string;
|
|
4796
|
+
/**
|
|
4797
|
+
* @description Registered upstream PostgreSQL database for a project.
|
|
4798
|
+
* @type object
|
|
4799
|
+
*/
|
|
4800
|
+
type CreateDatabaseStatus201 = Database;
|
|
4801
|
+
/**
|
|
4802
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4803
|
+
* @type object
|
|
4804
|
+
*/
|
|
4805
|
+
type CreateDatabaseStatus400 = Error$1;
|
|
4806
|
+
/**
|
|
4807
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4808
|
+
* @type object
|
|
4809
|
+
*/
|
|
4810
|
+
type CreateDatabaseStatus401 = Error$1;
|
|
4811
|
+
/**
|
|
4812
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4813
|
+
* @type object
|
|
4814
|
+
*/
|
|
4815
|
+
type CreateDatabaseStatus403 = Error$1;
|
|
4816
|
+
/**
|
|
4817
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4818
|
+
* @type object
|
|
4819
|
+
*/
|
|
4820
|
+
type CreateDatabaseStatus404 = Error$1;
|
|
4821
|
+
/**
|
|
4822
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4823
|
+
* @type object
|
|
4824
|
+
*/
|
|
4825
|
+
type CreateDatabaseStatus429 = Error$1;
|
|
4826
|
+
/**
|
|
4827
|
+
* @description Request body for registering an upstream database.
|
|
4828
|
+
* @type object
|
|
4829
|
+
*/
|
|
4830
|
+
type CreateDatabaseData = CreateDatabaseRequest;
|
|
4831
|
+
/**
|
|
4832
|
+
* @type object
|
|
4833
|
+
*/
|
|
4834
|
+
type CreateDatabaseRequestConfig = {
|
|
4835
|
+
data?: CreateDatabaseData;
|
|
4836
|
+
/**
|
|
4837
|
+
* @type object
|
|
4838
|
+
*/
|
|
4839
|
+
pathParams: {
|
|
4840
|
+
project_id: CreateDatabasePathProjectId;
|
|
4841
|
+
};
|
|
4842
|
+
queryParams?: never;
|
|
4843
|
+
headerParams?: never;
|
|
4844
|
+
/**
|
|
4845
|
+
* @type string
|
|
4846
|
+
*/
|
|
4847
|
+
url: `/v1/projects/${string}/databases`;
|
|
4848
|
+
};
|
|
4849
|
+
/**
|
|
4850
|
+
* @type object
|
|
4851
|
+
*/
|
|
4852
|
+
type CreateDatabaseResponses = {
|
|
4853
|
+
"201": CreateDatabaseStatus201;
|
|
4854
|
+
"400": CreateDatabaseStatus400;
|
|
4855
|
+
"401": CreateDatabaseStatus401;
|
|
4856
|
+
"403": CreateDatabaseStatus403;
|
|
4857
|
+
"404": CreateDatabaseStatus404;
|
|
4858
|
+
"429": CreateDatabaseStatus429;
|
|
4859
|
+
};
|
|
4860
|
+
/**
|
|
4861
|
+
* @description Union of all possible responses
|
|
4862
|
+
*/
|
|
4863
|
+
type CreateDatabaseResponse = (CreateDatabaseStatus201 | CreateDatabaseStatus400 | CreateDatabaseStatus401 | CreateDatabaseStatus403 | CreateDatabaseStatus404 | CreateDatabaseStatus429);
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4867
|
+
* Do not edit manually.
|
|
4868
|
+
*/
|
|
4869
|
+
|
|
4870
|
+
/**
|
|
4871
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
4872
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4873
|
+
* @type string
|
|
4874
|
+
*/
|
|
4875
|
+
type GetDatabasePathProjectId = string;
|
|
4876
|
+
/**
|
|
4877
|
+
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
4878
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4879
|
+
* @type string
|
|
4880
|
+
*/
|
|
4881
|
+
type GetDatabasePathDatabaseId = string;
|
|
4882
|
+
/**
|
|
4883
|
+
* @description Registered upstream PostgreSQL database for a project.
|
|
4884
|
+
* @type object
|
|
4885
|
+
*/
|
|
4886
|
+
type GetDatabaseStatus200 = Database;
|
|
4887
|
+
/**
|
|
4888
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4889
|
+
* @type object
|
|
4890
|
+
*/
|
|
4891
|
+
type GetDatabaseStatus400 = Error$1;
|
|
4892
|
+
/**
|
|
4893
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4894
|
+
* @type object
|
|
4895
|
+
*/
|
|
4896
|
+
type GetDatabaseStatus401 = Error$1;
|
|
4897
|
+
/**
|
|
4898
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4899
|
+
* @type object
|
|
4900
|
+
*/
|
|
4901
|
+
type GetDatabaseStatus403 = Error$1;
|
|
4902
|
+
/**
|
|
4903
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4904
|
+
* @type object
|
|
4905
|
+
*/
|
|
4906
|
+
type GetDatabaseStatus404 = Error$1;
|
|
4907
|
+
/**
|
|
4908
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
4909
|
+
* @type object
|
|
4910
|
+
*/
|
|
4911
|
+
type GetDatabaseStatus429 = Error$1;
|
|
4912
|
+
/**
|
|
4913
|
+
* @type object
|
|
4914
|
+
*/
|
|
4915
|
+
type GetDatabaseRequestConfig = {
|
|
4916
|
+
data?: never;
|
|
4917
|
+
/**
|
|
4918
|
+
* @type object
|
|
4919
|
+
*/
|
|
4920
|
+
pathParams: {
|
|
4921
|
+
project_id: GetDatabasePathProjectId;
|
|
4922
|
+
database_id: GetDatabasePathDatabaseId;
|
|
4923
|
+
};
|
|
4924
|
+
queryParams?: never;
|
|
4925
|
+
headerParams?: never;
|
|
4926
|
+
/**
|
|
4927
|
+
* @type string
|
|
4928
|
+
*/
|
|
4929
|
+
url: `/v1/projects/${string}/databases/${string}`;
|
|
4036
4930
|
};
|
|
4037
4931
|
/**
|
|
4038
4932
|
* @type object
|
|
4039
4933
|
*/
|
|
4040
|
-
type
|
|
4041
|
-
"200":
|
|
4042
|
-
"400":
|
|
4043
|
-
"401":
|
|
4044
|
-
"403":
|
|
4045
|
-
"404":
|
|
4046
|
-
"429":
|
|
4934
|
+
type GetDatabaseResponses = {
|
|
4935
|
+
"200": GetDatabaseStatus200;
|
|
4936
|
+
"400": GetDatabaseStatus400;
|
|
4937
|
+
"401": GetDatabaseStatus401;
|
|
4938
|
+
"403": GetDatabaseStatus403;
|
|
4939
|
+
"404": GetDatabaseStatus404;
|
|
4940
|
+
"429": GetDatabaseStatus429;
|
|
4047
4941
|
};
|
|
4942
|
+
/**
|
|
4943
|
+
* @description Union of all possible responses
|
|
4944
|
+
*/
|
|
4945
|
+
type GetDatabaseResponse = (GetDatabaseStatus200 | GetDatabaseStatus400 | GetDatabaseStatus401 | GetDatabaseStatus403 | GetDatabaseStatus404 | GetDatabaseStatus429);
|
|
4048
4946
|
|
|
4049
4947
|
/**
|
|
4050
4948
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4052,49 +4950,46 @@ type ListDatabasesResponses = {
|
|
|
4052
4950
|
*/
|
|
4053
4951
|
|
|
4054
4952
|
/**
|
|
4055
|
-
* @description Request body for
|
|
4953
|
+
* @description Request body for partially updating an upstream database.
|
|
4056
4954
|
* @type object
|
|
4057
4955
|
*/
|
|
4058
|
-
type
|
|
4956
|
+
type UpdateDatabaseRequest = {
|
|
4059
4957
|
/**
|
|
4060
|
-
* @description PostgreSQL host.
|
|
4958
|
+
* @description Updated PostgreSQL host.
|
|
4061
4959
|
* @minLength 1
|
|
4062
|
-
* @pattern ^[^\
|
|
4960
|
+
* @pattern ^[^\x00]+$
|
|
4063
4961
|
* @example db.example.com
|
|
4064
|
-
* @type string
|
|
4962
|
+
* @type string | undefined
|
|
4065
4963
|
*/
|
|
4066
|
-
host
|
|
4964
|
+
host?: string;
|
|
4067
4965
|
/**
|
|
4068
|
-
* @description PostgreSQL port.
|
|
4966
|
+
* @description Updated PostgreSQL port.
|
|
4069
4967
|
* @minLength 1
|
|
4070
4968
|
* @maxLength 65535
|
|
4071
4969
|
* @example 5432
|
|
4072
|
-
* @type integer
|
|
4970
|
+
* @type integer | undefined
|
|
4073
4971
|
*/
|
|
4074
|
-
port
|
|
4972
|
+
port?: number;
|
|
4075
4973
|
/**
|
|
4076
|
-
* @description PostgreSQL database name.
|
|
4077
|
-
* @
|
|
4078
|
-
* @pattern ^[^\x00]+$
|
|
4974
|
+
* @description Updated PostgreSQL database name.
|
|
4975
|
+
* @pattern ^[^\x00]*$
|
|
4079
4976
|
* @example mydb
|
|
4080
|
-
* @type string
|
|
4977
|
+
* @type string | undefined
|
|
4081
4978
|
*/
|
|
4082
|
-
name
|
|
4979
|
+
name?: string;
|
|
4083
4980
|
/**
|
|
4084
|
-
* @description PostgreSQL username.
|
|
4085
|
-
* @
|
|
4086
|
-
* @pattern ^[^\x00]+$
|
|
4981
|
+
* @description Updated PostgreSQL username.
|
|
4982
|
+
* @pattern ^[^\x00]*$
|
|
4087
4983
|
* @example pgbeam
|
|
4088
|
-
* @type string
|
|
4984
|
+
* @type string | undefined
|
|
4089
4985
|
*/
|
|
4090
|
-
username
|
|
4986
|
+
username?: string;
|
|
4091
4987
|
/**
|
|
4092
|
-
* @description PostgreSQL password.
|
|
4093
|
-
* @
|
|
4094
|
-
* @
|
|
4095
|
-
* @type string
|
|
4988
|
+
* @description Updated PostgreSQL password.
|
|
4989
|
+
* @pattern ^[^\x00]*$
|
|
4990
|
+
* @type string | undefined
|
|
4096
4991
|
*/
|
|
4097
|
-
password
|
|
4992
|
+
password?: string;
|
|
4098
4993
|
/**
|
|
4099
4994
|
* @description PostgreSQL SSL connection mode.
|
|
4100
4995
|
* @example require
|
|
@@ -4114,16 +5009,14 @@ type CreateDatabaseRequest = {
|
|
|
4114
5009
|
*/
|
|
4115
5010
|
pool_region?: string;
|
|
4116
5011
|
/**
|
|
4117
|
-
* @description Query timeout in milliseconds. 0 means disabled
|
|
5012
|
+
* @description Query timeout in milliseconds. 0 means disabled.\n
|
|
4118
5013
|
* @minLength 0
|
|
4119
5014
|
* @maxLength 300000
|
|
4120
|
-
* @default 0
|
|
4121
5015
|
* @type integer | undefined
|
|
4122
5016
|
*/
|
|
4123
5017
|
query_timeout_ms?: number;
|
|
4124
5018
|
/**
|
|
4125
5019
|
* @description Auto-route SELECT queries to read replicas.\n
|
|
4126
|
-
* @default false
|
|
4127
5020
|
* @type boolean | undefined
|
|
4128
5021
|
*/
|
|
4129
5022
|
auto_read_routing?: boolean;
|
|
@@ -4149,75 +5042,82 @@ type CreateDatabaseRequest = {
|
|
|
4149
5042
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4150
5043
|
* @type string
|
|
4151
5044
|
*/
|
|
4152
|
-
type
|
|
5045
|
+
type UpdateDatabasePathProjectId = string;
|
|
5046
|
+
/**
|
|
5047
|
+
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
5048
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5049
|
+
* @type string
|
|
5050
|
+
*/
|
|
5051
|
+
type UpdateDatabasePathDatabaseId = string;
|
|
4153
5052
|
/**
|
|
4154
5053
|
* @description Registered upstream PostgreSQL database for a project.
|
|
4155
5054
|
* @type object
|
|
4156
5055
|
*/
|
|
4157
|
-
type
|
|
5056
|
+
type UpdateDatabaseStatus200 = Database;
|
|
4158
5057
|
/**
|
|
4159
5058
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4160
5059
|
* @type object
|
|
4161
5060
|
*/
|
|
4162
|
-
type
|
|
5061
|
+
type UpdateDatabaseStatus400 = Error$1;
|
|
4163
5062
|
/**
|
|
4164
5063
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4165
5064
|
* @type object
|
|
4166
5065
|
*/
|
|
4167
|
-
type
|
|
5066
|
+
type UpdateDatabaseStatus401 = Error$1;
|
|
4168
5067
|
/**
|
|
4169
5068
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4170
5069
|
* @type object
|
|
4171
5070
|
*/
|
|
4172
|
-
type
|
|
5071
|
+
type UpdateDatabaseStatus403 = Error$1;
|
|
4173
5072
|
/**
|
|
4174
5073
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4175
5074
|
* @type object
|
|
4176
5075
|
*/
|
|
4177
|
-
type
|
|
5076
|
+
type UpdateDatabaseStatus404 = Error$1;
|
|
4178
5077
|
/**
|
|
4179
5078
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4180
5079
|
* @type object
|
|
4181
5080
|
*/
|
|
4182
|
-
type
|
|
5081
|
+
type UpdateDatabaseStatus429 = Error$1;
|
|
4183
5082
|
/**
|
|
4184
|
-
* @description Request body for
|
|
5083
|
+
* @description Request body for partially updating an upstream database.
|
|
4185
5084
|
* @type object
|
|
4186
5085
|
*/
|
|
4187
|
-
type
|
|
5086
|
+
type UpdateDatabaseData = UpdateDatabaseRequest;
|
|
4188
5087
|
/**
|
|
4189
5088
|
* @type object
|
|
4190
5089
|
*/
|
|
4191
|
-
type
|
|
4192
|
-
data?:
|
|
5090
|
+
type UpdateDatabaseRequestConfig = {
|
|
5091
|
+
data?: UpdateDatabaseData;
|
|
4193
5092
|
/**
|
|
4194
5093
|
* @type object
|
|
4195
5094
|
*/
|
|
4196
5095
|
pathParams: {
|
|
4197
|
-
project_id:
|
|
5096
|
+
project_id: UpdateDatabasePathProjectId;
|
|
5097
|
+
database_id: UpdateDatabasePathDatabaseId;
|
|
4198
5098
|
};
|
|
4199
5099
|
queryParams?: never;
|
|
4200
5100
|
headerParams?: never;
|
|
4201
5101
|
/**
|
|
4202
5102
|
* @type string
|
|
4203
5103
|
*/
|
|
4204
|
-
url: `/v1/projects/${string}/databases`;
|
|
5104
|
+
url: `/v1/projects/${string}/databases/${string}`;
|
|
4205
5105
|
};
|
|
4206
5106
|
/**
|
|
4207
5107
|
* @type object
|
|
4208
5108
|
*/
|
|
4209
|
-
type
|
|
4210
|
-
"
|
|
4211
|
-
"400":
|
|
4212
|
-
"401":
|
|
4213
|
-
"403":
|
|
4214
|
-
"404":
|
|
4215
|
-
"429":
|
|
5109
|
+
type UpdateDatabaseResponses = {
|
|
5110
|
+
"200": UpdateDatabaseStatus200;
|
|
5111
|
+
"400": UpdateDatabaseStatus400;
|
|
5112
|
+
"401": UpdateDatabaseStatus401;
|
|
5113
|
+
"403": UpdateDatabaseStatus403;
|
|
5114
|
+
"404": UpdateDatabaseStatus404;
|
|
5115
|
+
"429": UpdateDatabaseStatus429;
|
|
4216
5116
|
};
|
|
4217
5117
|
/**
|
|
4218
5118
|
* @description Union of all possible responses
|
|
4219
5119
|
*/
|
|
4220
|
-
type
|
|
5120
|
+
type UpdateDatabaseResponse = (UpdateDatabaseStatus200 | UpdateDatabaseStatus400 | UpdateDatabaseStatus401 | UpdateDatabaseStatus403 | UpdateDatabaseStatus404 | UpdateDatabaseStatus429);
|
|
4221
5121
|
|
|
4222
5122
|
/**
|
|
4223
5123
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4229,54 +5129,53 @@ type CreateDatabaseResponse = (CreateDatabaseStatus201 | CreateDatabaseStatus400
|
|
|
4229
5129
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4230
5130
|
* @type string
|
|
4231
5131
|
*/
|
|
4232
|
-
type
|
|
5132
|
+
type DeleteDatabasePathProjectId = string;
|
|
4233
5133
|
/**
|
|
4234
5134
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
4235
5135
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4236
5136
|
* @type string
|
|
4237
5137
|
*/
|
|
4238
|
-
type
|
|
5138
|
+
type DeleteDatabasePathDatabaseId = string;
|
|
4239
5139
|
/**
|
|
4240
|
-
* @
|
|
4241
|
-
* @type object
|
|
5140
|
+
* @type any
|
|
4242
5141
|
*/
|
|
4243
|
-
type
|
|
5142
|
+
type DeleteDatabaseStatus204 = any;
|
|
4244
5143
|
/**
|
|
4245
5144
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4246
5145
|
* @type object
|
|
4247
5146
|
*/
|
|
4248
|
-
type
|
|
5147
|
+
type DeleteDatabaseStatus400 = Error$1;
|
|
4249
5148
|
/**
|
|
4250
5149
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4251
5150
|
* @type object
|
|
4252
5151
|
*/
|
|
4253
|
-
type
|
|
5152
|
+
type DeleteDatabaseStatus401 = Error$1;
|
|
4254
5153
|
/**
|
|
4255
5154
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4256
5155
|
* @type object
|
|
4257
5156
|
*/
|
|
4258
|
-
type
|
|
5157
|
+
type DeleteDatabaseStatus403 = Error$1;
|
|
4259
5158
|
/**
|
|
4260
5159
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4261
5160
|
* @type object
|
|
4262
5161
|
*/
|
|
4263
|
-
type
|
|
5162
|
+
type DeleteDatabaseStatus404 = Error$1;
|
|
4264
5163
|
/**
|
|
4265
5164
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4266
5165
|
* @type object
|
|
4267
5166
|
*/
|
|
4268
|
-
type
|
|
5167
|
+
type DeleteDatabaseStatus429 = Error$1;
|
|
4269
5168
|
/**
|
|
4270
5169
|
* @type object
|
|
4271
5170
|
*/
|
|
4272
|
-
type
|
|
5171
|
+
type DeleteDatabaseRequestConfig = {
|
|
4273
5172
|
data?: never;
|
|
4274
5173
|
/**
|
|
4275
5174
|
* @type object
|
|
4276
5175
|
*/
|
|
4277
5176
|
pathParams: {
|
|
4278
|
-
project_id:
|
|
4279
|
-
database_id:
|
|
5177
|
+
project_id: DeleteDatabasePathProjectId;
|
|
5178
|
+
database_id: DeleteDatabasePathDatabaseId;
|
|
4280
5179
|
};
|
|
4281
5180
|
queryParams?: never;
|
|
4282
5181
|
headerParams?: never;
|
|
@@ -4288,105 +5187,260 @@ type GetDatabaseRequestConfig = {
|
|
|
4288
5187
|
/**
|
|
4289
5188
|
* @type object
|
|
4290
5189
|
*/
|
|
4291
|
-
type
|
|
4292
|
-
"
|
|
4293
|
-
"400":
|
|
4294
|
-
"401":
|
|
4295
|
-
"403":
|
|
4296
|
-
"404":
|
|
4297
|
-
"429":
|
|
5190
|
+
type DeleteDatabaseResponses = {
|
|
5191
|
+
"204": DeleteDatabaseStatus204;
|
|
5192
|
+
"400": DeleteDatabaseStatus400;
|
|
5193
|
+
"401": DeleteDatabaseStatus401;
|
|
5194
|
+
"403": DeleteDatabaseStatus403;
|
|
5195
|
+
"404": DeleteDatabaseStatus404;
|
|
5196
|
+
"429": DeleteDatabaseStatus429;
|
|
5197
|
+
};
|
|
5198
|
+
/**
|
|
5199
|
+
* @description Union of all possible responses
|
|
5200
|
+
*/
|
|
5201
|
+
type DeleteDatabaseResponse = (DeleteDatabaseStatus204 | DeleteDatabaseStatus400 | DeleteDatabaseStatus401 | DeleteDatabaseStatus403 | DeleteDatabaseStatus404 | DeleteDatabaseStatus429);
|
|
5202
|
+
|
|
5203
|
+
/**
|
|
5204
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5205
|
+
* Do not edit manually.
|
|
5206
|
+
*/
|
|
5207
|
+
/**
|
|
5208
|
+
* @description Result of testing connectivity to an upstream database.
|
|
5209
|
+
* @type object
|
|
5210
|
+
*/
|
|
5211
|
+
type TestConnectionResult = {
|
|
5212
|
+
/**
|
|
5213
|
+
* @description Whether the connection test succeeded.
|
|
5214
|
+
* @type boolean
|
|
5215
|
+
*/
|
|
5216
|
+
ok: boolean;
|
|
5217
|
+
/**
|
|
5218
|
+
* @description Round-trip connection time in milliseconds.
|
|
5219
|
+
* @type number
|
|
5220
|
+
*/
|
|
5221
|
+
latency_ms?: number | null;
|
|
5222
|
+
/**
|
|
5223
|
+
* @description Error message if the connection test failed.
|
|
5224
|
+
* @type string | undefined
|
|
5225
|
+
*/
|
|
5226
|
+
error?: string;
|
|
5227
|
+
/**
|
|
5228
|
+
* @description PostgreSQL server version string, if available.
|
|
5229
|
+
* @type string | undefined
|
|
5230
|
+
*/
|
|
5231
|
+
server_version?: string;
|
|
5232
|
+
};
|
|
5233
|
+
|
|
5234
|
+
/**
|
|
5235
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5236
|
+
* Do not edit manually.
|
|
5237
|
+
*/
|
|
5238
|
+
|
|
5239
|
+
/**
|
|
5240
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
5241
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5242
|
+
* @type string
|
|
5243
|
+
*/
|
|
5244
|
+
type TestDatabaseConnectionPathProjectId = string;
|
|
5245
|
+
/**
|
|
5246
|
+
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
5247
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5248
|
+
* @type string
|
|
5249
|
+
*/
|
|
5250
|
+
type TestDatabaseConnectionPathDatabaseId = string;
|
|
5251
|
+
/**
|
|
5252
|
+
* @description Result of testing connectivity to an upstream database.
|
|
5253
|
+
* @type object
|
|
5254
|
+
*/
|
|
5255
|
+
type TestDatabaseConnectionStatus200 = TestConnectionResult;
|
|
5256
|
+
/**
|
|
5257
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5258
|
+
* @type object
|
|
5259
|
+
*/
|
|
5260
|
+
type TestDatabaseConnectionStatus400 = Error$1;
|
|
5261
|
+
/**
|
|
5262
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5263
|
+
* @type object
|
|
5264
|
+
*/
|
|
5265
|
+
type TestDatabaseConnectionStatus401 = Error$1;
|
|
5266
|
+
/**
|
|
5267
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5268
|
+
* @type object
|
|
5269
|
+
*/
|
|
5270
|
+
type TestDatabaseConnectionStatus403 = Error$1;
|
|
5271
|
+
/**
|
|
5272
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5273
|
+
* @type object
|
|
5274
|
+
*/
|
|
5275
|
+
type TestDatabaseConnectionStatus404 = Error$1;
|
|
5276
|
+
/**
|
|
5277
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5278
|
+
* @type object
|
|
5279
|
+
*/
|
|
5280
|
+
type TestDatabaseConnectionStatus429 = Error$1;
|
|
5281
|
+
/**
|
|
5282
|
+
* @type object
|
|
5283
|
+
*/
|
|
5284
|
+
type TestDatabaseConnectionRequestConfig = {
|
|
5285
|
+
data?: never;
|
|
5286
|
+
/**
|
|
5287
|
+
* @type object
|
|
5288
|
+
*/
|
|
5289
|
+
pathParams: {
|
|
5290
|
+
project_id: TestDatabaseConnectionPathProjectId;
|
|
5291
|
+
database_id: TestDatabaseConnectionPathDatabaseId;
|
|
5292
|
+
};
|
|
5293
|
+
queryParams?: never;
|
|
5294
|
+
headerParams?: never;
|
|
5295
|
+
/**
|
|
5296
|
+
* @type string
|
|
5297
|
+
*/
|
|
5298
|
+
url: `/v1/projects/${string}/databases/${string}/test-connection`;
|
|
5299
|
+
};
|
|
5300
|
+
/**
|
|
5301
|
+
* @type object
|
|
5302
|
+
*/
|
|
5303
|
+
type TestDatabaseConnectionResponses = {
|
|
5304
|
+
"200": TestDatabaseConnectionStatus200;
|
|
5305
|
+
"400": TestDatabaseConnectionStatus400;
|
|
5306
|
+
"401": TestDatabaseConnectionStatus401;
|
|
5307
|
+
"403": TestDatabaseConnectionStatus403;
|
|
5308
|
+
"404": TestDatabaseConnectionStatus404;
|
|
5309
|
+
"429": TestDatabaseConnectionStatus429;
|
|
4298
5310
|
};
|
|
4299
5311
|
/**
|
|
4300
5312
|
* @description Union of all possible responses
|
|
4301
5313
|
*/
|
|
4302
|
-
type
|
|
5314
|
+
type TestDatabaseConnectionResponse = (TestDatabaseConnectionStatus200 | TestDatabaseConnectionStatus400 | TestDatabaseConnectionStatus401 | TestDatabaseConnectionStatus403 | TestDatabaseConnectionStatus404 | TestDatabaseConnectionStatus429);
|
|
4303
5315
|
|
|
4304
5316
|
/**
|
|
4305
5317
|
* Generated by Kubb (https://kubb.dev/).
|
|
4306
5318
|
* Do not edit manually.
|
|
4307
5319
|
*/
|
|
4308
|
-
|
|
5320
|
+
declare const piiSuggestionPiiTypeEnum: {
|
|
5321
|
+
readonly email: "email";
|
|
5322
|
+
readonly phone: "phone";
|
|
5323
|
+
readonly ssn: "ssn";
|
|
5324
|
+
readonly credit_card: "credit_card";
|
|
5325
|
+
readonly ip_address: "ip_address";
|
|
5326
|
+
readonly full_name: "full_name";
|
|
5327
|
+
readonly street_address: "street_address";
|
|
5328
|
+
readonly date_of_birth: "date_of_birth";
|
|
5329
|
+
readonly national_id: "national_id";
|
|
5330
|
+
readonly passport: "passport";
|
|
5331
|
+
readonly bank_account: "bank_account";
|
|
5332
|
+
readonly api_secret: "api_secret";
|
|
5333
|
+
readonly other: "other";
|
|
5334
|
+
};
|
|
5335
|
+
type PiiSuggestionPiiTypeEnumKey = (typeof piiSuggestionPiiTypeEnum)[keyof typeof piiSuggestionPiiTypeEnum];
|
|
5336
|
+
declare const piiSuggestionMaskKindEnum: {
|
|
5337
|
+
readonly redact: "redact";
|
|
5338
|
+
readonly null: "null";
|
|
5339
|
+
readonly hash: "hash";
|
|
5340
|
+
};
|
|
5341
|
+
type PiiSuggestionMaskKindEnumKey = (typeof piiSuggestionMaskKindEnum)[keyof typeof piiSuggestionMaskKindEnum];
|
|
4309
5342
|
/**
|
|
4310
|
-
* @description
|
|
5343
|
+
* @description A single likely-PII column detected by the scanner, with a recommended masking rule. Suggestions are advisory only — nothing is applied until the operator reviews and adds it to a policy profile.
|
|
4311
5344
|
* @type object
|
|
4312
5345
|
*/
|
|
4313
|
-
type
|
|
5346
|
+
type PiiSuggestion = {
|
|
4314
5347
|
/**
|
|
4315
|
-
* @description
|
|
4316
|
-
* @
|
|
4317
|
-
* @
|
|
4318
|
-
* @example db.example.com
|
|
4319
|
-
* @type string | undefined
|
|
5348
|
+
* @description Schema the column belongs to (e.g. \"public\").
|
|
5349
|
+
* @example public
|
|
5350
|
+
* @type string
|
|
4320
5351
|
*/
|
|
4321
|
-
|
|
5352
|
+
schema: string;
|
|
4322
5353
|
/**
|
|
4323
|
-
* @description
|
|
4324
|
-
* @
|
|
4325
|
-
* @
|
|
4326
|
-
* @example 5432
|
|
4327
|
-
* @type integer | undefined
|
|
5354
|
+
* @description Table the column belongs to.
|
|
5355
|
+
* @example users
|
|
5356
|
+
* @type string
|
|
4328
5357
|
*/
|
|
4329
|
-
|
|
5358
|
+
table: string;
|
|
4330
5359
|
/**
|
|
4331
|
-
* @description
|
|
4332
|
-
* @
|
|
4333
|
-
* @
|
|
4334
|
-
* @type string | undefined
|
|
5360
|
+
* @description The detected column name.
|
|
5361
|
+
* @example email
|
|
5362
|
+
* @type string
|
|
4335
5363
|
*/
|
|
4336
|
-
|
|
5364
|
+
column: string;
|
|
4337
5365
|
/**
|
|
4338
|
-
* @description
|
|
4339
|
-
* @
|
|
4340
|
-
* @
|
|
4341
|
-
* @type string | undefined
|
|
5366
|
+
* @description PostgreSQL data type of the column.
|
|
5367
|
+
* @example text
|
|
5368
|
+
* @type string
|
|
4342
5369
|
*/
|
|
4343
|
-
|
|
5370
|
+
data_type: string;
|
|
4344
5371
|
/**
|
|
4345
|
-
* @description
|
|
4346
|
-
* @
|
|
4347
|
-
* @type string | undefined
|
|
5372
|
+
* @description The kind of personally identifiable information detected.
|
|
5373
|
+
* @type string
|
|
4348
5374
|
*/
|
|
4349
|
-
|
|
5375
|
+
pii_type: PiiSuggestionPiiTypeEnumKey;
|
|
4350
5376
|
/**
|
|
4351
|
-
* @description
|
|
4352
|
-
* @
|
|
4353
|
-
* @type string | undefined
|
|
5377
|
+
* @description Recommended masking kind for this column. hash is suggested for join/group keys (e.g. email), redact for free-text PII, null for highly sensitive secrets.
|
|
5378
|
+
* @type string
|
|
4354
5379
|
*/
|
|
4355
|
-
|
|
5380
|
+
mask_kind: PiiSuggestionMaskKindEnumKey;
|
|
4356
5381
|
/**
|
|
4357
|
-
* @description
|
|
4358
|
-
* @
|
|
4359
|
-
* @type
|
|
5382
|
+
* @description Confidence score in [0,1]. Combines column-name signal and sampled-value signal; higher is stronger evidence.
|
|
5383
|
+
* @example 0.95
|
|
5384
|
+
* @type number
|
|
4360
5385
|
*/
|
|
4361
|
-
|
|
5386
|
+
confidence: number;
|
|
4362
5387
|
/**
|
|
4363
|
-
* @description
|
|
4364
|
-
* @example
|
|
4365
|
-
* @type
|
|
5388
|
+
* @description Human-readable explanations for why the column was flagged.
|
|
5389
|
+
* @example column name matches 'email',8/10 sampled values look like emails
|
|
5390
|
+
* @type array
|
|
4366
5391
|
*/
|
|
4367
|
-
|
|
5392
|
+
reasons: string[];
|
|
4368
5393
|
/**
|
|
4369
|
-
* @description
|
|
5394
|
+
* @description Number of sampled non-null values that matched the PII pattern.
|
|
4370
5395
|
* @minLength 0
|
|
4371
|
-
* @maxLength 300000
|
|
4372
5396
|
* @type integer | undefined
|
|
4373
5397
|
*/
|
|
4374
|
-
|
|
5398
|
+
sample_match_count?: number;
|
|
4375
5399
|
/**
|
|
4376
|
-
* @description
|
|
4377
|
-
* @
|
|
5400
|
+
* @description Number of non-null values sampled from the column.
|
|
5401
|
+
* @minLength 0
|
|
5402
|
+
* @type integer | undefined
|
|
4378
5403
|
*/
|
|
4379
|
-
|
|
5404
|
+
sample_size?: number;
|
|
5405
|
+
};
|
|
5406
|
+
|
|
5407
|
+
/**
|
|
5408
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5409
|
+
* Do not edit manually.
|
|
5410
|
+
*/
|
|
5411
|
+
|
|
5412
|
+
/**
|
|
5413
|
+
* @description Result of a PII detection scan over a database\'s schema.
|
|
5414
|
+
* @type object
|
|
5415
|
+
*/
|
|
5416
|
+
type ScanPiiResult = {
|
|
4380
5417
|
/**
|
|
4381
|
-
* @description
|
|
4382
|
-
* @
|
|
5418
|
+
* @description Number of tables inspected.
|
|
5419
|
+
* @minLength 0
|
|
5420
|
+
* @type integer
|
|
4383
5421
|
*/
|
|
4384
|
-
|
|
5422
|
+
scanned_tables: number;
|
|
4385
5423
|
/**
|
|
4386
|
-
* @description
|
|
4387
|
-
* @
|
|
5424
|
+
* @description Number of columns inspected.
|
|
5425
|
+
* @minLength 0
|
|
5426
|
+
* @type integer
|
|
4388
5427
|
*/
|
|
4389
|
-
|
|
5428
|
+
scanned_columns: number;
|
|
5429
|
+
/**
|
|
5430
|
+
* @description Ranked masking suggestions, highest confidence first. Empty when no likely-PII columns were found.
|
|
5431
|
+
* @type array
|
|
5432
|
+
*/
|
|
5433
|
+
suggestions: PiiSuggestion[];
|
|
5434
|
+
/**
|
|
5435
|
+
* @description True when the scan stopped early at the column limit and some columns were not inspected.
|
|
5436
|
+
* @type boolean | undefined
|
|
5437
|
+
*/
|
|
5438
|
+
truncated?: boolean;
|
|
5439
|
+
/**
|
|
5440
|
+
* @description Present when the scan failed to connect or read the schema.
|
|
5441
|
+
* @type string | undefined
|
|
5442
|
+
*/
|
|
5443
|
+
error?: string;
|
|
4390
5444
|
};
|
|
4391
5445
|
|
|
4392
5446
|
/**
|
|
@@ -4399,193 +5453,184 @@ type UpdateDatabaseRequest = {
|
|
|
4399
5453
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4400
5454
|
* @type string
|
|
4401
5455
|
*/
|
|
4402
|
-
type
|
|
5456
|
+
type ScanDatabaseForPiiPathProjectId = string;
|
|
4403
5457
|
/**
|
|
4404
5458
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
4405
5459
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4406
5460
|
* @type string
|
|
4407
5461
|
*/
|
|
4408
|
-
type
|
|
5462
|
+
type ScanDatabaseForPiiPathDatabaseId = string;
|
|
4409
5463
|
/**
|
|
4410
|
-
* @description
|
|
5464
|
+
* @description Result of a PII detection scan over a database\'s schema.
|
|
4411
5465
|
* @type object
|
|
4412
5466
|
*/
|
|
4413
|
-
type
|
|
5467
|
+
type ScanDatabaseForPiiStatus200 = ScanPiiResult;
|
|
4414
5468
|
/**
|
|
4415
5469
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4416
5470
|
* @type object
|
|
4417
5471
|
*/
|
|
4418
|
-
type
|
|
5472
|
+
type ScanDatabaseForPiiStatus400 = Error$1;
|
|
4419
5473
|
/**
|
|
4420
5474
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4421
5475
|
* @type object
|
|
4422
5476
|
*/
|
|
4423
|
-
type
|
|
5477
|
+
type ScanDatabaseForPiiStatus401 = Error$1;
|
|
4424
5478
|
/**
|
|
4425
5479
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4426
5480
|
* @type object
|
|
4427
5481
|
*/
|
|
4428
|
-
type
|
|
5482
|
+
type ScanDatabaseForPiiStatus403 = Error$1;
|
|
4429
5483
|
/**
|
|
4430
5484
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4431
5485
|
* @type object
|
|
4432
5486
|
*/
|
|
4433
|
-
type
|
|
5487
|
+
type ScanDatabaseForPiiStatus404 = Error$1;
|
|
4434
5488
|
/**
|
|
4435
5489
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4436
5490
|
* @type object
|
|
4437
5491
|
*/
|
|
4438
|
-
type
|
|
4439
|
-
/**
|
|
4440
|
-
* @description Request body for partially updating an upstream database.
|
|
4441
|
-
* @type object
|
|
4442
|
-
*/
|
|
4443
|
-
type UpdateDatabaseData = UpdateDatabaseRequest;
|
|
5492
|
+
type ScanDatabaseForPiiStatus429 = Error$1;
|
|
4444
5493
|
/**
|
|
4445
5494
|
* @type object
|
|
4446
5495
|
*/
|
|
4447
|
-
type
|
|
4448
|
-
data?:
|
|
5496
|
+
type ScanDatabaseForPiiRequestConfig = {
|
|
5497
|
+
data?: never;
|
|
4449
5498
|
/**
|
|
4450
5499
|
* @type object
|
|
4451
5500
|
*/
|
|
4452
5501
|
pathParams: {
|
|
4453
|
-
project_id:
|
|
4454
|
-
database_id:
|
|
5502
|
+
project_id: ScanDatabaseForPiiPathProjectId;
|
|
5503
|
+
database_id: ScanDatabaseForPiiPathDatabaseId;
|
|
4455
5504
|
};
|
|
4456
5505
|
queryParams?: never;
|
|
4457
5506
|
headerParams?: never;
|
|
4458
5507
|
/**
|
|
4459
5508
|
* @type string
|
|
4460
5509
|
*/
|
|
4461
|
-
url: `/v1/projects/${string}/databases/${string}`;
|
|
5510
|
+
url: `/v1/projects/${string}/databases/${string}/scan-pii`;
|
|
4462
5511
|
};
|
|
4463
5512
|
/**
|
|
4464
5513
|
* @type object
|
|
4465
5514
|
*/
|
|
4466
|
-
type
|
|
4467
|
-
"200":
|
|
4468
|
-
"400":
|
|
4469
|
-
"401":
|
|
4470
|
-
"403":
|
|
4471
|
-
"404":
|
|
4472
|
-
"429":
|
|
5515
|
+
type ScanDatabaseForPiiResponses = {
|
|
5516
|
+
"200": ScanDatabaseForPiiStatus200;
|
|
5517
|
+
"400": ScanDatabaseForPiiStatus400;
|
|
5518
|
+
"401": ScanDatabaseForPiiStatus401;
|
|
5519
|
+
"403": ScanDatabaseForPiiStatus403;
|
|
5520
|
+
"404": ScanDatabaseForPiiStatus404;
|
|
5521
|
+
"429": ScanDatabaseForPiiStatus429;
|
|
4473
5522
|
};
|
|
4474
5523
|
/**
|
|
4475
5524
|
* @description Union of all possible responses
|
|
4476
5525
|
*/
|
|
4477
|
-
type
|
|
5526
|
+
type ScanDatabaseForPiiResponse = (ScanDatabaseForPiiStatus200 | ScanDatabaseForPiiStatus400 | ScanDatabaseForPiiStatus401 | ScanDatabaseForPiiStatus403 | ScanDatabaseForPiiStatus404 | ScanDatabaseForPiiStatus429);
|
|
4478
5527
|
|
|
4479
5528
|
/**
|
|
4480
5529
|
* Generated by Kubb (https://kubb.dev/).
|
|
4481
5530
|
* Do not edit manually.
|
|
4482
5531
|
*/
|
|
4483
|
-
|
|
4484
|
-
/**
|
|
4485
|
-
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
4486
|
-
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4487
|
-
* @type string
|
|
4488
|
-
*/
|
|
4489
|
-
type DeleteDatabasePathProjectId = string;
|
|
4490
|
-
/**
|
|
4491
|
-
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
4492
|
-
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4493
|
-
* @type string
|
|
4494
|
-
*/
|
|
4495
|
-
type DeleteDatabasePathDatabaseId = string;
|
|
4496
|
-
/**
|
|
4497
|
-
* @type any
|
|
4498
|
-
*/
|
|
4499
|
-
type DeleteDatabaseStatus204 = any;
|
|
4500
|
-
/**
|
|
4501
|
-
* @description Standard error response envelope for PgBeam API requests.
|
|
4502
|
-
* @type object
|
|
4503
|
-
*/
|
|
4504
|
-
type DeleteDatabaseStatus400 = Error$1;
|
|
4505
|
-
/**
|
|
4506
|
-
* @description Standard error response envelope for PgBeam API requests.
|
|
4507
|
-
* @type object
|
|
4508
|
-
*/
|
|
4509
|
-
type DeleteDatabaseStatus401 = Error$1;
|
|
4510
|
-
/**
|
|
4511
|
-
* @description Standard error response envelope for PgBeam API requests.
|
|
4512
|
-
* @type object
|
|
4513
|
-
*/
|
|
4514
|
-
type DeleteDatabaseStatus403 = Error$1;
|
|
4515
|
-
/**
|
|
4516
|
-
* @description Standard error response envelope for PgBeam API requests.
|
|
4517
|
-
* @type object
|
|
4518
|
-
*/
|
|
4519
|
-
type DeleteDatabaseStatus404 = Error$1;
|
|
4520
|
-
/**
|
|
4521
|
-
* @description Standard error response envelope for PgBeam API requests.
|
|
4522
|
-
* @type object
|
|
4523
|
-
*/
|
|
4524
|
-
type DeleteDatabaseStatus429 = Error$1;
|
|
4525
5532
|
/**
|
|
5533
|
+
* @description One column of a relation in the schema catalog.
|
|
4526
5534
|
* @type object
|
|
4527
5535
|
*/
|
|
4528
|
-
type
|
|
4529
|
-
data?: never;
|
|
5536
|
+
type SchemaCatalogColumn = {
|
|
4530
5537
|
/**
|
|
4531
|
-
* @
|
|
5538
|
+
* @description Column name.
|
|
5539
|
+
* @example email
|
|
5540
|
+
* @type string
|
|
4532
5541
|
*/
|
|
4533
|
-
|
|
4534
|
-
project_id: DeleteDatabasePathProjectId;
|
|
4535
|
-
database_id: DeleteDatabasePathDatabaseId;
|
|
4536
|
-
};
|
|
4537
|
-
queryParams?: never;
|
|
4538
|
-
headerParams?: never;
|
|
5542
|
+
name: string;
|
|
4539
5543
|
/**
|
|
5544
|
+
* @description PostgreSQL data type (information_schema.data_type).
|
|
5545
|
+
* @example text
|
|
4540
5546
|
* @type string
|
|
4541
5547
|
*/
|
|
4542
|
-
|
|
5548
|
+
data_type: string;
|
|
5549
|
+
/**
|
|
5550
|
+
* @description True for binary-typed columns (e.g. bytea). Masking a binary column always returns NULL — a redact/hash token would corrupt the wire type — so the editor warns when a masking rule targets one.
|
|
5551
|
+
* @type boolean
|
|
5552
|
+
*/
|
|
5553
|
+
is_binary: boolean;
|
|
4543
5554
|
};
|
|
5555
|
+
|
|
4544
5556
|
/**
|
|
4545
|
-
|
|
5557
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5558
|
+
* Do not edit manually.
|
|
4546
5559
|
*/
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4551
|
-
"
|
|
4552
|
-
"
|
|
4553
|
-
"429": DeleteDatabaseStatus429;
|
|
5560
|
+
|
|
5561
|
+
declare const schemaCatalogRelationKindEnum: {
|
|
5562
|
+
readonly table: "table";
|
|
5563
|
+
readonly view: "view";
|
|
5564
|
+
readonly materialized_view: "materialized_view";
|
|
5565
|
+
readonly other: "other";
|
|
4554
5566
|
};
|
|
5567
|
+
type SchemaCatalogRelationKindEnumKey = (typeof schemaCatalogRelationKindEnum)[keyof typeof schemaCatalogRelationKindEnum];
|
|
4555
5568
|
/**
|
|
4556
|
-
* @description
|
|
5569
|
+
* @description One relation (base table or view) in the schema catalog.
|
|
5570
|
+
* @type object
|
|
4557
5571
|
*/
|
|
4558
|
-
type
|
|
5572
|
+
type SchemaCatalogRelation = {
|
|
5573
|
+
/**
|
|
5574
|
+
* @description Schema the relation belongs to.
|
|
5575
|
+
* @example public
|
|
5576
|
+
* @type string
|
|
5577
|
+
*/
|
|
5578
|
+
schema: string;
|
|
5579
|
+
/**
|
|
5580
|
+
* @description Relation name.
|
|
5581
|
+
* @example users
|
|
5582
|
+
* @type string
|
|
5583
|
+
*/
|
|
5584
|
+
name: string;
|
|
5585
|
+
/**
|
|
5586
|
+
* @description Relation kind. Allowlists, masking, and row-filters are enforced against the named relation itself, NOT through a view to its base tables — so a view over a row-filtered base table can leak. The editor warns when a policy entry targets a view.
|
|
5587
|
+
* @type string
|
|
5588
|
+
*/
|
|
5589
|
+
kind: SchemaCatalogRelationKindEnumKey;
|
|
5590
|
+
/**
|
|
5591
|
+
* @description The relation\'s columns.
|
|
5592
|
+
* @type array
|
|
5593
|
+
*/
|
|
5594
|
+
columns: SchemaCatalogColumn[];
|
|
5595
|
+
};
|
|
4559
5596
|
|
|
4560
5597
|
/**
|
|
4561
5598
|
* Generated by Kubb (https://kubb.dev/).
|
|
4562
5599
|
* Do not edit manually.
|
|
4563
5600
|
*/
|
|
5601
|
+
|
|
4564
5602
|
/**
|
|
4565
|
-
* @description
|
|
5603
|
+
* @description A read-only snapshot of a database\'s user relations (tables and views) and their columns, used to power table/column autocomplete and view-aware warnings in the policy editor. System schemas (pg_catalog, information_schema, pg_toast) are excluded.
|
|
4566
5604
|
* @type object
|
|
4567
5605
|
*/
|
|
4568
|
-
type
|
|
5606
|
+
type SchemaCatalog = {
|
|
4569
5607
|
/**
|
|
4570
|
-
* @description
|
|
4571
|
-
* @type
|
|
5608
|
+
* @description User relations, ordered by schema then name.
|
|
5609
|
+
* @type array
|
|
4572
5610
|
*/
|
|
4573
|
-
|
|
5611
|
+
relations: SchemaCatalogRelation[];
|
|
4574
5612
|
/**
|
|
4575
|
-
* @description
|
|
4576
|
-
* @
|
|
5613
|
+
* @description Number of relations in the catalog.
|
|
5614
|
+
* @minLength 0
|
|
5615
|
+
* @type integer
|
|
4577
5616
|
*/
|
|
4578
|
-
|
|
5617
|
+
scanned_relations: number;
|
|
4579
5618
|
/**
|
|
4580
|
-
* @description
|
|
4581
|
-
* @
|
|
5619
|
+
* @description Number of columns in the catalog.
|
|
5620
|
+
* @minLength 0
|
|
5621
|
+
* @type integer
|
|
4582
5622
|
*/
|
|
4583
|
-
|
|
5623
|
+
scanned_columns: number;
|
|
4584
5624
|
/**
|
|
4585
|
-
* @description
|
|
5625
|
+
* @description True when the catalog stopped early at the column limit.
|
|
5626
|
+
* @type boolean | undefined
|
|
5627
|
+
*/
|
|
5628
|
+
truncated?: boolean;
|
|
5629
|
+
/**
|
|
5630
|
+
* @description Present when introspection failed to connect or read the schema.
|
|
4586
5631
|
* @type string | undefined
|
|
4587
5632
|
*/
|
|
4588
|
-
|
|
5633
|
+
error?: string;
|
|
4589
5634
|
};
|
|
4590
5635
|
|
|
4591
5636
|
/**
|
|
@@ -4598,167 +5643,188 @@ type TestConnectionResult = {
|
|
|
4598
5643
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4599
5644
|
* @type string
|
|
4600
5645
|
*/
|
|
4601
|
-
type
|
|
5646
|
+
type GetSchemaCatalogPathProjectId = string;
|
|
4602
5647
|
/**
|
|
4603
5648
|
* @description Unique database identifier (prefixed, e.g. db_xxx).
|
|
4604
5649
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4605
5650
|
* @type string
|
|
4606
5651
|
*/
|
|
4607
|
-
type
|
|
5652
|
+
type GetSchemaCatalogPathDatabaseId = string;
|
|
4608
5653
|
/**
|
|
4609
|
-
* @description
|
|
5654
|
+
* @description A read-only snapshot of a database\'s user relations (tables and views) and their columns, used to power table/column autocomplete and view-aware warnings in the policy editor. System schemas (pg_catalog, information_schema, pg_toast) are excluded.
|
|
4610
5655
|
* @type object
|
|
4611
5656
|
*/
|
|
4612
|
-
type
|
|
5657
|
+
type GetSchemaCatalogStatus200 = SchemaCatalog;
|
|
4613
5658
|
/**
|
|
4614
5659
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4615
5660
|
* @type object
|
|
4616
5661
|
*/
|
|
4617
|
-
type
|
|
5662
|
+
type GetSchemaCatalogStatus400 = Error$1;
|
|
4618
5663
|
/**
|
|
4619
5664
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4620
5665
|
* @type object
|
|
4621
5666
|
*/
|
|
4622
|
-
type
|
|
5667
|
+
type GetSchemaCatalogStatus401 = Error$1;
|
|
4623
5668
|
/**
|
|
4624
5669
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4625
5670
|
* @type object
|
|
4626
5671
|
*/
|
|
4627
|
-
type
|
|
5672
|
+
type GetSchemaCatalogStatus403 = Error$1;
|
|
4628
5673
|
/**
|
|
4629
5674
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4630
5675
|
* @type object
|
|
4631
5676
|
*/
|
|
4632
|
-
type
|
|
5677
|
+
type GetSchemaCatalogStatus404 = Error$1;
|
|
4633
5678
|
/**
|
|
4634
5679
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4635
5680
|
* @type object
|
|
4636
5681
|
*/
|
|
4637
|
-
type
|
|
5682
|
+
type GetSchemaCatalogStatus429 = Error$1;
|
|
4638
5683
|
/**
|
|
4639
5684
|
* @type object
|
|
4640
5685
|
*/
|
|
4641
|
-
type
|
|
5686
|
+
type GetSchemaCatalogRequestConfig = {
|
|
4642
5687
|
data?: never;
|
|
4643
5688
|
/**
|
|
4644
5689
|
* @type object
|
|
4645
5690
|
*/
|
|
4646
5691
|
pathParams: {
|
|
4647
|
-
project_id:
|
|
4648
|
-
database_id:
|
|
5692
|
+
project_id: GetSchemaCatalogPathProjectId;
|
|
5693
|
+
database_id: GetSchemaCatalogPathDatabaseId;
|
|
4649
5694
|
};
|
|
4650
5695
|
queryParams?: never;
|
|
4651
5696
|
headerParams?: never;
|
|
4652
5697
|
/**
|
|
4653
5698
|
* @type string
|
|
4654
5699
|
*/
|
|
4655
|
-
url: `/v1/projects/${string}/databases/${string}/
|
|
5700
|
+
url: `/v1/projects/${string}/databases/${string}/schema-catalog`;
|
|
4656
5701
|
};
|
|
4657
5702
|
/**
|
|
4658
5703
|
* @type object
|
|
4659
5704
|
*/
|
|
4660
|
-
type
|
|
4661
|
-
"200":
|
|
4662
|
-
"400":
|
|
4663
|
-
"401":
|
|
4664
|
-
"403":
|
|
4665
|
-
"404":
|
|
4666
|
-
"429":
|
|
5705
|
+
type GetSchemaCatalogResponses = {
|
|
5706
|
+
"200": GetSchemaCatalogStatus200;
|
|
5707
|
+
"400": GetSchemaCatalogStatus400;
|
|
5708
|
+
"401": GetSchemaCatalogStatus401;
|
|
5709
|
+
"403": GetSchemaCatalogStatus403;
|
|
5710
|
+
"404": GetSchemaCatalogStatus404;
|
|
5711
|
+
"429": GetSchemaCatalogStatus429;
|
|
4667
5712
|
};
|
|
4668
5713
|
/**
|
|
4669
5714
|
* @description Union of all possible responses
|
|
4670
5715
|
*/
|
|
4671
|
-
type
|
|
5716
|
+
type GetSchemaCatalogResponse = (GetSchemaCatalogStatus200 | GetSchemaCatalogStatus400 | GetSchemaCatalogStatus401 | GetSchemaCatalogStatus403 | GetSchemaCatalogStatus404 | GetSchemaCatalogStatus429);
|
|
4672
5717
|
|
|
4673
5718
|
/**
|
|
4674
5719
|
* Generated by Kubb (https://kubb.dev/).
|
|
4675
5720
|
* Do not edit manually.
|
|
4676
5721
|
*/
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
5722
|
+
/**
|
|
5723
|
+
* @description DNS records the user needs to create for domain verification.
|
|
5724
|
+
* @type object
|
|
5725
|
+
*/
|
|
5726
|
+
type DnsInstructions = {
|
|
5727
|
+
/**
|
|
5728
|
+
* @description The CNAME record host.
|
|
5729
|
+
* @example db.example.com
|
|
5730
|
+
* @type string | undefined
|
|
5731
|
+
*/
|
|
5732
|
+
cname_host?: string;
|
|
5733
|
+
/**
|
|
5734
|
+
* @description The CNAME record target.
|
|
5735
|
+
* @example abc.proxy.pgbeam.app
|
|
5736
|
+
* @type string | undefined
|
|
5737
|
+
*/
|
|
5738
|
+
cname_target?: string;
|
|
5739
|
+
/**
|
|
5740
|
+
* @description The TXT record host for verification.
|
|
5741
|
+
* @example _pgbeam-verify.db.example.com
|
|
5742
|
+
* @type string | undefined
|
|
5743
|
+
*/
|
|
5744
|
+
txt_host?: string;
|
|
5745
|
+
/**
|
|
5746
|
+
* @description The TXT record value for verification.
|
|
5747
|
+
* @example pgbeam-verify=abc123token
|
|
5748
|
+
* @type string | undefined
|
|
5749
|
+
*/
|
|
5750
|
+
txt_value?: string;
|
|
5751
|
+
/**
|
|
5752
|
+
* @description The CNAME record host for ACME TLS certificate issuance.
|
|
5753
|
+
* @example _acme-challenge.db.example.com
|
|
5754
|
+
* @type string | undefined
|
|
5755
|
+
*/
|
|
5756
|
+
acme_cname_host?: string;
|
|
5757
|
+
/**
|
|
5758
|
+
* @description The CNAME target for ACME challenge delegation.
|
|
5759
|
+
* @example _acme-challenge.abc.proxy.pgbeam.app
|
|
5760
|
+
* @type string | undefined
|
|
5761
|
+
*/
|
|
5762
|
+
acme_cname_target?: string;
|
|
4697
5763
|
};
|
|
4698
|
-
|
|
5764
|
+
|
|
4699
5765
|
/**
|
|
4700
|
-
|
|
5766
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5767
|
+
* Do not edit manually.
|
|
5768
|
+
*/
|
|
5769
|
+
|
|
5770
|
+
/**
|
|
5771
|
+
* @description Custom database hostname attached to a project.
|
|
4701
5772
|
* @type object
|
|
4702
5773
|
*/
|
|
4703
|
-
type
|
|
5774
|
+
type CustomDomain = {
|
|
4704
5775
|
/**
|
|
4705
|
-
* @description
|
|
4706
|
-
* @example
|
|
5776
|
+
* @description Unique domain identifier (prefixed).
|
|
5777
|
+
* @example dom_01h455vb4pex5vsknk084sn02q
|
|
4707
5778
|
* @type string
|
|
4708
5779
|
*/
|
|
4709
|
-
|
|
5780
|
+
id: string;
|
|
4710
5781
|
/**
|
|
4711
|
-
* @description
|
|
4712
|
-
* @example
|
|
5782
|
+
* @description Owning project ID.
|
|
5783
|
+
* @example prj_01h455vb4pex5vsknk084sn02q
|
|
4713
5784
|
* @type string
|
|
4714
5785
|
*/
|
|
4715
|
-
|
|
5786
|
+
project_id: string;
|
|
4716
5787
|
/**
|
|
4717
|
-
* @description The
|
|
4718
|
-
* @example
|
|
5788
|
+
* @description The custom domain name.
|
|
5789
|
+
* @example db.example.com
|
|
4719
5790
|
* @type string
|
|
4720
5791
|
*/
|
|
4721
|
-
|
|
5792
|
+
domain: string;
|
|
4722
5793
|
/**
|
|
4723
|
-
* @description
|
|
4724
|
-
* @
|
|
4725
|
-
* @type string
|
|
5794
|
+
* @description Whether DNS ownership has been verified.
|
|
5795
|
+
* @type boolean
|
|
4726
5796
|
*/
|
|
4727
|
-
|
|
5797
|
+
verified: boolean;
|
|
4728
5798
|
/**
|
|
4729
|
-
* @description
|
|
5799
|
+
* @description When DNS verification was completed.
|
|
4730
5800
|
* @type string
|
|
4731
5801
|
*/
|
|
4732
|
-
|
|
5802
|
+
verified_at?: string | null;
|
|
4733
5803
|
/**
|
|
4734
|
-
* @description
|
|
5804
|
+
* @description When the TLS certificate expires.
|
|
4735
5805
|
* @type string
|
|
4736
5806
|
*/
|
|
4737
|
-
|
|
5807
|
+
tls_cert_expiry?: string | null;
|
|
4738
5808
|
/**
|
|
4739
|
-
* @description
|
|
4740
|
-
* @
|
|
4741
|
-
* @type number
|
|
5809
|
+
* @description Token value for the DNS TXT record verification.
|
|
5810
|
+
* @type string
|
|
4742
5811
|
*/
|
|
4743
|
-
|
|
5812
|
+
dns_verification_token: string;
|
|
4744
5813
|
/**
|
|
4745
|
-
* @description
|
|
4746
|
-
* @
|
|
4747
|
-
* @type array
|
|
5814
|
+
* @description DNS records the user needs to create for domain verification.
|
|
5815
|
+
* @type object | undefined
|
|
4748
5816
|
*/
|
|
4749
|
-
|
|
5817
|
+
dns_instructions?: DnsInstructions;
|
|
4750
5818
|
/**
|
|
4751
|
-
* @description
|
|
4752
|
-
* @
|
|
4753
|
-
* @type integer | undefined
|
|
5819
|
+
* @description When the custom domain was created.
|
|
5820
|
+
* @type string
|
|
4754
5821
|
*/
|
|
4755
|
-
|
|
5822
|
+
created_at: string;
|
|
4756
5823
|
/**
|
|
4757
|
-
* @description
|
|
4758
|
-
* @
|
|
4759
|
-
* @type integer | undefined
|
|
5824
|
+
* @description When the custom domain was last updated.
|
|
5825
|
+
* @type string
|
|
4760
5826
|
*/
|
|
4761
|
-
|
|
5827
|
+
updated_at: string;
|
|
4762
5828
|
};
|
|
4763
5829
|
|
|
4764
5830
|
/**
|
|
@@ -4767,37 +5833,20 @@ type PiiSuggestion = {
|
|
|
4767
5833
|
*/
|
|
4768
5834
|
|
|
4769
5835
|
/**
|
|
4770
|
-
* @description
|
|
5836
|
+
* @description Cursor-paginated list of custom domains for a project.
|
|
4771
5837
|
* @type object
|
|
4772
5838
|
*/
|
|
4773
|
-
type
|
|
4774
|
-
/**
|
|
4775
|
-
* @description Number of tables inspected.
|
|
4776
|
-
* @minLength 0
|
|
4777
|
-
* @type integer
|
|
4778
|
-
*/
|
|
4779
|
-
scanned_tables: number;
|
|
4780
|
-
/**
|
|
4781
|
-
* @description Number of columns inspected.
|
|
4782
|
-
* @minLength 0
|
|
4783
|
-
* @type integer
|
|
4784
|
-
*/
|
|
4785
|
-
scanned_columns: number;
|
|
5839
|
+
type ListCustomDomainsResponse = {
|
|
4786
5840
|
/**
|
|
4787
|
-
* @description
|
|
5841
|
+
* @description Custom domains on the current page.
|
|
4788
5842
|
* @type array
|
|
4789
5843
|
*/
|
|
4790
|
-
|
|
4791
|
-
/**
|
|
4792
|
-
* @description True when the scan stopped early at the column limit and some columns were not inspected.
|
|
4793
|
-
* @type boolean | undefined
|
|
4794
|
-
*/
|
|
4795
|
-
truncated?: boolean;
|
|
5844
|
+
domains: CustomDomain[];
|
|
4796
5845
|
/**
|
|
4797
|
-
* @description
|
|
5846
|
+
* @description Token for the next page. Empty if no more results.
|
|
4798
5847
|
* @type string | undefined
|
|
4799
5848
|
*/
|
|
4800
|
-
|
|
5849
|
+
next_page_token?: string;
|
|
4801
5850
|
};
|
|
4802
5851
|
|
|
4803
5852
|
/**
|
|
@@ -4810,146 +5859,273 @@ type ScanPiiResult = {
|
|
|
4810
5859
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4811
5860
|
* @type string
|
|
4812
5861
|
*/
|
|
4813
|
-
type
|
|
5862
|
+
type ListCustomDomainsPathProjectId = string;
|
|
4814
5863
|
/**
|
|
4815
|
-
* @description
|
|
5864
|
+
* @description Maximum number of items to return (1-100, default 20).
|
|
5865
|
+
* @minLength 1
|
|
5866
|
+
* @maxLength 100
|
|
5867
|
+
* @default 20
|
|
5868
|
+
* @type integer | undefined
|
|
5869
|
+
*/
|
|
5870
|
+
type ListCustomDomainsQueryPageSize = number | undefined;
|
|
5871
|
+
/**
|
|
5872
|
+
* @description Opaque token for cursor-based pagination.
|
|
4816
5873
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
4817
|
-
* @type string
|
|
5874
|
+
* @type string | undefined
|
|
4818
5875
|
*/
|
|
4819
|
-
type
|
|
5876
|
+
type ListCustomDomainsQueryPageToken = string | undefined;
|
|
4820
5877
|
/**
|
|
4821
|
-
* @description
|
|
5878
|
+
* @description Cursor-paginated list of custom domains for a project.
|
|
4822
5879
|
* @type object
|
|
4823
5880
|
*/
|
|
4824
|
-
type
|
|
5881
|
+
type ListCustomDomainsStatus200 = ListCustomDomainsResponse;
|
|
4825
5882
|
/**
|
|
4826
5883
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4827
5884
|
* @type object
|
|
4828
5885
|
*/
|
|
4829
|
-
type
|
|
5886
|
+
type ListCustomDomainsStatus400 = Error$1;
|
|
4830
5887
|
/**
|
|
4831
5888
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4832
5889
|
* @type object
|
|
4833
5890
|
*/
|
|
4834
|
-
type
|
|
5891
|
+
type ListCustomDomainsStatus401 = Error$1;
|
|
4835
5892
|
/**
|
|
4836
5893
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4837
5894
|
* @type object
|
|
4838
5895
|
*/
|
|
4839
|
-
type
|
|
5896
|
+
type ListCustomDomainsStatus403 = Error$1;
|
|
4840
5897
|
/**
|
|
4841
5898
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4842
5899
|
* @type object
|
|
4843
5900
|
*/
|
|
4844
|
-
type
|
|
5901
|
+
type ListCustomDomainsStatus404 = Error$1;
|
|
4845
5902
|
/**
|
|
4846
5903
|
* @description Standard error response envelope for PgBeam API requests.
|
|
4847
5904
|
* @type object
|
|
4848
5905
|
*/
|
|
4849
|
-
type
|
|
5906
|
+
type ListCustomDomainsStatus429 = Error$1;
|
|
4850
5907
|
/**
|
|
4851
5908
|
* @type object
|
|
4852
5909
|
*/
|
|
4853
|
-
type
|
|
5910
|
+
type ListCustomDomainsRequestConfig = {
|
|
4854
5911
|
data?: never;
|
|
4855
5912
|
/**
|
|
4856
5913
|
* @type object
|
|
4857
5914
|
*/
|
|
4858
5915
|
pathParams: {
|
|
4859
|
-
project_id:
|
|
4860
|
-
|
|
5916
|
+
project_id: ListCustomDomainsPathProjectId;
|
|
5917
|
+
};
|
|
5918
|
+
/**
|
|
5919
|
+
* @type object | undefined
|
|
5920
|
+
*/
|
|
5921
|
+
queryParams?: {
|
|
5922
|
+
page_size?: ListCustomDomainsQueryPageSize;
|
|
5923
|
+
page_token?: ListCustomDomainsQueryPageToken;
|
|
4861
5924
|
};
|
|
4862
|
-
queryParams?: never;
|
|
4863
5925
|
headerParams?: never;
|
|
4864
5926
|
/**
|
|
4865
5927
|
* @type string
|
|
4866
5928
|
*/
|
|
4867
|
-
url: `/v1/projects/${string}/
|
|
5929
|
+
url: `/v1/projects/${string}/domains`;
|
|
4868
5930
|
};
|
|
4869
5931
|
/**
|
|
4870
5932
|
* @type object
|
|
4871
5933
|
*/
|
|
4872
|
-
type
|
|
4873
|
-
"200":
|
|
4874
|
-
"400":
|
|
4875
|
-
"401":
|
|
4876
|
-
"403":
|
|
4877
|
-
"404":
|
|
4878
|
-
"429":
|
|
5934
|
+
type ListCustomDomainsResponses = {
|
|
5935
|
+
"200": ListCustomDomainsStatus200;
|
|
5936
|
+
"400": ListCustomDomainsStatus400;
|
|
5937
|
+
"401": ListCustomDomainsStatus401;
|
|
5938
|
+
"403": ListCustomDomainsStatus403;
|
|
5939
|
+
"404": ListCustomDomainsStatus404;
|
|
5940
|
+
"429": ListCustomDomainsStatus429;
|
|
4879
5941
|
};
|
|
4880
|
-
/**
|
|
4881
|
-
* @description Union of all possible responses
|
|
4882
|
-
*/
|
|
4883
|
-
type ScanDatabaseForPiiResponse = (ScanDatabaseForPiiStatus200 | ScanDatabaseForPiiStatus400 | ScanDatabaseForPiiStatus401 | ScanDatabaseForPiiStatus403 | ScanDatabaseForPiiStatus404 | ScanDatabaseForPiiStatus429);
|
|
4884
5942
|
|
|
4885
5943
|
/**
|
|
4886
5944
|
* Generated by Kubb (https://kubb.dev/).
|
|
4887
5945
|
* Do not edit manually.
|
|
4888
5946
|
*/
|
|
4889
5947
|
/**
|
|
4890
|
-
* @description
|
|
5948
|
+
* @description Request body for attaching a custom domain to a project.
|
|
4891
5949
|
* @type object
|
|
4892
5950
|
*/
|
|
4893
|
-
type
|
|
5951
|
+
type CreateCustomDomainRequest = {
|
|
4894
5952
|
/**
|
|
4895
|
-
* @description
|
|
4896
|
-
* @
|
|
5953
|
+
* @description The custom domain name to add (e.g., db.example.com).
|
|
5954
|
+
* @minLength 1
|
|
5955
|
+
* @maxLength 253
|
|
5956
|
+
* @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])?)*$
|
|
5957
|
+
* @example db.example.com
|
|
4897
5958
|
* @type string
|
|
4898
5959
|
*/
|
|
4899
|
-
|
|
5960
|
+
domain: string;
|
|
5961
|
+
};
|
|
5962
|
+
|
|
5963
|
+
/**
|
|
5964
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5965
|
+
* Do not edit manually.
|
|
5966
|
+
*/
|
|
5967
|
+
|
|
5968
|
+
/**
|
|
5969
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
5970
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5971
|
+
* @type string
|
|
5972
|
+
*/
|
|
5973
|
+
type CreateCustomDomainPathProjectId = string;
|
|
5974
|
+
/**
|
|
5975
|
+
* @description Custom database hostname attached to a project.
|
|
5976
|
+
* @type object
|
|
5977
|
+
*/
|
|
5978
|
+
type CreateCustomDomainStatus201 = CustomDomain;
|
|
5979
|
+
/**
|
|
5980
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5981
|
+
* @type object
|
|
5982
|
+
*/
|
|
5983
|
+
type CreateCustomDomainStatus400 = Error$1;
|
|
5984
|
+
/**
|
|
5985
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5986
|
+
* @type object
|
|
5987
|
+
*/
|
|
5988
|
+
type CreateCustomDomainStatus401 = Error$1;
|
|
5989
|
+
/**
|
|
5990
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5991
|
+
* @type object
|
|
5992
|
+
*/
|
|
5993
|
+
type CreateCustomDomainStatus403 = Error$1;
|
|
5994
|
+
/**
|
|
5995
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5996
|
+
* @type object
|
|
5997
|
+
*/
|
|
5998
|
+
type CreateCustomDomainStatus404 = Error$1;
|
|
5999
|
+
/**
|
|
6000
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6001
|
+
* @type object
|
|
6002
|
+
*/
|
|
6003
|
+
type CreateCustomDomainStatus409 = Error$1;
|
|
6004
|
+
/**
|
|
6005
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6006
|
+
* @type object
|
|
6007
|
+
*/
|
|
6008
|
+
type CreateCustomDomainStatus429 = Error$1;
|
|
6009
|
+
/**
|
|
6010
|
+
* @description Request body for attaching a custom domain to a project.
|
|
6011
|
+
* @type object
|
|
6012
|
+
*/
|
|
6013
|
+
type CreateCustomDomainData = CreateCustomDomainRequest;
|
|
6014
|
+
/**
|
|
6015
|
+
* @type object
|
|
6016
|
+
*/
|
|
6017
|
+
type CreateCustomDomainRequestConfig = {
|
|
6018
|
+
data?: CreateCustomDomainData;
|
|
4900
6019
|
/**
|
|
4901
|
-
* @
|
|
4902
|
-
* @example text
|
|
4903
|
-
* @type string
|
|
6020
|
+
* @type object
|
|
4904
6021
|
*/
|
|
4905
|
-
|
|
6022
|
+
pathParams: {
|
|
6023
|
+
project_id: CreateCustomDomainPathProjectId;
|
|
6024
|
+
};
|
|
6025
|
+
queryParams?: never;
|
|
6026
|
+
headerParams?: never;
|
|
4906
6027
|
/**
|
|
4907
|
-
* @
|
|
4908
|
-
* @type boolean
|
|
6028
|
+
* @type string
|
|
4909
6029
|
*/
|
|
4910
|
-
|
|
6030
|
+
url: `/v1/projects/${string}/domains`;
|
|
6031
|
+
};
|
|
6032
|
+
/**
|
|
6033
|
+
* @type object
|
|
6034
|
+
*/
|
|
6035
|
+
type CreateCustomDomainResponses = {
|
|
6036
|
+
"201": CreateCustomDomainStatus201;
|
|
6037
|
+
"400": CreateCustomDomainStatus400;
|
|
6038
|
+
"401": CreateCustomDomainStatus401;
|
|
6039
|
+
"403": CreateCustomDomainStatus403;
|
|
6040
|
+
"404": CreateCustomDomainStatus404;
|
|
6041
|
+
"409": CreateCustomDomainStatus409;
|
|
6042
|
+
"429": CreateCustomDomainStatus429;
|
|
4911
6043
|
};
|
|
6044
|
+
/**
|
|
6045
|
+
* @description Union of all possible responses
|
|
6046
|
+
*/
|
|
6047
|
+
type CreateCustomDomainResponse = (CreateCustomDomainStatus201 | CreateCustomDomainStatus400 | CreateCustomDomainStatus401 | CreateCustomDomainStatus403 | CreateCustomDomainStatus404 | CreateCustomDomainStatus409 | CreateCustomDomainStatus429);
|
|
4912
6048
|
|
|
4913
6049
|
/**
|
|
4914
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4915
|
-
* Do not edit manually.
|
|
6050
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
6051
|
+
* Do not edit manually.
|
|
6052
|
+
*/
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
6056
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
6057
|
+
* @type string
|
|
6058
|
+
*/
|
|
6059
|
+
type DeleteCustomDomainPathProjectId = string;
|
|
6060
|
+
/**
|
|
6061
|
+
* @description Unique custom domain identifier (prefixed, e.g. dom_xxx).
|
|
6062
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
6063
|
+
* @type string
|
|
6064
|
+
*/
|
|
6065
|
+
type DeleteCustomDomainPathDomainId = string;
|
|
6066
|
+
/**
|
|
6067
|
+
* @type any
|
|
6068
|
+
*/
|
|
6069
|
+
type DeleteCustomDomainStatus204 = any;
|
|
6070
|
+
/**
|
|
6071
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6072
|
+
* @type object
|
|
6073
|
+
*/
|
|
6074
|
+
type DeleteCustomDomainStatus400 = Error$1;
|
|
6075
|
+
/**
|
|
6076
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6077
|
+
* @type object
|
|
6078
|
+
*/
|
|
6079
|
+
type DeleteCustomDomainStatus401 = Error$1;
|
|
6080
|
+
/**
|
|
6081
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6082
|
+
* @type object
|
|
6083
|
+
*/
|
|
6084
|
+
type DeleteCustomDomainStatus403 = Error$1;
|
|
6085
|
+
/**
|
|
6086
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6087
|
+
* @type object
|
|
6088
|
+
*/
|
|
6089
|
+
type DeleteCustomDomainStatus404 = Error$1;
|
|
6090
|
+
/**
|
|
6091
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6092
|
+
* @type object
|
|
4916
6093
|
*/
|
|
4917
|
-
|
|
4918
|
-
declare const schemaCatalogRelationKindEnum: {
|
|
4919
|
-
readonly table: "table";
|
|
4920
|
-
readonly view: "view";
|
|
4921
|
-
readonly materialized_view: "materialized_view";
|
|
4922
|
-
readonly other: "other";
|
|
4923
|
-
};
|
|
4924
|
-
type SchemaCatalogRelationKindEnumKey = (typeof schemaCatalogRelationKindEnum)[keyof typeof schemaCatalogRelationKindEnum];
|
|
6094
|
+
type DeleteCustomDomainStatus429 = Error$1;
|
|
4925
6095
|
/**
|
|
4926
|
-
* @description One relation (base table or view) in the schema catalog.
|
|
4927
6096
|
* @type object
|
|
4928
6097
|
*/
|
|
4929
|
-
type
|
|
4930
|
-
|
|
4931
|
-
* @description Schema the relation belongs to.
|
|
4932
|
-
* @example public
|
|
4933
|
-
* @type string
|
|
4934
|
-
*/
|
|
4935
|
-
schema: string;
|
|
6098
|
+
type DeleteCustomDomainRequestConfig = {
|
|
6099
|
+
data?: never;
|
|
4936
6100
|
/**
|
|
4937
|
-
* @
|
|
4938
|
-
* @example users
|
|
4939
|
-
* @type string
|
|
6101
|
+
* @type object
|
|
4940
6102
|
*/
|
|
4941
|
-
|
|
6103
|
+
pathParams: {
|
|
6104
|
+
project_id: DeleteCustomDomainPathProjectId;
|
|
6105
|
+
domain_id: DeleteCustomDomainPathDomainId;
|
|
6106
|
+
};
|
|
6107
|
+
queryParams?: never;
|
|
6108
|
+
headerParams?: never;
|
|
4942
6109
|
/**
|
|
4943
|
-
* @description Relation kind. Allowlists, masking, and row-filters are enforced against the named relation itself, NOT through a view to its base tables — so a view over a row-filtered base table can leak. The editor warns when a policy entry targets a view.
|
|
4944
6110
|
* @type string
|
|
4945
6111
|
*/
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
6112
|
+
url: `/v1/projects/${string}/domains/${string}`;
|
|
6113
|
+
};
|
|
6114
|
+
/**
|
|
6115
|
+
* @type object
|
|
6116
|
+
*/
|
|
6117
|
+
type DeleteCustomDomainResponses = {
|
|
6118
|
+
"204": DeleteCustomDomainStatus204;
|
|
6119
|
+
"400": DeleteCustomDomainStatus400;
|
|
6120
|
+
"401": DeleteCustomDomainStatus401;
|
|
6121
|
+
"403": DeleteCustomDomainStatus403;
|
|
6122
|
+
"404": DeleteCustomDomainStatus404;
|
|
6123
|
+
"429": DeleteCustomDomainStatus429;
|
|
4952
6124
|
};
|
|
6125
|
+
/**
|
|
6126
|
+
* @description Union of all possible responses
|
|
6127
|
+
*/
|
|
6128
|
+
type DeleteCustomDomainResponse = (DeleteCustomDomainStatus204 | DeleteCustomDomainStatus400 | DeleteCustomDomainStatus401 | DeleteCustomDomainStatus403 | DeleteCustomDomainStatus404 | DeleteCustomDomainStatus429);
|
|
4953
6129
|
|
|
4954
6130
|
/**
|
|
4955
6131
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4957,37 +6133,25 @@ type SchemaCatalogRelation = {
|
|
|
4957
6133
|
*/
|
|
4958
6134
|
|
|
4959
6135
|
/**
|
|
4960
|
-
* @description
|
|
6136
|
+
* @description Result of checking DNS ownership for a custom domain.
|
|
4961
6137
|
* @type object
|
|
4962
6138
|
*/
|
|
4963
|
-
type
|
|
4964
|
-
/**
|
|
4965
|
-
* @description User relations, ordered by schema then name.
|
|
4966
|
-
* @type array
|
|
4967
|
-
*/
|
|
4968
|
-
relations: SchemaCatalogRelation[];
|
|
4969
|
-
/**
|
|
4970
|
-
* @description Number of relations in the catalog.
|
|
4971
|
-
* @minLength 0
|
|
4972
|
-
* @type integer
|
|
4973
|
-
*/
|
|
4974
|
-
scanned_relations: number;
|
|
4975
|
-
/**
|
|
4976
|
-
* @description Number of columns in the catalog.
|
|
4977
|
-
* @minLength 0
|
|
4978
|
-
* @type integer
|
|
4979
|
-
*/
|
|
4980
|
-
scanned_columns: number;
|
|
6139
|
+
type VerifyCustomDomainResponse = {
|
|
4981
6140
|
/**
|
|
4982
|
-
* @description
|
|
4983
|
-
* @type boolean
|
|
6141
|
+
* @description Whether DNS verification succeeded.
|
|
6142
|
+
* @type boolean
|
|
4984
6143
|
*/
|
|
4985
|
-
|
|
6144
|
+
verified: boolean;
|
|
4986
6145
|
/**
|
|
4987
|
-
* @description
|
|
6146
|
+
* @description Error message if verification failed.
|
|
4988
6147
|
* @type string | undefined
|
|
4989
6148
|
*/
|
|
4990
6149
|
error?: string;
|
|
6150
|
+
/**
|
|
6151
|
+
* @description Custom database hostname attached to a project.
|
|
6152
|
+
* @type object | undefined
|
|
6153
|
+
*/
|
|
6154
|
+
domain?: CustomDomain;
|
|
4991
6155
|
};
|
|
4992
6156
|
|
|
4993
6157
|
/**
|
|
@@ -5000,123 +6164,110 @@ type SchemaCatalog = {
|
|
|
5000
6164
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5001
6165
|
* @type string
|
|
5002
6166
|
*/
|
|
5003
|
-
type
|
|
6167
|
+
type VerifyCustomDomainPathProjectId = string;
|
|
5004
6168
|
/**
|
|
5005
|
-
* @description Unique
|
|
6169
|
+
* @description Unique custom domain identifier (prefixed, e.g. dom_xxx).
|
|
5006
6170
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5007
6171
|
* @type string
|
|
5008
6172
|
*/
|
|
5009
|
-
type
|
|
6173
|
+
type VerifyCustomDomainPathDomainId = string;
|
|
5010
6174
|
/**
|
|
5011
|
-
* @description
|
|
6175
|
+
* @description Result of checking DNS ownership for a custom domain.
|
|
5012
6176
|
* @type object
|
|
5013
6177
|
*/
|
|
5014
|
-
type
|
|
6178
|
+
type VerifyCustomDomainStatus200 = VerifyCustomDomainResponse;
|
|
5015
6179
|
/**
|
|
5016
6180
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5017
6181
|
* @type object
|
|
5018
6182
|
*/
|
|
5019
|
-
type
|
|
6183
|
+
type VerifyCustomDomainStatus400 = Error$1;
|
|
5020
6184
|
/**
|
|
5021
6185
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5022
6186
|
* @type object
|
|
5023
6187
|
*/
|
|
5024
|
-
type
|
|
6188
|
+
type VerifyCustomDomainStatus401 = Error$1;
|
|
5025
6189
|
/**
|
|
5026
6190
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5027
6191
|
* @type object
|
|
5028
6192
|
*/
|
|
5029
|
-
type
|
|
6193
|
+
type VerifyCustomDomainStatus403 = Error$1;
|
|
5030
6194
|
/**
|
|
5031
6195
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5032
6196
|
* @type object
|
|
5033
6197
|
*/
|
|
5034
|
-
type
|
|
6198
|
+
type VerifyCustomDomainStatus404 = Error$1;
|
|
5035
6199
|
/**
|
|
5036
6200
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5037
6201
|
* @type object
|
|
5038
6202
|
*/
|
|
5039
|
-
type
|
|
6203
|
+
type VerifyCustomDomainStatus429 = Error$1;
|
|
5040
6204
|
/**
|
|
5041
6205
|
* @type object
|
|
5042
6206
|
*/
|
|
5043
|
-
type
|
|
6207
|
+
type VerifyCustomDomainRequestConfig = {
|
|
5044
6208
|
data?: never;
|
|
5045
6209
|
/**
|
|
5046
6210
|
* @type object
|
|
5047
6211
|
*/
|
|
5048
6212
|
pathParams: {
|
|
5049
|
-
project_id:
|
|
5050
|
-
|
|
6213
|
+
project_id: VerifyCustomDomainPathProjectId;
|
|
6214
|
+
domain_id: VerifyCustomDomainPathDomainId;
|
|
5051
6215
|
};
|
|
5052
6216
|
queryParams?: never;
|
|
5053
6217
|
headerParams?: never;
|
|
5054
6218
|
/**
|
|
5055
6219
|
* @type string
|
|
5056
6220
|
*/
|
|
5057
|
-
url: `/v1/projects/${string}/
|
|
6221
|
+
url: `/v1/projects/${string}/domains/${string}/verify`;
|
|
5058
6222
|
};
|
|
5059
6223
|
/**
|
|
5060
6224
|
* @type object
|
|
5061
6225
|
*/
|
|
5062
|
-
type
|
|
5063
|
-
"200":
|
|
5064
|
-
"400":
|
|
5065
|
-
"401":
|
|
5066
|
-
"403":
|
|
5067
|
-
"404":
|
|
5068
|
-
"429":
|
|
6226
|
+
type VerifyCustomDomainResponses = {
|
|
6227
|
+
"200": VerifyCustomDomainStatus200;
|
|
6228
|
+
"400": VerifyCustomDomainStatus400;
|
|
6229
|
+
"401": VerifyCustomDomainStatus401;
|
|
6230
|
+
"403": VerifyCustomDomainStatus403;
|
|
6231
|
+
"404": VerifyCustomDomainStatus404;
|
|
6232
|
+
"429": VerifyCustomDomainStatus429;
|
|
5069
6233
|
};
|
|
5070
|
-
/**
|
|
5071
|
-
* @description Union of all possible responses
|
|
5072
|
-
*/
|
|
5073
|
-
type GetSchemaCatalogResponse = (GetSchemaCatalogStatus200 | GetSchemaCatalogStatus400 | GetSchemaCatalogStatus401 | GetSchemaCatalogStatus403 | GetSchemaCatalogStatus404 | GetSchemaCatalogStatus429);
|
|
5074
6234
|
|
|
5075
6235
|
/**
|
|
5076
6236
|
* Generated by Kubb (https://kubb.dev/).
|
|
5077
6237
|
* Do not edit manually.
|
|
5078
6238
|
*/
|
|
6239
|
+
declare const healthResponseStatusEnum: {
|
|
6240
|
+
readonly ok: "ok";
|
|
6241
|
+
readonly degraded: "degraded";
|
|
6242
|
+
};
|
|
6243
|
+
type HealthResponseStatusEnumKey = (typeof healthResponseStatusEnum)[keyof typeof healthResponseStatusEnum];
|
|
5079
6244
|
/**
|
|
5080
|
-
* @description
|
|
6245
|
+
* @description Health status and build metadata for the API service.
|
|
5081
6246
|
* @type object
|
|
5082
6247
|
*/
|
|
5083
|
-
type
|
|
5084
|
-
/**
|
|
5085
|
-
* @description The CNAME record host.
|
|
5086
|
-
* @example db.example.com
|
|
5087
|
-
* @type string | undefined
|
|
5088
|
-
*/
|
|
5089
|
-
cname_host?: string;
|
|
5090
|
-
/**
|
|
5091
|
-
* @description The CNAME record target.
|
|
5092
|
-
* @example abc.proxy.pgbeam.app
|
|
5093
|
-
* @type string | undefined
|
|
5094
|
-
*/
|
|
5095
|
-
cname_target?: string;
|
|
6248
|
+
type HealthResponse = {
|
|
5096
6249
|
/**
|
|
5097
|
-
* @description
|
|
5098
|
-
* @
|
|
5099
|
-
* @type string | undefined
|
|
6250
|
+
* @description Overall service health.
|
|
6251
|
+
* @type string
|
|
5100
6252
|
*/
|
|
5101
|
-
|
|
6253
|
+
status: HealthResponseStatusEnumKey;
|
|
5102
6254
|
/**
|
|
5103
|
-
* @description
|
|
5104
|
-
* @example
|
|
5105
|
-
* @type string
|
|
6255
|
+
* @description API server version.
|
|
6256
|
+
* @example 1.0.0
|
|
6257
|
+
* @type string
|
|
5106
6258
|
*/
|
|
5107
|
-
|
|
6259
|
+
version: string;
|
|
5108
6260
|
/**
|
|
5109
|
-
* @description
|
|
5110
|
-
* @example
|
|
5111
|
-
* @type string
|
|
6261
|
+
* @description Resolved image SHA (digest or SHA tag).
|
|
6262
|
+
* @example f1f01eda9e1bc25a3a1d28b1e18c5579fa9a128fede12169d3a392504f9729e4
|
|
6263
|
+
* @type string
|
|
5112
6264
|
*/
|
|
5113
|
-
|
|
6265
|
+
image_sha: string;
|
|
5114
6266
|
/**
|
|
5115
|
-
* @description
|
|
5116
|
-
* @example _acme-challenge.abc.proxy.pgbeam.app
|
|
6267
|
+
* @description Server time.
|
|
5117
6268
|
* @type string | undefined
|
|
5118
6269
|
*/
|
|
5119
|
-
|
|
6270
|
+
timestamp?: string;
|
|
5120
6271
|
};
|
|
5121
6272
|
|
|
5122
6273
|
/**
|
|
@@ -5125,60 +6276,90 @@ type DnsInstructions = {
|
|
|
5125
6276
|
*/
|
|
5126
6277
|
|
|
5127
6278
|
/**
|
|
5128
|
-
* @description
|
|
6279
|
+
* @description Health status and build metadata for the API service.
|
|
5129
6280
|
* @type object
|
|
5130
6281
|
*/
|
|
5131
|
-
type
|
|
6282
|
+
type GetHealthStatus200 = HealthResponse;
|
|
6283
|
+
/**
|
|
6284
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6285
|
+
* @type object
|
|
6286
|
+
*/
|
|
6287
|
+
type GetHealthStatus429 = Error$1;
|
|
6288
|
+
/**
|
|
6289
|
+
* @type object
|
|
6290
|
+
*/
|
|
6291
|
+
type GetHealthRequestConfig = {
|
|
6292
|
+
data?: never;
|
|
6293
|
+
pathParams?: never;
|
|
6294
|
+
queryParams?: never;
|
|
6295
|
+
headerParams?: never;
|
|
5132
6296
|
/**
|
|
5133
|
-
* @description Unique domain identifier (prefixed).
|
|
5134
|
-
* @example dom_01h455vb4pex5vsknk084sn02q
|
|
5135
6297
|
* @type string
|
|
5136
6298
|
*/
|
|
5137
|
-
|
|
6299
|
+
url: "/v1/health";
|
|
6300
|
+
};
|
|
6301
|
+
/**
|
|
6302
|
+
* @type object
|
|
6303
|
+
*/
|
|
6304
|
+
type GetHealthResponses = {
|
|
6305
|
+
"200": GetHealthStatus200;
|
|
6306
|
+
"429": GetHealthStatus429;
|
|
6307
|
+
};
|
|
6308
|
+
/**
|
|
6309
|
+
* @description Union of all possible responses
|
|
6310
|
+
*/
|
|
6311
|
+
type GetHealthResponse = (GetHealthStatus200 | GetHealthStatus429);
|
|
6312
|
+
|
|
6313
|
+
/**
|
|
6314
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
6315
|
+
* Do not edit manually.
|
|
6316
|
+
*/
|
|
6317
|
+
declare const honeytokenActionEnum: {
|
|
6318
|
+
readonly audit_only: "audit_only";
|
|
6319
|
+
readonly kill: "kill";
|
|
6320
|
+
};
|
|
6321
|
+
type HoneytokenActionEnumKey = (typeof honeytokenActionEnum)[keyof typeof honeytokenActionEnum];
|
|
6322
|
+
/**
|
|
6323
|
+
* @description A decoy (canary) relation. Any agent statement that references it is blocked (fail closed) and recorded as a canary_tripped audit event.\n
|
|
6324
|
+
* @type object
|
|
6325
|
+
*/
|
|
6326
|
+
type Honeytoken = {
|
|
5138
6327
|
/**
|
|
5139
|
-
* @description
|
|
5140
|
-
* @example
|
|
6328
|
+
* @description Unique honeytoken identifier.
|
|
6329
|
+
* @example hnt_01j9x8y7z6w5v4u3t2s1r0q9p8
|
|
5141
6330
|
* @type string
|
|
5142
6331
|
*/
|
|
5143
|
-
|
|
6332
|
+
id: string;
|
|
5144
6333
|
/**
|
|
5145
|
-
* @description
|
|
5146
|
-
* @example
|
|
6334
|
+
* @description Project the honeytoken belongs to.
|
|
6335
|
+
* @example prj_01j9x8y7z6w5v4u3t2s1r0q9p8
|
|
5147
6336
|
* @type string
|
|
5148
6337
|
*/
|
|
5149
|
-
|
|
5150
|
-
/**
|
|
5151
|
-
* @description Whether DNS ownership has been verified.
|
|
5152
|
-
* @type boolean
|
|
5153
|
-
*/
|
|
5154
|
-
verified: boolean;
|
|
6338
|
+
project_id: string;
|
|
5155
6339
|
/**
|
|
5156
|
-
* @description
|
|
6340
|
+
* @description Optional schema. Null matches the unqualified/public form, mirroring the relation allowlist normalization.\n
|
|
6341
|
+
* @example public
|
|
5157
6342
|
* @type string
|
|
5158
6343
|
*/
|
|
5159
|
-
|
|
6344
|
+
schema_name?: string | null;
|
|
5160
6345
|
/**
|
|
5161
|
-
* @description
|
|
6346
|
+
* @description Relation (table or view) name of the decoy.
|
|
6347
|
+
* @example customer_ssns
|
|
5162
6348
|
* @type string
|
|
5163
6349
|
*/
|
|
5164
|
-
|
|
6350
|
+
relation_name: string;
|
|
5165
6351
|
/**
|
|
5166
|
-
* @description
|
|
6352
|
+
* @description Response when tripped. audit_only blocks the statement, records the event, and fires webhooks. kill additionally disables the tripping credential via the kill-switch.\n
|
|
5167
6353
|
* @type string
|
|
5168
6354
|
*/
|
|
5169
|
-
|
|
5170
|
-
/**
|
|
5171
|
-
* @description DNS records the user needs to create for domain verification.
|
|
5172
|
-
* @type object | undefined
|
|
5173
|
-
*/
|
|
5174
|
-
dns_instructions?: DnsInstructions;
|
|
6355
|
+
action: HoneytokenActionEnumKey;
|
|
5175
6356
|
/**
|
|
5176
|
-
* @description When the
|
|
6357
|
+
* @description When the honeytoken was registered.
|
|
5177
6358
|
* @type string
|
|
5178
6359
|
*/
|
|
5179
6360
|
created_at: string;
|
|
5180
6361
|
/**
|
|
5181
|
-
* @description When the
|
|
6362
|
+
* @description When the honeytoken was last updated.
|
|
5182
6363
|
* @type string
|
|
5183
6364
|
*/
|
|
5184
6365
|
updated_at: string;
|
|
@@ -5190,17 +6371,17 @@ type CustomDomain = {
|
|
|
5190
6371
|
*/
|
|
5191
6372
|
|
|
5192
6373
|
/**
|
|
5193
|
-
* @description Cursor-paginated
|
|
6374
|
+
* @description Cursor-paginated honeytokens for a project.
|
|
5194
6375
|
* @type object
|
|
5195
6376
|
*/
|
|
5196
|
-
type
|
|
6377
|
+
type ListHoneytokensResponse = {
|
|
5197
6378
|
/**
|
|
5198
|
-
* @description
|
|
6379
|
+
* @description Honeytokens returned for the current page.
|
|
5199
6380
|
* @type array
|
|
5200
6381
|
*/
|
|
5201
|
-
|
|
6382
|
+
honeytokens: Honeytoken[];
|
|
5202
6383
|
/**
|
|
5203
|
-
* @description
|
|
6384
|
+
* @description Opaque token for cursor-based pagination.
|
|
5204
6385
|
* @type string | undefined
|
|
5205
6386
|
*/
|
|
5206
6387
|
next_page_token?: string;
|
|
@@ -5216,7 +6397,7 @@ type ListCustomDomainsResponse = {
|
|
|
5216
6397
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5217
6398
|
* @type string
|
|
5218
6399
|
*/
|
|
5219
|
-
type
|
|
6400
|
+
type ListHoneytokensPathProjectId = string;
|
|
5220
6401
|
/**
|
|
5221
6402
|
* @description Maximum number of items to return (1-100, default 20).
|
|
5222
6403
|
* @minLength 1
|
|
@@ -5224,97 +6405,113 @@ type ListCustomDomainsPathProjectId = string;
|
|
|
5224
6405
|
* @default 20
|
|
5225
6406
|
* @type integer | undefined
|
|
5226
6407
|
*/
|
|
5227
|
-
type
|
|
6408
|
+
type ListHoneytokensQueryPageSize = number | undefined;
|
|
5228
6409
|
/**
|
|
5229
6410
|
* @description Opaque token for cursor-based pagination.
|
|
5230
6411
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5231
6412
|
* @type string | undefined
|
|
5232
6413
|
*/
|
|
5233
|
-
type
|
|
6414
|
+
type ListHoneytokensQueryPageToken = string | undefined;
|
|
5234
6415
|
/**
|
|
5235
|
-
* @description Cursor-paginated
|
|
6416
|
+
* @description Cursor-paginated honeytokens for a project.
|
|
5236
6417
|
* @type object
|
|
5237
6418
|
*/
|
|
5238
|
-
type
|
|
6419
|
+
type ListHoneytokensStatus200 = ListHoneytokensResponse;
|
|
5239
6420
|
/**
|
|
5240
6421
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5241
6422
|
* @type object
|
|
5242
6423
|
*/
|
|
5243
|
-
type
|
|
6424
|
+
type ListHoneytokensStatus400 = Error$1;
|
|
5244
6425
|
/**
|
|
5245
6426
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5246
6427
|
* @type object
|
|
5247
6428
|
*/
|
|
5248
|
-
type
|
|
6429
|
+
type ListHoneytokensStatus401 = Error$1;
|
|
5249
6430
|
/**
|
|
5250
6431
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5251
6432
|
* @type object
|
|
5252
6433
|
*/
|
|
5253
|
-
type
|
|
6434
|
+
type ListHoneytokensStatus403 = Error$1;
|
|
5254
6435
|
/**
|
|
5255
6436
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5256
6437
|
* @type object
|
|
5257
6438
|
*/
|
|
5258
|
-
type
|
|
6439
|
+
type ListHoneytokensStatus404 = Error$1;
|
|
5259
6440
|
/**
|
|
5260
6441
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5261
6442
|
* @type object
|
|
5262
6443
|
*/
|
|
5263
|
-
type
|
|
6444
|
+
type ListHoneytokensStatus429 = Error$1;
|
|
5264
6445
|
/**
|
|
5265
6446
|
* @type object
|
|
5266
6447
|
*/
|
|
5267
|
-
type
|
|
6448
|
+
type ListHoneytokensRequestConfig = {
|
|
5268
6449
|
data?: never;
|
|
5269
6450
|
/**
|
|
5270
6451
|
* @type object
|
|
5271
6452
|
*/
|
|
5272
6453
|
pathParams: {
|
|
5273
|
-
project_id:
|
|
6454
|
+
project_id: ListHoneytokensPathProjectId;
|
|
5274
6455
|
};
|
|
5275
6456
|
/**
|
|
5276
6457
|
* @type object | undefined
|
|
5277
6458
|
*/
|
|
5278
6459
|
queryParams?: {
|
|
5279
|
-
page_size?:
|
|
5280
|
-
page_token?:
|
|
6460
|
+
page_size?: ListHoneytokensQueryPageSize;
|
|
6461
|
+
page_token?: ListHoneytokensQueryPageToken;
|
|
5281
6462
|
};
|
|
5282
6463
|
headerParams?: never;
|
|
5283
6464
|
/**
|
|
5284
6465
|
* @type string
|
|
5285
6466
|
*/
|
|
5286
|
-
url: `/v1/projects/${string}/
|
|
6467
|
+
url: `/v1/projects/${string}/honeytokens`;
|
|
5287
6468
|
};
|
|
5288
6469
|
/**
|
|
5289
6470
|
* @type object
|
|
5290
6471
|
*/
|
|
5291
|
-
type
|
|
5292
|
-
"200":
|
|
5293
|
-
"400":
|
|
5294
|
-
"401":
|
|
5295
|
-
"403":
|
|
5296
|
-
"404":
|
|
5297
|
-
"429":
|
|
6472
|
+
type ListHoneytokensResponses = {
|
|
6473
|
+
"200": ListHoneytokensStatus200;
|
|
6474
|
+
"400": ListHoneytokensStatus400;
|
|
6475
|
+
"401": ListHoneytokensStatus401;
|
|
6476
|
+
"403": ListHoneytokensStatus403;
|
|
6477
|
+
"404": ListHoneytokensStatus404;
|
|
6478
|
+
"429": ListHoneytokensStatus429;
|
|
5298
6479
|
};
|
|
5299
6480
|
|
|
5300
6481
|
/**
|
|
5301
6482
|
* Generated by Kubb (https://kubb.dev/).
|
|
5302
6483
|
* Do not edit manually.
|
|
5303
6484
|
*/
|
|
6485
|
+
declare const honeytokenInputActionEnum: {
|
|
6486
|
+
readonly audit_only: "audit_only";
|
|
6487
|
+
readonly kill: "kill";
|
|
6488
|
+
};
|
|
6489
|
+
type HoneytokenInputActionEnumKey = (typeof honeytokenInputActionEnum)[keyof typeof honeytokenInputActionEnum];
|
|
5304
6490
|
/**
|
|
5305
|
-
* @description Request body for
|
|
6491
|
+
* @description Request body for creating or updating a honeytoken.
|
|
5306
6492
|
* @type object
|
|
5307
6493
|
*/
|
|
5308
|
-
type
|
|
6494
|
+
type HoneytokenInput = {
|
|
5309
6495
|
/**
|
|
5310
|
-
* @description
|
|
6496
|
+
* @description Optional schema. Null or empty matches the unqualified/public form.
|
|
6497
|
+
* @maxLength 255
|
|
6498
|
+
* @example public
|
|
6499
|
+
* @type string
|
|
6500
|
+
*/
|
|
6501
|
+
schema_name?: string | null;
|
|
6502
|
+
/**
|
|
6503
|
+
* @description Relation (table or view) name of the decoy.
|
|
5311
6504
|
* @minLength 1
|
|
5312
|
-
* @maxLength
|
|
5313
|
-
* @
|
|
5314
|
-
* @example db.example.com
|
|
6505
|
+
* @maxLength 255
|
|
6506
|
+
* @example customer_ssns
|
|
5315
6507
|
* @type string
|
|
5316
6508
|
*/
|
|
5317
|
-
|
|
6509
|
+
relation_name: string;
|
|
6510
|
+
/**
|
|
6511
|
+
* @description Response when the honeytoken is tripped.
|
|
6512
|
+
* @type string
|
|
6513
|
+
*/
|
|
6514
|
+
action: HoneytokenInputActionEnumKey;
|
|
5318
6515
|
};
|
|
5319
6516
|
|
|
5320
6517
|
/**
|
|
@@ -5327,81 +6524,75 @@ type CreateCustomDomainRequest = {
|
|
|
5327
6524
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5328
6525
|
* @type string
|
|
5329
6526
|
*/
|
|
5330
|
-
type
|
|
5331
|
-
/**
|
|
5332
|
-
* @description Custom database hostname attached to a project.
|
|
5333
|
-
* @type object
|
|
5334
|
-
*/
|
|
5335
|
-
type CreateCustomDomainStatus201 = CustomDomain;
|
|
6527
|
+
type CreateHoneytokenPathProjectId = string;
|
|
5336
6528
|
/**
|
|
5337
|
-
* @description
|
|
6529
|
+
* @description A decoy (canary) relation. Any agent statement that references it is blocked (fail closed) and recorded as a canary_tripped audit event.\n
|
|
5338
6530
|
* @type object
|
|
5339
6531
|
*/
|
|
5340
|
-
type
|
|
6532
|
+
type CreateHoneytokenStatus201 = Honeytoken;
|
|
5341
6533
|
/**
|
|
5342
6534
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5343
6535
|
* @type object
|
|
5344
6536
|
*/
|
|
5345
|
-
type
|
|
6537
|
+
type CreateHoneytokenStatus400 = Error$1;
|
|
5346
6538
|
/**
|
|
5347
6539
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5348
6540
|
* @type object
|
|
5349
6541
|
*/
|
|
5350
|
-
type
|
|
6542
|
+
type CreateHoneytokenStatus401 = Error$1;
|
|
5351
6543
|
/**
|
|
5352
6544
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5353
6545
|
* @type object
|
|
5354
6546
|
*/
|
|
5355
|
-
type
|
|
6547
|
+
type CreateHoneytokenStatus403 = Error$1;
|
|
5356
6548
|
/**
|
|
5357
6549
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5358
6550
|
* @type object
|
|
5359
6551
|
*/
|
|
5360
|
-
type
|
|
6552
|
+
type CreateHoneytokenStatus404 = Error$1;
|
|
5361
6553
|
/**
|
|
5362
6554
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5363
6555
|
* @type object
|
|
5364
6556
|
*/
|
|
5365
|
-
type
|
|
6557
|
+
type CreateHoneytokenStatus429 = Error$1;
|
|
5366
6558
|
/**
|
|
5367
|
-
* @description Request body for
|
|
6559
|
+
* @description Request body for creating or updating a honeytoken.
|
|
5368
6560
|
* @type object
|
|
5369
6561
|
*/
|
|
5370
|
-
type
|
|
6562
|
+
type CreateHoneytokenData = HoneytokenInput;
|
|
5371
6563
|
/**
|
|
5372
6564
|
* @type object
|
|
5373
6565
|
*/
|
|
5374
|
-
type
|
|
5375
|
-
data?:
|
|
6566
|
+
type CreateHoneytokenRequestConfig = {
|
|
6567
|
+
data?: CreateHoneytokenData;
|
|
5376
6568
|
/**
|
|
5377
6569
|
* @type object
|
|
5378
6570
|
*/
|
|
5379
6571
|
pathParams: {
|
|
5380
|
-
project_id:
|
|
6572
|
+
project_id: CreateHoneytokenPathProjectId;
|
|
5381
6573
|
};
|
|
5382
6574
|
queryParams?: never;
|
|
5383
6575
|
headerParams?: never;
|
|
5384
6576
|
/**
|
|
5385
6577
|
* @type string
|
|
5386
6578
|
*/
|
|
5387
|
-
url: `/v1/projects/${string}/
|
|
6579
|
+
url: `/v1/projects/${string}/honeytokens`;
|
|
5388
6580
|
};
|
|
5389
6581
|
/**
|
|
5390
6582
|
* @type object
|
|
5391
6583
|
*/
|
|
5392
|
-
type
|
|
5393
|
-
"201":
|
|
5394
|
-
"400":
|
|
5395
|
-
"401":
|
|
5396
|
-
"403":
|
|
5397
|
-
"404":
|
|
5398
|
-
"
|
|
5399
|
-
"429": CreateCustomDomainStatus429;
|
|
6584
|
+
type CreateHoneytokenResponses = {
|
|
6585
|
+
"201": CreateHoneytokenStatus201;
|
|
6586
|
+
"400": CreateHoneytokenStatus400;
|
|
6587
|
+
"401": CreateHoneytokenStatus401;
|
|
6588
|
+
"403": CreateHoneytokenStatus403;
|
|
6589
|
+
"404": CreateHoneytokenStatus404;
|
|
6590
|
+
"429": CreateHoneytokenStatus429;
|
|
5400
6591
|
};
|
|
5401
6592
|
/**
|
|
5402
6593
|
* @description Union of all possible responses
|
|
5403
6594
|
*/
|
|
5404
|
-
type
|
|
6595
|
+
type CreateHoneytokenResponse = (CreateHoneytokenStatus201 | CreateHoneytokenStatus400 | CreateHoneytokenStatus401 | CreateHoneytokenStatus403 | CreateHoneytokenStatus404 | CreateHoneytokenStatus429);
|
|
5405
6596
|
|
|
5406
6597
|
/**
|
|
5407
6598
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -5413,103 +6604,71 @@ type CreateCustomDomainResponse = (CreateCustomDomainStatus201 | CreateCustomDom
|
|
|
5413
6604
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5414
6605
|
* @type string
|
|
5415
6606
|
*/
|
|
5416
|
-
type
|
|
6607
|
+
type GetHoneytokenPathProjectId = string;
|
|
5417
6608
|
/**
|
|
5418
|
-
* @description Unique
|
|
6609
|
+
* @description Unique honeytoken identifier (prefixed, e.g. hnt_xxx).
|
|
5419
6610
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5420
6611
|
* @type string
|
|
5421
6612
|
*/
|
|
5422
|
-
type
|
|
5423
|
-
/**
|
|
5424
|
-
* @type any
|
|
5425
|
-
*/
|
|
5426
|
-
type DeleteCustomDomainStatus204 = any;
|
|
6613
|
+
type GetHoneytokenPathHoneytokenId = string;
|
|
5427
6614
|
/**
|
|
5428
|
-
* @description
|
|
6615
|
+
* @description A decoy (canary) relation. Any agent statement that references it is blocked (fail closed) and recorded as a canary_tripped audit event.\n
|
|
5429
6616
|
* @type object
|
|
5430
6617
|
*/
|
|
5431
|
-
type
|
|
6618
|
+
type GetHoneytokenStatus200 = Honeytoken;
|
|
5432
6619
|
/**
|
|
5433
6620
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5434
6621
|
* @type object
|
|
5435
6622
|
*/
|
|
5436
|
-
type
|
|
6623
|
+
type GetHoneytokenStatus400 = Error$1;
|
|
5437
6624
|
/**
|
|
5438
6625
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5439
6626
|
* @type object
|
|
5440
6627
|
*/
|
|
5441
|
-
type
|
|
6628
|
+
type GetHoneytokenStatus401 = Error$1;
|
|
5442
6629
|
/**
|
|
5443
6630
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5444
6631
|
* @type object
|
|
5445
6632
|
*/
|
|
5446
|
-
type
|
|
6633
|
+
type GetHoneytokenStatus403 = Error$1;
|
|
5447
6634
|
/**
|
|
5448
6635
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5449
6636
|
* @type object
|
|
5450
6637
|
*/
|
|
5451
|
-
type
|
|
6638
|
+
type GetHoneytokenStatus404 = Error$1;
|
|
5452
6639
|
/**
|
|
5453
6640
|
* @type object
|
|
5454
6641
|
*/
|
|
5455
|
-
type
|
|
6642
|
+
type GetHoneytokenRequestConfig = {
|
|
5456
6643
|
data?: never;
|
|
5457
6644
|
/**
|
|
5458
6645
|
* @type object
|
|
5459
6646
|
*/
|
|
5460
6647
|
pathParams: {
|
|
5461
|
-
project_id:
|
|
5462
|
-
|
|
6648
|
+
project_id: GetHoneytokenPathProjectId;
|
|
6649
|
+
honeytoken_id: GetHoneytokenPathHoneytokenId;
|
|
5463
6650
|
};
|
|
5464
6651
|
queryParams?: never;
|
|
5465
6652
|
headerParams?: never;
|
|
5466
6653
|
/**
|
|
5467
6654
|
* @type string
|
|
5468
6655
|
*/
|
|
5469
|
-
url: `/v1/projects/${string}/
|
|
6656
|
+
url: `/v1/projects/${string}/honeytokens/${string}`;
|
|
5470
6657
|
};
|
|
5471
6658
|
/**
|
|
5472
6659
|
* @type object
|
|
5473
6660
|
*/
|
|
5474
|
-
type
|
|
5475
|
-
"
|
|
5476
|
-
"400":
|
|
5477
|
-
"401":
|
|
5478
|
-
"403":
|
|
5479
|
-
"404":
|
|
5480
|
-
"429": DeleteCustomDomainStatus429;
|
|
6661
|
+
type GetHoneytokenResponses = {
|
|
6662
|
+
"200": GetHoneytokenStatus200;
|
|
6663
|
+
"400": GetHoneytokenStatus400;
|
|
6664
|
+
"401": GetHoneytokenStatus401;
|
|
6665
|
+
"403": GetHoneytokenStatus403;
|
|
6666
|
+
"404": GetHoneytokenStatus404;
|
|
5481
6667
|
};
|
|
5482
6668
|
/**
|
|
5483
6669
|
* @description Union of all possible responses
|
|
5484
6670
|
*/
|
|
5485
|
-
type
|
|
5486
|
-
|
|
5487
|
-
/**
|
|
5488
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
5489
|
-
* Do not edit manually.
|
|
5490
|
-
*/
|
|
5491
|
-
|
|
5492
|
-
/**
|
|
5493
|
-
* @description Result of checking DNS ownership for a custom domain.
|
|
5494
|
-
* @type object
|
|
5495
|
-
*/
|
|
5496
|
-
type VerifyCustomDomainResponse = {
|
|
5497
|
-
/**
|
|
5498
|
-
* @description Whether DNS verification succeeded.
|
|
5499
|
-
* @type boolean
|
|
5500
|
-
*/
|
|
5501
|
-
verified: boolean;
|
|
5502
|
-
/**
|
|
5503
|
-
* @description Error message if verification failed.
|
|
5504
|
-
* @type string | undefined
|
|
5505
|
-
*/
|
|
5506
|
-
error?: string;
|
|
5507
|
-
/**
|
|
5508
|
-
* @description Custom database hostname attached to a project.
|
|
5509
|
-
* @type object | undefined
|
|
5510
|
-
*/
|
|
5511
|
-
domain?: CustomDomain;
|
|
5512
|
-
};
|
|
6671
|
+
type GetHoneytokenResponse = (GetHoneytokenStatus200 | GetHoneytokenStatus400 | GetHoneytokenStatus401 | GetHoneytokenStatus403 | GetHoneytokenStatus404);
|
|
5513
6672
|
|
|
5514
6673
|
/**
|
|
5515
6674
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -5521,151 +6680,151 @@ type VerifyCustomDomainResponse = {
|
|
|
5521
6680
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5522
6681
|
* @type string
|
|
5523
6682
|
*/
|
|
5524
|
-
type
|
|
6683
|
+
type UpdateHoneytokenPathProjectId = string;
|
|
5525
6684
|
/**
|
|
5526
|
-
* @description Unique
|
|
6685
|
+
* @description Unique honeytoken identifier (prefixed, e.g. hnt_xxx).
|
|
5527
6686
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
5528
6687
|
* @type string
|
|
5529
6688
|
*/
|
|
5530
|
-
type
|
|
6689
|
+
type UpdateHoneytokenPathHoneytokenId = string;
|
|
5531
6690
|
/**
|
|
5532
|
-
* @description
|
|
6691
|
+
* @description A decoy (canary) relation. Any agent statement that references it is blocked (fail closed) and recorded as a canary_tripped audit event.\n
|
|
5533
6692
|
* @type object
|
|
5534
6693
|
*/
|
|
5535
|
-
type
|
|
6694
|
+
type UpdateHoneytokenStatus200 = Honeytoken;
|
|
5536
6695
|
/**
|
|
5537
6696
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5538
6697
|
* @type object
|
|
5539
6698
|
*/
|
|
5540
|
-
type
|
|
6699
|
+
type UpdateHoneytokenStatus400 = Error$1;
|
|
5541
6700
|
/**
|
|
5542
6701
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5543
6702
|
* @type object
|
|
5544
6703
|
*/
|
|
5545
|
-
type
|
|
6704
|
+
type UpdateHoneytokenStatus401 = Error$1;
|
|
5546
6705
|
/**
|
|
5547
6706
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5548
6707
|
* @type object
|
|
5549
6708
|
*/
|
|
5550
|
-
type
|
|
6709
|
+
type UpdateHoneytokenStatus403 = Error$1;
|
|
5551
6710
|
/**
|
|
5552
6711
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5553
6712
|
* @type object
|
|
5554
6713
|
*/
|
|
5555
|
-
type
|
|
6714
|
+
type UpdateHoneytokenStatus404 = Error$1;
|
|
5556
6715
|
/**
|
|
5557
|
-
* @description
|
|
6716
|
+
* @description Request body for creating or updating a honeytoken.
|
|
5558
6717
|
* @type object
|
|
5559
6718
|
*/
|
|
5560
|
-
type
|
|
6719
|
+
type UpdateHoneytokenData = HoneytokenInput;
|
|
5561
6720
|
/**
|
|
5562
6721
|
* @type object
|
|
5563
6722
|
*/
|
|
5564
|
-
type
|
|
5565
|
-
data?:
|
|
6723
|
+
type UpdateHoneytokenRequestConfig = {
|
|
6724
|
+
data?: UpdateHoneytokenData;
|
|
5566
6725
|
/**
|
|
5567
6726
|
* @type object
|
|
5568
6727
|
*/
|
|
5569
6728
|
pathParams: {
|
|
5570
|
-
project_id:
|
|
5571
|
-
|
|
6729
|
+
project_id: UpdateHoneytokenPathProjectId;
|
|
6730
|
+
honeytoken_id: UpdateHoneytokenPathHoneytokenId;
|
|
5572
6731
|
};
|
|
5573
6732
|
queryParams?: never;
|
|
5574
6733
|
headerParams?: never;
|
|
5575
6734
|
/**
|
|
5576
6735
|
* @type string
|
|
5577
6736
|
*/
|
|
5578
|
-
url: `/v1/projects/${string}/
|
|
6737
|
+
url: `/v1/projects/${string}/honeytokens/${string}`;
|
|
5579
6738
|
};
|
|
5580
6739
|
/**
|
|
5581
6740
|
* @type object
|
|
5582
6741
|
*/
|
|
5583
|
-
type
|
|
5584
|
-
"200":
|
|
5585
|
-
"400":
|
|
5586
|
-
"401":
|
|
5587
|
-
"403":
|
|
5588
|
-
"404":
|
|
5589
|
-
"429": VerifyCustomDomainStatus429;
|
|
6742
|
+
type UpdateHoneytokenResponses = {
|
|
6743
|
+
"200": UpdateHoneytokenStatus200;
|
|
6744
|
+
"400": UpdateHoneytokenStatus400;
|
|
6745
|
+
"401": UpdateHoneytokenStatus401;
|
|
6746
|
+
"403": UpdateHoneytokenStatus403;
|
|
6747
|
+
"404": UpdateHoneytokenStatus404;
|
|
5590
6748
|
};
|
|
6749
|
+
/**
|
|
6750
|
+
* @description Union of all possible responses
|
|
6751
|
+
*/
|
|
6752
|
+
type UpdateHoneytokenResponse = (UpdateHoneytokenStatus200 | UpdateHoneytokenStatus400 | UpdateHoneytokenStatus401 | UpdateHoneytokenStatus403 | UpdateHoneytokenStatus404);
|
|
5591
6753
|
|
|
5592
6754
|
/**
|
|
5593
6755
|
* Generated by Kubb (https://kubb.dev/).
|
|
5594
6756
|
* Do not edit manually.
|
|
5595
6757
|
*/
|
|
5596
|
-
|
|
5597
|
-
readonly ok: "ok";
|
|
5598
|
-
readonly degraded: "degraded";
|
|
5599
|
-
};
|
|
5600
|
-
type HealthResponseStatusEnumKey = (typeof healthResponseStatusEnum)[keyof typeof healthResponseStatusEnum];
|
|
6758
|
+
|
|
5601
6759
|
/**
|
|
5602
|
-
* @description
|
|
6760
|
+
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
6761
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
6762
|
+
* @type string
|
|
6763
|
+
*/
|
|
6764
|
+
type DeleteHoneytokenPathProjectId = string;
|
|
6765
|
+
/**
|
|
6766
|
+
* @description Unique honeytoken identifier (prefixed, e.g. hnt_xxx).
|
|
6767
|
+
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
6768
|
+
* @type string
|
|
6769
|
+
*/
|
|
6770
|
+
type DeleteHoneytokenPathHoneytokenId = string;
|
|
6771
|
+
/**
|
|
6772
|
+
* @type any
|
|
6773
|
+
*/
|
|
6774
|
+
type DeleteHoneytokenStatus204 = any;
|
|
6775
|
+
/**
|
|
6776
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5603
6777
|
* @type object
|
|
5604
6778
|
*/
|
|
5605
|
-
type
|
|
5606
|
-
/**
|
|
5607
|
-
* @description Overall service health.
|
|
5608
|
-
* @type string
|
|
5609
|
-
*/
|
|
5610
|
-
status: HealthResponseStatusEnumKey;
|
|
5611
|
-
/**
|
|
5612
|
-
* @description API server version.
|
|
5613
|
-
* @example 1.0.0
|
|
5614
|
-
* @type string
|
|
5615
|
-
*/
|
|
5616
|
-
version: string;
|
|
5617
|
-
/**
|
|
5618
|
-
* @description Resolved image SHA (digest or SHA tag).
|
|
5619
|
-
* @example f1f01eda9e1bc25a3a1d28b1e18c5579fa9a128fede12169d3a392504f9729e4
|
|
5620
|
-
* @type string
|
|
5621
|
-
*/
|
|
5622
|
-
image_sha: string;
|
|
5623
|
-
/**
|
|
5624
|
-
* @description Server time.
|
|
5625
|
-
* @type string | undefined
|
|
5626
|
-
*/
|
|
5627
|
-
timestamp?: string;
|
|
5628
|
-
};
|
|
5629
|
-
|
|
6779
|
+
type DeleteHoneytokenStatus400 = Error$1;
|
|
5630
6780
|
/**
|
|
5631
|
-
*
|
|
5632
|
-
*
|
|
6781
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
6782
|
+
* @type object
|
|
5633
6783
|
*/
|
|
5634
|
-
|
|
6784
|
+
type DeleteHoneytokenStatus401 = Error$1;
|
|
5635
6785
|
/**
|
|
5636
|
-
* @description
|
|
6786
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
5637
6787
|
* @type object
|
|
5638
6788
|
*/
|
|
5639
|
-
type
|
|
6789
|
+
type DeleteHoneytokenStatus403 = Error$1;
|
|
5640
6790
|
/**
|
|
5641
6791
|
* @description Standard error response envelope for PgBeam API requests.
|
|
5642
6792
|
* @type object
|
|
5643
6793
|
*/
|
|
5644
|
-
type
|
|
6794
|
+
type DeleteHoneytokenStatus404 = Error$1;
|
|
5645
6795
|
/**
|
|
5646
6796
|
* @type object
|
|
5647
6797
|
*/
|
|
5648
|
-
type
|
|
6798
|
+
type DeleteHoneytokenRequestConfig = {
|
|
5649
6799
|
data?: never;
|
|
5650
|
-
|
|
6800
|
+
/**
|
|
6801
|
+
* @type object
|
|
6802
|
+
*/
|
|
6803
|
+
pathParams: {
|
|
6804
|
+
project_id: DeleteHoneytokenPathProjectId;
|
|
6805
|
+
honeytoken_id: DeleteHoneytokenPathHoneytokenId;
|
|
6806
|
+
};
|
|
5651
6807
|
queryParams?: never;
|
|
5652
6808
|
headerParams?: never;
|
|
5653
6809
|
/**
|
|
5654
6810
|
* @type string
|
|
5655
6811
|
*/
|
|
5656
|
-
url:
|
|
6812
|
+
url: `/v1/projects/${string}/honeytokens/${string}`;
|
|
5657
6813
|
};
|
|
5658
6814
|
/**
|
|
5659
6815
|
* @type object
|
|
5660
6816
|
*/
|
|
5661
|
-
type
|
|
5662
|
-
"
|
|
5663
|
-
"
|
|
6817
|
+
type DeleteHoneytokenResponses = {
|
|
6818
|
+
"204": DeleteHoneytokenStatus204;
|
|
6819
|
+
"400": DeleteHoneytokenStatus400;
|
|
6820
|
+
"401": DeleteHoneytokenStatus401;
|
|
6821
|
+
"403": DeleteHoneytokenStatus403;
|
|
6822
|
+
"404": DeleteHoneytokenStatus404;
|
|
5664
6823
|
};
|
|
5665
6824
|
/**
|
|
5666
6825
|
* @description Union of all possible responses
|
|
5667
6826
|
*/
|
|
5668
|
-
type
|
|
6827
|
+
type DeleteHoneytokenResponse = (DeleteHoneytokenStatus204 | DeleteHoneytokenStatus400 | DeleteHoneytokenStatus401 | DeleteHoneytokenStatus403 | DeleteHoneytokenStatus404);
|
|
5669
6828
|
|
|
5670
6829
|
/**
|
|
5671
6830
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -6306,78 +7465,94 @@ type UpdateOnboardingProgressResponse = (UpdateOnboardingProgressStatus200 | Upd
|
|
|
6306
7465
|
* Generated by Kubb (https://kubb.dev/).
|
|
6307
7466
|
* Do not edit manually.
|
|
6308
7467
|
*/
|
|
6309
|
-
declare const maskingRuleKindEnum: {
|
|
6310
|
-
readonly redact: "redact";
|
|
6311
|
-
readonly null: "null";
|
|
6312
|
-
readonly hash: "hash";
|
|
6313
|
-
};
|
|
6314
|
-
type MaskingRuleKindEnumKey = (typeof maskingRuleKindEnum)[keyof typeof maskingRuleKindEnum];
|
|
6315
7468
|
/**
|
|
6316
|
-
* @description
|
|
7469
|
+
* @description An organization visible to the caller\'s credential.
|
|
6317
7470
|
* @type object
|
|
6318
7471
|
*/
|
|
6319
|
-
type
|
|
6320
|
-
/**
|
|
6321
|
-
* @description Relation name, optionally schema-qualified (e.g. \"public.users\" or \"users\").
|
|
6322
|
-
* @example users
|
|
6323
|
-
* @type string
|
|
6324
|
-
*/
|
|
6325
|
-
table: string;
|
|
7472
|
+
type OrganizationSummary = {
|
|
6326
7473
|
/**
|
|
6327
|
-
* @description
|
|
6328
|
-
* @example
|
|
7474
|
+
* @description Organization identifier.
|
|
7475
|
+
* @example org_abc123
|
|
6329
7476
|
* @type string
|
|
6330
7477
|
*/
|
|
6331
|
-
|
|
7478
|
+
id: string;
|
|
6332
7479
|
/**
|
|
6333
|
-
* @description
|
|
7480
|
+
* @description Organization display name.
|
|
7481
|
+
* @example Acme Corp
|
|
6334
7482
|
* @type string
|
|
6335
7483
|
*/
|
|
6336
|
-
|
|
6337
|
-
};
|
|
6338
|
-
|
|
6339
|
-
/**
|
|
6340
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
6341
|
-
* Do not edit manually.
|
|
6342
|
-
*/
|
|
6343
|
-
/**
|
|
6344
|
-
* @description A per-relation row filter. The predicate is a raw SQL boolean expression ANDed into the WHERE clause for the matching relation.
|
|
6345
|
-
* @type object
|
|
6346
|
-
*/
|
|
6347
|
-
type RowFilter = {
|
|
7484
|
+
name: string;
|
|
6348
7485
|
/**
|
|
6349
|
-
* @description
|
|
6350
|
-
* @example
|
|
7486
|
+
* @description Organization slug used in URLs and routing.
|
|
7487
|
+
* @example acme-corp
|
|
6351
7488
|
* @type string
|
|
6352
7489
|
*/
|
|
6353
|
-
|
|
7490
|
+
slug: string;
|
|
6354
7491
|
/**
|
|
6355
|
-
* @description
|
|
6356
|
-
* @example
|
|
6357
|
-
* @type string
|
|
7492
|
+
* @description The caller\'s role within the organization. Omitted for organization-scoped API keys, which act as the organization itself rather than as a member.
|
|
7493
|
+
* @example owner
|
|
7494
|
+
* @type string | undefined
|
|
6358
7495
|
*/
|
|
6359
|
-
|
|
7496
|
+
role?: string;
|
|
6360
7497
|
};
|
|
6361
7498
|
|
|
6362
7499
|
/**
|
|
6363
7500
|
* Generated by Kubb (https://kubb.dev/).
|
|
6364
7501
|
* Do not edit manually.
|
|
6365
7502
|
*/
|
|
7503
|
+
|
|
6366
7504
|
/**
|
|
6367
|
-
* @description
|
|
7505
|
+
* @description Organizations visible to the caller\'s credential.
|
|
6368
7506
|
* @type object
|
|
6369
7507
|
*/
|
|
6370
|
-
type
|
|
7508
|
+
type ListOrganizationsResponse = {
|
|
6371
7509
|
/**
|
|
6372
|
-
* @description
|
|
6373
|
-
* @type array
|
|
7510
|
+
* @description Organizations the caller can access.
|
|
7511
|
+
* @type array
|
|
6374
7512
|
*/
|
|
6375
|
-
|
|
7513
|
+
organizations: OrganizationSummary[];
|
|
7514
|
+
};
|
|
7515
|
+
|
|
7516
|
+
/**
|
|
7517
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
7518
|
+
* Do not edit manually.
|
|
7519
|
+
*/
|
|
7520
|
+
|
|
7521
|
+
/**
|
|
7522
|
+
* @description Organizations visible to the caller\'s credential.
|
|
7523
|
+
* @type object
|
|
7524
|
+
*/
|
|
7525
|
+
type ListOrganizationsStatus200 = ListOrganizationsResponse;
|
|
7526
|
+
/**
|
|
7527
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
7528
|
+
* @type object
|
|
7529
|
+
*/
|
|
7530
|
+
type ListOrganizationsStatus401 = Error$1;
|
|
7531
|
+
/**
|
|
7532
|
+
* @description Standard error response envelope for PgBeam API requests.
|
|
7533
|
+
* @type object
|
|
7534
|
+
*/
|
|
7535
|
+
type ListOrganizationsStatus429 = Error$1;
|
|
7536
|
+
/**
|
|
7537
|
+
* @type object
|
|
7538
|
+
*/
|
|
7539
|
+
type ListOrganizationsRequestConfig = {
|
|
7540
|
+
data?: never;
|
|
7541
|
+
pathParams?: never;
|
|
7542
|
+
queryParams?: never;
|
|
7543
|
+
headerParams?: never;
|
|
6376
7544
|
/**
|
|
6377
|
-
* @
|
|
6378
|
-
* @type array | undefined
|
|
7545
|
+
* @type string
|
|
6379
7546
|
*/
|
|
6380
|
-
|
|
7547
|
+
url: "/v1/organizations";
|
|
7548
|
+
};
|
|
7549
|
+
/**
|
|
7550
|
+
* @type object
|
|
7551
|
+
*/
|
|
7552
|
+
type ListOrganizationsResponses = {
|
|
7553
|
+
"200": ListOrganizationsStatus200;
|
|
7554
|
+
"401": ListOrganizationsStatus401;
|
|
7555
|
+
"429": ListOrganizationsStatus429;
|
|
6381
7556
|
};
|
|
6382
7557
|
|
|
6383
7558
|
/**
|
|
@@ -6662,154 +7837,6 @@ type ListPolicyProfilesResponses = {
|
|
|
6662
7837
|
* Do not edit manually.
|
|
6663
7838
|
*/
|
|
6664
7839
|
|
|
6665
|
-
declare const policyProfileInputAccessModeEnum: {
|
|
6666
|
-
readonly read_only: "read_only";
|
|
6667
|
-
readonly read_write: "read_write";
|
|
6668
|
-
};
|
|
6669
|
-
type PolicyProfileInputAccessModeEnumKey = (typeof policyProfileInputAccessModeEnum)[keyof typeof policyProfileInputAccessModeEnum];
|
|
6670
|
-
declare const policyProfileInputWriteModeEnum: {
|
|
6671
|
-
readonly normal: "normal";
|
|
6672
|
-
readonly rollback: "rollback";
|
|
6673
|
-
readonly sandbox: "sandbox";
|
|
6674
|
-
};
|
|
6675
|
-
type PolicyProfileInputWriteModeEnumKey = (typeof policyProfileInputWriteModeEnum)[keyof typeof policyProfileInputWriteModeEnum];
|
|
6676
|
-
declare const policyProfileInputApprovalModeEnum: {
|
|
6677
|
-
readonly off: "off";
|
|
6678
|
-
readonly writes: "writes";
|
|
6679
|
-
readonly ddl: "ddl";
|
|
6680
|
-
readonly all: "all";
|
|
6681
|
-
};
|
|
6682
|
-
type PolicyProfileInputApprovalModeEnumKey = (typeof policyProfileInputApprovalModeEnum)[keyof typeof policyProfileInputApprovalModeEnum];
|
|
6683
|
-
declare const policyProfileInputMigrationSafetyEnum: {
|
|
6684
|
-
readonly off: "off";
|
|
6685
|
-
readonly warn: "warn";
|
|
6686
|
-
readonly block: "block";
|
|
6687
|
-
};
|
|
6688
|
-
type PolicyProfileInputMigrationSafetyEnumKey = (typeof policyProfileInputMigrationSafetyEnum)[keyof typeof policyProfileInputMigrationSafetyEnum];
|
|
6689
|
-
/**
|
|
6690
|
-
* @description Mutable fields of a policy profile (used for create and update).
|
|
6691
|
-
* @type object
|
|
6692
|
-
*/
|
|
6693
|
-
type PolicyProfileInput = {
|
|
6694
|
-
/**
|
|
6695
|
-
* @description Human-readable name for the policy profile.
|
|
6696
|
-
* @minLength 1
|
|
6697
|
-
* @maxLength 128
|
|
6698
|
-
* @type string
|
|
6699
|
-
*/
|
|
6700
|
-
name: string;
|
|
6701
|
-
/**
|
|
6702
|
-
* @description read_only blocks all data and schema mutations.
|
|
6703
|
-
* @default "read_only"
|
|
6704
|
-
* @type string | undefined
|
|
6705
|
-
*/
|
|
6706
|
-
access_mode?: PolicyProfileInputAccessModeEnumKey;
|
|
6707
|
-
/**
|
|
6708
|
-
* @description Per-statement-kind allow/deny lists. Empty allow means all kinds permitted by the access mode.
|
|
6709
|
-
* @type object | undefined
|
|
6710
|
-
*/
|
|
6711
|
-
statement_rules?: StatementRules;
|
|
6712
|
-
/**
|
|
6713
|
-
* @description If non-empty, only these relations are reachable.
|
|
6714
|
-
* @type array | undefined
|
|
6715
|
-
*/
|
|
6716
|
-
table_allowlist?: string[];
|
|
6717
|
-
/**
|
|
6718
|
-
* @description Relations explicitly blocked.
|
|
6719
|
-
* @type array | undefined
|
|
6720
|
-
*/
|
|
6721
|
-
table_denylist?: string[];
|
|
6722
|
-
/**
|
|
6723
|
-
* @description Column masking rules applied to query results.
|
|
6724
|
-
* @type array | undefined
|
|
6725
|
-
*/
|
|
6726
|
-
masking_rules?: MaskingRule[];
|
|
6727
|
-
/**
|
|
6728
|
-
* @description Max queries per rolling hour window. 0 means unlimited.
|
|
6729
|
-
* @minLength 0
|
|
6730
|
-
* @default 0
|
|
6731
|
-
* @type integer | undefined
|
|
6732
|
-
*/
|
|
6733
|
-
budget_queries_per_hour?: number;
|
|
6734
|
-
/**
|
|
6735
|
-
* @description Max queries per day window. 0 means unlimited.
|
|
6736
|
-
* @minLength 0
|
|
6737
|
-
* @default 0
|
|
6738
|
-
* @type integer | undefined
|
|
6739
|
-
*/
|
|
6740
|
-
budget_queries_per_day?: number;
|
|
6741
|
-
/**
|
|
6742
|
-
* @description Max rows returned per query. 0 means unlimited.
|
|
6743
|
-
* @minLength 0
|
|
6744
|
-
* @default 0
|
|
6745
|
-
* @type integer | undefined
|
|
6746
|
-
*/
|
|
6747
|
-
max_rows?: number;
|
|
6748
|
-
/**
|
|
6749
|
-
* @description Upstream statement timeout for agent sessions. 0 uses the project default.
|
|
6750
|
-
* @minLength 0
|
|
6751
|
-
* @default 0
|
|
6752
|
-
* @type integer | undefined
|
|
6753
|
-
*/
|
|
6754
|
-
statement_timeout_ms?: number;
|
|
6755
|
-
/**
|
|
6756
|
-
* @description Per-relation row filters ANDed into agent reads.
|
|
6757
|
-
* @type array | undefined
|
|
6758
|
-
*/
|
|
6759
|
-
row_filters?: RowFilter[];
|
|
6760
|
-
/**
|
|
6761
|
-
* @description How writes are handled. normal commits, rollback auto-rolls back, sandbox routes to an ephemeral branch.
|
|
6762
|
-
* @default "normal"
|
|
6763
|
-
* @type string | undefined
|
|
6764
|
-
*/
|
|
6765
|
-
write_mode?: PolicyProfileInputWriteModeEnumKey;
|
|
6766
|
-
/**
|
|
6767
|
-
* @description Which statement classes require human approval before execution.
|
|
6768
|
-
* @default "off"
|
|
6769
|
-
* @type string | undefined
|
|
6770
|
-
*/
|
|
6771
|
-
approval_mode?: PolicyProfileInputApprovalModeEnumKey;
|
|
6772
|
-
/**
|
|
6773
|
-
* @description Statements touching at most this many rows are auto-approved. 0 means none.
|
|
6774
|
-
* @minLength 0
|
|
6775
|
-
* @default 0
|
|
6776
|
-
* @type integer | undefined
|
|
6777
|
-
*/
|
|
6778
|
-
approval_auto_max_rows?: number;
|
|
6779
|
-
/**
|
|
6780
|
-
* @description How long a held statement waits for a decision before expiring.
|
|
6781
|
-
* @minLength 0
|
|
6782
|
-
* @default 300
|
|
6783
|
-
* @type integer | undefined
|
|
6784
|
-
*/
|
|
6785
|
-
approval_timeout_seconds?: number;
|
|
6786
|
-
/**
|
|
6787
|
-
* @description Migration safety mode. warn surfaces findings, block refuses unsafe DDL.
|
|
6788
|
-
* @default "off"
|
|
6789
|
-
* @type string | undefined
|
|
6790
|
-
*/
|
|
6791
|
-
migration_safety?: PolicyProfileInputMigrationSafetyEnumKey;
|
|
6792
|
-
/**
|
|
6793
|
-
* @description Per-day egress budget in bytes. 0 means unlimited.
|
|
6794
|
-
* @minLength 0
|
|
6795
|
-
* @default 0
|
|
6796
|
-
* @type integer | undefined
|
|
6797
|
-
*/
|
|
6798
|
-
egress_bytes_per_day?: number;
|
|
6799
|
-
/**
|
|
6800
|
-
* @description Hard cap on rows a single write (INSERT/UPDATE/DELETE) may affect. A write whose affected-row count would exceed this is executed inside a transaction, checked, and rolled back so nothing persists, then blocked. Enforced independently of human approval. 0 means unlimited.
|
|
6801
|
-
* @minLength 0
|
|
6802
|
-
* @default 0
|
|
6803
|
-
* @type integer | undefined
|
|
6804
|
-
*/
|
|
6805
|
-
max_affected_rows?: number;
|
|
6806
|
-
};
|
|
6807
|
-
|
|
6808
|
-
/**
|
|
6809
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
6810
|
-
* Do not edit manually.
|
|
6811
|
-
*/
|
|
6812
|
-
|
|
6813
7840
|
/**
|
|
6814
7841
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
6815
7842
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
@@ -7124,135 +8151,46 @@ type DeletePolicyProfileRequestConfig = {
|
|
|
7124
8151
|
*/
|
|
7125
8152
|
type DeletePolicyProfileResponses = {
|
|
7126
8153
|
"204": DeletePolicyProfileStatus204;
|
|
7127
|
-
"400": DeletePolicyProfileStatus400;
|
|
7128
|
-
"401": DeletePolicyProfileStatus401;
|
|
7129
|
-
"403": DeletePolicyProfileStatus403;
|
|
7130
|
-
"404": DeletePolicyProfileStatus404;
|
|
7131
|
-
"409": DeletePolicyProfileStatus409;
|
|
7132
|
-
};
|
|
7133
|
-
/**
|
|
7134
|
-
* @description Union of all possible responses
|
|
7135
|
-
*/
|
|
7136
|
-
type DeletePolicyProfileResponse = (DeletePolicyProfileStatus204 | DeletePolicyProfileStatus400 | DeletePolicyProfileStatus401 | DeletePolicyProfileStatus403 | DeletePolicyProfileStatus404 | DeletePolicyProfileStatus409);
|
|
7137
|
-
|
|
7138
|
-
/**
|
|
7139
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
7140
|
-
* Do not edit manually.
|
|
7141
|
-
*/
|
|
7142
|
-
|
|
7143
|
-
/**
|
|
7144
|
-
* @description A SQL statement to test plus the policy to test it against. Supply exactly one of policy_id (an existing saved policy) or policy (an unsaved draft, e.g. the in-progress editor form).
|
|
7145
|
-
* @type object
|
|
7146
|
-
*/
|
|
7147
|
-
type DryEvalInput = {
|
|
7148
|
-
/**
|
|
7149
|
-
* @description The single SQL statement to evaluate.
|
|
7150
|
-
* @minLength 1
|
|
7151
|
-
* @maxLength 100000
|
|
7152
|
-
* @example SELECT email FROM users WHERE id = 1
|
|
7153
|
-
* @type string
|
|
7154
|
-
*/
|
|
7155
|
-
sql: string;
|
|
7156
|
-
/**
|
|
7157
|
-
* @description ID of an existing saved policy profile to evaluate against.
|
|
7158
|
-
* @example pol_01h455vb4pex5vsknk084sn02q
|
|
7159
|
-
* @type string | undefined
|
|
7160
|
-
*/
|
|
7161
|
-
policy_id?: string;
|
|
7162
|
-
/**
|
|
7163
|
-
* @description Mutable fields of a policy profile (used for create and update).
|
|
7164
|
-
* @type object | undefined
|
|
7165
|
-
*/
|
|
7166
|
-
policy?: PolicyProfileInput;
|
|
7167
|
-
};
|
|
7168
|
-
|
|
7169
|
-
/**
|
|
7170
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
7171
|
-
* Do not edit manually.
|
|
7172
|
-
*/
|
|
7173
|
-
declare const dryEvalMaskedColumnKindEnum: {
|
|
7174
|
-
readonly redact: "redact";
|
|
7175
|
-
readonly null: "null";
|
|
7176
|
-
readonly hash: "hash";
|
|
7177
|
-
};
|
|
7178
|
-
type DryEvalMaskedColumnKindEnumKey = (typeof dryEvalMaskedColumnKindEnum)[keyof typeof dryEvalMaskedColumnKindEnum];
|
|
7179
|
-
/**
|
|
7180
|
-
* @description One result column that would be masked, with the mask kind applied.
|
|
7181
|
-
* @type object
|
|
7182
|
-
*/
|
|
7183
|
-
type DryEvalMaskedColumn = {
|
|
7184
|
-
/**
|
|
7185
|
-
* @description The output column name (post-alias) the client would see masked.
|
|
7186
|
-
* @example email
|
|
7187
|
-
* @type string
|
|
7188
|
-
*/
|
|
7189
|
-
column: string;
|
|
7190
|
-
/**
|
|
7191
|
-
* @description How the column is masked.
|
|
7192
|
-
* @type string
|
|
7193
|
-
*/
|
|
7194
|
-
kind: DryEvalMaskedColumnKindEnumKey;
|
|
8154
|
+
"400": DeletePolicyProfileStatus400;
|
|
8155
|
+
"401": DeletePolicyProfileStatus401;
|
|
8156
|
+
"403": DeletePolicyProfileStatus403;
|
|
8157
|
+
"404": DeletePolicyProfileStatus404;
|
|
8158
|
+
"409": DeletePolicyProfileStatus409;
|
|
7195
8159
|
};
|
|
8160
|
+
/**
|
|
8161
|
+
* @description Union of all possible responses
|
|
8162
|
+
*/
|
|
8163
|
+
type DeletePolicyProfileResponse = (DeletePolicyProfileStatus204 | DeletePolicyProfileStatus400 | DeletePolicyProfileStatus401 | DeletePolicyProfileStatus403 | DeletePolicyProfileStatus404 | DeletePolicyProfileStatus409);
|
|
7196
8164
|
|
|
7197
8165
|
/**
|
|
7198
8166
|
* Generated by Kubb (https://kubb.dev/).
|
|
7199
8167
|
* Do not edit manually.
|
|
7200
8168
|
*/
|
|
7201
8169
|
|
|
7202
|
-
declare const dryEvalResultVerdictEnum: {
|
|
7203
|
-
readonly allow: "allow";
|
|
7204
|
-
readonly block: "block";
|
|
7205
|
-
readonly mask: "mask";
|
|
7206
|
-
readonly "row-filter": "row-filter";
|
|
7207
|
-
};
|
|
7208
|
-
type DryEvalResultVerdictEnumKey = (typeof dryEvalResultVerdictEnum)[keyof typeof dryEvalResultVerdictEnum];
|
|
7209
8170
|
/**
|
|
7210
|
-
* @description
|
|
8171
|
+
* @description A SQL statement to test plus the policy to test it against. Supply exactly one of policy_id (an existing saved policy) or policy (an unsaved draft, e.g. the in-progress editor form).
|
|
7211
8172
|
* @type object
|
|
7212
8173
|
*/
|
|
7213
|
-
type
|
|
7214
|
-
/**
|
|
7215
|
-
* @description allow — permitted unchanged; block — rejected; mask — permitted but listed result columns are masked; row-filter — permitted but a WHERE predicate is injected (and any listed columns are also masked).
|
|
7216
|
-
* @type string
|
|
7217
|
-
*/
|
|
7218
|
-
verdict: DryEvalResultVerdictEnumKey;
|
|
7219
|
-
/**
|
|
7220
|
-
* @description Machine-readable decision tag. For a block, the blocking rule (e.g. read_only, table_denied, table_not_allowed, statement_denied, row_filter_unsafe). Otherwise \"ok\".
|
|
7221
|
-
* @example ok
|
|
7222
|
-
* @type string
|
|
7223
|
-
*/
|
|
7224
|
-
rule: string;
|
|
8174
|
+
type DryEvalInput = {
|
|
7225
8175
|
/**
|
|
7226
|
-
* @description
|
|
8176
|
+
* @description The single SQL statement to evaluate.
|
|
8177
|
+
* @minLength 1
|
|
8178
|
+
* @maxLength 100000
|
|
8179
|
+
* @example SELECT email FROM users WHERE id = 1
|
|
7227
8180
|
* @type string
|
|
7228
8181
|
*/
|
|
7229
|
-
|
|
7230
|
-
/**
|
|
7231
|
-
* @description What the author could do instead (present on block verdicts).
|
|
7232
|
-
* @type string | undefined
|
|
7233
|
-
*/
|
|
7234
|
-
hint?: string;
|
|
7235
|
-
/**
|
|
7236
|
-
* @description Result columns that would be masked. Present on mask/row-filter verdicts.
|
|
7237
|
-
* @type array | undefined
|
|
7238
|
-
*/
|
|
7239
|
-
masked_columns?: DryEvalMaskedColumn[];
|
|
7240
|
-
/**
|
|
7241
|
-
* @description The row-filter predicate ANDed into the statement\'s WHERE clause.
|
|
7242
|
-
* @example tenant_id = current_setting('pgbeam.tenant')
|
|
7243
|
-
* @type string | undefined
|
|
7244
|
-
*/
|
|
7245
|
-
row_filter_predicate?: string;
|
|
8182
|
+
sql: string;
|
|
7246
8183
|
/**
|
|
7247
|
-
* @description
|
|
8184
|
+
* @description ID of an existing saved policy profile to evaluate against.
|
|
8185
|
+
* @example pol_01h455vb4pex5vsknk084sn02q
|
|
7248
8186
|
* @type string | undefined
|
|
7249
8187
|
*/
|
|
7250
|
-
|
|
8188
|
+
policy_id?: string;
|
|
7251
8189
|
/**
|
|
7252
|
-
* @description
|
|
7253
|
-
* @type
|
|
8190
|
+
* @description Mutable fields of a policy profile (used for create and update).
|
|
8191
|
+
* @type object | undefined
|
|
7254
8192
|
*/
|
|
7255
|
-
|
|
8193
|
+
policy?: PolicyProfileInput;
|
|
7256
8194
|
};
|
|
7257
8195
|
|
|
7258
8196
|
/**
|
|
@@ -7387,163 +8325,6 @@ type PolicyReplayInput = {
|
|
|
7387
8325
|
* Do not edit manually.
|
|
7388
8326
|
*/
|
|
7389
8327
|
|
|
7390
|
-
declare const policyReplayItemChangeEnum: {
|
|
7391
|
-
readonly newly_blocked: "newly_blocked";
|
|
7392
|
-
readonly newly_allowed: "newly_allowed";
|
|
7393
|
-
readonly still_allowed: "still_allowed";
|
|
7394
|
-
readonly still_blocked: "still_blocked";
|
|
7395
|
-
};
|
|
7396
|
-
type PolicyReplayItemChangeEnumKey = (typeof policyReplayItemChangeEnum)[keyof typeof policyReplayItemChangeEnum];
|
|
7397
|
-
/**
|
|
7398
|
-
* @description One distinct recorded query and the decision the candidate policy would reach for it.
|
|
7399
|
-
* @type object
|
|
7400
|
-
*/
|
|
7401
|
-
type PolicyReplayItem = {
|
|
7402
|
-
/**
|
|
7403
|
-
* @description Normalized query hash identifying this statement shape.
|
|
7404
|
-
* @type string
|
|
7405
|
-
*/
|
|
7406
|
-
query_hash: string;
|
|
7407
|
-
/**
|
|
7408
|
-
* @description The recorded statement (normalized, literals replaced with $N placeholders), from its most recent occurrence.
|
|
7409
|
-
* @type string
|
|
7410
|
-
*/
|
|
7411
|
-
sql: string;
|
|
7412
|
-
/**
|
|
7413
|
-
* @description Statement kind (select, insert, update, delete, ddl, ...).
|
|
7414
|
-
* @type string | undefined
|
|
7415
|
-
*/
|
|
7416
|
-
statement_kind?: string;
|
|
7417
|
-
/**
|
|
7418
|
-
* @description How many recorded entries share this query shape in the window.
|
|
7419
|
-
* @type integer
|
|
7420
|
-
*/
|
|
7421
|
-
occurrences: number;
|
|
7422
|
-
/**
|
|
7423
|
-
* @description Oldest occurrence in the window.
|
|
7424
|
-
* @type string
|
|
7425
|
-
*/
|
|
7426
|
-
first_seen: string;
|
|
7427
|
-
/**
|
|
7428
|
-
* @description Newest occurrence in the window.
|
|
7429
|
-
* @type string
|
|
7430
|
-
*/
|
|
7431
|
-
last_seen: string;
|
|
7432
|
-
/**
|
|
7433
|
-
* @description The most recent recorded outcome for this query (query, masked, truncated, or blocked).
|
|
7434
|
-
* @type string
|
|
7435
|
-
*/
|
|
7436
|
-
recorded_event: string;
|
|
7437
|
-
/**
|
|
7438
|
-
* @description The decision rule recorded with a blocked outcome.
|
|
7439
|
-
* @type string | undefined
|
|
7440
|
-
*/
|
|
7441
|
-
recorded_rule?: string;
|
|
7442
|
-
/**
|
|
7443
|
-
* @description How the candidate decision compares to the recorded outcome. newly_blocked and newly_allowed are the changes worth reviewing before rollout; still_allowed and still_blocked are unchanged.
|
|
7444
|
-
* @type string
|
|
7445
|
-
*/
|
|
7446
|
-
change: PolicyReplayItemChangeEnumKey;
|
|
7447
|
-
/**
|
|
7448
|
-
* @description The decision the proxy would reach for the supplied statement under the supplied policy. verdict is the headline outcome; the remaining fields detail why.
|
|
7449
|
-
* @type object
|
|
7450
|
-
*/
|
|
7451
|
-
result: DryEvalResult;
|
|
7452
|
-
};
|
|
7453
|
-
|
|
7454
|
-
/**
|
|
7455
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
7456
|
-
* Do not edit manually.
|
|
7457
|
-
*/
|
|
7458
|
-
/**
|
|
7459
|
-
* @description Aggregate outcome of a policy replay.
|
|
7460
|
-
* @type object
|
|
7461
|
-
*/
|
|
7462
|
-
type PolicyReplaySummary = {
|
|
7463
|
-
/**
|
|
7464
|
-
* @description Recorded audit entries covered by the replayed queries.
|
|
7465
|
-
* @type integer
|
|
7466
|
-
*/
|
|
7467
|
-
entries_scanned: number;
|
|
7468
|
-
/**
|
|
7469
|
-
* @description Distinct normalized queries found in the window (capped at limit).
|
|
7470
|
-
* @type integer
|
|
7471
|
-
*/
|
|
7472
|
-
distinct_queries: number;
|
|
7473
|
-
/**
|
|
7474
|
-
* @description Distinct queries actually evaluated against the candidate policy.
|
|
7475
|
-
* @type integer
|
|
7476
|
-
*/
|
|
7477
|
-
evaluated: number;
|
|
7478
|
-
/**
|
|
7479
|
-
* @description Queries the candidate policy would allow unchanged.
|
|
7480
|
-
* @type integer
|
|
7481
|
-
*/
|
|
7482
|
-
would_allow: number;
|
|
7483
|
-
/**
|
|
7484
|
-
* @description Queries the candidate policy would block.
|
|
7485
|
-
* @type integer
|
|
7486
|
-
*/
|
|
7487
|
-
would_block: number;
|
|
7488
|
-
/**
|
|
7489
|
-
* @description Queries the candidate policy would mask result columns on.
|
|
7490
|
-
* @type integer
|
|
7491
|
-
*/
|
|
7492
|
-
would_mask: number;
|
|
7493
|
-
/**
|
|
7494
|
-
* @description Queries the candidate policy would inject a row filter into.
|
|
7495
|
-
* @type integer
|
|
7496
|
-
*/
|
|
7497
|
-
would_row_filter: number;
|
|
7498
|
-
/**
|
|
7499
|
-
* @description Queries that executed under the recorded policy but the candidate policy would block.
|
|
7500
|
-
* @type integer
|
|
7501
|
-
*/
|
|
7502
|
-
newly_blocked: number;
|
|
7503
|
-
/**
|
|
7504
|
-
* @description Queries that were blocked when recorded but the candidate policy would permit.
|
|
7505
|
-
* @type integer
|
|
7506
|
-
*/
|
|
7507
|
-
newly_allowed: number;
|
|
7508
|
-
/**
|
|
7509
|
-
* @description Distinct queries skipped because the stored statement was truncated at record time and can no longer be parsed faithfully.
|
|
7510
|
-
* @type integer
|
|
7511
|
-
*/
|
|
7512
|
-
skipped_unparseable: number;
|
|
7513
|
-
/**
|
|
7514
|
-
* @description True when the window contained more distinct queries than limit; only the newest were replayed.
|
|
7515
|
-
* @type boolean
|
|
7516
|
-
*/
|
|
7517
|
-
truncated: boolean;
|
|
7518
|
-
};
|
|
7519
|
-
|
|
7520
|
-
/**
|
|
7521
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
7522
|
-
* Do not edit manually.
|
|
7523
|
-
*/
|
|
7524
|
-
|
|
7525
|
-
/**
|
|
7526
|
-
* @description The outcome of replaying recorded agent traffic against a candidate policy: an aggregate summary plus per-query decisions, changes first.
|
|
7527
|
-
* @type object
|
|
7528
|
-
*/
|
|
7529
|
-
type PolicyReplayResult = {
|
|
7530
|
-
/**
|
|
7531
|
-
* @description Aggregate outcome of a policy replay.
|
|
7532
|
-
* @type object
|
|
7533
|
-
*/
|
|
7534
|
-
summary: PolicyReplaySummary;
|
|
7535
|
-
/**
|
|
7536
|
-
* @description Per-query replay decisions, ordered changes first (newly blocked, then newly allowed), then by occurrence count.
|
|
7537
|
-
* @type array
|
|
7538
|
-
*/
|
|
7539
|
-
items: PolicyReplayItem[];
|
|
7540
|
-
};
|
|
7541
|
-
|
|
7542
|
-
/**
|
|
7543
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
7544
|
-
* Do not edit manually.
|
|
7545
|
-
*/
|
|
7546
|
-
|
|
7547
8328
|
/**
|
|
7548
8329
|
* @description Unique project identifier (prefixed, e.g. prj_xxx).
|
|
7549
8330
|
* @pattern ^[a-zA-Z0-9_.-]+$
|
|
@@ -11165,6 +11946,10 @@ type RevokeAgentCredentialParams = {
|
|
|
11165
11946
|
type RotateAgentCredentialParams = {
|
|
11166
11947
|
pathParams: NonNullable<RotateAgentCredentialRequestConfig["pathParams"]>;
|
|
11167
11948
|
};
|
|
11949
|
+
type RecommendAgentPolicyParams = {
|
|
11950
|
+
pathParams: NonNullable<RecommendAgentPolicyRequestConfig["pathParams"]>;
|
|
11951
|
+
body: NonNullable<RecommendAgentPolicyRequestConfig["data"]>;
|
|
11952
|
+
};
|
|
11168
11953
|
type ListAnomalyAlertsParams = {
|
|
11169
11954
|
pathParams: NonNullable<ListAnomalyAlertsRequestConfig["pathParams"]>;
|
|
11170
11955
|
queryParams?: NonNullable<ListAnomalyAlertsRequestConfig["queryParams"]>;
|
|
@@ -11267,6 +12052,24 @@ type DeleteCustomDomainParams = {
|
|
|
11267
12052
|
type VerifyCustomDomainParams = {
|
|
11268
12053
|
pathParams: NonNullable<VerifyCustomDomainRequestConfig["pathParams"]>;
|
|
11269
12054
|
};
|
|
12055
|
+
type ListHoneytokensParams = {
|
|
12056
|
+
pathParams: NonNullable<ListHoneytokensRequestConfig["pathParams"]>;
|
|
12057
|
+
queryParams?: NonNullable<ListHoneytokensRequestConfig["queryParams"]>;
|
|
12058
|
+
};
|
|
12059
|
+
type CreateHoneytokenParams = {
|
|
12060
|
+
pathParams: NonNullable<CreateHoneytokenRequestConfig["pathParams"]>;
|
|
12061
|
+
body: NonNullable<CreateHoneytokenRequestConfig["data"]>;
|
|
12062
|
+
};
|
|
12063
|
+
type GetHoneytokenParams = {
|
|
12064
|
+
pathParams: NonNullable<GetHoneytokenRequestConfig["pathParams"]>;
|
|
12065
|
+
};
|
|
12066
|
+
type UpdateHoneytokenParams = {
|
|
12067
|
+
pathParams: NonNullable<UpdateHoneytokenRequestConfig["pathParams"]>;
|
|
12068
|
+
body: NonNullable<UpdateHoneytokenRequestConfig["data"]>;
|
|
12069
|
+
};
|
|
12070
|
+
type DeleteHoneytokenParams = {
|
|
12071
|
+
pathParams: NonNullable<DeleteHoneytokenRequestConfig["pathParams"]>;
|
|
12072
|
+
};
|
|
11270
12073
|
type GetProjectInsightsParams = {
|
|
11271
12074
|
pathParams: NonNullable<GetProjectInsightsRequestConfig["pathParams"]>;
|
|
11272
12075
|
queryParams?: NonNullable<GetProjectInsightsRequestConfig["queryParams"]>;
|
|
@@ -11407,6 +12210,7 @@ interface ApiOperations {
|
|
|
11407
12210
|
exportAccountData(): Promise<ExportAccountDataStatus200>;
|
|
11408
12211
|
getOnboardingProgress(params: GetOnboardingProgressParams): Promise<GetOnboardingProgressStatus200>;
|
|
11409
12212
|
updateOnboardingProgress(params: UpdateOnboardingProgressParams): Promise<UpdateOnboardingProgressStatus200>;
|
|
12213
|
+
listOrganizations(): Promise<ListOrganizationsStatus200>;
|
|
11410
12214
|
};
|
|
11411
12215
|
agents: {
|
|
11412
12216
|
listAgentCredentials(params: ListAgentCredentialsParams): Promise<ListAgentCredentialsStatus200>;
|
|
@@ -11419,6 +12223,16 @@ interface ApiOperations {
|
|
|
11419
12223
|
exportAuditLogs(params: ExportAuditLogsParams): Promise<ExportAuditLogsStatus200>;
|
|
11420
12224
|
verifyAuditChain(params: VerifyAuditChainParams): Promise<VerifyAuditChainStatus200>;
|
|
11421
12225
|
};
|
|
12226
|
+
policies: {
|
|
12227
|
+
recommendAgentPolicy(params: RecommendAgentPolicyParams): Promise<RecommendAgentPolicyStatus200>;
|
|
12228
|
+
listPolicyProfiles(params: ListPolicyProfilesParams): Promise<ListPolicyProfilesStatus200>;
|
|
12229
|
+
createPolicyProfile(params: CreatePolicyProfileParams): Promise<CreatePolicyProfileStatus201>;
|
|
12230
|
+
getPolicyProfile(params: GetPolicyProfileParams): Promise<GetPolicyProfileStatus200>;
|
|
12231
|
+
updatePolicyProfile(params: UpdatePolicyProfileParams): Promise<UpdatePolicyProfileStatus200>;
|
|
12232
|
+
deletePolicyProfile(params: DeletePolicyProfileParams): Promise<void>;
|
|
12233
|
+
dryEvalPolicy(params: DryEvalPolicyParams): Promise<DryEvalPolicyStatus200>;
|
|
12234
|
+
replayPolicy(params: ReplayPolicyParams): Promise<ReplayPolicyStatus200>;
|
|
12235
|
+
};
|
|
11422
12236
|
anomalies: {
|
|
11423
12237
|
listAnomalyAlerts(params: ListAnomalyAlertsParams): Promise<ListAnomalyAlertsStatus200>;
|
|
11424
12238
|
updateAnomalyAlert(params: UpdateAnomalyAlertParams): Promise<UpdateAnomalyAlertStatus200>;
|
|
@@ -11477,18 +12291,16 @@ interface ApiOperations {
|
|
|
11477
12291
|
revokeSelfHostEnrollment(params: RevokeSelfHostEnrollmentParams): Promise<void>;
|
|
11478
12292
|
rotateSelfHostEnrollment(params: RotateSelfHostEnrollmentParams): Promise<RotateSelfHostEnrollmentStatus200>;
|
|
11479
12293
|
};
|
|
12294
|
+
honeytokens: {
|
|
12295
|
+
listHoneytokens(params: ListHoneytokensParams): Promise<ListHoneytokensStatus200>;
|
|
12296
|
+
createHoneytoken(params: CreateHoneytokenParams): Promise<CreateHoneytokenStatus201>;
|
|
12297
|
+
getHoneytoken(params: GetHoneytokenParams): Promise<GetHoneytokenStatus200>;
|
|
12298
|
+
updateHoneytoken(params: UpdateHoneytokenParams): Promise<UpdateHoneytokenStatus200>;
|
|
12299
|
+
deleteHoneytoken(params: DeleteHoneytokenParams): Promise<void>;
|
|
12300
|
+
};
|
|
11480
12301
|
migrations: {
|
|
11481
12302
|
lintMigration(params: LintMigrationParams): Promise<LintMigrationStatus200>;
|
|
11482
12303
|
};
|
|
11483
|
-
policies: {
|
|
11484
|
-
listPolicyProfiles(params: ListPolicyProfilesParams): Promise<ListPolicyProfilesStatus200>;
|
|
11485
|
-
createPolicyProfile(params: CreatePolicyProfileParams): Promise<CreatePolicyProfileStatus201>;
|
|
11486
|
-
getPolicyProfile(params: GetPolicyProfileParams): Promise<GetPolicyProfileStatus200>;
|
|
11487
|
-
updatePolicyProfile(params: UpdatePolicyProfileParams): Promise<UpdatePolicyProfileStatus200>;
|
|
11488
|
-
deletePolicyProfile(params: DeletePolicyProfileParams): Promise<void>;
|
|
11489
|
-
dryEvalPolicy(params: DryEvalPolicyParams): Promise<DryEvalPolicyStatus200>;
|
|
11490
|
-
replayPolicy(params: ReplayPolicyParams): Promise<ReplayPolicyStatus200>;
|
|
11491
|
-
};
|
|
11492
12304
|
support: {
|
|
11493
12305
|
listSupportCases(params: ListSupportCasesParams): Promise<ListSupportCasesStatus200>;
|
|
11494
12306
|
createSupportCase(params: CreateSupportCaseParams): Promise<CreateSupportCaseStatus201>;
|
|
@@ -11537,6 +12349,10 @@ interface RequestMap {
|
|
|
11537
12349
|
params: RotateAgentCredentialParams;
|
|
11538
12350
|
response: RotateAgentCredentialStatus200;
|
|
11539
12351
|
};
|
|
12352
|
+
"POST /v1/projects/{project_id}/agents/{agent_id}/policy-recommendation": {
|
|
12353
|
+
params: RecommendAgentPolicyParams;
|
|
12354
|
+
response: RecommendAgentPolicyStatus200;
|
|
12355
|
+
};
|
|
11540
12356
|
"GET /v1/projects/{project_id}/anomalies": {
|
|
11541
12357
|
params: ListAnomalyAlertsParams;
|
|
11542
12358
|
response: ListAnomalyAlertsStatus200;
|
|
@@ -11657,6 +12473,26 @@ interface RequestMap {
|
|
|
11657
12473
|
params?: undefined;
|
|
11658
12474
|
response: GetHealthStatus200;
|
|
11659
12475
|
};
|
|
12476
|
+
"GET /v1/projects/{project_id}/honeytokens": {
|
|
12477
|
+
params: ListHoneytokensParams;
|
|
12478
|
+
response: ListHoneytokensStatus200;
|
|
12479
|
+
};
|
|
12480
|
+
"POST /v1/projects/{project_id}/honeytokens": {
|
|
12481
|
+
params: CreateHoneytokenParams;
|
|
12482
|
+
response: CreateHoneytokenStatus201;
|
|
12483
|
+
};
|
|
12484
|
+
"GET /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
|
|
12485
|
+
params: GetHoneytokenParams;
|
|
12486
|
+
response: GetHoneytokenStatus200;
|
|
12487
|
+
};
|
|
12488
|
+
"PUT /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
|
|
12489
|
+
params: UpdateHoneytokenParams;
|
|
12490
|
+
response: UpdateHoneytokenStatus200;
|
|
12491
|
+
};
|
|
12492
|
+
"DELETE /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
|
|
12493
|
+
params: DeleteHoneytokenParams;
|
|
12494
|
+
response: void;
|
|
12495
|
+
};
|
|
11660
12496
|
"GET /v1/projects/{project_id}/insights": {
|
|
11661
12497
|
params: GetProjectInsightsParams;
|
|
11662
12498
|
response: GetProjectInsightsStatus200;
|
|
@@ -11673,6 +12509,10 @@ interface RequestMap {
|
|
|
11673
12509
|
params: UpdateOnboardingProgressParams;
|
|
11674
12510
|
response: UpdateOnboardingProgressStatus200;
|
|
11675
12511
|
};
|
|
12512
|
+
"GET /v1/organizations": {
|
|
12513
|
+
params?: undefined;
|
|
12514
|
+
response: ListOrganizationsStatus200;
|
|
12515
|
+
};
|
|
11676
12516
|
"GET /v1/projects/{project_id}/policies": {
|
|
11677
12517
|
params: ListPolicyProfilesParams;
|
|
11678
12518
|
response: ListPolicyProfilesStatus200;
|
|
@@ -12016,5 +12856,5 @@ type McpTransportResponses = {
|
|
|
12016
12856
|
*/
|
|
12017
12857
|
type McpTransportResponse = (McpTransportStatus200 | McpTransportStatus401 | McpTransportStatus429);
|
|
12018
12858
|
|
|
12019
|
-
export { ApiError, PgBeamClient, SSLMode, agentCredentialAuthMethodEnum, agentCredentialPrincipalTypeEnum, agentCredentialStatusEnum, anomalyAlertSeverityEnum, anomalyAlertStatusEnum, approvalRequestStatusEnum, auditDecision, auditSource, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createAgentCredentialRequestPrincipalTypeEnum, createProjectRequestCloudEnum, dataResidency, databaseBranchStatusEnum, databaseRole, dryEvalMaskedColumnKindEnum, dryEvalResultVerdictEnum, extractMessage, healthResponseStatusEnum, maskingRuleKindEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, migrationFindingSeverityEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, piiSuggestionMaskKindEnum, piiSuggestionPiiTypeEnum, policyProfileAccessModeEnum, policyProfileApprovalModeEnum, policyProfileInputAccessModeEnum, policyProfileInputApprovalModeEnum, policyProfileInputMigrationSafetyEnum, policyProfileInputWriteModeEnum, policyProfileMigrationSafetyEnum, policyProfileWriteModeEnum, policyReplayItemChangeEnum, poolMode, projectCloudEnum, projectStatus, regionProviderEnum, regionStatusEnum, schemaCatalogRelationKindEnum, supportCaseStatus, supportMessageSource, updateAgentCredentialStatusRequestStatusEnum, updateAnomalyAlertRequestStatusEnum, updateOnboardingRequestStepEnum, vercelResourceStatusStatusEnum, webhookEndpointFormatEnum, webhookEndpointInputFormatEnum };
|
|
12020
|
-
export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditChainVerification, AuditDecision, AuditDecisionKey, AuditLogEntry, AuditSource, AuditSourceKey, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateSelfHostEnrollmentData, CreateSelfHostEnrollmentPathOrgId, CreateSelfHostEnrollmentRequest, CreateSelfHostEnrollmentRequestConfig, CreateSelfHostEnrollmentResponse, CreateSelfHostEnrollmentResponses, CreateSelfHostEnrollmentStatus201, CreateSelfHostEnrollmentStatus400, CreateSelfHostEnrollmentStatus401, CreateSelfHostEnrollmentStatus403, CreateSelfHostEnrollmentStatus429, CreateSupportCaseData, CreateSupportCasePathOrgId, CreateSupportCaseRequest, CreateSupportCaseRequestConfig, CreateSupportCaseResponse, CreateSupportCaseResponses, CreateSupportCaseStatus201, CreateSupportCaseStatus400, CreateSupportCaseStatus401, CreateSupportCaseStatus403, CreateSupportMessageData, CreateSupportMessagePathCaseId, CreateSupportMessagePathOrgId, CreateSupportMessageRequest, CreateSupportMessageRequestConfig, CreateSupportMessageResponse, CreateSupportMessageResponses, CreateSupportMessageStatus201, CreateSupportMessageStatus400, CreateSupportMessageStatus401, CreateSupportMessageStatus403, CreateSupportMessageStatus404, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, DataResidencyKey, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, DryEvalInput, DryEvalMaskedColumn, DryEvalMaskedColumnKindEnumKey, DryEvalPolicyData, DryEvalPolicyPathProjectId, DryEvalPolicyRequestConfig, DryEvalPolicyResponse, DryEvalPolicyResponses, DryEvalPolicyStatus200, DryEvalPolicyStatus400, DryEvalPolicyStatus401, DryEvalPolicyStatus403, DryEvalPolicyStatus404, DryEvalPolicyStatus429, DryEvalResult, DryEvalResultVerdictEnumKey, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, ExportAuditLogsPathProjectId, ExportAuditLogsQueryCredentialId, ExportAuditLogsQueryDecision, ExportAuditLogsQueryEnd, ExportAuditLogsQueryEvent, ExportAuditLogsQuerySource, ExportAuditLogsQueryStart, ExportAuditLogsRequestConfig, ExportAuditLogsResponse, ExportAuditLogsResponses, ExportAuditLogsStatus200, ExportAuditLogsStatus400, ExportAuditLogsStatus401, ExportAuditLogsStatus403, ExportAuditLogsStatus404, ExportAuditLogsStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetSchemaCatalogPathDatabaseId, GetSchemaCatalogPathProjectId, GetSchemaCatalogRequestConfig, GetSchemaCatalogResponse, GetSchemaCatalogResponses, GetSchemaCatalogStatus200, GetSchemaCatalogStatus400, GetSchemaCatalogStatus401, GetSchemaCatalogStatus403, GetSchemaCatalogStatus404, GetSchemaCatalogStatus429, GetSupportCasePathCaseId, GetSupportCasePathOrgId, GetSupportCaseRequestConfig, GetSupportCaseResponse, GetSupportCaseResponses, GetSupportCaseStatus200, GetSupportCaseStatus400, GetSupportCaseStatus401, GetSupportCaseStatus403, GetSupportCaseStatus404, GetVercelInstallationPathOrgId, GetVercelInstallationRequestConfig, GetVercelInstallationResponse, GetVercelInstallationResponses, GetVercelInstallationStatus200, GetVercelInstallationStatus400, GetVercelInstallationStatus401, GetVercelInstallationStatus403, GetVercelInstallationStatus404, GetVercelInstallationStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HandleSlackSupportEventData, HandleSlackSupportEventRequestConfig, HandleSlackSupportEventResponse, HandleSlackSupportEventResponses, HandleSlackSupportEventStatus200, HandleSlackSupportEventStatus400, HandleSlackSupportEventStatus401, HandleSlackSupportEventStatus404, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryDecision, ListAuditLogsQueryEnd, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsQuerySource, ListAuditLogsQueryStart, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListSelfHostEnrollmentsPathOrgId, ListSelfHostEnrollmentsRequestConfig, ListSelfHostEnrollmentsResponse, ListSelfHostEnrollmentsResponses, ListSelfHostEnrollmentsStatus200, ListSelfHostEnrollmentsStatus400, ListSelfHostEnrollmentsStatus401, ListSelfHostEnrollmentsStatus403, ListSupportCasesPathOrgId, ListSupportCasesQueryPage, ListSupportCasesQueryPageSize, ListSupportCasesQuerySearch, ListSupportCasesQueryStatus, ListSupportCasesRequestConfig, ListSupportCasesResponse, ListSupportCasesResponses, ListSupportCasesStatus200, ListSupportCasesStatus400, ListSupportCasesStatus401, ListSupportCasesStatus403, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PiiSuggestion, PiiSuggestionMaskKindEnumKey, PiiSuggestionPiiTypeEnumKey, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PolicyReplayInput, PolicyReplayItem, PolicyReplayItemChangeEnumKey, PolicyReplayResult, PolicyReplaySummary, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, ReplayPolicyData, ReplayPolicyPathProjectId, ReplayPolicyRequestConfig, ReplayPolicyResponse, ReplayPolicyResponses, ReplayPolicyStatus200, ReplayPolicyStatus400, ReplayPolicyStatus401, ReplayPolicyStatus403, ReplayPolicyStatus404, ReplayPolicyStatus429, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RevokeSelfHostEnrollmentPathEnrollmentId, RevokeSelfHostEnrollmentPathOrgId, RevokeSelfHostEnrollmentRequestConfig, RevokeSelfHostEnrollmentResponse, RevokeSelfHostEnrollmentResponses, RevokeSelfHostEnrollmentStatus204, RevokeSelfHostEnrollmentStatus400, RevokeSelfHostEnrollmentStatus401, RevokeSelfHostEnrollmentStatus403, RevokeSelfHostEnrollmentStatus404, RotateAgentCredentialPathAgentId, RotateAgentCredentialPathProjectId, RotateAgentCredentialRequestConfig, RotateAgentCredentialResponse, RotateAgentCredentialResponses, RotateAgentCredentialStatus200, RotateAgentCredentialStatus400, RotateAgentCredentialStatus401, RotateAgentCredentialStatus403, RotateAgentCredentialStatus404, RotateAgentCredentialStatus409, RotateSelfHostEnrollmentPathEnrollmentId, RotateSelfHostEnrollmentPathOrgId, RotateSelfHostEnrollmentRequestConfig, RotateSelfHostEnrollmentResponse, RotateSelfHostEnrollmentResponses, RotateSelfHostEnrollmentStatus200, RotateSelfHostEnrollmentStatus400, RotateSelfHostEnrollmentStatus401, RotateSelfHostEnrollmentStatus403, RotateSelfHostEnrollmentStatus404, RotateSelfHostEnrollmentStatus409, RowFilter, SSLModeKey, ScanDatabaseForPiiPathDatabaseId, ScanDatabaseForPiiPathProjectId, ScanDatabaseForPiiRequestConfig, ScanDatabaseForPiiResponse, ScanDatabaseForPiiResponses, ScanDatabaseForPiiStatus200, ScanDatabaseForPiiStatus400, ScanDatabaseForPiiStatus401, ScanDatabaseForPiiStatus403, ScanDatabaseForPiiStatus404, ScanDatabaseForPiiStatus429, ScanPiiResult, SchemaCatalog, SchemaCatalogColumn, SchemaCatalogRelation, SchemaCatalogRelationKindEnumKey, SelfHostEnrollment, SelfHostEnrollmentSecret, SlackEventPayload, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, SupportCase, SupportCaseStatus, SupportCaseStatusKey, SupportMessage, SupportMessageSourceKey, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateSupportCaseData, UpdateSupportCasePathCaseId, UpdateSupportCasePathOrgId, UpdateSupportCaseRequest, UpdateSupportCaseRequestConfig, UpdateSupportCaseResponse, UpdateSupportCaseResponses, UpdateSupportCaseStatus200, UpdateSupportCaseStatus400, UpdateSupportCaseStatus401, UpdateSupportCaseStatus403, UpdateSupportCaseStatus404, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VercelInstallationStatus, VercelResourceStatus, VercelResourceStatusStatusEnumKey, VerifyAuditChainPathProjectId, VerifyAuditChainQueryEnd, VerifyAuditChainQueryStart, VerifyAuditChainRequestConfig, VerifyAuditChainResponse, VerifyAuditChainResponses, VerifyAuditChainStatus200, VerifyAuditChainStatus400, VerifyAuditChainStatus401, VerifyAuditChainStatus403, VerifyAuditChainStatus404, VerifyAuditChainStatus429, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
|
|
12859
|
+
export { ApiError, PgBeamClient, SSLMode, agentCredentialAuthMethodEnum, agentCredentialPrincipalTypeEnum, agentCredentialStatusEnum, anomalyAlertSeverityEnum, anomalyAlertStatusEnum, approvalRequestStatusEnum, auditDecision, auditSource, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createAgentCredentialRequestPrincipalTypeEnum, createProjectRequestCloudEnum, dataResidency, databaseBranchStatusEnum, databaseRole, dryEvalMaskedColumnKindEnum, dryEvalResultVerdictEnum, extractMessage, healthResponseStatusEnum, honeytokenActionEnum, honeytokenInputActionEnum, maskingRuleKindEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, migrationFindingSeverityEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, piiSuggestionMaskKindEnum, piiSuggestionPiiTypeEnum, policyProfileAccessModeEnum, policyProfileApprovalModeEnum, policyProfileInputAccessModeEnum, policyProfileInputApprovalModeEnum, policyProfileInputMigrationSafetyEnum, policyProfileInputWriteModeEnum, policyProfileMigrationSafetyEnum, policyProfileWriteModeEnum, policyReplayItemChangeEnum, poolMode, projectCloudEnum, projectStatus, regionProviderEnum, regionStatusEnum, schemaCatalogRelationKindEnum, supportCaseStatus, supportMessageSource, updateAgentCredentialStatusRequestStatusEnum, updateAnomalyAlertRequestStatusEnum, updateOnboardingRequestStepEnum, vercelResourceStatusStatusEnum, webhookEndpointFormatEnum, webhookEndpointInputFormatEnum };
|
|
12860
|
+
export type { AccountExport, AgentCredential, AgentCredentialAuthMethodEnumKey, AgentCredentialPrincipalTypeEnumKey, AgentCredentialSecrets, AgentCredentialStatusEnumKey, AnomalyAlert, AnomalyAlertSeverityEnumKey, AnomalyAlertStatusEnumKey, ApiClient, ApprovalDecisionRequest, ApprovalRequest, ApprovalRequestStatusEnumKey, ApproveApprovalRequestData, ApproveApprovalRequestPathApprovalId, ApproveApprovalRequestPathProjectId, ApproveApprovalRequestRequestConfig, ApproveApprovalRequestResponse, ApproveApprovalRequestResponses, ApproveApprovalRequestStatus200, ApproveApprovalRequestStatus400, ApproveApprovalRequestStatus401, ApproveApprovalRequestStatus403, ApproveApprovalRequestStatus404, ApproveApprovalRequestStatus409, AuditChainVerification, AuditDecision, AuditDecisionKey, AuditLogEntry, AuditSource, AuditSourceKey, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateAgentCredentialData, CreateAgentCredentialPathProjectId, CreateAgentCredentialRequest, CreateAgentCredentialRequestConfig, CreateAgentCredentialRequestPrincipalTypeEnumKey, CreateAgentCredentialResponse, CreateAgentCredentialResponses, CreateAgentCredentialStatus201, CreateAgentCredentialStatus400, CreateAgentCredentialStatus401, CreateAgentCredentialStatus403, CreateAgentCredentialStatus404, CreateAgentCredentialStatus409, CreateAgentCredentialStatus429, CreateCustomDomainData, CreateCustomDomainPathProjectId, CreateCustomDomainRequest, CreateCustomDomainRequestConfig, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateCustomDomainStatus201, CreateCustomDomainStatus400, CreateCustomDomainStatus401, CreateCustomDomainStatus403, CreateCustomDomainStatus404, CreateCustomDomainStatus409, CreateCustomDomainStatus429, CreateDatabaseData, CreateDatabasePathProjectId, CreateDatabaseRequest, CreateDatabaseRequestConfig, CreateDatabaseResponse, CreateDatabaseResponses, CreateDatabaseStatus201, CreateDatabaseStatus400, CreateDatabaseStatus401, CreateDatabaseStatus403, CreateDatabaseStatus404, CreateDatabaseStatus429, CreateHoneytokenData, CreateHoneytokenPathProjectId, CreateHoneytokenRequestConfig, CreateHoneytokenResponse, CreateHoneytokenResponses, CreateHoneytokenStatus201, CreateHoneytokenStatus400, CreateHoneytokenStatus401, CreateHoneytokenStatus403, CreateHoneytokenStatus404, CreateHoneytokenStatus429, CreatePolicyProfileData, CreatePolicyProfilePathProjectId, CreatePolicyProfileRequestConfig, CreatePolicyProfileResponse, CreatePolicyProfileResponses, CreatePolicyProfileStatus201, CreatePolicyProfileStatus400, CreatePolicyProfileStatus401, CreatePolicyProfileStatus403, CreatePolicyProfileStatus404, CreatePolicyProfileStatus409, CreatePolicyProfileStatus429, CreateProjectData, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectRequestConfig, CreateProjectResponse, CreateProjectResponses, CreateProjectStatus201, CreateProjectStatus400, CreateProjectStatus401, CreateProjectStatus403, CreateProjectStatus409, CreateProjectStatus429, CreateReplicaData, CreateReplicaPathDatabaseId, CreateReplicaRequest, CreateReplicaRequestConfig, CreateReplicaResponse, CreateReplicaResponses, CreateReplicaStatus201, CreateReplicaStatus400, CreateReplicaStatus401, CreateReplicaStatus403, CreateReplicaStatus404, CreateReplicaStatus429, CreateSelfHostEnrollmentData, CreateSelfHostEnrollmentPathOrgId, CreateSelfHostEnrollmentRequest, CreateSelfHostEnrollmentRequestConfig, CreateSelfHostEnrollmentResponse, CreateSelfHostEnrollmentResponses, CreateSelfHostEnrollmentStatus201, CreateSelfHostEnrollmentStatus400, CreateSelfHostEnrollmentStatus401, CreateSelfHostEnrollmentStatus403, CreateSelfHostEnrollmentStatus429, CreateSupportCaseData, CreateSupportCasePathOrgId, CreateSupportCaseRequest, CreateSupportCaseRequestConfig, CreateSupportCaseResponse, CreateSupportCaseResponses, CreateSupportCaseStatus201, CreateSupportCaseStatus400, CreateSupportCaseStatus401, CreateSupportCaseStatus403, CreateSupportMessageData, CreateSupportMessagePathCaseId, CreateSupportMessagePathOrgId, CreateSupportMessageRequest, CreateSupportMessageRequestConfig, CreateSupportMessageResponse, CreateSupportMessageResponses, CreateSupportMessageStatus201, CreateSupportMessageStatus400, CreateSupportMessageStatus401, CreateSupportMessageStatus403, CreateSupportMessageStatus404, CreateWebhookEndpointData, CreateWebhookEndpointPathProjectId, CreateWebhookEndpointRequestConfig, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, CreateWebhookEndpointStatus201, CreateWebhookEndpointStatus400, CreateWebhookEndpointStatus401, CreateWebhookEndpointStatus403, CreateWebhookEndpointStatus404, CreateWebhookEndpointStatus429, CustomDomain, DailyUsage, DataResidencyKey, Database, DatabaseBranch, DatabaseBranchStatusEnumKey, DatabaseRoleKey, DeleteCustomDomainPathDomainId, DeleteCustomDomainPathProjectId, DeleteCustomDomainRequestConfig, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteCustomDomainStatus204, DeleteCustomDomainStatus400, DeleteCustomDomainStatus401, DeleteCustomDomainStatus403, DeleteCustomDomainStatus404, DeleteCustomDomainStatus429, DeleteDatabasePathDatabaseId, DeleteDatabasePathProjectId, DeleteDatabaseRequestConfig, DeleteDatabaseResponse, DeleteDatabaseResponses, DeleteDatabaseStatus204, DeleteDatabaseStatus400, DeleteDatabaseStatus401, DeleteDatabaseStatus403, DeleteDatabaseStatus404, DeleteDatabaseStatus429, DeleteHoneytokenPathHoneytokenId, DeleteHoneytokenPathProjectId, DeleteHoneytokenRequestConfig, DeleteHoneytokenResponse, DeleteHoneytokenResponses, DeleteHoneytokenStatus204, DeleteHoneytokenStatus400, DeleteHoneytokenStatus401, DeleteHoneytokenStatus403, DeleteHoneytokenStatus404, DeletePolicyProfilePathPolicyId, DeletePolicyProfilePathProjectId, DeletePolicyProfileRequestConfig, DeletePolicyProfileResponse, DeletePolicyProfileResponses, DeletePolicyProfileStatus204, DeletePolicyProfileStatus400, DeletePolicyProfileStatus401, DeletePolicyProfileStatus403, DeletePolicyProfileStatus404, DeletePolicyProfileStatus409, DeleteProjectPathProjectId, DeleteProjectRequestConfig, DeleteProjectResponse, DeleteProjectResponses, DeleteProjectStatus204, DeleteProjectStatus400, DeleteProjectStatus401, DeleteProjectStatus403, DeleteProjectStatus404, DeleteProjectStatus429, DeleteReplicaPathDatabaseId, DeleteReplicaPathReplicaId, DeleteReplicaRequestConfig, DeleteReplicaResponse, DeleteReplicaResponses, DeleteReplicaStatus204, DeleteReplicaStatus400, DeleteReplicaStatus401, DeleteReplicaStatus403, DeleteReplicaStatus404, DeleteReplicaStatus429, DeleteWebhookEndpointPathProjectId, DeleteWebhookEndpointPathWebhookId, DeleteWebhookEndpointRequestConfig, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DeleteWebhookEndpointStatus204, DeleteWebhookEndpointStatus400, DeleteWebhookEndpointStatus401, DeleteWebhookEndpointStatus403, DeleteWebhookEndpointStatus404, DiscardDatabaseBranchPathBranchId, DiscardDatabaseBranchPathProjectId, DiscardDatabaseBranchRequestConfig, DiscardDatabaseBranchResponse, DiscardDatabaseBranchResponses, DiscardDatabaseBranchStatus204, DiscardDatabaseBranchStatus400, DiscardDatabaseBranchStatus401, DiscardDatabaseBranchStatus403, DiscardDatabaseBranchStatus404, DnsInstructions, DryEvalInput, DryEvalMaskedColumn, DryEvalMaskedColumnKindEnumKey, DryEvalPolicyData, DryEvalPolicyPathProjectId, DryEvalPolicyRequestConfig, DryEvalPolicyResponse, DryEvalPolicyResponses, DryEvalPolicyStatus200, DryEvalPolicyStatus400, DryEvalPolicyStatus401, DryEvalPolicyStatus403, DryEvalPolicyStatus404, DryEvalPolicyStatus429, DryEvalResult, DryEvalResultVerdictEnumKey, Error$1 as Error, ExportAccountDataRequestConfig, ExportAccountDataResponse, ExportAccountDataResponses, ExportAccountDataStatus200, ExportAccountDataStatus401, ExportAccountDataStatus404, ExportAccountDataStatus429, ExportAuditLogsPathProjectId, ExportAuditLogsQueryCredentialId, ExportAuditLogsQueryDecision, ExportAuditLogsQueryEnd, ExportAuditLogsQueryEvent, ExportAuditLogsQuerySource, ExportAuditLogsQueryStart, ExportAuditLogsRequestConfig, ExportAuditLogsResponse, ExportAuditLogsResponses, ExportAuditLogsStatus200, ExportAuditLogsStatus400, ExportAuditLogsStatus401, ExportAuditLogsStatus403, ExportAuditLogsStatus404, ExportAuditLogsStatus429, GetAgentCredentialPathAgentId, GetAgentCredentialPathProjectId, GetAgentCredentialRequestConfig, GetAgentCredentialResponse, GetAgentCredentialResponses, GetAgentCredentialStatus200, GetAgentCredentialStatus400, GetAgentCredentialStatus401, GetAgentCredentialStatus403, GetAgentCredentialStatus404, GetDatabasePathDatabaseId, GetDatabasePathProjectId, GetDatabaseRequestConfig, GetDatabaseResponse, GetDatabaseResponses, GetDatabaseStatus200, GetDatabaseStatus400, GetDatabaseStatus401, GetDatabaseStatus403, GetDatabaseStatus404, GetDatabaseStatus429, GetHealthRequestConfig, GetHealthResponse, GetHealthResponses, GetHealthStatus200, GetHealthStatus429, GetHoneytokenPathHoneytokenId, GetHoneytokenPathProjectId, GetHoneytokenRequestConfig, GetHoneytokenResponse, GetHoneytokenResponses, GetHoneytokenStatus200, GetHoneytokenStatus400, GetHoneytokenStatus401, GetHoneytokenStatus403, GetHoneytokenStatus404, GetOnboardingProgressPathOrgId, GetOnboardingProgressRequestConfig, GetOnboardingProgressResponse, GetOnboardingProgressResponses, GetOnboardingProgressStatus200, GetOnboardingProgressStatus400, GetOnboardingProgressStatus401, GetOnboardingProgressStatus403, GetOnboardingProgressStatus404, GetOnboardingProgressStatus429, GetOrganizationPlanPathOrgId, GetOrganizationPlanRequestConfig, GetOrganizationPlanResponse, GetOrganizationPlanResponses, GetOrganizationPlanStatus200, GetOrganizationPlanStatus400, GetOrganizationPlanStatus401, GetOrganizationPlanStatus403, GetOrganizationPlanStatus429, GetOrganizationUsagePathOrgId, GetOrganizationUsageQueryEndDate, GetOrganizationUsageQueryStartDate, GetOrganizationUsageRequestConfig, GetOrganizationUsageResponse, GetOrganizationUsageResponses, GetOrganizationUsageStatus200, GetOrganizationUsageStatus400, GetOrganizationUsageStatus401, GetOrganizationUsageStatus403, GetOrganizationUsageStatus429, GetPolicyProfilePathPolicyId, GetPolicyProfilePathProjectId, GetPolicyProfileRequestConfig, GetPolicyProfileResponse, GetPolicyProfileResponses, GetPolicyProfileStatus200, GetPolicyProfileStatus400, GetPolicyProfileStatus401, GetPolicyProfileStatus403, GetPolicyProfileStatus404, GetProjectInsightsPathProjectId, GetProjectInsightsQueryLimit, GetProjectInsightsQueryRange, GetProjectInsightsRequestConfig, GetProjectInsightsResponse, GetProjectInsightsResponses, GetProjectInsightsStatus200, GetProjectInsightsStatus400, GetProjectInsightsStatus401, GetProjectInsightsStatus404, GetProjectInsightsStatus429, GetProjectMetricsPathProjectId, GetProjectMetricsQueryLimit, GetProjectMetricsQueryRegion, GetProjectMetricsRequestConfig, GetProjectMetricsResponse, GetProjectMetricsResponses, GetProjectMetricsStatus200, GetProjectMetricsStatus400, GetProjectMetricsStatus401, GetProjectMetricsStatus404, GetProjectMetricsStatus429, GetProjectPathProjectId, GetProjectRequestConfig, GetProjectResponse, GetProjectResponses, GetProjectStatus200, GetProjectStatus400, GetProjectStatus401, GetProjectStatus403, GetProjectStatus404, GetProjectStatus429, GetProjectUsagePathProjectId, GetProjectUsageQueryEndDate, GetProjectUsageQueryStartDate, GetProjectUsageRequestConfig, GetProjectUsageResponse, GetProjectUsageResponses, GetProjectUsageStatus200, GetProjectUsageStatus400, GetProjectUsageStatus401, GetProjectUsageStatus404, GetProjectUsageStatus429, GetSchemaCatalogPathDatabaseId, GetSchemaCatalogPathProjectId, GetSchemaCatalogRequestConfig, GetSchemaCatalogResponse, GetSchemaCatalogResponses, GetSchemaCatalogStatus200, GetSchemaCatalogStatus400, GetSchemaCatalogStatus401, GetSchemaCatalogStatus403, GetSchemaCatalogStatus404, GetSchemaCatalogStatus429, GetSupportCasePathCaseId, GetSupportCasePathOrgId, GetSupportCaseRequestConfig, GetSupportCaseResponse, GetSupportCaseResponses, GetSupportCaseStatus200, GetSupportCaseStatus400, GetSupportCaseStatus401, GetSupportCaseStatus403, GetSupportCaseStatus404, GetVercelInstallationPathOrgId, GetVercelInstallationRequestConfig, GetVercelInstallationResponse, GetVercelInstallationResponses, GetVercelInstallationStatus200, GetVercelInstallationStatus400, GetVercelInstallationStatus401, GetVercelInstallationStatus403, GetVercelInstallationStatus404, GetVercelInstallationStatus429, GetWebhookEndpointPathProjectId, GetWebhookEndpointPathWebhookId, GetWebhookEndpointRequestConfig, GetWebhookEndpointResponse, GetWebhookEndpointResponses, GetWebhookEndpointStatus200, GetWebhookEndpointStatus400, GetWebhookEndpointStatus401, GetWebhookEndpointStatus403, GetWebhookEndpointStatus404, HandleSlackSupportEventData, HandleSlackSupportEventRequestConfig, HandleSlackSupportEventResponse, HandleSlackSupportEventResponses, HandleSlackSupportEventStatus200, HandleSlackSupportEventStatus400, HandleSlackSupportEventStatus401, HandleSlackSupportEventStatus404, HealthResponse, HealthResponseStatusEnumKey, Honeytoken, HoneytokenActionEnumKey, HoneytokenInput, HoneytokenInputActionEnumKey, LatencySummary, LintMigrationData, LintMigrationPathProjectId, LintMigrationRequestConfig, LintMigrationResponse, LintMigrationResponses, LintMigrationStatus200, LintMigrationStatus400, LintMigrationStatus401, LintMigrationStatus403, LintMigrationStatus404, ListAgentCredentialsPathProjectId, ListAgentCredentialsQueryPageSize, ListAgentCredentialsQueryPageToken, ListAgentCredentialsRequestConfig, ListAgentCredentialsResponse, ListAgentCredentialsResponses, ListAgentCredentialsStatus200, ListAgentCredentialsStatus400, ListAgentCredentialsStatus401, ListAgentCredentialsStatus403, ListAgentCredentialsStatus404, ListAgentCredentialsStatus429, ListAnomalyAlertsPathProjectId, ListAnomalyAlertsQueryPageSize, ListAnomalyAlertsQueryPageToken, ListAnomalyAlertsQueryStatus, ListAnomalyAlertsRequestConfig, ListAnomalyAlertsResponse, ListAnomalyAlertsResponses, ListAnomalyAlertsStatus200, ListAnomalyAlertsStatus400, ListAnomalyAlertsStatus401, ListAnomalyAlertsStatus403, ListAnomalyAlertsStatus404, ListAnomalyAlertsStatus429, ListApprovalRequestsPathProjectId, ListApprovalRequestsQueryPageSize, ListApprovalRequestsQueryPageToken, ListApprovalRequestsQueryStatus, ListApprovalRequestsRequestConfig, ListApprovalRequestsResponse, ListApprovalRequestsResponses, ListApprovalRequestsStatus200, ListApprovalRequestsStatus400, ListApprovalRequestsStatus401, ListApprovalRequestsStatus403, ListApprovalRequestsStatus404, ListApprovalRequestsStatus429, ListAuditLogsPathProjectId, ListAuditLogsQueryBefore, ListAuditLogsQueryCredentialId, ListAuditLogsQueryDecision, ListAuditLogsQueryEnd, ListAuditLogsQueryEvent, ListAuditLogsQueryPageSize, ListAuditLogsQuerySource, ListAuditLogsQueryStart, ListAuditLogsRequestConfig, ListAuditLogsResponse, ListAuditLogsResponses, ListAuditLogsStatus200, ListAuditLogsStatus400, ListAuditLogsStatus401, ListAuditLogsStatus403, ListAuditLogsStatus404, ListAuditLogsStatus429, ListCacheRulesPathDatabaseId, ListCacheRulesPathProjectId, ListCacheRulesQueryPageSize, ListCacheRulesQueryPageToken, ListCacheRulesRequestConfig, ListCacheRulesResponse, ListCacheRulesResponses, ListCacheRulesStatus200, ListCacheRulesStatus400, ListCacheRulesStatus401, ListCacheRulesStatus403, ListCacheRulesStatus404, ListCacheRulesStatus429, ListCustomDomainsPathProjectId, ListCustomDomainsQueryPageSize, ListCustomDomainsQueryPageToken, ListCustomDomainsRequestConfig, ListCustomDomainsResponse, ListCustomDomainsResponses, ListCustomDomainsStatus200, ListCustomDomainsStatus400, ListCustomDomainsStatus401, ListCustomDomainsStatus403, ListCustomDomainsStatus404, ListCustomDomainsStatus429, ListDatabaseBranchesPathProjectId, ListDatabaseBranchesQueryPageSize, ListDatabaseBranchesQueryPageToken, ListDatabaseBranchesQueryStatus, ListDatabaseBranchesRequestConfig, ListDatabaseBranchesResponse, ListDatabaseBranchesResponses, ListDatabaseBranchesStatus200, ListDatabaseBranchesStatus400, ListDatabaseBranchesStatus401, ListDatabaseBranchesStatus403, ListDatabaseBranchesStatus404, ListDatabaseBranchesStatus429, ListDatabasesPathProjectId, ListDatabasesQueryPageSize, ListDatabasesQueryPageToken, ListDatabasesRequestConfig, ListDatabasesResponse, ListDatabasesResponses, ListDatabasesStatus200, ListDatabasesStatus400, ListDatabasesStatus401, ListDatabasesStatus403, ListDatabasesStatus404, ListDatabasesStatus429, ListHoneytokensPathProjectId, ListHoneytokensQueryPageSize, ListHoneytokensQueryPageToken, ListHoneytokensRequestConfig, ListHoneytokensResponse, ListHoneytokensResponses, ListHoneytokensStatus200, ListHoneytokensStatus400, ListHoneytokensStatus401, ListHoneytokensStatus403, ListHoneytokensStatus404, ListHoneytokensStatus429, ListOrganizationsRequestConfig, ListOrganizationsResponse, ListOrganizationsResponses, ListOrganizationsStatus200, ListOrganizationsStatus401, ListOrganizationsStatus429, ListPlansRequestConfig, ListPlansResponse, ListPlansResponses, ListPlansStatus200, ListPlansStatus401, ListPlansStatus429, ListPolicyProfilesPathProjectId, ListPolicyProfilesQueryPageSize, ListPolicyProfilesQueryPageToken, ListPolicyProfilesRequestConfig, ListPolicyProfilesResponse, ListPolicyProfilesResponses, ListPolicyProfilesStatus200, ListPolicyProfilesStatus400, ListPolicyProfilesStatus401, ListPolicyProfilesStatus403, ListPolicyProfilesStatus404, ListPolicyProfilesStatus429, ListProjectsQueryOrgId, ListProjectsQueryPageSize, ListProjectsQueryPageToken, ListProjectsQuerySortBy, ListProjectsRequestConfig, ListProjectsResponse, ListProjectsResponses, ListProjectsStatus200, ListProjectsStatus400, ListProjectsStatus401, ListProjectsStatus403, ListProjectsStatus429, ListRegionsRequestConfig, ListRegionsResponse, ListRegionsResponses, ListRegionsStatus200, ListRegionsStatus401, ListRegionsStatus429, ListReplicasPathDatabaseId, ListReplicasRequestConfig, ListReplicasResponse, ListReplicasResponses, ListReplicasStatus200, ListReplicasStatus400, ListReplicasStatus401, ListReplicasStatus403, ListReplicasStatus404, ListReplicasStatus429, ListSelfHostEnrollmentsPathOrgId, ListSelfHostEnrollmentsRequestConfig, ListSelfHostEnrollmentsResponse, ListSelfHostEnrollmentsResponses, ListSelfHostEnrollmentsStatus200, ListSelfHostEnrollmentsStatus400, ListSelfHostEnrollmentsStatus401, ListSelfHostEnrollmentsStatus403, ListSupportCasesPathOrgId, ListSupportCasesQueryPage, ListSupportCasesQueryPageSize, ListSupportCasesQuerySearch, ListSupportCasesQueryStatus, ListSupportCasesRequestConfig, ListSupportCasesResponse, ListSupportCasesResponses, ListSupportCasesStatus200, ListSupportCasesStatus400, ListSupportCasesStatus401, ListSupportCasesStatus403, ListWebhookEndpointsPathProjectId, ListWebhookEndpointsQueryPageSize, ListWebhookEndpointsQueryPageToken, ListWebhookEndpointsRequestConfig, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, ListWebhookEndpointsStatus200, ListWebhookEndpointsStatus400, ListWebhookEndpointsStatus401, ListWebhookEndpointsStatus403, ListWebhookEndpointsStatus404, ListWebhookEndpointsStatus429, MaskingRule, MaskingRuleKindEnumKey, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransportData, McpTransportRequestConfig, McpTransportResponse, McpTransportResponses, McpTransportStatus200, McpTransportStatus401, McpTransportStatus429, MetricsSnapshot, MigrationFinding, MigrationFindingSeverityEnumKey, MigrationLintRequest, MigrationLintResponse, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, OrganizationSummary, PgBeamClientOptions, PiiSuggestion, PiiSuggestionMaskKindEnumKey, PiiSuggestionPiiTypeEnumKey, PlanInfo, PlanLimits, PolicyProfile, PolicyProfileAccessModeEnumKey, PolicyProfileApprovalModeEnumKey, PolicyProfileInput, PolicyProfileInputAccessModeEnumKey, PolicyProfileInputApprovalModeEnumKey, PolicyProfileInputMigrationSafetyEnumKey, PolicyProfileInputWriteModeEnumKey, PolicyProfileMigrationSafetyEnumKey, PolicyProfileWriteModeEnumKey, PolicyRecommendation, PolicyRecommendationInput, PolicyReplayInput, PolicyReplayItem, PolicyReplayItemChangeEnumKey, PolicyReplayResult, PolicyReplaySummary, PoolConfig, PoolModeKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatusKey, ProjectUsageResponse, QueryInsight, RecommendAgentPolicyData, RecommendAgentPolicyPathAgentId, RecommendAgentPolicyPathProjectId, RecommendAgentPolicyRequestConfig, RecommendAgentPolicyResponse, RecommendAgentPolicyResponses, RecommendAgentPolicyStatus200, RecommendAgentPolicyStatus400, RecommendAgentPolicyStatus401, RecommendAgentPolicyStatus403, RecommendAgentPolicyStatus404, RecommendAgentPolicyStatus429, Region, RegionProviderEnumKey, RegionStatusEnumKey, RejectApprovalRequestData, RejectApprovalRequestPathApprovalId, RejectApprovalRequestPathProjectId, RejectApprovalRequestRequestConfig, RejectApprovalRequestResponse, RejectApprovalRequestResponses, RejectApprovalRequestStatus200, RejectApprovalRequestStatus400, RejectApprovalRequestStatus401, RejectApprovalRequestStatus403, RejectApprovalRequestStatus404, RejectApprovalRequestStatus409, ReplayPolicyData, ReplayPolicyPathProjectId, ReplayPolicyRequestConfig, ReplayPolicyResponse, ReplayPolicyResponses, ReplayPolicyStatus200, ReplayPolicyStatus400, ReplayPolicyStatus401, ReplayPolicyStatus403, ReplayPolicyStatus404, ReplayPolicyStatus429, Replica, RetryConfig, RevokeAgentCredentialPathAgentId, RevokeAgentCredentialPathProjectId, RevokeAgentCredentialRequestConfig, RevokeAgentCredentialResponse, RevokeAgentCredentialResponses, RevokeAgentCredentialStatus204, RevokeAgentCredentialStatus400, RevokeAgentCredentialStatus401, RevokeAgentCredentialStatus403, RevokeAgentCredentialStatus404, RevokeSelfHostEnrollmentPathEnrollmentId, RevokeSelfHostEnrollmentPathOrgId, RevokeSelfHostEnrollmentRequestConfig, RevokeSelfHostEnrollmentResponse, RevokeSelfHostEnrollmentResponses, RevokeSelfHostEnrollmentStatus204, RevokeSelfHostEnrollmentStatus400, RevokeSelfHostEnrollmentStatus401, RevokeSelfHostEnrollmentStatus403, RevokeSelfHostEnrollmentStatus404, RotateAgentCredentialPathAgentId, RotateAgentCredentialPathProjectId, RotateAgentCredentialRequestConfig, RotateAgentCredentialResponse, RotateAgentCredentialResponses, RotateAgentCredentialStatus200, RotateAgentCredentialStatus400, RotateAgentCredentialStatus401, RotateAgentCredentialStatus403, RotateAgentCredentialStatus404, RotateAgentCredentialStatus409, RotateSelfHostEnrollmentPathEnrollmentId, RotateSelfHostEnrollmentPathOrgId, RotateSelfHostEnrollmentRequestConfig, RotateSelfHostEnrollmentResponse, RotateSelfHostEnrollmentResponses, RotateSelfHostEnrollmentStatus200, RotateSelfHostEnrollmentStatus400, RotateSelfHostEnrollmentStatus401, RotateSelfHostEnrollmentStatus403, RotateSelfHostEnrollmentStatus404, RotateSelfHostEnrollmentStatus409, RowFilter, SSLModeKey, ScanDatabaseForPiiPathDatabaseId, ScanDatabaseForPiiPathProjectId, ScanDatabaseForPiiRequestConfig, ScanDatabaseForPiiResponse, ScanDatabaseForPiiResponses, ScanDatabaseForPiiStatus200, ScanDatabaseForPiiStatus400, ScanDatabaseForPiiStatus401, ScanDatabaseForPiiStatus403, ScanDatabaseForPiiStatus404, ScanDatabaseForPiiStatus429, ScanPiiResult, SchemaCatalog, SchemaCatalogColumn, SchemaCatalogRelation, SchemaCatalogRelationKindEnumKey, SelfHostEnrollment, SelfHostEnrollmentSecret, SlackEventPayload, StatementRules, SubmitCancellationFeedbackData, SubmitCancellationFeedbackPathOrgId, SubmitCancellationFeedbackRequestConfig, SubmitCancellationFeedbackResponse, SubmitCancellationFeedbackResponses, SubmitCancellationFeedbackStatus204, SubmitCancellationFeedbackStatus400, SubmitCancellationFeedbackStatus401, SubmitCancellationFeedbackStatus403, SubmitCancellationFeedbackStatus429, SupportCase, SupportCaseStatus, SupportCaseStatusKey, SupportMessage, SupportMessageSourceKey, TestConnectionResult, TestDatabaseConnectionPathDatabaseId, TestDatabaseConnectionPathProjectId, TestDatabaseConnectionRequestConfig, TestDatabaseConnectionResponse, TestDatabaseConnectionResponses, TestDatabaseConnectionStatus200, TestDatabaseConnectionStatus400, TestDatabaseConnectionStatus401, TestDatabaseConnectionStatus403, TestDatabaseConnectionStatus404, TestDatabaseConnectionStatus429, TestWebhookEndpointPathProjectId, TestWebhookEndpointPathWebhookId, TestWebhookEndpointRequestConfig, TestWebhookEndpointResponse, TestWebhookEndpointResponses, TestWebhookEndpointStatus202, TestWebhookEndpointStatus400, TestWebhookEndpointStatus401, TestWebhookEndpointStatus403, TestWebhookEndpointStatus404, UpdateAgentCredentialStatusData, UpdateAgentCredentialStatusPathAgentId, UpdateAgentCredentialStatusPathProjectId, UpdateAgentCredentialStatusRequest, UpdateAgentCredentialStatusRequestConfig, UpdateAgentCredentialStatusRequestStatusEnumKey, UpdateAgentCredentialStatusResponse, UpdateAgentCredentialStatusResponses, UpdateAgentCredentialStatusStatus200, UpdateAgentCredentialStatusStatus400, UpdateAgentCredentialStatusStatus401, UpdateAgentCredentialStatusStatus403, UpdateAgentCredentialStatusStatus404, UpdateAnomalyAlertData, UpdateAnomalyAlertPathAnomalyId, UpdateAnomalyAlertPathProjectId, UpdateAnomalyAlertRequest, UpdateAnomalyAlertRequestConfig, UpdateAnomalyAlertRequestStatusEnumKey, UpdateAnomalyAlertResponse, UpdateAnomalyAlertResponses, UpdateAnomalyAlertStatus200, UpdateAnomalyAlertStatus400, UpdateAnomalyAlertStatus401, UpdateAnomalyAlertStatus403, UpdateAnomalyAlertStatus404, UpdateCacheRuleData, UpdateCacheRulePathDatabaseId, UpdateCacheRulePathProjectId, UpdateCacheRulePathQueryHash, UpdateCacheRuleRequest, UpdateCacheRuleRequestConfig, UpdateCacheRuleResponse, UpdateCacheRuleResponses, UpdateCacheRuleStatus200, UpdateCacheRuleStatus400, UpdateCacheRuleStatus401, UpdateCacheRuleStatus403, UpdateCacheRuleStatus404, UpdateCacheRuleStatus429, UpdateDatabaseData, UpdateDatabasePathDatabaseId, UpdateDatabasePathProjectId, UpdateDatabaseRequest, UpdateDatabaseRequestConfig, UpdateDatabaseResponse, UpdateDatabaseResponses, UpdateDatabaseStatus200, UpdateDatabaseStatus400, UpdateDatabaseStatus401, UpdateDatabaseStatus403, UpdateDatabaseStatus404, UpdateDatabaseStatus429, UpdateHoneytokenData, UpdateHoneytokenPathHoneytokenId, UpdateHoneytokenPathProjectId, UpdateHoneytokenRequestConfig, UpdateHoneytokenResponse, UpdateHoneytokenResponses, UpdateHoneytokenStatus200, UpdateHoneytokenStatus400, UpdateHoneytokenStatus401, UpdateHoneytokenStatus403, UpdateHoneytokenStatus404, UpdateOnboardingProgressData, UpdateOnboardingProgressPathOrgId, UpdateOnboardingProgressRequestConfig, UpdateOnboardingProgressResponse, UpdateOnboardingProgressResponses, UpdateOnboardingProgressStatus200, UpdateOnboardingProgressStatus400, UpdateOnboardingProgressStatus401, UpdateOnboardingProgressStatus403, UpdateOnboardingProgressStatus404, UpdateOnboardingProgressStatus429, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdatePolicyProfileData, UpdatePolicyProfilePathPolicyId, UpdatePolicyProfilePathProjectId, UpdatePolicyProfileRequestConfig, UpdatePolicyProfileResponse, UpdatePolicyProfileResponses, UpdatePolicyProfileStatus200, UpdatePolicyProfileStatus400, UpdatePolicyProfileStatus401, UpdatePolicyProfileStatus403, UpdatePolicyProfileStatus404, UpdatePolicyProfileStatus429, UpdateProjectData, UpdateProjectPathProjectId, UpdateProjectRequest, UpdateProjectRequestConfig, UpdateProjectResponse, UpdateProjectResponses, UpdateProjectStatus200, UpdateProjectStatus400, UpdateProjectStatus401, UpdateProjectStatus403, UpdateProjectStatus404, UpdateProjectStatus429, UpdateSpendLimitData, UpdateSpendLimitPathOrgId, UpdateSpendLimitRequest, UpdateSpendLimitRequestConfig, UpdateSpendLimitResponse, UpdateSpendLimitResponses, UpdateSpendLimitStatus200, UpdateSpendLimitStatus400, UpdateSpendLimitStatus401, UpdateSpendLimitStatus403, UpdateSpendLimitStatus429, UpdateSupportCaseData, UpdateSupportCasePathCaseId, UpdateSupportCasePathOrgId, UpdateSupportCaseRequest, UpdateSupportCaseRequestConfig, UpdateSupportCaseResponse, UpdateSupportCaseResponses, UpdateSupportCaseStatus200, UpdateSupportCaseStatus400, UpdateSupportCaseStatus401, UpdateSupportCaseStatus403, UpdateSupportCaseStatus404, UpdateWebhookEndpointData, UpdateWebhookEndpointPathProjectId, UpdateWebhookEndpointPathWebhookId, UpdateWebhookEndpointRequestConfig, UpdateWebhookEndpointResponse, UpdateWebhookEndpointResponses, UpdateWebhookEndpointStatus200, UpdateWebhookEndpointStatus400, UpdateWebhookEndpointStatus401, UpdateWebhookEndpointStatus403, UpdateWebhookEndpointStatus404, UsageResponse, VercelInstallationStatus, VercelResourceStatus, VercelResourceStatusStatusEnumKey, VerifyAuditChainPathProjectId, VerifyAuditChainQueryEnd, VerifyAuditChainQueryStart, VerifyAuditChainRequestConfig, VerifyAuditChainResponse, VerifyAuditChainResponses, VerifyAuditChainStatus200, VerifyAuditChainStatus400, VerifyAuditChainStatus401, VerifyAuditChainStatus403, VerifyAuditChainStatus404, VerifyAuditChainStatus429, VerifyCustomDomainPathDomainId, VerifyCustomDomainPathProjectId, VerifyCustomDomainRequestConfig, VerifyCustomDomainResponse, VerifyCustomDomainResponses, VerifyCustomDomainStatus200, VerifyCustomDomainStatus400, VerifyCustomDomainStatus401, VerifyCustomDomainStatus403, VerifyCustomDomainStatus404, VerifyCustomDomainStatus429, WebhookEndpoint, WebhookEndpointFormatEnumKey, WebhookEndpointInput, WebhookEndpointInputFormatEnumKey, WebhookTestResponse };
|