composio 0.1.17 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a4cf91564d95e991ee3d5f5dcb293050aed0655ad449a4ca506880d4d28ed7d
4
- data.tar.gz: 39192d23e7436601684fe59da377100075c53668cd556d6a1babc504218d0552
3
+ metadata.gz: 7e159e04da778db5183ba972a5bcddcec90b4a285b9a458f387b78665f54f72c
4
+ data.tar.gz: 6d044064e6b05b7fa669c46ac11955677f525cb50b14aa1f7460d384113e0ef7
5
5
  SHA512:
6
- metadata.gz: 23327875e8115ac18cde1d516ed7a52b823ff17228ed335ce230909d083468a67e5104f7426778e085ef5537eba52c954b51c927957e624867cfc39ea68abb6a
7
- data.tar.gz: c5c51033336dd1b73a488dcc917e32eba5b0881114ef52d9149d10f590a9f3da427d051c6243ab2f58de32029c9241d7eb4def49c2c4606c00fcdb4a35e4005e
6
+ metadata.gz: 3998260f127abb9d6e74165619c208e82405e3981cb765f76523fb1fc2c4f18aeb37c9dbfb07eb44ed2c9a177b1eb1a798b57a3603288a6cd5a8198a1c339c50
7
+ data.tar.gz: e1054a76db9bc3fc4fdd95070991abf618e4691660f997cc1531bd095db11345ea3382ec40dcdcf832323990fe9c3981488d783c78f4a84451e46c407847c94d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- composio (0.1.17)
4
+ composio (0.1.18)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -67,7 +67,7 @@ GEM
67
67
  rubocop-ast (>= 1.2.0, < 2.0)
68
68
  ruby-progressbar (~> 1.7)
69
69
  unicode-display_width (>= 1.4.0, < 3.0)
70
- rubocop-ast (1.35.0)
70
+ rubocop-ast (1.36.1)
71
71
  parser (>= 3.3.1.0)
72
72
  ruby-progressbar (1.13.0)
