@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,20 +1,16 @@
1
1
  import * as API from "@distilled.cloud/core/api";
2
- import * as S from "@distilled.cloud/core/schema";
3
2
  import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
4
3
  export type { SlackOpError, SlackOpContext };
5
4
  export interface DeletePhotoRequest {
6
5
  }
7
- export declare const DeletePhotoRequest: S.Schema<DeletePhotoRequest>;
8
6
  export interface DeletePhotoResponse {
9
7
  /** Always `true` (a failed call raises a typed error instead). */
10
8
  ok: boolean;
11
9
  }
12
- export declare const DeletePhotoResponse: S.Schema<DeletePhotoResponse>;
13
10
  export interface GetPresenceRequest {
14
11
  /** User to get presence info on. Defaults to the authed user. */
15
12
  user?: string;
16
13
  }
17
- export declare const GetPresenceRequest: S.Schema<GetPresenceRequest>;
18
14
  export interface GetPresenceResponse {
19
15
  /** Always `true` (a failed call raises a typed error instead). */
20
16
  ok: boolean;
@@ -25,20 +21,17 @@ export interface GetPresenceResponse {
25
21
  connection_count?: number;
26
22
  auto_away?: boolean;
27
23
  }
28
- export declare const GetPresenceResponse: S.Schema<GetPresenceResponse>;
29
24
  export interface GetProfileRequest {
30
25
  /** Include labels for each ID in custom profile fields. Using this parameter will heavily rate-limit your requests and is not recommended. */
31
26
  include_labels?: boolean;
32
27
  /** User to retrieve profile info for */
33
28
  user?: string;
34
29
  }
35
- export declare const GetProfileRequest: S.Schema<GetProfileRequest>;
36
30
  export interface GetProfileResponse {
37
31
  /** Always `true` (a failed call raises a typed error instead). */
38
32
  ok: boolean;
39
33
  profile: unknown;
40
34
  }
41
- export declare const GetProfileResponse: S.Schema<GetProfileResponse>;
42
35
  export interface ListUsersRequest {
43
36
  /** Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/apis/web-api/pagination) for more detail. */
44
37
  cursor?: string;
@@ -49,15 +42,12 @@ export interface ListUsersRequest {
49
42
  /** encoded team id to list users in, required if org token is used */
50
43
  team_id?: string;
51
44
  }
52
- export declare const ListUsersRequest: S.Schema<ListUsersRequest>;
53
45
  export type ListUsersResponseMembersList = Array<unknown>;
54
- export declare const ListUsersResponseMembersList: S.Schema<ListUsersResponseMembersList>;
55
46
  /** Pagination metadata. An empty `next_cursor` means the last page. */
56
47
  export interface ListUsersResponseResponseMetadata {
57
- /** Cursor for the next page — pass as `cursor` on the next call. */
48
+ /** Cursor for the next page -- pass as `cursor` on the next call. */
58
49
  next_cursor?: string;
59
50
  }
60
- export declare const ListUsersResponseResponseMetadata: S.Schema<ListUsersResponseResponseMetadata>;
61
51
  export interface ListUsersResponse {
62
52
  /** Always `true` (a failed call raises a typed error instead). */
63
53
  ok: boolean;
@@ -67,36 +57,29 @@ export interface ListUsersResponse {
67
57
  response_metadata?: ListUsersResponseResponseMetadata;
68
58
  offset?: string;
69
59
  }
70
- export declare const ListUsersResponse: S.Schema<ListUsersResponse>;
71
60
  export interface LookupByEmailRequest {
72
61
  /** An email address belonging to a user in the workspace */
73
62
  email: string;
74
63
  }
75
- export declare const LookupByEmailRequest: S.Schema<LookupByEmailRequest>;
76
64
  export interface LookupByEmailResponse {
77
65
  /** Always `true` (a failed call raises a typed error instead). */
78
66
  ok: boolean;
79
67
  user: unknown;
80
68
  }
81
- export declare const LookupByEmailResponse: S.Schema<LookupByEmailResponse>;
82
69
  export interface LookupDiscoverableContactRequest {
83
70
  email: string;
84
71
  }
85
- export declare const LookupDiscoverableContactRequest: S.Schema<LookupDiscoverableContactRequest>;
86
72
  export interface LookupDiscoverableContactResponse {
87
73
  /** Always `true` (a failed call raises a typed error instead). */
88
74
  ok: boolean;
89
75
  is_discoverable: boolean;
90
76
  }
91
- export declare const LookupDiscoverableContactResponse: S.Schema<LookupDiscoverableContactResponse>;
92
77
  export interface SetActiveRequest {
93
78
  }
94
- export declare const SetActiveRequest: S.Schema<SetActiveRequest>;
95
79
  export interface SetActiveResponse {
96
80
  /** Always `true` (a failed call raises a typed error instead). */
97
81
  ok: boolean;
98
82
  }
99
- export declare const SetActiveResponse: S.Schema<SetActiveResponse>;
100
83
  export interface SetPhotoRequest {
101
84
  /** Width/height of crop box (always square) */
102
85
  crop_w?: string;
@@ -107,30 +90,24 @@ export interface SetPhotoRequest {
107
90
  /** File contents via `multipart/form-data`. */
108
91
  image?: unknown;
109
92
  }
110
- export declare const SetPhotoRequest: S.Schema<SetPhotoRequest>;
111
93
  export type SetPhotoResponseProfileMap = {
112
94
  [key: string]: unknown | undefined;
113
95
  };
114
- export declare const SetPhotoResponseProfileMap: S.Schema<SetPhotoResponseProfileMap>;
115
96
  export interface SetPhotoResponse {
116
97
  /** Always `true` (a failed call raises a typed error instead). */
117
98
  ok: boolean;
118
99
  profile: SetPhotoResponseProfileMap;
119
100
  }
120
- export declare const SetPhotoResponse: S.Schema<SetPhotoResponse>;
121
101
  /** Either `auto` or `away` */
122
102
  export type SetPresenceRequestPresence = "auto" | "away";
123
- export declare const SetPresenceRequestPresence: any;
124
103
  export interface SetPresenceRequest {
125
104
  /** Either `auto` or `away` */
126
105
  presence: SetPresenceRequestPresence | (string & {});
127
106
  }
128
- export declare const SetPresenceRequest: S.Schema<SetPresenceRequest>;
129
107
  export interface SetPresenceResponse {
130
108
  /** Always `true` (a failed call raises a typed error instead). */
131
109
  ok: boolean;
132
110
  }
133
- export declare const SetPresenceResponse: S.Schema<SetPresenceResponse>;
134
111
  export interface SetProfileRequest {
135
112
  /** Name of a single key to set. Usable only if `profile` is not passed. */
136
113
  name?: string;
@@ -141,7 +118,6 @@ export interface SetProfileRequest {
141
118
  /** Value to set a single key to. Usable only if `profile` is not passed. */
142
119
  value?: string;
143
120
  }
144
- export declare const SetProfileRequest: S.Schema<SetProfileRequest>;
145
121
  export interface SetProfileResponse {
146
122
  /** Always `true` (a failed call raises a typed error instead). */
147
123
  ok: boolean;
@@ -149,7 +125,6 @@ export interface SetProfileResponse {
149
125
  profile: unknown;
150
126
  email_pending?: string;
151
127
  }
152
- export declare const SetProfileResponse: S.Schema<SetProfileResponse>;
153
128
  export interface UsersConversationsRequest {
154
129
  /** Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first "page" of the collection. See [pagination](/apis/web-api/pagination) for more detail. */
155
130
  cursor?: string;
@@ -166,12 +141,9 @@ export interface UsersConversationsRequest {
166
141
  /** Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. */
167
142
  user?: string;
168
143
  }
169
- export declare const UsersConversationsRequest: S.Schema<UsersConversationsRequest>;
170
144
  export type UsersConversationsResponseChannelsList = Array<unknown>;
171
- export declare const UsersConversationsResponseChannelsList: S.Schema<UsersConversationsResponseChannelsList>;
172
145
  /** Pagination metadata. An empty `next_cursor` means the last page. */
173
146
  export type UsersConversationsResponseResponseMetadata = ListUsersResponseResponseMetadata;
174
- export declare const UsersConversationsResponseResponseMetadata: S.Schema<ListUsersResponseResponseMetadata>;
175
147
  export interface UsersConversationsResponse {
176
148
  /** Always `true` (a failed call raises a typed error instead). */
177
149
  ok: boolean;
@@ -179,68 +151,62 @@ export interface UsersConversationsResponse {
179
151
  /** Pagination metadata. An empty `next_cursor` means the last page. */
180
152
  response_metadata?: ListUsersResponseResponseMetadata;
181
153
  }
182
- export declare const UsersConversationsResponse: S.Schema<UsersConversationsResponse>;
183
154
  export interface UsersIdentityRequest {
184
155
  }
185
- export declare const UsersIdentityRequest: S.Schema<UsersIdentityRequest>;
186
156
  export interface UsersIdentityResponse {
187
157
  /** Always `true` (a failed call raises a typed error instead). */
188
158
  ok: boolean;
189
159
  }
190
- export declare const UsersIdentityResponse: S.Schema<UsersIdentityResponse>;
191
160
  export interface UsersInfoRequest {
192
161
  /** Set this to `true` to receive the locale for this user. Defaults to `false` */
193
162
  include_locale?: boolean;
194
163
  /** User to get info on */
195
164
  user?: string;
196
165
  }
197
- export declare const UsersInfoRequest: S.Schema<UsersInfoRequest>;
198
166
  export type UsersInfoResponseUsersList = Array<unknown>;
199
- export declare const UsersInfoResponseUsersList: S.Schema<UsersInfoResponseUsersList>;
200
167
  export interface UsersInfoResponse {
201
168
  /** Always `true` (a failed call raises a typed error instead). */
202
169
  ok: boolean;
203
170
  user?: unknown;
204
171
  users?: UsersInfoResponseUsersList;
205
172
  }
206
- export declare const UsersInfoResponse: S.Schema<UsersInfoResponse>;
207
173
  export type DeletePhotoError = SlackOpError;
208
- /** Delete the user profile photo Required scopes — user: `users.profile:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `internal_error` — An unexpected error occurred. See https://docs.slack.dev/reference/methods/users.deletePhoto */
174
+ /** Delete the user profile photo Required scopes -- user: `users.profile:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `internal_error` -- An unexpected error occurred. See https://docs.slack.dev/reference/methods/users.deletePhoto */
209
175
  export declare const deletePhoto: API.OperationMethod<DeletePhotoRequest, DeletePhotoResponse, DeletePhotoError, SlackOpContext>;
210
176
  export type GetPresenceError = SlackOpError;
211
- /** Gets user presence information. Required scopes — bot: `users:read`; user: `users:read` Rate limit tier: 3 See https://docs.slack.dev/reference/methods/users.getPresence */
177
+ /** Gets user presence information. Required scopes -- bot: `users:read`; user: `users:read` Rate limit tier: 3 See https://docs.slack.dev/reference/methods/users.getPresence */
212
178
  export declare const getPresence: API.OperationMethod<GetPresenceRequest, GetPresenceResponse, GetPresenceError, SlackOpContext>;
213
179
  export type GetProfileError = SlackOpError;
214
- /** Retrieve a user's profile information, including their custom status. Required scopes — bot: `users.profile:read`; user: `users.profile:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `user_not_found` — Value passed for `user` was invalid. - `token_revoked` — The token being used is not valid. - `ratelimited` — You are attempting to call this method too frequently. See https://docs.slack.dev/reference/methods/users.profile.get */
180
+ /** Retrieve a user's profile information, including their custom status. Required scopes -- bot: `users.profile:read`; user: `users.profile:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `user_not_found` -- Value passed for `user` was invalid. - `token_revoked` -- The token being used is not valid. - `ratelimited` -- You are attempting to call this method too frequently. See https://docs.slack.dev/reference/methods/users.profile.get */
215
181
  export declare const getProfile: API.OperationMethod<GetProfileRequest, GetProfileResponse, GetProfileError, SlackOpContext>;
216
182
  export type ListUsersError = SlackOpError;
217
- /** Lists all users in a Slack team. Required scopes — bot: `users:read`; user: `users: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. - `limit_required` — For large teams a limit is required. - `missing_argument` — A required argument is missing. See https://docs.slack.dev/reference/methods/users.list */
183
+ /** Lists all users in a Slack team. Required scopes -- bot: `users:read`; user: `users: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. - `limit_required` -- For large teams a limit is required. - `missing_argument` -- A required argument is missing. See https://docs.slack.dev/reference/methods/users.list */
218
184
  export declare const listUsers: API.PaginatedOperationMethod<ListUsersRequest, ListUsersResponse, ListUsersError, SlackOpContext, unknown>;
219
185
  export type LookupByEmailError = SlackOpError;
220
- /** Find a user with an email address. Required scopes — bot: `users:read.email`; user: `users:read.email` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `enterprise_is_restricted` — This method was called with an inappropriate enterprise-level token. - `users_not_found` — Value passed for `user` was invalid. See https://docs.slack.dev/reference/methods/users.lookupByEmail */
186
+ /** Find a user with an email address. Required scopes -- bot: `users:read.email`; user: `users:read.email` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `enterprise_is_restricted` -- This method was called with an inappropriate enterprise-level token. - `users_not_found` -- Value passed for `user` was invalid. See https://docs.slack.dev/reference/methods/users.lookupByEmail */
221
187
  export declare const lookupByEmail: API.OperationMethod<LookupByEmailRequest, LookupByEmailResponse, LookupByEmailError, SlackOpContext>;
222
188
  export type LookupDiscoverableContactError = SlackOpError;
223
- /** Look up an email address to see if someone is discoverable on Slack Required scopes — bot: `conversations.connect:manage`, `team:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `not_allowed` — user is not allowed to call this API - `ratelimited` — too many attempts - `invalid_arguments` — Invalid arguments (including exceeding character count) - `restricted_action` — user is restricted from calling this API - `not_an_enterprise` — The token does not belong to an enterprise. See https://docs.slack.dev/reference/methods/users.discoverableContacts.lookup */
189
+ /** Look up an email address to see if someone is discoverable on Slack Required scopes -- bot: `conversations.connect:manage`, `team:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `not_allowed` -- user is not allowed to call this API - `ratelimited` -- too many attempts - `invalid_arguments` -- Invalid arguments (including exceeding character count) - `restricted_action` -- user is restricted from calling this API - `not_an_enterprise` -- The token does not belong to an enterprise. See https://docs.slack.dev/reference/methods/users.discoverableContacts.lookup */
224
190
  export declare const lookupDiscoverableContact: API.OperationMethod<LookupDiscoverableContactRequest, LookupDiscoverableContactResponse, LookupDiscoverableContactError, SlackOpContext>;
225
191
  export type SetActiveError = SlackOpError;
226
- /** Marked a user as active. Deprecated and non-functional. Required scopes — bot: `users:write`; user: `users:write` Rate limit tier: 2 See https://docs.slack.dev/reference/methods/users.setActive */
192
+ /** Marked a user as active. Deprecated and non-functional. Required scopes -- bot: `users:write`; user: `users:write` Rate limit tier: 2 See https://docs.slack.dev/reference/methods/users.setActive */
227
193
  export declare const setActive: API.OperationMethod<SetActiveRequest, SetActiveResponse, SetActiveError, SlackOpContext>;
228
194
  export type SetPhotoError = SlackOpError;
229
- /** Set the user profile photo Required scopes — user: `users.profile:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `bad_image` — The uploaded image could not be processed - try passing a JPEG, GIF or PNG - `internal_error` — An unexpected error occurred. - `too_large` — The uploaded image had excessive dimensions - `too_many_frames` — An animated GIF with too many frames was uploaded See https://docs.slack.dev/reference/methods/users.setPhoto */
195
+ /** Set the user profile photo Required scopes -- user: `users.profile:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `bad_image` -- The uploaded image could not be processed - try passing a JPEG, GIF or PNG - `internal_error` -- An unexpected error occurred. - `too_large` -- The uploaded image had excessive dimensions - `too_many_frames` -- An animated GIF with too many frames was uploaded See https://docs.slack.dev/reference/methods/users.setPhoto */
230
196
  export declare const setPhoto: API.OperationMethod<SetPhotoRequest, SetPhotoResponse, SetPhotoError, SlackOpContext>;
231
197
  export type SetPresenceError = SlackOpError;
232
- /** Manually sets user presence. Required scopes — bot: `users:write`; user: `users:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invalid_presence` — Value passed for `presence` was invalid. See https://docs.slack.dev/reference/methods/users.setPresence */
198
+ /** Manually sets user presence. Required scopes -- bot: `users:write`; user: `users:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invalid_presence` -- Value passed for `presence` was invalid. See https://docs.slack.dev/reference/methods/users.setPresence */
233
199
  export declare const setPresence: API.OperationMethod<SetPresenceRequest, SetPresenceResponse, SetPresenceError, SlackOpContext>;
234
200
  export type SetProfileError = SlackOpError;
235
- /** Set a user's profile information, including custom status. Required scopes — user: `users.profile:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cannot_update_admin_user` — Only a primary owner can update the profile of an admin. - `email_taken` — email taken - `invalid_profile` — Profile object passed in is not valid JSON (make sure it is URL encoded!). - `must_clear_both_status_text_and_status_emoji` — Clearing the status requires setting both `status_text` and `status_emoji` to ''. - `name_not_allowed` — name cannot contain URL. - `not_admin` — Only admins can update the profile of another user. Some fields, like `email` may only be updated by an admin. - `not_app_admin` — Only team owners and selected members can update the profile of a bot user. - `partial_profile_set_failed` — Failed to set user profile. - `profile_set_failed` — Failed to set user profile. - `reserved_name` — First or last name are reserved. - `sudo_required` — Request requires sudo session. - `too_long` — You attempted to set a custom status but it was longer than the maximum allowed, 100. - `permission_denied` — Permission denied. - `username_same` — Username is the same as the current username. - `invalid_emoji_not_allowed` — Invalid emoji not allowed. - `invalid_ooo_message` — Invalid Out of Office message. - `invalid_starts_with_at` — Name cannot start with @. See https://docs.slack.dev/reference/methods/users.profile.set */
201
+ /** Set a user's profile information, including custom status. Required scopes -- user: `users.profile:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cannot_update_admin_user` -- Only a primary owner can update the profile of an admin. - `email_taken` -- email taken - `invalid_profile` -- Profile object passed in is not valid JSON (make sure it is URL encoded!). - `must_clear_both_status_text_and_status_emoji` -- Clearing the status requires setting both `status_text` and `status_emoji` to ''. - `name_not_allowed` -- name cannot contain URL. - `not_admin` -- Only admins can update the profile of another user. Some fields, like `email` may only be updated by an admin. - `not_app_admin` -- Only team owners and selected members can update the profile of a bot user. - `partial_profile_set_failed` -- Failed to set user profile. - `profile_set_failed` -- Failed to set user profile. - `reserved_name` -- First or last name are reserved. - `sudo_required` -- Request requires sudo session. - `too_long` -- You attempted to set a custom status but it was longer than the maximum allowed, 100. - `permission_denied` -- Permission denied. - `username_same` -- Username is the same as the current username. - `invalid_emoji_not_allowed` -- Invalid emoji not allowed. - `invalid_ooo_message` -- Invalid Out of Office message. - `invalid_starts_with_at` -- Name cannot start with @. See https://docs.slack.dev/reference/methods/users.profile.set */
236
202
  export declare const setProfile: API.OperationMethod<SetProfileRequest, SetProfileResponse, SetProfileError, SlackOpContext>;
237
203
  export type UsersConversationsError = SlackOpError;
238
- /** List conversations the calling user is a member of. 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): - `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/users.conversations */
204
+ /** List conversations the calling user is a member of. 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): - `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/users.conversations */
239
205
  export declare const usersConversations: API.PaginatedOperationMethod<UsersConversationsRequest, UsersConversationsResponse, UsersConversationsError, SlackOpContext, unknown>;
240
206
  export type UsersIdentityError = SlackOpError;
241
- /** Get a user's identity. Required scopes — user: `identity:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `internal_error` — Internal error - `invalid_user_id` — Invalid user id provided - `email_not_verified` — user email has not been verified See https://docs.slack.dev/reference/methods/users.identity */
207
+ /** Get a user's identity. Required scopes -- user: `identity:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `internal_error` -- Internal error - `invalid_user_id` -- Invalid user id provided - `email_not_verified` -- user email has not been verified See https://docs.slack.dev/reference/methods/users.identity */
242
208
  export declare const usersIdentity: API.OperationMethod<UsersIdentityRequest, UsersIdentityResponse, UsersIdentityError, SlackOpContext>;
243
209
  export type UsersInfoError = SlackOpError;
244
- /** Gets information about a user. Required scopes — bot: `users:read`; user: `users:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `too_many_users` — Too many users. - `user_not_found` — Value passed for `user` was invalid. - `user_not_visible` — The requested user is not visible to the calling user See https://docs.slack.dev/reference/methods/users.info */
210
+ /** Gets information about a user. Required scopes -- bot: `users:read`; user: `users:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `too_many_users` -- Too many users. - `user_not_found` -- Value passed for `user` was invalid. - `user_not_visible` -- The requested user is not visible to the calling user See https://docs.slack.dev/reference/methods/users.info */
245
211
  export declare const usersInfo: API.OperationMethod<UsersInfoRequest, UsersInfoResponse, UsersInfoError, SlackOpContext>;
246
212
  //# sourceMappingURL=users.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/services/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;A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,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC;AAC3C,k9CAAk9C;AACl9C,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC;AACnD,24BAA24B;AAC34B,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,wBAAwB,CAC3D,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,cAAc,EACd,OAAO,CAiBD,CAAC;AAET,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC9C,kWAAkW;AAClW,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,eAAe,CAC7C,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAC1C,qZAAqZ;AACrZ,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,eAAe,CACzC,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,cAAc,CAOb,CAAC"}
@@ -1,256 +1,2 @@
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 DeletePhotoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/users.deletePhoto", code: 200 }))).annotate({ identifier: "DeletePhotoRequest" });
10
- export const DeletePhotoResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
11
- ok: S.Boolean,
12
- })).annotate({ identifier: "DeletePhotoResponse" });
13
- export const GetPresenceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
14
- user: S.optional(S.String.pipe(T.Query())),
15
- }).pipe(T.Http({ method: "GET", uri: "/users.getPresence", code: 200 }))).annotate({ identifier: "GetPresenceRequest" });
16
- export const GetPresenceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
17
- ok: S.Boolean,
18
- last_activity: S.optional(S.Number),
19
- manual_away: S.optional(S.Boolean),
20
- presence: S.String,
21
- online: S.optional(S.Boolean),
22
- connection_count: S.optional(S.Number),
23
- auto_away: S.optional(S.Boolean),
24
- })).annotate({ identifier: "GetPresenceResponse" });
25
- export const GetProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
26
- include_labels: S.optional(S.Boolean.pipe(T.Query())),
27
- user: S.optional(S.String.pipe(T.Query())),
28
- }).pipe(T.Http({ method: "GET", uri: "/users.profile.get", code: 200 }))).annotate({ identifier: "GetProfileRequest" });
29
- export const GetProfileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
30
- ok: S.Boolean,
31
- profile: S.Unknown,
32
- })).annotate({ identifier: "GetProfileResponse" });
33
- export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
34
- cursor: S.optional(S.String.pipe(T.Query())),
35
- include_locale: S.optional(S.Boolean.pipe(T.Query())),
36
- limit: S.optional(S.Number.pipe(T.Query())),
37
- team_id: S.optional(S.String.pipe(T.Query())),
38
- }).pipe(T.Http({ method: "GET", uri: "/users.list", code: 200 }))).annotate({ identifier: "ListUsersRequest" });
39
- export const ListUsersResponseMembersList = /*@__PURE__*/ S.Array(S.Unknown);
40
- export const ListUsersResponseResponseMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
41
- next_cursor: S.optional(S.String),
42
- })).annotate({
43
- identifier: "ListUsersResponseResponseMetadata",
44
- });
45
- export const ListUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
46
- ok: S.Boolean,
47
- members: ListUsersResponseMembersList,
48
- cache_ts: S.Number,
49
- response_metadata: S.optional(ListUsersResponseResponseMetadata),
50
- offset: S.optional(S.String),
51
- })).annotate({ identifier: "ListUsersResponse" });
52
- export const LookupByEmailRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
53
- email: S.String.pipe(T.Query()),
54
- }).pipe(T.Http({ method: "GET", uri: "/users.lookupByEmail", code: 200 }))).annotate({ identifier: "LookupByEmailRequest" });
55
- export const LookupByEmailResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
56
- ok: S.Boolean,
57
- user: S.Unknown,
58
- })).annotate({ identifier: "LookupByEmailResponse" });
59
- export const LookupDiscoverableContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
60
- email: S.String,
61
- }).pipe(T.Http({ method: "POST", uri: "/users.discoverableContacts.lookup", code: 200 }))).annotate({
62
- identifier: "LookupDiscoverableContactRequest",
63
- });
64
- export const LookupDiscoverableContactResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
65
- ok: S.Boolean,
66
- is_discoverable: S.Boolean,
67
- })).annotate({
68
- identifier: "LookupDiscoverableContactResponse",
69
- });
70
- export const SetActiveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "POST", uri: "/users.setActive", code: 200 }))).annotate({ identifier: "SetActiveRequest" });
71
- export const SetActiveResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
72
- ok: S.Boolean,
73
- })).annotate({ identifier: "SetActiveResponse" });
74
- export const SetPhotoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
75
- crop_w: S.optional(S.String),
76
- crop_x: S.optional(S.String),
77
- crop_y: S.optional(S.String),
78
- image: S.optional(S.Unknown),
79
- }).pipe(T.Http({ method: "POST", uri: "/users.setPhoto", code: 200, contentType: "form-urlencoded" }))).annotate({ identifier: "SetPhotoRequest" });
80
- export const SetPhotoResponseProfileMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
81
- export const SetPhotoResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
82
- ok: S.Boolean,
83
- profile: SetPhotoResponseProfileMap,
84
- })).annotate({ identifier: "SetPhotoResponse" });
85
- export const SetPresenceRequestPresence = S.String;
86
- export const SetPresenceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
87
- presence: SetPresenceRequestPresence,
88
- }).pipe(T.Http({ method: "POST", uri: "/users.setPresence", code: 200 }))).annotate({ identifier: "SetPresenceRequest" });
89
- export const SetPresenceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
90
- ok: S.Boolean,
91
- })).annotate({ identifier: "SetPresenceResponse" });
92
- export const SetProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
93
- name: S.optional(S.String),
94
- profile: S.optional(S.String),
95
- user: S.optional(S.String),
96
- value: S.optional(S.String),
97
- }).pipe(T.Http({ method: "POST", uri: "/users.profile.set", code: 200 }))).annotate({ identifier: "SetProfileRequest" });
98
- export const SetProfileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
99
- ok: S.Boolean,
100
- username: S.String,
101
- profile: S.Unknown,
102
- email_pending: S.optional(S.String),
103
- })).annotate({ identifier: "SetProfileResponse" });
104
- export const UsersConversationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
105
- cursor: S.optional(S.String.pipe(T.Query())),
106
- exclude_archived: S.optional(S.Boolean.pipe(T.Query())),
107
- exclude_muted: S.optional(S.Boolean.pipe(T.Query())),
108
- limit: S.optional(S.Number.pipe(T.Query())),
109
- team_id: S.optional(S.String.pipe(T.Query())),
110
- types: S.optional(S.String.pipe(T.Query())),
111
- user: S.optional(S.String.pipe(T.Query())),
112
- }).pipe(T.Http({ method: "GET", uri: "/users.conversations", code: 200 }))).annotate({
113
- identifier: "UsersConversationsRequest",
114
- });
115
- export const UsersConversationsResponseChannelsList = /*@__PURE__*/ S.Array(S.Unknown);
116
- export const UsersConversationsResponseResponseMetadata = ListUsersResponseResponseMetadata;
117
- export const UsersConversationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
118
- ok: S.Boolean,
119
- channels: UsersConversationsResponseChannelsList,
120
- response_metadata: S.optional(ListUsersResponseResponseMetadata),
121
- })).annotate({
122
- identifier: "UsersConversationsResponse",
123
- });
124
- export const UsersIdentityRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/users.identity", code: 200 }))).annotate({ identifier: "UsersIdentityRequest" });
125
- export const UsersIdentityResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
126
- ok: S.Boolean,
127
- })).annotate({ identifier: "UsersIdentityResponse" });
128
- export const UsersInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
129
- include_locale: S.optional(S.Boolean.pipe(T.Query())),
130
- user: S.optional(S.String.pipe(T.Query())),
131
- }).pipe(T.Http({ method: "GET", uri: "/users.info", code: 200 }))).annotate({ identifier: "UsersInfoRequest" });
132
- export const UsersInfoResponseUsersList = /*@__PURE__*/ S.Array(S.Unknown);
133
- export const UsersInfoResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
134
- ok: S.Boolean,
135
- user: S.optional(S.Unknown),
136
- users: S.optional(UsersInfoResponseUsersList),
137
- })).annotate({ identifier: "UsersInfoResponse" });
138
- /** Delete the user profile photo Required scopes — user: `users.profile:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `internal_error` — An unexpected error occurred. See https://docs.slack.dev/reference/methods/users.deletePhoto */
139
- export const deletePhoto = /*@__PURE__*/ API.make(() => ({
140
- input: DeletePhotoRequest,
141
- output: DeletePhotoResponse,
142
- errors: [SlackError, SlackRateLimited],
143
- protocol: SlackProtocol,
144
- retry: Retry.Retry,
145
- }));
146
- /** Gets user presence information. Required scopes — bot: `users:read`; user: `users:read` Rate limit tier: 3 See https://docs.slack.dev/reference/methods/users.getPresence */
147
- export const getPresence = /*@__PURE__*/ API.make(() => ({
148
- input: GetPresenceRequest,
149
- output: GetPresenceResponse,
150
- errors: [SlackError, SlackRateLimited],
151
- protocol: SlackProtocol,
152
- retry: Retry.Retry,
153
- }));
154
- /** Retrieve a user's profile information, including their custom status. Required scopes — bot: `users.profile:read`; user: `users.profile:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `user_not_found` — Value passed for `user` was invalid. - `token_revoked` — The token being used is not valid. - `ratelimited` — You are attempting to call this method too frequently. See https://docs.slack.dev/reference/methods/users.profile.get */
155
- export const getProfile = /*@__PURE__*/ API.make(() => ({
156
- input: GetProfileRequest,
157
- output: GetProfileResponse,
158
- errors: [SlackError, SlackRateLimited],
159
- protocol: SlackProtocol,
160
- retry: Retry.Retry,
161
- }));
162
- /** Lists all users in a Slack team. Required scopes — bot: `users:read`; user: `users: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. - `limit_required` — For large teams a limit is required. - `missing_argument` — A required argument is missing. See https://docs.slack.dev/reference/methods/users.list */
163
- export const listUsers = /*@__PURE__*/ API.makePaginated(() => ({
164
- input: ListUsersRequest,
165
- output: ListUsersResponse,
166
- errors: [SlackError, SlackRateLimited],
167
- protocol: SlackProtocol,
168
- retry: Retry.Retry,
169
- pagination: {
170
- mode: "cursor",
171
- inputToken: "cursor",
172
- outputToken: "response_metadata.next_cursor",
173
- items: "members",
174
- pageSize: "limit",
175
- },
176
- }), slackPaginate);
177
- /** Find a user with an email address. Required scopes — bot: `users:read.email`; user: `users:read.email` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `enterprise_is_restricted` — This method was called with an inappropriate enterprise-level token. - `users_not_found` — Value passed for `user` was invalid. See https://docs.slack.dev/reference/methods/users.lookupByEmail */
178
- export const lookupByEmail = /*@__PURE__*/ API.make(() => ({
179
- input: LookupByEmailRequest,
180
- output: LookupByEmailResponse,
181
- errors: [SlackError, SlackRateLimited],
182
- protocol: SlackProtocol,
183
- retry: Retry.Retry,
184
- }));
185
- /** Look up an email address to see if someone is discoverable on Slack Required scopes — bot: `conversations.connect:manage`, `team:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `not_allowed` — user is not allowed to call this API - `ratelimited` — too many attempts - `invalid_arguments` — Invalid arguments (including exceeding character count) - `restricted_action` — user is restricted from calling this API - `not_an_enterprise` — The token does not belong to an enterprise. See https://docs.slack.dev/reference/methods/users.discoverableContacts.lookup */
186
- export const lookupDiscoverableContact = /*@__PURE__*/ API.make(() => ({
187
- input: LookupDiscoverableContactRequest,
188
- output: LookupDiscoverableContactResponse,
189
- errors: [SlackError, SlackRateLimited],
190
- protocol: SlackProtocol,
191
- retry: Retry.Retry,
192
- }));
193
- /** Marked a user as active. Deprecated and non-functional. Required scopes — bot: `users:write`; user: `users:write` Rate limit tier: 2 See https://docs.slack.dev/reference/methods/users.setActive */
194
- export const setActive = /*@__PURE__*/ API.make(() => ({
195
- input: SetActiveRequest,
196
- output: SetActiveResponse,
197
- errors: [SlackError, SlackRateLimited],
198
- protocol: SlackProtocol,
199
- retry: Retry.Retry,
200
- }));
201
- /** Set the user profile photo Required scopes — user: `users.profile:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `bad_image` — The uploaded image could not be processed - try passing a JPEG, GIF or PNG - `internal_error` — An unexpected error occurred. - `too_large` — The uploaded image had excessive dimensions - `too_many_frames` — An animated GIF with too many frames was uploaded See https://docs.slack.dev/reference/methods/users.setPhoto */
202
- export const setPhoto = /*@__PURE__*/ API.make(() => ({
203
- input: SetPhotoRequest,
204
- output: SetPhotoResponse,
205
- errors: [SlackError, SlackRateLimited],
206
- protocol: SlackProtocol,
207
- retry: Retry.Retry,
208
- }));
209
- /** Manually sets user presence. Required scopes — bot: `users:write`; user: `users:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invalid_presence` — Value passed for `presence` was invalid. See https://docs.slack.dev/reference/methods/users.setPresence */
210
- export const setPresence = /*@__PURE__*/ API.make(() => ({
211
- input: SetPresenceRequest,
212
- output: SetPresenceResponse,
213
- errors: [SlackError, SlackRateLimited],
214
- protocol: SlackProtocol,
215
- retry: Retry.Retry,
216
- }));
217
- /** Set a user's profile information, including custom status. Required scopes — user: `users.profile:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cannot_update_admin_user` — Only a primary owner can update the profile of an admin. - `email_taken` — email taken - `invalid_profile` — Profile object passed in is not valid JSON (make sure it is URL encoded!). - `must_clear_both_status_text_and_status_emoji` — Clearing the status requires setting both `status_text` and `status_emoji` to ''. - `name_not_allowed` — name cannot contain URL. - `not_admin` — Only admins can update the profile of another user. Some fields, like `email` may only be updated by an admin. - `not_app_admin` — Only team owners and selected members can update the profile of a bot user. - `partial_profile_set_failed` — Failed to set user profile. - `profile_set_failed` — Failed to set user profile. - `reserved_name` — First or last name are reserved. - `sudo_required` — Request requires sudo session. - `too_long` — You attempted to set a custom status but it was longer than the maximum allowed, 100. - `permission_denied` — Permission denied. - `username_same` — Username is the same as the current username. - `invalid_emoji_not_allowed` — Invalid emoji not allowed. - `invalid_ooo_message` — Invalid Out of Office message. - `invalid_starts_with_at` — Name cannot start with @. See https://docs.slack.dev/reference/methods/users.profile.set */
218
- export const setProfile = /*@__PURE__*/ API.make(() => ({
219
- input: SetProfileRequest,
220
- output: SetProfileResponse,
221
- errors: [SlackError, SlackRateLimited],
222
- protocol: SlackProtocol,
223
- retry: Retry.Retry,
224
- }));
225
- /** List conversations the calling user is a member of. 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): - `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/users.conversations */
226
- export const usersConversations = /*@__PURE__*/ API.makePaginated(() => ({
227
- input: UsersConversationsRequest,
228
- output: UsersConversationsResponse,
229
- errors: [SlackError, SlackRateLimited],
230
- protocol: SlackProtocol,
231
- retry: Retry.Retry,
232
- pagination: {
233
- mode: "cursor",
234
- inputToken: "cursor",
235
- outputToken: "response_metadata.next_cursor",
236
- items: "channels",
237
- pageSize: "limit",
238
- },
239
- }), slackPaginate);
240
- /** Get a user's identity. Required scopes — user: `identity:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `internal_error` — Internal error - `invalid_user_id` — Invalid user id provided - `email_not_verified` — user email has not been verified See https://docs.slack.dev/reference/methods/users.identity */
241
- export const usersIdentity = /*@__PURE__*/ API.make(() => ({
242
- input: UsersIdentityRequest,
243
- output: UsersIdentityResponse,
244
- errors: [SlackError, SlackRateLimited],
245
- protocol: SlackProtocol,
246
- retry: Retry.Retry,
247
- }));
248
- /** Gets information about a user. Required scopes — bot: `users:read`; user: `users:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `too_many_users` — Too many users. - `user_not_found` — Value passed for `user` was invalid. - `user_not_visible` — The requested user is not visible to the calling user See https://docs.slack.dev/reference/methods/users.info */
249
- export const usersInfo = /*@__PURE__*/ API.make(() => ({
250
- input: UsersInfoRequest,
251
- output: UsersInfoResponse,
252
- errors: [SlackError, SlackRateLimited],
253
- protocol: SlackProtocol,
254
- retry: Retry.Retry,
255
- }));
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,retry$Retry as g,s as _,t as v,traits$Http as y,traits$Query as b,u as x}from"../_bundle/sdk.js";const S=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#4:0,errors:[$5,$6],protocol:$7,retry:$8};$3(>2)@"DeletePhotoRequest";$2({}).pipe($1({method:"GET",uri:"/users.deletePhoto",code:200}))`,[l,y,_,n,__d0,r,i,h,g]]:p(S,e));const C=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$6(>3)@"GetPresenceRequest";$6(>4)@"GetPresenceResponse";$5({user:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/users.getPresence",code:200}));$5({ok:$7,last_activity:$4($8),manual_away:$4($7),presence:$3,online:$4($7),connection_count:$4($8),auto_away:$4($7)})`,[l,y,b,f,x,_,n,d,c,r,i,h,g]]:p(C,e));const w=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$7(>3)@"GetProfileRequest";$7(>4)@"GetProfileResponse";$6({include_labels:$4($3.pipe($2())),user:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/users.profile.get",code:200}));$6({ok:$3,profile:$8})`,[l,y,b,d,x,f,_,n,t,r,i,h,g]]:p(w,e));const T=/*@__PURE__*/ o(e=>e===a?u(`cursor`,`{input:#1,output:#2,errors:[$11,$12],protocol:$13,retry:$14,pagination:{mode:"%",inputToken:"%",outputToken:"response_metadata.next_%",items:"members",pageSize:"limit"},strategy:$15};$8(>3)@"ListUsersRequest";$8(>4)@"ListUsersResponse";$7({cursor:$4($3.pipe($2())),include_locale:$4($5.pipe($2())),limit:$4($6.pipe($2())),team_id:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/users.list",code:200}));$7({ok:$5,members:#9:0,cache_ts:$6,response_metadata:$4(#10:0),offset:$4($3)})`,[l,y,b,f,x,d,c,_,n,__d2,__d1,r,i,h,g,m]):p(T,e));const E=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$8,$9],protocol:$10,retry:$11};$5(>3)@"LookupByEmailRequest";$5(>4)@"LookupByEmailResponse";$4({email:$3.pipe($2())}).pipe($1({method:"GET",uri:"/users.lookupByEmail",code:200}));$4({ok:$6,user:$7})`,[l,y,b,f,_,n,d,t,r,i,h,g]]:p(E,e));const D=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$6,$7],protocol:$8,retry:$9};$4(>3)@"LookupDiscoverableContactRequest";$4(>4)@"LookupDiscoverableContactResponse";$3({email:$2}).pipe($1({method:"POST",uri:"/users.discoverableContacts.lookup",code:200}));$3({ok:$5,is_discoverable:$5})`,[l,y,f,_,n,d,r,i,h,g]]:p(D,e));const O=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#4:0,errors:[$5,$6],protocol:$7,retry:$8};$3(>2)@"SetActiveRequest";$2({}).pipe($1({method:"POST",uri:"/users.setActive",code:200}))`,[l,y,_,n,__d0,r,i,h,g]]:p(O,e));const k=/*@__PURE__*/ s(o=>o===a?[`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$6(>4)@"SetPhotoRequest";$7($2,$4);$6(>5)@"SetPhotoResponse";$5({crop_w:$3($2),crop_x:$3($2),crop_y:$3($2),image:$3($4)}).pipe($1({method:"POST",uri:"/users.setPhoto",code:200,contentType:"form-urlencoded"}));$5({ok:$8,profile:#2})`,[l,y,f,x,t,_,n,e,d,r,i,h,g]]:p(k,o));const A=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"SetPresenceRequest";$3({presence:$2}).pipe($1({method:"POST",uri:"/users.setPresence",code:200}))`,[l,y,f,_,n,__d0,r,i,h,g]]:p(A,e));const j=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$8,$9],protocol:$10,retry:$11};$5(>3)@"SetProfileRequest";$5(>4)@"SetProfileResponse";$4({name:$3($2),profile:$3($2),user:$3($2),value:$3($2)}).pipe($1({method:"POST",uri:"/users.profile.set",code:200}));$4({ok:$6,username:$2,profile:$7,email_pending:$3($2)})`,[l,y,f,x,_,n,d,t,r,i,h,g]]:p(j,e));const M=/*@__PURE__*/ o(e=>e===a?u(`cursor`,`{input:#1,output:#2,errors:[$11,$12],protocol:$13,retry:$14,pagination:{mode:"%",inputToken:"%",outputToken:"response_metadata.next_%",items:"channels",pageSize:"limit"},strategy:$15};$8(>3)@"UsersConversationsRequest";$8(>4)@"UsersConversationsResponse";$7({cursor:$4($3.pipe($2())),exclude_archived:$4($5.pipe($2())),exclude_muted:$4($5.pipe($2())),limit:$4($6.pipe($2())),team_id:$4($3.pipe($2())),types:$4($3.pipe($2())),user:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/users.conversations",code:200}));$7({ok:$5,channels:#9:0,response_metadata:$4(#10:0)})`,[l,y,b,f,x,d,c,_,n,__d2,__d1,r,i,h,g,m]):p(M,e));const N=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#4:0,errors:[$5,$6],protocol:$7,retry:$8};$3(>2)@"UsersIdentityRequest";$2({}).pipe($1({method:"GET",uri:"/users.identity",code:200}))`,[l,y,_,n,__d0,r,i,h,g]]:p(N,e));const P=/*@__PURE__*/ s(e=>e===a?[`{input:#1,output:#2,errors:[$10,$11],protocol:$12,retry:$13};$7(>3)@"UsersInfoRequest";$7(>4)@"UsersInfoResponse";$6({include_locale:$4($3.pipe($2())),user:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/users.info",code:200}));$6({ok:$3,user:$4($8),users:$4(#9:0)})`,[l,y,b,d,x,f,_,n,t,__d2,r,i,h,g]]:p(P,e));function __d0(){return[`$3(>1)@"DeletePhotoResponse";$2({ok:$1})`,[l,d,_,n]]}function __d1(){return[`$4(>1)@"ListUsersResponseResponseMetadata";$3({next_cursor:$2($1)})`,[l,f,x,_,n]]}function __d2(){return[`$2($1)`,[l,t,v]]}export{S as deletePhoto,C as getPresence,w as getProfile,T as listUsers,E as lookupByEmail,D as lookupDiscoverableContact,O as setActive,k as setPhoto,A as setPresence,j as setProfile,M as usersConversations,N as usersIdentity,P as usersInfo};
256
2
  //# sourceMappingURL=users.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/services/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8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U,EAAE,gBAAgB,CAAC;IACtC,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,iZAAiZ;AACjZ,MAAM,CAAC,MAAM,SAAS,GAKlB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"users.js","names":["API.D","__L.at","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.String","S.optional","S.Boolean","S.Number","S.Unknown","API.named","S.Record","S.Array","Record","Unknown","suspend","SlackError","SlackRateLimited","D","opPaginated","op","Number","named","Boolean","String","slackPaginate","SlackProtocol","Retry","Struct","Array","Http","Query","optional","deletePhoto","i","at","call","getPresence","getProfile","listUsers","lookupByEmail","lookupDiscoverableContact","setActive","setPhoto","setPresence","setProfile","usersConversations","usersIdentity","usersInfo"],"sources":["../../src/services/users.ts"],"mappings":"gSAkLA,MAAaoC,EAKK,gBAAQ,GAAgBC,IAAMrC,EAAQ,CAAC,2JAA4J,CAACC,EAAQC,EAAQC,EAAUC,EAAW,KAAMe,EAAYC,EAAkBS,EAAexB,CAAW,CAAC,EAAIC,EAAS8B,EAAaC,CAAC,CAAC,EAItV,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMrC,EAAQ,CAAC,sUAAuU,CAACC,EAAQC,EAAQK,EAASC,EAAUC,EAAYN,EAAUC,EAAWM,EAAWC,EAAUQ,EAAYC,EAAkBS,EAAexB,CAAW,CAAC,EAAIC,EAASkC,EAAaH,CAAC,CAAC,EAI/iB,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAMrC,EAAQ,CAAC,qQAAsQ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