@distilled.cloud/slack 1.0.0-rc.19 → 1.0.0-rc.21

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 (188) hide show
  1. package/README.md +2 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +6 -2
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/errors.d.ts +10 -0
  8. package/lib/errors.d.ts.map +1 -1
  9. package/lib/errors.js +1 -1
  10. package/lib/index.d.ts +0 -1
  11. package/lib/index.d.ts.map +1 -1
  12. package/lib/index.js +0 -1
  13. package/lib/pagination.d.ts.map +1 -1
  14. package/lib/protocol.d.ts +47 -12
  15. package/lib/protocol.d.ts.map +1 -1
  16. package/lib/retry.d.ts +1 -2
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/services/admin.d.ts +264 -83
  19. package/lib/services/admin.d.ts.map +1 -1
  20. package/lib/services/admin.js +154 -149
  21. package/lib/services/admin.js.map +1 -1
  22. package/lib/services/agents.d.ts.map +1 -1
  23. package/lib/services/agents.js +1 -1
  24. package/lib/services/agents.js.map +1 -1
  25. package/lib/services/api.d.ts.map +1 -1
  26. package/lib/services/api.js +1 -1
  27. package/lib/services/api.js.map +1 -1
  28. package/lib/services/apps.d.ts +7 -7
  29. package/lib/services/apps.d.ts.map +1 -1
  30. package/lib/services/apps.js +34 -34
  31. package/lib/services/apps.js.map +1 -1
  32. package/lib/services/assistant.d.ts +4 -1
  33. package/lib/services/assistant.d.ts.map +1 -1
  34. package/lib/services/assistant.js +1 -1
  35. package/lib/services/assistant.js.map +1 -1
  36. package/lib/services/auth.d.ts.map +1 -1
  37. package/lib/services/auth.js +1 -1
  38. package/lib/services/auth.js.map +1 -1
  39. package/lib/services/blocks.d.ts.map +1 -1
  40. package/lib/services/blocks.js +1 -1
  41. package/lib/services/blocks.js.map +1 -1
  42. package/lib/services/bookmarks.d.ts.map +1 -1
  43. package/lib/services/bookmarks.js +1 -1
  44. package/lib/services/bookmarks.js.map +1 -1
  45. package/lib/services/bots.d.ts.map +1 -1
  46. package/lib/services/bots.js +1 -1
  47. package/lib/services/bots.js.map +1 -1
  48. package/lib/services/calls.d.ts.map +1 -1
  49. package/lib/services/calls.js +1 -1
  50. package/lib/services/calls.js.map +1 -1
  51. package/lib/services/canvases.d.ts +1 -1
  52. package/lib/services/canvases.d.ts.map +1 -1
  53. package/lib/services/canvases.js +1 -1
  54. package/lib/services/canvases.js.map +1 -1
  55. package/lib/services/chat.d.ts.map +1 -1
  56. package/lib/services/chat.js +1 -1
  57. package/lib/services/chat.js.map +1 -1
  58. package/lib/services/conversations.d.ts +5 -5
  59. package/lib/services/conversations.d.ts.map +1 -1
  60. package/lib/services/conversations.js +39 -39
  61. package/lib/services/conversations.js.map +1 -1
  62. package/lib/services/dialog.d.ts.map +1 -1
  63. package/lib/services/dialog.js +1 -1
  64. package/lib/services/dialog.js.map +1 -1
  65. package/lib/services/dnd.d.ts.map +1 -1
  66. package/lib/services/dnd.js +1 -1
  67. package/lib/services/dnd.js.map +1 -1
  68. package/lib/services/emoji.d.ts.map +1 -1
  69. package/lib/services/emoji.js +1 -1
  70. package/lib/services/emoji.js.map +1 -1
  71. package/lib/services/entity.d.ts.map +1 -1
  72. package/lib/services/entity.js +1 -1
  73. package/lib/services/entity.js.map +1 -1
  74. package/lib/services/files.d.ts +1 -1
  75. package/lib/services/files.d.ts.map +1 -1
  76. package/lib/services/files.js +28 -28
  77. package/lib/services/files.js.map +1 -1
  78. package/lib/services/functions.d.ts.map +1 -1
  79. package/lib/services/functions.js +1 -1
  80. package/lib/services/functions.js.map +1 -1
  81. package/lib/services/index.d.ts.map +1 -1
  82. package/lib/services/lists.d.ts.map +1 -1
  83. package/lib/services/lists.js +1 -1
  84. package/lib/services/lists.js.map +1 -1
  85. package/lib/services/migration.d.ts.map +1 -1
  86. package/lib/services/migration.js +1 -1
  87. package/lib/services/migration.js.map +1 -1
  88. package/lib/services/oauth.d.ts +6 -6
  89. package/lib/services/oauth.d.ts.map +1 -1
  90. package/lib/services/oauth.js +1 -1
  91. package/lib/services/oauth.js.map +1 -1
  92. package/lib/services/openid.d.ts +2 -2
  93. package/lib/services/openid.d.ts.map +1 -1
  94. package/lib/services/openid.js +1 -1
  95. package/lib/services/openid.js.map +1 -1
  96. package/lib/services/pins.d.ts.map +1 -1
  97. package/lib/services/pins.js +1 -1
  98. package/lib/services/pins.js.map +1 -1
  99. package/lib/services/reactions.d.ts.map +1 -1
  100. package/lib/services/reactions.js +1 -1
  101. package/lib/services/reactions.js.map +1 -1
  102. package/lib/services/reminders.d.ts.map +1 -1
  103. package/lib/services/reminders.js +1 -1
  104. package/lib/services/reminders.js.map +1 -1
  105. package/lib/services/rtm.d.ts.map +1 -1
  106. package/lib/services/rtm.js +1 -1
  107. package/lib/services/rtm.js.map +1 -1
  108. package/lib/services/search.d.ts.map +1 -1
  109. package/lib/services/search.js +1 -1
  110. package/lib/services/search.js.map +1 -1
  111. package/lib/services/slackbot.d.ts +2 -2
  112. package/lib/services/slackbot.d.ts.map +1 -1
  113. package/lib/services/slackbot.js +1 -1
  114. package/lib/services/slackbot.js.map +1 -1
  115. package/lib/services/stars.d.ts.map +1 -1
  116. package/lib/services/stars.js +1 -1
  117. package/lib/services/stars.js.map +1 -1
  118. package/lib/services/team.d.ts +1 -1
  119. package/lib/services/team.d.ts.map +1 -1
  120. package/lib/services/team.js +1 -1
  121. package/lib/services/team.js.map +1 -1
  122. package/lib/services/tooling.d.ts +1 -1
  123. package/lib/services/tooling.d.ts.map +1 -1
  124. package/lib/services/tooling.js +1 -1
  125. package/lib/services/tooling.js.map +1 -1
  126. package/lib/services/usergroups.d.ts.map +1 -1
  127. package/lib/services/usergroups.js +1 -1
  128. package/lib/services/usergroups.js.map +1 -1
  129. package/lib/services/users.d.ts +73 -1
  130. package/lib/services/users.d.ts.map +1 -1
  131. package/lib/services/users.js +1 -1
  132. package/lib/services/users.js.map +1 -1
  133. package/lib/services/views.d.ts.map +1 -1
  134. package/lib/services/views.js +1 -1
  135. package/lib/services/views.js.map +1 -1
  136. package/lib/services/workflows.d.ts +4 -4
  137. package/lib/services/workflows.d.ts.map +1 -1
  138. package/lib/services/workflows.js +1 -1
  139. package/lib/services/workflows.js.map +1 -1
  140. package/lib/services.lazy/admin.js +2 -2
  141. package/lib/services.lazy/apps.js +1 -1
  142. package/lib/services.lazy/conversations.js +1 -1
  143. package/lib/services.lazy/files.js +1 -1
  144. package/lib/traits.d.ts.map +1 -1
  145. package/package.json +6 -7
  146. package/src/credentials.ts +20 -15
  147. package/src/errors.ts +12 -1
  148. package/src/index.ts +0 -1
  149. package/src/protocol.ts +96 -86
  150. package/src/retry.ts +1 -2
  151. package/src/services/admin.ts +1523 -951
  152. package/src/services/agents.ts +23 -12
  153. package/src/services/api.ts +3 -2
  154. package/src/services/apps.ts +57 -34
  155. package/src/services/assistant.ts +17 -8
  156. package/src/services/auth.ts +7 -4
  157. package/src/services/blocks.ts +3 -2
  158. package/src/services/bookmarks.ts +9 -5
  159. package/src/services/bots.ts +3 -2
  160. package/src/services/calls.ts +13 -7
  161. package/src/services/canvases.ts +16 -9
  162. package/src/services/chat.ts +27 -14
  163. package/src/services/conversations.ts +62 -34
  164. package/src/services/dialog.ts +3 -2
  165. package/src/services/dnd.ts +11 -6
  166. package/src/services/emoji.ts +3 -2
  167. package/src/services/entity.ts +7 -4
  168. package/src/services/files.ts +32 -17
  169. package/src/services/functions.ts +17 -9
  170. package/src/services/lists.ts +25 -13
  171. package/src/services/migration.ts +3 -2
  172. package/src/services/oauth.ts +23 -17
  173. package/src/services/openid.ts +8 -6
  174. package/src/services/pins.ts +7 -4
  175. package/src/services/reactions.ts +9 -5
  176. package/src/services/reminders.ts +11 -6
  177. package/src/services/rtm.ts +5 -3
  178. package/src/services/search.ts +7 -4
  179. package/src/services/slackbot.ts +17 -10
  180. package/src/services/stars.ts +7 -4
  181. package/src/services/team.ts +20 -11
  182. package/src/services/tooling.ts +5 -4
  183. package/src/services/usergroups.ts +15 -8
  184. package/src/services/users.ts +136 -17
  185. package/src/services/views.ts +9 -5
  186. package/src/services/workflows.ts +21 -13
  187. package/lib/index.lazy.js +0 -7
  188. package/lib/index.lazy.js.map +0 -1
