Skip to content

Commit

Permalink
Update OpenAPI Specification (#27)
Browse files Browse the repository at this point in the history
* Update OpenAPI Specification (composio.json)

* Regenerate SDKs

---------

Co-authored-by: konfig-bot[bot] <121480725+konfig-bot[bot]@users.noreply.github.com>
Co-authored-by: konfig-publisher <[email protected]>
  • Loading branch information
konfig-bot[bot] and konfig-publisher authored Oct 24, 2024
1 parent ff3af16 commit d7793ea
Show file tree
Hide file tree
Showing 12 changed files with 134 additions and 32 deletions.
5 changes: 5 additions & 0 deletions .konfig/changesets/metal-bars-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
ruby: patch
---

Regenerate SDKs
4 changes: 2 additions & 2 deletions STATISTICS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

| SDK Name | Lines of Code |
| -------- | ------------- |
| ruby | 56607 |
| **Total** | 56607 |
| ruby | 56678 |
| **Total** | 56678 |
37 changes: 25 additions & 12 deletions composio.json
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@
"type": "object",
"required": [
"name",
"authScheme",
"appId"
]
},
Expand Down Expand Up @@ -3612,7 +3613,8 @@
"summary": "Get opena api specs",
"tags": [
"Apps"
]
],
"description": "List all openapi spec tools"
}
},
"/api/v1/apps/openapi/spec/delete/{id}": {
Expand Down Expand Up @@ -3640,7 +3642,8 @@
"summary": "Delete open api spec tool",
"tags": [
"Apps"
]
],
"description": "Delete an openapi spec tool"
}
},
"/api/v1/apps/openapi/send_email_to_client": {
Expand Down Expand Up @@ -3704,7 +3707,8 @@
"summary": "Get open api spec status",
"tags": [
"Apps"
]
],
"description": "Get the status of an openapi spec tool"
}
},
"/api/v1/apps/{appName}": {
Expand Down Expand Up @@ -3769,7 +3773,8 @@
"summary": "Create connector",
"tags": [
"Integrations"
]
],
"description": "Create a new connector"
},
"get": {
"operationId": "listAllConnectors",
Expand All @@ -3788,7 +3793,8 @@
"summary": "List all connectors",
"tags": [
"Integrations"
]
],
"description": "List all connectors"
}
},
"/api/v1/integrations/{integrationId}": {
Expand Down Expand Up @@ -3820,7 +3826,8 @@
"summary": "Get connector info",
"tags": [
"Integrations"
]
],
"description": "Get connector info"
},
"patch": {
"operationId": "modifyConnector",
Expand Down Expand Up @@ -3861,7 +3868,8 @@
"summary": "Modify connector",
"tags": [
"Integrations"
]
],
"description": "Modify a connector"
},
"delete": {
"operationId": "deleteConnector",
Expand Down Expand Up @@ -3891,7 +3899,8 @@
"summary": "Delete connector",
"tags": [
"Integrations"
]
],
"description": "Delete a connector"
}
},
"/api/v1/integrations/{integrationId}/status": {},
Expand Down Expand Up @@ -4070,7 +4079,8 @@
"summary": "Delete connection",
"tags": [
"Connections"
]
],
"description": "Delete a connection"
}
},
"/api/v1/connectedAccounts/{connectedAccountId}/info": {
Expand Down Expand Up @@ -4102,7 +4112,8 @@
"summary": "Get connection info",
"tags": [
"Connections"
]
],
"description": "Get connection info"
}
},
"/api/v1/connectedAccounts/{connectedAccountId}/disable": {
Expand Down Expand Up @@ -4134,7 +4145,8 @@
"summary": "Disable connection",
"tags": [
"Connections"
]
],
"description": "Disable a connection"
}
},
"/api/v1/connectedAccounts/{connectedAccountId}/enable": {
Expand Down Expand Up @@ -4166,7 +4178,8 @@
"summary": "Enable connection",
"tags": [
"Connections"
]
],
"description": "Enable a connection"
}
},
"/api/v1/triggers": {
Expand Down
13 changes: 13 additions & 0 deletions openapi-fixed.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
],
"summary": "Get opena api specs",
"operationId": "App_listOpenApiSpecs",
"description": "List all openapi spec tools",
"responses": {
"200": {
"description": "List of all openapi spec tools",
Expand All @@ -232,6 +233,7 @@
],
"summary": "Delete open api spec tool",
"operationId": "Apps_deleteOpenApiSpecTool",
"description": "Delete an openapi spec tool",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -306,6 +308,7 @@
],
"summary": "Get open api spec status",
"operationId": "Apps_getOpenApiSpecStatus",
"description": "Get the status of an openapi spec tool",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -371,6 +374,7 @@
],
"summary": "Create connector",
"operationId": "AppConnector_createIntegration",
"description": "Create a new connector",
"requestBody": {
"description": "CreateConnectorPayloadDTO",
"content": {
Expand Down Expand Up @@ -401,6 +405,7 @@
],
"summary": "List all connectors",
"operationId": "AppConnector_listGlobalConnectors",
"description": "List all connectors",
"responses": {
"200": {
"description": "",
Expand All @@ -422,6 +427,7 @@
],
"summary": "Get connector info",
"operationId": "AppConnector_getConnectorInfo",
"description": "Get connector info",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -452,6 +458,7 @@
],
"summary": "Modify connector",
"operationId": "AppConnector_updateIntegration",
"description": "Modify a connector",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -493,6 +500,7 @@
],
"summary": "Delete connector",
"operationId": "AppConnector_deleteConnector",
"description": "Delete a connector",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -673,6 +681,7 @@
],
"summary": "Delete connection",
"operationId": "Connections_delete",
"description": "Delete a connection",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -705,6 +714,7 @@
],
"summary": "Get connection info",
"operationId": "Connections_getInfo",
"description": "Get connection info",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -737,6 +747,7 @@
],
"summary": "Disable connection",
"operationId": "Connections_disable",
"description": "Disable a connection",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -769,6 +780,7 @@
],
"summary": "Enable connection",
"operationId": "Connections_enable",
"description": "Enable a connection",
"parameters": [
{
"in": "path",
Expand Down Expand Up @@ -2897,6 +2909,7 @@
"type": "object",
"required": [
"name",
"authScheme",
"appId"
]
},
Expand Down
2 changes: 1 addition & 1 deletion ruby/.konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ac9b953f-c4f4-498d-9505-874ef2390338
9dc70e16-dbc9-487b-9631-14eeba887c09
26 changes: 13 additions & 13 deletions ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ p result

### `composio.apps.delete_open_api_spec_tool`<a id="composioappsdelete_open_api_spec_tool"></a>

Delete open api spec tool
Delete an openapi spec tool

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -494,7 +494,7 @@ p result

### `composio.apps.get_open_api_spec_status`<a id="composioappsget_open_api_spec_status"></a>

Get open api spec status
Get the status of an openapi spec tool

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -550,7 +550,7 @@ p result

### `composio.apps.list_open_api_specs`<a id="composioappslist_open_api_specs"></a>

Get opena api specs
List all openapi spec tools

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -635,7 +635,7 @@ The framework used by the client

### `composio.connections.delete`<a id="composioconnectionsdelete"></a>

Delete connection
Delete a connection

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -664,7 +664,7 @@ p result

### `composio.connections.disable`<a id="composioconnectionsdisable"></a>

Disable connection
Disable a connection

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -693,7 +693,7 @@ p result

### `composio.connections.enable`<a id="composioconnectionsenable"></a>

Enable connection
Enable a connection

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -974,15 +974,15 @@ Event Webhook URL

### `composio.integrations.create_integration`<a id="composiointegrationscreate_integration"></a>

Create connector
Create a new connector

#### 🛠️ Usage<a id="🛠️-usage"></a>

```ruby
result = composio.integrations.create_integration(
name: "string_example",
app_id: "string_example",
auth_scheme: "string_example",
app_id: "string_example",
auth_config: {
},
use_composio_auth: true,
Expand All @@ -996,12 +996,12 @@ p result
##### name: `String`<a id="name-string"></a>
Name of the connector

##### appId: `String`<a id="appid-string"></a>
Application ID

##### authScheme: `String`<a id="authscheme-string"></a>
Authentication scheme

##### appId: `String`<a id="appid-string"></a>
Application ID

##### authConfig: [`AuthConfigDTO`](./lib/composio/models/auth_config_dto.rb)<a id="authconfig-authconfigdtolibcomposiomodelsauth_config_dtorb"></a>
##### useComposioAuth: [`CreateConnectorPayloadDTOUseComposioAuth`](./lib/composio/models/create_connector_payload_dto_use_composio_auth.rb)<a id="usecomposioauth-createconnectorpayloaddtousecomposioauthlibcomposiomodelscreate_connector_payload_dto_use_composio_authrb"></a>
##### forceNewIntegration: `Boolean`<a id="forcenewintegration-boolean"></a>
Expand All @@ -1022,7 +1022,7 @@ Flag to force new integration

### `composio.integrations.delete_connector`<a id="composiointegrationsdelete_connector"></a>

Delete connector
Delete a connector

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down Expand Up @@ -1104,7 +1104,7 @@ p result

### `composio.integrations.update_integration`<a id="composiointegrationsupdate_integration"></a>

Modify connector
Modify a connector

#### 🛠️ Usage<a id="🛠️-usage"></a>

Expand Down
Loading

0 comments on commit d7793ea

Please sign in to comment.