waldur-js-client 8.0.9-dev.51 → 8.0.9-dev.53

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.d.ts CHANGED
@@ -8125,6 +8125,11 @@ export declare const personalAccessTokensAvailableBindingTargetsCount: <ThrowOnE
8125
8125
  * List available scopes for PAT creation
8126
8126
  *
8127
8127
  * Return permissions the current user can delegate to a PAT.
8128
+ *
8129
+ * Staff users can delegate any permission (they bypass UserRole checks).
8130
+ * For other users only the permissions granted by their active roles are
8131
+ * offered, plus SUPPORT.ACCESS for support users — mirroring what the
8132
+ * create serializer would accept.
8128
8133
  */
8129
8134
  export declare const personalAccessTokensAvailableScopesList: <ThrowOnError extends boolean = false>(options?: Options<PersonalAccessTokensAvailableScopesListData, ThrowOnError>) => import("./client").RequestResult<PersonalAccessTokensAvailableScopesListResponses, unknown, ThrowOnError, "fields">;
8130
8135
  /**
package/dist/sdk.gen.js CHANGED
@@ -25966,6 +25966,11 @@ export const personalAccessTokensAvailableBindingTargetsCount = (options) => (op
25966
25966
  * List available scopes for PAT creation
25967
25967
  *
25968
25968
  * Return permissions the current user can delegate to a PAT.
25969
+ *
25970
+ * Staff users can delegate any permission (they bypass UserRole checks).
25971
+ * For other users only the permissions granted by their active roles are
25972
+ * offered, plus SUPPORT.ACCESS for support users — mirroring what the
25973
+ * create serializer would accept.
25969
25974
  */
