@trg-admin/n8n-nodes-zoho-desk 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,14 +20,24 @@ class ZohoCRMDeskOAuth2Api {
20
20
  type: 'options',
21
21
  options: [
22
22
  {
23
- name: 'https://accounts.zoho.com/oauth/v2/auth',
23
+ name: 'US - https://accounts.zoho.com/oauth/v2/auth',
24
24
  value: 'https://accounts.zoho.com/oauth/v2/auth',
25
- description: 'For US, EU, AU, and IN domains',
26
25
  },
27
26
  {
28
- name: 'https://accounts.zoho.com.cn/oauth/v2/auth',
27
+ name: 'EU - https://accounts.zoho.eu/oauth/v2/auth',
28
+ value: 'https://accounts.zoho.eu/oauth/v2/auth',
29
+ },
30
+ {
31
+ name: 'IN - https://accounts.zoho.in/oauth/v2/auth',
32
+ value: 'https://accounts.zoho.in/oauth/v2/auth',
33
+ },
34
+ {
35
+ name: 'AU - https://accounts.zoho.com.au/oauth/v2/auth',
36
+ value: 'https://accounts.zoho.com.au/oauth/v2/auth',
37
+ },
38
+ {
39
+ name: 'CN - https://accounts.zoho.com.cn/oauth/v2/auth',
29
40
  value: 'https://accounts.zoho.com.cn/oauth/v2/auth',
30
- description: 'For China domain',
31
41
  },
32
42
  ],
33
43
  default: 'https://accounts.zoho.com/oauth/v2/auth',
@@ -8,7 +8,7 @@ class ZohoDesk {
8
8
  this.description = {
9
9
  displayName: 'Zoho Desk',
10
10
  name: 'zohoDesk',
11
- icon: 'file:zohodesk.svg',
11
+ icon: 'file:zohodesk.png',
12
12
  group: ['transform'],
13
13
  version: 1,
14
14
  subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
Binary file
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@trg-admin/n8n-nodes-zoho-desk",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Community n8n node starter for Zoho Desk using built-in Zoho OAuth2 auth behavior",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",
8
8
  "scripts": {
9
- "build": "tsc",
9
+ "build": "tsc && npm run copy-assets",
10
+ "copy-assets": "cp nodes/ZohoDesk/zohodesk.png dist/nodes/ZohoDesk/",
10
11
  "lint": "echo 'No linter configured'",
11
12
  "typecheck": "tsc --noEmit",
12
13
  "test": "node scripts.validate.js",