effect-slack 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.
Files changed (167) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +322 -0
  3. package/dist/Errors.d.ts +103 -0
  4. package/dist/Errors.d.ts.map +1 -0
  5. package/dist/Errors.js +84 -0
  6. package/dist/Errors.js.map +1 -0
  7. package/dist/Retry.d.ts +63 -0
  8. package/dist/Retry.d.ts.map +1 -0
  9. package/dist/Retry.js +77 -0
  10. package/dist/Retry.js.map +1 -0
  11. package/dist/SlackClient.d.ts +19 -0
  12. package/dist/SlackClient.d.ts.map +1 -0
  13. package/dist/SlackClient.js +21 -0
  14. package/dist/SlackClient.js.map +1 -0
  15. package/dist/SlackConfig.d.ts +26 -0
  16. package/dist/SlackConfig.d.ts.map +1 -0
  17. package/dist/SlackConfig.js +19 -0
  18. package/dist/SlackConfig.js.map +1 -0
  19. package/dist/SlackService.d.ts +32 -0
  20. package/dist/SlackService.d.ts.map +1 -0
  21. package/dist/SlackService.js +135 -0
  22. package/dist/SlackService.js.map +1 -0
  23. package/dist/generated/AdminService.d.ts +174 -0
  24. package/dist/generated/AdminService.d.ts.map +1 -0
  25. package/dist/generated/AdminService.js +1029 -0
  26. package/dist/generated/AdminService.js.map +1 -0
  27. package/dist/generated/ApiService.d.ts +18 -0
  28. package/dist/generated/ApiService.d.ts.map +1 -0
  29. package/dist/generated/ApiService.js +27 -0
  30. package/dist/generated/ApiService.js.map +1 -0
  31. package/dist/generated/AppsService.d.ts +33 -0
  32. package/dist/generated/AppsService.d.ts.map +1 -0
  33. package/dist/generated/AppsService.js +105 -0
  34. package/dist/generated/AppsService.js.map +1 -0
  35. package/dist/generated/AssistantService.d.ts +22 -0
  36. package/dist/generated/AssistantService.d.ts.map +1 -0
  37. package/dist/generated/AssistantService.js +49 -0
  38. package/dist/generated/AssistantService.js.map +1 -0
  39. package/dist/generated/AuthService.d.ts +22 -0
  40. package/dist/generated/AuthService.d.ts.map +1 -0
  41. package/dist/generated/AuthService.js +46 -0
  42. package/dist/generated/AuthService.js.map +1 -0
  43. package/dist/generated/BookmarksService.d.ts +21 -0
  44. package/dist/generated/BookmarksService.d.ts.map +1 -0
  45. package/dist/generated/BookmarksService.js +57 -0
  46. package/dist/generated/BookmarksService.js.map +1 -0
  47. package/dist/generated/BotsService.d.ts +18 -0
  48. package/dist/generated/BotsService.d.ts.map +1 -0
  49. package/dist/generated/BotsService.js +27 -0
  50. package/dist/generated/BotsService.js.map +1 -0
  51. package/dist/generated/CallsService.d.ts +25 -0
  52. package/dist/generated/CallsService.d.ts.map +1 -0
  53. package/dist/generated/CallsService.js +76 -0
  54. package/dist/generated/CallsService.js.map +1 -0
  55. package/dist/generated/CanvasesService.d.ts +27 -0
  56. package/dist/generated/CanvasesService.d.ts.map +1 -0
  57. package/dist/generated/CanvasesService.js +81 -0
  58. package/dist/generated/CanvasesService.js.map +1 -0
  59. package/dist/generated/ChatService.d.ts +32 -0
  60. package/dist/generated/ChatService.d.ts.map +1 -0
  61. package/dist/generated/ChatService.js +149 -0
  62. package/dist/generated/ChatService.js.map +1 -0
  63. package/dist/generated/ConversationsService.d.ts +51 -0
  64. package/dist/generated/ConversationsService.d.ts.map +1 -0
  65. package/dist/generated/ConversationsService.js +303 -0
  66. package/dist/generated/ConversationsService.js.map +1 -0
  67. package/dist/generated/DialogService.d.ts +18 -0
  68. package/dist/generated/DialogService.d.ts.map +1 -0
  69. package/dist/generated/DialogService.js +27 -0
  70. package/dist/generated/DialogService.js.map +1 -0
  71. package/dist/generated/DndService.d.ts +22 -0
  72. package/dist/generated/DndService.d.ts.map +1 -0
  73. package/dist/generated/DndService.js +67 -0
  74. package/dist/generated/DndService.js.map +1 -0
  75. package/dist/generated/EmojiService.d.ts +18 -0
  76. package/dist/generated/EmojiService.d.ts.map +1 -0
  77. package/dist/generated/EmojiService.js +27 -0
  78. package/dist/generated/EmojiService.js.map +1 -0
  79. package/dist/generated/EntityService.d.ts +18 -0
  80. package/dist/generated/EntityService.d.ts.map +1 -0
  81. package/dist/generated/EntityService.js +27 -0
  82. package/dist/generated/EntityService.js.map +1 -0
  83. package/dist/generated/FilesService.d.ts +37 -0
  84. package/dist/generated/FilesService.d.ts.map +1 -0
  85. package/dist/generated/FilesService.js +182 -0
  86. package/dist/generated/FilesService.js.map +1 -0
  87. package/dist/generated/FunctionsService.d.ts +19 -0
  88. package/dist/generated/FunctionsService.d.ts.map +1 -0
  89. package/dist/generated/FunctionsService.js +37 -0
  90. package/dist/generated/FunctionsService.js.map +1 -0
  91. package/dist/generated/MigrationService.d.ts +18 -0
  92. package/dist/generated/MigrationService.d.ts.map +1 -0
  93. package/dist/generated/MigrationService.js +27 -0
  94. package/dist/generated/MigrationService.js.map +1 -0
  95. package/dist/generated/OauthService.d.ts +22 -0
  96. package/dist/generated/OauthService.d.ts.map +1 -0
  97. package/dist/generated/OauthService.js +50 -0
  98. package/dist/generated/OauthService.js.map +1 -0
  99. package/dist/generated/OpenidService.d.ts +21 -0
  100. package/dist/generated/OpenidService.d.ts.map +1 -0
  101. package/dist/generated/OpenidService.js +39 -0
  102. package/dist/generated/OpenidService.js.map +1 -0
  103. package/dist/generated/PinsService.d.ts +20 -0
  104. package/dist/generated/PinsService.d.ts.map +1 -0
  105. package/dist/generated/PinsService.js +47 -0
  106. package/dist/generated/PinsService.js.map +1 -0
  107. package/dist/generated/ReactionsService.d.ts +21 -0
  108. package/dist/generated/ReactionsService.d.ts.map +1 -0
  109. package/dist/generated/ReactionsService.js +57 -0
  110. package/dist/generated/ReactionsService.js.map +1 -0
  111. package/dist/generated/RemindersService.d.ts +22 -0
  112. package/dist/generated/RemindersService.d.ts.map +1 -0
  113. package/dist/generated/RemindersService.js +67 -0
  114. package/dist/generated/RemindersService.js.map +1 -0
  115. package/dist/generated/RtmService.d.ts +19 -0
  116. package/dist/generated/RtmService.d.ts.map +1 -0
  117. package/dist/generated/RtmService.js +38 -0
  118. package/dist/generated/RtmService.js.map +1 -0
  119. package/dist/generated/SearchService.d.ts +20 -0
  120. package/dist/generated/SearchService.d.ts.map +1 -0
  121. package/dist/generated/SearchService.js +47 -0
  122. package/dist/generated/SearchService.js.map +1 -0
  123. package/dist/generated/SlackListsService.d.ts +35 -0
  124. package/dist/generated/SlackListsService.d.ts.map +1 -0
  125. package/dist/generated/SlackListsService.js +143 -0
  126. package/dist/generated/SlackListsService.js.map +1 -0
  127. package/dist/generated/StarsService.d.ts +20 -0
  128. package/dist/generated/StarsService.d.ts.map +1 -0
  129. package/dist/generated/StarsService.js +50 -0
  130. package/dist/generated/StarsService.js.map +1 -0
  131. package/dist/generated/TeamService.d.ts +34 -0
  132. package/dist/generated/TeamService.d.ts.map +1 -0
  133. package/dist/generated/TeamService.js +115 -0
  134. package/dist/generated/TeamService.js.map +1 -0
  135. package/dist/generated/ToolingService.d.ts +20 -0
  136. package/dist/generated/ToolingService.d.ts.map +1 -0
  137. package/dist/generated/ToolingService.js +29 -0
  138. package/dist/generated/ToolingService.js.map +1 -0
  139. package/dist/generated/UsergroupsService.d.ts +26 -0
  140. package/dist/generated/UsergroupsService.d.ts.map +1 -0
  141. package/dist/generated/UsergroupsService.js +89 -0
  142. package/dist/generated/UsergroupsService.js.map +1 -0
  143. package/dist/generated/UsersService.d.ts +33 -0
  144. package/dist/generated/UsersService.d.ts.map +1 -0
  145. package/dist/generated/UsersService.js +141 -0
  146. package/dist/generated/UsersService.js.map +1 -0
  147. package/dist/generated/ViewsService.d.ts +21 -0
  148. package/dist/generated/ViewsService.d.ts.map +1 -0
  149. package/dist/generated/ViewsService.js +57 -0
  150. package/dist/generated/ViewsService.js.map +1 -0
  151. package/dist/generated/WorkflowsService.d.ts +26 -0
  152. package/dist/generated/WorkflowsService.d.ts.map +1 -0
  153. package/dist/generated/WorkflowsService.js +92 -0
  154. package/dist/generated/WorkflowsService.js.map +1 -0
  155. package/dist/generated/index.d.ts +38 -0
  156. package/dist/generated/index.d.ts.map +1 -0
  157. package/dist/generated/index.js +38 -0
  158. package/dist/generated/index.js.map +1 -0
  159. package/dist/index.d.ts +8 -0
  160. package/dist/index.d.ts.map +1 -0
  161. package/dist/index.js +11 -0
  162. package/dist/index.js.map +1 -0
  163. package/dist/internal/errors.d.ts +13 -0
  164. package/dist/internal/errors.d.ts.map +1 -0
  165. package/dist/internal/errors.js +68 -0
  166. package/dist/internal/errors.js.map +1 -0
  167. package/package.json +80 -0
