@activepieces/piece-google-tasks 0.3.0 → 0.3.1

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/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "@activepieces/piece-google-tasks",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "^0.26.3",
6
- "axios": "1.2.4",
6
+ "axios": "1.4.0",
7
+ "dayjs": "^1.11.8",
8
+ "is-base64": "^1.1.0",
7
9
  "nanoid": "^3.3.4",
8
- "@activepieces/pieces-common": "0.1.0",
9
- "@activepieces/pieces-framework": "0.4.0",
10
- "@activepieces/shared": "0.4.0",
11
- "tslib": "1.14.1"
10
+ "object-sizeof": "^2.6.3",
11
+ "semver": "7.5.4",
12
+ "@activepieces/pieces-common": "0.2.2",
13
+ "@activepieces/pieces-framework": "0.6.12",
14
+ "@activepieces/shared": "0.7.2",
15
+ "tslib": "2.6.1"
12
16
  },
13
17
  "main": "./src/index.js",
14
18
  "types": "./src/index.d.ts"
package/src/index.js CHANGED
@@ -3,21 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.googleTasks = exports.googleTasksAuth = void 0;
4
4
  const pieces_framework_1 = require("@activepieces/pieces-framework");
5
5
  const new_task_1 = require("./lib/actions/new-task");
6
+ const new_task_2 = require("./lib/triggers/new-task");
6
7
  exports.googleTasksAuth = pieces_framework_1.PieceAuth.OAuth2({
7
8
  description: "",
8
- displayName: 'Authentication',
9
9
  authUrl: "https://accounts.google.com/o/oauth2/auth",
10
10
  tokenUrl: "https://oauth2.googleapis.com/token",
11
11
  required: true,
12
- scope: ["https://www.googleapis.com/auth/tasks"]
12
+ scope: ["https://www.googleapis.com/auth/tasks", "https://www.googleapis.com/auth/tasks.readonly"]
13
13
  });
14
14
  exports.googleTasks = (0, pieces_framework_1.createPiece)({
15
15
  minimumSupportedRelease: '0.5.0',
16
16
  logoUrl: 'https://cdn.activepieces.com/pieces/google-tasks.png',
17
17
  actions: [new_task_1.googleTasksAddNewTaskAction],
18
18
  displayName: "Google Tasks",
19
- authors: ['abaza738'],
20
- triggers: [],
19
+ authors: ['abaza738', 'Salem-Alaa'],
20
+ triggers: [new_task_2.newTaskTrigger],
21
21
  auth: exports.googleTasksAuth,
22
22
  });
23
23
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/pieces/google-tasks/src/index.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,qDAAqE;AAExD,QAAA,eAAe,GAAG,4BAAS,CAAC,MAAM,CAAC;IAC5C,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2CAA2C;IACpD,QAAQ,EAAE,qCAAqC;IAC/C,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,CAAC,uCAAuC,CAAC;CACnD,CAAC,CAAA;AAEW,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC;IAClC,uBAAuB,EAAE,OAAO;IACjC,OAAO,EAAE,sDAAsD;IAClE,OAAO,EAAE,CAAC,sCAA2B,CAAC;IACtC,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,QAAQ,EAAE,EAAE;IACT,IAAI,EAAE,uBAAe;CACxB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/pieces/google-tasks/src/index.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,qDAAqE;AACrE,sDAAyD;AAE5C,QAAA,eAAe,GAAG,4BAAS,CAAC,MAAM,CAAC;IAC5C,WAAW,EAAE,EAAE;IAEf,OAAO,EAAE,2CAA2C;IACpD,QAAQ,EAAE,qCAAqC;IAC/C,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,CAAC,uCAAuC,EAAC,gDAAgD,CAAC;CACpG,CAAC,CAAA;AAEW,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC;IACtC,uBAAuB,EAAE,OAAO;IAC7B,OAAO,EAAE,sDAAsD;IAClE,OAAO,EAAE,CAAC,sCAA2B,CAAC;IACtC,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,CAAC,UAAU,EAAC,YAAY,CAAC;IAClC,QAAQ,EAAE,CAAE,yBAAc,CAAC;IACxB,IAAI,EAAE,uBAAe;CACxB,CAAC,CAAC"}
@@ -51,5 +51,6 @@ export declare const googleTasksCommon: {
51
51
  notes: import("@activepieces/pieces-framework").LongTextProperty<false>;
52
52
  completed: import("@activepieces/pieces-framework").CheckboxProperty<false>;
53
53
  };
54
- export declare function getTasks(authProp: OAuth2PropertyValue): Promise<TasksList[]>;
54
+ export declare function getLists(authProp: OAuth2PropertyValue): Promise<TasksList[]>;
55
+ export declare function getTasks(authProp: OAuth2PropertyValue, tasklist: string): Promise<TasksList[]>;
55
56
  export declare function createTask(authProp: OAuth2PropertyValue, taskListId: string, task: Task): Promise<import("@activepieces/pieces-common").HttpResponse<import("@activepieces/pieces-common").HttpMessageBody>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createTask = exports.getTasks = exports.googleTasksCommon = exports.TaskStatus = void 0;
3
+ exports.createTask = exports.getTasks = exports.getLists = exports.googleTasksCommon = exports.TaskStatus = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const pieces_common_1 = require("@activepieces/pieces-common");
@@ -27,7 +27,7 @@ exports.googleTasksCommon = {
27
27
  };
28
28
  }
29
29
  const authProp = auth;
