Skip to content

Commit e53a339

Browse files
New Components - picqer (#17044)
* picqer init * [ACTION] Picqer.com MCP server #16939 Sources - New Event (Instant) Actions - Add Order Comment - Add Return Comment - Create Order - Get Customer - Get Order - Get Picklist - Get Status Per Order Line - Search Orders - Update Order * pnpm update * Update components/picqer/sources/common/base.mjs * fix products prop * Update create-order.mjs to correct product description format and adjust idorderfield handling * pnpm update * update pnpm-lock.yaml * Refactor HMAC signature verification in base.mjs to ensure proper handling of unauthorized requests * [ACTION] New Trigger action "New Lead Update (Instant)" in Pipedrive #17171 Sources - Updated Lead (Instant) * pnpm update * Revert "pnpm update" This reverts commit 406c684. * Revert "[ACTION] New Trigger action "New Lead Update (Instant)" in Pipedrive #17171" This reverts commit 530eee8. --------- Co-authored-by: Guilherme Falcão <[email protected]>
1 parent 57b35b8 commit e53a339

File tree

25 files changed

+1906
-15
lines changed

25 files changed

+1906
-15
lines changed

components/add_to_calendar_pro/add_to_calendar_pro.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/arpoone/arpoone.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/commonninja/commonninja.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/openai_passthrough/openai_passthrough.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/pembee/pembee.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/phonely/phonely.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import picqer from "../../picqer.app.mjs";
2+
3+
export default {
4+
key: "picqer-add-order-comment",
5+
name: "Add Comment To Order",
6+
description: "Add a comment to an order in Picqer. [See the documentation](https://picqer.com/en/api/comments#adding-comments-to-an-order)",
7+
version: "0.0.1",
8+
type: "action",
9+
props: {
10+
picqer,
11+
orderId: {
12+
propDefinition: [
13+
picqer,
14+
"orderId",
15+
],
16+
},
17+
body: {
18+
propDefinition: [
19+
picqer,
20+
"commentBody",
21+
],
22+
},
23+
showAtRelated: {
24+
propDefinition: [
25+
picqer,
26+
"showAtRelated",
27+
],
28+
},
29+
isVisibleFulfillment: {
30+
propDefinition: [
31+
picqer,
32+
"isVisibleFulfillment",
33+
],
34+
},
35+
},
36+
async run({ $ }) {
37+
const response = await this.picqer.addOrderComment({
38+
$,
39+
orderId: this.orderId,
40+
data: {
41+
body: this.body,
42+
show_at_related: this.showAtRelated,
43+
is_visible_fulfilment: this.isVisibleFulfillment,
44+
},
45+
});
46+
47+
$.export("$summary", `Successfully added comment to order ${this.orderId}`);
48+
return response;
49+
},
50+
};
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import picqer from "../../picqer.app.mjs";
2+
3+
export default {
4+
key: "picqer-add-return-comment",
5+
name: "Add Comment To Return",
6+
description: "Add a comment to a return in Picqer. [See the documentation](https://picqer.com/en/api/comments#add-a-comment-to-an-return)",
7+
version: "0.0.1",
8+
type: "action",
9+
props: {
10+
picqer,
11+
returnId: {
12+
propDefinition: [
13+
picqer,
14+
"returnId",
15+
],
16+
},
17+
body: {
18+
propDefinition: [
19+
picqer,
20+
"commentBody",
21+
],
22+
},
23+
showAtRelated: {
24+
propDefinition: [
25+
picqer,
26+
"showAtRelated",
27+
],
28+
},
29+
isVisibleFulfillment: {
30+
propDefinition: [
31+
picqer,
32+
"isVisibleFulfillment",
33+
],
34+
},
35+
},
36+
async run({ $ }) {
37+
const response = await this.picqer.addReturnComment({
38+
$,
39+
returnId: this.returnId,
40+
data: {
41+
body: this.body,
42+
show_at_related: this.showAtRelated,
43+
is_visible_fulfilment: this.isVisibleFulfillment,
44+
},
45+
});
46+
47+
$.export("$summary", `Successfully added comment to return ${this.returnId}`);
48+
return response;
49+
},
50+
};

0 commit comments

Comments
 (0)