@@ -0,0 +1,303 @@
1
+ /**
2
+ * Generated Slack Conversations Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import { SlackClient } from "../SlackClient.js";
7
+ import { mapSlackError, annotateSpanWithError } from "../internal/errors.js";
8
+ export class ConversationsService extends Effect.Service()("effect-slack/ConversationsService", {
9
+ effect: Effect.gen(function* () {
10
+ const client = yield* SlackClient;
11
+ /**
12
+ * Accepts an invitation to a Slack Connect channel.
13
+ */
14
+ const acceptSharedInvite = (args) => Effect.tryPromise({
15
+ try: () => client.conversations.acceptSharedInvite(args),
16
+ catch: mapSlackError
17
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.acceptSharedInvite", {
18
+ attributes: { "slack.method": "conversations.acceptSharedInvite" }
19
+ }));
20
+ /**
21
+ * Approves an invitation to a Slack Connect channel.
22
+ */
23
+ const approveSharedInvite = (args) => Effect.tryPromise({
24
+ try: () => client.conversations.approveSharedInvite(args),
25
+ catch: mapSlackError
26
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.approveSharedInvite", {
27
+ attributes: { "slack.method": "conversations.approveSharedInvite" }
28
+ }));
29
+ /**
30
+ * Archives a conversation.
31
+ */
32
+ const archive = (args) => Effect.tryPromise({
33
+ try: () => client.conversations.archive(args),
34
+ catch: mapSlackError
35
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.archive", {
36
+ attributes: { "slack.method": "conversations.archive" }
37
+ }));
38
+ /**
39
+ * Closes a direct message or multi-person direct message.
40
+ */
41
+ const close = (args) => Effect.tryPromise({
42
+ try: () => client.conversations.close(args),
43
+ catch: mapSlackError
44
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.close", {
45
+ attributes: { "slack.method": "conversations.close" }
46
+ }));
47
+ /**
48
+ * Initiates a public or private channel-based conversation.
49
+ */
50
+ const create = (args) => Effect.tryPromise({
51
+ try: () => client.conversations.create(args),
52
+ catch: mapSlackError
53
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.create", {
54
+ attributes: { "slack.method": "conversations.create" }
55
+ }));
56
+ /**
57
+ * Declines an invitation to a Slack Connect channel.
58
+ */
59
+ const declineSharedInvite = (args) => Effect.tryPromise({
60
+ try: () => client.conversations.declineSharedInvite(args),
61
+ catch: mapSlackError
62
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.declineSharedInvite", {
63
+ attributes: { "slack.method": "conversations.declineSharedInvite" }
64
+ }));
65
+ /**
66
+ * Fetches a conversation's history of messages and events.
67
+ */
68
+ const history = (args) => Effect.tryPromise({
69
+ try: () => client.conversations.history(args),
70
+ catch: mapSlackError
71
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.history", {
72
+ attributes: { "slack.method": "conversations.history" }
73
+ }));
74
+ /**
75
+ * Retrieve information about a conversation.
76
+ */
77
+ const info = (args) => Effect.tryPromise({
78
+ try: () => client.conversations.info(args),
79
+ catch: mapSlackError
80
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.info", {
81
+ attributes: { "slack.method": "conversations.info" }
82
+ }));
83
+ /**
84
+ * Invites users to a channel.
85
+ */
86
+ const invite = (args) => Effect.tryPromise({
87
+ try: () => client.conversations.invite(args),
88
+ catch: mapSlackError
89
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.invite", {
90
+ attributes: { "slack.method": "conversations.invite" }
91
+ }));
92
+ /**
93
+ * Sends an invitation to a Slack Connect channel.
94
+ */
95
+ const inviteShared = (args) => Effect.tryPromise({
96
+ try: () => client.conversations.inviteShared(args),
97
+ catch: mapSlackError
98
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.inviteShared", {
99
+ attributes: { "slack.method": "conversations.inviteShared" }
100
+ }));
101
+ /**
102
+ * Joins an existing conversation.
103
+ */
104
+ const join = (args) => Effect.tryPromise({
105
+ try: () => client.conversations.join(args),
106
+ catch: mapSlackError
107
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.join", {
108
+ attributes: { "slack.method": "conversations.join" }
109
+ }));
110
+ /**
111
+ * Removes a user from a conversation.
112
+ */
113
+ const kick = (args) => Effect.tryPromise({
114
+ try: () => client.conversations.kick(args),
115
+ catch: mapSlackError
116
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.kick", {
117
+ attributes: { "slack.method": "conversations.kick" }
118
+ }));
119
+ /**
120
+ * Leaves a conversation.
121
+ */
122
+ const leave = (args) => Effect.tryPromise({
123
+ try: () => client.conversations.leave(args),
124
+ catch: mapSlackError
125
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.leave", {
126
+ attributes: { "slack.method": "conversations.leave" }
127
+ }));
128
+ /**
129
+ * List all channels in a Slack team.
130
+ */
131
+ const list = (args) => Effect.tryPromise({
132
+ try: () => client.conversations.list(args),
133
+ catch: mapSlackError
134
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.list", {
135
+ attributes: { "slack.method": "conversations.list" }
136
+ }));
137
+ /**
138
+ * Lists shared channel invites that have been generated or received but have not been approved by all parties.
139
+ */
140
+ const listConnectInvites = (args) => Effect.tryPromise({
141
+ try: () => client.conversations.listConnectInvites(args),
142
+ catch: mapSlackError
143
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.listConnectInvites", {
144
+ attributes: { "slack.method": "conversations.listConnectInvites" }
145
+ }));
146
+ /**
147
+ * Sets the read cursor in a channel.
148
+ */
149
+ const mark = (args) => Effect.tryPromise({
150
+ try: () => client.conversations.mark(args),
151
+ catch: mapSlackError
152
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.mark", {
153
+ attributes: { "slack.method": "conversations.mark" }
154
+ }));
155
+ /**
156
+ * Retrieve members of a conversation.
157
+ */
158
+ const members = (args) => Effect.tryPromise({
159
+ try: () => client.conversations.members(args),
160
+ catch: mapSlackError
161
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.members", {
162
+ attributes: { "slack.method": "conversations.members" }
163
+ }));
164
+ /**
165
+ * Opens or resumes a direct message or multi-person direct message.
166
+ */
167
+ const open = (args) => Effect.tryPromise({
168
+ try: () => client.conversations.open(args),
169
+ catch: mapSlackError
170
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.open", {
171
+ attributes: { "slack.method": "conversations.open" }
172
+ }));
173
+ /**
174
+ * Renames a conversation.
175
+ */
176
+ const rename = (args) => Effect.tryPromise({
177
+ try: () => client.conversations.rename(args),
178
+ catch: mapSlackError
179
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.rename", {
180
+ attributes: { "slack.method": "conversations.rename" }
181
+ }));
182
+ /**
183
+ * Retrieve a thread of messages posted to a conversation.
184
+ */
185
+ const replies = (args) => Effect.tryPromise({
186
+ try: () => client.conversations.replies(args),
187
+ catch: mapSlackError
188
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.replies", {
189
+ attributes: { "slack.method": "conversations.replies" }
190
+ }));
191
+ /**
192
+ * Sets the purpose for a conversation.
193
+ */
194
+ const setPurpose = (args) => Effect.tryPromise({
195
+ try: () => client.conversations.setPurpose(args),
196
+ catch: mapSlackError
197
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.setPurpose", {
198
+ attributes: { "slack.method": "conversations.setPurpose" }
199
+ }));
200
+ /**
201
+ * Sets the topic for a conversation.
202
+ */
203
+ const setTopic = (args) => Effect.tryPromise({
204
+ try: () => client.conversations.setTopic(args),
205
+ catch: mapSlackError
206
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.setTopic", {
207
+ attributes: { "slack.method": "conversations.setTopic" }
208
+ }));
209
+ /**
210
+ * Reverses conversation archival.
211
+ */
212
+ const unarchive = (args) => Effect.tryPromise({
213
+ try: () => client.conversations.unarchive(args),
214
+ catch: mapSlackError
215
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.unarchive", {
216
+ attributes: { "slack.method": "conversations.unarchive" }
217
+ }));
218
+ /**
219
+ * Create a Channel Canvas for a channel.
220
+ */
221
+ const CanvasesCreate = (args) => Effect.tryPromise({
222
+ try: () => client.conversations.canvases.create(args),
223
+ catch: mapSlackError
224
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.canvases.create", {
225
+ attributes: { "slack.method": "conversations.canvases.create" }
226
+ }));
227
+ /**
228
+ * Convert a team in a shared channel from an External Limited channel to a fully shared Slack Connect channel or vice versa.
229
+ */
230
+ const ExternalInvitePermissionsSet = (args) => Effect.tryPromise({
231
+ try: () => client.conversations.externalInvitePermissions.set(args),
232
+ catch: mapSlackError
233
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.externalInvitePermissions.set", {
234
+ attributes: { "slack.method": "conversations.externalInvitePermissions.set" }
235
+ }));
236
+ /**
237
+ * Approves a request to add an external user to a channel and sends them a Slack Connect invite.
238
+ */
239
+ const RequestSharedInviteApprove = (args) => Effect.tryPromise({
240
+ try: () => client.conversations.requestSharedInvite.approve(args),
241
+ catch: mapSlackError
242
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.requestSharedInvite.approve", {
243
+ attributes: { "slack.method": "conversations.requestSharedInvite.approve" }
244
+ }));
245
+ /**
246
+ * Denies a request to invite an external user to a channel.
247
+ */
248
+ const RequestSharedInviteDeny = (args) => Effect.tryPromise({
249
+ try: () => client.conversations.requestSharedInvite.deny(args),
250
+ catch: mapSlackError
251
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.requestSharedInvite.deny", {
252
+ attributes: { "slack.method": "conversations.requestSharedInvite.deny" }
253
+ }));
254
+ /**
255
+ * Lists requests to add external users to channels with ability to filter.
256
+ */
257
+ const RequestSharedInviteList = (args) => Effect.tryPromise({
258
+ try: () => client.conversations.requestSharedInvite.list(args),
259
+ catch: mapSlackError
260
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("ConversationsService.requestSharedInvite.list", {
261
+ attributes: { "slack.method": "conversations.requestSharedInvite.list" }
262
+ }));
263
+ return {
264
+ acceptSharedInvite,
265
+ approveSharedInvite,
266
+ archive,
267
+ close,
268
+ create,
269
+ declineSharedInvite,
270
+ history,
271
+ info,
272
+ invite,
273
+ inviteShared,
274
+ join,
275
+ kick,
276
+ leave,
277
+ list,
278
+ listConnectInvites,
279
+ mark,
280
+ members,
281
+ open,
282
+ rename,
283
+ replies,
284
+ setPurpose,
285
+ setTopic,
286
+ unarchive,
287
+ canvases: {
288
+ create: CanvasesCreate
289
+ },
290
+ externalInvitePermissions: {
291
+ set: ExternalInvitePermissionsSet
292
+ },
293
+ requestSharedInvite: {
294
+ approve: RequestSharedInviteApprove,
295
+ deny: RequestSharedInviteDeny,
296
+ list: RequestSharedInviteList
297
+ }
298
+ };
299
+ }),
300
+ dependencies: [SlackClient.Default]
301
+ }) {
302
+ }
303
+ //# sourceMappingURL=ConversationsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationsService.js","sourceRoot":"","sources":["../../src/generated/ConversationsService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2D/B,OAAO,EAAE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C9D,KAAK,EAAE,aAAa;SACrB,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,+CAA+C,EAAE;YAC/D,UAAU,EAAE,EAAE,cAAc,EAAE,wCAAwC,EAAE;SACzE,CAAC,CACH,CAAA;QAEH,OAAO;YACL,kBAAkB;YAClB,mBAAmB;YACnB,OAAO;YACP,KAAK;YACL,MAAM;YACN,mBAAmB;YACnB,OAAO;YACP,IAAI;YACJ,MAAM;YACN,YAAY;YACZ,IAAI;YACJ,IAAI;YACJ,KAAK;YACL,IAAI;YACJ,kBAAkB;YAClB,IAAI;YACJ,OAAO;YACP,IAAI;YACJ,MAAM;YACN,OAAO;YACP,UAAU;YACV,QAAQ;YACR,SAAS;YACT,QAAQ,EAAE;gBACR,MAAM,EAAE,cAAc;aACvB;YACD,yBAAyB,EAAE;gBACzB,GAAG,EAAE,4BAA4B;aAClC;YACD,mBAAmB,EAAE;gBACnB,OAAO,EAAE,0BAA0B;gBACnC,IAAI,EAAE,uBAAuB;gBAC7B,IAAI,EAAE,uBAAuB;aAC9B;SACO,CAAA;IACZ,CAAC,CAAC;IACF,YAAY,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;CACpC,CAAC;CAAG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated Slack Dialog Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import type { DialogOpenArguments, DialogOpenResponse } from "@slack/web-api";
7
+ import { SlackClient } from "../SlackClient.js";
8
+ import { type SlackError } from "../internal/errors.js";
9
+ declare const DialogService_base: Effect.Service.Class<DialogService, "effect-slack/DialogService", {
10
+ readonly effect: Effect.Effect<{
11
+ readonly open: (args: DialogOpenArguments) => Effect.Effect<DialogOpenResponse, SlackError>;
12
+ }, never, SlackClient>;
13
+ readonly dependencies: readonly [import("effect/Layer").Layer<SlackClient, never, import("../SlackConfig.js").SlackConfig>];
14
+ }>;
15
+ export declare class DialogService extends DialogService_base {
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=DialogService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogService.d.ts","sourceRoot":"","sources":["../../src/generated/DialogService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;;;8BAUjF,mBAAmB,KACxB,MAAM,CAAC,MAAM,CAAC,kBAAkB,EAAE,UAAU,CAAC;;;;AATpD,qBAAa,aAAc,SAAQ,kBAyBjC;CAAG"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated Slack Dialog Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import { SlackClient } from "../SlackClient.js";
7
+ import { mapSlackError, annotateSpanWithError } from "../internal/errors.js";
8
+ export class DialogService extends Effect.Service()("effect-slack/DialogService", {
9
+ effect: Effect.gen(function* () {
10
+ const client = yield* SlackClient;
11
+ /**
12
+ * Open a dialog with a user.
13
+ */
14
+ const open = (args) => Effect.tryPromise({
15
+ try: () => client.dialog.open(args),
16
+ catch: mapSlackError
17
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("DialogService.open", {
18
+ attributes: { "slack.method": "dialog.open" }
19
+ }));
20
+ return {
21
+ open
22
+ };
23
+ }),
24
+ dependencies: [SlackClient.Default]
25
+ }) {
26
+ }
27
+ //# sourceMappingURL=DialogService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogService.js","sourceRoot":"","sources":["../../src/generated/DialogService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAK/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAmB,MAAM,uBAAuB,CAAA;AAE7F,MAAM,OAAO,aAAc,SAAQ,MAAM,CAAC,OAAO,EAAiB,CAAC,4BAA4B,EAAE;IAC/F,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC1B,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,WAAW,CAAA;QAEjC;;WAEG;QACH,MAAM,IAAI,GAAG,CACX,IAAyB,EACsB,EAAE,CACjD,MAAM,CAAC,UAAU,CAAC;YAChB,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;YACnC,KAAK,EAAE,aAAa;SACrB,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,EAAE;YACpC,UAAU,EAAE,EAAE,cAAc,EAAE,aAAa,EAAE;SAC9C,CAAC,CACH,CAAA;QAEH,OAAO;YACL,IAAI;SACI,CAAA;IACZ,CAAC,CAAC;IACF,YAAY,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;CACpC,CAAC;CAAG"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Generated Slack Dnd Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import type { DndEndDndArguments, DndEndDndResponse, DndEndSnoozeArguments, DndEndSnoozeResponse, DndInfoArguments, DndInfoResponse, DndSetSnoozeArguments, DndSetSnoozeResponse, DndTeamInfoArguments, DndTeamInfoResponse } from "@slack/web-api";
7
+ import { SlackClient } from "../SlackClient.js";
8
+ import { type SlackError } from "../internal/errors.js";
9
+ declare const DndService_base: Effect.Service.Class<DndService, "effect-slack/DndService", {
10
+ readonly effect: Effect.Effect<{
11
+ readonly endDnd: (args?: DndEndDndArguments) => Effect.Effect<DndEndDndResponse, SlackError>;
12
+ readonly endSnooze: (args?: DndEndSnoozeArguments) => Effect.Effect<DndEndSnoozeResponse, SlackError>;
13
+ readonly info: (args?: DndInfoArguments) => Effect.Effect<DndInfoResponse, SlackError>;
14
+ readonly setSnooze: (args: DndSetSnoozeArguments) => Effect.Effect<DndSetSnoozeResponse, SlackError>;
15
+ readonly teamInfo: (args: DndTeamInfoArguments) => Effect.Effect<DndTeamInfoResponse, SlackError>;
16
+ }, never, SlackClient>;
17
+ readonly dependencies: readonly [import("effect/Layer").Layer<SlackClient, never, import("../SlackConfig.js").SlackConfig>];
18
+ }>;
19
+ export declare class DndService extends DndService_base {
20
+ }
21
+ export {};
22
+ //# sourceMappingURL=DndService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DndService.d.ts","sourceRoot":"","sources":["../../src/generated/DndService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;;;iCAUhF,kBAAkB,KACxB,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC;oCAetC,qBAAqB,KAC3B,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,UAAU,CAAC;+BAezC,gBAAgB,KACtB,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,UAAU,CAAC;mCAerC,qBAAqB,KAC1B,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,UAAU,CAAC;kCAe1C,oBAAoB,KACzB,MAAM,CAAC,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAAC;;;;AAzErD,qBAAa,UAAW,SAAQ,eA6F9B;CAAG"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Generated Slack Dnd Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import { SlackClient } from "../SlackClient.js";
7
+ import { mapSlackError, annotateSpanWithError } from "../internal/errors.js";
8
+ export class DndService extends Effect.Service()("effect-slack/DndService", {
9
+ effect: Effect.gen(function* () {
10
+ const client = yield* SlackClient;
11
+ /**
12
+ * Ends the current user's Do Not Disturb session immediately.
13
+ */
14
+ const endDnd = (args) => Effect.tryPromise({
15
+ try: () => client.dnd.endDnd(args),
16
+ catch: mapSlackError
17
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("DndService.endDnd", {
18
+ attributes: { "slack.method": "dnd.endDnd" }
19
+ }));
20
+ /**
21
+ * Ends the current user's snooze mode immediately.
22
+ */
23
+ const endSnooze = (args) => Effect.tryPromise({
24
+ try: () => client.dnd.endSnooze(args),
25
+ catch: mapSlackError
26
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("DndService.endSnooze", {
27
+ attributes: { "slack.method": "dnd.endSnooze" }
28
+ }));
29
+ /**
30
+ * Retrieves a user's current Do Not Disturb status.
31
+ */
32
+ const info = (args) => Effect.tryPromise({
33
+ try: () => client.dnd.info(args),
34
+ catch: mapSlackError
35
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("DndService.info", {
36
+ attributes: { "slack.method": "dnd.info" }
37
+ }));
38
+ /**
39
+ * Turns on Do Not Disturb mode for the current user, or changes its duration.
40
+ */
41
+ const setSnooze = (args) => Effect.tryPromise({
42
+ try: () => client.dnd.setSnooze(args),
43
+ catch: mapSlackError
44
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("DndService.setSnooze", {
45
+ attributes: { "slack.method": "dnd.setSnooze" }
46
+ }));
47
+ /**
48
+ * Retrieves the Do Not Disturb status for up to 50 users on a team.
49
+ */
50
+ const teamInfo = (args) => Effect.tryPromise({
51
+ try: () => client.dnd.teamInfo(args),
52
+ catch: mapSlackError
53
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("DndService.teamInfo", {
54
+ attributes: { "slack.method": "dnd.teamInfo" }
55
+ }));
56
+ return {
57
+ endDnd,
58
+ endSnooze,
59
+ info,
60
+ setSnooze,
61
+ teamInfo
62
+ };
63
+ }),
64
+ dependencies: [SlackClient.Default]
65
+ }) {
66
+ }
67
+ //# sourceMappingURL=DndService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DndService.js","sourceRoot":"","sources":["../../src/generated/DndService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAa/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAmB,MAAM,uBAAuB,CAAA;AAE7F,MAAM,OAAO,UAAW,SAAQ,MAAM,CAAC,OAAO,EAAc,CAAC,yBAAyB,EAAE;IACtF,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC1B,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,WAAW,CAAA;QAEjC;;WAEG;QACH,MAAM,MAAM,GAAG,CACb,IAAyB,EACqB,EAAE,CAChD,MAAM,CAAC,UAAU,CAAC;YAChB,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC;YAClC,KAAK,EAAE,aAAa;SACrB,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,mB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H,CAAA;QAEH;;WAEG;QACH,MAAM,QAAQ,GAAG,CACf,IAA0B,EACsB,EAAE,CAClD,MAAM,CAAC,UAAU,CAAC;YAChB,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC;YACpC,KAAK,EAAE,aAAa;SACrB,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,EAAE;YACrC,UAAU,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE;SAC/C,CAAC,CACH,CAAA;QAEH,OAAO;YACL,MAAM;YACN,SAAS;YACT,IAAI;YACJ,SAAS;YACT,QAAQ;SACA,CAAA;IACZ,CAAC,CAAC;IACF,YAAY,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;CACpC,CAAC;CAAG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated Slack Emoji Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import type { EmojiListArguments, EmojiListResponse } from "@slack/web-api";
7
+ import { SlackClient } from "../SlackClient.js";
8
+ import { type SlackError } from "../internal/errors.js";
9
+ declare const EmojiService_base: Effect.Service.Class<EmojiService, "effect-slack/EmojiService", {
10
+ readonly effect: Effect.Effect<{
11
+ readonly list: (args?: EmojiListArguments) => Effect.Effect<EmojiListResponse, SlackError>;
12
+ }, never, SlackClient>;
13
+ readonly dependencies: readonly [import("effect/Layer").Layer<SlackClient, never, import("../SlackConfig.js").SlackConfig>];
14
+ }>;
15
+ export declare class EmojiService extends EmojiService_base {
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=EmojiService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmojiService.d.ts","sourceRoot":"","sources":["../../src/generated/EmojiService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;;;+BAUhF,kBAAkB,KACxB,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC;;;;AATnD,qBAAa,YAAa,SAAQ,iBAyBhC;CAAG"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated Slack Emoji Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import { SlackClient } from "../SlackClient.js";
7
+ import { mapSlackError, annotateSpanWithError } from "../internal/errors.js";
8
+ export class EmojiService extends Effect.Service()("effect-slack/EmojiService", {
9
+ effect: Effect.gen(function* () {
10
+ const client = yield* SlackClient;
11
+ /**
12
+ * Lists custom emoji for a team.
13
+ */
14
+ const list = (args) => Effect.tryPromise({
15
+ try: () => client.emoji.list(args),
16
+ catch: mapSlackError
17
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("EmojiService.list", {
18
+ attributes: { "slack.method": "emoji.list" }
19
+ }));
20
+ return {
21
+ list
22
+ };
23
+ }),
24
+ dependencies: [SlackClient.Default]
25
+ }) {
26
+ }
27
+ //# sourceMappingURL=EmojiService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmojiService.js","sourceRoot":"","sources":["../../src/generated/EmojiService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAK/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAmB,MAAM,uBAAuB,CAAA;AAE7F,MAAM,OAAO,YAAa,SAAQ,MAAM,CAAC,OAAO,EAAgB,CAAC,2BAA2B,EAAE;IAC5F,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC1B,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,WAAW,CAAA;QAEjC;;WAEG;QACH,MAAM,IAAI,GAAG,CACX,IAAyB,EACqB,EAAE,CAChD,MAAM,CAAC,UAAU,CAAC;YAChB,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;YAClC,KAAK,EAAE,aAAa;SACrB,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,EAAE;YACnC,UAAU,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE;SAC7C,CAAC,CACH,CAAA;QAEH,OAAO;YACL,IAAI;SACI,CAAA;IACZ,CAAC,CAAC;IACF,YAAY,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;CACpC,CAAC;CAAG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated Slack Entity Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import type { EntityPresentDetailsArguments, EntityPresentDetailsResponse } from "@slack/web-api";
7
+ import { SlackClient } from "../SlackClient.js";
8
+ import { type SlackError } from "../internal/errors.js";
9
+ declare const EntityService_base: Effect.Service.Class<EntityService, "effect-slack/EntityService", {
10
+ readonly effect: Effect.Effect<{
11
+ readonly presentDetails: (args: EntityPresentDetailsArguments) => Effect.Effect<EntityPresentDetailsResponse, SlackError>;
12
+ }, never, SlackClient>;
13
+ readonly dependencies: readonly [import("effect/Layer").Layer<SlackClient, never, import("../SlackConfig.js").SlackConfig>];
14
+ }>;
15
+ export declare class EntityService extends EntityService_base {
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=EntityService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityService.d.ts","sourceRoot":"","sources":["../../src/generated/EntityService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EACV,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;;;wCAUjF,6BAA6B,KAClC,MAAM,CAAC,MAAM,CAAC,4BAA4B,EAAE,UAAU,CAAC;;;;AAT9D,qBAAa,aAAc,SAAQ,kBAyBjC;CAAG"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated Slack Entity Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import { SlackClient } from "../SlackClient.js";
7
+ import { mapSlackError, annotateSpanWithError } from "../internal/errors.js";
8
+ export class EntityService extends Effect.Service()("effect-slack/EntityService", {
9
+ effect: Effect.gen(function* () {
10
+ const client = yield* SlackClient;
11
+ /**
12
+ * Provide information about the entity to be displayed in the flexpane.
13
+ */
14
+ const presentDetails = (args) => Effect.tryPromise({
15
+ try: () => client.entity.presentDetails(args),
16
+ catch: mapSlackError
17
+ }).pipe(Effect.tapError(annotateSpanWithError), Effect.withSpan("EntityService.presentDetails", {
18
+ attributes: { "slack.method": "entity.presentDetails" }
19
+ }));
20
+ return {
21
+ presentDetails
22
+ };
23
+ }),
24
+ dependencies: [SlackClient.Default]
25
+ }) {
26
+ }
27
+ //# sourceMappingURL=EntityService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityService.js","sourceRoot":"","sources":["../../src/generated/EntityService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAK/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAmB,MAAM,uBAAuB,CAAA;AAE7F,MAAM,OAAO,aAAc,SAAQ,MAAM,CAAC,OAAO,EAAiB,CAAC,4BAA4B,EAAE;IAC/F,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC1B,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,WAAW,CAAA;QAEjC;;WAEG;QACH,MAAM,cAAc,GAAG,CACrB,IAAmC,EACsB,EAAE,CAC3D,MAAM,CAAC,UAAU,CAAC;YAChB,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC;YAC7C,KAAK,EAAE,aAAa;SACrB,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,8BAA8B,EAAE;YAC9C,UAAU,EAAE,EAAE,cAAc,EAAE,uBAAuB,EAAE;SACxD,CAAC,CACH,CAAA;QAEH,OAAO;YACL,cAAc;SACN,CAAA;IACZ,CAAC,CAAC;IACF,YAAY,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;CACpC,CAAC;CAAG"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Generated Slack Files Service
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate-services.ts
4
+ */
5
+ import { Effect } from "effect";
6
+ import type { FilesCommentsDeleteArguments, FilesCommentsDeleteResponse, FilesCompleteUploadExternalArguments, FilesCompleteUploadExternalResponse, FilesDeleteArguments, FilesDeleteResponse, FilesGetUploadURLExternalArguments, FilesGetUploadURLExternalResponse, FilesInfoArguments, FilesInfoResponse, FilesListArguments, FilesListResponse, FilesRemoteAddArguments, FilesRemoteAddResponse, FilesRemoteInfoArguments, FilesRemoteInfoResponse, FilesRemoteListArguments, FilesRemoteListResponse, FilesRemoteRemoveArguments, FilesRemoteRemoveResponse, FilesRemoteShareArguments, FilesRemoteShareResponse, FilesRemoteUpdateArguments, FilesRemoteUpdateResponse, FilesRevokePublicURLArguments, FilesRevokePublicURLResponse, FilesSharedPublicURLArguments, FilesSharedPublicURLResponse, FilesUploadArguments, FilesUploadResponse, FilesUploadV2Arguments, WebAPICallResult } from "@slack/web-api";
7
+ import { SlackClient } from "../SlackClient.js";
8
+ import { type SlackError } from "../internal/errors.js";
9
+ declare const FilesService_base: Effect.Service.Class<FilesService, "effect-slack/FilesService", {
10
+ readonly effect: Effect.Effect<{
11
+ readonly completeUploadExternal: (args: FilesCompleteUploadExternalArguments) => Effect.Effect<FilesCompleteUploadExternalResponse, SlackError>;
12
+ readonly delete_: (args: FilesDeleteArguments) => Effect.Effect<FilesDeleteResponse, SlackError>;
13
+ readonly getUploadURLExternal: (args: FilesGetUploadURLExternalArguments) => Effect.Effect<FilesGetUploadURLExternalResponse, SlackError>;
14
+ readonly info: (args: FilesInfoArguments) => Effect.Effect<FilesInfoResponse, SlackError>;
15
+ readonly list: (args: FilesListArguments) => Effect.Effect<FilesListResponse, SlackError>;
16
+ readonly revokePublicURL: (args: FilesRevokePublicURLArguments) => Effect.Effect<FilesRevokePublicURLResponse, SlackError>;
17
+ readonly sharedPublicURL: (args: FilesSharedPublicURLArguments) => Effect.Effect<FilesSharedPublicURLResponse, SlackError>;
18
+ readonly upload: (args: FilesUploadArguments) => Effect.Effect<FilesUploadResponse, SlackError>;
19
+ readonly uploadV2: (args: FilesUploadV2Arguments) => Effect.Effect<WebAPICallResult, SlackError>;
20
+ readonly comments: {
21
+ readonly delete_: (args: FilesCommentsDeleteArguments) => Effect.Effect<FilesCommentsDeleteResponse, SlackError>;
22
+ };
23
+ readonly remote: {
24
+ readonly add: (args: FilesRemoteAddArguments) => Effect.Effect<FilesRemoteAddResponse, SlackError>;
25
+ readonly info: (args: FilesRemoteInfoArguments) => Effect.Effect<FilesRemoteInfoResponse, SlackError>;
26
+ readonly list: (args: FilesRemoteListArguments) => Effect.Effect<FilesRemoteListResponse, SlackError>;
27
+ readonly remove: (args: FilesRemoteRemoveArguments) => Effect.Effect<FilesRemoteRemoveResponse, SlackError>;
28
+ readonly share: (args: FilesRemoteShareArguments) => Effect.Effect<FilesRemoteShareResponse, SlackError>;
29
+ readonly update: (args: FilesRemoteUpdateArguments) => Effect.Effect<FilesRemoteUpdateResponse, SlackError>;
30
+ };
31
+ }, never, SlackClient>;
32
+ readonly dependencies: readonly [import("effect/Layer").Layer<SlackClient, never, import("../SlackConfig.js").SlackConfig>];
33
+ }>;
34
+ export declare class FilesService extends FilesService_base {
35
+ }
36
+ export {};
37
+ //# sourceMappingURL=FilesService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilesService.d.ts","sourceRoot":"","sources":["../../src/generated/FilesService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EACV,4BAA4B,EAC5B,2BAA2B,EAC3B,oCAAoC,EACpC,mCAAmC,EACnC,oBAAoB,EACpB,mBAAmB,EACnB,kCAAkC,EAClC,iCAAiC,EACjC,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAwC,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;;;gDAUjF,oCAAoC,KACzC,MAAM,CAAC,MAAM,CAA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