waldur-js-client 8.0.7-dev.34 → 8.0.7-dev.36

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/dist/sdk.gen.js CHANGED
@@ -21927,6 +21927,30 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
21927
21927
  }
21928
21928
  });
21929
21929
  };
21930
+ /**
21931
+ * Get offering resource and user state counters
21932
+ * Returns resource and offering-user counts grouped by state for the given offering.
21933
+ */
21934
+ export const marketplaceProviderOfferingsStateCountersRetrieve = (options) => {
21935
+ return (options.client ?? _heyApiClient).get({
21936
+ security: [
21937
+ {
21938
+ name: 'Authorization',
21939
+ type: 'apiKey'
21940
+ },
21941
+ {
21942
+ scheme: 'bearer',
21943
+ type: 'http'
21944
+ },
21945
+ {
21946
+ scheme: 'bearer',
21947
+ type: 'http'
21948
+ }
21949
+ ],
21950
+ url: '/api/marketplace-provider-offerings/{uuid}/state_counters/',
21951
+ ...options
21952
+ });
21953
+ };
21930
21954
  /**
21931
21955
  * Get offering statistics
21932
21956
  * Returns basic statistics for an offering, such as the number of active resources and customers.
@@ -21953,7 +21977,7 @@ export const marketplaceProviderOfferingsStatsRetrieve = (options) => {
21953
21977
  };
21954
21978
  /**
21955
21979
  * Switch billing mode for builtin components
21956
- * Switches all builtin components between monthly (LIMIT) and prepaid (ONE_TIME + is_prepaid) billing modes.
21980
+ * Switches all builtin components between monthly (LIMIT), prepaid (ONE_TIME + is_prepaid), and usage-based billing modes. Works for any offering type that has registered builtin components.
21957
21981
  */
21958
21982
  export const marketplaceProviderOfferingsSwitchBillingMode = (options) => {
21959
21983
  return (options.client ?? _heyApiClient).post({
@@ -37031,10 +37055,10 @@ export const openstackLoadbalancersDetachFloatingIp = (options) => {
37031
37055
  });
37032
37056
  };
37033
37057
  /**
37034
- * Update VIP security groups
37035
- * Update security groups on the load balancer VIP port.
37058
+ * Unlink load balancer
37059
+ * Delete the load balancer from the Waldur database without scheduling operations on the OpenStack backend and without checking resource state. Staff-only; intended for cleaning up records stuck in transitional states.
37036
37060
  */
37037
- export const openstackLoadbalancersUpdateVipSecurityGroups = (options) => {
37061
+ export const openstackLoadbalancersUnlink = (options) => {
37038
37062
  return (options.client ?? _heyApiClient).post({
37039
37063
  security: [
37040
37064
  {
@@ -37050,12 +37074,8 @@ export const openstackLoadbalancersUpdateVipSecurityGroups = (options) => {
37050
37074
  type: 'http'
37051
37075
  }
37052
37076
  ],
37053
- url: '/api/openstack-loadbalancers/{uuid}/update_vip_security_groups/',
37054
- ...options,
37055
- headers: {
37056
- 'Content-Type': 'application/json',
37057
- ...options.headers
37058
- }
37077
+ url: '/api/openstack-loadbalancers/{uuid}/unlink/',
37078
+ ...options
37059
37079
  });
37060
37080
  };
37061
37081
  export const openstackMarketplaceTenantsList = (options) => {