composio 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -442,96 +442,6 @@ module Composio
442
442
  end
443
443
 
444
444
 
445
- # Get trigger
446
- #
447
- # Retrieves a specific trigger by its ID.
448
- #
449
- # @param trigger_id [String]
450
- # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
451
- def get_by_id(trigger_id:, extra: {})
452
- api_response = get_by_id_with_http_info_impl(trigger_id, extra)
453
- api_response.data
454
- end
455
-
456
- # Get trigger
457
- #
458
- # Retrieves a specific trigger by its ID.
459
- #
460
- # @param trigger_id [String]
461
- # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
462
- def get_by_id_with_http_info(trigger_id:, extra: {})
463
- get_by_id_with_http_info_impl(trigger_id, extra)
464
- end
465
-
466
- # Get trigger
467
- # Retrieves a specific trigger by its ID.
468
- # @param trigger_id [String]
469
- # @param [Hash] opts the optional parameters
470
- # @return [GetTriggerResponseDTO]
471
- private def get_by_id_impl(trigger_id, opts = {})
472
- data, _status_code, _headers = get_by_id_with_http_info(trigger_id, opts)
473
- data
474
- end
475
-
476
- # Get trigger
477
- # Retrieves a specific trigger by its ID.
478
- # @param trigger_id [String]
479
- # @param [Hash] opts the optional parameters
480
- # @return [APIResponse] data is GetTriggerResponseDTO, status code, headers and response
481
- private def get_by_id_with_http_info_impl(trigger_id, opts = {})
482
- if @api_client.config.debugging
483
- @api_client.config.logger.debug 'Calling API: TriggersApi.get_by_id ...'
484
- end
485
- # verify the required parameter 'trigger_id' is set
486
- if @api_client.config.client_side_validation && trigger_id.nil?
487
- fail ArgumentError, "Missing the required parameter 'trigger_id' when calling TriggersApi.get_by_id"
488
- end
489
- pattern = Regexp.new(/[^\/#\?]+?/)
490
- if @api_client.config.client_side_validation && trigger_id !~ pattern
491
- fail ArgumentError, "invalid value for 'trigger_id' when calling TriggersApi.get_by_id, must conform to the pattern #{pattern}."
492
- end
493
-
494
- # resource path
495
- local_var_path = '/api/v1/triggers/get/{triggerId}'.sub('{' + 'triggerId' + '}', CGI.escape(trigger_id.to_s))
496
-
497
- # query parameters
498
- query_params = opts[:query_params] || {}
499
-
500
- # header parameters
501
- header_params = opts[:header_params] || {}
502
- # HTTP header 'Accept' (if needed)
503
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
504
-
505
- # form parameters
506
- form_params = opts[:form_params] || {}
507
-
508
- # http body (model)
509
- post_body = opts[:debug_body]
510
-
511
- # return_type
512
- return_type = opts[:debug_return_type] || 'GetTriggerResponseDTO'
513
-
514
- # auth_names
515
- auth_names = opts[:debug_auth_names] || ['api_key']
516
-
517
- new_options = opts.merge(
518
- :operation => :"TriggersApi.get_by_id",
519
- :header_params => header_params,
520
- :query_params => query_params,
521
- :form_params => form_params,
522
- :body => post_body,
523
- :auth_names => auth_names,
524
- :return_type => return_type
525
- )
526
-
527
- data, status_code, headers, response = @api_client.call_api(:GET, local_var_path, new_options)
528
- if @api_client.config.debugging
529
- @api_client.config.logger.debug "API called: TriggersApi#get_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
530
- end
531
- APIResponse::new(data, status_code, headers, response)
532
- end
533
-
534
-
535
445
  # Get webhook url
536
446
  #
537
447
  # Retrieves the universal callback URL set for the client.
@@ -1108,113 +1018,6 @@ module Composio
1108
1018
  end
1109
1019
  APIResponse::new(data, status_code, headers, response)
1110
1020
  end
1111
-
1112
-
1113
- # Switch post trigger instance status
1114
- #
1115
- # Switches the status of a trigger instance.
1116
- #
1117
- # @param enabled [Boolean] The new enabled status of the trigger
1118
- # @param trigger_id [String]
1119
- # @param body [SwitchTriggerStatusBodyDTO]
1120
- # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1121
- def switch_post_instance_status(enabled:, trigger_id:, extra: {})
1122
- _body = {}
1123
- _body[:enabled] = enabled if enabled != SENTINEL
1124
- extra[:switch_trigger_status_body_dto] = _body if !_body.empty?
1125
- api_response = switch_post_instance_status_with_http_info_impl(trigger_id, extra)
1126
- api_response.data
1127
- end
1128
-
1129
- # Switch post trigger instance status
1130
- #
1131
- # Switches the status of a trigger instance.
1132
- #
1133
- # @param enabled [Boolean] The new enabled status of the trigger
1134
- # @param trigger_id [String]
1135
- # @param body [SwitchTriggerStatusBodyDTO]
1136
- # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1137
- def switch_post_instance_status_with_http_info(enabled:, trigger_id:, extra: {})
1138
- _body = {}
1139
- _body[:enabled] = enabled if enabled != SENTINEL
1140
- extra[:switch_trigger_status_body_dto] = _body if !_body.empty?
1141
- switch_post_instance_status_with_http_info_impl(trigger_id, extra)
1142
- end
1143
-
1144
- # Switch post trigger instance status
1145
- # Switches the status of a trigger instance.
1146
- # @param trigger_id [String]
1147
- # @param [Hash] opts the optional parameters
1148
- # @option opts [SwitchTriggerStatusBodyDTO] :switch_trigger_status_body_dto SwitchTriggerStatusBodyDTO
1149
- # @return [TriggerResponseDTO]
1150
- private def switch_post_instance_status_impl(trigger_id, opts = {})
1151
- data, _status_code, _headers = switch_post_instance_status_with_http_info(trigger_id, opts)
1152
- data
1153
- end
1154
-
1155
- # Switch post trigger instance status
1156
- # Switches the status of a trigger instance.
1157
- # @param trigger_id [String]
1158
- # @param [Hash] opts the optional parameters
1159
- # @option opts [SwitchTriggerStatusBodyDTO] :switch_trigger_status_body_dto SwitchTriggerStatusBodyDTO
1160
- # @return [APIResponse] data is TriggerResponseDTO, status code, headers and response
1161
- private def switch_post_instance_status_with_http_info_impl(trigger_id, opts = {})
1162
- if @api_client.config.debugging
1163
- @api_client.config.logger.debug 'Calling API: TriggersApi.switch_post_instance_status ...'
1164
- end
1165
- # verify the required parameter 'trigger_id' is set
1166
- if @api_client.config.client_side_validation && trigger_id.nil?
1167
- fail ArgumentError, "Missing the required parameter 'trigger_id' when calling TriggersApi.switch_post_instance_status"
1168
- end
1169
- pattern = Regexp.new(/[^\/#\?]+?/)
1170
- if @api_client.config.client_side_validation && trigger_id !~ pattern
1171
- fail ArgumentError, "invalid value for 'trigger_id' when calling TriggersApi.switch_post_instance_status, must conform to the pattern #{pattern}."
1172
- end
1173
-
1174
- # resource path
1175
- local_var_path = '/api/v1/triggers/instance/{triggerId}/status'.sub('{' + 'triggerId' + '}', CGI.escape(trigger_id.to_s))
1176
-
1177
- # query parameters
1178
- query_params = opts[:query_params] || {}
1179
-
1180
- # header parameters
1181
- header_params = opts[:header_params] || {}
1182
- # HTTP header 'Accept' (if needed)
1183
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1184
- # HTTP header 'Content-Type'
1185
- content_type = @api_client.select_header_content_type(['application/json'])
1186
- if !content_type.nil?
1187
- header_params['Content-Type'] = content_type
1188
- end
1189
-
1190
- # form parameters
1191
- form_params = opts[:form_params] || {}
1192
-
1193
- # http body (model)
1194
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'switch_trigger_status_body_dto'])
1195
-
1196
- # return_type
1197
- return_type = opts[:debug_return_type] || 'TriggerResponseDTO'
1198
-
1199
- # auth_names
1200
- auth_names = opts[:debug_auth_names] || ['api_key']
1201
-
1202
- new_options = opts.merge(
1203
- :operation => :"TriggersApi.switch_post_instance_status",
1204
- :header_params => header_params,
1205
- :query_params => query_params,
1206
- :form_params => form_params,
1207
- :body => post_body,
1208
- :auth_names => auth_names,
1209
- :return_type => return_type
1210
- )
1211
-
1212
- data, status_code, headers, response = @api_client.call_api(:POST, local_var_path, new_options)
1213
- if @api_client.config.debugging
1214
- @api_client.config.logger.debug "API called: TriggersApi#switch_post_instance_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1215
- end
1216
- APIResponse::new(data, status_code, headers, response)
1217
- end
1218
1021
  end
1219
1022
 
1220
1023
  # top-level client access to avoid having the user to insantiate their own API instances
@@ -33,6 +33,8 @@ module Composio
33
33
 
34
34
  attr_accessor :name
35
35
 
36
+ attr_accessor :deprecated
37
+
36
38
  # Attribute mapping from ruby-style variable name to JSON key.
37
39
  def self.attribute_map
38
40
  {
@@ -46,7 +48,8 @@ module Composio
46
48
  :'display_name' => :'displayName',
47
49
  :'enabled' => :'enabled',
48
50
  :'logo' => :'logo',
49
- :'name' => :'name'
51
+ :'name' => :'name',
52
+ :'deprecated' => :'deprecated'
50
53
  }
51
54
  end
52
55
 
@@ -68,7 +71,8 @@ module Composio
68
71
  :'display_name' => :'String',
69
72
  :'enabled' => :'Boolean',
70
73
  :'logo' => :'String',
71
- :'name' => :'String'
74
+ :'name' => :'String',
75
+ :'deprecated' => :'Boolean'
72
76
  }
73
77
  end
74
78
 
@@ -138,6 +142,10 @@ module Composio
138
142
  if attributes.key?(:'name')
139
143
  self.name = attributes[:'name']
140
144
  end
145
+
146
+ if attributes.key?(:'deprecated')
147
+ self.deprecated = attributes[:'deprecated']
148
+ end
141
149
  end
142
150
 
143
151
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -184,6 +192,10 @@ module Composio
184
192
  invalid_properties.push('invalid value for "name", name cannot be nil.')
185
193
  end
186
194
 
195
+ if @deprecated.nil?
196
+ invalid_properties.push('invalid value for "deprecated", deprecated cannot be nil.')
197
+ end
198
+
187
199
  invalid_properties
188
200
  end
189
201
 
@@ -200,6 +212,7 @@ module Composio
200
212
  return false if @enabled.nil?
201
213
  return false if @logo.nil?
202
214
  return false if @name.nil?
215
+ return false if @deprecated.nil?
203
216
  true
204
217
  end
205
218
 
@@ -218,7 +231,8 @@ module Composio
218
231
  display_name == o.display_name &&
219
232
  enabled == o.enabled &&
220
233
  logo == o.logo &&
221
- name == o.name
234
+ name == o.name &&
235
+ deprecated == o.deprecated
222
236
  end
223
237
 
224
238
  # @see the `==` method
@@ -230,7 +244,7 @@ module Composio
230
244
  # Calculates hash code according to all attributes.
231
245
  # @return [Integer] Hash code
232
246
  def hash
233
- [tags, description, parameters, response, app_id, app_key, app_name, display_name, enabled, logo, name].hash
247
+ [tags, description, parameters, response, app_id, app_key, app_name, display_name, enabled, logo, name, deprecated].hash
234
248
  end
235
249
 
236
250
  # Builds the object from hash
@@ -29,6 +29,8 @@ module Composio
29
29
 
30
30
  attr_accessor :name
31
31
 
32
+ attr_accessor :deprecated
33
+
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
33
35
  def self.attribute_map
34
36
  {
@@ -40,7 +42,8 @@ module Composio
40
42
  :'display_name' => :'displayName',
41
43
  :'enabled' => :'enabled',
42
44
  :'logo' => :'logo',
43
- :'name' => :'name'
45
+ :'name' => :'name',
46
+ :'deprecated' => :'deprecated'
44
47
  }
45
48
  end
46
49
 
@@ -60,7 +63,8 @@ module Composio
60
63
  :'display_name' => :'String',
61
64
  :'enabled' => :'Boolean',
62
65
  :'logo' => :'String',
63
- :'name' => :'String'
66
+ :'name' => :'String',
67
+ :'deprecated' => :'Boolean'
64
68
  }