73
73
  ruby2_keywords (0.0.5)
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v0.1.17-blue)](https://rubygems.org/gems/composio/versions/0.1.17)
9
+ [![npm](https://img.shields.io/badge/gem-v0.1.18-blue)](https://rubygems.org/gems/composio/versions/0.1.18)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://composio.dev)
11
11
 
12
12
  </div>
@@ -77,7 +77,7 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
77
77
  Add to Gemfile:
78
78
 
79
79
  ```ruby
80
- gem 'composio', '~> 0.1.17'
80
+ gem 'composio', '~> 0.1.18'
81
81
  ```
82
82
 
83
83
  ## Getting Started<a id="getting-started"></a>
@@ -214,7 +214,7 @@ result = composio.actions.execute(
214
214
  "parameters" => [
215
215
  {
216
216
  "name" => "name_example",
217
- "_in" => "_in_example",
217
+ "_in" => "query",
218
218
  "value" => "value_example",
219
219
  }
220
220
  ],
@@ -260,16 +260,38 @@ Execute an action with direct auth.
260
260
 
261
261
  ```ruby
262
262
  result = composio.actions.execute_action_proxy(
263
- endpoint: "endpoint_example",
264
- connected_account_id: "connectedAccountId_example",
263
+ parameters: [
264
+ {
265
+ "name" => "name_example",
266
+ "_in" => "query",
267
+ "value" => "value_example",
268
+ }
269
+ ],
270
+ connected_account_id: "string_example",
271
+ endpoint: "string_example",
272
+ method: "GET",
273
+ body: {},
265
274
  )
266
275
  p result
267
276
  ```
268
277
 
269
278
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
270
279
 
280
+ ##### parameters: Array<[`Parameter`](./lib/composio/models/parameter.rb)><a id="parameters-array"></a>
281
+ ##### connectedAccountId: `String`<a id="connectedaccountid-string"></a>
282
+ The connected account uuid to use for the action.
283
+
271
284
  ##### endpoint: `String`<a id="endpoint-string"></a>
272
- ##### connected_account_id: `String`<a id="connected_account_id-string"></a>
285
+ The endpoint to call for the action. If the given url is relative, it will be
286
+ resolved relative to the base_url set in the connected account info.
287
+
288
+ ##### method: [`Method`](./lib/composio/models/method.rb)<a id="method-methodlibcomposiomodelsmethodrb"></a>
289
+ The HTTP method to use for the action.
290
+
291
+ ##### body: `Object`<a id="body-object"></a>
292
+ The body to be sent to the endpoint. This can either be a JSON field or a
293
+ string.
294
+
273
295
  #### 🔄 Return<a id="🔄-return"></a>
274
296
 
275
297
  [ActionExecutionResDto](./lib/composio/models/action_execution_res_dto.rb)
@@ -163,11 +163,22 @@ module Composio
163
163
  #
164
164
  # Execute an action with direct auth.
165
165
  #
166
- # @param endpoint [String]
167
- # @param connected_account_id [String]
166
+ # @param parameters [Array<Parameter>]
167
+ # @param connected_account_id [String] The connected account uuid to use for the action.
168
+ # @param endpoint [String] The endpoint to call for the action. If the given url is relative, it will be resolved relative to the base_url set in the connected account info.
169
+ # @param method [Method] The HTTP method to use for the action.
170
+ # @param body [Object] The body to be sent to the endpoint. This can either be a JSON field or a string.
171
+ # @param body [ActionProxyRequestConfigDTO]
168
172
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
169
- def execute_action_proxy(endpoint:, connected_account_id:, extra: {})
170
- api_response = execute_action_proxy_with_http_info_impl(endpoint, connected_account_id, extra)
173
+ def execute_action_proxy(parameters:, connected_account_id:, endpoint:, method:, body: SENTINEL, extra: {})
174
+ _body = {}
175
+ _body[:parameters] = parameters if parameters != SENTINEL
176
+ _body[:connectedAccountId] = connected_account_id if connected_account_id != SENTINEL
177
+ _body[:endpoint] = endpoint if endpoint != SENTINEL
178
+ _body[:method] = method if method != SENTINEL
179
+ _body[:body] = body if body != SENTINEL
180
+ extra[:action_proxy_request_config_dto] = _body if !_body.empty?
181
+ api_response = execute_action_proxy_with_http_info_impl(extra)
171
182
  api_response.data
172
183
  end
173
184
 
@@ -175,60 +186,64 @@ module Composio
175
186
  #
176
187
  # Execute an action with direct auth.
177
188
  #
178
- # @param endpoint [String]
179
- # @param connected_account_id [String]
189
+ # @param parameters [Array<Parameter>]
190
+ # @param connected_account_id [String] The connected account uuid to use for the action.
191
+ # @param endpoint [String] The endpoint to call for the action. If the given url is relative, it will be resolved relative to the base_url set in the connected account info.
192
+ # @param method [Method] The HTTP method to use for the action.
193
+ # @param body [Object] The body to be sent to the endpoint. This can either be a JSON field or a string.
194
+ # @param body [ActionProxyRequestConfigDTO]
180
195
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
181
- def execute_action_proxy_with_http_info(endpoint:, connected_account_id:, extra: {})
182
- execute_action_proxy_with_http_info_impl(endpoint, connected_account_id, extra)
196
+ def execute_action_proxy_with_http_info(parameters:, connected_account_id:, endpoint:, method:, body: SENTINEL, extra: {})
197
+ _body = {}
198
+ _body[:parameters] = parameters if parameters != SENTINEL
199
+ _body[:connectedAccountId] = connected_account_id if connected_account_id != SENTINEL
200
+ _body[:endpoint] = endpoint if endpoint != SENTINEL
201
+ _body[:method] = method if method != SENTINEL
202
+ _body[:body] = body if body != SENTINEL
203
+ extra[:action_proxy_request_config_dto] = _body if !_body.empty?
204
+ execute_action_proxy_with_http_info_impl(extra)
183
205
  end
184
206
 
185
207
  # Execute action proxy
186
208
  # Execute an action with direct auth.
187
- # @param endpoint [String]
188
- # @param connected_account_id [String]
189
209
  # @param [Hash] opts the optional parameters
210
+ # @option opts [ActionProxyRequestConfigDTO] :action_proxy_request_config_dto ActionProxyRequestConfigDTO
190
211
  # @return [ActionExecutionResDto]
191
- private def execute_action_proxy_impl(endpoint, connected_account_id, opts = {})
192
- data, _status_code, _headers = execute_action_proxy_with_http_info(endpoint, connected_account_id, opts)
212
+ private def execute_action_proxy_impl(opts = {})
213
+ data, _status_code, _headers = execute_action_proxy_with_http_info(opts)
193
214
  data
194
215
  end
195
216
 
196
217
  # Execute action proxy
197
218
  # Execute an action with direct auth.
198
- # @param endpoint [String]
199
- # @param connected_account_id [String]
200
219
  # @param [Hash] opts the optional parameters
220
+ # @option opts [ActionProxyRequestConfigDTO] :action_proxy_request_config_dto ActionProxyRequestConfigDTO
201
221
  # @return [APIResponse] data is ActionExecutionResDto, status code, headers and response
202
- private def execute_action_proxy_with_http_info_impl(endpoint, connected_account_id, opts = {})
222
+ private def execute_action_proxy_with_http_info_impl(opts = {})
203
223
  if @api_client.config.debugging
204
224
  @api_client.config.logger.debug 'Calling API: ActionsApi.execute_action_proxy ...'
205
225
  end
206
- # verify the required parameter 'endpoint' is set
207
- if @api_client.config.client_side_validation && endpoint.nil?
208
- fail ArgumentError, "Missing the required parameter 'endpoint' when calling ActionsApi.execute_action_proxy"
209
- end
210
- # verify the required parameter 'connected_account_id' is set
211
- if @api_client.config.client_side_validation && connected_account_id.nil?
212
- fail ArgumentError, "Missing the required parameter 'connected_account_id' when calling ActionsApi.execute_action_proxy"
213
- end
214
226
  # resource path
215
227
  local_var_path = '/api/v2/actions/proxy'
216
228
 
217
229
  # query parameters
218
230
  query_params = opts[:query_params] || {}
219
- query_params[:'endpoint'] = endpoint
220
- query_params[:'connectedAccountId'] = connected_account_id
221
231
 
222
232
  # header parameters
223
233
  header_params = opts[:header_params] || {}
224
234
  # HTTP header 'Accept' (if needed)
225
235
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
236
+ # HTTP header 'Content-Type'
237
+ content_type = @api_client.select_header_content_type(['application/json'])
238
+ if !content_type.nil?
239
+ header_params['Content-Type'] = content_type
240
+ end
226
241
 
227
242
  # form parameters
228
243
  form_params = opts[:form_params] || {}
229
244
 
230
245
  # http body (model)
231
- post_body = opts[:debug_body]
246
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'action_proxy_request_config_dto'])
232
247
 
233
248
  # return_type
234
249
  return_type = opts[:debug_return_type] || 'ActionExecutionResDto'
@@ -0,0 +1,277 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Composio
13
+ class ActionProxyRequestConfigDTO
14
+ attr_accessor :parameters
15
+
16
+ # The connected account uuid to use for the action.
17
+ attr_accessor :connected_account_id
18
+
19
+ # The endpoint to call for the action. If the given url is relative, it will be resolved relative to the base_url set in the connected account info.
20
+ attr_accessor :endpoint
21
+
22
+ # The HTTP method to use for the action.
23
+ attr_accessor :method
24
+
25
+ # The body to be sent to the endpoint. This can either be a JSON field or a string.
26
+ attr_accessor :body
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'parameters' => :'parameters',
32
+ :'connected_account_id' => :'connectedAccountId',
33
+ :'endpoint' => :'endpoint',
34
+ :'method' => :'method',
35
+ :'body' => :'body'
36
+ }
37
+ end
38
+
39
+ # Returns all the JSON keys this model knows about
40
+ def self.acceptable_attributes
41
+ attribute_map.values
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.openapi_types
46
+ {
47
+ :'parameters' => :'Array<Parameter>',
48
+ :'connected_account_id' => :'String',
49
+ :'endpoint' => :'String',
50
+ :'method' => :'Method',
51
+ :'body' => :'Object'
52
+ }
53
+ end
54
+
55
+ # List of attributes with nullable: true
56
+ def self.openapi_nullable
57
+ Set.new([
58
+ ])
59
+ end
60
+
61
+ # Initializes the object
62
+ # @param [Hash] attributes Model attributes in the form of hash
63
+ def initialize(attributes = {})
64
+ if (!attributes.is_a?(Hash))
65
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Composio::ActionProxyRequestConfigDTO` initialize method"
66
+ end
67
+
68
+ # check to see if the attribute exists and convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}) { |(k, v), h|
70
+ if (!self.class.attribute_map.key?(k.to_sym))
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Composio::ActionProxyRequestConfigDTO`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
72
+ end
73
+ h[k.to_sym] = v
74
+ }
75
+
76
+ if attributes.key?(:'parameters')
77
+ if (value = attributes[:'parameters']).is_a?(Array)
78
+ self.parameters = value
79
+ end
80
+ end
81
+
82
+ if attributes.key?(:'connected_account_id')
83
+ self.connected_account_id = attributes[:'connected_account_id']
84
+ end
85
+
86
+ if attributes.key?(:'endpoint')
87
+ self.endpoint = attributes[:'endpoint']
88
+ end
89
+
90
+ if attributes.key?(:'method')
91
+ self.method = attributes[:'method']
92
+ end
93
+
94
+ if attributes.key?(:'body')
95
+ self.body = attributes[:'body']
96
+ end
97
+ end
98
+
99
+ # Show invalid properties with the reasons. Usually used together with valid?
100
+ # @return Array for valid properties with the reasons
101
+ def list_invalid_properties
102
+ invalid_properties = Array.new
103
+ if @parameters.nil?
104
+ invalid_properties.push('invalid value for "parameters", parameters cannot be nil.')
105
+ end
106
+
107
+ if @connected_account_id.nil?
108
+ invalid_properties.push('invalid value for "connected_account_id", connected_account_id cannot be nil.')
109
+ end
110
+
111
+ if @endpoint.nil?
112
+ invalid_properties.push('invalid value for "endpoint", endpoint cannot be nil.')
113
+ end
114
+
115
+ if @method.nil?
116
+ invalid_properties.push('invalid value for "method", method cannot be nil.')
117
+ end
118
+
119
+ invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ return false if @parameters.nil?
126
+ return false if @connected_account_id.nil?
127
+ return false if @endpoint.nil?
128
+ return false if @method.nil?
129
+ true
130
+ end
131
+
132
+ # Checks equality by comparing each attribute.
133
+ # @param [Object] Object to be compared
134
+ def ==(o)
135
+ return true if self.equal?(o)
136
+ self.class == o.class &&
137
+ parameters == o.parameters &&
138
+ connected_account_id == o.connected_account_id &&
139
+ endpoint == o.endpoint &&
140
+ method == o.method &&
141
+ body == o.body
142
+ end
143
+
144
+ # @see the `==` method
145
+ # @param [Object] Object to be compared
146
+ def eql?(o)
147
+ self == o
148
+ end
149
+
150
+ # Calculates hash code according to all attributes.
151
+ # @return [Integer] Hash code
152
+ def hash
153
+ [parameters, connected_account_id, endpoint, method, body].hash
154
+ end
155
+
156
+ # Builds the object from hash
157
+ # @param [Hash] attributes Model attributes in the form of hash
158
+ # @return [Object] Returns the model itself
159
+ def self.build_from_hash(attributes)
160
+ new.build_from_hash(attributes)
161
+ end
162
+
163
+ # Builds the object from hash
164
+ # @param [Hash] attributes Model attributes in the form of hash
165
+ # @return [Object] Returns the model itself
166
+ def build_from_hash(attributes)
167
+ return nil unless attributes.is_a?(Hash)
168
+ attributes = attributes.transform_keys(&:to_sym)
169
+ self.class.openapi_types.each_pair do |key, type|
170
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
171
+ self.send("#{key}=", nil)
172
+ elsif type =~ /\AArray<(.*)>/i
173
+ # check to ensure the input is an array given that the attribute
174
+ # is documented as an array but the input is not
175
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
176
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
177
+ end
178
+ elsif !attributes[self.class.attribute_map[key]].nil?
179
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
180
+ end
181
+ end
182
+
183
+ self
184
+ end
185
+
186
+ # Deserializes the data based on type
187
+ # @param string type Data type
188
+ # @param string value Value to be deserialized
189
+ # @return [Object] Deserialized data
190
+ def _deserialize(type, value)
191
+ case type.to_sym
192
+ when :Time
193
+ Time.parse(value)
194
+ when :Date
195
+ Date.parse(value)
196
+ when :String
197
+ value.to_s
198
+ when :Integer
199
+ value.to_i
200
+ when :Float
201
+ value.to_f
202
+ when :Boolean
203
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
204
+ true
205
+ else
206
+ false
207
+ end
208
+ when :Object
209
+ # generic object (usually a Hash), return directly
210
+ value
211
+ when /\AArray<(?<inner_type>.+)>\z/
212
+ inner_type = Regexp.last_match[:inner_type]
213
+ value.map { |v| _deserialize(inner_type, v) }
214
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
215
+ k_type = Regexp.last_match[:k_type]
216
+ v_type = Regexp.last_match[:v_type]
217
+ {}.tap do |hash|
218
+ value.each do |k, v|
219
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
220
+ end
221
+ end
222
+ else # model
223
+ # models (e.g. Pet) or oneOf
224
+ klass = Composio.const_get(type)
225
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
226
+ end
227
+ end
228
+
229
+ # Returns the string representation of the object
230
+ # @return [String] String presentation of the object
231
+ def to_s
232
+ to_hash.to_s
233
+ end
234
+
235
+ # to_body is an alias to to_hash (backward compatibility)
236
+ # @return [Hash] Returns the object in the form of hash
237
+ def to_body
238
+ to_hash
239
+ end
240
+
241
+ # Returns the object in the form of hash
242
+ # @return [Hash] Returns the object in the form of hash
243
+ def to_hash
244
+ hash = {}
245
+ self.class.attribute_map.each_pair do |attr, param|
246
+ value = self.send(attr)
247
+ if value.nil?
248
+ is_nullable = self.class.openapi_nullable.include?(attr)
249
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
250
+ end
251
+
252
+ hash[param] = _to_hash(value)
253
+ end
254
+ hash
255
+ end
256
+
257
+ # Outputs non-array value in the form of hash
258
+ # For object, use to_hash. Otherwise, just return the value
259
+ # @param [Object] value Any valid value
260
+ # @return [Hash] Returns the value in the form of hash
261
+ def _to_hash(value)
262
+ if value.is_a?(Array)
263
+ value.compact.map { |v| _to_hash(v) }
264
+ elsif value.is_a?(Hash)
265
+ {}.tap do |hash|
266
+ value.each { |k, v| hash[k] = _to_hash(v) }
267
+ end
268
+ elsif value.respond_to? :to_hash
269
+ value.to_hash
270
+ else
271
+ value
272
+ end
273
+ end
274
+
275
+ end
276
+
277
+ end
@@ -0,0 +1,226 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Composio
13
+ class ActionProxyRequestMethodDTO
14
+ # The type of request body to use for the action. Defaults to 'none'.
15
+ attr_accessor :type
16
+
17
+ # The data to be sent to the endpoint. This will override the body set in the connected account.
18
+ attr_accessor :data
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'type' => :'type',
24
+ :'data' => :'data'
25
+ }
26
+ end
27
+
28
+ # Returns all the JSON keys this model knows about
29
+ def self.acceptable_attributes
30
+ attribute_map.values
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.openapi_types
35
+ {
36
+ :'type' => :'Type',
37
+ :'data' => :'String'
38
+ }
39
+ end
40
+
41
+ # List of attributes with nullable: true
42
+ def self.openapi_nullable
43
+ Set.new([
44
+ ])
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Composio::ActionProxyRequestMethodDTO` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Composio::ActionProxyRequestMethodDTO`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'type')
63
+ self.type = attributes[:'type']
64
+ end
65
+
66
+ if attributes.key?(:'data')
67
+ self.data = attributes[:'data']
68
+ end
69
+ end
70
+
71
+ # Show invalid properties with the reasons. Usually used together with valid?
72
+ # @return Array for valid properties with the reasons
73
+ def list_invalid_properties
74
+ invalid_properties = Array.new
75
+ invalid_properties
76
+ end
77
+
78
+ # Check to see if the all the properties in the model are valid
79
+ # @return true if the model is valid
80
+ def valid?
81
+ true
82
+ end
83
+
84
+ # Checks equality by comparing each attribute.
85
+ # @param [Object] Object to be compared
86
+ def ==(o)
87
+ return true if self.equal?(o)
88
+ self.class == o.class &&
89
+ type == o.type &&
90
+ data == o.data
91
+ end
92
+
93
+ # @see the `==` method
94
+ # @param [Object] Object to be compared
95
+ def eql?(o)
96
+ self == o
97
+ end
98
+
99
+ # Calculates hash code according to all attributes.
100
+ # @return [Integer] Hash code
101
+ def hash
102
+ [type, data].hash
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def self.build_from_hash(attributes)
109
+ new.build_from_hash(attributes)
110
+ end
111
+
112
+ # Builds the object from hash
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ # @return [Object] Returns the model itself
115
+ def build_from_hash(attributes)
116
+ return nil unless attributes.is_a?(Hash)
117
+ attributes = attributes.transform_keys(&:to_sym)
118
+ self.class.openapi_types.each_pair do |key, type|
119
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
120
+ self.send("#{key}=", nil)
121
+ elsif type =~ /\AArray<(.*)>/i
122
+ # check to ensure the input is an array given that the attribute
123
+ # is documented as an array but the input is not
124
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
125
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
126
+ end
127
+ elsif !attributes[self.class.attribute_map[key]].nil?
128
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
129
+ end
130
+ end
131
+
132
+ self
133
+ end
134
+
135
+ # Deserializes the data based on type
136
+ # @param string type Data type
137
+ # @param string value Value to be deserialized
138
+ # @return [Object] Deserialized data
139
+ def _deserialize(type, value)
140
+ case type.to_sym
141
+ when :Time
142
+ Time.parse(value)
143
+ when :Date
144
+ Date.parse(value)
145
+ when :String
146
+ value.to_s
147
+ when :Integer
148
+ value.to_i
149
+ when :Float
150
+ value.to_f
151
+ when :Boolean
152
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
153
+ true
154
+ else
155
+ false
156
+ end
157
+ when :Object
158
+ # generic object (usually a Hash), return directly
159
+ value
160
+ when /\AArray<(?<inner_type>.+)>\z/
161
+ inner_type = Regexp.last_match[:inner_type]
162
+ value.map { |v| _deserialize(inner_type, v) }
163
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
164
+ k_type = Regexp.last_match[:k_type]
165
+ v_type = Regexp.last_match[:v_type]
166
+ {}.tap do |hash|
167
+ value.each do |k, v|
168
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
169
+ end
170
+ end
171
+ else # model
172
+ # models (e.g. Pet) or oneOf
173
+ klass = Composio.const_get(type)
174
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
175
+ end
176
+ end
177
+
178
+ # Returns the string representation of the object
179
+ # @return [String] String presentation of the object
180
+ def to_s
181
+ to_hash.to_s
182
+ end
183
+
184
+ # to_body is an alias to to_hash (backward compatibility)
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_body
187
+ to_hash
188
+ end
189
+
190
+ # Returns the object in the form of hash
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_hash
193
+ hash = {}
194
+ self.class.attribute_map.each_pair do |attr, param|
195
+ value = self.send(attr)
196
+ if value.nil?
197
+ is_nullable = self.class.openapi_nullable.include?(attr)
198
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
199
+ end
200
+
201
+ hash[param] = _to_hash(value)
202
+ end
203
+ hash
204
+ end
205
+
206
+ # Outputs non-array value in the form of hash
207
+ # For object, use to_hash. Otherwise, just return the value
208
+ # @param [Object] value Any valid value
209
+ # @return [Hash] Returns the value in the form of hash
210
+ def _to_hash(value)
211
+ if value.is_a?(Array)
212
+ value.compact.map { |v| _to_hash(v) }
213
+ elsif value.is_a?(Hash)
214
+ {}.tap do |hash|
215
+ value.each { |k, v| hash[k] = _to_hash(v) }
216
+ end
217
+ elsif value.respond_to? :to_hash
218
+ value.to_hash
219
+ else
220
+ value
221
+ end
222
+ end
223
+
224
+ end
225
+
226
+ end
@@ -19,13 +19,16 @@ module Composio
19
19
 
