deeprails 0.12.0 → 0.13.0

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.
@@ -8,140 +8,74 @@ module Deeprails
8
8
  T.any(Deeprails::DefendResponse, Deeprails::Internal::AnyHash)
9
9
  end
10
10
 
11
- # Name of the workflow.
12
- sig { returns(String) }
13
- attr_accessor :name
14
-
15
- # A unique workflow ID.
16
- sig { returns(String) }
17
- attr_accessor :workflow_id
18
-
19
11
  # Mapping of guardrail metric names to tolerance values. Values can be strings
20
12
  # (`low`, `medium`, `high`) for automatic tolerance levels.
21
13
  sig do
22
14
  returns(
23
- T.nilable(
24
- T::Hash[
25
- Symbol,
26
- Deeprails::DefendResponse::AutomaticHallucinationToleranceLevel::TaggedSymbol
27
- ]
28
- )
15
+ T::Hash[
16
+ Symbol,
17
+ Deeprails::DefendResponse::AutomaticHallucinationToleranceLevel::TaggedSymbol
18
+ ]
29
19
  )
30
20
  end
31
- attr_reader :automatic_hallucination_tolerance_levels
32
-
33
- sig do
34
- params(
35
- automatic_hallucination_tolerance_levels:
36
- T::Hash[
37
- Symbol,
38
- Deeprails::DefendResponse::AutomaticHallucinationToleranceLevel::OrSymbol
39
- ]
40
- ).void
41
- end
42
- attr_writer :automatic_hallucination_tolerance_levels
21
+ attr_accessor :automatic_hallucination_tolerance_levels
43
22
 
44
23
  # Extended AI capabilities available to the event, if any. Can be `web_search`
45
24
  # and/or `file_search`.
46
- sig do
47
- returns(T.nilable(T::Array[Deeprails::DefendResponse::Capability]))
48
- end
49
- attr_reader :capabilities
50
-
51
- sig do
52
- params(
53
- capabilities: T::Array[Deeprails::DefendResponse::Capability::OrHash]
54
- ).void
55
- end
56
- attr_writer :capabilities
25
+ sig { returns(T::Array[Deeprails::DefendResponse::Capability]) }
26
+ attr_accessor :capabilities
57
27
 
58
28
  # The time the workflow was created in UTC.
59
- sig { returns(T.nilable(Time)) }
60
- attr_reader :created_at
61
-
62
- sig { params(created_at: Time).void }
63
- attr_writer :created_at
29
+ sig { returns(Time) }
30
+ attr_accessor :created_at
64
31
 
65
32
  # Mapping of guardrail metric names to threshold values. Values can be floating
66
33
  # point numbers (0.0-1.0) for custom thresholds.
67
- sig { returns(T.nilable(T::Hash[Symbol, Float])) }
68
- attr_reader :custom_hallucination_threshold_values
69
-
70
- sig do
71
- params(
72
- custom_hallucination_threshold_values: T::Hash[Symbol, Float]
73
- ).void
74
- end
75
- attr_writer :custom_hallucination_threshold_values
34
+ sig { returns(T::Hash[Symbol, Float]) }
35
+ attr_accessor :custom_hallucination_threshold_values
76
36
 
77
37
  # Description for the workflow.
78
- sig { returns(T.nilable(String)) }
79
- attr_reader :description
80
-
81
- sig { params(description: String).void }
82
- attr_writer :description
38
+ sig { returns(String) }
39
+ attr_accessor :description
83
40
 
84
41
  # An array of events associated with this workflow.
85
- sig { returns(T.nilable(T::Array[Deeprails::DefendResponse::Event])) }
86
- attr_reader :events
87
-
88
- sig do
89
- params(events: T::Array[Deeprails::DefendResponse::Event::OrHash]).void
90
- end
91
- attr_writer :events
42
+ sig { returns(T::Array[Deeprails::DefendResponse::Event]) }
43
+ attr_accessor :events
92
44
 
93
45
  # List of files associated with the workflow. If this is not empty, models can
94
46
  # search these files when performing evaluations or remediations
95
- sig { returns(T.nilable(T::Array[Deeprails::DefendResponse::File])) }
96
- attr_reader :files
47
+ sig { returns(T::Array[Deeprails::DefendResponse::File]) }
48
+ attr_accessor :files
97
49
 
