@distilled.cloud/slack 1.0.0-rc.15 → 1.0.0-rc.17
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -53
- package/lib/errors.d.ts +31 -31
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -59
- package/lib/index.d.ts +1 -1
- package/lib/index.js +0 -10
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.d.ts +2 -2
- package/lib/pagination.js +1 -31
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -231
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -45
- package/lib/services/admin.d.ts +123 -575
- package/lib/services/admin.d.ts.map +1 -1
- package/lib/services/admin.js +141 -2884
- package/lib/services/admin.js.map +1 -1
- package/lib/services/agents.d.ts +13 -55
- package/lib/services/agents.d.ts.map +1 -1
- package/lib/services/agents.js +1 -314
- package/lib/services/agents.js.map +1 -1
- package/lib/services/api.d.ts +0 -4
- package/lib/services/api.d.ts.map +1 -1
- package/lib/services/api.js +1 -23
- package/lib/services/api.js.map +1 -1
- package/lib/services/apps.d.ts +25 -106
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +35 -515
- package/lib/services/apps.js.map +1 -1
- package/lib/services/assistant.d.ts +6 -40
- package/lib/services/assistant.d.ts.map +1 -1
- package/lib/services/assistant.js +1 -209
- package/lib/services/assistant.js.map +1 -1
- package/lib/services/auth.d.ts +4 -15
- package/lib/services/auth.d.ts.map +1 -1
- package/lib/services/auth.js +1 -96
- package/lib/services/auth.js.map +1 -1
- package/lib/services/blocks.d.ts +1 -7
- package/lib/services/blocks.d.ts.map +1 -1
- package/lib/services/blocks.js +1 -26
- package/lib/services/blocks.js.map +1 -1
- package/lib/services/bookmarks.d.ts +4 -15
- package/lib/services/bookmarks.d.ts.map +1 -1
- package/lib/services/bookmarks.js +1 -81
- package/lib/services/bookmarks.js.map +1 -1
- package/lib/services/bots.d.ts +1 -9
- package/lib/services/bots.d.ts.map +1 -1
- package/lib/services/bots.js +1 -59
- package/lib/services/bots.js.map +1 -1
- package/lib/services/calls.d.ts +6 -22
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +1 -115
- package/lib/services/calls.js.map +1 -1
- package/lib/services/canvases.d.ts +7 -35
- package/lib/services/canvases.d.ts.map +1 -1
- package/lib/services/canvases.js +1 -140
- package/lib/services/canvases.js.map +1 -1
- package/lib/services/chat.d.ts +14 -83
- package/lib/services/chat.d.ts.map +1 -1
- package/lib/services/chat.js +1 -387
- package/lib/services/chat.js.map +1 -1
- package/lib/services/conversations.d.ts +31 -116
- package/lib/services/conversations.d.ts.map +1 -1
- package/lib/services/conversations.js +40 -696
- package/lib/services/conversations.js.map +1 -1
- package/lib/services/dialog.d.ts +1 -4
- package/lib/services/dialog.d.ts.map +1 -1
- package/lib/services/dialog.js +1 -22
- package/lib/services/dialog.js.map +1 -1
- package/lib/services/dnd.d.ts +5 -17
- package/lib/services/dnd.d.ts.map +1 -1
- package/lib/services/dnd.js +1 -96
- package/lib/services/dnd.js.map +1 -1
- package/lib/services/emoji.d.ts +1 -8
- package/lib/services/emoji.d.ts.map +1 -1
- package/lib/services/emoji.js +1 -34
- package/lib/services/emoji.js.map +1 -1
- package/lib/services/entity.d.ts +4 -16
- package/lib/services/entity.d.ts.map +1 -1
- package/lib/services/entity.js +1 -76
- package/lib/services/entity.js.map +1 -1
- package/lib/services/files.d.ts +16 -80
- package/lib/services/files.d.ts.map +1 -1
- package/lib/services/files.js +1 -439
- package/lib/services/files.js.map +1 -1
- package/lib/services/functions.d.ts +8 -49
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -208
- package/lib/services/functions.js.map +1 -1
- package/lib/services/index.js +0 -2
- package/lib/services/lists.d.ts +13 -55
- package/lib/services/lists.d.ts.map +1 -1
- package/lib/services/lists.js +1 -254
- package/lib/services/lists.js.map +1 -1
- package/lib/services/migration.d.ts +1 -7
- package/lib/services/migration.d.ts.map +1 -1
- package/lib/services/migration.js +1 -32
- package/lib/services/migration.js.map +1 -1
- package/lib/services/oauth.d.ts +7 -43
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +1 -294
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/openid.d.ts +3 -10
- package/lib/services/openid.d.ts.map +1 -1
- package/lib/services/openid.js +1 -84
- package/lib/services/openid.js.map +1 -1
- package/lib/services/pins.d.ts +3 -13
- package/lib/services/pins.d.ts.map +1 -1
- package/lib/services/pins.js +1 -66
- package/lib/services/pins.js.map +1 -1
- package/lib/services/reactions.d.ts +5 -17
- package/lib/services/reactions.d.ts.map +1 -1
- package/lib/services/reactions.js +1 -102
- package/lib/services/reactions.js.map +1 -1
- package/lib/services/reminders.d.ts +5 -17
- package/lib/services/reminders.d.ts.map +1 -1
- package/lib/services/reminders.js +1 -88
- package/lib/services/reminders.js.map +1 -1
- package/lib/services/rtm.d.ts +2 -11
- package/lib/services/rtm.d.ts.map +1 -1
- package/lib/services/rtm.js +1 -61
- package/lib/services/rtm.js.map +1 -1
- package/lib/services/search.d.ts +4 -35
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +1 -172
- package/lib/services/search.js.map +1 -1
- package/lib/services/stars.d.ts +4 -26
- package/lib/services/stars.d.ts.map +1 -1
- package/lib/services/stars.js +1 -134
- package/lib/services/stars.js.map +1 -1
- package/lib/services/team.d.ts +11 -63
- package/lib/services/team.d.ts.map +1 -1
- package/lib/services/team.js +1 -295
- package/lib/services/team.js.map +1 -1
- package/lib/services/tooling.d.ts +2 -5
- package/lib/services/tooling.d.ts.map +1 -1
- package/lib/services/tooling.js +1 -33
- package/lib/services/tooling.js.map +1 -1
- package/lib/services/usergroups.d.ts +7 -31
- package/lib/services/usergroups.d.ts.map +1 -1
- package/lib/services/usergroups.js +1 -151
- package/lib/services/usergroups.js.map +1 -1
- package/lib/services/users.d.ts +14 -48
- package/lib/services/users.d.ts.map +1 -1
- package/lib/services/users.js +1 -255
- package/lib/services/users.js.map +1 -1
- package/lib/services/views.d.ts +4 -14
- package/lib/services/views.d.ts.map +1 -1
- package/lib/services/views.js +1 -78
- package/lib/services/views.js.map +1 -1
- package/lib/services/workflows.d.ts +8 -51
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +1 -193
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/admin.js +3 -0
- package/lib/services.lazy/agents.js +1 -0
- package/lib/services.lazy/api.js +1 -0
- package/lib/services.lazy/apps.js +3 -0
- package/lib/services.lazy/assistant.js +1 -0
- package/lib/services.lazy/auth.js +1 -0
- package/lib/services.lazy/blocks.js +1 -0
- package/lib/services.lazy/bookmarks.js +1 -0
- package/lib/services.lazy/bots.js +1 -0
- package/lib/services.lazy/calls.js +1 -0
- package/lib/services.lazy/canvases.js +1 -0
- package/lib/services.lazy/chat.js +1 -0
- package/lib/services.lazy/conversations.js +3 -0
- package/lib/services.lazy/dialog.js +1 -0
- package/lib/services.lazy/dnd.js +1 -0
- package/lib/services.lazy/emoji.js +1 -0
- package/lib/services.lazy/entity.js +1 -0
- package/lib/services.lazy/files.js +1 -0
- package/lib/services.lazy/functions.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/lists.js +1 -0
- package/lib/services.lazy/migration.js +1 -0
- package/lib/services.lazy/oauth.js +1 -0
- package/lib/services.lazy/openid.js +1 -0
- package/lib/services.lazy/pins.js +1 -0
- package/lib/services.lazy/reactions.js +1 -0
- package/lib/services.lazy/reminders.js +1 -0
- package/lib/services.lazy/rtm.js +1 -0
- package/lib/services.lazy/search.js +1 -0
- package/lib/services.lazy/stars.js +1 -0
- package/lib/services.lazy/team.js +1 -0
- package/lib/services.lazy/tooling.js +1 -0
- package/lib/services.lazy/usergroups.js +1 -0
- package/lib/services.lazy/users.js +1 -0
- package/lib/services.lazy/views.js +1 -0
- package/lib/services.lazy/workflows.js +1 -0
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +1 -12
- package/package.json +10 -8
- package/src/credentials.ts +20 -21
- package/src/errors.ts +31 -27
- package/src/index.ts +1 -1
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +30 -29
- package/src/retry.ts +6 -6
- package/src/services/admin.ts +2717 -3451
- package/src/services/agents.ts +380 -370
- package/src/services/api.ts +31 -21
- package/src/services/apps.ts +569 -621
- package/src/services/assistant.ts +235 -270
- package/src/services/auth.ts +118 -100
- package/src/services/blocks.ts +33 -29
- package/src/services/bookmarks.ts +101 -83
- package/src/services/bots.ts +74 -67
- package/src/services/calls.ts +118 -124
- package/src/services/canvases.ts +171 -178
- package/src/services/chat.ts +428 -496
- package/src/services/conversations.ts +675 -761
- package/src/services/dialog.ts +30 -17
- package/src/services/dnd.ts +125 -99
- package/src/services/emoji.ts +46 -42
- package/src/services/entity.ts +94 -92
- package/src/services/files.ts +536 -531
- package/src/services/functions.ts +209 -274
- package/src/services/lists.ts +289 -304
- package/src/services/migration.ts +39 -37
- package/src/services/oauth.ts +345 -361
- package/src/services/openid.ts +137 -122
- package/src/services/pins.ts +83 -70
- package/src/services/reactions.ts +119 -103
- package/src/services/reminders.ts +112 -90
- package/src/services/rtm.ts +73 -65
- package/src/services/search.ts +193 -244
- package/src/services/stars.ts +101 -160
- package/src/services/team.ts +333 -369
- package/src/services/tooling.ts +43 -30
- package/src/services/usergroups.ts +175 -179
- package/src/services/users.ts +301 -268
- package/src/services/views.ts +85 -80
- package/src/services/workflows.ts +184 -269
- package/src/traits.ts +1 -1
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -288
- package/lib/protocol.test.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- package/src/protocol.test.ts +0 -372
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
package/lib/services/chat.js
CHANGED
|
@@ -1,388 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
|
|
3
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
4
|
-
import { SlackError, SlackRateLimited } from "../errors.js";
|
|
5
|
-
import { slackPaginate } from "../pagination.js";
|
|
6
|
-
import { SlackProtocol } from "../protocol.js";
|
|
7
|
-
import * as Retry from "../retry.js";
|
|
8
|
-
import * as T from "../traits.js";
|
|
9
|
-
export const AppendStreamRequestChunksList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
10
|
-
export const AppendStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
11
|
-
channel: S.String,
|
|
12
|
-
chunks: S.optional(AppendStreamRequestChunksList),
|
|
13
|
-
ts: S.String,
|
|
14
|
-
markdown_text: S.optional(S.String),
|
|
15
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.appendStream", code: 200 }))).annotate({ identifier: "AppendStreamRequest" });
|
|
16
|
-
export const AppendStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
17
|
-
ok: S.Boolean,
|
|
18
|
-
channel: S.String,
|
|
19
|
-
ts: S.String,
|
|
20
|
-
})).annotate({ identifier: "AppendStreamResponse" });
|
|
21
|
-
export const ChatUnfurlRequestSource = S.String;
|
|
22
|
-
export const ChatUnfurlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
23
|
-
channel: S.optional(S.String),
|
|
24
|
-
ts: S.optional(S.String),
|
|
25
|
-
unfurls: S.optional(S.String),
|
|
26
|
-
user_auth_message: S.optional(S.NullOr(S.String)),
|
|
27
|
-
user_auth_required: S.optional(S.Boolean),
|
|
28
|
-
user_auth_url: S.optional(S.NullOr(S.String)),
|
|
29
|
-
user_auth_blocks: S.optional(S.Unknown),
|
|
30
|
-
unfurl_id: S.optional(S.String),
|
|
31
|
-
source: S.optional(ChatUnfurlRequestSource),
|
|
32
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.unfurl", code: 200 }))).annotate({ identifier: "ChatUnfurlRequest" });
|
|
33
|
-
export const ChatUnfurlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
34
|
-
ok: S.Boolean,
|
|
35
|
-
})).annotate({ identifier: "ChatUnfurlResponse" });
|
|
36
|
-
export const DeleteChatRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
37
|
-
as_user: S.optional(S.Boolean),
|
|
38
|
-
channel: S.String,
|
|
39
|
-
ts: S.String,
|
|
40
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.delete", code: 200 }))).annotate({ identifier: "DeleteChatRequest" });
|
|
41
|
-
export const DeleteChatResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
|
-
ok: S.Boolean,
|
|
43
|
-
channel: S.String,
|
|
44
|
-
ts: S.String,
|
|
45
|
-
})).annotate({ identifier: "DeleteChatResponse" });
|
|
46
|
-
export const DeleteScheduledMessageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
47
|
-
as_user: S.optional(S.Boolean),
|
|
48
|
-
channel: S.String,
|
|
49
|
-
scheduled_message_id: S.String,
|
|
50
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.deleteScheduledMessage", code: 200 }))).annotate({
|
|
51
|
-
identifier: "DeleteScheduledMessageRequest",
|
|
52
|
-
});
|
|
53
|
-
export const DeleteScheduledMessageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
54
|
-
ok: S.Boolean,
|
|
55
|
-
})).annotate({
|
|
56
|
-
identifier: "DeleteScheduledMessageResponse",
|
|
57
|
-
});
|
|
58
|
-
export const GetPermalinkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
59
|
-
channel: S.String.pipe(T.Query()),
|
|
60
|
-
message_ts: S.String.pipe(T.Query()),
|
|
61
|
-
}).pipe(T.Http({ method: "GET", uri: "/chat.getPermalink", code: 200 }))).annotate({ identifier: "GetPermalinkRequest" });
|
|
62
|
-
export const GetPermalinkResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
63
|
-
ok: S.Boolean,
|
|
64
|
-
permalink: S.String,
|
|
65
|
-
channel: S.String,
|
|
66
|
-
})).annotate({ identifier: "GetPermalinkResponse" });
|
|
67
|
-
export const ListScheduledMessagesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
68
|
-
channel: S.optional(S.String),
|
|
69
|
-
cursor: S.optional(S.String),
|
|
70
|
-
latest: S.optional(S.String),
|
|
71
|
-
limit: S.optional(S.Number),
|
|
72
|
-
oldest: S.optional(S.String),
|
|
73
|
-
team_id: S.optional(S.String),
|
|
74
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.scheduledMessages.list", code: 200 }))).annotate({
|
|
75
|
-
identifier: "ListScheduledMessagesRequest",
|
|
76
|
-
});
|
|
77
|
-
export const ListScheduledMessagesResponseScheduledMessagesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
78
|
-
id: S.String,
|
|
79
|
-
channel_id: S.String,
|
|
80
|
-
post_at: S.Number,
|
|
81
|
-
date_created: S.Number,
|
|
82
|
-
text: S.optional(S.String),
|
|
83
|
-
})).annotate({
|
|
84
|
-
identifier: "ListScheduledMessagesResponseScheduledMessagesItem",
|
|
85
|
-
});
|
|
86
|
-
export const ListScheduledMessagesResponseScheduledMessagesList = /*@__PURE__*/ S.Array(ListScheduledMessagesResponseScheduledMessagesItem);
|
|
87
|
-
export const ListScheduledMessagesResponseResponseMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
88
|
-
next_cursor: S.optional(S.String),
|
|
89
|
-
})).annotate({
|
|
90
|
-
identifier: "ListScheduledMessagesResponseResponseMetadata",
|
|
91
|
-
});
|
|
92
|
-
export const ListScheduledMessagesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
93
|
-
ok: S.Boolean,
|
|
94
|
-
scheduled_messages: ListScheduledMessagesResponseScheduledMessagesList,
|
|
95
|
-
response_metadata: S.optional(ListScheduledMessagesResponseResponseMetadata),
|
|
96
|
-
})).annotate({
|
|
97
|
-
identifier: "ListScheduledMessagesResponse",
|
|
98
|
-
});
|
|
99
|
-
export const MeMessageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
100
|
-
channel: S.String,
|
|
101
|
-
text: S.String,
|
|
102
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.meMessage", code: 200 }))).annotate({ identifier: "MeMessageRequest" });
|
|
103
|
-
export const MeMessageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
104
|
-
ok: S.Boolean,
|
|
105
|
-
ts: S.optional(S.String),
|
|
106
|
-
channel: S.optional(S.String),
|
|
107
|
-
})).annotate({ identifier: "MeMessageResponse" });
|
|
108
|
-
export const PostEphemeralRequestAttachmentsCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
109
|
-
export const PostEphemeralRequestAttachmentsCase1List = /*@__PURE__*/ S.Array(PostEphemeralRequestAttachmentsCase1ItemMap);
|
|
110
|
-
export const PostEphemeralRequestAttachments = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
111
|
-
export const PostEphemeralRequestBlocksCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
112
|
-
export const PostEphemeralRequestBlocksCase1List = /*@__PURE__*/ S.Array(PostEphemeralRequestBlocksCase1ItemMap);
|
|
113
|
-
export const PostEphemeralRequestBlocks = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
114
|
-
export const PostEphemeralRequestParse = S.String;
|
|
115
|
-
export const PostEphemeralRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
116
|
-
as_user: S.optional(S.Boolean),
|
|
117
|
-
attachments: S.optional(PostEphemeralRequestAttachments),
|
|
118
|
-
blocks: S.optional(PostEphemeralRequestBlocks),
|
|
119
|
-
channel: S.String,
|
|
120
|
-
icon_emoji: S.optional(S.String),
|
|
121
|
-
icon_url: S.optional(S.String),
|
|
122
|
-
link_names: S.optional(S.Boolean),
|
|
123
|
-
markdown_text: S.optional(S.String),
|
|
124
|
-
metadata: S.optional(S.NullOr(S.String)),
|
|
125
|
-
parse: S.optional(S.NullOr(PostEphemeralRequestParse)),
|
|
126
|
-
text: S.optional(S.NullOr(S.String)),
|
|
127
|
-
thread_ts: S.optional(S.NullOr(S.String)),
|
|
128
|
-
user: S.String,
|
|
129
|
-
username: S.optional(S.String),
|
|
130
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.postEphemeral", code: 200 }))).annotate({ identifier: "PostEphemeralRequest" });
|
|
131
|
-
export const PostEphemeralResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
132
|
-
ok: S.Boolean,
|
|
133
|
-
message_ts: S.String,
|
|
134
|
-
})).annotate({ identifier: "PostEphemeralResponse" });
|
|
135
|
-
export const PostMessageRequestAttachmentsCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
136
|
-
export const PostMessageRequestAttachmentsCase1List = /*@__PURE__*/ S.Array(PostMessageRequestAttachmentsCase1ItemMap);
|
|
137
|
-
export const PostMessageRequestAttachments = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
138
|
-
export const PostMessageRequestBlocksCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
139
|
-
export const PostMessageRequestBlocksCase1List = /*@__PURE__*/ S.Array(PostMessageRequestBlocksCase1ItemMap);
|
|
140
|
-
export const PostMessageRequestBlocks = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
141
|
-
export const PostMessageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
142
|
-
as_user: S.optional(S.Boolean),
|
|
143
|
-
attachments: S.optional(PostMessageRequestAttachments),
|
|
144
|
-
blocks: S.optional(PostMessageRequestBlocks),
|
|
145
|
-
channel: S.String,
|
|
146
|
-
current_draft_last_updated_ts: S.optional(S.String),
|
|
147
|
-
icon_emoji: S.optional(S.NullOr(S.String)),
|
|
148
|
-
icon_url: S.optional(S.NullOr(S.String)),
|
|
149
|
-
link_names: S.optional(S.Boolean),
|
|
150
|
-
markdown_text: S.optional(S.String),
|
|
151
|
-
metadata: S.optional(S.NullOr(S.String)),
|
|
152
|
-
mrkdwn: S.optional(S.Boolean),
|
|
153
|
-
parse: S.optional(S.NullOr(S.String)),
|
|
154
|
-
reply_broadcast: S.optional(S.Boolean),
|
|
155
|
-
text: S.optional(S.NullOr(S.String)),
|
|
156
|
-
thread_ts: S.optional(S.NullOr(S.String)),
|
|
157
|
-
unfurl_links: S.optional(S.Boolean),
|
|
158
|
-
unfurl_media: S.optional(S.Boolean),
|
|
159
|
-
username: S.optional(S.NullOr(S.String)),
|
|
160
|
-
unfurl_app_links: S.optional(S.Boolean),
|
|
161
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.postMessage", code: 200 }))).annotate({ identifier: "PostMessageRequest" });
|
|
162
|
-
export const PostMessageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
163
|
-
ok: S.Boolean,
|
|
164
|
-
channel: S.String,
|
|
165
|
-
ts: S.String,
|
|
166
|
-
message: S.optional(S.Unknown),
|
|
167
|
-
is_duplicate: S.optional(S.Boolean),
|
|
168
|
-
})).annotate({ identifier: "PostMessageResponse" });
|
|
169
|
-
export const ScheduleMessageRequestAttachmentsCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
170
|
-
export const ScheduleMessageRequestAttachmentsCase1List = /*@__PURE__*/ S.Array(ScheduleMessageRequestAttachmentsCase1ItemMap);
|
|
171
|
-
export const ScheduleMessageRequestAttachments = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
172
|
-
export const ScheduleMessageRequestBlocksCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
173
|
-
export const ScheduleMessageRequestBlocksCase1List = /*@__PURE__*/ S.Array(ScheduleMessageRequestBlocksCase1ItemMap);
|
|
174
|
-
export const ScheduleMessageRequestBlocks = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
175
|
-
export const ScheduleMessageRequestParse = S.String;
|
|
176
|
-
export const ScheduleMessageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
177
|
-
as_user: S.optional(S.Boolean),
|
|
178
|
-
attachments: S.optional(ScheduleMessageRequestAttachments),
|
|
179
|
-
blocks: S.optional(ScheduleMessageRequestBlocks),
|
|
180
|
-
channel: S.String,
|
|
181
|
-
link_names: S.optional(S.Boolean),
|
|
182
|
-
markdown_text: S.optional(S.String),
|
|
183
|
-
parse: S.optional(ScheduleMessageRequestParse),
|
|
184
|
-
post_at: S.Number,
|
|
185
|
-
reply_broadcast: S.optional(S.Boolean),
|
|
186
|
-
text: S.optional(S.String),
|
|
187
|
-
thread_ts: S.optional(S.String),
|
|
188
|
-
unfurl_links: S.optional(S.Boolean),
|
|
189
|
-
unfurl_media: S.optional(S.Boolean),
|
|
190
|
-
metadata: S.optional(S.NullOr(S.String)),
|
|
191
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.scheduleMessage", code: 200 }))).annotate({ identifier: "ScheduleMessageRequest" });
|
|
192
|
-
export const ScheduleMessageResponseMessageMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
193
|
-
export const ScheduleMessageResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
194
|
-
ok: S.Boolean,
|
|
195
|
-
channel: S.String,
|
|
196
|
-
post_at: S.Number,
|
|
197
|
-
scheduled_message_id: S.String,
|
|
198
|
-
message: ScheduleMessageResponseMessageMap,
|
|
199
|
-
})).annotate({ identifier: "ScheduleMessageResponse" });
|
|
200
|
-
export const StartStreamRequestChunksList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
201
|
-
export const StartStreamRequestTaskDisplayMode = S.String;
|
|
202
|
-
export const StartStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
203
|
-
channel: S.String,
|
|
204
|
-
chunks: S.optional(StartStreamRequestChunksList),
|
|
205
|
-
markdown_text: S.optional(S.String),
|
|
206
|
-
thread_ts: S.optional(S.String),
|
|
207
|
-
recipient_user_id: S.optional(S.String),
|
|
208
|
-
recipient_team_id: S.optional(S.String),
|
|
209
|
-
task_display_mode: S.optional(StartStreamRequestTaskDisplayMode),
|
|
210
|
-
icon_emoji: S.optional(S.NullOr(S.String)),
|
|
211
|
-
icon_url: S.optional(S.NullOr(S.String)),
|
|
212
|
-
username: S.optional(S.NullOr(S.String)),
|
|
213
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.startStream", code: 200 }))).annotate({ identifier: "StartStreamRequest" });
|
|
214
|
-
export const StartStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
215
|
-
ok: S.Boolean,
|
|
216
|
-
channel: S.String,
|
|
217
|
-
ts: S.String,
|
|
218
|
-
})).annotate({ identifier: "StartStreamResponse" });
|
|
219
|
-
export const StopStreamRequestSessionStatus = S.String;
|
|
220
|
-
export const StopStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
221
|
-
channel: S.String,
|
|
222
|
-
chunks: S.optional(S.Unknown),
|
|
223
|
-
ts: S.String,
|
|
224
|
-
markdown_text: S.optional(S.String),
|
|
225
|
-
blocks: S.optional(S.Unknown),
|
|
226
|
-
metadata: S.optional(S.NullOr(S.String)),
|
|
227
|
-
session_status: S.optional(StopStreamRequestSessionStatus),
|
|
228
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.stopStream", code: 200 }))).annotate({ identifier: "StopStreamRequest" });
|
|
229
|
-
export const StopStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
230
|
-
ok: S.Boolean,
|
|
231
|
-
channel: S.String,
|
|
232
|
-
ts: S.String,
|
|
233
|
-
message: S.Unknown,
|
|
234
|
-
})).annotate({ identifier: "StopStreamResponse" });
|
|
235
|
-
export const UpdateChatRequestAsUser = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
236
|
-
export const UpdateChatRequestAttachmentsCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
237
|
-
export const UpdateChatRequestAttachmentsCase1List = /*@__PURE__*/ S.Array(UpdateChatRequestAttachmentsCase1ItemMap);
|
|
238
|
-
export const UpdateChatRequestAttachments = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
239
|
-
export const UpdateChatRequestBlocksCase1ItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
240
|
-
export const UpdateChatRequestBlocksCase1List = /*@__PURE__*/ S.Array(UpdateChatRequestBlocksCase1ItemMap);
|
|
241
|
-
export const UpdateChatRequestBlocks = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
242
|
-
export const UpdateChatRequestLinkNames = /*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
243
|
-
export const UpdateChatRequestFileIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
244
|
-
export const UpdateChatRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
245
|
-
as_user: S.optional(S.NullOr(UpdateChatRequestAsUser)),
|
|
246
|
-
attachments: S.optional(UpdateChatRequestAttachments),
|
|
247
|
-
unfurled_attachments: S.optional(S.NullOr(S.String)),
|
|
248
|
-
blocks: S.optional(UpdateChatRequestBlocks),
|
|
249
|
-
markdown_text: S.optional(S.String),
|
|
250
|
-
metadata: S.optional(S.NullOr(S.String)),
|
|
251
|
-
channel: S.String,
|
|
252
|
-
link_names: S.optional(S.NullOr(UpdateChatRequestLinkNames)),
|
|
253
|
-
parse: S.optional(S.NullOr(S.String)),
|
|
254
|
-
text: S.optional(S.NullOr(S.String)),
|
|
255
|
-
ts: S.String,
|
|
256
|
-
reply_broadcast: S.optional(S.Boolean),
|
|
257
|
-
file_ids: S.optional(UpdateChatRequestFileIdsList),
|
|
258
|
-
}).pipe(T.Http({ method: "POST", uri: "/chat.update", code: 200 }))).annotate({ identifier: "UpdateChatRequest" });
|
|
259
|
-
export const UpdateChatResponseMessageAttachmentsItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
260
|
-
export const UpdateChatResponseMessageAttachmentsList = /*@__PURE__*/ S.Array(UpdateChatResponseMessageAttachmentsItemMap);
|
|
261
|
-
export const UpdateChatResponseMessageMetadataMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
262
|
-
export const UpdateChatResponseMessage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
263
|
-
text: S.String,
|
|
264
|
-
blocks: S.optional(S.Unknown),
|
|
265
|
-
attachments: S.optional(UpdateChatResponseMessageAttachmentsList),
|
|
266
|
-
metadata: S.optional(UpdateChatResponseMessageMetadataMap),
|
|
267
|
-
})).annotate({
|
|
268
|
-
identifier: "UpdateChatResponseMessage",
|
|
269
|
-
});
|
|
270
|
-
export const UpdateChatResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
271
|
-
ok: S.Boolean,
|
|
272
|
-
channel: S.String,
|
|
273
|
-
ts: S.String,
|
|
274
|
-
text: S.String,
|
|
275
|
-
message: UpdateChatResponseMessage,
|
|
276
|
-
})).annotate({ identifier: "UpdateChatResponse" });
|
|
277
|
-
/** Appends text to an existing streaming conversation. Required scopes — bot: `chat:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `message_not_in_streaming_state` — The message is not in the streaming state. - `messaging_processing_failed` — Failed to process the message. - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `channel_not_found` — Value passed for `channel` was invalid. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid. - `invalid_chunks` — Chunks submitted with this message are not valid. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_archived` — Channel has been archived. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `msg_blocks_too_many` — Max blocks exceeded, blocks are limited to 50 per message. - `metadata_too_large` — Metadata exceeds size limit - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `too_many_contact_cards` — Too many contact_cards were provided with this message. A maximum of 10 contact cards are allowed on a message. - `message_not_found` — Message not found - `channel_type_not_supported` — Channel type not supported - `stopped_by_user` — The streaming message was stopped by the user and no further appends are accepted. - `message_not_owned_by_app` — The message is not owned by the app. - `markdown_text_required` — Missing required field: 'markdown_text' - `markdown_text_or_chunks_required` — One of 'markdown_text' or 'chunks' is required - `streaming_mode_mismatch` — The streaming mode must be the same as the streaming mode used to start the stream. If you started the stream with `markdown_text`, you must append with `markdown_text`. If you started the stream with `chunks`, you must append with `chunks`. - `cannot_provide_both_markdown_text_and_chunks` — Cannot provide both `markdown_text` and `chunks` in the same request. See https://docs.slack.dev/reference/methods/chat.appendStream */
|
|
278
|
-
export const appendStream = /*@__PURE__*/ API.make(() => ({
|
|
279
|
-
input: AppendStreamRequest,
|
|
280
|
-
output: AppendStreamResponse,
|
|
281
|
-
errors: [SlackError, SlackRateLimited],
|
|
282
|
-
protocol: SlackProtocol,
|
|
283
|
-
retry: Retry.Retry,
|
|
284
|
-
}));
|
|
285
|
-
/** Provide custom unfurl behavior for user-posted URLs Required scopes — bot: `links:write`; user: `links:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cannot_auth_user` — The current user cannot be authenticated. - `cannot_find_channel` — The specified channel could not be located for this token. - `cannot_find_message` — The `ts` value in the request does not match a message. - `cannot_find_service` — A record of your app being allowed to unfurl for this workspace could not be found. - `cannot_parse_attachment` — The provided `unfurls` argument could not be parsed or understood. - `cannot_prompt` — The current user has already interacted with and dismissed a prompt for this application. - `cannot_unfurl_message` — The URL cannot be unfurled because the URL provided does not appear in the message. - `cannot_unfurl_url` — The URL cannot be unfurled. This error may be returned if you haven't acknowledged a `link_shared` event tied to the same URL. It is also returned when the domain appears in a workspace's administrative blocklists. - `invalid_unfurl_id` — The unfurl ID is invalid. - `invalid_unfurls_format` — The `unfurls` parameter cannot be JSON-decoded into a map of URLs to attachments. - `invalid_metadata_format` — The `metadata` parameter cannot be JSON-decoded into the expected format. - `invalid_source` — The unfurl source is invalid. - `missing_channel` — The request is missing the `channel` parameter - `missing_source` — The request is missing the `source` parameter. - `missing_ts` — The request is missing the `ts` parameter - `missing_unfurl_id` — The request is missing the `unfurl_id` parameter. - `missing_unfurls` — The request is missing the `unfurls` parameter. See https://docs.slack.dev/reference/methods/chat.unfurl */
|
|
286
|
-
export const chatUnfurl = /*@__PURE__*/ API.make(() => ({
|
|
287
|
-
input: ChatUnfurlRequest,
|
|
288
|
-
output: ChatUnfurlResponse,
|
|
289
|
-
errors: [SlackError, SlackRateLimited],
|
|
290
|
-
protocol: SlackProtocol,
|
|
291
|
-
retry: Retry.Retry,
|
|
292
|
-
}));
|
|
293
|
-
/** Deletes a message. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cant_delete_message` — Authenticated user does not have permission to delete this message. - `channel_not_found` — Value passed for `channel` was invalid. - `message_not_found` — No message exists with the requested timestamp. - `invalid_channel_id` — Value passed for `channel` was not a valid channel ID. See https://docs.slack.dev/reference/methods/chat.delete */
|
|
294
|
-
export const deleteChat = /*@__PURE__*/ API.make(() => ({
|
|
295
|
-
input: DeleteChatRequest,
|
|
296
|
-
output: DeleteChatResponse,
|
|
297
|
-
errors: [SlackError, SlackRateLimited],
|
|
298
|
-
protocol: SlackProtocol,
|
|
299
|
-
retry: Retry.Retry,
|
|
300
|
-
}));
|
|
301
|
-
/** Deletes a pending scheduled message from the queue. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `bad_token` — The provided `token` was invalid. - `channel_not_found` — The `channel` passed is either an invalid ID or does not exist. - `invalid_scheduled_message_id` — The `scheduled_message_id` passed is either an invalid ID, or the scheduled message it's referencing has already been sent or deleted. See https://docs.slack.dev/reference/methods/chat.deleteScheduledMessage */
|
|
302
|
-
export const deleteScheduledMessage = /*@__PURE__*/ API.make(() => ({
|
|
303
|
-
input: DeleteScheduledMessageRequest,
|
|
304
|
-
output: DeleteScheduledMessageResponse,
|
|
305
|
-
errors: [SlackError, SlackRateLimited],
|
|
306
|
-
protocol: SlackProtocol,
|
|
307
|
-
retry: Retry.Retry,
|
|
308
|
-
}));
|
|
309
|
-
/** Retrieve a permalink URL for a specific extant message Rate limit tier: 5 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `message_not_found` — The message identified by `message_ts` could not be found. See https://docs.slack.dev/reference/methods/chat.getPermalink */
|
|
310
|
-
export const getPermalink = /*@__PURE__*/ API.make(() => ({
|
|
311
|
-
input: GetPermalinkRequest,
|
|
312
|
-
output: GetPermalinkResponse,
|
|
313
|
-
errors: [SlackError, SlackRateLimited],
|
|
314
|
-
protocol: SlackProtocol,
|
|
315
|
-
retry: Retry.Retry,
|
|
316
|
-
}));
|
|
317
|
-
/** Returns a list of scheduled messages. Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_channel` — The channel passed is invalid - `invalid_cursor` — Provided cursor is invalid - `invalid_token` — Token is invalid See https://docs.slack.dev/reference/methods/chat.scheduledMessages.list */
|
|
318
|
-
export const listScheduledMessages = /*@__PURE__*/ API.makePaginated(() => ({
|
|
319
|
-
input: ListScheduledMessagesRequest,
|
|
320
|
-
output: ListScheduledMessagesResponse,
|
|
321
|
-
errors: [SlackError, SlackRateLimited],
|
|
322
|
-
protocol: SlackProtocol,
|
|
323
|
-
retry: Retry.Retry,
|
|
324
|
-
pagination: {
|
|
325
|
-
mode: "cursor",
|
|
326
|
-
inputToken: "cursor",
|
|
327
|
-
outputToken: "response_metadata.next_cursor",
|
|
328
|
-
items: "scheduled_messages",
|
|
329
|
-
pageSize: "limit",
|
|
330
|
-
},
|
|
331
|
-
}), slackPaginate);
|
|
332
|
-
/** Share a me message into a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `msg_too_long` — Message text is too long - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information See https://docs.slack.dev/reference/methods/chat.meMessage */
|
|
333
|
-
export const meMessage = /*@__PURE__*/ API.make(() => ({
|
|
334
|
-
input: MeMessageRequest,
|
|
335
|
-
output: MeMessageResponse,
|
|
336
|
-
errors: [SlackError, SlackRateLimited],
|
|
337
|
-
protocol: SlackProtocol,
|
|
338
|
-
retry: Retry.Retry,
|
|
339
|
-
}));
|
|
340
|
-
/** Sends an ephemeral message to a user in a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `invalid_blocks` — Blocks submitted with this message are not valid - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `is_archived` — Channel has been archived. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `messages_tab_disabled` — Messages tab for the app is disabled. - `msg_too_long` — Message text is too long - `no_text` — No message text provided - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `user_not_in_channel` — Intended recipient is not in the specified channel. - `not_in_channel` — Cannot post user messages to a channel they are not in. - `invalid_attachments` — Attachments that contain blocks are not valid - `cannot_reply_to_message` — This message type cannot have thread replies. See https://docs.slack.dev/reference/methods/chat.postEphemeral */
|
|
341
|
-
export const postEphemeral = /*@__PURE__*/ API.make(() => ({
|
|
342
|
-
input: PostEphemeralRequest,
|
|
343
|
-
output: PostEphemeralResponse,
|
|
344
|
-
errors: [SlackError, SlackRateLimited],
|
|
345
|
-
protocol: SlackProtocol,
|
|
346
|
-
retry: Retry.Retry,
|
|
347
|
-
}));
|
|
348
|
-
/** Sends a message to a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 5 Method-specific errors (the `error` slug on the SlackError): - `agent_prompt_display_not_allowed` — `client_context.agent_prompt_display` may only be set by the Slack client when posting to the user's Slackbot DM. - `app_access_restricted` — The user does not have permission to use this app. - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `channel_not_found` — Value passed for `channel` was invalid. - `draft_already_deleted` — The draft has already been deleted. - `draft_already_sent` — The draft has already been sent. - `draft_has_conflict` — The client draft version is out of sync with the server draft version. - `draft_not_found` — The draft was not found. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid. - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided. - `invalid_metadata_schema` — Invalid metadata schema provided. - `is_archived` — Channel has been archived. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces. - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token. - `metadata_too_large` — Metadata exceeds size limit. - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `no_text` — No message text provided. - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information. - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `send_on_behalf_not_allowed` — Cannot send on behalf of the provided user. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications. - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications. - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications. - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `too_many_contact_cards` — Too many contact_cards were provided with this message. A maximum of 10 contact cards are allowed on a message. - `cannot_reply_to_message` — This message type cannot have thread replies. - `missing_file_data` — Attempted to share a file but some required data was missing. - `attachment_payload_limit_exceeded` — Attachment payload size is too long. See https://docs.slack.dev/reference/methods/chat.postMessage */
|
|
349
|
-
export const postMessage = /*@__PURE__*/ API.make(() => ({
|
|
350
|
-
input: PostMessageRequest,
|
|
351
|
-
output: PostMessageResponse,
|
|
352
|
-
errors: [SlackError, SlackRateLimited],
|
|
353
|
-
protocol: SlackProtocol,
|
|
354
|
-
retry: Retry.Retry,
|
|
355
|
-
}));
|
|
356
|
-
/** Schedules a message to be sent to a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `invalid_blocks` — Blocks submitted with this message are not valid - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `invalid_time` — value passed for `post_time` was invalid. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_too_long` — Message text is too long - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `restricted_too_many` — Too many messages were scheduled in the channel for a given period. See [usage info](/reference/methods/chat.scheduleMessage#restrictions) for additional details - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `time_in_past` — value passed for `post_time` was in the past. - `time_too_far` — value passed for `post_time` was too far into the future. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `invalid_token` — The passed token is invalid or not supported by this method. See https://docs.slack.dev/reference/methods/chat.scheduleMessage */
|
|
357
|
-
export const scheduleMessage = /*@__PURE__*/ API.make(() => ({
|
|
358
|
-
input: ScheduleMessageRequest,
|
|
359
|
-
output: ScheduleMessageResponse,
|
|
360
|
-
errors: [SlackError, SlackRateLimited],
|
|
361
|
-
protocol: SlackProtocol,
|
|
362
|
-
retry: Retry.Retry,
|
|
363
|
-
}));
|
|
364
|
-
/** Starts a new streaming conversation. Required scopes — bot: `chat:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `messaging_processing_failed` — Failed to process the message. - `channel_not_found` — Value passed for `channel` was invalid. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid - `invalid_chunks` — Chunks submitted with this message are not valid. - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_archived` — Channel has been archived. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `msg_blocks_too_many` — Max blocks exceeded, blocks are limited to 50 per message. - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `channel_type_not_supported` — Channel type not supported - `user_not_found` — User not found. - `missing_recipient_team_id` — Missing recipient team ID. - `missing_recipient_user_id` — Missing recipient user ID. - `cannot_provide_both_markdown_text_and_chunks` — Cannot provide both `markdown_text` and `chunks` in the same request. See https://docs.slack.dev/reference/methods/chat.startStream */
|
|
365
|
-
export const startStream = /*@__PURE__*/ API.make(() => ({
|
|
366
|
-
input: StartStreamRequest,
|
|
367
|
-
output: StartStreamResponse,
|
|
368
|
-
errors: [SlackError, SlackRateLimited],
|
|
369
|
-
protocol: SlackProtocol,
|
|
370
|
-
retry: Retry.Retry,
|
|
371
|
-
}));
|
|
372
|
-
/** Stops a streaming conversation. Required scopes — bot: `chat:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `message_not_found` — The message was not found. - `message_not_in_streaming_state` — The message is not in a streaming state. - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `channel_not_found` — Value passed for `channel` was invalid. - `channel_type_not_supported` — Channel type not supported. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid. - `invalid_chunks` — Chunks submitted with this message are not valid. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_archived` — Channel has been archived. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `message_not_owned_by_app` — The message is not owned by the app. - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `msg_blocks_too_many` — Max blocks exceeded, blocks are limited to 50 per message. - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `too_many_contact_cards` — Too many contact_cards were provided with this message. A maximum of 10 contact cards are allowed on a message. - `cannot_reply_to_message` — This message type cannot have thread replies. - `missing_file_data` — Attempted to share a file but some required data was missing. - `attachment_payload_limit_exceeded` — Attachment payload size is too long. - `cannot_provide_both_markdown_text_and_chunks` — Cannot provide both `markdown_text` and `chunks` in the same request. - `streaming_mode_mismatch` — The streaming mode must be the same as the streaming mode used to start the stream. If you started the stream with `markdown_text`, you must append with `markdown_text`. If you started the stream with `chunks`, you must append with `chunks`. See https://docs.slack.dev/reference/methods/chat.stopStream */
|
|
373
|
-
export const stopStream = /*@__PURE__*/ API.make(() => ({
|
|
374
|
-
input: StopStreamRequest,
|
|
375
|
-
output: StopStreamResponse,
|
|
376
|
-
errors: [SlackError, SlackRateLimited],
|
|
377
|
-
protocol: SlackProtocol,
|
|
378
|
-
retry: Retry.Retry,
|
|
379
|
-
}));
|
|
380
|
-
/** Updates a message. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `blocked_file_type` — Admin has disabled uploading this type of file. - `block_mismatch` — Rich-text blocks cannot be replaced with non-rich-text blocks - `cant_broadcast_message` — Unable to broadcast this message. - `cant_update_message` — Authenticated user does not have permission to update this message. - `channel_not_found` — Value passed for `channel` was invalid. - `edit_window_closed` — The message cannot be edited due to the team message edit settings - `external_channel_migrating` — The channel is in the process of migrating and so the message cannot be updated at this time. - `file_deleted` — File to share deleted. - `file_is_deleted` — The file is deleted. - `file_not_found` — One or more of the provided file IDs could not be found. - `file_share_limit_reached` — The file has reached the share limit. - `invalid_attachments` — The attachments were invalid. - `invalid_blocks` — The blocks were invalid for the requesting user. - `invalid_blocks_format` — The `blocks` array is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_inactive` — The message cannot be edited within a frozen, archived or deleted channel. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `max_file_sharing_exceeded` — Exceeded max allowed files shared. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces. - `message_not_found` — No message exists with the requested timestamp. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_too_long` — Message text is too long. The `text` field cannot exceed 4,000 characters. - `no_dual_broadcast_content_update` — Can't broadcast an old reply and update the content at the same time. - `no_text` — No message text provided - `posting_to_channel_denied` — The user does not have permission to share files in this channel. - `slack_connect_blocked_file_type` — Files with certain extensions are blocked from being uploaded in all Slack Connect messages. - `slack_connect_canvas_sharing_blocked` — Admin has disabled sharing of canvas links in all Slack Connect messages. - `slack_connect_clip_sharing_blocked` — Admin has disabled Clip uploads in Slack Connect channels. - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack file sharing in all Slack Connect messages. - `slack_connect_file_upload_sharing_blocked` — Admin has disabled file uploads in all Slack Connect messages. - `streaming_state_conflict` — The message is currently streaming text and cannot be edited. - `team_not_found` — Team associated with the message and channel could not be found. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `unable_to_share_files` — Sharing the files failed. - `update_failed` — Internal update failure. - `invalid_channel_id` — Value passed for `channel` was not a valid channel ID. See https://docs.slack.dev/reference/methods/chat.update */
|
|
381
|
-
export const updateChat = /*@__PURE__*/ API.make(() => ({
|
|
382
|
-
input: UpdateChatRequest,
|
|
383
|
-
output: UpdateChatResponse,
|
|
384
|
-
errors: [SlackError, SlackRateLimited],
|
|
385
|
-
protocol: SlackProtocol,
|
|
386
|
-
retry: Retry.Retry,
|
|
387
|
-
}));
|
|
1
|
+
import{a as e,c as t,d as n,errors$SlackError as r,errors$SlackRateLimited as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,pagination$slackPaginate as m,protocol$SlackProtocol as h,r as g,retry$Retry as _,s as v,t as y,traits$Http as b,traits$Query as x,traits$UnionCases as S,u as C}from"../_bundle/sdk.js";const w=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"AppendStreamRequest";$5({channel:$2,chunks:$4(#3:0),ts:$2,markdown_text:$4($2)}).pipe($1({method:"POST",uri:"/chat.appendStream",code:200}))`,[l,b,f,__d0,C,v,n,__d1,r,i,h,_]]:p(w,e));const T=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$8(>2)@"ChatUnfurlRequest";$7({channel:$3($2),ts:$3($2),unfurls:$3($2),user_auth_message:$3($4($2)),user_auth_required:$3($5),user_auth_url:$3($4($2)),user_auth_blocks:$3($6),unfurl_id:$3($2),source:$3($2)}).pipe($1({method:"POST",uri:"/chat.unfurl",code:200}))`,[l,b,f,C,g,d,t,v,n,__d2,r,i,h,_]]:p(T,e));const E=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"DeleteChatRequest";$5({as_user:$3($2),channel:$4,ts:$4}).pipe($1({method:"POST",uri:"/chat.delete",code:200}))`,[l,b,d,C,f,v,n,__d1,r,i,h,_]]:p(E,e));const D=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"DeleteScheduledMessageRequest";$5({as_user:$3($2),channel:$4,scheduled_message_id:$4}).pipe($1({method:"POST",uri:"/chat.deleteScheduledMessage",code:200}))`,[l,b,d,C,f,v,n,__d2,r,i,h,_]]:p(D,e));const O=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$5(>3)@"GetPermalinkRequest";$5(>4)@"GetPermalinkResponse";$4({channel:$3.pipe($2()),message_ts:$3.pipe($2())}).pipe($1({method:"GET",uri:"/chat.getPermalink",code:200}));$4({ok:$6,permalink:$3,channel:$3})`,[l,b,x,f,v,n,d,r,i,h,_]]:p(O,e));const k=/*@__PURE__*/ o(e=>e===a?u(`ListScheduledMessagesResponse`,`{input:#1,output:#5,errors:[$9,$10],protocol:$11,retry:$12,pagination:{mode:"cursor",inputToken:"cursor",outputToken:"response_metadata.next_cursor",items:"scheduled_messages",pageSize:"limit"},strategy:$13};$6(>6)@"ListScheduledMessagesRequest";$6(>7)@"%ScheduledMessagesItem";$7(#2);$6(>8)@"%ResponseMetadata";$6(>9)@"%";$5({channel:$3($2),cursor:$3($2),latest:$3($2),limit:$3($4),oldest:$3($2),team_id:$3($2)}).pipe($1({method:"POST",uri:"/chat.scheduledMessages.list",code:200}));$5({id:$2,channel_id:$2,post_at:$4,date_created:$4,text:$3($2)});$5({next_cursor:$3($2)});$5({ok:$8,scheduled_messages:#3,response_metadata:$3(#4)})`,[l,b,f,C,c,v,n,y,d,r,i,h,_,m]):p(k,e));const A=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$4(>3)@"MeMessageRequest";$4(>4)@"MeMessageResponse";$3({channel:$2,text:$2}).pipe($1({method:"POST",uri:"/chat.meMessage",code:200}));$3({ok:$5,ts:$6($2),channel:$6($2)})`,[l,b,f,v,n,d,C,r,i,h,_]]:p(A,e));const j=/*@__PURE__*/ s(e=>e===a?[`{input:#3,output:#4,errors:[$10,$11],protocol:$12,retry:$13};$2.pipe($1([[],[]]));$2.pipe($1([[],[]]));$9(>5)@"PostEphemeralRequest";$9(>6)@"PostEphemeralResponse";$8({as_user:$5($4),attachments:$5(#1),blocks:$5(#2),channel:$6,icon_emoji:$5($6),icon_url:$5($6),link_names:$5($4),markdown_text:$5($6),metadata:$5($7($6)),parse:$5($7($6)),text:$5($7($6)),thread_ts:$5($7($6)),user:$6,username:$5($6)}).pipe($3({method:"POST",uri:"/chat.postEphemeral",code:200}));$8({ok:$4,message_ts:$6})`,[l,S,t,b,d,C,f,g,v,n,r,i,h,_]]:p(j,e));const M=/*@__PURE__*/ s(e=>e===a?[`{input:#3,output:#4,errors:[$10,$11],protocol:$12,retry:$13};$2.pipe($1([[],[]]));$2.pipe($1([[],[]]));$9(>5)@"PostMessageRequest";$9(>6)@"PostMessageResponse";$8({as_user:$5($4),attachments:$5(#1),blocks:$5(#2),channel:$6,current_draft_last_updated_ts:$5($6),icon_emoji:$5($7($6)),icon_url:$5($7($6)),link_names:$5($4),markdown_text:$5($6),metadata:$5($7($6)),mrkdwn:$5($4),parse:$5($7($6)),reply_broadcast:$5($4),text:$5($7($6)),thread_ts:$5($7($6)),unfurl_links:$5($4),unfurl_media:$5($4),username:$5($7($6)),unfurl_app_links:$5($4)}).pipe($3({method:"POST",uri:"/chat.postMessage",code:200}));$8({ok:$4,channel:$6,ts:$6,message:$5($2),is_duplicate:$5($4)})`,[l,S,t,b,d,C,f,g,v,n,r,i,h,_]]:p(M,e));const N=/*@__PURE__*/ s(e=>e===a?[`{input:#3,output:#4,errors:[$12,$13],protocol:$14,retry:$15};$2.pipe($1([[],[]]));$2.pipe($1([[],[]]));$10(>5)@"ScheduleMessageRequest";$10(>6)@"ScheduleMessageResponse";$9({as_user:$5($4),attachments:$5(#1),blocks:$5(#2),channel:$6,link_names:$5($4),markdown_text:$5($6),parse:$5($6),post_at:$7,reply_broadcast:$5($4),text:$5($6),thread_ts:$5($6),unfurl_links:$5($4),unfurl_media:$5($4),metadata:$5($8($6))}).pipe($3({method:"POST",uri:"/chat.scheduleMessage",code:200}));$9({ok:$4,channel:$6,post_at:$7,scheduled_message_id:$6,message:#11:0})`,[l,S,t,b,d,C,f,c,g,v,n,__d3,r,i,h,_]]:p(N,e));const P=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"StartStreamRequest";$6({channel:$2,chunks:$4(#3:0),markdown_text:$4($2),thread_ts:$4($2),recipient_user_id:$4($2),recipient_team_id:$4($2),task_display_mode:$4($2),icon_emoji:$4($5($2)),icon_url:$4($5($2)),username:$4($5($2))}).pipe($1({method:"POST",uri:"/chat.startStream",code:200}))`,[l,b,f,__d0,C,g,v,n,__d1,r,i,h,_]]:p(P,e));const F=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$7(>3)@"StopStreamRequest";$7(>4)@"StopStreamResponse";$6({channel:$2,chunks:$4($3),ts:$2,markdown_text:$4($2),blocks:$4($3),metadata:$4($5($2)),session_status:$4($2)}).pipe($1({method:"POST",uri:"/chat.stopStream",code:200}));$6({ok:$8,channel:$2,ts:$2,message:$3})`,[l,b,f,t,C,g,v,n,d,r,i,h,_]]:p(F,e));const I=/*@__PURE__*/ s(e=>e===a?u(`UpdateChatResponse`,`{input:#7,output:#9,errors:[$12,$13],protocol:$14,retry:$15};$2(#1:0);$4.pipe($3([[],[]]));$4.pipe($3([[],[]]));$4.pipe($3([[],[]]));$4.pipe($3([[],[]]));$2($5);$11(>10)@"UpdateChatRequest";$11(>11)@"%Message";$11(>12)@"%";$10({as_user:$8($7(#2)),attachments:$8(#3),unfurled_attachments:$8($7($5)),blocks:$8(#4),markdown_text:$8($5),metadata:$8($7($5)),channel:$5,link_names:$8($7(#5)),parse:$8($7($5)),text:$8($7($5)),ts:$5,reply_broadcast:$8($9),file_ids:$8(#6)}).pipe($6({method:"POST",uri:"/chat.update",code:200}));$10({text:$5,blocks:$8($4),attachments:$8(#1),metadata:$8(#1:0)});$10({ok:$9,channel:$5,ts:$5,text:$5,message:#8})`,[l,__d3,y,S,t,f,b,g,C,d,v,n,r,i,h,_]):p(I,e));function __d0(){return[`$2($1)`,[l,t,y]]}function __d1(){return[`$4(>1)@"AppendStreamResponse";$3({ok:$1,channel:$2,ts:$2})`,[l,d,f,v,n]]}function __d2(){return[`$3(>1)@"ChatUnfurlResponse";$2({ok:$1})`,[l,d,v,n]]}function __d3(){return[`$3($1,$2)`,[l,f,t,e]]}export{w as appendStream,T as chatUnfurl,E as deleteChat,D as deleteScheduledMessage,O as getPermalink,k as listScheduledMessages,A as meMessage,j as postEphemeral,M as postMessage,N as scheduleMessage,P as startStream,F as stopStream,I as updateChat};
|
|
388
2
|
//# sourceMappingURL=chat.js.map
|
package/lib/services/chat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/services/chat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAA0C,MAAM,gBAAgB,CAAC;AACvF,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAMlC,MAAM,CAAC,MAAM,6BAA6B,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAChE,CAAC,CAAC,OAAO,CACwC,CAAC;AAYpD,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAC9D,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACjD,EAAE,EAAE,CAAC,CAAC,MAAM;IACZ,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;CACpC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,oBAAoB,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAC1E,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,qBAAqB,EAAE,CAAyC,CAAC;AAQ1F,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,C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ACnB,CAAC,CAAC,CAAC;AAGJ,wgHAAwgH;AACxgH,MAAM,CAAC,MAAM,UAAU,GAKnB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,iBAAiB;IACxB,MAAM,EAAE,kBAAkB;IAC1B,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat.js","names":["API.D","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.NullOr","S.Boolean","S.Unknown","T.Query","API.named","S.Number","S.Array","T.UnionCases","S.Record","Record","Unknown","suspend","SlackError","SlackRateLimited","D","opPaginated","op","Number","named","Boolean","String","slackPaginate","SlackProtocol","NullOr","Retry","Struct","Array","Http","Query","UnionCases","optional","appendStream","i","at","call","chatUnfurl","deleteChat","deleteScheduledMessage","getPermalink","listScheduledMessages","meMessage","postEphemeral","postMessage","scheduleMessage","startStream","stopStream","updateChat"],"sources":["../../src/services/chat.ts"],"mappings":"8TA8ZA,MAAawC,EAKK,gBAAQ,GAAgBC,IAAMzC,EAAQ,CAAC,oNAAqN,CAACC,EAAQC,EAAQC,EAAU,KAAMC,EAAYC,EAAUC,EAAW,KAAMe,EAAYC,EAAkBS,EAAexB,CAAW,CAAC,EAAIC,EAASgC,EAAcC,CAAC,CAAC,EAI5a,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMzC,EAAQ,CAAC,uUAAwU,CAACC,EAAQC,EAAQC,EAAUC,EAAYK,EAAUC,EAAWC,EAAWN,EAAUC,EAAW,KAAMe,EAAYC,EAAkBS,EAAexB,CAAW,CAAC,EAAIC,EAASoC,EAAYH,CAAC,CAAC,EAIvjB,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAMzC,EAAQ,CAAC,sLAAuL,CAACC,EAAQC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