20
20
  attr_accessor :_query_params
21
21
 
22
+ attr_accessor :body
23
+
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'endpoint' => :'endpoint',
26
28
  :'base_url' => :'base_url',
27
29
  :'headers' => :'headers',
28
- :'_query_params' => :'queryParams'
30
+ :'_query_params' => :'queryParams',
31
+ :'body' => :'body'
29
32
  }
30
33
  end
31
34
 
@@ -40,7 +43,8 @@ module Composio
40
43
  :'endpoint' => :'String',
41
44
  :'base_url' => :'String',
42
45
  :'headers' => :'Object',
43
- :'_query_params' => :'Object'
46
+ :'_query_params' => :'Object',
47
+ :'body' => :'Object'
44
48
  }
45
49
  end
46
50
 
@@ -80,6 +84,10 @@ module Composio
80
84
  if attributes.key?(:'_query_params')
81
85
  self._query_params = attributes[:'_query_params']
82
86
  end
87
+
88
+ if attributes.key?(:'body')
89
+ self.body = attributes[:'body']
90
+ end
83
91
  end
84
92
 
85
93
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -123,7 +131,8 @@ module Composio
123
131
  endpoint == o.endpoint &&
124
132
  base_url == o.base_url &&
125
133
  headers == o.headers &&
126
- _query_params == o._query_params
134
+ _query_params == o._query_params &&
135
+ body == o.body
127
136
  end