98
- sig do
99
- params(files: T::Array[Deeprails::DefendResponse::File::OrHash]).void
100
- end
101
- attr_writer :files
102
-
103
- sig { returns(T.nilable(Deeprails::DefendResponse::Stats)) }
104
- attr_reader :stats
105
-
106
- sig { params(stats: Deeprails::DefendResponse::Stats::OrHash).void }
107
- attr_writer :stats
50
+ # Name of the workflow.
51
+ sig { returns(String) }
52
+ attr_accessor :name
108
53
 
109
54
  # Status of the selected workflow. May be `inactive` or `active`. Inactive
110
55
  # workflows will not accept events.
111
- sig do
112
- returns(T.nilable(Deeprails::DefendResponse::Status::TaggedSymbol))
113
- end
114
- attr_reader :status
115
-
116
- sig { params(status: Deeprails::DefendResponse::Status::OrSymbol).void }
117
- attr_writer :status
56
+ sig { returns(Deeprails::DefendResponse::Status::TaggedSymbol) }
57
+ attr_accessor :status
118
58
 
119
59
  # Type of thresholds used to evaluate the event.
120
- sig do
121
- returns(
122
- T.nilable(Deeprails::DefendResponse::ThresholdType::TaggedSymbol)
123
- )
124
- end
125
- attr_reader :threshold_type
126
-
127
- sig do
128
- params(
129
- threshold_type: Deeprails::DefendResponse::ThresholdType::OrSymbol
130
- ).void
131
- end
132
- attr_writer :threshold_type
60
+ sig { returns(Deeprails::DefendResponse::ThresholdType::TaggedSymbol) }
61
+ attr_accessor :threshold_type
133
62
 
134
63
  # The most recent time the workflow was updated in UTC.
135
- sig { returns(T.nilable(Time)) }
136
- attr_reader :updated_at
64
+ sig { returns(Time) }
65
+ attr_accessor :updated_at
137
66
 
138
- sig { params(updated_at: Time).void }
139
- attr_writer :updated_at
67
+ # A unique workflow ID.
68
+ sig { returns(String) }
69
+ attr_accessor :workflow_id
70
+
71
+ sig { returns(T.nilable(Deeprails::DefendResponse::Stats)) }
72
+ attr_reader :stats
73
+
74
+ sig { params(stats: Deeprails::DefendResponse::Stats::OrHash).void }
75
+ attr_writer :stats
140
76
 
141
77
  sig do
