incident_io_api 2.58.0 → 2.60.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3311b320913a930e7aae10fac58d993835ce1f98fd3f5ad2821240d2dfd84a81
4
- data.tar.gz: b705244b133b85f499950c7c142fe518bc12ecde2a337273ff2795072d711aba
3
+ metadata.gz: 5106f1e3324a95a26ee1fcf0e0a0abb900d89cb348c3fdff3fcc569fe04e7c4f
4
+ data.tar.gz: 9308210c60c994cb39b692fcabd5601f15c398830123fefb3da7718c985d6ed3
5
5
  SHA512:
6
- metadata.gz: a760df2b50a5284f91980062181727a2dc0269646361c566acdc0e2dcc1485df8df9b5f5a10d32a4295e07a289d759050df2f4e98133505a3890f3bbae6d5cb2
7
- data.tar.gz: e55d3177cddc365feec1b1754e2b81e4088ce6288269d162c33d4935879c96b1805e95036a10f9e6cc1024120196f6c42e2f04457445f15bd34296bc3a324d6f
6
+ metadata.gz: b92059d62229d61834a993a2d4c00e500d3a1ac7de42c6c2573d55c2f933f8805a2d7caf5e27d7aad41c7a1fcab2283b96a4606c07cb496e901cd943ea56bb5d
7
+ data.tar.gz: a35930d1bb247747f98a4014d1de94a2e22230286d5d4afe912c3f4871e06c6aaf285d14c26ccf338cf9ce80e266fcef854b2bec21e36643431e4b7c982611ed
@@ -20,7 +20,7 @@ module IncidentIo
20
20
  @api_client = api_client
21
21
  end
22
22
  # List IncidentParticipantWorkloads V2
23
- # List the participants of an incident with their workload. We calculate how much time each participant has spent working on the incident, aggregated per participant. Each participant is annotated with their participant type and, if they have left the incident, when they were archived. Workload is calculated periodically, so values can lag real time and the most recent period may still be filling. The metadata reports the time the figures are calculated up to. Workload for private incidents is only returned to API keys with the `incident_workloads.view_private` scope.
23
+ # List the participants of an incident with their workload. We calculate how much time each participant has spent working on the incident, aggregated per participant. Each participant is annotated with their participant type and, if they have left the incident, when they were archived. Workload is calculated periodically, so values can lag real time and the most recent period may still be filling. The metadata reports the time the figures are calculated up to. Workload for private incidents is only returned to API keys with the `incident_workloads.view.private_incidents` scope.
24
24
  # @param incident_id [String] Find participant workload for this incident
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [IncidentParticipantWorkloadsListResultV2]
@@ -30,7 +30,7 @@ module IncidentIo
30
30
  end
31
31
 
32
32
  # List IncidentParticipantWorkloads V2
33
- # List the participants of an incident with their workload. We calculate how much time each participant has spent working on the incident, aggregated per participant. Each participant is annotated with their participant type and, if they have left the incident, when they were archived. Workload is calculated periodically, so values can lag real time and the most recent period may still be filling. The metadata reports the time the figures are calculated up to. Workload for private incidents is only returned to API keys with the `incident_workloads.view_private` scope.
33
+ # List the participants of an incident with their workload. We calculate how much time each participant has spent working on the incident, aggregated per participant. Each participant is annotated with their participant type and, if they have left the incident, when they were archived. Workload is calculated periodically, so values can lag real time and the most recent period may still be filling. The metadata reports the time the figures are calculated up to. Workload for private incidents is only returned to API keys with the `incident_workloads.view.private_incidents` scope.
34
34
  # @param incident_id [String] Find participant workload for this incident
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(IncidentParticipantWorkloadsListResultV2, Integer, Hash)>] IncidentParticipantWorkloadsListResultV2 data, response status code and response headers
@@ -20,7 +20,7 @@ module IncidentIo
20
20
  @api_client = api_client
21
21
  end
22
22
  # ConnectExternalIssue Incidents V2
23
- # Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident's fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident's fields are not written into this issue until it is turned on. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident's full ID, or the numeric part of its reference.
23
+ # Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident's fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident's fields are not written into this issue until it is turned on. This needs the incident_external_issues.create scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident's full ID, or the numeric part of its reference.
24
24
  # @param id [String] The unique identifier of the incident
