@stack-spot/portal-network 0.219.0 → 0.220.1
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/CHANGELOG.md +14 -0
- package/dist/api/cloudPlatform.d.ts +188 -95
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +118 -46
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +146 -34
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +181 -37
- package/dist/client/cloud-platform.js.map +1 -1
- package/package.json +1 -1
- package/src/api/cloudPlatform.ts +334 -147
- package/src/client/cloud-platform.ts +100 -20
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime'
|
|
2
2
|
import {
|
|
3
|
+
createBoundary,
|
|
4
|
+
createBoundarySso,
|
|
3
5
|
createCertificate,
|
|
4
6
|
createCidr,
|
|
5
7
|
createDnsRecord,
|
|
@@ -8,10 +10,11 @@ import {
|
|
|
8
10
|
createFoundation,
|
|
9
11
|
createNetwork,
|
|
10
12
|
createProject,
|
|
11
|
-
|
|
12
|
-
createTenant,
|
|
13
|
+
createServiceControlPolicy,
|
|
13
14
|
createVpn,
|
|
14
15
|
defaults,
|
|
16
|
+
deleteBoundary,
|
|
17
|
+
deleteBoundarySso,
|
|
15
18
|
deleteCertificate,
|
|
16
19
|
deleteCidr,
|
|
17
20
|
deleteDnsRecord,
|
|
@@ -20,28 +23,41 @@ import {
|
|
|
20
23
|
deleteNetwork,
|
|
21
24
|
deleteProject,
|
|
22
25
|
deleteVpn,
|
|
26
|
+
getBoundary,
|
|
27
|
+
getBoundarySso,
|
|
23
28
|
getCertificate,
|
|
24
29
|
getFolder,
|
|
25
30
|
getFolderTags,
|
|
26
31
|
getFoundation,
|
|
27
32
|
getNetwork,
|
|
28
33
|
getProject,
|
|
34
|
+
getServiceControlPolicy,
|
|
29
35
|
getVpnConfiguration,
|
|
36
|
+
listBoundary,
|
|
37
|
+
listBoundarySso,
|
|
30
38
|
listCertificates,
|
|
31
39
|
listCidr,
|
|
32
40
|
listDnsRecord,
|
|
33
41
|
listDnsZone,
|
|
34
42
|
listFoundations,
|
|
35
43
|
listNetwork,
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
listProject,
|
|
45
|
+
listServiceControlPolicy,
|
|
38
46
|
listVpns,
|
|
47
|
+
putBoundaryDescription,
|
|
48
|
+
putBoundaryPolicyDocument,
|
|
49
|
+
putBoundarySsoDescription,
|
|
50
|
+
putBoundarySsoPolicyDocument,
|
|
51
|
+
putBoundarySsoTags,
|
|
52
|
+
putBoundaryTags,
|
|
39
53
|
putCertificateTags,
|
|
40
54
|
putCidrTags,
|
|
41
55
|
putDnsZoneTags,
|
|
42
56
|
putFolderTags,
|
|
57
|
+
putFoundationSecProjectTags,
|
|
43
58
|
putNetworkTags,
|
|
44
59
|
putProjectTags,
|
|
60
|
+
putServiceControlPolicy,
|
|
45
61
|
putVpnTags,
|
|
46
62
|
} from '../api/cloudPlatform'
|
|
47
63
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
@@ -148,22 +164,6 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
148
164
|
*/
|
|
149
165
|
getNetworkById = this.query(removeAuthorizationParam(getNetwork))
|
|
150
166
|
/**
|
|
151
|
-
* Get a list of tenants
|
|
152
|
-
*/
|
|
153
|
-
listTenants = this.query(removeAuthorizationParam(listTenant))
|
|
154
|
-
/**
|
|
155
|
-
* Create a tenant
|
|
156
|
-
*/
|
|
157
|
-
createTenant = this.mutation(removeAuthorizationParam(createTenant))
|
|
158
|
-
/**
|
|
159
|
-
* Get a list of runtimes
|
|
160
|
-
*/
|
|
161
|
-
listRuntimes = this.query(removeAuthorizationParam(listRuntime))
|
|
162
|
-
/**
|
|
163
|
-
* Create a runtime
|
|
164
|
-
*/
|
|
165
|
-
createRuntime = this.mutation(removeAuthorizationParam(createRuntime))
|
|
166
|
-
/**
|
|
167
167
|
* Get a list of tags in folder
|
|
168
168
|
*/
|
|
169
169
|
getFolderTags = this.query(removeAuthorizationParam(getFolderTags))
|
|
@@ -227,6 +227,86 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
227
227
|
* Delete a CIDR
|
|
228
228
|
*/
|
|
229
229
|
deleteCidr = this.mutation(removeAuthorizationParam(deleteCidr))
|
|
230
|
+
/**
|
|
231
|
+
* Get a list of foundation boundaries
|
|
232
|
+
*/
|
|
233
|
+
listBoundaries = this.query(removeAuthorizationParam(listBoundary))
|
|
234
|
+
/**
|
|
235
|
+
* Get a list of foundation sso boundaries
|
|
236
|
+
*/
|
|
237
|
+
listSSOBoundaries = this.query(removeAuthorizationParam(listBoundarySso))
|
|
238
|
+
/**
|
|
239
|
+
* Create a boundary
|
|
240
|
+
*/
|
|
241
|
+
createBoundary = this.mutation(removeAuthorizationParam(createBoundary))
|
|
242
|
+
/**
|
|
243
|
+
* Create a sso boundary
|
|
244
|
+
*/
|
|
245
|
+
createSSOBoundary = this.mutation(removeAuthorizationParam(createBoundarySso))
|
|
246
|
+
/**
|
|
247
|
+
* Get details of a boundary
|
|
248
|
+
*/
|
|
249
|
+
getBoundary = this.query(removeAuthorizationParam(getBoundary))
|
|
250
|
+
/**
|
|
251
|
+
* Get details of a sso boundary
|
|
252
|
+
*/
|
|
253
|
+
getSSOBoundary = this.query(removeAuthorizationParam(getBoundarySso))
|
|
254
|
+
/**
|
|
255
|
+
* Delete a boundary
|
|
256
|
+
*/
|
|
257
|
+
deleteBoundary = this.mutation(removeAuthorizationParam(deleteBoundary))
|
|
258
|
+
/**
|
|
259
|
+
* Delete a sso boundary
|
|
260
|
+
*/
|
|
261
|
+
deleteSSOBoundary = this.mutation(removeAuthorizationParam(deleteBoundarySso))
|
|
262
|
+
/**
|
|
263
|
+
* Edit boundary tags
|
|
264
|
+
*/
|
|
265
|
+
editBoundaryTags = this.mutation(removeAuthorizationParam(putBoundaryTags))
|
|
266
|
+
/**
|
|
267
|
+
* Edit sso boundary tags
|
|
268
|
+
*/
|
|
269
|
+
editSSOBoundaryTags = this.mutation(removeAuthorizationParam(putBoundarySsoTags))
|
|
270
|
+
/**
|
|
271
|
+
* Edit boundary policy document
|
|
272
|
+
*/
|
|
273
|
+
editBoundaryPolicyDocument = this.mutation(removeAuthorizationParam(putBoundaryPolicyDocument))
|
|
274
|
+
/**
|
|
275
|
+
* Edit sso boundary policy document
|
|
276
|
+
*/
|
|
277
|
+
editSSOBoundaryPolicyDocument = this.mutation(removeAuthorizationParam(putBoundarySsoPolicyDocument))
|
|
278
|
+
/**
|
|
279
|
+
* Edit boundary description
|
|
280
|
+
*/
|
|
281
|
+
editBoundaryDescription = this.mutation(removeAuthorizationParam(putBoundaryDescription))
|
|
282
|
+
/**
|
|
283
|
+
* Edit sso boundary description
|
|
284
|
+
*/
|
|
285
|
+
editSSOBoundaryDescription = this.mutation(removeAuthorizationParam(putBoundarySsoDescription))
|
|
286
|
+
/**
|
|
287
|
+
* Edit foundation security tags
|
|
288
|
+
*/
|
|
289
|
+
editFoundationSecurityTags = this.mutation(removeAuthorizationParam(putFoundationSecProjectTags))
|
|
290
|
+
/**
|
|
291
|
+
* List service control policy
|
|
292
|
+
*/
|
|
293
|
+
listServiceControlPolicy = this.query(removeAuthorizationParam(listServiceControlPolicy))
|
|
294
|
+
/**
|
|
295
|
+
* Get a service control policy details
|
|
296
|
+
*/
|
|
297
|
+
getServiceControlPolicy = this.query(removeAuthorizationParam(getServiceControlPolicy))
|
|
298
|
+
/**
|
|
299
|
+
* Edit service control policy
|
|
300
|
+
*/
|
|
301
|
+
editServiceControlPolicy = this.mutation(removeAuthorizationParam(putServiceControlPolicy))
|
|
302
|
+
/**
|
|
303
|
+
* Create a service control policy
|
|
304
|
+
*/
|
|
305
|
+
createServiceControlPolicy = this.mutation(removeAuthorizationParam(createServiceControlPolicy))
|
|
306
|
+
/**
|
|
307
|
+
* List projects from a foundation
|
|
308
|
+
*/
|
|
309
|
+
listFoundationProjects = this.query(removeAuthorizationParam(listProject))
|
|
230
310
|
}
|
|
231
311
|
|
|
232
312
|
export const cloudPlatformClient = new CloudPlatformClient()
|