@stack-spot/portal-network 0.216.1 → 0.217.0
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 +79 -33
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +86 -76
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/apis.json +2 -2
- package/dist/client/account.d.ts +16 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +9 -0
- package/dist/client/account.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +4 -12
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +5 -14
- package/dist/client/cloud-platform.js.map +1 -1
- package/package.json +1 -1
- package/src/api/cloudPlatform.ts +170 -111
- package/src/apis.json +7 -7
- package/src/client/account.ts +4 -0
- package/src/client/cloud-platform.ts +4 -9
package/src/apis.json
CHANGED
|
@@ -177,12 +177,12 @@
|
|
|
177
177
|
"cloudPlatform": {
|
|
178
178
|
"url": {
|
|
179
179
|
"dev": "https://cloud-cloud-platform-api.dev.stackspot.com",
|
|
180
|
-
"stg": "https://cloud-cloud-
|
|
180
|
+
"stg": "https://cloud-cloud-foundation-api.stg.stackspot.com",
|
|
181
181
|
"prd": "https://cloud-cloud-platform-api.prd.stackspot.com"
|
|
182
182
|
},
|
|
183
|
-
"docs": "/v3/api-docs"
|
|
183
|
+
"docs": "/v3/api-docs/portal"
|
|
184
184
|
},
|
|
185
|
-
|
|
185
|
+
"cloudRuntimes": {
|
|
186
186
|
"url": {
|
|
187
187
|
"dev": "https://cloud-cloud-runtime-api.dev.stackspot.com",
|
|
188
188
|
"stg": "https://cloud-cloud-runtime-api.stg.stackspot.com",
|
|
@@ -222,13 +222,13 @@
|
|
|
222
222
|
},
|
|
223
223
|
"docs": "/v3/api-docs"
|
|
224
224
|
},
|
|
225
|
-
"accountAssetManager"
|
|
225
|
+
"accountAssetManager": {
|
|
226
226
|
"url": {
|
|
227
227
|
"dev": "https://account-asset-manager.dev.stackspot.com",
|
|
228
228
|
"stg": "https://account-asset-manager.stg.stackspot.com",
|
|
229
|
-
"prd": "https://account-asset-manager.stackspot.com"
|
|
229
|
+
"prd": "https://account-asset-manager.stackspot.com"
|
|
230
230
|
},
|
|
231
|
-
"docs": "/v3/api-docs"
|
|
231
|
+
"docs": "/v3/api-docs"
|
|
232
232
|
},
|
|
233
233
|
"edpBfa": {
|
|
234
234
|
"url": {
|
|
@@ -238,4 +238,4 @@
|
|
|
238
238
|
},
|
|
239
239
|
"docs": "/openapi.json"
|
|
240
240
|
}
|
|
241
|
-
}
|
|
241
|
+
}
|
package/src/client/account.ts
CHANGED
|
@@ -644,6 +644,10 @@ class AccountClient extends ReactQueryNetworkClient {
|
|
|
644
644
|
* Get all account groups with pagination
|
|
645
645
|
*/
|
|
646
646
|
allGroupsWithPagination = this.query(getGroups1)
|
|
647
|
+
/**
|
|
648
|
+
* Get groups with infinite query
|
|
649
|
+
*/
|
|
650
|
+
groups = this.infiniteQuery(getGroups1, { accumulator: 'items' })
|
|
647
651
|
/**
|
|
648
652
|
* Get all members by group with pagination
|
|
649
653
|
*/
|
|
@@ -36,7 +36,6 @@ import {
|
|
|
36
36
|
listRuntime,
|
|
37
37
|
listTenant,
|
|
38
38
|
listVpns,
|
|
39
|
-
providers,
|
|
40
39
|
putCertificateTags,
|
|
41
40
|
putCidrTags,
|
|
42
41
|
putDnsZoneTags,
|
|
@@ -72,10 +71,6 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
72
71
|
* Get list of foundations folders or folder by id
|
|
73
72
|
*/
|
|
74
73
|
getFolder = this.query(removeAuthorizationParam(getFolder))
|
|
75
|
-
/**
|
|
76
|
-
* Get list of providers for a foundation
|
|
77
|
-
*/
|
|
78
|
-
listProviders = this.query(removeAuthorizationParam(providers))
|
|
79
74
|
/**
|
|
80
75
|
* Create a foundation
|
|
81
76
|
*/
|
|
@@ -225,12 +220,12 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
225
220
|
*/
|
|
226
221
|
deleteDnsRecord = this.mutation(removeAuthorizationParam(deleteDnsRecord))
|
|
227
222
|
/**
|
|
228
|
-
* Delete a VPN
|
|
229
|
-
*/
|
|
223
|
+
* Delete a VPN
|
|
224
|
+
*/
|
|
230
225
|
deleteVPN = this.mutation(removeAuthorizationParam(deleteVpn))
|
|
231
226
|
/**
|
|
232
|
-
* Delete a CIDR
|
|
233
|
-
*/
|
|
227
|
+
* Delete a CIDR
|
|
228
|
+
*/
|
|
234
229
|
deleteCidr = this.mutation(removeAuthorizationParam(deleteCidr))
|
|
235
230
|
}
|
|
236
231
|
|