pgbeam 0.2.4 → 0.2.6

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.d.mts CHANGED
@@ -1079,6 +1079,7 @@ declare const poolModeEnum: {
1079
1079
  type PoolModeEnumKey = (typeof poolModeEnum)[keyof typeof poolModeEnum];
1080
1080
  /**
1081
1081
  * @description Connection pool mode.
1082
+ * @example transaction
1082
1083
  */
1083
1084
  type PoolMode = PoolModeEnumKey;
1084
1085
 
@@ -1137,6 +1138,7 @@ declare const SSLModeEnum: {
1137
1138
  type SSLModeEnumKey = (typeof SSLModeEnum)[keyof typeof SSLModeEnum];
1138
1139
  /**
1139
1140
  * @description PostgreSQL SSL connection mode.
1141
+ * @example require
1140
1142
  */
1141
1143
  type SSLMode = SSLModeEnumKey;
1142
1144
 
@@ -1769,6 +1771,47 @@ type TestDatabaseConnectionMutation = {
1769
1771
  * Generated by Kubb (https://kubb.dev/).
1770
1772
  * Do not edit manually.
1771
1773
  */
1774
+ /**
1775
+ * @description DNS records the user needs to create for domain verification.
1776
+ */
1777
+ type DnsInstructions = {
1778
+ /**
1779
+ * @description The CNAME record host.
1780
+ * @type string | undefined
1781
+ */
1782
+ cname_host?: string;
1783
+ /**
1784
+ * @description The CNAME record target.
1785
+ * @type string | undefined
1786
+ */
1787
+ cname_target?: string;
1788
+ /**
1789
+ * @description The TXT record host for verification.
1790
+ * @type string | undefined
1791
+ */
1792
+ txt_host?: string;
1793
+ /**
1794
+ * @description The TXT record value for verification.
1795
+ * @type string | undefined
1796
+ */
1797
+ txt_value?: string;
1798
+ /**
1799
+ * @description The CNAME record host for ACME TLS certificate issuance.
1800
+ * @type string | undefined
1801
+ */
1802
+ acme_cname_host?: string;
1803
+ /**
1804
+ * @description The CNAME target for ACME challenge delegation.
1805
+ * @type string | undefined
1806
+ */
1807
+ acme_cname_target?: string;
1808
+ };
1809
+
1810
+ /**
1811
+ * Generated by Kubb (https://kubb.dev/).
1812
+ * Do not edit manually.
1813
+ */
1814
+
1772
1815
  /**
1773
1816
  * @description Custom database hostname attached to a project.
1774
1817
  */
@@ -1809,41 +1852,10 @@ type CustomDomain = {
1809
1852
  */
1810
1853
  dns_verification_token: string;
1811
1854
  /**
1812
- * @description DNS records the user needs to create.
1855
+ * @description DNS records the user needs to create for domain verification.
1813
1856
  * @type object | undefined
1814
1857
  */
1815
- dns_instructions?: {
1816
- /**
1817
- * @description The CNAME record host.
1818
- * @type string | undefined
1819
- */
1820
- cname_host?: string;
1821
- /**
1822
- * @description The CNAME record target.
1823
- * @type string | undefined
1824
- */
1825
- cname_target?: string;
1826
- /**
1827
- * @description The TXT record host for verification.
1828
- * @type string | undefined
1829
- */
1830
- txt_host?: string;
1831
- /**
1832
- * @description The TXT record value for verification.
1833
- * @type string | undefined
1834
- */
1835
- txt_value?: string;
1836
- /**
1837
- * @description The CNAME record host for ACME TLS certificate issuance.
1838
- * @type string | undefined
1839
- */
1840
- acme_cname_host?: string;
1841
- /**
1842
- * @description The CNAME target for ACME challenge delegation.
1843
- * @type string | undefined
1844
- */
1845
- acme_cname_target?: string;
1846
- };
1858
+ dns_instructions?: DnsInstructions;
1847
1859
  /**
1848
1860
  * @description When the custom domain was created.
1849
1861
  * @type string, date-time
@@ -2366,118 +2378,6 @@ type GetProjectInsightsQuery = {
2366
2378
  Errors: GetProjectInsights400 | GetProjectInsights401 | GetProjectInsights404 | GetProjectInsights429;
2367
2379
  };
2368
2380
 
2369
- /**
2370
- * Generated by Kubb (https://kubb.dev/).
2371
- * Do not edit manually.
2372
- */
2373
- declare const mcpRequestJsonrpcEnum: {
2374
- readonly "2.0": "2.0";
2375
- };
2376
- type McpRequestJsonrpcEnumKey = (typeof mcpRequestJsonrpcEnum)[keyof typeof mcpRequestJsonrpcEnum];
2377
- declare const mcpRequestMethodEnum: {
2378
- readonly initialize: "initialize";
2379
- readonly "notifications/initialized": "notifications/initialized";
2380
- readonly "tools/list": "tools/list";
2381
- readonly "tools/call": "tools/call";
2382
- readonly ping: "ping";
2383
- };
2384
- type McpRequestMethodEnumKey = (typeof mcpRequestMethodEnum)[keyof typeof mcpRequestMethodEnum];
2385
- /**
2386
- * @description JSON-RPC 2.0 request envelope for MCP over Streamable HTTP.
2387
- */
2388
- type McpRequest = {
2389
- /**
2390
- * @description JSON-RPC version. Must be \"2.0\".
2391
- * @type string
2392
- */
2393
- jsonrpc: McpRequestJsonrpcEnumKey;
2394
- /**
2395
- * @description Request identifier. Omit for notifications.
2396
- * @type string | undefined
2397
- */
2398
- id?: string;
2399
- /**
2400
- * @description MCP method to invoke.
2401
- * @type string
2402
- */
2403
- method: McpRequestMethodEnumKey;
2404
- /**
2405
- * @description Method-specific parameters.
2406
- * @type object | undefined
2407
- */
2408
- params?: object;
2409
- };
2410
-
2411
- /**
2412
- * Generated by Kubb (https://kubb.dev/).
2413
- * Do not edit manually.
2414
- */
2415
- declare const mcpResponseJsonrpcEnum: {
2416
- readonly "2.0": "2.0";
2417
- };
2418
- type McpResponseJsonrpcEnumKey = (typeof mcpResponseJsonrpcEnum)[keyof typeof mcpResponseJsonrpcEnum];
2419
- /**
2420
- * @description JSON-RPC 2.0 response envelope for MCP over Streamable HTTP.
2421
- */
2422
- type McpResponse = {
2423
- /**
2424
- * @description JSON-RPC version. Always \"2.0\".
2425
- * @type string
2426
- */
2427
- jsonrpc: McpResponseJsonrpcEnumKey;
2428
- /**
2429
- * @description Mirrors the request id. Null for parse errors.
2430
- * @type string
2431
- */
2432
- id: string | null;
2433
- /**
2434
- * @description Method-specific result (present on success).
2435
- * @type object | undefined
2436
- */
2437
- result?: object;
2438
- /**
2439
- * @description JSON-RPC error (present on failure).
2440
- * @type object | undefined
2441
- */
2442
- error?: {
2443
- /**
2444
- * @description JSON-RPC error code.
2445
- * @type integer | undefined
2446
- */
2447
- code?: number;
2448
- /**
2449
- * @description Human-readable error message.
2450
- * @type string | undefined
2451
- */
2452
- message?: string;
2453
- };
2454
- };
2455
-
2456
- /**
2457
- * Generated by Kubb (https://kubb.dev/).
2458
- * Do not edit manually.
2459
- */
2460
-
2461
- /**
2462
- * @description JSON-RPC 2.0 response.
2463
- */
2464
- type McpTransport200 = McpResponse;
2465
- /**
2466
- * @description Missing or invalid authentication.
2467
- */
2468
- type McpTransport401 = Error$1;
2469
- /**
2470
- * @description Rate limited. Try again later.
2471
- */
2472
- type McpTransport429 = Error$1;
2473
- type McpTransportMutationRequest = McpRequest;
2474
- type McpTransportMutationResponse = McpTransport200;
2475
- type McpTransportMutation = {
2476
- Response: McpTransport200;
2477
- Request: McpTransportMutationRequest;
2478
- Errors: McpTransport401 | McpTransport429;
2479
- };
2480
-
2481
2381
  /**
2482
2382
  * Generated by Kubb (https://kubb.dev/).
2483
2383
  * Do not edit manually.
@@ -2666,6 +2566,28 @@ type UpdateOnboardingProgressMutation = {
2666
2566
  Errors: UpdateOnboardingProgress400 | UpdateOnboardingProgress401 | UpdateOnboardingProgress403 | UpdateOnboardingProgress404 | UpdateOnboardingProgress429;
2667
2567
  };
2668
2568
 
2569
+ /**
2570
+ * Generated by Kubb (https://kubb.dev/).
2571
+ * Do not edit manually.
2572
+ */
2573
+ /**
2574
+ * @description An IP filtering rule with a CIDR range and optional human-readable label.
2575
+ */
2576
+ type CidrEntry = {
2577
+ /**
2578
+ * @description CIDR range in IPv4 (e.g. 203.0.113.0/24) or IPv6 (e.g. 2001:db8::/32) notation. A plain IP without prefix length defaults to /32 (IPv4) or /128 (IPv6).\n
2579
+ * @pattern ^[0-9a-fA-F.:]+(/[0-9]+)?$
2580
+ * @type string
2581
+ */
2582
+ cidr: string;
2583
+ /**
2584
+ * @description Optional human-readable label for this CIDR entry (e.g. \"Office\", \"VPC\").
2585
+ * @maxLength 100
2586
+ * @type string | undefined
2587
+ */
2588
+ label?: string;
2589
+ };
2590
+
2669
2591
  /**
2670
2592
  * Generated by Kubb (https://kubb.dev/).
2671
2593
  * Do not edit manually.
@@ -2740,26 +2662,26 @@ type Project = {
2740
2662
  * @maxLength 2147483647
2741
2663
  * @type integer | undefined, int32
2742
2664
  */
2743
- queries_per_second?: number;
2665
+ readonly queries_per_second?: number;
2744
2666
  /**
2745
2667
  * @description Burst allowance above the steady-state rate. 0 uses queries_per_second as burst.
2746
2668
  * @minLength 0
2747
2669
  * @maxLength 2147483647
2748
2670
  * @type integer | undefined, int32
2749
2671
  */
2750
- burst_size?: number;
2672
+ readonly burst_size?: number;
2751
2673
  /**
2752
2674
  * @description Maximum concurrent proxy connections. 0 means unlimited.
2753
2675
  * @minLength 0
2754
2676
  * @maxLength 2147483647
2755
2677
  * @type integer | undefined, int32
2756
2678
  */
2757
- max_connections?: number;
2679
+ readonly max_connections?: number;
2758
2680
  /**
2759
- * @description IP allowlist as CIDR ranges (e.g., [\"10.0.0.0/8\", \"203.0.113.5/32\"]). When non-empty, only connections from matching IPs are accepted. Empty array means all IPs are allowed (default).\n
2681
+ * @description IP filtering rules as CIDR ranges with optional labels. When non-empty, only connections from matching IPs are accepted. Empty array means all IPs are allowed (default). Both IPv4 (e.g. 10.0.0.0/8) and IPv6 (e.g. 2001:db8::/32) are supported.\n
2760
2682
  * @type array | undefined
2761
2683
  */
2762
- allowed_cidrs?: string[];
2684
+ allowed_cidrs?: CidrEntry[];
2763
2685
  /**
2764
2686
  * @description Number of databases attached to this project.
2765
2687
  * @type integer | undefined
@@ -3069,31 +2991,10 @@ type UpdateProjectRequest = {
3069
2991
  */
3070
2992
  status?: ProjectStatus;
3071
2993
  /**
3072
- * @description Maximum queries per second. 0 means unlimited.
3073
- * @minLength 0
3074
- * @maxLength 2147483647
3075
- * @type integer | undefined, int32
3076
- */
3077
- queries_per_second?: number;
3078
- /**
3079
- * @description Burst allowance above steady-state rate.
3080
- * @minLength 0
3081
- * @maxLength 2147483647
3082
- * @type integer | undefined, int32
3083
- */
3084
- burst_size?: number;
3085
- /**
3086
- * @description Maximum concurrent proxy connections. 0 means unlimited.
3087
- * @minLength 0
3088
- * @maxLength 2147483647
3089
- * @type integer | undefined, int32
3090
- */
3091
- max_connections?: number;
3092
- /**
3093
- * @description IP allowlist as CIDR ranges. Empty array means allow all.\n
2994
+ * @description IP filtering rules as CIDR ranges with optional labels. Empty array means allow all. Both IPv4 and IPv6 CIDR notation are supported.\n
3094
2995
  * @type array | undefined
3095
2996
  */
3096
- allowed_cidrs?: string[];
2997
+ allowed_cidrs?: CidrEntry[];
3097
2998
  };
3098
2999
 
3099
3000
  /**
@@ -3486,6 +3387,11 @@ type ListReplicasResponse = {
3486
3387
  * @type array
3487
3388
  */
3488
3389
  replicas: Replica[];
3390
+ /**
3391
+ * @description Opaque token for cursor-based pagination.
3392
+ * @type string | undefined
3393
+ */
3394
+ next_page_token?: string;
3489
3395
  };
3490
3396
 
3491
3397
  /**
@@ -3882,7 +3788,7 @@ type GetProjectUsageQuery = {
3882
3788
  };
3883
3789
 
3884
3790
  /**
3885
- * Generated by scripts/generate-maps.ts — do not edit manually.
3791
+ * Generated by generate-sdk-ts-maps.ts — do not edit manually.
3886
3792
  * Run: pnpm --filter pgbeam generate
3887
3793
  */
3888
3794
 
@@ -4004,11 +3910,6 @@ interface ApiOperations {
4004
3910
  getHealth(): Promise<GetHealthQueryResponse>;
4005
3911
  listRegions(): Promise<ListRegionsQueryResponse>;
4006
3912
  };
4007
- mCP: {
4008
- mcpTransport(params: {
4009
- body: McpTransportMutationRequest;
4010
- }): Promise<McpTransportMutationResponse>;
4011
- };
4012
3913
  }
4013
3914
  interface RequestMap {
4014
3915
  "GET /v1/account/export": {
@@ -4129,12 +4030,6 @@ interface RequestMap {
4129
4030
  };
4130
4031
  response: GetProjectInsightsQueryResponse;
4131
4032
  };
4132
- "POST /v1/mcp": {
4133
- params: {
4134
- body: McpTransportMutationRequest;
4135
- };
4136
- response: McpTransportMutationResponse;
4137
- };
4138
4033
  "GET /v1/organizations/{org_id}/onboarding": {
4139
4034
  params: {
4140
4035
  pathParams: GetOnboardingProgressPathParams;
@@ -4283,5 +4178,117 @@ declare class PgBeamClient {
4283
4178
  get api(): ApiClient;
4284
4179
  }
4285
4180
 
4181
+ /**
4182
+ * Generated by Kubb (https://kubb.dev/).
4183
+ * Do not edit manually.
4184
+ */
4185
+ declare const mcpRequestJsonrpcEnum: {
4186
+ readonly "2.0": "2.0";
4187
+ };
4188
+ type McpRequestJsonrpcEnumKey = (typeof mcpRequestJsonrpcEnum)[keyof typeof mcpRequestJsonrpcEnum];
4189
+ declare const mcpRequestMethodEnum: {
4190
+ readonly initialize: "initialize";
4191
+ readonly "notifications/initialized": "notifications/initialized";
4192
+ readonly "tools/list": "tools/list";
4193
+ readonly "tools/call": "tools/call";
4194
+ readonly ping: "ping";
4195
+ };
4196
+ type McpRequestMethodEnumKey = (typeof mcpRequestMethodEnum)[keyof typeof mcpRequestMethodEnum];
4197
+ /**
4198
+ * @description JSON-RPC 2.0 request envelope for MCP over Streamable HTTP.
4199
+ */
4200
+ type McpRequest = {
4201
+ /**
4202
+ * @description JSON-RPC version. Must be \"2.0\".
4203
+ * @type string
4204
+ */
4205
+ jsonrpc: McpRequestJsonrpcEnumKey;
4206
+ /**
4207
+ * @description Request identifier. Omit for notifications.
4208
+ * @type string | undefined
4209
+ */
4210
+ id?: string;
4211
+ /**
4212
+ * @description MCP method to invoke.
4213
+ * @type string
4214
+ */
4215
+ method: McpRequestMethodEnumKey;
4216
+ /**
4217
+ * @description Method-specific parameters.
4218
+ * @type object | undefined
4219
+ */
4220
+ params?: object;
4221
+ };
4222
+
4223
+ /**
4224
+ * Generated by Kubb (https://kubb.dev/).
4225
+ * Do not edit manually.
4226
+ */
4227
+ declare const mcpResponseJsonrpcEnum: {
4228
+ readonly "2.0": "2.0";
4229
+ };
4230
+ type McpResponseJsonrpcEnumKey = (typeof mcpResponseJsonrpcEnum)[keyof typeof mcpResponseJsonrpcEnum];
4231
+ /**
4232
+ * @description JSON-RPC 2.0 response envelope for MCP over Streamable HTTP.
4233
+ */
4234
+ type McpResponse = {
4235
+ /**
4236
+ * @description JSON-RPC version. Always \"2.0\".
4237
+ * @type string
4238
+ */
4239
+ jsonrpc: McpResponseJsonrpcEnumKey;
4240
+ /**
4241
+ * @description Mirrors the request id. Null for parse errors.
4242
+ * @type string
4243
+ */
4244
+ id: string | null;
4245
+ /**
4246
+ * @description Method-specific result (present on success).
4247
+ * @type object | undefined
4248
+ */
4249
+ result?: object;
4250
+ /**
4251
+ * @description JSON-RPC error (present on failure).
4252
+ * @type object | undefined
4253
+ */
4254
+ error?: {
4255
+ /**
4256
+ * @description JSON-RPC error code.
4257
+ * @type integer | undefined
4258
+ */
4259
+ code?: number;
4260
+ /**
4261
+ * @description Human-readable error message.
4262
+ * @type string | undefined
4263
+ */
4264
+ message?: string;
4265
+ };
4266
+ };
4267
+
4268
+ /**
4269
+ * Generated by Kubb (https://kubb.dev/).
4270
+ * Do not edit manually.
4271
+ */
4272
+
4273
+ /**
4274
+ * @description JSON-RPC 2.0 response.
4275
+ */
4276
+ type McpTransport200 = McpResponse;
4277
+ /**
4278
+ * @description Missing or invalid authentication.
4279
+ */
4280
+ type McpTransport401 = Error$1;
4281
+ /**
4282
+ * @description Rate limited. Try again later.
4283
+ */
4284
+ type McpTransport429 = Error$1;
4285
+ type McpTransportMutationRequest = McpRequest;
4286
+ type McpTransportMutationResponse = McpTransport200;
4287
+ type McpTransportMutation = {
4288
+ Response: McpTransport200;
4289
+ Request: McpTransportMutationRequest;
4290
+ Errors: McpTransport401 | McpTransport429;
4291
+ };
4292
+
4286
4293
  export { ApiError, PgBeamClient, SSLModeEnum, cacheRuleEntryQueryTypeEnum, cacheRuleEntryRecommendationEnum, createProjectRequestCloudEnum, databaseRoleEnum, extractMessage, getProjectInsightsQueryParamsRangeEnum, healthResponseStatusEnum, listProjectsQueryParamsSortByEnum, mcpRequestJsonrpcEnum, mcpRequestMethodEnum, mcpResponseJsonrpcEnum, organizationPlanBillingProviderEnum, organizationPlanPlanEnum, organizationPlanSubscriptionStatusEnum, poolModeEnum, projectCloudEnum, projectStatusEnum, regionProviderEnum, regionStatusEnum, updateOnboardingRequestStepEnum };
4287
- export type { AccountExport, ApiClient, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CreateCustomDomain201, CreateCustomDomain400, CreateCustomDomain401, CreateCustomDomain403, CreateCustomDomain404, CreateCustomDomain409, CreateCustomDomain429, CreateCustomDomainMutation, CreateCustomDomainMutationRequest, CreateCustomDomainMutationResponse, CreateCustomDomainPathParams, CreateCustomDomainRequest, CreateDatabase201, CreateDatabase400, CreateDatabase401, CreateDatabase403, CreateDatabase404, CreateDatabase429, CreateDatabaseMutation, CreateDatabaseMutationRequest, CreateDatabaseMutationResponse, CreateDatabasePathParams, CreateDatabaseRequest, CreateProject201, CreateProject400, CreateProject401, CreateProject403, CreateProject409, CreateProject429, CreateProjectMutation, CreateProjectMutationRequest, CreateProjectMutationResponse, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectResponse, CreateReplica201, CreateReplica400, CreateReplica401, CreateReplica403, CreateReplica404, CreateReplica429, CreateReplicaMutation, CreateReplicaMutationRequest, CreateReplicaMutationResponse, CreateReplicaPathParams, CreateReplicaRequest, CustomDomain, DailyUsage, Database, DatabaseRole, DatabaseRoleEnumKey, DeleteCustomDomain204, DeleteCustomDomain400, DeleteCustomDomain401, DeleteCustomDomain403, DeleteCustomDomain404, DeleteCustomDomain429, DeleteCustomDomainMutation, DeleteCustomDomainMutationResponse, DeleteCustomDomainPathParams, DeleteDatabase204, DeleteDatabase400, DeleteDatabase401, DeleteDatabase403, DeleteDatabase404, DeleteDatabase429, DeleteDatabaseMutation, DeleteDatabaseMutationResponse, DeleteDatabasePathParams, DeleteProject204, DeleteProject400, DeleteProject401, DeleteProject403, DeleteProject404, DeleteProject429, DeleteProjectMutation, DeleteProjectMutationResponse, DeleteProjectPathParams, DeleteReplica204, DeleteReplica400, DeleteReplica401, DeleteReplica403, DeleteReplica404, DeleteReplica429, DeleteReplicaMutation, DeleteReplicaMutationResponse, DeleteReplicaPathParams, Error$1 as Error, ExportAccountData200, ExportAccountData401, ExportAccountData404, ExportAccountData429, ExportAccountDataQuery, ExportAccountDataQueryResponse, GetDatabase200, GetDatabase400, GetDatabase401, GetDatabase403, GetDatabase404, GetDatabase429, GetDatabasePathParams, GetDatabaseQuery, GetDatabaseQueryResponse, GetHealth200, GetHealth429, GetHealthQuery, GetHealthQueryResponse, GetOnboardingProgress200, GetOnboardingProgress400, GetOnboardingProgress401, GetOnboardingProgress403, GetOnboardingProgress404, GetOnboardingProgress429, GetOnboardingProgressPathParams, GetOnboardingProgressQuery, GetOnboardingProgressQueryResponse, GetOrganizationPlan200, GetOrganizationPlan400, GetOrganizationPlan401, GetOrganizationPlan403, GetOrganizationPlan429, GetOrganizationPlanPathParams, GetOrganizationPlanQuery, GetOrganizationPlanQueryResponse, GetOrganizationUsage200, GetOrganizationUsage400, GetOrganizationUsage401, GetOrganizationUsage403, GetOrganizationUsage429, GetOrganizationUsagePathParams, GetOrganizationUsageQuery, GetOrganizationUsageQueryParams, GetOrganizationUsageQueryResponse, GetProject200, GetProject400, GetProject401, GetProject403, GetProject404, GetProject429, GetProjectInsights200, GetProjectInsights400, GetProjectInsights401, GetProjectInsights404, GetProjectInsights429, GetProjectInsightsPathParams, GetProjectInsightsQuery, GetProjectInsightsQueryParams, GetProjectInsightsQueryParamsRangeEnumKey, GetProjectInsightsQueryResponse, GetProjectMetrics200, GetProjectMetrics400, GetProjectMetrics401, GetProjectMetrics404, GetProjectMetrics429, GetProjectMetricsPathParams, GetProjectMetricsQuery, GetProjectMetricsQueryParams, GetProjectMetricsQueryResponse, GetProjectPathParams, GetProjectQuery, GetProjectQueryResponse, GetProjectUsage200, GetProjectUsage400, GetProjectUsage401, GetProjectUsage404, GetProjectUsage429, GetProjectUsagePathParams, GetProjectUsageQuery, GetProjectUsageQueryParams, GetProjectUsageQueryResponse, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, ListCacheRules200, ListCacheRules400, ListCacheRules401, ListCacheRules403, ListCacheRules404, ListCacheRules429, ListCacheRulesPathParams, ListCacheRulesQuery, ListCacheRulesQueryParams, ListCacheRulesQueryResponse, ListCacheRulesResponse, ListCustomDomains200, ListCustomDomains400, ListCustomDomains401, ListCustomDomains403, ListCustomDomains404, ListCustomDomains429, ListCustomDomainsPathParams, ListCustomDomainsQuery, ListCustomDomainsQueryParams, ListCustomDomainsQueryResponse, ListCustomDomainsResponse, ListDatabases200, ListDatabases400, ListDatabases401, ListDatabases403, ListDatabases404, ListDatabases429, ListDatabasesPathParams, ListDatabasesQuery, ListDatabasesQueryParams, ListDatabasesQueryResponse, ListDatabasesResponse, ListPlans200, ListPlans401, ListPlans429, ListPlansQuery, ListPlansQueryResponse, ListPlansResponse, ListProjects200, ListProjects400, ListProjects401, ListProjects403, ListProjects429, ListProjectsQuery, ListProjectsQueryParams, ListProjectsQueryParamsSortByEnumKey, ListProjectsQueryResponse, ListProjectsResponse, ListRegions200, ListRegions401, ListRegions429, ListRegionsQuery, ListRegionsQueryResponse, ListRegionsResponse, ListReplicas200, ListReplicas400, ListReplicas401, ListReplicas403, ListReplicas404, ListReplicas429, ListReplicasPathParams, ListReplicasQuery, ListReplicasQueryResponse, ListReplicasResponse, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransport200, McpTransport401, McpTransport429, McpTransportMutation, McpTransportMutationRequest, McpTransportMutationResponse, MetricsSnapshot, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PoolConfig, PoolMode, PoolModeEnumKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatus, ProjectStatusEnumKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, Replica, RetryConfig, SSLMode, SSLModeEnumKey, SubmitCancellationFeedback204, SubmitCancellationFeedback400, SubmitCancellationFeedback401, SubmitCancellationFeedback403, SubmitCancellationFeedback429, SubmitCancellationFeedbackMutation, SubmitCancellationFeedbackMutationRequest, SubmitCancellationFeedbackMutationResponse, SubmitCancellationFeedbackPathParams, TestConnectionResult, TestDatabaseConnection200, TestDatabaseConnection400, TestDatabaseConnection401, TestDatabaseConnection403, TestDatabaseConnection404, TestDatabaseConnection429, TestDatabaseConnectionMutation, TestDatabaseConnectionMutationResponse, TestDatabaseConnectionPathParams, UpdateCacheRule200, UpdateCacheRule400, UpdateCacheRule401, UpdateCacheRule403, UpdateCacheRule404, UpdateCacheRule429, UpdateCacheRuleMutation, UpdateCacheRuleMutationRequest, UpdateCacheRuleMutationResponse, UpdateCacheRulePathParams, UpdateCacheRuleRequest, UpdateCacheRuleResponse, UpdateDatabase200, UpdateDatabase400, UpdateDatabase401, UpdateDatabase403, UpdateDatabase404, UpdateDatabase429, UpdateDatabaseMutation, UpdateDatabaseMutationRequest, UpdateDatabaseMutationResponse, UpdateDatabasePathParams, UpdateDatabaseRequest, UpdateOnboardingProgress200, UpdateOnboardingProgress400, UpdateOnboardingProgress401, UpdateOnboardingProgress403, UpdateOnboardingProgress404, UpdateOnboardingProgress429, UpdateOnboardingProgressMutation, UpdateOnboardingProgressMutationRequest, UpdateOnboardingProgressMutationResponse, UpdateOnboardingProgressPathParams, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdateProject200, UpdateProject400, UpdateProject401, UpdateProject403, UpdateProject404, UpdateProject429, UpdateProjectMutation, UpdateProjectMutationRequest, UpdateProjectMutationResponse, UpdateProjectPathParams, UpdateProjectRequest, UpdateSpendLimit200, UpdateSpendLimit400, UpdateSpendLimit401, UpdateSpendLimit403, UpdateSpendLimit429, UpdateSpendLimitMutation, UpdateSpendLimitMutationRequest, UpdateSpendLimitMutationResponse, UpdateSpendLimitPathParams, UpdateSpendLimitRequest, UsageResponse, VerifyCustomDomain200, VerifyCustomDomain400, VerifyCustomDomain401, VerifyCustomDomain403, VerifyCustomDomain404, VerifyCustomDomain429, VerifyCustomDomainMutation, VerifyCustomDomainMutationResponse, VerifyCustomDomainPathParams, VerifyCustomDomainResponse };
4294
+ export type { AccountExport, ApiClient, CacheConfig, CacheRuleEntry, CacheRuleEntryQueryTypeEnumKey, CacheRuleEntryRecommendationEnumKey, CacheSummary, CancellationFeedbackRequest, CidrEntry, CreateCustomDomain201, CreateCustomDomain400, CreateCustomDomain401, CreateCustomDomain403, CreateCustomDomain404, CreateCustomDomain409, CreateCustomDomain429, CreateCustomDomainMutation, CreateCustomDomainMutationRequest, CreateCustomDomainMutationResponse, CreateCustomDomainPathParams, CreateCustomDomainRequest, CreateDatabase201, CreateDatabase400, CreateDatabase401, CreateDatabase403, CreateDatabase404, CreateDatabase429, CreateDatabaseMutation, CreateDatabaseMutationRequest, CreateDatabaseMutationResponse, CreateDatabasePathParams, CreateDatabaseRequest, CreateProject201, CreateProject400, CreateProject401, CreateProject403, CreateProject409, CreateProject429, CreateProjectMutation, CreateProjectMutationRequest, CreateProjectMutationResponse, CreateProjectRequest, CreateProjectRequestCloudEnumKey, CreateProjectResponse, CreateReplica201, CreateReplica400, CreateReplica401, CreateReplica403, CreateReplica404, CreateReplica429, CreateReplicaMutation, CreateReplicaMutationRequest, CreateReplicaMutationResponse, CreateReplicaPathParams, CreateReplicaRequest, CustomDomain, DailyUsage, Database, DatabaseRole, DatabaseRoleEnumKey, DeleteCustomDomain204, DeleteCustomDomain400, DeleteCustomDomain401, DeleteCustomDomain403, DeleteCustomDomain404, DeleteCustomDomain429, DeleteCustomDomainMutation, DeleteCustomDomainMutationResponse, DeleteCustomDomainPathParams, DeleteDatabase204, DeleteDatabase400, DeleteDatabase401, DeleteDatabase403, DeleteDatabase404, DeleteDatabase429, DeleteDatabaseMutation, DeleteDatabaseMutationResponse, DeleteDatabasePathParams, DeleteProject204, DeleteProject400, DeleteProject401, DeleteProject403, DeleteProject404, DeleteProject429, DeleteProjectMutation, DeleteProjectMutationResponse, DeleteProjectPathParams, DeleteReplica204, DeleteReplica400, DeleteReplica401, DeleteReplica403, DeleteReplica404, DeleteReplica429, DeleteReplicaMutation, DeleteReplicaMutationResponse, DeleteReplicaPathParams, DnsInstructions, Error$1 as Error, ExportAccountData200, ExportAccountData401, ExportAccountData404, ExportAccountData429, ExportAccountDataQuery, ExportAccountDataQueryResponse, GetDatabase200, GetDatabase400, GetDatabase401, GetDatabase403, GetDatabase404, GetDatabase429, GetDatabasePathParams, GetDatabaseQuery, GetDatabaseQueryResponse, GetHealth200, GetHealth429, GetHealthQuery, GetHealthQueryResponse, GetOnboardingProgress200, GetOnboardingProgress400, GetOnboardingProgress401, GetOnboardingProgress403, GetOnboardingProgress404, GetOnboardingProgress429, GetOnboardingProgressPathParams, GetOnboardingProgressQuery, GetOnboardingProgressQueryResponse, GetOrganizationPlan200, GetOrganizationPlan400, GetOrganizationPlan401, GetOrganizationPlan403, GetOrganizationPlan429, GetOrganizationPlanPathParams, GetOrganizationPlanQuery, GetOrganizationPlanQueryResponse, GetOrganizationUsage200, GetOrganizationUsage400, GetOrganizationUsage401, GetOrganizationUsage403, GetOrganizationUsage429, GetOrganizationUsagePathParams, GetOrganizationUsageQuery, GetOrganizationUsageQueryParams, GetOrganizationUsageQueryResponse, GetProject200, GetProject400, GetProject401, GetProject403, GetProject404, GetProject429, GetProjectInsights200, GetProjectInsights400, GetProjectInsights401, GetProjectInsights404, GetProjectInsights429, GetProjectInsightsPathParams, GetProjectInsightsQuery, GetProjectInsightsQueryParams, GetProjectInsightsQueryParamsRangeEnumKey, GetProjectInsightsQueryResponse, GetProjectMetrics200, GetProjectMetrics400, GetProjectMetrics401, GetProjectMetrics404, GetProjectMetrics429, GetProjectMetricsPathParams, GetProjectMetricsQuery, GetProjectMetricsQueryParams, GetProjectMetricsQueryResponse, GetProjectPathParams, GetProjectQuery, GetProjectQueryResponse, GetProjectUsage200, GetProjectUsage400, GetProjectUsage401, GetProjectUsage404, GetProjectUsage429, GetProjectUsagePathParams, GetProjectUsageQuery, GetProjectUsageQueryParams, GetProjectUsageQueryResponse, HealthResponse, HealthResponseStatusEnumKey, LatencySummary, ListCacheRules200, ListCacheRules400, ListCacheRules401, ListCacheRules403, ListCacheRules404, ListCacheRules429, ListCacheRulesPathParams, ListCacheRulesQuery, ListCacheRulesQueryParams, ListCacheRulesQueryResponse, ListCacheRulesResponse, ListCustomDomains200, ListCustomDomains400, ListCustomDomains401, ListCustomDomains403, ListCustomDomains404, ListCustomDomains429, ListCustomDomainsPathParams, ListCustomDomainsQuery, ListCustomDomainsQueryParams, ListCustomDomainsQueryResponse, ListCustomDomainsResponse, ListDatabases200, ListDatabases400, ListDatabases401, ListDatabases403, ListDatabases404, ListDatabases429, ListDatabasesPathParams, ListDatabasesQuery, ListDatabasesQueryParams, ListDatabasesQueryResponse, ListDatabasesResponse, ListPlans200, ListPlans401, ListPlans429, ListPlansQuery, ListPlansQueryResponse, ListPlansResponse, ListProjects200, ListProjects400, ListProjects401, ListProjects403, ListProjects429, ListProjectsQuery, ListProjectsQueryParams, ListProjectsQueryParamsSortByEnumKey, ListProjectsQueryResponse, ListProjectsResponse, ListRegions200, ListRegions401, ListRegions429, ListRegionsQuery, ListRegionsQueryResponse, ListRegionsResponse, ListReplicas200, ListReplicas400, ListReplicas401, ListReplicas403, ListReplicas404, ListReplicas429, ListReplicasPathParams, ListReplicasQuery, ListReplicasQueryResponse, ListReplicasResponse, McpRequest, McpRequestJsonrpcEnumKey, McpRequestMethodEnumKey, McpResponse, McpResponseJsonrpcEnumKey, McpTransport200, McpTransport401, McpTransport429, McpTransportMutation, McpTransportMutationRequest, McpTransportMutationResponse, MetricsSnapshot, OnboardingProgress, OrganizationPlan, OrganizationPlanBillingProviderEnumKey, OrganizationPlanPlanEnumKey, OrganizationPlanSubscriptionStatusEnumKey, PgBeamClientOptions, PlanInfo, PlanLimits, PoolConfig, PoolMode, PoolModeEnumKey, Project, ProjectCloudEnumKey, ProjectDailyUsage, ProjectInsights, ProjectMetricsResponse, ProjectStatus, ProjectStatusEnumKey, ProjectUsageResponse, QueryInsight, Region, RegionProviderEnumKey, RegionStatusEnumKey, Replica, RetryConfig, SSLMode, SSLModeEnumKey, SubmitCancellationFeedback204, SubmitCancellationFeedback400, SubmitCancellationFeedback401, SubmitCancellationFeedback403, SubmitCancellationFeedback429, SubmitCancellationFeedbackMutation, SubmitCancellationFeedbackMutationRequest, SubmitCancellationFeedbackMutationResponse, SubmitCancellationFeedbackPathParams, TestConnectionResult, TestDatabaseConnection200, TestDatabaseConnection400, TestDatabaseConnection401, TestDatabaseConnection403, TestDatabaseConnection404, TestDatabaseConnection429, TestDatabaseConnectionMutation, TestDatabaseConnectionMutationResponse, TestDatabaseConnectionPathParams, UpdateCacheRule200, UpdateCacheRule400, UpdateCacheRule401, UpdateCacheRule403, UpdateCacheRule404, UpdateCacheRule429, UpdateCacheRuleMutation, UpdateCacheRuleMutationRequest, UpdateCacheRuleMutationResponse, UpdateCacheRulePathParams, UpdateCacheRuleRequest, UpdateCacheRuleResponse, UpdateDatabase200, UpdateDatabase400, UpdateDatabase401, UpdateDatabase403, UpdateDatabase404, UpdateDatabase429, UpdateDatabaseMutation, UpdateDatabaseMutationRequest, UpdateDatabaseMutationResponse, UpdateDatabasePathParams, UpdateDatabaseRequest, UpdateOnboardingProgress200, UpdateOnboardingProgress400, UpdateOnboardingProgress401, UpdateOnboardingProgress403, UpdateOnboardingProgress404, UpdateOnboardingProgress429, UpdateOnboardingProgressMutation, UpdateOnboardingProgressMutationRequest, UpdateOnboardingProgressMutationResponse, UpdateOnboardingProgressPathParams, UpdateOnboardingRequest, UpdateOnboardingRequestStepEnumKey, UpdateProject200, UpdateProject400, UpdateProject401, UpdateProject403, UpdateProject404, UpdateProject429, UpdateProjectMutation, UpdateProjectMutationRequest, UpdateProjectMutationResponse, UpdateProjectPathParams, UpdateProjectRequest, UpdateSpendLimit200, UpdateSpendLimit400, UpdateSpendLimit401, UpdateSpendLimit403, UpdateSpendLimit429, UpdateSpendLimitMutation, UpdateSpendLimitMutationRequest, UpdateSpendLimitMutationResponse, UpdateSpendLimitPathParams, UpdateSpendLimitRequest, UsageResponse, VerifyCustomDomain200, VerifyCustomDomain400, VerifyCustomDomain401, VerifyCustomDomain403, VerifyCustomDomain404, VerifyCustomDomain429, VerifyCustomDomainMutation, VerifyCustomDomainMutationResponse, VerifyCustomDomainPathParams, VerifyCustomDomainResponse };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by scripts/generate-maps.ts — do not edit manually.
2
+ * Generated by generate-sdk-ts-maps.ts — do not edit manually.
3
3
  * Run: pnpm --filter pgbeam generate
4
4
  */ const operationsByTag = {
5
5
  account: {
@@ -143,12 +143,6 @@
143
143
  method: "GET",
144
144
  path: "/v1/regions"
145
145
  }
146
- },
147
- mCP: {
148
- mcpTransport: {
149
- method: "POST",
150
- path: "/v1/mcp"
151
- }
152
146
  }
153
147
  };
154
148
  const operationsByPath = {
@@ -247,11 +241,6 @@ const operationsByPath = {
247
241
  path: "/v1/projects/{project_id}/insights",
248
242
  operationId: "getProjectInsights"
249
243
  },
250
- "POST /v1/mcp": {
251
- method: "POST",
252
- path: "/v1/mcp",
253
- operationId: "mcpTransport"
254
- },
255
244
  "GET /v1/organizations/{org_id}/onboarding": {
256
245
  method: "GET",
257
246
  path: "/v1/organizations/{org_id}/onboarding",
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  /**
4
- * Generated by scripts/generate-maps.ts — do not edit manually.
4
+ * Generated by generate-sdk-ts-maps.ts — do not edit manually.
5
5
  * Run: pnpm --filter pgbeam generate
6
6
  */ const operationsByTag = {
7
7
  account: {
@@ -145,12 +145,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
145
145
  method: "GET",
146
146
  path: "/v1/regions"
147
147
  }
148
- },
149
- mCP: {
150
- mcpTransport: {
151
- method: "POST",
152
- path: "/v1/mcp"
153
- }
154
148
  }
155
149
  };
156
150
  const operationsByPath = {
@@ -249,11 +243,6 @@ const operationsByPath = {
249
243
  path: "/v1/projects/{project_id}/insights",
250
244
  operationId: "getProjectInsights"
251
245
  },
252
- "POST /v1/mcp": {
253
- method: "POST",
254
- path: "/v1/mcp",
255
- operationId: "mcpTransport"
256
- },
257
246
  "GET /v1/organizations/{org_id}/onboarding": {
258
247
  method: "GET",
259
248
  path: "/v1/organizations/{org_id}/onboarding",