@demind-inc/core 1.9.7 → 1.10.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 CHANGED
@@ -72,6 +72,7 @@ exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = [
72
72
  "clickup",
73
73
  "github",
74
74
  "notion",
75
+ "google-tasks",
75
76
  ];
76
77
  exports.ALL_TODO_INTEGRATIONS_TYPE = [
77
78
  "trello",
@@ -80,6 +81,7 @@ exports.ALL_TODO_INTEGRATIONS_TYPE = [
80
81
  "clickup",
81
82
  "github",
82
83
  "notion",
84
+ "google-tasks",
83
85
  "apple-reminders",
84
86
  ];
85
87
  exports.basicLifetimeOfferingId = "basic (lifetime)";
@@ -1,5 +1,5 @@
1
1
  import { DocumentReference } from "@google-cloud/firestore";
2
- export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "clickup" | "notion" | "github" | "apple-reminders";
2
+ export type TodoIntegrationType = "trello" | "todoist" | "ticktick" | "clickup" | "notion" | "github" | "google-tasks" | "apple-reminders";
3
3
  export interface TodoIntegration {
4
4
  todoIntegrationId: string;
5
5
  source: TodoIntegrationType;
@@ -26,6 +26,9 @@ export interface TodoTasksBoardAdditionalParamsTodoist {
26
26
  v2Id: string;
27
27
  baseUrl: string;
28
28
  }
29
+ export interface TodoTasksBoardAdditionalParamsGoogleTasks {
30
+ tasklistId: string;
31
+ }
29
32
  export interface TodoTasksBoard {
30
33
  todoTaskId: string;
31
34
  originalBoardId: string;
@@ -44,6 +47,7 @@ export interface TodoTasksBoard {
44
47
  github?: TodoTasksBoardAdditionalParamsGithub;
45
48
  clickup?: TodoTasksBoardAdditionalParamsClickUp;
46
49
  todoist?: TodoTasksBoardAdditionalParamsTodoist;
50
+ googleTasks?: TodoTasksBoardAdditionalParamsGoogleTasks;
47
51
  [key: string]: any;
48
52
  };
49
53
  webhook?: TodoTasksBoardWebhook;
@@ -93,6 +97,9 @@ export interface TaskItemAdditionalParamsClickUp {
93
97
  export interface TaskItemAdditionalParamsTodoist {
94
98
  v2Id: string;
95
99
  }
100
+ export interface TaskItemAdditionalParamsGoogleTasks {
101
+ taskId: string;
102
+ }
96
103
  export interface WebhookStatusSet {
97
104
  status: WebhookStatus;
98
105
  syncedAt: number;
@@ -136,6 +143,7 @@ export interface TaskItem {
136
143
  github?: TaskItemAdditionalParamsGithub;
137
144
  clickup?: TaskItemAdditionalParamsClickUp;
138
145
  todoist?: TaskItemAdditionalParamsTodoist;
146
+ googleTasks?: TaskItemAdditionalParamsGoogleTasks;
139
147
  [key: string]: any;
140
148
  };
141
149
  }
@@ -12,6 +12,7 @@ export interface Token {
12
12
  calendly?: TokenInfo;
13
13
  outlook_calendars?: CalendarTokenInfo[];
14
14
  notion?: TokenInfo;
15
+ google_tasks?: GoogleTasksTokenInfo;
15
16
  }
16
17
  export interface TokenInfo {
17
18
  refresh?: string;
@@ -25,4 +26,7 @@ export interface CalendarTokenInfo extends TokenInfo {
25
26
  version?: string;
26
27
  scopes?: string[];
27
28
  }
29
+ export interface GoogleTasksTokenInfo extends TokenInfo {
30
+ generatedClientType?: GeneratedClientType;
31
+ }
28
32
  export type GeneratedClientType = "web" | "mobile" | "desktop";
package/lib/constants.ts CHANGED
@@ -80,6 +80,7 @@ export const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
80
80
  "clickup",
81
81
  "github",
82
82
  "notion",
83
+ "google-tasks",
83
84
  ];
84
85
  export const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
85
86
  "trello",
@@ -88,6 +89,7 @@ export const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
88
89
  "clickup",
89
90
  "github",
90
91
  "notion",
92
+ "google-tasks",
91
93
  "apple-reminders",
92
94
  ];
93
95
 
@@ -7,6 +7,7 @@ export type TodoIntegrationType =
7
7
  | "clickup"
8
8
  | "notion"
9
9
  | "github"
10
+ | "google-tasks"
10
11
  | "apple-reminders";
11
12
 
12
13
  export interface TodoIntegration {
@@ -31,6 +31,10 @@ export interface TodoTasksBoardAdditionalParamsTodoist {
31
31
  v2Id: string;
32
32
  baseUrl: string;
33
33
  }
34
+
35
+ export interface TodoTasksBoardAdditionalParamsGoogleTasks {
36
+ tasklistId: string;
37
+ }
34
38
  export interface TodoTasksBoard {
35
39
  todoTaskId: string;
36
40
  originalBoardId: string;
@@ -49,6 +53,7 @@ export interface TodoTasksBoard {
49
53
  github?: TodoTasksBoardAdditionalParamsGithub;
50
54
  clickup?: TodoTasksBoardAdditionalParamsClickUp;
51
55
  todoist?: TodoTasksBoardAdditionalParamsTodoist;
56
+ googleTasks?: TodoTasksBoardAdditionalParamsGoogleTasks;
52
57
  [key: string]: any;
53
58
  };
54
59
  webhook?: TodoTasksBoardWebhook;
@@ -106,6 +111,10 @@ export interface TaskItemAdditionalParamsTodoist {
106
111
  v2Id: string;
107
112
  }
108
113
 
114
+ export interface TaskItemAdditionalParamsGoogleTasks {
115
+ taskId: string;
116
+ }
117
+
109
118
  export interface WebhookStatusSet {
110
119
  status: WebhookStatus;
111
120
  syncedAt: number;
@@ -150,6 +159,7 @@ export interface TaskItem {
150
159
  github?: TaskItemAdditionalParamsGithub;
151
160
  clickup?: TaskItemAdditionalParamsClickUp;
152
161
  todoist?: TaskItemAdditionalParamsTodoist;
162
+ googleTasks?: TaskItemAdditionalParamsGoogleTasks;
153
163
  [key: string]: any;
154
164
  };
155
165
  }
@@ -12,6 +12,7 @@ export interface Token {
12
12
  calendly?: TokenInfo;
13
13
  outlook_calendars?: CalendarTokenInfo[];
14
14
  notion?: TokenInfo;
15
+ google_tasks?: GoogleTasksTokenInfo;
15
16
  }
16
17
 
17
18
  export interface TokenInfo {
@@ -28,4 +29,8 @@ export interface CalendarTokenInfo extends TokenInfo {
28
29
  scopes?: string[];
29
30
  }
30
31
 
32
+ export interface GoogleTasksTokenInfo extends TokenInfo {
33
+ generatedClientType?: GeneratedClientType;
34
+ }
35
+
31
36
  export type GeneratedClientType = "web" | "mobile" | "desktop";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.9.7",
3
+ "version": "1.10.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {