@crvouga/mockingbird-service-slack 3.0.0 → 3.2.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/API_EVIDENCE.md +3 -0
- package/CHANGELOG.md +16 -4
- package/DISCOVERY.md +2 -2
- package/LICENSE_EMULATE +202 -0
- package/README.md +5 -5
- package/SUPPORT.md +57 -3
- package/THIRD_PARTY_NOTICES.md +39 -0
- package/dist/{chunk-2ZQBOVGT.js → chunk-B4MV67Z4.js} +9500 -2841
- package/dist/chunk-B4MV67Z4.js.map +7 -0
- package/dist/{chunk-325Y6PNO.js → chunk-IM5DJEPT.js} +61 -7
- package/dist/chunk-IM5DJEPT.js.map +7 -0
- package/dist/chunk-M73LWCCP.js +67 -0
- package/dist/chunk-M73LWCCP.js.map +7 -0
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/crypto-I5AVO7Q3.js +15 -0
- package/dist/crypto-I5AVO7Q3.js.map +7 -0
- package/dist/helpers-BMHFVPFA.js +86 -0
- package/dist/helpers-BMHFVPFA.js.map +7 -0
- package/dist/index.d.ts +235 -52
- package/dist/index.js +2 -1
- package/dist/server.d.ts +315 -114
- package/dist/server.js +3 -2
- package/openapi.yaml +4081 -1945
- package/package.json +15 -6
- package/routes.json +72 -0
- package/dist/chunk-2ZQBOVGT.js.map +0 -7
- package/dist/chunk-325Y6PNO.js.map +0 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-slack",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "Stateful
|
|
3
|
+
"version": "3.2.0",
|
|
4
|
+
"description": "Stateful emulator of Slack incoming webhooks, the Web API, and the Socket Mode control plane, with an outbox of every alert the app sent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
"CHANGELOG.md",
|
|
12
12
|
"DISCOVERY.md",
|
|
13
13
|
"SUPPORT.md",
|
|
14
|
-
"openapi.yaml"
|
|
14
|
+
"openapi.yaml",
|
|
15
|
+
"LICENSE_EMULATE",
|
|
16
|
+
"THIRD_PARTY_NOTICES.md",
|
|
17
|
+
"routes.json",
|
|
18
|
+
"API_EVIDENCE.md"
|
|
15
19
|
],
|
|
16
20
|
"main": "./dist/index.js",
|
|
17
21
|
"types": "./dist/index.d.ts",
|
|
@@ -96,8 +100,12 @@
|
|
|
96
100
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
97
101
|
},
|
|
98
102
|
"dependencies": {
|
|
99
|
-
"@crvouga/mockingbird-service-sqlite": "3.
|
|
100
|
-
"hono": "4.11.9"
|
|
103
|
+
"@crvouga/mockingbird-service-sqlite": "3.2.0",
|
|
104
|
+
"hono": "4.11.9",
|
|
105
|
+
"buffer": "6.0.3",
|
|
106
|
+
"@noble/hashes": "2.4.0",
|
|
107
|
+
"jose": "6.2.2",
|
|
108
|
+
"graphql": "17.0.0"
|
|
101
109
|
},
|
|
102
110
|
"devDependencies": {
|
|
103
111
|
"@crvouga/mockingbird-adapter-node": "0.0.0-development",
|
|
@@ -115,6 +123,7 @@
|
|
|
115
123
|
"@slack/bolt": "4.4.0",
|
|
116
124
|
"@slack/socket-mode": "2.0.4",
|
|
117
125
|
"@slack/web-api": "7.9.3",
|
|
118
|
-
"fast-check": "4.9.0"
|
|
126
|
+
"fast-check": "4.9.0",
|
|
127
|
+
"@crvouga/mockingbird-http-provider": "0.0.0-development"
|
|
119
128
|
}
|
|
120
129
|
}
|
package/routes.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
[
|
|
2
|
+
"GET /",
|
|
3
|
+
"GET /api/chat.getPermalink",
|
|
4
|
+
"GET /api/files.info",
|
|
5
|
+
"GET /api/files.list",
|
|
6
|
+
"GET /api/pins.list",
|
|
7
|
+
"GET /api/users.getPresence",
|
|
8
|
+
"GET /api/users.profile.get",
|
|
9
|
+
"GET /files-pri/:fileId/:filename",
|
|
10
|
+
"GET /oauth/v2/authorize",
|
|
11
|
+
"POST /api/auth.test",
|
|
12
|
+
"POST /api/bookmarks.add",
|
|
13
|
+
"POST /api/bookmarks.edit",
|
|
14
|
+
"POST /api/bookmarks.list",
|
|
15
|
+
"POST /api/bookmarks.remove",
|
|
16
|
+
"POST /api/bots.info",
|
|
17
|
+
"POST /api/chat.delete",
|
|
18
|
+
"POST /api/chat.deleteScheduledMessage",
|
|
19
|
+
"POST /api/chat.getPermalink",
|
|
20
|
+
"POST /api/chat.meMessage",
|
|
21
|
+
"POST /api/chat.postEphemeral",
|
|
22
|
+
"POST /api/chat.postMessage",
|
|
23
|
+
"POST /api/chat.scheduleMessage",
|
|
24
|
+
"POST /api/chat.scheduledMessages.list",
|
|
25
|
+
"POST /api/chat.update",
|
|
26
|
+
"POST /api/conversations.archive",
|
|
27
|
+
"POST /api/conversations.close",
|
|
28
|
+
"POST /api/conversations.create",
|
|
29
|
+
"POST /api/conversations.history",
|
|
30
|
+
"POST /api/conversations.info",
|
|
31
|
+
"POST /api/conversations.invite",
|
|
32
|
+
"POST /api/conversations.join",
|
|
33
|
+
"POST /api/conversations.kick",
|
|
34
|
+
"POST /api/conversations.leave",
|
|
35
|
+
"POST /api/conversations.list",
|
|
36
|
+
"POST /api/conversations.mark",
|
|
37
|
+
"POST /api/conversations.members",
|
|
38
|
+
"POST /api/conversations.open",
|
|
39
|
+
"POST /api/conversations.rename",
|
|
40
|
+
"POST /api/conversations.replies",
|
|
41
|
+
"POST /api/conversations.setPurpose",
|
|
42
|
+
"POST /api/conversations.setTopic",
|
|
43
|
+
"POST /api/conversations.unarchive",
|
|
44
|
+
"POST /api/files.completeUploadExternal",
|
|
45
|
+
"POST /api/files.delete",
|
|
46
|
+
"POST /api/files.getUploadURLExternal",
|
|
47
|
+
"POST /api/files.info",
|
|
48
|
+
"POST /api/files.list",
|
|
49
|
+
"POST /api/oauth.v2.access",
|
|
50
|
+
"POST /api/pins.add",
|
|
51
|
+
"POST /api/pins.list",
|
|
52
|
+
"POST /api/pins.remove",
|
|
53
|
+
"POST /api/reactions.add",
|
|
54
|
+
"POST /api/reactions.get",
|
|
55
|
+
"POST /api/reactions.remove",
|
|
56
|
+
"POST /api/team.info",
|
|
57
|
+
"POST /api/users.getPresence",
|
|
58
|
+
"POST /api/users.info",
|
|
59
|
+
"POST /api/users.list",
|
|
60
|
+
"POST /api/users.lookupByEmail",
|
|
61
|
+
"POST /api/users.profile.get",
|
|
62
|
+
"POST /api/users.profile.set",
|
|
63
|
+
"POST /api/users.setPresence",
|
|
64
|
+
"POST /api/views.generateTriggerId",
|
|
65
|
+
"POST /api/views.open",
|
|
66
|
+
"POST /api/views.publish",
|
|
67
|
+
"POST /api/views.push",
|
|
68
|
+
"POST /api/views.update",
|
|
69
|
+
"POST /oauth/v2/authorize/callback",
|
|
70
|
+
"POST /services/:teamId/:botId/:token",
|
|
71
|
+
"POST /upload/v1/:fileId"
|
|
72
|
+
]
|