@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.
Files changed (212) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +27 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +53 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +83 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +59 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +17 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +17 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +31 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +31 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +230 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +52 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +45 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/admin.d.ts +2796 -0
  27. package/lib/services/admin.d.ts.map +1 -0
  28. package/lib/services/admin.js +3217 -0
  29. package/lib/services/admin.js.map +1 -0
  30. package/lib/services/api.d.ts +23 -0
  31. package/lib/services/api.d.ts.map +1 -0
  32. package/lib/services/api.js +26 -0
  33. package/lib/services/api.js.map +1 -0
  34. package/lib/services/apps.d.ts +568 -0
  35. package/lib/services/apps.d.ts.map +1 -0
  36. package/lib/services/apps.js +584 -0
  37. package/lib/services/apps.js.map +1 -0
  38. package/lib/services/assistant.d.ts +290 -0
  39. package/lib/services/assistant.d.ts.map +1 -0
  40. package/lib/services/assistant.js +232 -0
  41. package/lib/services/assistant.js.map +1 -0
  42. package/lib/services/auth.d.ts +90 -0
  43. package/lib/services/auth.d.ts.map +1 -0
  44. package/lib/services/auth.js +114 -0
  45. package/lib/services/auth.js.map +1 -0
  46. package/lib/services/blocks.d.ts +31 -0
  47. package/lib/services/blocks.d.ts.map +1 -0
  48. package/lib/services/blocks.js +31 -0
  49. package/lib/services/blocks.js.map +1 -0
  50. package/lib/services/bookmarks.d.ts +91 -0
  51. package/lib/services/bookmarks.d.ts.map +1 -0
  52. package/lib/services/bookmarks.js +98 -0
  53. package/lib/services/bookmarks.js.map +1 -0
  54. package/lib/services/bots.d.ts +60 -0
  55. package/lib/services/bots.d.ts.map +1 -0
  56. package/lib/services/bots.js +68 -0
  57. package/lib/services/bots.js.map +1 -0
  58. package/lib/services/calls.d.ts +124 -0
  59. package/lib/services/calls.d.ts.map +1 -0
  60. package/lib/services/calls.js +136 -0
  61. package/lib/services/calls.js.map +1 -0
  62. package/lib/services/canvases.d.ts +152 -0
  63. package/lib/services/canvases.d.ts.map +1 -0
  64. package/lib/services/canvases.js +152 -0
  65. package/lib/services/canvases.js.map +1 -0
  66. package/lib/services/chat.d.ts +525 -0
  67. package/lib/services/chat.d.ts.map +1 -0
  68. package/lib/services/chat.js +436 -0
  69. package/lib/services/chat.js.map +1 -0
  70. package/lib/services/conversations.d.ts +642 -0
  71. package/lib/services/conversations.d.ts.map +1 -0
  72. package/lib/services/conversations.js +769 -0
  73. package/lib/services/conversations.js.map +1 -0
  74. package/lib/services/dialog.d.ts +20 -0
  75. package/lib/services/dialog.d.ts.map +1 -0
  76. package/lib/services/dialog.js +27 -0
  77. package/lib/services/dialog.js.map +1 -0
  78. package/lib/services/dnd.d.ts +94 -0
  79. package/lib/services/dnd.d.ts.map +1 -0
  80. package/lib/services/dnd.js +111 -0
  81. package/lib/services/dnd.js.map +1 -0
  82. package/lib/services/emoji.d.ts +35 -0
  83. package/lib/services/emoji.d.ts.map +1 -0
  84. package/lib/services/emoji.js +40 -0
  85. package/lib/services/emoji.js.map +1 -0
  86. package/lib/services/entity.d.ts +93 -0
  87. package/lib/services/entity.d.ts.map +1 -0
  88. package/lib/services/entity.js +89 -0
  89. package/lib/services/entity.js.map +1 -0
  90. package/lib/services/files.d.ts +473 -0
  91. package/lib/services/files.d.ts.map +1 -0
  92. package/lib/services/files.js +510 -0
  93. package/lib/services/files.js.map +1 -0
  94. package/lib/services/functions.d.ts +235 -0
  95. package/lib/services/functions.d.ts.map +1 -0
  96. package/lib/services/functions.js +256 -0
  97. package/lib/services/functions.js.map +1 -0
  98. package/lib/services/index.d.ts +35 -0
  99. package/lib/services/index.d.ts.map +1 -0
  100. package/lib/services/index.js +36 -0
  101. package/lib/services/index.js.map +1 -0
  102. package/lib/services/lists.d.ts +300 -0
  103. package/lib/services/lists.d.ts.map +1 -0
  104. package/lib/services/lists.js +366 -0
  105. package/lib/services/lists.js.map +1 -0
  106. package/lib/services/migration.d.ts +34 -0
  107. package/lib/services/migration.d.ts.map +1 -0
  108. package/lib/services/migration.js +36 -0
  109. package/lib/services/migration.js.map +1 -0
  110. package/lib/services/oauth.d.ts +307 -0
  111. package/lib/services/oauth.d.ts.map +1 -0
  112. package/lib/services/oauth.js +278 -0
  113. package/lib/services/oauth.js.map +1 -0
  114. package/lib/services/openid.d.ts +86 -0
  115. package/lib/services/openid.d.ts.map +1 -0
  116. package/lib/services/openid.js +93 -0
  117. package/lib/services/openid.js.map +1 -0
  118. package/lib/services/pins.d.ts +64 -0
  119. package/lib/services/pins.d.ts.map +1 -0
  120. package/lib/services/pins.js +75 -0
  121. package/lib/services/pins.js.map +1 -0
  122. package/lib/services/reactions.d.ts +108 -0
  123. package/lib/services/reactions.d.ts.map +1 -0
  124. package/lib/services/reactions.js +119 -0
  125. package/lib/services/reactions.js.map +1 -0
  126. package/lib/services/reminders.d.ts +89 -0
  127. package/lib/services/reminders.d.ts.map +1 -0
  128. package/lib/services/reminders.js +109 -0
  129. package/lib/services/reminders.js.map +1 -0
  130. package/lib/services/rtm.d.ts +68 -0
  131. package/lib/services/rtm.d.ts.map +1 -0
  132. package/lib/services/rtm.js +74 -0
  133. package/lib/services/rtm.js.map +1 -0
  134. package/lib/services/search.d.ts +239 -0
  135. package/lib/services/search.d.ts.map +1 -0
  136. package/lib/services/search.js +190 -0
  137. package/lib/services/search.js.map +1 -0
  138. package/lib/services/stars.d.ts +126 -0
  139. package/lib/services/stars.d.ts.map +1 -0
  140. package/lib/services/stars.js +145 -0
  141. package/lib/services/stars.js.map +1 -0
  142. package/lib/services/team.d.ts +309 -0
  143. package/lib/services/team.d.ts.map +1 -0
  144. package/lib/services/team.js +333 -0
  145. package/lib/services/team.js.map +1 -0
  146. package/lib/services/tooling.d.ts +31 -0
  147. package/lib/services/tooling.d.ts.map +1 -0
  148. package/lib/services/tooling.js +38 -0
  149. package/lib/services/tooling.js.map +1 -0
  150. package/lib/services/usergroups.d.ts +183 -0
  151. package/lib/services/usergroups.d.ts.map +1 -0
  152. package/lib/services/usergroups.js +180 -0
  153. package/lib/services/usergroups.js.map +1 -0
  154. package/lib/services/users.d.ts +246 -0
  155. package/lib/services/users.d.ts.map +1 -0
  156. package/lib/services/users.js +309 -0
  157. package/lib/services/users.js.map +1 -0
  158. package/lib/services/views.d.ts +84 -0
  159. package/lib/services/views.d.ts.map +1 -0
  160. package/lib/services/views.js +95 -0
  161. package/lib/services/views.js.map +1 -0
  162. package/lib/services/workflows.d.ts +231 -0
  163. package/lib/services/workflows.d.ts.map +1 -0
  164. package/lib/services/workflows.js +238 -0
  165. package/lib/services/workflows.js.map +1 -0
  166. package/lib/traits.d.ts +11 -0
  167. package/lib/traits.d.ts.map +1 -0
  168. package/lib/traits.js +12 -0
  169. package/lib/traits.js.map +1 -0
  170. package/package.json +82 -4
  171. package/src/credentials.ts +86 -0
  172. package/src/errors.ts +101 -0
  173. package/src/index.ts +20 -0
  174. package/src/pagination.ts +35 -0
  175. package/src/protocol.ts +326 -0
  176. package/src/retry.ts +76 -0
  177. package/src/services/admin.ts +7722 -0
  178. package/src/services/api.ts +58 -0
  179. package/src/services/apps.ts +1441 -0
  180. package/src/services/assistant.ts +639 -0
  181. package/src/services/auth.ts +241 -0
  182. package/src/services/blocks.ts +80 -0
  183. package/src/services/bookmarks.ts +223 -0
  184. package/src/services/bots.ts +144 -0
  185. package/src/services/calls.ts +318 -0
  186. package/src/services/canvases.ts +392 -0
  187. package/src/services/chat.ts +1191 -0
  188. package/src/services/conversations.ts +1754 -0
  189. package/src/services/dialog.ts +55 -0
  190. package/src/services/dnd.ts +246 -0
  191. package/src/services/emoji.ts +91 -0
  192. package/src/services/entity.ts +225 -0
  193. package/src/services/files.ts +1192 -0
  194. package/src/services/functions.ts +642 -0
  195. package/src/services/index.ts +35 -0
  196. package/src/services/lists.ts +832 -0
  197. package/src/services/migration.ts +85 -0
  198. package/src/services/oauth.ts +658 -0
  199. package/src/services/openid.ts +243 -0
  200. package/src/services/pins.ts +167 -0
  201. package/src/services/reactions.ts +272 -0
  202. package/src/services/reminders.ts +240 -0
  203. package/src/services/rtm.ts +162 -0
  204. package/src/services/search.ts +507 -0
  205. package/src/services/stars.ts +323 -0
  206. package/src/services/team.ts +834 -0
  207. package/src/services/tooling.ts +78 -0
  208. package/src/services/usergroups.ts +441 -0
  209. package/src/services/users.ts +685 -0
  210. package/src/services/views.ts +212 -0
  211. package/src/services/workflows.ts +605 -0
  212. package/src/traits.ts +45 -0
