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 +103 -0
- package/dist/index.d.cts +4753 -2091
- package/dist/index.d.mts +4753 -2091
- package/dist/index.mjs +103 -0
- package/dist/operations.cjs +103 -0
- package/dist/operations.d.cts +3360 -1503
- package/dist/operations.d.mts +3360 -1503
- package/dist/operations.mjs +103 -0
- package/package.json +7 -7
package/dist/operations.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",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pgbeam",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "TypeScript SDK for the PgBeam API — globally distributed PostgreSQL proxy platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
],
|
|
48
48
|
"homepage": "https://pgbeam.com",
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@kubb/
|
|
51
|
-
"@kubb/
|
|
52
|
-
"@kubb/plugin-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"typescript": "
|
|
50
|
+
"@kubb/adapter-oas": "5.0.0-beta.11",
|
|
51
|
+
"@kubb/middleware-barrel": "5.0.0-beta.35",
|
|
52
|
+
"@kubb/plugin-ts": "5.0.0-beta.10",
|
|
53
|
+
"bunchee": "6.11.0",
|
|
54
|
+
"kubb": "5.0.0-beta.11",
|
|
55
|
+
"typescript": "6.0.3",
|
|
56
56
|
"@pgbeam/config": "0.0.1"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|