ToolJet/plugins/packages/zendesk/lib/operations.json
Kiran Ashok 4723bfe8e7
fix : Codehinter bugs (#9350)
* 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>
2024-04-15 15:02:33 +05:30

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"
}
}
}
}