128
137
 
129
138
  # @see the `==` method
@@ -135,7 +144,7 @@ module Composio
135
144
  # Calculates hash code according to all attributes.
136
145
  # @return [Integer] Hash code
137
146
  def hash
138
- [endpoint, base_url, headers, _query_params].hash
147
+ [endpoint, base_url, headers, _query_params, body].hash
139
148
  end
140
149
 
141
150
  # Builds the object from hash
@@ -65,7 +65,7 @@ module Composio
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'type' => :'Type',
68
+ :'type' => :'GetLogsDtoType',
69
69
  :'time' => :'Time',
70
70
  :'status' => :'GetLogsDtoStatus',
71
71
  :'search' => :'String',
@@ -0,0 +1,37 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Composio
13
+ class GetLogsDtoType
14
+ ERROR = "error".freeze
15
+ INFO = "info".freeze
16
+ DEBUG = "debug".freeze
17
+
18
+ def self.all_vars
19
+ @all_vars ||= [ERROR, INFO, DEBUG].freeze
20
+ end
21
+
22
+ # Builds the enum from string
23
+ # @param [String] The enum value in the form of the string
24
+ # @return [String] The enum value
25
+ def self.build_from_hash(value)
26
+ new.build_from_hash(value)
27
+ end
28
+
29
+ # Builds the enum from string
30
+ # @param [String] The enum value in the form of the string
31
+ # @return [String] The enum value
32
+ def build_from_hash(value)
33
+ return value if GetLogsDtoType.all_vars.include?(value)
34
+ raise "Invalid ENUM value #{value} for class #GetLogsDtoType"
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,39 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Composio
13
+ class Method
14
+ GET = "GET".freeze
15
+ POST = "POST".freeze
16
+ PUT = "PUT".freeze
17
+ PATCH = "PATCH".freeze
18
+ DELETE = "DELETE".freeze
19
+
20
+ def self.all_vars
21
+ @all_vars ||= [GET, POST, PUT, PATCH, DELETE].freeze
22
+ end
23
+
24
+ # Builds the enum from string
25
+ # @param [String] The enum value in the form of the string
26
+ # @return [String] The enum value
27
+ def self.build_from_hash(value)
28
+ new.build_from_hash(value)
29
+ end
30
+
31
+ # Builds the enum from string
32
+ # @param [String] The enum value in the form of the string
33
+ # @return [String] The enum value
34
+ def build_from_hash(value)
35
+ return value if Method.all_vars.include?(value)
36
+ raise "Invalid ENUM value #{value} for class #Method"
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'date'
10
+ require 'time'
11
+
12
+ module Composio
13
+ class ModelIn
14
+ QUERY = "query".freeze
15
+ HEADER = "header".freeze
16
+
17
+ def self.all_vars
18
+ @all_vars ||= [QUERY, HEADER].freeze
19
+ end
20
+
21
+ # Builds the enum from string
22
+ # @param [String] The enum value in the form of the string
23
+ # @return [String] The enum value
24
+ def self.build_from_hash(value)
25
+ new.build_from_hash(value)
26
+ end
27
+
28
+ # Builds the enum from string
29
+ # @param [String] The enum value in the form of the string
30
+ # @return [String] The enum value
31
+ def build_from_hash(value)
32
+ return value if ModelIn.all_vars.include?(value)
33
+ raise "Invalid ENUM value #{value} for class #ModelIn"
34
+ end
35
+ end
36
+ end
@@ -11,10 +11,13 @@ require 'time'
11
11
 
