waldur-js-client 8.0.9-dev.0 → 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.
package/dist/sdk.gen.js CHANGED
@@ -10114,6 +10114,34 @@ export const customersUpdateProjectDigestConfigUpdate = (options) => {
10114
10114
  }
10115
10115
  });
10116
10116
  };
10117
+ /**
10118
+ * Update default affiliations for an organization
10119
+ * Replaces the organization's default affiliation list. Project creators in the organization will be limited to choosing from this list when affiliating a project. Staff-only.
10120
+ */
10121
+ export const customersUpdateDefaultAffiliations = (options) => {
10122
+ return (options.client ?? _heyApiClient).post({
10123
+ security: [
10124
+ {
10125
+ name: 'Authorization',
10126
+ type: 'apiKey'
10127
+ },
10128
+ {
10129
+ scheme: 'bearer',
10130
+ type: 'http'
10131
+ },
10132
+ {
10133
+ scheme: 'bearer',
10134
+ type: 'http'
10135
+ }
10136
+ ],
10137
+ url: '/api/customers/{uuid}/update_default_affiliations/',
10138
+ ...options,
10139
+ headers: {
10140
+ 'Content-Type': 'application/json',
10141
+ ...options.headers
10142
+ }
10143
+ });
10144
+ };
10117
10145
  /**
10118
10146
  * Update organization groups for a customer
10119
10147
  * Assigns a customer to one or more organization groups. This action is restricted to staff users.
@@ -36145,10 +36173,10 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
36145
36173
  });
36146
36174
  };
36147
36175
  /**
36148
- * Update affiliated organizations for a project
36149
- * Assigns a project to one or more affiliated organizations. Replaces the current set.
36176
+ * Update affiliation for a project
36177
+ * Assigns the project to a single affiliation (or clears it when null).
36150
36178
  */
