waldur-js-client 8.0.8-dev.0 → 8.0.8-dev.10

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
@@ -1966,6 +1966,233 @@ export const adminArrowVendorOfferingMappingsVendorChoicesCount = (options) => {
1966
1966
  ...options
1967
1967
  });
1968
1968
  };
1969
+ export const affiliatedOrganizationsList = (options) => {
1970
+ return (options?.client ?? _heyApiClient).get({
1971
+ security: [
1972
+ {
1973
+ name: 'Authorization',
1974
+ type: 'apiKey'
1975
+ },
1976
+ {
1977
+ scheme: 'bearer',
1978
+ type: 'http'
1979
+ },
1980
+ {
1981
+ scheme: 'bearer',
1982
+ type: 'http'
1983
+ }
1984
+ ],
1985
+ url: '/api/affiliated-organizations/',
1986
+ ...options
1987
+ });
1988
+ };
1989
+ /**
1990
+ * Get number of items in the collection matching the request parameters.
1991
+ */
1992
+ export const affiliatedOrganizationsCount = (options) => {
1993
+ return (options?.client ?? _heyApiClient).head({
1994
+ security: [
1995
+ {
1996
+ name: 'Authorization',
1997
+ type: 'apiKey'
1998
+ },
1999
+ {
2000
+ scheme: 'bearer',
2001
+ type: 'http'
2002
+ },
2003
+ {
2004
+ scheme: 'bearer',
2005
+ type: 'http'
2006
+ }
2007
+ ],
2008
+ url: '/api/affiliated-organizations/',
2009
+ ...options
2010
+ });
2011
+ };
2012
+ export const affiliatedOrganizationsCreate = (options) => {
2013
+ return (options.client ?? _heyApiClient).post({
2014
+ security: [
2015
+ {
2016
+ name: 'Authorization',
2017
+ type: 'apiKey'
2018
+ },
2019
+ {
2020
+ scheme: 'bearer',
2021
+ type: 'http'
2022
+ },
2023
+ {
2024
+ scheme: 'bearer',
2025
+ type: 'http'
2026
+ }
2027
+ ],
2028
+ url: '/api/affiliated-organizations/',
2029
+ ...options,
2030
+ headers: {
2031
+ 'Content-Type': 'application/json',
2032
+ ...options.headers
2033
+ }
2034
+ });
2035
+ };
2036
+ export const affiliatedOrganizationsDestroy = (options) => {
2037
+ return (options.client ?? _heyApiClient).delete({
2038
+ security: [
2039
+ {
2040
+ name: 'Authorization',
2041
+ type: 'apiKey'
2042
+ },
2043
+ {
2044
+ scheme: 'bearer',
2045
+ type: 'http'
2046
+ },
2047
+ {
2048
+ scheme: 'bearer',
2049
+ type: 'http'
2050
+ }
2051
+ ],
2052
+ url: '/api/affiliated-organizations/{uuid}/',
2053
+ ...options
2054
+ });
2055
+ };
2056
+ export const affiliatedOrganizationsRetrieve = (options) => {
2057
+ return (options.client ?? _heyApiClient).get({
2058
+ security: [
2059
+ {
2060
+ name: 'Authorization',
2061
+ type: 'apiKey'
2062
+ },
2063
+ {
2064
+ scheme: 'bearer',
2065
+ type: 'http'
2066
+ },
2067
+ {
2068
+ scheme: 'bearer',
2069
+ type: 'http'
2070
+ }
2071
+ ],
2072
+ url: '/api/affiliated-organizations/{uuid}/',
2073
+ ...options
2074
+ });
2075
+ };
2076
+ export const affiliatedOrganizationsPartialUpdate = (options) => {
2077
+ return (options.client ?? _heyApiClient).patch({
2078
+ security: [
2079
+ {
2080
+ name: 'Authorization',
2081
+ type: 'apiKey'
2082
+ },
2083
+ {
2084
+ scheme: 'bearer',
2085
+ type: 'http'
2086
+ },
2087
+ {
2088
+ scheme: 'bearer',
2089
+ type: 'http'
2090
+ }
2091
+ ],
2092
+ url: '/api/affiliated-organizations/{uuid}/',
2093
+ ...options,
2094
+ headers: {
2095
+ 'Content-Type': 'application/json',
2096
+ ...options.headers
2097
+ }
2098
+ });
2099
+ };
2100
+ export const affiliatedOrganizationsUpdate = (options) => {
2101
+ return (options.client ?? _heyApiClient).put({
2102
+ security: [
2103
+ {
2104
+ name: 'Authorization',
2105
+ type: 'apiKey'
2106
+ },
2107
+ {
2108
+ scheme: 'bearer',
2109
+ type: 'http'
2110
+ },
2111
+ {
2112
+ scheme: 'bearer',
2113
+ type: 'http'
2114
+ }
2115
+ ],
2116
+ url: '/api/affiliated-organizations/{uuid}/',
2117
+ ...options,
2118
+ headers: {
2119
+ 'Content-Type': 'application/json',
2120
+ ...options.headers
2121
+ }
2122
+ });
2123
+ };
2124
+ /**
2125
+ * Get affiliated organization statistics
2126
+ * Returns permission-filtered statistics for this affiliated organization.
2127
+ */
2128
+ export const affiliatedOrganizationsStatsRetrieve = (options) => {
2129
+ return (options.client ?? _heyApiClient).get({
2130
+ security: [
2131
+ {
2132
+ name: 'Authorization',
2133
+ type: 'apiKey'
2134
+ },
2135
+ {
2136
+ scheme: 'bearer',
2137
+ type: 'http'
2138
+ },
2139
+ {
2140
+ scheme: 'bearer',
2141
+ type: 'http'
2142
+ }
2143
+ ],
2144
+ url: '/api/affiliated-organizations/{uuid}/stats/',
2145
+ ...options
2146
+ });
2147
+ };
2148
+ /**
2149
+ * Get affiliated organizations report
2150
+ * Staff-only report showing aggregated data for all affiliated organizations plus an unaffiliated row.
2151
+ */
2152
+ export const affiliatedOrganizationsReportList = (options) => {
2153
+ return (options?.client ?? _heyApiClient).get({
2154
+ security: [
2155
+ {
2156
+ name: 'Authorization',
2157
+ type: 'apiKey'
2158
+ },
2159
+ {
2160
+ scheme: 'bearer',
2161
+ type: 'http'
2162
+ },
2163
+ {
2164
+ scheme: 'bearer',
2165
+ type: 'http'
2166
+ }
2167
+ ],
2168
+ url: '/api/affiliated-organizations/report/',
2169
+ ...options
2170
+ });
2171
+ };
2172
+ /**
2173
+ * Get affiliated organizations report
2174
+ * Get number of items in the collection matching the request parameters.
2175
+ */
2176
+ export const affiliatedOrganizationsReportCount = (options) => {
2177
+ return (options?.client ?? _heyApiClient).head({
2178
+ security: [
2179
+ {
2180
+ name: 'Authorization',
2181
+ type: 'apiKey'
2182
+ },
2183
+ {
2184
+ scheme: 'bearer',
2185
+ type: 'http'
2186
+ },
2187
+ {
2188
+ scheme: 'bearer',
2189
+ type: 'http'
2190
+ }
2191
+ ],
2192
+ url: '/api/affiliated-organizations/report/',
2193
+ ...options
2194
+ });
2195
+ };
1969
2196
  export const assignmentBatchesList = (options) => {
1970
2197
  return (options?.client ?? _heyApiClient).get({
1971
2198
  security: [
@@ -16023,6 +16250,54 @@ export const marketplaceCategoryHelpArticlesUpdate = (options) => {
16023
16250
  }
16024
16251
  });
16025
16252
  };
16253
+ /**
16254
+ * List monthly component usage summaries globally
16255
+ * Returns paginated monthly component usage across all offerings and service providers. Results are automatically filtered by the user's permissions. Defaults to the current month if no time filters ('billing_period', 'start', 'end') are provided.
16256
+ */
16257
+ export const marketplaceComponentUsageMonthlyList = (options) => {
16258
+ return (options?.client ?? _heyApiClient).get({
16259
+ security: [
16260
+ {
16261
+ name: 'Authorization',
16262
+ type: 'apiKey'
16263
+ },
16264
+ {
16265
+ scheme: 'bearer',
16266
+ type: 'http'
16267
+ },
16268
+ {
16269
+ scheme: 'bearer',
16270
+ type: 'http'
16271
+ }
16272
+ ],
16273
+ url: '/api/marketplace-component-usage-monthly/',
16274
+ ...options
16275
+ });
16276
+ };
16277
+ /**
16278
+ * List monthly component usage summaries globally
16279
+ * Get number of items in the collection matching the request parameters.
16280
+ */
16281
+ export const marketplaceComponentUsageMonthlyCount = (options) => {
16282
+ return (options?.client ?? _heyApiClient).head({
16283
+ security: [
16284
+ {
16285
+ name: 'Authorization',
16286
+ type: 'apiKey'
16287
+ },
16288
+ {
16289
+ scheme: 'bearer',
16290
+ type: 'http'
16291
+ },
16292
+ {
16293
+ scheme: 'bearer',
16294
+ type: 'http'
16295
+ }
16296
+ ],
16297
+ url: '/api/marketplace-component-usage-monthly/',
16298
+ ...options
16299
+ });
16300
+ };
16026
16301
  /**
16027
16302
  * List component usage records
16028
16303
  * Returns a paginated list of component usage records for resources. This data is used for billing and usage tracking.
@@ -34680,6 +34955,34 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
34680
34955
  }
34681
34956
  });
34682
34957
  };
34958
+ /**
34959
+ * Update affiliated organizations for a project
34960
+ * Assigns a project to one or more affiliated organizations. Replaces the current set.
34961
+ */
34962
+ export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
34963
+ return (options.client ?? _heyApiClient).post({
34964
+ security: [
34965
+ {
34966
+ name: 'Authorization',
34967
+ type: 'apiKey'
34968
+ },
34969
+ {
34970
+ scheme: 'bearer',
34971
+ type: 'http'
34972
+ },
34973
+ {
34974
+ scheme: 'bearer',
34975
+ type: 'http'
34976
+ }
34977
+ ],
34978
+ url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
34979
+ ...options,
34980
+ headers: {
34981
+ 'Content-Type': 'application/json',
34982
+ ...options.headers
34983
+ }
34984
+ });
34985
+ };
34683
34986
  /**
34684
34987
  * Update a user's role expiration
34685
34988
  * Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
@@ -37150,6 +37453,34 @@ export const openstackLoadbalancersPull = (options) => {
37150
37453
  ...options
37151
37454
  });
37152
37455
  };
37456
+ /**
37457
+ * Set security groups on VIP port
37458
+ * Set security groups on the load balancer VIP port to control access.
37459
+ */
37460
+ export const openstackLoadbalancersSetSecurityGroups = (options) => {
37461
+ return (options.client ?? _heyApiClient).post({
37462
+ security: [
37463
+ {
37464
+ name: 'Authorization',
37465
+ type: 'apiKey'
37466
+ },
37467
+ {
37468
+ scheme: 'bearer',
37469
+ type: 'http'
37470
+ },
37471
+ {
37472
+ scheme: 'bearer',
37473
+ type: 'http'
37474
+ }
37475
+ ],
37476
+ url: '/api/openstack-loadbalancers/{uuid}/set_security_groups/',
37477
+ ...options,
37478
+ headers: {
37479
+ 'Content-Type': 'application/json',
37480
+ ...options.headers
37481
+ }
37482
+ });
37483
+ };
37153
37484
  /**
37154
37485
  * Unlink load balancer
37155
37486
  * 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.
@@ -43410,6 +43741,34 @@ export const projectsSyncUserRoles = (options) => {
43410
43741
  ...options
43411
43742
  });
43412
43743
  };
43744
+ /**
43745
+ * Update affiliated organizations for a project
43746
+ * Assigns a project to one or more affiliated organizations. Replaces the current set.
43747
+ */
43748
+ export const projectsUpdateAffiliatedOrganizations = (options) => {
43749
+ return (options.client ?? _heyApiClient).post({
43750
+ security: [
43751
+ {
43752
+ name: 'Authorization',
43753
+ type: 'apiKey'
43754
+ },
43755
+ {
43756
+ scheme: 'bearer',
43757
+ type: 'http'
43758
+ },
43759
+ {
43760
+ scheme: 'bearer',
43761
+ type: 'http'
43762
+ }
43763
+ ],
43764
+ url: '/api/projects/{uuid}/update_affiliated_organizations/',
43765
+ ...options,
43766
+ headers: {
43767
+ 'Content-Type': 'application/json',
43768
+ ...options.headers
43769
+ }
43770
+ });
43771
+ };
43413
43772
  /**
43414
43773
  * Update a user's role expiration
43415
43774
  * Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.