waldur-js-client 8.0.9-dev.57 → 8.0.9-dev.58

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
@@ -12174,6 +12174,19 @@ export const marketplaceProviderOfferingsSync = (options) => (options.client ??
12174
12174
  url: '/api/marketplace-provider-offerings/{uuid}/sync/',
12175
12175
  ...options
12176
12176
  });
12177
+ /**
12178
+ * Synchronize offering resources
12179
+ *
12180
+ * Requests connected site agents to run a full reconciliation of all resources belonging to this offering: recreate missing backend accounts, restore user associations and re-apply resource limits. Useful when the provider backend has lost state, e.g. a wiped SLURM database.
12181
+ */
12182
+ export const marketplaceProviderOfferingsSyncResources = (options) => (options.client ?? client).post({
12183
+ security: [
12184
+ { name: 'Authorization', type: 'apiKey' },
12185
+ { scheme: 'bearer', type: 'http' }
12186
+ ],
12187
+ url: '/api/marketplace-provider-offerings/{uuid}/sync_resources/',
12188
+ ...options
12189
+ });
12177
12190
  /**
12178
12191
  * Get Terms of Service consent statistics
12179
12192
  *
@@ -12434,7 +12434,7 @@ export type NotificationTemplateUpdateSerializersRequest = {
12434
12434
  };
12435
12435
  export type NotifySystemEnum = 'AdminAnnouncement' | 'BroadcastMessage';
12436
12436
  export type NullEnum = never;
12437
- export type ObservableObjectTypeEnum = 'order' | 'user_role' | 'resource' | 'offering_user' | 'importable_resources' | 'service_account' | 'course_account' | 'resource_periodic_limits';
12437
+ export type ObservableObjectTypeEnum = 'order' | 'user_role' | 'resource' | 'offering_user' | 'importable_resources' | 'service_account' | 'course_account' | 'resource_periodic_limits' | 'offering_resources_sync';
12438
12438
  export type ObtainAuthTokenRequest = {
12439
12439
  /**
12440
12440
  * Username for authentication
@@ -52891,6 +52891,18 @@ export type MarketplaceProviderOfferingsSyncResponses = {
52891
52891
  */
52892
52892
  202: unknown;
52893
52893
  };
52894
+ export type MarketplaceProviderOfferingsSyncResourcesData = {
52895
+ body?: never;
52896
+ path: {
52897
+ uuid: string;
52898
+ };
52899
+ query?: never;
52900
+ url: '/api/marketplace-provider-offerings/{uuid}/sync_resources/';
52901
+ };
52902
+ export type MarketplaceProviderOfferingsSyncResourcesResponses = {
52903
+ 202: Status;
52904
+ };
52905
+ export type MarketplaceProviderOfferingsSyncResourcesResponse = MarketplaceProviderOfferingsSyncResourcesResponses[keyof MarketplaceProviderOfferingsSyncResourcesResponses];
52894
52906
  export type MarketplaceProviderOfferingsTosStatsRetrieveData = {
52895
52907
  body?: never;
52896
52908
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.57",
3
+ "version": "8.0.9-dev.58",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",