shipeasy-sdk 2.3.0 → 2.3.1

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.
Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shipeasy/admin.rb +14 -8
  3. data/lib/shipeasy/sdk/version.rb +1 -1
  4. data/lib/shipeasy_admin/api/{alert_rules_api.rb → alerts_api.rb} +77 -17
  5. data/lib/shipeasy_admin/api/api_keys_api.rb +229 -0
  6. data/lib/shipeasy_admin/api/attributes_api.rb +1 -1
  7. data/lib/shipeasy_admin/api/configs_api.rb +78 -1
  8. data/lib/shipeasy_admin/api/connectors_api.rb +497 -0
  9. data/lib/shipeasy_admin/api/drafts_api.rb +82 -0
  10. data/lib/shipeasy_admin/api/errors_api.rb +389 -0
  11. data/lib/shipeasy_admin/api/events_api.rb +1 -1
  12. data/lib/shipeasy_admin/api/experiments_api.rb +1 -1
  13. data/lib/shipeasy_admin/api/{gates_api.rb → flags_api.rb} +27 -27
  14. data/lib/shipeasy_admin/api/{i18n_api.rb → keys_api.rb} +54 -244
  15. data/lib/shipeasy_admin/api/{killswitches_api.rb → killswitch_api.rb} +110 -33
  16. data/lib/shipeasy_admin/api/metrics_api.rb +1 -1
  17. data/lib/shipeasy_admin/api/ops_api.rb +3 -63
  18. data/lib/shipeasy_admin/api/profiles_api.rb +226 -0
  19. data/lib/shipeasy_admin/api/projects_api.rb +64 -1
  20. data/lib/shipeasy_admin/api/universes_api.rb +1 -1
  21. data/lib/shipeasy_admin/api_client.rb +1 -1
  22. data/lib/shipeasy_admin/api_error.rb +1 -1
  23. data/lib/shipeasy_admin/api_model_base.rb +1 -1
  24. data/lib/shipeasy_admin/configuration.rb +1 -1
  25. data/lib/shipeasy_admin/models/approve_event_request.rb +2 -2
  26. data/lib/shipeasy_admin/models/approve_event_response.rb +1 -1
  27. data/lib/shipeasy_admin/models/claude_trigger_config.rb +204 -0
  28. data/lib/shipeasy_admin/models/connector_event.rb +40 -0
  29. data/lib/shipeasy_admin/models/connector_provider.rb +45 -0
  30. data/lib/shipeasy_admin/models/connector_record.rb +468 -0
  31. data/lib/shipeasy_admin/models/copilot_trigger_config.rb +276 -0
  32. data/lib/shipeasy_admin/models/create_alert_rule_request.rb +6 -31
  33. data/lib/shipeasy_admin/models/create_alert_rule_response.rb +1 -1
  34. data/lib/shipeasy_admin/models/create_claude_trigger_request.rb +309 -0
  35. data/lib/shipeasy_admin/models/create_config_request.rb +14 -3
  36. data/lib/shipeasy_admin/models/create_config_response.rb +1 -1
  37. data/lib/shipeasy_admin/models/create_connector_request.rb +64 -0
  38. data/lib/shipeasy_admin/models/create_connector_response.rb +165 -0
  39. data/lib/shipeasy_admin/models/create_copilot_trigger_request.rb +316 -0
  40. data/lib/shipeasy_admin/models/create_cursor_trigger_request.rb +352 -0
  41. data/lib/shipeasy_admin/models/create_event_request.rb +2 -19
  42. data/lib/shipeasy_admin/models/create_event_response.rb +1 -1
  43. data/lib/shipeasy_admin/models/create_experiment_request.rb +39 -101
  44. data/lib/shipeasy_admin/models/create_experiment_response.rb +1 -1
  45. data/lib/shipeasy_admin/models/create_gate_request.rb +6 -43
  46. data/lib/shipeasy_admin/models/create_gate_response.rb +1 -1
  47. data/lib/shipeasy_admin/models/create_i18n_profile_request.rb +1 -1
  48. data/lib/shipeasy_admin/models/create_i18n_profile_response.rb +1 -1
  49. data/lib/shipeasy_admin/models/create_jules_trigger_request.rb +352 -0
  50. data/lib/shipeasy_admin/models/create_key_request.rb +297 -0
  51. data/lib/shipeasy_admin/models/create_key_response.rb +286 -0
  52. data/lib/shipeasy_admin/models/create_killswitch_request.rb +14 -3
  53. data/lib/shipeasy_admin/models/create_killswitch_response.rb +1 -1
  54. data/lib/shipeasy_admin/models/create_metric_request.rb +6 -18
  55. data/lib/shipeasy_admin/models/create_metric_response.rb +1 -1
  56. data/lib/shipeasy_admin/models/create_o_auth_connector_request.rb +273 -0
  57. data/lib/shipeasy_admin/models/create_ops_item_request.rb +2 -2
  58. data/lib/shipeasy_admin/models/create_ops_item_response.rb +2 -2
  59. data/lib/shipeasy_admin/models/create_universe_request.rb +6 -23
  60. data/lib/shipeasy_admin/models/create_universe_response.rb +1 -1
  61. data/lib/shipeasy_admin/models/cursor_trigger_config.rb +231 -0
  62. data/lib/shipeasy_admin/models/delete_alert_rule_response.rb +1 -1
  63. data/lib/shipeasy_admin/models/delete_config_response.rb +1 -1
  64. data/lib/shipeasy_admin/models/delete_connector_response.rb +188 -0
  65. data/lib/shipeasy_admin/models/delete_event_response.rb +1 -1
  66. data/lib/shipeasy_admin/models/delete_experiment_response.rb +1 -1
  67. data/lib/shipeasy_admin/models/delete_gate_response.rb +1 -1
  68. data/lib/shipeasy_admin/models/delete_killswitch_response.rb +1 -1
  69. data/lib/shipeasy_admin/models/delete_metric_response.rb +1 -1
  70. data/lib/shipeasy_admin/models/delete_universe_response.rb +1 -1
  71. data/lib/shipeasy_admin/models/disable_gate_response.rb +1 -1
  72. data/lib/shipeasy_admin/models/discard_config_draft_request.rb +7 -10
  73. data/lib/shipeasy_admin/models/discard_config_draft_response.rb +1 -1
  74. data/lib/shipeasy_admin/models/enable_gate_response.rb +1 -1
  75. data/lib/shipeasy_admin/models/env.rb +41 -0
  76. data/lib/shipeasy_admin/models/{error_response.rb → error.rb} +29 -7
  77. data/lib/shipeasy_admin/models/error_code.rb +52 -0
  78. data/lib/shipeasy_admin/models/error_record.rb +597 -0
  79. data/lib/shipeasy_admin/models/error_series_request.rb +251 -0
  80. data/lib/shipeasy_admin/models/error_series_response.rb +195 -0
  81. data/lib/shipeasy_admin/models/error_series_response_rows_inner.rb +192 -0
  82. data/lib/shipeasy_admin/models/{create_experiment_request_goal_metric.rb → experiment_inline_metric.rb} +9 -8
  83. data/lib/shipeasy_admin/models/file_error_ticket_response.rb +193 -0
  84. data/lib/shipeasy_admin/models/fire_connector_request.rb +149 -0
  85. data/lib/shipeasy_admin/models/fire_connector_response.rb +176 -0
  86. data/lib/shipeasy_admin/models/get_config_response.rb +1 -1
  87. data/lib/shipeasy_admin/models/get_current_project_response.rb +1 -1
  88. data/lib/shipeasy_admin/models/get_current_project_response_module_translations.rb +1 -1
  89. data/lib/shipeasy_admin/models/get_event_response.rb +1 -1
  90. data/lib/shipeasy_admin/models/get_experiment_response.rb +1 -1
  91. data/lib/shipeasy_admin/models/get_experiment_results_response.rb +1 -1
  92. data/lib/shipeasy_admin/models/get_experiment_results_response_experiment.rb +1 -1
  93. data/lib/shipeasy_admin/models/get_experiment_results_response_results_inner.rb +1 -1
  94. data/lib/shipeasy_admin/models/get_experiment_timeseries_response.rb +1 -1
  95. data/lib/shipeasy_admin/models/get_experiment_timeseries_response_experiment.rb +1 -1
  96. data/lib/shipeasy_admin/models/get_experiment_timeseries_response_series_inner.rb +1 -1
  97. data/lib/shipeasy_admin/models/get_killswitch_response.rb +1 -1
  98. data/lib/shipeasy_admin/models/get_metric_response.rb +1 -1
  99. data/lib/shipeasy_admin/models/get_ops_item_response.rb +1 -1
  100. data/lib/shipeasy_admin/models/jules_trigger_config.rb +240 -0
  101. data/lib/shipeasy_admin/models/key_record.rb +353 -0
  102. data/lib/shipeasy_admin/models/killswitch_value.rb +178 -0
  103. data/lib/shipeasy_admin/models/link_pr_to_ops_item_request.rb +1 -1
  104. data/lib/shipeasy_admin/models/link_pr_to_ops_item_response.rb +1 -1
  105. data/lib/shipeasy_admin/models/list_alert_rules_response_inner.rb +2 -2
  106. data/lib/shipeasy_admin/models/list_attributes_response_inner.rb +1 -1
  107. data/lib/shipeasy_admin/models/list_config_activity_response_inner.rb +1 -1
  108. data/lib/shipeasy_admin/models/list_configs_response.rb +1 -1
  109. data/lib/shipeasy_admin/models/list_configs_response_data_inner.rb +1 -1
  110. data/lib/shipeasy_admin/models/list_configs_response_data_inner_drafts_value.rb +1 -1
  111. data/lib/shipeasy_admin/models/list_configs_response_data_inner_envs_value.rb +1 -1
  112. data/lib/shipeasy_admin/models/list_events_response_inner.rb +1 -1
  113. data/lib/shipeasy_admin/models/list_events_response_inner_properties_inner.rb +1 -31
  114. data/lib/shipeasy_admin/models/list_experiments_response.rb +1 -1
  115. data/lib/shipeasy_admin/models/list_experiments_response_data_inner.rb +1 -1
  116. data/lib/shipeasy_admin/models/list_experiments_response_data_inner_groups_inner.rb +1 -18
  117. data/lib/shipeasy_admin/models/list_gates_response.rb +1 -1
  118. data/lib/shipeasy_admin/models/list_gates_response_data_inner.rb +1 -1
  119. data/lib/shipeasy_admin/models/list_gates_response_data_inner_enabled.rb +1 -1
  120. data/lib/shipeasy_admin/models/list_gates_response_data_inner_rules_inner.rb +1 -1
  121. data/lib/shipeasy_admin/models/list_gates_response_data_inner_stack_inner.rb +1 -1
  122. data/lib/shipeasy_admin/models/list_gates_response_data_inner_stack_inner_one_of.rb +1 -18
  123. data/lib/shipeasy_admin/models/list_gates_response_data_inner_stack_inner_one_of1.rb +1 -1
  124. data/lib/shipeasy_admin/models/list_gates_response_data_inner_stack_inner_one_of_ramp.rb +1 -1
  125. data/lib/shipeasy_admin/models/list_i18n_drafts_response_inner.rb +1 -1
  126. data/lib/shipeasy_admin/models/list_i18n_keys_response.rb +1 -1
  127. data/lib/shipeasy_admin/models/list_i18n_keys_response_keys_inner.rb +1 -1
  128. data/lib/shipeasy_admin/models/list_i18n_profiles_response_inner.rb +1 -1
  129. data/lib/shipeasy_admin/models/list_keys_response.rb +180 -0
  130. data/lib/shipeasy_admin/models/list_killswitches_response.rb +1 -1
  131. data/lib/shipeasy_admin/models/list_killswitches_response_data_inner.rb +1 -1
  132. data/lib/shipeasy_admin/models/list_killswitches_response_data_inner_envs_value.rb +1 -1
  133. data/lib/shipeasy_admin/models/list_metrics_response_inner.rb +1 -1
  134. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir.rb +3 -10
  135. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg.rb +1 -1
  136. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of.rb +1 -1
  137. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of1.rb +1 -1
  138. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of2.rb +1 -1
  139. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of3.rb +1 -1
  140. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of4.rb +1 -1
  141. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of5.rb +1 -1
  142. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of6.rb +1 -1
  143. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of7.rb +1 -1
  144. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of8.rb +1 -1
  145. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of9.rb +1 -1
  146. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of9_numerator.rb +1 -1
  147. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_agg_one_of9_numerator_filters_inner.rb +1 -1
  148. data/lib/shipeasy_admin/models/list_metrics_response_inner_query_ir_group_by.rb +1 -1
  149. data/lib/shipeasy_admin/models/list_ops_items_response_inner.rb +1 -1
  150. data/lib/shipeasy_admin/models/list_slack_channels_response.rb +1 -1
  151. data/lib/shipeasy_admin/models/list_slack_channels_response_channels_inner.rb +1 -1
  152. data/lib/shipeasy_admin/models/list_universes_response.rb +1 -1
  153. data/lib/shipeasy_admin/models/list_universes_response_data_inner.rb +1 -1
  154. data/lib/shipeasy_admin/models/{list_alert_rules_response_inner_notify.rb → notification_target.rb} +6 -24
  155. data/lib/shipeasy_admin/models/{list_alert_rules_response_inner_notify_slack_channel.rb → notification_target_slack_channel.rb} +4 -7
  156. data/lib/shipeasy_admin/models/notify_ops_request.rb +1 -1
  157. data/lib/shipeasy_admin/models/notify_ops_response.rb +1 -1
  158. data/lib/shipeasy_admin/models/publish_config_draft_request.rb +7 -10
  159. data/lib/shipeasy_admin/models/publish_config_draft_response.rb +7 -10
  160. data/lib/shipeasy_admin/models/publish_i18n_profile_request.rb +1 -1
  161. data/lib/shipeasy_admin/models/publish_i18n_profile_response.rb +1 -1
  162. data/lib/shipeasy_admin/models/push_i18n_keys_request.rb +1 -1
  163. data/lib/shipeasy_admin/models/push_i18n_keys_request_keys_inner.rb +1 -1
  164. data/lib/shipeasy_admin/models/push_i18n_keys_response.rb +1 -1
  165. data/lib/shipeasy_admin/models/reanalyze_experiment_response.rb +1 -1
  166. data/lib/shipeasy_admin/models/revoke_key_response.rb +216 -0
  167. data/lib/shipeasy_admin/models/save_config_draft_request.rb +7 -10
  168. data/lib/shipeasy_admin/models/save_config_draft_response.rb +7 -10
  169. data/lib/shipeasy_admin/models/search_hit.rb +284 -0
  170. data/lib/shipeasy_admin/models/search_response.rb +167 -0
  171. data/lib/shipeasy_admin/models/set_experiment_metrics_request.rb +1 -1
  172. data/lib/shipeasy_admin/models/set_experiment_metrics_request_metrics_inner.rb +1 -1
  173. data/lib/shipeasy_admin/models/set_experiment_metrics_response.rb +1 -1
  174. data/lib/shipeasy_admin/models/set_experiment_metrics_response_metrics_inner.rb +1 -1
  175. data/lib/shipeasy_admin/models/set_experiment_status_request.rb +1 -1
  176. data/lib/shipeasy_admin/models/set_experiment_status_response.rb +1 -1
  177. data/lib/shipeasy_admin/models/set_i18n_label_request.rb +213 -0
  178. data/lib/shipeasy_admin/models/set_i18n_label_response.rb +472 -0
  179. data/lib/shipeasy_admin/models/set_killswitch_switch_request.rb +7 -10
  180. data/lib/shipeasy_admin/models/set_killswitch_switch_response.rb +7 -10
  181. data/lib/shipeasy_admin/models/set_killswitch_value_request.rb +214 -0
  182. data/lib/shipeasy_admin/models/set_killswitch_value_response.rb +283 -0
  183. data/lib/shipeasy_admin/models/test_connector_response.rb +189 -0
  184. data/lib/shipeasy_admin/models/unset_killswitch_switch_request.rb +7 -10
  185. data/lib/shipeasy_admin/models/unset_killswitch_switch_response.rb +7 -10
  186. data/lib/shipeasy_admin/models/update_alert_rule_request.rb +2 -4
  187. data/lib/shipeasy_admin/models/update_alert_rule_response.rb +1 -1
  188. data/lib/shipeasy_admin/models/update_config_request.rb +2 -2
  189. data/lib/shipeasy_admin/models/update_config_response.rb +1 -1
  190. data/lib/shipeasy_admin/models/update_config_schema_request.rb +168 -0
  191. data/lib/shipeasy_admin/models/update_config_schema_response.rb +165 -0
  192. data/lib/shipeasy_admin/models/update_connector_request.rb +211 -0
  193. data/lib/shipeasy_admin/models/update_connector_response.rb +166 -0
  194. data/lib/shipeasy_admin/models/update_error_status_request.rb +190 -0
  195. data/lib/shipeasy_admin/models/update_event_request.rb +2 -2
  196. data/lib/shipeasy_admin/models/update_event_response.rb +1 -1
  197. data/lib/shipeasy_admin/models/update_experiment_request.rb +5 -4
  198. data/lib/shipeasy_admin/models/update_experiment_response.rb +1 -1
  199. data/lib/shipeasy_admin/models/update_gate_request.rb +2 -2
  200. data/lib/shipeasy_admin/models/update_gate_response.rb +1 -1
  201. data/lib/shipeasy_admin/models/update_i18n_key_request.rb +1 -1
  202. data/lib/shipeasy_admin/models/update_i18n_key_response.rb +1 -1
  203. data/lib/shipeasy_admin/models/update_killswitch_request.rb +2 -2
  204. data/lib/shipeasy_admin/models/update_killswitch_response.rb +1 -1
  205. data/lib/shipeasy_admin/models/update_ops_item_request.rb +1 -1
  206. data/lib/shipeasy_admin/models/update_ops_item_response.rb +1 -1
  207. data/lib/shipeasy_admin/models/update_universe_request.rb +2 -2
  208. data/lib/shipeasy_admin/models/update_universe_response.rb +1 -1
  209. data/lib/shipeasy_admin/models/upsert_project_request.rb +1 -1
  210. data/lib/shipeasy_admin/models/upsert_project_response.rb +1 -1
  211. data/lib/shipeasy_admin/version.rb +1 -1
  212. data/lib/shipeasy_admin.rb +56 -9
  213. metadata +56 -9
