waldur-js-client 8.0.8 → 8.0.9-dev.1

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.
@@ -4638,6 +4638,7 @@ export type ConstanceSettings = {
4638
4638
  SHORT_PAGE_TITLE?: string;
4639
4639
  FULL_PAGE_TITLE?: string;
4640
4640
  PROJECT_END_DATE_MANDATORY?: boolean;
4641
+ AFFILIATION_REQUIRED_AT_PROJECT_CREATION?: boolean;
4641
4642
  ENABLE_ORDER_START_DATE?: boolean;
4642
4643
  BRAND_COLOR?: string;
4643
4644
  HERO_LINK_LABEL?: string;
@@ -4906,6 +4907,7 @@ export type ConstanceSettingsRequest = {
4906
4907
  SHORT_PAGE_TITLE?: string;
4907
4908
  FULL_PAGE_TITLE?: string;
4908
4909
  PROJECT_END_DATE_MANDATORY?: boolean;
4910
+ AFFILIATION_REQUIRED_AT_PROJECT_CREATION?: boolean;
4909
4911
  ENABLE_ORDER_START_DATE?: boolean;
4910
4912
  BRAND_COLOR?: string;
4911
4913
  HERO_LINK_LABEL?: string;
@@ -5618,6 +5620,10 @@ export type Customer = {
5618
5620
  * List of allowed identity sources (identity providers).
5619
5621
  */
5620
5622
  user_identity_sources?: unknown;
5623
+ /**
5624
+ * Affiliations offered to project creators of this organization.
5625
+ */
5626
+ readonly default_affiliations?: Array<AffiliatedOrganization>;
5621
5627
  name?: string;
5622
5628
  /**
5623
5629
  * URL-friendly identifier. Only editable by staff users.
@@ -5789,6 +5795,9 @@ export type CustomerCreditConsumption = {
5789
5795
  readonly date: string;
5790
5796
  readonly price: string;
5791
5797
  };
5798
+ export type CustomerDefaultAffiliationsUpdateRequest = {
5799
+ default_affiliations?: Array<string>;
5800
+ };
5792
5801
  export type CustomerDetails = {
5793
5802
  name?: string;
5794
5803
  address?: string;
@@ -12645,6 +12654,22 @@ export type OfferingThumbnailRequest = {
12645
12654
  thumbnail: Blob | File;
12646
12655
  };
12647
12656
  export type OfferingTypeEnum = 'Support.OfferingTemplate' | 'Marketplace.Booking' | 'Marketplace.Basic' | 'OpenStack.Tenant' | 'OpenStack.Instance' | 'OpenStack.Volume' | 'Marketplace.Rancher' | 'VMware.VirtualMachine' | 'Waldur.RemoteOffering' | 'Marketplace.Script' | 'SlurmInvoices.SlurmPackage' | 'Marketplace.Slurm';
12657
+ export type OfferingUsageByProject = {
12658
+ readonly offering_uuid: string;
12659
+ readonly offering_name: string;
12660
+ readonly type: string;
12661
+ readonly name: string;
12662
+ readonly measured_unit: string;
12663
+ readonly billing_type: string;
12664
+ readonly limit_period: string | null;
12665
+ readonly limit: number | null;
12666
+ readonly current_period_label: string;
12667
+ readonly current_period_start: string | null;
12668
+ readonly current_period_end: string | null;
12669
+ readonly today: string;
12670
+ readonly total_usage: number;
12671
+ readonly projects: Array<ProjectUsageEntry>;
12672
+ };
12648
12673
  export type OfferingUsagePolicy = {
12649
12674
  readonly uuid: string;
12650
12675
  readonly url: string;
@@ -12686,6 +12711,21 @@ export type OfferingUsagePolicyRequest = {
12686
12711
  component_limits_set: Array<NestedOfferingComponentLimitRequest>;
12687
12712
  period?: PolicyPeriodEnum;
12688
12713
  };
12714
+ export type OfferingUsageTimeseries = {
12715
+ readonly offering_uuid: string;
12716
+ readonly offering_name: string;
12717
+ readonly type: string;
12718
+ readonly name: string;
12719
+ readonly measured_unit: string;
12720
+ readonly billing_type: string;
12721
+ readonly limit_period: string | null;
12722
+ readonly limit: number | null;
12723
+ readonly current_period_label: string;
12724
+ readonly current_period_start: string | null;
12725
+ readonly current_period_end: string | null;
12726
+ readonly today: string;
12727
+ readonly buckets: Array<UsageTimeseriesBucket>;
12728
+ };
12689
12729
  export type OfferingUser = {
12690
12730
  readonly url?: string;
12691
12731
  readonly uuid?: string;
@@ -16862,6 +16902,7 @@ export type PatchedProjectRequest = {
16862
16902
  * List of allowed identity sources (identity providers).
16863
16903
  */
16864
16904
  user_identity_sources?: unknown;
16905
+ affiliation_uuid?: string | null;
16865
16906
  science_sub_domain?: string | null;
16866
16907
  };
16867
16908
  export type PatchedProjectServiceAccountRequest = {
@@ -18194,7 +18235,7 @@ export type Project = {
18194
18235
  * List of allowed identity sources (identity providers).
18195
18236
  */
18196
18237
  user_identity_sources?: unknown;
18197
- readonly affiliated_organizations?: Array<AffiliatedOrganization>;
18238
+ affiliation?: AffiliatedOrganization;
18198
18239
  science_sub_domain?: string | null;
18199
18240
  readonly science_sub_domain_name?: string;
18200
18241
  /**
@@ -18224,8 +18265,8 @@ export type ProjectAccountingSummary = {
18224
18265
  readonly total_spend: string;
18225
18266
  readonly current_month_spend: string;
18226
18267
  };
18227
- export type ProjectAffiliatedOrganizationsUpdateRequest = {
18228
- affiliated_organizations?: Array<string>;
18268
+ export type ProjectAffiliationUpdateRequest = {
18269
+ affiliation?: string | null;
18229
18270
  };
18230
18271
  export type ProjectAnswer = {
18231
18272
  readonly project_uuid: string;
@@ -18605,6 +18646,7 @@ export type ProjectRequest = {
18605
18646
  * List of allowed identity sources (identity providers).
18606
18647
  */
18607
18648
  user_identity_sources?: unknown;
18649
+ affiliation_uuid?: string | null;
18608
18650
  science_sub_domain?: string | null;
18609
18651
  };
18610
18652
  export type ProjectServiceAccount = {
@@ -18753,6 +18795,12 @@ export type ProjectType = {
18753
18795
  name: string;
18754
18796
  description?: string;
18755
18797
  };
18798
+ export type ProjectUsageEntry = {
18799
+ readonly project_uuid: string;
18800
+ readonly project_name: string;
18801
+ readonly usage: number;
18802
+ readonly buckets: Array<UsageTimeseriesBucket>;
18803
+ };
18756
18804
  export type ProjectUsageReport = {
18757
18805
  /**
18758
18806
  * ProjectIdentifier string e.g. "aiproject.brics"
@@ -25154,6 +25202,10 @@ export type UrgencyEnum = 'low' | 'medium' | 'high';
25154
25202
  export type Usage = {
25155
25203
  seconds: number;
25156
25204
  };
25205
+ export type UsageTimeseriesBucket = {
25206
+ readonly billing_period: string;
25207
+ readonly usage: number;
25208
+ };
25157
25209
  export type User = {
25158
25210
  readonly url?: string;
25159
25211
  readonly uuid?: string;
@@ -27234,6 +27286,7 @@ export type ProjectRequestForm = {
27234
27286
  * List of allowed identity sources (identity providers).
27235
27287
  */
27236
27288
  user_identity_sources?: unknown;
27289
+ affiliation_uuid?: string | null;
27237
27290
  science_sub_domain?: string | null;
27238
27291
  };
27239
27292
  export type ProjectRequestMultipart = {
@@ -27284,6 +27337,7 @@ export type ProjectRequestMultipart = {
27284
27337
  * List of allowed identity sources (identity providers).
27285
27338
  */
27286
27339
  user_identity_sources?: unknown;
27340
+ affiliation_uuid?: string | null;
27287
27341
  science_sub_domain?: string | null;
27288
27342
  };
27289
27343
  export type PatchedProjectRequestForm = {
@@ -27334,6 +27388,7 @@ export type PatchedProjectRequestForm = {
27334
27388
  * List of allowed identity sources (identity providers).
27335
27389
  */
27336
27390
  user_identity_sources?: unknown;
27391
+ affiliation_uuid?: string | null;
27337
27392
  science_sub_domain?: string | null;
27338
27393
  };
27339
27394
  export type PatchedProjectRequestMultipart = {
@@ -27384,6 +27439,7 @@ export type PatchedProjectRequestMultipart = {
27384
27439
  * List of allowed identity sources (identity providers).
27385
27440
  */
27386
27441
  user_identity_sources?: unknown;
27442
+ affiliation_uuid?: string | null;
27387
27443
  science_sub_domain?: string | null;
27388
27444
  };
27389
27445
  export type ConstanceSettingsRequestForm = {
@@ -27429,6 +27485,7 @@ export type ConstanceSettingsRequestForm = {
27429
27485
  SHORT_PAGE_TITLE?: string;
27430
27486
  FULL_PAGE_TITLE?: string;
27431
27487
  PROJECT_END_DATE_MANDATORY?: boolean;
27488
+ AFFILIATION_REQUIRED_AT_PROJECT_CREATION?: boolean;
27432
27489
  ENABLE_ORDER_START_DATE?: boolean;
27433
27490
  BRAND_COLOR?: string;
27434
27491
  HERO_LINK_LABEL?: string;
@@ -27697,6 +27754,7 @@ export type ConstanceSettingsRequestMultipart = {
27697
27754
  SHORT_PAGE_TITLE?: string;
27698
27755
  FULL_PAGE_TITLE?: string;
27699
27756
  PROJECT_END_DATE_MANDATORY?: boolean;
27757
+ AFFILIATION_REQUIRED_AT_PROJECT_CREATION?: boolean;
27700
27758
  ENABLE_ORDER_START_DATE?: boolean;
27701
27759
  BRAND_COLOR?: string;
27702
27760
  HERO_LINK_LABEL?: string;
@@ -28387,7 +28445,7 @@ export type ConflictOfInterestOEnum = '-created' | '-detected_at' | '-severity'
28387
28445
  export type CustomerCreditOEnum = '-customer_name' | '-end_date' | '-expected_consumption' | '-value' | 'customer_name' | 'end_date' | 'expected_consumption' | 'value';
28388
28446
  export type CustomerPermissionReviewOEnum = '-closed' | '-created' | 'closed' | 'created';
28389
28447
  export type CustomerQuotasQuotaNameEnum = 'estimated_price' | 'nc_resource_count' | 'os_cpu_count' | 'os_ram_size' | 'os_storage_size' | 'vpc_cpu_count' | 'vpc_floating_ip_count' | 'vpc_instance_count' | 'vpc_ram_size' | 'vpc_storage_size';
28390
- export type CustomerFieldEnum = 'abbreviation' | 'access_subnets' | 'accounting_start_date' | 'address' | 'agreement_number' | 'apartment_nr' | 'archived' | 'backend_id' | 'bank_account' | 'bank_name' | 'billing_price_estimate' | 'blocked' | 'call_managing_organization_uuid' | 'city' | 'contact_details' | 'country' | 'country_name' | 'created' | 'customer_credit' | 'customer_unallocated_credit' | 'default_tax_percent' | 'description' | 'display_billing_info_in_projects' | 'display_name' | 'domain' | 'email' | 'grace_period_days' | 'homepage' | 'house_nr' | 'household' | 'image' | 'is_service_provider' | 'latitude' | 'longitude' | 'max_service_accounts' | 'name' | 'native_name' | 'notification_emails' | 'organization_groups' | 'parish' | 'payment_profiles' | 'phone_number' | 'postal' | 'project_metadata_checklist' | 'project_slug_template' | 'projects_count' | 'registration_code' | 'service_provider' | 'service_provider_uuid' | 'slug' | 'sponsor_number' | 'state' | 'street' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'users_count' | 'uuid' | 'vat_code';
28448
+ export type CustomerFieldEnum = 'abbreviation' | 'access_subnets' | 'accounting_start_date' | 'address' | 'agreement_number' | 'apartment_nr' | 'archived' | 'backend_id' | 'bank_account' | 'bank_name' | 'billing_price_estimate' | 'blocked' | 'call_managing_organization_uuid' | 'city' | 'contact_details' | 'country' | 'country_name' | 'created' | 'customer_credit' | 'customer_unallocated_credit' | 'default_affiliations' | 'default_tax_percent' | 'description' | 'display_billing_info_in_projects' | 'display_name' | 'domain' | 'email' | 'grace_period_days' | 'homepage' | 'house_nr' | 'household' | 'image' | 'is_service_provider' | 'latitude' | 'longitude' | 'max_service_accounts' | 'name' | 'native_name' | 'notification_emails' | 'organization_groups' | 'parish' | 'payment_profiles' | 'phone_number' | 'postal' | 'project_metadata_checklist' | 'project_slug_template' | 'projects_count' | 'registration_code' | 'service_provider' | 'service_provider_uuid' | 'slug' | 'sponsor_number' | 'state' | 'street' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'users_count' | 'uuid' | 'vat_code';
28391
28449
  export type CustomerUserFieldEnum = 'email' | 'expiration_time' | 'full_name' | 'image' | 'projects' | 'role_name' | 'url' | 'username' | 'uuid';
28392
28450
  export type CustomerUserOEnum = 'concatenated_name' | '-concatenated_name';
28393
28451
  export type GlobalUserDataAccessLogOEnum = '-accessor_type' | '-accessor_username' | '-timestamp' | '-user_username' | 'accessor_type' | 'accessor_username' | 'timestamp' | 'user_username';
@@ -28430,7 +28488,7 @@ export type RemoteProjectUpdateRequestStateEnum = 'approved' | 'canceled' | 'dra
28430
28488
  export type ProviderOfferingDetailsFieldEnum = 'access_url' | 'attributes' | 'backend_id' | 'backend_id_rules' | 'backend_metadata' | 'billable' | 'billing_type_classification' | 'category' | 'category_title' | 'category_uuid' | 'citation_count' | 'compliance_checklist' | 'components' | 'country' | 'created' | 'customer' | 'customer_name' | 'customer_uuid' | 'datacite_doi' | 'description' | 'documentation_url' | 'effective_available_limits' | 'endpoints' | 'files' | 'full_description' | 'getting_started' | 'google_calendar_is_public' | 'google_calendar_link' | 'has_compliance_requirements' | 'helpdesk_url' | 'image' | 'integration_guide' | 'integration_status' | 'latitude' | 'longitude' | 'name' | 'options' | 'order_count' | 'organization_groups' | 'parent_description' | 'parent_name' | 'parent_uuid' | 'partitions' | 'paused_reason' | 'plans' | 'plugin_options' | 'privacy_policy_link' | 'profile_name' | 'profile_uuid' | 'project' | 'project_name' | 'project_uuid' | 'quotas' | 'resource_options' | 'scope' | 'scope_error_message' | 'scope_name' | 'scope_state' | 'scope_uuid' | 'screenshots' | 'secret_options' | 'service_attributes' | 'shared' | 'slug' | 'software_catalogs' | 'state' | 'tags' | 'thumbnail' | 'total_cost' | 'total_cost_estimated' | 'total_customers' | 'type' | 'url' | 'uuid' | 'vendor_details';
28431
28489
  export type ProviderOfferingDetailsOEnum = '-created' | '-name' | '-state' | '-total_cost' | '-total_cost_estimated' | '-total_customers' | '-type' | 'created' | 'name' | 'state' | 'total_cost' | 'total_cost_estimated' | 'total_customers' | 'type';
28432
28490
  export type ProviderOfferingCustomerFieldEnum = 'abbreviation' | 'email' | 'name' | 'phone_number' | 'slug' | 'uuid';
28433
- export type ProjectFieldEnum = 'affiliated_organizations' | 'backend_id' | 'billing_price_estimate' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_display_billing_info_in_projects' | 'customer_grace_period_days' | 'customer_name' | 'customer_native_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'effective_end_date' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'grace_period_days' | 'image' | 'is_in_grace_period' | 'is_industry' | 'is_removed' | 'kind' | 'marketplace_resource_count' | 'max_service_accounts' | 'name' | 'oecd_fos_2007_code' | 'oecd_fos_2007_label' | 'project_credit' | 'resources_count' | 'science_domain_code' | 'science_domain_name' | 'science_domain_uuid' | 'science_sub_domain' | 'science_sub_domain_code' | 'science_sub_domain_name' | 'slug' | 'staff_notes' | 'start_date' | 'termination_metadata' | 'type' | 'type_name' | 'type_uuid' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'uuid';
28491
+ export type ProjectFieldEnum = 'affiliation' | 'affiliation_uuid' | 'backend_id' | 'billing_price_estimate' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_display_billing_info_in_projects' | 'customer_grace_period_days' | 'customer_name' | 'customer_native_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'effective_end_date' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'grace_period_days' | 'image' | 'is_in_grace_period' | 'is_industry' | 'is_removed' | 'kind' | 'marketplace_resource_count' | 'max_service_accounts' | 'name' | 'oecd_fos_2007_code' | 'oecd_fos_2007_label' | 'project_credit' | 'resources_count' | 'science_domain_code' | 'science_domain_name' | 'science_domain_uuid' | 'science_sub_domain' | 'science_sub_domain_code' | 'science_sub_domain_name' | 'slug' | 'staff_notes' | 'start_date' | 'termination_metadata' | 'type' | 'type_name' | 'type_uuid' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'uuid';
28434
28492
  export type UserFieldEnum = 'active_isds' | 'address' | 'affiliations' | 'agree_with_policy' | 'agreement_date' | 'attribute_sources' | 'birth_date' | 'civil_number' | 'country_of_residence' | 'date_joined' | 'deactivation_reason' | 'description' | 'eduperson_assurance' | 'email' | 'first_name' | 'full_name' | 'gender' | 'has_active_session' | 'has_usable_password' | 'identity_provider_fields' | 'identity_provider_label' | 'identity_provider_management_url' | 'identity_provider_name' | 'identity_source' | 'image' | 'ip_address' | 'is_active' | 'is_identity_manager' | 'is_staff' | 'is_support' | 'job_title' | 'last_name' | 'managed_isds' | 'nationalities' | 'nationality' | 'native_name' | 'notifications_enabled' | 'organization' | 'organization_country' | 'organization_registry_code' | 'organization_type' | 'permissions' | 'personal_title' | 'phone_number' | 'place_of_birth' | 'preferred_language' | 'registration_method' | 'requested_email' | 'slug' | 'token' | 'token_expires_at' | 'token_lifetime' | 'url' | 'username' | 'uuid';
28435
28493
  export type ResourceOEnum = '-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state';
28436
28494
  export type PublicOfferingDetailsFieldEnum = 'access_url' | 'attributes' | 'backend_id' | 'backend_metadata' | 'billable' | 'billing_type_classification' | 'category' | 'category_title' | 'category_uuid' | 'citation_count' | 'compliance_checklist' | 'components' | 'country' | 'created' | 'customer' | 'customer_name' | 'customer_uuid' | 'datacite_doi' | 'description' | 'documentation_url' | 'effective_available_limits' | 'endpoints' | 'files' | 'full_description' | 'getting_started' | 'google_calendar_is_public' | 'google_calendar_link' | 'has_compliance_requirements' | 'helpdesk_url' | 'image' | 'integration_guide' | 'is_accessible' | 'latitude' | 'longitude' | 'name' | 'options' | 'order_count' | 'organization_groups' | 'parent_description' | 'parent_name' | 'parent_uuid' | 'partitions' | 'paused_reason' | 'plans' | 'plugin_options' | 'privacy_policy_link' | 'profile_name' | 'profile_uuid' | 'project' | 'project_name' | 'project_uuid' | 'promotion_campaigns' | 'quotas' | 'resource_options' | 'scope' | 'scope_error_message' | 'scope_name' | 'scope_state' | 'scope_uuid' | 'screenshots' | 'secret_options' | 'service_attributes' | 'shared' | 'slug' | 'software_catalogs' | 'state' | 'tags' | 'thumbnail' | 'total_cost' | 'total_cost_estimated' | 'total_customers' | 'type' | 'url' | 'user_has_consent' | 'uuid' | 'vendor_details';
@@ -29941,6 +29999,10 @@ export type AffiliatedOrganizationsListData = {
29941
29999
  * Country
29942
30000
  */
29943
30001
  country?: string;
30002
+ /**
30003
+ * Limit to a customer's default affiliation list
30004
+ */
30005
+ default_for_customer?: string;
29944
30006
  /**
29945
30007
  * Name
29946
30008
  */
@@ -29988,6 +30050,10 @@ export type AffiliatedOrganizationsCountData = {
29988
30050
  * Country
29989
30051
  */
29990
30052
  country?: string;
30053
+ /**
30054
+ * Limit to a customer's default affiliation list
30055
+ */
30056
+ default_for_customer?: string;
29991
30057
  /**
29992
30058
  * Name
29993
30059
  */
@@ -30110,6 +30176,10 @@ export type AffiliatedOrganizationsReportListData = {
30110
30176
  * Country
30111
30177
  */
30112
30178
  country?: string;
30179
+ /**
30180
+ * Limit to a customer's default affiliation list
30181
+ */
30182
+ default_for_customer?: string;
30113
30183
  /**
30114
30184
  * Name
30115
30185
  */
@@ -30157,6 +30227,10 @@ export type AffiliatedOrganizationsReportCountData = {
30157
30227
  * Country
30158
30228
  */
30159
30229
  country?: string;
30230
+ /**
30231
+ * Limit to a customer's default affiliation list
30232
+ */
30233
+ default_for_customer?: string;
30160
30234
  /**
30161
30235
  * Name
30162
30236
  */
@@ -37303,18 +37377,6 @@ export type CustomersAddUserResponses = {
37303
37377
  201: UserRoleExpirationTime;
37304
37378
  };
37305
37379
  export type CustomersAddUserResponse = CustomersAddUserResponses[keyof CustomersAddUserResponses];
37306
- export type CustomersComponentsUsageRetrieveData = {
37307
- body?: never;
37308
- path: {
37309
- uuid: string;
37310
- };
37311
- query?: never;
37312
- url: '/api/customers/{uuid}/components-usage/';
37313
- };
37314
- export type CustomersComponentsUsageRetrieveResponses = {
37315
- 200: ComponentsUsageStatsPerOffering;
37316
- };
37317
- export type CustomersComponentsUsageRetrieveResponse = CustomersComponentsUsageRetrieveResponses[keyof CustomersComponentsUsageRetrieveResponses];
37318
37380
  export type CustomersContactData = {
37319
37381
  body?: CustomerContactUpdateRequest;
37320
37382
  path: {
@@ -37612,6 +37674,20 @@ export type CustomersUpdateProjectDigestConfigUpdateResponses = {
37612
37674
  200: ProjectDigestConfig;
37613
37675
  };
37614
37676
  export type CustomersUpdateProjectDigestConfigUpdateResponse = CustomersUpdateProjectDigestConfigUpdateResponses[keyof CustomersUpdateProjectDigestConfigUpdateResponses];
37677
+ export type CustomersUpdateDefaultAffiliationsData = {
37678
+ body?: CustomerDefaultAffiliationsUpdateRequest;
37679
+ path: {
37680
+ uuid: string;
37681
+ };
37682
+ query?: never;
37683
+ url: '/api/customers/{uuid}/update_default_affiliations/';
37684
+ };
37685
+ export type CustomersUpdateDefaultAffiliationsResponses = {
37686
+ /**
37687
+ * No response body
37688
+ */
37689
+ 200: unknown;
37690
+ };
37615
37691
  export type CustomersUpdateOrganizationGroupsData = {
37616
37692
  body?: OrganizationGroupsRequest;
37617
37693
  path: {
@@ -44328,6 +44404,50 @@ export type MarketplaceCustomerServiceAccountsRotateApiKeyResponses = {
44328
44404
  200: CustomerServiceAccount;
44329
44405
  };
44330
44406
  export type MarketplaceCustomerServiceAccountsRotateApiKeyResponse = MarketplaceCustomerServiceAccountsRotateApiKeyResponses[keyof MarketplaceCustomerServiceAccountsRotateApiKeyResponses];
44407
+ export type MarketplaceCustomerUsageComponentsUsageRetrieveData = {
44408
+ body?: never;
44409
+ path: {
44410
+ uuid: string;
44411
+ };
44412
+ query?: never;
44413
+ url: '/api/marketplace-customer-usage/{uuid}/components-usage/';
44414
+ };
44415
+ export type MarketplaceCustomerUsageComponentsUsageRetrieveResponses = {
44416
+ 200: ComponentsUsageStatsPerOffering;
44417
+ };
44418
+ export type MarketplaceCustomerUsageComponentsUsageRetrieveResponse = MarketplaceCustomerUsageComponentsUsageRetrieveResponses[keyof MarketplaceCustomerUsageComponentsUsageRetrieveResponses];
44419
+ export type MarketplaceCustomerUsageComponentsUsageByProjectRetrieveData = {
44420
+ body?: never;
44421
+ path: {
44422
+ uuid: string;
44423
+ };
44424
+ query: {
44425
+ component_type?: string;
44426
+ offering_uuid: string;
44427
+ period_offset?: number;
44428
+ };
44429
+ url: '/api/marketplace-customer-usage/{uuid}/components-usage-by-project/';
44430
+ };
44431
+ export type MarketplaceCustomerUsageComponentsUsageByProjectRetrieveResponses = {
44432
+ 200: OfferingUsageByProject;
44433
+ };
44434
+ export type MarketplaceCustomerUsageComponentsUsageByProjectRetrieveResponse = MarketplaceCustomerUsageComponentsUsageByProjectRetrieveResponses[keyof MarketplaceCustomerUsageComponentsUsageByProjectRetrieveResponses];
44435
+ export type MarketplaceCustomerUsageComponentsUsageTimeseriesRetrieveData = {
44436
+ body?: never;
44437
+ path: {
44438
+ uuid: string;
44439
+ };
44440
+ query: {
44441
+ component_type?: string;
44442
+ offering_uuid: string;
44443
+ period_offset?: number;
44444
+ };
44445
+ url: '/api/marketplace-customer-usage/{uuid}/components-usage-timeseries/';
44446
+ };
44447
+ export type MarketplaceCustomerUsageComponentsUsageTimeseriesRetrieveResponses = {
44448
+ 200: OfferingUsageTimeseries;
44449
+ };
44450
+ export type MarketplaceCustomerUsageComponentsUsageTimeseriesRetrieveResponse = MarketplaceCustomerUsageComponentsUsageTimeseriesRetrieveResponses[keyof MarketplaceCustomerUsageComponentsUsageTimeseriesRetrieveResponses];
44331
44451
  export type MarketplaceDemoPresetsInfoRetrieveData = {
44332
44452
  body?: never;
44333
44453
  path: {
@@ -47785,6 +47905,34 @@ export type MarketplaceProjectUpdateRequestsRejectResponses = {
47785
47905
  */
47786
47906
  200: unknown;
47787
47907
  };
47908
+ export type MarketplaceProjectUsageComponentsUsageRetrieveData = {
47909
+ body?: never;
47910
+ path: {
47911
+ uuid: string;
47912
+ };
47913
+ query?: never;
47914
+ url: '/api/marketplace-project-usage/{uuid}/components-usage/';
47915
+ };
47916
+ export type MarketplaceProjectUsageComponentsUsageRetrieveResponses = {
47917
+ 200: ComponentsUsageStatsPerOffering;
47918
+ };
47919
+ export type MarketplaceProjectUsageComponentsUsageRetrieveResponse = MarketplaceProjectUsageComponentsUsageRetrieveResponses[keyof MarketplaceProjectUsageComponentsUsageRetrieveResponses];
47920
+ export type MarketplaceProjectUsageComponentsUsageTimeseriesRetrieveData = {
47921
+ body?: never;
47922
+ path: {
47923
+ uuid: string;
47924
+ };
47925
+ query: {
47926
+ component_type?: string;
47927
+ offering_uuid: string;
47928
+ period_offset?: number;
47929
+ };
47930
+ url: '/api/marketplace-project-usage/{uuid}/components-usage-timeseries/';
47931
+ };
47932
+ export type MarketplaceProjectUsageComponentsUsageTimeseriesRetrieveResponses = {
47933
+ 200: OfferingUsageTimeseries;
47934
+ };
47935
+ export type MarketplaceProjectUsageComponentsUsageTimeseriesRetrieveResponse = MarketplaceProjectUsageComponentsUsageTimeseriesRetrieveResponses[keyof MarketplaceProjectUsageComponentsUsageTimeseriesRetrieveResponses];
47788
47936
  export type MarketplaceProviderOfferingsListData = {
47789
47937
  body?: never;
47790
47938
  path?: never;
@@ -55179,13 +55327,13 @@ export type MarketplaceServiceProvidersCustomerProjectsListData = {
55179
55327
  };
55180
55328
  query: {
55181
55329
  /**
55182
- * Affiliated organization name
55330
+ * Affiliation name
55183
55331
  */
55184
- affiliated_organization_name?: string;
55332
+ affiliation_name?: string;
55185
55333
  /**
55186
- * Affiliated organization UUID
55334
+ * Affiliation UUID
55187
55335
  */
55188
- affiliated_organization_uuid?: Array<string>;
55336
+ affiliation_uuid?: Array<string>;
55189
55337
  backend_id?: string;
55190
55338
  /**
55191
55339
  * Return a list of projects where current user is admin.
@@ -55229,9 +55377,9 @@ export type MarketplaceServiceProvidersCustomerProjectsListData = {
55229
55377
  description?: string;
55230
55378
  field?: Array<MarketplaceProviderCustomerProjectFieldEnum>;
55231
55379
  /**
55232
- * Filter projects that have at least one affiliated organization.
55380
+ * Filter projects that have an affiliation.
55233
55381
  */
55234
- has_affiliated_organization?: boolean;
55382
+ has_affiliation?: boolean;
55235
55383
  /**
55236
55384
  * Is removed
55237
55385
  */
@@ -55733,13 +55881,13 @@ export type MarketplaceServiceProvidersProjectsListData = {
55733
55881
  };
55734
55882
  query?: {
55735
55883
  /**
55736
- * Affiliated organization name
55884
+ * Affiliation name
55737
55885
  */
55738
- affiliated_organization_name?: string;
55886
+ affiliation_name?: string;
55739
55887
  /**
55740
- * Affiliated organization UUID
55888
+ * Affiliation UUID
55741
55889
  */
55742
- affiliated_organization_uuid?: Array<string>;
55890
+ affiliation_uuid?: Array<string>;
55743
55891
  backend_id?: string;
55744
55892
  /**
55745
55893
  * Return a list of projects where current user is admin.
@@ -55783,9 +55931,9 @@ export type MarketplaceServiceProvidersProjectsListData = {
55783
55931
  description?: string;
55784
55932
  field?: Array<ProjectFieldEnum>;
55785
55933
  /**
55786
- * Filter projects that have at least one affiliated organization.
55934
+ * Filter projects that have an affiliation.
55787
55935
  */
55788
- has_affiliated_organization?: boolean;
55936
+ has_affiliation?: boolean;
55789
55937
  /**
55790
55938
  * Is removed
55791
55939
  */
@@ -62775,13 +62923,13 @@ export type OpenportalUnmanagedProjectsListData = {
62775
62923
  */
62776
62924
  accounting_is_running?: boolean;
62777
62925
  /**
62778
- * Affiliated organization name
62926
+ * Affiliation name
62779
62927
  */
62780
- affiliated_organization_name?: string;
62928
+ affiliation_name?: string;
62781
62929
  /**
62782
- * Affiliated organization UUID
62930
+ * Affiliation UUID
62783
62931
  */
62784
- affiliated_organization_uuid?: Array<string>;
62932
+ affiliation_uuid?: Array<string>;
62785
62933
  backend_id?: string;
62786
62934
  /**
62787
62935
  * Return a list of projects where current user is admin.
@@ -62825,9 +62973,9 @@ export type OpenportalUnmanagedProjectsListData = {
62825
62973
  description?: string;
62826
62974
  field?: Array<ProjectFieldEnum>;
62827
62975
  /**
62828
- * Filter projects that have at least one affiliated organization.
62976
+ * Filter projects that have an affiliation.
62829
62977
  */
62830
- has_affiliated_organization?: boolean;
62978
+ has_affiliation?: boolean;
62831
62979
  /**
62832
62980
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
62833
62981
  */
@@ -62906,13 +63054,13 @@ export type OpenportalUnmanagedProjectsCountData = {
62906
63054
  */
62907
63055
  accounting_is_running?: boolean;
62908
63056
  /**
62909
- * Affiliated organization name
63057
+ * Affiliation name
62910
63058
  */
62911
- affiliated_organization_name?: string;
63059
+ affiliation_name?: string;
62912
63060
  /**
62913
- * Affiliated organization UUID
63061
+ * Affiliation UUID
62914
63062
  */
62915
- affiliated_organization_uuid?: Array<string>;
63063
+ affiliation_uuid?: Array<string>;
62916
63064
  backend_id?: string;
62917
63065
  /**
62918
63066
  * Return a list of projects where current user is admin.
@@ -62955,9 +63103,9 @@ export type OpenportalUnmanagedProjectsCountData = {
62955
63103
  */
62956
63104
  description?: string;
62957
63105
  /**
62958
- * Filter projects that have at least one affiliated organization.
63106
+ * Filter projects that have an affiliation.
62959
63107
  */
62960
- has_affiliated_organization?: boolean;
63108
+ has_affiliation?: boolean;
62961
63109
  /**
62962
63110
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
62963
63111
  */
@@ -63159,18 +63307,6 @@ export type OpenportalUnmanagedProjectsCompletionStatusRetrieveResponses = {
63159
63307
  200: ChecklistCompletion;
63160
63308
  };
63161
63309
  export type OpenportalUnmanagedProjectsCompletionStatusRetrieveResponse = OpenportalUnmanagedProjectsCompletionStatusRetrieveResponses[keyof OpenportalUnmanagedProjectsCompletionStatusRetrieveResponses];
63162
- export type OpenportalUnmanagedProjectsComponentsUsageRetrieveData = {
63163
- body?: never;
63164
- path: {
63165
- uuid: string;
63166
- };
63167
- query?: never;
63168
- url: '/api/openportal-unmanaged-projects/{uuid}/components-usage/';
63169
- };
63170
- export type OpenportalUnmanagedProjectsComponentsUsageRetrieveResponses = {
63171
- 200: ComponentsUsageStatsPerOffering;
63172
- };
63173
- export type OpenportalUnmanagedProjectsComponentsUsageRetrieveResponse = OpenportalUnmanagedProjectsComponentsUsageRetrieveResponses[keyof OpenportalUnmanagedProjectsComponentsUsageRetrieveResponses];
63174
63310
  export type OpenportalUnmanagedProjectsDeleteUserData = {
63175
63311
  body: UserRoleDeleteRequest;
63176
63312
  path: {
@@ -63309,15 +63445,15 @@ export type OpenportalUnmanagedProjectsSubmitAnswersResponses = {
63309
63445
  200: AnswerSubmitResponse;
63310
63446
  };
63311
63447
  export type OpenportalUnmanagedProjectsSubmitAnswersResponse = OpenportalUnmanagedProjectsSubmitAnswersResponses[keyof OpenportalUnmanagedProjectsSubmitAnswersResponses];
63312
- export type OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsData = {
63313
- body?: ProjectAffiliatedOrganizationsUpdateRequest;
63448
+ export type OpenportalUnmanagedProjectsUpdateAffiliationData = {
63449
+ body?: ProjectAffiliationUpdateRequest;
63314
63450
  path: {
63315
63451
  uuid: string;
63316
63452
  };
63317
63453
  query?: never;
63318
- url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/';
63454
+ url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliation/';
63319
63455
  };
63320
- export type OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsResponses = {
63456
+ export type OpenportalUnmanagedProjectsUpdateAffiliationResponses = {
63321
63457
  /**
63322
63458
  * No response body
63323
63459
  */
@@ -71761,13 +71897,13 @@ export type ProjectsListData = {
71761
71897
  */
71762
71898
  accounting_is_running?: boolean;
71763
71899
  /**
71764
- * Affiliated organization name
71900
+ * Affiliation name
71765
71901
  */
71766
- affiliated_organization_name?: string;
71902
+ affiliation_name?: string;
71767
71903
  /**
71768
- * Affiliated organization UUID
71904
+ * Affiliation UUID
71769
71905
  */
71770
- affiliated_organization_uuid?: Array<string>;
71906
+ affiliation_uuid?: Array<string>;
71771
71907
  backend_id?: string;
71772
71908
  /**
71773
71909
  * Return a list of projects where current user is admin.
@@ -71811,9 +71947,9 @@ export type ProjectsListData = {
71811
71947
  description?: string;
71812
71948
  field?: Array<ProjectFieldEnum>;
71813
71949
  /**
71814
- * Filter projects that have at least one affiliated organization.
71950
+ * Filter projects that have an affiliation.
71815
71951
  */
71816
- has_affiliated_organization?: boolean;
71952
+ has_affiliation?: boolean;
71817
71953
  /**
71818
71954
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
71819
71955
  */
@@ -71892,13 +72028,13 @@ export type ProjectsCountData = {
71892
72028
  */
71893
72029
  accounting_is_running?: boolean;
71894
72030
  /**
71895
- * Affiliated organization name
72031
+ * Affiliation name
71896
72032
  */
71897
- affiliated_organization_name?: string;
72033
+ affiliation_name?: string;
71898
72034
  /**
71899
- * Affiliated organization UUID
72035
+ * Affiliation UUID
71900
72036
  */
71901
- affiliated_organization_uuid?: Array<string>;
72037
+ affiliation_uuid?: Array<string>;
71902
72038
  backend_id?: string;
71903
72039
  /**
71904
72040
  * Return a list of projects where current user is admin.
@@ -71941,9 +72077,9 @@ export type ProjectsCountData = {
71941
72077
  */
71942
72078
  description?: string;
71943
72079
  /**
71944
- * Filter projects that have at least one affiliated organization.
72080
+ * Filter projects that have an affiliation.
71945
72081
  */
71946
- has_affiliated_organization?: boolean;
72082
+ has_affiliation?: boolean;
71947
72083
  /**
71948
72084
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
71949
72085
  */
@@ -72221,18 +72357,6 @@ export type ProjectsCompletionStatusRetrieveResponses = {
72221
72357
  200: ChecklistCompletion;
72222
72358
  };
72223
72359
  export type ProjectsCompletionStatusRetrieveResponse = ProjectsCompletionStatusRetrieveResponses[keyof ProjectsCompletionStatusRetrieveResponses];
72224
- export type ProjectsComponentsUsageRetrieveData = {
72225
- body?: never;
72226
- path: {
72227
- uuid: string;
72228
- };
72229
- query?: never;
72230
- url: '/api/projects/{uuid}/components-usage/';
72231
- };
72232
- export type ProjectsComponentsUsageRetrieveResponses = {
72233
- 200: ComponentsUsageStatsPerOffering;
72234
- };
72235
- export type ProjectsComponentsUsageRetrieveResponse = ProjectsComponentsUsageRetrieveResponses[keyof ProjectsComponentsUsageRetrieveResponses];
72236
72360
  export type ProjectsDeleteUserData = {
72237
72361
  body: UserRoleDeleteRequest;
72238
72362
  path: {
@@ -72385,15 +72509,15 @@ export type ProjectsSyncUserRolesResponses = {
72385
72509
  */
72386
72510
  200: unknown;
72387
72511
  };
72388
- export type ProjectsUpdateAffiliatedOrganizationsData = {
72389
- body?: ProjectAffiliatedOrganizationsUpdateRequest;
72512
+ export type ProjectsUpdateAffiliationData = {
72513
+ body?: ProjectAffiliationUpdateRequest;
72390
72514
  path: {
72391
72515
  uuid: string;
72392
72516
  };
72393
72517
  query?: never;
72394
- url: '/api/projects/{uuid}/update_affiliated_organizations/';
72518
+ url: '/api/projects/{uuid}/update_affiliation/';
72395
72519
  };
72396
- export type ProjectsUpdateAffiliatedOrganizationsResponses = {
72520
+ export type ProjectsUpdateAffiliationResponses = {
72397
72521
  /**
72398
72522
  * No response body
72399
72523
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.8",
3
+ "version": "8.0.9-dev.1",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",