pgbeam 0.3.0 → 0.3.2

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.mjs CHANGED
@@ -37,6 +37,10 @@
37
37
  method: "DELETE",
38
38
  path: "/v1/projects/{project_id}/agents/{agent_id}"
39
39
  },
40
+ rotateAgentCredential: {
41
+ method: "POST",
42
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
43
+ },
40
44
  listAuditLogs: {
41
45
  method: "GET",
42
46
  path: "/v1/projects/{project_id}/audit-logs"
@@ -232,6 +236,34 @@
232
236
  path: "/v1/projects/{project_id}/policies/{policy_id}"
233
237
  }
234
238
  },
239
+ support: {
240
+ listSupportCases: {
241
+ method: "GET",
242
+ path: "/v1/organizations/{org_id}/support/cases"
243
+ },
244
+ createSupportCase: {
245
+ method: "POST",
246
+ path: "/v1/organizations/{org_id}/support/cases"
247
+ },
248
+ getSupportCase: {
249
+ method: "GET",
250
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}"
251
+ },
252
+ updateSupportCase: {
253
+ method: "PATCH",
254
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}"
255
+ },
256
+ createSupportMessage: {
257
+ method: "POST",
258
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages"
259
+ }
260
+ },
261
+ internal: {
262
+ handleSlackSupportEvent: {
263
+ method: "POST",
264
+ path: "/v1/internal/support/slack-event"
265
+ }
266
+ },
235
267
  webhooks: {
236
268
  listWebhookEndpoints: {
237
269
  method: "GET",
@@ -290,6 +322,11 @@ const operationsByPath = {
290
322
  path: "/v1/projects/{project_id}/agents/{agent_id}",
291
323
  operationId: "revokeAgentCredential"
292
324
  },
325
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
326
+ method: "POST",
327
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
328
+ operationId: "rotateAgentCredential"
329
+ },
293
330
  "GET /v1/projects/{project_id}/anomalies": {
294
331
  method: "GET",
295
332
  path: "/v1/projects/{project_id}/anomalies",
@@ -510,6 +547,36 @@ const operationsByPath = {
510
547
  path: "/v1/databases/{database_id}/replicas/{replica_id}",
511
548
  operationId: "deleteReplica"
512
549
  },
550
+ "GET /v1/organizations/{org_id}/support/cases": {
551
+ method: "GET",
552
+ path: "/v1/organizations/{org_id}/support/cases",
553
+ operationId: "listSupportCases"
554
+ },
555
+ "POST /v1/organizations/{org_id}/support/cases": {
556
+ method: "POST",
557
+ path: "/v1/organizations/{org_id}/support/cases",
558
+ operationId: "createSupportCase"
559
+ },
560
+ "GET /v1/organizations/{org_id}/support/cases/{case_id}": {
561
+ method: "GET",
562
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}",
563
+ operationId: "getSupportCase"
564
+ },
565
+ "PATCH /v1/organizations/{org_id}/support/cases/{case_id}": {
566
+ method: "PATCH",
567
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}",
568
+ operationId: "updateSupportCase"
569
+ },
570
+ "POST /v1/organizations/{org_id}/support/cases/{case_id}/messages": {
571
+ method: "POST",
572
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages",
573
+ operationId: "createSupportMessage"
574
+ },
575
+ "POST /v1/internal/support/slack-event": {
576
+ method: "POST",
577
+ path: "/v1/internal/support/slack-event",
578
+ operationId: "handleSlackSupportEvent"
579
+ },
513
580
  "GET /v1/organizations/{org_id}/usage": {
514
581
  method: "GET",
515
582
  path: "/v1/organizations/{org_id}/usage",
@@ -39,6 +39,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
39
39
  method: "DELETE",
40
40
  path: "/v1/projects/{project_id}/agents/{agent_id}"
41
41
  },
42
+ rotateAgentCredential: {
43
+ method: "POST",
44
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate"
45
+ },
42
46
  listAuditLogs: {
43
47
  method: "GET",
44
48
  path: "/v1/projects/{project_id}/audit-logs"
@@ -234,6 +238,34 @@ Object.defineProperty(exports, '__esModule', { value: true });
234
238
  path: "/v1/projects/{project_id}/policies/{policy_id}"
235
239
  }
236
240
  },
241
+ support: {
242
+ listSupportCases: {
243
+ method: "GET",
244
+ path: "/v1/organizations/{org_id}/support/cases"
245
+ },
246
+ createSupportCase: {
247
+ method: "POST",
248
+ path: "/v1/organizations/{org_id}/support/cases"
249
+ },
250
+ getSupportCase: {
251
+ method: "GET",
252
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}"
253
+ },
254
+ updateSupportCase: {
255
+ method: "PATCH",
256
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}"
257
+ },
258
+ createSupportMessage: {
259
+ method: "POST",
260
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages"
261
+ }
262
+ },
263
+ internal: {
264
+ handleSlackSupportEvent: {
265
+ method: "POST",
266
+ path: "/v1/internal/support/slack-event"
267
+ }
268
+ },
237
269
  webhooks: {
238
270
  listWebhookEndpoints: {
239
271
  method: "GET",
@@ -292,6 +324,11 @@ const operationsByPath = {
292
324
  path: "/v1/projects/{project_id}/agents/{agent_id}",
293
325
  operationId: "revokeAgentCredential"
294
326
  },
327
+ "POST /v1/projects/{project_id}/agents/{agent_id}/rotate": {
328
+ method: "POST",
329
+ path: "/v1/projects/{project_id}/agents/{agent_id}/rotate",
330
+ operationId: "rotateAgentCredential"
331
+ },
295
332
  "GET /v1/projects/{project_id}/anomalies": {
296
333
  method: "GET",
297
334
  path: "/v1/projects/{project_id}/anomalies",
@@ -512,6 +549,36 @@ const operationsByPath = {
512
549
  path: "/v1/databases/{database_id}/replicas/{replica_id}",
513
550
  operationId: "deleteReplica"
514
551
  },
552
+ "GET /v1/organizations/{org_id}/support/cases": {
553
+ method: "GET",
554
+ path: "/v1/organizations/{org_id}/support/cases",
555
+ operationId: "listSupportCases"
556
+ },
557
+ "POST /v1/organizations/{org_id}/support/cases": {
558
+ method: "POST",
559
+ path: "/v1/organizations/{org_id}/support/cases",
560
+ operationId: "createSupportCase"
561
+ },
562
+ "GET /v1/organizations/{org_id}/support/cases/{case_id}": {
563
+ method: "GET",
564
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}",
565
+ operationId: "getSupportCase"
566
+ },
567
+ "PATCH /v1/organizations/{org_id}/support/cases/{case_id}": {
568
+ method: "PATCH",
569
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}",
570
+ operationId: "updateSupportCase"
571
+ },
572
+ "POST /v1/organizations/{org_id}/support/cases/{case_id}/messages": {
573
+ method: "POST",
574
+ path: "/v1/organizations/{org_id}/support/cases/{case_id}/messages",
575
+ operationId: "createSupportMessage"
576
+ },
577
+ "POST /v1/internal/support/slack-event": {
578
+ method: "POST",
579
+ path: "/v1/internal/support/slack-event",
580
+ operationId: "handleSlackSupportEvent"
581
+ },
515
582
  "GET /v1/organizations/{org_id}/usage": {
516
583
  method: "GET",
517
584
  path: "/v1/organizations/{org_id}/usage",