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.
package/dist/index.cjs CHANGED
@@ -44,6 +44,30 @@ Object.defineProperty(exports, '__esModule', { value: true });
44
44
  path: "/v1/projects/{project_id}/audit-logs"
45
45
  }
46
46
  },
47
+ anomalies: {
48
+ listAnomalyAlerts: {
49
+ method: "GET",
50
+ path: "/v1/projects/{project_id}/anomalies"
51
+ },
52
+ updateAnomalyAlert: {
53
+ method: "PATCH",
54
+ path: "/v1/projects/{project_id}/anomalies/{anomaly_id}"
55
+ }
56
+ },
57
+ approvals: {
58
+ listApprovalRequests: {
59
+ method: "GET",
60
+ path: "/v1/projects/{project_id}/approvals"
61
+ },
62
+ approveApprovalRequest: {
63
+ method: "POST",
64
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/approve"
65
+ },
66
+ rejectApprovalRequest: {
67
+ method: "POST",
68
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/reject"
69
+ }
70
+ },
47
71
  analytics: {
48
72
  listPlans: {
49
73
  method: "GET",
@@ -74,6 +98,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
74
98
  path: "/v1/projects/{project_id}/usage"
75
99
  }
76
100
  },
101
+ branches: {
102
+ listDatabaseBranches: {
103
+ method: "GET",
104
+ path: "/v1/projects/{project_id}/branches"
105
+ },
106
+ discardDatabaseBranch: {
107
+ method: "DELETE",
108
+ path: "/v1/projects/{project_id}/branches/{branch_id}"
109
+ }
110
+ },
77
111
  projects: {
78
112
  listCacheRules: {
79
113
  method: "GET",
@@ -172,6 +206,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
172
206
  path: "/v1/regions"
173
207
  }
174
208
  },
209
+ migrations: {
210
+ lintMigration: {
211
+ method: "POST",
212
+ path: "/v1/projects/{project_id}/migrations:lint"
213
+ }
214
+ },
175
215
  policies: {
176
216
  listPolicyProfiles: {
177
217
  method: "GET",
@@ -193,6 +233,32 @@ Object.defineProperty(exports, '__esModule', { value: true });
193
233
  method: "DELETE",
194
234
  path: "/v1/projects/{project_id}/policies/{policy_id}"
195
235
  }
236
+ },
237
+ webhooks: {
238
+ listWebhookEndpoints: {
239
+ method: "GET",
240
+ path: "/v1/projects/{project_id}/webhooks"
241
+ },
242
+ createWebhookEndpoint: {
243
+ method: "POST",
244
+ path: "/v1/projects/{project_id}/webhooks"
245
+ },
246
+ getWebhookEndpoint: {
247
+ method: "GET",
248
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
249
+ },
250
+ updateWebhookEndpoint: {
251
+ method: "PUT",
252
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
253
+ },
254
+ deleteWebhookEndpoint: {
255
+ method: "DELETE",
256
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}"
257
+ },
258
+ testWebhookEndpoint: {
259
+ method: "POST",
260
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}/test"
261
+ }
196
262
  }
197
263
  };
