waldur-js-client 8.0.8-dev.13 → 8.0.8-dev.14

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.
@@ -2750,7 +2750,7 @@ export type CachedProjectStorageReport = {
2750
2750
  month: number;
2751
2751
  project_identifier: string;
2752
2752
  resource: string;
2753
- report: unknown;
2753
+ report: ProjectStorageReport;
2754
2754
  };
2755
2755
  export type CachedProjectUsageReport = {
2756
2756
  readonly id: number;
@@ -2759,7 +2759,7 @@ export type CachedProjectUsageReport = {
2759
2759
  project_identifier: string;
2760
2760
  resource: string;
2761
2761
  is_complete?: boolean;
2762
- report: unknown;
2762
+ report: ProjectUsageReport;
2763
2763
  };
2764
2764
  export type CallApplicantAttributeConfig = {
2765
2765
  readonly uuid: string;
@@ -5895,6 +5895,37 @@ export type DailyOrderStats = {
5895
5895
  [key: string]: number;
5896
5896
  };
5897
5897
  };
5898
+ export type DailyProjectUsageReport = {
5899
+ reports: {
5900
+ [key: string]: Usage;
5901
+ };
5902
+ components?: {
5903
+ [key: string]: {
5904
+ [key: string]: Usage;
5905
+ };
5906
+ };
5907
+ user_job_counts?: {
5908
+ [key: string]: number;
5909
+ };
5910
+ user_wait_seconds?: {
5911
+ [key: string]: number;
5912
+ };
5913
+ num_jobs?: number;
5914
+ total_wait_seconds?: number;
5915
+ is_complete: boolean;
5916
+ };
5917
+ export type DailyStorageReport = {
5918
+ project: string;
5919
+ generated_at: string;
5920
+ project_quotas: {
5921
+ [key: string]: OpenPortalQuota;
5922
+ };
5923
+ user_quotas: {
5924
+ [key: string]: {
5925
+ [key: string]: OpenPortalQuota;
5926
+ };
5927
+ };
5928
+ };
5898
5929
  export type DataAccessSummary = {
5899
5930
  total_administrative_access: number | null;
5900
5931
  total_organizational_access: number;
@@ -12825,6 +12856,10 @@ export type OnboardingVerificationRequest = {
12825
12856
  expires_at?: string | null;
12826
12857
  };
12827
12858
  export type OnboardingVerificationStatusEnum = 'pending' | 'verified' | 'failed' | 'escalated' | 'expired';
12859
+ export type OpenPortalQuota = {
12860
+ limit: string;
12861
+ usage?: string;
12862
+ };
12828
12863
  export type OpenStackAllowedAddressPair = {
12829
12864
  mac_address?: string;
12830
12865
  };
@@ -18253,6 +18288,24 @@ export type ProjectServiceAccountRequest = {
18253
18288
  preferred_identifier?: string;
18254
18289
  project: string | null;
18255
18290
  };
18291
+ export type ProjectStorageReport = {
18292
+ project: string;
18293
+ generated_at: string;
18294
+ project_quotas: {
18295
+ [key: string]: OpenPortalQuota;
18296
+ };
18297
+ user_quotas: {
18298
+ [key: string]: {
18299
+ [key: string]: OpenPortalQuota;
18300
+ };
18301
+ };
18302
+ users: {
18303
+ [key: string]: string;
18304
+ };
18305
+ daily_reports?: {
18306
+ [key: string]: DailyStorageReport;
18307
+ };
18308
+ };
18256
18309
  export type ProjectTemplate = {
18257
18310
  readonly uuid: string;
18258
18311
  name: string;
@@ -18337,6 +18390,15 @@ export type ProjectType = {
18337
18390
  name: string;
18338
18391
  description?: string;
18339
18392
  };
18393
+ export type ProjectUsageReport = {
18394
+ project: string;
18395
+ reports: {
18396
+ [key: string]: DailyProjectUsageReport;
18397
+ };
18398
+ users: {
18399
+ [key: string]: string;
18400
+ };
18401
+ };
18340
18402
  export type ProjectUser = {
18341
18403
  readonly url: string;
18342
18404
  readonly uuid: string;
@@ -24525,6 +24587,9 @@ export type UpdatePoolRequest = {
24525
24587
  name: string;
24526
24588
  };
24527
24589
  export type UrgencyEnum = 'low' | 'medium' | 'high';
24590
+ export type Usage = {
24591
+ seconds: number;
24592
+ };
24528
24593
  export type User = {
24529
24594
  readonly url?: string;
24530
24595
  readonly uuid?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.8-dev.13",
3
+ "version": "8.0.8-dev.14",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",