@im-more/dsh-slack 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/cordis.patch.yml +13 -0
- package/lib/index.js +2659 -0
- package/lib/index.js.map +1 -0
- package/lib/types/bot.d.ts +66 -0
- package/lib/types/bot.d.ts.map +1 -0
- package/lib/types/bot.js +165 -0
- package/lib/types/bot.js.map +1 -0
- package/lib/types/config.d.ts +49 -0
- package/lib/types/config.d.ts.map +1 -0
- package/lib/types/config.js +54 -0
- package/lib/types/config.js.map +1 -0
- package/lib/types/decode.d.ts +126 -0
- package/lib/types/decode.d.ts.map +1 -0
- package/lib/types/decode.js +396 -0
- package/lib/types/decode.js.map +1 -0
- package/lib/types/errors.d.ts +61 -0
- package/lib/types/errors.d.ts.map +1 -0
- package/lib/types/errors.js +196 -0
- package/lib/types/errors.js.map +1 -0
- package/lib/types/identity.d.ts +27 -0
- package/lib/types/identity.d.ts.map +1 -0
- package/lib/types/identity.js +35 -0
- package/lib/types/identity.js.map +1 -0
- package/lib/types/index.d.ts +14 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +14 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/modes/mrkdwn.d.ts +17 -0
- package/lib/types/modes/mrkdwn.d.ts.map +1 -0
- package/lib/types/modes/mrkdwn.js +123 -0
- package/lib/types/modes/mrkdwn.js.map +1 -0
- package/lib/types/modes/shared.d.ts +164 -0
- package/lib/types/modes/shared.d.ts.map +1 -0
- package/lib/types/modes/shared.js +411 -0
- package/lib/types/modes/shared.js.map +1 -0
- package/lib/types/mrkdwn.d.ts +41 -0
- package/lib/types/mrkdwn.d.ts.map +1 -0
- package/lib/types/mrkdwn.js +137 -0
- package/lib/types/mrkdwn.js.map +1 -0
- package/lib/types/request.d.ts +225 -0
- package/lib/types/request.d.ts.map +1 -0
- package/lib/types/request.js +330 -0
- package/lib/types/request.js.map +1 -0
- package/lib/types/send.d.ts +74 -0
- package/lib/types/send.d.ts.map +1 -0
- package/lib/types/send.js +200 -0
- package/lib/types/send.js.map +1 -0
- package/lib/types/transport/socket.d.ts +58 -0
- package/lib/types/transport/socket.d.ts.map +1 -0
- package/lib/types/transport/socket.js +297 -0
- package/lib/types/transport/socket.js.map +1 -0
- package/lib/types/transport/webhook.d.ts +48 -0
- package/lib/types/transport/webhook.d.ts.map +1 -0
- package/lib/types/transport/webhook.js +210 -0
- package/lib/types/transport/webhook.js.map +1 -0
- package/lib/types/types/admin.d.ts +682 -0
- package/lib/types/types/admin.d.ts.map +1 -0
- package/lib/types/types/admin.js +172 -0
- package/lib/types/types/admin.js.map +1 -0
- package/lib/types/types/api.d.ts +20 -0
- package/lib/types/types/api.d.ts.map +1 -0
- package/lib/types/types/api.js +7 -0
- package/lib/types/types/api.js.map +1 -0
- package/lib/types/types/apps.d.ts +138 -0
- package/lib/types/types/apps.d.ts.map +1 -0
- package/lib/types/types/apps.js +28 -0
- package/lib/types/types/apps.js.map +1 -0
- package/lib/types/types/auth.d.ts +36 -0
- package/lib/types/types/auth.d.ts.map +1 -0
- package/lib/types/types/auth.js +10 -0
- package/lib/types/types/auth.js.map +1 -0
- package/lib/types/types/bots.d.ts +32 -0
- package/lib/types/types/bots.d.ts.map +1 -0
- package/lib/types/types/bots.js +7 -0
- package/lib/types/types/bots.js.map +1 -0
- package/lib/types/types/calls.d.ts +82 -0
- package/lib/types/types/calls.d.ts.map +1 -0
- package/lib/types/types/calls.js +22 -0
- package/lib/types/types/calls.js.map +1 -0
- package/lib/types/types/chat.d.ts +208 -0
- package/lib/types/types/chat.d.ts.map +1 -0
- package/lib/types/types/chat.js +34 -0
- package/lib/types/types/chat.js.map +1 -0
- package/lib/types/types/conversations.d.ts +266 -0
- package/lib/types/types/conversations.d.ts.map +1 -0
- package/lib/types/types/conversations.js +58 -0
- package/lib/types/types/conversations.js.map +1 -0
- package/lib/types/types/definition.d.ts +505 -0
- package/lib/types/types/definition.d.ts.map +1 -0
- package/lib/types/types/definition.js +2 -0
- package/lib/types/types/definition.js.map +1 -0
- package/lib/types/types/dialog.d.ts +20 -0
- package/lib/types/types/dialog.d.ts.map +1 -0
- package/lib/types/types/dialog.js +7 -0
- package/lib/types/types/dialog.js.map +1 -0
- package/lib/types/types/dnd.d.ts +70 -0
- package/lib/types/types/dnd.d.ts.map +1 -0
- package/lib/types/types/dnd.js +19 -0
- package/lib/types/types/dnd.js.map +1 -0
- package/lib/types/types/emoji.d.ts +18 -0
- package/lib/types/types/emoji.d.ts.map +1 -0
- package/lib/types/types/emoji.js +7 -0
- package/lib/types/types/emoji.js.map +1 -0
- package/lib/types/types/events/base-events.d.ts +235 -0
- package/lib/types/types/events/base-events.d.ts.map +1 -0
- package/lib/types/types/events/base-events.js +3 -0
- package/lib/types/types/events/base-events.js.map +1 -0
- package/lib/types/types/events/index.d.ts +97 -0
- package/lib/types/types/events/index.d.ts.map +1 -0
- package/lib/types/types/events/index.js +3 -0
- package/lib/types/types/events/index.js.map +1 -0
- package/lib/types/types/events/message-events.d.ts +215 -0
- package/lib/types/types/events/message-events.d.ts.map +1 -0
- package/lib/types/types/events/message-events.js +3 -0
- package/lib/types/types/events/message-events.js.map +1 -0
- package/lib/types/types/files.d.ts +189 -0
- package/lib/types/types/files.d.ts.map +1 -0
- package/lib/types/types/files.js +43 -0
- package/lib/types/types/files.js.map +1 -0
- package/lib/types/types/index.d.ts +82 -0
- package/lib/types/types/index.d.ts.map +1 -0
- package/lib/types/types/index.js +29 -0
- package/lib/types/types/index.js.map +1 -0
- package/lib/types/types/internal.d.ts +17 -0
- package/lib/types/types/internal.d.ts.map +1 -0
- package/lib/types/types/internal.js +60 -0
- package/lib/types/types/internal.js.map +1 -0
- package/lib/types/types/migration.d.ts +25 -0
- package/lib/types/types/migration.d.ts.map +1 -0
- package/lib/types/types/migration.js +7 -0
- package/lib/types/types/migration.js.map +1 -0
- package/lib/types/types/oauth.d.ts +50 -0
- package/lib/types/types/oauth.d.ts.map +1 -0
- package/lib/types/types/oauth.js +13 -0
- package/lib/types/types/oauth.js.map +1 -0
- package/lib/types/types/pins.d.ts +39 -0
- package/lib/types/types/pins.d.ts.map +1 -0
- package/lib/types/types/pins.js +13 -0
- package/lib/types/types/pins.js.map +1 -0
- package/lib/types/types/reactions.d.ts +75 -0
- package/lib/types/types/reactions.d.ts.map +1 -0
- package/lib/types/types/reactions.js +16 -0
- package/lib/types/types/reactions.js.map +1 -0
- package/lib/types/types/reminders.d.ts +64 -0
- package/lib/types/types/reminders.d.ts.map +1 -0
- package/lib/types/types/reminders.js +19 -0
- package/lib/types/types/reminders.js.map +1 -0
- package/lib/types/types/rtm.d.ts +30 -0
- package/lib/types/types/rtm.d.ts.map +1 -0
- package/lib/types/types/rtm.js +7 -0
- package/lib/types/types/rtm.js.map +1 -0
- package/lib/types/types/search.d.ts +24 -0
- package/lib/types/types/search.d.ts.map +1 -0
- package/lib/types/types/search.js +7 -0
- package/lib/types/types/search.js.map +1 -0
- package/lib/types/types/stars.d.ts +56 -0
- package/lib/types/types/stars.d.ts.map +1 -0
- package/lib/types/types/stars.js +13 -0
- package/lib/types/types/stars.js.map +1 -0
- package/lib/types/types/team.d.ts +98 -0
- package/lib/types/types/team.d.ts.map +1 -0
- package/lib/types/types/team.js +19 -0
- package/lib/types/types/team.js.map +1 -0
- package/lib/types/types/usergroups.d.ts +103 -0
- package/lib/types/types/usergroups.d.ts.map +1 -0
- package/lib/types/types/usergroups.js +25 -0
- package/lib/types/types/usergroups.js.map +1 -0
- package/lib/types/types/users.d.ts +169 -0
- package/lib/types/types/users.d.ts.map +1 -0
- package/lib/types/types/users.js +40 -0
- package/lib/types/types/users.js.map +1 -0
- package/lib/types/types/views.d.ts +56 -0
- package/lib/types/types/views.d.ts.map +1 -0
- package/lib/types/types/views.js +16 -0
- package/lib/types/types/views.js.map +1 -0
- package/lib/types/types/workflows.d.ts +45 -0
- package/lib/types/types/workflows.d.ts.map +1 -0
- package/lib/types/types/workflows.js +13 -0
- package/lib/types/types/workflows.js.map +1 -0
- package/package.json +65 -3
- package/src/bot.ts +273 -0
- package/src/config.ts +92 -0
- package/src/decode.ts +489 -0
- package/src/errors.ts +230 -0
- package/src/identity.ts +59 -0
- package/src/index.ts +64 -0
- package/src/modes/mrkdwn.ts +159 -0
- package/src/modes/shared.ts +515 -0
- package/src/mrkdwn.ts +146 -0
- package/src/request.ts +449 -0
- package/src/send.ts +300 -0
- package/src/transport/socket.ts +393 -0
- package/src/transport/webhook.ts +269 -0
- package/src/types/admin.ts +910 -0
- package/src/types/api.ts +28 -0
- package/src/types/apps.ts +175 -0
- package/src/types/auth.ts +49 -0
- package/src/types/bots.ts +40 -0
- package/src/types/calls.ts +110 -0
- package/src/types/chat.ts +255 -0
- package/src/types/conversations.ts +342 -0
- package/src/types/definition.ts +530 -0
- package/src/types/dialog.ts +28 -0
- package/src/types/dnd.ts +94 -0
- package/src/types/emoji.ts +26 -0
- package/src/types/events/base-events.ts +281 -0
- package/src/types/events/index.ts +125 -0
- package/src/types/events/message-events.ts +253 -0
- package/src/types/files.ts +245 -0
- package/src/types/index.ts +84 -0
- package/src/types/internal.ts +60 -0
- package/src/types/migration.ts +34 -0
- package/src/types/oauth.ts +66 -0
- package/src/types/pins.ts +55 -0
- package/src/types/reactions.ts +95 -0
- package/src/types/reminders.ts +88 -0
- package/src/types/rtm.ts +38 -0
- package/src/types/search.ts +32 -0
- package/src/types/stars.ts +72 -0
- package/src/types/team.ts +122 -0
- package/src/types/usergroups.ts +135 -0
- package/src/types/users.ts +221 -0
- package/src/types/views.ts +76 -0
- package/src/types/workflows.ts +61 -0
- package/README.md +0 -3
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { Definitions } from './definition.ts';
|
|
2
|
+
export declare namespace Users {
|
|
3
|
+
namespace Params {
|
|
4
|
+
interface Conversations {
|
|
5
|
+
user?: string;
|
|
6
|
+
types?: string;
|
|
7
|
+
exclude_archived?: boolean;
|
|
8
|
+
limit?: number;
|
|
9
|
+
cursor?: string;
|
|
10
|
+
}
|
|
11
|
+
interface DeletePhoto {
|
|
12
|
+
}
|
|
13
|
+
interface GetPresence {
|
|
14
|
+
user?: string;
|
|
15
|
+
}
|
|
16
|
+
interface Identity {
|
|
17
|
+
}
|
|
18
|
+
interface Info {
|
|
19
|
+
include_locale?: boolean;
|
|
20
|
+
user?: string;
|
|
21
|
+
}
|
|
22
|
+
interface List {
|
|
23
|
+
limit?: number;
|
|
24
|
+
cursor?: string;
|
|
25
|
+
include_locale?: boolean;
|
|
26
|
+
}
|
|
27
|
+
interface LookupByEmail {
|
|
28
|
+
email: string;
|
|
29
|
+
}
|
|
30
|
+
interface ProfileGet {
|
|
31
|
+
include_labels?: boolean;
|
|
32
|
+
user?: string;
|
|
33
|
+
}
|
|
34
|
+
interface ProfileSet {
|
|
35
|
+
name?: string;
|
|
36
|
+
profile?: string;
|
|
37
|
+
user?: string;
|
|
38
|
+
value?: string;
|
|
39
|
+
}
|
|
40
|
+
interface SetActive {
|
|
41
|
+
}
|
|
42
|
+
interface SetPhoto {
|
|
43
|
+
crop_w?: string;
|
|
44
|
+
crop_x?: string;
|
|
45
|
+
crop_y?: string;
|
|
46
|
+
image?: string;
|
|
47
|
+
}
|
|
48
|
+
interface SetPresence {
|
|
49
|
+
presence: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
declare module './internal' {
|
|
54
|
+
interface Internal {
|
|
55
|
+
/**
|
|
56
|
+
* List conversations the calling user may access.
|
|
57
|
+
* @see https://api.slack.com/methods/users.conversations
|
|
58
|
+
*/
|
|
59
|
+
usersConversations(token: TokenInput, params: Users.Params.Conversations): Promise<{
|
|
60
|
+
channels: Definitions.Conversation[];
|
|
61
|
+
ok: boolean;
|
|
62
|
+
response_metadata?: {
|
|
63
|
+
next_cursor: string;
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* Delete the user profile photo
|
|
68
|
+
* @see https://api.slack.com/methods/users.deletePhoto
|
|
69
|
+
*/
|
|
70
|
+
usersDeletePhoto(token: TokenInput): Promise<{
|
|
71
|
+
ok: boolean;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* Gets user presence information.
|
|
75
|
+
* @see https://api.slack.com/methods/users.getPresence
|
|
76
|
+
*/
|
|
77
|
+
usersGetPresence(token: TokenInput, params: Users.Params.GetPresence): Promise<{
|
|
78
|
+
auto_away?: boolean;
|
|
79
|
+
connection_count?: number;
|
|
80
|
+
last_activity?: number;
|
|
81
|
+
manual_away?: boolean;
|
|
82
|
+
ok: boolean;
|
|
83
|
+
online?: boolean;
|
|
84
|
+
presence: string;
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* Get a user's identity.
|
|
88
|
+
* @see https://api.slack.com/methods/users.identity
|
|
89
|
+
*/
|
|
90
|
+
usersIdentity(token: TokenInput): Promise<unknown>;
|
|
91
|
+
/**
|
|
92
|
+
* Gets information about a user.
|
|
93
|
+
* @see https://api.slack.com/methods/users.info
|
|
94
|
+
*/
|
|
95
|
+
usersInfo(token: TokenInput, params: Users.Params.Info): Promise<{
|
|
96
|
+
ok: boolean;
|
|
97
|
+
user: Definitions.User;
|
|
98
|
+
}>;
|
|
99
|
+
/**
|
|
100
|
+
* Lists all users in a Slack team.
|
|
101
|
+
* @see https://api.slack.com/methods/users.list
|
|
102
|
+
*/
|
|
103
|
+
usersList(token: TokenInput, params: Users.Params.List): Promise<{
|
|
104
|
+
cache_ts: number;
|
|
105
|
+
members: Definitions.User[];
|
|
106
|
+
ok: boolean;
|
|
107
|
+
response_metadata?: Definitions.ResponseMetadata;
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* Find a user with an email address.
|
|
111
|
+
* @see https://api.slack.com/methods/users.lookupByEmail
|
|
112
|
+
*/
|
|
113
|
+
usersLookupByEmail(token: TokenInput, params: Users.Params.LookupByEmail): Promise<{
|
|
114
|
+
ok: boolean;
|
|
115
|
+
user: Definitions.User;
|
|
116
|
+
}>;
|
|
117
|
+
/**
|
|
118
|
+
* Retrieves a user's profile information.
|
|
119
|
+
* @see https://api.slack.com/methods/users.profile.get
|
|
120
|
+
*/
|
|
121
|
+
usersProfileGet(token: TokenInput, params: Users.Params.ProfileGet): Promise<{
|
|
122
|
+
ok: boolean;
|
|
123
|
+
profile: Definitions.UserProfile;
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* Set the profile information for a user.
|
|
127
|
+
* @see https://api.slack.com/methods/users.profile.set
|
|
128
|
+
*/
|
|
129
|
+
usersProfileSet(token: TokenInput, params: Users.Params.ProfileSet): Promise<{
|
|
130
|
+
email_pending?: string;
|
|
131
|
+
ok: boolean;
|
|
132
|
+
profile: Definitions.UserProfile;
|
|
133
|
+
username: string;
|
|
134
|
+
}>;
|
|
135
|
+
/**
|
|
136
|
+
* Marked a user as active. Deprecated and non-functional.
|
|
137
|
+
* @see https://api.slack.com/methods/users.setActive
|
|
138
|
+
*/
|
|
139
|
+
usersSetActive(token: TokenInput): Promise<{
|
|
140
|
+
ok: boolean;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Set the user profile photo
|
|
144
|
+
* @see https://api.slack.com/methods/users.setPhoto
|
|
145
|
+
*/
|
|
146
|
+
usersSetPhoto(token: TokenInput, params: Users.Params.SetPhoto): Promise<{
|
|
147
|
+
ok: boolean;
|
|
148
|
+
profile: {
|
|
149
|
+
avatar_hash: string;
|
|
150
|
+
image_1024: string;
|
|
151
|
+
image_192: string;
|
|
152
|
+
image_24: string;
|
|
153
|
+
image_32: string;
|
|
154
|
+
image_48: string;
|
|
155
|
+
image_512: string;
|
|
156
|
+
image_72: string;
|
|
157
|
+
image_original: string;
|
|
158
|
+
};
|
|
159
|
+
}>;
|
|
160
|
+
/**
|
|
161
|
+
* Manually sets user presence.
|
|
162
|
+
* @see https://api.slack.com/methods/users.setPresence
|
|
163
|
+
*/
|
|
164
|
+
usersSetPresence(token: TokenInput, params: Users.Params.SetPresence): Promise<{
|
|
165
|
+
ok: boolean;
|
|
166
|
+
}>;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
//# sourceMappingURL=users.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/types/users.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Internal } from "./internal.js";
|
|
2
|
+
Internal.define({
|
|
3
|
+
'/users.conversations': {
|
|
4
|
+
GET: { 'usersConversations': false },
|
|
5
|
+
},
|
|
6
|
+
'/users.deletePhoto': {
|
|
7
|
+
POST: { 'usersDeletePhoto': false },
|
|
8
|
+
},
|
|
9
|
+
'/users.getPresence': {
|
|
10
|
+
GET: { 'usersGetPresence': false },
|
|
11
|
+
},
|
|
12
|
+
'/users.identity': {
|
|
13
|
+
GET: { 'usersIdentity': false },
|
|
14
|
+
},
|
|
15
|
+
'/users.info': {
|
|
16
|
+
GET: { 'usersInfo': false },
|
|
17
|
+
},
|
|
18
|
+
'/users.list': {
|
|
19
|
+
GET: { 'usersList': false },
|
|
20
|
+
},
|
|
21
|
+
'/users.lookupByEmail': {
|
|
22
|
+
GET: { 'usersLookupByEmail': false },
|
|
23
|
+
},
|
|
24
|
+
'/users.profile.get': {
|
|
25
|
+
GET: { 'usersProfileGet': false },
|
|
26
|
+
},
|
|
27
|
+
'/users.profile.set': {
|
|
28
|
+
POST: { 'usersProfileSet': true },
|
|
29
|
+
},
|
|
30
|
+
'/users.setActive': {
|
|
31
|
+
POST: { 'usersSetActive': true },
|
|
32
|
+
},
|
|
33
|
+
'/users.setPhoto': {
|
|
34
|
+
POST: { 'usersSetPhoto': false },
|
|
35
|
+
},
|
|
36
|
+
'/users.setPresence': {
|
|
37
|
+
POST: { 'usersSetPresence': true },
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/types/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,QAAQ,CAAC,MAAM,CAAC;IACd,sBAAsB,EAAE;QACtB,GAAG,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE;KACrC;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE,EAAE,kBAAkB,EAAE,KAAK,EAAE;KACpC;IACD,oBAAoB,EAAE;QACpB,GAAG,EAAE,EAAE,kBAAkB,EAAE,KAAK,EAAE;KACnC;IACD,iBAAiB,EAAE;QACjB,GAAG,EAAE,EAAE,eAAe,EAAE,KAAK,EAAE;KAChC;IACD,aAAa,EAAE;QACb,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;KAC5B;IACD,aAAa,EAAE;QACb,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;KAC5B;IACD,sBAAsB,EAAE;QACtB,GAAG,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE;KACrC;IACD,oBAAoB,EAAE;QACpB,GAAG,EAAE,EAAE,iBAAiB,EAAE,KAAK,EAAE;KAClC;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE;KAClC;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE;KACjC;IACD,iBAAiB,EAAE;QACjB,IAAI,EAAE,EAAE,eAAe,EAAE,KAAK,EAAE;KACjC;IACD,oBAAoB,EAAE;QACpB,IAAI,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE;KACnC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare namespace Views {
|
|
2
|
+
namespace Params {
|
|
3
|
+
interface Open {
|
|
4
|
+
trigger_id: string;
|
|
5
|
+
view: string;
|
|
6
|
+
}
|
|
7
|
+
interface Publish {
|
|
8
|
+
user_id: string;
|
|
9
|
+
view: string;
|
|
10
|
+
hash?: string;
|
|
11
|
+
}
|
|
12
|
+
interface Push {
|
|
13
|
+
trigger_id: string;
|
|
14
|
+
view: string;
|
|
15
|
+
}
|
|
16
|
+
interface Update {
|
|
17
|
+
view_id?: string;
|
|
18
|
+
external_id?: string;
|
|
19
|
+
view?: string;
|
|
20
|
+
hash?: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
declare module './internal' {
|
|
25
|
+
interface Internal {
|
|
26
|
+
/**
|
|
27
|
+
* Open a view for a user.
|
|
28
|
+
* @see https://api.slack.com/methods/views.open
|
|
29
|
+
*/
|
|
30
|
+
viewsOpen(token: TokenInput, params: Views.Params.Open): Promise<{
|
|
31
|
+
ok: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Publish a static view for a User.
|
|
35
|
+
* @see https://api.slack.com/methods/views.publish
|
|
36
|
+
*/
|
|
37
|
+
viewsPublish(token: TokenInput, params: Views.Params.Publish): Promise<{
|
|
38
|
+
ok: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
/**
|
|
41
|
+
* Push a view onto the stack of a root view.
|
|
42
|
+
* @see https://api.slack.com/methods/views.push
|
|
43
|
+
*/
|
|
44
|
+
viewsPush(token: TokenInput, params: Views.Params.Push): Promise<{
|
|
45
|
+
ok: boolean;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Update an existing view.
|
|
49
|
+
* @see https://api.slack.com/methods/views.update
|
|
50
|
+
*/
|
|
51
|
+
viewsUpdate(token: TokenInput, params: Views.Params.Update): Promise<{
|
|
52
|
+
ok: boolean;
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=views.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/types/views.ts"],"names":[],"mappings":"AAiBA,yBAAiB,KAAK,CAAC;IACrB,UAAiB,MAAM,CAAC;QACtB,UAAiB,IAAI;YACnB,UAAU,EAAE,MAAM,CAAA;YAClB,IAAI,EAAE,MAAM,CAAA;SACb;QACD,UAAiB,OAAO;YACtB,OAAO,EAAE,MAAM,CAAA;YACf,IAAI,EAAE,MAAM,CAAA;YACZ,IAAI,CAAC,EAAE,MAAM,CAAA;SACd;QACD,UAAiB,IAAI;YACnB,UAAU,EAAE,MAAM,CAAA;YAClB,IAAI,EAAE,MAAM,CAAA;SACb;QACD,UAAiB,MAAM;YACrB,OAAO,CAAC,EAAE,MAAM,CAAA;YAChB,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,IAAI,CAAC,EAAE,MAAM,CAAA;YACb,IAAI,CAAC,EAAE,MAAM,CAAA;SACd;KACF;CACF;AAED,OAAO,QAAQ,YAAY,CAAC;IAC1B,UAAU,QAAQ;QAChB;;;WAGG;QACH,SAAS,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,GAAG,OAAO,CAAC;YAC/D,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;QAEF;;;WAGG;QACH,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC;YACrE,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;QAEF;;;WAGG;QACH,SAAS,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,GAAG,OAAO,CAAC;YAC/D,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;QAEF;;;WAGG;QACH,WAAW,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,CAAC;YACnE,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;KACH;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Internal } from "./internal.js";
|
|
2
|
+
Internal.define({
|
|
3
|
+
'/views.open': {
|
|
4
|
+
GET: { 'viewsOpen': true },
|
|
5
|
+
},
|
|
6
|
+
'/views.publish': {
|
|
7
|
+
GET: { 'viewsPublish': true },
|
|
8
|
+
},
|
|
9
|
+
'/views.push': {
|
|
10
|
+
GET: { 'viewsPush': true },
|
|
11
|
+
},
|
|
12
|
+
'/views.update': {
|
|
13
|
+
GET: { 'viewsUpdate': true },
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=views.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"views.js","sourceRoot":"","sources":["../../../src/types/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,QAAQ,CAAC,MAAM,CAAC;IACd,aAAa,EAAE;QACb,GAAG,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;KAC3B;IACD,gBAAgB,EAAE;QAChB,GAAG,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;KAC9B;IACD,aAAa,EAAE;QACb,GAAG,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;KAC3B;IACD,eAAe,EAAE;QACf,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;KAC7B;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare namespace Workflows {
|
|
2
|
+
namespace Params {
|
|
3
|
+
interface StepCompleted {
|
|
4
|
+
workflow_step_execute_id: string;
|
|
5
|
+
outputs?: string;
|
|
6
|
+
}
|
|
7
|
+
interface StepFailed {
|
|
8
|
+
workflow_step_execute_id: string;
|
|
9
|
+
error: string;
|
|
10
|
+
}
|
|
11
|
+
interface UpdateStep {
|
|
12
|
+
workflow_step_edit_id: string;
|
|
13
|
+
inputs?: string;
|
|
14
|
+
outputs?: string;
|
|
15
|
+
step_name?: string;
|
|
16
|
+
step_image_url?: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
declare module './internal' {
|
|
21
|
+
interface Internal {
|
|
22
|
+
/**
|
|
23
|
+
* Indicate that an app's step in a workflow completed execution.
|
|
24
|
+
* @see https://api.slack.com/methods/workflows.stepCompleted
|
|
25
|
+
*/
|
|
26
|
+
workflowsStepCompleted(token: TokenInput, params: Workflows.Params.StepCompleted): Promise<{
|
|
27
|
+
ok: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Indicate that an app's step in a workflow failed to execute.
|
|
31
|
+
* @see https://api.slack.com/methods/workflows.stepFailed
|
|
32
|
+
*/
|
|
33
|
+
workflowsStepFailed(token: TokenInput, params: Workflows.Params.StepFailed): Promise<{
|
|
34
|
+
ok: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
/**
|
|
37
|
+
* Update the configuration for a workflow extension step.
|
|
38
|
+
* @see https://api.slack.com/methods/workflows.updateStep
|
|
39
|
+
*/
|
|
40
|
+
workflowsUpdateStep(token: TokenInput, params: Workflows.Params.UpdateStep): Promise<{
|
|
41
|
+
ok: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=workflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/types/workflows.ts"],"names":[],"mappings":"AAcA,yBAAiB,SAAS,CAAC;IACzB,UAAiB,MAAM,CAAC;QACtB,UAAiB,aAAa;YAC5B,wBAAwB,EAAE,MAAM,CAAA;YAChC,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB;QACD,UAAiB,UAAU;YACzB,wBAAwB,EAAE,MAAM,CAAA;YAChC,KAAK,EAAE,MAAM,CAAA;SACd;QACD,UAAiB,UAAU;YACzB,qBAAqB,EAAE,MAAM,CAAA;YAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;YACf,OAAO,CAAC,EAAE,MAAM,CAAA;YAChB,SAAS,CAAC,EAAE,MAAM,CAAA;YAClB,cAAc,CAAC,EAAE,MAAM,CAAA;SACxB;KACF;CACF;AAED,OAAO,QAAQ,YAAY,CAAC;IAC1B,UAAU,QAAQ;QAChB;;;WAGG;QACH,sBAAsB,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC;YACzF,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;QAEF;;;WAGG;QACH,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC;YACnF,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;QAEF;;;WAGG;QACH,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC;YACnF,EAAE,EAAE,OAAO,CAAA;SACZ,CAAC,CAAA;KACH;CACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Internal } from "./internal.js";
|
|
2
|
+
Internal.define({
|
|
3
|
+
'/workflows.stepCompleted': {
|
|
4
|
+
GET: { 'workflowsStepCompleted': true },
|
|
5
|
+
},
|
|
6
|
+
'/workflows.stepFailed': {
|
|
7
|
+
GET: { 'workflowsStepFailed': true },
|
|
8
|
+
},
|
|
9
|
+
'/workflows.updateStep': {
|
|
10
|
+
GET: { 'workflowsUpdateStep': true },
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../../src/types/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,QAAQ,CAAC,MAAM,CAAC;IACd,0BAA0B,EAAE;QAC1B,GAAG,EAAE,EAAE,wBAAwB,EAAE,IAAI,EAAE;KACxC;IACD,uBAAuB,EAAE;QACvB,GAAG,EAAE,EAAE,qBAAqB,EAAE,IAAI,EAAE;KACrC;IACD,uBAAuB,EAAE;QACvB,GAAG,EAAE,EAAE,qBAAqB,EAAE,IAAI,EAAE;KACrC;CACF,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@im-more/dsh-slack",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Slack adapter for official dsh-im of DeepSeek Harness",
|
|
5
|
+
"homepage": "https://github.com/ilharp/dsh-im-more",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/ilharp/dsh-im-more.git",
|
|
9
|
+
"directory": "packages/slack"
|
|
10
|
+
},
|
|
11
|
+
"author": {
|
|
12
|
+
"name": "Il Harper",
|
|
13
|
+
"email": "hi@ilharper.com",
|
|
14
|
+
"url": "https://ilharper.com"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "lib/index.js",
|
|
19
|
+
"types": "lib/types/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./lib/types/index.d.ts",
|
|
23
|
+
"default": "./lib/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json",
|
|
26
|
+
"./cordis.patch.yml": "./cordis.patch.yml"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"lib",
|
|
30
|
+
"src",
|
|
31
|
+
"cordis.patch.yml"
|
|
32
|
+
],
|
|
33
|
+
"engines": {
|
|
34
|
+
"dsh": ">=0.2.3-alpha.3"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@deepseek-ai/cordis": ">=4.2.0-alpha.2",
|
|
38
|
+
"@deepseek-ai/cordis-plugin-http": ">=1.6.1-alpha.2",
|
|
39
|
+
"@deepseek-ai/cordis-plugin-im-core": ">=5.0.1-alpha.2",
|
|
40
|
+
"@deepseek-ai/satori-element": ">=4.0.1-alpha.2",
|
|
41
|
+
"@deepseek-ai/schemastery": ">=3.20.0-alpha.2"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@slack/types": "^2.20.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@deepseek-ai/cordis": ">=4.2.0-alpha.2",
|
|
48
|
+
"@deepseek-ai/cordis-plugin-http": ">=1.6.1-alpha.2",
|
|
49
|
+
"@deepseek-ai/cordis-plugin-im-core": ">=5.0.1-alpha.2",
|
|
50
|
+
"@deepseek-ai/satori-element": ">=4.0.1-alpha.2",
|
|
51
|
+
"@deepseek-ai/schemastery": ">=3.20.0-alpha.2",
|
|
52
|
+
"@types/node": "^22.20.1",
|
|
53
|
+
"tsdown": "^0.22.2",
|
|
54
|
+
"typescript": "^6.0.3",
|
|
55
|
+
"vitest": "^4.1.11",
|
|
56
|
+
"@slack/types": "^2.20.0"
|
|
57
|
+
},
|
|
58
|
+
"dsh": {
|
|
59
|
+
"bundle": {
|
|
60
|
+
"patch": "./cordis.patch.yml"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsc -p tsconfig.json && tsdown",
|
|
65
|
+
"typecheck": "tsc -p tsconfig.test.json",
|
|
66
|
+
"test": "vitest run"
|
|
67
|
+
}
|
|
6
68
|
}
|