@stack-spot/portal-network 0.193.0 → 0.194.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/account.d.ts +4 -116
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +9 -95
- package/dist/api/account.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +6 -0
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +9 -0
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/client/account.d.ts +4 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +10 -1
- package/dist/client/account.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +83 -4
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +77 -5
- package/dist/client/cloud-platform.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +20 -192
- package/src/api/cloudPlatform.ts +17 -0
- package/src/client/account.ts +5 -0
- package/src/client/cloud-platform.ts +44 -4
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
defaults,
|
|
18
18
|
getCertificate,
|
|
19
19
|
getFolder,
|
|
20
|
+
getFolderTags,
|
|
20
21
|
getFoundation,
|
|
21
22
|
getNetwork,
|
|
22
23
|
getProject,
|
|
@@ -33,6 +34,13 @@ import {
|
|
|
33
34
|
listTenant,
|
|
34
35
|
listVpns,
|
|
35
36
|
providers,
|
|
37
|
+
putCertificateTags,
|
|
38
|
+
putCidrTags,
|
|
39
|
+
putDnsZoneTags,
|
|
40
|
+
putFolderTags,
|
|
41
|
+
putNetworkTags,
|
|
42
|
+
putProjectTags,
|
|
43
|
+
putVpnTags,
|
|
36
44
|
} from '../api/cloudPlatform'
|
|
37
45
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
38
46
|
import { StackspotAPIError } from '../error/StackspotAPIError'
|
|
@@ -170,13 +178,45 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
170
178
|
*/
|
|
171
179
|
createTenant = this.mutation(removeAuthorizationParam(createTenant))
|
|
172
180
|
/**
|
|
173
|
-
* Get a list of runtimes
|
|
174
|
-
*/
|
|
181
|
+
* Get a list of runtimes
|
|
182
|
+
*/
|
|
175
183
|
listRuntimes = this.query(removeAuthorizationParam(listRuntime))
|
|
176
184
|
/**
|
|
177
|
-
* Create a runtime
|
|
178
|
-
*/
|
|
185
|
+
* Create a runtime
|
|
186
|
+
*/
|
|
179
187
|
createRuntime = this.mutation(removeAuthorizationParam(createRuntime))
|
|
188
|
+
/**
|
|
189
|
+
* Get a list of tags in folder
|
|
190
|
+
*/
|
|
191
|
+
getFolderTags = this.query(removeAuthorizationParam(getFolderTags))
|
|
192
|
+
/**
|
|
193
|
+
* Update folder tags
|
|
194
|
+
*/
|
|
195
|
+
updateFolderTags = this.mutation(removeAuthorizationParam(putFolderTags))
|
|
196
|
+
/**
|
|
197
|
+
* Update project tags
|
|
198
|
+
*/
|
|
199
|
+
updateProjectTags = this.mutation(removeAuthorizationParam(putProjectTags))
|
|
200
|
+
/**
|
|
201
|
+
* Update network tags
|
|
202
|
+
*/
|
|
203
|
+
updateNetworkTags = this.mutation(removeAuthorizationParam(putNetworkTags))
|
|
204
|
+
/**
|
|
205
|
+
* Update cidr tags
|
|
206
|
+
*/
|
|
207
|
+
updateCidrTags = this.mutation(removeAuthorizationParam(putCidrTags))
|
|
208
|
+
/**
|
|
209
|
+
* Update dns zone tags
|
|
210
|
+
*/
|
|
211
|
+
updateDnsZoneTags = this.mutation(removeAuthorizationParam(putDnsZoneTags))
|
|
212
|
+
/**
|
|
213
|
+
* Update certificate tags
|
|
214
|
+
*/
|
|
215
|
+
updateCertificateTags = this.mutation(removeAuthorizationParam(putCertificateTags))
|
|
216
|
+
/**
|
|
217
|
+
* Update vpn tags
|
|
218
|
+
*/
|
|
219
|
+
updateVpnTags = this.mutation(removeAuthorizationParam(putVpnTags))
|
|
180
220
|
}
|
|
181
221
|
|
|
182
222
|
export const cloudPlatformClient = new CloudPlatformClient()
|