pgbeam 0.3.13 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,10 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
+ var operationsMap_gen = require('./operations-map.gen-c7vqzfzd.cjs');
4
+
3
5
  /**
4
- * Generated by generate-sdk-ts-maps.ts — do not edit manually.
5
- * Run: pnpm --filter pgbeam generate
6
+ * Generated by generate-sdk-ts-maps.ts from backend/openapi/bundles/public.yaml — do not edit manually.
7
+ * Run: pnpm generate:sdk
6
8
  *
7
9
  * Per-operation inputs and success response rendered as compact TypeScript
8
10
  * types. Powers the CLI management MCP's describe_endpoint; mirrors the hosted
@@ -1757,6 +1759,101 @@ Object.defineProperty(exports, '__esModule', { value: true });
1757
1759
  "responseType": "",
1758
1760
  "responseStatus": "204"
1759
1761
  },
1762
+ "listSchemaAnnotations": {
1763
+ "operationId": "listSchemaAnnotations",
1764
+ "method": "GET",
1765
+ "path": "/v1/projects/{project_id}/schema-annotations",
1766
+ "summary": "List schema annotations",
1767
+ "description": "Lists the project's human-written table and column descriptions. These are surfaced to connected agents through the MCP schema catalog.\n",
1768
+ "parameters": [
1769
+ {
1770
+ "name": "project_id",
1771
+ "in": "path",
1772
+ "required": true,
1773
+ "type": "string",
1774
+ "description": "Unique project identifier (prefixed, e.g. prj_xxx)."
1775
+ },
1776
+ {
1777
+ "name": "page_size",
1778
+ "in": "query",
1779
+ "required": false,
1780
+ "type": "number",
1781
+ "description": "Maximum number of items to return (1-100, default 20)."
1782
+ },
1783
+ {
1784
+ "name": "page_token",
1785
+ "in": "query",
1786
+ "required": false,
1787
+ "type": "string",
1788
+ "description": "Opaque token for cursor-based pagination."
1789
+ }
1790
+ ],
1791
+ "requestBodyType": "",
1792
+ "requestBodyRequired": false,
1793
+ "responseType": "{ annotations: ({ column_name?: string; created_at: string; description: string; id: string; project_id: string; schema_name?: string; table_name: string; updated_at: string })[]; next_page_token?: string }",
1794
+ "responseStatus": "200"
1795
+ },
1796
+ "putSchemaAnnotation": {
1797
+ "operationId": "putSchemaAnnotation",
1798
+ "method": "PUT",
1799
+ "path": "/v1/projects/{project_id}/schema-annotations",
1800
+ "summary": "Create or replace a schema annotation",
1801
+ "description": "Attaches an operator-written description to a table (omit column_name) or a column. Keyed by (schema_name, table_name, column_name); an existing annotation with the same key is replaced.\n",
1802
+ "parameters": [
1803
+ {
1804
+ "name": "project_id",
1805
+ "in": "path",
1806
+ "required": true,
1807
+ "type": "string",
1808
+ "description": "Unique project identifier (prefixed, e.g. prj_xxx)."
1809
+ }
1810
+ ],
1811
+ "requestBodyType": "{ column_name?: string; description: string; schema_name?: string; table_name: string }",
1812
+ "requestBodyRequired": true,
1813
+ "responseType": "{ column_name?: string; created_at: string; description: string; id: string; project_id: string; schema_name?: string; table_name: string; updated_at: string }",
1814
+ "responseStatus": "200"
1815
+ },
1816
+ "deleteSchemaAnnotation": {
1817
+ "operationId": "deleteSchemaAnnotation",
1818
+ "method": "DELETE",
1819
+ "path": "/v1/projects/{project_id}/schema-annotations",
1820
+ "summary": "Delete a schema annotation",
1821
+ "description": "Removes a single annotation identified by its natural key. Omit column_name to delete a table-level annotation, and omit schema_name to match the unqualified form.\n",
1822
+ "parameters": [
1823
+ {
1824
+ "name": "project_id",
1825
+ "in": "path",
1826
+ "required": true,
1827
+ "type": "string",
1828
+ "description": "Unique project identifier (prefixed, e.g. prj_xxx)."
1829
+ },
1830
+ {
1831
+ "name": "table_name",
1832
+ "in": "query",
1833
+ "required": true,
1834
+ "type": "string",
1835
+ "description": "Relation (table or view) the annotation describes."
1836
+ },
1837
+ {
1838
+ "name": "schema_name",
1839
+ "in": "query",
1840
+ "required": false,
1841
+ "type": "string",
1842
+ "description": "Optional schema. Omit to match the unqualified form."
1843
+ },
1844
+ {
1845
+ "name": "column_name",
1846
+ "in": "query",
1847
+ "required": false,
1848
+ "type": "string",
1849
+ "description": "Optional column. Omit to delete a table-level annotation."
1850
+ }
1851
+ ],
1852
+ "requestBodyType": "",
1853
+ "requestBodyRequired": false,
1854
+ "responseType": "",
1855
+ "responseStatus": "204"
1856
+ },
1760
1857
  "listSelfHostEnrollments": {
1761
1858
  "operationId": "listSelfHostEnrollments",
1762
1859
  "method": "GET",
@@ -2244,791 +2341,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
2244
2341
  }
2245
2342
  };
2246
2343
 
2247
- /**
2248
- * Generated by generate-sdk-ts-maps.ts — do not edit manually.
2249
- * Run: pnpm --filter pgbeam generate
2250
- */ const operationsByTag = {
2251
- account: {
2252
- exportAccountData: {
2253
- method: "GET",
2254
- path: "/v1/account/export"
2255
- },
2256
- getOnboardingProgress: {
2257
- method: "GET",
2258
- path: "/v1/organizations/{org_id}/onboarding"
2259
- },
2260
- updateOnboardingProgress: {
2261
- method: "PATCH",
2262
- path: "/v1/organizations/{org_id}/onboarding"
2263
- },
2264
- listOrganizations: {
2265
- method: "GET",
2266
- path: "/v1/organizations"
2267
- }
2268
- },
2269
- agents: {
2270
- listAgentCredentials: {
2271
- method: "GET",
2272
- path: "/v1/projects/{project_id}/agents"
2273
- },
2274
- createAgentCredential: {
2275
- method: "POST",
2276
- path: "/v1/projects/{project_id}/agents"
2277
- },
2278
- getAgentCredential: {
2279
- method: "GET",
2280
- path: "/v1/projects/{project_id}/agents/{agent_id}"
2281
- },
2282
- updateAgentCredentialStatus: {
2283
- method: "PATCH",
2284
- path: "/v1/projects/{project_id}/agents/{agent_id}"
2285
- },
2286
- revokeAgentCredential: {
2287
- method: "DELETE",
2288
- path: "/v1/projects/{project_id}/agents/{agent_id}"
2289
- },
2290
- rotateAgentCredential: {
2291
- method: "POST",
2292
- path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
2293
- },
2294
- listAuditLogs: {
2295
- method: "GET",
2296
- path: "/v1/projects/{project_id}/audit-logs"
2297
- },
2298
- exportAuditLogs: {
2299
- method: "GET",
2300
- path: "/v1/projects/{project_id}/audit-logs/export"
2301
- },
2302
- verifyAuditChain: {
2303
- method: "GET",
2304
- path: "/v1/projects/{project_id}/audit-logs/verify"
2305
- }
2306
- },
2307
- policies: {
2308
- recommendAgentPolicy: {
2309
- method: "POST",
2310
- path: "/v1/projects/{project_id}/agents/{agent_id}/policy-recommendation"
2311
- },
2312
- listPolicyProfiles: {
2313
- method: "GET",
2314
- path: "/v1/projects/{project_id}/policies"
2315
- },
2316
- createPolicyProfile: {
2317
- method: "POST",
2318
- path: "/v1/projects/{project_id}/policies"
2319
- },
2320
- getPolicyProfile: {
2321
- method: "GET",
2322
- path: "/v1/projects/{project_id}/policies/{policy_id}"
2323
- },
2324
- updatePolicyProfile: {
2325
- method: "PUT",
2326
- path: "/v1/projects/{project_id}/policies/{policy_id}"
2327
- },
2328
- deletePolicyProfile: {
2329
- method: "DELETE",
2330
- path: "/v1/projects/{project_id}/policies/{policy_id}"
2331
- },
2332
- dryEvalPolicy: {
2333
- method: "POST",
2334
- path: "/v1/projects/{project_id}/policy-evaluations"
2335
- },
2336
- replayPolicy: {
2337
- method: "POST",
2338
- path: "/v1/projects/{project_id}/policy-replays"
2339
- }
2340
- },
2341
- anomalies: {
2342
- listAnomalyAlerts: {
2343
- method: "GET",
2344
- path: "/v1/projects/{project_id}/anomalies"
2345
- },
2346
- updateAnomalyAlert: {
2347
- method: "PATCH",
2348
- path: "/v1/projects/{project_id}/anomalies/{anomaly_id}"
2349
- }
2350
- },
2351
- approvals: {
2352
- listApprovalRequests: {
2353
- method: "GET",
2354
- path: "/v1/projects/{project_id}/approvals"
2355
- },
2356
- approveApprovalRequest: {
2357
- method: "POST",
2358
- path: "/v1/projects/{project_id}/approvals/{approval_id}/approve"
2359
- },
2360
- rejectApprovalRequest: {
2361
- method: "POST",
2362
- path: "/v1/projects/{project_id}/approvals/{approval_id}/reject"
2363
- }
2364
- },
2365
- analytics: {
2366
- listPlans: {
2367
- method: "GET",
2368
- path: "/v1/plans"
2369
- },
2370
- getOrganizationPlan: {
2371
- method: "GET",
2372
- path: "/v1/organizations/{org_id}/plan"
2373
- },
2374
- getVercelInstallation: {
2375
- method: "GET",
2376
- path: "/v1/organizations/{org_id}/vercel-installation"
2377
- },
2378
- updateSpendLimit: {
2379
- method: "PUT",
2380
- path: "/v1/organizations/{org_id}/spend-limit"
2381
- },
2382
- submitCancellationFeedback: {
2383
- method: "POST",
2384
- path: "/v1/organizations/{org_id}/cancellation-feedback"
2385
- },
2386
- getProjectInsights: {
2387
- method: "GET",
2388
- path: "/v1/projects/{project_id}/insights"
2389
- },
2390
- getOrganizationUsage: {
2391
- method: "GET",
2392
- path: "/v1/organizations/{org_id}/usage"
2393
- },
2394
- getProjectUsage: {
2395
- method: "GET",
2396
- path: "/v1/projects/{project_id}/usage"
2397
- }
2398
- },
2399
- branches: {
2400
- listDatabaseBranches: {
2401
- method: "GET",
2402
- path: "/v1/projects/{project_id}/branches"
2403
- },
2404
- discardDatabaseBranch: {
2405
- method: "DELETE",
2406
- path: "/v1/projects/{project_id}/branches/{branch_id}"
2407
- }
2408
- },
2409
- projects: {
2410
- listCacheRules: {
2411
- method: "GET",
2412
- path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules"
2413
- },
2414
- updateCacheRule: {
2415
- method: "PUT",
2416
- path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules/{query_hash}"
2417
- },
2418
- listCustomDomains: {
2419
- method: "GET",
2420
- path: "/v1/projects/{project_id}/domains"
2421
- },
2422
- createCustomDomain: {
2423
- method: "POST",
2424
- path: "/v1/projects/{project_id}/domains"
2425
- },
2426
- deleteCustomDomain: {
2427
- method: "DELETE",
2428
- path: "/v1/projects/{project_id}/domains/{domain_id}"
2429
- },
2430
- verifyCustomDomain: {
2431
- method: "POST",
2432
- path: "/v1/projects/{project_id}/domains/{domain_id}/verify"
2433
- },
2434
- listProjects: {
2435
- method: "GET",
2436
- path: "/v1/projects"
2437
- },
2438
- createProject: {
2439
- method: "POST",
2440
- path: "/v1/projects"
2441
- },
2442
- getProject: {
2443
- method: "GET",
2444
- path: "/v1/projects/{project_id}"
2445
- },
2446
- updateProject: {
2447
- method: "PATCH",
2448
- path: "/v1/projects/{project_id}"
2449
- },
2450
- deleteProject: {
2451
- method: "DELETE",
2452
- path: "/v1/projects/{project_id}"
2453
- },
2454
- getProjectMetrics: {
2455
- method: "GET",
2456
- path: "/v1/projects/{project_id}/metrics"
2457
- },
2458
- listReplicas: {
2459
- method: "GET",
2460
- path: "/v1/databases/{database_id}/replicas"
2461
- },
2462
- createReplica: {
2463
- method: "POST",
2464
- path: "/v1/databases/{database_id}/replicas"
2465
- },
2466
- deleteReplica: {
2467
- method: "DELETE",
2468
- path: "/v1/databases/{database_id}/replicas/{replica_id}"
2469
- }
2470
- },
2471
- databases: {
2472
- listDatabases: {
2473
- method: "GET",
2474
- path: "/v1/projects/{project_id}/databases"
2475
- },
2476
- createDatabase: {
2477
- method: "POST",
2478
- path: "/v1/projects/{project_id}/databases"
2479
- },
2480
- getDatabase: {
2481
- method: "GET",
2482
- path: "/v1/projects/{project_id}/databases/{database_id}"
2483
- },
2484
- updateDatabase: {
2485
- method: "PATCH",
2486
- path: "/v1/projects/{project_id}/databases/{database_id}"
2487
- },
2488
- deleteDatabase: {
2489
- method: "DELETE",
2490
- path: "/v1/projects/{project_id}/databases/{database_id}"
2491
- },
2492
- testDatabaseConnection: {
2493
- method: "POST",
2494
- path: "/v1/projects/{project_id}/databases/{database_id}/test-connection"
2495
- },
2496
- scanDatabaseForPii: {
2497
- method: "POST",
2498
- path: "/v1/projects/{project_id}/databases/{database_id}/scan-pii"
2499
- },
2500
- getSchemaCatalog: {
2501
- method: "GET",
2502
- path: "/v1/projects/{project_id}/databases/{database_id}/schema-catalog"
2503
- }
2504
- },
2505
- platform: {
2506
- getHealth: {
2507
- method: "GET",
2508
- path: "/v1/health"
2509
- },
2510
- listRegions: {
2511
- method: "GET",
2512
- path: "/v1/regions"
2513
- },
2514
- listSelfHostEnrollments: {
2515
- method: "GET",
2516
- path: "/v1/organizations/{org_id}/self-host-enrollments"
2517
- },
2518
- createSelfHostEnrollment: {
2519
- method: "POST",
2520
- path: "/v1/organizations/{org_id}/self-host-enrollments"
2521
- },
2522
- revokeSelfHostEnrollment: {
2523
- method: "DELETE",
2524
- path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}"
2525
- },
2526
- rotateSelfHostEnrollment: {
2527
- method: "POST",
2528
- path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}/rotate"
2529
- }
2530
- },
2531
- honeytokens: {
2532
- listHoneytokens: {
2533
- method: "GET",
2534
- path: "/v1/projects/{project_id}/honeytokens"
2535
- },
2536
- createHoneytoken: {
2537
- method: "POST",
2538
- path: "/v1/projects/{project_id}/honeytokens"
2539
- },
2540
- getHoneytoken: {
2541
- method: "GET",
2542
- path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}"
2543
- },
2544
- updateHoneytoken: {
2545
- method: "PUT",
2546
- path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}"
2547
- },
2548
- deleteHoneytoken: {
2549
- method: "DELETE",
2550
- path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}"
2551
- }
2552
- },
2553
- migrations: {
2554
- lintMigration: {
2555
- method: "POST",
2556
- path: "/v1/projects/{project_id}/migrations:lint"
2557
- }
2558
- },
2559
- support: {
2560
- listSupportCases: {
2561
- method: "GET",
2562
- path: "/v1/organizations/{org_id}/support/cases"
2563
- },
2564
- createSupportCase: {
2565
- method: "POST",
2566
- path: "/v1/organizations/{org_id}/support/cases"
2567
- },
2568
- getSupportCase: {
2569
- method: "GET",
2570
- path: "/v1/organizations/{org_id}/support/cases/{case_id}"
2571
- },
2572
- updateSupportCase: {
2573
- method: "PATCH",
2574
- path: "/v1/organizations/{org_id}/support/cases/{case_id}"
2575
- },
2576
- createSupportMessage: {
2577
- method: "POST",
2578
- path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages"
2579
- }
2580
- },
2581
- internal: {
2582
- handleSlackSupportEvent: {
2583
- method: "POST",
2584
- path: "/v1/internal/support/slack-event"
2585
- }
2586
- },
2587
- webhooks: {
2588
- listWebhookEndpoints: {
2589
- method: "GET",
2590
- path: "/v1/projects/{project_id}/webhooks"
2591
- },
2592
- createWebhookEndpoint: {
2593
- method: "POST",
2594
- path: "/v1/projects/{project_id}/webhooks"
2595
- },
2596
- getWebhookEndpoint: {
2597
- method: "GET",
2598
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
2599
- },
2600
- updateWebhookEndpoint: {
2601
- method: "PUT",
2602
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
2603
- },
2604
- deleteWebhookEndpoint: {
2605
- method: "DELETE",
2606
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
2607
- },
2608
- testWebhookEndpoint: {
2609
- method: "POST",
2610
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}/test"
2611
- }
2612
- }
2613
- };
2614
- const operationsByPath = {
2615
- "GET /v1/account/export": {
2616
- method: "GET",
2617
- path: "/v1/account/export",
2618
- operationId: "exportAccountData"
2619
- },
2620
- "GET /v1/projects/{project_id}/agents": {
2621
- method: "GET",
2622
- path: "/v1/projects/{project_id}/agents",
2623
- operationId: "listAgentCredentials"
2624
- },
2625
- "POST /v1/projects/{project_id}/agents": {
2626
- method: "POST",
2627
- path: "/v1/projects/{project_id}/agents",
2628
- operationId: "createAgentCredential"
2629
- },
2630
- "GET /v1/projects/{project_id}/agents/{agent_id}": {
2631
- method: "GET",
2632
- path: "/v1/projects/{project_id}/agents/{agent_id}",
2633
- operationId: "getAgentCredential"
2634
- },
2635
- "PATCH /v1/projects/{project_id}/agents/{agent_id}": {
2636
- method: "PATCH",
2637
- path: "/v1/projects/{project_id}/agents/{agent_id}",
2638
- operationId: "updateAgentCredentialStatus"
2639
- },
2640
- "DELETE /v1/projects/{project_id}/agents/{agent_id}": {
2641
- method: "DELETE",
2642
- path: "/v1/projects/{project_id}/agents/{agent_id}",
2643
- operationId: "revokeAgentCredential"
2644
- },
2645
- "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
2646
- method: "POST",
2647
- path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
2648
- operationId: "rotateAgentCredential"
2649
- },
2650
- "POST /v1/projects/{project_id}/agents/{agent_id}/policy-recommendation": {
2651
- method: "POST",
2652
- path: "/v1/projects/{project_id}/agents/{agent_id}/policy-recommendation",
2653
- operationId: "recommendAgentPolicy"
2654
- },
2655
- "GET /v1/projects/{project_id}/anomalies": {
2656
- method: "GET",
2657
- path: "/v1/projects/{project_id}/anomalies",
2658
- operationId: "listAnomalyAlerts"
2659
- },
2660
- "PATCH /v1/projects/{project_id}/anomalies/{anomaly_id}": {
2661
- method: "PATCH",
2662
- path: "/v1/projects/{project_id}/anomalies/{anomaly_id}",
2663
- operationId: "updateAnomalyAlert"
2664
- },
2665
- "GET /v1/projects/{project_id}/approvals": {
2666
- method: "GET",
2667
- path: "/v1/projects/{project_id}/approvals",
2668
- operationId: "listApprovalRequests"
2669
- },
2670
- "POST /v1/projects/{project_id}/approvals/{approval_id}/approve": {
2671
- method: "POST",
2672
- path: "/v1/projects/{project_id}/approvals/{approval_id}/approve",
2673
- operationId: "approveApprovalRequest"
2674
- },
2675
- "POST /v1/projects/{project_id}/approvals/{approval_id}/reject": {
2676
- method: "POST",
2677
- path: "/v1/projects/{project_id}/approvals/{approval_id}/reject",
2678
- operationId: "rejectApprovalRequest"
2679
- },
2680
- "GET /v1/projects/{project_id}/audit-logs": {
2681
- method: "GET",
2682
- path: "/v1/projects/{project_id}/audit-logs",
2683
- operationId: "listAuditLogs"
2684
- },
2685
- "GET /v1/projects/{project_id}/audit-logs/export": {
2686
- method: "GET",
2687
- path: "/v1/projects/{project_id}/audit-logs/export",
2688
- operationId: "exportAuditLogs"
2689
- },
2690
- "GET /v1/projects/{project_id}/audit-logs/verify": {
2691
- method: "GET",
2692
- path: "/v1/projects/{project_id}/audit-logs/verify",
2693
- operationId: "verifyAuditChain"
2694
- },
2695
- "GET /v1/plans": {
2696
- method: "GET",
2697
- path: "/v1/plans",
2698
- operationId: "listPlans"
2699
- },
2700
- "GET /v1/organizations/{org_id}/plan": {
2701
- method: "GET",
2702
- path: "/v1/organizations/{org_id}/plan",
2703
- operationId: "getOrganizationPlan"
2704
- },
2705
- "GET /v1/organizations/{org_id}/vercel-installation": {
2706
- method: "GET",
2707
- path: "/v1/organizations/{org_id}/vercel-installation",
2708
- operationId: "getVercelInstallation"
2709
- },
2710
- "PUT /v1/organizations/{org_id}/spend-limit": {
2711
- method: "PUT",
2712
- path: "/v1/organizations/{org_id}/spend-limit",
2713
- operationId: "updateSpendLimit"
2714
- },
2715
- "POST /v1/organizations/{org_id}/cancellation-feedback": {
2716
- method: "POST",
2717
- path: "/v1/organizations/{org_id}/cancellation-feedback",
2718
- operationId: "submitCancellationFeedback"
2719
- },
2720
- "GET /v1/projects/{project_id}/branches": {
2721
- method: "GET",
2722
- path: "/v1/projects/{project_id}/branches",
2723
- operationId: "listDatabaseBranches"
2724
- },
2725
- "DELETE /v1/projects/{project_id}/branches/{branch_id}": {
2726
- method: "DELETE",
2727
- path: "/v1/projects/{project_id}/branches/{branch_id}",
2728
- operationId: "discardDatabaseBranch"
2729
- },
2730
- "GET /v1/projects/{project_id}/databases/{database_id}/cache-rules": {
2731
- method: "GET",
2732
- path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules",
2733
- operationId: "listCacheRules"
2734
- },
2735
- "PUT /v1/projects/{project_id}/databases/{database_id}/cache-rules/{query_hash}": {
2736
- method: "PUT",
2737
- path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules/{query_hash}",
2738
- operationId: "updateCacheRule"
2739
- },
2740
- "GET /v1/projects/{project_id}/databases": {
2741
- method: "GET",
2742
- path: "/v1/projects/{project_id}/databases",
2743
- operationId: "listDatabases"
2744
- },
2745
- "POST /v1/projects/{project_id}/databases": {
2746
- method: "POST",
2747
- path: "/v1/projects/{project_id}/databases",
2748
- operationId: "createDatabase"
2749
- },
2750
- "GET /v1/projects/{project_id}/databases/{database_id}": {
2751
- method: "GET",
2752
- path: "/v1/projects/{project_id}/databases/{database_id}",
2753
- operationId: "getDatabase"
2754
- },
2755
- "PATCH /v1/projects/{project_id}/databases/{database_id}": {
2756
- method: "PATCH",
2757
- path: "/v1/projects/{project_id}/databases/{database_id}",
2758
- operationId: "updateDatabase"
2759
- },
2760
- "DELETE /v1/projects/{project_id}/databases/{database_id}": {
2761
- method: "DELETE",
2762
- path: "/v1/projects/{project_id}/databases/{database_id}",
2763
- operationId: "deleteDatabase"
2764
- },
2765
- "POST /v1/projects/{project_id}/databases/{database_id}/test-connection": {
2766
- method: "POST",
2767
- path: "/v1/projects/{project_id}/databases/{database_id}/test-connection",
2768
- operationId: "testDatabaseConnection"
2769
- },
2770
- "POST /v1/projects/{project_id}/databases/{database_id}/scan-pii": {
2771
- method: "POST",
2772
- path: "/v1/projects/{project_id}/databases/{database_id}/scan-pii",
2773
- operationId: "scanDatabaseForPii"
2774
- },
2775
- "GET /v1/projects/{project_id}/databases/{database_id}/schema-catalog": {
2776
- method: "GET",
2777
- path: "/v1/projects/{project_id}/databases/{database_id}/schema-catalog",
2778
- operationId: "getSchemaCatalog"
2779
- },
2780
- "GET /v1/projects/{project_id}/domains": {
2781
- method: "GET",
2782
- path: "/v1/projects/{project_id}/domains",
2783
- operationId: "listCustomDomains"
2784
- },
2785
- "POST /v1/projects/{project_id}/domains": {
2786
- method: "POST",
2787
- path: "/v1/projects/{project_id}/domains",
2788
- operationId: "createCustomDomain"
2789
- },
2790
- "DELETE /v1/projects/{project_id}/domains/{domain_id}": {
2791
- method: "DELETE",
2792
- path: "/v1/projects/{project_id}/domains/{domain_id}",
2793
- operationId: "deleteCustomDomain"
2794
- },
2795
- "POST /v1/projects/{project_id}/domains/{domain_id}/verify": {
2796
- method: "POST",
2797
- path: "/v1/projects/{project_id}/domains/{domain_id}/verify",
2798
- operationId: "verifyCustomDomain"
2799
- },
2800
- "GET /v1/health": {
2801
- method: "GET",
2802
- path: "/v1/health",
2803
- operationId: "getHealth"
2804
- },
2805
- "GET /v1/projects/{project_id}/honeytokens": {
2806
- method: "GET",
2807
- path: "/v1/projects/{project_id}/honeytokens",
2808
- operationId: "listHoneytokens"
2809
- },
2810
- "POST /v1/projects/{project_id}/honeytokens": {
2811
- method: "POST",
2812
- path: "/v1/projects/{project_id}/honeytokens",
2813
- operationId: "createHoneytoken"
2814
- },
2815
- "GET /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
2816
- method: "GET",
2817
- path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}",
2818
- operationId: "getHoneytoken"
2819
- },
2820
- "PUT /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
2821
- method: "PUT",
2822
- path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}",
2823
- operationId: "updateHoneytoken"
2824
- },
2825
- "DELETE /v1/projects/{project_id}/honeytokens/{honeytoken_id}": {
2826
- method: "DELETE",
2827
- path: "/v1/projects/{project_id}/honeytokens/{honeytoken_id}",
2828
- operationId: "deleteHoneytoken"
2829
- },
2830
- "GET /v1/projects/{project_id}/insights": {
2831
- method: "GET",
2832
- path: "/v1/projects/{project_id}/insights",
2833
- operationId: "getProjectInsights"
2834
- },
2835
- "POST /v1/projects/{project_id}/migrations:lint": {
2836
- method: "POST",
2837
- path: "/v1/projects/{project_id}/migrations:lint",
2838
- operationId: "lintMigration"
2839
- },
2840
- "GET /v1/organizations/{org_id}/onboarding": {
2841
- method: "GET",
2842
- path: "/v1/organizations/{org_id}/onboarding",
2843
- operationId: "getOnboardingProgress"
2844
- },
2845
- "PATCH /v1/organizations/{org_id}/onboarding": {
2846
- method: "PATCH",
2847
- path: "/v1/organizations/{org_id}/onboarding",
2848
- operationId: "updateOnboardingProgress"
2849
- },
2850
- "GET /v1/organizations": {
2851
- method: "GET",
2852
- path: "/v1/organizations",
2853
- operationId: "listOrganizations"
2854
- },
2855
- "GET /v1/projects/{project_id}/policies": {
2856
- method: "GET",
2857
- path: "/v1/projects/{project_id}/policies",
2858
- operationId: "listPolicyProfiles"
2859
- },
2860
- "POST /v1/projects/{project_id}/policies": {
2861
- method: "POST",
2862
- path: "/v1/projects/{project_id}/policies",
2863
- operationId: "createPolicyProfile"
2864
- },
2865
- "GET /v1/projects/{project_id}/policies/{policy_id}": {
2866
- method: "GET",
2867
- path: "/v1/projects/{project_id}/policies/{policy_id}",
2868
- operationId: "getPolicyProfile"
2869
- },
2870
- "PUT /v1/projects/{project_id}/policies/{policy_id}": {
2871
- method: "PUT",
2872
- path: "/v1/projects/{project_id}/policies/{policy_id}",
2873
- operationId: "updatePolicyProfile"
2874
- },
2875
- "DELETE /v1/projects/{project_id}/policies/{policy_id}": {
2876
- method: "DELETE",
2877
- path: "/v1/projects/{project_id}/policies/{policy_id}",
2878
- operationId: "deletePolicyProfile"
2879
- },
2880
- "POST /v1/projects/{project_id}/policy-evaluations": {
2881
- method: "POST",
2882
- path: "/v1/projects/{project_id}/policy-evaluations",
2883
- operationId: "dryEvalPolicy"
2884
- },
2885
- "POST /v1/projects/{project_id}/policy-replays": {
2886
- method: "POST",
2887
- path: "/v1/projects/{project_id}/policy-replays",
2888
- operationId: "replayPolicy"
2889
- },
2890
- "GET /v1/projects": {
2891
- method: "GET",
2892
- path: "/v1/projects",
2893
- operationId: "listProjects"
2894
- },
2895
- "POST /v1/projects": {
2896
- method: "POST",
2897
- path: "/v1/projects",
2898
- operationId: "createProject"
2899
- },
2900
- "GET /v1/projects/{project_id}": {
2901
- method: "GET",
2902
- path: "/v1/projects/{project_id}",
2903
- operationId: "getProject"
2904
- },
2905
- "PATCH /v1/projects/{project_id}": {
2906
- method: "PATCH",
2907
- path: "/v1/projects/{project_id}",
2908
- operationId: "updateProject"
2909
- },
2910
- "DELETE /v1/projects/{project_id}": {
2911
- method: "DELETE",
2912
- path: "/v1/projects/{project_id}",
2913
- operationId: "deleteProject"
2914
- },
2915
- "GET /v1/projects/{project_id}/metrics": {
2916
- method: "GET",
2917
- path: "/v1/projects/{project_id}/metrics",
2918
- operationId: "getProjectMetrics"
2919
- },
2920
- "GET /v1/regions": {
2921
- method: "GET",
2922
- path: "/v1/regions",
2923
- operationId: "listRegions"
2924
- },
2925
- "GET /v1/databases/{database_id}/replicas": {
2926
- method: "GET",
2927
- path: "/v1/databases/{database_id}/replicas",
2928
- operationId: "listReplicas"
2929
- },
2930
- "POST /v1/databases/{database_id}/replicas": {
2931
- method: "POST",
2932
- path: "/v1/databases/{database_id}/replicas",
2933
- operationId: "createReplica"
2934
- },
2935
- "DELETE /v1/databases/{database_id}/replicas/{replica_id}": {
2936
- method: "DELETE",
2937
- path: "/v1/databases/{database_id}/replicas/{replica_id}",
2938
- operationId: "deleteReplica"
2939
- },
2940
- "GET /v1/organizations/{org_id}/self-host-enrollments": {
2941
- method: "GET",
2942
- path: "/v1/organizations/{org_id}/self-host-enrollments",
2943
- operationId: "listSelfHostEnrollments"
2944
- },
2945
- "POST /v1/organizations/{org_id}/self-host-enrollments": {
2946
- method: "POST",
2947
- path: "/v1/organizations/{org_id}/self-host-enrollments",
2948
- operationId: "createSelfHostEnrollment"
2949
- },
2950
- "DELETE /v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}": {
2951
- method: "DELETE",
2952
- path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}",
2953
- operationId: "revokeSelfHostEnrollment"
2954
- },
2955
- "POST /v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}/rotate": {
2956
- method: "POST",
2957
- path: "/v1/organizations/{org_id}/self-host-enrollments/{enrollment_id}/rotate",
2958
- operationId: "rotateSelfHostEnrollment"
2959
- },
2960
- "GET /v1/organizations/{org_id}/support/cases": {
2961
- method: "GET",
2962
- path: "/v1/organizations/{org_id}/support/cases",
2963
- operationId: "listSupportCases"
2964
- },
2965
- "POST /v1/organizations/{org_id}/support/cases": {
2966
- method: "POST",
2967
- path: "/v1/organizations/{org_id}/support/cases",
2968
- operationId: "createSupportCase"
2969
- },
2970
- "GET /v1/organizations/{org_id}/support/cases/{case_id}": {
2971
- method: "GET",
2972
- path: "/v1/organizations/{org_id}/support/cases/{case_id}",
2973
- operationId: "getSupportCase"
2974
- },
2975
- "PATCH /v1/organizations/{org_id}/support/cases/{case_id}": {
2976
- method: "PATCH",
2977
- path: "/v1/organizations/{org_id}/support/cases/{case_id}",
2978
- operationId: "updateSupportCase"
2979
- },
2980
- "POST /v1/organizations/{org_id}/support/cases/{case_id}/messages": {
2981
- method: "POST",
2982
- path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages",
2983
- operationId: "createSupportMessage"
2984
- },
2985
- "POST /v1/internal/support/slack-event": {
2986
- method: "POST",
2987
- path: "/v1/internal/support/slack-event",
2988
- operationId: "handleSlackSupportEvent"
2989
- },
2990
- "GET /v1/organizations/{org_id}/usage": {
2991
- method: "GET",
2992
- path: "/v1/organizations/{org_id}/usage",
2993
- operationId: "getOrganizationUsage"
2994
- },
2995
- "GET /v1/projects/{project_id}/usage": {
2996
- method: "GET",
2997
- path: "/v1/projects/{project_id}/usage",
2998
- operationId: "getProjectUsage"
2999
- },
3000
- "GET /v1/projects/{project_id}/webhooks": {
3001
- method: "GET",
3002
- path: "/v1/projects/{project_id}/webhooks",
3003
- operationId: "listWebhookEndpoints"
3004
- },
3005
- "POST /v1/projects/{project_id}/webhooks": {
3006
- method: "POST",
3007
- path: "/v1/projects/{project_id}/webhooks",
3008
- operationId: "createWebhookEndpoint"
3009
- },
3010
- "GET /v1/projects/{project_id}/webhooks/{webhook_id}": {
3011
- method: "GET",
3012
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
3013
- operationId: "getWebhookEndpoint"
3014
- },
3015
- "PUT /v1/projects/{project_id}/webhooks/{webhook_id}": {
3016
- method: "PUT",
3017
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
3018
- operationId: "updateWebhookEndpoint"
3019
- },
3020
- "DELETE /v1/projects/{project_id}/webhooks/{webhook_id}": {
3021
- method: "DELETE",
3022
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
3023
- operationId: "deleteWebhookEndpoint"
3024
- },
3025
- "POST /v1/projects/{project_id}/webhooks/{webhook_id}/test": {
3026
- method: "POST",
3027
- path: "/v1/projects/{project_id}/webhooks/{webhook_id}/test",
3028
- operationId: "testWebhookEndpoint"
3029
- }
3030
- };
3031
-
2344
+ exports.operationsByPath = operationsMap_gen.operationsByPath;
2345
+ exports.operationsByTag = operationsMap_gen.operationsByTag;
3032
2346
  exports.describeByOperationId = describeByOperationId;
3033
- exports.operationsByPath = operationsByPath;
3034
- exports.operationsByTag = operationsByTag;