@stack-spot/portal-network 1.0.0-dev.1774882431676 → 1.0.0-dev.1775671719406

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/src/apis.json CHANGED
@@ -172,7 +172,7 @@
172
172
  "stg": "https://cloud-cloud-foundation-api.stg.stackspot.com",
173
173
  "prd": "https://cloud-cloud-foundation-api.prd.stackspot.com"
174
174
  },
175
- "docs": "/v3/api-docs/portal"
175
+ "docs": "/v3/api-docs"
176
176
  },
177
177
  "cloudRuntimes": {
178
178
  "url": {
@@ -1,4 +1,5 @@
1
1
  import { HttpError } from '@oazapfts/runtime'
2
+ import { getApiAddresses } from '../api-addresses'
2
3
  import {
3
4
  createBoundary,
4
5
  createBoundarySso,
@@ -25,6 +26,14 @@ import {
25
26
  deleteProject,
26
27
  deleteRole,
27
28
  deleteVpn,
29
+ fmsAssociateAdminAccountControllerCreate,
30
+ fmsAssociateAdminAccountControllerDelete,
31
+ fmsAssociateAdminAccountControllerGet,
32
+ fmsAssociateAdminAccountControllerList,
33
+ fmsPolicyControllerCreate,
34
+ fmsPolicyControllerDelete,
35
+ fmsPolicyControllerGet,
36
+ fmsPolicyControllerList,
28
37
  getBoundary,
29
38
  getBoundarySso,
30
39
  getCertificate,
@@ -32,6 +41,7 @@ import {
32
41
  getFolderTags,
33
42
  getFoundation,
34
43
  getNetwork,
44
+ getOidc,
35
45
  getProject,
36
46
  getRole,
37
47
  getServiceControlPolicy,
@@ -66,11 +76,10 @@ import {
66
76
  putVpnTags,
67
77
  } from '../api/cloudPlatform'
68
78
  import { DefaultAPIError } from '../error/DefaultAPIError'
79
+ import { scfDictionary } from '../error/dictionary/cloud-platform'
69
80
  import { StackspotAPIError } from '../error/StackspotAPIError'
70
81
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient'
71
82
  import { removeAuthorizationParam } from '../utils/remove-authorization-param'
72
- import { scfDictionary } from '../error/dictionary/cloud-platform'
73
- import { getApiAddresses } from '../api-addresses'
74
83
 
75
84
  class CloudPlatformClient extends ReactQueryNetworkClient {
76
85
  constructor() {
@@ -332,6 +341,50 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
332
341
  * Delete a role
333
342
  */
334
343
  deleteRole = this.mutation(removeAuthorizationParam(deleteRole))
344
+ /**
345
+ * Get Firewall Manager Policies by Foundation
346
+ */
347
+ getFirewallManagerPolicyByName =
348
+ this.query(removeAuthorizationParam(fmsPolicyControllerGet))
349
+ /**
350
+ * Delete Firewall Manager Policy
351
+ */
352
+ deleteFirewallManagerPolicy =
353
+ this.mutation(removeAuthorizationParam(fmsPolicyControllerDelete))
354
+ /**
355
+ * Get Firewall Manager Policies by Foundation
356
+ */
357
+ listFirewallManagerPolicies =
358
+ this.query(removeAuthorizationParam(fmsPolicyControllerList))
359
+ /**
360
+ * Create Firewall Manager Policy
361
+ */
362
+ createFirewallManagerPolicy =
363
+ this.mutation(removeAuthorizationParam(fmsPolicyControllerCreate))
364
+ /**
365
+ * Get Firewall Manager Associate Admin Account by name
366
+ */
367
+ getFirewallManagerAssociateAdminAccountByName =
368
+ this.query(removeAuthorizationParam(fmsAssociateAdminAccountControllerGet))
369
+ /**
370
+ * Delete Firewall Manager Associate Admin Account
371
+ */
372
+ deleteFirewallManagerAssociateAdminAccount =
373
+ this.mutation(removeAuthorizationParam(fmsAssociateAdminAccountControllerDelete))
374
+ /**
375
+ * Create Firewall Manager Associate Admin Account
376
+ */
377
+ createFirewallManagerAssociateAdminAccount =
378
+ this.mutation(removeAuthorizationParam(fmsAssociateAdminAccountControllerCreate))
379
+ /**
380
+ * Get Firewall Manager Associate Admin Account by name
381
+ */
382
+ listFirewallManagerAssociateAdminAccount =
383
+ this.query(removeAuthorizationParam(fmsAssociateAdminAccountControllerList))
384
+
385
+ getAuthUrl = this.query(removeAuthorizationParam(getOidc))
335
386
  }
336
387
 
388
+
389
+
337
390
  export const cloudPlatformClient = new CloudPlatformClient()