12
12
  module Composio
13
13
  class Parameter
14
+ # The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.,
14
15
  attr_accessor :name
15
16
 
17
+ # The location of the parameter. Can be 'query' or 'header'.
16
18
  attr_accessor :_in
17
19
 
20
+ # The value of the parameter. For example, '1234567890', 'application/json', etc.,
18
21
  attr_accessor :value
19
22
 
20
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -35,7 +38,7 @@ module Composio
35
38
  def self.openapi_types
36
39
  {
37
40
  :'name' => :'String',
38
- :'_in' => :'String',
41
+ :'_in' => :'ModelIn',
39
42
  :'value' => :'String'
40
43
  }
41
44
  end
@@ -11,12 +11,15 @@ require 'time'
11
11
 
12
12
  module Composio
13
13
  class Type
14
- ERROR = "error".freeze
15
- INFO = "info".freeze
16
- DEBUG = "debug".freeze
14
+ FORM_DATA = "formData".freeze
15
+ URL_ENCODED = "urlEncoded".freeze
16
+ RAW = "raw".freeze
17
+ BINARY = "binary".freeze
18
+ GRAPHQL = "graphql".freeze
19
+ NONE = "none".freeze
17
20
 
18
21
  def self.all_vars
19
- @all_vars ||= [ERROR, INFO, DEBUG].freeze
22
+ @all_vars ||= [FORM_DATA, URL_ENCODED, RAW, BINARY, GRAPHQL, NONE].freeze
20
23
  end
