@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.
Files changed (255) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +1 -1
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -53
  8. package/lib/errors.d.ts +31 -31
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -59
  11. package/lib/index.d.ts +1 -1
  12. package/lib/index.js +0 -10
  13. package/lib/index.lazy.js +7 -0
  14. package/lib/pagination.d.ts +2 -2
  15. package/lib/pagination.js +1 -31
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/protocol.js +1 -231
  18. package/lib/retry.d.ts +2 -2
  19. package/lib/retry.d.ts.map +1 -1
  20. package/lib/retry.js +1 -45
  21. package/lib/services/admin.d.ts +123 -575
  22. package/lib/services/admin.d.ts.map +1 -1
  23. package/lib/services/admin.js +141 -2884
  24. package/lib/services/admin.js.map +1 -1
  25. package/lib/services/agents.d.ts +13 -55
  26. package/lib/services/agents.d.ts.map +1 -1
  27. package/lib/services/agents.js +1 -314
  28. package/lib/services/agents.js.map +1 -1
  29. package/lib/services/api.d.ts +0 -4
  30. package/lib/services/api.d.ts.map +1 -1
  31. package/lib/services/api.js +1 -23
  32. package/lib/services/api.js.map +1 -1
  33. package/lib/services/apps.d.ts +25 -106
  34. package/lib/services/apps.d.ts.map +1 -1
  35. package/lib/services/apps.js +35 -515
  36. package/lib/services/apps.js.map +1 -1
  37. package/lib/services/assistant.d.ts +6 -40
  38. package/lib/services/assistant.d.ts.map +1 -1
  39. package/lib/services/assistant.js +1 -209
  40. package/lib/services/assistant.js.map +1 -1
  41. package/lib/services/auth.d.ts +4 -15
  42. package/lib/services/auth.d.ts.map +1 -1
  43. package/lib/services/auth.js +1 -96
  44. package/lib/services/auth.js.map +1 -1
  45. package/lib/services/blocks.d.ts +1 -7
  46. package/lib/services/blocks.d.ts.map +1 -1
  47. package/lib/services/blocks.js +1 -26
  48. package/lib/services/blocks.js.map +1 -1
  49. package/lib/services/bookmarks.d.ts +4 -15
  50. package/lib/services/bookmarks.d.ts.map +1 -1
  51. package/lib/services/bookmarks.js +1 -81
  52. package/lib/services/bookmarks.js.map +1 -1
  53. package/lib/services/bots.d.ts +1 -9
  54. package/lib/services/bots.d.ts.map +1 -1
  55. package/lib/services/bots.js +1 -59
  56. package/lib/services/bots.js.map +1 -1
  57. package/lib/services/calls.d.ts +6 -22
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +1 -115
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/canvases.d.ts +7 -35
  62. package/lib/services/canvases.d.ts.map +1 -1
  63. package/lib/services/canvases.js +1 -140
  64. package/lib/services/canvases.js.map +1 -1
  65. package/lib/services/chat.d.ts +14 -83
  66. package/lib/services/chat.d.ts.map +1 -1
  67. package/lib/services/chat.js +1 -387
  68. package/lib/services/chat.js.map +1 -1
  69. package/lib/services/conversations.d.ts +31 -116
  70. package/lib/services/conversations.d.ts.map +1 -1
  71. package/lib/services/conversations.js +40 -696
  72. package/lib/services/conversations.js.map +1 -1
  73. package/lib/services/dialog.d.ts +1 -4
  74. package/lib/services/dialog.d.ts.map +1 -1
  75. package/lib/services/dialog.js +1 -22
  76. package/lib/services/dialog.js.map +1 -1
  77. package/lib/services/dnd.d.ts +5 -17
  78. package/lib/services/dnd.d.ts.map +1 -1
  79. package/lib/services/dnd.js +1 -96
  80. package/lib/services/dnd.js.map +1 -1
  81. package/lib/services/emoji.d.ts +1 -8
  82. package/lib/services/emoji.d.ts.map +1 -1
  83. package/lib/services/emoji.js +1 -34
  84. package/lib/services/emoji.js.map +1 -1
  85. package/lib/services/entity.d.ts +4 -16
  86. package/lib/services/entity.d.ts.map +1 -1
  87. package/lib/services/entity.js +1 -76
  88. package/lib/services/entity.js.map +1 -1
  89. package/lib/services/files.d.ts +16 -80
  90. package/lib/services/files.d.ts.map +1 -1
  91. package/lib/services/files.js +1 -439
  92. package/lib/services/files.js.map +1 -1
  93. package/lib/services/functions.d.ts +8 -49
  94. package/lib/services/functions.d.ts.map +1 -1
  95. package/lib/services/functions.js +1 -208
  96. package/lib/services/functions.js.map +1 -1
  97. package/lib/services/index.js +0 -2
  98. package/lib/services/lists.d.ts +13 -55
  99. package/lib/services/lists.d.ts.map +1 -1
  100. package/lib/services/lists.js +1 -254
  101. package/lib/services/lists.js.map +1 -1
  102. package/lib/services/migration.d.ts +1 -7
  103. package/lib/services/migration.d.ts.map +1 -1
  104. package/lib/services/migration.js +1 -32
  105. package/lib/services/migration.js.map +1 -1
  106. package/lib/services/oauth.d.ts +7 -43
  107. package/lib/services/oauth.d.ts.map +1 -1
  108. package/lib/services/oauth.js +1 -294
  109. package/lib/services/oauth.js.map +1 -1
  110. package/lib/services/openid.d.ts +3 -10
  111. package/lib/services/openid.d.ts.map +1 -1
  112. package/lib/services/openid.js +1 -84
  113. package/lib/services/openid.js.map +1 -1
  114. package/lib/services/pins.d.ts +3 -13
  115. package/lib/services/pins.d.ts.map +1 -1
  116. package/lib/services/pins.js +1 -66
  117. package/lib/services/pins.js.map +1 -1
  118. package/lib/services/reactions.d.ts +5 -17
  119. package/lib/services/reactions.d.ts.map +1 -1
  120. package/lib/services/reactions.js +1 -102
  121. package/lib/services/reactions.js.map +1 -1
  122. package/lib/services/reminders.d.ts +5 -17
  123. package/lib/services/reminders.d.ts.map +1 -1
  124. package/lib/services/reminders.js +1 -88
  125. package/lib/services/reminders.js.map +1 -1
  126. package/lib/services/rtm.d.ts +2 -11
  127. package/lib/services/rtm.d.ts.map +1 -1
  128. package/lib/services/rtm.js +1 -61
  129. package/lib/services/rtm.js.map +1 -1
  130. package/lib/services/search.d.ts +4 -35
  131. package/lib/services/search.d.ts.map +1 -1
  132. package/lib/services/search.js +1 -172
  133. package/lib/services/search.js.map +1 -1
  134. package/lib/services/stars.d.ts +4 -26
  135. package/lib/services/stars.d.ts.map +1 -1
  136. package/lib/services/stars.js +1 -134
  137. package/lib/services/stars.js.map +1 -1
  138. package/lib/services/team.d.ts +11 -63
  139. package/lib/services/team.d.ts.map +1 -1
  140. package/lib/services/team.js +1 -295
  141. package/lib/services/team.js.map +1 -1
  142. package/lib/services/tooling.d.ts +2 -5
  143. package/lib/services/tooling.d.ts.map +1 -1
  144. package/lib/services/tooling.js +1 -33
  145. package/lib/services/tooling.js.map +1 -1
  146. package/lib/services/usergroups.d.ts +7 -31
  147. package/lib/services/usergroups.d.ts.map +1 -1
  148. package/lib/services/usergroups.js +1 -151
  149. package/lib/services/usergroups.js.map +1 -1
  150. package/lib/services/users.d.ts +14 -48
  151. package/lib/services/users.d.ts.map +1 -1
  152. package/lib/services/users.js +1 -255
  153. package/lib/services/users.js.map +1 -1
  154. package/lib/services/views.d.ts +4 -14
  155. package/lib/services/views.d.ts.map +1 -1
  156. package/lib/services/views.js +1 -78
  157. package/lib/services/views.js.map +1 -1
  158. package/lib/services/workflows.d.ts +8 -51
  159. package/lib/services/workflows.d.ts.map +1 -1
  160. package/lib/services/workflows.js +1 -193
  161. package/lib/services/workflows.js.map +1 -1
  162. package/lib/services.lazy/admin.js +3 -0
  163. package/lib/services.lazy/agents.js +1 -0
  164. package/lib/services.lazy/api.js +1 -0
  165. package/lib/services.lazy/apps.js +3 -0
  166. package/lib/services.lazy/assistant.js +1 -0
  167. package/lib/services.lazy/auth.js +1 -0
  168. package/lib/services.lazy/blocks.js +1 -0
  169. package/lib/services.lazy/bookmarks.js +1 -0
  170. package/lib/services.lazy/bots.js +1 -0
  171. package/lib/services.lazy/calls.js +1 -0
  172. package/lib/services.lazy/canvases.js +1 -0
  173. package/lib/services.lazy/chat.js +1 -0
  174. package/lib/services.lazy/conversations.js +3 -0
  175. package/lib/services.lazy/dialog.js +1 -0
  176. package/lib/services.lazy/dnd.js +1 -0
  177. package/lib/services.lazy/emoji.js +1 -0
  178. package/lib/services.lazy/entity.js +1 -0
  179. package/lib/services.lazy/files.js +1 -0
  180. package/lib/services.lazy/functions.js +1 -0
  181. package/lib/services.lazy/index.js +3 -0
  182. package/lib/services.lazy/lists.js +1 -0
  183. package/lib/services.lazy/migration.js +1 -0
  184. package/lib/services.lazy/oauth.js +1 -0
  185. package/lib/services.lazy/openid.js +1 -0
  186. package/lib/services.lazy/pins.js +1 -0
  187. package/lib/services.lazy/reactions.js +1 -0
  188. package/lib/services.lazy/reminders.js +1 -0
  189. package/lib/services.lazy/rtm.js +1 -0
  190. package/lib/services.lazy/search.js +1 -0
  191. package/lib/services.lazy/stars.js +1 -0
  192. package/lib/services.lazy/team.js +1 -0
  193. package/lib/services.lazy/tooling.js +1 -0
  194. package/lib/services.lazy/usergroups.js +1 -0
  195. package/lib/services.lazy/users.js +1 -0
  196. package/lib/services.lazy/views.js +1 -0
  197. package/lib/services.lazy/workflows.js +1 -0
  198. package/lib/traits.d.ts +1 -1
  199. package/lib/traits.js +1 -12
  200. package/package.json +10 -8
  201. package/src/credentials.ts +20 -21
  202. package/src/errors.ts +31 -27
  203. package/src/index.ts +1 -1
  204. package/src/pagination.ts +2 -2
  205. package/src/protocol.ts +30 -29
  206. package/src/retry.ts +6 -6
  207. package/src/services/admin.ts +2717 -3451
  208. package/src/services/agents.ts +380 -370
  209. package/src/services/api.ts +31 -21
  210. package/src/services/apps.ts +569 -621
  211. package/src/services/assistant.ts +235 -270
  212. package/src/services/auth.ts +118 -100
  213. package/src/services/blocks.ts +33 -29
  214. package/src/services/bookmarks.ts +101 -83
  215. package/src/services/bots.ts +74 -67
  216. package/src/services/calls.ts +118 -124
  217. package/src/services/canvases.ts +171 -178
  218. package/src/services/chat.ts +428 -496
  219. package/src/services/conversations.ts +675 -761
  220. package/src/services/dialog.ts +30 -17
  221. package/src/services/dnd.ts +125 -99
  222. package/src/services/emoji.ts +46 -42
  223. package/src/services/entity.ts +94 -92
  224. package/src/services/files.ts +536 -531
  225. package/src/services/functions.ts +209 -274
  226. package/src/services/lists.ts +289 -304
  227. package/src/services/migration.ts +39 -37
  228. package/src/services/oauth.ts +345 -361
  229. package/src/services/openid.ts +137 -122
  230. package/src/services/pins.ts +83 -70
  231. package/src/services/reactions.ts +119 -103
  232. package/src/services/reminders.ts +112 -90
  233. package/src/services/rtm.ts +73 -65
  234. package/src/services/search.ts +193 -244
  235. package/src/services/stars.ts +101 -160
  236. package/src/services/team.ts +333 -369
  237. package/src/services/tooling.ts +43 -30
  238. package/src/services/usergroups.ts +175 -179
  239. package/src/services/users.ts +301 -268
  240. package/src/services/views.ts +85 -80
  241. package/src/services/workflows.ts +184 -269
  242. package/src/traits.ts +1 -1
  243. package/lib/credentials.js.map +0 -1
  244. package/lib/errors.js.map +0 -1
  245. package/lib/pagination.js.map +0 -1
  246. package/lib/protocol.js.map +0 -1
  247. package/lib/protocol.test.d.ts +0 -2
  248. package/lib/protocol.test.d.ts.map +0 -1
  249. package/lib/protocol.test.js +0 -288
  250. package/lib/protocol.test.js.map +0 -1
  251. package/lib/retry.js.map +0 -1
  252. package/lib/services/index.js.map +0 -1
  253. package/lib/traits.js.map +0 -1
  254. package/src/protocol.test.ts +0 -372
  255. /package/lib/{index.js.map → index.lazy.js.map} +0 -0
