@activepieces/piece-slack 0.5.8 → 0.5.9
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-slack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@sinclair/typebox": "0.26.8",
|
|
6
6
|
"@slack/web-api": "7.0.4",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"nanoid": "3.3.6",
|
|
12
12
|
"semver": "7.6.0",
|
|
13
13
|
"@activepieces/pieces-common": "0.2.12",
|
|
14
|
-
"@activepieces/pieces-framework": "0.7.
|
|
14
|
+
"@activepieces/pieces-framework": "0.7.30",
|
|
15
15
|
"@activepieces/shared": "0.10.104",
|
|
16
16
|
"tslib": "1.14.1"
|
|
17
17
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const slackSendMessageAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
2
|
info: import("../../../../../../../dist/packages/pieces/community/framework/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
3
3
|
channel: import("@activepieces/pieces-framework").DropdownProperty<string, true>;
|
|
4
|
-
threadTs: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
5
4
|
text: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
6
5
|
username: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
7
6
|
profilePicture: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
8
7
|
file: import("@activepieces/pieces-framework").FileProperty<false>;
|
|
8
|
+
threadTs: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
9
9
|
blocks: import("@activepieces/pieces-framework").JsonProperty<false>;
|
|
10
10
|
}>;
|
|
@@ -14,11 +14,6 @@ exports.slackSendMessageAction = (0, pieces_framework_1.createAction)({
|
|
|
14
14
|
props: {
|
|
15
15
|
info: props_1.slackInfo,
|
|
16
16
|
channel: props_1.slackChannel,
|
|
17
|
-
threadTs: pieces_framework_1.Property.ShortText({
|
|
18
|
-
displayName: 'Thread ts',
|
|
19
|
-
description: 'Provide the ts (timestamp) 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`.',
|
|
20
|
-
required: false,
|
|
21
|
-
}),
|
|
22
17
|
text: pieces_framework_1.Property.LongText({
|
|
23
18
|
displayName: 'Message',
|
|
24
19
|
description: 'The text of your message',
|
|
@@ -30,6 +25,11 @@ exports.slackSendMessageAction = (0, pieces_framework_1.createAction)({
|
|
|
30
25
|
displayName: 'Attachment',
|
|
31
26
|
required: false,
|
|
32
27
|
}),
|
|
28
|
+
threadTs: pieces_framework_1.Property.ShortText({
|
|
29
|
+
displayName: 'Thread ts',
|
|
30
|
+
description: 'Provide the ts (timestamp) 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`.',
|
|
31
|
+
required: false,
|
|
32
|
+
}),
|
|
33
33
|
blocks: props_1.blocks,
|
|
34
34
|
},
|
|
35
35
|
run(context) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message-action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/slack/src/lib/actions/send-message-action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,2CAMyB;AACzB,2CAAmD;AACnD,8BAAmC;AAEtB,QAAA,sBAAsB,GAAG,IAAA,+BAAY,EAAC;IACjD,IAAI,EAAE,aAAS;IACf,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE;QACL,IAAI,EAAE,iBAAS;QACf,OAAO,EAAE,oBAAY;QACrB,
|
|
1
|
+
{"version":3,"file":"send-message-action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/slack/src/lib/actions/send-message-action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,2CAMyB;AACzB,2CAAmD;AACnD,8BAAmC;AAEtB,QAAA,sBAAsB,GAAG,IAAA,+BAAY,EAAC;IACjD,IAAI,EAAE,aAAS;IACf,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE;QACL,IAAI,EAAE,iBAAS;QACf,OAAO,EAAE,oBAAY;QACrB,IAAI,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACtB,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,0BAA0B;YACvC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAR,gBAAQ;QACR,cAAc,EAAd,sBAAc;QACd,IAAI,EAAE,2BAAQ,CAAC,IAAI,CAAC;YAClB,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,WAAW;YACxB,WAAW,EACT,gMAAgM;YAClM,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,MAAM,EAAN,cAAM;KACP;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC;YACxC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GACvE,OAAO,CAAC,UAAU,CAAC;YAErB,OAAO,IAAA,wBAAgB,EAAC;gBACtB,KAAK;gBACL,IAAI;gBACJ,QAAQ;gBACR,cAAc;gBACd,cAAc,EAAE,OAAO;gBACvB,QAAQ;gBACR,IAAI;gBACJ,MAAM;aACP,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|