pgbeam 0.3.7 → 0.3.9

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.
@@ -416,7 +416,7 @@
416
416
  ],
417
417
  "requestBodyType": "",
418
418
  "requestBodyRequired": false,
419
- "responseType": "{ entries: ({ bytes_out?: number; cache_status?: string; client_ip?: string; credential_id?: string; decision_rule?: string; event: string; id: string; latency_ms?: number; normalized_sql?: string; project_id: string; query_hash?: string; reason?: string; region?: string; rows_returned?: number; session_id?: string; source?: string; sql?: string; statement_kind?: string; ts: string })[]; next_page_token?: string }",
419
+ "responseType": "{ entries: ({ bytes_out?: number; cache_status?: string; client_ip?: string; credential_id?: string; decision_rule?: string; entry_hash?: string; event: string; id: string; latency_ms?: number; normalized_sql?: string; prev_hash?: string; project_id: string; query_hash?: string; reason?: string; region?: string; rows_returned?: number; seq?: number; session_id?: string; source?: string; sql?: string; statement_kind?: string; ts: string })[]; next_page_token?: string }",
420
420
  "responseStatus": "200"
421
421
  },
422
422
  "exportAuditLogs": {
@@ -481,6 +481,40 @@
481
481
  "responseType": "",
482
482
  "responseStatus": "200"
483
483
  },
484
+ "verifyAuditChain": {
485
+ "operationId": "verifyAuditChain",
486
+ "method": "GET",
487
+ "path": "/v1/projects/{project_id}/audit-logs/verify",
488
+ "summary": "Verify the tamper-evident audit chain",
489
+ "description": "Recomputes the project's audit hash chain over an optional time range and reports whether it is intact. Each audit entry is linked to its predecessor with a SHA-256 hash, so editing or deleting any row breaks the chain. On a break, the response reports the first sequence number where a tampered or deleted entry was detected. Requires the same audit:read permission as the list and export endpoints.",
490
+ "parameters": [
491
+ {
492
+ "name": "project_id",
493
+ "in": "path",
494
+ "required": true,
495
+ "type": "string",
496
+ "description": "Unique project identifier (prefixed, e.g. prj_xxx)."
497
+ },
498
+ {
499
+ "name": "start",
500
+ "in": "query",
501
+ "required": false,
502
+ "type": "string",
503
+ "description": "Return entries at or after this timestamp (inclusive lower bound)."
504
+ },
505
+ {
506
+ "name": "end",
507
+ "in": "query",
508
+ "required": false,
509
+ "type": "string",
510
+ "description": "Return entries strictly older than this timestamp (cursor / upper bound)."
511
+ }
512
+ ],
513
+ "requestBodyType": "",
514
+ "requestBodyRequired": false,
515
+ "responseType": "{ chain_end_seq?: number; chain_start_seq?: number; failure_reason?: string; first_broken_seq?: number; ok: boolean; unchained_count: number; verified_at: string; verified_count: number }",
516
+ "responseStatus": "200"
517
+ },
484
518
  "listPlans": {
485
519
  "operationId": "listPlans",
486
520
  "method": "GET",
@@ -490,7 +524,7 @@
490
524
  "parameters": [],
491
525
  "requestBodyType": "",
492
526
  "requestBodyRequired": false,
493
- "responseType": "{ plans: ({ annual_price?: number; description?: string; label: string; limits: { bytes_per_month: number; included_seats: number; max_connections: number; max_databases: number; max_projects: number; max_query_shapes: number; queries_per_day: number; queries_per_second: number }; monthly_price: number; name: string; overage_text?: string; trial_days?: number })[] }",
527
+ "responseType": "{ plans: ({ annual_price?: number; description?: string; label: string; limits: { audit_retention_days: number; bytes_per_month: number; included_seats: number; max_agent_credentials: number; max_connections: number; max_databases: number; max_projects: number; max_query_shapes: number; queries_per_day: number; queries_per_second: number; sandbox_idle_seconds: number; sandbox_max_branches: number; sandbox_max_upstream_bytes: number; sandbox_ttl_seconds: number }; monthly_price: number; name: string; overage_text?: string; trial_days?: number })[] }",
494
528
  "responseStatus": "200"
495
529
  },