@@ -1,697 +1,41 @@
1
- import * as API from "@distilled.cloud/core/api";
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 AcceptSharedInviteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
10
- channel_name: S.String,
11
- is_private: S.optional(S.Boolean),
12
- free_trial_accepted: S.optional(S.Boolean),
13
- invite_id: S.optional(S.String),
14
- channel_id: S.optional(S.String),
15
- team_id: S.optional(S.String),
16
- }).pipe(T.Http({ method: "POST", uri: "/conversations.acceptSharedInvite", code: 200 }))).annotate({
17
- identifier: "AcceptSharedInviteRequest",
18
- });
19
- export const AcceptSharedInviteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
20
- ok: S.Boolean,
21
- implicit_approval: S.Boolean,
22
- channel_id: S.String,
23
- invite_id: S.String,
24
- can_open_scdm: S.Boolean,
25
- })).annotate({
26
- identifier: "AcceptSharedInviteResponse",
27
- });
28
- export const ApproveRequestSharedInviteRequestMessage = /*@__PURE__*/ S.suspend(() => S.Struct({
29
- text: S.String,
30
- is_override: S.Boolean,
31
- })).annotate({
32
- identifier: "ApproveRequestSharedInviteRequestMessage",
33
- });
34
- export const ApproveRequestSharedInviteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
35
- invite_id: S.String,
36
- is_external_limited: S.optional(S.Boolean),
37
- channel_id: S.optional(S.String),
38
- message: S.optional(ApproveRequestSharedInviteRequestMessage),
39
- }).pipe(T.Http({ method: "POST", uri: "/conversations.requestSharedInvite.approve", code: 200 }))).annotate({
40
- identifier: "ApproveRequestSharedInviteRequest",
41
- });
42
- export const ApproveRequestSharedInviteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
43
- ok: S.Boolean,
44
- invite_id: S.String,
45
- confirmation_code: S.optional(S.String),
46
- url: S.optional(S.String),
47
- })).annotate({
48
- identifier: "ApproveRequestSharedInviteResponse",
49
- });
50
- export const ApproveSharedInviteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
51
- invite_id: S.String,
52
- target_team: S.optional(S.String),
53
- }).pipe(T.Http({ method: "POST", uri: "/conversations.approveSharedInvite", code: 200 }))).annotate({
54
- identifier: "ApproveSharedInviteRequest",
55
- });
56
- export const ApproveSharedInviteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
57
- ok: S.Boolean,
58
- })).annotate({
59
- identifier: "ApproveSharedInviteResponse",
60
- });
61
- export const ArchiveConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
62
- channel: S.String,
63
- }).pipe(T.Http({ method: "POST", uri: "/conversations.archive", code: 200 }))).annotate({
64
- identifier: "ArchiveConversationRequest",
65
- });
66
- export const ArchiveConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
67
- ok: S.Boolean,
68
- })).annotate({
69
- identifier: "ArchiveConversationResponse",
70
- });
71
- export const ConversationsCloseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
72
- channel: S.String,
73
- }).pipe(T.Http({ method: "POST", uri: "/conversations.close", code: 200 }))).annotate({
74
- identifier: "ConversationsCloseRequest",
75
- });
76
- export const ConversationsCloseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
77
- ok: S.Boolean,
78
- already_closed: S.optional(S.Boolean),
79
- no_op: S.optional(S.Boolean),
80
- })).annotate({
81
- identifier: "ConversationsCloseResponse",
82
- });
83
- export const ConversationsHistoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
84
- channel: S.String.pipe(T.Query()),
85
- cursor: S.optional(S.String.pipe(T.Query())),
86
- include_all_metadata: S.optional(S.Boolean.pipe(T.Query())),
87
- inclusive: S.optional(S.Boolean.pipe(T.Query())),
88
- latest: S.optional(S.String.pipe(T.Query())),
89
- limit: S.optional(S.Number.pipe(T.Query())),
90
- oldest: S.optional(S.String.pipe(T.Query())),
91
- }).pipe(T.Http({ method: "GET", uri: "/conversations.history", code: 200 }))).annotate({
92
- identifier: "ConversationsHistoryRequest",
93
- });
94
- export const ConversationsHistoryResponseMessagesList = /*@__PURE__*/ S.Array(S.Unknown);
95
- export const ConversationsHistoryResponseResponseMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
96
- next_cursor: S.optional(S.String),
97
- })).annotate({
98
- identifier: "ConversationsHistoryResponseResponseMetadata",
99
- });
100
- export const ConversationsHistoryResponseUsersMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
101
- export const ConversationsHistoryResponseDeletedList = /*@__PURE__*/ S.Array(S.String);
102
- export const ConversationsHistoryResponseMutationTimestamps = /*@__PURE__*/ S.suspend(() => S.Struct({
103
- latest: S.String,
104
- updated: S.String,
105
- history_invalid: S.String,
106
- })).annotate({
107
- identifier: "ConversationsHistoryResponseMutationTimestamps",
108
- });
109
- export const ConversationsHistoryResponseWarningsList = /*@__PURE__*/ S.Array(S.String);
110
- export const ConversationsHistoryResponseLatestUpdatesMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
111
- export const ConversationsHistoryResponseUnchangedMessagesList = /*@__PURE__*/ S.Array(S.String);
112
- export const ConversationsHistoryResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
113
- ok: S.Boolean,
114
- messages: ConversationsHistoryResponseMessagesList,
115
- has_more: S.Boolean,
116
- pin_count: S.optional(S.Number),
117
- channel_actions_ts: S.Unknown,
118
- channel_actions_count: S.Number,
119
- response_metadata: S.optional(ConversationsHistoryResponseResponseMetadata),
120
- oldest: S.optional(S.String),
121
- is_limited: S.optional(S.Boolean),
122
- latest: S.optional(S.String),
123
- unread_count_display: S.optional(S.Number),
124
- users: S.optional(ConversationsHistoryResponseUsersMap),
125
- deleted: S.optional(ConversationsHistoryResponseDeletedList),
126
- mutation_timestamps: S.optional(ConversationsHistoryResponseMutationTimestamps),
127
- deleted_overflow: S.optional(S.Boolean),
128
- warnings: S.optional(ConversationsHistoryResponseWarningsList),
129
- next_ts: S.optional(S.Number),
130
- latest_updates: S.optional(ConversationsHistoryResponseLatestUpdatesMap),
131
- unchanged_messages: S.optional(ConversationsHistoryResponseUnchangedMessagesList),
132
- date_joined: S.optional(S.Number),
133
- })).annotate({
134
- identifier: "ConversationsHistoryResponse",
135
- });
136
- export const ConversationsInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
137
- channel: S.String.pipe(T.Query()),
138
- include_locale: S.optional(S.Boolean.pipe(T.Query())),
139
- include_num_members: S.optional(S.Boolean.pipe(T.Query())),
140
- }).pipe(T.Http({ method: "GET", uri: "/conversations.info", code: 200 }))).annotate({ identifier: "ConversationsInfoRequest" });
141
- export const ConversationsInfoResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
142
- ok: S.Boolean,
143
- app_home: S.optional(S.Unknown),
144
- channel: S.Unknown,
145
- home_view: S.optional(S.NullOr(S.Unknown)),
146
- })).annotate({
147
- identifier: "ConversationsInfoResponse",
148
- });
149
- export const ConversationsKickRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
150
- channel: S.String,
151
- user: S.optional(S.String),
152
- }).pipe(T.Http({ method: "POST", uri: "/conversations.kick", code: 200 }))).annotate({ identifier: "ConversationsKickRequest" });
153
- export const ConversationsKickResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
154
- ok: S.Boolean,
155
- })).annotate({
156
- identifier: "ConversationsKickResponse",
157
- });
158
- export const ConversationsMarkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
159
- channel: S.String,
160
- ts: S.String,
161
- }).pipe(T.Http({ method: "POST", uri: "/conversations.mark", code: 200 }))).annotate({ identifier: "ConversationsMarkRequest" });
162
- export const ConversationsMarkResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
163
- ok: S.Boolean,
164
- })).annotate({
165
- identifier: "ConversationsMarkResponse",
166
- });
167
- export const ConversationsMembersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
168
- channel: S.String.pipe(T.Query()),
169
- cursor: S.optional(S.String.pipe(T.Query())),
170
- limit: S.optional(S.Number.pipe(T.Query())),
171
- }).pipe(T.Http({ method: "GET", uri: "/conversations.members", code: 200 }))).annotate({
172
- identifier: "ConversationsMembersRequest",
173
- });
174
- export const ConversationsMembersResponseMembersList = /*@__PURE__*/ S.Array(S.String);
175
- export const ConversationsMembersResponseResponseMetadata = ConversationsHistoryResponseResponseMetadata;
176
- export const ConversationsMembersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
177
- ok: S.Boolean,
178
- members: ConversationsMembersResponseMembersList,
179
- response_metadata: S.optional(ConversationsHistoryResponseResponseMetadata),
180
- })).annotate({
181
- identifier: "ConversationsMembersResponse",
182
- });
183
- export const ConversationsOpenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
184
- channel: S.optional(S.NullOr(S.String)),
185
- return_im: S.optional(S.Boolean),
186
- users: S.optional(S.String),
187
- prevent_creation: S.optional(S.Boolean),
188
- }).pipe(T.Http({ method: "POST", uri: "/conversations.open", code: 200 }))).annotate({ identifier: "ConversationsOpenRequest" });
189
- export const ConversationsOpenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
190
- ok: S.Boolean,
191
- already_open: S.optional(S.Boolean),
192
- no_op: S.optional(S.Boolean),
193
- channel: S.optional(S.Unknown),
194
- app_home: S.optional(S.Unknown),
195
- home_view: S.optional(S.NullOr(S.Unknown)),
196
- })).annotate({
197
- identifier: "ConversationsOpenResponse",
198
- });
199
- export const ConversationsRepliesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
200
- channel: S.String.pipe(T.Query()),
201
- cursor: S.optional(S.String.pipe(T.Query())),
202
- include_all_metadata: S.optional(S.Boolean.pipe(T.Query())),
203
- inclusive: S.optional(S.Boolean.pipe(T.Query())),
204
- latest: S.optional(S.String.pipe(T.Query())),
205
- limit: S.optional(S.Number.pipe(T.Query())),
206
- oldest: S.optional(S.String.pipe(T.Query())),
207
- ts: S.String.pipe(T.Query()),
208
- }).pipe(T.Http({ method: "GET", uri: "/conversations.replies", code: 200 }))).annotate({
209
- identifier: "ConversationsRepliesRequest",
210
- });
211
- export const ConversationsRepliesResponseMessagesList = /*@__PURE__*/ S.Array(S.Unknown);
212
- export const ConversationsRepliesResponseLatestUpdatesMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
213
- export const ConversationsRepliesResponseUnchangedMessagesList = /*@__PURE__*/ S.Array(S.String);
214
- export const ConversationsRepliesResponseResponseMetadata = ConversationsHistoryResponseResponseMetadata;
215
- export const ConversationsRepliesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
216
- ok: S.Boolean,
217
- has_more: S.optional(S.Boolean),
218
- messages: ConversationsRepliesResponseMessagesList,
219
- latest_updates: S.optional(ConversationsRepliesResponseLatestUpdatesMap),
220
- unchanged_messages: S.optional(ConversationsRepliesResponseUnchangedMessagesList),
221
- response_metadata: S.optional(ConversationsHistoryResponseResponseMetadata),
222
- })).annotate({
223
- identifier: "ConversationsRepliesResponse",
224
- });
225
- export const CreateCanvaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
226
- channel_id: S.String,
227
- document_content: S.optional(S.Unknown),
228
- title: S.optional(S.String),
229
- }).pipe(T.Http({ method: "POST", uri: "/conversations.canvases.create", code: 200 }))).annotate({ identifier: "CreateCanvaseRequest" });
230
- export const CreateCanvaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
231
- ok: S.Boolean,
232
- canvas_id: S.String,
233
- })).annotate({ identifier: "CreateCanvaseResponse" });
234
- export const CreateConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
235
- is_private: S.optional(S.Boolean),
236
- name: S.String,
237
- team_id: S.optional(S.NullOr(S.String)),
238
- }).pipe(T.Http({ method: "POST", uri: "/conversations.create", code: 200 }))).annotate({
239
- identifier: "CreateConversationRequest",
240
- });
241
- export const CreateConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
242
- ok: S.Boolean,
243
- channel: S.Unknown,
244
- })).annotate({
245
- identifier: "CreateConversationResponse",
246
- });
247
- export const InviteConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
248
- channel: S.String,
249
- force: S.optional(S.Boolean),
250
- users: S.String,
251
- }).pipe(T.Http({ method: "POST", uri: "/conversations.invite", code: 200 }))).annotate({
252
- identifier: "InviteConversationRequest",
253
- });
254
- export const InviteConversationResponseErrorsList = /*@__PURE__*/ S.Array(S.Unknown);
255
- export const InviteConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
256
- ok: S.Boolean,
257
- channel: S.optional(S.Unknown),
258
- group: S.optional(S.Unknown),
259
- errors: S.optional(InviteConversationResponseErrorsList),
260
- })).annotate({
261
- identifier: "InviteConversationResponse",
262
- });
263
- export const InviteDeclineSharedRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
264
- invite_id: S.String.pipe(T.Query()),
265
- target_team: S.optional(S.String.pipe(T.Query())),
266
- }).pipe(T.Http({ method: "GET", uri: "/conversations.declineSharedInvite", code: 200 }))).annotate({
267
- identifier: "InviteDeclineSharedRequest",
268
- });
269
- export const InviteDeclineSharedResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
270
- ok: S.Boolean,
271
- })).annotate({
272
- identifier: "InviteDeclineSharedResponse",
273
- });
274
- export const InviteSharedRequestEmailsList = /*@__PURE__*/ S.Array(S.String);
275
- export const InviteSharedRequestUserIdsList = /*@__PURE__*/ S.Array(S.String);
276
- export const InviteSharedRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
277
- channel: S.String,
278
- emails: S.optional(InviteSharedRequestEmailsList),
279
- user_ids: S.optional(InviteSharedRequestUserIdsList),
280
- external_limited: S.optional(S.Boolean),
281
- }).pipe(T.Http({ method: "POST", uri: "/conversations.inviteShared", code: 200 }))).annotate({ identifier: "InviteSharedRequest" });
282
- export const InviteSharedResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
283
- ok: S.Boolean,
284
- url: S.optional(S.String),
285
- invite_id: S.optional(S.String),
286
- conf_code: S.optional(S.String),
287
- is_legacy_shared_channel: S.optional(S.Boolean),
288
- })).annotate({ identifier: "InviteSharedResponse" });
289
- export const JoinConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
290
- channel: S.String,
291
- }).pipe(T.Http({ method: "POST", uri: "/conversations.join", code: 200 }))).annotate({ identifier: "JoinConversationRequest" });
292
- export const JoinConversationResponseResponseMetadataWarningsList = /*@__PURE__*/ S.Array(S.String);
293
- export const JoinConversationResponseResponseMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
294
- warnings: S.optional(JoinConversationResponseResponseMetadataWarningsList),
295
- })).annotate({
296
- identifier: "JoinConversationResponseResponseMetadata",
297
- });
298
- export const JoinConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
299
- ok: S.Boolean,
300
- channel: S.Unknown,
301
- response_metadata: S.optional(JoinConversationResponseResponseMetadata),
302
- })).annotate({ identifier: "JoinConversationResponse" });
303
- export const LeaveConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
304
- channel: S.String,
305
- }).pipe(T.Http({ method: "POST", uri: "/conversations.leave", code: 200 }))).annotate({ identifier: "LeaveConversationRequest" });
306
- export const LeaveConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
307
- ok: S.Boolean,
308
- not_in_channel: S.optional(S.Boolean),
309
- })).annotate({
310
- identifier: "LeaveConversationResponse",
311
- });
312
- export const ListConnectInvitesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
313
- team_id: S.optional(S.String),
314
- count: S.optional(S.Number),
315
- cursor: S.optional(S.String),
316
- }).pipe(T.Http({ method: "POST", uri: "/conversations.listConnectInvites", code: 200 }))).annotate({
317
- identifier: "ListConnectInvitesRequest",
318
- });
319
- export const ListConnectInvitesResponseInvitesList = /*@__PURE__*/ S.Array(S.Unknown);
320
- export const ListConnectInvitesResponseResponseMetadata = ConversationsHistoryResponseResponseMetadata;
321
- export const ListConnectInvitesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
322
- ok: S.Boolean,
323
- invites: ListConnectInvitesResponseInvitesList,
324
- response_metadata: S.optional(ConversationsHistoryResponseResponseMetadata),
325
- })).annotate({
326
- identifier: "ListConnectInvitesResponse",
327
- });
328
- export const ListConversationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
329
- cursor: S.optional(S.String.pipe(T.Query())),
330
- exclude_archived: S.optional(S.Boolean.pipe(T.Query())),
331
- limit: S.optional(S.Number.pipe(T.Query())),
332
- team_id: S.optional(S.String.pipe(T.Query())),
333
- types: S.optional(S.String.pipe(T.Query())),
334
- }).pipe(T.Http({ method: "GET", uri: "/conversations.list", code: 200 }))).annotate({ identifier: "ListConversationsRequest" });
335
- export const ListConversationsResponseChannelsList = /*@__PURE__*/ S.Array(S.Unknown);
336
- export const ListConversationsResponseResponseMetadata = ConversationsHistoryResponseResponseMetadata;
337
- export const ListConversationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
338
- ok: S.Boolean,
339
- channels: ListConversationsResponseChannelsList,
340
- response_metadata: S.optional(ConversationsHistoryResponseResponseMetadata),
341
- })).annotate({
342
- identifier: "ListConversationsResponse",
343
- });
344
- export const ListRequestSharedInviteRequestInviteIdsList = /*@__PURE__*/ S.Array(S.String);
345
- export const ListRequestSharedInviteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
346
- user_id: S.optional(S.String),
347
- include_expired: S.optional(S.Boolean),
348
- include_approved: S.optional(S.Boolean),
349
- include_denied: S.optional(S.Boolean),
350
- invite_ids: S.optional(ListRequestSharedInviteRequestInviteIdsList),
351
- limit: S.optional(S.Number),
352
- cursor: S.optional(S.String),
353
- }).pipe(T.Http({ method: "POST", uri: "/conversations.requestSharedInvite.list", code: 200 }))).annotate({
354
- identifier: "ListRequestSharedInviteRequest",
355
- });
356
- export const ListRequestSharedInviteResponseInviteRequestsList = /*@__PURE__*/ S.Array(S.Unknown);
357
- export const ListRequestSharedInviteResponseResponseMetadata = ConversationsHistoryResponseResponseMetadata;
358
- export const ListRequestSharedInviteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
359
- ok: S.Boolean,
360
- invite_requests: ListRequestSharedInviteResponseInviteRequestsList,
361
- response_metadata: S.optional(ConversationsHistoryResponseResponseMetadata),
362
- })).annotate({
363
- identifier: "ListRequestSharedInviteResponse",
364
- });
365
- export const RenameConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
366
- channel: S.String,
367
- name: S.String,
368
- }).pipe(T.Http({ method: "POST", uri: "/conversations.rename", code: 200 }))).annotate({
369
- identifier: "RenameConversationRequest",
370
- });
371
- export const RenameConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
372
- ok: S.Boolean,
373
- channel: S.Unknown,
374
- })).annotate({
375
- identifier: "RenameConversationResponse",
376
- });
377
- export const RequestSharedInviteDenyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
378
- invite_id: S.String,
379
- message: S.optional(S.String),
380
- }).pipe(T.Http({ method: "POST", uri: "/conversations.requestSharedInvite.deny", code: 200 }))).annotate({
381
- identifier: "RequestSharedInviteDenyRequest",
382
- });
383
- export const RequestSharedInviteDenyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
384
- ok: S.Boolean,
385
- })).annotate({
386
- identifier: "RequestSharedInviteDenyResponse",
387
- });
388
- export const SetExternalInvitePermissionsRequestAction = S.String;
389
- export const SetExternalInvitePermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
390
- channel: S.String,
391
- target_team: S.String,
392
- action: SetExternalInvitePermissionsRequestAction,
393
- }).pipe(T.Http({
394
- method: "POST",
395
- uri: "/conversations.externalInvitePermissions.set",
396
- code: 200,
397
- contentType: "form-urlencoded",
398
- }))).annotate({
399
- identifier: "SetExternalInvitePermissionsRequest",
400
- });
401
- export const SetExternalInvitePermissionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
402
- ok: S.Boolean,
403
- })).annotate({
404
- identifier: "SetExternalInvitePermissionsResponse",
405
- });
406
- export const SetPurposeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
407
- channel: S.String,
408
- purpose: S.String,
409
- }).pipe(T.Http({ method: "POST", uri: "/conversations.setPurpose", code: 200 }))).annotate({ identifier: "SetPurposeRequest" });
410
- export const SetPurposeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
411
- ok: S.Boolean,
412
- channel: S.Unknown,
413
- })).annotate({ identifier: "SetPurposeResponse" });
414
- export const SetTopicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
415
- channel: S.String,
416
- topic: S.String,
417
- }).pipe(T.Http({ method: "POST", uri: "/conversations.setTopic", code: 200 }))).annotate({ identifier: "SetTopicRequest" });
418
- export const SetTopicResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
419
- ok: S.Boolean,
420
- channel: S.Unknown,
421
- })).annotate({ identifier: "SetTopicResponse" });
422
- export const UnarchiveConversationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
423
- channel: S.String,
424
- }).pipe(T.Http({ method: "POST", uri: "/conversations.unarchive", code: 200 }))).annotate({
425
- identifier: "UnarchiveConversationRequest",
426
- });
427
- export const UnarchiveConversationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
428
- ok: S.Boolean,
429
- })).annotate({
430
- identifier: "UnarchiveConversationResponse",
431
- });
432
- /** Accepts an invitation to a Slack Connect channel. Required scopes — bot: `conversations.connect:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_conversion_in_progress` — Unable to create a channel connection while a channel conversion is in progress - `connection_limit_exceeded` — This channel has hit the limit of external connections. - `email_does_not_match` — User's email does not match the email in the invite. - `failed_to_start_trial` — Unable to initiate a trial on shared invite acceptance - `has_already_connected_to_org` — A team on the workspace of the org is already in the channel. - `invalid_arguments` — Invalid API arguments were provided. Either `sig` or `invite_id` must be specified. - `invalid_emoji_not_allowed` — The desired name contains emoji. - `invalid_host_team` — The host workspace is invalid. - `invalid_link` — We couldn't find an invite associated with the ID provided. - `invalid_name` — The value passed for `channel_name` was invalid. - `invalid_name_maxlength` — The value passed for `channel_name` exceeded the maximum length. - `invalid_name_punctuation` — The value passed for `channel_name` contained only punctuation. - `invalid_name_required` — The value passed for `channel_name` was empty. - `invalid_name_specials` — The value passed for `channel_name` contained unallowed special characters or upper case characters. - `invite_from_same_org` — You can't accept an invite from the same org or workspace. - `invite_not_found` — We couldn't find a Slack Connect channel invite with the ID provided. - `invalid_privacy` — An invalid channel privacy was provided. - `invalid_recipient_team` — The accepting team does not match the expected recipient team. - `invalid_target_team` — The target workspace is invalid. - `invite_used` — This invite has already been accepted. - `is_pending_connected_to_org` — A team pending to join the channel is on the org of the team trying to accept. - `legacy_connection_invalid_org` — Teams not previously connected to this legacy channel can't connect. - `legacy_connection_limit_exceeded` — You cannot share a legacy ESC channel with a third team - `name_taken` — The desired channel name is already taken in your workspace. - `not_allowed_for_grid_workspace` — Acceptance is not allowed for this workspace. - `not_paid` — This workspace doesn't have access to this feature. - `restricted_action` — A team preference prevents the authenticated user from creating private channels. - `team_not_found` — The team provided in the `team_id` argument does not exits. - `user_cannot_create_channel` — This user is not allowed to create a channel. - `user_is_restricted` — This user is restricted and cannot accept the invite. - `user_not_found` — The user accepting the invite is not a member of the team provided in the `team_id` argument. - `user_required_to_accept_as_private_but_cannot` — This uer cannot accept a private channel invitation. - `accepter_email_not_verified` — The accepting user has not verified the email address on their account. They must verify it before accepting. See https://docs.slack.dev/reference/methods/conversations.acceptSharedInvite */
433
- export const acceptSharedInvite = /*@__PURE__*/ API.make(() => ({
434
- input: AcceptSharedInviteRequest,
435
- output: AcceptSharedInviteResponse,
436
- errors: [SlackError, SlackRateLimited],
437
- protocol: SlackProtocol,
438
- retry: Retry.Retry,
439
- }));
440
- /** Approves a request to add an external user to a channel and sends them a Slack Connect invite Required scopes — bot: `conversations.connect:manage` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invite_not_found` — We couldn't find a Slack Connect channel invite with the ID provided. - `invite_already_approved` — This invite was already approved. - `invite_already_denied` — This invite was already denied. - `invite_expired` — This invite is expired. - `channel_not_found` — The provided channel was not found or the channel is no longer visible to the user who requested the invite. - `user_not_found` — Can not find the user who requested the invite. - `team_not_found` — Can not find the team who requested the invite. - `restricted_action` — A team preference prevents the invite from being approved. - `no_external_invite_permission` — Channel manager has restricted external invites for a given channel. - `internal_error` — Something unexpected went wrong. - `message_too_long` — If the passed in approve message is greater than 560 characters. See https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.approve */
441
- export const approveRequestSharedInvite = /*@__PURE__*/ API.make(() => ({
442
- input: ApproveRequestSharedInviteRequest,
443
- output: ApproveRequestSharedInviteResponse,
444
- errors: [SlackError, SlackRateLimited],
445
- protocol: SlackProtocol,
446
- retry: Retry.Retry,
447
- }));
448
- /** Approves an invitation to a Slack Connect channel Required scopes — bot: `conversations.connect:manage` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `already_approved` — This invite was already approved by this team. - `approval_inactive` — The approval associated with the invite ID is not active. - `approval_not_found` — We could not find an approval associated with the invite ID provided. - `channel_conversion_in_progress` — A channel conversion is in progress - `channel_not_found` — The channel associated with this invite wasn't found. - `invalid_action` — This action is no longer valid, e.g., trying to approve an invite that has already been approved. - `invalid_link` — The link provided was invalid. - `invite_not_found` — The invite specified wasn't found. - `missing_target_team` — The `target_team` parameter is required for this request. The inviting team must provide this argument. - `not_paid` — The team attempting to approve this invite is not paid and therefore not eligible. - `restricted_action` — A team preference prevents the authenticated user from creating private channels. See https://docs.slack.dev/reference/methods/conversations.approveSharedInvite */
449
- export const approveSharedInvite = /*@__PURE__*/ API.make(() => ({
450
- input: ApproveSharedInviteRequest,
451
- output: ApproveSharedInviteResponse,
452
- errors: [SlackError, SlackRateLimited],
453
- protocol: SlackProtocol,
454
- retry: Retry.Retry,
455
- }));
456
- /** Archives a conversation. Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `already_archived` — Channel has already been archived. - `cant_archive_general` — You cannot archive the general channel - `cant_archive_required` — You cannot archive a required channel - `channel_not_found` — Value passed for `channel` was invalid. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `not_in_channel` — The token can not be found in channel. - `restricted_action` — A team preference prevents the authenticated user from archiving. See https://docs.slack.dev/reference/methods/conversations.archive */
457
- export const archiveConversation = /*@__PURE__*/ API.make(() => ({
458
- input: ArchiveConversationRequest,
459
- output: ArchiveConversationResponse,
460
- errors: [SlackError, SlackRateLimited],
461
- protocol: SlackProtocol,
462
- retry: Retry.Retry,
463
- }));
464
- /** Closes a direct message or multi-person direct message. Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `user_does_not_own_channel` — Calling user does not own this DM channel. - `not_permitted` — Not permitted. - `external_channel_migrating` — External channel migrating. See https://docs.slack.dev/reference/methods/conversations.close */
465
- export const conversationsClose = /*@__PURE__*/ API.make(() => ({
466
- input: ConversationsCloseRequest,
467
- output: ConversationsCloseResponse,
468
- errors: [SlackError, SlackRateLimited],
469
- protocol: SlackProtocol,
470
- retry: Retry.Retry,
471
- }));
472
- /** Fetches a conversation's history of messages and events. Required scopes — bot: `groups:history`, `im:history`, `mpim:history`, `channels:history`; user: `groups:history`, `im:history`, `mpim:history`, `channels:history` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_is_limited_access` — The user has no access to the channel. This is only applicable to private Salesforce record channels. - `channel_not_found` — Value passed for `channel` was invalid. - `invalid_cursor` — Value passed for `cursor` was not valid or is no longer valid. - `invalid_metadata_filter_keys` — Value passed for `metadata_keys_to_include` was invalid. Must be valid json array of strings. - `invalid_ts_latest` — Value passed for `latest` was invalid - `invalid_ts_oldest` — Value passed for `oldest` was invalid - `not_in_channel` — The token used does not have access to the proper channel. Only user tokens can access public channels they are not in. - `restricted_action` — User does not have permission to perform this action. See https://docs.slack.dev/reference/methods/conversations.history */
473
- export const conversationsHistory = /*@__PURE__*/ API.makePaginated(() => ({
474
- input: ConversationsHistoryRequest,
475
- output: ConversationsHistoryResponse,
476
- errors: [SlackError, SlackRateLimited],
477
- protocol: SlackProtocol,
478
- retry: Retry.Retry,
479
- pagination: {
480
- mode: "cursor",
481
- inputToken: "cursor",
482
- outputToken: "response_metadata.next_cursor",
483
- items: "messages",
484
- pageSize: "limit",
485
- },
486
- }), slackPaginate);
487
- /** Retrieve information about a conversation. Required scopes — bot: `groups:read`, `im:read`, `mpim:read`, `channels:read`; user: `groups:read`, `im:read`, `mpim:read`, `channels:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_is_limited_access` — The user has no access to the channel. Only applicable to Salesforce limited access channels. - `channel_not_found` — Value passed for `channel` was invalid. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. See https://docs.slack.dev/reference/methods/conversations.info */
488
- export const conversationsInfo = /*@__PURE__*/ API.make(() => ({
489
- input: ConversationsInfoRequest,
490
- output: ConversationsInfoResponse,
491
- errors: [SlackError, SlackRateLimited],
492
- protocol: SlackProtocol,
493
- retry: Retry.Retry,
494
- }));
495
- /** Removes a user from a conversation. Required scopes — bot: `groups:write`, `channels:manage`; user: `groups:write`, `channels:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cant_kick_from_general` — User cannot be removed from #general. - `cant_kick_self` — Authenticated user can't kick themselves from a channel. - `channel_not_found` — Value passed for `channel` was invalid. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `no_user` — No value was passed for `user` or `users`. - `not_in_channel` — User was not in the channel. - `not_supported` — This is not supported for this channel and user combination. - `restricted_action` — A team preference prevents the authenticated user from kicking. - `user_not_found` — Value passed for `user` was invalid. See https://docs.slack.dev/reference/methods/conversations.kick */
496
- export const conversationsKick = /*@__PURE__*/ API.make(() => ({
497
- input: ConversationsKickRequest,
498
- output: ConversationsKickResponse,
499
- errors: [SlackError, SlackRateLimited],
500
- protocol: SlackProtocol,
501
- retry: Retry.Retry,
502
- }));
503
- /** Sets the read cursor in a channel. Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `invalid_timestamp` — Value passed for `timestamp` was invalid. - `not_in_channel` — Caller is not a member of the channel. See https://docs.slack.dev/reference/methods/conversations.mark */
504
- export const conversationsMark = /*@__PURE__*/ API.make(() => ({
505
- input: ConversationsMarkRequest,
506
- output: ConversationsMarkResponse,
507
- errors: [SlackError, SlackRateLimited],
508
- protocol: SlackProtocol,
509
- retry: Retry.Retry,
510
- }));
511
- /** Retrieve members of a conversation. Required scopes — bot: `groups:read`, `im:read`, `mpim:read`, `channels:read`; user: `groups:read`, `im:read`, `mpim:read`, `channels:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `fetch_members_failed` — Failed to fetch members for the conversation. - `invalid_cursor` — Value passed for `cursor` was invalid. - `invalid_limit` — Value passed for `limit` was invalid. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. See https://docs.slack.dev/reference/methods/conversations.members */
512
- export const conversationsMembers = /*@__PURE__*/ API.makePaginated(() => ({
513
- input: ConversationsMembersRequest,
514
- output: ConversationsMembersResponse,
515
- errors: [SlackError, SlackRateLimited],
516
- protocol: SlackProtocol,
517
- retry: Retry.Retry,
518
- pagination: {
519
- mode: "cursor",
520
- inputToken: "cursor",
521
- outputToken: "response_metadata.next_cursor",
522
- items: "members",
523
- pageSize: "limit",
524
- },
525
- }), slackPaginate);
526
- /** Opens or resumes a direct message or multi-person direct message. Required scopes — bot: `channels:manage`, `groups:write`, `im:write`, `mpim:write`; user: `channels:write`, `groups:write`, `im:write`, `mpim:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `invalid_user_combination` — All external people must already be in at least one channel together to send a message. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `not_enough_users` — Needs at least 2 users to open - `restricted_action` — User does not have permission to perform this action. - `too_many_users` — Needs at most 8 users to open - `user_disabled` — A specified `user` has been disabled. - `user_not_found` — Value(s) passed for `users` was invalid. - `user_not_visible` — The calling user is restricted from seeing the requested user. - `users_list_not_supplied` — Missing `users` in request - `app_cannot_join_channel` — This app cannot be added to this conversation. See https://docs.slack.dev/reference/methods/conversations.open */
527
- export const conversationsOpen = /*@__PURE__*/ API.make(() => ({
528
- input: ConversationsOpenRequest,
529
- output: ConversationsOpenResponse,
530
- errors: [SlackError, SlackRateLimited],
531
- protocol: SlackProtocol,
532
- retry: Retry.Retry,
533
- }));
534
- /** Retrieve a thread of messages posted to a conversation Required scopes — bot: `groups:history`, `im:history`, `mpim:history`, `channels:history`; user: `groups:history`, `im:history`, `mpim:history`, `channels:history` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value for `channel` was missing or invalid. - `invalid_cursor` — Value passed for `cursor` was not valid or is no longer valid. - `invalid_metadata_filter_keys` — Value passed for `metadata_keys_to_include` was invalid. Must be valid json array of strings. - `invalid_ts_latest` — Value passed for `latest` was invalid - `invalid_ts_oldest` — Value passed for `oldest` was invalid - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `thread_not_found` — Value for `ts` was missing or invalid. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `list_record_comment_fetch_failed` — Failed to fetch list record comments. See https://docs.slack.dev/reference/methods/conversations.replies */
535
- export const conversationsReplies = /*@__PURE__*/ API.makePaginated(() => ({
536
- input: ConversationsRepliesRequest,
537
- output: ConversationsRepliesResponse,
538
- errors: [SlackError, SlackRateLimited],
539
- protocol: SlackProtocol,
540
- retry: Retry.Retry,
541
- pagination: {
542
- mode: "cursor",
543
- inputToken: "cursor",
544
- outputToken: "response_metadata.next_cursor",
545
- items: "messages",
546
- pageSize: "limit",
547
- },
548
- }), slackPaginate);
549
- /** Create a channel canvas for a channel Required scopes — bot: `canvases:write`; user: `canvases:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `canvas_disabled_user_team` — Canvas is disabled on user's team - `restricted_action` — User does not have permission to perform this action. - `channel_canvas_creation_failed` — Channel canvas was unable to be created. - `channel_canvas_already_exists` — Channel canvas for the specified channel already exists. - `team_tier_cannot_create_channel_canvases` — Team tier cannot create channel canvases - `canvas_creation_failed` — Canvas was unable to be created. - `canvas_tab_creation_failed` — Canvas tab was unable to be created. - `free_team_canvas_tab_already_exists` — Canvas tab for specified channel and team tier already exists. - `posting_to_channel_denied` — Permission to post to a channel denied See https://docs.slack.dev/reference/methods/conversations.canvases.create */
550
- export const createCanvase = /*@__PURE__*/ API.make(() => ({
551
- input: CreateCanvaseRequest,
552
- output: CreateCanvaseResponse,
553
- errors: [SlackError, SlackRateLimited],
554
- protocol: SlackProtocol,
555
- retry: Retry.Retry,
556
- }));
557
- /** Initiates a public or private channel-based conversation Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `cannot_create_channel` — This channel is unable to be created. - `invalid_name` — Value passed for `name` was invalid. - `invalid_name_maxlength` — Value passed for `name` exceeded max length. - `invalid_name_punctuation` — Value passed for `name` contained only punctuation. - `invalid_name_required` — Value passed for `name` was empty. - `invalid_name_specials` — Value passed for `name` contained unallowed special characters or upper case characters. - `missing_argument` — A required argument is missing. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `name_taken` — A channel cannot be created with the given name. - `no_channel` — Value passed for `name` was empty. - `restricted_action` — A team (workspace) preference prevents the authenticated user from creating channels. - `canvas_disabled_user_team` — Canvas is disabled on user's team See https://docs.slack.dev/reference/methods/conversations.create */
558
- export const createConversation = /*@__PURE__*/ API.make(() => ({
559
- input: CreateConversationRequest,
560
- output: CreateConversationResponse,
561
- errors: [SlackError, SlackRateLimited],
562
- protocol: SlackProtocol,
563
- retry: Retry.Retry,
564
- }));
565
- /** Invites users to a channel. Required scopes — bot: `channels:write.invites`, `groups:write.invites`, `channels:manage`, `groups:write`, `im:write`, `mpim:write`; user: `channels:write.invites`, `groups:write.invites`, `channels:write`, `groups:write`, `im:write`, `mpim:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `already_in_channel` — Invited user is already in the channel. - `app_cannot_join_channel` — This app cannot be invited to this channel. - `cant_invite` — User cannot be invited to this channel. - `cant_invite_self` — Authenticated user cannot invite themselves to a channel. - `channel_not_found` — Value passed for `channel` was invalid. - `invitee_cant_see_channel` — The Enterprise org multi-workspace channel you are inviting a user to is not shared with any workspaces the user is currently a member of. - `is_archived` — Channel has been archived. - `org_user_not_in_team` — One or more members invited are part of the Enterprise organization but not the specific workspace you're interfacing with. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `no_permission` — User does not have permission to invite that specific user to the channel - `no_external_invite_permission` — User does not have permission to invite that external user to the channel - `no_user` — No value was passed for `users`. - `not_in_channel` — Authenticated user is not in the channel. - `ura_max_channels` — An invited user is a single-channel guest user ('ultra restricted access') that is already in the maximum number of conversations. - `user_is_restricted` — An invited user is a guest user that is restricted from accessing this conversation. - `user_not_found` — Value passed for `users` was invalid. - `external_channel_migrating` — External channel migrating. See https://docs.slack.dev/reference/methods/conversations.invite */
566
- export const inviteConversation = /*@__PURE__*/ API.make(() => ({
567
- input: InviteConversationRequest,
568
- output: InviteConversationResponse,
569
- errors: [SlackError, SlackRateLimited],
570
- protocol: SlackProtocol,
571
- retry: Retry.Retry,
572
- }));
573
- /** Declines a Slack Connect channel invite. Required scopes — bot: `conversations.connect:manage` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `approval_inactive` — This approval is no longer active, it may have expired or been declined. - `approval_not_found` — We could not find a Slack Connect approval for the invite provided. - `inactive_invite` — This invitation is no longer active, it may have expired or been revoked. - `invite_not_found` — We could not find a Slack Connect invite associated with the ID provided. - `missing_target_team` — The `target_team` parameter is required for this request. - `not_paid` — The workspace is not eligible to use Slack Connect. - `restricted_action` — A team preference prevents the authenticated user from declining Slack Connect invites.. See https://docs.slack.dev/reference/methods/conversations.declineSharedInvite */
574
- export const inviteDeclineShared = /*@__PURE__*/ API.make(() => ({
575
- input: InviteDeclineSharedRequest,
576
- output: InviteDeclineSharedResponse,
577
- errors: [SlackError, SlackRateLimited],
578
- protocol: SlackProtocol,
579
- retry: Retry.Retry,
580
- }));
581
- /** Sends an invitation to a Slack Connect channel Required scopes — bot: `conversations.connect:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `already_in_channel` — User is already in the channel. - `cannot_share_cross_workspace_channel` — You cannot share a cross-workspace or org-wide channel. - `cannot_share_mandatory_channel` — You cannot share #general or mandatory channels. - `channel_archived` — You cannot share an archived channel. - `channel_not_found` — The channel provided was not found. - `connection_limit_exceeded` — This channel has hit the limit of external connections. - `connection_limit_exceeded_pending` — This channel already has a pending invite. - `invalid_channel_type` — You cannot share MPDMs or DMs. - `invalid_email` — At least one email address provided is invalid. - `invite_lookup_error` — An error occurred while attempting to look for existing invites. - `invite_not_found` — An error occurred while inviting users. - `legacy_connection_limit_exceeded` — You cannot share a legacy ESC channel with a third team - `member_limit_exceeded` — This channel that has hit the limit of members - `message_too_long` — The provided message was longer than 560 characters. - `not_allowed_for_grid_workspace` — This workspace does not have Slack Connect enabled. - `not_in_channel` — The app is not a member of the channel to invite. - `not_owner` — Only the host organization for a channel can request to share it. - `not_paid` — This feature is only available to paid teams. - `not_supported` — This channel cannot be shared. - `ratelimit` — The rate-limit for this method has been reached. The ratelimit is applied on a per-user basis when you pass the `emails` parameter. - `recipients_not_specified` — Bots are required to specify which users to invite. - `restricted_action` — A team preference does not allow this authorization to send invites. - `too_many_emails` — Too many email recipients were passed in the `emails` parameter. - `url_in_message` — The message contained a URL. - `user_not_found` — User lookup failed. - `no_external_invite_permission` — User does not have permission to invite an external user. See https://docs.slack.dev/reference/methods/conversations.inviteShared */
582
- export const inviteShared = /*@__PURE__*/ API.make(() => ({
583
- input: InviteSharedRequest,
584
- output: InviteSharedResponse,
585
- errors: [SlackError, SlackRateLimited],
586
- protocol: SlackProtocol,
587
- retry: Retry.Retry,
588
- }));
589
- /** Joins an existing conversation. Required scopes — user: `channels:write`; bot: `channels:join` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_is_limited_access` — The user has no access to the channel. This is only applicable to private Salesforce record channels. - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `too_many_members` — The membership in the channel has exceeded our maximum member limit. No more users can join the channel. - `app_cannot_join_channel` — This app cannot join this channel. See https://docs.slack.dev/reference/methods/conversations.join */
590
- export const joinConversation = /*@__PURE__*/ API.make(() => ({
591
- input: JoinConversationRequest,
592
- output: JoinConversationResponse,
593
- errors: [SlackError, SlackRateLimited],
594
- protocol: SlackProtocol,
595
- retry: Retry.Retry,
596
- }));
597
- /** Leaves a conversation. Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cant_leave_general` — Authenticated user cannot leave the general channel - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `last_member` — The last member party to a channel cannot leave the channel. Someone else must join the channel before this user is permitted to exit. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `user_is_restricted` — Restricted and guest users cannot leave channel See https://docs.slack.dev/reference/methods/conversations.leave */
598
- export const leaveConversation = /*@__PURE__*/ API.make(() => ({
599
- input: LeaveConversationRequest,
600
- output: LeaveConversationResponse,
601
- errors: [SlackError, SlackRateLimited],
602
- protocol: SlackProtocol,
603
- retry: Retry.Retry,
604
- }));
605
- /** Lists shared channel invites that have been generated or received but have not been approved by all parties Required scopes — bot: `conversations.connect:manage` Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — An invalid argument was supplied to the method. - `restricted_action` — A team preference prevents the authenticated user from viewing shared channel invites. See https://docs.slack.dev/reference/methods/conversations.listConnectInvites */
606
- export const listConnectInvites = /*@__PURE__*/ API.makePaginated(() => ({
607
- input: ListConnectInvitesRequest,
608
- output: ListConnectInvitesResponse,
609
- errors: [SlackError, SlackRateLimited],
610
- protocol: SlackProtocol,
611
- retry: Retry.Retry,
612
- pagination: {
613
- mode: "cursor",
614
- inputToken: "cursor",
615
- outputToken: "response_metadata.next_cursor",
616
- items: "invites",
617
- },
618
- }), slackPaginate);
619
- /** Lists all channels in a Slack team. Required scopes — bot: `groups:read`, `im:read`, `mpim:read`, `channels:read`; user: `groups:read`, `im:read`, `mpim:read`, `channels:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invalid_cursor` — Value passed for `cursor` was not valid or is no longer valid. - `invalid_limit` — Value passed for `limit` is not understood. - `invalid_types` — Value passed for `type` could not be used based on the method's capabilities or the permission scopes granted to the used token. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_argument` — A required argument is missing. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. See https://docs.slack.dev/reference/methods/conversations.list */
620
- export const listConversations = /*@__PURE__*/ API.makePaginated(() => ({
621
- input: ListConversationsRequest,
622
- output: ListConversationsResponse,
623
- errors: [SlackError, SlackRateLimited],
624
- protocol: SlackProtocol,
625
- retry: Retry.Retry,
626
- pagination: {
627
- mode: "cursor",
628
- inputToken: "cursor",
629
- outputToken: "response_metadata.next_cursor",
630
- items: "channels",
631
- pageSize: "limit",
632
- },
633
- }), slackPaginate);
634
- /** Lists requests to add external users to channels with ability to filter. Required scopes — bot: `conversations.connect:manage` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `restricted_action` — A team preference prevents the user from listing invitation requests. - `invalid_cursor` — The provided cursor is not valid. - `internal_error` — Something unexpected went wrong. - `not_implemented` — its not implemented! TODO: remove me See https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.list */
635
- export const listRequestSharedInvite = /*@__PURE__*/ API.makePaginated(() => ({
636
- input: ListRequestSharedInviteRequest,
637
- output: ListRequestSharedInviteResponse,
638
- errors: [SlackError, SlackRateLimited],
639
- protocol: SlackProtocol,
640
- retry: Retry.Retry,
641
- pagination: {
642
- mode: "cursor",
643
- inputToken: "cursor",
644
- outputToken: "response_metadata.next_cursor",
645
- items: "invite_requests",
646
- pageSize: "limit",
647
- },
648
- }), slackPaginate);
649
- /** Renames a conversation. Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `invalid_name` — Value passed for `name` was invalid. - `invalid_name_maxlength` — Value passed for `name` exceeded max length. - `invalid_name_punctuation` — Value passed for `name` contained only punctuation. - `invalid_name_required` — Value passed for `name` was empty. - `invalid_name_specials` — Value passed for `name` contained unallowed special characters or upper case characters. - `is_archived` — Cannot rename archived channel. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `name_taken` — New channel name is taken. - `not_authorized` — Caller cannot rename this channel. - `not_in_channel` — Caller is not a member of the channel. See https://docs.slack.dev/reference/methods/conversations.rename */
650
- export const renameConversation = /*@__PURE__*/ API.make(() => ({
651
- input: RenameConversationRequest,
652
- output: RenameConversationResponse,
653
- errors: [SlackError, SlackRateLimited],
654
- protocol: SlackProtocol,
655
- retry: Retry.Retry,
656
- }));
657
- /** Denies a request to invite an external user to a channel Required scopes — bot: `conversations.connect:manage` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invite_not_found` — We couldn't find a Slack Connect channel invite with the ID provided. - `user_not_found` — We could not find the user who made the invite request. - `team_not_found` — We could not find the team which made the invite request. - `channel_not_found` — We could not find the channel where the request was made. - `invite_already_approved` — This invite was already approved. - `invite_already_denied` — This invite was already denied. - `invite_expired` — This invite is expired. - `restricted_action` — A team preference prevents the invite from being denied. - `internal_error` — Something unexpected went wrong. - `message_too_long` — If the passed in deny message is greater than 560 characters. See https://docs.slack.dev/reference/methods/conversations.requestSharedInvite.deny */
658
- export const requestSharedInviteDeny = /*@__PURE__*/ API.make(() => ({
659
- input: RequestSharedInviteDenyRequest,
660
- output: RequestSharedInviteDenyResponse,
661
- errors: [SlackError, SlackRateLimited],
662
- protocol: SlackProtocol,
663
- retry: Retry.Retry,
664
- }));
665
- /** Upgrade or downgrade Slack Connect channel permissions between 'can post only' and 'can post and invite'. Required scopes — bot: `conversations.connect:manage` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Cannot find channel - `not_supported` — Attempting to upgrade a channel that cannot be upgraded - `restricted_action` — A team preference prevents the user from taking this action. - `invalid_target_team` — The target team provided is not valid for the channel. - `invalid_action` — The user did not provid a valid action. Valid actions are 'upgrade' or 'downgrade'. See https://docs.slack.dev/reference/methods/conversations.externalInvitePermissions.set */
666
- export const setExternalInvitePermissions = /*@__PURE__*/ API.make(() => ({
667
- input: SetExternalInvitePermissionsRequest,
668
- output: SetExternalInvitePermissionsResponse,
669
- errors: [SlackError, SlackRateLimited],
670
- protocol: SlackProtocol,
671
- retry: Retry.Retry,
672
- }));
673
- /** Sets the channel description. Required scopes — bot: `channels:write.topic`, `groups:write.topic`, `mpim:write.topic`, `im:write.topic`, `channels:manage`, `groups:write`, `im:write`, `mpim:write`; user: `channels:write.topic`, `groups:write.topic`, `mpim:write.topic`, `im:write.topic`, `channels:write`, `groups:write`, `im:write`, `mpim:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `method_not_supported_for_channel_type` — This conversation type cannot be used with this method. - `missing_scope` — The calling token has not been granted the necessary scopes to complete this operation. - `not_in_channel` — Authenticated user is not in the channel. - `too_long` — Description was longer than 250 characters. - `user_is_restricted` — Setting the channel description is a restricted action. See https://docs.slack.dev/reference/methods/conversations.setPurpose */
674
- export const setPurpose = /*@__PURE__*/ API.make(() => ({
675
- input: SetPurposeRequest,
676
- output: SetPurposeResponse,
677
- errors: [SlackError, SlackRateLimited],
678
- protocol: SlackProtocol,
679
- retry: Retry.Retry,
680
- }));
681
- /** Sets the topic for a conversation. Required scopes — bot: `channels:write.topic`, `groups:write.topic`, `mpim:write.topic`, `im:write.topic`, `channels:manage`, `groups:write`, `im:write`, `mpim:write`; user: `channels:write.topic`, `groups:write.topic`, `mpim:write.topic`, `im:write.topic`, `channels:write`, `groups:write`, `im:write`, `mpim:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `not_in_channel` — Authenticated user is not in the channel. - `too_long` — Topic was longer than 250 characters. - `user_is_restricted` — Setting the topic is a restricted action. See https://docs.slack.dev/reference/methods/conversations.setTopic */
682
- export const setTopic = /*@__PURE__*/ API.make(() => ({
683
- input: SetTopicRequest,
684
- output: SetTopicResponse,
685
- errors: [SlackError, SlackRateLimited],
686
- protocol: SlackProtocol,
687
- retry: Retry.Retry,
688
- }));
689
- /** Reverses conversation archival. Required scopes — bot: `groups:write`, `im:write`, `mpim:write`, `channels:write`, `channels:manage`; user: `groups:write`, `im:write`, `mpim:write`, `channels:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `method_not_supported_for_channel_type` — This type of conversation cannot be used with this method. - `missing_scope` — The calling token is not granted the necessary scopes to complete this operation. - `not_archived` — Channel is not archived. See https://docs.slack.dev/reference/methods/conversations.unarchive */
690
- export const unarchiveConversation = /*@__PURE__*/ API.make(() => ({
691
- input: UnarchiveConversationRequest,
692
- output: UnarchiveConversationResponse,
693
- errors: [SlackError, SlackRateLimited],
694
- protocol: SlackProtocol,
695
- retry: Retry.Retry,
696
- }));
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,u as S}from"../_bundle/sdk.js";const C=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$6(>3)@"AcceptSharedInviteRequest";$6(>4)@"AcceptSharedInviteResponse";$5({channel_name:$2,is_private:$4($3),free_trial_accepted:$4($3),invite_id:$4($2),channel_id:$4($2),team_id:$4($2)}).pipe($1({method:"POST",uri:"/conversations.acceptSharedInvite",code:200}));$5({ok:$3,implicit_approval:$3,channel_id:$2,invite_id:$2,can_open_scdm:$3})`,[l,b,f,d,S,v,n,r,i,h,_]]:p(C,e));const w=/*@__PURE__*/ s(e=>e===a?u(`ApproveRequestSharedInviteRequest`,`{input:#2,output:#3,errors:[$7,$8],protocol:$9,retry:$10};$4(>4)@"%Message";$4(>5)@"%";$4(>6)@"ApproveRequestSharedInviteResponse";$3({text:$1,is_override:$2});$3({invite_id:$1,is_external_limited:$6($2),channel_id:$6($1),message:$6(#1)}).pipe($5({method:"POST",uri:"/conversations.requestSharedInvite.approve",code:200}));$3({ok:$2,invite_id:$1,confirmation_code:$6($1),url:$6($1)})`,[l,f,d,v,n,b,S,r,i,h,_]):p(w,e));const T=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ApproveSharedInviteRequest";$4({invite_id:$2,target_team:$3($2)}).pipe($1({method:"POST",uri:"/conversations.approveSharedInvite",code:200}))`,[l,b,f,S,v,n,__d1,r,i,h,_]]:p(T,e));const E=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"ArchiveConversationRequest";$3({channel:$2}).pipe($1({method:"POST",uri:"/conversations.archive",code:200}))`,[l,b,f,v,n,__d1,r,i,h,_]]:p(E,e));const D=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$4(>3)@"ConversationsCloseRequest";$4(>4)@"ConversationsCloseResponse";$3({channel:$2}).pipe($1({method:"POST",uri:"/conversations.close",code:200}));$3({ok:$5,already_closed:$6($5),no_op:$6($5)})`,[l,b,f,v,n,d,S,r,i,h,_]]:p(D,e));const O=/*@__PURE__*/ o(e=>e===a?u(`ConversationsHistoryResponse`,`{input:#1,output:#3,errors:[$14,$15],protocol:$16,retry:$17,pagination:{mode:"cursor",inputToken:"cursor",outputToken:~11:1,items:"messages",pageSize:"limit"},strategy:$18};$8(>4)@"ConversationsHistoryRequest";$8(>5)@"%MutationTimestamps";$8(>6)@"%";$7({channel:$3.pipe($2()),cursor:$4($3.pipe($2())),include_all_metadata:$4($5.pipe($2())),inclusive:$4($5.pipe($2())),latest:$4($3.pipe($2())),limit:$4($6.pipe($2())),oldest:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/conversations.history",code:200}));$7({latest:$3,updated:$3,history_invalid:$3});$7({ok:$5,messages:#9:0,has_more:$5,pin_count:$4($6),channel_actions_ts:$10,channel_actions_count:$6,response_metadata:$4(#11:0),oldest:$4($3),is_limited:$4($5),latest:$4($3),unread_count_display:$4($6),users:$4(#12:0),deleted:$4(#13:0),mutation_timestamps:$4(#2),deleted_overflow:$4($5),warnings:$4(#13:0),next_ts:$4($6),latest_updates:$4(#12:0),unchanged_messages:$4(#13:0),date_joined:$4($6)})`,[l,b,x,f,S,d,c,v,n,__d3,t,__d5,__d2,__d4,r,i,h,_,m]):p(O,e));const k=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13};$7(>3)@"ConversationsInfoRequest";$7(>4)@"ConversationsInfoResponse";$6({channel:$3.pipe($2()),include_locale:$5($4.pipe($2())),include_num_members:$5($4.pipe($2()))}).pipe($1({method:"GET",uri:"/conversations.info",code:200}));$6({ok:$4,app_home:$5($8),channel:$8,home_view:$5($9($8))})`,[l,b,x,f,d,S,v,n,t,g,r,i,h,_]]:p(k,e));const A=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ConversationsKickRequest";$4({channel:$2,user:$3($2)}).pipe($1({method:"POST",uri:"/conversations.kick",code:200}))`,[l,b,f,S,v,n,__d1,r,i,h,_]]:p(A,e));const j=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"ConversationsMarkRequest";$3({channel:$2,ts:$2}).pipe($1({method:"POST",uri:"/conversations.mark",code:200}))`,[l,b,f,v,n,__d1,r,i,h,_]]:p(j,e));const M=/*@__PURE__*/ o(e=>e===a?u(`members`,`{input:#1,output:#2,errors:[$11,$12],protocol:$13,retry:$14,pagination:{mode:"cursor",inputToken:"cursor",outputToken:~10:1,items:"%",pageSize:"limit"},strategy:$15};$7(>3)@"ConversationsMembersRequest";$7(>4)@"ConversationsMembersResponse";$6({channel:$3.pipe($2()),cursor:$4($3.pipe($2())),limit:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/conversations.%",code:200}));$6({ok:$8,members:#9:0,response_metadata:$4(#10:0)})`,[l,b,x,f,S,c,v,n,d,__d4,__d5,r,i,h,_,m]):p(M,e));const N=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$7(>3)@"ConversationsOpenRequest";$7(>4)@"ConversationsOpenResponse";$6({channel:$4($3($2)),return_im:$4($5),users:$4($2),prevent_creation:$4($5)}).pipe($1({method:"POST",uri:"/conversations.open",code:200}));$6({ok:$5,already_open:$4($5),no_op:$4($5),channel:$4($8),app_home:$4($8),home_view:$4($3($8))})`,[l,b,f,g,S,d,v,n,t,r,i,h,_]]:p(N,e));const P=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#2,errors:[$13,$14],protocol:$15,retry:$16,pagination:{mode:"cursor",inputToken:"cursor",outputToken:~12:1,items:"messages",pageSize:"limit"},strategy:$17};$8(>3)@"ConversationsRepliesRequest";$8(>4)@"ConversationsRepliesResponse";$7({channel:$3.pipe($2()),cursor:$4($3.pipe($2())),include_all_metadata:$4($5.pipe($2())),inclusive:$4($5.pipe($2())),latest:$4($3.pipe($2())),limit:$4($6.pipe($2())),oldest:$4($3.pipe($2())),ts:$3.pipe($2())}).pipe($1({method:"GET",uri:"/conversations.replies",code:200}));$7({ok:$5,has_more:$4($5),messages:#9:0,latest_updates:$4(#10:0),unchanged_messages:$4(#11:0),response_metadata:$4(#12:0)})`,[l,b,x,f,S,d,c,v,n,__d3,__d2,__d4,__d5,r,i,h,_,m]]:p(P,e));const F=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$8,$9],protocol:$10,retry:$11};$6(>3)@"CreateCanvaseRequest";$6(>4)@"CreateCanvaseResponse";$5({channel_id:$2,document_content:$4($3),title:$4($2)}).pipe($1({method:"POST",uri:"/conversations.canvases.create",code:200}));$5({ok:$7,canvas_id:$2})`,[l,b,f,t,S,v,n,d,r,i,h,_]]:p(F,e));const I=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"CreateConversationRequest";$6({is_private:$3($2),name:$4,team_id:$3($5($4))}).pipe($1({method:"POST",uri:"/conversations.create",code:200}))`,[l,b,d,S,f,g,v,n,__d0,r,i,h,_]]:p(I,e));const L=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$6(>3)@"InviteConversationRequest";$6(>4)@"InviteConversationResponse";$5({channel:$2,force:$4($3),users:$2}).pipe($1({method:"POST",uri:"/conversations.invite",code:200}));$5({ok:$3,channel:$4($7),group:$4($7),errors:$4(#8:0)})`,[l,b,f,d,S,v,n,t,__d3,r,i,h,_]]:p(L,e));const R=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"InviteDeclineSharedRequest";$5({invite_id:$3.pipe($2()),target_team:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/conversations.declineSharedInvite",code:200}))`,[l,b,x,f,S,v,n,__d1,r,i,h,_]]:p(R,e));const z=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$8,$9],protocol:$10,retry:$11};$7(>3)@"InviteSharedRequest";$7(>4)@"InviteSharedResponse";$6({channel:$2,emails:$4(#3:0),user_ids:$4(#3:0),external_limited:$4($5)}).pipe($1({method:"POST",uri:"/conversations.inviteShared",code:200}));$6({ok:$5,url:$4($2),invite_id:$4($2),conf_code:$4($2),is_legacy_shared_channel:$4($5)})`,[l,b,f,__d4,S,d,v,n,r,i,h,_]]:p(z,e));const B=/*@__PURE__*/ s(e=>e===a?u(`JoinConversationResponse`,`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$4(>4)@"JoinConversationRequest";$4(>5)@"%ResponseMetadata";$4(>6)@"%";$3({channel:$2}).pipe($1({method:"POST",uri:"/conversations.join",code:200}));$3({warnings:$6(#5:0)});$3({ok:$7,channel:$8,response_metadata:$6(#2)})`,[l,b,f,v,n,__d4,S,d,t,r,i,h,_]):p(B,e));const V=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10};$4(>3)@"LeaveConversationRequest";$4(>4)@"LeaveConversationResponse";$3({channel:$2}).pipe($1({method:"POST",uri:"/conversations.leave",code:200}));$3({ok:$5,not_in_channel:$6($5)})`,[l,b,f,v,n,d,S,r,i,h,_]]:p(V,e));const H=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"cursor",outputToken:~9:1,items:"invites"},strategy:$14};$6(>3)@"ListConnectInvitesRequest";$6(>4)@"ListConnectInvitesResponse";$5({team_id:$3($2),count:$3($4),cursor:$3($2)}).pipe($1({method:"POST",uri:"/conversations.listConnectInvites",code:200}));$5({ok:$7,invites:#8:0,response_metadata:$3(#9:0)})`,[l,b,f,S,c,v,n,d,__d3,__d5,r,i,h,_,m]]:p(H,e));const U=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#2,errors:[$11,$12],protocol:$13,retry:$14,pagination:{mode:"cursor",inputToken:"cursor",outputToken:~10:1,items:"channels",pageSize:"limit"},strategy:$15};$8(>3)@"ListConversationsRequest";$8(>4)@"ListConversationsResponse";$7({cursor:$4($3.pipe($2())),exclude_archived:$4($5.pipe($2())),limit:$4($6.pipe($2())),team_id:$4($3.pipe($2())),types:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/conversations.list",code:200}));$7({ok:$5,channels:#9:0,response_metadata:$4(#10:0)})`,[l,b,x,f,S,d,c,v,n,__d3,__d5,r,i,h,_,m]]:p(U,e));const W=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#2,errors:[$11,$12],protocol:$13,retry:$14,pagination:{mode:"cursor",inputToken:"cursor",outputToken:~10:1,items:"invite_requests",pageSize:"limit"},strategy:$15};$8(>3)@"ListRequestSharedInviteRequest";$8(>4)@"ListRequestSharedInviteResponse";$7({user_id:$3($2),include_expired:$3($4),include_approved:$3($4),include_denied:$3($4),invite_ids:$3(#5:0),limit:$3($6),cursor:$3($2)}).pipe($1({method:"POST",uri:"/conversations.requestSharedInvite.list",code:200}));$7({ok:$4,invite_requests:#9:0,response_metadata:$3(#10:0)})`,[l,b,f,S,d,__d4,c,v,n,__d3,__d5,r,i,h,_,m]]:p(W,e));const G=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"RenameConversationRequest";$3({channel:$2,name:$2}).pipe($1({method:"POST",uri:"/conversations.rename",code:200}))`,[l,b,f,v,n,__d0,r,i,h,_]]:p(G,e));const K=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"RequestSharedInviteDenyRequest";$4({invite_id:$2,message:$3($2)}).pipe($1({method:"POST",uri:"/conversations.requestSharedInvite.deny",code:200}))`,[l,b,f,S,v,n,__d1,r,i,h,_]]:p(K,e));const q=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"SetExternalInvitePermissionsRequest";$3({channel:$2,target_team:$2,action:$2}).pipe($1({method:"POST",uri:"/conversations.externalInvitePermissions.set",code:200,contentType:"form-urlencoded"}))`,[l,b,f,v,n,__d1,r,i,h,_]]:p(q,e));const J=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"SetPurposeRequest";$3({channel:$2,purpose:$2}).pipe($1({method:"POST",uri:"/conversations.setPurpose",code:200}))`,[l,b,f,v,n,__d0,r,i,h,_]]:p(J,e));const Y=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"SetTopicRequest";$3({channel:$2,topic:$2}).pipe($1({method:"POST",uri:"/conversations.setTopic",code:200}))`,[l,b,f,v,n,__d0,r,i,h,_]]:p(Y,e));const X=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"UnarchiveConversationRequest";$3({channel:$2}).pipe($1({method:"POST",uri:"/conversations.unarchive",code:200}))`,[l,b,f,v,n,__d1,r,i,h,_]]:p(X,e));function __d0(){return[`$4(>1)@"CreateConversationResponse";$3({ok:$1,channel:$2})`,[l,d,t,v,n]]}function __d1(){return[`$3(>1)@"ApproveSharedInviteResponse";$2({ok:$1})`,[l,d,v,n]]}function __d2(){return[`$3($1,$2)`,[l,f,t,e]]}function __d3(){return[`$2($1)`,[l,t,y]]}function __d4(){return[`$2($1)`,[l,f,y]]}function __d5(){return[`$4(>2)@"ConversationsHistoryResponseResponseMetadata";"response_metadata.next_cursor";$3({next_cursor:$2($1)})`,[l,f,S,v,n]]}export{C as acceptSharedInvite,w as approveRequestSharedInvite,T as approveSharedInvite,E as archiveConversation,D as conversationsClose,O as conversationsHistory,k as conversationsInfo,A as conversationsKick,j as conversationsMark,M as conversationsMembers,N as conversationsOpen,P as conversationsReplies,F as createCanvase,I as createConversation,L as inviteConversation,R as inviteDeclineShared,z as inviteShared,B as joinConversation,V as leaveConversation,H as listConnectInvites,U as listConversations,W as listRequestSharedInvite,G as renameConversation,K as requestSharedInviteDeny,q as setExternalInvitePermissions,J as setPurpose,Y as setTopic,X as unarchiveConversation};
2
+ /*
3
+ 23 34
4
+ e:0:a t:0:c n:0:d r:0:errors$SlackError i:0:errors$SlackRateLimited a:0:f o:0:g s:0:h c:0:i l:0:l u:0:m d:0:n f:0:o p:0:p m:0:pagination$slackPaginate h:0:protocol$SlackProtocol g:0:r _:0:retry$Retry v:0:s y:0:t b:0:traits$Http x:0:traits$Query S:0:u
5
+ 0000000014000350004c0005j0006r0009b000ap000by000d5000ew000g8000hy000j8000kl000ly000n9000ok000ql000rt000tb000uv000wg000xn000yw001030011a0012h0013o0014n0015k0016h0017c0018700196
6
+ 2 8v l4 C|=;96 k7;9,k,c,b,m,i,2,3,4,f,h
7
+ 2 lu yq w|=ApproveRequestSharedInviteRequest;n6 xt;9,c,b,i,2,k,m,3,4,f,h
8
+ 2 zg 16k T|=;zr 15k;9,k,c,m,i,2,1g,3,4,f,h
9
+ 2 17a 1de E|=;17l 1cg;9,k,c,i,2,1g,3,4,f,h
10
+ 2 1e4 1me D|=;1ef 1lh;9,k,c,i,2,b,m,3,4,f,h
11
+ 2 1n4 2gd O|=ConversationsHistoryResponse;1ob 2eo;9,k,l,c,m,b,8,i,2,1i,1,1k,1h,1j,3,4,f,h,e
12
+ 2 2h3 2s5 k|=;2he 2r2;9,k,l,c,b,m,i,2,1,g,3,4,f,h
13
+ 2 2sv 2z9 A|=;2t6 2y9;9,k,c,m,i,2,1g,3,4,f,h
14
+ 2 2zz 364 j|=;30a 356;9,k,c,i,2,1g,3,4,f,h
15
+ 2 36u 3ko M|=members;37g 3jb;9,k,l,c,m,8,i,2,b,1j,1k,3,4,f,h,e
16
+ 2 3le 3wv N|=;3lp 3vu;9,k,c,g,m,b,i,2,1,3,4,f,h
17
+ 2 3xl 4hg P|=;3xw 4ft;9,k,l,c,m,b,8,i,2,1i,1h,1j,1k,3,4,f,h,e
18
+ 2 4i6 4r1 F|=;4ih 4q2;9,k,c,1,m,i,2,b,3,4,f,h
19
+ 2 4rr 4z0 I|=;4s2 4xw;9,k,b,m,c,g,i,2,1f,3,4,f,h
20
+ 2 4zq 595 L|=;501 581;9,k,c,b,m,i,2,1,1i,3,4,f,h
21
+ 2 59v 5hn R|=;5a6 5gl;9,k,l,c,m,i,2,1g,3,4,f,h
22
+ 2 5id 5tg z|=;5io 5se;9,k,c,1j,m,b,i,2,3,4,f,h
23
+ 2 5u6 645 B|=JoinConversationResponse;5v9 631;9,k,c,i,2,1j,m,b,1,3,4,f,h
24
+ 2 64v 6cq V|=;656 6bt;9,k,c,i,2,b,m,3,4,f,h
25
+ 2 6dg 6q5 H|=;6dr 6ou;9,k,c,m,8,i,2,b,1i,1k,3,4,f,h,e
26
+ 2 6qv 76a U|=;6r6 74x;9,k,l,c,m,b,8,i,2,1i,1k,3,4,f,h,e
27
+ 2 770 7nq W|=;77b 7ma;9,k,c,m,b,1j,8,i,2,1i,1k,3,4,f,h,e
28
+ 2 7og 7uq G|=;7or 7ts;9,k,c,i,2,1f,3,4,f,h
29
+ 2 7vg 82p K|=;7vr 81p;9,k,c,m,i,2,1g,3,4,f,h
30
+ 2 83f 8bx q|=;83q 8az;9,k,c,i,2,1g,3,4,f,h
31
+ 2 8cn 8iw J|=;8cy 8hy;9,k,c,i,2,1f,3,4,f,h
32
+ 2 8jm 8pp Y|=;8jx 8or;9,k,c,i,2,1f,3,4,f,h
33
+ 2 8qf 8wn X|=;8qq 8vp;9,k,c,i,2,1g,3,4,f,h
34
+ 1 8wp 8ze __d0|=;8xd 8yz;9,b,1,i,2
35
+ 1 8ze 91r __d1|=;902 91e;9,b,i,2
36
+ 1 91r 931 __d2|=;92f 92o;9,c,1,0
37
+ 1 931 946 __d3|=;93p 93v;9,1,j
38
+ 1 946 95b __d4|=;94u 950;9,c,j
39
+ 1 95b 99g __d5|=;95z 991;9,c,m,i,2
40
+ */
697
41
  //# sourceMappingURL=conversations.js.map