waldur-js-client 8.0.8-dev.13 → 8.0.8-dev.15
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/types.gen.d.ts +119 -3
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -2750,7 +2750,7 @@ export type CachedProjectStorageReport = {
|
|
|
2750
2750
|
month: number;
|
|
2751
2751
|
project_identifier: string;
|
|
2752
2752
|
resource: string;
|
|
2753
|
-
report:
|
|
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:
|
|
2762
|
+
report: ProjectUsageReport;
|
|
2763
2763
|
};
|
|
2764
2764
|
export type CallApplicantAttributeConfig = {
|
|
2765
2765
|
readonly uuid: string;
|
|
@@ -5895,6 +5895,58 @@ export type DailyOrderStats = {
|
|
|
5895
5895
|
[key: string]: number;
|
|
5896
5896
|
};
|
|
5897
5897
|
};
|
|
5898
|
+
export type DailyProjectUsageReport = {
|
|
5899
|
+
/**
|
|
5900
|
+
* local_username → Usage
|
|
5901
|
+
*/
|
|
5902
|
+
reports: {
|
|
5903
|
+
[key: string]: Usage;
|
|
5904
|
+
};
|
|
5905
|
+
/**
|
|
5906
|
+
* component_name → local_username → Usage. e.g. { "cpu": { "chris.aiproject": { "seconds": 41055 } } }
|
|
5907
|
+
*/
|
|
5908
|
+
components?: {
|
|
5909
|
+
[key: string]: {
|
|
5910
|
+
[key: string]: Usage;
|
|
5911
|
+
};
|
|
5912
|
+
};
|
|
5913
|
+
/**
|
|
5914
|
+
* local_username → job count
|
|
5915
|
+
*/
|
|
5916
|
+
user_job_counts?: {
|
|
5917
|
+
[key: string]: number;
|
|
5918
|
+
};
|
|
5919
|
+
/**
|
|
5920
|
+
* local_username → wait seconds
|
|
5921
|
+
*/
|
|
5922
|
+
user_wait_seconds?: {
|
|
5923
|
+
[key: string]: number;
|
|
5924
|
+
};
|
|
5925
|
+
num_jobs?: number;
|
|
5926
|
+
total_wait_seconds?: number;
|
|
5927
|
+
is_complete: boolean;
|
|
5928
|
+
};
|
|
5929
|
+
export type DailyStorageReport = {
|
|
5930
|
+
project: string;
|
|
5931
|
+
/**
|
|
5932
|
+
* RFC3339 timestamp
|
|
5933
|
+
*/
|
|
5934
|
+
generated_at: string;
|
|
5935
|
+
/**
|
|
5936
|
+
* Volume → Quota
|
|
5937
|
+
*/
|
|
5938
|
+
project_quotas: {
|
|
5939
|
+
[key: string]: OpenPortalQuota;
|
|
5940
|
+
};
|
|
5941
|
+
/**
|
|
5942
|
+
* UserIdentifier → (Volume → Quota)
|
|
5943
|
+
*/
|
|
5944
|
+
user_quotas: {
|
|
5945
|
+
[key: string]: {
|
|
5946
|
+
[key: string]: OpenPortalQuota;
|
|
5947
|
+
};
|
|
5948
|
+
};
|
|
5949
|
+
};
|
|
5898
5950
|
export type DataAccessSummary = {
|
|
5899
5951
|
total_administrative_access: number | null;
|
|
5900
5952
|
total_organizational_access: number;
|
|
@@ -12825,6 +12877,16 @@ export type OnboardingVerificationRequest = {
|
|
|
12825
12877
|
expires_at?: string | null;
|
|
12826
12878
|
};
|
|
12827
12879
|
export type OnboardingVerificationStatusEnum = 'pending' | 'verified' | 'failed' | 'escalated' | 'expired';
|
|
12880
|
+
export type OpenPortalQuota = {
|
|
12881
|
+
/**
|
|
12882
|
+
* Size limit. "unlimited" or a size string e.g. "1024.00 GB"
|
|
12883
|
+
*/
|
|
12884
|
+
limit: string;
|
|
12885
|
+
/**
|
|
12886
|
+
* Size usage e.g. "24.00 KB". Absent when the server has no usage data.
|
|
12887
|
+
*/
|
|
12888
|
+
usage?: string;
|
|
12889
|
+
};
|
|
12828
12890
|
export type OpenStackAllowedAddressPair = {
|
|
12829
12891
|
mac_address?: string;
|
|
12830
12892
|
};
|
|
@@ -18253,6 +18315,39 @@ export type ProjectServiceAccountRequest = {
|
|
|
18253
18315
|
preferred_identifier?: string;
|
|
18254
18316
|
project: string | null;
|
|
18255
18317
|
};
|
|
18318
|
+
export type ProjectStorageReport = {
|
|
18319
|
+
project: string;
|
|
18320
|
+
/**
|
|
18321
|
+
* RFC3339 timestamp
|
|
18322
|
+
*/
|
|
18323
|
+
generated_at: string;
|
|
18324
|
+
/**
|
|
18325
|
+
* Volume → Quota
|
|
18326
|
+
*/
|
|
18327
|
+
project_quotas: {
|
|
18328
|
+
[key: string]: OpenPortalQuota;
|
|
18329
|
+
};
|
|
18330
|
+
/**
|
|
18331
|
+
* UserIdentifier → (Volume → Quota)
|
|
18332
|
+
*/
|
|
18333
|
+
user_quotas: {
|
|
18334
|
+
[key: string]: {
|
|
18335
|
+
[key: string]: OpenPortalQuota;
|
|
18336
|
+
};
|
|
18337
|
+
};
|
|
18338
|
+
/**
|
|
18339
|
+
* UserIdentifier → local_username
|
|
18340
|
+
*/
|
|
18341
|
+
users: {
|
|
18342
|
+
[key: string]: string;
|
|
18343
|
+
};
|
|
18344
|
+
/**
|
|
18345
|
+
* "YYYY-MM-DD" → DailyStorageReportJson. Absent from JSON when there are no daily snapshots.
|
|
18346
|
+
*/
|
|
18347
|
+
daily_reports?: {
|
|
18348
|
+
[key: string]: DailyStorageReport;
|
|
18349
|
+
};
|
|
18350
|
+
};
|
|
18256
18351
|
export type ProjectTemplate = {
|
|
18257
18352
|
readonly uuid: string;
|
|
18258
18353
|
name: string;
|
|
@@ -18337,6 +18432,24 @@ export type ProjectType = {
|
|
|
18337
18432
|
name: string;
|
|
18338
18433
|
description?: string;
|
|
18339
18434
|
};
|
|
18435
|
+
export type ProjectUsageReport = {
|
|
18436
|
+
/**
|
|
18437
|
+
* ProjectIdentifier string e.g. "aiproject.brics"
|
|
18438
|
+
*/
|
|
18439
|
+
project: string;
|
|
18440
|
+
/**
|
|
18441
|
+
* "YYYY-MM-DD" → DailyProjectUsageReportJson
|
|
18442
|
+
*/
|
|
18443
|
+
reports: {
|
|
18444
|
+
[key: string]: DailyProjectUsageReport;
|
|
18445
|
+
};
|
|
18446
|
+
/**
|
|
18447
|
+
* UserIdentifier → local_username. e.g. { "chris.aiproject.brics": "chris.aiproject" }
|
|
18448
|
+
*/
|
|
18449
|
+
users: {
|
|
18450
|
+
[key: string]: string;
|
|
18451
|
+
};
|
|
18452
|
+
};
|
|
18340
18453
|
export type ProjectUser = {
|
|
18341
18454
|
readonly url: string;
|
|
18342
18455
|
readonly uuid: string;
|
|
@@ -24525,6 +24638,9 @@ export type UpdatePoolRequest = {
|
|
|
24525
24638
|
name: string;
|
|
24526
24639
|
};
|
|
24527
24640
|
export type UrgencyEnum = 'low' | 'medium' | 'high';
|
|
24641
|
+
export type Usage = {
|
|
24642
|
+
seconds: number;
|
|
24643
|
+
};
|
|
24528
24644
|
export type User = {
|
|
24529
24645
|
readonly url?: string;
|
|
24530
24646
|
readonly uuid?: string;
|
|
@@ -24754,7 +24870,7 @@ export type UserAgreementRequest = {
|
|
|
24754
24870
|
*/
|
|
24755
24871
|
language: string;
|
|
24756
24872
|
};
|
|
24757
|
-
export type UserAttributeEnum = 'username' | 'full_name' | 'email' | 'phone_number' | 'organization' | 'job_title' | 'affiliations' | 'gender' | 'personal_title' | 'birth_date' | 'place_of_birth' | 'country_of_residence' | 'nationality' | 'nationalities' | 'organization_country' | 'organization_type' | 'organization_registry_code' | 'eduperson_assurance' | 'civil_number' | 'identity_source';
|
|
24873
|
+
export type UserAttributeEnum = 'username' | 'first_name' | 'last_name' | 'full_name' | 'email' | 'phone_number' | 'organization' | 'job_title' | 'affiliations' | 'gender' | 'personal_title' | 'birth_date' | 'place_of_birth' | 'country_of_residence' | 'nationality' | 'nationalities' | 'organization_country' | 'organization_type' | 'organization_registry_code' | 'eduperson_assurance' | 'civil_number' | 'identity_source';
|
|
24758
24874
|
export type UserAuthMethodCount = {
|
|
24759
24875
|
/**
|
|
24760
24876
|
* Authentication method
|