25
25
  # @param incidents_connect_external_issue_payload_v2 [IncidentsConnectExternalIssuePayloadV2]
26
26
  # @param [Hash] opts the optional parameters
@@ -31,7 +31,7 @@ module IncidentIo
31
31
  end
32
32
 
33
33
  # ConnectExternalIssue Incidents V2
34
- # Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident&#39;s fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident&#39;s fields are not written into this issue until it is turned on. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident&#39;s full ID, or the numeric part of its reference.
34
+ # Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident&#39;s fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident&#39;s fields are not written into this issue until it is turned on. This needs the incident_external_issues.create scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident&#39;s full ID, or the numeric part of its reference.
35
35
  # @param id [String] The unique identifier of the incident
36
36
  # @param incidents_connect_external_issue_payload_v2 [IncidentsConnectExternalIssuePayloadV2]
37
37
  # @param [Hash] opts the optional parameters
@@ -100,7 +100,7 @@ module IncidentIo
100
100
  end
101
101
 
102
102
  # ListNotificationMethods Users V2
103
- # List notification methods for a user. Phone numbers are partially redacted unless the API key holds the notification_methods.view_unredacted scope.
103
+ # List notification methods for a user. Phone numbers are partially redacted unless the API key holds the unredacted_notification_methods.view scope.
104
104
  # @param user_id [String] The ID of the user whose notification methods you want to list.
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [UsersListNotificationMethodsResultV2]
@@ -110,7 +110,7 @@ module IncidentIo
110
110
  end
111
111
 
112
112
  # ListNotificationMethods Users V2
113
- # List notification methods for a user. Phone numbers are partially redacted unless the API key holds the notification_methods.view_unredacted scope.
113
+ # List notification methods for a user. Phone numbers are partially redacted unless the API key holds the unredacted_notification_methods.view scope.
114
114
  # @param user_id [String] The ID of the user whose notification methods you want to list.
115
115
  # @param [Hash] opts the optional parameters
116
116
  # @return [Array<(UsersListNotificationMethodsResultV2, Integer, Hash)>] UsersListNotificationMethodsResultV2 data, response status code and response headers
@@ -225,6 +225,69 @@ module IncidentIo
225
225
  return data, status_code, headers
226
226
  end
227
227
 
228
+ # RevokeSessions Users V2
229
+ # End every active session for a user. Dashboard sessions stop working on the next request. Mobile, desktop app, and MCP sessions end as well: each registered device is signed out. The user remains active and can sign in again. Personal API keys are not revoked. A user cannot end sessions for someone with a higher role. An API key with this scope can. Use this during deprovisioning when sessions need to end before a SCIM deactivation arrives. Deactivating a user also ends their sessions.
230
+ # @param id [String] Unique identifier of the user
231
+ # @param [Hash] opts the optional parameters
232
+ # @return [nil]
233
+ def users_v2_revoke_sessions(id, opts = {})
234
+ users_v2_revoke_sessions_with_http_info(id, opts)
235
+ nil
236
+ end
237
+
238
+ # RevokeSessions Users V2
239
+ # End every active session for a user. Dashboard sessions stop working on the next request. Mobile, desktop app, and MCP sessions end as well: each registered device is signed out. The user remains active and can sign in again. Personal API keys are not revoked. A user cannot end sessions for someone with a higher role. An API key with this scope can. Use this during deprovisioning when sessions need to end before a SCIM deactivation arrives. Deactivating a user also ends their sessions.
240
+ # @param id [String] Unique identifier of the user
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
243
+ def users_v2_revoke_sessions_with_http_info(id, opts = {})
244
+ if @api_client.config.debugging
245
+ @api_client.config.logger.debug 'Calling API: UsersV2Api.users_v2_revoke_sessions ...'
246
+ end
247
+ # verify the required parameter 'id' is set
248
+ if @api_client.config.client_side_validation && id.nil?
249
+ fail ArgumentError, "Missing the required parameter 'id' when calling UsersV2Api.users_v2_revoke_sessions"
250
+ end
251
+ # resource path
252
+ local_var_path = '/v2/users/{id}/actions/revoke_sessions'.sub('{id}', CGI.escape(id.to_s))
253
+
254
+ # query parameters
255
+ query_params = opts[:query_params] || {}
256
+
257
+ # header parameters
258
+ header_params = opts[:header_params] || {}
259
+ # HTTP header 'Accept' (if needed)
260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
261
+
262
+ # form parameters
263
+ form_params = opts[:form_params] || {}
264
+
265
+ # http body (model)
266
+ post_body = opts[:debug_body]
267
+
268
+ # return_type
269
+ return_type = opts[:debug_return_type]
270
+
271
+ # auth_names
272
+ auth_names = opts[:debug_auth_names] || ['BearerAuth']
273
+
274
+ new_options = opts.merge(
275
+ :operation => :"UsersV2Api.users_v2_revoke_sessions",
276
+ :header_params => header_params,
277
+ :query_params => query_params,
278
+ :form_params => form_params,
279
+ :body => post_body,
280
+ :auth_names => auth_names,
281
+ :return_type => return_type
282
+ )
283
+
284
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
285
+ if @api_client.config.debugging
286
+ @api_client.config.logger.debug "API called: UsersV2Api#users_v2_revoke_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
287
+ end
288
+ return data, status_code, headers
289
+ end
290
+
228
291
  # Show Users V2
