mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-28 08:57:17 +00:00
* fix : Preview on parameters is not visible. * fix : data source codehinter breaking * fix : current value copy button.(copying different values) * fix : select suggestions using mouse closes the preview box. * fix : multiline preview * fix: darkmode * fixes: - multi-line suggestions on different line numbers - extended single line editor for json body * cleanup * handle multiple resolver references with hints * fix : codehinter position * fix : data source codehinters * fix : woocommerce * bugfix : bigquery * fix : Selecting options from suggestion cleareing the values from input fielsds. * fix : parmeter list not opening * datasource going back to defaults bug * fix : datasource resetting issue --------- Co-authored-by: arpitnath <arpitnath42@gmail.com>
131 lines
No EOL
3.3 KiB
JSON
131 lines
No EOL
3.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "Zendesk datasource",
|
|
"description": "A schema defining Zendesk datasource",
|
|
"type": "api",
|
|
"defaults": {},
|
|
"properties": {
|
|
"operation": {
|
|
"label": "Operation",
|
|
"key": "operation",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single select dropdown for operation",
|
|
"list": [
|
|
{
|
|
"value": "read_tickets",
|
|
"name": "List tickets"
|
|
},
|
|
{
|
|
"value": "read_requested_tickets",
|
|
"name": "List requested tickets"
|
|
},
|
|
{
|
|
"value": "show_ticket",
|
|
"name": "Show ticket"
|
|
},
|
|
{
|
|
"value": "update_ticket",
|
|
"name": "Update ticket"
|
|
},
|
|
{
|
|
"value": "list_users",
|
|
"name": "List users"
|
|
},
|
|
{
|
|
"value": "get_user",
|
|
"name": "Get user"
|
|
},
|
|
{
|
|
"value": "get_profile",
|
|
"name": "Get profile"
|
|
},
|
|
{
|
|
"value": "search",
|
|
"name": "Search"
|
|
}
|
|
]
|
|
},
|
|
"read_requested_tickets": {
|
|
"user_id": {
|
|
"label": "User ID",
|
|
"key": "user_id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter user id",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter user id"
|
|
}
|
|
},
|
|
"show_ticket": {
|
|
"ticket_id": {
|
|
"label": "Ticket ID",
|
|
"key": "ticket_id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter ticket id",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter ticket id"
|
|
}
|
|
},
|
|
"get_user": {
|
|
"user_id": {
|
|
"label": "User ID",
|
|
"key": "user_id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter user id",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter user id"
|
|
}
|
|
},
|
|
"get_profile": {
|
|
"user_id": {
|
|
"label": "User ID",
|
|
"key": "user_id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter user id",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter user id"
|
|
}
|
|
},
|
|
"update_ticket": {
|
|
"ticket_id": {
|
|
"label": "Ticket ID",
|
|
"key": "ticket_id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter ticket id",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter ticket id"
|
|
},
|
|
"body": {
|
|
"label": "body",
|
|
"key": "body",
|
|
"type": "codehinter",
|
|
"className": "codehinter-plugins",
|
|
"height": "150px",
|
|
"editorType": "extendedSingleLine",
|
|
"description": "Enter ticket",
|
|
"placeholder": "Enter ticket"
|
|
}
|
|
},
|
|
"search": {
|
|
"query": {
|
|
"label": "Query",
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"className": "codehinter-plugins",
|
|
"height": "36px",
|
|
"description": "Enter query",
|
|
"placeholder": "type:ticket status:open"
|
|
}
|
|
}
|
|
}
|
|
} |