496
530
  "getOrganizationPlan": {
@@ -510,7 +544,7 @@
510
544
  ],
511
545
  "requestBodyType": "",
512
546
  "requestBodyRequired": false,
513
- "responseType": "{ billing_provider?: \"stripe\" | \"vercel\" | \"aws\" | \"manual\"; created_at?: string; current_period_end?: string; custom_pricing?: boolean; enabled?: boolean; limits: { bytes_per_month: number; included_seats: number; max_connections: number; max_databases: number; max_projects: number; max_query_shapes: number; queries_per_day: number; queries_per_second: number }; org_id: string; plan: \"starter\" | \"pro\" | \"scale\" | \"enterprise\"; spend_capped?: boolean; spend_capped_at?: string; spend_limit?: number; subscription_status?: \"none\" | \"active\" | \"trialing\" | \"past_due\" | \"canceled\" | \"unpaid\" | \"incomplete\" | \"incomplete_expired\" | \"paused\"; updated_at?: string }",
547
+ "responseType": "{ billing_provider?: \"stripe\" | \"vercel\" | \"aws\" | \"manual\"; created_at?: string; current_period_end?: string; custom_pricing?: boolean; enabled?: boolean; limits: { audit_retention_days: number; bytes_per_month: number; included_seats: number; max_agent_credentials: number; max_connections: number; max_databases: number; max_projects: number; max_query_shapes: number; queries_per_day: number; queries_per_second: number; sandbox_idle_seconds: number; sandbox_max_branches: number; sandbox_max_upstream_bytes: number; sandbox_ttl_seconds: number }; org_id: string; plan: \"starter\" | \"pro\" | \"scale\" | \"enterprise\"; spend_capped?: boolean; spend_capped_at?: string; spend_limit?: number; subscription_status?: \"none\" | \"active\" | \"trialing\" | \"past_due\" | \"canceled\" | \"unpaid\" | \"incomplete\" | \"incomplete_expired\" | \"paused\"; updated_at?: string }",
514
548
  "responseStatus": "200"
515
549
  },
516
550
  "getVercelInstallation": {
@@ -550,7 +584,7 @@
550
584
  ],
551
585
  "requestBodyType": "{ spend_limit?: number }",
552
586
  "requestBodyRequired": true,
553
- "responseType": "{ billing_provider?: \"stripe\" | \"vercel\" | \"aws\" | \"manual\"; created_at?: string; current_period_end?: string; custom_pricing?: boolean; enabled?: boolean; limits: { bytes_per_month: number; included_seats: number; max_connections: number; max_databases: number; max_projects: number; max_query_shapes: number; queries_per_day: number; queries_per_second: number }; org_id: string; plan: \"starter\" | \"pro\" | \"scale\" | \"enterprise\"; spend_capped?: boolean; spend_capped_at?: string; spend_limit?: number; subscription_status?: \"none\" | \"active\" | \"trialing\" | \"past_due\" | \"canceled\" | \"unpaid\" | \"incomplete\" | \"incomplete_expired\" | \"paused\"; updated_at?: string }",
587
+ "responseType": "{ billing_provider?: \"stripe\" | \"vercel\" | \"aws\" | \"manual\"; created_at?: string; current_period_end?: string; custom_pricing?: boolean; enabled?: boolean; limits: { audit_retention_days: number; bytes_per_month: number; included_seats: number; max_agent_credentials: number; max_connections: number; max_databases: number; max_projects: number; max_query_shapes: number; queries_per_day: number; queries_per_second: number; sandbox_idle_seconds: number; sandbox_max_branches: number; sandbox_max_upstream_bytes: number; sandbox_ttl_seconds: number }; org_id: string; plan: \"starter\" | \"pro\" | \"scale\" | \"enterprise\"; spend_capped?: boolean; spend_capped_at?: string; spend_limit?: number; subscription_status?: \"none\" | \"active\" | \"trialing\" | \"past_due\" | \"canceled\" | \"unpaid\" | \"incomplete\" | \"incomplete_expired\" | \"paused\"; updated_at?: string }",
554
588
  "responseStatus": "200"
555
589
  },
