composio 0.1.11 → 0.1.12

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: 0a00bcfd3d03b9ebc7df6933f8e419666d9a84998cb44b9c76ec67568f1f2414
4
- data.tar.gz: f1d7cf2033f7dd2c8c528d923cbf3f77ade9e18c20a3921483f42179d9c7ec92
3
+ metadata.gz: ae34134747b921cb4cb7d6f4c2d436138393cd3b9080d901137ddabccaabf227
4
+ data.tar.gz: f3260f26259c56f17b083529e7521d641de53f4ad088aca7cf95ad8f69513947
5
5
  SHA512:
6
- metadata.gz: 03f2887d4f20c685705a6e92b1258e93ed895785e4a4e14ceeceda7b1567db19950a50629b30eceefb2cfa418de45e530a88c843156f246334398ad79e801969
7
- data.tar.gz: 3be4d2de1c3bd2e83b9e4d4ee30665eabc9f198fbda9d37a3b8026884d91e7e457490eb440be1fd1cf689a162bd476493219b63fa7510070c03301e8dec5eb9a
6
+ metadata.gz: a4c07bf7584a7d3dbec076f76ad38a24c4f1b6a5a9e003006a0a97a1efffac6ece26f4c52990f11e2a3ea25c9d74cc9cb5482ce0758212a47c6797f388df185e
7
+ data.tar.gz: afd1765ef6e0d1e1de493e75b0146d6937aee8a905df21fb48795a11cbbe67e7f3e47ddf9f3bd8f5883d003816245ab18ba8d8ada2d45e3632c7ea98800c98c6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- composio (0.1.11)
4
+ composio (0.1.12)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
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.11-blue)](https://rubygems.org/gems/composio/versions/0.1.11)
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.11'
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:, auth_scheme:, app_id:, auth_config: SENTINEL, use_composio_auth: SENTINEL, force_new_integration: SENTINEL, extra: {})
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:, auth_scheme:, app_id:, auth_config: SENTINEL, use_composio_auth: SENTINEL, force_new_integration: SENTINEL, extra: {})
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
@@ -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.11'
10
+ VERSION = '0.1.12'
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig