diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json index c63d09bf0a..034aece2f4 100644 --- a/backend/oauth_connect.json +++ b/backend/oauth_connect.json @@ -141,5 +141,16 @@ "scopes": [ "com.intuit.quickbooks.accounting" ] + }, + "visma": { + "auth_url": "https://connect.visma.com/connect/authorize", + "token_url": "https://connect.visma.com/connect/token", + "scopes": [ + "offline_access", + "vismanet_erp_interactive_api:create", + "vismanet_erp_interactive_api:delete", + "vismanet_erp_interactive_api:read", + "vismanet_erp_interactive_api:update" + ] } } \ No newline at end of file diff --git a/frontend/src/lib/components/InstanceSettings.svelte b/frontend/src/lib/components/InstanceSettings.svelte index 23fb669780..d31ed2a34a 100644 --- a/frontend/src/lib/components/InstanceSettings.svelte +++ b/frontend/src/lib/components/InstanceSettings.svelte @@ -164,7 +164,8 @@ 'gworkspace', 'basecamp', 'linkedin', - 'quickbooks' + 'quickbooks', + 'visma' ] let oauth_name = undefined diff --git a/frontend/src/lib/components/icons/VismaIcon.svelte b/frontend/src/lib/components/icons/VismaIcon.svelte new file mode 100644 index 0000000000..b735426965 --- /dev/null +++ b/frontend/src/lib/components/icons/VismaIcon.svelte @@ -0,0 +1,11 @@ + + + + + diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts index d2f04fd9eb..aa8e043d38 100644 --- a/frontend/src/lib/components/icons/index.ts +++ b/frontend/src/lib/components/icons/index.ts @@ -86,6 +86,7 @@ import IpinfoIcon from './IpinfoIcon.svelte' import GoogleCloudIcon from './GoogleCloudIcon.svelte' import CaCertificate from './CACertificate.svelte' import CurrencyApiIcon from './CurrencyApiIcon.svelte' +import VismaIcon from './VismaIcon.svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, @@ -179,7 +180,8 @@ export const APP_TO_ICON_COMPONENT = { gworkspace: GoogleIcon, gcp_service_account: GoogleCloudIcon, cacertificate: CaCertificate, - currencyapi: CurrencyApiIcon + currencyapi: CurrencyApiIcon, + visma: VismaIcon } as const export { @@ -266,4 +268,4 @@ export { GoogleCloudIcon, CaCertificate, CurrencyApiIcon -} \ No newline at end of file +}