229
292
  # Get a single user.
230
293
  # @param id [String] Unique identifier of the user
@@ -18,7 +18,7 @@ module IncidentIo
18
18
  # Human readable description of the role
19
19
  attr_accessor :description
20
20
 
21
- # API key role name Known values: `viewer`, `incident_creator`, `incident_editor`, `manage_settings`, `glossary_entries_manage`, `global_access`, `catalog_viewer`, `catalog_editor`, `incident_memberships_editor`, `schedules_editor`, `schedules_reader`, `schedule_overrides_editor`, `workflows_editor`, `workflows_viewer`, `private_workflows_editor`, `private_escalation_workflows_editor`, `on_call_editor`, `on_call_viewer`, `escalation_creator`, `post_incident_flow_opt_out`, `security_settings_editor`, `investigation_download`, `team_memberships_manage`, `status_page_publisher`, `status_page_viewer`, `postmortems_manage`, `api_keys_manage`, `notification_methods_manage`, `notification_methods_unredacted_viewer`, `incident_workload_viewer`, `incident_workload_private_viewer`, `act_on_behalf_of_users`, `secrets_manage`, `secrets_use`, `call_transcripts_viewer`, `heartbeats_ping`, `telemetry_query_restricted`, `telemetry_data_source_update`, `policies_viewer`, `policy_findings_manage`, `pay_reports_viewer`, `pay_reports_editor`, `pay_configs_viewer`, `pay_configs_editor`, `investigations_editor`, `telemetry_viewer`, `documents_viewer`
21
+ # API key role name Known values: `viewer`, `incident_creator`, `incident_editor`, `manage_settings`, `glossary_entries_manage`, `global_access`, `catalog_viewer`, `catalog_editor`, `incident_memberships_editor`, `schedules_editor`, `schedules_reader`, `schedule_overrides_editor`, `workflows_editor`, `workflows_viewer`, `private_workflows_editor`, `private_escalation_workflows_editor`, `on_call_editor`, `on_call_viewer`, `escalation_creator`, `post_incident_flow_opt_out`, `security_settings_editor`, `investigation_download`, `team_memberships_manage`, `status_page_publisher`, `status_page_viewer`, `postmortems_manage`, `api_keys_manage`, `notification_methods_manage`, `notification_methods_unredacted_viewer`, `incident_workload_viewer`, `incident_workload_private_viewer`, `act_on_behalf_of_users`, `secrets_manage`, `secrets_use`, `call_transcripts_viewer`, `heartbeats_ping`, `telemetry_query_restricted`, `telemetry_data_source_update`, `policies_viewer`, `policy_findings_manage`, `pay_reports_viewer`, `pay_reports_editor`, `pay_configs_viewer`, `pay_configs_editor`, `investigations_editor`, `telemetry_viewer`, `documents_viewer`, `user_sessions_revoke`
22
22
  attr_accessor :name
23
23
 
