composio 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5aec9dd011a71ff421a1efc228b6cbd03c0d1e6b009f5c1d2cfbc0663e09ce8
4
- data.tar.gz: 521a068ed6d5eb40b672c541e93fb4dfb9c2e3f7d88bbdcf2d476f0f0138c912
3
+ metadata.gz: 8ea0061615d84f7212bcbff0036fbcc902ac0e02c97554ee7326bf5c7523b6f1
4
+ data.tar.gz: 3acc00300b80b5f497d151a22677a0552b351d263a03e3b620598fb134fe7198
5
5
  SHA512:
6
- metadata.gz: f2babc1eb71dc62146304a2a5766db9a62e9cea76285d6e5a3e3422b948cd8d3c6d9926d7d09752c13659388de2a54a438d6f3b35ca47b0badb4c3688ea9bcad
7
- data.tar.gz: a46bb3a88a365cc06e3ab05527592e2fb31b68a11aafde422e3f5f81c8dbb232f4f17d57f19bd0ad23325d1573d04e080a1118d0c6a7b9939b40e7cbf829f7d3
6
+ metadata.gz: 855c823d6ad2a362937ee357f369094148bb231a4688a214b50668b12fb78fc71479d30003924ea9382da2d8755e983324a3d1ee31eb213251443b3a51d10e11
7
+ data.tar.gz: d09dc540eaa5c772c3895bf38b8d0fb2ba7f4b12625c661e14b2e818feb2ca97221f9d9c760bdf17dc0437cc04e6a02f161e028cfc0f8a1cdddedfd1a50993ac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- composio (0.1.13)
4
+ composio (0.1.14)
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.32.3)
70
+ rubocop-ast (1.33.0)
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.13-blue)](https://rubygems.org/gems/composio/versions/0.1.13)
9
+ [![npm](https://img.shields.io/badge/gem-v0.1.14-blue)](https://rubygems.org/gems/composio/versions/0.1.14)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://composio.dev)
11
11
 
12
12
  </div>
@@ -79,7 +79,7 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
79
79
  Add to Gemfile:
80
80
 
81
81
  ```ruby
82
- gem 'composio', '~> 0.1.13'
82
+ gem 'composio', '~> 0.1.14'
83
83
  ```
84
84
 
85
85
  ## Getting Started<a id="getting-started"></a>
@@ -547,6 +547,7 @@ Retrieve a list of all applications based on query parameters.
547
547
  ```ruby
548
548
  result = composio.apps.list(
549
549
  category: "string_example",
550
+ additional_fields: "string_example",
550
551
  include_local: "string_example",
551
552
  )
552
553
  p result
@@ -555,6 +556,7 @@ p result
555
556
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
556
557
 
557
558
  ##### category: `String`<a id="category-string"></a>
559
+ ##### additional_fields: `String`<a id="additional_fields-string"></a>
558
560
  ##### include_local: `String`<a id="include_local-string"></a>
559
561
  #### 🔄 Return<a id="🔄-return"></a>
560
562
 
@@ -11,6 +11,9 @@ require 'time'
11
11
 
12
12
  module Composio
13
13
  class AppInfoResponseDto
14
+ # The tags of the app
15
+ attr_accessor :tags
16
+
14
17
  # The description of the app
15
18
  attr_accessor :description
16
19
 
@@ -29,6 +32,9 @@ module Composio
29
32
  # The categories of the app
30
33
  attr_accessor :categories
31
34
 
35
+ # The authentication schemes of the app
36
+ attr_accessor :auth_schemes
37
+
32
38
  # Indicates if the app is enabled
33
39
  attr_accessor :enabled
34
40
 
@@ -38,12 +44,14 @@ module Composio
38
44
  # Attribute mapping from ruby-style variable name to JSON key.
39
45
  def self.attribute_map
40
46
  {
47
+ :'tags' => :'tags',
41
48
  :'description' => :'description',
42
49
  :'app_id' => :'appId',
43
50
  :'key' => :'key',
44
51
  :'name' => :'name',
45
52
  :'logo' => :'logo',
46
53
  :'categories' => :'categories',
54
+ :'auth_schemes' => :'auth_schemes',
47
55
  :'enabled' => :'enabled',
48
56
  :'no_auth' => :'no_auth'
49
57
  }
@@ -57,12 +65,14 @@ module Composio
57
65
  # Attribute type mapping.
58
66
  def self.openapi_types
59
67
  {
68
+ :'tags' => :'Array<Object>',
60
69
  :'description' => :'String',
61
70
  :'app_id' => :'String',
62
71
  :'key' => :'String',
63
72
  :'name' => :'String',
64
73
  :'logo' => :'String',
65
74
  :'categories' => :'Array<Object>',
75
+ :'auth_schemes' => :'Object',
66
76
  :'enabled' => :'Boolean',
67
77
  :'no_auth' => :'Boolean'
68
78
  }
@@ -71,6 +81,7 @@ module Composio
71
81
  # List of attributes with nullable: true
72
82
  def self.openapi_nullable
73
83
  Set.new([
84
+ :'auth_schemes',
74
85
  ])
75
86
  end
76
87
 
@@ -89,6 +100,12 @@ module Composio
89
100
  h[k.to_sym] = v
90
101
  }
91
102
 
103
+ if attributes.key?(:'tags')
104
+ if (value = attributes[:'tags']).is_a?(Array)
105
+ self.tags = value
106
+ end
107
+ end
108
+
92
109
  if attributes.key?(:'description')
93
110
  self.description = attributes[:'description']
94
111
  end
@@ -115,6 +132,10 @@ module Composio
115
132
  end
116
133
  end
117
134
 
135
+ if attributes.key?(:'auth_schemes')
136
+ self.auth_schemes = attributes[:'auth_schemes']
137
+ end
138
+
118
139
  if attributes.key?(:'enabled')
119
140
  self.enabled = attributes[:'enabled']
120
141
  end
@@ -177,12 +198,14 @@ module Composio
177
198
  def ==(o)
178
199
  return true if self.equal?(o)
179
200
  self.class == o.class &&
201
+ tags == o.tags &&
180
202
  description == o.description &&
181
203
  app_id == o.app_id &&
182
204
  key == o.key &&
183
205
  name == o.name &&
184
206
  logo == o.logo &&
185
207
  categories == o.categories &&
208
+ auth_schemes == o.auth_schemes &&
186
209
  enabled == o.enabled &&
187
210
  no_auth == o.no_auth
188
211
  end
@@ -196,7 +219,7 @@ module Composio
196
219
  # Calculates hash code according to all attributes.
197
220
  # @return [Integer] Hash code
198
221
  def hash
199
- [description, app_id, key, name, logo, categories, enabled, no_auth].hash
222
+ [tags, description, app_id, key, name, logo, categories, auth_schemes, enabled, no_auth].hash
200
223
  end
201
224
 
202
225
  # Builds the object from hash
@@ -14,6 +14,9 @@ module Composio
14
14
  # Category of the app
15
15
  attr_accessor :category
16
16
 
17
+ # Additional fields to include in the response
18
+ attr_accessor :additional_fields
19
+
17
20
  # Whether to include local tools or not
18
21
  attr_accessor :include_local
19
22
 
@@ -21,6 +24,7 @@ module Composio
21
24
  def self.attribute_map
22
25
  {
23
26
  :'category' => :'category',
27
+ :'additional_fields' => :'additionalFields',
24
28
  :'include_local' => :'includeLocal'
25
29
  }
26
30
  end
@@ -34,6 +38,7 @@ module Composio
34
38
  def self.openapi_types
35
39
  {
36
40
  :'category' => :'String',
41
+ :'additional_fields' => :'String',
37
42
  :'include_local' => :'String'
38
43
  }
39
44
  end
@@ -63,6 +68,10 @@ module Composio
63
68
  self.category = attributes[:'category']
64
69
  end
65
70
 
71
+ if attributes.key?(:'additional_fields')
72
+ self.additional_fields = attributes[:'additional_fields']
73
+ end
74
+
66
75
  if attributes.key?(:'include_local')
67
76
  self.include_local = attributes[:'include_local']
68
77
  end
@@ -87,6 +96,7 @@ module Composio
87
96
  return true if self.equal?(o)
88
97
  self.class == o.class &&
89
98
  category == o.category &&
99
+ additional_fields == o.additional_fields &&
90
100
  include_local == o.include_local
91
101
  end
92
102
 
@@ -99,7 +109,7 @@ module Composio
99
109
  # Calculates hash code according to all attributes.
100
110
  # @return [Integer] Hash code
101
111
  def hash
102
- [category, include_local].hash
112
+ [category, additional_fields, include_local].hash
103
113
  end
104
114
 
105
115
  # 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.13'
10
+ VERSION = '0.1.14'
11
11
  end
@@ -67,6 +67,7 @@ describe 'AppsApi' do
67
67
  # Retrieve a list of all applications based on query parameters.
68
68
  # @param [Hash] opts the optional parameters
69
69
  # @option opts [String] :category
70
+ # @option opts [String] :additional_fields
70
71
  # @option opts [String] :include_local
71
72
  # @return [AppListResDTO]
72
73
  describe 'list test' do
@@ -19,6 +19,12 @@ describe Composio::AppInfoResponseDto do
19
19
  expect(instance).to be_instance_of(Composio::AppInfoResponseDto)
20
20
  end
21
21
  end
22
+ describe 'test attribute "tags"' 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
+
22
28
  describe 'test attribute "description"' do
23
29
  it 'should work' do
24
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -55,6 +61,12 @@ describe Composio::AppInfoResponseDto do
55
61
  end
56
62
  end
57
63
 
64
+ describe 'test attribute "auth_schemes"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
58
70
  describe 'test attribute "enabled"' do
59
71
  it 'should work' do
60
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,6 +25,12 @@ describe Composio::AppQueryDTO do
25
25
  end
26
26
  end
27
27
 
28
+ describe 'test attribute "additional_fields"' 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
+
28
34
  describe 'test attribute "include_local"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-25 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday