pgbeam 0.2.8 → 0.3.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.
@@ -42,6 +42,30 @@
42
42
  path: "/v1/projects/{project_id}/audit-logs"
43
43
  }
44
44
  },
45
+ anomalies: {
46
+ listAnomalyAlerts: {
47
+ method: "GET",
48
+ path: "/v1/projects/{project_id}/anomalies"
49
+ },
50
+ updateAnomalyAlert: {
51
+ method: "PATCH",
52
+ path: "/v1/projects/{project_id}/anomalies/{anomaly_id}"
53
+ }
54
+ },
55
+ approvals: {
56
+ listApprovalRequests: {
57
+ method: "GET",
58
+ path: "/v1/projects/{project_id}/approvals"
59
+ },
60
+ approveApprovalRequest: {
61
+ method: "POST",
62
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/approve"
63
+ },
64
+ rejectApprovalRequest: {
65
+ method: "POST",
66
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/reject"
67
+ }
68
+ },
45
69
  analytics: {
46
70
  listPlans: {
47
71
  method: "GET",
@@ -72,6 +96,16 @@
72
96
  path: "/v1/projects/{project_id}/usage"
73
97
  }
74
98
  },
99
+ branches: {
100
+ listDatabaseBranches: {
101
+ method: "GET",
102
+ path: "/v1/projects/{project_id}/branches"
103
+ },
104
+ discardDatabaseBranch: {
105
+ method: "DELETE",
106
+ path: "/v1/projects/{project_id}/branches/{branch_id}"
107
+ }
108
+ },
75
109
  projects: {
76
110
  listCacheRules: {
77
111
  method: "GET",
@@ -170,6 +204,12 @@
170
204
  path: "/v1/regions"
171
205
  }
172
206
  },
207
+ migrations: {
208
+ lintMigration: {
209
+ method: "POST",
210
+ path: "/v1/projects/{project_id}/migrations:lint"
211
+ }
212
+ },
173
213
  policies: {
174
214
  listPolicyProfiles: {
175
215
  method: "GET",
@@ -191,6 +231,32 @@
191
231
  method: "DELETE",
192
232
  path: "/v1/projects/{project_id}/policies/{policy_id}"
193
233
  }
234
+ },
235
+ webhooks: {
236
+ listWebhookEndpoints: {
237
+ method: "GET",
238
+ path: "/v1/projects/{project_id}/webhooks"
239
+ },
240
+ createWebhookEndpoint: {
241
+ method: "POST",
242
+ path: "/v1/projects/{project_id}/webhooks"
243
+ },
244
+ getWebhookEndpoint: {
245
+ method: "GET",
246
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
247
+ },
248
+ updateWebhookEndpoint: {
249
+ method: "PUT",
250
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
251
+ },
252
+ deleteWebhookEndpoint: {
253
+ method: "DELETE",
254
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
255
+ },
256
+ testWebhookEndpoint: {
257
+ method: "POST",
258
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}/test"
259
+ }
194
260
  }
195
261
  };
196
262
  const operationsByPath = {
@@ -224,6 +290,31 @@ const operationsByPath = {
224
290
  path: "/v1/projects/{project_id}/agents/{agent_id}",
225
291
  operationId: "revokeAgentCredential"
226
292
  },
293
+ "GET /v1/projects/{project_id}/anomalies": {
294
+ method: "GET",
295
+ path: "/v1/projects/{project_id}/anomalies",
296
+ operationId: "listAnomalyAlerts"
297
+ },
298
+ "PATCH /v1/projects/{project_id}/anomalies/{anomaly_id}": {
299
+ method: "PATCH",
300
+ path: "/v1/projects/{project_id}/anomalies/{anomaly_id}",
301
+ operationId: "updateAnomalyAlert"
302
+ },
303
+ "GET /v1/projects/{project_id}/approvals": {
304
+ method: "GET",
305
+ path: "/v1/projects/{project_id}/approvals",
306
+ operationId: "listApprovalRequests"
307
+ },
308
+ "POST /v1/projects/{project_id}/approvals/{approval_id}/approve": {
309
+ method: "POST",
310
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/approve",
311
+ operationId: "approveApprovalRequest"
312
+ },
313
+ "POST /v1/projects/{project_id}/approvals/{approval_id}/reject": {
314
+ method: "POST",
315
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/reject",
316
+ operationId: "rejectApprovalRequest"
317
+ },
227
318
  "GET /v1/projects/{project_id}/audit-logs": {
228
319
  method: "GET",
229
320
  path: "/v1/projects/{project_id}/audit-logs",
@@ -249,6 +340,16 @@ const operationsByPath = {
249
340
  path: "/v1/organizations/{org_id}/cancellation-feedback",
250
341
  operationId: "submitCancellationFeedback"
251
342
  },
343
+ "GET /v1/projects/{project_id}/branches": {
344
+ method: "GET",
345
+ path: "/v1/projects/{project_id}/branches",
346
+ operationId: "listDatabaseBranches"
347
+ },
348
+ "DELETE /v1/projects/{project_id}/branches/{branch_id}": {
349
+ method: "DELETE",
350
+ path: "/v1/projects/{project_id}/branches/{branch_id}",
351
+ operationId: "discardDatabaseBranch"
352
+ },
252
353
  "GET /v1/projects/{project_id}/databases/{database_id}/cache-rules": {
253
354
  method: "GET",
254
355
  path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules",
@@ -319,6 +420,11 @@ const operationsByPath = {
319
420
  path: "/v1/projects/{project_id}/insights",
320
421
  operationId: "getProjectInsights"
321
422
  },
423
+ "POST /v1/projects/{project_id}/migrations:lint": {
424
+ method: "POST",
425
+ path: "/v1/projects/{project_id}/migrations:lint",
426
+ operationId: "lintMigration"
427
+ },
322
428
  "GET /v1/organizations/{org_id}/onboarding": {
323
429
  method: "GET",
324
430
  path: "/v1/organizations/{org_id}/onboarding",
@@ -413,6 +519,36 @@ const operationsByPath = {
413
519
  method: "GET",
414
520
  path: "/v1/projects/{project_id}/usage",
415
521
  operationId: "getProjectUsage"
522
+ },
523
+ "GET /v1/projects/{project_id}/webhooks": {
524
+ method: "GET",
525
+ path: "/v1/projects/{project_id}/webhooks",
526
+ operationId: "listWebhookEndpoints"
527
+ },
528
+ "POST /v1/projects/{project_id}/webhooks": {
529
+ method: "POST",
530
+ path: "/v1/projects/{project_id}/webhooks",
531
+ operationId: "createWebhookEndpoint"
532
+ },
533
+ "GET /v1/projects/{project_id}/webhooks/{webhook_id}": {
534
+ method: "GET",
535
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
536
+ operationId: "getWebhookEndpoint"
537
+ },
538
+ "PUT /v1/projects/{project_id}/webhooks/{webhook_id}": {
539
+ method: "PUT",
540
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
541
+ operationId: "updateWebhookEndpoint"
542
+ },
543
+ "DELETE /v1/projects/{project_id}/webhooks/{webhook_id}": {
544
+ method: "DELETE",
545
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
546
+ operationId: "deleteWebhookEndpoint"
547
+ },
548
+ "POST /v1/projects/{project_id}/webhooks/{webhook_id}/test": {
549
+ method: "POST",
550
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}/test",
551
+ operationId: "testWebhookEndpoint"
416
552
  }
417
553
  };
418
554
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgbeam",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "TypeScript SDK for the PgBeam API — globally distributed PostgreSQL proxy platform",
5
5
  "type": "module",
6
6
  "exports": {