@activepieces/piece-slack 0.10.19 → 0.11.1

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/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "name": "@activepieces/piece-slack",
3
- "version": "0.10.19",
3
+ "version": "0.11.1",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.34.11",
6
6
  "@slack/web-api": "7.9.0",
7
7
  "axios": "1.13.1",
8
8
  "axios-retry": "4.4.1",
9
9
  "deepmerge-ts": "7.1.0",
10
+ "form-data": "4.0.4",
10
11
  "mime-types": "2.1.35",
11
12
  "nanoid": "3.3.8",
12
13
  "semver": "7.6.0",
13
14
  "slackify-markdown": "4.4.0",
14
15
  "socket.io-client": "4.8.1",
15
16
  "zod": "4.1.13",
16
- "@activepieces/pieces-common": "0.10.1",
17
- "@activepieces/pieces-framework": "0.22.2",
18
- "@activepieces/shared": "0.30.1",
17
+ "@activepieces/pieces-common": "0.11.1",
18
+ "@activepieces/pieces-framework": "0.23.0",
19
+ "@activepieces/shared": "0.30.4",
19
20
  "tslib": "2.6.2"
20
21
  },
21
22
  "resolutions": {
@@ -91,6 +91,7 @@
91
91
  "Method": "Method",
92
92
  "Headers": "Headers",
93
93
  "Query Parameters": "Query Parameters",
94
+ "Body Type": "Body Type",
94
95
  "Body": "Body",
95
96
  "Response is Binary ?": "Response is Binary ?",
96
97
  "No Error on Failure": "No Error on Failure",
@@ -105,7 +106,7 @@
105
106
  "If checked, adds a mention at the end of the Slack message to indicate which flow sent the notification, with a link to said flow.": "If checked, adds a mention at the end of the Slack message to indicate which flow sent the notification, with a link to said flow.",
106
107
  "See https://api.slack.com/block-kit for specs": "See https://api.slack.com/block-kit for specs",
107
108
  "Enable link unfurling for this message": "Enable link unfurling for this message",
108
- "The text of your message": "The text of your message",
109
+ "The text of your message. When using Block Kit blocks, this is used as a fallback for notifications.": "The text of your message. When using Block Kit blocks, this is used as a fallback for notifications.",
109
110
  "Provide the ts (timestamp) or link value of the **parent** message to make this message a reply. Do not use the ts value of the reply itself; use its parent instead. For example `1710304378.475129`.Alternatively, you can easily obtain the message link by clicking on the three dots next to the parent message and selecting the `Copy link` option.": "Provide the ts (timestamp) or link value of the **parent** message to make this message a reply. Do not use the ts value of the reply itself; use its parent instead. For example `1710304378.475129`.Alternatively, you can easily obtain the message link by clicking on the three dots next to the parent message and selecting the `Copy link` option.",
110
111
  "When replying to a thread, also make the message visible to everyone in the channel (only applicable when Thread Timestamp is provided)": "When replying to a thread, also make the message visible to everyone in the channel (only applicable when Thread Timestamp is provided)",
111
112
  "You can pass the file ID from the New Message Trigger payload.": "You can pass the file ID from the New Message Trigger payload.",
@@ -123,7 +124,7 @@
123
124
  "Provide the ts (timestamp) value of the **parent** message to retrieve replies of this message. Do not use the ts value of the reply itself; use its parent instead. For example `1710304378.475129`.Alternatively, you can easily obtain the message link by clicking on the three dots next to the parent message and selecting the `Copy link` option.": "Provide the ts (timestamp) value of the **parent** message to retrieve replies of this message. Do not use the ts value of the reply itself; use its parent instead. For example `1710304378.475129`.Alternatively, you can easily obtain the message link by clicking on the three dots next to the parent message and selecting the `Copy link` option.",
124
125
  "Please provide the timestamp of the message you wish to retrieve, such as `1710304378.475129`. Alternatively, you can easily obtain the message link by clicking on the three dots next to the message and selecting the `Copy link` option.": "Please provide the timestamp of the message you wish to retrieve, such as `1710304378.475129`. Alternatively, you can easily obtain the message link by clicking on the three dots next to the message and selecting the `Copy link` option.",
125
126
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
126
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
127
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
127
128
  "Use user token instead of bot token": "Use user token instead of bot token",
128
129
  "GET": "GET",
129
130
  "POST": "POST",
@@ -131,6 +132,10 @@
131
132
  "PUT": "PUT",
132
133
  "DELETE": "DELETE",
133
134
  "HEAD": "HEAD",
135
+ "None": "None",
136
+ "JSON": "JSON",
137
+ "Form Data": "Form Data",
138
+ "Raw": "Raw",
134
139
  "New Public Message Posted Anywhere": "New Public Message Posted Anywhere",
135
140
  "New Message Posted to Channel": "New Message Posted to Channel",
136
141
  "New Direct Message": "New Direct Message",
@@ -30,7 +30,7 @@ exports.getMessageAction = (0, pieces_framework_1.createAction)({
30
30
  const client = new web_api_1.WebClient(auth.access_token);
31
31
  return yield client.conversations.history({
32
32
  channel: propsValue.channel,
33
- latest: messageTimestamp,
33
+ oldest: messageTimestamp,
34
34
  limit: 1,
35
35
  inclusive: true,
36
36
  });