198
264
  const operationsByPath = {
@@ -226,6 +292,31 @@ const operationsByPath = {
226
292
  path: "/v1/projects/{project_id}/agents/{agent_id}",
227
293
  operationId: "revokeAgentCredential"
228
294
  },
295
+ "GET /v1/projects/{project_id}/anomalies": {
296
+ method: "GET",
297
+ path: "/v1/projects/{project_id}/anomalies",
298
+ operationId: "listAnomalyAlerts"
299
+ },
300
+ "PATCH /v1/projects/{project_id}/anomalies/{anomaly_id}": {
301
+ method: "PATCH",
302
+ path: "/v1/projects/{project_id}/anomalies/{anomaly_id}",
303
+ operationId: "updateAnomalyAlert"
304
+ },
305
+ "GET /v1/projects/{project_id}/approvals": {
306
+ method: "GET",
307
+ path: "/v1/projects/{project_id}/approvals",
308
+ operationId: "listApprovalRequests"
309
+ },
310
+ "POST /v1/projects/{project_id}/approvals/{approval_id}/approve": {
311
+ method: "POST",
312
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/approve",
313
+ operationId: "approveApprovalRequest"
314
+ },
315
+ "POST /v1/projects/{project_id}/approvals/{approval_id}/reject": {
316
+ method: "POST",
317
+ path: "/v1/projects/{project_id}/approvals/{approval_id}/reject",
318
+ operationId: "rejectApprovalRequest"
319
+ },
229
320
  "GET /v1/projects/{project_id}/audit-logs": {
230
321
  method: "GET",
231
322
  path: "/v1/projects/{project_id}/audit-logs",
@@ -251,6 +342,16 @@ const operationsByPath = {
251
342
  path: "/v1/organizations/{org_id}/cancellation-feedback",
252
343
  operationId: "submitCancellationFeedback"
253
344
  },
345
+ "GET /v1/projects/{project_id}/branches": {
346
+ method: "GET",
347
+ path: "/v1/projects/{project_id}/branches",
348
+ operationId: "listDatabaseBranches"
349
+ },
350
+ "DELETE /v1/projects/{project_id}/branches/{branch_id}": {
351
+ method: "DELETE",
352
+ path: "/v1/projects/{project_id}/branches/{branch_id}",
353
+ operationId: "discardDatabaseBranch"
354
+ },
254
355
  "GET /v1/projects/{project_id}/databases/{database_id}/cache-rules": {
255
356
  method: "GET",
256
357
  path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules",
@@ -321,6 +422,11 @@ const operationsByPath = {
321
422
  path: "/v1/projects/{project_id}/insights",
322
423
  operationId: "getProjectInsights"
323
424
  },
425
+ "POST /v1/projects/{project_id}/migrations:lint": {
426
+ method: "POST",
427
+ path: "/v1/projects/{project_id}/migrations:lint",
428
+ operationId: "lintMigration"
429
+ },
324
430
  "GET /v1/organizations/{org_id}/onboarding": {
325
431
  method: "GET",
326
432
  path: "/v1/organizations/{org_id}/onboarding",
@@ -415,6 +521,36 @@ const operationsByPath = {
415
521
  method: "GET",
416
522
  path: "/v1/projects/{project_id}/usage",
417
523
  operationId: "getProjectUsage"
524
+ },
525
+ "GET /v1/projects/{project_id}/webhooks": {
526
+ method: "GET",
527
+ path: "/v1/projects/{project_id}/webhooks",
528
+ operationId: "listWebhookEndpoints"
529
+ },
530
+ "POST /v1/projects/{project_id}/webhooks": {
531
+ method: "POST",
532
+ path: "/v1/projects/{project_id}/webhooks",
533
+ operationId: "createWebhookEndpoint"
534
+ },
535
+ "GET /v1/projects/{project_id}/webhooks/{webhook_id}": {
536
+ method: "GET",
537
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
538
+ operationId: "getWebhookEndpoint"
539
+ },
540
+ "PUT /v1/projects/{project_id}/webhooks/{webhook_id}": {
541
+ method: "PUT",
542
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
543
+ operationId: "updateWebhookEndpoint"
544
+ },
545
+ "DELETE /v1/projects/{project_id}/webhooks/{webhook_id}": {
546
+ method: "DELETE",
547
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}",
548
+ operationId: "deleteWebhookEndpoint"
549
+ },
550
+ "POST /v1/projects/{project_id}/webhooks/{webhook_id}/test": {
551
+ method: "POST",
552
+ path: "/v1/projects/{project_id}/webhooks/{webhook_id}/test",
553
+ operationId: "testWebhookEndpoint"
418
554
  }
419
555
  };
420
556