pgbeam 0.3.3 → 0.3.5

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,3 +1,32 @@
1
+ /**
2
+ * Generated by generate-sdk-ts-maps.ts — do not edit manually.
3
+ * Run: pnpm --filter pgbeam generate
4
+ *
5
+ * Per-operation inputs and success response rendered as compact TypeScript
6
+ * types. Powers the CLI management MCP's describe_endpoint; mirrors the hosted
7
+ * Go management MCP (backend/services/api/mcp).
8
+ */
9
+ interface DescribeParam {
10
+ name: string;
11
+ in: string;
12
+ required: boolean;
13
+ type: string;
14
+ description: string;
15
+ }
16
+ interface DescribeEndpoint {
17
+ operationId: string;
18
+ method: string;
19
+ path: string;
20
+ summary: string;
21
+ description: string;
22
+ parameters: DescribeParam[];
23
+ requestBodyType: string;
24
+ requestBodyRequired: boolean;
25
+ responseType: string;
26
+ responseStatus: string;
27
+ }
28
+ declare const describeByOperationId: Record<string, DescribeEndpoint>;
29
+
1
30
  /**
2
31
  * Generated by Kubb (https://kubb.dev/).
3
32
  * Do not edit manually.
@@ -5318,6 +5347,12 @@ type Project = {
5318
5347
  * @type string
5319
5348
  */
5320
5349
  default_policy_profile_id?: string | null;
5350
+ /**
5351
+ * @description Project-level kill-switch. When true, ALL agent-credential connections to this project are blocked at the proxy and live agent sessions are dropped within seconds. Passthrough/human connections are unaffected.\n
5352
+ * @example false
5353
+ * @type boolean | undefined
5354
+ */
5355
+ agents_disabled?: boolean;
5321
5356
  /**
5322
5357
  * @description Number of databases attached to this project.
5323
5358
  * @type integer | undefined
@@ -5626,6 +5661,12 @@ type UpdateProjectRequest = {
5626
5661
  * @type string
5627
5662
  */
5628
5663
  default_policy_profile_id?: string | null;
5664
+ /**
5665
+ * @description Project-level kill-switch. Set true to block ALL agent-credential connections to this project (live agent sessions are dropped within seconds); set false to re-enable them. Passthrough/human connections are unaffected. Engaging the kill-switch emits a kill_switch webhook event.\n
5666
+ * @example true
5667
+ * @type boolean | undefined
5668
+ */
5669
+ agents_disabled?: boolean;
5629
5670
  };
5630
5671
 
5631
5672
  /**
@@ -8666,5 +8707,5 @@ interface RequestMap {
8666
8707
  type ApiTag = keyof ApiOperations;
8667
8708
  type Route = keyof RequestMap;
8668
8709
 
8669
- export { operationsByPath, operationsByTag };
8670
- export type { ApiOperations, ApiTag, RequestMap, Route };
8710
+ export { describeByOperationId, operationsByPath, operationsByTag };
8711
+ export type { ApiOperations, ApiTag, DescribeEndpoint, DescribeParam, RequestMap, Route };
@@ -1,3 +1,32 @@
1
+ /**
2
+ * Generated by generate-sdk-ts-maps.ts — do not edit manually.
3
+ * Run: pnpm --filter pgbeam generate
4
+ *
5
+ * Per-operation inputs and success response rendered as compact TypeScript
6
+ * types. Powers the CLI management MCP's describe_endpoint; mirrors the hosted
7
+ * Go management MCP (backend/services/api/mcp).
8
+ */
9
+ interface DescribeParam {
10
+ name: string;
11
+ in: string;
12
+ required: boolean;
13
+ type: string;
14
+ description: string;
15
+ }
16
+ interface DescribeEndpoint {
17
+ operationId: string;
18
+ method: string;
19
+ path: string;
20
+ summary: string;
21
+ description: string;
22
+ parameters: DescribeParam[];
23
+ requestBodyType: string;
24
+ requestBodyRequired: boolean;
25
+ responseType: string;
26
+ responseStatus: string;
27
+ }
28
+ declare const describeByOperationId: Record<string, DescribeEndpoint>;
29
+
1
30
  /**
2
31
  * Generated by Kubb (https://kubb.dev/).
3
32
  * Do not edit manually.
@@ -5318,6 +5347,12 @@ type Project = {
5318
5347
  * @type string
5319
5348
  */
5320
5349
  default_policy_profile_id?: string | null;
5350
+ /**
5351
+ * @description Project-level kill-switch. When true, ALL agent-credential connections to this project are blocked at the proxy and live agent sessions are dropped within seconds. Passthrough/human connections are unaffected.\n
5352
+ * @example false
5353
+ * @type boolean | undefined
5354
+ */
5355
+ agents_disabled?: boolean;
5321
5356
  /**
5322
5357
  * @description Number of databases attached to this project.
5323
5358
  * @type integer | undefined
@@ -5626,6 +5661,12 @@ type UpdateProjectRequest = {
5626
5661
  * @type string
5627
5662
  */
5628
5663
  default_policy_profile_id?: string | null;
5664
+ /**
5665
+ * @description Project-level kill-switch. Set true to block ALL agent-credential connections to this project (live agent sessions are dropped within seconds); set false to re-enable them. Passthrough/human connections are unaffected. Engaging the kill-switch emits a kill_switch webhook event.\n
5666
+ * @example true
5667
+ * @type boolean | undefined
5668
+ */
5669
+ agents_disabled?: boolean;
5629
5670
  };
5630
5671
 
5631
5672
  /**
@@ -8666,5 +8707,5 @@ interface RequestMap {
8666
8707
  type ApiTag = keyof ApiOperations;
8667
8708
  type Route = keyof RequestMap;
8668
8709
 
8669
- export { operationsByPath, operationsByTag };
8670
- export type { ApiOperations, ApiTag, RequestMap, Route };
8710
+ export { describeByOperationId, operationsByPath, operationsByTag };
8711
+ export type { ApiOperations, ApiTag, DescribeEndpoint, DescribeParam, RequestMap, Route };