n8n-nodes-5day 0.1.0
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.
- package/LICENSE.md +21 -0
- package/README.md +135 -0
- package/dist/credentials/FiveDayOAuth2Api.credentials.d.ts +10 -0
- package/dist/credentials/FiveDayOAuth2Api.credentials.js +80 -0
- package/dist/credentials/FiveDayOAuth2Api.credentials.js.map +1 -0
- package/dist/icons/5day.svg +3 -0
- package/dist/nodes/Fiveday/5day.svg +19 -0
- package/dist/nodes/Fiveday/5day_logo.svg +11 -0
- package/dist/nodes/Fiveday/Fiveday.node.d.ts +22 -0
- package/dist/nodes/Fiveday/Fiveday.node.js +418 -0
- package/dist/nodes/Fiveday/Fiveday.node.js.map +1 -0
- package/dist/nodes/Fiveday/Fiveday.node.json +19 -0
- package/dist/nodes/Fiveday/GenericFunctions.d.ts +9 -0
- package/dist/nodes/Fiveday/GenericFunctions.js +223 -0
- package/dist/nodes/Fiveday/GenericFunctions.js.map +1 -0
- package/dist/nodes/Fiveday/ProjectDescription.d.ts +3 -0
- package/dist/nodes/Fiveday/ProjectDescription.js +266 -0
- package/dist/nodes/Fiveday/ProjectDescription.js.map +1 -0
- package/dist/nodes/Fiveday/SubtaskDescription.d.ts +3 -0
- package/dist/nodes/Fiveday/SubtaskDescription.js +352 -0
- package/dist/nodes/Fiveday/SubtaskDescription.js.map +1 -0
- package/dist/nodes/Fiveday/TaskCommentDescription.d.ts +3 -0
- package/dist/nodes/Fiveday/TaskCommentDescription.js +72 -0
- package/dist/nodes/Fiveday/TaskCommentDescription.js.map +1 -0
- package/dist/nodes/Fiveday/TaskDescription.d.ts +3 -0
- package/dist/nodes/Fiveday/TaskDescription.js +374 -0
- package/dist/nodes/Fiveday/TaskDescription.js.map +1 -0
- package/dist/nodes/Fiveday/UserDescription.d.ts +3 -0
- package/dist/nodes/Fiveday/UserDescription.js +120 -0
- package/dist/nodes/Fiveday/UserDescription.js.map +1 -0
- package/dist/package.json +57 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +57 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Subscriptions
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# n8n-nodes-5day
|
|
2
|
+
|
|
3
|
+
An [n8n](https://n8n.io) community node that integrates [5day.io](https://5day.io) with n8n workflows.
|
|
4
|
+
|
|
5
|
+
This node allows you to automate project management tasks such as creating projects, managing tasks and subtasks, posting comments, and retrieving users directly inside your n8n automations.
|
|
6
|
+
|
|
7
|
+
5day.io is a minimalist project management tool that helps teams plan, track, and finish work without the noise.
|
|
8
|
+
|
|
9
|
+
## Supported Resources & Operations
|
|
10
|
+
|
|
11
|
+
| Resource | Operations |
|
|
12
|
+
| ------------- | --------------------------- |
|
|
13
|
+
| Project | Create, Get Many |
|
|
14
|
+
| Task | Create, Get Many, Search |
|
|
15
|
+
| Subtask | Create, Get Many |
|
|
16
|
+
| Task Comment | Create |
|
|
17
|
+
| User | Get Many |
|
|
18
|
+
|
|
19
|
+
## Authentication
|
|
20
|
+
|
|
21
|
+
This node uses **OAuth2** (Authorization Code flow) to authenticate with the 5day API.
|
|
22
|
+
|
|
23
|
+
You will need the following credentials from your 5day account:
|
|
24
|
+
- **Client ID**
|
|
25
|
+
- **Client Secret**
|
|
26
|
+
|
|
27
|
+
### Setup Steps
|
|
28
|
+
|
|
29
|
+
1. Log in to your 5day.io account.
|
|
30
|
+
2. Navigate to:
|
|
31
|
+
|
|
32
|
+
My Settings -> Integration Center -> Automation -> n8n
|
|
33
|
+
|
|
34
|
+
3. Generate your **Client ID** and **Client Secret**.
|
|
35
|
+
4. Open **n8n** and create a new credential of type:
|
|
36
|
+
|
|
37
|
+
5day OAuth2 API
|
|
38
|
+
|
|
39
|
+
5. Enter your **Client ID** and **Client Secret**.
|
|
40
|
+
6. Complete the OAuth authorization process.
|
|
41
|
+
|
|
42
|
+
After authentication, the credential can be reused across multiple workflows.
|
|
43
|
+
|
|
44
|
+
## Installation
|
|
45
|
+
|
|
46
|
+
### n8n Cloud / Self-hosted via GUI
|
|
47
|
+
|
|
48
|
+
1. Open **n8n**.
|
|
49
|
+
2. Go to **Settings → Community Nodes**.
|
|
50
|
+
3. Click **Install a community node**.
|
|
51
|
+
4. Enter the package name:
|
|
52
|
+
|
|
53
|
+
`n8n-nodes-5day`
|
|
54
|
+
|
|
55
|
+
5. Click **Install**.
|
|
56
|
+
|
|
57
|
+
### Install via npm (Self-hosted)
|
|
58
|
+
If you are running a self-hosted n8n instance:
|
|
59
|
+
```bash
|
|
60
|
+
npm install n8n-nodes-5day
|
|
61
|
+
```
|
|
62
|
+
Restart your **n8n instance** after installation.
|
|
63
|
+
|
|
64
|
+
## Usage
|
|
65
|
+
|
|
66
|
+
### Project — Create
|
|
67
|
+
|
|
68
|
+
Creates a new project in a workspace.
|
|
69
|
+
|
|
70
|
+
**Required fields:** Workspace, Project Name
|
|
71
|
+
|
|
72
|
+
**Optional fields:** Space, Description, Budget Type, Start Date, End Date, Priority, Status, Client, Progress, Prefix
|
|
73
|
+
|
|
74
|
+
### Project — Get Many
|
|
75
|
+
|
|
76
|
+
Retrieves multiple projects within a workspace.
|
|
77
|
+
|
|
78
|
+
**Optional filters:** Space
|
|
79
|
+
|
|
80
|
+
**Supports:** Return All (auto-pagination) or limit by count.
|
|
81
|
+
|
|
82
|
+
### Task — Create
|
|
83
|
+
|
|
84
|
+
Creates a new task within a project.
|
|
85
|
+
|
|
86
|
+
**Required fields:** Project, Work Item Type, Task Name
|
|
87
|
+
|
|
88
|
+
**Optional fields:** Section, Assignees, Description, Start Date, Due Date, Priority, Status, Tags, Story Point, Estimation, Linked Tasks, Custom Fields
|
|
89
|
+
|
|
90
|
+
### Task — Get Many
|
|
91
|
+
|
|
92
|
+
Retrieves tasks from a project.
|
|
93
|
+
|
|
94
|
+
**Optional filters:** Section
|
|
95
|
+
|
|
96
|
+
**Supports:** Return All or limit by count.
|
|
97
|
+
|
|
98
|
+
### Task — Search
|
|
99
|
+
|
|
100
|
+
Search for tasks using full-text search.
|
|
101
|
+
|
|
102
|
+
**Supports:** Return All or limit by count.
|
|
103
|
+
|
|
104
|
+
### Subtask — Create
|
|
105
|
+
|
|
106
|
+
Creates a subtask under an existing parent task.
|
|
107
|
+
|
|
108
|
+
**Required fields:** Project, Work Item Type, Parent Task, Subtask Name
|
|
109
|
+
|
|
110
|
+
**Optional fields:** Section, Assignees, Description, Start Date, Due Date, Priority, Status, Tags, Story Point, Estimation, Linked Tasks, Custom Fields
|
|
111
|
+
|
|
112
|
+
### Subtask — Get Many
|
|
113
|
+
|
|
114
|
+
Retrieves all subtasks under a parent task.
|
|
115
|
+
|
|
116
|
+
### Task Comment — Create
|
|
117
|
+
|
|
118
|
+
Adds a comment to a task.
|
|
119
|
+
|
|
120
|
+
**Required fields:** Project, Task, Comment Message
|
|
121
|
+
|
|
122
|
+
### User — Get Many
|
|
123
|
+
|
|
124
|
+
Retrieves users.
|
|
125
|
+
|
|
126
|
+
**Optional filters:** Workspace, Project
|
|
127
|
+
|
|
128
|
+
## Compatibility
|
|
129
|
+
|
|
130
|
+
- **n8n version:** 1.0 or newer
|
|
131
|
+
- **Node.js version:** 18+
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
This project is licensed under the [MIT](LICENSE.md) License.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class FiveDayOAuth2Api implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
extends: string[];
|
|
5
|
+
icon: Icon;
|
|
6
|
+
displayName: string;
|
|
7
|
+
documentationUrl: string;
|
|
8
|
+
properties: INodeProperties[];
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FiveDayOAuth2Api = void 0;
|
|
4
|
+
class FiveDayOAuth2Api {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'fiveDayOAuth2Api';
|
|
7
|
+
this.extends = ['oAuth2Api'];
|
|
8
|
+
this.icon = 'file:../icons/5day.svg';
|
|
9
|
+
this.displayName = '5day OAuth2 API';
|
|
10
|
+
this.documentationUrl = 'https://github.com/5dayGit/n8n-nodes-5day/blob/main/README.md';
|
|
11
|
+
this.properties = [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Grant Type',
|
|
14
|
+
name: 'grantType',
|
|
15
|
+
type: 'hidden',
|
|
16
|
+
default: 'authorizationCode',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Authorization URL',
|
|
20
|
+
name: 'authUrl',
|
|
21
|
+
type: 'hidden',
|
|
22
|
+
default: 'https://login.5day.io/auth/login',
|
|
23
|
+
required: true,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
displayName: 'Access Token URL',
|
|
27
|
+
name: 'accessTokenUrl',
|
|
28
|
+
type: 'hidden',
|
|
29
|
+
default: 'https://gateway.5day.io/api/security/integration/auth/external/n8n/authorize',
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Client ID',
|
|
34
|
+
name: 'clientId',
|
|
35
|
+
type: 'string',
|
|
36
|
+
default: '',
|
|
37
|
+
required: true,
|
|
38
|
+
description: 'The Client ID generated from your 5day.io application integration settings',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Client Secret',
|
|
42
|
+
name: 'clientSecret',
|
|
43
|
+
type: 'string',
|
|
44
|
+
typeOptions: {
|
|
45
|
+
password: true,
|
|
46
|
+
},
|
|
47
|
+
default: '',
|
|
48
|
+
required: true,
|
|
49
|
+
description: 'The Client Secret generated from your 5day.io application integration settings',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
displayName: 'Scope',
|
|
53
|
+
name: 'scope',
|
|
54
|
+
type: 'hidden',
|
|
55
|
+
default: 'read write',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Auth URI Query Parameters',
|
|
59
|
+
name: 'authQueryParameters',
|
|
60
|
+
type: 'hidden',
|
|
61
|
+
default: '5day-integration-platform=n8n',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Authentication',
|
|
65
|
+
name: 'authentication',
|
|
66
|
+
type: 'hidden',
|
|
67
|
+
default: 'body',
|
|
68
|
+
},
|
|
69
|
+
];
|
|
70
|
+
this.test = {
|
|
71
|
+
request: {
|
|
72
|
+
baseURL: 'https://gateway.5day.io',
|
|
73
|
+
url: '/api/integration-service/v1/data/n8n/workspace',
|
|
74
|
+
method: 'GET',
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.FiveDayOAuth2Api = FiveDayOAuth2Api;
|
|
80
|
+
//# sourceMappingURL=FiveDayOAuth2Api.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiveDayOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/FiveDayOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,gBAAgB;IAA7B;QACC,SAAI,GAAG,kBAAkB,CAAC;QAE1B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QACxB,SAAI,GAAS,wBAAwB,CAAC;QAEtC,gBAAW,GAAG,iBAAiB,CAAC;QAEhC,qBAAgB,GAAG,+DAA+D,CAAC;QAEnF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kCAAkC;gBAC3C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,8EAA8E;gBACvF,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,4EAA4E;aACzF;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,gFAAgF;aAC7F;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,YAAY;aACrB;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,+BAA+B;aACxC;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,yBAAyB;gBAClC,GAAG,EAAE,gDAAgD;gBACrD,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA7ED,4CA6EC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
+
<svg width="800px" height="800px" viewBox="0 0 1024 1024" class="icon" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M696.2 411.6C498.7 368.3 660.6 94.4 390 117.1s-527.2 645.8-46.8 791.7 727.9-414.9 353-497.2z" fill="#464BD8" /><path d="M391.4 235.6l-98.6 501.9V235.6zM407 235.6L303.8 761l-11-2.2v-21.3l98.6-501.9z" fill="#2E2E42" /><path d="M421.1 235.6l1.4 0.3L318.8 764l-15-3L407 235.6z" fill="#2D2D41" /><path d="M318.831263 764.004291l103.752737-528.002821 15.012903 2.95004L333.844166 766.954332z" fill="#2D2D40" /><path d="M333.78964 766.951693l103.752737-528.002821L452.55528 241.898912 348.802543 769.901734z" fill="#2C2C3F" /><path d="M348.846315 769.916588l103.752736-528.002821L467.611954 244.863807 363.859218 772.866629z" fill="#2B2B3E" /><path d="M363.805673 772.863183l103.752736-528.002821 15.012903 2.95004L378.818576 775.813224z" fill="#2A2A3D" /><path d="M378.862174 775.829867l103.752736-528.002822 15.012903 2.950041L393.875077 778.779907z" fill="#2A2A3C" /><path d="M393.820725 778.77548l103.752736-528.002821 15.012903 2.95004L408.833628 781.725521z" fill="#29293B" /><path d="M408.780083 781.722075l103.752736-528.002822 15.012903 2.950041L423.792986 784.672116z" fill="#28283A" /><path d="M423.855057 784.589654l103.752737-528.002822 15.012903 2.950041L438.86796 787.539694z" fill="#282839" /><path d="M438.814416 787.536248l103.752736-528.002821 15.012903 2.95004L453.827319 790.486289z" fill="#272738" /><path d="M453.871897 790.502125l103.752737-528.002822 15.012903 2.950041L468.8848 793.452165z" fill="#262637" /><path d="M468.828486 793.449353l103.752736-528.002822 15.012903 2.950041L483.841389 796.399393z" fill="#252536" /><path d="M483.885968 796.415229l103.752736-528.002822 15.012903 2.950041L498.898871 799.365269z" fill="#252534" /><path d="M498.844519 799.360842l103.752736-528.002821 15.012903 2.95004L513.857422 802.310883z" fill="#242433" /><path d="M513.902 802.326719l103.752737-528.002822 15.012903 2.950041L528.914903 805.276759z" fill="#232332" /><path d="M528.860377 805.274121l103.752737-528.002822 15.012903 2.950041L543.87328 808.224161z" fill="#222231" /><path d="M543.917052 808.239016l103.752736-528.002822 15.012903 2.950041L558.929955 811.189056z" fill="#222230" /><path d="M558.875429 811.186418l103.752736-528.002822 15.012903 2.950041L573.888332 814.136458z" fill="#21212F" /><path d="M573.932911 814.152294l103.752736-528.002822 15.012903 2.950041L588.945814 817.102334z" fill="#20202E" /><path d="M588.891462 817.097907l103.752736-528.002821 15.012903 2.95004L603.904365 820.047948z" fill="#20202D" /><path d="M603.947962 820.064591l103.752736-528.002822 15.012903 2.950041L618.960865 823.014631z" fill="#1F1F2C" /><path d="M618.90732 823.011186l103.752737-528.002822L737.67296 297.958405 633.920223 825.961226z" fill="#1E1E2B" /><path d="M633.964802 825.977062l103.752736-528.002822L752.730441 300.924281 648.977705 828.927102z" fill="#1D1D2A" /><path d="M752.7 300.8l15 2.9-103.2 525.4h-14.1l-1.5-0.3z" fill="#1D1D29" /><path d="M767.7 303.7l11 2.2v21.3l-98.6 501.9h-15.6zM680.1 829.1l98.6-501.9v501.9z" fill="#1C1C28" /><path d="M646 807.5c-1.6 0-3.2-0.2-4.8-0.5l-307-60.3c-6.4-1.3-12-4.9-15.6-10.4-3.6-5.4-5-12-3.7-18.4l86.6-441c2.3-11.5 12.3-19.8 24-19.8 1.6 0 3.2 0.2 4.8 0.5l307 60.3c13.3 2.6 21.9 15.5 19.3 28.7l-86.6 441c-2.3 11.6-12.4 19.9-24 19.9z" fill="#FFFFFF" /><path d="M646 807.5c-1.6 0-3.2-0.2-4.8-0.5l-307-60.3c-6.4-1.3-12-4.9-15.6-10.4-3.6-5.4-5-12-3.7-18.4l86.6-441c2.3-11.5 12.3-19.8 24-19.8 1.6 0 3.2 0.2 4.8 0.5l307 60.3c13.3 2.6 21.9 15.5 19.3 28.7l-86.6 441c-2.3 11.6-12.4 19.9-24 19.9z" fill="#FFFFFF" /><path d="M640.2 793.7c-1.4 0-2.8-0.1-4.2-0.4l-269.8-53c-5.6-1.1-10.5-4.3-13.7-9.1-3.2-4.8-4.4-10.5-3.2-16.2l76.1-387.5c2-10.1 10.8-17.4 21.1-17.4 1.4 0 2.8 0.1 4.2 0.4l269.8 53c11.6 2.3 19.3 13.6 17 25.3l-76.1 387.5c-2.1 10.1-10.9 17.4-21.2 17.4z" fill="#2AEFC8" /><path d="M674.4 274.5c1.4-2.7 2.6-5.6 3.2-8.8 3.6-17.8-8.1-35.1-25.9-38.6l-90.4-17.8c-17.8-3.5-35.1 8.1-38.6 25.9-0.6 3.1-0.6 6.1-0.4 9.1-24.4-3-45.2 4.5-48.4 21.2l234.2 47.6c3.2-16-11.6-31.6-33.7-38.6z" fill="#514DDF" /><path d="M708.1 322.1c-0.6 0-1.2-0.1-1.8-0.2l-234.1-47.6c-4.8-1-7.9-5.7-7-10.5 3.6-18.6 22.6-30 48.6-29.1 0.1-0.4 0.1-0.8 0.2-1.3 4.4-22.6 26.5-37.4 49.1-33l90.4 17.8c11 2.2 20.5 8.5 26.7 17.8 6.2 9.3 8.4 20.4 6.2 31.3-0.1 0.6-0.3 1.2-0.4 1.9 21.9 9.9 34.4 27.8 30.9 45.6-0.5 2.3-1.8 4.4-3.8 5.7-1.5 1.1-3.3 1.6-5 1.6z m-220.4-62.8L697.9 302c-3.7-7.7-13.3-14.9-26.2-19-2.5-0.8-4.5-2.7-5.6-5.1-1-2.4-0.9-5.2 0.3-7.5 1.2-2.4 2-4.4 2.4-6.3 1.3-6.3 0-12.6-3.6-17.9-3.6-5.3-9-9-15.3-10.2l-90.4-17.8c-13-2.5-25.5 5.9-28.1 18.9-0.4 1.9-0.4 4-0.2 6.6 0.2 2.7-0.8 5.3-2.7 7.2-1.9 1.9-4.6 2.7-7.3 2.4-14.5-1.9-26.8 0.5-33.5 6z" fill="#29293A" /><path d="M602 269.5c-8.3-1.6-13.6-9.6-12-17.9 1.6-8.3 9.6-13.6 17.9-12 8.3 1.6 13.6 9.6 12 17.9-1.7 8.3-9.7 13.6-17.9 12z" fill="#FFFFFF" /><path d="M550.515 420.205l150.843 31.03-2.62 12.734-150.843-31.03zM428.579 445.695l262.8 54.062-2.62 12.734-262.8-54.063zM418.577 494.19l262.8 54.063-2.62 12.734-262.8-54.063zM408.596 542.589l262.8 54.062-2.62 12.734-262.8-54.063zM398.595 591.085l262.8 54.062-2.62 12.734-262.8-54.063zM388.009 642.725l188.651 38.81-2.62 12.733-188.65-38.81z" fill="#514DDF" /></svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg width="400" height="150" viewBox="0 0 400 150" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M126.037 88.6628C126.074 107.633 110.863 123.192 91.737 123.759H27.7778V109.666H91.737C103.448 109.178 112.537 99.3628 112.044 87.7591C111.57 76.8516 102.748 68.0924 91.737 67.6405H55.8222V53.5479H91.7185C110.863 54.1331 126.074 69.6924 126.037 88.6628ZM122.063 25.5183L119.459 31.5479L116.97 25.5183H113.337L117.767 34.3739V39.385H121.17V34.3739L125.715 25.5183H122.063ZM114.896 39.3628H111.267L110.489 36.7442H105.944L105.144 39.3628H101.607L106.607 25.4961H109.781L114.896 39.3628ZM109.667 34.2591L108.185 29.4924L106.704 34.2591H109.667ZM90.9407 81.6183H41.8667V39.5924H85.8259V25.4998H27.7778V95.6887H90.9407C92.8037 95.6702 94.5926 94.9368 95.9407 93.6554C97.2518 92.3183 97.9926 90.5294 97.9926 88.6628C97.9741 84.8035 94.837 81.6554 90.9407 81.6183ZM101.033 32.1109V32.7887C101.07 33.9739 100.785 35.1442 100.233 36.1998C99.7185 37.1998 98.9407 38.0257 97.9704 38.5924C96.9629 39.1591 95.8222 39.4405 94.6815 39.385H90.137V25.5183H94.5667C95.7259 25.4813 96.8481 25.7628 97.8555 26.3109C98.8259 26.8776 99.6222 27.7035 100.119 28.7035C100.77 29.7183 101.093 30.9072 101.033 32.1109ZM97.6333 32.1109C97.7296 31.0368 97.4444 29.9442 96.8333 29.0405C96.2815 28.3442 95.4444 27.9665 94.5704 28.022H93.4296V36.8776H94.5704C95.4259 36.9146 96.2259 36.5368 96.7185 35.8591C97.3259 34.9554 97.6111 33.8813 97.5185 32.7887V32.1109H97.6333Z" fill="url(#paint0_linear_8398_33846)"/>
|
|
3
|
+
<path d="M370.033 70.3273C368.574 67.4532 366.507 65.194 363.833 63.5569C361.159 61.9162 358.004 61.0977 354.367 61.0977C350.796 61.0977 347.674 61.9051 345 63.5236C342.326 65.1199 340.248 67.3643 338.767 70.2606C337.285 73.1347 336.544 76.4717 336.544 80.268C336.544 84.0421 337.263 87.3754 338.7 90.2754C340.159 93.1495 342.226 95.4088 344.9 97.0458C347.574 98.6865 350.73 99.5051 354.367 99.5051C357.981 99.5051 361.126 98.6977 363.8 97.0791C366.474 95.4384 368.541 93.1828 370 90.3088C371.481 87.4125 372.222 84.0643 372.222 80.268C372.222 76.5125 371.493 73.2014 370.033 70.3273ZM362.148 89.3606C360.441 91.6977 357.848 92.8643 354.367 92.8643C350.974 92.8643 348.404 91.7199 346.652 89.4273C344.9 87.1347 344.026 84.0828 344.026 80.2643C344.026 77.794 344.396 75.6273 345.137 73.7606C345.878 71.8754 347.011 70.4014 348.541 69.3458C350.067 68.268 352.011 67.7273 354.37 67.7273C357.807 67.7273 360.389 68.8717 362.119 71.1643C363.87 73.431 364.744 76.4643 364.744 80.2606C364.744 83.9717 363.878 87.0014 362.148 89.3606Z" fill="#343A40"/>
|
|
4
|
+
<path d="M328.452 62.1055H321.411V98.4907H328.452V62.1055Z" fill="#343A40"/>
|
|
5
|
+
<path d="M328.452 49.3047H321.411V56.1417H328.452V49.3047Z" fill="#343A40"/>
|
|
6
|
+
<path d="M310.115 91.0469H302.67V98.4913H310.115V91.0469Z" fill="#343A40"/>
|
|
7
|
+
<path d="M284.167 89.4536L273.411 62.1055H266.067L280.789 98.3351L274.793 114.661H281.496L301.578 62.1055H294.433L284.167 89.4536Z" fill="#343A40"/>
|
|
8
|
+
<path d="M261.885 68.0345C260.763 65.6308 258.989 63.8789 256.563 62.7789C254.159 61.6567 251.33 61.0938 248.074 61.0938C243.874 61.0938 240.504 62.016 237.967 63.8567C235.452 65.6975 233.744 68.1789 232.844 71.3012L239.415 73.3234C240.044 71.2789 241.156 69.8197 242.748 68.9456C244.344 68.0456 246.096 67.5975 248.004 67.5975C251.037 67.5975 253.17 68.2937 254.404 69.6863C255.5 70.8826 256.104 72.6419 256.207 74.9641C254.822 75.1567 253.448 75.353 252.044 75.5456C249.8 75.8604 247.652 76.1975 245.611 76.5567C243.567 76.916 241.737 77.3308 240.119 77.8049C238.256 78.4123 236.681 79.2086 235.404 80.1974C234.122 81.1641 233.159 82.3419 232.507 83.7345C231.856 85.1271 231.53 86.7456 231.53 88.5863C231.53 90.5641 231.989 92.3826 232.911 94.0456C233.856 95.6863 235.237 97.0086 237.056 98.0197C238.874 99.0086 241.133 99.5012 243.826 99.5012C247.219 99.5012 250.07 98.8271 252.381 97.4789C254.13 96.453 255.648 95.0308 256.93 93.2123V98.49H263.163V76.0863C263.163 74.5604 263.096 73.1345 262.959 71.8086C262.83 70.4826 262.47 69.2271 261.885 68.0345ZM255.419 86.5308C255.148 87.7197 254.578 88.8678 253.7 89.9678C252.826 91.0678 251.667 91.9789 250.23 92.6974C248.793 93.3937 247.074 93.7419 245.074 93.7419C243.57 93.7419 242.333 93.5049 241.367 93.0345C240.4 92.5641 239.681 91.9345 239.211 91.1493C238.741 90.3419 238.504 89.4641 238.504 88.5234C238.504 87.5567 238.719 86.7382 239.144 86.0641C239.593 85.39 240.189 84.816 240.93 84.3456C241.693 83.8752 242.559 83.4678 243.522 83.1345C244.667 82.7752 245.97 82.4715 247.43 82.2234C248.911 81.953 250.563 81.6826 252.381 81.416C253.548 81.2419 254.804 81.0567 256.133 80.8567C256.119 81.453 256.089 82.1271 256.052 82.9012C256.011 84.2382 255.8 85.453 255.419 86.5308Z" fill="#343A40"/>
|
|
9
|
+
<path d="M217.052 64.6212C216.656 64.2694 216.244 63.9323 215.804 63.6249C213.467 61.9397 210.581 61.099 207.144 61.099C203.73 61.099 200.778 61.9397 198.285 63.6249C195.815 65.2879 193.907 67.5657 192.559 70.462C191.211 73.336 190.537 76.6064 190.537 80.2657C190.537 83.9027 191.2 87.1842 192.526 90.1027C193.874 92.999 195.77 95.2916 198.219 96.9768C200.689 98.6619 203.619 99.5027 207.011 99.5027C210.493 99.5027 213.411 98.6619 215.77 96.9768C216.53 96.4286 217.219 95.8101 217.859 95.1397V98.4916H224.126V49.9805H217.052V64.6212ZM216.852 86.936C216.178 88.8694 215.111 90.3842 213.652 91.4842C212.193 92.5842 210.304 93.136 207.993 93.136C205.748 93.136 203.881 92.562 202.4 91.4175C200.941 90.2731 199.841 88.7323 199.1 86.8027C198.381 84.8471 198.022 82.6694 198.022 80.2657C198.022 77.8842 198.381 75.7286 199.1 73.799C199.841 71.8657 200.963 70.3286 202.47 69.1842C203.974 68.0397 205.896 67.4657 208.23 67.4657C210.43 67.4657 212.237 68.0064 213.652 69.0842C215.089 70.162 216.144 71.6657 216.819 73.599C217.515 75.5323 217.863 77.7545 217.863 80.2694C217.863 82.7842 217.526 85.0064 216.852 86.936Z" fill="#343A40"/>
|
|
10
|
+
<path d="M176.763 69.4175C174.404 68.0249 171.722 67.3286 168.711 67.3286C166.959 67.3286 165.196 67.6657 163.422 68.3397C162.319 68.7583 161.326 69.3064 160.411 69.962L161.233 56.6175H181.107V49.9805H154.93L153.448 75.4842L159.578 77.6397C160.341 76.6064 161.407 75.6953 162.778 74.9101C164.148 74.1249 165.822 73.7323 167.796 73.7323C169.526 73.7323 171.107 74.1582 172.548 75.0138C174.007 75.8434 175.163 76.9805 176.019 78.4175C176.896 79.8545 177.333 81.462 177.333 83.236C177.333 84.9657 176.907 86.5471 176.052 87.9879C175.222 89.4249 174.074 90.5694 172.615 91.4249C171.178 92.2768 169.57 92.7064 167.796 92.7064C166.448 92.7064 165.144 92.4249 163.889 91.8657C162.63 91.2805 161.53 90.462 160.589 89.4064C159.667 88.3508 159.019 87.1027 158.633 85.6657L151.863 87.4842C152.515 89.8434 153.604 91.9323 155.13 93.7508C156.656 95.5471 158.489 96.962 160.622 97.9953C162.778 99.0064 165.104 99.5101 167.596 99.5101C170.607 99.5101 173.393 98.7805 175.952 97.3212C178.511 95.8619 180.567 93.9064 182.119 91.4583C183.667 88.9879 184.444 86.2471 184.444 83.2397C184.444 80.2064 183.759 77.5027 182.389 75.1212C181.019 72.7101 179.141 70.8101 176.763 69.4175Z" fill="#343A40"/>
|
|
11
|
+
<path d="M124.089 39.3185C124.944 39.3185 125.641 38.6223 125.641 37.7667C125.641 36.9111 124.944 36.2148 124.089 36.2148C123.233 36.2148 122.537 36.9111 122.537 37.7667C122.537 38.6223 123.23 39.3185 124.089 39.3185Z" stroke="black" stroke-width="0.0740741"/>
|
|
12
|
+
<path d="M124.222 36.9141C124.296 36.9141 124.393 36.9326 124.448 36.9511C124.522 36.9696 124.563 37.0067 124.6 37.0659C124.637 37.103 124.674 37.1622 124.696 37.2178C124.715 37.2733 124.733 37.3326 124.733 37.4067C124.733 37.5215 124.696 37.6326 124.637 37.6918C124.581 37.7659 124.504 37.8252 124.43 37.8437L124.752 38.5252H124.526L124.222 37.8807H123.826V38.5252H123.637V36.9178H124.222V36.9141ZM123.822 37.7067H124.181C124.296 37.7067 124.389 37.6881 124.448 37.6326C124.504 37.577 124.544 37.4992 124.544 37.4067C124.544 37.2918 124.507 37.2178 124.448 37.1622C124.389 37.1067 124.296 37.0881 124.204 37.0881H123.844V37.7141H123.822V37.7067Z" fill="black" stroke="black" stroke-width="0.037037" stroke-miterlimit="10"/>
|
|
13
|
+
<defs>
|
|
14
|
+
<linearGradient id="paint0_linear_8398_33846" x1="76.9075" y1="123.759" x2="76.9075" y2="25.4997" gradientUnits="userSpaceOnUse">
|
|
15
|
+
<stop stop-color="#F3E209"/>
|
|
16
|
+
<stop offset="1" stop-color="#E11F26"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
</defs>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M56.1582 9.13867C56.5822 9.13886 56.9268 9.4792 56.9268 9.90039C56.9267 10.3215 56.5822 10.6619 56.1582 10.6621C55.7341 10.6621 55.3887 10.3216 55.3887 9.90039C55.3887 9.47908 55.734 9.13867 56.1582 9.13867Z" stroke="black" stroke-width="0.129032"/>
|
|
3
|
+
<path d="M57.0649 37.7416C57.0724 42.7777 55.1012 47.6179 51.571 51.2325C48.0407 54.8471 43.2299 56.9507 38.1621 57.0959H2.93457V49.3278H38.1621C41.1725 49.2032 44.0179 47.9276 46.1036 45.7677C48.1893 43.6078 49.3538 40.7307 49.3538 37.7378C49.3538 34.7448 48.1893 31.8677 46.1036 29.7078C44.0179 27.5478 41.1725 26.2723 38.1621 26.1476H18.391V18.378H38.1621C43.2315 18.5232 48.0437 20.6282 51.5742 24.2448C55.1048 27.8614 57.0748 32.7039 57.0649 37.7416ZM54.8749 2.90389L53.4378 6.22508L52.0598 2.90389H50.0569L52.5025 7.79047V10.5465H54.373V7.79047L56.8779 2.90389H54.8749ZM50.9329 10.5465H48.9299L48.4919 9.10499H45.9885L45.5505 10.5465H43.6177L46.3642 2.90389H48.1163L50.9329 10.5465ZM48.0539 7.72854L47.2402 5.09634L46.4265 7.72854H48.0539ZM37.7288 33.8522H10.694V10.672H34.9122V2.90389H2.93457V41.6218H37.7288C38.7576 41.6089 39.7425 41.2056 40.4815 40.4945C41.2044 39.7569 41.6087 38.768 41.6085 37.7385C41.6077 36.7136 41.1998 35.7305 40.4732 35.0028C39.7468 34.2751 38.7605 33.8616 37.7288 33.8522ZM43.2982 6.53785V6.91408C43.316 7.56557 43.1652 8.2106 42.8601 8.78757C42.5822 9.33744 42.1489 9.79486 41.6132 10.1037C41.0619 10.4163 40.433 10.5682 39.7988 10.5419H37.2908V2.90389H39.7318C40.3652 2.88517 40.992 3.03656 41.5461 3.34207C42.0819 3.6509 42.5153 4.10828 42.7932 4.65816C43.1489 5.21963 43.3249 5.87499 43.2982 6.53785ZM41.4277 6.53785C41.4811 5.94105 41.3265 5.34412 40.9897 4.84706C40.8425 4.66069 40.6525 4.51221 40.4354 4.41412C40.2184 4.31603 39.9808 4.27122 39.7427 4.28347H39.1192V9.16847H39.7427C39.9726 9.18144 40.2021 9.13654 40.41 9.03802C40.6179 8.9395 40.7974 8.79054 40.932 8.60486C41.2644 8.10628 41.4146 7.50944 41.3575 6.91408V6.53785H41.4277Z" fill="url(#paint0_linear_7176_39201)"/>
|
|
4
|
+
<path d="M55.8242 10.319V9.48047H56.1586C56.2227 9.48047 56.2773 9.4918 56.3225 9.51445C56.3681 9.53683 56.4027 9.56863 56.4264 9.60985C56.4504 9.65079 56.4624 9.69897 56.4624 9.75438C56.4624 9.81007 56.4503 9.85797 56.426 9.8981C56.4017 9.93795 56.3666 9.96852 56.3205 9.98981C56.2747 10.0111 56.2192 10.0217 56.1541 10.0217H55.9302V9.87926H56.1251C56.1593 9.87926 56.1878 9.87462 56.2104 9.86534C56.233 9.85606 56.2498 9.84214 56.2609 9.82358C56.2722 9.80502 56.2778 9.78195 56.2778 9.75438C56.2778 9.72654 56.2722 9.70307 56.2609 9.68396C56.2498 9.66485 56.2329 9.65039 56.21 9.64056C56.1873 9.63046 56.1588 9.62541 56.1243 9.62541H56.0034V10.319H55.8242ZM56.282 9.9374L56.4926 10.319H56.2948L56.0887 9.9374H56.282Z" fill="black"/>
|
|
5
|
+
<defs>
|
|
6
|
+
<linearGradient id="paint0_linear_7176_39201" x1="29.9998" y1="57.0959" x2="29.9998" y2="2.90234" gradientUnits="userSpaceOnUse">
|
|
7
|
+
<stop stop-color="#F4E311"/>
|
|
8
|
+
<stop offset="1" stop-color="#E20511"/>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';
|
|
2
|
+
export declare class Fiveday implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
loadOptions: {
|
|
6
|
+
getWorkspaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
7
|
+
getSpaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
8
|
+
getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
9
|
+
getWorkitemTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
10
|
+
getSections(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
11
|
+
getTasks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
12
|
+
getClients(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
13
|
+
getPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
14
|
+
getStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
15
|
+
getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
16
|
+
getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
17
|
+
getTaskPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
18
|
+
getTaskStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
22
|
+
}
|