waldur-js-client 8.0.5-dev.3 → 8.0.5-dev.4

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.
@@ -7286,6 +7286,7 @@ export type ImportableResource = {
7286
7286
  */
7287
7287
  description: string;
7288
7288
  };
7289
+ export type InjectionSeverityEnum = 'none' | 'low' | 'medium' | 'high' | 'critical';
7289
7290
  export type InstanceFlavorChangeRequest = {
7290
7291
  /**
7291
7292
  * The new flavor to use for the instance. Flavor change can only be done when instance is stopped.
@@ -9577,7 +9578,7 @@ export type Message = {
9577
9578
  readonly created: string;
9578
9579
  readonly is_flagged: boolean;
9579
9580
  readonly injection_score: number;
9580
- readonly injection_severity: string;
9581
+ injection_severity: InjectionSeverityEnum;
9581
9582
  readonly injection_categories: unknown;
9582
9583
  };
9583
9584
  export type MessageResponse = {
@@ -22674,7 +22675,7 @@ export type ThreadSession = {
22674
22675
  is_archived?: boolean;
22675
22676
  readonly message_count?: number;
22676
22677
  readonly is_flagged?: boolean;
22677
- readonly max_severity?: string;
22678
+ max_severity?: InjectionSeverityEnum;
22678
22679
  readonly user_username?: string;
22679
22680
  readonly user_full_name?: string;
22680
22681
  readonly created?: string;
@@ -25766,7 +25767,6 @@ export type UserRoleDetailsOEnum = 'created' | 'email' | 'expiration_time' | 'fu
25766
25767
  export type CallReviewerPoolOEnum = '-created' | '-current_assignments' | '-expertise_match_score' | '-invited_at' | 'created' | 'current_assignments' | 'expertise_match_score' | 'invited_at';
25767
25768
  export type ChatSessionFieldEnum = 'created' | 'modified' | 'user' | 'user_full_name' | 'user_username' | 'uuid';
25768
25769
  export type ThreadSessionFieldEnum = 'chat_session' | 'created' | 'flags' | 'is_archived' | 'is_flagged' | 'max_severity' | 'message_count' | 'modified' | 'name' | 'user_full_name' | 'user_username' | 'uuid';
25769
- export type ThreadSessionMaxSeverityEnum = 'critical' | 'high' | 'low' | 'medium' | 'none';
25770
25770
  export type ThreadSessionOEnum = '-created' | '-modified' | 'created' | 'modified';
25771
25771
  export type CoiDetectionJobOEnum = '-completed_at' | '-created' | '-started_at' | '-state' | 'completed_at' | 'created' | 'started_at' | 'state';
25772
25772
  export type CoiDisclosureFormOEnum = '-certification_date' | '-created' | '-valid_until' | 'certification_date' | 'created' | 'valid_until';
@@ -32034,7 +32034,7 @@ export type ChatThreadsListData = {
32034
32034
  field?: Array<ThreadSessionFieldEnum>;
32035
32035
  is_archived?: boolean;
32036
32036
  is_flagged?: boolean;
32037
- max_severity?: ThreadSessionMaxSeverityEnum;
32037
+ max_severity?: InjectionSeverityEnum;
32038
32038
  modified?: string;
32039
32039
  /**
32040
32040
  * Ordering
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.5-dev.3",
3
+ "version": "8.0.5-dev.4",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",