21
24
 
22
25
  # Builds the enum from string
@@ -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.17'
10
+ VERSION = '0.1.18'
11
11
  end
data/lib/composio.rb CHANGED
@@ -27,6 +27,8 @@ require 'composio/models/action_get_nla_inputs_req_dto'
27
27
  require 'composio/models/action_log_data'
28
28
  require 'composio/models/action_metadata'
29
29
  require 'composio/models/action_metadata_type'
30
+ require 'composio/models/action_proxy_request_config_dto'
31
+ require 'composio/models/action_proxy_request_method_dto'
30
32
  require 'composio/models/actions_controller_v1'
31
33
  require 'composio/models/actions_list_response_dto'
32
34
  require 'composio/models/actions_minimal_list_response_dto'
@@ -91,6 +93,7 @@ require 'composio/models/get_connector_info_res_dto'
91
93
  require 'composio/models/get_connector_list_res_dto'
92
94
  require 'composio/models/get_logs_dto'
93
95
  require 'composio/models/get_logs_dto_status'
96
+ require 'composio/models/get_logs_dto_type'
94
97
  require 'composio/models/get_logs_query_dto'
95
98
  require 'composio/models/get_trigger_params_dto'
96
99
  require 'composio/models/get_trigger_response_dto'
@@ -118,6 +121,8 @@ require 'composio/models/meta'
118
121
  require 'composio/models/meta_app'