24
24
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -0,0 +1,300 @@
1
+ =begin
2
+ #incident.io
3
+
4
+ #Ruby client for the incident.io API.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IncidentIo
17
+ class AuditLogsUserSessionsRevokedV1 < ApiModelBase
18
+ # The type of log entry that this is
19
+ attr_accessor :action
20
+
21
+ attr_accessor :actor
22
+
23
+ attr_accessor :context
24
+
25
+ # When the entry occurred
26
+ attr_accessor :occurred_at
27
+
28
+ # The custom field that was created
29
+ attr_accessor :targets
30
+
31
+ # Which version the event is
32
+ attr_accessor :version
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'action' => :'action',
38
+ :'actor' => :'actor',
39
+ :'context' => :'context',
40
+ :'occurred_at' => :'occurred_at',
41
+ :'targets' => :'targets',
42
+ :'version' => :'version'
43
+ }
44
+ end
45
+
46
+ # Returns attribute mapping this model knows about
47
+ def self.acceptable_attribute_map
48
+ attribute_map
49
+ end
50
+
51
+ # Returns all the JSON keys this model knows about
52
+ def self.acceptable_attributes
53
+ acceptable_attribute_map.values
54
+ end
55
+
56
+ # Attribute type mapping.
57
+ def self.openapi_types
58
+ {
59
+ :'action' => :'String',
60
+ :'actor' => :'AuditLogActorV2',
61
+ :'context' => :'AuditLogEntryContextV2',
62
+ :'occurred_at' => :'Time',
63
+ :'targets' => :'Array<AuditLogTargetV2>',
64
+ :'version' => :'Integer'
65
+ }
66
+ end
67
+
68
+ # List of attributes with nullable: true
69
+ def self.openapi_nullable
70
+ Set.new([
71
+ ])
72
+ end
73
+
74
+ # Initializes the object
75
+ # @param [Hash] attributes Model attributes in the form of hash
76
+ def initialize(attributes = {})
77
+ if (!attributes.is_a?(Hash))
78
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::AuditLogsUserSessionsRevokedV1` initialize method"
79
+ end
80
+
81
+ # check to see if the attribute exists and convert string to symbol for hash key
82
+ acceptable_attribute_map = self.class.acceptable_attribute_map
83
+ attributes = attributes.each_with_object({}) { |(k, v), h|
84
+ if (!acceptable_attribute_map.key?(k.to_sym))
85
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::AuditLogsUserSessionsRevokedV1`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
86
+ end
87
+ h[k.to_sym] = v
88
+ }
89
+
90
+ if attributes.key?(:'action')
91
+ self.action = attributes[:'action']
92
+ else
93
+ self.action = nil
94
+ end
95
+
96
+ if attributes.key?(:'actor')
97
+ self.actor = attributes[:'actor']
98
+ else
99
+ self.actor = nil
100
+ end
101
+
102
+ if attributes.key?(:'context')
103
+ self.context = attributes[:'context']
104
+ else
105
+ self.context = nil
106
+ end
107
+
108
+ if attributes.key?(:'occurred_at')
109
+ self.occurred_at = attributes[:'occurred_at']
110
+ else
111
+ self.occurred_at = nil
112
+ end
113
+
114
+ if attributes.key?(:'targets')
115
+ if (value = attributes[:'targets']).is_a?(Array)
116
+ self.targets = value
117
+ end
118
+ else
119
+ self.targets = nil
120
+ end
121
+
122
+ if attributes.key?(:'version')
123
+ self.version = attributes[:'version']
124
+ else
125
+ self.version = nil
126
+ end
127
+ end
128
+
129
+ # Show invalid properties with the reasons. Usually used together with valid?
130
+ # @return Array for valid properties with the reasons
131
+ def list_invalid_properties
132
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
133
+ invalid_properties = Array.new
134
+ if @action.nil?
135
+ invalid_properties.push('invalid value for "action", action cannot be nil.')
136
+ end
137
+
138
+ if @actor.nil?
139
+ invalid_properties.push('invalid value for "actor", actor cannot be nil.')
140
+ end
141
+
142
+ if @context.nil?
143
+ invalid_properties.push('invalid value for "context", context cannot be nil.')
144
+ end
145
+
146
+ if @occurred_at.nil?
147
+ invalid_properties.push('invalid value for "occurred_at", occurred_at cannot be nil.')
148
+ end
149
+
150
+ if @targets.nil?
151
+ invalid_properties.push('invalid value for "targets", targets cannot be nil.')
152
+ end
153
+
154
+ if @version.nil?
155
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
156
+ end
157
+
158
+ invalid_properties
159
+ end
160
+
161
+ # Check to see if the all the properties in the model are valid
162
+ # @return true if the model is valid
163
+ def valid?
164
+ warn '[DEPRECATED] the `valid?` method is obsolete'
165
+ return false if @action.nil?
166
+ return false if @actor.nil?
167
+ return false if @context.nil?
168
+ return false if @occurred_at.nil?
169
+ return false if @targets.nil?
170
+ return false if @version.nil?
171
+ true
172
+ end
173
+
174
+ # Custom attribute writer method with validation
175
+ # @param [Object] action Value to be assigned
176
+ def action=(action)
177
+ if action.nil?
178
+ fail ArgumentError, 'action cannot be nil'
179
+ end
180
+
181
+ @action = action
182
+ end
183
+
184
+ # Custom attribute writer method with validation
185
+ # @param [Object] actor Value to be assigned
186
+ def actor=(actor)
187
+ if actor.nil?
188
+ fail ArgumentError, 'actor cannot be nil'
189
+ end
190
+
191
+ @actor = actor
192
+ end
193
+
194
+ # Custom attribute writer method with validation
195
+ # @param [Object] context Value to be assigned
196
+ def context=(context)
197
+ if context.nil?
198
+ fail ArgumentError, 'context cannot be nil'
199
+ end
200
+
201
+ @context = context
202
+ end
203
+
204
+ # Custom attribute writer method with validation
205
+ # @param [Object] occurred_at Value to be assigned
206
+ def occurred_at=(occurred_at)
207
+ if occurred_at.nil?
208
+ fail ArgumentError, 'occurred_at cannot be nil'
209
+ end
210
+
211
+ @occurred_at = occurred_at
212
+ end
213
+
214
+ # Custom attribute writer method with validation
215
+ # @param [Object] targets Value to be assigned
216
+ def targets=(targets)
217
+ if targets.nil?
218
+ fail ArgumentError, 'targets cannot be nil'
219
+ end
220
+
221
+ @targets = targets
222
+ end
223
+
224
+ # Custom attribute writer method with validation
225
+ # @param [Object] version Value to be assigned
226
+ def version=(version)
227
+ if version.nil?
228
+ fail ArgumentError, 'version cannot be nil'
229
+ end
230
+
231
+ @version = version
232
+ end
233
+
234
+ # Checks equality by comparing each attribute.
235
+ # @param [Object] Object to be compared
236
+ def ==(o)
237
+ return true if self.equal?(o)
238
+ self.class == o.class &&
239
+ action == o.action &&
240
+ actor == o.actor &&
241
+ context == o.context &&
242
+ occurred_at == o.occurred_at &&
243
+ targets == o.targets &&
244
+ version == o.version
245
+ end
246
+
247
+ # @see the `==` method
248
+ # @param [Object] Object to be compared
249
+ def eql?(o)
250
+ self == o
251
+ end
252
+
253
+ # Calculates hash code according to all attributes.
254
+ # @return [Integer] Hash code
255
+ def hash
256
+ [action, actor, context, occurred_at, targets, version].hash
257
+ end
258
+
259
+ # Builds the object from hash
260
+ # @param [Hash] attributes Model attributes in the form of hash
261
+ # @return [Object] Returns the model itself
262
+ def self.build_from_hash(attributes)
263
+ return nil unless attributes.is_a?(Hash)
264
+ attributes = attributes.transform_keys(&:to_sym)
265
+ transformed_hash = {}
266
+ openapi_types.each_pair do |key, type|
267
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
268
+ transformed_hash["#{key}"] = nil
269
+ elsif type =~ /\AArray<(.*)>/i
270
+ # check to ensure the input is an array given that the attribute
271
+ # is documented as an array but the input is not
272
+ if attributes[attribute_map[key]].is_a?(Array)
273
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
274
+ end
275
+ elsif !attributes[attribute_map[key]].nil?
276
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
277
+ end
278
+ end
279
+ new(transformed_hash)
280
+ end
281
+
282
+ # Returns the object in the form of hash
283
+ # @return [Hash] Returns the object in the form of hash
284
+ def to_hash
285
+ hash = {}
286
+ self.class.attribute_map.each_pair do |attr, param|
287
+ value = self.send(attr)
288
+ if value.nil?
289
+ is_nullable = self.class.openapi_nullable.include?(attr)
290
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
291
+ end
292
+
293
+ hash[param] = _to_hash(value)
294
+ end
295
+ hash
296
+ end
297
+
298
+ end
299
+
300
+ end
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # Conditions a debrief must satisfy to be compliant
22
22
  attr_accessor :requirements