65
69
  end
66
70
 
@@ -122,6 +126,10 @@ module Composio
122
126
  if attributes.key?(:'name')
123
127
  self.name = attributes[:'name']
124
128
  end
129
+
130
+ if attributes.key?(:'deprecated')
131
+ self.deprecated = attributes[:'deprecated']
132
+ end
125
133
  end
126
134
 
127
135
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -160,6 +168,10 @@ module Composio
160
168
  invalid_properties.push('invalid value for "name", name cannot be nil.')
161
169
  end
162
170
 
171
+ if @deprecated.nil?
172
+ invalid_properties.push('invalid value for "deprecated", deprecated cannot be nil.')
173
+ end
174
+
163
175
  invalid_properties
164
176
  end
165
177
 
@@ -174,6 +186,7 @@ module Composio
174
186
  return false if @enabled.nil?
175
187
  return false if @logo.nil?
176
188
  return false if @name.nil?
189
+ return false if @deprecated.nil?
177
190
  true
178
191
  end
179
192
 
@@ -190,7 +203,8 @@ module Composio
190
203
  display_name == o.display_name &&
191
204
  enabled == o.enabled &&
192
205
  logo == o.logo &&
193
- name == o.name
206
+ name == o.name &&
207
+ deprecated == o.deprecated
194
208
  end
