@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.
- package/README.md +2 -2
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +6 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/errors.d.ts +10 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +47 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts +1 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/admin.d.ts +264 -83
- package/lib/services/admin.d.ts.map +1 -1
- package/lib/services/admin.js +154 -149
- package/lib/services/admin.js.map +1 -1
- package/lib/services/agents.d.ts.map +1 -1
- package/lib/services/agents.js +1 -1
- package/lib/services/agents.js.map +1 -1
- package/lib/services/api.d.ts.map +1 -1
- package/lib/services/api.js +1 -1
- package/lib/services/api.js.map +1 -1
- package/lib/services/apps.d.ts +7 -7
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +34 -34
- package/lib/services/apps.js.map +1 -1
- package/lib/services/assistant.d.ts +4 -1
- package/lib/services/assistant.d.ts.map +1 -1
- package/lib/services/assistant.js +1 -1
- package/lib/services/assistant.js.map +1 -1
- package/lib/services/auth.d.ts.map +1 -1
- package/lib/services/auth.js +1 -1
- package/lib/services/auth.js.map +1 -1
- package/lib/services/blocks.d.ts.map +1 -1
- package/lib/services/blocks.js +1 -1
- package/lib/services/blocks.js.map +1 -1
- package/lib/services/bookmarks.d.ts.map +1 -1
- package/lib/services/bookmarks.js +1 -1
- package/lib/services/bookmarks.js.map +1 -1
- package/lib/services/bots.d.ts.map +1 -1
- package/lib/services/bots.js +1 -1
- package/lib/services/bots.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +1 -1
- package/lib/services/calls.js.map +1 -1
- package/lib/services/canvases.d.ts +1 -1
- package/lib/services/canvases.d.ts.map +1 -1
- package/lib/services/canvases.js +1 -1
- package/lib/services/canvases.js.map +1 -1
- package/lib/services/chat.d.ts.map +1 -1
- package/lib/services/chat.js +1 -1
- package/lib/services/chat.js.map +1 -1
- package/lib/services/conversations.d.ts +5 -5
- package/lib/services/conversations.d.ts.map +1 -1
- package/lib/services/conversations.js +39 -39
- package/lib/services/conversations.js.map +1 -1
- package/lib/services/dialog.d.ts.map +1 -1
- package/lib/services/dialog.js +1 -1
- package/lib/services/dialog.js.map +1 -1
- package/lib/services/dnd.d.ts.map +1 -1
- package/lib/services/dnd.js +1 -1
- package/lib/services/dnd.js.map +1 -1
- package/lib/services/emoji.d.ts.map +1 -1
- package/lib/services/emoji.js +1 -1
- package/lib/services/emoji.js.map +1 -1
- package/lib/services/entity.d.ts.map +1 -1
- package/lib/services/entity.js +1 -1
- package/lib/services/entity.js.map +1 -1
- package/lib/services/files.d.ts +1 -1
- package/lib/services/files.d.ts.map +1 -1
- package/lib/services/files.js +28 -28
- package/lib/services/files.js.map +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/lists.d.ts.map +1 -1
- package/lib/services/lists.js +1 -1
- package/lib/services/lists.js.map +1 -1
- package/lib/services/migration.d.ts.map +1 -1
- package/lib/services/migration.js +1 -1
- package/lib/services/migration.js.map +1 -1
- package/lib/services/oauth.d.ts +6 -6
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +1 -1
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/openid.d.ts +2 -2
- package/lib/services/openid.d.ts.map +1 -1
- package/lib/services/openid.js +1 -1
- package/lib/services/openid.js.map +1 -1
- package/lib/services/pins.d.ts.map +1 -1
- package/lib/services/pins.js +1 -1
- package/lib/services/pins.js.map +1 -1
- package/lib/services/reactions.d.ts.map +1 -1
- package/lib/services/reactions.js +1 -1
- package/lib/services/reactions.js.map +1 -1
- package/lib/services/reminders.d.ts.map +1 -1
- package/lib/services/reminders.js +1 -1
- package/lib/services/reminders.js.map +1 -1
- package/lib/services/rtm.d.ts.map +1 -1
- package/lib/services/rtm.js +1 -1
- package/lib/services/rtm.js.map +1 -1
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +1 -1
- package/lib/services/search.js.map +1 -1
- package/lib/services/slackbot.d.ts +2 -2
- package/lib/services/slackbot.d.ts.map +1 -1
- package/lib/services/slackbot.js +1 -1
- package/lib/services/slackbot.js.map +1 -1
- package/lib/services/stars.d.ts.map +1 -1
- package/lib/services/stars.js +1 -1
- package/lib/services/stars.js.map +1 -1
- package/lib/services/team.d.ts +1 -1
- package/lib/services/team.d.ts.map +1 -1
- package/lib/services/team.js +1 -1
- package/lib/services/team.js.map +1 -1
- package/lib/services/tooling.d.ts +1 -1
- package/lib/services/tooling.d.ts.map +1 -1
- package/lib/services/tooling.js +1 -1
- package/lib/services/tooling.js.map +1 -1
- package/lib/services/usergroups.d.ts.map +1 -1
- package/lib/services/usergroups.js +1 -1
- package/lib/services/usergroups.js.map +1 -1
- package/lib/services/users.d.ts +73 -1
- package/lib/services/users.d.ts.map +1 -1
- package/lib/services/users.js +1 -1
- package/lib/services/users.js.map +1 -1
- package/lib/services/views.d.ts.map +1 -1
- package/lib/services/views.js +1 -1
- package/lib/services/views.js.map +1 -1
- package/lib/services/workflows.d.ts +4 -4
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +1 -1
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/admin.js +2 -2
- package/lib/services.lazy/apps.js +1 -1
- package/lib/services.lazy/conversations.js +1 -1
- package/lib/services.lazy/files.js +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +6 -7
- package/src/credentials.ts +20 -15
- package/src/errors.ts +12 -1
- package/src/index.ts +0 -1
- package/src/protocol.ts +96 -86
- package/src/retry.ts +1 -2
- package/src/services/admin.ts +1523 -951
- package/src/services/agents.ts +23 -12
- package/src/services/api.ts +3 -2
- package/src/services/apps.ts +57 -34
- package/src/services/assistant.ts +17 -8
- package/src/services/auth.ts +7 -4
- package/src/services/blocks.ts +3 -2
- package/src/services/bookmarks.ts +9 -5
- package/src/services/bots.ts +3 -2
- package/src/services/calls.ts +13 -7
- package/src/services/canvases.ts +16 -9
- package/src/services/chat.ts +27 -14
- package/src/services/conversations.ts +62 -34
- package/src/services/dialog.ts +3 -2
- package/src/services/dnd.ts +11 -6
- package/src/services/emoji.ts +3 -2
- package/src/services/entity.ts +7 -4
- package/src/services/files.ts +32 -17
- package/src/services/functions.ts +17 -9
- package/src/services/lists.ts +25 -13
- package/src/services/migration.ts +3 -2
- package/src/services/oauth.ts +23 -17
- package/src/services/openid.ts +8 -6
- package/src/services/pins.ts +7 -4
- package/src/services/reactions.ts +9 -5
- package/src/services/reminders.ts +11 -6
- package/src/services/rtm.ts +5 -3
- package/src/services/search.ts +7 -4
- package/src/services/slackbot.ts +17 -10
- package/src/services/stars.ts +7 -4
- package/src/services/team.ts +20 -11
- package/src/services/tooling.ts +5 -4
- package/src/services/usergroups.ts +15 -8
- package/src/services/users.ts +136 -17
- package/src/services/views.ts +9 -5
- package/src/services/workflows.ts +21 -13
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
package/src/services/views.ts
CHANGED
|
@@ -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 {
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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 {
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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. - `
|
|
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: [
|
|
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";
|
package/lib/index.lazy.js.map
DELETED
|
@@ -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"}
|