23
23
 
24
- # Requires the policies.run_on_private scope
24
+ # Requires the policies.run.private_incidents scope
25
25
  attr_accessor :run_on_private_incidents
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # Conditions a debrief must satisfy to be compliant
22
22
  attr_accessor :requirements
23
23
 
24
- # Requires the policies.run_on_private scope
24
+ # Requires the policies.run.private_incidents scope
25
25
  attr_accessor :run_on_private_incidents
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # Conditions a follow-up must satisfy to be compliant, e.g. 'is exported to Jira'
22
22
  attr_accessor :requirements
23
23
 
24
- # Requires the policies.run_on_private scope
24
+ # Requires the policies.run.private_incidents scope
25
25
  attr_accessor :run_on_private_incidents
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # Conditions a follow-up must satisfy to be compliant, e.g. 'is exported to Jira'
22
22
  attr_accessor :requirements
23
23
 
24
- # Requires the policies.run_on_private scope
24
+ # Requires the policies.run.private_incidents scope
25
25
  attr_accessor :run_on_private_incidents
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # Conditions a post-mortem must satisfy to be compliant
22
22
  attr_accessor :requirements
23
23
 
24
- # Requires the policies.run_on_private scope
24
+ # Requires the policies.run.private_incidents scope
25
25
  attr_accessor :run_on_private_incidents
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -21,7 +21,7 @@ module IncidentIo
21
21
  # Conditions a post-mortem must satisfy to be compliant
