@frogbotai/piece-slack 0.20.0 → 0.22.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +28 -28
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -3,60 +3,60 @@ export declare const slackActions: readonly ["slack-add-reaction-to-message", "s
3
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
4
  export declare function createSlack(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
5
5
  /** Add Reaction to Message: Add an emoji reaction to a message. */
6
- slackAddReactionToMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
6
+ slackAddReactionToMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
7
7
  /** Send Message To A User: Send message to a user */
8
- sendDirectMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
8
+ sendDirectMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
9
9
  /** Send Message To A Channel: Send message to a channel */
10
- sendChannelMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
10
+ sendChannelMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
11
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;
12
+ requestApprovalDirectMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
13
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;
14
+ requestApprovalMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
15
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;
16
+ requestActionDirectMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
17
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;
18
+ requestActionMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
19
19
  /** Upload file: Upload file without sharing it to a channel or user */
20
- uploadFile: import("node_modules/frogbot/dist/types/tool").AnyTool;
20
+ uploadFile: import("node_modules/frogbot/dist/tools/types").AnyTool;
21
21
  /** Get File: Return information about a given file ID. */
22
- getFile: import("node_modules/frogbot/dist/types/tool").AnyTool;
22
+ getFile: import("node_modules/frogbot/dist/tools/types").AnyTool;
23
23
  /** Search messages: Searches for messages matching a query */
24
- searchMessages: import("node_modules/frogbot/dist/types/tool").AnyTool;
24
+ searchMessages: import("node_modules/frogbot/dist/tools/types").AnyTool;
25
25
  /** Find User by Email: Finds a user by matching against their email address. */
26
- slackFindUserByEmail: import("node_modules/frogbot/dist/types/tool").AnyTool;
26
+ slackFindUserByEmail: import("node_modules/frogbot/dist/tools/types").AnyTool;
27
27
  /** Find User by Handle: Finds a user by matching against their Slack handle. */
28
- slackFindUserByHandle: import("node_modules/frogbot/dist/types/tool").AnyTool;
28
+ slackFindUserByHandle: import("node_modules/frogbot/dist/tools/types").AnyTool;
29
29
  /** Find User by ID: Finds a user by their ID. */
30
- findUserById: import("node_modules/frogbot/dist/types/tool").AnyTool;
30
+ findUserById: import("node_modules/frogbot/dist/tools/types").AnyTool;
31
31
  /** List users: List all users of the workspace */
32
- listUsers: import("node_modules/frogbot/dist/types/tool").AnyTool;
32
+ listUsers: import("node_modules/frogbot/dist/tools/types").AnyTool;
33
33
  /** Update message: Update an existing message */
34
- updateMessage: import("node_modules/frogbot/dist/types/tool").AnyTool;
34
+ updateMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
35
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;
36
+ deleteMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
37
37
  /** Create Channel: Creates a new channel. */
38
- slackCreateChannel: import("node_modules/frogbot/dist/types/tool").AnyTool;
38
+ slackCreateChannel: import("node_modules/frogbot/dist/tools/types").AnyTool;
39
39
  /** Update Profile: Update basic profile field such as name or title. */
40
- slackUpdateProfile: import("node_modules/frogbot/dist/types/tool").AnyTool;
40
+ slackUpdateProfile: import("node_modules/frogbot/dist/tools/types").AnyTool;
41
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;
42
+ getChannelHistory: import("node_modules/frogbot/dist/tools/types").AnyTool;
43
43
  /** Set User Status: Sets a user's custom status */
44
- slackSetUserStatus: import("node_modules/frogbot/dist/types/tool").AnyTool;
44
+ slackSetUserStatus: import("node_modules/frogbot/dist/tools/types").AnyTool;
45
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;
46
+ markdownToSlackFormat: import("node_modules/frogbot/dist/tools/types").AnyTool;
47
47
  /** Retrieve Thread Messages: Retrieves thread messages by channel and thread timestamp. */
48
- retrieveThreadMessages: import("node_modules/frogbot/dist/types/tool").AnyTool;
48
+ retrieveThreadMessages: import("node_modules/frogbot/dist/tools/types").AnyTool;
49
49
  /** Set Channel Topic: Sets the topic on a selected channel. */
50
- setChannelTopic: import("node_modules/frogbot/dist/types/tool").AnyTool;
50
+ setChannelTopic: import("node_modules/frogbot/dist/tools/types").AnyTool;
51
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;
52
+ getMessage: import("node_modules/frogbot/dist/tools/types").AnyTool;
53
53
  /** Invite User to Channel: Invites an existing User to an existing channel. */
54
- inviteUserToChannel: import("node_modules/frogbot/dist/types/tool").AnyTool;
54
+ inviteUserToChannel: import("node_modules/frogbot/dist/tools/types").AnyTool;
55
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;
56
+ getGroupByHandle: import("node_modules/frogbot/dist/tools/types").AnyTool;
57
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;
58
+ updateGroupUsers: import("node_modules/frogbot/dist/tools/types").AnyTool;
59
59
  /** Custom API Call: Make a custom API call to a specific endpoint */
60
- customApiCall: import("node_modules/frogbot/dist/types/tool").AnyTool;
60
+ customApiCall: import("node_modules/frogbot/dist/tools/types").AnyTool;
61
61
  };
62
62
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-slack",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Slack tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -27,11 +27,11 @@
27
27
  "@activepieces/piece-slack": "0.17.3"
28
28
  },
29
29
  "peerDependencies": {
30
- "frogbot": "0.20.0"
30
+ "frogbot": "0.22.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "5.6.2",
34
- "frogbot": "0.20.0"
34
+ "frogbot": "0.22.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"