195
209
 
196
210
  # @see the `==` method
@@ -202,7 +216,7 @@ module Composio
202
216
  # Calculates hash code according to all attributes.
203
217
  # @return [Integer] Hash code
204
218
  def hash
205
- [tags, description, app_id, app_key, app_name, display_name, enabled, logo, name].hash
219
+ [tags, description, app_id, app_key, app_name, display_name, enabled, logo, name, deprecated].hash
206
220
  end
207
221
 
208
222
  # Builds the object from hash
@@ -14,10 +14,14 @@ module Composio
14
14
  # Category of the app
15
15
  attr_accessor :category
16
16
 
17
+ # Whether to include local tools or not
18
+ attr_accessor :include_local
19
+
17
20
  # Attribute mapping from ruby-style variable name to JSON key.
18
21
  def self.attribute_map
19
22
  {
20
- :'category' => :'category'
23
+ :'category' => :'category',
24
+ :'include_local' => :'includeLocal'
21
25
  }
22
26
  end
23
27
 
@@ -29,7 +33,8 @@ module Composio
29
33
  # Attribute type mapping.
30
34
  def self.openapi_types
31
35
  {
32
- :'category' => :'String'
36
+ :'category' => :'String',
37
+ :'include_local' => :'String'
33
38
  }
34
39
  end