@@ -2,7 +2,7 @@ import * as API from "@distilled.cloud/core/api";
2
2
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
3
3
  import * as S from "@distilled.cloud/core/schema-lite";
4
4
  import * as __L from "@distilled.cloud/core/schema-lite";
5
- import { SlackError, SlackRateLimited } from "../errors.ts";
5
+ import { SlackServiceErrors } from "../errors.ts";
6
6
  import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
7
7
  import * as Retry from "../retry.ts";
8
8
  import * as T from "../traits.ts";
@@ -90,7 +90,8 @@ export const publishView: API.OperationMethod<
90
90
  > = /*@__PURE__*/ API.make(() => ({
91
91
  input: __S(0, __c0, 0) as any as S.Schema<PublishViewRequest>,
92
92
  output: __S(2, __c1, 0) as any as S.Schema<PublishViewResponse>,
93
- errors: [SlackError, SlackRateLimited],
93
+ errors: [],
94
+ serviceErrors: SlackServiceErrors,
94
95
  protocol: SlackProtocol,
95
96
  retry: Retry.Retry,
96
97
  telemetry: TELEMETRY,
@@ -107,7 +108,8 @@ export const updateView: API.OperationMethod<
107
108
  > = /*@__PURE__*/ API.make(() => ({
108
109
  input: __S(4, __c2, 0) as any as S.Schema<UpdateViewRequest>,
109
110
  output: __S(2, __c1, 0) as any as S.Schema<UpdateViewResponse>,
110
- errors: [SlackError, SlackRateLimited],
111
+ errors: [],
112
+ serviceErrors: SlackServiceErrors,
111
113
  protocol: SlackProtocol,
112
114
  retry: Retry.Retry,
113
115
  telemetry: TELEMETRY,
@@ -124,7 +126,8 @@ export const viewsOpen: API.OperationMethod<
124
126
  > = /*@__PURE__*/ API.make(() => ({
125
127
  input: __S(7, __c3, 1) as any as S.Schema<ViewsOpenRequest>,
126
128
  output: __S(2, __c1, 0) as any as S.Schema<ViewsOpenResponse>,
127
- errors: [SlackError, SlackRateLimited],
129
+ errors: [],
130
+ serviceErrors: SlackServiceErrors,
128
131
  protocol: SlackProtocol,
129
132
  retry: Retry.Retry,
130
133
  telemetry: TELEMETRY,
@@ -141,7 +144,8 @@ export const viewsPush: API.OperationMethod<
141
144
  > = /*@__PURE__*/ API.make(() => ({
142
145
  input: __S(8, __c4, 0) as any as S.Schema<ViewsPushRequest>,
143
146
  output: __S(2, __c1, 0) as any as S.Schema<ViewsPushResponse>,
144
- errors: [SlackError, SlackRateLimited],
147
+ errors: [],
148
+ serviceErrors: SlackServiceErrors,
145
149
  protocol: SlackProtocol,
146
150
  retry: Retry.Retry,
147
151
  telemetry: TELEMETRY,
@@ -2,7 +2,7 @@ import * as API from "@distilled.cloud/core/api";
2
2
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
3
3
  import * as S from "@distilled.cloud/core/schema-lite";
4
4
  import * as __L from "@distilled.cloud/core/schema-lite";
5
- import { SlackError, SlackRateLimited } from "../errors.ts";
5
+ import { SlackServiceErrors } from "../errors.ts";
6
6
  import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
7
7
  import * as Retry from "../retry.ts";
8
8
  import * as T from "../traits.ts";
@@ -193,7 +193,7 @@ export interface SetTriggersPermissionsResponse {
193
193
  ok: boolean;
194
194
  }
195
195
  export type AddFeaturedError = SlackOpError;
196
- /** Add featured workflows to a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.add */
196
+ /** Add featured workflows to a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows - `channel_not_found` -- Channel not found. See https://docs.slack.dev/reference/methods/workflows.featured.add */
197
197
  export const addFeatured: API.OperationMethod<
198
198
  AddFeaturedRequest,
199
199
  AddFeaturedResponse,
@@ -202,7 +202,8 @@ export const addFeatured: API.OperationMethod<
202
202
  > = /*@__PURE__*/ API.make(() => ({
203
203
  input: __S(0, __c0, 0) as any as S.Schema<AddFeaturedRequest>,
204
204
  output: __S(16, __c2, 0) as any as S.Schema<AddFeaturedResponse>,
205
- errors: [SlackError, SlackRateLimited],
205
+ errors: [],
206
+ serviceErrors: SlackServiceErrors,
206
207
  protocol: SlackProtocol,
207
208
  retry: Retry.Retry,
208
209
  telemetry: TELEMETRY,
@@ -219,7 +220,8 @@ export const addTriggersPermissions: API.OperationMethod<
219
220
  > = /*@__PURE__*/ API.make(() => ({
220
221
  input: __S(24, __c3, 0) as any as S.Schema<AddTriggersPermissionsRequest>,
221
222
  output: __S(16, __c2, 0) as any as S.Schema<AddTriggersPermissionsResponse>,
222
- errors: [SlackError, SlackRateLimited],
223
+ errors: [],
224
+ serviceErrors: SlackServiceErrors,
223
225
  protocol: SlackProtocol,
224
226
  retry: Retry.Retry,
225
227
  telemetry: TELEMETRY,
@@ -236,7 +238,8 @@ export const listFeatured: API.OperationMethod<
236
238
  > = /*@__PURE__*/ API.make(() => ({
237
239
  input: __S(32, __c4, 0) as any as S.Schema<ListFeaturedRequest>,
238
240
  output: __S(37, __c4, 5) as any as S.Schema<ListFeaturedResponse>,
239
- errors: [SlackError, SlackRateLimited],
241
+ errors: [],
242
+ serviceErrors: SlackServiceErrors,
240
243
  protocol: SlackProtocol,
241
244
  retry: Retry.Retry,
242
245
  telemetry: TELEMETRY,
@@ -253,7 +256,8 @@ export const listTriggersPermissions: API.OperationMethod<
253
256
  > = /*@__PURE__*/ API.make(() => ({
254
257
  input: __S(40, __c5, 0) as any as S.Schema<ListTriggersPermissionsRequest>,
255
258
  output: __S(16, __c2, 0) as any as S.Schema<ListTriggersPermissionsResponse>,
256
- errors: [SlackError, SlackRateLimited],
259
+ errors: [],
260
+ serviceErrors: SlackServiceErrors,
257
261
  protocol: SlackProtocol,
258
262
  retry: Retry.Retry,
259
263
  telemetry: TELEMETRY,
@@ -261,7 +265,7 @@ export const listTriggersPermissions: API.OperationMethod<
261
265
  }));
262
266
 
263
267
  export type RemoveFeaturedError = SlackOpError;
264
- /** Remove featured workflows from a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.remove */
268
+ /** Remove featured workflows from a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows - `channel_not_found` -- Channel not found. See https://docs.slack.dev/reference/methods/workflows.featured.remove */
265
269
  export const removeFeatured: API.OperationMethod<
266
270
  RemoveFeaturedRequest,
267
271
  RemoveFeaturedResponse,
@@ -270,7 +274,8 @@ export const removeFeatured: API.OperationMethod<
270
274
  > = /*@__PURE__*/ API.make(() => ({
271
275
  input: __S(48, __c6, 0) as any as S.Schema<RemoveFeaturedRequest>,
272
276
  output: __S(16, __c2, 0) as any as S.Schema<RemoveFeaturedResponse>,
273
- errors: [SlackError, SlackRateLimited],
277
+ errors: [],
278
+ serviceErrors: SlackServiceErrors,
274
279
  protocol: SlackProtocol,
275
280
  retry: Retry.Retry,
276
281
  telemetry: TELEMETRY,
@@ -287,7 +292,8 @@ export const removeTriggersPermissions: API.OperationMethod<
287
292
  > = /*@__PURE__*/ API.make(() => ({
288
293
  input: __S(56, __c7, 0) as any as S.Schema<RemoveTriggersPermissionsRequest>,
289
294
  output: __S(57, __c7, 1) as any as S.Schema<RemoveTriggersPermissionsResponse>,
290
- errors: [SlackError, SlackRateLimited],
295
+ errors: [],
296
+ serviceErrors: SlackServiceErrors,
291
297
  protocol: SlackProtocol,
292
298
  retry: Retry.Retry,
293
299
  telemetry: TELEMETRY,
@@ -295,7 +301,7 @@ export const removeTriggersPermissions: API.OperationMethod<
295
301
  }));
296
302
 
297
303
  export type SetFeaturedError = SlackOpError;
298
- /** Set featured workflows for a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.set */
304
+ /** Set featured workflows for a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows - `channel_not_found` -- Channel not found. See https://docs.slack.dev/reference/methods/workflows.featured.set */
299
305
  export const setFeatured: API.OperationMethod<
300
306
  SetFeaturedRequest,
301
307
  SetFeaturedResponse,
@@ -304,7 +310,8 @@ export const setFeatured: API.OperationMethod<
304
310
  > = /*@__PURE__*/ API.make(() => ({
305
311
  input: __S(64, __c8, 0) as any as S.Schema<SetFeaturedRequest>,
306
312
  output: __S(16, __c2, 0) as any as S.Schema<SetFeaturedResponse>,
307
- errors: [SlackError, SlackRateLimited],
313
+ errors: [],
314
+ serviceErrors: SlackServiceErrors,
308
315
  protocol: SlackProtocol,
309
316
  retry: Retry.Retry,
310
317
  telemetry: TELEMETRY,
@@ -312,7 +319,7 @@ export const setFeatured: API.OperationMethod<
312
319
  }));
313
320
 
314
321
  export type SetTriggersPermissionsError = SlackOpError;
315
- /** Set the permission type for who can run a trigger Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `channel_not_found` -- One or more of the listed channels could not be found. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `external_workspace_denied` -- The channel selected is not on the workflow team. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `named_entities_cannot_be_empty` -- Must pass at least one valid named entity. - `no_valid_named_entities` -- None of the provided named entities were valid - `org_not_found` -- One or more of the listed organizations could not be found. - `org_not_connected` -- One of more of the listed organizations were not connected. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` -- One of more of the listed teams were not connected by org. - `team_not_found` -- One or more of the listed teams could not be found. - `too_many_named_entities` -- Too many named_entities passed into the trigger permissions setting. - `trigger_not_found` -- This trigger does not exist. - `unknown_method` -- This method does not exist. - `user_not_found` -- One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.set */
322
+ /** Set the permission type for who can run a trigger Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `channel_not_found` -- One or more of the listed channels could not be found. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `named_entities_cannot_be_empty` -- Must pass at least one valid named entity. - `no_valid_named_entities` -- None of the provided named entities were valid - `org_not_found` -- One or more of the listed organizations could not be found. - `org_not_connected` -- One of more of the listed organizations were not connected. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` -- One of more of the listed teams were not connected by org. - `team_not_found` -- One or more of the listed teams could not be found. - `too_many_named_entities` -- Too many named_entities passed into the trigger permissions setting. - `trigger_not_found` -- This trigger does not exist. - `unknown_method` -- This method does not exist. - `user_not_found` -- One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.set */
316
323
  export const setTriggersPermissions: API.OperationMethod<
317
324
  SetTriggersPermissionsRequest,
318
325
  SetTriggersPermissionsResponse,
@@ -321,7 +328,8 @@ export const setTriggersPermissions: API.OperationMethod<
321
328
  > = /*@__PURE__*/ API.make(() => ({
322
329
  input: __S(72, __c9, 0) as any as S.Schema<SetTriggersPermissionsRequest>,
323
330
  output: __S(16, __c2, 0) as any as S.Schema<SetTriggersPermissionsResponse>,
324
- errors: [SlackError, SlackRateLimited],
331
+ errors: [],
332
+ serviceErrors: SlackServiceErrors,
325
333
  protocol: SlackProtocol,
326
334
  retry: Retry.Retry,
327
335
  telemetry: TELEMETRY,
package/lib/index.lazy.js DELETED
@@ -1,7 +0,0 @@
1
- export * from "./credentials.js";
2
- export * from "./errors.js";
3
- export * as T from "./traits.js";
4
- export { SlackProtocol } from "./protocol.js";
5
- export * as Retry from "./retry.js";
6
- export * as Pagination from "./pagination.js";
7
- export * from "./services.lazy/index.js";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,aAAa,EAA0C,MAAM,eAAe,CAAC;AACtF,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,cAAc,qBAAqB,CAAC"}