556
590
  "submitCancellationFeedback": {
@@ -1301,6 +1335,26 @@
1301
1335
  "responseType": "{ hint?: string; masked_columns?: ({ column: string; kind: \"redact\" | \"null\" | \"hash\" })[]; notes?: string[]; reason: string; rewritten_sql?: string; row_filter_predicate?: string; rule: string; verdict: \"allow\" | \"block\" | \"mask\" | \"row-filter\" }",
1302
1336
  "responseStatus": "200"
1303
1337
  },
1338
+ "replayPolicy": {
1339
+ "operationId": "replayPolicy",
1340
+ "method": "POST",
1341
+ "path": "/v1/projects/{project_id}/policy-replays",
1342
+ "summary": "Replay recorded agent traffic against a policy",
1343
+ "description": "Replays the project's recorded agent audit traffic against a candidate policy (either a draft supplied inline or an existing policy referenced by id) and reports what would change: which queries that ran would now be blocked, which blocked queries would now be permitted, and which results would be masked or row-filtered. Traffic is deduplicated by normalized query shape, newest first, and every statement is evaluated through the data plane's own policy engine, so the verdicts match real enforcement. Stateful checks (budgets, approvals, write-mode routing) are reported as informational notes on each result, not verdicts. This endpoint reads only the audit log; it never connects to the upstream database and persists nothing.",
1344
+ "parameters": [
1345
+ {
1346
+ "name": "project_id",
1347
+ "in": "path",
1348
+ "required": true,
1349
+ "type": "string",
1350
+ "description": "Unique project identifier (prefixed, e.g. prj_xxx)."
1351
+ }
1352
+ ],
1353
+ "requestBodyType": "{ credential_id?: string; end_ts?: string; limit?: number; policy?: { access_mode?: \"read_only\" | \"read_write\"; approval_auto_max_rows?: number; approval_mode?: \"off\" | \"writes\" | \"ddl\" | \"all\"; approval_timeout_seconds?: number; budget_queries_per_day?: number; budget_queries_per_hour?: number; egress_bytes_per_day?: number; masking_rules?: ({ column: string; kind: \"redact\" | \"null\" | \"hash\"; table: string })[]; max_affected_rows?: number; max_rows?: number; migration_safety?: \"off\" | \"warn\" | \"block\"; name: string; row_filters?: ({ predicate: string; table: string })[]; statement_rules?: { allow?: string[]; deny?: string[] }; statement_timeout_ms?: number; table_allowlist?: string[]; table_denylist?: string[]; write_mode?: \"normal\" | \"rollback\" | \"sandbox\" }; policy_id?: string; start_ts?: string }",
1354
+ "requestBodyRequired": true,
1355
+ "responseType": "{ items: ({ change: \"newly_blocked\" | \"newly_allowed\" | \"still_allowed\" | \"still_blocked\"; first_seen: string; last_seen: string; occurrences: number; query_hash: string; recorded_event: string; recorded_rule?: string; result: { hint?: string; masked_columns?: ({ column: string; kind: \"redact\" | \"null\" | \"hash\" })[]; notes?: string[]; reason: string; rewritten_sql?: string; row_filter_predicate?: string; rule: string; verdict: \"allow\" | \"block\" | \"mask\" | \"row-filter\" }; sql: string; statement_kind?: string })[]; summary: { distinct_queries: number; entries_scanned: number; evaluated: number; newly_allowed: number; newly_blocked: number; skipped_unparseable: number; truncated: boolean; would_allow: number; would_block: number; would_mask: number; would_row_filter: number } }",
1356
+ "responseStatus": "200"
1357
+ },
1304
1358
  "listProjects": {
1305
1359
  "operationId": "listProjects",
1306
1360
  "method": "GET",
@@ -1339,7 +1393,7 @@
1339
1393
  ],
1340
1394
  "requestBodyType": "",
1341
1395
  "requestBodyRequired": false,
1342
- "responseType": "{ next_page_token?: string; projects: ({ active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string })[]; total: number }",
1396
+ "responseType": "{ next_page_token?: string; projects: ({ active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; residency?: \"any\" | \"us\" | \"eu\"; self_hosted?: boolean; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string })[]; total: number }",
1343
1397
  "responseStatus": "200"
1344
1398
  },
