Skip to content

Commit b87879d

Browse files
committed
Merge branch 'master' into quickbooks
2 parents 20264e5 + bfa23bc commit b87879d

File tree

145 files changed

+12623
-22266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+12623
-22266
lines changed

.eslintrc

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,61 @@
2424
"parserOptions": {
2525
"ecmaVersion": 10
2626
}
27-
}
27+
},
28+
{
29+
"files": [
30+
"**/actions/**/*.js",
31+
"**/sources/**/*.js",
32+
],
33+
"rules": {
34+
"pipedream/required-properties-key": "error",
35+
"pipedream/required-properties-name": "error",
36+
"pipedream/required-properties-version": "error",
37+
"pipedream/required-properties-description": "error",
38+
"pipedream/required-properties-type": "error",
39+
"pipedream/props-label": "error",
40+
"pipedream/props-description": "error",
41+
"pipedream/default-value-required-for-optional-props": "warn",
42+
"pipedream/source-name": "warn",
43+
"pipedream/source-description": "warn"
44+
}
45+
},
46+
{
47+
"files": [
48+
"**/actions/**/common*.js",
49+
"**/actions/common/*",
50+
"**/sources/common/*",
51+
"**/sources/**/common*.js"
52+
],
53+
"rules": {
54+
"pipedream/required-properties-key": "off",
55+
"pipedream/required-properties-name": "off",
56+
"pipedream/required-properties-version": "off",
57+
"pipedream/required-properties-description": "off",
58+
"pipedream/required-properties-type": "off",
59+
"pipedream/source-name": "off",
60+
"pipedream/source-description": "off"
61+
}
62+
},
63+
{
64+
"files": [
65+
"**/*.app.js"
66+
],
67+
"rules": {
68+
"pipedream/props-label": "error",
69+
"pipedream/props-description": "error",
70+
"pipedream/default-value-required-for-optional-props": "warn"
71+
}
72+
},
2873
],
2974
"parserOptions": {
3075
"ecmaVersion": 12,
3176
"sourceType": "module"
3277
},
3378
"plugins": [
3479
"jsonc",
35-
"putout"
80+
"putout",
81+
"pipedream"
3682
],
3783
"root": true,
3884
"rules": {
@@ -155,4 +201,4 @@
155201
],
156202
"space-infix-ops": "error"
157203
}
158-
}
204+
}

.spellcheck.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ matrix:
1010
pipeline:
1111
- pyspelling.filters.markdown:
1212
- pyspelling.filters.html:
13-
comments: false
14-
ignores:
15-
- code
16-
- pre
13+
comments: false
14+
ignores:
15+
- code
16+
- pre
1717
sources:
1818
- '**/*.md'
1919
default_encoding: utf-8

.wordlist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,3 +955,6 @@ Boomtrain
955955
WorkDrive
956956
favicon
957957
ico
958+
ESM
959+
exfiltrates
960+
tada

SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Reporting a Vulnerability
2+
3+
[See our docs](https://pipedream.com/docs/privacy-and-security/#reporting-a-vulnerability) for details on reporting a vulnerability.

components/asana/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/bandwidth/sources/new-outgoing-sms/new-outgoing-sms.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
const bandwidth = require("../../bandwidth.app");
1+
const bandwidth = require('../../bandwidth.app');
22

33
module.exports = {
4-
name: "New Outgoing SMS",
5-
description: "Emits an event each time an outbound message status event is received at the source url",
6-
key: "bandwidth-new-ourgoing-sms",
7-
version: "1.1.0",
4+
name: 'New Outgoing SMS',
5+
description:
6+
'Emits an event each time an outbound message status event is received at the source url',
7+
key: 'bandwidth-new-ourgoing-sms',
8+
version: '1.1.1',
89
props: {
910
bandwidth,
1011
http: {
11-
type: "$.interface.http",
12+
type: '$.interface.http',
1213
customResponse: true,
1314
},
1415
},
@@ -19,7 +20,7 @@ module.exports = {
1920
status: 204,
2021
});
2122

22-
if (messageBody.message.direction == "out") {
23+
if (messageBody.message.direction == 'out') {
2324
this.$emit(messageBody, {
2425
summary: messageBody.type,
2526
id: messageBody.message.id,

components/bitbucket/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/calendly/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
const clickup = require("../clickup.app.js");
2+
3+
module.exports = {
4+
props: {
5+
clickup,
6+
workspace: {
7+
propDefinition: [
8+
clickup,
9+
"workspace",
10+
],
11+
},
12+
space: {
13+
propDefinition: [
14+
clickup,
15+
"space",
16+
(c) => ({
17+
workspace: c.workspace,
18+
}),
19+
],
20+
},
21+
folder: {
22+
propDefinition: [
23+
clickup,
24+
"folder",
25+
(c) => ({
26+
space: c.space,
27+
}),
28+
],
29+
},
30+
priority: {
31+
propDefinition: [
32+
clickup,
33+
"priority",
34+
],
35+
},
36+
},
37+
};
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
const common = require("../common.js");
2+
3+
module.exports = {
4+
...common,
5+
key: "clickup-create-list",
6+
name: "Create List",
7+
description: "Creates a new list",
8+
version: "0.0.4",
9+
type: "action",
10+
props: {
11+
...common.props,
12+
name: {
13+
propDefinition: [
14+
common.props.clickup,
15+
"name",
16+
],
17+
description: "New list name",
18+
},
19+
content: {
20+
type: "string",
21+
label: "Content",
22+
description: "New list content",
23+
optional: true,
24+
},
25+
dueDate: {
26+
propDefinition: [
27+
common.props.clickup,
28+
"dueDate",
29+
],
30+
description:
31+
`The date by which you must complete the tasks in this list. Use [UTC time](https://www.epochconverter.com/) in
32+
milliseconds (e.g. \`1508369194377\`)`,
33+
},
34+
dueDateTime: {
35+
propDefinition: [
36+
common.props.clickup,
37+
"dueDateTime",
38+
],
39+
description:
40+
"Set to `true` if you want to enable the due date time for the tasks in this list",
41+
},
42+
assignee: {
43+
propDefinition: [
44+
common.props.clickup,
45+
"assignees",
46+
(c) => ({
47+
workspace: c.workspace,
48+
}),
49+
],
50+
type: "string",
51+
label: "Assignee",
52+
description: "Assignee to be added to this list",
53+
optional: true,
54+
},
55+
status: {
56+
type: "string",
57+
label: "Status",
58+
description:
59+
"The status refers to the List color rather than the task Statuses available in the List",
60+
optional: true,
61+
},
62+
},
63+
async run() {
64+
const data = {
65+
name: this.name,
66+
content: this.content,
67+
due_date: this.dueDate,
68+
due_date_time: this.dueDateTime,
69+
priority: this.priority,
70+
assignee: this.assignee,
71+
status: this.status,
72+
};
73+
return this.folder
74+
? await this.clickup.createList(this.folder, data)
75+
: await this.clickup.createFolderlessList(this.space, data);
76+
},
77+
};

0 commit comments

Comments
 (0)