@distilled.cloud/slack 1.0.0-rc.20 → 1.0.0-rc.22
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 +268 -87
- 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 +54 -28
- 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 +69 -9
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +36 -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 +299 -7
- 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 +2 -2
- 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 +1527 -955
- package/src/services/agents.ts +110 -50
- package/src/services/api.ts +3 -2
- package/src/services/apps.ts +307 -136
- 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 +700 -74
- 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/stars.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 { slackPaginate } from "../pagination.ts";
|
|
7
7
|
import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
@@ -132,7 +132,8 @@ export const addStar: API.OperationMethod<
|
|
|
132
132
|
> = /*@__PURE__*/ API.make(() => ({
|
|
133
133
|
input: __S(0, __c0, 0) as any as S.Schema<AddStarRequest>,
|
|
134
134
|
output: __S(8, __c1, 0) as any as S.Schema<AddStarResponse>,
|
|
135
|
-
errors: [
|
|
135
|
+
errors: [],
|
|
136
|
+
serviceErrors: SlackServiceErrors,
|
|
136
137
|
protocol: SlackProtocol,
|
|
137
138
|
retry: Retry.Retry,
|
|
138
139
|
telemetry: TELEMETRY,
|
|
@@ -151,7 +152,8 @@ export const listStars: API.PaginatedOperationMethod<
|
|
|
151
152
|
() => ({
|
|
152
153
|
input: __S(16, __c2, 0) as any as S.Schema<ListStarsRequest>,
|
|
153
154
|
output: __S(20, __c2, 4) as any as S.Schema<ListStarsResponse>,
|
|
154
|
-
errors: [
|
|
155
|
+
errors: [],
|
|
156
|
+
serviceErrors: SlackServiceErrors,
|
|
155
157
|
protocol: SlackProtocol,
|
|
156
158
|
retry: Retry.Retry,
|
|
157
159
|
telemetry: TELEMETRY,
|
|
@@ -177,7 +179,8 @@ export const removeStar: API.OperationMethod<
|
|
|
177
179
|
> = /*@__PURE__*/ API.make(() => ({
|
|
178
180
|
input: __S(24, __c3, 0) as any as S.Schema<RemoveStarRequest>,
|
|
179
181
|
output: __S(8, __c1, 0) as any as S.Schema<RemoveStarResponse>,
|
|
180
|
-
errors: [
|
|
182
|
+
errors: [],
|
|
183
|
+
serviceErrors: SlackServiceErrors,
|
|
181
184
|
protocol: SlackProtocol,
|
|
182
185
|
retry: Retry.Retry,
|
|
183
186
|
telemetry: TELEMETRY,
|
package/src/services/team.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 { slackPaginate } from "../pagination.ts";
|
|
7
7
|
import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
@@ -183,7 +183,7 @@ export interface ListExternalTeamsRequest {
|
|
|
183
183
|
sort_field?: ListExternalTeamsRequestSortField | (string & {}) | undefined;
|
|
184
184
|
/** Direction to sort in asc or desc */
|
|
185
185
|
sort_direction?: ListExternalTeamsRequestSortDirection | (string & {}) | undefined;
|
|
186
|
-
/** Filters connected orgs by Slack Connect pref override(s). Value can be: `approved_orgs_only` `allow_sc_file_uploads` `profile_visibility` `away_team_sc_invite_permissions` `accept_sc_invites` `sc_mpdm_to_private` `
|
|
186
|
+
/** Filters connected orgs by Slack Connect pref override(s). Value can be: `approved_orgs_only` `allow_sc_file_uploads` `profile_visibility` `away_team_sc_invite_permissions` `accept_sc_invites` `sc_mpdm_to_private` `external_awareness_context_bar` */
|
|
187
187
|
slack_connect_pref_filter?: ListExternalTeamsRequestSlackConnectPrefFilterList | undefined;
|
|
188
188
|
/** Shows connected orgs which are connected on a specified encoded workspace ID */
|
|
189
189
|
workspace_filter?: ListExternalTeamsRequestWorkspaceFilterList | undefined;
|
|
@@ -295,7 +295,8 @@ export const accessLogs: API.PaginatedOperationMethod<
|
|
|
295
295
|
() => ({
|
|
296
296
|
input: __S(1, __c0, 1) as any as S.Schema<AccessLogsRequest>,
|
|
297
297
|
output: __S(5, __c0, 5) as any as S.Schema<AccessLogsResponse>,
|
|
298
|
-
errors: [
|
|
298
|
+
errors: [],
|
|
299
|
+
serviceErrors: SlackServiceErrors,
|
|
299
300
|
protocol: SlackProtocol,
|
|
300
301
|
retry: Retry.Retry,
|
|
301
302
|
telemetry: TELEMETRY,
|
|
@@ -321,7 +322,8 @@ export const billableInfo: API.OperationMethod<
|
|
|
321
322
|
> = /*@__PURE__*/ API.make(() => ({
|
|
322
323
|
input: __S(32, __c2, 0) as any as S.Schema<BillableInfoRequest>,
|
|
323
324
|
output: __S(33, __c2, 1) as any as S.Schema<BillableInfoResponse>,
|
|
324
|
-
errors: [
|
|
325
|
+
errors: [],
|
|
326
|
+
serviceErrors: SlackServiceErrors,
|
|
325
327
|
protocol: SlackProtocol,
|
|
326
328
|
retry: Retry.Retry,
|
|
327
329
|
telemetry: TELEMETRY,
|
|
@@ -338,7 +340,8 @@ export const billingInfo: API.OperationMethod<
|
|
|
338
340
|
> = /*@__PURE__*/ API.make(() => ({
|
|
339
341
|
input: __S(64, __c4, 0) as any as S.Schema<BillingInfoRequest>,
|
|
340
342
|
output: __S(65, __c4, 1) as any as S.Schema<BillingInfoResponse>,
|
|
341
|
-
errors: [
|
|
343
|
+
errors: [],
|
|
344
|
+
serviceErrors: SlackServiceErrors,
|
|
342
345
|
protocol: SlackProtocol,
|
|
343
346
|
retry: Retry.Retry,
|
|
344
347
|
telemetry: TELEMETRY,
|
|
@@ -355,7 +358,8 @@ export const disconnectExternalTeam: API.OperationMethod<
|
|
|
355
358
|
> = /*@__PURE__*/ API.make(() => ({
|
|
356
359
|
input: __S(80, __c5, 0) as any as S.Schema<DisconnectExternalTeamRequest>,
|
|
357
360
|
output: __S(81, __c5, 1) as any as S.Schema<DisconnectExternalTeamResponse>,
|
|
358
|
-
errors: [
|
|
361
|
+
errors: [],
|
|
362
|
+
serviceErrors: SlackServiceErrors,
|
|
359
363
|
protocol: SlackProtocol,
|
|
360
364
|
retry: Retry.Retry,
|
|
361
365
|
telemetry: TELEMETRY,
|
|
@@ -372,7 +376,8 @@ export const getProfile: API.OperationMethod<
|
|
|
372
376
|
> = /*@__PURE__*/ API.make(() => ({
|
|
373
377
|
input: __S(96, __c6, 0) as any as S.Schema<GetProfileRequest>,
|
|
374
378
|
output: __S(99, __c6, 3) as any as S.Schema<GetProfileResponse>,
|
|
375
|
-
errors: [
|
|
379
|
+
errors: [],
|
|
380
|
+
serviceErrors: SlackServiceErrors,
|
|
376
381
|
protocol: SlackProtocol,
|
|
377
382
|
retry: Retry.Retry,
|
|
378
383
|
telemetry: TELEMETRY,
|
|
@@ -389,7 +394,8 @@ export const integrationLogs: API.OperationMethod<
|
|
|
389
394
|
> = /*@__PURE__*/ API.make(() => ({
|
|
390
395
|
input: __S(112, __c7, 0) as any as S.Schema<IntegrationLogsRequest>,
|
|
391
396
|
output: __S(114, __c7, 2) as any as S.Schema<IntegrationLogsResponse>,
|
|
392
|
-
errors: [
|
|
397
|
+
errors: [],
|
|
398
|
+
serviceErrors: SlackServiceErrors,
|
|
393
399
|
protocol: SlackProtocol,
|
|
394
400
|
retry: Retry.Retry,
|
|
395
401
|
telemetry: TELEMETRY,
|
|
@@ -408,7 +414,8 @@ export const listExternalTeams: API.PaginatedOperationMethod<
|
|
|
408
414
|
() => ({
|
|
409
415
|
input: __S(130, __c8, 2) as any as S.Schema<ListExternalTeamsRequest>,
|
|
410
416
|
output: __S(138, __c8, 10) as any as S.Schema<ListExternalTeamsResponse>,
|
|
411
|
-
errors: [
|
|
417
|
+
errors: [],
|
|
418
|
+
serviceErrors: SlackServiceErrors,
|
|
412
419
|
protocol: SlackProtocol,
|
|
413
420
|
retry: Retry.Retry,
|
|
414
421
|
telemetry: TELEMETRY,
|
|
@@ -434,7 +441,8 @@ export const listPreferences: API.OperationMethod<
|
|
|
434
441
|
> = /*@__PURE__*/ API.make(() => ({
|
|
435
442
|
input: __S(144, __c9, 0) as any as S.Schema<ListPreferencesRequest>,
|
|
436
443
|
output: __S(145, __c9, 1) as any as S.Schema<ListPreferencesResponse>,
|
|
437
|
-
errors: [
|
|
444
|
+
errors: [],
|
|
445
|
+
serviceErrors: SlackServiceErrors,
|
|
438
446
|
protocol: SlackProtocol,
|
|
439
447
|
retry: Retry.Retry,
|
|
440
448
|
telemetry: TELEMETRY,
|
|
@@ -451,7 +459,8 @@ export const teamInfo: API.OperationMethod<
|
|
|
451
459
|
> = /*@__PURE__*/ API.make(() => ({
|
|
452
460
|
input: __S(160, __c10, 0) as any as S.Schema<TeamInfoRequest>,
|
|
453
461
|
output: __S(161, __c10, 1) as any as S.Schema<TeamInfoResponse>,
|
|
454
|
-
errors: [
|
|
462
|
+
errors: [],
|
|
463
|
+
serviceErrors: SlackServiceErrors,
|
|
455
464
|
protocol: SlackProtocol,
|
|
456
465
|
retry: Retry.Retry,
|
|
457
466
|
telemetry: TELEMETRY,
|
package/src/services/tooling.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as API from "@distilled.cloud/core/api";
|
|
|
3
3
|
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
4
|
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
5
|
import type * as Redacted from "effect/Redacted";
|
|
6
|
-
import {
|
|
6
|
+
import { SlackServiceErrors } from "../errors.ts";
|
|
7
7
|
import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
9
9
|
import * as T from "../traits.ts";
|
|
@@ -33,7 +33,7 @@ export interface RotateTokenResponse {
|
|
|
33
33
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
34
34
|
ok: boolean;
|
|
35
35
|
/** The app configuration token used to access App Manifest APIs */
|
|
36
|
-
token: string
|
|
36
|
+
token: string | Redacted.Redacted<string>;
|
|
37
37
|
/** Refresh token for this credential */
|
|
38
38
|
refresh_token: string | Redacted.Redacted<string>;
|
|
39
39
|
/** ID of the team associated with the access token. */
|
|
@@ -55,7 +55,8 @@ export const rotateToken: API.OperationMethod<
|
|
|
55
55
|
> = /*@__PURE__*/ API.make(() => ({
|
|
56
56
|
input: __S(0, __c0, 0) as any as S.Schema<RotateTokenRequest>,
|
|
57
57
|
output: __S(1, __c0, 1) as any as S.Schema<RotateTokenResponse>,
|
|
58
|
-
errors: [
|
|
58
|
+
errors: [],
|
|
59
|
+
serviceErrors: SlackServiceErrors,
|
|
59
60
|
protocol: SlackProtocol,
|
|
60
61
|
retry: Retry.Retry,
|
|
61
62
|
telemetry: TELEMETRY,
|
|
@@ -82,7 +83,7 @@ function __c0(j: number): any {
|
|
|
82
83
|
return S.suspend(() =>
|
|
83
84
|
S.Struct({
|
|
84
85
|
ok: S.Boolean,
|
|
85
|
-
token: S.String,
|
|
86
|
+
token: S.String.pipe(T.SensitiveValue({})),
|
|
86
87
|
refresh_token: S.String.pipe(T.SensitiveValue({})),
|
|
87
88
|
team_id: S.String,
|
|
88
89
|
user_id: S.String,
|
|
@@ -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";
|
|
@@ -173,7 +173,8 @@ export const createUsergroup: API.OperationMethod<
|
|
|
173
173
|
> = /*@__PURE__*/ API.make(() => ({
|
|
174
174
|
input: __S(0, __c0, 0) as any as S.Schema<CreateUsergroupRequest>,
|
|
175
175
|
output: __S(2, __c1, 0) as any as S.Schema<CreateUsergroupResponse>,
|
|
176
|
-
errors: [
|
|
176
|
+
errors: [],
|
|
177
|
+
serviceErrors: SlackServiceErrors,
|
|
177
178
|
protocol: SlackProtocol,
|
|
178
179
|
retry: Retry.Retry,
|
|
179
180
|
telemetry: TELEMETRY,
|
|
@@ -190,7 +191,8 @@ export const disableUsergroup: API.OperationMethod<
|
|
|
190
191
|
> = /*@__PURE__*/ API.make(() => ({
|
|
191
192
|
input: __S(6, __c3, 0) as any as S.Schema<DisableUsergroupRequest>,
|
|
192
193
|
output: __S(2, __c1, 0) as any as S.Schema<DisableUsergroupResponse>,
|
|
193
|
-
errors: [
|
|
194
|
+
errors: [],
|
|
195
|
+
serviceErrors: SlackServiceErrors,
|
|
194
196
|
protocol: SlackProtocol,
|
|
195
197
|
retry: Retry.Retry,
|
|
196
198
|
telemetry: TELEMETRY,
|
|
@@ -207,7 +209,8 @@ export const enableUsergroup: API.OperationMethod<
|
|
|
207
209
|
> = /*@__PURE__*/ API.make(() => ({
|
|
208
210
|
input: __S(8, __c4, 0) as any as S.Schema<EnableUsergroupRequest>,
|
|
209
211
|
output: __S(2, __c1, 0) as any as S.Schema<EnableUsergroupResponse>,
|
|
210
|
-
errors: [
|
|
212
|
+
errors: [],
|
|
213
|
+
serviceErrors: SlackServiceErrors,
|
|
211
214
|
protocol: SlackProtocol,
|
|
212
215
|
retry: Retry.Retry,
|
|
213
216
|
telemetry: TELEMETRY,
|
|
@@ -224,7 +227,8 @@ export const listUsergroups: API.OperationMethod<
|
|
|
224
227
|
> = /*@__PURE__*/ API.make(() => ({
|
|
225
228
|
input: __S(10, __c5, 0) as any as S.Schema<ListUsergroupsRequest>,
|
|
226
229
|
output: __S(11, __c5, 1) as any as S.Schema<ListUsergroupsResponse>,
|
|
227
|
-
errors: [
|
|
230
|
+
errors: [],
|
|
231
|
+
serviceErrors: SlackServiceErrors,
|
|
228
232
|
protocol: SlackProtocol,
|
|
229
233
|
retry: Retry.Retry,
|
|
230
234
|
telemetry: TELEMETRY,
|
|
@@ -241,7 +245,8 @@ export const listUsers: API.OperationMethod<
|
|
|
241
245
|
> = /*@__PURE__*/ API.make(() => ({
|
|
242
246
|
input: __S(14, __c7, 0) as any as S.Schema<ListUsersRequest>,
|
|
243
247
|
output: __S(15, __c7, 1) as any as S.Schema<ListUsersResponse>,
|
|
244
|
-
errors: [
|
|
248
|
+
errors: [],
|
|
249
|
+
serviceErrors: SlackServiceErrors,
|
|
245
250
|
protocol: SlackProtocol,
|
|
246
251
|
retry: Retry.Retry,
|
|
247
252
|
telemetry: TELEMETRY,
|
|
@@ -258,7 +263,8 @@ export const updateUser: API.OperationMethod<
|
|
|
258
263
|
> = /*@__PURE__*/ API.make(() => ({
|
|
259
264
|
input: __S(16, __c8, 0) as any as S.Schema<UpdateUserRequest>,
|
|
260
265
|
output: __S(2, __c1, 0) as any as S.Schema<UpdateUserResponse>,
|
|
261
|
-
errors: [
|
|
266
|
+
errors: [],
|
|
267
|
+
serviceErrors: SlackServiceErrors,
|
|
262
268
|
protocol: SlackProtocol,
|
|
263
269
|
retry: Retry.Retry,
|
|
264
270
|
telemetry: TELEMETRY,
|
|
@@ -275,7 +281,8 @@ export const updateUsergroup: API.OperationMethod<
|
|
|
275
281
|
> = /*@__PURE__*/ API.make(() => ({
|
|
276
282
|
input: __S(18, __c9, 0) as any as S.Schema<UpdateUsergroupRequest>,
|
|
277
283
|
output: __S(19, __c9, 1) as any as S.Schema<UpdateUsergroupResponse>,
|
|
278
|
-
errors: [
|
|
284
|
+
errors: [],
|
|
285
|
+
serviceErrors: SlackServiceErrors,
|
|
279
286
|
protocol: SlackProtocol,
|
|
280
287
|
retry: Retry.Retry,
|
|
281
288
|
telemetry: TELEMETRY,
|
package/src/services/users.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 { slackPaginate } from "../pagination.ts";
|
|
7
7
|
import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
8
8
|
import * as Retry from "../retry.ts";
|
|
@@ -50,10 +50,85 @@ export interface GetProfileRequest {
|
|
|
50
50
|
/** User to retrieve profile info for */
|
|
51
51
|
user?: string | undefined;
|
|
52
52
|
}
|
|
53
|
+
export interface GetProfileResponseProfileCase1ProfileStatusEmojiDisplayInfoItem {
|
|
54
|
+
emoji_name: string;
|
|
55
|
+
display_alias?: string | undefined;
|
|
56
|
+
display_url?: string | undefined;
|
|
57
|
+
unicode?: string | undefined;
|
|
58
|
+
}
|
|
59
|
+
export type GetProfileResponseProfileCase1ProfileStatusEmojiDisplayInfoList =
|
|
60
|
+
Array<GetProfileResponseProfileCase1ProfileStatusEmojiDisplayInfoItem>;
|
|
61
|
+
/** The status fields, title and pronouns are set only when the stranger's organization shares extended profiles with the viewer's. */
|
|
62
|
+
export interface GetProfileResponseProfileCase1Profile {
|
|
63
|
+
avatar_hash: string;
|
|
64
|
+
image_original?: string | undefined;
|
|
65
|
+
image_24?: string | undefined;
|
|
66
|
+
image_32?: string | undefined;
|
|
67
|
+
image_48?: string | undefined;
|
|
68
|
+
image_72?: string | undefined;
|
|
69
|
+
image_192?: string | undefined;
|
|
70
|
+
image_512?: string | undefined;
|
|
71
|
+
image_1024?: string | undefined;
|
|
72
|
+
first_name?: string | undefined;
|
|
73
|
+
last_name?: string | undefined;
|
|
74
|
+
/** Set only when the stranger's workspace allows displaying email addresses to external users. */
|
|
75
|
+
email?: string | undefined;
|
|
76
|
+
real_name: string;
|
|
77
|
+
display_name: string;
|
|
78
|
+
real_name_normalized: string;
|
|
79
|
+
display_name_normalized: string;
|
|
80
|
+
team?: string | undefined;
|
|
81
|
+
bot_id?: string | undefined;
|
|
82
|
+
api_app_id?: string | undefined;
|
|
83
|
+
status_text?: string | undefined;
|
|
84
|
+
status_text_canonical?: unknown | undefined;
|
|
85
|
+
status_emoji?: string | undefined;
|
|
86
|
+
status_emoji_display_info?:
|
|
87
|
+
| GetProfileResponseProfileCase1ProfileStatusEmojiDisplayInfoList
|
|
88
|
+
| undefined;
|
|
89
|
+
status_expiration?: number | undefined;
|
|
90
|
+
status_clear_on_focus_end?: boolean | undefined;
|
|
91
|
+
title?: string | undefined;
|
|
92
|
+
pronouns?: string | undefined;
|
|
93
|
+
}
|
|
94
|
+
/** A stranger: a user a guest can't see in full. */
|
|
95
|
+
export interface GetProfileResponseProfileCase1 {
|
|
96
|
+
id: string;
|
|
97
|
+
team_id: string;
|
|
98
|
+
name: string;
|
|
99
|
+
color: string;
|
|
100
|
+
is_bot: boolean;
|
|
101
|
+
is_app_user: boolean;
|
|
102
|
+
/** Set when the user is deactivated or disconnected. */
|
|
103
|
+
deleted?: boolean | undefined;
|
|
104
|
+
/** Set only when the stranger's organization shares extended profiles with the viewer's. */
|
|
105
|
+
tz?: string | undefined;
|
|
106
|
+
/** Set only when the stranger's organization shares extended profiles with the viewer's. */
|
|
107
|
+
tz_label?: string | undefined;
|
|
108
|
+
/** Set only when the stranger's organization shares extended profiles with the viewer's. */
|
|
109
|
+
tz_offset?: number | undefined;
|
|
110
|
+
/** The status fields, title and pronouns are set only when the stranger's organization shares extended profiles with the viewer's. */
|
|
111
|
+
profile: GetProfileResponseProfileCase1Profile;
|
|
112
|
+
is_stranger: boolean;
|
|
113
|
+
updated: number;
|
|
114
|
+
is_workflow_bot?: boolean | undefined;
|
|
115
|
+
is_connector_bot?: boolean | undefined;
|
|
116
|
+
is_agentforce_bot?: boolean | undefined;
|
|
117
|
+
is_sidekick_bot?: boolean | undefined;
|
|
118
|
+
agent_status?: unknown | undefined;
|
|
119
|
+
app_acl_type?: unknown | undefined;
|
|
120
|
+
is_ai_app?: boolean | undefined;
|
|
121
|
+
is_migrated_dummy_quip_user?: boolean | undefined;
|
|
122
|
+
who_can_share_contact_card: string;
|
|
123
|
+
is_profile_only_user?: boolean | undefined;
|
|
124
|
+
}
|
|
125
|
+
/** The user's profile. When a guest looks up a user they can't see in full, this is the stranger's formatted user instead, with a limited profile under `profile`. */
|
|
126
|
+
export type GetProfileResponseProfile = unknown | GetProfileResponseProfileCase1;
|
|
53
127
|
export interface GetProfileResponse {
|
|
54
128
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
55
129
|
ok: boolean;
|
|
56
|
-
profile
|
|
130
|
+
/** The user's profile. When a guest looks up a user they can't see in full, this is the stranger's formatted user instead, with a limited profile under `profile`. */
|
|
131
|
+
profile: GetProfileResponseProfile;
|
|
57
132
|
}
|
|
58
133
|
export interface ListUsersRequest {
|
|
59
134
|
/** 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. */
|
|
@@ -199,7 +274,8 @@ export const deletePhoto: API.OperationMethod<
|
|
|
199
274
|
> = /*@__PURE__*/ API.make(() => ({
|
|
200
275
|
input: __S(0, __c0, 0) as any as S.Schema<DeletePhotoRequest>,
|
|
201
276
|
output: __S(4, __c1, 0) as any as S.Schema<DeletePhotoResponse>,
|
|
202
|
-
errors: [
|
|
277
|
+
errors: [],
|
|
278
|
+
serviceErrors: SlackServiceErrors,
|
|
203
279
|
protocol: SlackProtocol,
|
|
204
280
|
retry: Retry.Retry,
|
|
205
281
|
telemetry: TELEMETRY,
|
|
@@ -216,7 +292,8 @@ export const getPresence: API.OperationMethod<
|
|
|
216
292
|
> = /*@__PURE__*/ API.make(() => ({
|
|
217
293
|
input: __S(8, __c2, 0) as any as S.Schema<GetPresenceRequest>,
|
|
218
294
|
output: __S(9, __c2, 1) as any as S.Schema<GetPresenceResponse>,
|
|
219
|
-
errors: [
|
|
295
|
+
errors: [],
|
|
296
|
+
serviceErrors: SlackServiceErrors,
|
|
220
297
|
protocol: SlackProtocol,
|
|
221
298
|
retry: Retry.Retry,
|
|
222
299
|
telemetry: TELEMETRY,
|
|
@@ -232,8 +309,9 @@ export const getProfile: API.OperationMethod<
|
|
|
232
309
|
SlackOpContext
|
|
233
310
|
> = /*@__PURE__*/ API.make(() => ({
|
|
234
311
|
input: __S(24, __c6, 0) as any as S.Schema<GetProfileRequest>,
|
|
235
|
-
output: __S(
|
|
236
|
-
errors: [
|
|
312
|
+
output: __S(26, __c6, 2) as any as S.Schema<GetProfileResponse>,
|
|
313
|
+
errors: [],
|
|
314
|
+
serviceErrors: SlackServiceErrors,
|
|
237
315
|
protocol: SlackProtocol,
|
|
238
316
|
retry: Retry.Retry,
|
|
239
317
|
telemetry: TELEMETRY,
|
|
@@ -252,7 +330,8 @@ export const listUsers: API.PaginatedOperationMethod<
|
|
|
252
330
|
() => ({
|
|
253
331
|
input: __S(28, __c7, 0) as any as S.Schema<ListUsersRequest>,
|
|
254
332
|
output: __S(29, __c7, 1) as any as S.Schema<ListUsersResponse>,
|
|
255
|
-
errors: [
|
|
333
|
+
errors: [],
|
|
334
|
+
serviceErrors: SlackServiceErrors,
|
|
256
335
|
protocol: SlackProtocol,
|
|
257
336
|
retry: Retry.Retry,
|
|
258
337
|
telemetry: TELEMETRY,
|
|
@@ -278,7 +357,8 @@ export const lookupByEmail: API.OperationMethod<
|
|
|
278
357
|
> = /*@__PURE__*/ API.make(() => ({
|
|
279
358
|
input: __S(40, __c10, 0) as any as S.Schema<LookupByEmailRequest>,
|
|
280
359
|
output: __S(41, __c10, 1) as any as S.Schema<LookupByEmailResponse>,
|
|
281
|
-
errors: [
|
|
360
|
+
errors: [],
|
|
361
|
+
serviceErrors: SlackServiceErrors,
|
|
282
362
|
protocol: SlackProtocol,
|
|
283
363
|
retry: Retry.Retry,
|
|
284
364
|
telemetry: TELEMETRY,
|
|
@@ -295,7 +375,8 @@ export const lookupDiscoverableContact: API.OperationMethod<
|
|
|
295
375
|
> = /*@__PURE__*/ API.make(() => ({
|
|
296
376
|
input: __S(44, __c11, 0) as any as S.Schema<LookupDiscoverableContactRequest>,
|
|
297
377
|
output: __S(45, __c11, 1) as any as S.Schema<LookupDiscoverableContactResponse>,
|
|
298
|
-
errors: [
|
|
378
|
+
errors: [],
|
|
379
|
+
serviceErrors: SlackServiceErrors,
|
|
299
380
|
protocol: SlackProtocol,
|
|
300
381
|
retry: Retry.Retry,
|
|
301
382
|
telemetry: TELEMETRY,
|
|
@@ -312,7 +393,8 @@ export const setActive: API.OperationMethod<
|
|
|
312
393
|
> = /*@__PURE__*/ API.make(() => ({
|
|
313
394
|
input: __S(48, __c12, 0) as any as S.Schema<SetActiveRequest>,
|
|
314
395
|
output: __S(4, __c1, 0) as any as S.Schema<SetActiveResponse>,
|
|
315
|
-
errors: [
|
|
396
|
+
errors: [],
|
|
397
|
+
serviceErrors: SlackServiceErrors,
|
|
316
398
|
protocol: SlackProtocol,
|
|
317
399
|
retry: Retry.Retry,
|
|
318
400
|
telemetry: TELEMETRY,
|
|
@@ -329,7 +411,8 @@ export const setPhoto: API.OperationMethod<
|
|
|
329
411
|
> = /*@__PURE__*/ API.make(() => ({
|
|
330
412
|
input: __S(52, __c13, 0) as any as S.Schema<SetPhotoRequest>,
|
|
331
413
|
output: __S(54, __c13, 2) as any as S.Schema<SetPhotoResponse>,
|
|
332
|
-
errors: [
|
|
414
|
+
errors: [],
|
|
415
|
+
serviceErrors: SlackServiceErrors,
|
|
333
416
|
protocol: SlackProtocol,
|
|
334
417
|
retry: Retry.Retry,
|
|
335
418
|
telemetry: TELEMETRY,
|
|
@@ -346,7 +429,8 @@ export const setPresence: API.OperationMethod<
|
|
|
346
429
|
> = /*@__PURE__*/ API.make(() => ({
|
|
347
430
|
input: __S(56, __c14, 0) as any as S.Schema<SetPresenceRequest>,
|
|
348
431
|
output: __S(4, __c1, 0) as any as S.Schema<SetPresenceResponse>,
|
|
349
|
-
errors: [
|
|
432
|
+
errors: [],
|
|
433
|
+
serviceErrors: SlackServiceErrors,
|
|
350
434
|
protocol: SlackProtocol,
|
|
351
435
|
retry: Retry.Retry,
|
|
352
436
|
telemetry: TELEMETRY,
|
|
@@ -363,7 +447,8 @@ export const setProfile: API.OperationMethod<
|
|
|
363
447
|
> = /*@__PURE__*/ API.make(() => ({
|
|
364
448
|
input: __S(60, __c15, 0) as any as S.Schema<SetProfileRequest>,
|
|
365
449
|
output: __S(61, __c15, 1) as any as S.Schema<SetProfileResponse>,
|
|
366
|
-
errors: [
|
|
450
|
+
errors: [],
|
|
451
|
+
serviceErrors: SlackServiceErrors,
|
|
367
452
|
protocol: SlackProtocol,
|
|
368
453
|
retry: Retry.Retry,
|
|
369
454
|
telemetry: TELEMETRY,
|
|
@@ -382,7 +467,8 @@ export const usersConversations: API.PaginatedOperationMethod<
|
|
|
382
467
|
() => ({
|
|
383
468
|
input: __S(12, __c3, 0) as any as S.Schema<UsersConversationsRequest>,
|
|
384
469
|
output: __S(13, __c3, 1) as any as S.Schema<UsersConversationsResponse>,
|
|
385
|
-
errors: [
|
|
470
|
+
errors: [],
|
|
471
|
+
serviceErrors: SlackServiceErrors,
|
|
386
472
|
protocol: SlackProtocol,
|
|
387
473
|
retry: Retry.Retry,
|
|
388
474
|
telemetry: TELEMETRY,
|
|
@@ -408,7 +494,8 @@ export const usersIdentity: API.OperationMethod<
|
|
|
408
494
|
> = /*@__PURE__*/ API.make(() => ({
|
|
409
495
|
input: __S(16, __c4, 0) as any as S.Schema<UsersIdentityRequest>,
|
|
410
496
|
output: __S(4, __c1, 0) as any as S.Schema<UsersIdentityResponse>,
|
|
411
|
-
errors: [
|
|
497
|
+
errors: [],
|
|
498
|
+
serviceErrors: SlackServiceErrors,
|
|
412
499
|
protocol: SlackProtocol,
|
|
413
500
|
retry: Retry.Retry,
|
|
414
501
|
telemetry: TELEMETRY,
|
|
@@ -425,7 +512,8 @@ export const usersInfo: API.OperationMethod<
|
|
|
425
512
|
> = /*@__PURE__*/ API.make(() => ({
|
|
426
513
|
input: __S(20, __c5, 0) as any as S.Schema<UsersInfoRequest>,
|
|
427
514
|
output: __S(21, __c5, 1) as any as S.Schema<UsersInfoResponse>,
|
|
428
|
-
errors: [
|
|
515
|
+
errors: [],
|
|
516
|
+
serviceErrors: SlackServiceErrors,
|
|
429
517
|
protocol: SlackProtocol,
|
|
430
518
|
retry: Retry.Retry,
|
|
431
519
|
telemetry: TELEMETRY,
|
|
@@ -534,10 +622,41 @@ function __c6(j: number): any {
|
|
|
534
622
|
}).pipe(T.Http({ method: "GET", uri: "/users.profile.get", code: 200 })),
|
|
535
623
|
).annotate({ identifier: "GetProfileRequest" });
|
|
536
624
|
case 1:
|
|
625
|
+
return S.Unknown.pipe(
|
|
626
|
+
/*@__PURE__*/ T.UnionCases([
|
|
627
|
+
[],
|
|
628
|
+
[
|
|
629
|
+
"id",
|
|
630
|
+
"team_id",
|
|
631
|
+
"name",
|
|
632
|
+
"color",
|
|
633
|
+
"is_bot",
|
|
634
|
+
"is_app_user",
|
|
635
|
+
"deleted",
|
|
636
|
+
"tz",
|
|
637
|
+
"tz_label",
|
|
638
|
+
"tz_offset",
|
|
639
|
+
"profile",
|
|
640
|
+
"is_stranger",
|
|
641
|
+
"updated",
|
|
642
|
+
"is_workflow_bot",
|
|
643
|
+
"is_connector_bot",
|
|
644
|
+
"is_agentforce_bot",
|
|
645
|
+
"is_sidekick_bot",
|
|
646
|
+
"agent_status",
|
|
647
|
+
"app_acl_type",
|
|
648
|
+
"is_ai_app",
|
|
649
|
+
"is_migrated_dummy_quip_user",
|
|
650
|
+
"who_can_share_contact_card",
|
|
651
|
+
"is_profile_only_user",
|
|
652
|
+
],
|
|
653
|
+
]),
|
|
654
|
+
);
|
|
655
|
+
case 2:
|
|
537
656
|
return S.suspend(() =>
|
|
538
657
|
S.Struct({
|
|
539
658
|
ok: S.Boolean,
|
|
540
|
-
profile:
|
|
659
|
+
profile: __S(25, __c6, 1),
|
|
541
660
|
}),
|
|
542
661
|
).annotate({ identifier: "GetProfileResponse" });
|
|
543
662
|
}
|
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,
|