pgbeam 0.2.5 → 0.2.7

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