35
40
 
@@ -57,6 +62,10 @@ module Composio
57
62
  if attributes.key?(:'category')
58
63
  self.category = attributes[:'category']
59
64
  end
65
+
66
+ if attributes.key?(:'include_local')
67
+ self.include_local = attributes[:'include_local']
68
+ end
60
69
  end
61
70
 
62
71
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,7 +86,8 @@ module Composio
77
86
  def ==(o)
78
87
  return true if self.equal?(o)
79
88
  self.class == o.class &&
80
- category == o.category
89
+ category == o.category &&
90
+ include_local == o.include_local
81
91
  end
82
92
 
83
93
  # @see the `==` method
@@ -89,7 +99,7 @@ module Composio
89
99
  # Calculates hash code according to all attributes.
90
100
  # @return [Integer] Hash code
91
101
  def hash
92
- [category].hash
102
+ [category, include_local].hash
93
103
  end
94
104
 
95
105
  # Builds the object from hash
@@ -7,5 +7,5 @@ The version of the OpenAPI document: 1.0.0
7
7
  =end
8
8
 
9
9
  module Composio
10
- VERSION = '0.1.1'
10
+ VERSION = '0.1.3'
11
11
  end
data/lib/composio.rb CHANGED
@@ -136,12 +136,9 @@ require 'composio/api/api_keys_api'
136
136
  require 'composio/api/actions_api'
137
137
  require 'composio/api/apps_api'
138
138
  require 'composio/api/auth_api'
139
- require 'composio/api/cli_api'
140
139
  require 'composio/api/connections_api'
141
140
  require 'composio/api/integrations_api'
142
141
  require 'composio/api/logs_api'
143
- require 'composio/api/metadata_api'
144
- require 'composio/api/team_api'
145
142
  require 'composio/api/triggers_api'
146
143
 
147
144
  module Composio
