@stack-spot/portal-network 1.0.0-betaadp.3 → 1.0.0-dev.1768422812092
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 +633 -0
- package/dist/api/account.d.ts +413 -277
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +261 -176
- package/dist/api/account.js.map +1 -1
- package/dist/api/accountAssetManager.d.ts +309 -0
- package/dist/api/accountAssetManager.d.ts.map +1 -0
- package/dist/api/accountAssetManager.js +169 -0
- package/dist/api/accountAssetManager.js.map +1 -0
- package/dist/api/agent-tools.d.ts +243 -149
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +77 -5
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +487 -98
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +427 -146
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +374 -221
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +299 -93
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +1125 -83
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +538 -16
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +98 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +78 -2
- package/dist/api/discover.js.map +1 -1
- package/dist/api/edpBfa.d.ts +215 -0
- package/dist/api/edpBfa.d.ts.map +1 -0
- package/dist/api/edpBfa.js +87 -0
- package/dist/api/edpBfa.js.map +1 -0
- package/dist/api/genAiInference.d.ts +22 -2
- package/dist/api/genAiInference.d.ts.map +1 -1
- package/dist/api/genAiInference.js +22 -3
- package/dist/api/genAiInference.js.map +1 -1
- package/dist/api/workflows.d.ts +68 -5
- package/dist/api/workflows.d.ts.map +1 -1
- package/dist/api/workflows.js +16 -0
- package/dist/api/workflows.js.map +1 -1
- package/dist/api/workspaceManager.d.ts +16 -10
- package/dist/api/workspaceManager.d.ts.map +1 -1
- package/dist/api/workspaceManager.js +10 -0
- package/dist/api/workspaceManager.js.map +1 -1
- package/dist/api-addresses.d.ts +20 -18
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +81 -21
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +241 -0
- package/dist/apis.json +17 -1
- package/dist/client/account-asset-manager.d.ts +112 -0
- package/dist/client/account-asset-manager.d.ts.map +1 -0
- package/dist/client/account-asset-manager.js +160 -0
- package/dist/client/account-asset-manager.js.map +1 -0
- package/dist/client/account.d.ts +265 -242
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +80 -34
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts +166 -119
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +62 -11
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +266 -79
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +262 -20
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +10 -1
- package/dist/client/api-management.d.ts.map +1 -1
- package/dist/client/api-management.js +11 -2
- package/dist/client/api-management.js.map +1 -1
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +213 -46
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +168 -33
- package/dist/client/cloud-platform.js.map +1 -1
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +535 -162
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +296 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +92 -53
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +38 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +31 -10
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +239 -3
- package/dist/client/discover.js.map +1 -1
- package/dist/client/edp-bfa.d.ts +16 -0
- package/dist/client/edp-bfa.d.ts.map +1 -0
- package/dist/client/edp-bfa.js +24 -0
- package/dist/client/edp-bfa.js.map +1 -0
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +17 -10
- package/dist/client/notification.d.ts.map +1 -1
- package/dist/client/notification.js +10 -1
- package/dist/client/notification.js.map +1 -1
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +50 -7
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +3 -7
- package/dist/client/workspace-ai.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +115 -76
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +47 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.d.ts.map +1 -1
- package/dist/error/DefaultAPIError.js.map +1 -1
- package/dist/error/StackspotAPIError.d.ts +3 -4
- package/dist/error/StackspotAPIError.d.ts.map +1 -1
- package/dist/error/StackspotAPIError.js +3 -3
- package/dist/error/StackspotAPIError.js.map +1 -1
- package/dist/error/dictionary/accountAssetManager.d.ts +11 -0
- package/dist/error/dictionary/accountAssetManager.d.ts.map +1 -0
- package/dist/error/dictionary/accountAssetManager.js +11 -0
- package/dist/error/dictionary/accountAssetManager.js.map +1 -0
- package/dist/error/dictionary/cloud-platform.d.ts +76 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +80 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/error/dictionary/workspace-ai.d.ts +9 -0
- package/dist/error/dictionary/workspace-ai.d.ts.map +1 -0
- package/dist/error/dictionary/workspace-ai.js +9 -0
- package/dist/error/dictionary/workspace-ai.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +16 -4
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +2 -0
- package/dist/network/types.d.ts.map +1 -1
- package/dist/utils/StreamedJson.d.ts +3 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +23 -3
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.dev.json +3 -0
- package/package.json +10 -9
- package/package.stg.json +3 -0
- package/readme.md +40 -1
- package/src/api/account.ts +701 -540
- package/src/api/accountAssetManager.ts +771 -0
- package/src/api/agent-tools.ts +332 -151
- package/src/api/ai.ts +891 -170
- package/src/api/cloudPlatform.ts +667 -298
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +2088 -97
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +180 -14
- package/src/api/edpBfa.ts +472 -0
- package/src/api/genAiInference.ts +47 -4
- package/src/api/workflows.ts +100 -5
- package/src/api/workspaceManager.ts +25 -10
- package/src/api-addresses.ts +113 -38
- package/src/apis-itau.json +241 -0
- package/src/apis.json +17 -1
- package/src/client/account-asset-manager.ts +100 -0
- package/src/client/account.ts +71 -40
- package/src/client/agent-tools.ts +57 -17
- package/src/client/ai.ts +232 -20
- package/src/client/api-management.ts +7 -2
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/cloud-platform.ts +101 -27
- package/src/client/code-shift.ts +196 -8
- package/src/client/data-integration.ts +28 -1
- package/src/client/discover.ts +238 -5
- package/src/client/edp-bfa.ts +24 -0
- package/src/client/notification.ts +6 -1
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +55 -9
- package/src/client/workspace-ai.ts +19 -23
- package/src/client/workspace-manager.ts +31 -2
- package/src/error/DefaultAPIError.ts +5 -5
- package/src/error/StackspotAPIError.ts +4 -4
- package/src/error/dictionary/accountAssetManager.ts +12 -0
- package/src/error/dictionary/cloud-platform.ts +80 -12
- package/src/error/dictionary/workspace-ai.ts +10 -0
- package/src/index.ts +6 -3
- package/src/network/NetworkClient.ts +18 -6
- package/src/network/types.ts +3 -0
- package/src/utils/StreamedJson.tsx +19 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createCertificate, createCidr, createDnsRecord, createDnsZone, createFolder, createFoundation, createNetwork, createProject, createRuntime, createTenant, createVpn, defaults, deleteCertificate, deleteCidr, deleteDnsRecord, deleteDnsZone, deleteFolder, deleteNetwork, deleteProject, deleteVpn, getCertificate, getFolder, getFolderTags, getFoundation, getNetwork, getProject, getVpnConfiguration, listCertificates, listCidr, listDnsRecord, listDnsZone, listFoundations, listNetwork, listRuntime, listTenant, listVpns, providers, putCertificateTags, putCidrTags, putDnsZoneTags, putFolderTags, putNetworkTags, putProjectTags, putVpnTags, } from '../api/cloudPlatform.js';
|
|
2
2
|
import { DefaultAPIError } from '../error/DefaultAPIError.js';
|
|
3
3
|
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
4
4
|
import { removeAuthorizationParam } from '../utils/remove-authorization-param.js';
|
|
@@ -179,85 +179,220 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
|
|
|
179
179
|
value: this.mutation(removeAuthorizationParam(createNetwork))
|
|
180
180
|
});
|
|
181
181
|
/**
|
|
182
|
-
* Get a list of
|
|
182
|
+
* Get a list of vpn's
|
|
183
183
|
*/
|
|
184
|
-
Object.defineProperty(this, "
|
|
184
|
+
Object.defineProperty(this, "listVpns", {
|
|
185
185
|
enumerable: true,
|
|
186
186
|
configurable: true,
|
|
187
187
|
writable: true,
|
|
188
|
-
value: this.query(removeAuthorizationParam(
|
|
188
|
+
value: this.query(removeAuthorizationParam(listVpns))
|
|
189
189
|
});
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Get vpn configuration
|
|
192
192
|
*/
|
|
193
|
-
Object.defineProperty(this, "
|
|
193
|
+
Object.defineProperty(this, "getVpnConfiguration", {
|
|
194
194
|
enumerable: true,
|
|
195
195
|
configurable: true,
|
|
196
196
|
writable: true,
|
|
197
|
-
value: this.
|
|
197
|
+
value: this.query(removeAuthorizationParam(getVpnConfiguration))
|
|
198
198
|
});
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* Create a vpn
|
|
201
201
|
*/
|
|
202
|
-
Object.defineProperty(this, "
|
|
202
|
+
Object.defineProperty(this, "createVpn", {
|
|
203
203
|
enumerable: true,
|
|
204
204
|
configurable: true,
|
|
205
205
|
writable: true,
|
|
206
|
-
value: this.mutation(removeAuthorizationParam(
|
|
206
|
+
value: this.mutation(removeAuthorizationParam(createVpn))
|
|
207
207
|
});
|
|
208
208
|
/**
|
|
209
|
-
* Get a network
|
|
209
|
+
* Get a network details
|
|
210
210
|
*/
|
|
211
|
-
Object.defineProperty(this, "
|
|
211
|
+
Object.defineProperty(this, "getNetworkById", {
|
|
212
212
|
enumerable: true,
|
|
213
213
|
configurable: true,
|
|
214
214
|
writable: true,
|
|
215
|
-
value: this.query(removeAuthorizationParam(
|
|
215
|
+
value: this.query(removeAuthorizationParam(getNetwork))
|
|
216
216
|
});
|
|
217
217
|
/**
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
Object.defineProperty(this, "
|
|
218
|
+
* Get a list of tenants
|
|
219
|
+
*/
|
|
220
|
+
Object.defineProperty(this, "listTenants", {
|
|
221
221
|
enumerable: true,
|
|
222
222
|
configurable: true,
|
|
223
223
|
writable: true,
|
|
224
|
-
value: this.
|
|
224
|
+
value: this.query(removeAuthorizationParam(listTenant))
|
|
225
225
|
});
|
|
226
226
|
/**
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
Object.defineProperty(this, "
|
|
227
|
+
* Create a tenant
|
|
228
|
+
*/
|
|
229
|
+
Object.defineProperty(this, "createTenant", {
|
|
230
230
|
enumerable: true,
|
|
231
231
|
configurable: true,
|
|
232
232
|
writable: true,
|
|
233
|
-
value: this.
|
|
233
|
+
value: this.mutation(removeAuthorizationParam(createTenant))
|
|
234
234
|
});
|
|
235
235
|
/**
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
Object.defineProperty(this, "
|
|
236
|
+
* Get a list of runtimes
|
|
237
|
+
*/
|
|
238
|
+
Object.defineProperty(this, "listRuntimes", {
|
|
239
239
|
enumerable: true,
|
|
240
240
|
configurable: true,
|
|
241
241
|
writable: true,
|
|
242
|
-
value: this.query(removeAuthorizationParam(
|
|
242
|
+
value: this.query(removeAuthorizationParam(listRuntime))
|
|
243
243
|
});
|
|
244
244
|
/**
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
Object.defineProperty(this, "
|
|
245
|
+
* Create a runtime
|
|
246
|
+
*/
|
|
247
|
+
Object.defineProperty(this, "createRuntime", {
|
|
248
248
|
enumerable: true,
|
|
249
249
|
configurable: true,
|
|
250
250
|
writable: true,
|
|
251
|
-
value: this.mutation(removeAuthorizationParam(
|
|
251
|
+
value: this.mutation(removeAuthorizationParam(createRuntime))
|
|
252
252
|
});
|
|
253
253
|
/**
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
Object.defineProperty(this, "
|
|
254
|
+
* Get a list of tags in folder
|
|
255
|
+
*/
|
|
256
|
+
Object.defineProperty(this, "getFolderTags", {
|
|
257
257
|
enumerable: true,
|
|
258
258
|
configurable: true,
|
|
259
259
|
writable: true,
|
|
260
|
-
value: this.query(removeAuthorizationParam(
|
|
260
|
+
value: this.query(removeAuthorizationParam(getFolderTags))
|
|
261
|
+
});
|
|
262
|
+
/**
|
|
263
|
+
* Update folder tags
|
|
264
|
+
*/
|
|
265
|
+
Object.defineProperty(this, "updateFolderTags", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
configurable: true,
|
|
268
|
+
writable: true,
|
|
269
|
+
value: this.mutation(removeAuthorizationParam(putFolderTags))
|
|
270
|
+
});
|
|
271
|
+
/**
|
|
272
|
+
* Update project tags
|
|
273
|
+
*/
|
|
274
|
+
Object.defineProperty(this, "updateProjectTags", {
|
|
275
|
+
enumerable: true,
|
|
276
|
+
configurable: true,
|
|
277
|
+
writable: true,
|
|
278
|
+
value: this.mutation(removeAuthorizationParam(putProjectTags))
|
|
279
|
+
});
|
|
280
|
+
/**
|
|
281
|
+
* Update network tags
|
|
282
|
+
*/
|
|
283
|
+
Object.defineProperty(this, "updateNetworkTags", {
|
|
284
|
+
enumerable: true,
|
|
285
|
+
configurable: true,
|
|
286
|
+
writable: true,
|
|
287
|
+
value: this.mutation(removeAuthorizationParam(putNetworkTags))
|
|
288
|
+
});
|
|
289
|
+
/**
|
|
290
|
+
* Update cidr tags
|
|
291
|
+
*/
|
|
292
|
+
Object.defineProperty(this, "updateCidrTags", {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
configurable: true,
|
|
295
|
+
writable: true,
|
|
296
|
+
value: this.mutation(removeAuthorizationParam(putCidrTags))
|
|
297
|
+
});
|
|
298
|
+
/**
|
|
299
|
+
* Update dns zone tags
|
|
300
|
+
*/
|
|
301
|
+
Object.defineProperty(this, "updateDnsZoneTags", {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
configurable: true,
|
|
304
|
+
writable: true,
|
|
305
|
+
value: this.mutation(removeAuthorizationParam(putDnsZoneTags))
|
|
306
|
+
});
|
|
307
|
+
/**
|
|
308
|
+
* Update certificate tags
|
|
309
|
+
*/
|
|
310
|
+
Object.defineProperty(this, "updateCertificateTags", {
|
|
311
|
+
enumerable: true,
|
|
312
|
+
configurable: true,
|
|
313
|
+
writable: true,
|
|
314
|
+
value: this.mutation(removeAuthorizationParam(putCertificateTags))
|
|
315
|
+
});
|
|
316
|
+
/**
|
|
317
|
+
* Update vpn tags
|
|
318
|
+
*/
|
|
319
|
+
Object.defineProperty(this, "updateVpnTags", {
|
|
320
|
+
enumerable: true,
|
|
321
|
+
configurable: true,
|
|
322
|
+
writable: true,
|
|
323
|
+
value: this.mutation(removeAuthorizationParam(putVpnTags))
|
|
324
|
+
});
|
|
325
|
+
/**
|
|
326
|
+
* Delete a folder
|
|
327
|
+
*/
|
|
328
|
+
Object.defineProperty(this, "deleteFolder", {
|
|
329
|
+
enumerable: true,
|
|
330
|
+
configurable: true,
|
|
331
|
+
writable: true,
|
|
332
|
+
value: this.mutation(removeAuthorizationParam(deleteFolder))
|
|
333
|
+
});
|
|
334
|
+
/**
|
|
335
|
+
* Delete a project
|
|
336
|
+
*/
|
|
337
|
+
Object.defineProperty(this, "deleteProject", {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
configurable: true,
|
|
340
|
+
writable: true,
|
|
341
|
+
value: this.mutation(removeAuthorizationParam(deleteProject))
|
|
342
|
+
});
|
|
343
|
+
/**
|
|
344
|
+
* Delete a network
|
|
345
|
+
*/
|
|
346
|
+
Object.defineProperty(this, "deleteNetwork", {
|
|
347
|
+
enumerable: true,
|
|
348
|
+
configurable: true,
|
|
349
|
+
writable: true,
|
|
350
|
+
value: this.mutation(removeAuthorizationParam(deleteNetwork))
|
|
351
|
+
});
|
|
352
|
+
/**
|
|
353
|
+
* Delete a certificate
|
|
354
|
+
*/
|
|
355
|
+
Object.defineProperty(this, "deleteCertificate", {
|
|
356
|
+
enumerable: true,
|
|
357
|
+
configurable: true,
|
|
358
|
+
writable: true,
|
|
359
|
+
value: this.mutation(removeAuthorizationParam(deleteCertificate))
|
|
360
|
+
});
|
|
361
|
+
/**
|
|
362
|
+
* Delete a dns zone
|
|
363
|
+
*/
|
|
364
|
+
Object.defineProperty(this, "deleteDnsZone", {
|
|
365
|
+
enumerable: true,
|
|
366
|
+
configurable: true,
|
|
367
|
+
writable: true,
|
|
368
|
+
value: this.mutation(removeAuthorizationParam(deleteDnsZone))
|
|
369
|
+
});
|
|
370
|
+
/**
|
|
371
|
+
* Delete a dns record
|
|
372
|
+
*/
|
|
373
|
+
Object.defineProperty(this, "deleteDnsRecord", {
|
|
374
|
+
enumerable: true,
|
|
375
|
+
configurable: true,
|
|
376
|
+
writable: true,
|
|
377
|
+
value: this.mutation(removeAuthorizationParam(deleteDnsRecord))
|
|
378
|
+
});
|
|
379
|
+
/**
|
|
380
|
+
* Delete a VPN
|
|
381
|
+
*/
|
|
382
|
+
Object.defineProperty(this, "deleteVPN", {
|
|
383
|
+
enumerable: true,
|
|
384
|
+
configurable: true,
|
|
385
|
+
writable: true,
|
|
386
|
+
value: this.mutation(removeAuthorizationParam(deleteVpn))
|
|
387
|
+
});
|
|
388
|
+
/**
|
|
389
|
+
* Delete a CIDR
|
|
390
|
+
*/
|
|
391
|
+
Object.defineProperty(this, "deleteCidr", {
|
|
392
|
+
enumerable: true,
|
|
393
|
+
configurable: true,
|
|
394
|
+
writable: true,
|
|
395
|
+
value: this.mutation(removeAuthorizationParam(deleteCidr))
|
|
261
396
|
});
|
|
262
397
|
}
|
|
263
398
|
buildStackSpotError(error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-platform.js","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"cloud-platform.js","sourceRoot":"","sources":["../../src/client/cloud-platform.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,SAAS,EACT,cAAc,EACd,SAAS,EACT,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,EACR,aAAa,EACb,WAAW,EACX,eAAe,EACf,WAAW,EACX,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,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EE;QACF;;;;mBAAoB,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,CAAC;WAAA;QAC9E;;UAEE;QACF;;;;mBAAgB,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC;WAAA;QACtE;;UAEE;QACF;;;;mBAAkB,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,eAAe,CAAC,CAAC;WAAA;QAC1E;;QAEA;QACA;;;;mBAAY,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC;WAAA;QAC9D;;QAEA;QACA;;;;mBAAa,IAAI,CAAC,QAAQ,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;WAAA;IAhLhE,CAAC;IAES,mBAAmB,CAAC,KAAgB;QAC5C,OAAO,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;IACpF,CAAC;CA6KF;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAA"}
|
|
@@ -9,8 +9,8 @@ declare class CloudRuntimesClient extends ReactQueryNetworkClient {
|
|
|
9
9
|
*/
|
|
10
10
|
listApplications: import("../network/types.js").QueryObject<Omit<{
|
|
11
11
|
projectId: string;
|
|
12
|
-
limit?: number
|
|
13
|
-
offset?: number
|
|
12
|
+
limit?: number;
|
|
13
|
+
offset?: number;
|
|
14
14
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudRuntimes.js").PaginatedResponseApplicationDto>;
|
|
15
15
|
/**
|
|
16
16
|
* Get an application by id
|
|
@@ -70,8 +70,8 @@ declare class CloudRuntimesClient extends ReactQueryNetworkClient {
|
|
|
70
70
|
* Get list of repositories
|
|
71
71
|
*/
|
|
72
72
|
listRepositories: import("../network/types.js").QueryObject<Omit<{
|
|
73
|
-
limit?: number
|
|
74
|
-
offset?: number
|
|
73
|
+
limit?: number;
|
|
74
|
+
offset?: number;
|
|
75
75
|
}, "authorization" | "authorizationHeader" | "jwtToken"> & {}, import("../api/cloudRuntimes.js").ListRepositoryResponse>;
|
|
76
76
|
/**
|
|
77
77
|
* Get list of images from a repository
|
|
@@ -10,8 +10,8 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
10
10
|
* Gets overview of costs over the current month, last month and last 3 months.
|
|
11
11
|
*/
|
|
12
12
|
costOverview: import("../network/types.js").QueryObject<Omit<{
|
|
13
|
-
sortBy?: string
|
|
14
|
-
sortOrder?: string
|
|
13
|
+
sortBy?: string;
|
|
14
|
+
sortOrder?: string;
|
|
15
15
|
}, "sortOrder"> & {
|
|
16
16
|
sortOrder?: "asc" | "desc" | undefined;
|
|
17
17
|
}, import("../api/cloudServices.js").CostOverview>;
|
|
@@ -28,13 +28,13 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
28
28
|
alerts: import("../network/types.js").InfiniteQueryObject<{
|
|
29
29
|
workspace: string;
|
|
30
30
|
env: string;
|
|
31
|
-
pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY"
|
|
32
|
-
severity?: "
|
|
33
|
-
status?: "PENDING" | "NOT_APPLICABLE" | "COMPLETED"
|
|
34
|
-
search?: string
|
|
35
|
-
sort?: ("STATUS_ASC" | "STATUS_DESC" | "POLICIES_ASC" | "POLICIES_DESC" | "PILLAR_ASC" | "PILLAR_DESC" | "SEVERITY_ASC" | "SEVERITY_DESC")[]
|
|
36
|
-
page?: number
|
|
37
|
-
pageSize?: number
|
|
31
|
+
pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY";
|
|
32
|
+
severity?: "LOW" | "MEDIUM" | "HIGH" | "MANDATORY";
|
|
33
|
+
status?: "PENDING" | "NOT_APPLICABLE" | "COMPLETED";
|
|
34
|
+
search?: string;
|
|
35
|
+
sort?: ("STATUS_ASC" | "STATUS_DESC" | "POLICIES_ASC" | "POLICIES_DESC" | "PILLAR_ASC" | "PILLAR_DESC" | "SEVERITY_ASC" | "SEVERITY_DESC")[];
|
|
36
|
+
page?: number;
|
|
37
|
+
pageSize?: number;
|
|
38
38
|
}, import("../api/cloudServices.js").PaginatedResponseAlert, "data">;
|
|
39
39
|
/**
|
|
40
40
|
* Lists instances of a particular service resource running in a workspace.
|
|
@@ -42,8 +42,8 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
42
42
|
allInstancesOfResource: import("../network/types.js").QueryObject<{
|
|
43
43
|
workspaceId: string;
|
|
44
44
|
resourceId: string;
|
|
45
|
-
pageToken?: string
|
|
46
|
-
search?: string
|
|
45
|
+
pageToken?: string;
|
|
46
|
+
search?: string;
|
|
47
47
|
}, import("../api/cloudServices.js").ManagedResourceList>;
|
|
48
48
|
/**
|
|
49
49
|
* Lists all managed services.
|
|
@@ -62,16 +62,16 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
62
62
|
*/
|
|
63
63
|
guardRails: import("../network/types.js").QueryObject<{
|
|
64
64
|
account: string;
|
|
65
|
-
workspace?: string
|
|
66
|
-
env?: string
|
|
65
|
+
workspace?: string;
|
|
66
|
+
env?: string;
|
|
67
67
|
}, import("../api/cloudServices.js").GroupedGuardrailResponse[]>;
|
|
68
68
|
/**
|
|
69
69
|
* Enables a Guard Rail in any level
|
|
70
70
|
*/
|
|
71
71
|
enableGuardRail: import("../network/types.js").MutationObject<{
|
|
72
72
|
account: string;
|
|
73
|
-
workspace?: string
|
|
74
|
-
env?: string
|
|
73
|
+
workspace?: string;
|
|
74
|
+
env?: string;
|
|
75
75
|
enable: boolean;
|
|
76
76
|
guardrailId: string;
|
|
77
77
|
}, unknown>;
|
|
@@ -83,7 +83,7 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
83
83
|
* Lists the filters related to the given type.
|
|
84
84
|
*/
|
|
85
85
|
costAllocationFilters: import("../network/types.js").QueryObject<{
|
|
86
|
-
$type: "
|
|
86
|
+
$type: "SUB_ACCOUNT_ID" | "REGION";
|
|
87
87
|
}, string[]>;
|
|
88
88
|
/**
|
|
89
89
|
* Gets a CSV file with the data of `costAllocation`.
|
|
@@ -105,7 +105,7 @@ declare class CloudServicesClient extends ReactQueryNetworkClient {
|
|
|
105
105
|
*/
|
|
106
106
|
billingAccounts: import("../network/types.js").QueryObject<{
|
|
107
107
|
stackSpotAccountId: string;
|
|
108
|
-
showDeleted?: boolean
|
|
108
|
+
showDeleted?: boolean;
|
|
109
109
|
}, BillingAccountSummaryResponse[]>;
|
|
110
110
|
}
|
|
111
111
|
export declare const cloudServicesClient: CloudServicesClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-services.d.ts","sourceRoot":"","sources":["../../src/client/cloud-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EACL,6BAA6B,EAI9B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,mBAAmB,EAAiD,MAAM,SAAS,CAAA;AAG3I,cAAM,mBAAoB,SAAQ,uBAAuB;;IAKvD,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlE;;OAEG;IACH,YAAY
|
|
1
|
+
{"version":3,"file":"cloud-services.d.ts","sourceRoot":"","sources":["../../src/client/cloud-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EACL,6BAA6B,EAI9B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;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