142
78
  params(
143
- name: String,
144
- workflow_id: String,
145
79
  automatic_hallucination_tolerance_levels:
146
80
  T::Hash[
147
81
  Symbol,
@@ -153,51 +87,51 @@ module Deeprails
153
87
  description: String,
154
88
  events: T::Array[Deeprails::DefendResponse::Event::OrHash],
155
89
  files: T::Array[Deeprails::DefendResponse::File::OrHash],
156
- stats: Deeprails::DefendResponse::Stats::OrHash,
90
+ name: String,
157
91
  status: Deeprails::DefendResponse::Status::OrSymbol,
158
92
  threshold_type: Deeprails::DefendResponse::ThresholdType::OrSymbol,
159
- updated_at: Time
93
+ updated_at: Time,
94
+ workflow_id: String,
95
+ stats: Deeprails::DefendResponse::Stats::OrHash
160
96
  ).returns(T.attached_class)
161
97
  end
162
98
  def self.new(
163
- # Name of the workflow.
164
- name:,
165
- # A unique workflow ID.
166
- workflow_id:,
167
99
  # Mapping of guardrail metric names to tolerance values. Values can be strings
168
100
  # (`low`, `medium`, `high`) for automatic tolerance levels.
169
- automatic_hallucination_tolerance_levels: nil,
101
+ automatic_hallucination_tolerance_levels:,
170
102
  # Extended AI capabilities available to the event, if any. Can be `web_search`
171
103
  # and/or `file_search`.
172
- capabilities: nil,
104
+ capabilities:,
173
105
  # The time the workflow was created in UTC.
174
- created_at: nil,
106
+ created_at:,
175
107
  # Mapping of guardrail metric names to threshold values. Values can be floating
176
108
  # point numbers (0.0-1.0) for custom thresholds.
177
- custom_hallucination_threshold_values: nil,
109
+ custom_hallucination_threshold_values:,
178
110
  # Description for the workflow.
179
- description: nil,
111
+ description:,
180
112
  # An array of events associated with this workflow.
181
- events: nil,
113
+ events:,
182
114
  # List of files associated with the workflow. If this is not empty, models can
183
115
  # search these files when performing evaluations or remediations
184
- files: nil,
185
- stats: nil,
116
+ files:,
117
+ # Name of the workflow.
118
+ name:,
186
119
  # Status of the selected workflow. May be `inactive` or `active`. Inactive
187
120
  # workflows will not accept events.
188
- status: nil,
121
+ status:,
189
122
  # Type of thresholds used to evaluate the event.
190
- threshold_type: nil,
123
+ threshold_type:,
191
124
  # The most recent time the workflow was updated in UTC.
192
- updated_at: nil
125
+ updated_at:,
126
+ # A unique workflow ID.
127
+ workflow_id:,
128
+ stats: nil
193
129
  )
194
130
  end
195
131
 
196
132
  sig do
197
133
  override.returns(
198
134
  {
199
- name: String,
200
- workflow_id: String,
201
135
  automatic_hallucination_tolerance_levels:
202
136
  T::Hash[
203
137
  Symbol,
@@ -209,11 +143,13 @@ module Deeprails
209
143
  description: String,
210
144
  events: T::Array[Deeprails::DefendResponse::Event],
211
145
  files: T::Array[Deeprails::DefendResponse::File],
212
- stats: Deeprails::DefendResponse::Stats,
146
+ name: String,
213
147
  status: Deeprails::DefendResponse::Status::TaggedSymbol,
214
148
  threshold_type:
215
149
  Deeprails::DefendResponse::ThresholdType::TaggedSymbol,
216
- updated_at: Time
150
+ updated_at: Time,
151
+ workflow_id: String,
152
+ stats: Deeprails::DefendResponse::Stats
217
153
  }
218
154
  )
219
155
  end
@@ -578,6 +514,55 @@ module Deeprails
578
514
  end
579
515
  end
580
516
 
517
+ # Status of the selected workflow. May be `inactive` or `active`. Inactive
518
+ # workflows will not accept events.
519
+ module Status
520
+ extend Deeprails::Internal::Type::Enum
521
+
522
+ TaggedSymbol =
523
+ T.type_alias { T.all(Symbol, Deeprails::DefendResponse::Status) }
524
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
525
+
526
+ INACTIVE =
527
+ T.let(:inactive, Deeprails::DefendResponse::Status::TaggedSymbol)
528
+ ACTIVE = T.let(:active, Deeprails::DefendResponse::Status::TaggedSymbol)
529
+
530
+ sig do
531
+ override.returns(
532
+ T::Array[Deeprails::DefendResponse::Status::TaggedSymbol]
533
+ )
534
+ end
535
+ def self.values
536
+ end
537
+ end
538
+
539
+ # Type of thresholds used to evaluate the event.
540
+ module ThresholdType
541
+ extend Deeprails::Internal::Type::Enum
542
+
543
+ TaggedSymbol =
544
+ T.type_alias do
545
+ T.all(Symbol, Deeprails::DefendResponse::ThresholdType)
546
+ end
547
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
548
+
549
+ CUSTOM =
550
+ T.let(:custom, Deeprails::DefendResponse::ThresholdType::TaggedSymbol)
551
+ AUTOMATIC =
552
+ T.let(
553
+ :automatic,
554
+ Deeprails::DefendResponse::ThresholdType::TaggedSymbol
555
+ )
556
+
557
+ sig do
558
+ override.returns(
559
+ T::Array[Deeprails::DefendResponse::ThresholdType::TaggedSymbol]
560
+ )
561
+ end
562
+ def self.values
563
+ end
564
+ end
565
+
581
566
  class Stats < Deeprails::Internal::Type::BaseModel
582
567
  OrHash =
583
568
  T.type_alias do
@@ -637,55 +622,6 @@ module Deeprails
637
622
  def to_hash
638
623
  end
639
624
  end
640
-
641
- # Status of the selected workflow. May be `inactive` or `active`. Inactive
642
- # workflows will not accept events.
643
- module Status
644
- extend Deeprails::Internal::Type::Enum
645
-
646
- TaggedSymbol =
647
- T.type_alias { T.all(Symbol, Deeprails::DefendResponse::Status) }
648
- OrSymbol = T.type_alias { T.any(Symbol, String) }
649
-
650
- INACTIVE =
651
- T.let(:inactive, Deeprails::DefendResponse::Status::TaggedSymbol)
652
- ACTIVE = T.let(:active, Deeprails::DefendResponse::Status::TaggedSymbol)
653
-
654
- sig do
655
- override.returns(
656
- T::Array[Deeprails::DefendResponse::Status::TaggedSymbol]
657
- )
658
- end
659
- def self.values
660
- end
661
- end
662
-
663
- # Type of thresholds used to evaluate the event.
664
- module ThresholdType
665
- extend Deeprails::Internal::Type::Enum
666
-
667
- TaggedSymbol =
668
- T.type_alias do
669
- T.all(Symbol, Deeprails::DefendResponse::ThresholdType)
670
- end
671
- OrSymbol = T.type_alias { T.any(Symbol, String) }
672
-
673
- CUSTOM =
674
- T.let(:custom, Deeprails::DefendResponse::ThresholdType::TaggedSymbol)
675
- AUTOMATIC =
676
- T.let(
677
- :automatic,
678
- Deeprails::DefendResponse::ThresholdType::TaggedSymbol
679
- )
680
-
681
- sig do
682
- override.returns(
683
- T::Array[Deeprails::DefendResponse::ThresholdType::TaggedSymbol]
684
- )
685
- end
686
- def self.values
687
- end
688
- end
689
625
  end
690
626
  end
691
627
  end
@@ -8,83 +8,35 @@ module Deeprails
8
8
  T.any(Deeprails::MonitorDetailResponse, Deeprails::Internal::AnyHash)
9
9
  end
10
10
 
11
- # A unique monitor ID.
12
- sig { returns(String) }
13
- attr_accessor :monitor_id
14
-
15
- # Name of this monitor.
16
- sig { returns(String) }
17
- attr_accessor :name
18
-
19
- # Status of the monitor. Can be `active` or `inactive`. Inactive monitors no
20
- # longer record and evaluate events.
21
- sig { returns(Deeprails::MonitorDetailResponse::Status::TaggedSymbol) }
22
- attr_accessor :status
23
-
24
11
  # An array of capabilities associated with this monitor.
25
- sig do
26
- returns(
27
- T.nilable(T::Array[Deeprails::MonitorDetailResponse::Capability])
28
- )
29
- end
30
- attr_reader :capabilities
31
-
32
- sig do
33
- params(
34
- capabilities:
35
- T::Array[Deeprails::MonitorDetailResponse::Capability::OrHash]
36
- ).void
37
- end
38
- attr_writer :capabilities
12
+ sig { returns(T::Array[Deeprails::MonitorDetailResponse::Capability]) }
13
+ attr_accessor :capabilities
39
14
 
40
15
  # The time the monitor was created in UTC.
41
- sig { returns(T.nilable(Time)) }
42
- attr_reader :created_at
43
-
44
- sig { params(created_at: Time).void }
45
- attr_writer :created_at
46
-
47
- # Description of this monitor.
48
- sig { returns(T.nilable(String)) }
49
- attr_reader :description
50
-
51
- sig { params(description: String).void }
52
- attr_writer :description
16
+ sig { returns(Time) }
17
+ attr_accessor :created_at
53
18
 
54
19
  # An array of all evaluations performed by this monitor. Each one corresponds to a
55
20
  # separate monitor event.
56
- sig do
57
- returns(
58
- T.nilable(T::Array[Deeprails::MonitorDetailResponse::Evaluation])
59
- )
60
- end
61
- attr_reader :evaluations
62
-
63
- sig do
64
- params(
65
- evaluations:
66
- T::Array[Deeprails::MonitorDetailResponse::Evaluation::OrHash]
67
- ).void
68
- end
69
- attr_writer :evaluations
21
+ sig { returns(T::Array[Deeprails::MonitorDetailResponse::Evaluation]) }
22
+ attr_accessor :evaluations
70
23
 
71
24
  # An array of files associated with this monitor.
72
- sig do
73
- returns(T.nilable(T::Array[Deeprails::MonitorDetailResponse::File]))
74
- end
75
- attr_reader :files
25
+ sig { returns(T::Array[Deeprails::MonitorDetailResponse::File]) }
26
+ attr_accessor :files
76
27
 
77
- sig do
78
- params(
79
- files: T::Array[Deeprails::MonitorDetailResponse::File::OrHash]
80
- ).void
81
- end
82
- attr_writer :files
28
+ # A unique monitor ID.
29
+ sig { returns(String) }
30
+ attr_accessor :monitor_id
31
+
32
+ # Name of this monitor.
33
+ sig { returns(String) }
34
+ attr_accessor :name
83
35
 
84
36
  # Contains five fields used for stats of this monitor: total evaluations,
85
37
  # completed evaluations, failed evaluations, queued evaluations, and in progress
86
38
  # evaluations.
87
- sig { returns(T.nilable(Deeprails::MonitorDetailResponse::Stats)) }
39
+ sig { returns(Deeprails::MonitorDetailResponse::Stats) }
88
40
  attr_reader :stats
89
41
 
90
42
  sig do
@@ -92,105 +44,86 @@ module Deeprails
92
44
  end
93
45
  attr_writer :stats
94
46
 
47
+ # Status of the monitor. Can be `active` or `inactive`. Inactive monitors no
48
+ # longer record and evaluate events.
49
+ sig { returns(Deeprails::MonitorDetailResponse::Status::TaggedSymbol) }
50
+ attr_accessor :status
51
+
95
52
  # The most recent time the monitor was modified in UTC.
96
- sig { returns(T.nilable(Time)) }
97
- attr_reader :updated_at
53
+ sig { returns(Time) }
54
+ attr_accessor :updated_at
98
55
 
99
- sig { params(updated_at: Time).void }
100
- attr_writer :updated_at
56
+ # Description of this monitor.
57
+ sig { returns(T.nilable(String)) }
58
+ attr_reader :description
59
+
60
+ sig { params(description: String).void }
61
+ attr_writer :description
101
62
 
102
63
  sig do
103
64
  params(
104
- monitor_id: String,
105
- name: String,
106
- status: Deeprails::MonitorDetailResponse::Status::OrSymbol,
107
65
  capabilities:
108
66
  T::Array[Deeprails::MonitorDetailResponse::Capability::OrHash],
109
67
  created_at: Time,
110
- description: String,
111
68
  evaluations:
112
69
  T::Array[Deeprails::MonitorDetailResponse::Evaluation::OrHash],
113
70
  files: T::Array[Deeprails::MonitorDetailResponse::File::OrHash],
71
+ monitor_id: String,
72
+ name: String,
114
73
  stats: Deeprails::MonitorDetailResponse::Stats::OrHash,
115
- updated_at: Time
74
+ status: Deeprails::MonitorDetailResponse::Status::OrSymbol,
75
+ updated_at: Time,
76
+ description: String
116
77
  ).returns(T.attached_class)
117
78
  end
118
79
  def self.new(
119
- # A unique monitor ID.
120
- monitor_id:,
121
- # Name of this monitor.
122
- name:,
123
- # Status of the monitor. Can be `active` or `inactive`. Inactive monitors no
124
- # longer record and evaluate events.
125
- status:,
126
80
  # An array of capabilities associated with this monitor.
127
- capabilities: nil,
81
+ capabilities:,
128
82
  # The time the monitor was created in UTC.
129
- created_at: nil,
130
- # Description of this monitor.
131
- description: nil,
83
+ created_at:,
132
84
  # An array of all evaluations performed by this monitor. Each one corresponds to a
133
85
  # separate monitor event.
134
- evaluations: nil,
86
+ evaluations:,
135
87
  # An array of files associated with this monitor.
136
- files: nil,
88
+ files:,
89
+ # A unique monitor ID.
90
+ monitor_id:,
91
+ # Name of this monitor.
92
+ name:,
137
93
  # Contains five fields used for stats of this monitor: total evaluations,
138
94
  # completed evaluations, failed evaluations, queued evaluations, and in progress
139
95
  # evaluations.
140
- stats: nil,
96
+ stats:,
97
+ # Status of the monitor. Can be `active` or `inactive`. Inactive monitors no
98
+ # longer record and evaluate events.
99
+ status:,
141
100
  # The most recent time the monitor was modified in UTC.
142
- updated_at: nil
101
+ updated_at:,
102
+ # Description of this monitor.
103
+ description: nil
143
104
  )
144
105
  end
145
106
 
146
107
  sig do
147
108
  override.returns(
148
109
  {
149
- monitor_id: String,
150
- name: String,
151
- status: Deeprails::MonitorDetailResponse::Status::TaggedSymbol,
152
110
  capabilities:
153
111
  T::Array[Deeprails::MonitorDetailResponse::Capability],
154
112
  created_at: Time,
155
- description: String,
156
113
  evaluations: T::Array[Deeprails::MonitorDetailResponse::Evaluation],
157
114
  files: T::Array[Deeprails::MonitorDetailResponse::File],
115
+ monitor_id: String,
116
+ name: String,
158
117
  stats: Deeprails::MonitorDetailResponse::Stats,
159
- updated_at: Time
118
+ status: Deeprails::MonitorDetailResponse::Status::TaggedSymbol,
119
+ updated_at: Time,
120
+ description: String
160
121
  }
161
122
  )
162
123
  end
163
124
  def to_hash
164
125
  end
165
126
 
166
- # Status of the monitor. Can be `active` or `inactive`. Inactive monitors no
167
- # longer record and evaluate events.
168
- module Status
169
- extend Deeprails::Internal::Type::Enum
170
-
171
- TaggedSymbol =
172
- T.type_alias do
173
- T.all(Symbol, Deeprails::MonitorDetailResponse::Status)
174
- end
175
- OrSymbol = T.type_alias { T.any(Symbol, String) }
176
-
177
- ACTIVE =
178
- T.let(:active, Deeprails::MonitorDetailResponse::Status::TaggedSymbol)
179
- INACTIVE =
180
- T.let(
181
- :inactive,
182
- Deeprails::MonitorDetailResponse::Status::TaggedSymbol
183
- )
184
-
185
- sig do
186
- override.returns(
187
- T::Array[Deeprails::MonitorDetailResponse::Status::TaggedSymbol]
188
- )
189
- end
190
- def self.values
191
- end
192
- end
193
-
194
127
  class Capability < Deeprails::Internal::Type::BaseModel
195
128
  OrHash =
196
129
  T.type_alias do
@@ -765,6 +698,34 @@ module Deeprails
765
698
  def to_hash
766
699
  end
767
700
  end
701
+
702
+ # Status of the monitor. Can be `active` or `inactive`. Inactive monitors no
703
+ # longer record and evaluate events.
704
+ module Status
705
+ extend Deeprails::Internal::Type::Enum
706
+
707
+ TaggedSymbol =
708
+ T.type_alias do
709
+ T.all(Symbol, Deeprails::MonitorDetailResponse::Status)
710
+ end
711
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
712
+
713
+ ACTIVE =
714
+ T.let(:active, Deeprails::MonitorDetailResponse::Status::TaggedSymbol)
715
+ INACTIVE =
716
+ T.let(
717
+ :inactive,
718
+ Deeprails::MonitorDetailResponse::Status::TaggedSymbol
719
+ )
720
+
721
+ sig do
722
+ override.returns(
723
+ T::Array[Deeprails::MonitorDetailResponse::Status::TaggedSymbol]
724
+ )
725
+ end
726
+ def self.values
727
+ end
728
+ end
768
729
  end
769
730
  end
770
731
  end
@@ -101,7 +101,9 @@ module Deeprails
101
101
  # The run mode used to evaluate the monitor event.
102
102
  sig do
103
103
  returns(
104
- T.nilable(Deeprails::MonitorEventDetailResponse::RunMode::OrSymbol)
104
+ T.nilable(
105
+ Deeprails::MonitorEventDetailResponse::RunMode::TaggedSymbol
106
+ )
105
107
  )
106
108
  end
107
109
  attr_reader :run_mode
@@ -116,7 +118,7 @@ module Deeprails
116
118
  # Status of the monitor event's evaluation.
117
119
  sig do
118
120
  returns(
119
- T.nilable(Deeprails::MonitorEventDetailResponse::Status::OrSymbol)
121
+ T.nilable(Deeprails::MonitorEventDetailResponse::Status::TaggedSymbol)
120
122
  )
121
123
  end
122
124
  attr_reader :status
@@ -197,8 +199,9 @@ module Deeprails
197
199
  model_output: String,
198
200
  monitor_id: String,
199
201
  nametag: String,
200
- run_mode: Deeprails::MonitorEventDetailResponse::RunMode::OrSymbol,
201
- status: Deeprails::MonitorEventDetailResponse::Status::OrSymbol,
202
+ run_mode:
203
+ Deeprails::MonitorEventDetailResponse::RunMode::TaggedSymbol,
204
+ status: Deeprails::MonitorEventDetailResponse::Status::TaggedSymbol,
202
205
  timestamp: Time
203
206
  }
204
207
  )