@@ -188,12 +185,9 @@ module Composio
188
185
  attr_reader :actions
189
186
  attr_reader :apps
190
187
  attr_reader :auth
191
- attr_reader :cli
192
188
  attr_reader :connections
193
189
  attr_reader :integrations
194
190
  attr_reader :logs
195
- attr_reader :metadata
196
- attr_reader :team
197
191
  attr_reader :triggers
198
192
 
199
193
  def initialize(config = Configuration.default)
@@ -202,12 +196,9 @@ module Composio
202
196
  @actions = Composio::ActionsApi.new(@api_client)
203
197
  @apps = Composio::AppsApi.new(@api_client)
204
198
  @auth = Composio::AuthApi.new(@api_client)
205
- @cli = Composio::CLIApi.new(@api_client)
206
199
  @connections = Composio::ConnectionsApi.new(@api_client)
207
200
  @integrations = Composio::IntegrationsApi.new(@api_client)
208
201
  @logs = Composio::LogsApi.new(@api_client)
209
- @metadata = Composio::MetadataApi.new(@api_client)
210
- @team = Composio::TeamApi.new(@api_client)
211
202
  @triggers = Composio::TriggersApi.new(@api_client)
212
203
  end
213
204
  end
@@ -28,24 +28,12 @@ describe 'ActionsApi' do
28
28
 
29
29
  # unit tests for execute
30
30
  # Execute action
31
- # @param action_id
32
- # @param [Hash] opts the optional parameters
33
- # @option opts [ActionExecutionReqDTO] :action_execution_req_dto ActionExecutionReqDTO
34
- # @return [ActionExecutionResDto]
35
- describe 'execute test' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- # unit tests for execute_0
42
- # Execute action
43
31
  # Execute an action. Support both connected account and no auth auth.
44
32
  # @param action_id
45
33
  # @param [Hash] opts the optional parameters
46
34
  # @option opts [ActionExecutionReqDTO] :action_execution_req_dto ActionExecutionReqDTO
47
35
  # @return [ActionExecutionResDto]
48
- describe 'execute_0 test' do
36
+ describe 'execute test' do
49
37
  it 'should work' do
50
38
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
39
  end
@@ -64,29 +52,6 @@ describe 'ActionsApi' do
64
52
  end
65
53
  end
66
54
 
67
- # unit tests for execute_proxy
68
- # Execute action proxy
69
- # @param endpoint
70
- # @param connected_account_id
71
- # @param [Hash] opts the optional parameters
72
- # @return [ExecuteActionResDTO]
73
- describe 'execute_proxy test' do
74
- it 'should work' do
75
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
76
- end
77
- end
78
-
79
- # unit tests for get
80
- # Get action
81
- # @param action_id
82
- # @param [Hash] opts the optional parameters
83
- # @return [ActionDetails]
84
- describe 'get test' do
85
- it 'should work' do
86
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
- end
88
- end
89
-
90
55
  # unit tests for get_action_by_id
91
56
  # Get action
92
57
  # Get action details
@@ -120,45 +85,4 @@ describe 'ActionsApi' do
120
85
  end
121
86
  end
122
87
 
123
- # unit tests for list
124
- # List actions
125
- # @param [Hash] opts the optional parameters
126
- # @option opts [String] :app_names
127
- # @option opts [String] :use_case
128
- # @option opts [Boolean] :show_enabled_only
129
- # @option opts [Float] :limit
130
- # @option opts [String] :apps
131
- # @option opts [String] :actions
132
- # @option opts [String] :tags
133
- # @option opts [Float] :usecase_limit
134
- # @option opts [Boolean] :filter_important_actions
135
- # @option opts [Boolean] :show_all
136
- # @return [ActionsListResponseDTO]
137
- describe 'list test' do
138
- it 'should work' do
139
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
- end
141
- end
142
-
143
- # unit tests for list_0
144
- # List actions
145
- # Retrieve a list of all actions based on query parameters.
146
- # @param [Hash] opts the optional parameters
147
- # @option opts [String] :app_names
148
- # @option opts [String] :use_case
149
- # @option opts [Boolean] :show_enabled_only
150
- # @option opts [Float] :limit
151
- # @option opts [String] :apps
152
- # @option opts [String] :actions
153
- # @option opts [String] :tags
154
- # @option opts [Float] :usecase_limit
155
- # @option opts [Boolean] :filter_important_actions
156
- # @option opts [Boolean] :show_all
157
- # @return [ActionsListResponseDTO]
158
- describe 'list_0 test' do
159
- it 'should work' do
160
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
- end
162
- end
163
-
164
88
  end
@@ -43,6 +43,7 @@ describe 'AppsApi' do
43
43
  # Retrieve a list of all applications based on query parameters.
44
44
  # @param [Hash] opts the optional parameters
45
45
  # @option opts [String] :category
46
+ # @option opts [String] :include_local
46
47
  # @return [AppListResDTO]
47
48
  describe 'list test' do
48
49
  it 'should work' do
@@ -37,37 +37,4 @@ describe 'AuthApi' do
37
37
  end
38
38
  end
39
39
 
40
- # unit tests for send_magic_link
41
- # Send magic link
42
- # @param [Hash] opts the optional parameters
43
- # @option opts [MagicLinkReqDTO] :magic_link_req_dto MagicLinkReqDTO
44
- # @return [MagicLinkResDTO]
45
- describe 'send_magic_link test' do
46
- it 'should work' do
47
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
- end
49
- end
50
-
51
- # unit tests for user_logout
52
- # Logout API
53
- # Logout the user and clear the server side session
54
- # @param [Hash] opts the optional parameters
55
- # @return [LogoutResDTO]
56
- describe 'user_logout test' do
57
- it 'should work' do
58
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
- end
60
- end
61
-
62
- # unit tests for verify_magic_link
63
- # Verify magic link
64
- # @param [Hash] opts the optional parameters
65
- # @option opts [VerifyMagicLinkReqDTO] :verify_magic_link_req_dto VerifyMagicLinkReqDTO
66
- # @return [VerifyMagicLinkResDTO]
67
- describe 'verify_magic_link test' do
68
- it 'should work' do
69
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
- end
71
- end
72
-
73
40
  end
@@ -60,7 +60,7 @@ describe 'IntegrationsApi' do
60
60
  end
61
61
 
62
62
  # unit tests for list_global_connectors
63
- # List global connectors
63
+ # List all connectors
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @return [GetConnectorListResDTO]
66
66
  describe 'list_global_connectors test' do
@@ -70,7 +70,7 @@ describe 'IntegrationsApi' do
70
70
  end
71
71
 
72
72
  # unit tests for update_integration
73
- # Patch connector
73
+ # Modify connector
74
74
  # @param integration_id
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [PatchConnectorReqDTO] :patch_connector_req_dto PatchConnectorReqDTO
@@ -81,16 +81,4 @@ describe 'IntegrationsApi' do
81
81
  end
82
82
  end
83
83
 
84
- # unit tests for update_status
85
- # Patch post connector
86
- # @param integration_id
87
- # @param [Hash] opts the optional parameters
88
- # @option opts [PatchConnectorReqDTO] :patch_connector_req_dto PatchConnectorReqDTO
89
- # @return [PatchConnectorResDTO]
90
- describe 'update_status test' do
91
- it 'should work' do
92
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
- end
94
- end
95
-
96
84
  end
@@ -82,18 +82,6 @@ describe 'TriggersApi' do
82
82
  end
83
83
  end
84
84
 
85
- # unit tests for get_by_id
86
- # Get trigger
87
- # Retrieves a specific trigger by its ID.
88
- # @param trigger_id
89
- # @param [Hash] opts the optional parameters
90
- # @return [GetTriggerResponseDTO]
91
- describe 'get_by_id test' do
92
- it 'should work' do
93
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
- end
95
- end
96
-
97
85
  # unit tests for get_callback_url
98
86
  # Get webhook url
99
87
  # Retrieves the universal callback URL set for the client.
@@ -172,17 +160,4 @@ describe 'TriggersApi' do
172
160
  end
173
161
  end
174
162
 
175
- # unit tests for switch_post_instance_status
176
- # Switch post trigger instance status
177
- # Switches the status of a trigger instance.
178
- # @param trigger_id
179
- # @param [Hash] opts the optional parameters
180
- # @option opts [SwitchTriggerStatusBodyDTO] :switch_trigger_status_body_dto SwitchTriggerStatusBodyDTO
181
- # @return [TriggerResponseDTO]
182
- describe 'switch_post_instance_status test' do
183
- it 'should work' do
184
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
185
- end
186
- end
187
-
188
163
  end