waldur-js-client 8.0.7-dev.31 → 8.0.7-dev.32

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.
@@ -10045,6 +10045,8 @@ export type Message = {
10045
10045
  readonly sequence_index: number;
10046
10046
  readonly replaces: string | null;
10047
10047
  readonly created: string;
10048
+ readonly input_tokens: number | null;
10049
+ readonly output_tokens: number | null;
10048
10050
  readonly is_flagged: boolean;
10049
10051
  severity: InjectionSeverityEnum;
10050
10052
  readonly injection_categories: unknown;
@@ -17128,6 +17130,10 @@ export type PatchedUserRequest = {
17128
17130
  * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
17129
17131
  */
17130
17132
  managed_isds?: unknown;
17133
+ /**
17134
+ * Reason why the user was deactivated. Visible to staff and support.
17135
+ */
17136
+ deactivation_reason?: string;
17131
17137
  };
17132
17138
  export type PatchedVmwareVirtualMachineRequest = {
17133
17139
  description?: string;
@@ -23981,6 +23987,11 @@ export type ThreadSession = {
23981
23987
  readonly flags?: unknown;
23982
23988
  is_archived?: boolean;
23983
23989
  readonly message_count?: number;
23990
+ readonly input_tokens?: number | null;
23991
+ readonly output_tokens?: number | null;
23992
+ readonly total_tokens?: number | null;
23993
+ readonly title_gen_input_tokens?: number | null;
23994
+ readonly title_gen_output_tokens?: number | null;
23984
23995
  readonly is_flagged?: boolean;
23985
23996
  max_severity?: InjectionSeverityEnum;
23986
23997
  readonly user_username?: string;
@@ -24396,6 +24407,10 @@ export type User = {
24396
24407
  * List of ISDs that have asserted this user exists. User is deactivated when this becomes empty.
24397
24408
  */
24398
24409
  readonly active_isds?: unknown;
24410
+ /**
24411
+ * Reason why the user was deactivated. Visible to staff and support.
24412
+ */
24413
+ deactivation_reason?: string;
24399
24414
  };
24400
24415
  export type UserAction = {
24401
24416
  readonly uuid: string;
@@ -24785,6 +24800,10 @@ export type UserRequest = {
24785
24800
  * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
24786
24801
  */
24787
24802
  managed_isds?: unknown;
24803
+ /**
24804
+ * Reason why the user was deactivated. Visible to staff and support.
24805
+ */
24806
+ deactivation_reason?: string;
24788
24807
  };
24789
24808
  export type UserResidenceCountryStats = {
24790
24809
  /**
@@ -27071,6 +27090,10 @@ export type UserRequestForm = {
27071
27090
  * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27072
27091
  */
27073
27092
  managed_isds?: unknown;
27093
+ /**
27094
+ * Reason why the user was deactivated. Visible to staff and support.
27095
+ */
27096
+ deactivation_reason?: string;
27074
27097
  };
27075
27098
  export type UserRequestMultipart = {
27076
27099
  /**
@@ -27158,6 +27181,10 @@ export type UserRequestMultipart = {
27158
27181
  * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27159
27182
  */
27160
27183
  managed_isds?: unknown;
27184
+ /**
27185
+ * Reason why the user was deactivated. Visible to staff and support.
27186
+ */
27187
+ deactivation_reason?: string;
27161
27188
  };
27162
27189
  export type PatchedUserRequestForm = {
27163
27190
  /**
@@ -27244,6 +27271,10 @@ export type PatchedUserRequestForm = {
27244
27271
  * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27245
27272
  */
27246
27273
  managed_isds?: unknown;
27274
+ /**
27275
+ * Reason why the user was deactivated. Visible to staff and support.
27276
+ */
27277
+ deactivation_reason?: string;
27247
27278
  };
27248
27279
  export type PatchedUserRequestMultipart = {
27249
27280
  /**
@@ -27330,6 +27361,10 @@ export type PatchedUserRequestMultipart = {
27330
27361
  * List of ISD source identifiers this user can manage via Identity Bridge. E.g., ['isd:puhuri', 'isd:fenix']. Non-empty list implies identity manager role.
27331
27362
  */
27332
27363
  managed_isds?: unknown;
27364
+ /**
27365
+ * Reason why the user was deactivated. Visible to staff and support.
27366
+ */
27367
+ deactivation_reason?: string;
27333
27368
  };
27334
27369
  export type AdminAnnouncementFieldEnum = 'active_from' | 'active_to' | 'created' | 'description' | 'is_active' | 'maintenance_affected_offerings' | 'maintenance_external_reference_url' | 'maintenance_name' | 'maintenance_scheduled_end' | 'maintenance_scheduled_start' | 'maintenance_service_provider' | 'maintenance_state' | 'maintenance_type' | 'maintenance_uuid' | 'type' | 'uuid';
27335
27370
  export type AdminAnnouncementOEnum = '-active_from' | '-active_to' | '-created' | '-name' | '-type' | 'active_from' | 'active_to' | 'created' | 'name' | 'type';
@@ -27353,8 +27388,8 @@ export type UserRoleDetailsFieldEnum = 'created' | 'created_by_full_name' | 'cre
27353
27388
  export type UserRoleDetailsOEnum = 'created' | 'email' | 'expiration_time' | 'full_name' | 'native_name' | 'role' | 'username';
27354
27389
  export type CallReviewerPoolOEnum = '-created' | '-current_assignments' | '-expertise_match_score' | '-invited_at' | 'created' | 'current_assignments' | 'expertise_match_score' | 'invited_at';
27355
27390
  export type ChatSessionFieldEnum = 'created' | 'modified' | 'user' | 'user_full_name' | 'user_username' | 'uuid';
27356
- export type ThreadSessionFieldEnum = 'chat_session' | 'created' | 'flags' | 'is_archived' | 'is_flagged' | 'max_severity' | 'message_count' | 'modified' | 'name' | 'user_full_name' | 'user_username' | 'uuid';
27357
- export type ThreadSessionOEnum = '-created' | '-modified' | 'created' | 'modified';
27391
+ export type ThreadSessionFieldEnum = 'chat_session' | 'created' | 'flags' | 'input_tokens' | 'is_archived' | 'is_flagged' | 'max_severity' | 'message_count' | 'modified' | 'name' | 'output_tokens' | 'title_gen_input_tokens' | 'title_gen_output_tokens' | 'total_tokens' | 'user_full_name' | 'user_username' | 'uuid';
27392
+ export type ThreadSessionOEnum = '-created' | '-input_tokens' | '-modified' | '-output_tokens' | '-total_tokens' | 'created' | 'input_tokens' | 'modified' | 'output_tokens' | 'total_tokens';
27358
27393
  export type CoiDetectionJobOEnum = '-completed_at' | '-created' | '-started_at' | '-state' | 'completed_at' | 'created' | 'started_at' | 'state';
27359
27394
  export type CoiDisclosureFormOEnum = '-certification_date' | '-created' | '-valid_until' | 'certification_date' | 'created' | 'valid_until';
27360
27395
  export type ConflictOfInterestOEnum = '-created' | '-detected_at' | '-severity' | '-status' | 'created' | 'detected_at' | 'severity' | 'status';
@@ -27404,7 +27439,7 @@ export type ProviderOfferingDetailsFieldEnum = 'access_url' | 'attributes' | 'ba
27404
27439
  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';
27405
27440
  export type ProviderOfferingCustomerFieldEnum = 'abbreviation' | 'email' | 'name' | 'phone_number' | 'slug' | 'uuid';
27406
27441
  export type ProjectFieldEnum = 'backend_id' | 'billing_price_estimate' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_display_billing_info_in_projects' | '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' | 'slug' | 'staff_notes' | 'start_date' | 'termination_metadata' | 'type' | 'type_name' | 'type_uuid' | 'url' | 'user_affiliations' | 'user_email_patterns' | 'user_identity_sources' | 'uuid';
27407
- export type UserFieldEnum = 'active_isds' | 'affiliations' | 'agree_with_policy' | 'agreement_date' | 'attribute_sources' | 'birth_date' | 'civil_number' | 'country_of_residence' | 'date_joined' | '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';
27442
+ export type UserFieldEnum = 'active_isds' | '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';
27408
27443
  export type ResourceOEnum = '-created' | '-end_date' | '-name' | '-project_name' | '-state' | 'created' | 'end_date' | 'name' | 'project_name' | 'state';
27409
27444
  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' | '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' | 'project' | 'project_name' | 'project_uuid' | 'promotion_campaigns' | 'quotas' | 'resource_options' | 'roles' | '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';
27410
27445
  export type RobotAccountDetailsFieldEnum = 'backend_id' | 'created' | 'customer_name' | 'customer_uuid' | 'description' | 'error_message' | 'error_traceback' | 'fingerprints' | 'keys' | 'modified' | 'offering_plugin_options' | 'project_name' | 'project_uuid' | 'provider_name' | 'provider_uuid' | 'resource' | 'resource_name' | 'resource_uuid' | 'responsible_user' | 'state' | 'type' | 'url' | 'user_keys' | 'username' | 'users' | 'uuid';
@@ -27483,6 +27518,7 @@ export type ServiceSettingsFieldEnum = 'customer' | 'customer_name' | 'customer_
27483
27518
  export type SlurmAllocationFieldEnum = 'access_url' | 'backend_id' | 'cpu_limit' | 'cpu_usage' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'error_message' | 'error_traceback' | 'gateway' | 'gpu_limit' | 'gpu_usage' | 'is_active' | 'is_limit_based' | 'is_usage_based' | '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' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'ram_limit' | 'ram_usage' | 'resource_type' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'state' | 'url' | 'username' | 'uuid';
27484
27519
  export type FirecrestJobFieldEnum = 'access_url' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'error_message' | 'error_traceback' | 'file' | 'modified' | 'name' | 'project' | 'project_name' | 'project_uuid' | 'report' | 'resource_type' | 'runtime_state' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'state' | 'url' | 'user' | 'user_username' | 'user_uuid' | 'uuid';
27485
27520
  export type AttachmentFieldEnum = 'backend_id' | 'created' | 'destroy_is_available' | 'file' | 'file_name' | 'file_size' | 'issue' | 'issue_key' | 'mime_type' | 'url' | 'uuid';
27521
+ export type CommentOEnum = '-created' | '-modified' | 'created' | 'modified';
27486
27522
  export type IssueOEnum = '-assignee_name' | '-caller_first_name' | '-caller_last_name' | '-created' | '-customer_name' | '-key' | '-modified' | '-priority' | '-project_name' | '-remote_id' | '-reporter_name' | '-status' | '-summary' | '-type' | 'assignee_name' | 'caller_first_name' | 'caller_last_name' | 'created' | 'customer_name' | 'key' | 'modified' | 'priority' | 'project_name' | 'remote_id' | 'reporter_name' | 'status' | 'summary' | 'type';
27487
27523
  export type SystemLogLevelEnum = 'CRITICAL' | 'ERROR' | 'INFO' | 'WARNING';
27488
27524
  export type SystemLogOEnum = '-created' | '-instance' | '-level_number' | 'created' | 'instance' | 'level_number';
@@ -33880,6 +33916,8 @@ export type ChatThreadsListData = {
33880
33916
  query?: {
33881
33917
  created?: string;
33882
33918
  field?: Array<ThreadSessionFieldEnum>;
33919
+ input_tokens_max?: number;
33920
+ input_tokens_min?: number;
33883
33921
  is_archived?: boolean;
33884
33922
  is_flagged?: boolean;
33885
33923
  max_severity?: InjectionSeverityEnum;
@@ -33890,6 +33928,8 @@ export type ChatThreadsListData = {
33890
33928
  *
33891
33929
  */
33892
33930
  o?: Array<ThreadSessionOEnum>;
33931
+ output_tokens_max?: number;
33932
+ output_tokens_min?: number;
33893
33933
  /**
33894
33934
  * A page number within the paginated result set.
33895
33935
  */
@@ -33899,6 +33939,8 @@ export type ChatThreadsListData = {
33899
33939
  */
33900
33940
  page_size?: number;
33901
33941
  query?: string;
33942
+ total_tokens_max?: number;
33943
+ total_tokens_min?: number;
33902
33944
  user?: string;
33903
33945
  };
33904
33946
  url: '/api/chat-threads/';
@@ -76754,7 +76796,7 @@ export type SupportCommentsListData = {
76754
76796
  *
76755
76797
  *
76756
76798
  */
76757
- o?: Array<ThreadSessionOEnum>;
76799
+ o?: Array<CommentOEnum>;
76758
76800
  /**
76759
76801
  * A page number within the paginated result set.
76760
76802
  */
@@ -76793,7 +76835,7 @@ export type SupportCommentsCountData = {
76793
76835
  *
76794
76836
  *
76795
76837
  */
76796
- o?: Array<ThreadSessionOEnum>;
76838
+ o?: Array<CommentOEnum>;
76797
76839
  /**
76798
76840
  * A page number within the paginated result set.
76799
76841
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.7-dev.31",
3
+ "version": "8.0.7-dev.32",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",