119
122
  require 'composio/models/metadata_query_dto'
120
123
  require 'composio/models/metadata_req_dto'
124
+ require 'composio/models/method'
125
+ require 'composio/models/model_in'
121
126
  require 'composio/models/o_auth2_callback_query_dto'
122
127
  require 'composio/models/open_api_spec_list_res_dto'
123
128
  require 'composio/models/page_info'
@@ -42,9 +42,8 @@ describe 'ActionsApi' do
42
42
  # unit tests for execute_action_proxy
43
43
  # Execute action proxy
44
44
  # Execute an action with direct auth.
45
- # @param endpoint
46
- # @param connected_account_id
47
45
  # @param [Hash] opts the optional parameters
46
+ # @option opts [ActionProxyRequestConfigDTO] :action_proxy_request_config_dto ActionProxyRequestConfigDTO
48
47
  # @return [ActionExecutionResDto]
49
48
  describe 'execute_action_proxy test' do
50
49
  it 'should work' do
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Composio::ActionProxyRequestConfigDTO
14
+ describe Composio::ActionProxyRequestConfigDTO do
15
+ let(:instance) { Composio::ActionProxyRequestConfigDTO.new }
16
+
17
+ describe 'test an instance of ActionProxyRequestConfigDTO' do
18
+ it 'should create an instance of ActionProxyRequestConfigDTO' do
19
+ expect(instance).to be_instance_of(Composio::ActionProxyRequestConfigDTO)
20
+ end
21
+ end
22
+ describe 'test attribute "parameters"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "connected_account_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "endpoint"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "method"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "body"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Composio::ActionProxyRequestMethodDTO
14
+ describe Composio::ActionProxyRequestMethodDTO do
15
+ let(:instance) { Composio::ActionProxyRequestMethodDTO.new }
16
+
17
+ describe 'test an instance of ActionProxyRequestMethodDTO' do
18
+ it 'should create an instance of ActionProxyRequestMethodDTO' do
19
+ expect(instance).to be_instance_of(Composio::ActionProxyRequestMethodDTO)
20
+ end
21
+ end
22
+ describe 'test attribute "type"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -43,4 +43,10 @@ describe Composio::DirectExecuteReqDto do
43
43
  end
44
44
  end
45
45
 
46
+ describe 'test attribute "body"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
46
52
  end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Composio::GetLogsDtoType
14
+ describe Composio::GetLogsDtoType do
15
+ let(:instance) { Composio::GetLogsDtoType.new }
16
+
17
+ describe 'test an instance of GetLogsDtoType' do
18
+ it 'should create an instance of GetLogsDtoType' do
19
+ expect(instance).to be_instance_of(Composio::GetLogsDtoType)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Composio::Method
14
+ describe Composio::Method do
15
+ let(:instance) { Composio::Method.new }
16
+
17
+ describe 'test an instance of Method' do
18
+ it 'should create an instance of Method' do
19
+ expect(instance).to be_instance_of(Composio::Method)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Composio OpenAPI
3
+
4
+ #Composio SDK: Equip your agent with high-quality tools and build your real-world usecase
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Composio::ModelIn
14
+ describe Composio::ModelIn do
15
+ let(:instance) { Composio::ModelIn.new }
16
+
17
+ describe 'test an instance of ModelIn' do
18
+ it 'should create an instance of ModelIn' do
19
+ expect(instance).to be_instance_of(Composio::ModelIn)
20
+ end
21
+ end
22
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-13 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -113,6 +113,8 @@ files:
113
113
  - lib/composio/models/action_log_data.rb
114
114
  - lib/composio/models/action_metadata.rb
115
115
  - lib/composio/models/action_metadata_type.rb
116
+ - lib/composio/models/action_proxy_request_config_dto.rb
117
+ - lib/composio/models/action_proxy_request_method_dto.rb
116
118
  - lib/composio/models/actions_controller_v1.rb
117
119
  - lib/composio/models/actions_list_response_dto.rb
118
120
  - lib/composio/models/actions_minimal_list_response_dto.rb
@@ -178,6 +180,7 @@ files:
178
180
  - lib/composio/models/get_connector_list_res_dto.rb
179
181
  - lib/composio/models/get_logs_dto.rb
180
182
  - lib/composio/models/get_logs_dto_status.rb
183
+ - lib/composio/models/get_logs_dto_type.rb
181
184
  - lib/composio/models/get_logs_query_dto.rb
182
185
  - lib/composio/models/get_trigger_params_dto.rb
183
186
  - lib/composio/models/get_trigger_response_dto.rb
@@ -205,6 +208,8 @@ files:
205
208
  - lib/composio/models/meta_app.rb
206
209
  - lib/composio/models/metadata_query_dto.rb
207
210
  - lib/composio/models/metadata_req_dto.rb
211
+ - lib/composio/models/method.rb
212
+ - lib/composio/models/model_in.rb
208
213
  - lib/composio/models/o_auth2_callback_query_dto.rb
209
214
  - lib/composio/models/open_api_spec_list_res_dto.rb
210
215
  - lib/composio/models/page_info.rb
@@ -285,6 +290,8 @@ files:
285
290
  - spec/models/action_log_data_spec.rb
286
291
  - spec/models/action_metadata_spec.rb
287
292
  - spec/models/action_metadata_type_spec.rb
293
+ - spec/models/action_proxy_request_config_dto_spec.rb
294
+ - spec/models/action_proxy_request_method_dto_spec.rb
288
295
  - spec/models/actions_controller_v1_spec.rb
289
296
  - spec/models/actions_list_response_dto_spec.rb
290
297
  - spec/models/actions_minimal_list_response_dto_spec.rb
@@ -350,6 +357,7 @@ files:
350
357
  - spec/models/get_connector_list_res_dto_spec.rb
351
358
  - spec/models/get_logs_dto_spec.rb
352
359
  - spec/models/get_logs_dto_status_spec.rb
360
+ - spec/models/get_logs_dto_type_spec.rb
353
361
  - spec/models/get_logs_query_dto_spec.rb
354
362
  - spec/models/get_trigger_params_dto_spec.rb
355
363
  - spec/models/get_trigger_response_dto_spec.rb
@@ -377,6 +385,8 @@ files:
377
385
  - spec/models/meta_spec.rb
378
386
  - spec/models/metadata_query_dto_spec.rb
379
387
  - spec/models/metadata_req_dto_spec.rb
388
+ - spec/models/method_spec.rb
389
+ - spec/models/model_in_spec.rb
380
390
  - spec/models/o_auth2_callback_query_dto_spec.rb
381
391
  - spec/models/open_api_spec_list_res_dto_spec.rb
382
392
  - spec/models/page_info_dto_spec.rb
@@ -509,6 +519,7 @@ test_files:
509
519
  - spec/models/type_spec.rb
510
520
  - spec/models/connector_list_item_dto_spec.rb
511
521
  - spec/models/get_active_triggers_query_dto_spec.rb
522
+ - spec/models/action_proxy_request_config_dto_spec.rb
512
523
  - spec/models/top_entities_res_dto_spec.rb
513
524
  - spec/models/create_connector_payload_dto_use_composio_auth_spec.rb
514
525
  - spec/models/action_execution_res_dto_spec.rb
@@ -538,6 +549,8 @@ test_files:
538
549
  - spec/models/meta_app_spec.rb
539
550
  - spec/models/actions_list_response_dto_spec.rb
540
551
  - spec/models/generate_cli_session_req_dto_spec.rb
552
+ - spec/models/method_spec.rb
553
+ - spec/models/get_logs_dto_type_spec.rb
541
554
  - spec/models/client_dto_updated_at_spec.rb
542
555
  - spec/models/app_name_count_dto_spec.rb
543
556
  - spec/models/get_connector_list_res_dto_spec.rb
@@ -580,6 +593,7 @@ test_files:
580
593
  - spec/models/role_spec.rb
581
594
  - spec/models/expected_input_fields_dto_spec.rb
582
595
  - spec/models/direct_execute_req_dto_spec.rb
596
+ - spec/models/action_proxy_request_method_dto_spec.rb
583
597
  - spec/models/state_spec.rb
584
598
  - spec/models/get_connections_response_dto_spec.rb
585
599
  - spec/models/single_app_info_res_dto_spec.rb
@@ -603,6 +617,7 @@ test_files:
603
617
  - spec/models/switch_trigger_status_body_dto_spec.rb
604
618
  - spec/models/page_info_spec.rb
605
619
  - spec/models/generate_cli_session_res_dto_spec.rb
620
+ - spec/models/model_in_spec.rb
606
621
  - spec/models/initiate_connection_response_spec.rb
607
622
  - spec/models/o_auth2_callback_query_dto_spec.rb
608
623
  - spec/models/status_spec.rb