composio 0.1.11 → 0.1.12
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 +6 -6
- data/lib/composio/api/integrations_api.rb +4 -4
- data/lib/composio/models/create_connector_payload_dto.rb +0 -5
- data/lib/composio/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae34134747b921cb4cb7d6f4c2d436138393cd3b9080d901137ddabccaabf227
|
4
|
+
data.tar.gz: f3260f26259c56f17b083529e7521d641de53f4ad088aca7cf95ad8f69513947
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4c07bf7584a7d3dbec076f76ad38a24c4f1b6a5a9e003006a0a97a1efffac6ece26f4c52990f11e2a3ea25c9d74cc9cb5482ce0758212a47c6797f388df185e
|
7
|
+
data.tar.gz: afd1765ef6e0d1e1de493e75b0146d6937aee8a905df21fb48795a11cbbe67e7f3e47ddf9f3bd8f5883d003816245ab18ba8d8ada2d45e3632c7ea98800c98c6
|
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.12-blue)](https://rubygems.org/gems/composio/versions/0.1.12)
|
10
10
|
[![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://composio.dev)
|
11
11
|
|
12
12
|
</div>
|
@@ -78,7 +78,7 @@ Composio SDK: Equip your agent with high-quality tools and build your real-world
|
|
78
78
|
Add to Gemfile:
|
79
79
|
|
80
80
|
```ruby
|
81
|
-
gem 'composio', '~> 0.1.
|
81
|
+
gem 'composio', '~> 0.1.12'
|
82
82
|
```
|
83
83
|
|
84
84
|
## Getting Started<a id="getting-started"></a>
|
@@ -981,8 +981,8 @@ Create a new connector
|
|
981
981
|
```ruby
|
982
982
|
result = composio.integrations.create_integration(
|
983
983
|
name: "string_example",
|
984
|
-
auth_scheme: "string_example",
|
985
984
|
app_id: "string_example",
|
985
|
+
auth_scheme: "string_example",
|
986
986
|
auth_config: {
|
987
987
|
},
|
988
988
|
use_composio_auth: true,
|
@@ -996,12 +996,12 @@ p result
|
|
996
996
|
##### name: `String`<a id="name-string"></a>
|
997
997
|
Name of the connector
|
998
998
|
|
999
|
-
##### authScheme: `String`<a id="authscheme-string"></a>
|
1000
|
-
Authentication scheme
|
1001
|
-
|
1002
999
|
##### appId: `String`<a id="appid-string"></a>
|
1003
1000
|
Application ID
|
1004
1001
|
|
1002
|
+
##### authScheme: `String`<a id="authscheme-string"></a>
|
1003
|
+
Authentication scheme
|
1004
|
+
|
1005
1005
|
##### authConfig: [`AuthConfigDTO`](./lib/composio/models/auth_config_dto.rb)<a id="authconfig-authconfigdtolibcomposiomodelsauth_config_dtorb"></a>
|
1006
1006
|
##### useComposioAuth: [`CreateConnectorPayloadDTOUseComposioAuth`](./lib/composio/models/create_connector_payload_dto_use_composio_auth.rb)<a id="usecomposioauth-createconnectorpayloaddtousecomposioauthlibcomposiomodelscreate_connector_payload_dto_use_composio_authrb"></a>
|
1007
1007
|
##### forceNewIntegration: `Boolean`<a id="forcenewintegration-boolean"></a>
|
@@ -21,14 +21,14 @@ module Composio
|
|
21
21
|
# Create a new connector
|
22
22
|
#
|
23
23
|
# @param name [String] Name of the connector
|
24
|
-
# @param auth_scheme [String] Authentication scheme
|
25
24
|
# @param app_id [String] Application ID
|
25
|
+
# @param auth_scheme [String] Authentication scheme
|
26
26
|
# @param auth_config [AuthConfigDTO]
|
27
27
|
# @param use_composio_auth [CreateConnectorPayloadDTOUseComposioAuth]
|
28
28
|
# @param force_new_integration [Boolean] Flag to force new integration
|
29
29
|
# @param body [CreateConnectorPayloadDTO]
|
30
30
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
31
|
-
def create_integration(name:,
|
31
|
+
def create_integration(name:, app_id:, auth_scheme: SENTINEL, auth_config: SENTINEL, use_composio_auth: SENTINEL, force_new_integration: SENTINEL, extra: {})
|
32
32
|
_body = {}
|
33
33
|
_body[:name] = name if name != SENTINEL
|
34
34
|
_body[:authScheme] = auth_scheme if auth_scheme != SENTINEL
|
@@ -46,14 +46,14 @@ module Composio
|
|
46
46
|
# Create a new connector
|
47
47
|
#
|
48
48
|
# @param name [String] Name of the connector
|
49
|
-
# @param auth_scheme [String] Authentication scheme
|
50
49
|
# @param app_id [String] Application ID
|
50
|
+
# @param auth_scheme [String] Authentication scheme
|
51
51
|
# @param auth_config [AuthConfigDTO]
|
52
52
|
# @param use_composio_auth [CreateConnectorPayloadDTOUseComposioAuth]
|
53
53
|
# @param force_new_integration [Boolean] Flag to force new integration
|
54
54
|
# @param body [CreateConnectorPayloadDTO]
|
55
55
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
56
|
-
def create_integration_with_http_info(name:,
|
56
|
+
def create_integration_with_http_info(name:, app_id:, auth_scheme: SENTINEL, auth_config: SENTINEL, use_composio_auth: SENTINEL, force_new_integration: SENTINEL, extra: {})
|
57
57
|
_body = {}
|
58
58
|
_body[:name] = name if name != SENTINEL
|
59
59
|
_body[:authScheme] = auth_scheme if auth_scheme != SENTINEL
|
@@ -110,10 +110,6 @@ module Composio
|
|
110
110
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
111
111
|
end
|
112
112
|
|
113
|
-
if @auth_scheme.nil?
|
114
|
-
invalid_properties.push('invalid value for "auth_scheme", auth_scheme cannot be nil.')
|
115
|
-
end
|
116
|
-
|
117
113
|
if @app_id.nil?
|
118
114
|
invalid_properties.push('invalid value for "app_id", app_id cannot be nil.')
|
119
115
|
end
|
@@ -125,7 +121,6 @@ module Composio
|
|
125
121
|
# @return true if the model is valid
|
126
122
|
def valid?
|
127
123
|
return false if @name.nil?
|
128
|
-
return false if @auth_scheme.nil?
|
129
124
|
return false if @app_id.nil?
|
130
125
|
true
|
131
126
|
end
|
data/lib/composio/version.rb
CHANGED