waldur-js-client 7.9.9-dev.8 → 7.9.9

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
@@ -16137,6 +16137,46 @@ export const marketplaceProviderResourcesGlauthUsersConfigRetrieve = (options) =
16137
16137
  ...options
16138
16138
  });
16139
16139
  };
16140
+ /**
16141
+ * Get resource version history
16142
+ * Returns the version history of changes made to this resource. Only accessible by staff and support users.
16143
+ */
16144
+ export const marketplaceProviderResourcesHistoryList = (options) => {
16145
+ return (options.client ?? _heyApiClient).get({
16146
+ security: [
16147
+ {
16148
+ name: 'Authorization',
16149
+ type: 'apiKey'
16150
+ },
16151
+ {
16152
+ scheme: 'bearer',
16153
+ type: 'http'
16154
+ }
16155
+ ],
16156
+ url: '/api/marketplace-provider-resources/{uuid}/history/',
16157
+ ...options
16158
+ });
16159
+ };
16160
+ /**
16161
+ * Get resource state at a specific timestamp
16162
+ * Returns the state of the resource as it was at the specified timestamp. Only accessible by staff and support users.
16163
+ */
16164
+ export const marketplaceProviderResourcesHistoryAtRetrieve = (options) => {
16165
+ return (options.client ?? _heyApiClient).get({
16166
+ security: [
16167
+ {
16168
+ name: 'Authorization',
16169
+ type: 'apiKey'
16170
+ },
16171
+ {
16172
+ scheme: 'bearer',
16173
+ type: 'http'
16174
+ }
16175
+ ],
16176
+ url: '/api/marketplace-provider-resources/{uuid}/history/at/',
16177
+ ...options
16178
+ });
16179
+ };
16140
16180
  /**
16141
16181
  * Move a resource to another project
16142
16182
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -17267,6 +17307,46 @@ export const marketplaceResourcesGlauthUsersConfigRetrieve = (options) => {
17267
17307
  ...options
17268
17308
  });
17269
17309
  };
17310
+ /**
17311
+ * Get resource version history
17312
+ * Returns the version history of changes made to this resource. Only accessible by staff and support users.
17313
+ */
17314
+ export const marketplaceResourcesHistoryList = (options) => {
17315
+ return (options.client ?? _heyApiClient).get({
17316
+ security: [
17317
+ {
17318
+ name: 'Authorization',
17319
+ type: 'apiKey'
17320
+ },
17321
+ {
17322
+ scheme: 'bearer',
17323
+ type: 'http'
17324
+ }
17325
+ ],
17326
+ url: '/api/marketplace-resources/{uuid}/history/',
17327
+ ...options
17328
+ });
17329
+ };
17330
+ /**
17331
+ * Get resource state at a specific timestamp
17332
+ * Returns the state of the resource as it was at the specified timestamp. Only accessible by staff and support users.
17333
+ */
17334
+ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
17335
+ return (options.client ?? _heyApiClient).get({
17336
+ security: [
17337
+ {
17338
+ name: 'Authorization',
17339
+ type: 'apiKey'
17340
+ },
17341
+ {
17342
+ scheme: 'bearer',
17343
+ type: 'http'
17344
+ }
17345
+ ],
17346
+ url: '/api/marketplace-resources/{uuid}/history/at/',
17347
+ ...options
17348
+ });
17349
+ };
17270
17350
  /**
17271
17351
  * Move a resource to another project
17272
17352
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -18912,6 +18992,30 @@ export const marketplaceServiceProvidersDeleteUser = (options) => {
18912
18992
  }
18913
18993
  });
18914
18994
  };
18995
+ /**
18996
+ * Generate site agent configuration
18997
+ * Generates a YAML configuration file for waldur-site-agent based on selected SLURM offerings. The configuration includes offering details, components, backend settings, and optionally SLURM periodic usage policy settings. Secrets are shown as placeholders that need to be filled in.
18998
+ */
18999
+ export const marketplaceServiceProvidersGenerateSiteAgentConfig = (options) => {
19000
+ return (options.client ?? _heyApiClient).post({
19001
+ security: [
19002
+ {
19003
+ name: 'Authorization',
19004
+ type: 'apiKey'
19005
+ },
19006
+ {
19007
+ scheme: 'bearer',
19008
+ type: 'http'
19009
+ }
19010
+ ],
19011
+ url: '/api/marketplace-service-providers/{uuid}/generate_site_agent_config/',
19012
+ ...options,
19013
+ headers: {
19014
+ 'Content-Type': 'application/json',
19015
+ ...options.headers
19016
+ }
19017
+ });
19018
+ };
18915
19019
  /**
18916
19020
  * List users and their roles in a scope
18917
19021
  * Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
@@ -19672,6 +19776,29 @@ export const marketplaceSlurmPeriodicUsagePoliciesActionsCount = (options) => {
19672
19776
  ...options
19673
19777
  });
19674
19778
  };
19779
+ /**
19780
+ * Preview policy impact without saving. Returns threshold calculations, carryover projections, and QoS trigger points.
19781
+ */
19782
+ export const marketplaceSlurmPeriodicUsagePoliciesPreviewImpact = (options) => {
19783
+ return (options?.client ?? _heyApiClient).post({
19784
+ security: [
19785
+ {
19786
+ name: 'Authorization',
19787
+ type: 'apiKey'
19788
+ },
19789
+ {
19790
+ scheme: 'bearer',
19791
+ type: 'http'
19792
+ }
19793
+ ],
19794
+ url: '/api/marketplace-slurm-periodic-usage-policies/preview_impact/',
19795
+ ...options,
19796
+ headers: {
19797
+ 'Content-Type': 'application/json',
19798
+ ...options?.headers
19799
+ }
19800
+ });
19801
+ };
19675
19802
  /**
19676
19803
  * List software catalogs
19677
19804
  * Returns a paginated list of available software catalogs, such as EESSI or Spack.