@pipedream/slack_v2 1.1.0 → 1.1.2
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/actions/add-emoji-reaction/add-emoji-reaction.mjs +2 -2
- package/actions/add-reaction/add-reaction.mjs +2 -2
- package/actions/archive-channel/archive-channel.mjs +2 -2
- package/actions/browse-files/browse-files.mjs +2 -2
- package/actions/create-channel/create-channel.mjs +2 -2
- package/actions/create-reminder/create-reminder.mjs +2 -2
- package/actions/delete-file/delete-file.mjs +2 -2
- package/actions/delete-message/delete-message.mjs +2 -2
- package/actions/edit-message/edit-message.mjs +3 -21
- package/actions/find-message/find-message.mjs +2 -2
- package/actions/find-user-by-email/find-user-by-email.mjs +2 -2
- package/actions/find-user-by-id/find-user-by-id.mjs +2 -2
- package/actions/get-channel-details/get-channel-details.mjs +2 -2
- package/actions/get-channel-history/get-channel-history.mjs +2 -2
- package/actions/get-current-user/get-current-user.mjs +2 -2
- package/actions/get-file/get-file.mjs +2 -2
- package/actions/get-thread-replies/get-thread-replies.mjs +2 -2
- package/actions/get-user-details/get-user-details.mjs +2 -2
- package/actions/invite-user-to-channel/invite-user-to-channel.mjs +2 -2
- package/actions/kick-user/kick-user.mjs +2 -2
- package/actions/list-channels/list-channels.mjs +2 -2
- package/actions/list-emojis/list-emojis.mjs +2 -2
- package/actions/list-files/list-files.mjs +2 -2
- package/actions/list-group-conversations/list-group-conversations.mjs +2 -2
- package/actions/list-group-members/list-group-members.mjs +2 -2
- package/actions/list-icon-emoji-options/list-icon-emoji-options.mjs +2 -2
- package/actions/list-members-in-channel/list-members-in-channel.mjs +2 -2
- package/actions/list-messages/list-messages.mjs +2 -2
- package/actions/list-reminder-options/list-reminder-options.mjs +2 -2
- package/actions/list-replies/list-replies.mjs +2 -2
- package/actions/list-teams/list-teams.mjs +2 -2
- package/actions/list-user-group-options/list-user-group-options.mjs +2 -2
- package/actions/list-users/list-users.mjs +2 -2
- package/actions/post-message/post-message.mjs +3 -28
- package/actions/reply-to-a-message/reply-to-a-message.mjs +2 -2
- package/actions/search/search.mjs +2 -2
- package/actions/send-block-kit-message/send-block-kit-message.mjs +2 -2
- package/actions/send-large-message/send-large-message.mjs +2 -2
- package/actions/send-message/send-message.mjs +2 -2
- package/actions/send-message-advanced/send-message-advanced.mjs +2 -2
- package/actions/send-message-to-channel/send-message-to-channel.mjs +2 -2
- package/actions/send-message-to-user-or-group/send-message-to-user-or-group.mjs +2 -2
- package/actions/set-channel-description/set-channel-description.mjs +2 -2
- package/actions/set-channel-topic/set-channel-topic.mjs +2 -2
- package/actions/set-status/set-status.mjs +2 -2
- package/actions/update-group-members/update-group-members.mjs +2 -2
- package/actions/update-message/update-message.mjs +2 -2
- package/actions/update-profile/update-profile.mjs +2 -2
- package/actions/upload-file/upload-file.mjs +2 -2
- package/actions/verify-slack-signature/verify-slack-signature.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-add-emoji-reaction",
|
|
6
5
|
name: "Add Emoji Reaction",
|
|
7
6
|
description: "Add an emoji reaction to a message. [See the documentation](https://api.slack.com/methods/reactions.add)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.26",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -10,8 +9,9 @@ export default {
|
|
|
10
9
|
+ " Use **Get Channel History** or **Search** to find the message timestamp."
|
|
11
10
|
+ " Emoji name should be without colons (e.g. `thumbsup`, `fire`, `heart`)."
|
|
12
11
|
+ " [See the documentation](https://api.slack.com/methods/reactions.add)",
|
|
13
|
-
version: "0.0.
|
|
12
|
+
version: "0.0.6",
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
annotations: {
|
|
16
16
|
destructiveHint: false,
|
|
17
17
|
openWorldHint: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-archive-channel",
|
|
6
5
|
name: "Archive Channel",
|
|
7
6
|
description: "Archive a public or private channel. Direct messages and group DMs can't be archived — pass a channel ID (e.g. `C1234567890`), not a user or group ID. [See the documentation](https://api.slack.com/methods/conversations.archive)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.34",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -10,8 +9,9 @@ export default {
|
|
|
10
9
|
+ " Filter by file type (e.g. `images`, `pdfs`, `snippets`)."
|
|
11
10
|
+ " Returns file metadata including name, type, size, and download URL."
|
|
12
11
|
+ " [See the documentation](https://api.slack.com/methods/files.list)",
|
|
13
|
-
version: "0.0.
|
|
12
|
+
version: "0.0.6",
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
annotations: {
|
|
16
16
|
destructiveHint: false,
|
|
17
17
|
openWorldHint: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-create-channel",
|
|
6
5
|
name: "Create a Channel",
|
|
7
6
|
description: "Create a new channel. [See the documentation](https://api.slack.com/methods/conversations.create)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.34",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
channelName: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-create-reminder",
|
|
6
5
|
name: "Create Reminder",
|
|
7
6
|
description: "Create a reminder. [See the documentation](https://api.slack.com/methods/reminders.add)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.35",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
text: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-delete-file",
|
|
6
5
|
name: "Delete File",
|
|
7
6
|
description: "Delete a file. [See the documentation](https://api.slack.com/methods/files.delete)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.34",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -13,13 +12,14 @@ export default {
|
|
|
13
12
|
+ " lets an identity delete its own messages, so this deletes as whichever identity posted:"
|
|
14
13
|
+ " it retries automatically with the other identity if the first attempt returns"
|
|
15
14
|
+ " `cant_delete_message`. [See the documentation](https://api.slack.com/methods/chat.delete)",
|
|
16
|
-
version: "0.2.
|
|
15
|
+
version: "0.2.4",
|
|
17
16
|
annotations: {
|
|
18
17
|
destructiveHint: true,
|
|
19
18
|
openWorldHint: true,
|
|
20
19
|
readOnlyHint: false,
|
|
21
20
|
},
|
|
22
21
|
type: "action",
|
|
22
|
+
ai: "optimized",
|
|
23
23
|
props: {
|
|
24
24
|
slack,
|
|
25
25
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
import { ConfigurationError } from "@pipedream/platform";
|
|
4
3
|
|
|
@@ -11,8 +10,9 @@ export default {
|
|
|
11
10
|
+ " Requires the message timestamp (`ts`) from **Get Channel History** or **Post Message**."
|
|
12
11
|
+ " You can only edit messages posted by the same token/user."
|
|
13
12
|
+ " [See the documentation](https://api.slack.com/methods/chat.update)",
|
|
14
|
-
version: "0.0.
|
|
13
|
+
version: "0.0.7",
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
annotations: {
|
|
17
17
|
destructiveHint: false,
|
|
18
18
|
openWorldHint: true,
|
|
@@ -57,25 +57,7 @@ export default {
|
|
|
57
57
|
throw new ConfigurationError("Invalid JSON string: " + error.message);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
// post-message tries the bot identity first, falling back to the user identity when
|
|
62
|
-
// the bot can't deliver — so the message being edited may have been posted as
|
|
63
|
-
// either one. Try both here too, mirroring the fallback already used in
|
|
64
|
-
// delete-message, rather than guessing which identity posted it.
|
|
65
|
-
const attempt = (asUser) => this.slack.updateMessage({
|
|
66
|
-
...args,
|
|
67
|
-
as_user: asUser,
|
|
68
|
-
});
|
|
69
|
-
const hasBotToken = Boolean(this.slack.getBotToken());
|
|
70
|
-
|
|
71
|
-
let response;
|
|
72
|
-
try {
|
|
73
|
-
response = await attempt(false);
|
|
74
|
-
} catch (error) {
|
|
75
|
-
if (!hasBotToken || !`${error}`.includes("cant_update_message")) throw error;
|
|
76
|
-
response = await attempt(true);
|
|
77
|
-
}
|
|
78
|
-
|
|
60
|
+
const response = await this.slack.updateMessage(args);
|
|
79
61
|
$.export("$summary", `Message updated in ${channelId}`);
|
|
80
62
|
return response;
|
|
81
63
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import utils from "../../common/utils.mjs";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -16,13 +15,14 @@ export default {
|
|
|
16
15
|
+ " omitted when no mention carried a name."
|
|
17
16
|
+ " Do NOT splice a name back inline: Slack renders `<@U123|Name>` as literal text, not a mention."
|
|
18
17
|
+ " [See the documentation](https://api.slack.com/methods/assistant.search.context)",
|
|
19
|
-
version: "0.2.
|
|
18
|
+
version: "0.2.1",
|
|
20
19
|
annotations: {
|
|
21
20
|
destructiveHint: false,
|
|
22
21
|
openWorldHint: true,
|
|
23
22
|
readOnlyHint: true,
|
|
24
23
|
},
|
|
25
24
|
type: "action",
|
|
25
|
+
ai: "optimized",
|
|
26
26
|
props: {
|
|
27
27
|
slack,
|
|
28
28
|
query: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-find-user-by-email",
|
|
6
5
|
name: "Find User by Email",
|
|
7
6
|
description: "Find a user by matching against their email. [See the documentation](https://api.slack.com/methods/users.lookupByEmail)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.33",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
email: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-find-user-by-id",
|
|
6
5
|
name: "Find User by ID",
|
|
7
6
|
description: "Find a user by their ID — including a specific user you already have the Slack ID for, whether or not it's your own. Returns user profile information including name, email (requires `users:read.email` scope), timezone, and status. If you only have an email address, use **Find User by Email** instead. [See the documentation](https://api.slack.com/methods/users.info)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.10",
|
|
9
8
|
type: "action",
|
|
9
|
+
ai: "optimized",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-get-channel-details",
|
|
6
5
|
name: "Get Channel Details",
|
|
7
6
|
description: "Retrieve details for a Slack channel, specified by ID or by name — names are resolved automatically. [See the documentation](https://api.slack.com/methods/conversations.info)",
|
|
8
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.4",
|
|
9
8
|
type: "action",
|
|
9
|
+
ai: "optimized",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import utils from "../../common/utils.mjs";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -16,8 +15,9 @@ export default {
|
|
|
16
15
|
+ " messages carry blocks, attachments and edit metadata, so a busy channel can run to tens"
|
|
17
16
|
+ " of thousands of characters and be truncated before you see any of it."
|
|
18
17
|
+ " [See the documentation](https://api.slack.com/methods/conversations.history)",
|
|
19
|
-
version: "0.2.
|
|
18
|
+
version: "0.2.3",
|
|
20
19
|
type: "action",
|
|
20
|
+
ai: "optimized",
|
|
21
21
|
annotations: {
|
|
22
22
|
destructiveHint: false,
|
|
23
23
|
openWorldHint: true,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-get-current-user",
|
|
6
5
|
name: "Get Current User",
|
|
7
6
|
description: "Do NOT use for a plain \"who am I\" / \"what's my user ID\" question — call **Get User Details** for that; it answers the same question with a far smaller payload. Do NOT use to look up a DIFFERENT, specifically-identified user (by ID or email) — this only ever describes the authenticated caller; use **Find User by ID** / **Find User by Email** for someone else. Do NOT use to enumerate multiple teams/workspaces (e.g. Enterprise Grid) — use **List Teams** for that; this returns only the caller's own current team. Use this ONLY when you specifically need the full member profile: locale, timezone, presence/status, admin and owner flags, name variants, or workspace domain and enterprise metadata. Combines `auth.test`, `users.info`, `users.profile.get` and `team.info`. [See Slack API docs](https://api.slack.com/methods/auth.test).",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.9",
|
|
9
8
|
type: "action",
|
|
9
|
+
ai: "optimized",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-get-file",
|
|
6
5
|
name: "Get File",
|
|
7
6
|
description: "Return information about a file. [See the documentation](https://api.slack.com/methods/files.info)",
|
|
8
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.9",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import utils from "../../common/utils.mjs";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -14,8 +13,9 @@ export default {
|
|
|
14
13
|
+ " Slack messages carry blocks, attachments and edit metadata, so a long thread can run"
|
|
15
14
|
+ " to tens of thousands of characters and be truncated before you see any of it."
|
|
16
15
|
+ " [See the documentation](https://api.slack.com/methods/conversations.replies)",
|
|
17
|
-
version: "0.1.
|
|
16
|
+
version: "0.1.4",
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
annotations: {
|
|
20
20
|
destructiveHint: false,
|
|
21
21
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -14,8 +13,9 @@ export default {
|
|
|
14
13
|
+ " Prefer this over **Get Current User**, which returns a much larger payload and is only"
|
|
15
14
|
+ " needed for full profile detail (locale, status, admin flags)."
|
|
16
15
|
+ " [See the documentation](https://api.slack.com/methods/auth.test)",
|
|
17
|
-
version: "0.0.
|
|
16
|
+
version: "0.0.6",
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
annotations: {
|
|
20
20
|
destructiveHint: false,
|
|
21
21
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import { ConfigurationError } from "@pipedream/platform";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -6,13 +5,14 @@ export default {
|
|
|
6
5
|
key: "slack_v2-invite-user-to-channel",
|
|
7
6
|
name: "Invite User to Channel",
|
|
8
7
|
description: "Invite one or more users to an existing channel. Accepts a channel ID or NAME, and a user ID, EMAIL address or display name — all resolved automatically. Pass several users as a comma-separated list. [See the documentation](https://api.slack.com/methods/conversations.invite)",
|
|
9
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.4",
|
|
10
9
|
annotations: {
|
|
11
10
|
destructiveHint: false,
|
|
12
11
|
openWorldHint: true,
|
|
13
12
|
readOnlyHint: false,
|
|
14
13
|
},
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
props: {
|
|
17
17
|
slack,
|
|
18
18
|
conversation: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-kick-user",
|
|
6
5
|
name: "Kick User",
|
|
7
6
|
description: "Remove a user from a conversation. [See the documentation](https://api.slack.com/methods/conversations.kick)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.34",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import utils from "../../common/utils.mjs";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -16,13 +15,14 @@ export default {
|
|
|
16
15
|
+ " fetched — when you see that, raise `numPages` (or pass `cursor`) before answering"
|
|
17
16
|
+ " any 'how many' or 'list every' question, otherwise your answer is silently incomplete."
|
|
18
17
|
+ " [See the documentation](https://api.slack.com/methods/conversations.list)",
|
|
19
|
-
version: "0.3.
|
|
18
|
+
version: "0.3.2",
|
|
20
19
|
annotations: {
|
|
21
20
|
destructiveHint: false,
|
|
22
21
|
openWorldHint: true,
|
|
23
22
|
readOnlyHint: true,
|
|
24
23
|
},
|
|
25
24
|
type: "action",
|
|
25
|
+
ai: "optimized",
|
|
26
26
|
props: {
|
|
27
27
|
slack,
|
|
28
28
|
channelTypes: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -6,13 +5,14 @@ export default {
|
|
|
6
5
|
name: "List Emojis",
|
|
7
6
|
description:
|
|
8
7
|
"List all available emojis in the Slack workspace. Optionally include emoji image URLs. [See the documentation](https://api.slack.com/methods/emoji.list)",
|
|
9
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.8",
|
|
10
9
|
annotations: {
|
|
11
10
|
destructiveHint: false,
|
|
12
11
|
openWorldHint: true,
|
|
13
12
|
readOnlyHint: true,
|
|
14
13
|
},
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
props: {
|
|
17
17
|
slack,
|
|
18
18
|
includeEmojiImage: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-files",
|
|
6
5
|
name: "List Files",
|
|
7
6
|
description: "Return a list of files within a team. [See the documentation](https://api.slack.com/methods/files.list)",
|
|
8
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.9",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -11,13 +10,14 @@ export default {
|
|
|
11
10
|
+ " Returns `has_more: true` and `next_cursor` when more conversations exist than were"
|
|
12
11
|
+ " fetched — raise `numPages` (or pass `cursor`) to see the rest."
|
|
13
12
|
+ " [See the documentation](https://api.slack.com/methods/conversations.list)",
|
|
14
|
-
version: "0.0.
|
|
13
|
+
version: "0.0.3",
|
|
15
14
|
annotations: {
|
|
16
15
|
destructiveHint: false,
|
|
17
16
|
openWorldHint: true,
|
|
18
17
|
readOnlyHint: true,
|
|
19
18
|
},
|
|
20
19
|
type: "action",
|
|
20
|
+
ai: "optimized",
|
|
21
21
|
props: {
|
|
22
22
|
slack,
|
|
23
23
|
pageSize: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-group-members",
|
|
6
5
|
name: "List Group Members",
|
|
7
6
|
description: "List all users in a User Group. [See the documentation](https://api.slack.com/methods/usergroups.users.list)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.18",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
userGroup: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack_v2 from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-icon-emoji-options",
|
|
6
5
|
name: "List Icon (emoji) Options",
|
|
7
6
|
description: "Retrieves available options for the Icon (emoji) field. [See the documentation](https://api.slack.com/methods/emoji.list)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.6",
|
|
9
8
|
type: "action",
|
|
9
|
+
ai: "optimized",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-members-in-channel",
|
|
6
5
|
name: "List Members in Channel",
|
|
7
6
|
description: "Retrieve members of a channel. Accepts a channel ID or NAME (e.g. general or #general) — names are resolved automatically. [See the documentation](https://api.slack.com/methods/conversations.members)",
|
|
8
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.4",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -10,13 +9,14 @@ export default {
|
|
|
10
9
|
+ " selection to keep responses small, and returns the same message data."
|
|
11
10
|
+ " This legacy tool remains only for existing workflows: it accepts a raw conversation ID and"
|
|
12
11
|
+ " returns full, untrimmed message objects. [See the documentation](https://api.slack.com/methods/conversations.history)",
|
|
13
|
-
version: "0.0.
|
|
12
|
+
version: "0.0.9",
|
|
14
13
|
annotations: {
|
|
15
14
|
destructiveHint: false,
|
|
16
15
|
openWorldHint: true,
|
|
17
16
|
readOnlyHint: true,
|
|
18
17
|
},
|
|
19
18
|
type: "action",
|
|
19
|
+
ai: "optimized",
|
|
20
20
|
props: {
|
|
21
21
|
slack,
|
|
22
22
|
conversation: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack_v2 from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-reminder-options",
|
|
6
5
|
name: "List Reminder Options",
|
|
7
6
|
description: "Retrieves available options for the Reminder field. [See the documentation](https://docs.slack.dev/reference/methods/reminders.list)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.6",
|
|
9
8
|
type: "action",
|
|
9
|
+
ai: "optimized",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-replies",
|
|
6
5
|
name: "List Replies",
|
|
7
6
|
description: "Retrieve a thread of messages posted to a conversation. [See the documentation](https://api.slack.com/methods/conversations.replies)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.34",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -15,13 +14,14 @@ export default {
|
|
|
15
14
|
+ " Returns `has_more: true` and `next_cursor` when more teams exist than were"
|
|
16
15
|
+ " fetched — raise `numPages` (or pass `cursor`) to see the rest."
|
|
17
16
|
+ " [See the documentation](https://api.slack.com/methods/auth.teams.list)",
|
|
18
|
-
version: "0.0.
|
|
17
|
+
version: "0.0.3",
|
|
19
18
|
annotations: {
|
|
20
19
|
destructiveHint: false,
|
|
21
20
|
openWorldHint: true,
|
|
22
21
|
readOnlyHint: true,
|
|
23
22
|
},
|
|
24
23
|
type: "action",
|
|
24
|
+
ai: "optimized",
|
|
25
25
|
props: {
|
|
26
26
|
slack,
|
|
27
27
|
pageSize: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack_v2 from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-user-group-options",
|
|
6
5
|
name: "List User Group Options",
|
|
7
6
|
description: "Retrieves available options for the User Group field. [See the documentation](https://docs.slack.dev/reference/methods/usergroups.list)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.6",
|
|
9
8
|
type: "action",
|
|
9
|
+
ai: "optimized",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-list-users",
|
|
6
5
|
name: "List Users",
|
|
7
6
|
description: "Return a list of all users in a workspace. [See the documentation](https://api.slack.com/methods/users.list)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.33",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: true,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
teamId: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
import { ConfigurationError } from "@pipedream/platform";
|
|
4
3
|
|
|
@@ -12,8 +11,9 @@ export default {
|
|
|
12
11
|
+ " To reply to a thread, provide `threadTs` (Slack calls this `thread_ts`) from **Get Channel History**."
|
|
13
12
|
+ " Supports plain text with Slack mrkdwn formatting and Block Kit blocks."
|
|
14
13
|
+ " [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
15
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.7",
|
|
16
15
|
type: "action",
|
|
16
|
+
ai: "optimized",
|
|
17
17
|
annotations: {
|
|
18
18
|
destructiveHint: false,
|
|
19
19
|
openWorldHint: true,
|
|
@@ -93,32 +93,7 @@ export default {
|
|
|
93
93
|
args.thread_ts = this.threadTs;
|
|
94
94
|
args.reply_broadcast = this.replyBroadcast;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
// Prefer the bot token (as_user: false) — it works for channels the bot has joined
|
|
98
|
-
// and needs no extra scope. But a bot can't message a user unless that user has
|
|
99
|
-
// enabled its Messages tab, and can't post in a channel it hasn't joined, so those
|
|
100
|
-
// specific failures fall back to the authenticated user's token instead of failing
|
|
101
|
-
// the whole call. Mirrors the identity fallback already used in delete-message.
|
|
102
|
-
const hasBotToken = Boolean(this.slack.getBotToken());
|
|
103
|
-
let response;
|
|
104
|
-
try {
|
|
105
|
-
response = await this.slack.postChatMessage({
|
|
106
|
-
...args,
|
|
107
|
-
as_user: false,
|
|
108
|
-
});
|
|
109
|
-
} catch (error) {
|
|
110
|
-
const botCannotDeliver = hasBotToken
|
|
111
|
-
&& [
|
|
112
|
-
"messages_tab_disabled",
|
|
113
|
-
"channel_not_found",
|
|
114
|
-
"not_in_channel",
|
|
115
|
-
].some((code) => `${error}`.includes(code));
|
|
116
|
-
if (!botCannotDeliver) throw error;
|
|
117
|
-
response = await this.slack.postChatMessage({
|
|
118
|
-
...args,
|
|
119
|
-
as_user: true,
|
|
120
|
-
});
|
|
121
|
-
}
|
|
96
|
+
const response = await this.slack.postChatMessage(args);
|
|
122
97
|
let permalink;
|
|
123
98
|
try {
|
|
124
99
|
const permalinkResponse = await this.slack.makeRequest({
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
import common from "../common/send-message.mjs";
|
|
4
3
|
|
|
@@ -14,13 +13,14 @@ export default {
|
|
|
14
13
|
+ " (e.g. `1403051575.000407`); get it from **Get Channel History** or an incoming event's"
|
|
15
14
|
+ " `ts` field. For a plain, non-threaded message use **Post Message** instead."
|
|
16
15
|
+ " [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
17
|
-
version: "0.2.
|
|
16
|
+
version: "0.2.9",
|
|
18
17
|
annotations: {
|
|
19
18
|
destructiveHint: false,
|
|
20
19
|
openWorldHint: true,
|
|
21
20
|
readOnlyHint: false,
|
|
22
21
|
},
|
|
23
22
|
type: "action",
|
|
23
|
+
ai: "optimized",
|
|
24
24
|
props: {
|
|
25
25
|
slack: common.props.slack,
|
|
26
26
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import utils from "../../common/utils.mjs";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -15,8 +14,9 @@ export default {
|
|
|
15
14
|
+ " omitted when no mention carried a name."
|
|
16
15
|
+ " Do NOT splice a name back inline: Slack renders `<@U123|Name>` as literal text, not a mention."
|
|
17
16
|
+ " [See the documentation](https://api.slack.com/methods/assistant.search.context)",
|
|
18
|
-
version: "0.1.
|
|
17
|
+
version: "0.1.1",
|
|
19
18
|
type: "action",
|
|
19
|
+
ai: "optimized",
|
|
20
20
|
annotations: {
|
|
21
21
|
destructiveHint: false,
|
|
22
22
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import buildBlocks from "../common/build-blocks.mjs";
|
|
3
2
|
import common from "../common/send-message.mjs";
|
|
4
3
|
|
|
@@ -8,13 +7,14 @@ export default {
|
|
|
8
7
|
key: "slack_v2-send-block-kit-message",
|
|
9
8
|
name: "Build and Send a Block Kit Message",
|
|
10
9
|
description: "Configure custom blocks and send to a channel, group, or user. [See the documentation](https://api.slack.com/tools/block-kit-builder).",
|
|
11
|
-
version: "0.5.
|
|
10
|
+
version: "0.5.9",
|
|
12
11
|
annotations: {
|
|
13
12
|
destructiveHint: false,
|
|
14
13
|
openWorldHint: true,
|
|
15
14
|
readOnlyHint: false,
|
|
16
15
|
},
|
|
17
16
|
type: "action",
|
|
17
|
+
ai: "optimized",
|
|
18
18
|
props: {
|
|
19
19
|
slack: common.props.slack,
|
|
20
20
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common from "../common/send-message.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -6,13 +5,14 @@ export default {
|
|
|
6
5
|
key: "slack_v2-send-large-message",
|
|
7
6
|
name: "Send a Large Message (3000+ characters)",
|
|
8
7
|
description: "Send a large message (more than 3000 characters) to a channel, group or user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
|
|
9
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.9",
|
|
10
9
|
annotations: {
|
|
11
10
|
destructiveHint: false,
|
|
12
11
|
openWorldHint: true,
|
|
13
12
|
readOnlyHint: false,
|
|
14
13
|
},
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
props: {
|
|
17
17
|
slack: common.props.slack,
|
|
18
18
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common from "../common/send-message.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
|
|
@@ -7,13 +6,14 @@ export default {
|
|
|
7
6
|
key: "slack_v2-send-message",
|
|
8
7
|
name: "Send Message",
|
|
9
8
|
description: "Send a message to a user, group, private channel or public channel. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
10
|
-
version: "0.2.
|
|
9
|
+
version: "0.2.2",
|
|
11
10
|
annotations: {
|
|
12
11
|
destructiveHint: false,
|
|
13
12
|
openWorldHint: true,
|
|
14
13
|
readOnlyHint: false,
|
|
15
14
|
},
|
|
16
15
|
type: "action",
|
|
16
|
+
ai: "optimized",
|
|
17
17
|
props: {
|
|
18
18
|
slack: common.props.slack,
|
|
19
19
|
channelType: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import { ConfigurationError } from "@pipedream/platform";
|
|
3
2
|
import common from "../common/send-message.mjs";
|
|
4
3
|
import buildBlocks from "../common/build-blocks.mjs";
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
key: "slack_v2-send-message-advanced",
|
|
10
9
|
name: "Send Message (Advanced)",
|
|
11
10
|
description: "Customize advanced settings and send a message to a channel, group or user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
|
|
12
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.9",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: false,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
slack: common.props.slack,
|
|
21
21
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common from "../common/send-message.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " replies and unfurl settings. Use this tool only if a workflow specifically needs to"
|
|
13
12
|
+ " target a channel exclusively, without the user/group support **Post Message** offers."
|
|
14
13
|
+ " [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
15
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.2",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: false,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: false,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
props: {
|
|
23
23
|
slack: common.props.slack,
|
|
24
24
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common from "../common/send-message.mjs";
|
|
3
2
|
import { ConfigurationError } from "@pipedream/platform";
|
|
4
3
|
|
|
@@ -7,13 +6,14 @@ export default {
|
|
|
7
6
|
key: "slack_v2-send-message-to-user-or-group",
|
|
8
7
|
name: "Send Message to User or Group",
|
|
9
8
|
description: "Send a message to a user or group. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
10
|
-
version: "0.2.
|
|
9
|
+
version: "0.2.2",
|
|
11
10
|
annotations: {
|
|
12
11
|
destructiveHint: false,
|
|
13
12
|
openWorldHint: true,
|
|
14
13
|
readOnlyHint: false,
|
|
15
14
|
},
|
|
16
15
|
type: "action",
|
|
16
|
+
ai: "optimized",
|
|
17
17
|
props: {
|
|
18
18
|
slack: common.props.slack,
|
|
19
19
|
users: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-set-channel-description",
|
|
6
5
|
name: "Set Channel Description",
|
|
7
6
|
description: "Change the description or purpose of a channel. [See the documentation](https://api.slack.com/methods/conversations.setPurpose)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.19",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: false,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-set-channel-topic",
|
|
6
5
|
name: "Set Channel Topic",
|
|
7
6
|
description: "Set the topic on a channel, specified by ID or by name — names are resolved automatically. [See the documentation](https://api.slack.com/methods/conversations.setTopic)",
|
|
8
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.4",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-set-status",
|
|
6
5
|
name: "Set Status",
|
|
7
6
|
description: "Set the current status for a user. [See the documentation](https://api.slack.com/methods/users.profile.set)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.18",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
statusText: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-update-group-members",
|
|
6
5
|
name: "Update Group Members",
|
|
7
6
|
description: "Update the list of users for a User Group. [See the documentation](https://api.slack.com/methods/usergroups.users.update)",
|
|
8
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.19",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
userGroup: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
key: "slack_v2-update-message",
|
|
6
5
|
name: "Update Message",
|
|
7
6
|
description: "Update a message. [See the documentation](https://api.slack.com/methods/chat.update)",
|
|
8
|
-
version: "0.2.
|
|
7
|
+
version: "0.2.9",
|
|
9
8
|
annotations: {
|
|
10
9
|
destructiveHint: true,
|
|
11
10
|
openWorldHint: true,
|
|
12
11
|
readOnlyHint: false,
|
|
13
12
|
},
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
props: {
|
|
16
16
|
slack,
|
|
17
17
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import slack from "../../slack_v2.app.mjs";
|
|
3
2
|
import { ConfigurationError } from "@pipedream/platform";
|
|
4
3
|
|
|
@@ -6,13 +5,14 @@ export default {
|
|
|
6
5
|
key: "slack_v2-update-profile",
|
|
7
6
|
name: "Update Profile",
|
|
8
7
|
description: "Update basic profile field such as name or title. [See the documentation](https://api.slack.com/methods/users.profile.set)",
|
|
9
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.34",
|
|
10
9
|
annotations: {
|
|
11
10
|
destructiveHint: true,
|
|
12
11
|
openWorldHint: true,
|
|
13
12
|
readOnlyHint: false,
|
|
14
13
|
},
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
props: {
|
|
17
17
|
slack,
|
|
18
18
|
displayName: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import {
|
|
3
2
|
ConfigurationError, axios, getFileStreamAndMetadata,
|
|
4
3
|
} from "@pipedream/platform";
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
key: "slack_v2-upload-file",
|
|
10
9
|
name: "Upload File",
|
|
11
10
|
description: "Upload a file. [See the documentation](https://api.slack.com/messaging/files#uploading_files)",
|
|
12
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.13",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: false,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
slack,
|
|
21
21
|
conversation: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import crypto from "crypto";
|
|
3
2
|
import slack from "../../slack_v2.app.mjs";
|
|
4
3
|
|
|
@@ -6,13 +5,14 @@ export default {
|
|
|
6
5
|
key: "slack_v2-verify-slack-signature",
|
|
7
6
|
name: "Verify Slack Signature",
|
|
8
7
|
description: "Verifying requests from Slack, slack signs its requests using a secret that's unique to your app. `Request Body` must be the raw request body as a string (not a parsed object) — Slack computes its signature over the exact raw bytes it sent, so re-serializing a parsed object will not match. [See the documentation](https://api.slack.com/authentication/verifying-requests-from-slack)",
|
|
9
|
-
version: "1.0.
|
|
8
|
+
version: "1.0.2",
|
|
10
9
|
annotations: {
|
|
11
10
|
destructiveHint: false,
|
|
12
11
|
openWorldHint: true,
|
|
13
12
|
readOnlyHint: true,
|
|
14
13
|
},
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
props: {
|
|
17
17
|
slack,
|
|
18
18
|
slackSigningSecret: {
|