36151
- export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
36179
+ export const openportalUnmanagedProjectsUpdateAffiliation = (options) => {
36152
36180
  return (options.client ?? _heyApiClient).post({
36153
36181
  security: [
36154
36182
  {
@@ -36164,7 +36192,7 @@ export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options
36164
36192
  type: 'http'
36165
36193
  }
36166
36194
  ],
36167
- url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
36195
+ url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliation/',
36168
36196
  ...options,
36169
36197
  headers: {
36170
36198
  'Content-Type': 'application/json',
@@ -45394,10 +45422,10 @@ export const projectsSyncUserRoles = (options) => {
45394
45422
  });
45395
45423
  };
45396
45424
  /**
45397
- * Update affiliated organizations for a project
45398
- * Assigns a project to one or more affiliated organizations. Replaces the current set.
45425
+ * Update affiliation for a project
45426
+ * Assigns the project to a single affiliation (or clears it when null).
45399
45427
  */
45400
- export const projectsUpdateAffiliatedOrganizations = (options) => {
45428
+ export const projectsUpdateAffiliation = (options) => {
45401
45429
  return (options.client ?? _heyApiClient).post({
45402
45430
  security: [
45403
45431
  {
@@ -45413,7 +45441,7 @@ export const projectsUpdateAffiliatedOrganizations = (options) => {
45413
45441
  type: 'http'
45414
45442
  }
45415
45443
  ],
45416
- url: '/api/projects/{uuid}/update_affiliated_organizations/',
45444
+ url: '/api/projects/{uuid}/update_affiliation/',
45417
45445
  ...options,
45418
45446
  headers: {
45419
45447
  'Content-Type': 'application/json',
@@ -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;
@@ -16893,6 +16902,7 @@ export type PatchedProjectRequest = {
16893
16902
  * List of allowed identity sources (identity providers).
16894
16903
  */
16895
16904
  user_identity_sources?: unknown;
16905
+ affiliation_uuid?: string | null;
16896
16906
  science_sub_domain?: string | null;
16897
16907
  };
16898
16908
  export type PatchedProjectServiceAccountRequest = {
@@ -18225,7 +18235,7 @@ export type Project = {
18225
18235
  * List of allowed identity sources (identity providers).
18226
18236
  */
18227
18237
  user_identity_sources?: unknown;
18228
- readonly affiliated_organizations?: Array<AffiliatedOrganization>;
18238
+ affiliation?: AffiliatedOrganization;
18229
18239
  science_sub_domain?: string | null;
18230
18240
  readonly science_sub_domain_name?: string;
18231
18241
  /**
@@ -18255,8 +18265,8 @@ export type ProjectAccountingSummary = {
18255
18265
  readonly total_spend: string;
18256
18266
  readonly current_month_spend: string;
18257
18267
  };
18258
- export type ProjectAffiliatedOrganizationsUpdateRequest = {
18259
- affiliated_organizations?: Array<string>;
18268
+ export type ProjectAffiliationUpdateRequest = {
18269
+ affiliation?: string | null;
18260
18270
  };
18261
18271
  export type ProjectAnswer = {
18262
18272
  readonly project_uuid: string;
@@ -18636,6 +18646,7 @@ export type ProjectRequest = {
18636
18646
  * List of allowed identity sources (identity providers).
18637
18647
  */
18638
18648
  user_identity_sources?: unknown;
18649
+ affiliation_uuid?: string | null;
18639
18650
  science_sub_domain?: string | null;
18640
18651
  };
18641
18652
  export type ProjectServiceAccount = {
@@ -27275,6 +27286,7 @@ export type ProjectRequestForm = {
27275
27286
  * List of allowed identity sources (identity providers).
27276
27287
  */
27277
27288
  user_identity_sources?: unknown;
27289
+ affiliation_uuid?: string | null;
27278
27290
  science_sub_domain?: string | null;
27279
27291
  };
27280
27292
  export type ProjectRequestMultipart = {
@@ -27325,6 +27337,7 @@ export type ProjectRequestMultipart = {
27325
27337
  * List of allowed identity sources (identity providers).
27326
27338
  */
27327
27339
  user_identity_sources?: unknown;
27340
+ affiliation_uuid?: string | null;
27328
27341
  science_sub_domain?: string | null;
27329
27342
  };
27330
27343
  export type PatchedProjectRequestForm = {
@@ -27375,6 +27388,7 @@ export type PatchedProjectRequestForm = {
27375
27388
  * List of allowed identity sources (identity providers).
27376
27389
  */
27377
27390
  user_identity_sources?: unknown;
27391
+ affiliation_uuid?: string | null;
27378
27392
  science_sub_domain?: string | null;
27379
27393
  };
27380
27394
  export type PatchedProjectRequestMultipart = {
@@ -27425,6 +27439,7 @@ export type PatchedProjectRequestMultipart = {
27425
27439
  * List of allowed identity sources (identity providers).
27426
27440
  */
27427
27441
  user_identity_sources?: unknown;
27442
+ affiliation_uuid?: string | null;
27428
27443
  science_sub_domain?: string | null;
27429
27444
  };
27430
27445
  export type ConstanceSettingsRequestForm = {
@@ -27470,6 +27485,7 @@ export type ConstanceSettingsRequestForm = {
27470
27485
  SHORT_PAGE_TITLE?: string;
27471
27486
  FULL_PAGE_TITLE?: string;
27472
27487
  PROJECT_END_DATE_MANDATORY?: boolean;
27488
+ AFFILIATION_REQUIRED_AT_PROJECT_CREATION?: boolean;
27473
27489
  ENABLE_ORDER_START_DATE?: boolean;
27474
27490
  BRAND_COLOR?: string;
27475
27491
  HERO_LINK_LABEL?: string;
@@ -27738,6 +27754,7 @@ export type ConstanceSettingsRequestMultipart = {
27738
27754
  SHORT_PAGE_TITLE?: string;
27739
27755
  FULL_PAGE_TITLE?: string;
27740
27756
  PROJECT_END_DATE_MANDATORY?: boolean;
27757
+ AFFILIATION_REQUIRED_AT_PROJECT_CREATION?: boolean;
27741
27758
  ENABLE_ORDER_START_DATE?: boolean;
27742
27759
  BRAND_COLOR?: string;
27743
27760
  HERO_LINK_LABEL?: string;
@@ -28428,7 +28445,7 @@ export type ConflictOfInterestOEnum = '-created' | '-detected_at' | '-severity'
28428
28445
  export type CustomerCreditOEnum = '-customer_name' | '-end_date' | '-expected_consumption' | '-value' | 'customer_name' | 'end_date' | 'expected_consumption' | 'value';
28429
28446
  export type CustomerPermissionReviewOEnum = '-closed' | '-created' | 'closed' | 'created';
28430
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';
28431
- 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';
28432
28449
  export type CustomerUserFieldEnum = 'email' | 'expiration_time' | 'full_name' | 'image' | 'projects' | 'role_name' | 'url' | 'username' | 'uuid';
28433
28450
  export type CustomerUserOEnum = 'concatenated_name' | '-concatenated_name';
28434
28451
  export type GlobalUserDataAccessLogOEnum = '-accessor_type' | '-accessor_username' | '-timestamp' | '-user_username' | 'accessor_type' | 'accessor_username' | 'timestamp' | 'user_username';
@@ -28471,7 +28488,7 @@ export type RemoteProjectUpdateRequestStateEnum = 'approved' | 'canceled' | 'dra
28471
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';
28472
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';
28473
28490
  export type ProviderOfferingCustomerFieldEnum = 'abbreviation' | 'email' | 'name' | 'phone_number' | 'slug' | 'uuid';
28474
- 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';
28475
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';
28476
28493
  export type ResourceOEnum = '-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state';
28477
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';
@@ -29982,6 +29999,10 @@ export type AffiliatedOrganizationsListData = {
29982
29999
  * Country
29983
30000
  */
29984
30001
  country?: string;
30002
+ /**
30003
+ * Limit to a customer's default affiliation list
30004
+ */
30005
+ default_for_customer?: string;
29985
30006
  /**
29986
30007
  * Name
29987
30008
  */
@@ -30029,6 +30050,10 @@ export type AffiliatedOrganizationsCountData = {
30029
30050
  * Country
30030
30051
  */
30031
30052
  country?: string;
30053
+ /**
30054
+ * Limit to a customer's default affiliation list
30055
+ */
30056
+ default_for_customer?: string;
30032
30057
  /**
30033
30058
  * Name
30034
30059
  */
@@ -30151,6 +30176,10 @@ export type AffiliatedOrganizationsReportListData = {
30151
30176
  * Country
30152
30177
  */
30153
30178
  country?: string;
30179
+ /**
30180
+ * Limit to a customer's default affiliation list
30181
+ */
30182
+ default_for_customer?: string;
30154
30183
  /**
30155
30184
  * Name
30156
30185
  */
@@ -30198,6 +30227,10 @@ export type AffiliatedOrganizationsReportCountData = {
30198
30227
  * Country
30199
30228
  */
30200
30229
  country?: string;
30230
+ /**
30231
+ * Limit to a customer's default affiliation list
30232
+ */
30233
+ default_for_customer?: string;
30201
30234
  /**
30202
30235
  * Name
30203
30236
  */
@@ -37641,6 +37674,20 @@ export type CustomersUpdateProjectDigestConfigUpdateResponses = {
37641
37674
  200: ProjectDigestConfig;
37642
37675
  };
37643
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
+ };
37644
37691
  export type CustomersUpdateOrganizationGroupsData = {
37645
37692
  body?: OrganizationGroupsRequest;
37646
37693
  path: {
@@ -55280,13 +55327,13 @@ export type MarketplaceServiceProvidersCustomerProjectsListData = {
55280
55327
  };
55281
55328
  query: {
55282
55329
  /**
55283
- * Affiliated organization name
55330
+ * Affiliation name
55284
55331
  */
55285
- affiliated_organization_name?: string;
55332
+ affiliation_name?: string;
55286
55333
  /**
55287
- * Affiliated organization UUID
55334
+ * Affiliation UUID
55288
55335
  */
55289
- affiliated_organization_uuid?: Array<string>;
55336
+ affiliation_uuid?: Array<string>;
55290
55337
  backend_id?: string;
55291
55338
  /**
55292
55339
  * Return a list of projects where current user is admin.
@@ -55330,9 +55377,9 @@ export type MarketplaceServiceProvidersCustomerProjectsListData = {
55330
55377
  description?: string;
55331
55378
  field?: Array<MarketplaceProviderCustomerProjectFieldEnum>;
55332
55379
  /**
55333
- * Filter projects that have at least one affiliated organization.
55380
+ * Filter projects that have an affiliation.
55334
55381
  */
55335
- has_affiliated_organization?: boolean;
55382
+ has_affiliation?: boolean;
55336
55383
  /**
55337
55384
  * Is removed
55338
55385
  */
@@ -55834,13 +55881,13 @@ export type MarketplaceServiceProvidersProjectsListData = {
55834
55881
  };
55835
55882
  query?: {
55836
55883
  /**
55837
- * Affiliated organization name
55884
+ * Affiliation name
55838
55885
  */
55839
- affiliated_organization_name?: string;
55886
+ affiliation_name?: string;
55840
55887
  /**
55841
- * Affiliated organization UUID
55888
+ * Affiliation UUID
55842
55889
  */
55843
- affiliated_organization_uuid?: Array<string>;
55890
+ affiliation_uuid?: Array<string>;
55844
55891
  backend_id?: string;
55845
55892
  /**
55846
55893
  * Return a list of projects where current user is admin.
@@ -55884,9 +55931,9 @@ export type MarketplaceServiceProvidersProjectsListData = {
55884
55931
  description?: string;
55885
55932
  field?: Array<ProjectFieldEnum>;
55886
55933
  /**
55887
- * Filter projects that have at least one affiliated organization.
55934
+ * Filter projects that have an affiliation.
55888
55935
  */
55889
- has_affiliated_organization?: boolean;
55936
+ has_affiliation?: boolean;
55890
55937
  /**
55891
55938
  * Is removed
55892
55939
  */
@@ -62876,13 +62923,13 @@ export type OpenportalUnmanagedProjectsListData = {
62876
62923
  */
62877
62924
  accounting_is_running?: boolean;
62878
62925
  /**
62879
- * Affiliated organization name
62926
+ * Affiliation name
62880
62927
  */
62881
- affiliated_organization_name?: string;
62928
+ affiliation_name?: string;
62882
62929
  /**
62883
- * Affiliated organization UUID
62930
+ * Affiliation UUID
62884
62931
  */
62885
- affiliated_organization_uuid?: Array<string>;
62932
+ affiliation_uuid?: Array<string>;
62886
62933
  backend_id?: string;
62887
62934
  /**
62888
62935
  * Return a list of projects where current user is admin.
@@ -62926,9 +62973,9 @@ export type OpenportalUnmanagedProjectsListData = {
62926
62973
  description?: string;
62927
62974
  field?: Array<ProjectFieldEnum>;
62928
62975
  /**
62929
- * Filter projects that have at least one affiliated organization.
62976
+ * Filter projects that have an affiliation.
62930
62977
  */
62931
- has_affiliated_organization?: boolean;
62978
+ has_affiliation?: boolean;
62932
62979
  /**
62933
62980
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
62934
62981
  */
@@ -63007,13 +63054,13 @@ export type OpenportalUnmanagedProjectsCountData = {
63007
63054
  */
63008
63055
  accounting_is_running?: boolean;
63009
63056
  /**
63010
- * Affiliated organization name
63057
+ * Affiliation name
63011
63058
  */
63012
- affiliated_organization_name?: string;
63059
+ affiliation_name?: string;
63013
63060
  /**
63014
- * Affiliated organization UUID
63061
+ * Affiliation UUID
63015
63062
  */
63016
- affiliated_organization_uuid?: Array<string>;
63063
+ affiliation_uuid?: Array<string>;
63017
63064
  backend_id?: string;
63018
63065
  /**
63019
63066
  * Return a list of projects where current user is admin.
@@ -63056,9 +63103,9 @@ export type OpenportalUnmanagedProjectsCountData = {
63056
63103
  */
63057
63104
  description?: string;
63058
63105
  /**
63059
- * Filter projects that have at least one affiliated organization.
63106
+ * Filter projects that have an affiliation.
63060
63107
  */
63061
- has_affiliated_organization?: boolean;
63108
+ has_affiliation?: boolean;
63062
63109
  /**
63063
63110
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
63064
63111
  */
@@ -63398,15 +63445,15 @@ export type OpenportalUnmanagedProjectsSubmitAnswersResponses = {
63398
63445
  200: AnswerSubmitResponse;
63399
63446
  };
63400
63447
  export type OpenportalUnmanagedProjectsSubmitAnswersResponse = OpenportalUnmanagedProjectsSubmitAnswersResponses[keyof OpenportalUnmanagedProjectsSubmitAnswersResponses];
63401
- export type OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsData = {
63402
- body?: ProjectAffiliatedOrganizationsUpdateRequest;
63448
+ export type OpenportalUnmanagedProjectsUpdateAffiliationData = {
63449
+ body?: ProjectAffiliationUpdateRequest;
63403
63450
  path: {
63404
63451
  uuid: string;
63405
63452
  };
63406
63453
  query?: never;
63407
- url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/';
63454
+ url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliation/';
63408
63455
  };
63409
- export type OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsResponses = {
63456
+ export type OpenportalUnmanagedProjectsUpdateAffiliationResponses = {
63410
63457
  /**
63411
63458
  * No response body
63412
63459
  */
@@ -71850,13 +71897,13 @@ export type ProjectsListData = {
71850
71897
  */
71851
71898
  accounting_is_running?: boolean;
71852
71899
  /**
71853
- * Affiliated organization name
71900
+ * Affiliation name
71854
71901
  */
71855
- affiliated_organization_name?: string;
71902
+ affiliation_name?: string;
71856
71903
  /**
71857
- * Affiliated organization UUID
71904
+ * Affiliation UUID
71858
71905
  */
71859
- affiliated_organization_uuid?: Array<string>;
71906
+ affiliation_uuid?: Array<string>;
71860
71907
  backend_id?: string;
71861
71908
  /**
71862
71909
  * Return a list of projects where current user is admin.
@@ -71900,9 +71947,9 @@ export type ProjectsListData = {
71900
71947
  description?: string;
71901
71948
  field?: Array<ProjectFieldEnum>;
71902
71949
  /**
71903
- * Filter projects that have at least one affiliated organization.
71950
+ * Filter projects that have an affiliation.
71904
71951
  */
71905
- has_affiliated_organization?: boolean;
71952
+ has_affiliation?: boolean;
71906
71953
  /**
71907
71954
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
71908
71955
  */
@@ -71981,13 +72028,13 @@ export type ProjectsCountData = {
71981
72028
  */
71982
72029
  accounting_is_running?: boolean;
71983
72030
  /**
71984
- * Affiliated organization name
72031
+ * Affiliation name
71985
72032
  */
71986
- affiliated_organization_name?: string;
72033
+ affiliation_name?: string;
71987
72034
  /**
71988
- * Affiliated organization UUID
72035
+ * Affiliation UUID
71989
72036
  */
71990
- affiliated_organization_uuid?: Array<string>;
72037
+ affiliation_uuid?: Array<string>;
71991
72038
  backend_id?: string;
71992
72039
  /**
71993
72040
  * Return a list of projects where current user is admin.
@@ -72030,9 +72077,9 @@ export type ProjectsCountData = {
72030
72077
  */
72031
72078
  description?: string;
72032
72079
  /**
72033
- * Filter projects that have at least one affiliated organization.
72080
+ * Filter projects that have an affiliation.
72034
72081
  */
72035
- has_affiliated_organization?: boolean;
72082
+ has_affiliation?: boolean;
72036
72083
  /**
72037
72084
  * Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
72038
72085
  */
@@ -72462,15 +72509,15 @@ export type ProjectsSyncUserRolesResponses = {
72462
72509
  */
72463
72510
  200: unknown;
72464
72511
  };
72465
- export type ProjectsUpdateAffiliatedOrganizationsData = {
72466
- body?: ProjectAffiliatedOrganizationsUpdateRequest;
72512
+ export type ProjectsUpdateAffiliationData = {
72513
+ body?: ProjectAffiliationUpdateRequest;
72467
72514
  path: {
72468
72515
  uuid: string;
72469
72516
  };
72470
72517
  query?: never;
72471
- url: '/api/projects/{uuid}/update_affiliated_organizations/';
72518
+ url: '/api/projects/{uuid}/update_affiliation/';
72472
72519
  };
72473
- export type ProjectsUpdateAffiliatedOrganizationsResponses = {
72520
+ export type ProjectsUpdateAffiliationResponses = {
72474
72521
  /**
72475
72522
  * No response body
72476
72523
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.0",
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",