@frogbotai/piece-slack 0.5.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/LICENSE +21 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +115 -0
- package/dist/index.js.map +1 -0
- package/package.json +44 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 FrogBot
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type PieceFactoryConfig } from "frogbot/pieces";
|
|
2
|
+
export declare const slackActions: readonly ["slack-add-reaction-to-message", "send_direct_message", "send_channel_message", "uploadFile", "get-file", "searchMessages", "slack-find-user-by-email", "find-user-by-id", "updateMessage", "delete-message"];
|
|
3
|
+
export declare const slackScopes: readonly ["channels:read", "channels:manage", "channels:history", "chat:write", "groups:read", "groups:write", "groups:history", "reactions:read", "mpim:read", "mpim:write", "mpim:history", "im:write", "im:read", "im:history", "users:read", "files:write", "files:read", "users:read.email", "reactions:write", "usergroups:read", "usergroups:write", "chat:write.customize", "links:read", "links:write", "emoji:read", "users.profile:read", "channels:write.invites", "groups:write.invites", "channels:join", "conversations.connect:write"];
|
|
4
|
+
export declare function createSlack(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
|
|
5
|
+
/** Add Reaction to Message: Add an emoji reaction to a message. */
|
|
6
|
+
slackAddReactionToMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
7
|
+
/** Send Message To A User: Send message to a user */
|
|
8
|
+
sendDirectMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
9
|
+
/** Send Message To A Channel: Send message to a channel */
|
|
10
|
+
sendChannelMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
11
|
+
/** Request Approval from A User: Send approval message to a user and then wait until the message is approved or disapproved */
|
|
12
|
+
requestApprovalDirectMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
13
|
+
/** Request Approval in a Channel: Send approval message to a channel and then wait until the message is approved or disapproved */
|
|
14
|
+
requestApprovalMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
15
|
+
/** Request Action from A User: Send a message to a user and wait until the user selects an action */
|
|
16
|
+
requestActionDirectMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
17
|
+
/** Request Action in A Channel: Send a message in a channel and wait until an action is selected */
|
|
18
|
+
requestActionMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
19
|
+
/** Upload file: Upload file without sharing it to a channel or user */
|
|
20
|
+
uploadFile: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
21
|
+
/** Get File: Return information about a given file ID. */
|
|
22
|
+
getFile: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
23
|
+
/** Search messages: Searches for messages matching a query */
|
|
24
|
+
searchMessages: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
25
|
+
/** Find User by Email: Finds a user by matching against their email address. */
|
|
26
|
+
slackFindUserByEmail: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
27
|
+
/** Find User by Handle: Finds a user by matching against their Slack handle. */
|
|
28
|
+
slackFindUserByHandle: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
29
|
+
/** Find User by ID: Finds a user by their ID. */
|
|
30
|
+
findUserById: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
31
|
+
/** List users: List all users of the workspace */
|
|
32
|
+
listUsers: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
33
|
+
/** Update message: Update an existing message */
|
|
34
|
+
updateMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
35
|
+
/** Delete Message: Deletes a specific message from a channel using the message's timestamp. */
|
|
36
|
+
deleteMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
37
|
+
/** Create Channel: Creates a new channel. */
|
|
38
|
+
slackCreateChannel: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
39
|
+
/** Update Profile: Update basic profile field such as name or title. */
|
|
40
|
+
slackUpdateProfile: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
41
|
+
/** Get channel history: Retrieve all messages from a specific channel ("conversation") between specified timestamps */
|
|
42
|
+
getChannelHistory: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
43
|
+
/** Set User Status: Sets a user's custom status */
|
|
44
|
+
slackSetUserStatus: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
45
|
+
/** Markdown to Slack format: Convert Markdown-formatted text to Slack's pseudo - markdown syntax */
|
|
46
|
+
markdownToSlackFormat: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
47
|
+
/** Retrieve Thread Messages: Retrieves thread messages by channel and thread timestamp. */
|
|
48
|
+
retrieveThreadMessages: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
49
|
+
/** Set Channel Topic: Sets the topic on a selected channel. */
|
|
50
|
+
setChannelTopic: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
51
|
+
/** Get Message by Timestamp: Retrieves a specific message from a channel history using the message's timestamp. */
|
|
52
|
+
getMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
53
|
+
/** Invite User to Channel: Invites an existing User to an existing channel. */
|
|
54
|
+
inviteUserToChannel: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
55
|
+
/** Get User Group by Handle: Finds a Slack user group by its handle (e.g., @user-group) and returns its details. To mention this group in a message, map the returned ID using the syntax <!subteam^ID>. Read more: https://api.slack.com/reference/surfaces/formatting#mentioning-groups */
|
|
56
|
+
getGroupByHandle: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
57
|
+
/** Update User Group Members: Add users to or overwrite the member list of a Slack user group. */
|
|
58
|
+
updateGroupUsers: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
59
|
+
/** Custom API Call: Make a custom API call to a specific endpoint */
|
|
60
|
+
customApiCall: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,eAAO,MAAM,YAAY,yNAWf,CAAC;AACX,eAAO,MAAM,WAAW,whBA+Bd,CAAC;AAEX,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,kBAAkB;IAUnD,mEAAmE;;IAEnE,qDAAqD;;IAErD,2DAA2D;;IAE3D,+HAA+H;;IAE/H,mIAAmI;;IAEnI,qGAAqG;;IAErG,oGAAoG;;IAEpG,uEAAuE;;IAEvE,0DAA0D;;IAE1D,8DAA8D;;IAE9D,gFAAgF;;IAEhF,gFAAgF;;IAEhF,iDAAiD;;IAEjD,kDAAkD;;IAElD,iDAAiD;;IAEjD,+FAA+F;;IAE/F,6CAA6C;;IAE7C,wEAAwE;;IAExE,uHAAuH;;IAEvH,mDAAmD;;IAEnD,oGAAoG;;IAEpG,2FAA2F;;IAE3F,+DAA+D;;IAE/D,mHAAmH;;IAEnH,+EAA+E;;IAE/E,6RAA6R;;IAE7R,kGAAkG;;IAElG,qEAAqE;;EAGxE"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as module from "@activepieces/piece-slack";
|
|
2
|
+
import { createActivepiecesPiece } from "frogbot/pieces";
|
|
3
|
+
export const slackActions = [
|
|
4
|
+
"slack-add-reaction-to-message",
|
|
5
|
+
"send_direct_message",
|
|
6
|
+
"send_channel_message",
|
|
7
|
+
"uploadFile",
|
|
8
|
+
"get-file",
|
|
9
|
+
"searchMessages",
|
|
10
|
+
"slack-find-user-by-email",
|
|
11
|
+
"find-user-by-id",
|
|
12
|
+
"updateMessage",
|
|
13
|
+
"delete-message",
|
|
14
|
+
];
|
|
15
|
+
export const slackScopes = [
|
|
16
|
+
"channels:read",
|
|
17
|
+
"channels:manage",
|
|
18
|
+
"channels:history",
|
|
19
|
+
"chat:write",
|
|
20
|
+
"groups:read",
|
|
21
|
+
"groups:write",
|
|
22
|
+
"groups:history",
|
|
23
|
+
"reactions:read",
|
|
24
|
+
"mpim:read",
|
|
25
|
+
"mpim:write",
|
|
26
|
+
"mpim:history",
|
|
27
|
+
"im:write",
|
|
28
|
+
"im:read",
|
|
29
|
+
"im:history",
|
|
30
|
+
"users:read",
|
|
31
|
+
"files:write",
|
|
32
|
+
"files:read",
|
|
33
|
+
"users:read.email",
|
|
34
|
+
"reactions:write",
|
|
35
|
+
"usergroups:read",
|
|
36
|
+
"usergroups:write",
|
|
37
|
+
"chat:write.customize",
|
|
38
|
+
"links:read",
|
|
39
|
+
"links:write",
|
|
40
|
+
"emoji:read",
|
|
41
|
+
"users.profile:read",
|
|
42
|
+
"channels:write.invites",
|
|
43
|
+
"groups:write.invites",
|
|
44
|
+
"channels:join",
|
|
45
|
+
"conversations.connect:write"
|
|
46
|
+
];
|
|
47
|
+
export function createSlack(config) {
|
|
48
|
+
const piece = createActivepiecesPiece({
|
|
49
|
+
module: module,
|
|
50
|
+
service: "slack",
|
|
51
|
+
credentialType: "oauth2",
|
|
52
|
+
defaultActions: slackActions,
|
|
53
|
+
scopes: slackScopes,
|
|
54
|
+
config,
|
|
55
|
+
});
|
|
56
|
+
return Object.assign(piece, {
|
|
57
|
+
/** Add Reaction to Message: Add an emoji reaction to a message. */
|
|
58
|
+
slackAddReactionToMessage: piece.tool("slack-add-reaction-to-message"),
|
|
59
|
+
/** Send Message To A User: Send message to a user */
|
|
60
|
+
sendDirectMessage: piece.tool("send_direct_message"),
|
|
61
|
+
/** Send Message To A Channel: Send message to a channel */
|
|
62
|
+
sendChannelMessage: piece.tool("send_channel_message"),
|
|
63
|
+
/** Request Approval from A User: Send approval message to a user and then wait until the message is approved or disapproved */
|
|
64
|
+
requestApprovalDirectMessage: piece.tool("request_approval_direct_message"),
|
|
65
|
+
/** Request Approval in a Channel: Send approval message to a channel and then wait until the message is approved or disapproved */
|
|
66
|
+
requestApprovalMessage: piece.tool("request_approval_message"),
|
|
67
|
+
/** Request Action from A User: Send a message to a user and wait until the user selects an action */
|
|
68
|
+
requestActionDirectMessage: piece.tool("request_action_direct_message"),
|
|
69
|
+
/** Request Action in A Channel: Send a message in a channel and wait until an action is selected */
|
|
70
|
+
requestActionMessage: piece.tool("request_action_message"),
|
|
71
|
+
/** Upload file: Upload file without sharing it to a channel or user */
|
|
72
|
+
uploadFile: piece.tool("uploadFile"),
|
|
73
|
+
/** Get File: Return information about a given file ID. */
|
|
74
|
+
getFile: piece.tool("get-file"),
|
|
75
|
+
/** Search messages: Searches for messages matching a query */
|
|
76
|
+
searchMessages: piece.tool("searchMessages"),
|
|
77
|
+
/** Find User by Email: Finds a user by matching against their email address. */
|
|
78
|
+
slackFindUserByEmail: piece.tool("slack-find-user-by-email"),
|
|
79
|
+
/** Find User by Handle: Finds a user by matching against their Slack handle. */
|
|
80
|
+
slackFindUserByHandle: piece.tool("slack-find-user-by-handle"),
|
|
81
|
+
/** Find User by ID: Finds a user by their ID. */
|
|
82
|
+
findUserById: piece.tool("find-user-by-id"),
|
|
83
|
+
/** List users: List all users of the workspace */
|
|
84
|
+
listUsers: piece.tool("listUsers"),
|
|
85
|
+
/** Update message: Update an existing message */
|
|
86
|
+
updateMessage: piece.tool("updateMessage"),
|
|
87
|
+
/** Delete Message: Deletes a specific message from a channel using the message's timestamp. */
|
|
88
|
+
deleteMessage: piece.tool("delete-message"),
|
|
89
|
+
/** Create Channel: Creates a new channel. */
|
|
90
|
+
slackCreateChannel: piece.tool("slack-create-channel"),
|
|
91
|
+
/** Update Profile: Update basic profile field such as name or title. */
|
|
92
|
+
slackUpdateProfile: piece.tool("slack-update-profile"),
|
|
93
|
+
/** Get channel history: Retrieve all messages from a specific channel ("conversation") between specified timestamps */
|
|
94
|
+
getChannelHistory: piece.tool("getChannelHistory"),
|
|
95
|
+
/** Set User Status: Sets a user's custom status */
|
|
96
|
+
slackSetUserStatus: piece.tool("slack-set-user-status"),
|
|
97
|
+
/** Markdown to Slack format: Convert Markdown-formatted text to Slack's pseudo - markdown syntax */
|
|
98
|
+
markdownToSlackFormat: piece.tool("markdownToSlackFormat"),
|
|
99
|
+
/** Retrieve Thread Messages: Retrieves thread messages by channel and thread timestamp. */
|
|
100
|
+
retrieveThreadMessages: piece.tool("retrieveThreadMessages"),
|
|
101
|
+
/** Set Channel Topic: Sets the topic on a selected channel. */
|
|
102
|
+
setChannelTopic: piece.tool("set-channel-topic"),
|
|
103
|
+
/** Get Message by Timestamp: Retrieves a specific message from a channel history using the message's timestamp. */
|
|
104
|
+
getMessage: piece.tool("get-message"),
|
|
105
|
+
/** Invite User to Channel: Invites an existing User to an existing channel. */
|
|
106
|
+
inviteUserToChannel: piece.tool("invite-user-to-channel"),
|
|
107
|
+
/** Get User Group by Handle: Finds a Slack user group by its handle (e.g., @user-group) and returns its details. To mention this group in a message, map the returned ID using the syntax <!subteam^ID>. Read more: https://api.slack.com/reference/surfaces/formatting#mentioning-groups */
|
|
108
|
+
getGroupByHandle: piece.tool("get_group_by_handle"),
|
|
109
|
+
/** Update User Group Members: Add users to or overwrite the member list of a Slack user group. */
|
|
110
|
+
updateGroupUsers: piece.tool("update_group_users"),
|
|
111
|
+
/** Custom API Call: Make a custom API call to a specific endpoint */
|
|
112
|
+
customApiCall: piece.tool("custom_api_call"),
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAA2B,MAAM,gBAAgB,CAAC;AAElF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,+BAA+B;IAC/B,qBAAqB;IACrB,sBAAsB;IACtB,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,0BAA0B;IAC1B,iBAAiB;IACjB,eAAe;IACf,gBAAgB;CACR,CAAC;AACX,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,cAAc;IACd,UAAU;IACV,SAAS;IACT,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,k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CAAC,CAAC;AACL,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@frogbotai/piece-slack",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Slack tools for FrogBot.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Colby Gilbert",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/frogbotai/frogbot.git",
|
|
10
|
+
"directory": "packages/pieces/piece-slack"
|
|
11
|
+
},
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"default": "./dist/index.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@activepieces/piece-slack": "0.17.3"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"frogbot": "0.5.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"typescript": "5.6.2",
|
|
34
|
+
"frogbot": "0.5.0"
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsc -p tsconfig.json",
|
|
41
|
+
"clean": "rm -rf dist",
|
|
42
|
+
"typecheck": "tsc --noEmit"
|
|
43
|
+
}
|
|
44
|
+
}
|