30
- const tasksLists = yield getTasks(authProp);
30
+ const tasksLists = yield getLists(authProp);
31
31
  return {
32
32
  disabled: false,
33
33
  options: tasksLists.map(list => {
@@ -53,7 +53,7 @@ exports.googleTasksCommon = {
53
53
  required: false,
54
54
  }),
55
55
  };
56
- function getTasks(authProp) {
56
+ function getLists(authProp) {
57
57
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
58
58
  // docs: https://developers.google.com/tasks/reference/rest/v1/tasklists/list
59
59
  const request = {
@@ -68,6 +68,22 @@ function getTasks(authProp) {
68
68
  return response.body.items;
69
69
  });
70
70
  }
71
+ exports.getLists = getLists;
72
+ function getTasks(authProp, tasklist) {
73
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
74
+ // docs: https://developers.google.com/tasks/reference/rest/v1/tasklists/list
75
+ const request = {
76
+ method: pieces_common_1.HttpMethod.GET,
77
+ url: `${exports.googleTasksCommon.baseUrl}/tasks/v1/lists/${tasklist}/tasks`,
78
+ authentication: {
79
+ type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
80
+ token: authProp.access_token,
81
+ },
82
+ };
83
+ const response = yield pieces_common_1.httpClient.sendRequest(request);
84
+ return response.body.items;
85
+ });
86
+ }
71
87
  exports.getTasks = getTasks;
72
88
  function createTask(authProp, taskListId, task) {
73
89
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/google-tasks/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA+E;AAC/E,+DAAsG;AAEtG,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,0CAA4B,CAAA;IAC5B,qCAAuB,CAAA;AAC3B,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AA6CY,QAAA,iBAAiB,GAAG;IAC7B,OAAO,EAAE,8BAA8B;IAEvC;;OAEG;IACH,SAAS,EAAE,2BAAQ,CAAC,QAAQ,CAAS;QACjC,WAAW,EAAE,YAAY;QACzB,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;YACxB,IAAI,CAAC,IAAI,EAAE;gBACP,OAAO;oBACH,QAAQ,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,EAAE,QAAQ,CAAC,YAAY;aAC/B;SACJ,CAAC;QACF,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAoB,OAAO,CAAC,CAAC;QAC1E,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;IAC/B,CAAC;CAAA;AAfD,4BAeC;AAED,SAAsB,UAAU,CAAC,QAA6B,EAAE,UAAkB,EAAE,IAAU;;QAC1F,MAAM,OAAO,GAAgB;YACzB,MAAM,EAAE,0BAAU,CAAC,IAAI;YACvB,GAAG,EAAE,GAAG,yBAAiB,CAAC,OAAO,mBAAmB,UAAU,QAAQ;YACtE,cAAc,EAAE;gBACZ,IAAI,EAAE,kCAAkB,CAAC,YAAY;gBACrC,KAAK,EAAE,QAAQ,CAAC,YAAY;aAC/B;YACD,IAAI,EAAE,IAAI;SACb,CAAC;QAEF,OAAO,0BAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;CAAA;AAZD,gCAYC"}
@@ -0,0 +1,4 @@
1
+ import { OAuth2Props, TriggerStrategy } from "@activepieces/pieces-framework";
2
+ export declare const newTaskTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<true, OAuth2Props>, {
3
+ tasks_list: import("@activepieces/pieces-framework").DropdownProperty<string, false> | import("@activepieces/pieces-framework").DropdownProperty<string, true>;
4
+ }>;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.newTaskTrigger = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const pieces_framework_1 = require("@activepieces/pieces-framework");
6
+ const __1 = require("../..");
7
+ const pieces_common_1 = require("@activepieces/pieces-common");
8
+ const common_1 = require("../common");
9
+ const props = {
10
+ tasks_list: common_1.googleTasksCommon.tasksList,
11
+ };
12
+ const polling = {
13
+ strategy: pieces_common_1.DedupeStrategy.TIMEBASED,
14
+ items: ({ auth, propsValue, lastFetchEpochMS }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
15
+ const records = yield (0, common_1.getTasks)(auth, propsValue.tasks_list);
16
+ const filtered_records = records.filter((record) => {
17
+ const updated = Date.parse(record.updated);
18
+ return updated > lastFetchEpochMS;
19
+ });
20
+ return filtered_records.map((record) => ({
21
+ epochMilliSeconds: Date.parse(record.updated),
22
+ data: record,
23
+ }));
24
+ })
25
+ };
26
+ exports.newTaskTrigger = (0, pieces_framework_1.createTrigger)({
27
+ auth: __1.googleTasksAuth,
28
+ name: "new_task",
29
+ displayName: "New Task",
30
+ description: 'Triggers when a task is created',
31
+ type: pieces_framework_1.TriggerStrategy.POLLING,
32
+ props,
33
+ sampleData: {},
34
+ test(context) {
35
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
36
+ const store = context.store;
37
+ const auth = context.auth;
38
+ const propsValue = context.propsValue;
39
+ return yield pieces_common_1.pollingHelper.test(polling, { store, auth, propsValue });
40
+ });
41
+ },
42
+ onEnable(context) {
43
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
44
+ const store = context.store;
45
+ const auth = context.auth;
46
+ const propsValue = context.propsValue;
47
+ yield pieces_common_1.pollingHelper.onEnable(polling, { store, auth, propsValue });
48
+ });
49
+ },
50
+ onDisable(context) {
51
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
52
+ const store = context.store;
53
+ const auth = context.auth;
54
+ const propsValue = context.propsValue;
55
+ yield pieces_common_1.pollingHelper.onEnable(polling, { store, auth, propsValue });
56
+ });
57
+ },
58
+ run(context) {
59
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
60
+ const store = context.store;
61
+ const auth = context.auth;
62
+ const propsValue = context.propsValue;
63
+ return yield pieces_common_1.pollingHelper.poll(polling, { store, auth, propsValue });
64
+ });
65
+ },
66
+ });
67
+ //# sourceMappingURL=new-task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-task.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/google-tasks/src/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