composio 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/composio/models/connected_account_response_dto.rb +29 -1
- data/lib/composio/version.rb +1 -1
- data/spec/models/connected_account_response_dto_spec.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72b585b874b3025021e8aead8165bcd81ba79e765c9304a41401da27a2f641d5
|
4
|
+
data.tar.gz: a0d05fe0432098875ff52bb39840a4b421472c8a07067754016c1501898e6076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a386999bbd71b41ef715c89fdc39328ef75d454691d8d105b1ffb11d48c7ce3dfba01dabc74f6fdc39db2ab87e51190a70a9054720301283acb57e6ea60118b8
|
7
|
+
data.tar.gz: 4c8fecdcd3c203f7d14430333c56310b8638537f46f4dc944db2da11be26ee8dbf76eef672c41dd619676def1b311856fdfe3f47f434bf1edaa76d3307473aea
|
data/Gemfile.lock
CHANGED
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.
|
9
|
+
[![npm](https://img.shields.io/badge/gem-v0.1.6-blue)](https://rubygems.org/gems/composio/versions/0.1.6)
|
10
10
|
[![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://composio.dev)
|
11
11
|
|
12
12
|
</div>
|
@@ -60,7 +60,7 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
|
|
60
60
|
Add to Gemfile:
|
61
61
|
|
62
62
|
```ruby
|
63
|
-
gem 'composio', '~> 0.1.
|
63
|
+
gem 'composio', '~> 0.1.6'
|
64
64
|
```
|
65
65
|
|
66
66
|
## Getting Started<a id="getting-started"></a>
|
@@ -23,6 +23,10 @@ module Composio
|
|
23
23
|
|
24
24
|
attr_accessor :client_unique_user_id
|
25
25
|
|
26
|
+
attr_accessor :app_name
|
27
|
+
|
28
|
+
attr_accessor :entity_id
|
29
|
+
|
26
30
|
attr_accessor :status
|
27
31
|
|
28
32
|
attr_accessor :enabled
|
@@ -40,6 +44,8 @@ module Composio
|
|
40
44
|
:'is_disabled' => :'isDisabled',
|
41
45
|
:'id' => :'id',
|
42
46
|
:'client_unique_user_id' => :'clientUniqueUserId',
|
47
|
+
:'app_name' => :'appName',
|
48
|
+
:'entity_id' => :'entityId',
|
43
49
|
:'status' => :'status',
|
44
50
|
:'enabled' => :'enabled',
|
45
51
|
:'created_at' => :'createdAt',
|
@@ -61,6 +67,8 @@ module Composio
|
|
61
67
|
:'is_disabled' => :'Boolean',
|
62
68
|
:'id' => :'String',
|
63
69
|
:'client_unique_user_id' => :'String',
|
70
|
+
:'app_name' => :'String',
|
71
|
+
:'entity_id' => :'String',
|
64
72
|
:'status' => :'String',
|
65
73
|
:'enabled' => :'Boolean',
|
66
74
|
:'created_at' => :'String',
|
@@ -113,6 +121,14 @@ module Composio
|
|
113
121
|
self.client_unique_user_id = attributes[:'client_unique_user_id']
|
114
122
|
end
|
115
123
|
|
124
|
+
if attributes.key?(:'app_name')
|
125
|
+
self.app_name = attributes[:'app_name']
|
126
|
+
end
|
127
|
+
|
128
|
+
if attributes.key?(:'entity_id')
|
129
|
+
self.entity_id = attributes[:'entity_id']
|
130
|
+
end
|
131
|
+
|
116
132
|
if attributes.key?(:'status')
|
117
133
|
self.status = attributes[:'status']
|
118
134
|
end
|
@@ -150,6 +166,14 @@ module Composio
|
|
150
166
|
invalid_properties.push('invalid value for "client_unique_user_id", client_unique_user_id cannot be nil.')
|
151
167
|
end
|
152
168
|
|
169
|
+
if @app_name.nil?
|
170
|
+
invalid_properties.push('invalid value for "app_name", app_name cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
|
+
if @entity_id.nil?
|
174
|
+
invalid_properties.push('invalid value for "entity_id", entity_id cannot be nil.')
|
175
|
+
end
|
176
|
+
|
153
177
|
if @status.nil?
|
154
178
|
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
155
179
|
end
|
@@ -172,6 +196,8 @@ module Composio
|
|
172
196
|
return false if @app_unique_id.nil?
|
173
197
|
return false if @id.nil?
|
174
198
|
return false if @client_unique_user_id.nil?
|
199
|
+
return false if @app_name.nil?
|
200
|
+
return false if @entity_id.nil?
|
175
201
|
return false if @status.nil?
|
176
202
|
return false if @created_at.nil?
|
177
203
|
return false if @updated_at.nil?
|
@@ -189,6 +215,8 @@ module Composio
|
|
189
215
|
is_disabled == o.is_disabled &&
|
190
216
|
id == o.id &&
|
191
217
|
client_unique_user_id == o.client_unique_user_id &&
|
218
|
+
app_name == o.app_name &&
|
219
|
+
entity_id == o.entity_id &&
|
192
220
|
status == o.status &&
|
193
221
|
enabled == o.enabled &&
|
194
222
|
created_at == o.created_at &&
|
@@ -204,7 +232,7 @@ module Composio
|
|
204
232
|
# Calculates hash code according to all attributes.
|
205
233
|
# @return [Integer] Hash code
|
206
234
|
def hash
|
207
|
-
[integration_id, app_unique_id, meta, is_disabled, id, client_unique_user_id, status, enabled, created_at, updated_at].hash
|
235
|
+
[integration_id, app_unique_id, meta, is_disabled, id, client_unique_user_id, app_name, entity_id, status, enabled, created_at, updated_at].hash
|
208
236
|
end
|
209
237
|
|
210
238
|
# Builds the object from hash
|
data/lib/composio/version.rb
CHANGED
@@ -55,6 +55,18 @@ describe Composio::ConnectedAccountResponseDTO do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
+
describe 'test attribute "app_name"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "entity_id"' 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 "status"' do
|
59
71
|
it 'should work' do
|
60
72
|
# 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.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|