25970
25975
  export const personalAccessTokensAvailableScopesList = (options) => (options?.client ?? client).get({
25971
25976
  security: [
@@ -2808,6 +2808,10 @@ export type BookingResource = {
2808
2808
  */
2809
2809
  end_date?: string | null;
2810
2810
  readonly end_date_requested_by?: string | null;
2811
+ /**
2812
+ * Timestamp of the last end_date change.
2813
+ */
2814
+ readonly end_date_updated_at?: string | null;
2811
2815
  readonly username?: string | null;
2812
2816
  /**
2813
2817
  * Dictionary mapping limit-based component types to their consumed usage. For monthly periods, maps from current_usages; for longer periods, aggregates historical usage.
@@ -4874,6 +4878,7 @@ export type ConstanceSettings = {
4874
4878
  K8S_JOB_TIMEOUT?: number;
4875
4879
  ENABLE_STRICT_CHECK_ACCEPTING_INVITATION?: boolean;
4876
4880
  INVITATION_DISABLE_MULTIPLE_ROLES?: boolean;
4881
+ ONLY_ONE_PROJECT_MANAGER?: boolean;
4877
4882
  DEFAULT_IDP?: DefaultidpEnum | BlankEnum;
4878
4883
  DOCS_URL?: string;
4879
4884
  SHORT_PAGE_TITLE?: string;
@@ -5170,6 +5175,7 @@ export type ConstanceSettingsRequest = {
5170
5175
  K8S_JOB_TIMEOUT?: number;
5171
5176
  ENABLE_STRICT_CHECK_ACCEPTING_INVITATION?: boolean;
5172
5177
  INVITATION_DISABLE_MULTIPLE_ROLES?: boolean;
5178
+ ONLY_ONE_PROJECT_MANAGER?: boolean;
5173
5179
  DEFAULT_IDP?: DefaultidpEnum | BlankEnum;
5174
5180
  DOCS_URL?: string;
5175
5181
  SHORT_PAGE_TITLE?: string;
@@ -22781,6 +22787,10 @@ export type Resource = {
22781
22787
  */
22782
22788
  end_date?: string | null;
22783
22789
  readonly end_date_requested_by?: string | null;
22790
+ /**
22791
+ * Timestamp of the last end_date change.
22792
+ */
22793
+ readonly end_date_updated_at?: string | null;
22784
22794
  readonly username?: string | null;
22785
22795
  /**
22786
22796
  * Dictionary mapping limit-based component types to their consumed usage. For monthly periods, maps from current_usages; for longer periods, aggregates historical usage.
@@ -29028,6 +29038,7 @@ export type ConstanceSettingsRequestForm = {
29028
29038
  K8S_JOB_TIMEOUT?: number;
29029
29039
  ENABLE_STRICT_CHECK_ACCEPTING_INVITATION?: boolean;
29030
29040
  INVITATION_DISABLE_MULTIPLE_ROLES?: boolean;
29041
+ ONLY_ONE_PROJECT_MANAGER?: boolean;
29031
29042
  DEFAULT_IDP?: DefaultidpEnum | BlankEnum;
29032
29043
  DOCS_URL?: string;
29033
29044
  SHORT_PAGE_TITLE?: string;
@@ -29324,6 +29335,7 @@ export type ConstanceSettingsRequestMultipart = {
29324
29335
  K8S_JOB_TIMEOUT?: number;
29325
29336
  ENABLE_STRICT_CHECK_ACCEPTING_INVITATION?: boolean;
29326
29337
  INVITATION_DISABLE_MULTIPLE_ROLES?: boolean;
29338
+ ONLY_ONE_PROJECT_MANAGER?: boolean;
29327
29339
  DEFAULT_IDP?: DefaultidpEnum | BlankEnum;
29328
29340
  DOCS_URL?: string;
29329
29341
  SHORT_PAGE_TITLE?: string;
@@ -30056,7 +30068,7 @@ export type AzureSqlServerFieldEnum = 'access_url' | 'backend_id' | 'created' |
30056
30068
  export type AzureVirtualMachineFieldEnum = 'access_url' | 'backend_id' | 'cores' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'disk' | 'error_message' | 'error_traceback' | 'external_ips' | 'image' | 'image_name' | 'internal_ips' | 'is_limit_based' | 'is_usage_based' | 'key_fingerprint' | 'key_name' | 'latitude' | 'location' | 'location_name' | 'longitude' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_type' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'min_disk' | 'min_ram' | 'modified' | 'name' | 'password' | 'project' | 'project_name' | 'project_uuid' | 'ram' | 'resource_group' | 'resource_group_name' | 'resource_type' | 'runtime_state' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'size' | 'size_name' | 'ssh_public_key' | 'start_time' | 'state' | 'url' | 'user_data' | 'username' | 'uuid';
30057
30069
  export type BackendResourceReqOEnum = '-created' | 'created';
30058
30070
  export type OfferingFieldEnum = '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' | 'googlecalendar' | 'has_compliance_requirements' | 'helpdesk_url' | 'image' | 'integration_guide' | 'is_accessible' | 'latitude' | 'longitude' | 'name' | 'offering_group' | 'offering_group_title' | 'offering_group_uuid' | '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' | 'user_has_consent' | 'uuid' | 'vendor_details';
30059
- export type BookingResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'consumer_reviewed_by' | 'consumer_reviewed_by_full_name' | 'consumer_reviewed_by_username' | 'created' | 'created_by' | 'created_by_full_name' | 'created_by_username' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slots' | 'slug' | 'state' | 'url' | 'user_requires_reconsent' | 'username' | 'uuid';
30071
+ export type BookingResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'consumer_reviewed_by' | 'consumer_reviewed_by_full_name' | 'consumer_reviewed_by_username' | 'created' | 'created_by' | 'created_by_full_name' | 'created_by_username' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slots' | 'slug' | 'state' | 'url' | 'user_requires_reconsent' | 'username' | 'uuid';
30060
30072
  export type BookingResourceOEnum = '-created' | '-name' | '-schedules' | '-type' | 'created' | 'name' | 'schedules' | 'type';
30061
30073
  export type BroadcastMessageFieldEnum = 'author_full_name' | 'body' | 'created' | 'emails' | 'query' | 'send_at' | 'state' | 'subject' | 'uuid';
30062
30074
  export type BroadcastMessageOEnum = '-author_full_name' | '-created' | '-subject' | 'author_full_name' | 'created' | 'subject';
@@ -30092,7 +30104,7 @@ export type SshKeyFieldEnum = 'fingerprint_md5' | 'fingerprint_sha256' | 'finger
30092
30104
  export type SshKeyOEnum = '-name' | 'name';
30093
30105
  export type MaintenanceAnnouncementOEnum = '-created' | '-name' | '-scheduled_end' | '-scheduled_start' | 'created' | 'name' | 'scheduled_end' | 'scheduled_start';
30094
30106
  export type MaintenanceAnnouncementTemplateOEnum = '-created' | '-name' | 'created' | 'name';
30095
- export type ResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'created' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slug' | 'state' | 'url' | 'user_requires_reconsent' | 'username' | 'uuid';
30107
+ export type ResourceFieldEnum = 'attributes' | 'available_actions' | 'backend_id' | 'backend_metadata' | 'can_terminate' | 'category_icon' | 'category_title' | 'category_uuid' | 'created' | 'creation_order' | 'current_usages' | 'customer_name' | 'customer_slug' | 'customer_uuid' | 'description' | 'downscaled' | 'effective_id' | 'end_date' | 'end_date_requested_by' | 'end_date_updated_at' | 'endpoints' | 'error_message' | 'error_traceback' | 'is_limit_based' | 'is_usage_based' | 'last_sync' | 'limit_usage' | 'limits' | 'modified' | 'name' | 'offering' | 'offering_backend_id' | 'offering_billable' | 'offering_components' | 'offering_description' | 'offering_image' | 'offering_name' | 'offering_plugin_options' | 'offering_shared' | 'offering_slug' | 'offering_state' | 'offering_thumbnail' | 'offering_type' | 'offering_uuid' | 'options' | 'order_in_progress' | 'parent_name' | 'parent_offering_name' | 'parent_offering_slug' | 'parent_offering_uuid' | 'parent_uuid' | 'paused' | 'plan' | 'plan_description' | 'plan_name' | 'plan_unit' | 'plan_uuid' | 'project' | 'project_description' | 'project_effective_end_date' | 'project_end_date' | 'project_end_date_requested_by' | 'project_is_in_grace_period' | 'project_name' | 'project_slug' | 'project_uuid' | 'provider_description' | 'provider_name' | 'provider_slug' | 'provider_uuid' | 'renewal_date' | 'report' | 'resource_type' | 'resource_uuid' | 'restrict_member_access' | 'scope' | 'service_settings_uuid' | 'slug' | 'state' | 'url' | 'user_requires_reconsent' | 'username' | 'uuid';
30096
30108
  export type MarketplaceCategoryFieldEnum = 'articles' | 'available_offerings_count' | 'columns' | 'components' | 'default_tenant_category' | 'default_vm_category' | 'default_volume_category' | 'description' | 'group' | 'icon' | 'offering_count' | 'sections' | 'title' | 'url' | 'uuid';
30097
30109
  export type CategoryComponentUsageFieldEnum = 'category_title' | 'category_uuid' | 'date' | 'fixed_usage' | 'measured_unit' | 'name' | 'reported_usage' | 'scope' | 'type';
30098
30110
  export type CategoryGroupFieldEnum = 'description' | 'icon' | 'title' | 'url' | 'uuid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.51",
3
+ "version": "8.0.9-dev.53",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",