@activepieces/piece-zoho-mail 0.0.11 → 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/package.json +8 -15
- package/src/lib/actions/archive-email.d.ts +3 -3
- package/src/lib/actions/get-email-details.d.ts +3 -3
- package/src/lib/actions/mark-email-as-read.d.ts +3 -3
- package/src/lib/actions/mark-email-as-unread.d.ts +3 -3
- package/src/lib/actions/move-email.d.ts +4 -4
- package/src/lib/actions/send-email.d.ts +2 -2
- package/src/lib/actions/unarchive-email.d.ts +3 -3
- package/src/lib/common/props.d.ts +4 -4
- package/src/lib/common/props.js +5 -0
- package/src/lib/common/props.js.map +1 -1
- package/src/lib/triggers/new-email-received-trigger.d.ts +6 -6
- package/src/lib/triggers/new-email-received-trigger.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-zoho-mail",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@sinclair/typebox": "0.34.11",
|
|
6
|
-
"axios": "1.
|
|
6
|
+
"axios": "1.13.1",
|
|
7
7
|
"axios-retry": "4.4.1",
|
|
8
8
|
"deepmerge-ts": "7.1.0",
|
|
9
9
|
"form-data": "4.0.4",
|
|
@@ -11,19 +11,12 @@
|
|
|
11
11
|
"mime-types": "2.1.35",
|
|
12
12
|
"nanoid": "3.3.8",
|
|
13
13
|
"semver": "7.6.0",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"@activepieces/pieces-
|
|
17
|
-
"@activepieces/
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"overrides": {
|
|
21
|
-
"@tryfabric/martian": {
|
|
22
|
-
"@notionhq/client": "$@notionhq/client"
|
|
23
|
-
},
|
|
24
|
-
"vite": {
|
|
25
|
-
"rollup": "npm:@rollup/wasm-node"
|
|
26
|
-
}
|
|
14
|
+
"socket.io-client": "4.8.1",
|
|
15
|
+
"zod": "4.1.13",
|
|
16
|
+
"@activepieces/pieces-common": "0.11.0",
|
|
17
|
+
"@activepieces/pieces-framework": "0.23.0",
|
|
18
|
+
"@activepieces/shared": "0.30.4",
|
|
19
|
+
"tslib": "2.6.2"
|
|
27
20
|
},
|
|
28
21
|
"resolutions": {
|
|
29
22
|
"rollup": "npm:@rollup/wasm-node"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const archiveEmailAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
5
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const getEmailDetailsAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
5
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const markEmailAsReadAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
5
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const markEmailAsUnreadAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const moveEmailAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
5
|
-
destfolderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
|
+
destfolderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
6
6
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const sendEmailAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
fromAddress: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
fromAddress: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
4
|
toAddress: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
subject: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
6
6
|
mailFormat: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const unarchiveEmailAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
2
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
3
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
messageId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
5
|
}>;
|
|
@@ -3,8 +3,8 @@ interface DropdownParams {
|
|
|
3
3
|
description?: string;
|
|
4
4
|
required: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const accountId: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
7
|
-
export declare const folderId: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
8
|
-
export declare const messageId: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
9
|
-
export declare const fromAddress: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
6
|
+
export declare const accountId: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
7
|
+
export declare const folderId: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
8
|
+
export declare const messageId: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
|
+
export declare const fromAddress: (params: DropdownParams) => import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
10
10
|
export {};
|
package/src/lib/common/props.js
CHANGED
|
@@ -5,7 +5,9 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
6
6
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
7
7
|
const _1 = require(".");
|
|
8
|
+
const auth_1 = require("./auth");
|
|
8
9
|
const accountId = (params) => pieces_framework_1.Property.Dropdown({
|
|
10
|
+
auth: auth_1.zohoMailAuth,
|
|
9
11
|
displayName: params.displayName,
|
|
10
12
|
description: params.description,
|
|
11
13
|
refreshers: [],
|
|
@@ -37,6 +39,7 @@ const accountId = (params) => pieces_framework_1.Property.Dropdown({
|
|
|
37
39
|
});
|
|
38
40
|
exports.accountId = accountId;
|
|
39
41
|
const folderId = (params) => pieces_framework_1.Property.Dropdown({
|
|
42
|
+
auth: auth_1.zohoMailAuth,
|
|
40
43
|
displayName: params.displayName,
|
|
41
44
|
description: params.description,
|
|
42
45
|
refreshers: ['accountId'],
|
|
@@ -75,6 +78,7 @@ const folderId = (params) => pieces_framework_1.Property.Dropdown({
|
|
|
75
78
|
});
|
|
76
79
|
exports.folderId = folderId;
|
|
77
80
|
const messageId = (params) => pieces_framework_1.Property.Dropdown({
|
|
81
|
+
auth: auth_1.zohoMailAuth,
|
|
78
82
|
displayName: params.displayName,
|
|
79
83
|
description: params.description,
|
|
80
84
|
refreshers: ['accountId', 'folderId'],
|
|
@@ -124,6 +128,7 @@ const messageId = (params) => pieces_framework_1.Property.Dropdown({
|
|
|
124
128
|
});
|
|
125
129
|
exports.messageId = messageId;
|
|
126
130
|
const fromAddress = (params) => pieces_framework_1.Property.Dropdown({
|
|
131
|
+
auth: auth_1.zohoMailAuth,
|
|
127
132
|
displayName: params.displayName,
|
|
128
133
|
description: params.description,
|
|
129
134
|
refreshers: ['accountId'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoho-mail/src/lib/common/props.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAgF;AAChF,wBAAoC;
|
|
1
|
+
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoho-mail/src/lib/common/props.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAgF;AAChF,wBAAoC;AACpC,iCAAsC;AAQ/B,MAAM,SAAS,GAAG,CAAC,MAAsB,EAAE,EAAE,CACnD,2BAAQ,CAAC,QAAQ,CAAC;IACjB,IAAI,EAAE,mBAAY;IAClB,WAAW,EAAE,MAAM,CAAC,WAAW;IAC/B,WAAW,EAAE,MAAM,CAAC,WAAW;IAC/B,UAAU,EAAE,EAAE;IACd,QAAQ,EAAE,MAAM,CAAC,QAAQ;IACzB,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACvB,IAAI,CAAC,IAAI,EAAE,CAAC;YACX,OAAO;gBACN,WAAW,EAAE,oCAAoC;gBACjD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd,CAAC;QACH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,IAAiD,CAAC;QAEpE,MAAM,QAAQ,GAAG,MAAM,IAAA,kBAAe,EAEnC;YACF,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,0BAAU,CAAC,GAAG;YACtB,WAAW,EAAE,aAAa,SAAS,EAAE;SACrC,CAAC,CAAC;QAEH,OAAO;YACN,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;gBACtD,OAAO;oBACN,KAAK,EAAE,OAAO,CAAC,WAAW;oBAC1B,KAAK,EAAE,OAAO,CAAC,WAAW;iBAC1B,CAAC;YACH,CAAC,CAAC;SACF,CAAC;IACH,CAAC,CAAA;CACD,CAAC,CAAC;AA1CS,QAAA,WAAW,eA0CpB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
2
2
|
export declare const newEmailReceivedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
3
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
4
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
3
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
4
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
5
5
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
6
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
7
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
6
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
7
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
8
8
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
9
|
-
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
10
|
-
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false
|
|
9
|
+
accountId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
10
|
+
folderId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
11
11
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-email-received-trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoho-mail/src/lib/triggers/new-email-received-trigger.ts"],"names":[],"mappings":";;;;AAAA,+DAMqC;AACrC,
|
|
1
|
+
{"version":3,"file":"new-email-received-trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoho-mail/src/lib/triggers/new-email-received-trigger.ts"],"names":[],"mappings":";;;;AAAA,+DAMqC;AACrC,qEAKwC;AACxC,sCAA4C;AAC5C,yCAA8C;AAC9C,2CAAsD;AAOtD,MAAM,OAAO,GAA2E;IACvF,QAAQ,EAAE,8BAAc,CAAC,SAAS;IAC5B,KAAK;qEAAC,EAAE,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE;YACjD,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;YAE3C,IAAI,IAAI,GAAG,CAAC,CAAC;YACb,IAAI,OAAO,GAAG,IAAI,CAAC;YACnB,MAAM,WAAW,GAAG,EAAE,CAAC;YAEvB,GAAG,CAAC;gBACH,MAAM,WAAW,GAAgB;oBAChC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;oBACtB,KAAK,EAAE,gBAAgB,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK;iBAC5C,CAAC;gBAEF,IAAI,QAAQ,EAAE,CAAC;oBACd,WAAW,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;gBACpC,CAAC;gBAED,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAe,EAAuC;oBAC5E,IAAI;oBACJ,WAAW,EAAE,aAAa,SAAS,gBAAgB;oBACnD,MAAM,EAAE,0BAAU,CAAC,GAAG;oBACtB,KAAK,EAAE,WAAW;iBAClB,CAAC,CAAC;gBAEH,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC;gBAErC,IAAI,QAAQ,CAAC,MAAM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