1345
1399
  "createProject": {
@@ -1349,9 +1403,9 @@
1349
1403
  "summary": "Create a project",
1350
1404
  "description": "Creates a new project within the specified organization.",
1351
1405
  "parameters": [],
1352
- "requestBodyType": "{ cloud?: \"aws\" | \"azure\" | \"gcp\"; database: { auto_read_routing?: boolean; cache_config?: { enabled: boolean; max_entries: number; swr_seconds: number; ttl_seconds: number }; host: string; name: string; password: string; pool_config?: { max_active?: number; min_pool_size: number; pool_mode: \"session\" | \"transaction\" | \"statement\"; pool_size: number }; pool_region?: string; port: number; query_timeout_ms?: number; role?: \"primary\" | \"replica\"; ssl_mode?: \"disable\" | \"allow\" | \"prefer\" | \"require\" | \"verify-ca\" | \"verify-full\"; username: string }; description?: string; name: string; org_id: string; tags?: string[] }",
1406
+ "requestBodyType": "{ cloud?: \"aws\" | \"azure\" | \"gcp\"; database: { auto_read_routing?: boolean; cache_config?: { enabled: boolean; max_entries: number; swr_seconds: number; ttl_seconds: number }; host: string; name: string; password: string; pool_config?: { max_active?: number; min_pool_size: number; pool_mode: \"session\" | \"transaction\" | \"statement\"; pool_size: number }; pool_region?: string; port: number; query_timeout_ms?: number; role?: \"primary\" | \"replica\"; ssl_mode?: \"disable\" | \"allow\" | \"prefer\" | \"require\" | \"verify-ca\" | \"verify-full\"; username: string }; description?: string; name: string; org_id: string; self_hosted?: boolean; tags?: string[] }",
1353
1407
  "requestBodyRequired": true,
1354
- "responseType": "{ database?: { auto_read_routing?: boolean; cache_config: { enabled: boolean; max_entries: number; swr_seconds: number; ttl_seconds: number }; connection_string?: string; created_at: string; host: string; id: string; name: string; pool_config: { max_active?: number; min_pool_size: number; pool_mode: \"session\" | \"transaction\" | \"statement\"; pool_size: number }; pool_region?: string; port: number; project_id: string; query_timeout_ms?: number; role?: \"primary\" | \"replica\"; ssl_mode: \"disable\" | \"allow\" | \"prefer\" | \"require\" | \"verify-ca\" | \"verify-full\"; updated_at: string; username: string }; project: { active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string } }",
1408
+ "responseType": "{ database?: { auto_read_routing?: boolean; cache_config: { enabled: boolean; max_entries: number; swr_seconds: number; ttl_seconds: number }; connection_string?: string; created_at: string; host: string; id: string; name: string; pool_config: { max_active?: number; min_pool_size: number; pool_mode: \"session\" | \"transaction\" | \"statement\"; pool_size: number }; pool_region?: string; port: number; project_id: string; query_timeout_ms?: number; role?: \"primary\" | \"replica\"; ssl_mode: \"disable\" | \"allow\" | \"prefer\" | \"require\" | \"verify-ca\" | \"verify-full\"; updated_at: string; username: string }; project: { active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; residency?: \"any\" | \"us\" | \"eu\"; self_hosted?: boolean; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string } }",
1355
1409
  "responseStatus": "201"
1356
1410
  },
1357
1411
  "getProject": {
@@ -1371,7 +1425,7 @@
1371
1425
  ],
1372
1426
  "requestBodyType": "",
1373
1427
  "requestBodyRequired": false,
1374
- "responseType": "{ active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string }",
1428
+ "responseType": "{ active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; residency?: \"any\" | \"us\" | \"eu\"; self_hosted?: boolean; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string }",
1375
1429
  "responseStatus": "200"
1376
1430
  },
1377
1431
  "updateProject": {
@@ -1389,9 +1443,9 @@
1389
1443
  "description": "Unique project identifier (prefixed, e.g. prj_xxx)."
1390
1444
  }
1391
1445
  ],
1392
- "requestBodyType": "{ agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; default_policy_profile_id?: string; description?: string; name?: string; status?: \"active\" | \"suspended\" | \"deleted\"; tags?: string[] }",
1446
+ "requestBodyType": "{ agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; default_policy_profile_id?: string; description?: string; name?: string; residency?: \"any\" | \"us\" | \"eu\"; status?: \"active\" | \"suspended\" | \"deleted\"; tags?: string[] }",
1393
1447
  "requestBodyRequired": true,
1394
- "responseType": "{ active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string }",
1448
+ "responseType": "{ active_connections?: number; agents_disabled?: boolean; allowed_cidrs?: ({ cidr: string; label?: string })[]; burst_size?: number; cloud?: \"aws\" | \"azure\" | \"gcp\"; created_at: string; database_count?: number; default_policy_profile_id?: string; description?: string; id: string; max_connections?: number; name: string; org_id: string; proxy_host?: string; queries_per_second?: number; residency?: \"any\" | \"us\" | \"eu\"; self_hosted?: boolean; status: \"active\" | \"suspended\" | \"deleted\"; tags?: string[]; updated_at: string }",
1395
1449
  "responseStatus": "200"
1396
1450
  },
1397
1451
  "deleteProject": {
@@ -1527,6 +1581,73 @@
1527
1581
  "responseType": "",
1528
1582
  "responseStatus": "204"
1529
1583
  },
1584
+ "listSelfHostEnrollments": {
1585
+ "operationId": "listSelfHostEnrollments",
1586
+ "method": "GET",
1587
+ "path": "/v1/organizations/{org_id}/self-host-enrollments",
1588
+ "summary": "List self-host enrollments",
1589
+ "description": "Lists an organization's self-host enrollments. Tokens are never returned.",
1590
+ "parameters": [
1591
+ {
1592
+ "name": "org_id",
1593
+ "in": "path",
1594
+ "required": true,
1595
+ "type": "string",
1596
+ "description": "Unique organization identifier."
1597
+ }
1598
+ ],
1599
+ "requestBodyType": "",
1600
+ "requestBodyRequired": false,
1601
+ "responseType": "{ enrollments: ({ created_at: string; created_by?: string; description?: string; id: string; last_seen_at?: string; org_id: string; region_label?: string; revoked_at?: string })[] }",
1602
+ "responseStatus": "200"
1603
+ },
1604
+ "createSelfHostEnrollment": {
1605
+ "operationId": "createSelfHostEnrollment",
1606
+ "method": "POST",
1607
+ "path": "/v1/organizations/{org_id}/self-host-enrollments",
1608
+ "summary": "Issue a self-host enrollment token",
1609
+ "description": "Issues an enrollment token a self-hosted (BYOC) proxy uses to authenticate to the control plane's config/audit gRPC stream. The token is returned once and cannot be retrieved again. Requires the Scale or enterprise plan.",
1610
+ "parameters": [
1611
+ {
1612
+ "name": "org_id",
1613
+ "in": "path",
1614
+ "required": true,
1615
+ "type": "string",
1616
+ "description": "Unique organization identifier."
1617
+ }
1618
+ ],
1619
+ "requestBodyType": "{ description?: string; region_label?: string }",
1620
+ "requestBodyRequired": false,
1621
+ "responseType": "{ enrollment: { created_at: string; created_by?: string; description?: string; id: string; last_seen_at?: string; org_id: string; region_label?: string; revoked_at?: string }; token: string }",
1622
+ "responseStatus": "201"
1623
+ },
1624
+ "revokeSelfHostEnrollment": {
1625
+ "operationId": "revokeSelfHostEnrollment",
1626
+ "method": "DELETE",
1627
+ "path": "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}",
1628
+ "summary": "Revoke a self-host enrollment",
1629
+ "description": "Revokes an enrollment so its token can no longer authenticate a proxy. Connected proxies keep their last-known config until they reconnect.",
1630
+ "parameters": [
1631
+ {
1632
+ "name": "org_id",
1633
+ "in": "path",
1634
+ "required": true,
1635
+ "type": "string",
1636
+ "description": "Unique organization identifier."
1637
+ },
1638
+ {
1639
+ "name": "enrollment_id",
1640
+ "in": "path",
1641
+ "required": true,
1642
+ "type": "string",
1643
+ "description": "Unique enrollment identifier."
1644
+ }
1645
+ ],
1646
+ "requestBodyType": "",
1647
+ "requestBodyRequired": false,
1648
+ "responseType": "",
1649
+ "responseStatus": "204"
1650
+ },
1530
1651
  "listSupportCases": {
1531
1652
  "operationId": "listSupportCases",
1532
1653
  "method": "GET",
@@ -1970,6 +2091,10 @@
1970
2091
  exportAuditLogs: {
1971
2092
  method: "GET",
1972
2093
  path: "/v1/projects/{project_id}/audit-logs/export"
2094
+ },
2095
+ verifyAuditChain: {
2096
+ method: "GET",
2097
+ path: "/v1/projects/{project_id}/audit-logs/verify"
1973
2098
  }
1974
2099
  },
