@demind-inc/core 1.8.5 → 1.9.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/dist/constants.js +2 -0
- package/dist/models/TodoIntegrations.d.ts +1 -1
- package/dist/models/TodoTasks.d.ts +12 -0
- package/dist/models/Token.d.ts +1 -0
- package/lib/constants.ts +2 -0
- package/lib/models/TodoIntegrations.ts +1 -0
- package/lib/models/TodoTasks.ts +14 -0
- package/lib/models/Token.ts +1 -0
- package/package.json +1 -1
package/dist/constants.js
CHANGED
|
@@ -69,6 +69,7 @@ exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = [
|
|
|
69
69
|
"trello",
|
|
70
70
|
"todoist",
|
|
71
71
|
"ticktick",
|
|
72
|
+
"clickup",
|
|
72
73
|
"github",
|
|
73
74
|
"notion",
|
|
74
75
|
];
|
|
@@ -76,6 +77,7 @@ exports.ALL_TODO_INTEGRATIONS_TYPE = [
|
|
|
76
77
|
"trello",
|
|
77
78
|
"todoist",
|
|
78
79
|
"ticktick",
|
|
80
|
+
"clickup",
|
|
79
81
|
"github",
|
|
80
82
|
"notion",
|
|
81
83
|
"apple-reminders",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentReference } from "@google-cloud/firestore";
|
|
2
|
-
export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "notion" | "github" | "apple-reminders";
|
|
2
|
+
export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "clickup" | "notion" | "github" | "apple-reminders";
|
|
3
3
|
export interface TodoIntegration {
|
|
4
4
|
todoIntegrationId: string;
|
|
5
5
|
source: TodoIntegrationType;
|
|
@@ -9,10 +9,17 @@ export interface TodoTasksBoardAdditionalParamsGithub {
|
|
|
9
9
|
owner: string;
|
|
10
10
|
repositories: string[];
|
|
11
11
|
}
|
|
12
|
+
export interface TodoTasksBoardAdditionalParamsClickUp {
|
|
13
|
+
listId: string;
|
|
14
|
+
spaceId: string;
|
|
15
|
+
teamId: string;
|
|
16
|
+
folderId?: string;
|
|
17
|
+
}
|
|
12
18
|
export interface TodoTasksBoardWebhook {
|
|
13
19
|
resourceId: string;
|
|
14
20
|
active: boolean;
|
|
15
21
|
url?: string;
|
|
22
|
+
secret?: string;
|
|
16
23
|
rawJson?: any;
|
|
17
24
|
}
|
|
18
25
|
export interface TodoTasksBoardAdditionalParamsTodoist {
|
|
@@ -35,6 +42,7 @@ export interface TodoTasksBoard {
|
|
|
35
42
|
userPersona?: string;
|
|
36
43
|
additionalParams?: {
|
|
37
44
|
github?: TodoTasksBoardAdditionalParamsGithub;
|
|
45
|
+
clickup?: TodoTasksBoardAdditionalParamsClickUp;
|
|
38
46
|
todoist?: TodoTasksBoardAdditionalParamsTodoist;
|
|
39
47
|
[key: string]: any;
|
|
40
48
|
};
|
|
@@ -79,6 +87,9 @@ export interface TaskItemAdditionalParamsGithub {
|
|
|
79
87
|
total: number;
|
|
80
88
|
};
|
|
81
89
|
}
|
|
90
|
+
export interface TaskItemAdditionalParamsClickUp {
|
|
91
|
+
clickupId: string;
|
|
92
|
+
}
|
|
82
93
|
export interface TaskItemAdditionalParamsTodoist {
|
|
83
94
|
v2Id: string;
|
|
84
95
|
}
|
|
@@ -123,6 +134,7 @@ export interface TaskItem {
|
|
|
123
134
|
taskWebhookStatus?: WebhookStatusSet;
|
|
124
135
|
additionalParams?: {
|
|
125
136
|
github?: TaskItemAdditionalParamsGithub;
|
|
137
|
+
clickup?: TaskItemAdditionalParamsClickUp;
|
|
126
138
|
todoist?: TaskItemAdditionalParamsTodoist;
|
|
127
139
|
[key: string]: any;
|
|
128
140
|
};
|
package/dist/models/Token.d.ts
CHANGED
package/lib/constants.ts
CHANGED
|
@@ -77,6 +77,7 @@ export const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
|
|
|
77
77
|
"trello",
|
|
78
78
|
"todoist",
|
|
79
79
|
"ticktick",
|
|
80
|
+
"clickup",
|
|
80
81
|
"github",
|
|
81
82
|
"notion",
|
|
82
83
|
];
|
|
@@ -84,6 +85,7 @@ export const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
|
|
|
84
85
|
"trello",
|
|
85
86
|
"todoist",
|
|
86
87
|
"ticktick",
|
|
88
|
+
"clickup",
|
|
87
89
|
"github",
|
|
88
90
|
"notion",
|
|
89
91
|
"apple-reminders",
|
package/lib/models/TodoTasks.ts
CHANGED
|
@@ -12,10 +12,18 @@ export interface TodoTasksBoardAdditionalParamsGithub {
|
|
|
12
12
|
repositories: string[];
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
export interface TodoTasksBoardAdditionalParamsClickUp {
|
|
16
|
+
listId: string;
|
|
17
|
+
spaceId: string;
|
|
18
|
+
teamId: string;
|
|
19
|
+
folderId?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
15
22
|
export interface TodoTasksBoardWebhook {
|
|
16
23
|
resourceId: string;
|
|
17
24
|
active: boolean;
|
|
18
25
|
url?: string;
|
|
26
|
+
secret?: string;
|
|
19
27
|
rawJson?: any;
|
|
20
28
|
}
|
|
21
29
|
|
|
@@ -39,6 +47,7 @@ export interface TodoTasksBoard {
|
|
|
39
47
|
userPersona?: string;
|
|
40
48
|
additionalParams?: {
|
|
41
49
|
github?: TodoTasksBoardAdditionalParamsGithub;
|
|
50
|
+
clickup?: TodoTasksBoardAdditionalParamsClickUp;
|
|
42
51
|
todoist?: TodoTasksBoardAdditionalParamsTodoist;
|
|
43
52
|
[key: string]: any;
|
|
44
53
|
};
|
|
@@ -89,6 +98,10 @@ export interface TaskItemAdditionalParamsGithub {
|
|
|
89
98
|
};
|
|
90
99
|
}
|
|
91
100
|
|
|
101
|
+
export interface TaskItemAdditionalParamsClickUp {
|
|
102
|
+
clickupId: string;
|
|
103
|
+
}
|
|
104
|
+
|
|
92
105
|
export interface TaskItemAdditionalParamsTodoist {
|
|
93
106
|
v2Id: string;
|
|
94
107
|
}
|
|
@@ -135,6 +148,7 @@ export interface TaskItem {
|
|
|
135
148
|
taskWebhookStatus?: WebhookStatusSet;
|
|
136
149
|
additionalParams?: {
|
|
137
150
|
github?: TaskItemAdditionalParamsGithub;
|
|
151
|
+
clickup?: TaskItemAdditionalParamsClickUp;
|
|
138
152
|
todoist?: TaskItemAdditionalParamsTodoist;
|
|
139
153
|
[key: string]: any;
|
|
140
154
|
};
|
package/lib/models/Token.ts
CHANGED