@@ -3,7 +3,7 @@
3
3
 
4
4
  #REST API for managing feature gates, experiments, configs, universes, and killswitches in a Shipeasy project. Authenticate with an admin SDK key (`Authorization: Bearer sdk_admin_…`) and scope every request to a project via the `X-Project-Id` header. Mint admin keys via `POST /api/admin/keys` with `type: \"admin\"`. Keys expire after 90 days; rotate with the `revoke` action.
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.23.0
@@ -13,7 +13,7 @@ Generator version: 7.23.0
13
13
  require 'cgi'
14
14
 
15
15
  module Shipeasy::Admin::Generated
16
- class KillswitchesApi
16
+ class KillswitchApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -38,11 +38,11 @@ module Shipeasy::Admin::Generated
38
38
  # @return [Array<(CreateKillswitchResponse, Integer, Hash)>] CreateKillswitchResponse data, response status code and response headers
39
39
  def create_killswitch_with_http_info(create_killswitch_request, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.create_killswitch ...'
41
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.create_killswitch ...'
42
42
  end
43
43
  # verify the required parameter 'create_killswitch_request' is set
44
44
  if @api_client.config.client_side_validation && create_killswitch_request.nil?
45
- fail ArgumentError, "Missing the required parameter 'create_killswitch_request' when calling KillswitchesApi.create_killswitch"
45
+ fail ArgumentError, "Missing the required parameter 'create_killswitch_request' when calling KillswitchApi.create_killswitch"
46
46
  end
47
47
  # resource path
48
48
  local_var_path = '/api/admin/killswitches'
@@ -74,7 +74,7 @@ module Shipeasy::Admin::Generated
74
74
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
75
75
 
76
76
  new_options = opts.merge(
77
- :operation => :"KillswitchesApi.create_killswitch",
77
+ :operation => :"KillswitchApi.create_killswitch",
78
78
  :header_params => header_params,
79
79
  :query_params => query_params,
80
80
  :form_params => form_params,
@@ -85,7 +85,7 @@ module Shipeasy::Admin::Generated
85
85
 
86
86
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
87
87
  if @api_client.config.debugging
88
- @api_client.config.logger.debug "API called: KillswitchesApi#create_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ @api_client.config.logger.debug "API called: KillswitchApi#create_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
89
  end
90
90
  return data, status_code, headers
91
91
  end
@@ -109,11 +109,11 @@ module Shipeasy::Admin::Generated
109
109
  # @return [Array<(DeleteKillswitchResponse, Integer, Hash)>] DeleteKillswitchResponse data, response status code and response headers
110
110
  def delete_killswitch_with_http_info(id, opts = {})
111
111
  if @api_client.config.debugging
112
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.delete_killswitch ...'
112
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.delete_killswitch ...'
113
113
  end
114
114
  # verify the required parameter 'id' is set
115
115
  if @api_client.config.client_side_validation && id.nil?
116
- fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchesApi.delete_killswitch"
116
+ fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchApi.delete_killswitch"
117
117
  end
118
118
  # resource path
119
119
  local_var_path = '/api/admin/killswitches/{id}'.sub('{id}', CGI.escape(id.to_s))
@@ -140,7 +140,7 @@ module Shipeasy::Admin::Generated
140
140
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
141
141
 
142
142
  new_options = opts.merge(
143
- :operation => :"KillswitchesApi.delete_killswitch",
143
+ :operation => :"KillswitchApi.delete_killswitch",
144
144
  :header_params => header_params,
145
145
  :query_params => query_params,
146
146
  :form_params => form_params,
@@ -151,7 +151,7 @@ module Shipeasy::Admin::Generated
151
151
 
152
152
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
153
153
  if @api_client.config.debugging
154
- @api_client.config.logger.debug "API called: KillswitchesApi#delete_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
154
+ @api_client.config.logger.debug "API called: KillswitchApi#delete_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
155
155
  end
156
156
  return data, status_code, headers
157
157
  end
@@ -175,7 +175,7 @@ module Shipeasy::Admin::Generated
175
175
  # @return [Array<(GetKillswitchResponse, Integer, Hash)>] GetKillswitchResponse data, response status code and response headers
176
176
  def get_killswitch_with_http_info(id, opts = {})
177
177
  if @api_client.config.debugging
178
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.get_killswitch ...'
178
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.get_killswitch ...'
179
179
  end
180
180
  # resource path
181
181
  local_var_path = '/api/admin/killswitches/{id}'.sub('{id}', CGI.escape(id.to_s))
@@ -202,7 +202,7 @@ module Shipeasy::Admin::Generated
202
202
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
203
203
 
204
204
  new_options = opts.merge(
205
- :operation => :"KillswitchesApi.get_killswitch",
205
+ :operation => :"KillswitchApi.get_killswitch",
206
206
  :header_params => header_params,
207
207
  :query_params => query_params,
208
208
  :form_params => form_params,
@@ -213,7 +213,7 @@ module Shipeasy::Admin::Generated
213
213
 
214
214
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
215
215
  if @api_client.config.debugging
216
- @api_client.config.logger.debug "API called: KillswitchesApi#get_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
216
+ @api_client.config.logger.debug "API called: KillswitchApi#get_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
217
217
  end
218
218
  return data, status_code, headers
219
219
  end
@@ -239,14 +239,14 @@ module Shipeasy::Admin::Generated
239
239
  # @return [Array<(ListKillswitchesResponse, Integer, Hash)>] ListKillswitchesResponse data, response status code and response headers
240
240
  def list_killswitches_with_http_info(opts = {})
241
241
  if @api_client.config.debugging
242
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.list_killswitches ...'
242
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.list_killswitches ...'
243
243
  end
244
244
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
245
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KillswitchesApi.list_killswitches, must be smaller than or equal to 500.'
245
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KillswitchApi.list_killswitches, must be smaller than or equal to 500.'
246
246
  end
247
247
 
248
248
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
249
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KillswitchesApi.list_killswitches, must be greater than or equal to 1.'
249
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KillswitchApi.list_killswitches, must be greater than or equal to 1.'
250
250
  end
251
251
 
252
252
  # resource path
@@ -276,7 +276,7 @@ module Shipeasy::Admin::Generated
276
276
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
277
277
 
278
278
  new_options = opts.merge(
279
- :operation => :"KillswitchesApi.list_killswitches",
279
+ :operation => :"KillswitchApi.list_killswitches",
280
280
  :header_params => header_params,
281
281
  :query_params => query_params,
282
282
  :form_params => form_params,
@@ -287,7 +287,7 @@ module Shipeasy::Admin::Generated
287
287
 
288
288
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
289
289
  if @api_client.config.debugging
290
- @api_client.config.logger.debug "API called: KillswitchesApi#list_killswitches\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
290
+ @api_client.config.logger.debug "API called: KillswitchApi#list_killswitches\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
291
291
  end
292
292
  return data, status_code, headers
293
293
  end
@@ -313,15 +313,15 @@ module Shipeasy::Admin::Generated
313
313
  # @return [Array<(SetKillswitchSwitchResponse, Integer, Hash)>] SetKillswitchSwitchResponse data, response status code and response headers
314
314
  def set_killswitch_switch_with_http_info(id, set_killswitch_switch_request, opts = {})
315
315
  if @api_client.config.debugging
316
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.set_killswitch_switch ...'
316
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.set_killswitch_switch ...'
317
317
  end
318
318
  # verify the required parameter 'id' is set
319
319
  if @api_client.config.client_side_validation && id.nil?
320
- fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchesApi.set_killswitch_switch"
320
+ fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchApi.set_killswitch_switch"
321
321
  end
322
322
  # verify the required parameter 'set_killswitch_switch_request' is set
323
323
  if @api_client.config.client_side_validation && set_killswitch_switch_request.nil?
324
- fail ArgumentError, "Missing the required parameter 'set_killswitch_switch_request' when calling KillswitchesApi.set_killswitch_switch"
324
+ fail ArgumentError, "Missing the required parameter 'set_killswitch_switch_request' when calling KillswitchApi.set_killswitch_switch"
325
325
  end
326
326
  # resource path
327
327
  local_var_path = '/api/admin/killswitches/{id}/switch'.sub('{id}', CGI.escape(id.to_s))
@@ -353,7 +353,7 @@ module Shipeasy::Admin::Generated
353
353
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
354
354
 
355
355
  new_options = opts.merge(
356
- :operation => :"KillswitchesApi.set_killswitch_switch",
356
+ :operation => :"KillswitchApi.set_killswitch_switch",
357
357
  :header_params => header_params,
358
358
  :query_params => query_params,
359
359
  :form_params => form_params,
@@ -364,7 +364,84 @@ module Shipeasy::Admin::Generated
364
364
 
365
365
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
366
366
  if @api_client.config.debugging
367
- @api_client.config.logger.debug "API called: KillswitchesApi#set_killswitch_switch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
367
+ @api_client.config.logger.debug "API called: KillswitchApi#set_killswitch_switch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
368
+ end
369
+ return data, status_code, headers
370
+ end
371
+
372
+ # Set the flat value on one env
373
+ # Sets the flat `value` on a single `env`, publishing one new version on that env only. `switches` and other envs are untouched. Use this to trip (or untrip) a killswitch on one environment without replacing its per-key overrides. **Use cases** - **Trip on prod** — `{ \"env\": \"prod\", \"value\": true }`. - **Untrip on prod** — `{ \"env\": \"prod\", \"value\": false }`.
374
+ # @param id [String] Stable opaque killswitch id (&#x60;ksw_…&#x60;) or the killswitch&#39;s &#x60;name&#x60;.
375
+ # @param set_killswitch_value_request [SetKillswitchValueRequest]
376
+ # @param [Hash] opts the optional parameters
377
+ # @option opts [String] :x_project_id Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
378
+ # @return [SetKillswitchValueResponse]
379
+ def set_killswitch_value(id, set_killswitch_value_request, opts = {})
380
+ data, _status_code, _headers = set_killswitch_value_with_http_info(id, set_killswitch_value_request, opts)
381
+ data
382
+ end
383
+
384
+ # Set the flat value on one env
385
+ # Sets the flat &#x60;value&#x60; on a single &#x60;env&#x60;, publishing one new version on that env only. &#x60;switches&#x60; and other envs are untouched. Use this to trip (or untrip) a killswitch on one environment without replacing its per-key overrides. **Use cases** - **Trip on prod** — &#x60;{ \&quot;env\&quot;: \&quot;prod\&quot;, \&quot;value\&quot;: true }&#x60;. - **Untrip on prod** — &#x60;{ \&quot;env\&quot;: \&quot;prod\&quot;, \&quot;value\&quot;: false }&#x60;.
386
+ # @param id [String] Stable opaque killswitch id (&#x60;ksw_…&#x60;) or the killswitch&#39;s &#x60;name&#x60;.
387
+ # @param set_killswitch_value_request [SetKillswitchValueRequest]
388
+ # @param [Hash] opts the optional parameters
389
+ # @option opts [String] :x_project_id Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
390
+ # @return [Array<(SetKillswitchValueResponse, Integer, Hash)>] SetKillswitchValueResponse data, response status code and response headers
391
+ def set_killswitch_value_with_http_info(id, set_killswitch_value_request, opts = {})
392
+ if @api_client.config.debugging
393
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.set_killswitch_value ...'
394
+ end
395
+ # verify the required parameter 'id' is set
396
+ if @api_client.config.client_side_validation && id.nil?
397
+ fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchApi.set_killswitch_value"
398
+ end
399
+ # verify the required parameter 'set_killswitch_value_request' is set
400
+ if @api_client.config.client_side_validation && set_killswitch_value_request.nil?
401
+ fail ArgumentError, "Missing the required parameter 'set_killswitch_value_request' when calling KillswitchApi.set_killswitch_value"
402
+ end
403
+ # resource path
404
+ local_var_path = '/api/admin/killswitches/{id}/value'.sub('{id}', CGI.escape(id.to_s))
405
+
406
+ # query parameters
407
+ query_params = opts[:query_params] || {}
408
+
409
+ # header parameters
410
+ header_params = opts[:header_params] || {}
411
+ # HTTP header 'Accept' (if needed)
412
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
413
+ # HTTP header 'Content-Type'
414
+ content_type = @api_client.select_header_content_type(['application/json'])
415
+ if !content_type.nil?
416
+ header_params['Content-Type'] = content_type
417
+ end
418
+ header_params[:'X-Project-Id'] = opts[:'x_project_id'] if !opts[:'x_project_id'].nil?
419
+
420
+ # form parameters
421
+ form_params = opts[:form_params] || {}
422
+
423
+ # http body (model)
424
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_killswitch_value_request)
425
+
426
+ # return_type
427
+ return_type = opts[:debug_return_type] || 'SetKillswitchValueResponse'
428
+
429
+ # auth_names
430
+ auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
431
+
432
+ new_options = opts.merge(
433
+ :operation => :"KillswitchApi.set_killswitch_value",
434
+ :header_params => header_params,
435
+ :query_params => query_params,
436
+ :form_params => form_params,
437
+ :body => post_body,
438
+ :auth_names => auth_names,
439
+ :return_type => return_type
440
+ )
441
+
442
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
443
+ if @api_client.config.debugging
444
+ @api_client.config.logger.debug "API called: KillswitchApi#set_killswitch_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
368
445
  end
369
446
  return data, status_code, headers
370
447
  end
@@ -390,15 +467,15 @@ module Shipeasy::Admin::Generated
390
467
  # @return [Array<(UnsetKillswitchSwitchResponse, Integer, Hash)>] UnsetKillswitchSwitchResponse data, response status code and response headers
391
468
  def unset_killswitch_switch_with_http_info(id, unset_killswitch_switch_request, opts = {})
392
469
  if @api_client.config.debugging
393
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.unset_killswitch_switch ...'
470
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.unset_killswitch_switch ...'
394
471
  end
395
472
  # verify the required parameter 'id' is set
396
473
  if @api_client.config.client_side_validation && id.nil?
397
- fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchesApi.unset_killswitch_switch"
474
+ fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchApi.unset_killswitch_switch"
398
475
  end
399
476
  # verify the required parameter 'unset_killswitch_switch_request' is set
400
477
  if @api_client.config.client_side_validation && unset_killswitch_switch_request.nil?
401
- fail ArgumentError, "Missing the required parameter 'unset_killswitch_switch_request' when calling KillswitchesApi.unset_killswitch_switch"
478
+ fail ArgumentError, "Missing the required parameter 'unset_killswitch_switch_request' when calling KillswitchApi.unset_killswitch_switch"
402
479
  end
403
480
  # resource path
404
481
  local_var_path = '/api/admin/killswitches/{id}/switch'.sub('{id}', CGI.escape(id.to_s))
@@ -430,7 +507,7 @@ module Shipeasy::Admin::Generated
430
507
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
431
508
 
432
509
  new_options = opts.merge(
433
- :operation => :"KillswitchesApi.unset_killswitch_switch",
510
+ :operation => :"KillswitchApi.unset_killswitch_switch",
434
511
  :header_params => header_params,
435
512
  :query_params => query_params,
436
513
  :form_params => form_params,
@@ -441,7 +518,7 @@ module Shipeasy::Admin::Generated
441
518
 
442
519
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
443
520
  if @api_client.config.debugging
444
- @api_client.config.logger.debug "API called: KillswitchesApi#unset_killswitch_switch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
521
+ @api_client.config.logger.debug "API called: KillswitchApi#unset_killswitch_switch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
445
522
  end
446
523
  return data, status_code, headers
447
524
  end
@@ -467,15 +544,15 @@ module Shipeasy::Admin::Generated
467
544
  # @return [Array<(UpdateKillswitchResponse, Integer, Hash)>] UpdateKillswitchResponse data, response status code and response headers
468
545
  def update_killswitch_with_http_info(id, update_killswitch_request, opts = {})
469
546
  if @api_client.config.debugging
470
- @api_client.config.logger.debug 'Calling API: KillswitchesApi.update_killswitch ...'
547
+ @api_client.config.logger.debug 'Calling API: KillswitchApi.update_killswitch ...'
471
548
  end
472
549
  # verify the required parameter 'id' is set
473
550
  if @api_client.config.client_side_validation && id.nil?
474
- fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchesApi.update_killswitch"
551
+ fail ArgumentError, "Missing the required parameter 'id' when calling KillswitchApi.update_killswitch"
475
552
  end
476
553
  # verify the required parameter 'update_killswitch_request' is set
477
554
  if @api_client.config.client_side_validation && update_killswitch_request.nil?
478
- fail ArgumentError, "Missing the required parameter 'update_killswitch_request' when calling KillswitchesApi.update_killswitch"
555
+ fail ArgumentError, "Missing the required parameter 'update_killswitch_request' when calling KillswitchApi.update_killswitch"
479
556
  end
480
557
  # resource path
481
558
  local_var_path = '/api/admin/killswitches/{id}'.sub('{id}', CGI.escape(id.to_s))
@@ -507,7 +584,7 @@ module Shipeasy::Admin::Generated
507
584
  auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
508
585
 
509
586
  new_options = opts.merge(
510
- :operation => :"KillswitchesApi.update_killswitch",
587
+ :operation => :"KillswitchApi.update_killswitch",
511
588
  :header_params => header_params,
512
589
  :query_params => query_params,
513
590
  :form_params => form_params,
@@ -518,7 +595,7 @@ module Shipeasy::Admin::Generated
518
595
 
519
596
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
520
597
  if @api_client.config.debugging
521
- @api_client.config.logger.debug "API called: KillswitchesApi#update_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
598
+ @api_client.config.logger.debug "API called: KillswitchApi#update_killswitch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
522
599
  end
523
600
  return data, status_code, headers
524
601
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #REST API for managing feature gates, experiments, configs, universes, and killswitches in a Shipeasy project. Authenticate with an admin SDK key (`Authorization: Bearer sdk_admin_…`) and scope every request to a project via the `X-Project-Id` header. Mint admin keys via `POST /api/admin/keys` with `type: \"admin\"`. Keys expire after 90 days; rotate with the `revoke` action.
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.23.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #REST API for managing feature gates, experiments, configs, universes, and killswitches in a Shipeasy project. Authenticate with an admin SDK key (`Authorization: Bearer sdk_admin_…`) and scope every request to a project via the `X-Project-Id` header. Mint admin keys via `POST /api/admin/keys` with `type: \"admin\"`. Keys expire after 90 days; rotate with the `revoke` action.
5
5
 
6
- The version of the OpenAPI document: 1.0.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.23.0
@@ -20,7 +20,7 @@ module Shipeasy::Admin::Generated
20
20
  @api_client = api_client
21
21
  end
22
22
  # File a queue item
23
- # Files one queue item — a bug report or a feature request — and fires the project's connectors (GitHub issue / Slack). `type` selects which; only the two user-fileable types are accepted (`error`/`alert` tickets are auto-filed). Returns the new id and per-project number. **Use case:** File a bug or feature request programmatically so it lands in the same queue the dashboard shows.
23
+ # Files one queue item — a bug report or a feature request — and fires the project's connectors (GitHub issue / Slack). `type` selects which; only the two user-fileable types are accepted (`error`/`alert` tickets are auto-filed by the platform). Returns the new id and per-project number. **Use cases** - **File a bug** `{ \"type\": \"bug\", \"title\": \"Checkout 500s on Safari\", \"stepsToReproduce\": \"…\" }`. - **File a feature request** `{ \"type\": \"feature_request\", \"title\": \"Dark mode\", \"priority\": \"nice_to_have\" }`.
24
24
  # @param create_ops_item_request [CreateOpsItemRequest]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :x_project_id Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
@@ -31,7 +31,7 @@ module Shipeasy::Admin::Generated
31
31
  end
32
32
 
33
33
  # File a queue item
34
- # Files one queue item — a bug report or a feature request — and fires the project&#39;s connectors (GitHub issue / Slack). &#x60;type&#x60; selects which; only the two user-fileable types are accepted (&#x60;error&#x60;/&#x60;alert&#x60; tickets are auto-filed). Returns the new id and per-project number. **Use case:** File a bug or feature request programmatically so it lands in the same queue the dashboard shows.
34
+ # Files one queue item — a bug report or a feature request — and fires the project&#39;s connectors (GitHub issue / Slack). &#x60;type&#x60; selects which; only the two user-fileable types are accepted (&#x60;error&#x60;/&#x60;alert&#x60; tickets are auto-filed by the platform). Returns the new id and per-project number. **Use cases** - **File a bug** &#x60;{ \&quot;type\&quot;: \&quot;bug\&quot;, \&quot;title\&quot;: \&quot;Checkout 500s on Safari\&quot;, \&quot;stepsToReproduce\&quot;: \&quot;…\&quot; }&#x60;. - **File a feature request** &#x60;{ \&quot;type\&quot;: \&quot;feature_request\&quot;, \&quot;title\&quot;: \&quot;Dark mode\&quot;, \&quot;priority\&quot;: \&quot;nice_to_have\&quot; }&#x60;.
35
35
  # @param create_ops_item_request [CreateOpsItemRequest]
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @option opts [String] :x_project_id Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
@@ -314,66 +314,6 @@ module Shipeasy::Admin::Generated
314
314
  return data, status_code, headers
315
315
  end
316
316
 
317
- # List Slack channels
318
- # List the project's connected Slack channels — used to resolve an alert rule's notification target. **Use case:** Populate a channel picker, or validate an alert rule's `--slack-channel` before saving.
319
- # @param [Hash] opts the optional parameters
320
- # @option opts [String] :x_project_id Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
321
- # @return [ListSlackChannelsResponse]
322
- def list_slack_channels(opts = {})
323
- data, _status_code, _headers = list_slack_channels_with_http_info(opts)
324
- data
325
- end
326
-
327
- # List Slack channels
328
- # List the project&#39;s connected Slack channels — used to resolve an alert rule&#39;s notification target. **Use case:** Populate a channel picker, or validate an alert rule&#39;s &#x60;--slack-channel&#x60; before saving.
329
- # @param [Hash] opts the optional parameters
330
- # @option opts [String] :x_project_id Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).
331
- # @return [Array<(ListSlackChannelsResponse, Integer, Hash)>] ListSlackChannelsResponse data, response status code and response headers
332
- def list_slack_channels_with_http_info(opts = {})
333
- if @api_client.config.debugging
334
- @api_client.config.logger.debug 'Calling API: OpsApi.list_slack_channels ...'
335
- end
336
- # resource path
337
- local_var_path = '/api/admin/slack/channels'
338
-
339
- # query parameters
340
- query_params = opts[:query_params] || {}
341
-
342
- # header parameters
343
- header_params = opts[:header_params] || {}
344
- # HTTP header 'Accept' (if needed)
345
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
346
- header_params[:'X-Project-Id'] = opts[:'x_project_id'] if !opts[:'x_project_id'].nil?
347
-
348
- # form parameters
349
- form_params = opts[:form_params] || {}
350
-
351
- # http body (model)
352
- post_body = opts[:debug_body]
353
-
354
- # return_type
355
- return_type = opts[:debug_return_type] || 'ListSlackChannelsResponse'
356
-
357
- # auth_names
358
- auth_names = opts[:debug_auth_names] || ['bearerSdkKey']
359
-
360
- new_options = opts.merge(
361
- :operation => :"OpsApi.list_slack_channels",
362
- :header_params => header_params,
363
- :query_params => query_params,
364
- :form_params => form_params,
365
- :body => post_body,
366
- :auth_names => auth_names,
367
- :return_type => return_type
368
- )
369
-
370
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
371
- if @api_client.config.debugging
372
- @api_client.config.logger.debug "API called: OpsApi#list_slack_channels\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
373
- end
374
- return data, status_code, headers
375
- end
376
-
377
317
  # Raise an attention notification
378
318
  # Raise a 'needs your attention' bell notification. Create-only and idempotent on `dedupeKey`. **Use case:** Escalate something that needs a human, deduped so repeats don't spam the bell.
379
319
  # @param notify_ops_request [NotifyOpsRequest]