1975
2100
  anomalies: {
@@ -2144,6 +2269,18 @@
2144
2269
  listRegions: {
2145
2270
  method: "GET",
2146
2271
  path: "/v1/regions"
2272
+ },
2273
+ listSelfHostEnrollments: {
2274
+ method: "GET",
2275
+ path: "/v1/organizations/{org_id}/self-host-enrollments"
2276
+ },
2277
+ createSelfHostEnrollment: {
2278
+ method: "POST",
2279
+ path: "/v1/organizations/{org_id}/self-host-enrollments"
2280
+ },
2281
+ revokeSelfHostEnrollment: {
2282
+ method: "DELETE",
2283
+ path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}"
2147
2284
  }
2148
2285
  },
2149
2286
  migrations: {
@@ -2176,6 +2313,10 @@
2176
2313
  dryEvalPolicy: {
2177
2314
  method: "POST",
2178
2315
  path: "/v1/projects/{project_id}/policy-evaluations"
2316
+ },
2317
+ replayPolicy: {
2318
+ method: "POST",
2319
+ path: "/v1/projects/{project_id}/policy-replays"
2179
2320
  }
2180
2321
  },
2181
2322
  support: {
@@ -2304,6 +2445,11 @@ const operationsByPath = {
2304
2445
  path: "/v1/projects/{project_id}/audit-logs/export",
2305
2446
  operationId: "exportAuditLogs"
2306
2447
  },
2448
+ "GET /v1/projects/{project_id}/audit-logs/verify": {
2449
+ method: "GET",
2450
+ path: "/v1/projects/{project_id}/audit-logs/verify",
2451
+ operationId: "verifyAuditChain"
2452
+ },
2307
2453
  "GET /v1/plans": {
2308
2454
  method: "GET",
2309
2455
  path: "/v1/plans",
@@ -2464,6 +2610,11 @@ const operationsByPath = {
2464
2610
  path: "/v1/projects/{project_id}/policy-evaluations",
2465
2611
  operationId: "dryEvalPolicy"
2466
2612
  },
2613
+ "POST /v1/projects/{project_id}/policy-replays": {
2614
+ method: "POST",
2615
+ path: "/v1/projects/{project_id}/policy-replays",
2616
+ operationId: "replayPolicy"
2617
+ },
2467
2618
  "GET /v1/projects": {
2468
2619
  method: "GET",
2469
2620
  path: "/v1/projects",
@@ -2514,6 +2665,21 @@ const operationsByPath = {
2514
2665
  path: "/v1/databases/{database_id}/replicas/{replica_id}",
2515
2666
  operationId: "deleteReplica"
2516
2667
  },
2668
+ "GET /v1/organizations/{org_id}/self-host-enrollments": {
2669
+ method: "GET",
2670
+ path: "/v1/organizations/{org_id}/self-host-enrollments",
2671
+ operationId: "listSelfHostEnrollments"
2672
+ },
2673
+ "POST /v1/organizations/{org_id}/self-host-enrollments": {
2674
+ method: "POST",
2675
+ path: "/v1/organizations/{org_id}/self-host-enrollments",
2676
+ operationId: "createSelfHostEnrollment"
2677
+ },
2678
+ "DELETE /v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}": {
2679
+ method: "DELETE",
2680
+ path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}",
2681
+ operationId: "revokeSelfHostEnrollment"
2682
+ },
2517
2683
  "GET /v1/organizations/{org_id}/support/cases": {
2518
2684
  method: "GET",
2519
2685
  path: "/v1/organizations/{org_id}/support/cases",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgbeam",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "TypeScript SDK for the PgBeam API — globally distributed PostgreSQL proxy platform",
5
5
  "type": "module",
6
6
  "exports": {