@xapp/stentor-slack 1.43.34 → 1.43.38
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/lib/Types.d.ts +2 -2
- package/lib/models/UserMessage.d.ts +2 -2
- package/package.json +16 -16
package/lib/Types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Copyright (c) 2022, XAPPmedia */
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type SlackPlatform = "slack-platform";
|
|
3
|
+
export type SlackChannel = "slack-messages";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*! Copyright (c) 2022, XAPPmedia */
|
|
2
2
|
import { MessageEvent } from "@slack/bolt/dist/types/events/message-events";
|
|
3
3
|
import { BlockAction } from "@slack/bolt/dist/types/actions/block-action";
|
|
4
|
-
export
|
|
4
|
+
export type UserPayload = UserEventPayload | UserActionPayload;
|
|
5
5
|
export interface UserEventPayload extends EnvelopedEvent {
|
|
6
6
|
}
|
|
7
7
|
export interface UserActionPayload {
|
|
8
8
|
payload: string;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type UserMessage = UserEventMessage | UserActionMessage;
|
|
11
11
|
export interface UserActionMessage extends BlockAction {
|
|
12
12
|
_chat?: ChatAddOn;
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.43.
|
|
7
|
+
"version": "1.43.38",
|
|
8
8
|
"description": "Slack channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
"mocha": "10.2.0",
|
|
28
28
|
"sinon": "14.0.2",
|
|
29
29
|
"sinon-chai": "3.7.0",
|
|
30
|
-
"stentor-constants": "1.57.
|
|
31
|
-
"stentor-guards": "1.57.
|
|
32
|
-
"stentor-interaction-model": "1.57.
|
|
33
|
-
"stentor-locales": "1.57.
|
|
34
|
-
"stentor-logger": "1.57.
|
|
35
|
-
"stentor-media": "1.57.
|
|
36
|
-
"stentor-models": "1.57.
|
|
37
|
-
"stentor-request": "1.57.
|
|
38
|
-
"stentor-response": "1.57.
|
|
39
|
-
"stentor-utils": "1.57.
|
|
30
|
+
"stentor-constants": "1.57.39",
|
|
31
|
+
"stentor-guards": "1.57.39",
|
|
32
|
+
"stentor-interaction-model": "1.57.39",
|
|
33
|
+
"stentor-locales": "1.57.39",
|
|
34
|
+
"stentor-logger": "1.57.39",
|
|
35
|
+
"stentor-media": "1.57.39",
|
|
36
|
+
"stentor-models": "1.57.39",
|
|
37
|
+
"stentor-request": "1.57.39",
|
|
38
|
+
"stentor-response": "1.57.39",
|
|
39
|
+
"stentor-utils": "1.57.39",
|
|
40
40
|
"ts-node": "10.9.1",
|
|
41
|
-
"typescript": "4.
|
|
41
|
+
"typescript": "4.9.4",
|
|
42
42
|
"uuid": "9.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@xapp/patterns": "1.43.
|
|
46
|
-
"@xapp/stentor-actions-on-google": "1.43.
|
|
47
|
-
"@xapp/stentor-app": "1.43.
|
|
45
|
+
"@xapp/patterns": "1.43.38",
|
|
46
|
+
"@xapp/stentor-actions-on-google": "1.43.38",
|
|
47
|
+
"@xapp/stentor-app": "1.43.38",
|
|
48
48
|
"actions-on-google": "2.14.0",
|
|
49
49
|
"node-fetch": "2.6.7"
|
|
50
50
|
},
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"clean": "rm -rf ./lib/*",
|
|
66
66
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "20cf1f5889cc4a3ac7531b91178bc1ba63e1decd"
|
|
69
69
|
}
|