22
22
  attr_accessor :requirements
23
23
 
24
- # Requires the policies.run_on_private scope
24
+ # Requires the policies.run.private_incidents scope
25
25
  attr_accessor :run_on_private_incidents
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -4,5 +4,5 @@ module IncidentIo
4
4
  # The release workflow sets this before building, so it tracks whatever we
5
5
  # last published. Listed in .openapi-generator-ignore so regeneration can't
6
6
  # reset it.
7
- VERSION = "2.58.0"
7
+ VERSION = "2.60.0"
8
8
  end
data/lib/incident_io.rb CHANGED
@@ -749,6 +749,7 @@ IncidentIo.autoload :AuditLogsUserReinstatedV1, 'incident_io/models/audit_logs_u
749
749
  IncidentIo.autoload :AuditLogsUserReinstatedV2, 'incident_io/models/audit_logs_user_reinstated_v2'
750
750
  IncidentIo.autoload :AuditLogsUserRoleMembershipsUpdatedV1, 'incident_io/models/audit_logs_user_role_memberships_updated_v1'
751
751
  IncidentIo.autoload :AuditLogsUserRoleMembershipsUpdatedV2, 'incident_io/models/audit_logs_user_role_memberships_updated_v2'
752
+ IncidentIo.autoload :AuditLogsUserSessionsRevokedV1, 'incident_io/models/audit_logs_user_sessions_revoked_v1'
752
753
  IncidentIo.autoload :AuditLogsUserUpdatedV1, 'incident_io/models/audit_logs_user_updated_v1'
753
754
  IncidentIo.autoload :AuditLogsUserUpdatedV2, 'incident_io/models/audit_logs_user_updated_v2'
754
755
  IncidentIo.autoload :AuditLogsWorkflowCreatedV1, 'incident_io/models/audit_logs_workflow_created_v1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incident_io_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.58.0
4
+ version: 2.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - incident.io
@@ -877,6 +877,7 @@ files:
877
877
  - lib/incident_io/models/audit_logs_user_reinstated_v2.rb
878
878
  - lib/incident_io/models/audit_logs_user_role_memberships_updated_v1.rb
879
879
  - lib/incident_io/models/audit_logs_user_role_memberships_updated_v2.rb
880
+ - lib/incident_io/models/audit_logs_user_sessions_revoked_v1.rb
880
881
  - lib/incident_io/models/audit_logs_user_updated_v1.rb
881
882
  - lib/incident_io/models/audit_logs_user_updated_v2.rb
882
883
  - lib/incident_io/models/audit_logs_workflow_created_v1.rb