@@ -0,0 +1,89 @@
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 API from "@distilled.cloud/core/api";
4
+ import * as T from "../traits.js";
5
+ import { SlackProtocol, } from "../protocol.js";
6
+ import { SlackError, SlackRateLimited } from "../errors.js";
7
+ import * as Retry from "../retry.js";
8
+ export const AcknowledgeCommentActionRequestCommentMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
9
+ export const AcknowledgeCommentActionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
10
+ trigger_id: S.String,
11
+ comment: S.optional(AcknowledgeCommentActionRequestCommentMap),
12
+ error: S.optional(S.String),
13
+ }).pipe(T.Http({
14
+ method: "POST",
15
+ uri: "/entity.acknowledgeCommentAction",
16
+ code: 200,
17
+ }))).annotate({
18
+ identifier: "AcknowledgeCommentActionRequest",
19
+ });
20
+ export const AcknowledgeCommentActionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
21
+ ok: S.Boolean,
22
+ })).annotate({
23
+ identifier: "AcknowledgeCommentActionResponse",
24
+ });
25
+ export const PresentCommentsRequestCommentsItemMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
26
+ export const PresentCommentsRequestCommentsList = /*@__PURE__*/ S.Array(PresentCommentsRequestCommentsItemMap);
27
+ export const PresentCommentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
28
+ comments: PresentCommentsRequestCommentsList,
29
+ cursor: S.optional(S.String),
30
+ can_post_comment: S.optional(S.Boolean),
31
+ trigger_id: S.String,
32
+ delete_action_id: S.optional(S.String),
33
+ user_auth_required: S.optional(S.Boolean),
34
+ user_auth_url: S.optional(S.String),
35
+ error: S.optional(S.String),
36
+ }).pipe(T.Http({ method: "POST", uri: "/entity.presentComments", code: 200 }))).annotate({
37
+ identifier: "PresentCommentsRequest",
38
+ });
39
+ export const PresentCommentsResponseResponseMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
40
+ next_cursor: S.optional(S.String),
41
+ })).annotate({
42
+ identifier: "PresentCommentsResponseResponseMetadata",
43
+ });
44
+ export const PresentCommentsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
45
+ ok: S.Boolean,
46
+ response_metadata: S.optional(PresentCommentsResponseResponseMetadata),
47
+ })).annotate({
48
+ identifier: "PresentCommentsResponse",
49
+ });
50
+ export const PresentDetailsRequestMetadataMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
51
+ export const PresentDetailsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
52
+ metadata: S.optional(PresentDetailsRequestMetadataMap),
53
+ trigger_id: S.String,
54
+ user_auth_required: S.optional(S.Boolean),
55
+ user_auth_url: S.optional(S.String),
56
+ error: S.optional(S.String),
57
+ }).pipe(T.Http({ method: "POST", uri: "/entity.presentDetails", code: 200 }))).annotate({
58
+ identifier: "PresentDetailsRequest",
59
+ });
60
+ export const PresentDetailsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
61
+ ok: S.Boolean,
62
+ })).annotate({
63
+ identifier: "PresentDetailsResponse",
64
+ });
65
+ /** Acknowledge a comment mutation (edit, delete, or post) on a work object entity. Apps call this endpoint to confirm they have processed a comment action, and the backend emits a dedicated RTM event to the user. Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `method_not_found` — when the API isn't available to the caller - `invalid_trigger_id` — Trigger id is not valid - `invalid_app_id` — App ID is not a valid format - `invalid_auth` — Invalid token provided - `invalid_action` — The comment data does not match the original trigger context (e.g., comment_id or thread_root_id mismatch) - `missing_comment_data` — Required comment fields are missing for the given action type - `not_allowed` — User is not enrolled in comment syncing - `invalid_sender_schema` — The sender field could not be transformed to a valid user schema See https://docs.slack.dev/reference/methods/entity.acknowledgeCommentAction */
66
+ export const acknowledgeCommentAction = /*@__PURE__*/ API.make(() => ({
67
+ input: AcknowledgeCommentActionRequest,
68
+ output: AcknowledgeCommentActionResponse,
69
+ errors: [SlackError, SlackRateLimited],
70
+ protocol: SlackProtocol,
71
+ retry: Retry.Retry,
72
+ }));
73
+ /** Provide comments for work objects. Apps call this endpoint to send per-user flexpane comment data to the client. Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `method_not_found` — when the API isn't available to the caller - `invalid_trigger_id` — Trigger id is not valid - `invalid_app_id` — App ID is not a valid format - `invalid_auth` — Invalid token provided - `user_auth_url_missing` — User auth url is required if user_auth_required is true - `missing_delete_action_id` — delete_action_id is required when any comment is marked can_delete See https://docs.slack.dev/reference/methods/entity.presentComments */
74
+ export const presentComments = /*@__PURE__*/ API.make(() => ({
75
+ input: PresentCommentsRequest,
76
+ output: PresentCommentsResponse,
77
+ errors: [SlackError, SlackRateLimited],
78
+ protocol: SlackProtocol,
79
+ retry: Retry.Retry,
80
+ }));
81
+ /** Provide custom flexpane behavior for Work Objects. Apps call this endpoint to send per-user flexpane metadata to the client. Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_metadata` — The provided `metadata` argument could not be parsed or understood. - `feature_not_enabled` — temporarily gating API - `invalid_app_id` — App ID is not a valid format - `user_auth_url_missing` — User auth url is required if user_auth_required is true - `invalid_trigger_id` — Trigger id is not valid - `entity_metadata_does_not_match_trigger` — The provided entity's ID does not match the ID of the entity used to initiate the request - `missing_interactivity_url` — App does not have an interactivity URL configured - `missing_options_load_url` — App does not have an options load URL configured - `invalid_auth` — Invalid token provided See https://docs.slack.dev/reference/methods/entity.presentDetails */
82
+ export const presentDetails = /*@__PURE__*/ API.make(() => ({
83
+ input: PresentDetailsRequest,
84
+ output: PresentDetailsResponse,
85
+ errors: [SlackError, SlackRateLimited],
86
+ protocol: SlackProtocol,
87
+ retry: Retry.Retry,
88
+ }));
89
+ //# sourceMappingURL=entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../src/services/entity.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,aAAa,GAGd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAQrC,MAAM,CAAC,MAAM,yCAAyC,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAC7E,CAAC,CAAC,MAAM,EACR,CAAC,CAAC,OAAO,CACoD,CAAC;AAUhE,MAAM,CAAC,MAAM,+BAA+B,GAAG,aAAa,CAAC,CAAC,CAA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E,sBAAsB;IAC7B,MAAM,EAAE,uBAAuB;IAC/B,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,46BAA46B;AAC56B,MAAM,CAAC,MAAM,cAAc,GAKvB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,qBAAqB;IAC5B,MAAM,EAAE,sBAAsB;IAC9B,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,473 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
4
+ export type { SlackOpError, SlackOpContext };
5
+ export interface AddRemoteRequest {
6
+ /** Creator defined GUID for the file. */
7
+ external_id: string;
8
+ /** URL of the remote file. */
9
+ external_url: string;
10
+ /** type of file */
11
+ filetype?: string;
12
+ /** A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file. */
13
+ indexable_file_contents?: unknown;
14
+ /** Preview of the document via `multipart/form-data`. */
15
+ preview_image?: unknown;
16
+ /** Title of the file being shared. */
17
+ title: string;
18
+ }
19
+ export declare const AddRemoteRequest: S.Schema<AddRemoteRequest>;
20
+ export type AddRemoteResponseFileSharesMap = {
21
+ [key: string]: unknown | undefined;
22
+ };
23
+ export declare const AddRemoteResponseFileSharesMap: S.Schema<AddRemoteResponseFileSharesMap>;
24
+ export type AddRemoteResponseFileChannelsList = Array<string>;
25
+ export declare const AddRemoteResponseFileChannelsList: S.Schema<AddRemoteResponseFileChannelsList>;
26
+ export type AddRemoteResponseFileGroupsList = Array<string>;
27
+ export declare const AddRemoteResponseFileGroupsList: S.Schema<AddRemoteResponseFileGroupsList>;
28
+ export type AddRemoteResponseFileImsList = Array<string>;
29
+ export declare const AddRemoteResponseFileImsList: S.Schema<AddRemoteResponseFileImsList>;
30
+ export interface AddRemoteResponseFile {
31
+ id?: string;
32
+ created?: number;
33
+ timestamp?: number;
34
+ name?: string;
35
+ title?: string;
36
+ mimetype?: string;
37
+ filetype?: string;
38
+ pretty_type?: string;
39
+ user?: string;
40
+ editable?: boolean;
41
+ size?: number;
42
+ mode?: string;
43
+ is_external?: boolean;
44
+ external_type?: string;
45
+ is_public?: boolean;
46
+ public_url_shared?: boolean;
47
+ display_as_bot?: boolean;
48
+ username?: string;
49
+ url_private?: string;
50
+ permalink?: string;
51
+ comments_count?: number;
52
+ is_starred?: boolean;
53
+ shares?: AddRemoteResponseFileSharesMap;
54
+ channels?: AddRemoteResponseFileChannelsList;
55
+ groups?: AddRemoteResponseFileGroupsList;
56
+ ims?: AddRemoteResponseFileImsList;
57
+ external_id?: string;
58
+ external_url?: string;
59
+ has_rich_preview?: boolean;
60
+ }
61
+ export declare const AddRemoteResponseFile: S.Schema<AddRemoteResponseFile>;
62
+ export interface AddRemoteResponse {
63
+ /** Always `true` (a failed call raises a typed error instead). */
64
+ ok: boolean;
65
+ file: AddRemoteResponseFile;
66
+ }
67
+ export declare const AddRemoteResponse: S.Schema<AddRemoteResponse>;
68
+ export interface CompleteUploadExternalRequestFilesItem {
69
+ /** File ID returned from files.getUploadURL. */
70
+ id: string;
71
+ /** Title of file. */
72
+ title?: string;
73
+ /** Optional highlight type hint for the file. The upload processing job may overwrite this value. */
74
+ highlight_type?: string;
75
+ }
76
+ export declare const CompleteUploadExternalRequestFilesItem: S.Schema<CompleteUploadExternalRequestFilesItem>;
77
+ /** Array of file ids and their corresponding (optional) titles. */
78
+ export type CompleteUploadExternalRequestFilesList = Array<CompleteUploadExternalRequestFilesItem>;
79
+ export declare const CompleteUploadExternalRequestFilesList: S.Schema<CompleteUploadExternalRequestFilesList>;
80
+ export type CompleteUploadExternalRequestBlocksCase1ItemMap = {
81
+ [key: string]: unknown | undefined;
82
+ };
83
+ export declare const CompleteUploadExternalRequestBlocksCase1ItemMap: S.Schema<CompleteUploadExternalRequestBlocksCase1ItemMap>;
84
+ export type CompleteUploadExternalRequestBlocksCase1List = Array<CompleteUploadExternalRequestBlocksCase1ItemMap>;
85
+ export declare const CompleteUploadExternalRequestBlocksCase1List: S.Schema<CompleteUploadExternalRequestBlocksCase1List>;
86
+ /** A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the `initial_comment` field is provided, the `blocks` field is ignored */
87
+ export type CompleteUploadExternalRequestBlocks = string | CompleteUploadExternalRequestBlocksCase1List;
88
+ export declare const CompleteUploadExternalRequestBlocks: any;
89
+ export interface CompleteUploadExternalRequest {
90
+ /** Array of file ids and their corresponding (optional) titles. */
91
+ files: CompleteUploadExternalRequestFilesList;
92
+ /** Channel ID where the file will be shared. If not specified the file will be private. */
93
+ channel_id?: string;
94
+ /** Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. Also make sure to provide only one channel when using 'thread_ts' */
95
+ thread_ts?: string;
96
+ /** Comma-separated string of channel IDs or user IDs where the file will be shared. */
97
+ channels?: string;
98
+ /** The message text introducing the file in specified channels. */
99
+ initial_comment?: string;
100
+ /** A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the `initial_comment` field is provided, the `blocks` field is ignored */
101
+ blocks?: CompleteUploadExternalRequestBlocks;
102
+ /** Set your bot's user name for the file share message. Requires the [`chat:write.customize`](/reference/scopes/chat.write.customize) scope. */
103
+ username?: string | null;
104
+ /** URL to an image to use as the icon for the file share message. Requires the [`chat:write.customize`](/reference/scopes/chat.write.customize) scope. */
105
+ icon_url?: string;
106
+ /** Emoji to use as the icon for the file share message. Overrides `icon_url`. Requires the [`chat:write.customize`](/reference/scopes/chat.write.customize) scope. */
107
+ icon_emoji?: string;
108
+ }
109
+ export declare const CompleteUploadExternalRequest: S.Schema<CompleteUploadExternalRequest>;
110
+ export interface CompleteUploadExternalResponseFilesItem {
111
+ /** File ID returned from files.getUploadURLExternal. */
112
+ id: string;
113
+ /** Title of file. */
114
+ title?: unknown;
115
+ /** file created timestamp */
116
+ created?: number;
117
+ /** file owner */
118
+ user?: string;
119
+ }
120
+ export declare const CompleteUploadExternalResponseFilesItem: S.Schema<CompleteUploadExternalResponseFilesItem>;
121
+ /** Array of files uploaded. */
122
+ export type CompleteUploadExternalResponseFilesList = Array<CompleteUploadExternalResponseFilesItem>;
123
+ export declare const CompleteUploadExternalResponseFilesList: S.Schema<CompleteUploadExternalResponseFilesList>;
124
+ export interface CompleteUploadExternalResponse {
125
+ /** Always `true` (a failed call raises a typed error instead). */
126
+ ok: boolean;
127
+ /** Array of files uploaded. */
128
+ files: CompleteUploadExternalResponseFilesList;
129
+ }
130
+ export declare const CompleteUploadExternalResponse: S.Schema<CompleteUploadExternalResponse>;
131
+ export interface DeleteCommentRequest {
132
+ /** File to delete a comment from. */
133
+ file: string;
134
+ /** The comment to delete. */
135
+ id: string;
136
+ }
137
+ export declare const DeleteCommentRequest: S.Schema<DeleteCommentRequest>;
138
+ export interface DeleteCommentResponse {
139
+ /** Always `true` (a failed call raises a typed error instead). */
140
+ ok: boolean;
141
+ }
142
+ export declare const DeleteCommentResponse: S.Schema<DeleteCommentResponse>;
143
+ export interface DeleteFileRequest {
144
+ /** ID of file to delete. */
145
+ file: string;
146
+ }
147
+ export declare const DeleteFileRequest: S.Schema<DeleteFileRequest>;
148
+ export interface DeleteFileResponse {
149
+ /** Always `true` (a failed call raises a typed error instead). */
150
+ ok: boolean;
151
+ }
152
+ export declare const DeleteFileResponse: S.Schema<DeleteFileResponse>;
153
+ export interface FilesInfoRequest {
154
+ count?: number;
155
+ /** Parameter for pagination. File comments are paginated for a single file. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See [pagination](/apis/web-api/pagination) for more details. */
156
+ cursor?: string;
157
+ /** Specify a file by providing its ID. */
158
+ file: string;
159
+ /** The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. */
160
+ limit?: number;
161
+ page?: number;
162
+ }
163
+ export declare const FilesInfoRequest: S.Schema<FilesInfoRequest>;
164
+ export interface FilesInfoResponseFile {
165
+ id: string;
166
+ }
167
+ export declare const FilesInfoResponseFile: S.Schema<FilesInfoResponseFile>;
168
+ export interface FilesInfoResponseCommentsItem {
169
+ comment: string;
170
+ created: number;
171
+ id: string;
172
+ is_intro: boolean;
173
+ timestamp: number;
174
+ user: string;
175
+ }
176
+ export declare const FilesInfoResponseCommentsItem: S.Schema<FilesInfoResponseCommentsItem>;
177
+ export type FilesInfoResponseCommentsList = Array<FilesInfoResponseCommentsItem>;
178
+ export declare const FilesInfoResponseCommentsList: S.Schema<FilesInfoResponseCommentsList>;
179
+ /** Pagination metadata. An empty `next_cursor` means the last page. */
180
+ export interface FilesInfoResponseResponseMetadata {
181
+ /** Cursor for the next page — pass as `cursor` on the next call. */
182
+ next_cursor?: string;
183
+ }
184
+ export declare const FilesInfoResponseResponseMetadata: S.Schema<FilesInfoResponseResponseMetadata>;
185
+ export interface FilesInfoResponse {
186
+ /** Always `true` (a failed call raises a typed error instead). */
187
+ ok: boolean;
188
+ file: FilesInfoResponseFile;
189
+ comments: FilesInfoResponseCommentsList;
190
+ content?: string;
191
+ content_html?: unknown;
192
+ content_highlight_html?: unknown;
193
+ /** Pagination metadata. An empty `next_cursor` means the last page. */
194
+ response_metadata?: FilesInfoResponseResponseMetadata;
195
+ }
196
+ export declare const FilesInfoResponse: S.Schema<FilesInfoResponse>;
197
+ export interface GetUploadURLExternalRequest {
198
+ /** Size in bytes of the file being uploaded. */
199
+ length: number;
200
+ /** Name of the file being uploaded. */
201
+ filename: string;
202
+ /** Syntax type of the snippet being uploaded. */
203
+ snippet_type?: string;
204
+ /** Description of image for screen-reader. */
205
+ alt_txt?: string;
206
+ }
207
+ export declare const GetUploadURLExternalRequest: S.Schema<GetUploadURLExternalRequest>;
208
+ export interface GetUploadURLExternalResponse {
209
+ /** Always `true` (a failed call raises a typed error instead). */
210
+ ok: boolean;
211
+ file_id: string;
212
+ upload_url: string;
213
+ }
214
+ export declare const GetUploadURLExternalResponse: S.Schema<GetUploadURLExternalResponse>;
215
+ export type ListFilesRequestCount = number | string;
216
+ export declare const ListFilesRequestCount: any;
217
+ export type ListFilesRequestPage = number | string;
218
+ export declare const ListFilesRequestPage: any;
219
+ export interface ListFilesRequest {
220
+ /** Filter files appearing in a specific channel, indicated by its ID. */
221
+ channel?: string;
222
+ count?: ListFilesRequestCount;
223
+ page?: ListFilesRequestPage;
224
+ /** Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit. */
225
+ show_files_hidden_by_limit?: boolean;
226
+ /** encoded team id to list files in, required if org token is used */
227
+ team_id?: string;
228
+ /** Filter files created after this timestamp (inclusive). */
229
+ ts_from?: string;
230
+ /** Filter files created before this timestamp (inclusive). */
231
+ ts_to?: string;
232
+ /** Filter files by type ([see below](#file_types)). You can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list. */
233
+ types?: string;
234
+ /** Filter files created by a single user. */
235
+ user?: string;
236
+ }
237
+ export declare const ListFilesRequest: S.Schema<ListFilesRequest>;
238
+ export interface ListFilesResponseFilesItem {
239
+ id: string;
240
+ created?: number;
241
+ user?: string;
242
+ }
243
+ export declare const ListFilesResponseFilesItem: S.Schema<ListFilesResponseFilesItem>;
244
+ export type ListFilesResponseFilesList = Array<ListFilesResponseFilesItem>;
245
+ export declare const ListFilesResponseFilesList: S.Schema<ListFilesResponseFilesList>;
246
+ export interface ListFilesResponsePaging {
247
+ count?: number;
248
+ total: number;
249
+ page: number;
250
+ pages: number;
251
+ }
252
+ export declare const ListFilesResponsePaging: S.Schema<ListFilesResponsePaging>;
253
+ export interface ListFilesResponse {
254
+ /** Always `true` (a failed call raises a typed error instead). */
255
+ ok: boolean;
256
+ files: ListFilesResponseFilesList;
257
+ paging?: ListFilesResponsePaging;
258
+ }
259
+ export declare const ListFilesResponse: S.Schema<ListFilesResponse>;
260
+ export interface ListRemoteRequest {
261
+ /** Filter files appearing in a specific channel, indicated by its ID. */
262
+ channel?: string;
263
+ /** 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. */
264
+ cursor?: string;
265
+ /** The maximum number of items to return. */
266
+ limit?: number;
267
+ /** Filter files created after this timestamp (inclusive). */
268
+ ts_from?: string;
269
+ /** Filter files created before this timestamp (inclusive). */
270
+ ts_to?: string;
271
+ }
272
+ export declare const ListRemoteRequest: S.Schema<ListRemoteRequest>;
273
+ export interface ListRemoteResponseFilesItem {
274
+ id?: string;
275
+ }
276
+ export declare const ListRemoteResponseFilesItem: S.Schema<ListRemoteResponseFilesItem>;
277
+ export type ListRemoteResponseFilesList = Array<ListRemoteResponseFilesItem>;
278
+ export declare const ListRemoteResponseFilesList: S.Schema<ListRemoteResponseFilesList>;
279
+ /** Pagination metadata. An empty `next_cursor` means the last page. */
280
+ export type ListRemoteResponseResponseMetadata = FilesInfoResponseResponseMetadata;
281
+ export declare const ListRemoteResponseResponseMetadata: S.Schema<FilesInfoResponseResponseMetadata>;
282
+ export interface ListRemoteResponse {
283
+ /** Always `true` (a failed call raises a typed error instead). */
284
+ ok: boolean;
285
+ files: ListRemoteResponseFilesList;
286
+ /** Pagination metadata. An empty `next_cursor` means the last page. */
287
+ response_metadata?: FilesInfoResponseResponseMetadata;
288
+ }
289
+ export declare const ListRemoteResponse: S.Schema<ListRemoteResponse>;
290
+ export interface RemoteInfoRequest {
291
+ /** Creator defined GUID for the file. */
292
+ external_id?: string;
293
+ /** Specify a file by providing its ID. */
294
+ file?: string;
295
+ }
296
+ export declare const RemoteInfoRequest: S.Schema<RemoteInfoRequest>;
297
+ export type RemoteInfoResponseFile = ListFilesResponseFilesItem;
298
+ export declare const RemoteInfoResponseFile: S.Schema<ListFilesResponseFilesItem>;
299
+ export interface RemoteInfoResponse {
300
+ /** Always `true` (a failed call raises a typed error instead). */
301
+ ok: boolean;
302
+ file: ListFilesResponseFilesItem;
303
+ }
304
+ export declare const RemoteInfoResponse: S.Schema<RemoteInfoResponse>;
305
+ export interface RemoveRemoteRequest {
306
+ /** Creator defined GUID for the file. */
307
+ external_id?: string;
308
+ /** Specify a file by providing its ID. */
309
+ file?: string;
310
+ }
311
+ export declare const RemoveRemoteRequest: S.Schema<RemoveRemoteRequest>;
312
+ export interface RemoveRemoteResponse {
313
+ /** Always `true` (a failed call raises a typed error instead). */
314
+ ok: boolean;
315
+ }
316
+ export declare const RemoveRemoteResponse: S.Schema<RemoveRemoteResponse>;
317
+ export interface RevokePublicURLRequest {
318
+ /** File to revoke */
319
+ file: string;
320
+ }
321
+ export declare const RevokePublicURLRequest: S.Schema<RevokePublicURLRequest>;
322
+ export interface RevokePublicURLResponseFile {
323
+ id?: string;
324
+ created?: number;
325
+ user?: string;
326
+ }
327
+ export declare const RevokePublicURLResponseFile: S.Schema<RevokePublicURLResponseFile>;
328
+ export interface RevokePublicURLResponse {
329
+ /** Always `true` (a failed call raises a typed error instead). */
330
+ ok: boolean;
331
+ file: RevokePublicURLResponseFile;
332
+ }
333
+ export declare const RevokePublicURLResponse: S.Schema<RevokePublicURLResponse>;
334
+ export interface SharedPublicURLRequest {
335
+ /** File to share */
336
+ file: string;
337
+ }
338
+ export declare const SharedPublicURLRequest: S.Schema<SharedPublicURLRequest>;
339
+ export type SharedPublicURLResponseFile = RevokePublicURLResponseFile;
340
+ export declare const SharedPublicURLResponseFile: S.Schema<RevokePublicURLResponseFile>;
341
+ export type SharedPublicURLResponseCommentItemMap = {
342
+ [key: string]: unknown | undefined;
343
+ };
344
+ export declare const SharedPublicURLResponseCommentItemMap: S.Schema<SharedPublicURLResponseCommentItemMap>;
345
+ export type SharedPublicURLResponseCommentList = Array<SharedPublicURLResponseCommentItemMap>;
346
+ export declare const SharedPublicURLResponseCommentList: S.Schema<SharedPublicURLResponseCommentList>;
347
+ export type SharedPublicURLResponsePagingMap = {
348
+ [key: string]: unknown | undefined;
349
+ };
350
+ export declare const SharedPublicURLResponsePagingMap: S.Schema<SharedPublicURLResponsePagingMap>;
351
+ export interface SharedPublicURLResponse {
352
+ /** Always `true` (a failed call raises a typed error instead). */
353
+ ok: boolean;
354
+ file: RevokePublicURLResponseFile;
355
+ comment?: SharedPublicURLResponseCommentList;
356
+ paging?: SharedPublicURLResponsePagingMap;
357
+ }
358
+ export declare const SharedPublicURLResponse: S.Schema<SharedPublicURLResponse>;
359
+ export interface ShareRemoteRequest {
360
+ /** Comma-separated list of channel IDs where the file will be shared. */
361
+ channels: string;
362
+ /** The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required. */
363
+ external_id?: string;
364
+ /** Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required. */
365
+ file?: string;
366
+ }
367
+ export declare const ShareRemoteRequest: S.Schema<ShareRemoteRequest>;
368
+ export type ShareRemoteResponseFile = ListRemoteResponseFilesItem;
369
+ export declare const ShareRemoteResponseFile: S.Schema<ListRemoteResponseFilesItem>;
370
+ export interface ShareRemoteResponse {
371
+ /** Always `true` (a failed call raises a typed error instead). */
372
+ ok: boolean;
373
+ file?: ListRemoteResponseFilesItem;
374
+ }
375
+ export declare const ShareRemoteResponse: S.Schema<ShareRemoteResponse>;
376
+ export interface UpdateRemoteRequest {
377
+ /** Creator defined GUID for the file. */
378
+ external_id?: string;
379
+ /** URL of the remote file. */
380
+ external_url?: string;
381
+ /** Specify a file by providing its ID. */
382
+ file?: string;
383
+ /** type of file */
384
+ filetype?: string;
385
+ /** File containing contents that can be used to improve searchability for the remote file. */
386
+ indexable_file_contents?: unknown;
387
+ /** Preview of the document via `multipart/form-data`. */
388
+ preview_image?: unknown;
389
+ /** Title of the file being shared. */
390
+ title?: string;
391
+ }
392
+ export declare const UpdateRemoteRequest: S.Schema<UpdateRemoteRequest>;
393
+ export type UpdateRemoteResponseFile = ListRemoteResponseFilesItem;
394
+ export declare const UpdateRemoteResponseFile: S.Schema<ListRemoteResponseFilesItem>;
395
+ export interface UpdateRemoteResponse {
396
+ /** Always `true` (a failed call raises a typed error instead). */
397
+ ok: boolean;
398
+ file?: ListRemoteResponseFilesItem;
399
+ }
400
+ export declare const UpdateRemoteResponse: S.Schema<UpdateRemoteResponse>;
401
+ export interface UploadFileRequest {
402
+ /** Comma-separated list of channel names or IDs where the file will be shared. */
403
+ channels?: string;
404
+ /** File contents via a POST variable. If omitting this parameter, you must provide a `file`. */
405
+ content?: string;
406
+ /** File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. */
407
+ file?: unknown;
408
+ /** Filename of file. */
409
+ filename?: string;
410
+ /** A [file type](/reference/objects/file-object#file_types) identifier. */
411
+ filetype?: string;
412
+ /** The message text introducing the file in specified `channels`. */
413
+ initial_comment?: string;
414
+ /** Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. */
415
+ thread_ts?: string;
416
+ /** Title of file. */
417
+ title?: string;
418
+ }
419
+ export declare const UploadFileRequest: S.Schema<UploadFileRequest>;
420
+ export type UploadFileResponseFile = RevokePublicURLResponseFile;
421
+ export declare const UploadFileResponseFile: S.Schema<RevokePublicURLResponseFile>;
422
+ export interface UploadFileResponse {
423
+ /** Always `true` (a failed call raises a typed error instead). */
424
+ ok: boolean;
425
+ file: RevokePublicURLResponseFile;
426
+ }
427
+ export declare const UploadFileResponse: S.Schema<UploadFileResponse>;
428
+ export type AddRemoteError = SlackOpError;
429
+ /** Adds a file from a remote service Required scopes — bot: `remote_files:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `bad_image` — The uploaded image could not be processed - try passing a JPG or PNG - `bad_title` — The title provided is too long. - `bot_user_required` — bot user token is required - `invalid_external_id` — The external_id provided is too long. - `too_large` — The uploaded image had excessive dimensions See https://docs.slack.dev/reference/methods/files.remote.add */
430
+ export declare const addRemote: API.OperationMethod<AddRemoteRequest, AddRemoteResponse, AddRemoteError, SlackOpContext>;
431
+ export type CompleteUploadExternalError = SlackOpError;
432
+ /** Finishes an upload started with files.getUploadURLExternal Required scopes — bot: `files:write`; user: `files:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `access_denied` — User is not the owner of the file. - `channel_not_found` — Value passed for `channel_id` was invalid. - `file_not_found` — Could not find the file from the upload ticket. - `file_update_failed` — Failure occurred when attempting to update the file. - `invalid_blocks` — Provided blocks are in the incorrect format. - `invalid_channel` — Channel could not be found or channel specified is invalid. - `not_in_channel` — User/bot membership is required for the specified channel. - `posting_to_channel_denied` — User is not authorized to post to channel. - `channels_limit_exceeded` — Exceeded the channel limit. A maximum of 100 channels is allowed per request. - `file_type_not_allowed` — The file type is not permitted based on the team's allowed_file_upload_types preference. - `file_uploads_except_images_disabled` — Only image file uploads are permitted for this team. See https://docs.slack.dev/reference/methods/files.completeUploadExternal */
433
+ export declare const completeUploadExternal: API.OperationMethod<CompleteUploadExternalRequest, CompleteUploadExternalResponse, CompleteUploadExternalError, SlackOpContext>;
434
+ export type DeleteCommentError = SlackOpError;
435
+ /** Deletes an existing comment on a file. Required scopes — bot: `files:write`; user: `files:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `cant_delete` — The requested comment could not be deleted. - `file_deleted` — The requested file was previously deleted. - `file_not_found` — The requested file could not be found. See https://docs.slack.dev/reference/methods/files.comments.delete */
436
+ export declare const deleteComment: API.OperationMethod<DeleteCommentRequest, DeleteCommentResponse, DeleteCommentError, SlackOpContext>;
437
+ export type DeleteFileError = SlackOpError;
438
+ /** Deletes a file. Required scopes — bot: `files:write`; user: `files:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cant_delete_file` — Authenticated user does not have permission to delete this file. - `delete_not_allowed` — Error returned when the requested file does not support deletion; for example, when attempting to delete a canvas template. - `file_deleted` — The file has already been deleted. - `file_deleting_disabled` — This functionality is disabled. - `file_not_found` — The file does not exist, or is not visible to the calling user. See https://docs.slack.dev/reference/methods/files.delete */
439
+ export declare const deleteFile: API.OperationMethod<DeleteFileRequest, DeleteFileResponse, DeleteFileError, SlackOpContext>;
440
+ export type FilesInfoError = SlackOpError;
441
+ /** Gets information about a file. Required scopes — bot: `files:read`; user: `files:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `access_denied` — Unable to access the file (slack connect) - `file_deleted` — The requested file has been deleted - `file_not_found` — Value passed for `file` was invalid - `canvas_globally_disabled` — Canvas is disabled for this team - `canvas_disabled_user_team` — Canvas is disabled on user's team for connected Channels - `canvas_disabled_file_team` — Canvas is disabled on file's team - `not_visible` — Do not have permission to view the file - `template_not_visible` — Do not have permissions to view this template - `slack_connect_canvas_sharing_blocked` — Admin has disabled sharing of Canvas links in all Slack Connect communications See https://docs.slack.dev/reference/methods/files.info */
442
+ export declare const filesInfo: API.PaginatedOperationMethod<FilesInfoRequest, FilesInfoResponse, FilesInfoError, SlackOpContext, FilesInfoResponseCommentsItem>;
443
+ export type GetUploadURLExternalError = SlackOpError;
444
+ /** Gets a URL for an edge external file upload Required scopes — bot: `files:write`; user: `files:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `alt_txt_too_large` — Description for the image is longer than the limit of 1000 character - `file_upload_size_restricted` — The size of provided file is too large, as the team has restricted uploads of large files. - `file_uploads_disabled` — Team has disabled all file uploads. - `missing_argument` — A required argument was not provided. Typically only occurs when the `length` provided is 0. - `snippet_too_large` — The provided `length` is too large to create a snippet, which are limited to 1MB. - `storage_limit_reached` — File storage limit has been reached. This occurs when free teams have uploaded 5GB of files. - `unknown_snippet_type` — The provided `snippet_type` is not a supported type. - `unknown_subtype` — The provided `subtype` is not a supported type. - `file_type_not_allowed` — The file type is not allowed. - `file_uploads_except_images_disabled` — File uploads except images are disabled. See https://docs.slack.dev/reference/methods/files.getUploadURLExternal */
445
+ export declare const getUploadURLExternal: API.OperationMethod<GetUploadURLExternalRequest, GetUploadURLExternalResponse, GetUploadURLExternalError, SlackOpContext>;
446
+ export type ListFilesError = SlackOpError;
447
+ /** List files for a team, in a channel, or from a user with applied filters. Required scopes — bot: `files:read`; user: `files:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `missing_argument` — A required argument is missing. - `slack_connect_canvas_sharing_blocked` — Admin has disabled sharing of Canvas links in all Slack Connect communications - `user_not_found` — Value passed for `user` was invalid - `unknown_type` — Value passed for `types` was invalid See https://docs.slack.dev/reference/methods/files.list */
448
+ export declare const listFiles: API.OperationMethod<ListFilesRequest, ListFilesResponse, ListFilesError, SlackOpContext>;
449
+ export type ListRemoteError = SlackOpError;
450
+ /** Retrieve information about a remote file added to Slack Required scopes — bot: `remote_files:read`; user: `remote_files:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `invalid_cursor` — Value passed for `cursor` was not valid or is no longer valid. - `no_bot_user_for_app` — Cannot call the Remote Files endpoints unless app has associated bot user See https://docs.slack.dev/reference/methods/files.remote.list */
451
+ export declare const listRemote: API.PaginatedOperationMethod<ListRemoteRequest, ListRemoteResponse, ListRemoteError, SlackOpContext, ListRemoteResponseFilesItem>;
452
+ export type RemoteInfoError = SlackOpError;
453
+ /** Retrieve information about a remote file added to Slack Required scopes — bot: `remote_files:read`; user: `remote_files:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `file_not_found` — Value passed for `file` or `external_id` was invalid - `invalid_args` — Invalid arguments passed to endpoint - `no_bot_user_for_app` — Cannot call the Remote Files endpoints unless app has associated bot user - `too_many_ids` — The request specified both an external_id and a file, only one may be specified See https://docs.slack.dev/reference/methods/files.remote.info */
454
+ export declare const remoteInfo: API.OperationMethod<RemoteInfoRequest, RemoteInfoResponse, RemoteInfoError, SlackOpContext>;
455
+ export type RemoveRemoteError = SlackOpError;
456
+ /** Remove a remote file. Required scopes — bot: `remote_files:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `bot_user_required` — bot user token is required - `file_not_found` — Value passed for `file` or `external_id` was invalid - `file_under_review` — File passed is tombstoned for DLP review - `invalid_args` — Invalid arguments passed to endpoint - `too_many_ids` — The request specified both an external_id and a file, only one may be specified See https://docs.slack.dev/reference/methods/files.remote.remove */
457
+ export declare const removeRemote: API.OperationMethod<RemoveRemoteRequest, RemoveRemoteResponse, RemoveRemoteError, SlackOpContext>;
458
+ export type RevokePublicURLError = SlackOpError;
459
+ /** Revokes public/external sharing access for a file Required scopes — bot: `files:write`; user: `files:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `file_not_found` — Value passed for `file` was invalid See https://docs.slack.dev/reference/methods/files.revokePublicURL */
460
+ export declare const revokePublicURL: API.OperationMethod<RevokePublicURLRequest, RevokePublicURLResponse, RevokePublicURLError, SlackOpContext>;
461
+ export type SharedPublicURLError = SlackOpError;
462
+ /** Enables a file for public/external sharing. Required scopes — user: `files:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `file_not_found` — Value passed for `file` was invalid - `not_allowed` — Public sharing has been disabled for this team. You may see this error if you are creating an external link from a free or trial workspace. You can either upgrade to a [Paid Plan](https://app.slack.com/plans) or use `file.list` to get a `url_private_download` link, download the file with an application, and re-upload it somewhere it can be shared with users who are not members of your workspace. Be sure to pass the Slack [Bot token](/authentication/tokens#bot) to the request on the headers file when calling `url_private_download`. - `public_video_not_allowed` — Public sharing of videos is not available. A `Free` instance of Slack may encounter this error because free teams don't have the ability to share video files publicly. - `public_file_type_not_allowed` — Public sharing has been restricted for this file type. See https://docs.slack.dev/reference/methods/files.sharedPublicURL */
463
+ export declare const sharedPublicURL: API.OperationMethod<SharedPublicURLRequest, SharedPublicURLResponse, SharedPublicURLError, SlackOpContext>;
464
+ export type ShareRemoteError = SlackOpError;
465
+ /** Share a remote file into a channel. Required scopes — bot: `remote_files:share`; user: `remote_files:share` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — At least one of the values passed for `channels` was invalid. - `file_not_found` — No file with the requested ID found. - `invalid_args` — Invalid arguments passed to endpoint - `no_bot_user_for_app` — Cannot call the Remote Files endpoints unless app has associated bot user - `not_in_channel` — Authenticated user is not in at least one of the the provided channels. See https://docs.slack.dev/reference/methods/files.remote.share */
466
+ export declare const shareRemote: API.OperationMethod<ShareRemoteRequest, ShareRemoteResponse, ShareRemoteError, SlackOpContext>;
467
+ export type UpdateRemoteError = SlackOpError;
468
+ /** Updates an existing remote file. Required scopes — bot: `remote_files:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `bad_image` — The uploaded image could not be processed - try passing a JPG or PNG - `bot_user_required` — bot user token is required - `failed_to_unshare` — The file was either not found or it has been unshared already. - `file_not_found` — Could not find the file to update. - `invalid_title` — invalid title provided - `invalid_type` — invalid type provided - `invalid_url` — invalid url provided - `too_large` — The uploaded image had excessive dimensions See https://docs.slack.dev/reference/methods/files.remote.update */
469
+ export declare const updateRemote: API.OperationMethod<UpdateRemoteRequest, UpdateRemoteResponse, UpdateRemoteError, SlackOpContext>;
470
+ export type UploadFileError = SlackOpError;
471
+ /** Uploads or creates a file. Required scopes — bot: `files:write`; user: `files:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `blocked_file_type` — Admin has disabled uploading this type of file - `channel_not_found` — At least one of the values passed for `channels` was invalid. - `invalid_channel` — One or more channels supplied are invalid - `malware_detected` — This file may contain a virus or other malware and can't be uploaded to Slack - `not_in_channel` — Authenticated user is not in the channel. - `post_contents_too_large` — File content is larger than 130kb. - `posting_to_general_channel_denied` — An admin has restricted posting to the #general channel. - `slack_connect_blocked_file_type` — File uploads with certain types are blocked in all Slack Connect communications - `slack_connect_clip_sharing_blocked` — Admin has disabled Clip sharing in Slack Connect channels - `slack_connect_file_upload_sharing_blocked` — Admin has disabled File uploads in all Slack Connect communications - `invalid_thread_ts` — Value passed to thread_ts was invalid - `method_deprecated` — This API is deprecated. Please refer to https://docs.slack.dev/changelog/2024-04-a-better-way-to-upload-files-is-here-to-stay See https://docs.slack.dev/reference/methods/files.upload */
472
+ export declare const uploadFile: API.OperationMethod<UploadFileRequest, UploadFileResponse, UploadFileError, SlackOpContext>;
473
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/services/files.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,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,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+HAA+H;IAC/H,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,gBAAgB,EAkBhB,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAExC,MAAM,MAAM,8BAA8B,GAAG;IAC3C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACpC,CAAC;AACF,eAAO,MAAM,8BAA8B,EAG/B,CAAC,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAAC;AAErD,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC9D,eAAO,MAAM,iCAAiC,EAElC,CAAC,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAAC;AAExD,MAAM,MAAM,+BAA+B,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC5D,eA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