feat: add support for zoho oauth (#6809)

This commit is contained in:
hugocasa
2025-10-14 19:32:24 +02:00
committed by GitHub
parent 7026a1c193
commit a3abb5fcd6
3 changed files with 49 additions and 1 deletions

View File

@@ -180,5 +180,15 @@
"accounting.transactions"
]
},
"zoho": {
"auth_url": "https://accounts.zoho.com/oauth/v2/auth",
"token_url": "https://accounts.zoho.com/oauth/v2/token",
"scopes": [
"ZohoAssist.sessionapi.ALL"
],
"extra_params": {
"access_type": "offline"
}
},
"snowflake_oauth": {}
}

View File

@@ -0,0 +1,35 @@
<script lang="ts">
interface Props {
height?: string
width?: string
}
let { height = '24px', width = '24px' }: Props = $props()
</script>
<svg {width} {height} version="1.1" viewBox="0 0 1024 450" xmlns="http://www.w3.org/2000/svg">
<path
d="m458.1 353c-7.7 0-15.5-1.6-23-4.9l-160-71.3c-28.6-12.7-41.5-46.4-28.8-75l71.3-160c12.7-28.6 46.4-41.5 75-28.8l160 71.3c28.6 12.7 41.5 46.4 28.8 75l-71.3 160c-9.5 21.2-30.3 33.7-52 33.7zm-9.7-34.9c12.1 5.4 26.3-0.1 31.7-12.1l71.3-160c5.4-12.1-0.1-26.3-12.1-31.7l-160.1-71.3c-12.1-5.4-26.3 0.1-31.7 12.1l-71.3 160c-5.4 12.1 0.1 26.3 12.1 31.7z"
fill="currentColor"
/>
<path
d="m960 353.1h-175.2c-31.3 0-56.8-25.5-56.8-56.8v-175.2c0-31.3 25.5-56.8 56.8-56.8h175.2c31.3 0 56.8 25.5 56.8 56.8v175.2c0 31.3-25.5 56.8-56.8 56.8zm-175.2-256c-13.2 0-24 10.8-24 24v175.2c0 13.2 10.8 24 24 24h175.2c13.2 0 24-10.8 24-24v-175.2c0-13.2-10.8-24-24-24z"
fill="currentColor"
/>
<path
d="m303.9 153.2-23.6 52.8c-0.3 0.6-0.6 1.1-0.9 1.6l9.2 56.8c2.1 13.1-6.8 25.4-19.8 27.5l-173 28c-6.3 1-12.7-0.5-17.9-4.2s-8.6-9.3-9.6-15.6l-28-173c-1-6.3 0.5-12.7 4.2-17.9s9.3-8.6 15.6-9.6l173-28c1.3-0.2 2.6-0.3 3.8-0.3 11.5 0 21.8 8.4 23.7 20.2l9.3 57.2 24.4-54.7-1.3-7.7c-5-30.9-34.2-52-65.1-47l-173 28c-14.9 2.3-28.1 10.4-36.9 22.7-8.9 12.3-12.4 27.3-10 42.3l28 173c2.4 15 10.5 28.1 22.8 37 9.7 7.1 21.2 10.7 33.1 10.7 3 0 6.1-0.2 9.2-0.7l173-28c30.9-5 52-34.2 47-65.1z"
fill="currentColor"
/>
<path
d="m511.4 235.8 25.4-56.9-7.2-52.9c-0.9-6.3 0.8-12.6 4.7-17.7s9.5-8.4 15.9-9.2l173.6-23.6c1.1-0.1 2.2-0.2 3.3-0.2 5.2 0 10.2 1.7 14.5 4.9 0.8 0.6 1.5 1.3 2.2 1.9 7.7-8.1 17.8-13.9 29.1-16.4-3.2-4.4-7-8.3-11.5-11.7-12.1-9.2-27-13.1-42-11.1l-173.8 23.6c-15 2-28.4 9.8-37.5 21.9-9.2 12.1-13.1 27-11.1 42z"
fill="currentColor"
/>
<path
d="m806.8 265.1-22.8-168c-12.8 0.4-23.1 11-23.1 23.9v49.3l13.5 99.2c0.9 6.3-0.8 12.6-4.7 17.7s-9.5 8.4-15.9 9.2l-173.6 23.6c-6.3 0.9-12.6-0.8-17.7-4.7s-8.4-9.5-9.2-15.9l-8-58.9-25.4 56.9 0.9 6.4c2 15 9.8 28.4 21.9 37.5 10 7.6 21.9 11.6 34.3 11.6 2.6 0 5.2-0.2 7.8-0.5l173.4-23.4c15-2 28.4-9.8 37.5-21.9 9.2-12.1 13.1-27 11.1-42z"
fill="currentColor"
/>
<path
d="m655.4 415.6c0-15 11-25.8 26-25.8 15.5 0 26 10.6 26 25.9 0 15.5-10.7 26.2-26.2 26.2-15.6 0-25.8-10.7-25.8-26.3zm40 0.2c0-9.1-4.4-16.9-14.3-16.9-10 0-13.8 8.1-13.8 17.3 0 8.7 4.7 16.7 14.3 16.7 9.9-0.1 13.8-8.6 13.8-17.1zm-150.9-25.2h7.4c1.1 0 2 0.9 2 2v18.6h21v-18.6c0-1.1 0.9-2 2-2h7.4c1.1 0 2 0.9 2 2v46.5c0 1.1-0.9 2-2 2h-7.3c-1.1 0-2-0.9-2-2v-18.8h-21v18.8c0 1.1-0.9 2-2 2h-7.4c-1.1 0-2-0.9-2-2v-46.5c-0.1-1.1 0.8-2 1.9-2zm-123.1 25c0-15 11-25.8 26-25.8 15.5 0 26 10.6 26 25.9 0 15.5-10.7 26.2-26.2 26.2-15.6 0-25.8-10.7-25.8-26.3zm40.1 0.2c0-9.1-4.4-16.9-14.3-16.9-10 0-13.8 8.1-13.8 17.3 0 8.7 4.7 16.7 14.3 16.7 9.9-0.1 13.8-8.6 13.8-17.1zm-144.5 20.4 24.8-36.6h-20.4c-1.1 0-2-0.9-2-2v-4.9c0-1.1 0.9-2 2-2h33.5c1.1 0 2 0.9 2 2v1.9c0 0.4-0.1 0.8-0.3 1.1l-24.3 36.6h21.8c1.1 0 2 0.9 2 2v4.9c0 1.1-0.9 2-2 2h-35.4c-1.1 0-2-0.9-2-2v-1.8c-0.1-0.5 0.1-0.9 0.3-1.2z"
fill="currentColor"
/>
</svg>

View File

@@ -99,6 +99,7 @@ import XeroIcon from './XeroIcon.svelte'
import KafkaIcon from './KafkaIcon.svelte'
import NatsIcon from './NatsIcon.svelte'
import MqttIcon from './MqttIcon.svelte'
import ZohoIcon from './ZohoIcon.svelte'
export const APP_TO_ICON_COMPONENT = {
postgresql: PostgresIcon,
mysql: Mysql,
@@ -203,6 +204,7 @@ export const APP_TO_ICON_COMPONENT = {
kafka: KafkaIcon,
nats: NatsIcon,
mqtt: MqttIcon,
zoho: ZohoIcon
} as const
export {
@@ -300,5 +302,6 @@ export {
XeroIcon,
KafkaIcon,
NatsIcon,
MqttIcon
MqttIcon,
ZohoIcon
}