pgbeam 0.2.6 → 0.2.8

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
@@ -18,6 +18,32 @@ Object.defineProperty(exports, '__esModule', { value: true });
18
18
  path: "/v1/organizations/{org_id}/onboarding"
19
19
  }
20
20
  },
21
+ agents: {
22
+ listAgentCredentials: {
23
+ method: "GET",
24
+ path: "/v1/projects/{project_id}/agents"
25
+ },
26
+ createAgentCredential: {
27
+ method: "POST",
28
+ path: "/v1/projects/{project_id}/agents"
29
+ },
30
+ getAgentCredential: {
31
+ method: "GET",
32
+ path: "/v1/projects/{project_id}/agents/{agent_id}"
33
+ },
34
+ updateAgentCredentialStatus: {
35
+ method: "PATCH",
36
+ path: "/v1/projects/{project_id}/agents/{agent_id}"
37
+ },
38
+ revokeAgentCredential: {
39
+ method: "DELETE",
40
+ path: "/v1/projects/{project_id}/agents/{agent_id}"
41
+ },
42
+ listAuditLogs: {
43
+ method: "GET",
44
+ path: "/v1/projects/{project_id}/audit-logs"
45
+ }
46
+ },
21
47
  analytics: {
22
48
  listPlans: {
23
49
  method: "GET",
@@ -145,6 +171,28 @@ Object.defineProperty(exports, '__esModule', { value: true });
145
171
  method: "GET",
146
172
  path: "/v1/regions"
147
173
  }
174
+ },
175
+ policies: {
176
+ listPolicyProfiles: {
177
+ method: "GET",
178
+ path: "/v1/projects/{project_id}/policies"
179
+ },
180
+ createPolicyProfile: {
181
+ method: "POST",
182
+ path: "/v1/projects/{project_id}/policies"
183
+ },
184
+ getPolicyProfile: {
185
+ method: "GET",
186
+ path: "/v1/projects/{project_id}/policies/{policy_id}"
187
+ },
188
+ updatePolicyProfile: {
189
+ method: "PUT",
190
+ path: "/v1/projects/{project_id}/policies/{policy_id}"
191
+ },
192
+ deletePolicyProfile: {
193
+ method: "DELETE",
194
+ path: "/v1/projects/{project_id}/policies/{policy_id}"
195
+ }
148
196
  }
149
197
  };
150
198
  const operationsByPath = {
@@ -153,6 +201,36 @@ const operationsByPath = {
153
201
  path: "/v1/account/export",
154
202
  operationId: "exportAccountData"
155
203
  },
204
+ "GET /v1/projects/{project_id}/agents": {
205
+ method: "GET",
206
+ path: "/v1/projects/{project_id}/agents",
207
+ operationId: "listAgentCredentials"
208
+ },
209
+ "POST /v1/projects/{project_id}/agents": {
210
+ method: "POST",
211
+ path: "/v1/projects/{project_id}/agents",
212
+ operationId: "createAgentCredential"
213
+ },
214
+ "GET /v1/projects/{project_id}/agents/{agent_id}": {
215
+ method: "GET",
216
+ path: "/v1/projects/{project_id}/agents/{agent_id}",
217
+ operationId: "getAgentCredential"
218
+ },
219
+ "PATCH /v1/projects/{project_id}/agents/{agent_id}": {
220
+ method: "PATCH",
221
+ path: "/v1/projects/{project_id}/agents/{agent_id}",
222
+ operationId: "updateAgentCredentialStatus"
223
+ },
224
+ "DELETE /v1/projects/{project_id}/agents/{agent_id}": {
225
+ method: "DELETE",
226
+ path: "/v1/projects/{project_id}/agents/{agent_id}",
227
+ operationId: "revokeAgentCredential"
228
+ },
229
+ "GET /v1/projects/{project_id}/audit-logs": {
230
+ method: "GET",
231
+ path: "/v1/projects/{project_id}/audit-logs",
232
+ operationId: "listAuditLogs"
233
+ },
156
234
  "GET /v1/plans": {
157
235
  method: "GET",
158
236
  path: "/v1/plans",
@@ -253,6 +331,31 @@ const operationsByPath = {
253
331
  path: "/v1/organizations/{org_id}/onboarding",
254
332
  operationId: "updateOnboardingProgress"
255
333
  },
334
+ "GET /v1/projects/{project_id}/policies": {
335
+ method: "GET",
336
+ path: "/v1/projects/{project_id}/policies",
337
+ operationId: "listPolicyProfiles"
338
+ },
339
+ "POST /v1/projects/{project_id}/policies": {
340
+ method: "POST",
341
+ path: "/v1/projects/{project_id}/policies",
342
+ operationId: "createPolicyProfile"
343
+ },
344
+ "GET /v1/projects/{project_id}/policies/{policy_id}": {
345
+ method: "GET",
346
+ path: "/v1/projects/{project_id}/policies/{policy_id}",
347
+ operationId: "getPolicyProfile"
348
+ },
349
+ "PUT /v1/projects/{project_id}/policies/{policy_id}": {
350
+ method: "PUT",
351
+ path: "/v1/projects/{project_id}/policies/{policy_id}",
352
+ operationId: "updatePolicyProfile"
353
+ },
354
+ "DELETE /v1/projects/{project_id}/policies/{policy_id}": {
355
+ method: "DELETE",
356
+ path: "/v1/projects/{project_id}/policies/{policy_id}",
357
+ operationId: "deletePolicyProfile"
358
+ },
256
359
  "GET /v1/projects": {
257
360
  method: "GET",
258
361
  path: "/v1/projects",