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.
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgbeam",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "TypeScript SDK for the PgBeam API — globally distributed PostgreSQL proxy platform",
5
5
  "type": "module",
6
6
  "exports": {