Skip to content

Commit

Permalink
Update OpenAPI Specification (#45)
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 Nov 15, 2024
1 parent 2e0beaf commit ea6366f
Show file tree
Hide file tree
Showing 24 changed files with 1,190 additions and 228 deletions.
5 changes: 5 additions & 0 deletions .konfig/changesets/ready-kids-retire.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 | 59995 |
| **Total** | 59995 |
| ruby | 60824 |
| **Total** | 60824 |
250 changes: 157 additions & 93 deletions composio.json
Original file line number Diff line number Diff line change
Expand Up @@ -1340,80 +1340,6 @@
"pageInfo"
]
},
"ToolsExecuteReqDto": {
"properties": {
"actionName": {
"type": "string"
},
"runInSandbox": {
"type": "boolean"
},
"input": {
"type": "object"
},
"nlaInput": {
"type": "string"
},
"authorizationData": {
"type": "object"
},
"appSchema": {
"type": "object"
},
"customDescription": {
"type": "string"
},
"systemPrompt": {
"type": "string"
}
},
"type": "object",
"required": [
"actionName",
"runInSandbox",
"input"
]
},
"DirectExecuteReqDto": {
"properties": {
"endpoint": {
"type": "string"
},
"base_url": {
"type": "string"
},
"headers": {
"type": "object"
},
"queryParams": {
"type": "object"
}
},
"type": "object",
"required": [
"endpoint",
"base_url",
"headers",
"queryParams"
]
},
"ActionExecutionResDto": {
"properties": {
"data": {
"type": "object"
},
"error": {
"type": "string"
},
"successfull": {
"type": "string"
}
},
"type": "object",
"required": [
"data"
]
},
"ConnectionParams": {
"properties": {
"integrationId": {
Expand Down Expand Up @@ -1699,13 +1625,20 @@
"Parameter": {
"properties": {
"name": {
"type": "string"
"type": "string",
"description": "The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.,"
},
"in": {
"type": "string"
"enum": [
"query",
"header"
],
"type": "string",
"description": "The location of the parameter. Can be 'query' or 'header'."
},
"value": {
"type": "string"
"type": "string",
"description": "The value of the parameter. For example, '1234567890', 'application/json', etc.,"
}
},
"type": "object",
Expand Down Expand Up @@ -1844,6 +1777,83 @@
"connectedAccountId"
]
},
"ToolsExecuteReqDto": {
"properties": {
"actionName": {
"type": "string"
},
"runInSandbox": {
"type": "boolean"
},
"input": {
"type": "object"
},
"nlaInput": {
"type": "string"
},
"authorizationData": {
"type": "object"
},
"appSchema": {
"type": "object"
},
"customDescription": {
"type": "string"
},
"systemPrompt": {
"type": "string"
}
},
"type": "object",
"required": [
"actionName",
"runInSandbox",
"input"
]
},
"DirectExecuteReqDto": {
"properties": {
"endpoint": {
"type": "string"
},
"base_url": {
"type": "string"
},
"headers": {
"type": "object"
},
"queryParams": {
"type": "object"
},
"body": {
"type": "object"
}
},
"type": "object",
"required": [
"endpoint",
"base_url",
"headers",
"queryParams"
]
},
"ActionExecutionResDto": {
"properties": {
"data": {
"type": "object"
},
"error": {
"type": "string"
},
"successfull": {
"type": "string"
}
},
"type": "object",
"required": [
"data"
]
},
"CustomAuthDTO": {
"properties": {
"base_url": {
Expand All @@ -1864,6 +1874,67 @@
"parameters"
]
},
"ActionProxyRequestMethodDTO": {
"properties": {
"type": {
"enum": [
"formData",
"urlEncoded",
"raw",
"binary",
"graphql",
"none"
],
"type": "string",
"description": "The type of request body to use for the action. Defaults to 'none'."
},
"data": {
"type": "string",
"description": "The data to be sent to the endpoint. This will override the body set in the connected account."
}
},
"type": "object"
},
"ActionProxyRequestConfigDTO": {
"properties": {
"connectedAccountId": {
"type": "string",
"description": "The connected account uuid to use for the action."
},
"endpoint": {
"type": "string",
"description": "The endpoint to call for the action. If the given url is relative, it will be resolved relative to the base_url set in the connected account info."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"type": "string",
"description": "The HTTP method to use for the action."
},
"parameters": {
"items": {
"$ref": "#/components/schemas/Parameter"
},
"type": "array"
},
"body": {
"type": "object",
"description": "The body to be sent to the endpoint. This can either be a JSON field or a string."
}
},
"type": "object",
"required": [
"connectedAccountId",
"endpoint",
"method",
"parameters"
]
},
"SessionInfoDTO": {
"properties": {
"sessionId": {
Expand Down Expand Up @@ -5614,24 +5685,17 @@
"/api/v2/actions/proxy": {
"post": {
"operationId": "_executeActionProxyV2",
"parameters": [
{
"in": "query",
"name": "endpoint",
"required": true,
"schema": {
"type": "string"
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ActionProxyRequestConfigDTO"
}
}
},
{
"in": "query",
"name": "connectedAccountId",
"required": true,
"schema": {
"type": "string"
}
}
],
"description": "ActionProxyRequestConfigDTO",
"required": false
},
"responses": {
"200": {
"content": {
Expand Down
Loading

0 comments on commit ea6366f

Please sign in to comment.