Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OpenAPI Specification #45

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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