@distilled.cloud/slack 0.0.0 → 1.0.0-rc.11
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/LICENSE +201 -0
- package/lib/credentials.d.ts +27 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +53 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +83 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +59 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +17 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +17 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +31 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +31 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +230 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +52 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +45 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/admin.d.ts +2796 -0
- package/lib/services/admin.d.ts.map +1 -0
- package/lib/services/admin.js +3217 -0
- package/lib/services/admin.js.map +1 -0
- package/lib/services/api.d.ts +23 -0
- package/lib/services/api.d.ts.map +1 -0
- package/lib/services/api.js +26 -0
- package/lib/services/api.js.map +1 -0
- package/lib/services/apps.d.ts +568 -0
- package/lib/services/apps.d.ts.map +1 -0
- package/lib/services/apps.js +584 -0
- package/lib/services/apps.js.map +1 -0
- package/lib/services/assistant.d.ts +290 -0
- package/lib/services/assistant.d.ts.map +1 -0
- package/lib/services/assistant.js +232 -0
- package/lib/services/assistant.js.map +1 -0
- package/lib/services/auth.d.ts +90 -0
- package/lib/services/auth.d.ts.map +1 -0
- package/lib/services/auth.js +114 -0
- package/lib/services/auth.js.map +1 -0
- package/lib/services/blocks.d.ts +31 -0
- package/lib/services/blocks.d.ts.map +1 -0
- package/lib/services/blocks.js +31 -0
- package/lib/services/blocks.js.map +1 -0
- package/lib/services/bookmarks.d.ts +91 -0
- package/lib/services/bookmarks.d.ts.map +1 -0
- package/lib/services/bookmarks.js +98 -0
- package/lib/services/bookmarks.js.map +1 -0
- package/lib/services/bots.d.ts +60 -0
- package/lib/services/bots.d.ts.map +1 -0
- package/lib/services/bots.js +68 -0
- package/lib/services/bots.js.map +1 -0
- package/lib/services/calls.d.ts +124 -0
- package/lib/services/calls.d.ts.map +1 -0
- package/lib/services/calls.js +136 -0
- package/lib/services/calls.js.map +1 -0
- package/lib/services/canvases.d.ts +152 -0
- package/lib/services/canvases.d.ts.map +1 -0
- package/lib/services/canvases.js +152 -0
- package/lib/services/canvases.js.map +1 -0
- package/lib/services/chat.d.ts +525 -0
- package/lib/services/chat.d.ts.map +1 -0
- package/lib/services/chat.js +436 -0
- package/lib/services/chat.js.map +1 -0
- package/lib/services/conversations.d.ts +642 -0
- package/lib/services/conversations.d.ts.map +1 -0
- package/lib/services/conversations.js +769 -0
- package/lib/services/conversations.js.map +1 -0
- package/lib/services/dialog.d.ts +20 -0
- package/lib/services/dialog.d.ts.map +1 -0
- package/lib/services/dialog.js +27 -0
- package/lib/services/dialog.js.map +1 -0
- package/lib/services/dnd.d.ts +94 -0
- package/lib/services/dnd.d.ts.map +1 -0
- package/lib/services/dnd.js +111 -0
- package/lib/services/dnd.js.map +1 -0
- package/lib/services/emoji.d.ts +35 -0
- package/lib/services/emoji.d.ts.map +1 -0
- package/lib/services/emoji.js +40 -0
- package/lib/services/emoji.js.map +1 -0
- package/lib/services/entity.d.ts +93 -0
- package/lib/services/entity.d.ts.map +1 -0
- package/lib/services/entity.js +89 -0
- package/lib/services/entity.js.map +1 -0
- package/lib/services/files.d.ts +473 -0
- package/lib/services/files.d.ts.map +1 -0
- package/lib/services/files.js +510 -0
- package/lib/services/files.js.map +1 -0
- package/lib/services/functions.d.ts +235 -0
- package/lib/services/functions.d.ts.map +1 -0
- package/lib/services/functions.js +256 -0
- package/lib/services/functions.js.map +1 -0
- package/lib/services/index.d.ts +35 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +36 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/lists.d.ts +300 -0
- package/lib/services/lists.d.ts.map +1 -0
- package/lib/services/lists.js +366 -0
- package/lib/services/lists.js.map +1 -0
- package/lib/services/migration.d.ts +34 -0
- package/lib/services/migration.d.ts.map +1 -0
- package/lib/services/migration.js +36 -0
- package/lib/services/migration.js.map +1 -0
- package/lib/services/oauth.d.ts +307 -0
- package/lib/services/oauth.d.ts.map +1 -0
- package/lib/services/oauth.js +278 -0
- package/lib/services/oauth.js.map +1 -0
- package/lib/services/openid.d.ts +86 -0
- package/lib/services/openid.d.ts.map +1 -0
- package/lib/services/openid.js +93 -0
- package/lib/services/openid.js.map +1 -0
- package/lib/services/pins.d.ts +64 -0
- package/lib/services/pins.d.ts.map +1 -0
- package/lib/services/pins.js +75 -0
- package/lib/services/pins.js.map +1 -0
- package/lib/services/reactions.d.ts +108 -0
- package/lib/services/reactions.d.ts.map +1 -0
- package/lib/services/reactions.js +119 -0
- package/lib/services/reactions.js.map +1 -0
- package/lib/services/reminders.d.ts +89 -0
- package/lib/services/reminders.d.ts.map +1 -0
- package/lib/services/reminders.js +109 -0
- package/lib/services/reminders.js.map +1 -0
- package/lib/services/rtm.d.ts +68 -0
- package/lib/services/rtm.d.ts.map +1 -0
- package/lib/services/rtm.js +74 -0
- package/lib/services/rtm.js.map +1 -0
- package/lib/services/search.d.ts +239 -0
- package/lib/services/search.d.ts.map +1 -0
- package/lib/services/search.js +190 -0
- package/lib/services/search.js.map +1 -0
- package/lib/services/stars.d.ts +126 -0
- package/lib/services/stars.d.ts.map +1 -0
- package/lib/services/stars.js +145 -0
- package/lib/services/stars.js.map +1 -0
- package/lib/services/team.d.ts +309 -0
- package/lib/services/team.d.ts.map +1 -0
- package/lib/services/team.js +333 -0
- package/lib/services/team.js.map +1 -0
- package/lib/services/tooling.d.ts +31 -0
- package/lib/services/tooling.d.ts.map +1 -0
- package/lib/services/tooling.js +38 -0
- package/lib/services/tooling.js.map +1 -0
- package/lib/services/usergroups.d.ts +183 -0
- package/lib/services/usergroups.d.ts.map +1 -0
- package/lib/services/usergroups.js +180 -0
- package/lib/services/usergroups.js.map +1 -0
- package/lib/services/users.d.ts +246 -0
- package/lib/services/users.d.ts.map +1 -0
- package/lib/services/users.js +309 -0
- package/lib/services/users.js.map +1 -0
- package/lib/services/views.d.ts +84 -0
- package/lib/services/views.d.ts.map +1 -0
- package/lib/services/views.js +95 -0
- package/lib/services/views.js.map +1 -0
- package/lib/services/workflows.d.ts +231 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +238 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +12 -0
- package/lib/traits.js.map +1 -0
- package/package.json +82 -4
- package/src/credentials.ts +86 -0
- package/src/errors.ts +101 -0
- package/src/index.ts +20 -0
- package/src/pagination.ts +35 -0
- package/src/protocol.ts +326 -0
- package/src/retry.ts +76 -0
- package/src/services/admin.ts +7722 -0
- package/src/services/api.ts +58 -0
- package/src/services/apps.ts +1441 -0
- package/src/services/assistant.ts +639 -0
- package/src/services/auth.ts +241 -0
- package/src/services/blocks.ts +80 -0
- package/src/services/bookmarks.ts +223 -0
- package/src/services/bots.ts +144 -0
- package/src/services/calls.ts +318 -0
- package/src/services/canvases.ts +392 -0
- package/src/services/chat.ts +1191 -0
- package/src/services/conversations.ts +1754 -0
- package/src/services/dialog.ts +55 -0
- package/src/services/dnd.ts +246 -0
- package/src/services/emoji.ts +91 -0
- package/src/services/entity.ts +225 -0
- package/src/services/files.ts +1192 -0
- package/src/services/functions.ts +642 -0
- package/src/services/index.ts +35 -0
- package/src/services/lists.ts +832 -0
- package/src/services/migration.ts +85 -0
- package/src/services/oauth.ts +658 -0
- package/src/services/openid.ts +243 -0
- package/src/services/pins.ts +167 -0
- package/src/services/reactions.ts +272 -0
- package/src/services/reminders.ts +240 -0
- package/src/services/rtm.ts +162 -0
- package/src/services/search.ts +507 -0
- package/src/services/stars.ts +323 -0
- package/src/services/team.ts +834 -0
- package/src/services/tooling.ts +78 -0
- package/src/services/usergroups.ts +441 -0
- package/src/services/users.ts +685 -0
- package/src/services/views.ts +212 -0
- package/src/services/workflows.ts +605 -0
- package/src/traits.ts +45 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/services/apps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,gBAAgB,CAAC;AAKxB,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE7C,iCAAiC;AACjC,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AACrD,eAAO,MAAM,wBAAwB,EAEzB,CAAC,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,GAAG,EAAE,wBAAwB,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,eAAO,MAAM,iBAAiB,EAUjB,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAEzC,0EAA0E;AAC1E,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC9D,eAAO,MAAM,iCAAiC,EAElC,CAAC,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAAC;AAExD,MAAM,WAAW,kBAAkB;IACjC,kEAAk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eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC;AACjD,s+BAAs+B;AACt+B,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,eAAe,CAChD,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,CAOb,CAAC"}
|
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as T from "../traits.js";
|
|
6
|
+
import { SlackProtocol, } from "../protocol.js";
|
|
7
|
+
import { slackPaginate } from "../pagination.js";
|
|
8
|
+
import { SlackError, SlackRateLimited } from "../errors.js";
|
|
9
|
+
import * as Retry from "../retry.js";
|
|
10
|
+
export const BulkDeleteRequestIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
11
|
+
export const BulkDeleteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
12
|
+
datastore: S.String,
|
|
13
|
+
ids: BulkDeleteRequestIdsList,
|
|
14
|
+
app_id: S.optional(S.String),
|
|
15
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.bulkDelete", code: 200 }))).annotate({
|
|
16
|
+
identifier: "BulkDeleteRequest",
|
|
17
|
+
});
|
|
18
|
+
export const BulkDeleteResponseFailedItemsList = /*@__PURE__*/ S.Array(S.String);
|
|
19
|
+
export const BulkDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
20
|
+
ok: S.Boolean,
|
|
21
|
+
failed_items: S.optional(BulkDeleteResponseFailedItemsList),
|
|
22
|
+
})).annotate({
|
|
23
|
+
identifier: "BulkDeleteResponse",
|
|
24
|
+
});
|
|
25
|
+
export const BulkGetRequestIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
26
|
+
export const BulkGetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
+
datastore: S.String,
|
|
28
|
+
ids: BulkGetRequestIdsList,
|
|
29
|
+
app_id: S.optional(S.String),
|
|
30
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.bulkGet", code: 200 }))).annotate({ identifier: "BulkGetRequest" });
|
|
31
|
+
export const BulkGetResponseItemsItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
32
|
+
export const BulkGetResponseItemsList = /*@__PURE__*/ S.Array(BulkGetResponseItemsItemMap);
|
|
33
|
+
export const BulkGetResponseFailedItemsList = /*@__PURE__*/ S.Array(S.String);
|
|
34
|
+
export const BulkGetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
|
+
ok: S.Boolean,
|
|
36
|
+
items: S.optional(BulkGetResponseItemsList),
|
|
37
|
+
failed_items: S.optional(BulkGetResponseFailedItemsList),
|
|
38
|
+
})).annotate({
|
|
39
|
+
identifier: "BulkGetResponse",
|
|
40
|
+
});
|
|
41
|
+
export const BulkPutRequestItemsItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
42
|
+
export const BulkPutRequestItemsList = /*@__PURE__*/ S.Array(BulkPutRequestItemsItemMap);
|
|
43
|
+
export const BulkPutRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
44
|
+
datastore: S.String,
|
|
45
|
+
items: BulkPutRequestItemsList,
|
|
46
|
+
app_id: S.optional(S.String),
|
|
47
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.bulkPut", code: 200 }))).annotate({ identifier: "BulkPutRequest" });
|
|
48
|
+
export const BulkPutResponseFailedItemsItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
49
|
+
export const BulkPutResponseFailedItemsList = /*@__PURE__*/ S.Array(BulkPutResponseFailedItemsItemMap);
|
|
50
|
+
export const BulkPutResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
51
|
+
ok: S.Boolean,
|
|
52
|
+
datastore: S.optional(S.String),
|
|
53
|
+
failed_items: S.optional(BulkPutResponseFailedItemsList),
|
|
54
|
+
})).annotate({
|
|
55
|
+
identifier: "BulkPutResponse",
|
|
56
|
+
});
|
|
57
|
+
export const ConnectionsOpenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "POST", uri: "/apps.connections.open", code: 200 }))).annotate({
|
|
58
|
+
identifier: "ConnectionsOpenRequest",
|
|
59
|
+
});
|
|
60
|
+
export const ConnectionsOpenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
61
|
+
ok: S.Boolean,
|
|
62
|
+
url: S.String,
|
|
63
|
+
})).annotate({
|
|
64
|
+
identifier: "ConnectionsOpenResponse",
|
|
65
|
+
});
|
|
66
|
+
export const CreateManifestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
67
|
+
manifest: S.String,
|
|
68
|
+
team_id: S.optional(S.String),
|
|
69
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.manifest.create", code: 200 }))).annotate({
|
|
70
|
+
identifier: "CreateManifestRequest",
|
|
71
|
+
});
|
|
72
|
+
export const CreateManifestResponseCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
73
|
+
client_id: S.optional(S.String),
|
|
74
|
+
client_secret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
75
|
+
verification_token: S.optional(S.String),
|
|
76
|
+
signing_secret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
77
|
+
})).annotate({
|
|
78
|
+
identifier: "CreateManifestResponseCredentials",
|
|
79
|
+
});
|
|
80
|
+
export const CreateManifestResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
81
|
+
ok: S.Boolean,
|
|
82
|
+
app_id: S.String,
|
|
83
|
+
credentials: CreateManifestResponseCredentials,
|
|
84
|
+
oauth_authorize_url: S.optional(S.String),
|
|
85
|
+
team_id: S.optional(S.String),
|
|
86
|
+
team_domain: S.optional(S.String),
|
|
87
|
+
app_token: S.optional(S.String),
|
|
88
|
+
})).annotate({
|
|
89
|
+
identifier: "CreateManifestResponse",
|
|
90
|
+
});
|
|
91
|
+
export const DatastoreCountRequestExpressionAttributesMap =
|
|
92
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
93
|
+
export const DatastoreCountRequestExpressionValuesMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
94
|
+
export const DatastoreCountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
95
|
+
datastore: S.String,
|
|
96
|
+
expression: S.optional(S.String),
|
|
97
|
+
expression_attributes: S.optional(DatastoreCountRequestExpressionAttributesMap),
|
|
98
|
+
expression_values: S.optional(DatastoreCountRequestExpressionValuesMap),
|
|
99
|
+
app_id: S.optional(S.String),
|
|
100
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.count", code: 200 }))).annotate({
|
|
101
|
+
identifier: "DatastoreCountRequest",
|
|
102
|
+
});
|
|
103
|
+
export const DatastoreCountResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
104
|
+
ok: S.Boolean,
|
|
105
|
+
datastore: S.optional(S.String),
|
|
106
|
+
count: S.optional(S.Number),
|
|
107
|
+
})).annotate({
|
|
108
|
+
identifier: "DatastoreCountResponse",
|
|
109
|
+
});
|
|
110
|
+
export const DatastoreQueryRequestExpressionAttributesMap =
|
|
111
|
+
/*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
112
|
+
export const DatastoreQueryRequestExpressionValuesMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
113
|
+
export const DatastoreQueryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
114
|
+
datastore: S.String,
|
|
115
|
+
expression: S.optional(S.String),
|
|
116
|
+
expression_attributes: S.optional(DatastoreQueryRequestExpressionAttributesMap),
|
|
117
|
+
expression_values: S.optional(DatastoreQueryRequestExpressionValuesMap),
|
|
118
|
+
app_id: S.optional(S.String),
|
|
119
|
+
cursor: S.optional(S.String),
|
|
120
|
+
limit: S.optional(S.Number),
|
|
121
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.query", code: 200 }))).annotate({
|
|
122
|
+
identifier: "DatastoreQueryRequest",
|
|
123
|
+
});
|
|
124
|
+
export const DatastoreQueryResponseItemsItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
125
|
+
export const DatastoreQueryResponseItemsList = /*@__PURE__*/ S.Array(DatastoreQueryResponseItemsItemMap);
|
|
126
|
+
export const DatastoreQueryResponseResponseMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
127
|
+
next_cursor: S.optional(S.String),
|
|
128
|
+
})).annotate({
|
|
129
|
+
identifier: "DatastoreQueryResponseResponseMetadata",
|
|
130
|
+
});
|
|
131
|
+
export const DatastoreQueryResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
132
|
+
ok: S.Boolean,
|
|
133
|
+
datastore: S.optional(S.String),
|
|
134
|
+
items: DatastoreQueryResponseItemsList,
|
|
135
|
+
response_metadata: S.optional(DatastoreQueryResponseResponseMetadata),
|
|
136
|
+
})).annotate({
|
|
137
|
+
identifier: "DatastoreQueryResponse",
|
|
138
|
+
});
|
|
139
|
+
export const DeleteAuthExternalRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
140
|
+
app_id: S.optional(S.String),
|
|
141
|
+
provider_key: S.optional(S.String),
|
|
142
|
+
external_token_id: S.optional(S.String),
|
|
143
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.auth.external.delete", code: 200 }))).annotate({
|
|
144
|
+
identifier: "DeleteAuthExternalRequest",
|
|
145
|
+
});
|
|
146
|
+
export const DeleteAuthExternalResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
147
|
+
ok: S.Boolean,
|
|
148
|
+
})).annotate({
|
|
149
|
+
identifier: "DeleteAuthExternalResponse",
|
|
150
|
+
});
|
|
151
|
+
export const DeleteDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
152
|
+
datastore: S.String,
|
|
153
|
+
id: S.String,
|
|
154
|
+
app_id: S.optional(S.String),
|
|
155
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.delete", code: 200 }))).annotate({
|
|
156
|
+
identifier: "DeleteDatastoreRequest",
|
|
157
|
+
});
|
|
158
|
+
export const DeleteDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
159
|
+
ok: S.Boolean,
|
|
160
|
+
})).annotate({
|
|
161
|
+
identifier: "DeleteDatastoreResponse",
|
|
162
|
+
});
|
|
163
|
+
export const DeleteManifestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
164
|
+
app_id: S.String,
|
|
165
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.manifest.delete", code: 200 }))).annotate({
|
|
166
|
+
identifier: "DeleteManifestRequest",
|
|
167
|
+
});
|
|
168
|
+
export const DeleteManifestResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
169
|
+
ok: S.Boolean,
|
|
170
|
+
})).annotate({
|
|
171
|
+
identifier: "DeleteManifestResponse",
|
|
172
|
+
});
|
|
173
|
+
export const ExportManifestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
174
|
+
app_id: S.String,
|
|
175
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.manifest.export", code: 200 }))).annotate({
|
|
176
|
+
identifier: "ExportManifestRequest",
|
|
177
|
+
});
|
|
178
|
+
export const ExportManifestResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
179
|
+
ok: S.Boolean,
|
|
180
|
+
manifest: S.Unknown,
|
|
181
|
+
})).annotate({
|
|
182
|
+
identifier: "ExportManifestResponse",
|
|
183
|
+
});
|
|
184
|
+
export const GetAuthExternalRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
185
|
+
external_token_id: S.String,
|
|
186
|
+
force_refresh: S.optional(S.Boolean),
|
|
187
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.auth.external.get", code: 200 }))).annotate({
|
|
188
|
+
identifier: "GetAuthExternalRequest",
|
|
189
|
+
});
|
|
190
|
+
export const GetAuthExternalResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
191
|
+
ok: S.Boolean,
|
|
192
|
+
external_token: S.String,
|
|
193
|
+
token_response_extras: S.Unknown,
|
|
194
|
+
})).annotate({
|
|
195
|
+
identifier: "GetAuthExternalResponse",
|
|
196
|
+
});
|
|
197
|
+
export const GetDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
198
|
+
datastore: S.String,
|
|
199
|
+
id: S.String,
|
|
200
|
+
app_id: S.optional(S.String),
|
|
201
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.get", code: 200 }))).annotate({
|
|
202
|
+
identifier: "GetDatastoreRequest",
|
|
203
|
+
});
|
|
204
|
+
export const GetDatastoreResponseItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
205
|
+
export const GetDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
206
|
+
ok: S.Boolean,
|
|
207
|
+
datastore: S.optional(S.String),
|
|
208
|
+
item: S.optional(GetDatastoreResponseItemMap),
|
|
209
|
+
})).annotate({
|
|
210
|
+
identifier: "GetDatastoreResponse",
|
|
211
|
+
});
|
|
212
|
+
export const ListActivitiesRequestSortDirection = S.String;
|
|
213
|
+
export const ListActivitiesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
214
|
+
app_id: S.String,
|
|
215
|
+
team_id: S.optional(S.String),
|
|
216
|
+
cursor: S.optional(S.String),
|
|
217
|
+
limit: S.optional(S.Number),
|
|
218
|
+
min_log_level: S.optional(S.String),
|
|
219
|
+
log_event_type: S.optional(S.String),
|
|
220
|
+
source: S.optional(S.String),
|
|
221
|
+
component_type: S.optional(S.String),
|
|
222
|
+
component_id: S.optional(S.String),
|
|
223
|
+
trace_id: S.optional(S.String),
|
|
224
|
+
min_date_created: S.optional(S.Number),
|
|
225
|
+
max_date_created: S.optional(S.Number),
|
|
226
|
+
sort_direction: S.optional(ListActivitiesRequestSortDirection),
|
|
227
|
+
}).pipe(T.Http({
|
|
228
|
+
method: "POST",
|
|
229
|
+
uri: "/apps.activities.list",
|
|
230
|
+
code: 200,
|
|
231
|
+
contentType: "form-urlencoded",
|
|
232
|
+
}))).annotate({
|
|
233
|
+
identifier: "ListActivitiesRequest",
|
|
234
|
+
});
|
|
235
|
+
export const ListActivitiesResponseActivitiesList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
236
|
+
export const ListActivitiesResponseResponseMetadata = DatastoreQueryResponseResponseMetadata;
|
|
237
|
+
export const ListActivitiesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
238
|
+
ok: S.Boolean,
|
|
239
|
+
activities: ListActivitiesResponseActivitiesList,
|
|
240
|
+
response_metadata: S.optional(DatastoreQueryResponseResponseMetadata),
|
|
241
|
+
})).annotate({
|
|
242
|
+
identifier: "ListActivitiesResponse",
|
|
243
|
+
});
|
|
244
|
+
export const ListEventAuthorizationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
245
|
+
event_context: S.String,
|
|
246
|
+
cursor: S.optional(S.String),
|
|
247
|
+
limit: S.optional(S.Number),
|
|
248
|
+
}).pipe(T.Http({
|
|
249
|
+
method: "POST",
|
|
250
|
+
uri: "/apps.event.authorizations.list",
|
|
251
|
+
code: 200,
|
|
252
|
+
}))).annotate({
|
|
253
|
+
identifier: "ListEventAuthorizationsRequest",
|
|
254
|
+
});
|
|
255
|
+
export const ListEventAuthorizationsResponseAuthorizationsItem =
|
|
256
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
257
|
+
enterprise_id: S.NullOr(S.String),
|
|
258
|
+
team_id: S.NullOr(S.String),
|
|
259
|
+
user_id: S.String,
|
|
260
|
+
is_bot: S.Boolean,
|
|
261
|
+
is_enterprise_install: S.Boolean,
|
|
262
|
+
})).annotate({
|
|
263
|
+
identifier: "ListEventAuthorizationsResponseAuthorizationsItem",
|
|
264
|
+
});
|
|
265
|
+
export const ListEventAuthorizationsResponseAuthorizationsList =
|
|
266
|
+
/*@__PURE__*/ S.Array(ListEventAuthorizationsResponseAuthorizationsItem);
|
|
267
|
+
export const ListEventAuthorizationsResponseResponseMetadata = DatastoreQueryResponseResponseMetadata;
|
|
268
|
+
export const ListEventAuthorizationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
269
|
+
ok: S.Boolean,
|
|
270
|
+
cursor_next: S.optional(S.String),
|
|
271
|
+
authorizations: ListEventAuthorizationsResponseAuthorizationsList,
|
|
272
|
+
response_metadata: S.optional(DatastoreQueryResponseResponseMetadata),
|
|
273
|
+
})).annotate({
|
|
274
|
+
identifier: "ListEventAuthorizationsResponse",
|
|
275
|
+
});
|
|
276
|
+
export const PutDatastoreRequestItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
277
|
+
export const PutDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
278
|
+
datastore: S.String,
|
|
279
|
+
item: PutDatastoreRequestItemMap,
|
|
280
|
+
app_id: S.optional(S.String),
|
|
281
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.put", code: 200 }))).annotate({
|
|
282
|
+
identifier: "PutDatastoreRequest",
|
|
283
|
+
});
|
|
284
|
+
export const PutDatastoreResponseItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
285
|
+
export const PutDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
286
|
+
ok: S.Boolean,
|
|
287
|
+
datastore: S.optional(S.String),
|
|
288
|
+
item: S.optional(PutDatastoreResponseItemMap),
|
|
289
|
+
})).annotate({
|
|
290
|
+
identifier: "PutDatastoreResponse",
|
|
291
|
+
});
|
|
292
|
+
export const SetIconRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
293
|
+
app_id: S.String,
|
|
294
|
+
file: S.optional(S.Unknown),
|
|
295
|
+
url: S.optional(S.String),
|
|
296
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.icon.set", code: 200 }))).annotate({ identifier: "SetIconRequest" });
|
|
297
|
+
export const SetIconResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
298
|
+
ok: S.Boolean,
|
|
299
|
+
})).annotate({
|
|
300
|
+
identifier: "SetIconResponse",
|
|
301
|
+
});
|
|
302
|
+
export const UninstallAppRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
|
+
client_id: S.String,
|
|
304
|
+
client_secret: S.String.pipe(T.SensitiveValue({})),
|
|
305
|
+
}).pipe(T.Http({
|
|
306
|
+
method: "POST",
|
|
307
|
+
uri: "/apps.uninstall",
|
|
308
|
+
code: 200,
|
|
309
|
+
contentType: "form-urlencoded",
|
|
310
|
+
}))).annotate({
|
|
311
|
+
identifier: "UninstallAppRequest",
|
|
312
|
+
});
|
|
313
|
+
export const UninstallAppResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
314
|
+
ok: S.Boolean,
|
|
315
|
+
uninstalled: S.Boolean,
|
|
316
|
+
})).annotate({
|
|
317
|
+
identifier: "UninstallAppResponse",
|
|
318
|
+
});
|
|
319
|
+
export const UpdateDatastoreRequestItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
320
|
+
export const UpdateDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
321
|
+
datastore: S.String,
|
|
322
|
+
item: UpdateDatastoreRequestItemMap,
|
|
323
|
+
app_id: S.optional(S.String),
|
|
324
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.datastore.update", code: 200 }))).annotate({
|
|
325
|
+
identifier: "UpdateDatastoreRequest",
|
|
326
|
+
});
|
|
327
|
+
export const UpdateDatastoreResponseItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
328
|
+
export const UpdateDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
329
|
+
ok: S.Boolean,
|
|
330
|
+
datastore: S.optional(S.String),
|
|
331
|
+
item: S.optional(UpdateDatastoreResponseItemMap),
|
|
332
|
+
})).annotate({
|
|
333
|
+
identifier: "UpdateDatastoreResponse",
|
|
334
|
+
});
|
|
335
|
+
export const UpdateManifestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
336
|
+
manifest: S.String,
|
|
337
|
+
app_id: S.String,
|
|
338
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.manifest.update", code: 200 }))).annotate({
|
|
339
|
+
identifier: "UpdateManifestRequest",
|
|
340
|
+
});
|
|
341
|
+
export const UpdateManifestResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
342
|
+
ok: S.Boolean,
|
|
343
|
+
app_id: S.String,
|
|
344
|
+
permissions_updated: S.optional(S.Boolean),
|
|
345
|
+
})).annotate({
|
|
346
|
+
identifier: "UpdateManifestResponse",
|
|
347
|
+
});
|
|
348
|
+
export const UpdateUserConnectionRequestStatus = S.String;
|
|
349
|
+
export const UpdateUserConnectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
350
|
+
user_id: S.String,
|
|
351
|
+
status: UpdateUserConnectionRequestStatus,
|
|
352
|
+
}).pipe(T.Http({
|
|
353
|
+
method: "POST",
|
|
354
|
+
uri: "/apps.user.connection.update",
|
|
355
|
+
code: 200,
|
|
356
|
+
contentType: "form-urlencoded",
|
|
357
|
+
}))).annotate({
|
|
358
|
+
identifier: "UpdateUserConnectionRequest",
|
|
359
|
+
});
|
|
360
|
+
export const UpdateUserConnectionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
361
|
+
ok: S.Boolean,
|
|
362
|
+
})).annotate({
|
|
363
|
+
identifier: "UpdateUserConnectionResponse",
|
|
364
|
+
});
|
|
365
|
+
export const ValidateManifestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
366
|
+
manifest: S.String,
|
|
367
|
+
app_id: S.optional(S.String),
|
|
368
|
+
}).pipe(T.Http({ method: "POST", uri: "/apps.manifest.validate", code: 200 }))).annotate({
|
|
369
|
+
identifier: "ValidateManifestRequest",
|
|
370
|
+
});
|
|
371
|
+
export const ValidateManifestResponseErrorsList = /*@__PURE__*/ S.Array(S.String);
|
|
372
|
+
export const ValidateManifestResponseWarningsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
373
|
+
code: S.String,
|
|
374
|
+
message: S.String,
|
|
375
|
+
pointer: S.optional(S.String),
|
|
376
|
+
})).annotate({
|
|
377
|
+
identifier: "ValidateManifestResponseWarningsItem",
|
|
378
|
+
});
|
|
379
|
+
export const ValidateManifestResponseWarningsList = /*@__PURE__*/ S.Array(ValidateManifestResponseWarningsItem);
|
|
380
|
+
export const ValidateManifestResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
381
|
+
ok: S.Boolean,
|
|
382
|
+
errors: ValidateManifestResponseErrorsList,
|
|
383
|
+
warnings: S.optional(ValidateManifestResponseWarningsList),
|
|
384
|
+
})).annotate({
|
|
385
|
+
identifier: "ValidateManifestResponse",
|
|
386
|
+
});
|
|
387
|
+
/** Delete items from a datastore in bulk Required scopes — bot: `datastore:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to create datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore put not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `unknown_method` — This method does not exist - `partial_failure` — some items failed to be deleted - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.bulkDelete */
|
|
388
|
+
export const bulkDelete = /*@__PURE__*/ API.make(() => ({
|
|
389
|
+
input: BulkDeleteRequest,
|
|
390
|
+
output: BulkDeleteResponse,
|
|
391
|
+
errors: [SlackError, SlackRateLimited],
|
|
392
|
+
protocol: SlackProtocol,
|
|
393
|
+
retry: Retry.Retry,
|
|
394
|
+
}));
|
|
395
|
+
/** Get items from a datastore in bulk Required scopes — bot: `datastore:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to create datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore put not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `unknown_method` — This method does not exist - `partial_failure` — some items failed to be retrieved - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.bulkGet */
|
|
396
|
+
export const bulkGet = /*@__PURE__*/ API.make(() => ({
|
|
397
|
+
input: BulkGetRequest,
|
|
398
|
+
output: BulkGetResponse,
|
|
399
|
+
errors: [SlackError, SlackRateLimited],
|
|
400
|
+
protocol: SlackProtocol,
|
|
401
|
+
retry: Retry.Retry,
|
|
402
|
+
}));
|
|
403
|
+
/** Creates or replaces existing items in bulk Required scopes — bot: `datastore:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to create datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore put not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `unknown_method` — This method does not exist - `partial_failure` — some items failed to be updated - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.bulkPut */
|
|
404
|
+
export const bulkPut = /*@__PURE__*/ API.make(() => ({
|
|
405
|
+
input: BulkPutRequest,
|
|
406
|
+
output: BulkPutResponse,
|
|
407
|
+
errors: [SlackError, SlackRateLimited],
|
|
408
|
+
protocol: SlackProtocol,
|
|
409
|
+
retry: Retry.Retry,
|
|
410
|
+
}));
|
|
411
|
+
/** Generate a temporary Socket Mode WebSocket URL that your app can connect to in order to receive events and interactive payloads over. Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `forbidden_team` — The authenticated team cannot use this API - `insecure_request` — The method was not called via a `POST` request. - `internal_error` — An unexpected exception with the service has occurred. - `invalid_auth` — The provided [app-level token](/authentication/tokens#app) wasn't valid. - `missing_args` — An [app-level token](/authentication/tokens#app) wasn't provided. See https://docs.slack.dev/reference/methods/apps.connections.open */
|
|
412
|
+
export const connectionsOpen = /*@__PURE__*/ API.make(() => ({
|
|
413
|
+
input: ConnectionsOpenRequest,
|
|
414
|
+
output: ConnectionsOpenResponse,
|
|
415
|
+
errors: [SlackError, SlackRateLimited],
|
|
416
|
+
protocol: SlackProtocol,
|
|
417
|
+
retry: Retry.Retry,
|
|
418
|
+
}));
|
|
419
|
+
/** Create an app from an app manifest. Required scopes — configuration: `app_configurations:write` Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `invalid_app` — An app created from the provided manifest would not be valid. - `invalid_arguments` — Invalid API arguments provided. - `invalid_manager_app` — The calling app is not enrolled as a manager app. Ensure the app has `app_configurations:write` in its configured scopes and its home team has manager app support enabled. - `invalid_manifest` — The provided manifest file does not validate against schema. Consult the additional errors field to locate specific issues. - `invalid_team_id` — The provided team ID is not valid - `not_in_team` — Cannot create an app in a team that user is not a member of - `failed_adding_collaborator` — Failed writing a collaborator record for this new app - `failed_creating_app` — Failed to create the app model - `failed_datastore_operation` — Failed while managing datastore infrastructure - `failed_generating_app_token` — App level token failed to generate. - `feature_not_enabled` — The required feature is not enabled for this workspace. - `managed_app_limit_reached` — The manager app has reached the maximum number of managed apps it can create. - `ratelimited` — Too many calls in succession to create endpoint during a short period of time. - `socket_mode_not_enabled` — Socket mode is not enabled in manifest. - `enterprise_is_restricted` — Org-level tokens are not allowed. - `unknown_method` — Unknown method - `dynamic_client_registration_invalid_redirect_uri` — The remote server rejected Slack's redirect URI during Dynamic Client Registration. The server must allowlist https://oauth2.slack.com/external/auth/callback as a valid redirect URI. - `dynamic_client_registration_failed` — Dynamic client registration failed for an MCP server that requires OAuth authentication. - `oauth_metadata_not_found` — Could not discover OAuth metadata for the MCP server. Ensure the server exposes a .well-known/oauth-authorization-server or .well-known/openid-configuration endpoint. - `dynamic_client_registration_not_supported` — The MCP server's OAuth metadata does not include a registration endpoint. The server may not support Dynamic Client Registration. - `dynamic_client_registration_missing_oauth_endpoints` — The MCP server's OAuth metadata is missing a required authorization or token endpoint. - `dynamic_client_registration_rejected` — The MCP server rejected the Dynamic Client Registration request. - `dynamic_client_registration_invalid_response` — The MCP server returned an invalid response during Dynamic Client Registration. See https://docs.slack.dev/reference/methods/apps.manifest.create */
|
|
420
|
+
export const createManifest = /*@__PURE__*/ API.make(() => ({
|
|
421
|
+
input: CreateManifestRequest,
|
|
422
|
+
output: CreateManifestResponse,
|
|
423
|
+
errors: [SlackError, SlackRateLimited],
|
|
424
|
+
protocol: SlackProtocol,
|
|
425
|
+
retry: Retry.Retry,
|
|
426
|
+
}));
|
|
427
|
+
/** Count the number of items in a datastore that match a query Required scopes — bot: `datastore:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to access datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore query not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.count */
|
|
428
|
+
export const datastoreCount = /*@__PURE__*/ API.make(() => ({
|
|
429
|
+
input: DatastoreCountRequest,
|
|
430
|
+
output: DatastoreCountResponse,
|
|
431
|
+
errors: [SlackError, SlackRateLimited],
|
|
432
|
+
protocol: SlackProtocol,
|
|
433
|
+
retry: Retry.Retry,
|
|
434
|
+
}));
|
|
435
|
+
/** Query a datastore for items Required scopes — bot: `datastore:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to access datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore query not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.query */
|
|
436
|
+
export const datastoreQuery = /*@__PURE__*/ API.makePaginated(() => ({
|
|
437
|
+
input: DatastoreQueryRequest,
|
|
438
|
+
output: DatastoreQueryResponse,
|
|
439
|
+
errors: [SlackError, SlackRateLimited],
|
|
440
|
+
protocol: SlackProtocol,
|
|
441
|
+
retry: Retry.Retry,
|
|
442
|
+
pagination: {
|
|
443
|
+
mode: "cursor",
|
|
444
|
+
inputToken: "cursor",
|
|
445
|
+
outputToken: "response_metadata.next_cursor",
|
|
446
|
+
items: "items",
|
|
447
|
+
pageSize: "limit",
|
|
448
|
+
},
|
|
449
|
+
}), slackPaginate);
|
|
450
|
+
/** Delete external auth tokens only on the Slack side Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `unable_to_delete` — There was an error deleting tokens - `providers_not_found` — The provided `provider_key` is invalid - `no_tokens_found` — No tokens found to delete - `method_not_supported` — This API method is not supported - `app_not_found` — The provided `app_id` was not found - `token_not_found` — The token pointed to by the external_token_id input is not found - `invalid_auth` — The token used to invoke this API doesn't have permission to delete the token pointed to by the external_token_id input - `invalid_args` — The arguments provided to this API are invalid See https://docs.slack.dev/reference/methods/apps.auth.external.delete */
|
|
451
|
+
export const deleteAuthExternal = /*@__PURE__*/ API.make(() => ({
|
|
452
|
+
input: DeleteAuthExternalRequest,
|
|
453
|
+
output: DeleteAuthExternalResponse,
|
|
454
|
+
errors: [SlackError, SlackRateLimited],
|
|
455
|
+
protocol: SlackProtocol,
|
|
456
|
+
retry: Retry.Retry,
|
|
457
|
+
}));
|
|
458
|
+
/** Delete an item from a datastore Required scopes — bot: `datastore:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to delete datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore delete not allowed on a free team. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.delete */
|
|
459
|
+
export const deleteDatastore = /*@__PURE__*/ API.make(() => ({
|
|
460
|
+
input: DeleteDatastoreRequest,
|
|
461
|
+
output: DeleteDatastoreResponse,
|
|
462
|
+
errors: [SlackError, SlackRateLimited],
|
|
463
|
+
protocol: SlackProtocol,
|
|
464
|
+
retry: Retry.Retry,
|
|
465
|
+
}));
|
|
466
|
+
/** Permanently deletes an app created through app manifests. When called with a manager app token, this method can only delete apps that were created by that manager app. Required scopes — configuration: `app_configurations:write` Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `app_not_eligible` — The specified app is not eligible for this API. - `app_not_found` — The specified app was not found. - `internal_error` — Internal error. - `invalid_app_id` — The app ID passed in was invalid. - `no_permission` — User described by the used token does not have proper permissions to take this action. - `published_app_only` — This action is only permitted for published app IDs. - `app_not_owned_by_manager_app` — The specified app is not managed by the calling manager app. A manager app can only delete apps that it originally created via apps.manifest.create. See https://docs.slack.dev/reference/methods/apps.manifest.delete */
|
|
467
|
+
export const deleteManifest = /*@__PURE__*/ API.make(() => ({
|
|
468
|
+
input: DeleteManifestRequest,
|
|
469
|
+
output: DeleteManifestResponse,
|
|
470
|
+
errors: [SlackError, SlackRateLimited],
|
|
471
|
+
protocol: SlackProtocol,
|
|
472
|
+
retry: Retry.Retry,
|
|
473
|
+
}));
|
|
474
|
+
/** Export an app manifest from an existing app. When called with a manager app token, this method can only export apps that were created by that manager app. Required scopes — configuration: `app_configurations:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `app_not_eligible` — The specified app is not eligible for this API. - `app_not_found` — The specified app was not found or has been deleted. - `failed_export` — Failed to export manifest for given app ID - `internal_error` — Internal error. - `invalid_app_id` — The app ID passed is invalid. - `no_permission` — User does not have proper permissions. - `unknown_method` — This method does not exist. - `app_not_owned_by_manager_app` — The specified app is not managed by the calling manager app. A manager app can only access apps that it originally created via apps.manifest.create. See https://docs.slack.dev/reference/methods/apps.manifest.export */
|
|
475
|
+
export const exportManifest = /*@__PURE__*/ API.make(() => ({
|
|
476
|
+
input: ExportManifestRequest,
|
|
477
|
+
output: ExportManifestResponse,
|
|
478
|
+
errors: [SlackError, SlackRateLimited],
|
|
479
|
+
protocol: SlackProtocol,
|
|
480
|
+
retry: Retry.Retry,
|
|
481
|
+
}));
|
|
482
|
+
/** Get the access token for the provided token ID Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `token_not_found` — No token found for the passed external_token_id - `method_not_supported` — This API method is not supported - `no_refresh_token` — No refresh token found for the passed external_token_id - `access_token_exchange_failed` — There was an error while attempting to exchange or refresh token See https://docs.slack.dev/reference/methods/apps.auth.external.get */
|
|
483
|
+
export const getAuthExternal = /*@__PURE__*/ API.make(() => ({
|
|
484
|
+
input: GetAuthExternalRequest,
|
|
485
|
+
output: GetAuthExternalResponse,
|
|
486
|
+
errors: [SlackError, SlackRateLimited],
|
|
487
|
+
protocol: SlackProtocol,
|
|
488
|
+
retry: Retry.Retry,
|
|
489
|
+
}));
|
|
490
|
+
/** Get an item from a datastore Required scopes — bot: `datastore:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to get datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error. - `access_denied` — Not authorized to access to the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore get not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.get */
|
|
491
|
+
export const getDatastore = /*@__PURE__*/ API.make(() => ({
|
|
492
|
+
input: GetDatastoreRequest,
|
|
493
|
+
output: GetDatastoreResponse,
|
|
494
|
+
errors: [SlackError, SlackRateLimited],
|
|
495
|
+
protocol: SlackProtocol,
|
|
496
|
+
retry: Retry.Retry,
|
|
497
|
+
}));
|
|
498
|
+
/** Get logs for a specified app Required scopes — user: `hosting:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `internal_error` — Something went wrong on our end, please try again. - `invalid_app_id` — App ID provided is not valid. - `invalid_app` — App ID provided is not valid for team and user. - `invalid_args` — Required arguments either were not provided or contain invalid values. - `invalid_cursor` — Value passed for `cursor` was not valid or is no longer valid. - `free_team_not_allowed` — Feature is only available on a paid team. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.activities.list */
|
|
499
|
+
export const listActivities = /*@__PURE__*/ API.makePaginated(() => ({
|
|
500
|
+
input: ListActivitiesRequest,
|
|
501
|
+
output: ListActivitiesResponse,
|
|
502
|
+
errors: [SlackError, SlackRateLimited],
|
|
503
|
+
protocol: SlackProtocol,
|
|
504
|
+
retry: Retry.Retry,
|
|
505
|
+
pagination: {
|
|
506
|
+
mode: "cursor",
|
|
507
|
+
inputToken: "cursor",
|
|
508
|
+
outputToken: "response_metadata.next_cursor",
|
|
509
|
+
items: "activities",
|
|
510
|
+
pageSize: "limit",
|
|
511
|
+
},
|
|
512
|
+
}), slackPaginate);
|
|
513
|
+
/** Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to. Rate limit tier: 5 Method-specific errors (the `error` slug on the SlackError): - `auth_mismatch` — The given authorization token is not associated with the app that sent this event. - `internal_error` — An unexpected error occurred while finding authorizations for this event. - `invalid_cursor` — The `cursor` argument was invalid. - `invalid_event_context` — The given `event_context` didn't match an event. See https://docs.slack.dev/reference/methods/apps.event.authorizations.list */
|
|
514
|
+
export const listEventAuthorizations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
515
|
+
input: ListEventAuthorizationsRequest,
|
|
516
|
+
output: ListEventAuthorizationsResponse,
|
|
517
|
+
errors: [SlackError, SlackRateLimited],
|
|
518
|
+
protocol: SlackProtocol,
|
|
519
|
+
retry: Retry.Retry,
|
|
520
|
+
pagination: {
|
|
521
|
+
mode: "cursor",
|
|
522
|
+
inputToken: "cursor",
|
|
523
|
+
outputToken: "response_metadata.next_cursor",
|
|
524
|
+
items: "authorizations",
|
|
525
|
+
pageSize: "limit",
|
|
526
|
+
},
|
|
527
|
+
}), slackPaginate);
|
|
528
|
+
/** Creates a new item, or replaces an old item with a new item. Required scopes — bot: `datastore:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to create datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore put not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.put */
|
|
529
|
+
export const putDatastore = /*@__PURE__*/ API.make(() => ({
|
|
530
|
+
input: PutDatastoreRequest,
|
|
531
|
+
output: PutDatastoreResponse,
|
|
532
|
+
errors: [SlackError, SlackRateLimited],
|
|
533
|
+
protocol: SlackProtocol,
|
|
534
|
+
retry: Retry.Retry,
|
|
535
|
+
}));
|
|
536
|
+
/** Sets the app icon Required scopes — user: `app_configurations:write` Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `error_bad_format` — Icon must be a valid image file. - `icon_not_accessible` — The icon URL is not accessible or returned an error (e.g. 404 Not Found). Please verify the URL is publicly reachable and returns a valid image. - `invalid_app` — App does not exist. - `invalid_app_id` — App ID is not valid. - `invalid_icon_size` — Icon dimensions must be between 512x512px and 2000x2000px. - `invalid_parameters` — Only one of `URL` or `file` can be defined. - `missing_arguments` — One of `URL` or `file` must be provided. - `no_permission` — User does not have required permissions for app. - `unable_to_open_file` — Error with file upload. See https://docs.slack.dev/reference/methods/apps.icon.set */
|
|
537
|
+
export const setIcon = /*@__PURE__*/ API.make(() => ({
|
|
538
|
+
input: SetIconRequest,
|
|
539
|
+
output: SetIconResponse,
|
|
540
|
+
errors: [SlackError, SlackRateLimited],
|
|
541
|
+
protocol: SlackProtocol,
|
|
542
|
+
retry: Retry.Retry,
|
|
543
|
+
}));
|
|
544
|
+
/** Uninstalls your app from a workspace. Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `bad_client_secret` — Value passed for `client_secret` was invalid. - `client_id_token_mismatch` — The provided client ID and token do not belong to the same app. - `internal_error` — Internal error uninstall - `invalid_client_id` — Value passed for `client_id` was invalid. - `no_permission` — Granular bot not allowed to uninstall See https://docs.slack.dev/reference/methods/apps.uninstall */
|
|
545
|
+
export const uninstallApp = /*@__PURE__*/ API.make(() => ({
|
|
546
|
+
input: UninstallAppRequest,
|
|
547
|
+
output: UninstallAppResponse,
|
|
548
|
+
errors: [SlackError, SlackRateLimited],
|
|
549
|
+
protocol: SlackProtocol,
|
|
550
|
+
retry: Retry.Retry,
|
|
551
|
+
}));
|
|
552
|
+
/** Edits an existing item's attributes, or adds a new item if it does not already exist. Required scopes — bot: `datastore:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `invalid_arguments` — The request is missing required arguments. - `invalid_datastore` — The provided datastore is invalid. - `invalid_auth` — Not authorized to create datastore items. - `app_not_hosted` — The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps. - `datastore_error` — Datastore error - `access_denied` — Not authorized to access the datastore. - `invalid_app_id` — The app_id provided is not valid for team and user. - `free_team_not_allowed` — Datastore put not allowed on a free team. - `team_quota_exceeded` — Total number of requests exceeded team quota. - `datastore_migration_in_progress` — The datastore is currently unavailable due to an in progress Enterprise org migration. - `restricted_plan_level` — Feature is not available on this team See https://docs.slack.dev/reference/methods/apps.datastore.update */
|
|
553
|
+
export const updateDatastore = /*@__PURE__*/ API.make(() => ({
|
|
554
|
+
input: UpdateDatastoreRequest,
|
|
555
|
+
output: UpdateDatastoreResponse,
|
|
556
|
+
errors: [SlackError, SlackRateLimited],
|
|
557
|
+
protocol: SlackProtocol,
|
|
558
|
+
retry: Retry.Retry,
|
|
559
|
+
}));
|
|
560
|
+
/** Update an app from an app manifest. When called with a manager app token, this method can only update apps that were created by that manager app. Required scopes — configuration: `app_configurations:write` Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `app_not_eligible` — The specified app is not eligible for this API. - `app_not_found` — The specified app was not found or has been deleted. - `failed_adding_collaborator` — Failed writing a collaborator record for this new app - `failed_creating_app` — Failed to create the app model - `failed_datastore_operation` — Failed while managing datastore infrastructure - `internal_error` — Internal error. - `invalid_app` — An app created from the provided manifest would not be valid. - `invalid_app_id` — The app id passed is invalid. - `invalid_manifest` — The provided manifest file does not validate against schema. - `no_permission` — User does not have permission to update app - `unknown_method` — Unknown method - `dynamic_client_registration_invalid_redirect_uri` — The remote server rejected Slack's redirect URI during Dynamic Client Registration. The server must allowlist https://oauth2.slack.com/external/auth/callback as a valid redirect URI. - `app_not_owned_by_manager_app` — The specified app is not managed by the calling manager app. A manager app can only update apps that it originally created via apps.manifest.create. It cannot modify apps created by other manager apps or apps created manually, even if the same user owns both. - `ratelimited` — Too many calls in succession to update endpoint during a short period of time. - `dynamic_client_registration_failed` — Dynamic client registration failed for an MCP server that requires OAuth authentication. - `oauth_metadata_not_found` — Could not discover OAuth metadata for the MCP server. Ensure the server exposes a .well-known/oauth-authorization-server or .well-known/openid-configuration endpoint. - `dynamic_client_registration_not_supported` — The MCP server's OAuth metadata does not include a registration endpoint. The server may not support Dynamic Client Registration. - `dynamic_client_registration_missing_oauth_endpoints` — The MCP server's OAuth metadata is missing a required authorization or token endpoint. - `dynamic_client_registration_rejected` — The MCP server rejected the Dynamic Client Registration request. - `dynamic_client_registration_invalid_response` — The MCP server returned an invalid response during Dynamic Client Registration. See https://docs.slack.dev/reference/methods/apps.manifest.update */
|
|
561
|
+
export const updateManifest = /*@__PURE__*/ API.make(() => ({
|
|
562
|
+
input: UpdateManifestRequest,
|
|
563
|
+
output: UpdateManifestResponse,
|
|
564
|
+
errors: [SlackError, SlackRateLimited],
|
|
565
|
+
protocol: SlackProtocol,
|
|
566
|
+
retry: Retry.Retry,
|
|
567
|
+
}));
|
|
568
|
+
/** Updates the connection status between a user and an app. Required scopes — user: `users:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `app_not_found` — The app was not found. - `invalid_auth` — The token doesn't have access to this endpoint. - `app_not_subscribed` — The app is not subscribed to the required events. - `user_not_found` — Value passed for `user_id` was invalid. See https://docs.slack.dev/reference/methods/apps.user.connection.update */
|
|
569
|
+
export const updateUserConnection = /*@__PURE__*/ API.make(() => ({
|
|
570
|
+
input: UpdateUserConnectionRequest,
|
|
571
|
+
output: UpdateUserConnectionResponse,
|
|
572
|
+
errors: [SlackError, SlackRateLimited],
|
|
573
|
+
protocol: SlackProtocol,
|
|
574
|
+
retry: Retry.Retry,
|
|
575
|
+
}));
|
|
576
|
+
/** Validate an app manifest Required scopes — configuration: `app_configurations:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `app_not_eligible` — The specified app is not eligible for this API. - `invalid_app` — An app created from the provided manifest would not be valid. - `invalid_app_id` — The app id passed is invalid. - `invalid_manifest` — The provided manifest file does not validate against schema. - `failed_adding_collaborator` — Failed writing a collaborator record for this new app - `failed_creating_app` — Failed to create the app model - `unknown_method` — Unknown method - `no_permission` — User described by the used token does not have proper permissions to take this action. - `app_not_owned_by_manager_app` — The specified app is not managed by the calling manager app. A manager app can only validate apps that it originally created via apps.manifest.create. See https://docs.slack.dev/reference/methods/apps.manifest.validate */
|
|
577
|
+
export const validateManifest = /*@__PURE__*/ API.make(() => ({
|
|
578
|
+
input: ValidateManifestRequest,
|
|
579
|
+
output: ValidateManifestResponse,
|
|
580
|
+
errors: [SlackError, SlackRateLimited],
|
|
581
|
+
protocol: SlackProtocol,
|
|
582
|
+
retry: Retry.Retry,
|
|
583
|
+
}));
|
|
584
|
+
//# sourceMappingURL=apps.js.map
|